Looking at my parsed code, I see a lot of the following:
00B442E9 push 4 00B442EB push 3 00B442ED lea ecx,[ebp-24h] 00B442F0 call Foo::Bar (0B41127h)
I understand that pressing parameters before the call, but what does lea do here?
lea
In the thiscall calling standard used by Visual C ++ for x86, the this pointer is passed in the ecx . This lea command copies the this pointer to the ecx before calling the member function.
thiscall
this
ecx
You can read all lea instructions in the question What is the purpose of the LEA instruction?
I think this is just an optimized form
mov ecx, ebp sub ecx, 24h
Source: https://habr.com/ru/post/894242/More articles:Download multiple Vimeo videos using jQuery and detect events - jqueryIOS and AsyncUDPSocket tutorial? - iosFinding a Two-Dimensional Dataset Region - algorithmHow to fill in the empty parts of the projected image? - image-processingHow to organize Python class definition in relation to auxiliary files for this class? - pythonPerspective projection and Z-buffering of a 3D head for facial image formation - c ++https://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/894244/extension-methods-class-or-visitor-pattern&usg=ALkJrhgGA_DgkQb_D_HrOEvDNLUpYhG7DgEffective Stopwatch - performancereturn list with anonymous type in entity structure - c #How to wrap various elements in a div tag using jQuery? - javascriptAll Articles