Sign in to follow this  
Followers 0
Gorfy

Resolving base address and pointers

1 post in this topic

Hello everyone and thank you for your help. Basically I have a very simple 2-step pointer that I need to resolve, but the first step is giving me trouble.

$process = ProcessExists("EverQuest2.exe") 
$mem = _MemOpen($process)
$baseADDR = _MemoryGetBaseAddress($mem, 1)
; $finalADDR = Int(_MemRev(_MemRead($mem, "0x" & '011535f8', 4))) -- If I use this, it works correctly, but I would need to change it every time I ran EQ2
$finalADDR = Hex(_MemoryGetBaseAddress($mem, 1) + Dec('D535F8'))

The last line of code SHOULD be returning 011535F8 but it returns 00EA35F8. Does anyone have any guidance for me? I am using w0uter's mem functions and Szhlopp's UDF. Thanks a lot!

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  
Followers 0