kik4444 Expert Cheater
Reputation: 0
Joined: 07 Sep 2013 Posts: 120 Location: Bulgaria
|
Posted: Sat Nov 23, 2013 12:54 pm Post subject: Question for 2 compares at once with xmm0 |
|
|
This question is mostly aimed at ++METHOS:
Remember this script you gave me?
| Code: | [ENABLE]
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(filter1)
label(filter2)
label(cheat)
label(money_enable)
label(ammo_enable)
registersymbol(money_enable)
registersymbol(ammo_enable)
newmem:
cmp [eax+2C],00000005
je filter1
cmp [eax+30],00000000
je filter2
jmp originalcode
filter1:
cmp [money_enable],1
je cheat
jmp originalcode
filter2:
cmp [ammo_enable],1
je cheat
jmp originalcode
originalcode:
mov [eax+0C],ecx
mov al,01
jmp returnhere
cheat:
mov ecx,#999999
mov [eax+0C],ecx
mov al,01
jmp returnhere
money_enable:
dd 0
ammo_enable:
dd 0
"AC4BFSP.exe"+C81D33:
jmp newmem
returnhere:
[DISABLE]
dealloc(newmem)
"AC4BFSP.exe"+C81D33:
mov [eax+0C],ecx
mov al,01
unregistersymbol(money_enable)
unregistersymbol(ammo_enable) |
Will it work if the health was stored in xmm0 and I made a compare to have separate inf health and one hit kill scripts like this?:
| Code: |
cmp [offset],01
je filter
cmp [offset],02
je filter2
jmp originalcode
filter:
cmp [health_enable],1
je cheat
jmp originalcode
filter2:
cmp [kill_enable],1
je cheat2
jmp originalcode
cheat:
push eax
mov eax,(float)1
movd xmm0,eax
pop eax
jmp returnhere
cheat2:
push eax
mov eax,0
movd xmm0,eax
pop eax
jmp returnhere |
Will the code work like that so you can have it separate and be able to run it simoultaneously?
|
|