I am working on a trainer for a little game and I found the base addresses for HP ('THREADSTACK0'-00000414). How would you initialize a pointer with this address?
You have to understand how game/Process address works. Process have their own address space.
Address = process base address + offset.
in your case base address is address of your process/game it looks like RAW -> 0x0040000 and in Cheat engine it looks like this "GAME_NAME.exe".
and then there is offset lets say 0007B14
so to get to address you have to add base address + offset .
hp_address = 0x0040000 + 0007B14
i made a game trainer library for C/C++ that will help to find game process, get game base address and read write address/pointers easily into any game.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.