Posted: Tue Apr 07, 2020 3:38 pm Post subject: How to manipulate pointer destination
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?
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.
Ty, I will try tracing the instructions. That's a good point 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
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?
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