Difference between revisions of "000135fc - 00013630"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with "<font face='Courier New'> 000135fc: 90830016 lbu r3,0x0016(r4) 00013600: 248400b8 addiu r4,r4,0x00b8 00013604: 00002821 addu r5,r0,r0 00013608: 94820000 lhu r2,0x0000(r4...")
 
m
 
Line 1: Line 1:
<font face='Courier New'>
+
  000135fc: 90830016 lbu r3,0x0016(r4)           number of channels
+
  00013600: 248400b8 addiu r4,r4,0x00b8           Skip mus header data
  000135fc: 90830016 lbu r3,0x0016(r4)
 
  00013600: 248400b8 addiu r4,r4,0x00b8
 
 
  00013604: 00002821 addu r5,r0,r0
 
  00013604: 00002821 addu r5,r0,r0
  00013608: 94820000 lhu r2,0x0000(r4)
+
  00013608: 94820000 lhu r2,0x0000(r4)           has sound
 
  0001360c: 00000000 nop
 
  0001360c: 00000000 nop
  00013610: 10400004 beq r2,r0,0x00013624
+
  00013610: 10400004 beq r2,r0,0x00013624         branch if does not have sound
 
  00013614: 2463ffff addiu r3,r3,0xffff
 
  00013614: 2463ffff addiu r3,r3,0xffff
  00013618: 8c820034 lw r2,0x0034(r4)
+
  00013618: 8c820034 lw r2,0x0034(r4)             ?
 
  0001361c: 00000000 nop
 
  0001361c: 00000000 nop
  00013620: 00a22825 or r5,r5,r2
+
  00013620: 00a22825 or r5,r5,r2                 bitcombine 0x34 value for all that has sound
  00013624: 1460fff8 bne r3,r0,0x00013608
+
  00013624: 1460fff8 bne r3,r0,0x00013608         branch while not at channels for current mus
  00013628: 24840160 addiu r4,r4,0x0160
+
  00013628: 24840160 addiu r4,r4,0x0160           go to next channel
 
  0001362c: 03e00008 jr r31
 
  0001362c: 03e00008 jr r31
  00013630: 00a01021 addu r2,r5,r0
+
  00013630: 00a01021 addu r2,r5,r0               return bitcombined ?
</font>
 

Latest revision as of 11:35, 31 May 2025

000135fc: 90830016 lbu r3,0x0016(r4)            number of channels
00013600: 248400b8 addiu r4,r4,0x00b8           Skip mus header data
00013604: 00002821 addu r5,r0,r0
00013608: 94820000 lhu r2,0x0000(r4)            has sound
0001360c: 00000000 nop
00013610: 10400004 beq r2,r0,0x00013624         branch if does not have sound
00013614: 2463ffff addiu r3,r3,0xffff
00013618: 8c820034 lw r2,0x0034(r4)             ?
0001361c: 00000000 nop
00013620: 00a22825 or r5,r5,r2                  bitcombine 0x34 value for all that has sound
00013624: 1460fff8 bne r3,r0,0x00013608         branch while not at channels for current mus
00013628: 24840160 addiu r4,r4,0x0160           go to next channel
0001362c: 03e00008 jr r31
00013630: 00a01021 addu r2,r5,r0                return bitcombined ?