Get OPEN.BIN to RAM 1

From Final Fantasy Hacktics Wiki
(Redirected from 000458b8 - 000458fc)
Jump to navigation Jump to search

000458b8: 27bdffe8 addiu r29,r29,0xffe8
000458bc: afb00010 sw r16,0x0010(r29)
000458c0: 00808021 addu r16,r4,r0
000458c4: 3c040001 lui r4,0x0001
000458c8: 34844ff0 ori r4,r4,0x4ff0            LBA 0x14ff0 OPEN.BIN
000458cc: 3c050003 lui r5,0x0003
000458d0: 3c068001 lui r6,0x8001
000458d4: 8cc60000 lw r6,0x0000(r6)            open into 80067000
000458d8: afbf0014 sw r31,0x0014(r29)
000458dc: 0c011255 jal 0x00044954              Get DAT as WD
000458e0: 34a56800 ori r5,r5,0x6800            filesize 0x36800
000458e4: 0c019c3c jal 0x000670f0              OPEN.BIN Main Routine
000458e8: 02002021 addu r4,r16,r0              p1 as argument
000458ec: 8fbf0014 lw r31,0x0014(r29)
000458f0: 8fb00010 lw r16,0x0010(r29)
000458f4: 27bd0018 addiu r29,r29,0x0018
000458f8: 03e00008 jr r31
000458fc: 00000000 nop