|
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
Agent_Punto How do I cheat? Reputation: 0
Joined: 06 Apr 2021 Posts: 1
|
Posted: Tue Apr 06, 2021 6:16 am Post subject: Need to reduce new money value |
|
|
Hi everyone. I need to edit STN's Forza Motorsport 7 money script to make 150-300M instead of 999,999,999 Credits (I think the new value in the script is more than billion, but I don't know where should I look for it). Unfortunately, STN didn't answer anybody how to make less credits, so I came here
The STN's script code:
Code: |
{ Game : forzamotorsport7.exe
Version:
Date : 2017-10-02
Author : STN
This script does blah blah blah
}
[ENABLE]
aobscanmodule(money,ForzaMotorsport7.exe,48 89 44 24 50 48 8B DA 48 8B F9 83) // should be unique
alloc(newmem,$1000,money)
label(code)
label(return)
newmem:
cmp [rdx+48], 'UpTime'
jne code
cmp [rdx+8], #1000
jna code
mov rbx, [rdx+8]
cmp rbx, 0
je code
mov [rbx], 77ACA3EB //04C494A90
code:
mov [rsp+50],rax
jmp return
money:
jmp newmem
return:
registersymbol(money)
[DISABLE]
money:
db 48 89 44 24 50
unregistersymbol(money)
dealloc(newmem)
{
// ORIGINAL CODE - INJECTION POINT: "ForzaMotorsport7.exe"+EBA602
"ForzaMotorsport7.exe"+EBA5DE: CC - int 3
"ForzaMotorsport7.exe"+EBA5DF: CC - int 3
"ForzaMotorsport7.exe"+EBA5E0: 48 8B C4 - mov rax,rsp
"ForzaMotorsport7.exe"+EBA5E3: 57 - push rdi
"ForzaMotorsport7.exe"+EBA5E4: 48 83 EC 60 - sub rsp,60
"ForzaMotorsport7.exe"+EBA5E8: 48 C7 40 C0 FE FF FF FF - mov [rax-40],FFFFFFFE
"ForzaMotorsport7.exe"+EBA5F0: 48 89 58 18 - mov [rax+18],rbx
"ForzaMotorsport7.exe"+EBA5F4: 48 89 70 20 - mov [rax+20],rsi
"ForzaMotorsport7.exe"+EBA5F8: 48 8B 05 11 D8 8A 06 - mov rax,[ForzaMotorsport7.exe+7767E10]
"ForzaMotorsport7.exe"+EBA5FF: 48 33 C4 - xor rax,rsp
// ---------- INJECTING HERE ----------
"ForzaMotorsport7.exe"+EBA602: 48 89 44 24 50 - mov [rsp+50],rax
// ---------- DONE INJECTING ----------
"ForzaMotorsport7.exe"+EBA607: 48 8B DA - mov rbx,rdx
"ForzaMotorsport7.exe"+EBA60A: 48 8B F9 - mov rdi,rcx
"ForzaMotorsport7.exe"+EBA60D: 83 79 10 12 - cmp dword ptr [rcx+10],12
"ForzaMotorsport7.exe"+EBA611: 75 06 - jne ForzaMotorsport7.exe+EBA619
"ForzaMotorsport7.exe"+EBA613: 83 7A 10 03 - cmp dword ptr [rdx+10],03
"ForzaMotorsport7.exe"+EBA617: 74 08 - je ForzaMotorsport7.exe+EBA621
"ForzaMotorsport7.exe"+EBA619: 8B 52 10 - mov edx,[rdx+10]
"ForzaMotorsport7.exe"+EBA61C: E8 2F F7 00 00 - call ForzaMotorsport7.exe+EC9D50
"ForzaMotorsport7.exe"+EBA621: 48 63 47 10 - movsxd rax,dword ptr [rdi+10]
"ForzaMotorsport7.exe"+EBA625: 83 F8 12 - cmp eax,12
}
|
|
|
Back to top |
|
|
ParkourPenguin I post too much Reputation: 138
Joined: 06 Jul 2014 Posts: 4275
|
Posted: Tue Apr 06, 2021 11:36 am Post subject: |
|
|
Agent_Punto wrote: | I think the new value in the script is more than billion | 0x04C494A90 is a little more than a billion (1,279,871,632).
I'd assume there's some sort of obfuscation going on between how it's stored in memory and how it's semantically used. Given that the semantic value in this script is such an odd number, perhaps STN went about this using trial-by-error (purely speculation).
Try changing 77ACA3EB a little and see what happens.
_________________
I don't know where I'm going, but I'll figure it out when I get there. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|