 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
XaneXXXX Expert Cheater
Reputation: 0
Joined: 29 Nov 2012 Posts: 212
|
Posted: Tue Jan 21, 2020 1:57 am Post subject: [r10+rax] question! |
|
|
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 |
|
 |
DanyDollaro Master Cheater
Reputation: 3
Joined: 01 Aug 2019 Posts: 334
|
Posted: Tue Jan 21, 2020 7:13 am Post subject: |
|
|
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 |
|
 |
|
|
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
|
|