I don't know if this would be useful or not, but this is for the No Hack Cooldown options I made for version 1.03 (Steam).
Might or might not work on future versions.
There's some sort of check here that I didn't fully understand, but if the value is always on 100, it would bug the cooldown as if it was completed and it would be stuck, hence the (float)99.
For Cheat Engine 7.2 and above.
Feel free to use and add it to your table.
Code: Select all
[ENABLE]
aobscanmodule(aob_ramCooldownTest,Cyberpunk2077.exe,f3 0f 10 91 ? ? ? ? 84 c0)
registersymbol(aob_ramCooldownTest)
alloc(newmem_ramCooldownTest,$100,aob_ramCooldownTest)
label(return_ramCooldownTest)
alloc(bkp_ramCooldownTest,8,aob_ramCooldownTest)
registersymbol(bkp_ramCooldownTest)
bkp_ramCooldownTest:
readmem(aob_ramCooldownTest,8)
newmem_ramCooldownTest:
pushf
cmp [rcx+20],0
je clearpop
@@:
push rax
mov rax,[bkp_ramCooldownTest+4]
cmp [rcx+rax],(float)99
jge beforepop
mov [rcx+rax],(float)99
pop rax
jmp clearpop
beforepop:
pop rax
clearpop:
popf
cave_ramCooldownTest:
readmem(aob_ramCooldownTest,8)
{
movss xmm2,[rcx+00000190]
}
jmp return_ramCooldownTest
aob_ramCooldownTest:
jmp newmem_ramCooldownTest
nop 3
return_ramCooldownTest:
[DISABLE]
aob_ramCooldownTest:
readmem(bkp_ramCooldownTest,8)
unregistersymbol(*)
dealloc(*)
Note:
Just checked, it affects on vending machines that it will output those trash by a lot and the cooldown will be stuck at HACKED.
Do refrain (stay away) from using it on vending machines unless you have a proper fix for that (probably by filtering out more but I don't know).