04-29-2014, 05:58 PM
(This post was last modified: 04-29-2014, 05:59 PM by Misanthropos.)
(04-29-2014, 05:22 PM)xenon Wrote: Stack balancing is serious matter, and you need to get it right. Trace into the function to find that the function does not cleanup the stack. In fact, this is named as cdecl calling convention. If you were to NOP out the pushes, you need to NOP out "add esp,0x14" as well.
(FYI, the other calling convention that you know about is named as stdcall).
Thank you for the quick reply and illustrating the cdecl convention. I might go for a try after returning back home from my travel.
My guess is you already tried that patch on a system and can confirm it actually works?