000120f4 - 00012168
Jump to navigation
Jump to search
p1 = SMD file pointer 000120f4: 27bdffe0 addiu r29,r29,0xffe0 000120f8: afb10014 sw r17,0x0014(r29) 000120fc: 00808821 addu r17,r4,r0 00012100: afbf0018 sw r31,0x0018(r29) 00012104: afb00010 sw r16,0x0010(r29) 00012108: 92220014 lbu r2,0x0014(r17) load number of channels 0001210c: 00000000 nop 00012110: 00022040 sll r4,r2,0x01 00012114: 00822021 addu r4,r4,r2 00012118: 00042080 sll r4,r4,0x02 0001211c: 00822023 subu r4,r4,r2 00012120: 00042140 sll r4,r4,0x05 num channels * 0x160 00012124: 0c00509e jal 0x00014278 00014278 - 00014354 00012128: 248400b8 addiu r4,r4,0x00b8 num channels * 0x160 + 0xb8 0001212c: 00408021 addu r16,r2,r0 00012130: 02002021 addu r4,r16,r0 00012134: 0c004db0 jal 0x000136c0 000136c0 - 00013784 00012138: ae110008 sw r17,0x0008(r16) store pointer to SMD 0001213c: 0c004e2b jal 0x000138ac 000138ac - 00013b1c 00012140: 02002021 addu r4,r16,r0 00012144: 02002021 addu r4,r16,r0 00012148: 0c005009 jal 0x00014024 00014024 - 00014074 0001214c: ae00005c sw r0,0x005c(r16) 00012150: 02001021 addu r2,r16,r0 00012154: 8fbf0018 lw r31,0x0018(r29) 00012158: 8fb10014 lw r17,0x0014(r29) 0001215c: 8fb00010 lw r16,0x0010(r29) 00012160: 27bd0020 addiu r29,r29,0x0020 00012164: 03e00008 jr r31 00012168: 00000000 nop