Get BATTLE.BIN

From Final Fantasy Hacktics Wiki
Revision as of 09:53, 15 June 2024 by Talcall (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

this routine is almost definitely ~~not~~ called.

000409c4: 27bdffe8 addiu r29,r29,0xffe8
000409c8: 3c058001 lui r5,0x8001
000409cc: 8ca50010 lw r5,0x0010(r5)                801df000 <- the back end of battle.bin
000409d0: 3c068001 lui r6,0x8001
000409d4: 8cc60000 lw r6,0x0000(r6)                80067000 <- battle.bin open address
000409d8: 340403e8 ori r4,r0,0x03e8                battle.bin LBA sector location
000409dc: afbf0010 sw r31,0x0010(r29)
000409e0: 0c011255 jal 0x00044954                  Get DAT as WD
000409e4: 00a62823 subu r5,r5,r6                   file size (bytes)
000409e8: 0c010269 jal 0x000409a4                  Call Battle.bin entry point (deprecated)
000409ec: 00000000 nop
000409f0: 8fbf0010 lw r31,0x0010(r29)
000409f4: 27bd0018 addiu r29,r29,0x0018
000409f8: 03e00008 jr r31
000409fc: 00000000 nop