Regarding pointers and scripts

Anything Cheat Engine related, bugs, suggestions, helping others, etc..
Post Reply
User avatar
The Mogician
Table Makers
Table Makers
Posts: 554
Joined: Sat Mar 04, 2017 12:00 am
Reputation: 261

Regarding pointers and scripts

Post by The Mogician » Mon Nov 11, 2019 3:04 pm

When I make pointer tables, the pointers are individually available and doesn't require any prerequisite scripts to populate. I often see tables with pointers being tied into scripts. I'm a bit curious how that works and what is the function of the scripts in the scenario. Can someone explain a bit?
Per aspera ad astra

User avatar
RCE Fanatics
RCE Fanatics
Posts: 544
Joined: Fri Feb 15, 2019 5:45 pm
Reputation: 422

Re: Regarding pointers and scripts

Post by cfemen » Mon Nov 11, 2019 3:29 pm


lets say you are searching for a (int/4 byte) value, you find it and you have the address:

now you can look what read/writes on this address

for a 4 byte (int) on an x64 game you will see something like this on read:

Code: Select all

mov eax,[rcx+8]
and on write:

Code: Select all

mov [rcx+8],eax
rcx+8 = address of the value

now you can allocate memory to copy the address of rcx
access on this memory location+ 8 and you have a pointer to the value that will work everytime.

this gives many more advantages, rcx could hold an complete struct of the player and you can find many more pointers without searching them.
or for inventory things, hook into a function/method that gets called each time the player selects an item -> you get the pointer to the current item.
you like my tables and want to support me? my patreon :)

Post Reply

Who is online

Users browsing this forum: No registered users