Spoiler
<CheatTable>
<CheatEntries>
<CheatEntry>
<ID>105800</ID>
<Description>"Multiply Speed Gain"</Description>
<Options moHideChildren="1"/>
<LastState Activated="1"/>
<VariableType>Auto Assembler Script</VariableType>
<AssemblerScript>[ENABLE]
aobscanmodule(SpeMultiplier,GameAssembly.dll,E8 E5 7C 82 00 41 89 46 34) // should be unique
alloc(newmem,$1000,SpeMultiplier)
alloc(SpeMulti,4)
registersymbol(SpeMulti)
label(code)
label(return)
SpeMulti:
dd 1
newmem:
imul eax,[SpeMulti]
code:
call GameAssembly.dll+B502B0
mov [r14+34],eax
jmp return
SpeMultiplier:
jmp newmem
nop
nop
nop
nop
return:
registersymbol(SpeMultiplier)
[DISABLE]
SpeMultiplier:
db E8 E5 7C 82 00 41 89 46 34
unregistersymbol(SpeMultiplier)
unregistersymbol(SpeMulti)
dealloc(newmem)
dealloc(SpeMulti)
{
// ORIGINAL CODE - INJECTION POINT: GameAssembly.dll+3285C6
GameAssembly.dll+32859E: F6 82 2F 01 00 00 02 - test byte ptr [rdx+0000012F],02
GameAssembly.dll+3285A5: 74 11 - je GameAssembly.dll+3285B8
GameAssembly.dll+3285A7: 83 BA E0 00 00 00 00 - cmp dword ptr [rdx+000000E0],00
GameAssembly.dll+3285AE: 75 08 - jne GameAssembly.dll+3285B8
GameAssembly.dll+3285B0: 48 8B CA - mov rcx,rdx
GameAssembly.dll+3285B3: E8 08 C7 E3 FF - call GameAssembly.il2cpp_runtime_class_init
GameAssembly.dll+3285B8: F3 41 0F 59 F0 - mulss xmm6,xmm8
GameAssembly.dll+3285BD: 33 D2 - xor edx,edx
GameAssembly.dll+3285BF: F3 0F 5C F7 - subss xmm6,xmm7
GameAssembly.dll+3285C3: 0F 28 C6 - movaps xmm0,xmm6
// ---------- INJECTING HERE ----------
GameAssembly.dll+3285C6: E8 E5 7C 82 00 - call GameAssembly.dll+B502B0
// ---------- DONE INJECTING ----------
GameAssembly.dll+3285CB: 41 89 46 34 - mov [r14+34],eax
GameAssembly.dll+3285CF: 48 8B 15 F2 C5 72 01 - mov rdx,[GameAssembly.dll+1A54BC8]
GameAssembly.dll+3285D6: F3 44 0F 10 84 24 28 01 00 00 - movss xmm8,[rsp+00000128]
GameAssembly.dll+3285E0: F3 0F 10 B4 24 20 01 00 00 - movss xmm6,[rsp+00000120]
GameAssembly.dll+3285E9: F3 0F 10 7C 24 20 - movss xmm7,[rsp+20]
GameAssembly.dll+3285EF: 4C 8D 0D 0A 7A CD FF - lea r9,[GameAssembly.dll]
GameAssembly.dll+3285F6: FF C7 - inc edi
GameAssembly.dll+3285F8: 41 BA 24 00 00 00 - mov r10d,00000024
GameAssembly.dll+3285FE: E9 1D FD FF FF - jmp GameAssembly.dll+328320
GameAssembly.dll+328603: FF C6 - inc esi
}
</AssemblerScript>
<CheatEntries>
<CheatEntry>
<ID>105801</ID>
<Description>"Speed Multiplier"</Description>
<ShowAsSigned>0</ShowAsSigned>
<VariableType>4 Bytes</VariableType>
<Address>SpeMulti</Address>
</CheatEntry>
</CheatEntries>
</CheatEntry>
</CheatEntries>
</CheatTable>