Posted: Wed Nov 16, 2016 6:10 am Post subject: Using pointer in assembler
Hello everyone,
yes, I know, I'm such a noob, but I've ran into a little problem while toying around with another game. The game stores the player number using a dynamic pointer.
The pointer is mentioned in the register [edi+0C]. By dissecting the data of the pointer adress, I found out that the player number is stored at the pointer adress+4 (it is a regular 4 byte value).
But uh how do I use this in my assembler script? How do I tell cheat engine to check for the value held at the dynamic pointer+04?
So again as a short summary:
Register edi+0C holds the pointer value
Pointer value+4 holds the player number
I want to run a check if the player number is 1 (it is a single player game, but the computer controls different "factions").
I've tried a lot but yet to no avail; I gues I'm using the wrong syntax... Can anyone help this lil Noob?
Thanks! _________________
Yeah, I do tables for some pretty obscure or old stuff.
If you've got problems or questions with a cheat, be sure to read the info script if supplied.
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