Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [ENABLE]
- assert(mafia2.exe+590BD6,D9 9D D0 00 00 00 8B 16)
- aobscanmodule(InfHealth2,mafia2.exe,D9 9D D0 00 00 00 8B 16)
- alloc(newmem,$100)
- alloc(Onehit,8)
- label(code)
- label(return)
- label(OHK_value)
- label(giveInfHealth)
- label(KillAI)
- label(OHK)
- registersymbol(Onehit)
- registersymbol(OHK_value)
- Onehit:
- OHK_value:
- dd 0
- newmem:
- pushfd
- cmp [ebp+118],#1 //comparing me and enemies....
- je giveInfHealth
- jne OHK
- giveInfHealth:
- mov [ebp+000000D0],(float)719.999939
- popfd
- jmp return
- OHK:
- cmp [OHK_value],1
- je KillAI
- jne code
- KillAI:
- mov [ebp+000000D0],(float)0
- popfd
- jmp return
- code:
- fstp dword ptr [ebp+000000D0]
- popfd
- jmp return
- InfHealth2:
- jmp newmem
- nop
- return:
- registersymbol(InfHealth2)
- [DISABLE]
- InfHealth2:
- db D9 9D D0 00 00 00
- unregistersymbol(InfHealth2)
- unregistersymbol(Onehit)
- unregistersymbol(OHK_value)
- dealloc(newmem)
- dealloc(Onehit)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement