Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
<CheatEntries>
<CheatEntry>
<ID>278</ID>
<Description>"Weapon Mod"</Description>
<LastState Activated="1"/>
<VariableType>Auto Assembler Script</VariableType>
<AssemblerScript>{ Game : game.exe
Version:
Date : 2022-12-31
Author : Algester
This script does blah blah blah
}
[ENABLE]
aobscanmodule(weapon_mod_aob,game.exe,83 B9 44 08 00 00 00 75 11) // should be unique
alloc(newmem,$1000,weapon_mod_aob)
label(code)
label(return)
label(pwep_mod)
registersymbol(pwep_mod)
newmem:
code:
mov [pwep_mod],rcx
cmp dword ptr [rcx+00000844],00
jmp return
pwep_mod:
dq 0
weapon_mod_aob:
jmp newmem
nop 2
return:
registersymbol(weapon_mod_aob)
[DISABLE]
weapon_mod_aob:
db 83 B9 44 08 00 00 00
unregistersymbol(weapon_mod_aob)
unregistersymbol(pwep_mod)
dealloc(newmem)
{
// ORIGINAL CODE - INJECTION POINT: game.exe+202B2D
game.exe+202AFA: BA 0B 00 00 00 - mov edx,0000000B
game.exe+202AFF: E8 8C 19 FF FF - call game.exe+1F4490
game.exe+202B04: 0F B6 97 BE 2F 00 00 - movzx edx,byte ptr [rdi+00002FBE]
game.exe+202B0B: 0F 28 74 24 40 - movaps xmm6,[rsp+40]
game.exe+202B10: 80 FA FF - cmp dl,-01
game.exe+202B13: 74 32 - je game.exe+202B47
game.exe+202B15: 48 0F BE C2 - movsx rax,dl
game.exe+202B19: 48 8B 8C C7 B0 24 00 00 - mov rcx,[rdi+rax*8+000024B0]
game.exe+202B21: F7 81 24 05 00 00 FD FF FF FF - test [rcx+00000524],FFFFFFFD
game.exe+202B2B: 75 1A - jne game.exe+202B47
// ---------- INJECTING HERE ----------
game.exe+202B2D: 83 B9 44 08 00 00 00 - cmp dword ptr [rcx+00000844],00
// ---------- DONE INJECTING ----------
game.exe+202B34: 75 11 - jne game.exe+202B47
game.exe+202B36: 80 BF B5 3A 00 00 00 - cmp byte ptr [rdi+00003AB5],00
game.exe+202B3D: 75 08 - jne game.exe+202B47
game.exe+202B3F: 48 8B CF - mov rcx,rdi
game.exe+202B42: E8 09 E8 FF FF - call game.exe+201350
game.exe+202B47: 48 8B 74 24 68 - mov rsi,[rsp+68]
game.exe+202B4C: 48 83 C4 50 - add rsp,50
game.exe+202B50: 5F - pop rdi
game.exe+202B51: C3 - ret
game.exe+202B52: CC - int 3
}
</AssemblerScript>
<CheatEntries>
<CheatEntry>
<ID>288</ID>
<Description>"Rate of Fire"</Description>
<ShowAsSigned>0</ShowAsSigned>
<VariableType>4 Bytes</VariableType>
<Address>pwep_mod</Address>
<Offsets>
<Offset>84C</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>281</ID>
<Description>"Ammo"</Description>
<ShowAsSigned>0</ShowAsSigned>
<VariableType>4 Bytes</VariableType>
<Address>pwep_mod</Address>
<Offsets>
<Offset>844</Offset>
</Offsets>
</CheatEntry>
</CheatEntries>
</CheatEntry>
</CheatEntries>
</CheatTable>
I some how found weapon mod however I do not know how to get to accuracy and recoil but I got Rate of Fire so... now you can have MG bazookas
since the games are largely "the same" I used EDF 5 as the basis of double checking the numbers so I know there's such a thing as range and bullet speed and charge speed however I dont know how to get to these numbers
according to EDF 5 table ammo is in 8E8 for BGF its 844 reload speed for EDF5 is somewhere around offset 1A4 but I prod around its largely "nothing"