whydontlose How do I cheat?
Reputation: 0
Joined: 16 Nov 2013 Posts: 3
|
Posted: Sun Nov 17, 2013 7:19 am Post subject: |
|
|
i find the way it do
the codes to disable the AI ammo here
| Quote: | [ENABLE]
alloc(newmem,128)
label(returnhere)
label(originalcode)
label(exit)
newmem:
add esp,08
cmp [esi+06],CD106
jne originalcode
mov edx,0
mov [esi],edx
jmp returnhere
originalcode:
mov [esi],edx
exit:
jmp returnhere
"iw5sp.exe"+12BC52:
jmp newmem
returnhere:
alloc(newmem1,128)
label(returnhere1)
label(originalcode1)
label(exit1)
newmem1:
add esp,08
cmp [esi+06],CD106
jne originalcode1
mov edx,0
mov [esi],edx
jmp returnhere1
originalcode1:
mov [esi],edx
exit1:
jmp returnhere1
"iw5sp.exe"+249EE:
jmp newmem1
returnhere1:
[DISABLE]
dealloc(newmem)
"iw5sp.exe"+12BC52:
add esp,08
mov [esi],edx
//Alt: db 83 C4 08 89 16
dealloc(newmem1)
"iw5sp.exe"+249EE:
add esp,08
mov [esi],edx
//Alt: db 83 C4 08 89 16 |
|
|