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 


How to manipulate pointer destination

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

Joined: 09 Feb 2020
Posts: 4

PostPosted: Tue Apr 07, 2020 3:38 pm    Post subject: How to manipulate pointer destination Reply with quote

Hey folks, I investigate glitches for speedrunning. I know, it's a different topic - but I think you guys are experts for this anyway. I triggered a situation, where the character dies. While this happens, I switch to another room and then the game crashes (With Error Message). This is caused, because the game wants to write MAX HP value to the ACTUAL HP value while respawning, but since the room is changed, it cannot do this, and BOOM.

Now the part where I need help. The Pointer to ACTUAL HP is switching its destinations while I enter the other room. The destinations seems to be very random, and I don't know exactly what this causes. But I want to do some research on it. Maybe I can manipulate it to a specific address, and glitch some stuff. Anyone can give me some hints HOW to research this? Or at least, explain how the random address switch is happening?

thx.
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4719

PostPosted: Tue Apr 07, 2020 7:24 pm    Post subject: Reply with quote

Go to the nodes in the pointer path and look around the instructions that accesses them (particularly the instructions that write to them when the level changes).

Are you sure that pointer path you have is the same as the one the game is traversing?

This is closer to reverse engineering than it is changing values. Perhaps you should use something else, like IDA, instead.

_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
MovEaxEax
How do I cheat?
Reputation: 0

Joined: 09 Feb 2020
Posts: 4

PostPosted: Wed Apr 08, 2020 10:10 am    Post subject: Reply with quote

Ty, I will try tracing the instructions. That's a good point Smile I really want to use IDA/OllyDbg/Ghidra, since I know them very well - but the game assembly is packed. And it's hard to dump. If you know an easy way to create a good dump, feel free to help out. My last try ended up as corrupt assembly. Poorly.

You think the changing address is a thing because I use the wrong path? I think it's possible that I do! Anyway, if I can manipulate the "wrong" path with success it's not that important Very Happy

Btw, you know "Arbitrary Code Execution" on NES/SNES games? What do you think, how high is the chance it's possible on a PC envroiment?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking 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