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>102</ID>
- <Description>"Player Damage Modifier"</Description>
- <Options moHideChildren="1"/>
- <LastState/>
- <VariableType>Auto Assembler Script</VariableType>
- <AssemblerScript>[ENABLE]
- //code from here to '[DISABLE]' will be used to enable the cheat
- alloc(newmem,2048)
- alloc(hitmultiplier,8)
- registersymbol(hitmultiplier)
- label(returnhere)
- label(originalcode)
- label(exit)
- hitmultiplier:
- multiplier:
- dd (float)1.0
- newmem: //this is allocated memory, you have read,write,execute access
- cmp [edi+34], 469C4000
- je originalcode
- movss xmm4,[edi+30]
- subss xmm4,xmm0
- movss xmm0,[edi+30]
- mulss xmm4,[hitmultiplier]
- subss xmm0,xmm4
- originalcode:
- movss [edi+30],xmm0
- exit:
- jmp returnhere
- "DevilMayCry4SpecialEdition.exe"+22DDE0:
- jmp newmem
- returnhere:
- [DISABLE]
- //code from here till the end of the code will be used to disable the cheat
- dealloc(newmem)
- dealloc(hitmultiplier)
- unregistersymbol(hitmultiplier)
- "DevilMayCry4SpecialEdition.exe"+22DDE0:
- movss [edi+30],xmm0
- //Alt: db F3 0F 11 47 30
- </AssemblerScript>
- <CheatEntries>
- <CheatEntry>
- <ID>229</ID>
- <Description>"Multiplier"</Description>
- <VariableType>Float</VariableType>
- <Address>hitmultiplier</Address>
- </CheatEntry>
- </CheatEntries>
- </CheatEntry>
- </CheatEntries>
- </CheatTable>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement