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 


[r10+rax] question!

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

Joined: 29 Nov 2012
Posts: 212

PostPosted: Tue Jan 21, 2020 1:57 am    Post subject: [r10+rax] question! Reply with quote

movups ,xmm0
jmp return

how would you go about reading not only value of "rax", but also r10. The address i'm after, is stored in rax and offset is stored in r10, so i'd need r10+rax. any ideas?
Back to top
View user's profile Send private message
DanyDollaro
Master Cheater
Reputation: 3

Joined: 01 Aug 2019
Posts: 334

PostPosted: Tue Jan 21, 2020 7:13 am    Post subject: Reply with quote

You can use the command "LEA" - "Load effective address":
Code:
push rax
lea rax, [r10 + rax]
mov [address], rax
pop rax

To briefly describe what it does, in the instruction:
Code:
lea rax, [r10 + rax]

if you had used MOV you would have found in RAX the value pointed by "R10 + Rax", while using LEA in RAX it saves the value of "R10 + Rax" as if the effect of square brackets was ignored.
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