 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
guy960915 Expert Cheater
Reputation: 2
Joined: 17 Sep 2007 Posts: 168
|
Posted: Mon Apr 22, 2019 11:31 am Post subject: Add Double Types |
|
|
how do i make this work?
globalalloc(_earn,16) //double value
...
...
movsd xmm11,[rsi+40]
addsd xmm11,[_earn]
movsd [rsi+40],xmm11
...
...
this will work
| Code: |
label(_earn)
...
...
movsd xmm11,[rsi+40]
addsd xmm11,[_earn]
movsd [rsi+40],xmm11
...
...
_earn:
dq (double)500
|
but i want control on the value.
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 472
Joined: 09 May 2003 Posts: 25880 Location: The netherlands
|
Posted: Mon Apr 22, 2019 2:25 pm Post subject: |
|
|
add registersymbol(_earn)
or add a prefered address for globalalloc
or deal with the fact that 2GB ranges can not be encoded, but registers can hold values when specifically given:
| Code: |
movsd xmm1,[rsi+40]
push rax
mov rax,_earn
addsd xmm1,[rax]
pop rax
movsd [rsi+40],xmm1
|
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
| 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
|
|