Copy Paste
[ENABLE]
aobscanmodule(Matterial_Get_AOB,GameAssembly.dll,E8 * * * * 0F 57 C0 8B 58 0C 8B 45 0C) // should be unique
alloc(newmem,$1000)
label(code)
label(return)
newmem:
mov [eax+0C],#50
code:
mov ebx,[eax+0C]
mov eax,[ebp+0C]
jmp return
Matterial_Get_AOB+08:
jmp newmem
nop
return:
registersymbol(Matterial_Get_AOB)
[DISABLE]
Matterial_Get_AOB+08:
db 8B 58 0C 8B 45 0C
unregistersymbol(Matterial_Get_AOB)
dealloc(newmem)
{
// ORIGINAL CODE - INJECTION POINT: GameAssembly.dll+139B57C
GameAssembly.dll+139B559: 8B 0E - mov ecx,[esi]
GameAssembly.dll+139B55B: 8B 78 08 - mov edi,[eax+08]
GameAssembly.dll+139B55E: 85 C9 - test ecx,ecx
GameAssembly.dll+139B560: 0F 84 B5 00 00 00 - je GameAssembly.dll+139B61B
GameAssembly.dll+139B566: 8B 49 0C - mov ecx,[ecx+0C]
GameAssembly.dll+139B569: 85 C9 - test ecx,ecx
GameAssembly.dll+139B56B: 0F 84 AA 00 00 00 - je GameAssembly.dll+139B61B
GameAssembly.dll+139B571: FF 76 08 - push [esi+08]
GameAssembly.dll+139B574: E8 E7 AD D0 FE - call GameAssembly.il2cpp_gc_has_strict_wbarriers+1190
GameAssembly.dll+139B579: 0F 57 C0 - xorps xmm0,xmm0
// ---------- INJECTING HERE ----------
GameAssembly.dll+139B57C: 8B 58 0C - mov ebx,[eax+0C]
// ---------- DONE INJECTING ----------
GameAssembly.dll+139B57F: 8B 45 0C - mov eax,[ebp+0C]
GameAssembly.dll+139B582: 66 0F 13 44 24 10 - movlpd [esp+10],xmm0
GameAssembly.dll+139B588: 8B 48 0C - mov ecx,[eax+0C]
GameAssembly.dll+139B58B: F6 81 BA 00 00 00 01 - test byte ptr [ecx+000000BA],01
GameAssembly.dll+139B592: 75 05 - jne GameAssembly.dll+139B599
GameAssembly.dll+139B594: E8 E7 30 EA FE - call GameAssembly.DllCanUnloadNow+4060
GameAssembly.dll+139B599: 51 - push ecx
GameAssembly.dll+139B59A: 53 - push ebx
GameAssembly.dll+139B59B: 8B D7 - mov edx,edi
GameAssembly.dll+139B59D: 8D 4C 24 18 - lea ecx,[esp+18]
}
[ENABLE]
aobscanmodule(Funds_AOB,GameAssembly.dll,8B 46 20 3B C7) // should be unique
alloc(newmem,$1000)
label(code)
label(return)
newmem:
mov [esi+20],#999999
code:
mov eax,[esi+20]
cmp eax,edi
jmp return
Funds_AOB:
jmp newmem
return:
registersymbol(Funds_AOB)
[DISABLE]
Funds_AOB:
db 8B 46 20 3B C7
unregistersymbol(Funds_AOB)
dealloc(newmem)
{
// ORIGINAL CODE - INJECTION POINT: GameAssembly.dll+D73E93
GameAssembly.dll+D73E71: 75 07 - jne GameAssembly.dll+D73E7A
GameAssembly.dll+D73E73: 8B C8 - mov ecx,eax
GameAssembly.dll+D73E75: E8 16 A6 4D FF - call GameAssembly.dll+24E490
GameAssembly.dll+D73E7A: A1 90 D6 0A 0B - mov eax,[GameAssembly.dll+316D690]
GameAssembly.dll+D73E7F: 8B 40 5C - mov eax,[eax+5C]
GameAssembly.dll+D73E82: 8B 40 04 - mov eax,[eax+04]
GameAssembly.dll+D73E85: 85 C0 - test eax,eax
GameAssembly.dll+D73E87: 0F 84 7C 01 00 00 - je GameAssembly.dll+D74009
GameAssembly.dll+D73E8D: 8B 7D 08 - mov edi,[ebp+08]
GameAssembly.dll+D73E90: 8D 70 14 - lea esi,[eax+14]
// ---------- INJECTING HERE ----------
GameAssembly.dll+D73E93: 8B 46 20 - mov eax,[esi+20]
// ---------- DONE INJECTING ----------
GameAssembly.dll+D73E96: 3B C7 - cmp eax,edi
GameAssembly.dll+D73E98: 7C 11 - jl GameAssembly.dll+D73EAB
GameAssembly.dll+D73E9A: 6A 00 - push 00
GameAssembly.dll+D73E9C: 2B C7 - sub eax,edi
GameAssembly.dll+D73E9E: 50 - push eax
GameAssembly.dll+D73E9F: 56 - push esi
GameAssembly.dll+D73EA0: E8 0B D7 CB FF - call GameAssembly.dll+A315B0
GameAssembly.dll+D73EA5: 83 C4 0C - add esp,0C
GameAssembly.dll+D73EA8: 89 46 20 - mov [esi+20],eax
GameAssembly.dll+D73EAB: 8B 0D 80 C1 0A 0B - mov ecx,[GameAssembly.dll+316C180]
}
[ENABLE]
aobscanmodule(INJECT_INF_STAMINA,GameAssembly.dll,0F 57 C0 F3 0F 11 08) // should be unique
alloc(newmem,$1000)
label(code)
label(return)
newmem:
movss xmm1,[eax]
code:
xorps xmm0,xmm0
movss [eax],xmm1
jmp return
INJECT_INF_STAMINA:
jmp newmem
nop 2
return:
registersymbol(INJECT_INF_STAMINA)
[DISABLE]
INJECT_INF_STAMINA:
db 0F 57 C0 F3 0F 11 08
unregistersymbol(INJECT_INF_STAMINA)
dealloc(newmem)
{
// ORIGINAL CODE - INJECTION POINT: GameAssembly.dll+9AB51E
GameAssembly.dll+9AB4ED: F3 0F 10 44 24 2C - movss xmm0,[esp+2C]
GameAssembly.dll+9AB4F3: 83 C4 04 - add esp,04
GameAssembly.dll+9AB4F6: F3 0F 59 44 24 20 - mulss xmm0,[esp+20]
GameAssembly.dll+9AB4FC: A1 0C A2 7D 0C - mov eax,[GameAssembly.dll+31DA20C]
GameAssembly.dll+9AB501: F3 0F 10 4C 24 10 - movss xmm1,[esp+10]
GameAssembly.dll+9AB507: D9 5C 24 24 - fstp dword ptr [esp+24]
GameAssembly.dll+9AB50B: F3 0F 5E 44 24 2C - divss xmm0,[esp+2C]
GameAssembly.dll+9AB511: 8B 40 5C - mov eax,[eax+5C]
GameAssembly.dll+9AB514: F3 0F 59 44 24 24 - mulss xmm0,[esp+24]
GameAssembly.dll+9AB51A: F3 0F 5C C8 - subss xmm1,xmm0
// ---------- INJECTING HERE ----------
GameAssembly.dll+9AB51E: 0F 57 C0 - xorps xmm0,xmm0
// ---------- DONE INJECTING ----------
GameAssembly.dll+9AB521: F3 0F 11 08 - movss [eax],xmm1
GameAssembly.dll+9AB525: 8B 0D 0C A2 7D 0C - mov ecx,[GameAssembly.dll+31DA20C]
GameAssembly.dll+9AB52B: 8B 41 5C - mov eax,[ecx+5C]
GameAssembly.dll+9AB52E: 0F 2F 00 - comiss xmm0,[eax]
GameAssembly.dll+9AB531: 0F 82 98 01 00 00 - jb GameAssembly.dll+9AB6CF
GameAssembly.dll+9AB537: F6 81 BB 00 00 00 04 - test byte ptr [ecx+000000BB],04
GameAssembly.dll+9AB53E: 74 11 - je GameAssembly.dll+9AB551
GameAssembly.dll+9AB540: 83 79 74 00 - cmp dword ptr [ecx+74],00
GameAssembly.dll+9AB544: 75 0B - jne GameAssembly.dll+9AB551
GameAssembly.dll+9AB546: E8 35 A3 A3 FF - call GameAssembly.dll+3E5880
}