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

tywald

Active Member
OP
Newcomer
Joined
Mar 26, 2016
Messages
38
Trophies
0
Age
34
XP
416
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,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: https://stockanalysis.com/stocks/ntdoy/market-cap/ I think they'll be alright