Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


[?] how to read addresses or pointers by lua

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
reverser69
Expert Cheater
Reputation: 0

Joined: 03 Sep 2014
Posts: 103

PostPosted: Thu Jul 15, 2021 8:13 pm    Post subject: [?] how to read addresses or pointers by lua Reply with quote

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!!!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites