|
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
++METHOS I post too much Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Wed Apr 27, 2016 2:24 pm Post subject: |
|
|
If your originalcode is this:
Code: | originalcode:
movss xmm0,[rax+08] |
Then you can't use this:
Code: | mov [rcx+000027C0],(float)70 |
You would want to use something like this:
Code: | mov [rax+08],(float)70.0
movss xmm0,[rax+08] |
|
|
Back to top |
|
|
Liquidious How do I cheat? Reputation: 0
Joined: 26 Apr 2016 Posts: 8
|
Posted: Wed Apr 27, 2016 3:22 pm Post subject: |
|
|
++METHOS wrote: | If your originalcode is this:
Code: | originalcode:
movss xmm0,[rax+08] |
Then you can't use this:
Code: | mov [rcx+000027C0],(float)70 |
You would want to use something like this:
Code: | mov [rax+08],(float)70.0
movss xmm0,[rax+08] |
|
You are my hero it worked. I'd lick your face if I could.
I was so dead set on changing "rcx+000027C0" and I don't understand why now suddenly we're writing float 70 to "rax+08" instead.
Can you explain this?
Also why do we crash if we do try to write to "rcx+000027C0"?
|
|
Back to top |
|
|
++METHOS I post too much Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Wed Apr 27, 2016 3:31 pm Post subject: |
|
|
Each instruction is different. All of those instructions may be accessing the same address, but they may not be using the same registers or offsets. You have to work within the parameters of the instruction that you are hooking, otherwise, you may be making changes to other parts of the process that you shouldn't be changing or that don't even exist. When you understand more about assembly, it will make more sense.
|
|
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
|
|