Welcome to the UnKnoWnCheaTs - Multiplayer Game Hacks and Cheats.
You have to register before you can post and see and access any of the advanced forum features, please click the register link to proceed to the registration form. To start viewing threads or posts, select a forum that you want to visit from the selection below.
General Reversing Anything relating to reverse engineering.
You are Unregistered, please register to gain Full access.
This is a function I made to detour program flow and log a specific register into a variable, using this I can get the structures I use for operation7 without the need for pointers or calling the game's own functions.
Here is the video example with instructions in the bottom right corner
Best in HD & Fullscreen
Whats new:
Quote:
Adding and subtracting the offset *Optional
Calling a void based function after *Optional
What it does:
Quote:
1. It creates a newly allocated section of memory
2. It writes the opcodes at the address specified ( in the amount of bytes that you specified as the original opcode amount )
3. It logs the register you put as the parameter into the variable you put as the result variable
4. If you put a value for add offset it adds the offset to the result variable
5. If you put a value for sub offset it subtracts the offset to the result variable
6. If you put a value for the call parameter it writes a call to that function to be executed
7. If you put true as the value for bRewriteOriginal, it will write the original instructions back to the address that was detoured so that it no longer gets logged
8. Once the log is finished it returns to the normal program flow