Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Return Addresses

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
MiNDTH3G4P
How do I cheat?
Reputation: 0

Joined: 20 Aug 2022
Posts: 9

PostPosted: Thu Sep 28, 2023 10:42 am    Post subject: Return Addresses Reply with quote

I have purchased RE4 recently and wanted to play it along with a cheat table someone has made which he uses the register RSP as well as a return address of the Armour for an infinite Armour

Here is the code

Code:

aobscanmodule(ReadStatForScreenRendering,re4.exe,8B 7E 30 85 FF) // should be unique
aobscanmodule(ArmorReturnAddress,re4.exe,48 8B D8 BF 7E 00 00 00) // should be unique
alloc(newmem,$1000,ReadStatForScreenRendering)

label(code)
label(return)

newmem:

code:
  cmp [rsp+58],ArmorReturnAddress
  jne @f
  mov [rsi+30],#1000


So, if I set a breakpoint I get return addresses but how did I know which is the right return address. See below screenshot


Thank you



tempsnip.png
 Description:
 Filesize:  166.58 KB
 Viewed:  927 Time(s)

tempsnip.png


Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites