00043710 - 000437d4

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search

00043710: 27bdffd8 addiu r29,r29,0xffd8
00043714: afb20018 sw r18,0x0018(r29)
00043718: 00a09021 addu r18,r5,r0
0004371c: 3c028005 lui r2,0x8005
00043720: 2442d98c addiu r2,r2,0xd98c
00043724: 00121880 sll r3,r18,0x02
00043728: afb3001c sw r19,0x001c(r29)
0004372c: 00629821 addu r19,r3,r2
00043730: afbf0020 sw r31,0x0020(r29)
00043734: afb10014 sw r17,0x0014(r29)
00043738: afb00010 sw r16,0x0010(r29)
0004373c: 8e620000 lw r2,0x0000(r19)
00043740: 00000000 nop
00043744: 1440001c bne r2,r0,0x000437b8
00043748: 00001021 addu r2,r0,r0
0004374c: 000480c0 sll r16,r4,0x03
00043750: 3c018004 lui r1,0x8004
00043754: 00300821 addu r1,r1,r16
00043758: 8c247084 lw r4,0x7084(r1)
0004375c: 0c0110af jal 0x000442bc             SMD specific memory allocation routine?
00043760: 00000000 nop
00043764: 00408821 addu r17,r2,r0
00043768: 12200010 beq r17,r0,0x000437ac
0004376c: 00000000 nop
00043770: 3c018004 lui r1,0x8004
00043774: 00300821 addu r1,r1,r16
00043778: 8c247080 lw r4,0x7080(r1)           LBA sector of filetype SMD
0004377c: 3c018004 lui r1,0x8004
00043780: 00300821 addu r1,r1,r16
00043784: 8c257084 lw r5,0x7084(r1)           filesize
00043788: 0c0111a5 jal 0x00044694             Load Data From Disc (0x44694)
0004378c: 02203021 addu r6,r17,r0
00043790: 14400006 bne r2,r0,0x000437ac
00043794: 02401021 addu r2,r18,r0
00043798: ae710000 sw r17,0x0000(r19)
0004379c: 3c018005 lui r1,0x8005
000437a0: ac32d970 sw r18,-0x2690(r1)
000437a4: 08010dee j 0x000437b8
000437a8: 00000000 nop
000437ac: 0c011282 jal 0x00044a08
000437b0: 34040011 ori r4,r0,0x0011
000437b4: 00001021 addu r2,r0,r0
000437b8: 8fbf0020 lw r31,0x0020(r29)
000437bc: 8fb3001c lw r19,0x001c(r29)
000437c0: 8fb20018 lw r18,0x0018(r29)
000437c4: 8fb10014 lw r17,0x0014(r29)
000437c8: 8fb00010 lw r16,0x0010(r29)
000437cc: 27bd0028 addiu r29,r29,0x0028
000437d0: 03e00008 jr r31
000437d4: 00000000 nop