Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <CheatTable CheatEngineTableVersion="29">
- <CheatEntries>
- <CheatEntry>
- <ID>3</ID>
- <Description>"Slowmo"</Description>
- <LastState/>
- <VariableType>Auto Assembler Script</VariableType>
- <AssemblerScript>// This code toggles between 1 speedhack and 0.2 speedhack, bind this to a button for matrix mode.
- {$lua}
- [ENABLE]
- speedhack_setSpeed(0.2)
- [DISABLE]
- speedhack_setSpeed(1.0)
- </AssemblerScript>
- <Hotkeys>
- <Hotkey>
- <Action>Toggle Activation</Action>
- <Keys>
- <Key>6</Key>
- </Keys>
- <ID>0</ID>
- </Hotkey>
- </Hotkeys>
- </CheatEntry>
- <CheatEntry>
- <ID>2</ID>
- <Description>"Infinite ammo"</Description>
- <LastState/>
- <VariableType>Auto Assembler Script</VariableType>
- <AssemblerScript>// This script disables the code that changes the ammo count of the gun in your hand.
- // (only works with guns, no gadgets, coins, grenades etc)
- [ENABLE]
- aobscanmodule(INJECT,hitman2.exe,42 89 2C B1 48 8D 8B 08 FC FF FF)
- alloc(newmem,$1000,"hitman2.exe"+1531F1)
- label(code)
- label(return)
- newmem:
- jmp return
- code:
- mov [rcx+r14*4],ebp
- lea rcx,[rbx-000003F8]
- jmp return
- INJECT:
- jmp newmem
- nop 6
- return:
- registersymbol(INJECT)
- [DISABLE]
- INJECT:
- db 42 89 2C B1 48 8D 8B 08 FC FF FF
- unregistersymbol(INJECT)
- dealloc(newmem)
- {
- // ORIGINAL CODE - INJECTION POINT: "hitman2.exe"+1531F1
- "hitman2.exe"+1531CB: 0F 57 D2 - xorps xmm2,xmm2
- "hitman2.exe"+1531CE: BA 03 00 00 00 - mov edx,00000003
- "hitman2.exe"+1531D3: 48 8B CF - mov rcx,rdi
- "hitman2.exe"+1531D6: E8 75 F8 FF FF - call hitman2.exe+152A50
- "hitman2.exe"+1531DB: 48 8D 8B 58 03 00 00 - lea rcx,[rbx+00000358]
- "hitman2.exe"+1531E2: 48 8B 41 10 - mov rax,[rcx+10]
- "hitman2.exe"+1531E6: 48 C1 E8 3E - shr rax,3E
- "hitman2.exe"+1531EA: A8 01 - test al,01
- "hitman2.exe"+1531EC: 75 03 - jne hitman2.exe+1531F1
- "hitman2.exe"+1531EE: 48 8B 09 - mov rcx,[rcx]
- // ---------- INJECTING HERE ----------
- "hitman2.exe"+1531F1: 42 89 2C B1 - mov [rcx+r14*4],ebp
- "hitman2.exe"+1531F5: 48 8D 8B 08 FC FF FF - lea rcx,[rbx-000003F8]
- // ---------- DONE INJECTING ----------
- "hitman2.exe"+1531FC: 48 8B 83 08 FC FF FF - mov rax,[rbx-000003F8]
- "hitman2.exe"+153203: FF 50 58 - call qword ptr [rax+58]
- "hitman2.exe"+153206: 48 39 30 - cmp [rax],rsi
- "hitman2.exe"+153209: 75 23 - jne hitman2.exe+15322E
- "hitman2.exe"+15320B: 41 B8 05 00 00 00 - mov r8d,00000005
- "hitman2.exe"+153211: 48 8D 15 A0 6F 55 01 - lea rdx,[hitman2.exe+16AA1B8]
- "hitman2.exe"+153218: 48 8D 4C 24 30 - lea rcx,[rsp+30]
- "hitman2.exe"+15321D: E8 DE 4E F8 FF - call hitman2.exe+D8100
- "hitman2.exe"+153222: 48 8D 44 24 30 - lea rax,[rsp+30]
- "hitman2.exe"+153227: BB 01 00 00 00 - mov ebx,00000001
- }
- </AssemblerScript>
- <Hotkeys>
- <Hotkey>
- <Action>Toggle Activation</Action>
- <Keys/>
- <ID>0</ID>
- </Hotkey>
- </Hotkeys>
- </CheatEntry>
- <CheatEntry>
- <ID>5</ID>
- <Description>"No Spot (Non enforcers) doesn't affect cameras"</Description>
- <LastState/>
- <VariableType>Auto Assembler Script</VariableType>
- <AssemblerScript>// This script disables the code that changes the "spot amount" value from non-enforcers.
- [ENABLE]
- aobscanmodule(INJECT,hitman2.exe,F3 0F 11 49 64 89) // should be unique
- alloc(newmem,$1000,"hitman2.exe"+2F9843)
- label(code)
- label(return)
- newmem:
- jmp return
- code:
- movss [rcx+64],xmm1
- jmp return
- INJECT:
- jmp newmem
- return:
- registersymbol(INJECT)
- [DISABLE]
- INJECT:
- db F3 0F 11 49 64
- unregistersymbol(INJECT)
- dealloc(newmem)
- {
- // ORIGINAL CODE - INJECTION POINT: "hitman2.exe"+2F9843
- "hitman2.exe"+2F9837: CC - int 3
- "hitman2.exe"+2F9838: CC - int 3
- "hitman2.exe"+2F9839: CC - int 3
- "hitman2.exe"+2F983A: CC - int 3
- "hitman2.exe"+2F983B: CC - int 3
- "hitman2.exe"+2F983C: CC - int 3
- "hitman2.exe"+2F983D: CC - int 3
- "hitman2.exe"+2F983E: CC - int 3
- "hitman2.exe"+2F983F: CC - int 3
- "hitman2.exe"+2F9840: 8B 41 64 - mov eax,[rcx+64]
- // ---------- INJECTING HERE ----------
- "hitman2.exe"+2F9843: F3 0F 11 49 64 - movss [rcx+64],xmm1
- // ---------- DONE INJECTING ----------
- "hitman2.exe"+2F9848: 89 41 68 - mov [rcx+68],eax
- "hitman2.exe"+2F984B: C3 - ret
- "hitman2.exe"+2F984C: CC - int 3
- "hitman2.exe"+2F984D: CC - int 3
- "hitman2.exe"+2F984E: CC - int 3
- "hitman2.exe"+2F984F: CC - int 3
- "hitman2.exe"+2F9850: 80 61 60 FE - and byte ptr [rcx+60],-02
- "hitman2.exe"+2F9854: 08 51 60 - or [rcx+60],dl
- "hitman2.exe"+2F9857: C3 - ret
- "hitman2.exe"+2F9858: CC - int 3
- }
- </AssemblerScript>
- </CheatEntry>
- <CheatEntry>
- <ID>7</ID>
- <Description>"No Spot (Enforcers) doesn't affect cameras"</Description>
- <LastState/>
- <VariableType>Auto Assembler Script</VariableType>
- <AssemblerScript>// This script disables the code that changes the "spot amount" value from enforcers.
- [ENABLE]
- aobscanmodule(INJECT,hitman2.exe,F3 0F 11 49 70 C3) // should be unique
- alloc(newmem,$1000,"hitman2.exe"+2F9870)
- label(code)
- label(return)
- newmem:
- jmp return
- code:
- movss [rcx+70],xmm1
- jmp return
- INJECT:
- jmp newmem
- return:
- registersymbol(INJECT)
- [DISABLE]
- INJECT:
- db F3 0F 11 49 70
- unregistersymbol(INJECT)
- dealloc(newmem)
- {
- // ORIGINAL CODE - INJECTION POINT: "hitman2.exe"+2F9870
- "hitman2.exe"+2F9866: CC - int 3
- "hitman2.exe"+2F9867: CC - int 3
- "hitman2.exe"+2F9868: CC - int 3
- "hitman2.exe"+2F9869: CC - int 3
- "hitman2.exe"+2F986A: CC - int 3
- "hitman2.exe"+2F986B: CC - int 3
- "hitman2.exe"+2F986C: CC - int 3
- "hitman2.exe"+2F986D: CC - int 3
- "hitman2.exe"+2F986E: CC - int 3
- "hitman2.exe"+2F986F: CC - int 3
- // ---------- INJECTING HERE ----------
- "hitman2.exe"+2F9870: F3 0F 11 49 70 - movss [rcx+70],xmm1
- // ---------- DONE INJECTING ----------
- "hitman2.exe"+2F9875: C3 - ret
- "hitman2.exe"+2F9876: CC - int 3
- "hitman2.exe"+2F9877: CC - int 3
- "hitman2.exe"+2F9878: CC - int 3
- "hitman2.exe"+2F9879: CC - int 3
- "hitman2.exe"+2F987A: CC - int 3
- "hitman2.exe"+2F987B: CC - int 3
- "hitman2.exe"+2F987C: CC - int 3
- "hitman2.exe"+2F987D: CC - int 3
- "hitman2.exe"+2F987E: CC - int 3
- }
- </AssemblerScript>
- </CheatEntry>
- </CheatEntries>
- <UserdefinedSymbols/>
- </CheatTable>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement