Infinite Stamina
{ Game : PULSAR_LostColony.exe
Author : Sigan
}
[ENABLE]
aobscan(INJECT,F3 0F 11 AE 30 01 00 00 F3 0F 10 86 30) // should be unique
alloc(newmem,$1000,INJECT)
label(maxStam)
label(code)
label(return)
newmem:
movss xmm5,[maxStam]
code:
movss [rsi+00000130],xmm5
jmp return
maxStam:
dd (float)1
INJECT:
jmp newmem
nop 3
return:
registersymbol(INJECT)
registersymbol(maxStam)
[DISABLE]
INJECT:
db F3 0F 11 AE 30 01 00 00
unregistersymbol(INJECT)
unregistersymbol(maxStam)
dealloc(newmem)
{
// ORIGINAL CODE - INJECTION POINT: 1D0F0A124EB
1D0F0A124B7: F2 0F 59 CA - mulsd xmm1,xmm2
1D0F0A124BB: F3 0F 10 95 24 F9 FF FF - movss xmm2,[rbp-000006DC]
1D0F0A124C3: F3 0F 5A D2 - cvtss2sd xmm2,xmm2
1D0F0A124C7: F2 0F 59 CA - mulsd xmm1,xmm2
1D0F0A124CB: F2 0F 5C C1 - subsd xmm0,xmm1
1D0F0A124CF: F2 0F 5A E8 - cvtsd2ss xmm5,xmm0
1D0F0A124D3: F3 0F 11 AD 18 F9 FF FF - movss [rbp-000006E8],xmm5
1D0F0A124DB: F3 0F 10 85 18 F9 FF FF - movss xmm0,[rbp-000006E8]
1D0F0A124E3: F3 0F 5A C0 - cvtss2sd xmm0,xmm0
1D0F0A124E7: F2 0F 5A E8 - cvtsd2ss xmm5,xmm0
// ---------- INJECTING HERE ----------
1D0F0A124EB: F3 0F 11 AE 30 01 00 00 - movss [rsi+00000130],xmm5
// ---------- DONE INJECTING ----------
1D0F0A124F3: F3 0F 10 86 30 01 00 00 - movss xmm0,[rsi+00000130]
1D0F0A124FB: F3 0F 5A C0 - cvtss2sd xmm0,xmm0
1D0F0A124FF: F2 0F 5A E8 - cvtsd2ss xmm5,xmm0
1D0F0A12503: F3 0F 11 AD 18 F9 FF FF - movss [rbp-000006E8],xmm5
1D0F0A1250B: F3 0F 10 85 18 F9 FF FF - movss xmm0,[rbp-000006E8]
1D0F0A12513: F3 0F 5A C0 - cvtss2sd xmm0,xmm0
1D0F0A12517: 66 0F 57 C9 - xorpd xmm1,xmm1
1D0F0A1251B: F3 0F 10 15 6D 0B 00 00 - movss xmm2,[1D0F0A13090]
1D0F0A12523: F3 0F 5A D2 - cvtss2sd xmm2,xmm2
1D0F0A12527: F2 0F 5A D2 - cvtsd2ss xmm2,xmm2
}
How to use this cheat table?
- Install Cheat Engine
- Double-click the .CT file in order to open it.
- Click the PC icon in Cheat Engine in order to select the game process.
- Keep the list.
- Activate the trainer options by checking boxes or setting values from 0 to 1