Y.A.K.E Advanced Cheater Reputation: 0
Joined: 15 Jul 2019 Posts: 51
|
Posted: Sun Sep 08, 2019 1:24 am Post subject: How to get xmm13? |
|
|
I have an instruction here to deal with HP for all items.
Movss xmm6, [rcx + 08]
If xmm13 != 1 :player
I want fast kill
Movss [rcx + 08], xmm14 //xmm14 = 0
Movss xmm6, [rcx + 08]
But if I add "movss [rcx + 08], xmm14", I'm dead.
Code: |
[ENABLE]
aobscanmodule(HP_INJECT,Game.exe,F3 0F 10 71 08 EB * 48 85 DB ) // should be unique
alloc(newmem,$1000)
alloc(Player_Test,8)
label(code)
label(return)
newmem:
movss [Player_Test],xmm13 //xmm13 neq 1 : player
cmp [Player_Test],#0
jne code
movss [rcx+08],xmm14 //xmm14 = 0
movss xmm6,[rcx+08] //HP
jmp return
code:
movss xmm6,[rcx+08]
jmp return
HP_INJECT:
jmp newmem
return:
registersymbol(miaosha_INJECT)
[DISABLE]
miaosha_INJECT:
db F3 0F 10 71 08
unregistersymbol(HP_INJECT)
dealloc(Player_Test)
dealloc(newmem)
|
This is my CEEAA script, I don't know why, the effect is the opposite.
|
|