reverser69 Expert Cheater Reputation: 0
Joined: 03 Sep 2014 Posts: 103
|
Posted: Thu Jul 15, 2021 8:13 pm Post subject: [?] how to read addresses or pointers by lua |
|
|
hi all
i searched a lot and spent so much time but I just can't figure it out.
how can I implement this pseudo-ASM in LUA?!(didn't mix the adds so remember the steps)
Code: | mov rax,mySymbol
add rax,53
mov dword ptr temp,[rax]
add dword ptr rax,[temp]
add rax,4 // 4 byte of cmd itself
add rax,39
inc rax
mov dword ptr [temp],[rax]
add dword ptr rax,[temp]
add rax,4
add rax,49
mov [myCallLocation],rax |
bwt, why is every pointer I try to add manually is 8byte long?!
even with lua i always get 8byte long.
Code: | val1=(getAddress("[MadMax_GOG.exe+2F05C0+53]"))
val2=(readInteger(val1))
print(val1) |
this code always returns 8 byte!!!
|
|