This is the beginning of a table parser which takes an input ROM file and memory address to parse single tables, outputting axis offsets to put in XML.
Sample output -- A4SGC00C, 0x293A3
Code:
Type: 3D
SizeX: 15
SizeY: 16
ByteX: 2
ByteY: 2
ByteZ: 1
OffsetX: 29384
OffsetY: 29363
OffsetZ: 293a4