Handle Tutorial Command: Change Dialog
Jump to navigation
Jump to search
8012dfe4: 27bdffe8 addiu r29,r29,-0x0018 8012dfe8: afbf0014 sw r31,0x0014(r29) 8012dfec: afbe0010 sw r30,0x0010(r29) 8012dff0: 03a0f021 addu r30,r29,r0 8012dff4: 34040010 ori r4,r0,0x0010 8012dff8: 0c041a1a jal 0x80106868 # isTask1 = 0x106868 (16); // Check if thread task ID is 1 8012dffc: 00000000 nop 8012e000: 34030001 ori r3,r0,0x0001 8012e004: 10430026 beq r2,r3,0x8012e0a0 # if (isTask1) return; 8012e008: 00000000 nop 8012e00c: 3c03801d lui r3,0x801d 8012e010: 8c63c570 lw r3,-0x3a90(r3) # commandPtr 8012e014: 00000000 nop 8012e018: 24620002 addiu r2,r3,0x0002 # commandPtr + 2 8012e01c: 00401821 addu r3,r2,r0 8012e020: 90620000 lbu r2,0x0000(r3) # *(commandPtr + 2) 8012e024: 00000000 nop 8012e028: 00401821 addu r3,r2,r0 # *(commandPtr + 2) 8012e02c: 00031200 sll r2,r3,0x08 # *(commandPtr + 2) << 8 8012e030: 3c04801d lui r4,0x801d 8012e034: 8c84c570 lw r4,-0x3a90(r4) # commandPtr 8012e038: 00000000 nop 8012e03c: 24830001 addiu r3,r4,0x0001 # commandPtr + 1 8012e040: 00602021 addu r4,r3,r0 # commandPtr + 1 8012e044: 90830000 lbu r3,0x0000(r4) # *(commandPtr + 1) 8012e048: 3404b800 ori r4,r0,0xb800 # 0xb800 8012e04c: 00641821 addu r3,r3,r4 # *(commandPtr + 1) + 0xb800 8012e050: 00431021 addu r2,r2,r3 # textEntry = (*(commandPtr + 2) << 8) + *(commandPtr + 1) + 0xb800 8012e054: 34040010 ori r4,r0,0x0010 8012e058: 34050099 ori r5,r0,0x0099 8012e05c: 00403021 addu r6,r2,r0 8012e060: 00003821 addu r7,r0,r0 8012e064: 0c03ffc2 jal 0x800fff08 # Store Thread Function Parameters (WORLD.BIN) (16, 0x99, textEntry, 0); 8012e068: 00000000 nop 8012e06c: 3c02801d lui r2,0x801d 8012e070: 8c42c570 lw r2,-0x3a90(r2) # commandPtr 8012e074: 00000000 nop 8012e078: 24430003 addiu r3,r2,0x0003 # commandPtr + 3 8012e07c: 3c01801d lui r1,0x801d 8012e080: ac23c570 sw r3,-0x3a90(r1) # commandPtr = commandPtr + 3 8012e084: 3c038015 lui r3,0x8015 8012e088: 8c63327c lw r3,0x327c(r3) # threads 8012e08c: 00000000 nop 8012e090: 2462404c addiu r2,r3,0x404c # &threads[16].TaskID 8012e094: 00401821 addu r3,r2,r0 8012e098: 34020001 ori r2,r0,0x0001 8012e09c: ac620000 sw r2,0x0000(r3) # threads[16].TaskID = 1 8012e0a0: 03c0e821 addu r29,r30,r0 8012e0a4: 8fbf0014 lw r31,0x0014(r29) 8012e0a8: 8fbe0010 lw r30,0x0010(r29) 8012e0ac: 27bd0018 addiu r29,r29,0x0018 8012e0b0: 03e00008 jr r31 8012e0b4: 00000000 nop