The game I'm working on has overlays, and because of the overlays, there are certain functions in the executable which are not detected as functions by Ghidra when initially loaded, because they are only referenced by overlays which are not loaded initially.
When I use the 'D' keybind to disassemble the data, ghidra_psx_loader does not seem to handle this properly, as the references to $gp are not turned into their global references, and instead are represented as "iGp" + the offset from $gp. This is quite annoying, as this requires manually looking up what data a particular piece of code is accessing.
The game I'm working on has overlays, and because of the overlays, there are certain functions in the executable which are not detected as functions by Ghidra when initially loaded, because they are only referenced by overlays which are not loaded initially.
When I use the 'D' keybind to disassemble the data, ghidra_psx_loader does not seem to handle this properly, as the references to $gp are not turned into their global references, and instead are represented as "iGp" + the offset from $gp. This is quite annoying, as this requires manually looking up what data a particular piece of code is accessing.
Here's a good example:![image](https://user-images.githubusercontent.com/6562913/148711482-4781010d-573f-414e-93a9-120e4fdf580f.png)