The MIPS Unaligned Instruction Fix analyzer, available for MIPS processors in the Ghidra repository, leads to considerably improved decompilation of lwl/lwr and swl/swr pairs, allowing one to make sense of struct copies, such that for instance:
Given its utility in making sense of decompiled PlayStation code, it seems it would therefore make sense to add it to the list of available analyzers for the PSX.
The MIPS Unaligned Instruction Fix analyzer, available for MIPS processors in the Ghidra repository, leads to considerably improved decompilation of
lwl
/lwr
andswl
/swr
pairs, allowing one to make sense of struct copies, such that for instance:becomes
and the SVECTOR copy
becomes simply
Given its utility in making sense of decompiled PlayStation code, it seems it would therefore make sense to add it to the list of available analyzers for the PSX.