void __declspec( naked ) new_pbMemScan ( int a1 ,int a2 )
{
_asm
{
MOV dwSaved, EAX // Preserve EAX
POP EAX // POP EAX, now EAX contains the return address
MOV dwReturn, EAX // Sets dwReturn to hold the return address
CALL ReStore // Restore Hacks
MOV EAX, dwSaved // Restores EAX to the origional value before we popped it
JMP dwReturn // We jump back to the address which we saved earlier
}
}
