[Hooking] Correct interceptor stub

This commit is contained in:
momo5502 2016-11-20 20:41:02 +01:00
parent ac102cc8b0
commit 6a51d280ae

View File

@ -66,8 +66,8 @@ namespace Utils
lea eax, [esp + 20h] // Load initial stack pointer lea eax, [esp + 20h] // Load initial stack pointer
push eax // Push it onto the stack push eax // Push it onto the stack
call RunCallback // Run the callback based on the given stack pointer call Hook::Interceptor::RunCallback // Run the callback based on the given stack pointer
call PopReturn // Get the initial return address according to the stack pointer call Hook::Interceptor::PopReturn // Get the initial return address according to the stack pointer
add esp, 4h // Clear the stack add esp, 4h // Clear the stack