Show Graphic (Async)
Jump to navigation
Jump to search
# ROUTINE: SHOW GRAPHIC (ASYNC) 801c05d4: 27bdffe8 addiu r29,r29,-0x0018 801c05d8: afbf0014 sw r31,0x0014(r29) 801c05dc: 0c0532f0 jal 0x8014cbc0 # graphicID = Get First Thread Parameter (); 801c05e0: afb00010 sw r16,0x0010(r29) 801c05e4: 00408021 addu r16,r2,r0 # graphicID 801c05e8: 0c06fc07 jal 0x801bf01c # Show Graphic (graphicID); 801c05ec: 02002021 addu r4,r16,r0 801c05f0: 00101140 sll r2,r16,0x05 # graphicID * 32 801c05f4: 3c01801c lui r1,0x801c 801c05f8: 00220821 addu r1,r1,r2 801c05fc: 8c2308b8 lw r3,0x08b8(r1) # value = *(0x801c08b8 + (graphicID * 32)) 801c0600: 00000000 nop 801c0604: 14600005 bne r3,r0,0x801c061c 801c0608: 34020001 ori r2,r0,0x0001 # 1 # if (value == 0) { 801c060c: 0c07005f jal 0x801c017c # Show Chapter Title (graphicID); 801c0610: 02002021 addu r4,r16,r0 801c0614: 0807018b j 0x801c062c 801c0618: 00000000 nop 801c061c: 14620003 bne r3,r2,0x801c062c # } else if (value == 1) { 801c0620: 00000000 nop 801c0624: 0c0700eb jal 0x801c03ac # Show Gameover Image (graphicID); 801c0628: 02002021 addu r4,r16,r0 # } 801c062c: 0c053256 jal 0x8014c958 # Stop Current Thread (); 801c0630: 00000000 nop 801c0634: 8fbf0014 lw r31,0x0014(r29) 801c0638: 8fb00010 lw r16,0x0010(r29) 801c063c: 27bd0018 addiu r29,r29,0x0018 801c0640: 03e00008 jr r31 801c0644: 00000000 nop