Code: Select all
[ENABLE]
aobScanModule(TyreAOB,F1_22.exe, F3 0F 58 63 78)
alloc(TyreMem,512,TyreAOB)
label(Return)
label(CPUCode)
label(Code)
label(TyreRate)
label(TyreCPURate)
registersymbol(TyreRate)
registersymbol(TyreCPURate)
registersymbol(TyreAOB)
TyreMem:
mov r12,[rbx+8]
cmp dword ptr [r12+F0],1
je CPUCode
mulss xmm4,[TyreRate]
jmp Code
CPUCode:
mulss xmm4,[TyreCPURate]
Code:
xor r12,r12
addss xmm4,[rbx+78]
jmp Return
TyreRate:
dd 3F800000
TyreCPURate:
dd 3F800000
TyreAOB:
jmp TyreMem
Return:
[DISABLE]
TyreAOB:
db F3 0F 58 63 78
unregistersymbol(TyreRate)
unregistersymbol(TyreCPURate)
unregistersymbol(TyreAOB)
dealloc(TyreMem)
Tyre Temperature script also update for 1.09Code: Select all
[ENABLE]
aobScanModule(TyreCTempAOB,F1_22.exe, F3 0F 58 EB F3 0F 11 6B)
aobScanModule(TyreSTempAOB,F1_22.exe, F3 0F 11 73 ? EB 1B)
alloc(TyreTempMem,512,TyreCTempAOB)
label(ReturnC)
label(ReturnS)
label(CodeC)
label(CodeS)
label(MinMaxC)
label(MinMaxS)
label(TyreTemp)
label(TyreKTemp)
registersymbol(TyreTemp)
registersymbol(TyreKTemp)
registersymbol(TyreCTempAOB)
registersymbol(TyreSTempAOB)
TyreTempMem:
TyreCTemp:
cmp [TyreTemp],0
je MinMaxC
movss xmm5,[TyreTemp]
addss xmm5,[TyreKTemp]
jmp CodeC
MinMaxC:
cmp [TyreTemp+10],0
je CodeC
cmp [TyreTemp+20],0
je CodeC
subss xmm5,[TyreKTemp]
movss xmm0,[TyreTemp+10]
maxss xmm5,xmm0
movss xmm0,[TyreTemp+20]
minss xmm5,xmm0
addss xmm5,[TyreKTemp]
CodeC:
movss [rbx+68],xmm5
jmp ReturnC
TyreSTemp:
cmp [TyreTemp],0
je MinMaxS
movss xmm6,[TyreTemp]
addss xmm6,[TyreKTemp]
jmp CodeS
MinMaxS:
cmp [TyreTemp+10],0
je CodeS
cmp [TyreTemp+20],0
je CodeS
subss xmm6,[TyreKTemp]
movss xmm1,[TyreTemp+10]
maxss xmm6,xmm1
movss xmm1,[TyreTemp+20]
minss xmm6,xmm1
addss xmm6,[TyreKTemp]
CodeS:
movss [rbx+64],xmm6
jmp ReturnS
TyreTemp:
dd 0
TyreKTemp:
dd 43889333
TyreCTempAOB:
jmp TyreCTemp
ReturnC:
TyreSTempAOB:
jmp TyreSTemp
ReturnS:
[DISABLE]
TyreCTempAOB:
db F3 0F 58 EB F3 0F 11 6B
TyreSTempAOB:
db F3 0F 11 7B 64
unregistersymbol(TyreTemp)
unregistersymbol(TyreKTemp)
unregistersymbol(TyreCTempAOB)
unregistersymbol(TyreSTempAOB)
dealloc(TyreTempMem)
Engine wear script updated for 1.09Code: Select all
[ENABLE]
aobScanModule(Engine_ICE_AOB,F1_22.exe, F3 0F 58 A3 00 25 00 00) //found
aobScanModule(Engine_MGUK_AOB,F1_22.exe, F3 0F 58 87 10 25 00 00) //found
aobScanModule(Engine_MGUH_AOB,F1_22.exe, F3 0F 58 83 0C 25 00 00) // found
aobScanModule(Engine_ES_AOB,F1_22.exe, F3 0F 11 87 08 25 00 00) // found
aobScanModule(Engine_TC_AOB,F1_22.exe, F3 0F 58 83 04 25 00 00) // found
aobScanModule(Engine_CE_AOB,F1_22.exe, F3 0F 59 CD F3 0F 58 D9) // found
aobScanModule(Engine_Gearbox_AOB1,F1_22.exe, F3 0F 59 87 BC 9B 00 00 F3 0F 58 F0)// found
aobScanModule(Engine_Gearbox_AOB2,F1_22.exe, F3 0F 59 8F BC 9B 00 00)// found
aobScanModule(Engine_Gearbox_AOB3,F1_22.exe, F3 0F 59 84 24 C0 00 00 00 F3 0F 58 F0)// found
aobScanModule(Engine_Gearbox_AOB4,F1_22.exe, F3 0F 11 93 ? ? ? ? F6)
alloc(EngineMem,8192,Engine_ICE_AOB)
label(EngineRate)
label(Engine_ICE)
label(Engine_MGUK)
label(Engine_MGUH)
label(Engine_ES)
label(Engine_TC)
label(Engine_CE)
label(Engine_Gearbox1)
label(Engine_Gearbox2)
label(Engine_Gearbox3)
label(Engine_Gearbox4)
label(Return_ICE)
label(Return_MGUK)
label(Return_MGUH)
label(Return_ES)
label(Return_TC)
label(Return_CE)
label(Return_Gearbox1)
label(Return_Gearbox2)
label(Return_Gearbox3)
label(Return_Gearbox4)
registersymbol(EngineRate)
registersymbol(Engine_ICE_AOB)
registersymbol(Engine_MGUK_AOB)
registersymbol(Engine_MGUH_AOB)
registersymbol(Engine_ES_AOB)
registersymbol(Engine_TC_AOB)
registersymbol(Engine_CE_AOB)
registersymbol(Engine_Gearbox_AOB1)
registersymbol(Engine_Gearbox_AOB2)
registersymbol(Engine_Gearbox_AOB3)
registersymbol(Engine_Gearbox_AOB4)
EngineMem:
Engine_ICE:
mulss xmm4,[EngineRate]
addss xmm4,[rbx+00002500]
lea rcx,[rbx+00002500]
mov [EngineRate+10],rcx
lea rcx,[rbx+00002510]
mov [EngineRate+20],rcx
lea rcx,[rbx+0000250C]
mov [EngineRate+30],rcx
lea rcx,[rbx+00002508]
mov [EngineRate+40],rcx
lea rcx,[rbx+00002504]
mov [EngineRate+50],rcx
lea rcx,[rbx+00002514]
mov [EngineRate+60],rcx
jmp Return_ICE
Engine_MGUK:
mulss xmm0,[EngineRate]
addss xmm0,[rdi+00002510]
jmp Return_MGUK
Engine_MGUH:
mulss xmm0,[EngineRate]
addss xmm0,[rbx+0000250C]
jmp Return_MGUH
Engine_ES:
mulss xmm4,[EngineRate]
addss xmm4,[rdi+00002508]
jmp Return_ES
Engine_TC:
mulss xmm0,[EngineRate]
addss xmm0,[rbx+00002504]
jmp Return_TC
Engine_CE:
mulss xmm1,xmm5
mulss xmm1,[EngineRate]
addss xmm3,xmm1
jmp Return_CE
Engine_Gearbox1:
mulss xmm0,[rdi+00009BBC]
mulss xmm0,[EngineRate]
jmp Return_Gearbox1
Engine_Gearbox2:
mulss xmm1,[rdi+00009BBC]
mulss xmm1,[EngineRate]
jmp Return_Gearbox2
Engine_Gearbox3:
mulss xmm0,[rsp+000000C0]
mulss xmm0,[EngineRate]
jmp Return_Gearbox3
Engine_Gearbox4:
movss [rbx+0000071C],xmm2
push rcx
lea rcx,[rbx+0000071C]
mov [EngineRate+70],rcx
pop rcx
jmp Return_Gearbox4
EngineRate:
dd 3F800000
Engine_ICE_AOB:
jmp Engine_ICE
db 90 90 90
Return_ICE:
Engine_MGUK_AOB:
jmp Engine_MGUK
db 90 90 90
Return_MGUK:
Engine_MGUH_AOB:
jmp Engine_MGUH
db 90 90 90
Return_MGUH:
Engine_ES_AOB:
jmp Engine_ES
db 90 90 90
Return_ES:
Engine_TC_AOB:
jmp Engine_TC
db 90 90 90
Return_TC:
Engine_CE_AOB:
jmp Engine_CE
db 90 90 90
Return_CE:
Engine_Gearbox_AOB1:
jmp Engine_Gearbox1
db 90 90 90
Return_Gearbox1:
Engine_Gearbox_AOB2:
jmp Engine_Gearbox2
db 90 90 90
Return_Gearbox2:
Engine_Gearbox_AOB3:
jmp Engine_Gearbox3
db 90 90 90 90
Return_Gearbox3:
Engine_Gearbox_AOB4:
jmp Engine_Gearbox4
db 90 90 90
Return_Gearbox4:
[DISABLE]
Engine_ICE_AOB:
db F3 0F 58 A3 00 25 00 00
Engine_MGUK_AOB:
db F3 0F 58 87 10 25 00 00
Engine_MGUH_AOB:
db F3 0F 58 83 0C 25 00 00
Engine_ES_AOB:
db F3 0F 11 87 08 25 00 00
Engine_TC_AOB:
db F3 0F 58 83 04 25 00 00
Engine_CE_AOB:
db F3 0F 59 CD F3 0F 58 D9
Engine_Gearbox_AOB1:
db F3 0F 59 87 BC 9B 00 00
Engine_Gearbox_AOB2:
db F3 0F 59 8F BC 9B 00 00
Engine_Gearbox_AOB3:
db F3 0F 59 84 24 C0 00 00 00
Engine_Gearbox_AOB4:
db F3 0F 11 93 2C 07 00 00
unregistersymbol(EngineRate)
unregistersymbol(Engine_ICE_AOB)
unregistersymbol(Engine_MGUK_AOB)
unregistersymbol(Engine_MGUH_AOB)
unregistersymbol(Engine_ES_AOB)
unregistersymbol(Engine_TC_AOB)
unregistersymbol(Engine_CE_AOB)
unregistersymbol(Engine_Gearbox_AOB1)
unregistersymbol(Engine_Gearbox_AOB2)
unregistersymbol(Engine_Gearbox_AOB3)
unregistersymbol(Engine_Gearbox_AOB4)
dealloc(EngineMem)