Jump to content
Sign in to follow this  

Multilevel pointer

Recommended Posts


I am trying to read a multi level pointer from an .exe and it seems i have done everything right, but the value doesnt get read or it gets read wrong. First i tryed doing everything myself, but this code is from a script on this forum that automaticly makes a pointer read script from a cheatengine copy clipboard. So this should work, but it still doesnt read the value. Can anyone please help me. Thanks.

#include <NomadMemory.au3>


Func _Read($pid)

    Global $Offset[4]
    $Offset[0] = 0
    $Offset[1] = Dec("105C")
    $Offset[2] = Dec("0070")
    $Offset[3] = Dec("000C")
    $StaticOffset = Dec("4C3E88")
    $openmem = _MemoryOpen($pid)
    $baseADDR = _MemoryGetBaseAddress($openmem, 1)
    $finalADDR = "0x" & Hex($baseADDR + $StaticOffset)
    $MemPointer = _MemoryPointerRead($finalADDR, $openmem, $Offset)

    Return $MemPointer
Edited by darkmaster071

Share this post

Link to post
Share on other sites

Where is <NomadMemory.au3> ? I haven't this include-file, and can't test your code..

Edited by Godless


Share this post

Link to post
Share on other sites

Not sure about read but here is some write. Check this to see if it looks similar.

Also make sure you are using the array correctly. Reading returns an array of value and address.

If you are familiar with the Tutorial.exe try using this and change write to read with a message box or something.

If this must be removed feel free to remove it. I personally see no problem with it, but I know others do.




Edited by darkjohn20

Share this post

Link to post
Share on other sites

Thanks i totaly forgot it returns an array :D Works now.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.