Item_Flare_Projectile is also missing from inf. ammo pouch.
Code: Select all
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
//aobscanmodule(invZeroChkAOB,AlanWake2.exe,48 ** ** ** ** ** ** ** ** 83 ** ** 00 48 ** ** ** ** 8B ** ** 0F 9F C0)
//registersymbol(invZeroChkAOB)
alloc(newmem,2048,invZeroChkAOB+9) //"AlanWake2.exe"+192D730)
label(returnhere)
label(originalcode_invZeroChkAOB)
registersymbol(originalcode_invZeroChkAOB)
label(exit)
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
//Item_Bullets
mov rcx,'Item_Bul'
cmp [rbx+8],rcx
jne @f
mov ecx,'lets'
cmp [rbx+10],ecx
mov edx,#200
mov ecx,#20
je doMinAndStack
@@: //Item_Cartridges
mov rcx,'Item_Car'
cmp [rbx+8],rcx
jne @f
mov ecx,'trid'
cmp [rbx+10],ecx
jne @f
mov cx,'ge'
cmp [rbx+14],cx
mov edx,#200
mov ecx,#20
je doMinAndStack
@@: //Item_bolt
mov rcx,'Item_Bol'
cmp [rbx+8],rcx
jne @f
mov cx,'t'
cmp [rbx+10],cx
mov edx,#200
mov ecx,#20
je doMinAndStack
@@: //Item_Flare_Projectile
mov rcx,'Item_Fla'
cmp [rbx+8],rcx
jne @f
mov rcx,'re_Proje'
cmp [rbx+10],rcx
jne @f
mov ecx,'ctil'
cmp [rbx+18],ecx
jne @f
mov cx,'e'
cmp [rbx+1C],cx
mov edx,#200
mov ecx,#20
je doMinAndStack
@@:
jmp end
doMinAndStack:
mov [rbx+50],edx
cmp [rbx+54],ecx
jge @f
mov [rbx+54],ecx
end:
originalcode_invZeroChkAOB:
readmem(invZeroChkAOB+9,9)
//cmp dword ptr [rbx+54],00
//lea rcx,[rsp+20]
exit:
jmp returnhere
///
invZeroChkAOB+9: //"AlanWake2.exe"+192D730:
jmp newmem
nop 4
returnhere:
///*********************************************///
/*
aobscanmodule(ammoPouchZeroChkAfterRekiadAOB,AlanWake2.exe,48 ** ** 89 ** ** E8 ** ** ** ** 83 ** ** 00 75)
registersymbol(ammoPouchZeroChkAfterRekiadAOB)
ammoPouchZeroChkAfterRekiadAOB+f: //"AlanWake2.exe"+1930F58:
db EB
///*********************************************///
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
invZeroChkAOB+9: //"AlanWake2.exe"+192D730:
readmem(originalcode_invZeroChkAOB,9)
//db 83 7B 54 00 48 8D 4C 24 20
//cmp dword ptr [rbx+54],00
//lea rcx,[rsp+20]
unregistersymbol(originalcode_invZeroChkAOB)
///*********************************************///
/*
ammoPouchZeroChkAfterRekiadAOB+f: //"AlanWake2.exe"+1930F58:
db 75
//jne
///*********************************************///
/*
AlanWake2.exe+1930ED7 - 4C 69 C0 F0000000 - imul r8,rax,000000F0 { 240 }
AlanWake2.exe+1930EDE - 49 8B C4 - mov rax,r12
AlanWake2.exe+1930EE1 - 49 F7 E8 - imul r8
AlanWake2.exe+1930EE4 - 4E 8D 14 01 - lea r10,[rcx+r8]
AlanWake2.exe+1930EE8 - 49 03 D0 - add rdx,r8
AlanWake2.exe+1930EEB - 49 8B DA - mov rbx,r10
AlanWake2.exe+1930EEE - 48 C1 FA 07 - sar rdx,07 { 7 }
AlanWake2.exe+1930EF2 - 48 8B C2 - mov rax,rdx
AlanWake2.exe+1930EF5 - 48 C1 E8 3F - shr rax,3F { 63 }
AlanWake2.exe+1930EF9 - 48 03 D0 - add rdx,rax
AlanWake2.exe+1930EFC - 0F84 87000000 - je AlanWake2.exe+1930F89
AlanWake2.exe+1930F02 - 39 79 48 - cmp [rcx+48],edi
AlanWake2.exe+1930F05 - 75 1B - jne AlanWake2.exe+1930F22
AlanWake2.exe+1930F07 - 40 38 A9 95000000 - cmp [rcx+00000095],bpl
AlanWake2.exe+1930F0E - 75 12 - jne AlanWake2.exe+1930F22
AlanWake2.exe+1930F10 - 8B 41 54 - mov eax,[rcx+54]
AlanWake2.exe+1930F13 - 85 C0 - test eax,eax
AlanWake2.exe+1930F15 - 7E 0B - jle AlanWake2.exe+1930F22
AlanWake2.exe+1930F17 - 41 3B C1 - cmp eax,r9d
AlanWake2.exe+1930F1A - 7D 06 - jnl AlanWake2.exe+1930F22
AlanWake2.exe+1930F1C - 44 8B C8 - mov r9d,eax
AlanWake2.exe+1930F1F - 48 8B D9 - mov rbx,rcx
AlanWake2.exe+1930F22 - 48 81 C1 F0000000 - add rcx,000000F0 { 240 }
AlanWake2.exe+1930F29 - 48 83 EA 01 - sub rdx,01 { 1 }
AlanWake2.exe+1930F2D - 75 D3 - jne AlanWake2.exe+1930F02
AlanWake2.exe+1930F2F - 49 3B DA - cmp rbx,r10
AlanWake2.exe+1930F32 - 74 55 - je AlanWake2.exe+1930F89
AlanWake2.exe+1930F34 - 8B 43 54 - mov eax,[rbx+54]
AlanWake2.exe+1930F37 - 49 8D 4D 10 - lea rcx,[r13+10]
AlanWake2.exe+1930F3B - 3B C6 - cmp eax,esi
AlanWake2.exe+1930F3D - 7C 06 - jl AlanWake2.exe+1930F45
AlanWake2.exe+1930F3F - 2B C6 - sub eax,esi
AlanWake2.exe+1930F41 - 33 F6 - xor esi,esi
AlanWake2.exe+1930F43 - EB 04 - jmp ammoPouchZeroChkAfterRekiadAOB
AlanWake2.exe+1930F45 - 2B F0 - sub esi,eax
AlanWake2.exe+1930F47 - 33 C0 - xor eax,eax
ammoPouchZeroChkAfterRekiadAOB- 48 8B D3 - mov rdx,rbx
AlanWake2.exe+1930F4C - 89 43 54 - mov [rbx+54],eax
AlanWake2.exe+1930F4F - E8 0CB795FE - call AlanWake2.exe+28C660
AlanWake2.exe+1930F54 - 83 7B 54 00 - cmp dword ptr [rbx+54],00 { 0 }
AlanWake2.exe+1930F58 - 75 27 - jne AlanWake2.exe+1930F81
AlanWake2.exe+1930F5A - C4C17C1006 - vmovups ymm0,[r14]
AlanWake2.exe+1930F5F - C4C17B104E 20 - vmovsd xmm1,[r14+20]
AlanWake2.exe+1930F65 - 8B 53 4C - mov edx,[rbx+4C]
AlanWake2.exe+1930F68 - 48 8D 4C 24 20 - lea rcx,[rsp+20]
AlanWake2.exe+1930F6D - C5FC1144 24 20 - vmovups [rsp+20],ymm0
AlanWake2.exe+1930F73 - C5FB114C 24 40 - vmovsd [rsp+40],xmm1
AlanWake2.exe+1930F79 - C5F877 - vzeroupper
AlanWake2.exe+1930F7C - E8 1FF4FFFF - call AlanWake2.exe+19303A0
AlanWake2.exe+1930F81 - 85 F6 - test esi,esi
AlanWake2.exe+1930F83 - 0F8F 3AFFFFFF - jg AlanWake2.exe+1930EC3
AlanWake2.exe+1930F89 - 48 8B 9C 24 80000000 - mov rbx,[rsp+00000080]
AlanWake2.exe+1930F91 - 4C 8B A4 24 88000000 - mov r12,[rsp+00000088]
AlanWake2.exe+1930F99 - 48 8B AC 24 90000000 - mov rbp,[rsp+00000090]
AlanWake2.exe+1930FA1 - 48 83 C4 50 - add rsp,50 { 80 }
AlanWake2.exe+1930FA5 - 41 5F - pop r15
AlanWake2.exe+1930FA7 - 41 5E - pop r14
AlanWake2.exe+1930FA9 - 41 5D - pop r13
AlanWake2.exe+1930FAB - 5F - pop rdi
AlanWake2.exe+1930FAC - 5E - pop rsi
AlanWake2.exe+1930FAD - C3 - ret
*/