Add Now Loading Message to OTAG List

From Final Fantasy Hacktics Wiki
(Redirected from 000413a8 - 00041468)
Jump to navigation Jump to search

000413a8: 3c028004 lui r2,0x8004
000413ac: 8c42760c lw r2,0x760c(r2)
000413b0: 27bdffe0 addiu r29,r29,0xffe0
000413b4: afb20018 sw r18,0x0018(r29)
000413b8: 00809021 addu r18,r4,r0
000413bc: afbf001c sw r31,0x001c(r29)
000413c0: afb10014 sw r17,0x0014(r29)
000413c4: 10400022 beq r2,r0,0x00041450
000413c8: afb00010 sw r16,0x0010(r29)
000413cc: 3c038888 lui r3,0x8888
000413d0: 3c028005 lui r2,0x8005
000413d4: 8c42e5b8 lw r2,-0x1a48(r2)
000413d8: 34638889 ori r3,r3,0x8889              32/60
000413dc: 00430019 multu r2,r3
000413e0: 00001010 mfhi r2                       ? * 32/60
000413e4: 00021142 srl r2,r2,0x05
000413e8: 30420001 andi r2,r2,0x0001
000413ec: 14400012 bne r2,r0,0x00041438
000413f0: 00000000 nop
000413f4: 00008821 addu r17,r0,r0
000413f8: 3c108005 lui r16,0x8005
000413fc: 2610d720 addiu r16,r16,0xd720          # primative list
00041400: 3c028004 lui r2,0x8004
00041404: 8c42597c lw r2,0x597c(r2)              # this doesn't update in this routine. effectively stagnant.
00041408: 26310001 addiu r17,r17,0x0001
0004140c: 02402021 addu r4,r18,r0
00041410: 000228c0 sll r5,r2,0x03                # 
00041414: 00a22821 addu r5,r5,r2
00041418: 00052880 sll r5,r5,0x02                # 36
0004141c: 00a22823 subu r5,r5,r2
00041420: 000528c0 sll r5,r5,0x03                # * 478
00041424: 0c008eed jal 0x00023bb4                # P06 AddPrim
00041428: 00b02821 addu r5,r5,r16
0004142c: 2a220007 slti r2,r17,0x0007
00041430: 1440fff3 bne r2,r0,0x00041400          # loop 7 times
00041434: 26100028 addiu r16,r16,0x0028          # adds 7 0xA length primatives
00041438: 3c028005 lui r2,0x8005
0004143c: 8c42e5b8 lw r2,-0x1a48(r2)
00041440: 00000000 nop
00041444: 24420001 addiu r2,r2,0x0001
00041448: 3c018005 lui r1,0x8005
0004144c: ac22e5b8 sw r2,-0x1a48(r1)
00041450: 8fbf001c lw r31,0x001c(r29)
00041454: 8fb20018 lw r18,0x0018(r29)
00041458: 8fb10014 lw r17,0x0014(r29)
0004145c: 8fb00010 lw r16,0x0010(r29)
00041460: 27bd0020 addiu r29,r29,0x0020
00041464: 03e00008 jr r31
00041468: 00000000 nop