TheGeogeo How do I cheat?
Reputation: 0
Joined: 01 Jan 2021 Posts: 6
|
Posted: Fri Jan 01, 2021 7:00 pm Post subject: Error compil (cmp [rcx+4C],xmm1) |
|
|
Hello, I try to make a godmode and i can't compil it I don't know why.
CODE :
| Code: |
[ENABLE]
aobscanmodule(godmode,Dungeons-Win64-Shipping.exe,F3 F3 0F 11 49 4C) // should be unique
alloc(newmem,$1000,godmode)
label(code)
label(infhealth)
label(return)
newmem:
infhealth:
pushf
cmp [rcx+4C],xmm1
ji code
popf
jmp return
code:
popf
movss [rcx+4C],xmm1
jmp return
godmode:
jmp newmem
nop
return:
registersymbol(godmode)
[DISABLE]
godmode:
db F3 F3 0F 11 49 4C
unregistersymbol(godmode)
dealloc(newmem)
{
// ORIGINAL CODE - INJECTION POINT: Dungeons-Win64-Shipping.exe+388860
Dungeons-Win64-Shipping.exe+388853: 48 83 C4 20 - add rsp,20
Dungeons-Win64-Shipping.exe+388857: 5F - pop rdi
Dungeons-Win64-Shipping.exe+388858: C3 - ret
Dungeons-Win64-Shipping.exe+388859: CC - int 3
Dungeons-Win64-Shipping.exe+38885A: CC - int 3
Dungeons-Win64-Shipping.exe+38885B: CC - int 3
Dungeons-Win64-Shipping.exe+38885C: CC - int 3
Dungeons-Win64-Shipping.exe+38885D: CC - int 3
Dungeons-Win64-Shipping.exe+38885E: CC - int 3
Dungeons-Win64-Shipping.exe+38885F: CC - int 3
// ---------- INJECTING HERE ----------
Dungeons-Win64-Shipping.exe+388860: F3 F3 0F 11 49 4C - movss [rcx+4C],xmm1
// ---------- DONE INJECTING ----------
Dungeons-Win64-Shipping.exe+388866: 84 C0 - test al,al
Dungeons-Win64-Shipping.exe+388868: 0F 85 32 89 FF FF - jne Dungeons-Win64-Shipping.exe+3811A0
Dungeons-Win64-Shipping.exe+38886E: C3 - ret
Dungeons-Win64-Shipping.exe+38886F: CC - int 3
Dungeons-Win64-Shipping.exe+388870: 0F B6 41 38 - movzx eax,byte ptr [rcx+38]
Dungeons-Win64-Shipping.exe+388874: C3 - ret
Dungeons-Win64-Shipping.exe+388875: CC - int 3
Dungeons-Win64-Shipping.exe+388876: CC - int 3
Dungeons-Win64-Shipping.exe+388877: CC - int 3
Dungeons-Win64-Shipping.exe+388878: CC - int 3
}
|
And when i assigned to my cheat table, an popup tell me : Error compil line 22 (cmp [rcx+4C],xmm1)
I following this tutorial ( Let's Hack: ELEX, Ep. 3 - Infinite Health (Game Hacking with Cheat Engine) ) so maybe i guess i can't cmp xmm ?
Thank.
|
|