Creysys How do I cheat?
Reputation: 0
Joined: 17 Apr 2015 Posts: 1
|
Posted: Fri Apr 17, 2015 1:53 pm Post subject: Trouble finding address of variable |
|
|
Hey,
i started to play aroung with Terraria and found out that cheat engine maps every name and type correctly to each offset if i define a new structure with the address of the player.
Here's an example of what i mean:
1. Find out player hp value in cheat engine
2. Find out where the player's hp change
3. This will give you some address like eax+15 (just an example)
4. The address stored in eax is the address of the Player instance and +15 is the offset for the hp variable
Interestingly if i were to define a new structure (dissect data structures) with the Players address cheat engine magically gets every variable in the class right (types and even names)
So there is a way to get the (assembly name not sure) from an address
My question now is how can i get the address of an object by its assembly name in c++?
Edit: I think i mean symbols instead of assembly names
(This may be a bit confusing cause im bad at expressing myself )
|
|