Show Chapter Title
Jump to navigation
Jump to search
# ROUTINE: SHOW CHAPTER TITLE # Parameters: # r4 = graphicID 801c017c: 27bdffc0 addiu r29,r29,-0x0040 801c0180: afb40030 sw r20,0x0030(r29) 801c0184: 0080a021 addu r20,r4,r0 # graphicID 801c0188: 00141140 sll r2,r20,0x05 # graphicID * 32 801c018c: afbf0038 sw r31,0x0038(r29) 801c0190: afb50034 sw r21,0x0034(r29) 801c0194: afb3002c sw r19,0x002c(r29) 801c0198: afb20028 sw r18,0x0028(r29) 801c019c: afb10024 sw r17,0x0024(r29) 801c01a0: afb00020 sw r16,0x0020(r29) 801c01a4: 3c01801c lui r1,0x801c 801c01a8: 00220821 addu r1,r1,r2 801c01ac: 8c3508ac lw r21,0x08ac(r1) # *(0x801c08ac + (graphicID * 32)) 801c01b0: 00009821 addu r19,r0,r0 # 0 801c01b4: 86a2001c lh r2,0x001c(r21) # *(*(0x801c08ac + (graphicID * 32)) + 28) 801c01b8: 00000000 nop 801c01bc: 18400025 blez r2,0x801c0254 801c01c0: 00008821 addu r17,r0,r0 # 0 # if (*(*(0x801c08ac + (graphicID * 32)) + 28) > 0) { 801c01c4: 34120080 ori r18,r0,0x0080 801c01c8: 02802021 addu r4,r20,r0 # Fade in loop 801c01cc: 02202821 addu r5,r17,r0 801c01d0: 34060002 ori r6,r0,0x0002 801c01d4: 00003821 addu r7,r0,r0 801c01d8: 32620001 andi r2,r19,0x0001 801c01dc: 00028040 sll r16,r2,0x01 801c01e0: 02028021 addu r16,r16,r2 801c01e4: 00108080 sll r16,r16,0x02 801c01e8: 02028021 addu r16,r16,r2 801c01ec: 00108100 sll r16,r16,0x04 801c01f0: 3c02801c lui r2,0x801c 801c01f4: 24420a3c addiu r2,r2,0x0a3c 801c01f8: 02021021 addu r2,r16,r2 801c01fc: afa20010 sw r2,0x0010(r29) 801c0200: 0c06fcf8 jal 0x801bf3e0 801c0204: afb20014 sw r18,0x0014(r29) 801c0208: 02802021 addu r4,r20,r0 801c020c: 02202821 addu r5,r17,r0 801c0210: 00003021 addu r6,r0,r0 801c0214: 34070001 ori r7,r0,0x0001 801c0218: 3c02801c lui r2,0x801c 801c021c: 24420bdc addiu r2,r2,0x0bdc 801c0220: 02028021 addu r16,r16,r2 801c0224: afb00010 sw r16,0x0010(r29) 801c0228: 0c06fcf8 jal 0x801bf3e0 801c022c: afb20014 sw r18,0x0014(r29) 801c0230: 0c0532a0 jal 0x8014ca80 801c0234: 26730001 addiu r19,r19,0x0001 801c0238: 3c038016 lui r3,0x8016 801c023c: 8c635f88 lw r3,0x5f88(r3) 801c0240: 86a2001c lh r2,0x001c(r21) 801c0244: 02238821 addu r17,r17,r3 801c0248: 0222102a slt r2,r17,r2 801c024c: 1440ffdf bne r2,r0,0x801c01cc 801c0250: 02802021 addu r4,r20,r0 # } 801c0254: 00008821 addu r17,r0,r0 # 0 801c0258: 34120080 ori r18,r0,0x0080 # 0x80 801c025c: 02802021 addu r4,r20,r0 # graphicID # Solid loop 801c0260: 34060002 ori r6,r0,0x0002 # 2 801c0264: 00003821 addu r7,r0,r0 # 0 801c0268: 32620001 andi r2,r19,0x0001 # 801c026c: 00028040 sll r16,r2,0x01 801c0270: 02028021 addu r16,r16,r2 801c0274: 00108080 sll r16,r16,0x02 801c0278: 02028021 addu r16,r16,r2 801c027c: 00108100 sll r16,r16,0x04 801c0280: 3c02801c lui r2,0x801c 801c0284: 24420a3c addiu r2,r2,0x0a3c 801c0288: 86a5001c lh r5,0x001c(r21) 801c028c: 02021021 addu r2,r16,r2 801c0290: afa20010 sw r2,0x0010(r29) 801c0294: 0c06fcf8 jal 0x801bf3e0 801c0298: afb20014 sw r18,0x0014(r29) 801c029c: 02802021 addu r4,r20,r0 801c02a0: 00003021 addu r6,r0,r0 801c02a4: 34070001 ori r7,r0,0x0001 801c02a8: 3c02801c lui r2,0x801c 801c02ac: 24420bdc addiu r2,r2,0x0bdc 801c02b0: 86a5001c lh r5,0x001c(r21) 801c02b4: 02028021 addu r16,r16,r2 801c02b8: afb00010 sw r16,0x0010(r29) 801c02bc: 0c06fcf8 jal 0x801bf3e0 801c02c0: afb20014 sw r18,0x0014(r29) 801c02c4: 0c0532a0 jal 0x8014ca80 801c02c8: 26730001 addiu r19,r19,0x0001 801c02cc: 3c028016 lui r2,0x8016 801c02d0: 8c425f88 lw r2,0x5f88(r2) 801c02d4: 00000000 nop 801c02d8: 02228821 addu r17,r17,r2 801c02dc: 2a220050 slti r2,r17,0x0050 801c02e0: 1440ffdf bne r2,r0,0x801c0260 801c02e4: 02802021 addu r4,r20,r0 801c02e8: 34120080 ori r18,r0,0x0080 801c02ec: 00008821 addu r17,r0,r0 # Fade out loop 801c02f0: 02802021 addu r4,r20,r0 801c02f4: 34060002 ori r6,r0,0x0002 801c02f8: 00003821 addu r7,r0,r0 801c02fc: 32620001 andi r2,r19,0x0001 801c0300: 00028040 sll r16,r2,0x01 801c0304: 02028021 addu r16,r16,r2 801c0308: 00108080 sll r16,r16,0x02 801c030c: 02028021 addu r16,r16,r2 801c0310: 00108100 sll r16,r16,0x04 801c0314: 3c02801c lui r2,0x801c 801c0318: 24420a3c addiu r2,r2,0x0a3c 801c031c: 86a5001c lh r5,0x001c(r21) 801c0320: 02021021 addu r2,r16,r2 801c0324: afa20010 sw r2,0x0010(r29) 801c0328: 0c06fcf8 jal 0x801bf3e0 801c032c: afb20014 sw r18,0x0014(r29) 801c0330: 02802021 addu r4,r20,r0 801c0334: 00003021 addu r6,r0,r0 801c0338: 34070001 ori r7,r0,0x0001 801c033c: 3c02801c lui r2,0x801c 801c0340: 24420bdc addiu r2,r2,0x0bdc 801c0344: 86a5001c lh r5,0x001c(r21) 801c0348: 02028021 addu r16,r16,r2 801c034c: afb00010 sw r16,0x0010(r29) 801c0350: 0c06fcf8 jal 0x801bf3e0 801c0354: afb20014 sw r18,0x0014(r29) 801c0358: 3c028016 lui r2,0x8016 801c035c: 8c425f88 lw r2,0x5f88(r2) 801c0360: 0c0532a0 jal 0x8014ca80 801c0364: 02429023 subu r18,r18,r2 801c0368: 3c028016 lui r2,0x8016 801c036c: 8c425f88 lw r2,0x5f88(r2) 801c0370: 00000000 nop 801c0374: 02228821 addu r17,r17,r2 801c0378: 2a220080 slti r2,r17,0x0080 801c037c: 1440ffdc bne r2,r0,0x801c02f0 801c0380: 26730001 addiu r19,r19,0x0001 801c0384: 8fbf0038 lw r31,0x0038(r29) 801c0388: 8fb50034 lw r21,0x0034(r29) 801c038c: 8fb40030 lw r20,0x0030(r29) 801c0390: 8fb3002c lw r19,0x002c(r29) 801c0394: 8fb20028 lw r18,0x0028(r29) 801c0398: 8fb10024 lw r17,0x0024(r29) 801c039c: 8fb00020 lw r16,0x0020(r29) 801c03a0: 27bd0040 addiu r29,r29,0x0040 801c03a4: 03e00008 jr r31 801c03a8: 00000000 nop