I can not figure out how to read a value from a pointer.
I can get my program to read and use the normal addresses but having a hard time with a pointer.
In Cheat Engine I found a pointer.
Process.exe+memoryAddress
then it has an Offset
Not sure how to use a pointer.
For a normal address I'm reading it like this.
$x = 23618832 <- memory address
$Process = 'nameofgame.exe' <- program
$PID = ProcessExists($Process)
$OpenProcess = MemOpen(0x38, False, $PID)
$playerX = Memread($OpenProcess, $x, 'float', 4)
This is working fine.
Any help would be appreciated.