Hi, is there anyway to know where a bit of instructions were called from ? or at least where the call was before it got removed ?
I apologize for my confusing question, i'll try to explain using images:

These 2 bits of instructions, are never called in game, so i can't use the run to cursor and their break points never hit, so i tried using the in-debugger Ctrl + F feature to search for
jal ygsys_isdebugflag and
jal ygsys_setdebugflag, they both hit nothing (
i start the search from 0x08800000), so i try with another jump command,
j ygsys_isdebugflag and
j ygsys_setdebugflag do hit, but they only hit shortcuts:

Which in turn, aren't used by any other bit of instructions, so my question is, is it possible to know where were originally called ? Knowing that the game (Tag Force 1) has a prx for the debug menu/gameplay.
My theory is that, at boot, there is an instruction (maybe _main or main or even _start) that initializes isdebugflag so it gets the value stored in a0, the jr ra should return with the v0 valued at 0 or 1 (v0 being 1 probably so that 1 AND 0 = 0), and it would initialize setdebugflag, which in turn checks if v0 is equal to 0, and depending on the answer it should either load the game normally or in debug mode.