Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
<CheatEntries>
<CheatEntry>
<ID>10544</ID>
<Description>"Anima Gain Multiplier"</Description>
<Options moHideChildren="1"/>
<LastState Activated="1"/>
<VariableType>Auto Assembler Script</VariableType>
<AssemblerScript>{ Game : LOSTEPIC.exe
Version:
Date : 2022-03-14
Author : Algester
This script does blah blah blah
}
[ENABLE]
aobscanmodule(animagain,GameAssembly.dll,01 73 6C 8B 4B 70) // should be unique
alloc(newmem,$1000,animagain)
alloc(animamult,4)
label(animamult)
label(code)
label(return)
newmem:
animamult:
dd #1
code:
imul esi,[animamult]
add [rbx+6C],esi
mov ecx,[rbx+70]
jmp return
animagain:
jmp newmem
nop
return:
registersymbol(animamult)
registersymbol(animagain)
[DISABLE]
animagain:
db 01 73 6C 8B 4B 70
unregistersymbol(animagain)
unregistersymbol(animamult)
dealloc(newmem)
{
// ORIGINAL CODE - INJECTION POINT: animagain
GameAssembly.dll+11CA775: 84 C0 - test al,al
GameAssembly.dll+11CA777: 74 1E - je animagain
GameAssembly.dll+11CA779: 48 8B 0D D8 B2 65 00 - mov rcx,[GameAssembly.dll+1825A58]
GameAssembly.dll+11CA780: E8 9B 42 8D FF - call GameAssembly.dll+A9EA20
GameAssembly.dll+11CA785: 48 85 C0 - test rax,rax
GameAssembly.dll+11CA788: 74 4B - je GameAssembly.dll+11CA7D5
GameAssembly.dll+11CA78A: 45 33 C0 - xor r8d,r8d
GameAssembly.dll+11CA78D: 8B D6 - mov edx,esi
GameAssembly.dll+11CA78F: 48 8B C8 - mov rcx,rax
GameAssembly.dll+11CA792: E8 39 1B FB FF - call GameAssembly.dll+117C2D0
// ---------- INJECTING HERE ----------
animagain: 01 73 6C - add [rbx+6C],esi
// ---------- DONE INJECTING ----------
GameAssembly.dll+11CA79A: 8B 4B 70 - mov ecx,[rbx+70]
GameAssembly.dll+11CA79D: B8 FF FF FF 7F - mov eax,7FFFFFFF
GameAssembly.dll+11CA7A2: 2B C6 - sub eax,esi
GameAssembly.dll+11CA7A4: 3B C8 - cmp ecx,eax
GameAssembly.dll+11CA7A6: 7D 16 - jnl GameAssembly.dll+11CA7BE
GameAssembly.dll+11CA7A8: 8D 04 31 - lea eax,[rcx+rsi]
GameAssembly.dll+11CA7AB: 89 43 70 - mov [rbx+70],eax
GameAssembly.dll+11CA7AE: 48 8B 5C 24 30 - mov rbx,[rsp+30]
GameAssembly.dll+11CA7B3: 48 8B 74 24 38 - mov rsi,[rsp+38]
GameAssembly.dll+11CA7B8: 48 83 C4 20 - add rsp,20
}
</AssemblerScript>
<CheatEntries>
<CheatEntry>
<ID>10542</ID>
<Description>"Multiplier"</Description>
<DropDownList DescriptionOnly="1" DisplayValueAsItem="1">1:Default
10:x10
100:x100
255:Max Value
</DropDownList>
<ShowAsSigned>0</ShowAsSigned>
<VariableType>4 Bytes</VariableType>
<Address>animamult</Address>
</CheatEntry>
</CheatEntries>
</CheatEntry>
</CheatEntries>
</CheatTable>
or perhaps I'm playing a game that doesnt like more than 255 or 256 max value?