00044384 - 000443ec

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search

00044384: 3c028005 lui r2,0x8005
00044388: 2442eb18 addiu r2,r2,0xeb18             start of SMD dedicated space
0004438c: 00822023 subu r4,r4,r2                  get position of byte block ID
00044390: 000422c2 srl r4,r4,0x0b                 number of byte blocks into block field
00044394: 3c018005 lui r1,0x8005
00044398: 00240821 addu r1,r1,r4
0004439c: 9025e5c0 lbu r5,-0x1a40(r1)
000443a0: 3c018005 lui r1,0x8005
000443a4: 00240821 addu r1,r1,r4
000443a8: 9022e5bf lbu r2,-0x1a41(r1)
000443ac: 2c830001 sltiu r3,r4,0x0001
000443b0: 00a21026 xor r2,r5,r2
000443b4: 0002102b sltu r2,r0,r2
000443b8: 00621825 or r3,r3,r2
000443bc: 1060000a beq r3,r0,0x000443e8
000443c0: 00001021 addu r2,r0,r0
000443c4: 3c028005 lui r2,0x8005
000443c8: 2442e5c0 addiu r2,r2,0xe5c0
000443cc: 00821821 addu r3,r4,r2
000443d0: a0600000 sb r0,0x0000(r3)
000443d4: 24630001 addiu r3,r3,0x0001
000443d8: 90620000 lbu r2,0x0000(r3)
000443dc: 00000000 nop
000443e0: 1045fffb beq r2,r5,0x000443d0
000443e4: 34020001 ori r2,r0,0x0001
000443e8: 03e00008 jr r31
000443ec: 00000000 nop