The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (Linux)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PPSSPP debugger issue?
05-16-2017, 01:59 PM
Post: #1
Question PPSSPP debugger issue?
Hi there I'm eatrawmeat391,

I have been recently got into ASM hacking, I used PCSX2dis as a disassembler and was able to make useful codes.Because my favorite game,SVR 2011, stores dynamic address in a register so a simple pointer write code won't work(since the address which store that dynamic address is dynamic as well).With PCSX2dis I was able to set a Read and write Breakpoint on the address and change the ASM code that manipulates the data.

Recently I dived into PPSSPP's ASM hacking since they have the same CPU architecture.I opened up PPSSPP disassembler (CTRL-D) and was very surprised.First,most of the registers are shown as "DEADBEEF",and the Memory View are all filled with "??".Also when I stopped the game,the register's value isn't updated until I stepped through it.

I found my address in Cheat Engine as "0x0A4A1D64",I then selected the nearby data and dumped the RAM in the disassembler (since memories are all shown as '??',the only way it could show data is if I press "Go to Memory View" in the instruction addresses but I can't do it for data address).I searched the nearby data in the RAM dump and found the offset in the RAM as "0x008A1D64".The value is 0 whenever you haven't made your selection,and 1 whenever you confirmed your selection so I'm sure the game wrote and read from it.I then set a Breakpoint on "0x008A1D64",size 0x000001 (tried 0x04), during Write.But when the value get rewritten,the game didn't break at the instruction that store it.The data is still shown as '??' on data view.I also tried setting Read Breakpoint but no help.

I found out that instruction that wrote to that address in PCSX2dis by setting a write breakpoint on the dynamic address.Then whenver the value gets updated,it would break and showed me the instruction which I could manipulate as I wish.And also PCSX2dis showed all register and data value.

I tried with version 1.4,1.3,0.9.8 but still had the same issues.It wasn't only I that got the same problem because my friend also had it.Or if we did things the wrong way?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
PPSSPP debugger issue? - eatrawmeat391 - 05-16-2017 01:59 PM
RE: PPSSPP debugger issue? - LunaMoo - 05-16-2017, 08:18 PM

Forum Jump: