ROM Hack Reverse engineer 3DS games - hardware breakpoints not working? - IDA Pro

tywald

Active Member
Newcomer
Joined
Mar 26, 2016
Messages
39
Trophies
0
Age
32
XP
395
Country
Trying a different approach to https://gbatemp.net/threads/finding-offsets-like-the-black-outlines-in-pokémon-how-was-it-discovered.471484/ to debug the code.bin using remote GDB in IDA. What I am trying to do is to trigger a breakpoint whenever I toggle an in-game option from 'On' to 'Off' or vice versa so I can find the assembly code for it and hopefully find that in another game that I think use the same but it's hardcoded to 'On' and I want to change that to 'Off'.

I read https://github.com/AuroraWright/Luma3DS/issues/697 and it's probably not working. I tried using Citra as well. Software breakpoints work fine but they don't really help.

Since I don't know the address for that in-game setting(that's what I'm trying to find), I set breakpoints on whatever is current when it's suspended, change it to hardware read/write, unsure about the size so I leave it as the default 0x4 - repeat and hope for the best.

How should I tackle this? I'm not sure if I'm doing it right.
 
Last edited by tywald,
General chit-chat
Help Users
    The Real Jdbye @ The Real Jdbye: they may as well not exist