justiny wrote: ↑Sat Jan 11, 2025 8:57 am
Inf reserve ammo (for those who still want to reload their weapons
Rename the game.exe to start_protected_game, to play without eac
Code: Select all
{ Game : start_protected_game.exe
Version:
Date : 2025-01-11
Author : Justin
This script does blah blah blah
}
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
aobscanmodule(INJECT,start_protected_game.exe,29 9F 7C 04 00 00) // should be unique
alloc(newmem,$1000,INJECT)
label(code)
label(return)
newmem:
code:
sub [rdi+0000047C],ebx
add [rdi+0000047C],ebx
jmp return
INJECT:
jmp newmem
nop
return:
registersymbol(INJECT)
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
INJECT:
db 29 9F 7C 04 00 00
unregistersymbol(INJECT)
dealloc(newmem)
{
// ORIGINAL CODE - INJECTION POINT: start_protected_game.exe+D6C046
start_protected_game.exe+D6C022: FF 92 30 02 00 00 - call qword ptr [rdx+00000230]
start_protected_game.exe+D6C028: 48 8B 17 - mov rdx,[rdi]
start_protected_game.exe+D6C02B: 48 8B CF - mov rcx,rdi
start_protected_game.exe+D6C02E: 2B D8 - sub ebx,eax
start_protected_game.exe+D6C030: FF 92 40 02 00 00 - call qword ptr [rdx+00000240]
start_protected_game.exe+D6C036: 48 8B 17 - mov rdx,[rdi]
start_protected_game.exe+D6C039: 48 8B CF - mov rcx,rdi
start_protected_game.exe+D6C03C: 3B D8 - cmp ebx,eax
start_protected_game.exe+D6C03E: 77 11 - ja start_protected_game.exe+D6C051
start_protected_game.exe+D6C040: FF 92 30 02 00 00 - call qword ptr [rdx+00000230]
// ---------- INJECTING HERE ----------
start_protected_game.exe+D6C046: 29 9F 7C 04 00 00 - sub [rdi+0000047C],ebx
// ---------- DONE INJECTING ----------
start_protected_game.exe+D6C04C: 8D 0C 18 - lea ecx,[rax+rbx]
start_protected_game.exe+D6C04F: EB 21 - jmp start_protected_game.exe+D6C072
start_protected_game.exe+D6C051: FF 92 40 02 00 00 - call qword ptr [rdx+00000240]
start_protected_game.exe+D6C057: 48 8B 17 - mov rdx,[rdi]
start_protected_game.exe+D6C05A: 48 8B CF - mov rcx,rdi
start_protected_game.exe+D6C05D: 8B D8 - mov ebx,eax
start_protected_game.exe+D6C05F: FF 92 30 02 00 00 - call qword ptr [rdx+00000230]
start_protected_game.exe+D6C065: C7 87 7C 04 00 00 00 00 00 00 - mov [rdi+0000047C],00000000
start_protected_game.exe+D6C06F: 8D 0C 03 - lea ecx,[rbx+rax]
start_protected_game.exe+D6C072: 89 8F 70 04 00 00 - mov [rdi+00000470],ecx
}
Add More Consumable items on acquire
Code: Select all
{ Game : start_protected_game.exe
Version:
Date : 2025-01-12
Author : Justin
This script does blah blah blah
}
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
aobscanmodule(INJECT,start_protected_game.exe,41 89 02 89 95 88 00 00 00) // should be unique
alloc(newmem,$1000,INJECT)
label(code)
label(return)
newmem:
add eax,#5
code:
mov [r10],eax
mov [rbp+00000088],edx
jmp return
INJECT:
jmp newmem
nop 4
return:
registersymbol(INJECT)
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
INJECT:
db 41 89 02 89 95 88 00 00 00
unregistersymbol(INJECT)
dealloc(newmem)
{
// ORIGINAL CODE - INJECTION POINT: start_protected_game.exe+7D2436
start_protected_game.exe+7D2413: 41 8B 0A - mov ecx,[r10]
start_protected_game.exe+7D2416: 41 03 CE - add ecx,r14d
start_protected_game.exe+7D2419: 44 8B F1 - mov r14d,ecx
start_protected_game.exe+7D241C: 44 8B 44 24 40 - mov r8d,[rsp+40]
start_protected_game.exe+7D2421: 45 2B F0 - sub r14d,r8d
start_protected_game.exe+7D2424: 41 3B C8 - cmp ecx,r8d
start_protected_game.exe+7D2427: B8 00 00 00 00 - mov eax,00000000
start_protected_game.exe+7D242C: 44 0F 4E F0 - cmovle r14d,eax
start_protected_game.exe+7D2430: 41 8B C0 - mov eax,r8d
start_protected_game.exe+7D2433: 0F 4E C1 - cmovle eax,ecx
// ---------- INJECTING HERE ----------
start_protected_game.exe+7D2436: 41 89 02 - mov [r10],eax
// ---------- DONE INJECTING ----------
start_protected_game.exe+7D2439: 89 95 88 00 00 00 - mov [rbp+00000088],edx
start_protected_game.exe+7D243F: 45 85 F6 - test r14d,r14d
start_protected_game.exe+7D2442: 74 15 - je start_protected_game.exe+7D2459
start_protected_game.exe+7D2444: FF C2 - inc edx
start_protected_game.exe+7D2446: 49 83 C3 10 - add r11,10
start_protected_game.exe+7D244A: 41 3B D7 - cmp edx,r15d
start_protected_game.exe+7D244D: 0F 82 4D FF FF FF - jb start_protected_game.exe+7D23A0
start_protected_game.exe+7D2453: EB 04 - jmp start_protected_game.exe+7D2459
start_protected_game.exe+7D2455: 33 C0 - xor eax,eax
start_protected_game.exe+7D2457: 8B D8 - mov ebx,eax
}
Add More Resource items on acquire
Code: Select all
{ Game : start_protected_game.exe
Version:
Date : 2025-01-12
Author : Justin
This script does blah blah blah
}
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
aobscanmodule(INJECT,start_protected_game.exe,89 42 04 44 8B E3) // should be unique
alloc(newmem,$1000,INJECT)
label(code)
label(return)
newmem:
add eax,#10
code:
mov [rdx+04],eax
mov r12d,ebx
jmp return
INJECT:
jmp newmem
nop
return:
registersymbol(INJECT)
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
INJECT:
db 89 42 04 44 8B E3
unregistersymbol(INJECT)
dealloc(newmem)
{
// ORIGINAL CODE - INJECTION POINT: start_protected_game.exe+7D3CC3
start_protected_game.exe+7D3CA5: 44 39 3A - cmp [rdx],r15d
start_protected_game.exe+7D3CA8: 75 23 - jne start_protected_game.exe+7D3CCD
start_protected_game.exe+7D3CAA: 8D 0C 38 - lea ecx,[rax+rdi]
start_protected_game.exe+7D3CAD: 8B F9 - mov edi,ecx
start_protected_game.exe+7D3CAF: 41 2B FD - sub edi,r13d
start_protected_game.exe+7D3CB2: 41 3B CD - cmp ecx,r13d
start_protected_game.exe+7D3CB5: B8 00 00 00 00 - mov eax,00000000
start_protected_game.exe+7D3CBA: 0F 4E F8 - cmovle edi,eax
start_protected_game.exe+7D3CBD: 41 8B C5 - mov eax,r13d
start_protected_game.exe+7D3CC0: 0F 4E C1 - cmovle eax,ecx
// ---------- INJECTING HERE ----------
start_protected_game.exe+7D3CC3: 89 42 04 - mov [rdx+04],eax
// ---------- DONE INJECTING ----------
start_protected_game.exe+7D3CC6: 44 8B E3 - mov r12d,ebx
start_protected_game.exe+7D3CC9: 85 FF - test edi,edi
start_protected_game.exe+7D3CCB: 74 06 - je start_protected_game.exe+7D3CD3
start_protected_game.exe+7D3CCD: FF C3 - inc ebx
start_protected_game.exe+7D3CCF: 3B DE - cmp ebx,esi
start_protected_game.exe+7D3CD1: 72 BE - jb start_protected_game.exe+7D3C91
start_protected_game.exe+7D3CD3: 49 C7 C7 FF FF FF FF - mov r15,FFFFFFFFFFFFFFFF
start_protected_game.exe+7D3CDA: 48 8B 4D 98 - mov rcx,[rbp-68]
start_protected_game.exe+7D3CDE: 48 85 C9 - test rcx,rcx
start_protected_game.exe+7D3CE1: 74 32 - je start_protected_game.exe+7D3D15
}