Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <CheatTable>
- <CheatEntries>
- <CheatEntry>
- <ID>1337092177</ID>
- <Description>"Large Monster HP Finder"</Description>
- <Options moHideChildren="1" moDeactivateChildrenAsWell="1"/>
- <LastState Activated="1"/>
- <VariableType>Auto Assembler Script</VariableType>
- <AssemblerScript>[ENABLE]
- aobscanmodule(INJ_LM_HP,MonsterHunterWorld.exe,F3 0F 10 41 60 C3) // should be unique
- alloc(lmhpmem,256)
- alloc(newmem,$1000,"MonsterHunterWorld.exe"+B2903A0)
- label(lmhp_rescan_timer)
- label(pt_lm_hp)
- label(pt_lm_hp2)
- label(pt_lm_hp3)
- label(reset_lm_timer)
- label(write_lm_pt)
- label(code)
- label(return_code)
- label(return)
- lmhpmem:
- lmhp_rescan_timer:
- db 00 00 00 00
- flag_mem_hp:
- db 00 00 00 00 00 00 00 00
- pt_lm_hp:
- db 00 00 00 00 00 00 00 00
- pt_lm_hp2:
- db 00 00 00 00 00 00 00 00
- pt_lm_hp3:
- db 00 00 00 00 00 00 00 00
- registersymbol(lmhp_rescan_timer)
- registersymbol(flag_mem_hp)
- registersymbol(pt_lm_hp)
- registersymbol(pt_lm_hp2)
- registersymbol(pt_lm_hp3)
- newmem:
- push rax
- push rbx
- inc [lmhp_rescan_timer]
- cmp [lmhp_rescan_timer],4200
- jge reset_lm_timer
- movss xmm0,[rcx+60]
- mov rax,000007D0
- cvtsi2ss xmm15,rax
- comiss xmm0,xmm15
- jb return_code
- mov rax,000F4240
- cvtsi2ss xmm15,rax
- comiss xmm0,xmm15
- ja return_code
- // Searching wheather used
- mov rbx,rcx
- add rbx,60
- cmp rbx,[pt_lm_hp]
- je return_code
- mov rbx,rcx
- add rbx,60
- cmp rbx,[pt_lm_hp2]
- je return_code
- mov rbx,rcx
- add rbx,60
- cmp rbx,[pt_lm_hp3]
- je return_code
- // Searching unused memory
- mov eax,[pt_lm_hp]
- cmp eax,0
- mov rax,pt_lm_hp
- je write_lm_pt
- mov eax,[pt_lm_hp2]
- cmp eax,0
- mov rax,pt_lm_hp2
- je write_lm_pt
- mov eax,[pt_lm_hp3]
- cmp eax,0
- mov rax,pt_lm_hp3
- je write_lm_pt
- // All 3 Large Monster registered
- jmp return_code
- reset_lm_timer:
- mov [lmhp_rescan_timer],0
- mov [pt_lm_hp],0
- mov [pt_lm_hp2],0
- mov [pt_lm_hp3],0
- jmp return_code
- write_lm_pt:
- mov [rax],rbx
- jmp return_code
- return_code:
- pop rbx
- pop rax
- jmp code
- code:
- movss xmm0,[rcx+60]
- jmp return
- INJ_LM_HP:
- jmp newmem
- return:
- registersymbol(INJ_LM_HP)
- [DISABLE]
- INJ_LM_HP:
- db F3 0F 10 41 60
- unregistersymbol(INJ_LM_HP)
- unregistersymbol(pt_lm_hp3)
- unregistersymbol(pt_lm_hp2)
- unregistersymbol(pt_lm_hp)
- unregistersymbol(flag_mem_hp)
- unregistersymbol(lmhp_rescan_timer)
- dealloc(lmhpmem)
- dealloc(newmem)
- </AssemblerScript>
- <CheatEntries>
- <CheatEntry>
- <ID>1337092178</ID>
- <Description>"HP 1"</Description>
- <VariableType>Float</VariableType>
- <Address>pt_lm_hp</Address>
- <Offsets>
- <Offset>4</Offset>
- </Offsets>
- </CheatEntry>
- <CheatEntry>
- <ID>1337092180</ID>
- <Description>"HP 2"</Description>
- <VariableType>Float</VariableType>
- <Address>pt_lm_hp2</Address>
- <Offsets>
- <Offset>4</Offset>
- </Offsets>
- </CheatEntry>
- <CheatEntry>
- <ID>1337092179</ID>
- <Description>"HP 3"</Description>
- <VariableType>Float</VariableType>
- <Address>pt_lm_hp3</Address>
- <Offsets>
- <Offset>4</Offset>
- </Offsets>
- </CheatEntry>
- </CheatEntries>
- </CheatEntry>
- </CheatEntries>
- </CheatTable>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement