

D3CEPTION wrote:as long as valve doesnt obsfuscate the byte structure, which wont happen [...]
Code: Select all
Random example bytes:
8B 0D FC DB 9D 10 8B 35 64 DB 86 10 46 8B 01 8B 40 08 FF D0 84 C0 74 06 8D 9B 00 00 00 00 E8 48 63 F7 FF
| |
Start of the function Start of the pointer
Current procedure:
1. Get a signature for the start of the function (e.g. 9D 10 8B 35 64 DB 86 10 46 8B 01 8B 40 08).
2. Get the number of bytes from the start of the function to the start of the pointer (e.g. 16).
3. The pointer address is at "function address" + "byte count".
Other possibility:
1. Get a signature for the start of the pointer (e.g. 84 C0 74 06 8D 9B 00 00 00 00 E8 48).
2. Since that signature already provides the correct address, we don't need to add an offset.
Return to “General Discussion”
Users browsing this forum: No registered users and 92 guests