Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [ENABLE]
- aobscanmodule(InfBuildingHealth,EMPIRESX.EXE,D8 6E 30 85 FF)
- alloc(newmem,$1000)
- label(code)
- label(return)
- newmem:
- push edi
- mov edi,[esi+74]
- mov edi,[edi+4]
- cmp [edi+84],1
- pop edi
- jne code
- fadd dword ptr [esi+30]
- //fstp dword ptr [esi+30]
- jmp return
- code:
- fsubr dword ptr [esi+30]
- test edi,edi
- jmp return
- InfBuildingHealth:
- jmp newmem
- return:
- registersymbol(InfBuildingHealth)
- [DISABLE]
- InfBuildingHealth:
- db D8 6E 30 85 FF
- unregistersymbol(InfBuildingHealth)
- dealloc(newmem)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement