#Hooking
1 messages · Page 1 of 1 (latest)
also, you generally would just replace the call, and then have your own function call the hook.. assuming you're hooking ac_client+0x61b80
bc i'm not sure what's going on with that patch, and if you're pissing on registers that are then used in the call / a fault is unsurprising
eg, you have overwritten the push edi, but yet pop it later still.. and the value is undetermined (so crash could be it using wrong value in that call, or from the pop leaving stack misaligned)
olWglSwapBuffers = (twglSwapBuffers)0x004637F9;
This does NOT look like a valid address... so just a magic cookie to view ?