[Hooking] Correct interceptor stub
This commit is contained in:
parent
ac102cc8b0
commit
6a51d280ae
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user