Pytrex wrote:
Is there anyway to know for certain whether a map does something or is completely useless?
it's hard to know with 100% certainty but there are some clues. If the map has multiple code xrefs, then it's likely used, but it's possible that some xrefs come from "dead code" that either never executes or branches around a certain map access. Or a function's result may be ignored depending on certain option bits not being set.
If a map has no code xrefs, can't totally rule it out either as it's possible you're not looking hard enough - there is sometimes some known trickery involved like accessing via a near map plus an offset, etc.
Quote:
On top of this, is there anyway to understand what exactly a map is doing without going through the SH70XX coding
Meh, perhaps sometimes. If you find (with confidence) the corresponding map in the A2L, then you're done. But often to ascertain that you'll need to read disasm anyway. Can't really avoid it. On the plus side, SH assembly is mostly intuitive and easier to get used to than say, ARM.