2020-09-24 05:16:13 +02:00
|
|
|
.set noat # allow manual use of $at
|
2020-08-04 08:49:11 +02:00
|
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
|
|
|
|
glabel _show_message
|
2020-09-24 05:16:13 +02:00
|
|
|
/* F4CD0 802D0320 27BDFFA0 */ addiu $sp, $sp, -0x60
|
|
|
|
/* F4CD4 802D0324 AFB20038 */ sw $s2, 0x38($sp)
|
|
|
|
/* F4CD8 802D0328 0080902D */ daddu $s2, $a0, $zero
|
|
|
|
/* F4CDC 802D032C AFB50044 */ sw $s5, 0x44($sp)
|
|
|
|
/* F4CE0 802D0330 0000A82D */ daddu $s5, $zero, $zero
|
|
|
|
/* F4CE4 802D0334 AFB7004C */ sw $s7, 0x4c($sp)
|
|
|
|
/* F4CE8 802D0338 AFB3003C */ sw $s3, 0x3c($sp)
|
2020-09-28 03:13:56 +02:00
|
|
|
/* F4CEC 802D033C 3C138011 */ lui $s3, %hi(gPlayerStatus)
|
|
|
|
/* F4CF0 802D0340 2673EFC8 */ addiu $s3, $s3, %lo(gPlayerStatus)
|
2020-09-24 05:16:13 +02:00
|
|
|
/* F4CF4 802D0344 AFBF0054 */ sw $ra, 0x54($sp)
|
|
|
|
/* F4CF8 802D0348 AFBE0050 */ sw $fp, 0x50($sp)
|
|
|
|
/* F4CFC 802D034C AFB60048 */ sw $s6, 0x48($sp)
|
|
|
|
/* F4D00 802D0350 AFB40040 */ sw $s4, 0x40($sp)
|
|
|
|
/* F4D04 802D0354 AFB10034 */ sw $s1, 0x34($sp)
|
|
|
|
/* F4D08 802D0358 AFB00030 */ sw $s0, 0x30($sp)
|
|
|
|
/* F4D0C 802D035C F7B40058 */ sdc1 $f20, 0x58($sp)
|
|
|
|
/* F4D10 802D0360 8E50000C */ lw $s0, 0xc($s2)
|
|
|
|
/* F4D14 802D0364 10A000CD */ beqz $a1, .L802D069C
|
|
|
|
/* F4D18 802D0368 00C0B82D */ daddu $s7, $a2, $zero
|
2020-09-28 03:13:56 +02:00
|
|
|
/* F4D1C 802D036C 3C16802E */ lui $s6, %hi(D_802DB264)
|
|
|
|
/* F4D20 802D0370 26D6B264 */ addiu $s6, $s6, %lo(D_802DB264)
|
2020-09-24 05:16:13 +02:00
|
|
|
/* F4D24 802D0374 AEC00000 */ sw $zero, ($s6)
|
|
|
|
/* F4D28 802D0378 8E050000 */ lw $a1, ($s0)
|
|
|
|
/* F4D2C 802D037C 0C0B1EAF */ jal get_variable
|
|
|
|
/* F4D30 802D0380 26100004 */ addiu $s0, $s0, 4
|
|
|
|
/* F4D34 802D0384 8E050000 */ lw $a1, ($s0)
|
|
|
|
/* F4D38 802D0388 26100004 */ addiu $s0, $s0, 4
|
|
|
|
/* F4D3C 802D038C 0240202D */ daddu $a0, $s2, $zero
|
|
|
|
/* F4D40 802D0390 0C0B1EAF */ jal get_variable
|
|
|
|
/* F4D44 802D0394 0040F02D */ daddu $fp, $v0, $zero
|
|
|
|
/* F4D48 802D0398 AE4200B8 */ sw $v0, 0xb8($s2)
|
|
|
|
/* F4D4C 802D039C 8E050000 */ lw $a1, ($s0)
|
|
|
|
/* F4D50 802D03A0 26100004 */ addiu $s0, $s0, 4
|
|
|
|
/* F4D54 802D03A4 0C0B1EAF */ jal get_variable
|
|
|
|
/* F4D58 802D03A8 0240202D */ daddu $a0, $s2, $zero
|
|
|
|
/* F4D5C 802D03AC AE4200BC */ sw $v0, 0xbc($s2)
|
|
|
|
/* F4D60 802D03B0 8E050000 */ lw $a1, ($s0)
|
|
|
|
/* F4D64 802D03B4 26100004 */ addiu $s0, $s0, 4
|
|
|
|
/* F4D68 802D03B8 0C0B1EAF */ jal get_variable
|
|
|
|
/* F4D6C 802D03BC 0240202D */ daddu $a0, $s2, $zero
|
2020-11-29 08:13:07 +01:00
|
|
|
/* F4D70 802D03C0 3C14802E */ lui $s4, %hi(D_802DAE54)
|
|
|
|
/* F4D74 802D03C4 2694AE54 */ addiu $s4, $s4, %lo(D_802DAE54)
|
2020-09-24 05:16:13 +02:00
|
|
|
/* F4D78 802D03C8 AE420074 */ sw $v0, 0x74($s2)
|
|
|
|
/* F4D7C 802D03CC AE800000 */ sw $zero, ($s4)
|
|
|
|
/* F4D80 802D03D0 8E420074 */ lw $v0, 0x74($s2)
|
2020-11-29 08:13:07 +01:00
|
|
|
/* F4D84 802D03D4 3C11802E */ lui $s1, %hi(D_802DAE50)
|
|
|
|
/* F4D88 802D03D8 2631AE50 */ addiu $s1, $s1, %lo(D_802DAE50)
|
2020-09-24 05:16:13 +02:00
|
|
|
/* F4D8C 802D03DC 30420100 */ andi $v0, $v0, 0x100
|
|
|
|
/* F4D90 802D03E0 1040000B */ beqz $v0, .L802D0410
|
|
|
|
/* F4D94 802D03E4 AE200000 */ sw $zero, ($s1)
|
|
|
|
/* F4D98 802D03E8 8E050000 */ lw $a1, ($s0)
|
|
|
|
/* F4D9C 802D03EC 26100004 */ addiu $s0, $s0, 4
|
|
|
|
/* F4DA0 802D03F0 0C0B1EAF */ jal get_variable
|
|
|
|
/* F4DA4 802D03F4 0240202D */ daddu $a0, $s2, $zero
|
|
|
|
/* F4DA8 802D03F8 AE220000 */ sw $v0, ($s1)
|
|
|
|
/* F4DAC 802D03FC 8E050000 */ lw $a1, ($s0)
|
|
|
|
/* F4DB0 802D0400 26100004 */ addiu $s0, $s0, 4
|
|
|
|
/* F4DB4 802D0404 0C0B1EAF */ jal get_variable
|
|
|
|
/* F4DB8 802D0408 0240202D */ daddu $a0, $s2, $zero
|
|
|
|
/* F4DBC 802D040C AE820000 */ sw $v0, ($s4)
|
2020-08-04 08:49:11 +02:00
|
|
|
.L802D0410:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* F4DC0 802D0410 24020001 */ addiu $v0, $zero, 1
|
|
|
|
/* F4DC4 802D0414 12E20012 */ beq $s7, $v0, .L802D0460
|
|
|
|
/* F4DC8 802D0418 2AE20002 */ slti $v0, $s7, 2
|
|
|
|
/* F4DCC 802D041C 10400005 */ beqz $v0, .L802D0434
|
|
|
|
/* F4DD0 802D0420 24020002 */ addiu $v0, $zero, 2
|
|
|
|
/* F4DD4 802D0424 12E00009 */ beqz $s7, .L802D044C
|
|
|
|
/* F4DD8 802D0428 2402FFFE */ addiu $v0, $zero, -2
|
|
|
|
/* F4DDC 802D042C 080B413A */ j .L802D04E8
|
|
|
|
/* F4DE0 802D0430 00000000 */ nop
|
2020-08-04 08:49:11 +02:00
|
|
|
.L802D0434:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* F4DE4 802D0434 12E20010 */ beq $s7, $v0, .L802D0478
|
|
|
|
/* F4DE8 802D0438 24020003 */ addiu $v0, $zero, 3
|
|
|
|
/* F4DEC 802D043C 12E20017 */ beq $s7, $v0, .L802D049C
|
|
|
|
/* F4DF0 802D0440 2402FFFE */ addiu $v0, $zero, -2
|
|
|
|
/* F4DF4 802D0444 080B413A */ j .L802D04E8
|
|
|
|
/* F4DF8 802D0448 00000000 */ nop
|
2020-08-04 08:49:11 +02:00
|
|
|
.L802D044C:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* F4DFC 802D044C 8E050000 */ lw $a1, ($s0)
|
|
|
|
/* F4E00 802D0450 0C0B1EAF */ jal get_variable
|
|
|
|
/* F4E04 802D0454 0240202D */ daddu $a0, $s2, $zero
|
|
|
|
/* F4E08 802D0458 080B4135 */ j .L802D04D4
|
|
|
|
/* F4E0C 802D045C 0040202D */ daddu $a0, $v0, $zero
|
2020-08-04 08:49:11 +02:00
|
|
|
.L802D0460:
|
2020-09-28 03:13:56 +02:00
|
|
|
/* F4E10 802D0460 3C04802E */ lui $a0, %hi(gCurrentPrintContext)
|
|
|
|
/* F4E14 802D0464 8C84B260 */ lw $a0, %lo(gCurrentPrintContext)($a0)
|
2020-09-24 05:16:13 +02:00
|
|
|
/* F4E18 802D0468 0C04971C */ jal close_message
|
|
|
|
/* F4E1C 802D046C 00000000 */ nop
|
|
|
|
/* F4E20 802D0470 080B413A */ j .L802D04E8
|
|
|
|
/* F4E24 802D0474 2402FFFE */ addiu $v0, $zero, -2
|
2020-08-04 08:49:11 +02:00
|
|
|
.L802D0478:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* F4E28 802D0478 8E050000 */ lw $a1, ($s0)
|
|
|
|
/* F4E2C 802D047C 0C0B1EAF */ jal get_variable
|
|
|
|
/* F4E30 802D0480 0240202D */ daddu $a0, $s2, $zero
|
2020-09-28 03:13:56 +02:00
|
|
|
/* F4E34 802D0484 3C05802E */ lui $a1, %hi(gCurrentPrintContext)
|
|
|
|
/* F4E38 802D0488 8CA5B260 */ lw $a1, %lo(gCurrentPrintContext)($a1)
|
2020-09-24 05:16:13 +02:00
|
|
|
/* F4E3C 802D048C 0C04969A */ jal load_message_to_printer
|
|
|
|
/* F4E40 802D0490 0040202D */ daddu $a0, $v0, $zero
|
|
|
|
/* F4E44 802D0494 080B413A */ j .L802D04E8
|
|
|
|
/* F4E48 802D0498 2402FFFE */ addiu $v0, $zero, -2
|
2020-08-04 08:49:11 +02:00
|
|
|
.L802D049C:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* F4E4C 802D049C 8E050000 */ lw $a1, ($s0)
|
|
|
|
/* F4E50 802D04A0 26100004 */ addiu $s0, $s0, 4
|
|
|
|
/* F4E54 802D04A4 0C0B1EAF */ jal get_variable
|
|
|
|
/* F4E58 802D04A8 0240202D */ daddu $a0, $s2, $zero
|
|
|
|
/* F4E5C 802D04AC 0240202D */ daddu $a0, $s2, $zero
|
|
|
|
/* F4E60 802D04B0 8E050000 */ lw $a1, ($s0)
|
|
|
|
/* F4E64 802D04B4 0C0B1EAF */ jal get_variable
|
|
|
|
/* F4E68 802D04B8 0040802D */ daddu $s0, $v0, $zero
|
|
|
|
/* F4E6C 802D04BC 0240202D */ daddu $a0, $s2, $zero
|
|
|
|
/* F4E70 802D04C0 0200282D */ daddu $a1, $s0, $zero
|
|
|
|
/* F4E74 802D04C4 0C0B36B0 */ jal resolve_npc
|
|
|
|
/* F4E78 802D04C8 0040802D */ daddu $s0, $v0, $zero
|
|
|
|
/* F4E7C 802D04CC 0040A82D */ daddu $s5, $v0, $zero
|
|
|
|
/* F4E80 802D04D0 0200202D */ daddu $a0, $s0, $zero
|
2020-08-04 08:49:11 +02:00
|
|
|
.L802D04D4:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* F4E84 802D04D4 0C049640 */ jal load_string
|
|
|
|
/* F4E88 802D04D8 02C0282D */ daddu $a1, $s6, $zero
|
2020-09-28 03:13:56 +02:00
|
|
|
/* F4E8C 802D04DC 3C01802E */ lui $at, %hi(gCurrentPrintContext)
|
|
|
|
/* F4E90 802D04E0 AC22B260 */ sw $v0, %lo(gCurrentPrintContext)($at)
|
2020-09-24 05:16:13 +02:00
|
|
|
/* F4E94 802D04E4 2402FFFE */ addiu $v0, $zero, -2
|
2020-08-04 08:49:11 +02:00
|
|
|
.L802D04E8:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* F4E98 802D04E8 17C20018 */ bne $fp, $v0, .L802D054C
|
|
|
|
/* F4E9C 802D04EC 0240202D */ daddu $a0, $s2, $zero
|
|
|
|
/* F4EA0 802D04F0 8E650028 */ lw $a1, 0x28($s3)
|
|
|
|
/* F4EA4 802D04F4 8E670030 */ lw $a3, 0x30($s3)
|
|
|
|
/* F4EA8 802D04F8 27A20020 */ addiu $v0, $sp, 0x20
|
|
|
|
/* F4EAC 802D04FC AFA20010 */ sw $v0, 0x10($sp)
|
|
|
|
/* F4EB0 802D0500 27A20024 */ addiu $v0, $sp, 0x24
|
|
|
|
/* F4EB4 802D0504 AFA20014 */ sw $v0, 0x14($sp)
|
|
|
|
/* F4EB8 802D0508 866200B0 */ lh $v0, 0xb0($s3)
|
|
|
|
/* F4EBC 802D050C C662002C */ lwc1 $f2, 0x2c($s3)
|
|
|
|
/* F4EC0 802D0510 44820000 */ mtc1 $v0, $f0
|
|
|
|
/* F4EC4 802D0514 00000000 */ nop
|
|
|
|
/* F4EC8 802D0518 46800020 */ cvt.s.w $f0, $f0
|
|
|
|
/* F4ECC 802D051C 46001080 */ add.s $f2, $f2, $f0
|
2020-09-28 03:13:56 +02:00
|
|
|
/* F4ED0 802D0520 3C048007 */ lui $a0, %hi(gCurrentCameraID)
|
|
|
|
/* F4ED4 802D0524 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
|
2020-09-24 05:16:13 +02:00
|
|
|
/* F4ED8 802D0528 44061000 */ mfc1 $a2, $f2
|
|
|
|
/* F4EDC 802D052C 27A20028 */ addiu $v0, $sp, 0x28
|
|
|
|
/* F4EE0 802D0530 0C00B94E */ jal get_screen_coords
|
|
|
|
/* F4EE4 802D0534 AFA20018 */ sw $v0, 0x18($sp)
|
|
|
|
/* F4EE8 802D0538 8E6200B8 */ lw $v0, 0xb8($s3)
|
|
|
|
/* F4EEC 802D053C AE42007C */ sw $v0, 0x7c($s2)
|
|
|
|
/* F4EF0 802D0540 C6600080 */ lwc1 $f0, 0x80($s3)
|
|
|
|
/* F4EF4 802D0544 080B416C */ j .L802D05B0
|
|
|
|
/* F4EF8 802D0548 2410FFFE */ addiu $s0, $zero, -2
|
2020-08-04 08:49:11 +02:00
|
|
|
.L802D054C:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* F4EFC 802D054C 0C0B36B0 */ jal resolve_npc
|
|
|
|
/* F4F00 802D0550 03C0282D */ daddu $a1, $fp, $zero
|
|
|
|
/* F4F04 802D0554 0040802D */ daddu $s0, $v0, $zero
|
2020-09-28 03:13:56 +02:00
|
|
|
/* F4F08 802D0558 3C048007 */ lui $a0, %hi(gCurrentCameraID)
|
|
|
|
/* F4F0C 802D055C 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
|
2020-09-24 05:16:13 +02:00
|
|
|
/* F4F10 802D0560 860300A8 */ lh $v1, 0xa8($s0)
|
|
|
|
/* F4F14 802D0564 C602003C */ lwc1 $f2, 0x3c($s0)
|
|
|
|
/* F4F18 802D0568 27A20020 */ addiu $v0, $sp, 0x20
|
|
|
|
/* F4F1C 802D056C AFA20010 */ sw $v0, 0x10($sp)
|
|
|
|
/* F4F20 802D0570 27A20024 */ addiu $v0, $sp, 0x24
|
|
|
|
/* F4F24 802D0574 AFA20014 */ sw $v0, 0x14($sp)
|
|
|
|
/* F4F28 802D0578 27A20028 */ addiu $v0, $sp, 0x28
|
|
|
|
/* F4F2C 802D057C AFA20018 */ sw $v0, 0x18($sp)
|
|
|
|
/* F4F30 802D0580 44830000 */ mtc1 $v1, $f0
|
|
|
|
/* F4F34 802D0584 00000000 */ nop
|
|
|
|
/* F4F38 802D0588 46800020 */ cvt.s.w $f0, $f0
|
|
|
|
/* F4F3C 802D058C 46001080 */ add.s $f2, $f2, $f0
|
|
|
|
/* F4F40 802D0590 8E050038 */ lw $a1, 0x38($s0)
|
|
|
|
/* F4F44 802D0594 8E070040 */ lw $a3, 0x40($s0)
|
|
|
|
/* F4F48 802D0598 44061000 */ mfc1 $a2, $f2
|
|
|
|
/* F4F4C 802D059C 0C00B94E */ jal get_screen_coords
|
|
|
|
/* F4F50 802D05A0 00000000 */ nop
|
|
|
|
/* F4F54 802D05A4 8E020028 */ lw $v0, 0x28($s0)
|
|
|
|
/* F4F58 802D05A8 AE42007C */ sw $v0, 0x7c($s2)
|
|
|
|
/* F4F5C 802D05AC C600000C */ lwc1 $f0, 0xc($s0)
|
2020-08-04 08:49:11 +02:00
|
|
|
.L802D05B0:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* F4F60 802D05B0 4600010D */ trunc.w.s $f4, $f0
|
|
|
|
/* F4F64 802D05B4 E64400C0 */ swc1 $f4, 0xc0($s2)
|
2020-09-28 03:13:56 +02:00
|
|
|
/* F4F68 802D05B8 3C04802E */ lui $a0, %hi(gCurrentPrintContext)
|
|
|
|
/* F4F6C 802D05BC 8C84B260 */ lw $a0, %lo(gCurrentPrintContext)($a0)
|
2020-09-24 05:16:13 +02:00
|
|
|
/* F4F70 802D05C0 8FA30020 */ lw $v1, 0x20($sp)
|
2020-11-29 08:13:07 +01:00
|
|
|
/* F4F74 802D05C4 3C05802E */ lui $a1, %hi(D_802DAE50)
|
|
|
|
/* F4F78 802D05C8 8CA5AE50 */ lw $a1, %lo(D_802DAE50)($a1)
|
2020-09-24 05:16:13 +02:00
|
|
|
/* F4F7C 802D05CC 8FA20024 */ lw $v0, 0x24($sp)
|
2020-11-29 08:13:07 +01:00
|
|
|
/* F4F80 802D05D0 3C06802E */ lui $a2, %hi(D_802DAE54)
|
|
|
|
/* F4F84 802D05D4 8CC6AE54 */ lw $a2, %lo(D_802DAE54)($a2)
|
2020-09-24 05:16:13 +02:00
|
|
|
/* F4F88 802D05D8 00652821 */ addu $a1, $v1, $a1
|
|
|
|
/* F4F8C 802D05DC 0C0496AE */ jal clamp_printer_coords
|
|
|
|
/* F4F90 802D05E0 00463021 */ addu $a2, $v0, $a2
|
|
|
|
/* F4F94 802D05E4 2402FFFE */ addiu $v0, $zero, -2
|
|
|
|
/* F4F98 802D05E8 1202002C */ beq $s0, $v0, .L802D069C
|
|
|
|
/* F4F9C 802D05EC AE5000B4 */ sw $s0, 0xb4($s2)
|
|
|
|
/* F4FA0 802D05F0 24020003 */ addiu $v0, $zero, 3
|
|
|
|
/* F4FA4 802D05F4 16E20007 */ bne $s7, $v0, .L802D0614
|
|
|
|
/* F4FA8 802D05F8 26710080 */ addiu $s1, $s3, 0x80
|
|
|
|
/* F4FAC 802D05FC C60C0038 */ lwc1 $f12, 0x38($s0)
|
|
|
|
/* F4FB0 802D0600 C60E0040 */ lwc1 $f14, 0x40($s0)
|
|
|
|
/* F4FB4 802D0604 8EA60038 */ lw $a2, 0x38($s5)
|
|
|
|
/* F4FB8 802D0608 8EA70040 */ lw $a3, 0x40($s5)
|
|
|
|
/* F4FBC 802D060C 080B4189 */ j .L802D0624
|
|
|
|
/* F4FC0 802D0610 26B1000C */ addiu $s1, $s5, 0xc
|
2020-08-04 08:49:11 +02:00
|
|
|
.L802D0614:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* F4FC4 802D0614 C60C0038 */ lwc1 $f12, 0x38($s0)
|
|
|
|
/* F4FC8 802D0618 C60E0040 */ lwc1 $f14, 0x40($s0)
|
|
|
|
/* F4FCC 802D061C 8E660028 */ lw $a2, 0x28($s3)
|
|
|
|
/* F4FD0 802D0620 8E670030 */ lw $a3, 0x30($s3)
|
2020-08-04 08:49:11 +02:00
|
|
|
.L802D0624:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* F4FD4 802D0624 0C00A720 */ jal atan2
|
|
|
|
/* F4FD8 802D0628 00000000 */ nop
|
|
|
|
/* F4FDC 802D062C 46000506 */ mov.s $f20, $f0
|
|
|
|
/* F4FE0 802D0630 3C014334 */ lui $at, 0x4334
|
|
|
|
/* F4FE4 802D0634 44816000 */ mtc1 $at, $f12
|
|
|
|
/* F4FE8 802D0638 0C00A6C9 */ jal clamp_angle
|
|
|
|
/* F4FEC 802D063C 460CA300 */ add.s $f12, $f20, $f12
|
|
|
|
/* F4FF0 802D0640 8E420074 */ lw $v0, 0x74($s2)
|
|
|
|
/* F4FF4 802D0644 3043000F */ andi $v1, $v0, 0xf
|
|
|
|
/* F4FF8 802D0648 2C620006 */ sltiu $v0, $v1, 6
|
|
|
|
/* F4FFC 802D064C 10400013 */ beqz $v0, .L802D069C
|
|
|
|
/* F5000 802D0650 00031080 */ sll $v0, $v1, 2
|
2020-11-29 08:13:07 +01:00
|
|
|
/* F5004 802D0654 3C01802E */ lui $at, %hi(D_802DA1F0)
|
2020-09-24 05:16:13 +02:00
|
|
|
/* F5008 802D0658 00220821 */ addu $at, $at, $v0
|
2020-11-29 08:13:07 +01:00
|
|
|
/* F500C 802D065C 8C22A1F0 */ lw $v0, %lo(D_802DA1F0)($at)
|
2020-09-24 05:16:13 +02:00
|
|
|
/* F5010 802D0660 00400008 */ jr $v0
|
|
|
|
/* F5014 802D0664 00000000 */ nop
|
|
|
|
/* F5018 802D0668 E614000C */ swc1 $f20, 0xc($s0)
|
|
|
|
/* F501C 802D066C 080B41A7 */ j .L802D069C
|
|
|
|
/* F5020 802D0670 E6200000 */ swc1 $f0, ($s1)
|
|
|
|
/* F5024 802D0674 E600000C */ swc1 $f0, 0xc($s0)
|
|
|
|
/* F5028 802D0678 080B41A7 */ j .L802D069C
|
|
|
|
/* F502C 802D067C E6200000 */ swc1 $f0, ($s1)
|
|
|
|
/* F5030 802D0680 E614000C */ swc1 $f20, 0xc($s0)
|
|
|
|
/* F5034 802D0684 080B41A7 */ j .L802D069C
|
|
|
|
/* F5038 802D0688 E6340000 */ swc1 $f20, ($s1)
|
|
|
|
/* F503C 802D068C E600000C */ swc1 $f0, 0xc($s0)
|
|
|
|
/* F5040 802D0690 080B41A7 */ j .L802D069C
|
|
|
|
/* F5044 802D0694 E6340000 */ swc1 $f20, ($s1)
|
|
|
|
/* F5048 802D0698 E614000C */ swc1 $f20, 0xc($s0)
|
2020-08-04 08:49:11 +02:00
|
|
|
.L802D069C:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* F504C 802D069C 8E5000B4 */ lw $s0, 0xb4($s2)
|
|
|
|
/* F5050 802D06A0 2402FFFE */ addiu $v0, $zero, -2
|
|
|
|
/* F5054 802D06A4 12020022 */ beq $s0, $v0, .L802D0730
|
|
|
|
/* F5058 802D06A8 27A20020 */ addiu $v0, $sp, 0x20
|
2020-09-28 03:13:56 +02:00
|
|
|
/* F505C 802D06AC 3C048007 */ lui $a0, %hi(gCurrentCameraID)
|
|
|
|
/* F5060 802D06B0 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
|
2020-09-24 05:16:13 +02:00
|
|
|
/* F5064 802D06B4 860300A8 */ lh $v1, 0xa8($s0)
|
|
|
|
/* F5068 802D06B8 C602003C */ lwc1 $f2, 0x3c($s0)
|
|
|
|
/* F506C 802D06BC AFA20010 */ sw $v0, 0x10($sp)
|
|
|
|
/* F5070 802D06C0 27A20024 */ addiu $v0, $sp, 0x24
|
|
|
|
/* F5074 802D06C4 AFA20014 */ sw $v0, 0x14($sp)
|
|
|
|
/* F5078 802D06C8 27A20028 */ addiu $v0, $sp, 0x28
|
|
|
|
/* F507C 802D06CC AFA20018 */ sw $v0, 0x18($sp)
|
|
|
|
/* F5080 802D06D0 44830000 */ mtc1 $v1, $f0
|
|
|
|
/* F5084 802D06D4 00000000 */ nop
|
|
|
|
/* F5088 802D06D8 46800020 */ cvt.s.w $f0, $f0
|
|
|
|
/* F508C 802D06DC 46001080 */ add.s $f2, $f2, $f0
|
|
|
|
/* F5090 802D06E0 8E050038 */ lw $a1, 0x38($s0)
|
|
|
|
/* F5094 802D06E4 8E070040 */ lw $a3, 0x40($s0)
|
|
|
|
/* F5098 802D06E8 44061000 */ mfc1 $a2, $f2
|
|
|
|
/* F509C 802D06EC 0C00B94E */ jal get_screen_coords
|
|
|
|
/* F50A0 802D06F0 00000000 */ nop
|
|
|
|
/* F50A4 802D06F4 8E4500B8 */ lw $a1, 0xb8($s2)
|
|
|
|
/* F50A8 802D06F8 2402FFFF */ addiu $v0, $zero, -1
|
|
|
|
/* F50AC 802D06FC 10A2002B */ beq $a1, $v0, .L802D07AC
|
|
|
|
/* F50B0 802D0700 00000000 */ nop
|
2020-09-28 03:13:56 +02:00
|
|
|
/* F50B4 802D0704 3C02802E */ lui $v0, %hi(gCurrentPrintContext)
|
|
|
|
/* F50B8 802D0708 8C42B260 */ lw $v0, %lo(gCurrentPrintContext)($v0)
|
2020-09-24 05:16:13 +02:00
|
|
|
/* F50BC 802D070C 8C4204FC */ lw $v0, 0x4fc($v0)
|
|
|
|
/* F50C0 802D0710 30420080 */ andi $v0, $v0, 0x80
|
|
|
|
/* F50C4 802D0714 14400002 */ bnez $v0, .L802D0720
|
|
|
|
/* F50C8 802D0718 00000000 */ nop
|
|
|
|
/* F50CC 802D071C 8E4500BC */ lw $a1, 0xbc($s2)
|
2020-08-04 08:49:11 +02:00
|
|
|
.L802D0720:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* F50D0 802D0720 0C0B36C3 */ jal set_npc_animation
|
|
|
|
/* F50D4 802D0724 0200202D */ daddu $a0, $s0, $zero
|
|
|
|
/* F50D8 802D0728 080B41EB */ j .L802D07AC
|
|
|
|
/* F50DC 802D072C 00000000 */ nop
|
2020-08-04 08:49:11 +02:00
|
|
|
.L802D0730:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* F50E0 802D0730 8E650028 */ lw $a1, 0x28($s3)
|
|
|
|
/* F50E4 802D0734 8E670030 */ lw $a3, 0x30($s3)
|
|
|
|
/* F50E8 802D0738 AFA20010 */ sw $v0, 0x10($sp)
|
|
|
|
/* F50EC 802D073C 27A20024 */ addiu $v0, $sp, 0x24
|
|
|
|
/* F50F0 802D0740 AFA20014 */ sw $v0, 0x14($sp)
|
|
|
|
/* F50F4 802D0744 866200B0 */ lh $v0, 0xb0($s3)
|
|
|
|
/* F50F8 802D0748 C662002C */ lwc1 $f2, 0x2c($s3)
|
|
|
|
/* F50FC 802D074C 44820000 */ mtc1 $v0, $f0
|
|
|
|
/* F5100 802D0750 00000000 */ nop
|
|
|
|
/* F5104 802D0754 46800020 */ cvt.s.w $f0, $f0
|
|
|
|
/* F5108 802D0758 46001080 */ add.s $f2, $f2, $f0
|
2020-09-28 03:13:56 +02:00
|
|
|
/* F510C 802D075C 3C048007 */ lui $a0, %hi(gCurrentCameraID)
|
|
|
|
/* F5110 802D0760 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
|
2020-09-24 05:16:13 +02:00
|
|
|
/* F5114 802D0764 44061000 */ mfc1 $a2, $f2
|
|
|
|
/* F5118 802D0768 27A20028 */ addiu $v0, $sp, 0x28
|
|
|
|
/* F511C 802D076C 0C00B94E */ jal get_screen_coords
|
|
|
|
/* F5120 802D0770 AFA20018 */ sw $v0, 0x18($sp)
|
|
|
|
/* F5124 802D0774 8E4300B8 */ lw $v1, 0xb8($s2)
|
|
|
|
/* F5128 802D0778 2402FFFF */ addiu $v0, $zero, -1
|
|
|
|
/* F512C 802D077C 1062000B */ beq $v1, $v0, .L802D07AC
|
|
|
|
/* F5130 802D0780 00000000 */ nop
|
2020-09-28 03:13:56 +02:00
|
|
|
/* F5134 802D0784 3C02802E */ lui $v0, %hi(gCurrentPrintContext)
|
|
|
|
/* F5138 802D0788 8C42B260 */ lw $v0, %lo(gCurrentPrintContext)($v0)
|
2020-09-24 05:16:13 +02:00
|
|
|
/* F513C 802D078C 8C4204FC */ lw $v0, 0x4fc($v0)
|
|
|
|
/* F5140 802D0790 30420080 */ andi $v0, $v0, 0x80
|
|
|
|
/* F5144 802D0794 10400003 */ beqz $v0, .L802D07A4
|
|
|
|
/* F5148 802D0798 00000000 */ nop
|
|
|
|
/* F514C 802D079C 080B41EB */ j .L802D07AC
|
|
|
|
/* F5150 802D07A0 AE6300B8 */ sw $v1, 0xb8($s3)
|
2020-08-04 08:49:11 +02:00
|
|
|
.L802D07A4:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* F5154 802D07A4 8E4200BC */ lw $v0, 0xbc($s2)
|
|
|
|
/* F5158 802D07A8 AE6200B8 */ sw $v0, 0xb8($s3)
|
2020-08-04 08:49:11 +02:00
|
|
|
.L802D07AC:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* F515C 802D07AC 8E420074 */ lw $v0, 0x74($s2)
|
|
|
|
/* F5160 802D07B0 30420200 */ andi $v0, $v0, 0x200
|
|
|
|
/* F5164 802D07B4 1440000C */ bnez $v0, .L802D07E8
|
|
|
|
/* F5168 802D07B8 00000000 */ nop
|
2020-09-28 03:13:56 +02:00
|
|
|
/* F516C 802D07BC 3C04802E */ lui $a0, %hi(gCurrentPrintContext)
|
|
|
|
/* F5170 802D07C0 8C84B260 */ lw $a0, %lo(gCurrentPrintContext)($a0)
|
2020-09-24 05:16:13 +02:00
|
|
|
/* F5174 802D07C4 8FA30020 */ lw $v1, 0x20($sp)
|
2020-11-29 08:13:07 +01:00
|
|
|
/* F5178 802D07C8 3C05802E */ lui $a1, %hi(D_802DAE50)
|
|
|
|
/* F517C 802D07CC 8CA5AE50 */ lw $a1, %lo(D_802DAE50)($a1)
|
2020-09-24 05:16:13 +02:00
|
|
|
/* F5180 802D07D0 8FA20024 */ lw $v0, 0x24($sp)
|
2020-11-29 08:13:07 +01:00
|
|
|
/* F5184 802D07D4 3C06802E */ lui $a2, %hi(D_802DAE54)
|
|
|
|
/* F5188 802D07D8 8CC6AE54 */ lw $a2, %lo(D_802DAE54)($a2)
|
2020-09-24 05:16:13 +02:00
|
|
|
/* F518C 802D07DC 00652821 */ addu $a1, $v1, $a1
|
|
|
|
/* F5190 802D07E0 0C0496AE */ jal clamp_printer_coords
|
|
|
|
/* F5194 802D07E4 00463021 */ addu $a2, $v0, $a2
|
2020-08-04 08:49:11 +02:00
|
|
|
.L802D07E8:
|
2020-09-28 03:13:56 +02:00
|
|
|
/* F5198 802D07E8 3C02802E */ lui $v0, %hi(gCurrentPrintContext)
|
|
|
|
/* F519C 802D07EC 8C42B260 */ lw $v0, %lo(gCurrentPrintContext)($v0)
|
2020-09-24 05:16:13 +02:00
|
|
|
/* F51A0 802D07F0 8C4204FC */ lw $v0, 0x4fc($v0)
|
|
|
|
/* F51A4 802D07F4 30420040 */ andi $v0, $v0, 0x40
|
|
|
|
/* F51A8 802D07F8 14400019 */ bnez $v0, .L802D0860
|
|
|
|
/* F51AC 802D07FC 24020001 */ addiu $v0, $zero, 1
|
2020-09-28 03:13:56 +02:00
|
|
|
/* F51B0 802D0800 3C03802E */ lui $v1, %hi(D_802DB264)
|
|
|
|
/* F51B4 802D0804 8C63B264 */ lw $v1, %lo(D_802DB264)($v1)
|
2020-09-24 05:16:13 +02:00
|
|
|
/* F51B8 802D0808 14620015 */ bne $v1, $v0, .L802D0860
|
|
|
|
/* F51BC 802D080C 0000102D */ daddu $v0, $zero, $zero
|
|
|
|
/* F51C0 802D0810 8E4300B8 */ lw $v1, 0xb8($s2)
|
|
|
|
/* F51C4 802D0814 2402FFFF */ addiu $v0, $zero, -1
|
|
|
|
/* F51C8 802D0818 1062000A */ beq $v1, $v0, .L802D0844
|
|
|
|
/* F51CC 802D081C 2402FFFE */ addiu $v0, $zero, -2
|
|
|
|
/* F51D0 802D0820 12020006 */ beq $s0, $v0, .L802D083C
|
|
|
|
/* F51D4 802D0824 00000000 */ nop
|
|
|
|
/* F51D8 802D0828 8E45007C */ lw $a1, 0x7c($s2)
|
|
|
|
/* F51DC 802D082C 0C0B36C3 */ jal set_npc_animation
|
|
|
|
/* F51E0 802D0830 0200202D */ daddu $a0, $s0, $zero
|
|
|
|
/* F51E4 802D0834 080B4211 */ j .L802D0844
|
|
|
|
/* F51E8 802D0838 00000000 */ nop
|
2020-08-04 08:49:11 +02:00
|
|
|
.L802D083C:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* F51EC 802D083C 8E42007C */ lw $v0, 0x7c($s2)
|
|
|
|
/* F51F0 802D0840 AE6200B8 */ sw $v0, 0xb8($s3)
|
2020-08-04 08:49:11 +02:00
|
|
|
.L802D0844:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* F51F4 802D0844 8E420074 */ lw $v0, 0x74($s2)
|
|
|
|
/* F51F8 802D0848 30420010 */ andi $v0, $v0, 0x10
|
|
|
|
/* F51FC 802D084C 10400004 */ beqz $v0, .L802D0860
|
|
|
|
/* F5200 802D0850 24020001 */ addiu $v0, $zero, 1
|
|
|
|
/* F5204 802D0854 C64000C0 */ lwc1 $f0, 0xc0($s2)
|
|
|
|
/* F5208 802D0858 46800020 */ cvt.s.w $f0, $f0
|
|
|
|
/* F520C 802D085C E600000C */ swc1 $f0, 0xc($s0)
|
2020-08-04 08:49:11 +02:00
|
|
|
.L802D0860:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* F5210 802D0860 8FBF0054 */ lw $ra, 0x54($sp)
|
|
|
|
/* F5214 802D0864 8FBE0050 */ lw $fp, 0x50($sp)
|
|
|
|
/* F5218 802D0868 8FB7004C */ lw $s7, 0x4c($sp)
|
|
|
|
/* F521C 802D086C 8FB60048 */ lw $s6, 0x48($sp)
|
|
|
|
/* F5220 802D0870 8FB50044 */ lw $s5, 0x44($sp)
|
|
|
|
/* F5224 802D0874 8FB40040 */ lw $s4, 0x40($sp)
|
|
|
|
/* F5228 802D0878 8FB3003C */ lw $s3, 0x3c($sp)
|
|
|
|
/* F522C 802D087C 8FB20038 */ lw $s2, 0x38($sp)
|
|
|
|
/* F5230 802D0880 8FB10034 */ lw $s1, 0x34($sp)
|
|
|
|
/* F5234 802D0884 8FB00030 */ lw $s0, 0x30($sp)
|
|
|
|
/* F5238 802D0888 D7B40058 */ ldc1 $f20, 0x58($sp)
|
|
|
|
/* F523C 802D088C 03E00008 */ jr $ra
|
|
|
|
/* F5240 802D0890 27BD0060 */ addiu $sp, $sp, 0x60
|