Set your hook somewhere that gets accessed several times per second. Change instruction to jump to code cave. Create a conditional jump that compares a value (e.g. for key/button press etc.). If pressed, jump to cheat address and run cheat. If not pressed, continue running original code (and jump back to instruction after injection point).
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum