mirror of
https://github.com/pmret/papermario.git
synced 2024-11-10 04:52:34 +01:00
1023 lines
48 KiB
ArmAsm
1023 lines
48 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
|
|
glabel activate_defend_command
|
|
/* 18F3E4 80260B04 27BDFFE0 */ addiu $sp, $sp, -0x20
|
|
/* 18F3E8 80260B08 AFB00010 */ sw $s0, 0x10($sp)
|
|
/* 18F3EC 80260B0C 3C10800E */ lui $s0, 0x800e
|
|
/* 18F3F0 80260B10 2610C070 */ addiu $s0, $s0, -0x3f90
|
|
/* 18F3F4 80260B14 AFBF0018 */ sw $ra, 0x18($sp)
|
|
/* 18F3F8 80260B18 AFB10014 */ sw $s1, 0x14($sp)
|
|
/* 18F3FC 80260B1C 8E0200D8 */ lw $v0, 0xd8($s0)
|
|
/* 18F400 80260B20 0C098EF2 */ jal deduct_current_move_fp
|
|
/* 18F404 80260B24 8C5101F4 */ lw $s1, 0x1f4($v0)
|
|
/* 18F408 80260B28 3C060001 */ lui $a2, 1
|
|
/* 18F40C 80260B2C 34C60014 */ ori $a2, $a2, 0x14
|
|
/* 18F410 80260B30 3C030040 */ lui $v1, 0x40
|
|
/* 18F414 80260B34 0000202D */ daddu $a0, $zero, $zero
|
|
/* 18F418 80260B38 8E020000 */ lw $v0, ($s0)
|
|
/* 18F41C 80260B3C 0080282D */ daddu $a1, $a0, $zero
|
|
/* 18F420 80260B40 00431025 */ or $v0, $v0, $v1
|
|
/* 18F424 80260B44 AE020000 */ sw $v0, ($s0)
|
|
/* 18F428 80260B48 3C028028 */ lui $v0, 0x8028
|
|
/* 18F42C 80260B4C 244232D4 */ addiu $v0, $v0, 0x32d4
|
|
/* 18F430 80260B50 0C098F3F */ jal set_animation
|
|
/* 18F434 80260B54 AE220094 */ sw $v0, 0x94($s1)
|
|
/* 18F438 80260B58 8FBF0018 */ lw $ra, 0x18($sp)
|
|
/* 18F43C 80260B5C 8FB10014 */ lw $s1, 0x14($sp)
|
|
/* 18F440 80260B60 8FB00010 */ lw $s0, 0x10($sp)
|
|
/* 18F444 80260B64 24020002 */ addiu $v0, $zero, 2
|
|
/* 18F448 80260B68 03E00008 */ jr $ra
|
|
/* 18F44C 80260B6C 27BD0020 */ addiu $sp, $sp, 0x20
|
|
|
|
/* 18F450 80260B70 27BDFFD8 */ addiu $sp, $sp, -0x28
|
|
/* 18F454 80260B74 AFB1001C */ sw $s1, 0x1c($sp)
|
|
/* 18F458 80260B78 0080882D */ daddu $s1, $a0, $zero
|
|
/* 18F45C 80260B7C AFB00018 */ sw $s0, 0x18($sp)
|
|
/* 18F460 80260B80 3C10800E */ lui $s0, 0x800e
|
|
/* 18F464 80260B84 8E10C148 */ lw $s0, -0x3eb8($s0)
|
|
/* 18F468 80260B88 3C0141A0 */ lui $at, 0x41a0
|
|
/* 18F46C 80260B8C 44811000 */ mtc1 $at, $f2
|
|
/* 18F470 80260B90 24040002 */ addiu $a0, $zero, 2
|
|
/* 18F474 80260B94 AFBF0020 */ sw $ra, 0x20($sp)
|
|
/* 18F478 80260B98 C6040148 */ lwc1 $f4, 0x148($s0)
|
|
/* 18F47C 80260B9C C600014C */ lwc1 $f0, 0x14c($s0)
|
|
/* 18F480 80260BA0 46022100 */ add.s $f4, $f4, $f2
|
|
/* 18F484 80260BA4 E7A00010 */ swc1 $f0, 0x10($sp)
|
|
/* 18F488 80260BA8 8E060144 */ lw $a2, 0x144($s0)
|
|
/* 18F48C 80260BAC 44072000 */ mfc1 $a3, $f4
|
|
/* 18F490 80260BB0 0C0999FC */ jal func_802667F0
|
|
/* 18F494 80260BB4 0200282D */ daddu $a1, $s0, $zero
|
|
/* 18F498 80260BB8 0C05272D */ jal play_sound
|
|
/* 18F49C 80260BBC 240403FC */ addiu $a0, $zero, 0x3fc
|
|
/* 18F4A0 80260BC0 AE200084 */ sw $zero, 0x84($s1)
|
|
/* 18F4A4 80260BC4 92020210 */ lbu $v0, 0x210($s0)
|
|
/* 18F4A8 80260BC8 2442FFFD */ addiu $v0, $v0, -3
|
|
/* 18F4AC 80260BCC 2C420006 */ sltiu $v0, $v0, 6
|
|
/* 18F4B0 80260BD0 10400002 */ beqz $v0, .L80260BDC
|
|
/* 18F4B4 80260BD4 24020001 */ addiu $v0, $zero, 1
|
|
/* 18F4B8 80260BD8 AE220084 */ sw $v0, 0x84($s1)
|
|
.L80260BDC:
|
|
/* 18F4BC 80260BDC 8FBF0020 */ lw $ra, 0x20($sp)
|
|
/* 18F4C0 80260BE0 8FB1001C */ lw $s1, 0x1c($sp)
|
|
/* 18F4C4 80260BE4 8FB00018 */ lw $s0, 0x18($sp)
|
|
/* 18F4C8 80260BE8 24020002 */ addiu $v0, $zero, 2
|
|
/* 18F4CC 80260BEC 03E00008 */ jr $ra
|
|
/* 18F4D0 80260BF0 27BD0028 */ addiu $sp, $sp, 0x28
|
|
|
|
/* 18F4D4 80260BF4 27BDFFE0 */ addiu $sp, $sp, -0x20
|
|
/* 18F4D8 80260BF8 AFB20018 */ sw $s2, 0x18($sp)
|
|
/* 18F4DC 80260BFC 0080902D */ daddu $s2, $a0, $zero
|
|
/* 18F4E0 80260C00 AFB00010 */ sw $s0, 0x10($sp)
|
|
/* 18F4E4 80260C04 3C108028 */ lui $s0, 0x8028
|
|
/* 18F4E8 80260C08 26100FC0 */ addiu $s0, $s0, 0xfc0
|
|
/* 18F4EC 80260C0C AFBF001C */ sw $ra, 0x1c($sp)
|
|
/* 18F4F0 80260C10 AFB10014 */ sw $s1, 0x14($sp)
|
|
/* 18F4F4 80260C14 86020000 */ lh $v0, ($s0)
|
|
/* 18F4F8 80260C18 86040002 */ lh $a0, 2($s0)
|
|
/* 18F4FC 80260C1C 0C00A67F */ jal rand_int
|
|
/* 18F500 80260C20 00442021 */ addu $a0, $v0, $a0
|
|
/* 18F504 80260C24 86030000 */ lh $v1, ($s0)
|
|
/* 18F508 80260C28 3C118011 */ lui $s1, 0x8011
|
|
/* 18F50C 80260C2C 2631F290 */ addiu $s1, $s1, -0xd70
|
|
/* 18F510 80260C30 0043102A */ slt $v0, $v0, $v1
|
|
/* 18F514 80260C34 10400019 */ beqz $v0, .L80260C9C
|
|
/* 18F518 80260C38 0000202D */ daddu $a0, $zero, $zero
|
|
/* 18F51C 80260C3C 0080182D */ daddu $v1, $a0, $zero
|
|
/* 18F520 80260C40 0200282D */ daddu $a1, $s0, $zero
|
|
.L80260C44:
|
|
/* 18F524 80260C44 8CA20004 */ lw $v0, 4($a1)
|
|
/* 18F528 80260C48 24630001 */ addiu $v1, $v1, 1
|
|
/* 18F52C 80260C4C 00822021 */ addu $a0, $a0, $v0
|
|
/* 18F530 80260C50 28620008 */ slti $v0, $v1, 8
|
|
/* 18F534 80260C54 1440FFFB */ bnez $v0, .L80260C44
|
|
/* 18F538 80260C58 24A50008 */ addiu $a1, $a1, 8
|
|
/* 18F53C 80260C5C 0C00A67F */ jal rand_int
|
|
/* 18F540 80260C60 00000000 */ nop
|
|
/* 18F544 80260C64 0040202D */ daddu $a0, $v0, $zero
|
|
/* 18F548 80260C68 0000182D */ daddu $v1, $zero, $zero
|
|
/* 18F54C 80260C6C 0200282D */ daddu $a1, $s0, $zero
|
|
.L80260C70:
|
|
/* 18F550 80260C70 8CA20004 */ lw $v0, 4($a1)
|
|
/* 18F554 80260C74 00822023 */ subu $a0, $a0, $v0
|
|
/* 18F558 80260C78 18800006 */ blez $a0, .L80260C94
|
|
/* 18F55C 80260C7C 000310C0 */ sll $v0, $v1, 3
|
|
/* 18F560 80260C80 24630001 */ addiu $v1, $v1, 1
|
|
/* 18F564 80260C84 28620008 */ slti $v0, $v1, 8
|
|
/* 18F568 80260C88 1440FFF9 */ bnez $v0, .L80260C70
|
|
/* 18F56C 80260C8C 24A50008 */ addiu $a1, $a1, 8
|
|
/* 18F570 80260C90 000310C0 */ sll $v0, $v1, 3
|
|
.L80260C94:
|
|
/* 18F574 80260C94 08098364 */ j .L80260D90
|
|
/* 18F578 80260C98 34420004 */ ori $v0, $v0, 4
|
|
|
|
.L80260C9C:
|
|
/* 18F57C 80260C9C 82220002 */ lb $v0, 2($s1)
|
|
/* 18F580 80260CA0 82230003 */ lb $v1, 3($s1)
|
|
/* 18F584 80260CA4 44820000 */ mtc1 $v0, $f0
|
|
/* 18F588 80260CA8 00000000 */ nop
|
|
/* 18F58C 80260CAC 46800020 */ cvt.s.w $f0, $f0
|
|
/* 18F590 80260CB0 44831000 */ mtc1 $v1, $f2
|
|
/* 18F594 80260CB4 00000000 */ nop
|
|
/* 18F598 80260CB8 468010A0 */ cvt.s.w $f2, $f2
|
|
/* 18F59C 80260CBC 46020003 */ div.s $f0, $f0, $f2
|
|
/* 18F5A0 80260CC0 3C013FD0 */ lui $at, 0x3fd0
|
|
/* 18F5A4 80260CC4 44811800 */ mtc1 $at, $f3
|
|
/* 18F5A8 80260CC8 44801000 */ mtc1 $zero, $f2
|
|
/* 18F5AC 80260CCC 46000121 */ cvt.d.s $f4, $f0
|
|
/* 18F5B0 80260CD0 4622203E */ c.le.d $f4, $f2
|
|
/* 18F5B4 80260CD4 00000000 */ nop
|
|
/* 18F5B8 80260CD8 45000003 */ bc1f .L80260CE8
|
|
/* 18F5BC 80260CDC 00000000 */ nop
|
|
/* 18F5C0 80260CE0 0809834D */ j .L80260D34
|
|
/* 18F5C4 80260CE4 26100044 */ addiu $s0, $s0, 0x44
|
|
|
|
.L80260CE8:
|
|
/* 18F5C8 80260CE8 3C013FE0 */ lui $at, 0x3fe0
|
|
/* 18F5CC 80260CEC 44810800 */ mtc1 $at, $f1
|
|
/* 18F5D0 80260CF0 44800000 */ mtc1 $zero, $f0
|
|
/* 18F5D4 80260CF4 00000000 */ nop
|
|
/* 18F5D8 80260CF8 4620203E */ c.le.d $f4, $f0
|
|
/* 18F5DC 80260CFC 00000000 */ nop
|
|
/* 18F5E0 80260D00 45000003 */ bc1f .L80260D10
|
|
/* 18F5E4 80260D04 00000000 */ nop
|
|
/* 18F5E8 80260D08 0809834D */ j .L80260D34
|
|
/* 18F5EC 80260D0C 26100084 */ addiu $s0, $s0, 0x84
|
|
|
|
.L80260D10:
|
|
/* 18F5F0 80260D10 3C013FE8 */ lui $at, 0x3fe8
|
|
/* 18F5F4 80260D14 44810800 */ mtc1 $at, $f1
|
|
/* 18F5F8 80260D18 44800000 */ mtc1 $zero, $f0
|
|
/* 18F5FC 80260D1C 00000000 */ nop
|
|
/* 18F600 80260D20 4620203E */ c.le.d $f4, $f0
|
|
/* 18F604 80260D24 00000000 */ nop
|
|
/* 18F608 80260D28 45020002 */ bc1fl .L80260D34
|
|
/* 18F60C 80260D2C 26100104 */ addiu $s0, $s0, 0x104
|
|
/* 18F610 80260D30 261000C4 */ addiu $s0, $s0, 0xc4
|
|
.L80260D34:
|
|
.L80260D34:
|
|
/* 18F614 80260D34 0000202D */ daddu $a0, $zero, $zero
|
|
/* 18F618 80260D38 0080182D */ daddu $v1, $a0, $zero
|
|
/* 18F61C 80260D3C 0200282D */ daddu $a1, $s0, $zero
|
|
.L80260D40:
|
|
/* 18F620 80260D40 8CA20000 */ lw $v0, ($a1)
|
|
/* 18F624 80260D44 24630001 */ addiu $v1, $v1, 1
|
|
/* 18F628 80260D48 00822021 */ addu $a0, $a0, $v0
|
|
/* 18F62C 80260D4C 28620008 */ slti $v0, $v1, 8
|
|
/* 18F630 80260D50 1440FFFB */ bnez $v0, .L80260D40
|
|
/* 18F634 80260D54 24A50008 */ addiu $a1, $a1, 8
|
|
/* 18F638 80260D58 0C00A67F */ jal rand_int
|
|
/* 18F63C 80260D5C 00000000 */ nop
|
|
/* 18F640 80260D60 0040202D */ daddu $a0, $v0, $zero
|
|
/* 18F644 80260D64 0000182D */ daddu $v1, $zero, $zero
|
|
/* 18F648 80260D68 0200282D */ daddu $a1, $s0, $zero
|
|
.L80260D6C:
|
|
/* 18F64C 80260D6C 8CA20000 */ lw $v0, ($a1)
|
|
/* 18F650 80260D70 00822023 */ subu $a0, $a0, $v0
|
|
/* 18F654 80260D74 18800006 */ blez $a0, .L80260D90
|
|
/* 18F658 80260D78 000310C0 */ sll $v0, $v1, 3
|
|
/* 18F65C 80260D7C 24630001 */ addiu $v1, $v1, 1
|
|
/* 18F660 80260D80 28620008 */ slti $v0, $v1, 8
|
|
/* 18F664 80260D84 1440FFF9 */ bnez $v0, .L80260D6C
|
|
/* 18F668 80260D88 24A50008 */ addiu $a1, $a1, 8
|
|
/* 18F66C 80260D8C 000310C0 */ sll $v0, $v1, 3
|
|
.L80260D90:
|
|
.L80260D90:
|
|
/* 18F670 80260D90 00501021 */ addu $v0, $v0, $s0
|
|
/* 18F674 80260D94 8C420004 */ lw $v0, 4($v0)
|
|
/* 18F678 80260D98 AE420084 */ sw $v0, 0x84($s2)
|
|
/* 18F67C 80260D9C 8FBF001C */ lw $ra, 0x1c($sp)
|
|
/* 18F680 80260DA0 8FB20018 */ lw $s2, 0x18($sp)
|
|
/* 18F684 80260DA4 8FB10014 */ lw $s1, 0x14($sp)
|
|
/* 18F688 80260DA8 8FB00010 */ lw $s0, 0x10($sp)
|
|
/* 18F68C 80260DAC 24020002 */ addiu $v0, $zero, 2
|
|
/* 18F690 80260DB0 03E00008 */ jr $ra
|
|
/* 18F694 80260DB4 27BD0020 */ addiu $sp, $sp, 0x20
|
|
|
|
/* 18F698 80260DB8 3C02800E */ lui $v0, 0x800e
|
|
/* 18F69C 80260DBC 2442C070 */ addiu $v0, $v0, -0x3f90
|
|
/* 18F6A0 80260DC0 8C430000 */ lw $v1, ($v0)
|
|
/* 18F6A4 80260DC4 3C040004 */ lui $a0, 4
|
|
/* 18F6A8 80260DC8 00641825 */ or $v1, $v1, $a0
|
|
/* 18F6AC 80260DCC AC430000 */ sw $v1, ($v0)
|
|
/* 18F6B0 80260DD0 03E00008 */ jr $ra
|
|
/* 18F6B4 80260DD4 24020002 */ addiu $v0, $zero, 2
|
|
|
|
/* 18F6B8 80260DD8 3C028011 */ lui $v0, 0x8011
|
|
/* 18F6BC 80260DDC 8042F29A */ lb $v0, -0xd66($v0)
|
|
/* 18F6C0 80260DE0 3C03800E */ lui $v1, 0x800e
|
|
/* 18F6C4 80260DE4 8C63C148 */ lw $v1, -0x3eb8($v1)
|
|
/* 18F6C8 80260DE8 27BDFFE0 */ addiu $sp, $sp, -0x20
|
|
/* 18F6CC 80260DEC AFB10014 */ sw $s1, 0x14($sp)
|
|
/* 18F6D0 80260DF0 0080882D */ daddu $s1, $a0, $zero
|
|
/* 18F6D4 80260DF4 AFBF0018 */ sw $ra, 0x18($sp)
|
|
/* 18F6D8 80260DF8 14400009 */ bnez $v0, .L80260E20
|
|
/* 18F6DC 80260DFC AFB00010 */ sw $s0, 0x10($sp)
|
|
/* 18F6E0 80260E00 8C700088 */ lw $s0, 0x88($v1)
|
|
/* 18F6E4 80260E04 0C00A67F */ jal rand_int
|
|
/* 18F6E8 80260E08 24040064 */ addiu $a0, $zero, 0x64
|
|
/* 18F6EC 80260E0C 0202802A */ slt $s0, $s0, $v0
|
|
/* 18F6F0 80260E10 56000003 */ bnezl $s0, .L80260E20
|
|
/* 18F6F4 80260E14 AE200084 */ sw $zero, 0x84($s1)
|
|
/* 18F6F8 80260E18 24020001 */ addiu $v0, $zero, 1
|
|
/* 18F6FC 80260E1C AE220084 */ sw $v0, 0x84($s1)
|
|
.L80260E20:
|
|
/* 18F700 80260E20 24020002 */ addiu $v0, $zero, 2
|
|
/* 18F704 80260E24 8FBF0018 */ lw $ra, 0x18($sp)
|
|
/* 18F708 80260E28 8FB10014 */ lw $s1, 0x14($sp)
|
|
/* 18F70C 80260E2C 8FB00010 */ lw $s0, 0x10($sp)
|
|
/* 18F710 80260E30 03E00008 */ jr $ra
|
|
/* 18F714 80260E34 27BD0020 */ addiu $sp, $sp, 0x20
|
|
|
|
/* 18F718 80260E38 27BDFFE8 */ addiu $sp, $sp, -0x18
|
|
/* 18F71C 80260E3C 24040031 */ addiu $a0, $zero, 0x31
|
|
/* 18F720 80260E40 AFBF0010 */ sw $ra, 0x10($sp)
|
|
/* 18F724 80260E44 0C093E58 */ jal show_battle_message
|
|
/* 18F728 80260E48 2405003C */ addiu $a1, $zero, 0x3c
|
|
/* 18F72C 80260E4C 8FBF0010 */ lw $ra, 0x10($sp)
|
|
/* 18F730 80260E50 24020002 */ addiu $v0, $zero, 2
|
|
/* 18F734 80260E54 03E00008 */ jr $ra
|
|
/* 18F738 80260E58 27BD0018 */ addiu $sp, $sp, 0x18
|
|
|
|
/* 18F73C 80260E5C 3C03FFFF */ lui $v1, 0xffff
|
|
/* 18F740 80260E60 3C04800E */ lui $a0, 0x800e
|
|
/* 18F744 80260E64 2484C070 */ addiu $a0, $a0, -0x3f90
|
|
/* 18F748 80260E68 8C820000 */ lw $v0, ($a0)
|
|
/* 18F74C 80260E6C 34637FFF */ ori $v1, $v1, 0x7fff
|
|
/* 18F750 80260E70 00431024 */ and $v0, $v0, $v1
|
|
/* 18F754 80260E74 2403DFFF */ addiu $v1, $zero, -0x2001
|
|
/* 18F758 80260E78 00431024 */ and $v0, $v0, $v1
|
|
/* 18F75C 80260E7C 2403BFFF */ addiu $v1, $zero, -0x4001
|
|
/* 18F760 80260E80 00431024 */ and $v0, $v0, $v1
|
|
/* 18F764 80260E84 AC820000 */ sw $v0, ($a0)
|
|
/* 18F768 80260E88 03E00008 */ jr $ra
|
|
/* 18F76C 80260E8C 24020002 */ addiu $v0, $zero, 2
|
|
|
|
/* 18F770 80260E90 27BDFF98 */ addiu $sp, $sp, -0x68
|
|
/* 18F774 80260E94 AFB50044 */ sw $s5, 0x44($sp)
|
|
/* 18F778 80260E98 0080A82D */ daddu $s5, $a0, $zero
|
|
/* 18F77C 80260E9C AFB10034 */ sw $s1, 0x34($sp)
|
|
/* 18F780 80260EA0 0000882D */ daddu $s1, $zero, $zero
|
|
/* 18F784 80260EA4 2405001D */ addiu $a1, $zero, 0x1d
|
|
/* 18F788 80260EA8 F7B40050 */ sdc1 $f20, 0x50($sp)
|
|
/* 18F78C 80260EAC 4480A000 */ mtc1 $zero, $f20
|
|
/* 18F790 80260EB0 3C02800E */ lui $v0, 0x800e
|
|
/* 18F794 80260EB4 2442C070 */ addiu $v0, $v0, -0x3f90
|
|
/* 18F798 80260EB8 AFBF0048 */ sw $ra, 0x48($sp)
|
|
/* 18F79C 80260EBC AFB40040 */ sw $s4, 0x40($sp)
|
|
/* 18F7A0 80260EC0 AFB3003C */ sw $s3, 0x3c($sp)
|
|
/* 18F7A4 80260EC4 AFB20038 */ sw $s2, 0x38($sp)
|
|
/* 18F7A8 80260EC8 AFB00030 */ sw $s0, 0x30($sp)
|
|
/* 18F7AC 80260ECC F7B80060 */ sdc1 $f24, 0x60($sp)
|
|
/* 18F7B0 80260ED0 F7B60058 */ sdc1 $f22, 0x58($sp)
|
|
/* 18F7B4 80260ED4 8C5300D8 */ lw $s3, 0xd8($v0)
|
|
/* 18F7B8 80260ED8 8442017A */ lh $v0, 0x17a($v0)
|
|
/* 18F7BC 80260EDC 0260202D */ daddu $a0, $s3, $zero
|
|
/* 18F7C0 80260EE0 00021140 */ sll $v0, $v0, 5
|
|
/* 18F7C4 80260EE4 3C128008 */ lui $s2, 0x8008
|
|
/* 18F7C8 80260EE8 02429021 */ addu $s2, $s2, $v0
|
|
/* 18F7CC 80260EEC 865278EC */ lh $s2, 0x78ec($s2)
|
|
/* 18F7D0 80260EF0 92620191 */ lbu $v0, 0x191($s3)
|
|
/* 18F7D4 80260EF4 C6620148 */ lwc1 $f2, 0x148($s3)
|
|
/* 18F7D8 80260EF8 44820000 */ mtc1 $v0, $f0
|
|
/* 18F7DC 80260EFC 00000000 */ nop
|
|
/* 18F7E0 80260F00 46800020 */ cvt.s.w $f0, $f0
|
|
/* 18F7E4 80260F04 0C099CAB */ jal heroes_is_ability_active
|
|
/* 18F7E8 80260F08 46001580 */ add.s $f22, $f2, $f0
|
|
/* 18F7EC 80260F0C 50400048 */ beql $v0, $zero, .L80261030
|
|
/* 18F7F0 80260F10 AEB10084 */ sw $s1, 0x84($s5)
|
|
/* 18F7F4 80260F14 1A400045 */ blez $s2, .L8026102C
|
|
/* 18F7F8 80260F18 3C0451EB */ lui $a0, 0x51eb
|
|
/* 18F7FC 80260F1C 3484851F */ ori $a0, $a0, 0x851f
|
|
/* 18F800 80260F20 00121880 */ sll $v1, $s2, 2
|
|
/* 18F804 80260F24 00721821 */ addu $v1, $v1, $s2
|
|
/* 18F808 80260F28 00031100 */ sll $v0, $v1, 4
|
|
/* 18F80C 80260F2C 00431023 */ subu $v0, $v0, $v1
|
|
/* 18F810 80260F30 24420063 */ addiu $v0, $v0, 0x63
|
|
/* 18F814 80260F34 00440018 */ mult $v0, $a0
|
|
/* 18F818 80260F38 000217C3 */ sra $v0, $v0, 0x1f
|
|
/* 18F81C 80260F3C 00004010 */ mfhi $t0
|
|
/* 18F820 80260F40 00081943 */ sra $v1, $t0, 5
|
|
/* 18F824 80260F44 00629023 */ subu $s2, $v1, $v0
|
|
/* 18F828 80260F48 0232102A */ slt $v0, $s1, $s2
|
|
/* 18F82C 80260F4C 10400019 */ beqz $v0, .L80260FB4
|
|
/* 18F830 80260F50 0220802D */ daddu $s0, $s1, $zero
|
|
/* 18F834 80260F54 24140017 */ addiu $s4, $zero, 0x17
|
|
/* 18F838 80260F58 3C0141F0 */ lui $at, 0x41f0
|
|
/* 18F83C 80260F5C 4481C000 */ mtc1 $at, $f24
|
|
/* 18F840 80260F60 24110001 */ addiu $s1, $zero, 1
|
|
.L80260F64:
|
|
/* 18F844 80260F64 C6600144 */ lwc1 $f0, 0x144($s3)
|
|
/* 18F848 80260F68 C662014C */ lwc1 $f2, 0x14c($s3)
|
|
/* 18F84C 80260F6C 4600A10D */ trunc.w.s $f4, $f20
|
|
/* 18F850 80260F70 E7A40018 */ swc1 $f4, 0x18($sp)
|
|
/* 18F854 80260F74 24040157 */ addiu $a0, $zero, 0x157
|
|
/* 18F858 80260F78 AFB10014 */ sw $s1, 0x14($sp)
|
|
/* 18F85C 80260F7C 26310003 */ addiu $s1, $s1, 3
|
|
/* 18F860 80260F80 26100001 */ addiu $s0, $s0, 1
|
|
/* 18F864 80260F84 4406B000 */ mfc1 $a2, $f22
|
|
/* 18F868 80260F88 44050000 */ mfc1 $a1, $f0
|
|
/* 18F86C 80260F8C 44071000 */ mfc1 $a3, $f2
|
|
/* 18F870 80260F90 4618A500 */ add.s $f20, $f20, $f24
|
|
/* 18F874 80260F94 AFB40010 */ sw $s4, 0x10($sp)
|
|
/* 18F878 80260F98 0C04C4FD */ jal make_item_entity
|
|
/* 18F87C 80260F9C AFA0001C */ sw $zero, 0x1c($sp)
|
|
/* 18F880 80260FA0 0C03A830 */ jal add_coins
|
|
/* 18F884 80260FA4 24040001 */ addiu $a0, $zero, 1
|
|
/* 18F888 80260FA8 0212102A */ slt $v0, $s0, $s2
|
|
/* 18F88C 80260FAC 1440FFED */ bnez $v0, .L80260F64
|
|
/* 18F890 80260FB0 00000000 */ nop
|
|
.L80260FB4:
|
|
/* 18F894 80260FB4 00101040 */ sll $v0, $s0, 1
|
|
/* 18F898 80260FB8 00501021 */ addu $v0, $v0, $s0
|
|
/* 18F89C 80260FBC 2451001E */ addiu $s1, $v0, 0x1e
|
|
/* 18F8A0 80260FC0 C6600144 */ lwc1 $f0, 0x144($s3)
|
|
/* 18F8A4 80260FC4 C6760148 */ lwc1 $f22, 0x148($s3)
|
|
/* 18F8A8 80260FC8 C662014C */ lwc1 $f2, 0x14c($s3)
|
|
/* 18F8AC 80260FCC 3C048007 */ lui $a0, 0x8007
|
|
/* 18F8B0 80260FD0 8C847410 */ lw $a0, 0x7410($a0)
|
|
/* 18F8B4 80260FD4 27A20020 */ addiu $v0, $sp, 0x20
|
|
/* 18F8B8 80260FD8 AFA20010 */ sw $v0, 0x10($sp)
|
|
/* 18F8BC 80260FDC 27A20024 */ addiu $v0, $sp, 0x24
|
|
/* 18F8C0 80260FE0 AFA20014 */ sw $v0, 0x14($sp)
|
|
/* 18F8C4 80260FE4 44050000 */ mfc1 $a1, $f0
|
|
/* 18F8C8 80260FE8 4406B000 */ mfc1 $a2, $f22
|
|
/* 18F8CC 80260FEC 44071000 */ mfc1 $a3, $f2
|
|
/* 18F8D0 80260FF0 27A20028 */ addiu $v0, $sp, 0x28
|
|
/* 18F8D4 80260FF4 0C00B94E */ jal get_screen_coords
|
|
/* 18F8D8 80260FF8 AFA20018 */ sw $v0, 0x18($sp)
|
|
/* 18F8DC 80260FFC 3C048011 */ lui $a0, 0x8011
|
|
/* 18F8E0 80261000 24848A64 */ addiu $a0, $a0, -0x759c
|
|
/* 18F8E4 80261004 0C050529 */ jal create_icon
|
|
/* 18F8E8 80261008 00000000 */ nop
|
|
/* 18F8EC 8026100C 8FA50020 */ lw $a1, 0x20($sp)
|
|
/* 18F8F0 80261010 8FA60024 */ lw $a2, 0x24($sp)
|
|
/* 18F8F4 80261014 0040202D */ daddu $a0, $v0, $zero
|
|
/* 18F8F8 80261018 3C01802A */ lui $at, 0x802a
|
|
/* 18F8FC 8026101C AC24FBA0 */ sw $a0, -0x460($at)
|
|
/* 18F900 80261020 24A50024 */ addiu $a1, $a1, 0x24
|
|
/* 18F904 80261024 0C051261 */ jal set_icon_render_pos
|
|
/* 18F908 80261028 24C6FFC1 */ addiu $a2, $a2, -0x3f
|
|
.L8026102C:
|
|
/* 18F90C 8026102C AEB10084 */ sw $s1, 0x84($s5)
|
|
.L80261030:
|
|
/* 18F910 80261030 8FBF0048 */ lw $ra, 0x48($sp)
|
|
/* 18F914 80261034 8FB50044 */ lw $s5, 0x44($sp)
|
|
/* 18F918 80261038 8FB40040 */ lw $s4, 0x40($sp)
|
|
/* 18F91C 8026103C 8FB3003C */ lw $s3, 0x3c($sp)
|
|
/* 18F920 80261040 8FB20038 */ lw $s2, 0x38($sp)
|
|
/* 18F924 80261044 8FB10034 */ lw $s1, 0x34($sp)
|
|
/* 18F928 80261048 8FB00030 */ lw $s0, 0x30($sp)
|
|
/* 18F92C 8026104C D7B80060 */ ldc1 $f24, 0x60($sp)
|
|
/* 18F930 80261050 D7B60058 */ ldc1 $f22, 0x58($sp)
|
|
/* 18F934 80261054 D7B40050 */ ldc1 $f20, 0x50($sp)
|
|
/* 18F938 80261058 24020002 */ addiu $v0, $zero, 2
|
|
/* 18F93C 8026105C 03E00008 */ jr $ra
|
|
/* 18F940 80261060 27BD0068 */ addiu $sp, $sp, 0x68
|
|
|
|
/* 18F944 80261064 27BDFFE8 */ addiu $sp, $sp, -0x18
|
|
/* 18F948 80261068 3C03800E */ lui $v1, 0x800e
|
|
/* 18F94C 8026106C 2463C070 */ addiu $v1, $v1, -0x3f90
|
|
/* 18F950 80261070 AFBF0014 */ sw $ra, 0x14($sp)
|
|
/* 18F954 80261074 AFB00010 */ sw $s0, 0x10($sp)
|
|
/* 18F958 80261078 8462017A */ lh $v0, 0x17a($v1)
|
|
/* 18F95C 8026107C 8C6400D8 */ lw $a0, 0xd8($v1)
|
|
/* 18F960 80261080 00021140 */ sll $v0, $v0, 5
|
|
/* 18F964 80261084 3C108008 */ lui $s0, 0x8008
|
|
/* 18F968 80261088 02028021 */ addu $s0, $s0, $v0
|
|
/* 18F96C 8026108C 861078EC */ lh $s0, 0x78ec($s0)
|
|
/* 18F970 80261090 0C099CAB */ jal heroes_is_ability_active
|
|
/* 18F974 80261094 2405001D */ addiu $a1, $zero, 0x1d
|
|
/* 18F978 80261098 10400007 */ beqz $v0, .L802610B8
|
|
/* 18F97C 8026109C 00000000 */ nop
|
|
/* 18F980 802610A0 1A000005 */ blez $s0, .L802610B8
|
|
/* 18F984 802610A4 00000000 */ nop
|
|
/* 18F988 802610A8 3C04802A */ lui $a0, 0x802a
|
|
/* 18F98C 802610AC 8C84FBA0 */ lw $a0, -0x460($a0)
|
|
/* 18F990 802610B0 0C05123D */ jal free_icon
|
|
/* 18F994 802610B4 00000000 */ nop
|
|
.L802610B8:
|
|
/* 18F998 802610B8 8FBF0014 */ lw $ra, 0x14($sp)
|
|
/* 18F99C 802610BC 8FB00010 */ lw $s0, 0x10($sp)
|
|
/* 18F9A0 802610C0 24020002 */ addiu $v0, $zero, 2
|
|
/* 18F9A4 802610C4 03E00008 */ jr $ra
|
|
/* 18F9A8 802610C8 27BD0018 */ addiu $sp, $sp, 0x18
|
|
|
|
/* 18F9AC 802610CC 27BDFFE8 */ addiu $sp, $sp, -0x18
|
|
/* 18F9B0 802610D0 AFB00010 */ sw $s0, 0x10($sp)
|
|
/* 18F9B4 802610D4 0080802D */ daddu $s0, $a0, $zero
|
|
/* 18F9B8 802610D8 10A0000E */ beqz $a1, .L80261114
|
|
/* 18F9BC 802610DC AFBF0014 */ sw $ra, 0x14($sp)
|
|
/* 18F9C0 802610E0 0C04760B */ jal func_8011D82C
|
|
/* 18F9C4 802610E4 24040001 */ addiu $a0, $zero, 1
|
|
/* 18F9C8 802610E8 0000202D */ daddu $a0, $zero, $zero
|
|
/* 18F9CC 802610EC 0080282D */ daddu $a1, $a0, $zero
|
|
/* 18F9D0 802610F0 0080302D */ daddu $a2, $a0, $zero
|
|
/* 18F9D4 802610F4 0080382D */ daddu $a3, $a0, $zero
|
|
/* 18F9D8 802610F8 3C028015 */ lui $v0, 0x8015
|
|
/* 18F9DC 802610FC 8C4212F0 */ lw $v0, 0x12f0($v0)
|
|
/* 18F9E0 80261100 24030001 */ addiu $v1, $zero, 1
|
|
/* 18F9E4 80261104 0C046F97 */ jal func_8011BE5C
|
|
/* 18F9E8 80261108 A0430000 */ sb $v1, ($v0)
|
|
/* 18F9EC 8026110C 24020014 */ addiu $v0, $zero, 0x14
|
|
/* 18F9F0 80261110 AE020070 */ sw $v0, 0x70($s0)
|
|
.L80261114:
|
|
/* 18F9F4 80261114 0000202D */ daddu $a0, $zero, $zero
|
|
/* 18F9F8 80261118 0080282D */ daddu $a1, $a0, $zero
|
|
/* 18F9FC 8026111C 0080302D */ daddu $a2, $a0, $zero
|
|
/* 18FA00 80261120 8E030070 */ lw $v1, 0x70($s0)
|
|
/* 18FA04 80261124 24020014 */ addiu $v0, $zero, 0x14
|
|
/* 18FA08 80261128 00431023 */ subu $v0, $v0, $v1
|
|
/* 18FA0C 8026112C 00023840 */ sll $a3, $v0, 1
|
|
/* 18FA10 80261130 00E23821 */ addu $a3, $a3, $v0
|
|
/* 18FA14 80261134 00073880 */ sll $a3, $a3, 2
|
|
/* 18FA18 80261138 0C046F97 */ jal func_8011BE5C
|
|
/* 18FA1C 8026113C 30E700FC */ andi $a3, $a3, 0xfc
|
|
/* 18FA20 80261140 8E020070 */ lw $v0, 0x70($s0)
|
|
/* 18FA24 80261144 2442FFFF */ addiu $v0, $v0, -1
|
|
/* 18FA28 80261148 AE020070 */ sw $v0, 0x70($s0)
|
|
/* 18FA2C 8026114C 2C420001 */ sltiu $v0, $v0, 1
|
|
/* 18FA30 80261150 8FBF0014 */ lw $ra, 0x14($sp)
|
|
/* 18FA34 80261154 8FB00010 */ lw $s0, 0x10($sp)
|
|
/* 18FA38 80261158 00021040 */ sll $v0, $v0, 1
|
|
/* 18FA3C 8026115C 03E00008 */ jr $ra
|
|
/* 18FA40 80261160 27BD0018 */ addiu $sp, $sp, 0x18
|
|
|
|
/* 18FA44 80261164 27BDFFE8 */ addiu $sp, $sp, -0x18
|
|
/* 18FA48 80261168 AFB00010 */ sw $s0, 0x10($sp)
|
|
/* 18FA4C 8026116C 0080802D */ daddu $s0, $a0, $zero
|
|
/* 18FA50 80261170 10A00004 */ beqz $a1, .L80261184
|
|
/* 18FA54 80261174 AFBF0014 */ sw $ra, 0x14($sp)
|
|
/* 18FA58 80261178 24020014 */ addiu $v0, $zero, 0x14
|
|
/* 18FA5C 8026117C 0C093980 */ jal unfreeze_cam
|
|
/* 18FA60 80261180 AE020070 */ sw $v0, 0x70($s0)
|
|
.L80261184:
|
|
/* 18FA64 80261184 0000202D */ daddu $a0, $zero, $zero
|
|
/* 18FA68 80261188 0080282D */ daddu $a1, $a0, $zero
|
|
/* 18FA6C 8026118C 8E020070 */ lw $v0, 0x70($s0)
|
|
/* 18FA70 80261190 0080302D */ daddu $a2, $a0, $zero
|
|
/* 18FA74 80261194 00023840 */ sll $a3, $v0, 1
|
|
/* 18FA78 80261198 00E23821 */ addu $a3, $a3, $v0
|
|
/* 18FA7C 8026119C 00073880 */ sll $a3, $a3, 2
|
|
/* 18FA80 802611A0 0C046F97 */ jal func_8011BE5C
|
|
/* 18FA84 802611A4 30E700FC */ andi $a3, $a3, 0xfc
|
|
/* 18FA88 802611A8 8E020070 */ lw $v0, 0x70($s0)
|
|
/* 18FA8C 802611AC 2442FFFF */ addiu $v0, $v0, -1
|
|
/* 18FA90 802611B0 10400003 */ beqz $v0, .L802611C0
|
|
/* 18FA94 802611B4 AE020070 */ sw $v0, 0x70($s0)
|
|
/* 18FA98 802611B8 08098476 */ j .L802611D8
|
|
/* 18FA9C 802611BC 0000102D */ daddu $v0, $zero, $zero
|
|
|
|
.L802611C0:
|
|
/* 18FAA0 802611C0 0000202D */ daddu $a0, $zero, $zero
|
|
/* 18FAA4 802611C4 0080282D */ daddu $a1, $a0, $zero
|
|
/* 18FAA8 802611C8 0080302D */ daddu $a2, $a0, $zero
|
|
/* 18FAAC 802611CC 0C046F97 */ jal func_8011BE5C
|
|
/* 18FAB0 802611D0 0080382D */ daddu $a3, $a0, $zero
|
|
/* 18FAB4 802611D4 24020002 */ addiu $v0, $zero, 2
|
|
.L802611D8:
|
|
/* 18FAB8 802611D8 8FBF0014 */ lw $ra, 0x14($sp)
|
|
/* 18FABC 802611DC 8FB00010 */ lw $s0, 0x10($sp)
|
|
/* 18FAC0 802611E0 03E00008 */ jr $ra
|
|
/* 18FAC4 802611E4 27BD0018 */ addiu $sp, $sp, 0x18
|
|
|
|
/* 18FAC8 802611E8 27BDFFE0 */ addiu $sp, $sp, -0x20
|
|
/* 18FACC 802611EC AFB20018 */ sw $s2, 0x18($sp)
|
|
/* 18FAD0 802611F0 0080902D */ daddu $s2, $a0, $zero
|
|
/* 18FAD4 802611F4 3C048011 */ lui $a0, 0x8011
|
|
/* 18FAD8 802611F8 2484F290 */ addiu $a0, $a0, -0xd70
|
|
/* 18FADC 802611FC AFB10014 */ sw $s1, 0x14($sp)
|
|
/* 18FAE0 80261200 3C118009 */ lui $s1, 0x8009
|
|
/* 18FAE4 80261204 26318B80 */ addiu $s1, $s1, -0x7480
|
|
/* 18FAE8 80261208 AFBF001C */ sw $ra, 0x1c($sp)
|
|
/* 18FAEC 8026120C AFB00010 */ sw $s0, 0x10($sp)
|
|
/* 18FAF0 80261210 90820002 */ lbu $v0, 2($a0)
|
|
/* 18FAF4 80261214 9223001B */ lbu $v1, 0x1b($s1)
|
|
/* 18FAF8 80261218 00431021 */ addu $v0, $v0, $v1
|
|
/* 18FAFC 8026121C A0820002 */ sb $v0, 2($a0)
|
|
/* 18FB00 80261220 00021600 */ sll $v0, $v0, 0x18
|
|
/* 18FB04 80261224 80830003 */ lb $v1, 3($a0)
|
|
/* 18FB08 80261228 00021603 */ sra $v0, $v0, 0x18
|
|
/* 18FB0C 8026122C 0062182A */ slt $v1, $v1, $v0
|
|
/* 18FB10 80261230 90820003 */ lbu $v0, 3($a0)
|
|
/* 18FB14 80261234 10600002 */ beqz $v1, .L80261240
|
|
/* 18FB18 80261238 0080802D */ daddu $s0, $a0, $zero
|
|
/* 18FB1C 8026123C A0820002 */ sb $v0, 2($a0)
|
|
.L80261240:
|
|
/* 18FB20 80261240 0C039D91 */ jal find_item
|
|
/* 18FB24 80261244 24040095 */ addiu $a0, $zero, 0x95
|
|
/* 18FB28 80261248 00021040 */ sll $v0, $v0, 1
|
|
/* 18FB2C 8026124C 00501021 */ addu $v0, $v0, $s0
|
|
/* 18FB30 80261250 0C039DB3 */ jal sort_items
|
|
/* 18FB34 80261254 A44001B4 */ sh $zero, 0x1b4($v0)
|
|
/* 18FB38 80261258 8223001B */ lb $v1, 0x1b($s1)
|
|
/* 18FB3C 8026125C AE430090 */ sw $v1, 0x90($s2)
|
|
/* 18FB40 80261260 8FBF001C */ lw $ra, 0x1c($sp)
|
|
/* 18FB44 80261264 8FB20018 */ lw $s2, 0x18($sp)
|
|
/* 18FB48 80261268 8FB10014 */ lw $s1, 0x14($sp)
|
|
/* 18FB4C 8026126C 8FB00010 */ lw $s0, 0x10($sp)
|
|
/* 18FB50 80261270 24020002 */ addiu $v0, $zero, 2
|
|
/* 18FB54 80261274 03E00008 */ jr $ra
|
|
/* 18FB58 80261278 27BD0020 */ addiu $sp, $sp, 0x20
|
|
|
|
/* 18FB5C 8026127C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
|
/* 18FB60 80261280 3C04F7FF */ lui $a0, 0xf7ff
|
|
/* 18FB64 80261284 3C02800E */ lui $v0, 0x800e
|
|
/* 18FB68 80261288 8C42C4E4 */ lw $v0, -0x3b1c($v0)
|
|
/* 18FB6C 8026128C 3C03800E */ lui $v1, 0x800e
|
|
/* 18FB70 80261290 8C63C4D8 */ lw $v1, -0x3b28($v1)
|
|
/* 18FB74 80261294 3484FFFF */ ori $a0, $a0, 0xffff
|
|
/* 18FB78 80261298 AFB00010 */ sw $s0, 0x10($sp)
|
|
/* 18FB7C 8026129C 3C10800E */ lui $s0, 0x800e
|
|
/* 18FB80 802612A0 2610C070 */ addiu $s0, $s0, -0x3f90
|
|
/* 18FB84 802612A4 AFBF0018 */ sw $ra, 0x18($sp)
|
|
/* 18FB88 802612A8 AFB10014 */ sw $s1, 0x14($sp)
|
|
/* 18FB8C 802612AC A2000099 */ sb $zero, 0x99($s0)
|
|
/* 18FB90 802612B0 3C01800E */ lui $at, 0x800e
|
|
/* 18FB94 802612B4 AC22C068 */ sw $v0, -0x3f98($at)
|
|
/* 18FB98 802612B8 8E020000 */ lw $v0, ($s0)
|
|
/* 18FB9C 802612BC 3C118011 */ lui $s1, 0x8011
|
|
/* 18FBA0 802612C0 2631F290 */ addiu $s1, $s1, -0xd70
|
|
/* 18FBA4 802612C4 3C01800E */ lui $at, 0x800e
|
|
/* 18FBA8 802612C8 AC23C4DC */ sw $v1, -0x3b24($at)
|
|
/* 18FBAC 802612CC 8E030004 */ lw $v1, 4($s0)
|
|
/* 18FBB0 802612D0 34420008 */ ori $v0, $v0, 8
|
|
/* 18FBB4 802612D4 00642024 */ and $a0, $v1, $a0
|
|
/* 18FBB8 802612D8 30630040 */ andi $v1, $v1, 0x40
|
|
/* 18FBBC 802612DC AE020000 */ sw $v0, ($s0)
|
|
/* 18FBC0 802612E0 14600023 */ bnez $v1, .L80261370
|
|
/* 18FBC4 802612E4 AE040004 */ sw $a0, 4($s0)
|
|
/* 18FBC8 802612E8 82220002 */ lb $v0, 2($s1)
|
|
/* 18FBCC 802612EC 28420002 */ slti $v0, $v0, 2
|
|
/* 18FBD0 802612F0 1040000B */ beqz $v0, .L80261320
|
|
/* 18FBD4 802612F4 00000000 */ nop
|
|
/* 18FBD8 802612F8 0C03A752 */ jal is_ability_active
|
|
/* 18FBDC 802612FC 24040014 */ addiu $a0, $zero, 0x14
|
|
/* 18FBE0 80261300 10400007 */ beqz $v0, .L80261320
|
|
/* 18FBE4 80261304 3C020800 */ lui $v0, 0x800
|
|
/* 18FBE8 80261308 8E030004 */ lw $v1, 4($s0)
|
|
/* 18FBEC 8026130C 92040099 */ lbu $a0, 0x99($s0)
|
|
/* 18FBF0 80261310 00621825 */ or $v1, $v1, $v0
|
|
/* 18FBF4 80261314 34840001 */ ori $a0, $a0, 1
|
|
/* 18FBF8 80261318 AE030004 */ sw $v1, 4($s0)
|
|
/* 18FBFC 8026131C A2040099 */ sb $a0, 0x99($s0)
|
|
.L80261320:
|
|
/* 18FC00 80261320 82220002 */ lb $v0, 2($s1)
|
|
/* 18FC04 80261324 28420006 */ slti $v0, $v0, 6
|
|
/* 18FC08 80261328 10400011 */ beqz $v0, .L80261370
|
|
/* 18FC0C 8026132C 00000000 */ nop
|
|
/* 18FC10 80261330 0C03A752 */ jal is_ability_active
|
|
/* 18FC14 80261334 2404001E */ addiu $a0, $zero, 0x1e
|
|
/* 18FC18 80261338 1040000D */ beqz $v0, .L80261370
|
|
/* 18FC1C 8026133C 00000000 */ nop
|
|
/* 18FC20 80261340 92020099 */ lbu $v0, 0x99($s0)
|
|
/* 18FC24 80261344 30420001 */ andi $v0, $v0, 1
|
|
/* 18FC28 80261348 14400009 */ bnez $v0, .L80261370
|
|
/* 18FC2C 8026134C 3C040800 */ lui $a0, 0x800
|
|
/* 18FC30 80261350 3C05800E */ lui $a1, 0x800e
|
|
/* 18FC34 80261354 24A5C070 */ addiu $a1, $a1, -0x3f90
|
|
/* 18FC38 80261358 8CA20004 */ lw $v0, 4($a1)
|
|
/* 18FC3C 8026135C 92030099 */ lbu $v1, 0x99($s0)
|
|
/* 18FC40 80261360 00441025 */ or $v0, $v0, $a0
|
|
/* 18FC44 80261364 34630002 */ ori $v1, $v1, 2
|
|
/* 18FC48 80261368 ACA20004 */ sw $v0, 4($a1)
|
|
/* 18FC4C 8026136C A2030099 */ sb $v1, 0x99($s0)
|
|
.L80261370:
|
|
/* 18FC50 80261370 8FBF0018 */ lw $ra, 0x18($sp)
|
|
/* 18FC54 80261374 8FB10014 */ lw $s1, 0x14($sp)
|
|
/* 18FC58 80261378 8FB00010 */ lw $s0, 0x10($sp)
|
|
/* 18FC5C 8026137C 24020002 */ addiu $v0, $zero, 2
|
|
/* 18FC60 80261380 03E00008 */ jr $ra
|
|
/* 18FC64 80261384 27BD0020 */ addiu $sp, $sp, 0x20
|
|
|
|
/* 18FC68 80261388 3C02800E */ lui $v0, 0x800e
|
|
/* 18FC6C 8026138C 8C42C14C */ lw $v0, -0x3eb4($v0)
|
|
/* 18FC70 80261390 10400003 */ beqz $v0, .L802613A0
|
|
/* 18FC74 80261394 AC800084 */ sw $zero, 0x84($a0)
|
|
/* 18FC78 80261398 24020001 */ addiu $v0, $zero, 1
|
|
/* 18FC7C 8026139C AC820084 */ sw $v0, 0x84($a0)
|
|
.L802613A0:
|
|
/* 18FC80 802613A0 03E00008 */ jr $ra
|
|
/* 18FC84 802613A4 24020002 */ addiu $v0, $zero, 2
|
|
|
|
/* 18FC88 802613A8 24020095 */ addiu $v0, $zero, 0x95
|
|
/* 18FC8C 802613AC 3C01800E */ lui $at, 0x800e
|
|
/* 18FC90 802613B0 A422C1EA */ sh $v0, -0x3e16($at)
|
|
/* 18FC94 802613B4 03E00008 */ jr $ra
|
|
/* 18FC98 802613B8 24020002 */ addiu $v0, $zero, 2
|
|
|
|
/* 18FC9C 802613BC 27BDFFD8 */ addiu $sp, $sp, -0x28
|
|
/* 18FCA0 802613C0 AFB1001C */ sw $s1, 0x1c($sp)
|
|
/* 18FCA4 802613C4 0080882D */ daddu $s1, $a0, $zero
|
|
/* 18FCA8 802613C8 AFBF0024 */ sw $ra, 0x24($sp)
|
|
/* 18FCAC 802613CC AFB20020 */ sw $s2, 0x20($sp)
|
|
/* 18FCB0 802613D0 AFB00018 */ sw $s0, 0x18($sp)
|
|
/* 18FCB4 802613D4 8E30000C */ lw $s0, 0xc($s1)
|
|
/* 18FCB8 802613D8 8E050000 */ lw $a1, ($s0)
|
|
/* 18FCBC 802613DC 0C0B1EAF */ jal get_variable
|
|
/* 18FCC0 802613E0 26100004 */ addiu $s0, $s0, 4
|
|
/* 18FCC4 802613E4 8E050000 */ lw $a1, ($s0)
|
|
/* 18FCC8 802613E8 26100004 */ addiu $s0, $s0, 4
|
|
/* 18FCCC 802613EC 0220202D */ daddu $a0, $s1, $zero
|
|
/* 18FCD0 802613F0 0C0B1EAF */ jal get_variable
|
|
/* 18FCD4 802613F4 0040902D */ daddu $s2, $v0, $zero
|
|
/* 18FCD8 802613F8 0220202D */ daddu $a0, $s1, $zero
|
|
/* 18FCDC 802613FC 8E050000 */ lw $a1, ($s0)
|
|
/* 18FCE0 80261400 0C0B1EAF */ jal get_variable
|
|
/* 18FCE4 80261404 0040802D */ daddu $s0, $v0, $zero
|
|
/* 18FCE8 80261408 24040006 */ addiu $a0, $zero, 6
|
|
/* 18FCEC 8026140C 44921000 */ mtc1 $s2, $f2
|
|
/* 18FCF0 80261410 00000000 */ nop
|
|
/* 18FCF4 80261414 468010A0 */ cvt.s.w $f2, $f2
|
|
/* 18FCF8 80261418 2610000F */ addiu $s0, $s0, 0xf
|
|
/* 18FCFC 8026141C 44051000 */ mfc1 $a1, $f2
|
|
/* 18FD00 80261420 44901000 */ mtc1 $s0, $f2
|
|
/* 18FD04 80261424 00000000 */ nop
|
|
/* 18FD08 80261428 468010A0 */ cvt.s.w $f2, $f2
|
|
/* 18FD0C 8026142C 44061000 */ mfc1 $a2, $f2
|
|
/* 18FD10 80261430 44821000 */ mtc1 $v0, $f2
|
|
/* 18FD14 80261434 00000000 */ nop
|
|
/* 18FD18 80261438 468010A0 */ cvt.s.w $f2, $f2
|
|
/* 18FD1C 8026143C 3C013F99 */ lui $at, 0x3f99
|
|
/* 18FD20 80261440 3421999A */ ori $at, $at, 0x999a
|
|
/* 18FD24 80261444 44810000 */ mtc1 $at, $f0
|
|
/* 18FD28 80261448 44071000 */ mfc1 $a3, $f2
|
|
/* 18FD2C 8026144C 2403001E */ addiu $v1, $zero, 0x1e
|
|
/* 18FD30 80261450 AFA30014 */ sw $v1, 0x14($sp)
|
|
/* 18FD34 80261454 0C01C82C */ jal func_800720B0
|
|
/* 18FD38 80261458 E7A00010 */ swc1 $f0, 0x10($sp)
|
|
/* 18FD3C 8026145C 8FBF0024 */ lw $ra, 0x24($sp)
|
|
/* 18FD40 80261460 8FB20020 */ lw $s2, 0x20($sp)
|
|
/* 18FD44 80261464 8FB1001C */ lw $s1, 0x1c($sp)
|
|
/* 18FD48 80261468 8FB00018 */ lw $s0, 0x18($sp)
|
|
/* 18FD4C 8026146C 24020002 */ addiu $v0, $zero, 2
|
|
/* 18FD50 80261470 03E00008 */ jr $ra
|
|
/* 18FD54 80261474 27BD0028 */ addiu $sp, $sp, 0x28
|
|
|
|
/* 18FD58 80261478 27BDFFD8 */ addiu $sp, $sp, -0x28
|
|
/* 18FD5C 8026147C AFB1001C */ sw $s1, 0x1c($sp)
|
|
/* 18FD60 80261480 0080882D */ daddu $s1, $a0, $zero
|
|
/* 18FD64 80261484 AFBF0024 */ sw $ra, 0x24($sp)
|
|
/* 18FD68 80261488 AFB20020 */ sw $s2, 0x20($sp)
|
|
/* 18FD6C 8026148C AFB00018 */ sw $s0, 0x18($sp)
|
|
/* 18FD70 80261490 8E30000C */ lw $s0, 0xc($s1)
|
|
/* 18FD74 80261494 8E050000 */ lw $a1, ($s0)
|
|
/* 18FD78 80261498 0C0B1EAF */ jal get_variable
|
|
/* 18FD7C 8026149C 26100004 */ addiu $s0, $s0, 4
|
|
/* 18FD80 802614A0 8E050000 */ lw $a1, ($s0)
|
|
/* 18FD84 802614A4 26100004 */ addiu $s0, $s0, 4
|
|
/* 18FD88 802614A8 0220202D */ daddu $a0, $s1, $zero
|
|
/* 18FD8C 802614AC 0C0B1EAF */ jal get_variable
|
|
/* 18FD90 802614B0 0040902D */ daddu $s2, $v0, $zero
|
|
/* 18FD94 802614B4 0220202D */ daddu $a0, $s1, $zero
|
|
/* 18FD98 802614B8 8E050000 */ lw $a1, ($s0)
|
|
/* 18FD9C 802614BC 0C0B1EAF */ jal get_variable
|
|
/* 18FDA0 802614C0 0040802D */ daddu $s0, $v0, $zero
|
|
/* 18FDA4 802614C4 44921000 */ mtc1 $s2, $f2
|
|
/* 18FDA8 802614C8 00000000 */ nop
|
|
/* 18FDAC 802614CC 468010A0 */ cvt.s.w $f2, $f2
|
|
/* 18FDB0 802614D0 2403000F */ addiu $v1, $zero, 0xf
|
|
/* 18FDB4 802614D4 02038021 */ addu $s0, $s0, $v1
|
|
/* 18FDB8 802614D8 44051000 */ mfc1 $a1, $f2
|
|
/* 18FDBC 802614DC 44901000 */ mtc1 $s0, $f2
|
|
/* 18FDC0 802614E0 00000000 */ nop
|
|
/* 18FDC4 802614E4 468010A0 */ cvt.s.w $f2, $f2
|
|
/* 18FDC8 802614E8 44061000 */ mfc1 $a2, $f2
|
|
/* 18FDCC 802614EC 44821000 */ mtc1 $v0, $f2
|
|
/* 18FDD0 802614F0 00000000 */ nop
|
|
/* 18FDD4 802614F4 468010A0 */ cvt.s.w $f2, $f2
|
|
/* 18FDD8 802614F8 3C0140A0 */ lui $at, 0x40a0
|
|
/* 18FDDC 802614FC 44810000 */ mtc1 $at, $f0
|
|
/* 18FDE0 80261500 44071000 */ mfc1 $a3, $f2
|
|
/* 18FDE4 80261504 24040009 */ addiu $a0, $zero, 9
|
|
/* 18FDE8 80261508 AFA30014 */ sw $v1, 0x14($sp)
|
|
/* 18FDEC 8026150C 0C01C5D4 */ jal func_80071750
|
|
/* 18FDF0 80261510 E7A00010 */ swc1 $f0, 0x10($sp)
|
|
/* 18FDF4 80261514 8FBF0024 */ lw $ra, 0x24($sp)
|
|
/* 18FDF8 80261518 8FB20020 */ lw $s2, 0x20($sp)
|
|
/* 18FDFC 8026151C 8FB1001C */ lw $s1, 0x1c($sp)
|
|
/* 18FE00 80261520 8FB00018 */ lw $s0, 0x18($sp)
|
|
/* 18FE04 80261524 24020002 */ addiu $v0, $zero, 2
|
|
/* 18FE08 80261528 03E00008 */ jr $ra
|
|
/* 18FE0C 8026152C 27BD0028 */ addiu $sp, $sp, 0x28
|
|
|
|
/* 18FE10 80261530 27BDFFE8 */ addiu $sp, $sp, -0x18
|
|
/* 18FE14 80261534 AFB00010 */ sw $s0, 0x10($sp)
|
|
/* 18FE18 80261538 0080802D */ daddu $s0, $a0, $zero
|
|
/* 18FE1C 8026153C 10A0000E */ beqz $a1, .L80261578
|
|
/* 18FE20 80261540 AFBF0014 */ sw $ra, 0x14($sp)
|
|
/* 18FE24 80261544 0C04760B */ jal func_8011D82C
|
|
/* 18FE28 80261548 24040001 */ addiu $a0, $zero, 1
|
|
/* 18FE2C 8026154C 0000202D */ daddu $a0, $zero, $zero
|
|
/* 18FE30 80261550 0080282D */ daddu $a1, $a0, $zero
|
|
/* 18FE34 80261554 0080302D */ daddu $a2, $a0, $zero
|
|
/* 18FE38 80261558 0080382D */ daddu $a3, $a0, $zero
|
|
/* 18FE3C 8026155C 3C028015 */ lui $v0, 0x8015
|
|
/* 18FE40 80261560 8C4212F0 */ lw $v0, 0x12f0($v0)
|
|
/* 18FE44 80261564 24030001 */ addiu $v1, $zero, 1
|
|
/* 18FE48 80261568 0C046F97 */ jal func_8011BE5C
|
|
/* 18FE4C 8026156C A0430000 */ sb $v1, ($v0)
|
|
/* 18FE50 80261570 24020019 */ addiu $v0, $zero, 0x19
|
|
/* 18FE54 80261574 AE020070 */ sw $v0, 0x70($s0)
|
|
.L80261578:
|
|
/* 18FE58 80261578 0000202D */ daddu $a0, $zero, $zero
|
|
/* 18FE5C 8026157C 0080282D */ daddu $a1, $a0, $zero
|
|
/* 18FE60 80261580 0080302D */ daddu $a2, $a0, $zero
|
|
/* 18FE64 80261584 8E030070 */ lw $v1, 0x70($s0)
|
|
/* 18FE68 80261588 24020019 */ addiu $v0, $zero, 0x19
|
|
/* 18FE6C 8026158C 00431023 */ subu $v0, $v0, $v1
|
|
/* 18FE70 80261590 00023880 */ sll $a3, $v0, 2
|
|
/* 18FE74 80261594 00E23821 */ addu $a3, $a3, $v0
|
|
/* 18FE78 80261598 00073840 */ sll $a3, $a3, 1
|
|
/* 18FE7C 8026159C 0C046F97 */ jal func_8011BE5C
|
|
/* 18FE80 802615A0 30E700FE */ andi $a3, $a3, 0xfe
|
|
/* 18FE84 802615A4 8E020070 */ lw $v0, 0x70($s0)
|
|
/* 18FE88 802615A8 2442FFFF */ addiu $v0, $v0, -1
|
|
/* 18FE8C 802615AC AE020070 */ sw $v0, 0x70($s0)
|
|
/* 18FE90 802615B0 2C420001 */ sltiu $v0, $v0, 1
|
|
/* 18FE94 802615B4 8FBF0014 */ lw $ra, 0x14($sp)
|
|
/* 18FE98 802615B8 8FB00010 */ lw $s0, 0x10($sp)
|
|
/* 18FE9C 802615BC 00021040 */ sll $v0, $v0, 1
|
|
/* 18FEA0 802615C0 03E00008 */ jr $ra
|
|
/* 18FEA4 802615C4 27BD0018 */ addiu $sp, $sp, 0x18
|
|
|
|
/* 18FEA8 802615C8 27BDFFE8 */ addiu $sp, $sp, -0x18
|
|
/* 18FEAC 802615CC AFB00010 */ sw $s0, 0x10($sp)
|
|
/* 18FEB0 802615D0 0080802D */ daddu $s0, $a0, $zero
|
|
/* 18FEB4 802615D4 10A00003 */ beqz $a1, .L802615E4
|
|
/* 18FEB8 802615D8 AFBF0014 */ sw $ra, 0x14($sp)
|
|
/* 18FEBC 802615DC 24020019 */ addiu $v0, $zero, 0x19
|
|
/* 18FEC0 802615E0 AE020070 */ sw $v0, 0x70($s0)
|
|
.L802615E4:
|
|
/* 18FEC4 802615E4 0000202D */ daddu $a0, $zero, $zero
|
|
/* 18FEC8 802615E8 0080282D */ daddu $a1, $a0, $zero
|
|
/* 18FECC 802615EC 8E020070 */ lw $v0, 0x70($s0)
|
|
/* 18FED0 802615F0 0080302D */ daddu $a2, $a0, $zero
|
|
/* 18FED4 802615F4 00023880 */ sll $a3, $v0, 2
|
|
/* 18FED8 802615F8 00E23821 */ addu $a3, $a3, $v0
|
|
/* 18FEDC 802615FC 00073840 */ sll $a3, $a3, 1
|
|
/* 18FEE0 80261600 0C046F97 */ jal func_8011BE5C
|
|
/* 18FEE4 80261604 30E700FE */ andi $a3, $a3, 0xfe
|
|
/* 18FEE8 80261608 8E020070 */ lw $v0, 0x70($s0)
|
|
/* 18FEEC 8026160C 2442FFFB */ addiu $v0, $v0, -5
|
|
/* 18FEF0 80261610 10400003 */ beqz $v0, .L80261620
|
|
/* 18FEF4 80261614 AE020070 */ sw $v0, 0x70($s0)
|
|
/* 18FEF8 80261618 0809858E */ j .L80261638
|
|
/* 18FEFC 8026161C 0000102D */ daddu $v0, $zero, $zero
|
|
|
|
.L80261620:
|
|
/* 18FF00 80261620 0000202D */ daddu $a0, $zero, $zero
|
|
/* 18FF04 80261624 0080282D */ daddu $a1, $a0, $zero
|
|
/* 18FF08 80261628 0080302D */ daddu $a2, $a0, $zero
|
|
/* 18FF0C 8026162C 0C046F97 */ jal func_8011BE5C
|
|
/* 18FF10 80261630 0080382D */ daddu $a3, $a0, $zero
|
|
/* 18FF14 80261634 24020002 */ addiu $v0, $zero, 2
|
|
.L80261638:
|
|
/* 18FF18 80261638 8FBF0014 */ lw $ra, 0x14($sp)
|
|
/* 18FF1C 8026163C 8FB00010 */ lw $s0, 0x10($sp)
|
|
/* 18FF20 80261640 03E00008 */ jr $ra
|
|
/* 18FF24 80261644 27BD0018 */ addiu $sp, $sp, 0x18
|
|
|
|
/* 18FF28 80261648 27BDFFE0 */ addiu $sp, $sp, -0x20
|
|
/* 18FF2C 8026164C AFB00010 */ sw $s0, 0x10($sp)
|
|
/* 18FF30 80261650 00A0802D */ daddu $s0, $a1, $zero
|
|
/* 18FF34 80261654 2404FFF6 */ addiu $a0, $zero, -0xa
|
|
/* 18FF38 80261658 AFBF0018 */ sw $ra, 0x18($sp)
|
|
/* 18FF3C 8026165C 0C00EABB */ jal get_npc_unsafe
|
|
/* 18FF40 80261660 AFB10014 */ sw $s1, 0x14($sp)
|
|
/* 18FF44 80261664 12000004 */ beqz $s0, .L80261678
|
|
/* 18FF48 80261668 0040882D */ daddu $s1, $v0, $zero
|
|
/* 18FF4C 8026166C 0C05272D */ jal play_sound
|
|
/* 18FF50 80261670 2404024B */ addiu $a0, $zero, 0x24b
|
|
/* 18FF54 80261674 A22000AC */ sb $zero, 0xac($s1)
|
|
.L80261678:
|
|
/* 18FF58 80261678 922200AC */ lbu $v0, 0xac($s1)
|
|
/* 18FF5C 8026167C 24420011 */ addiu $v0, $v0, 0x11
|
|
/* 18FF60 80261680 A22200AC */ sb $v0, 0xac($s1)
|
|
/* 18FF64 80261684 304200FF */ andi $v0, $v0, 0xff
|
|
/* 18FF68 80261688 2C4200FF */ sltiu $v0, $v0, 0xff
|
|
/* 18FF6C 8026168C 14400004 */ bnez $v0, .L802616A0
|
|
/* 18FF70 80261690 0000102D */ daddu $v0, $zero, $zero
|
|
/* 18FF74 80261694 240200FF */ addiu $v0, $zero, 0xff
|
|
/* 18FF78 80261698 A22200AC */ sb $v0, 0xac($s1)
|
|
/* 18FF7C 8026169C 24020001 */ addiu $v0, $zero, 1
|
|
.L802616A0:
|
|
/* 18FF80 802616A0 8FBF0018 */ lw $ra, 0x18($sp)
|
|
/* 18FF84 802616A4 8FB10014 */ lw $s1, 0x14($sp)
|
|
/* 18FF88 802616A8 8FB00010 */ lw $s0, 0x10($sp)
|
|
/* 18FF8C 802616AC 03E00008 */ jr $ra
|
|
/* 18FF90 802616B0 27BD0020 */ addiu $sp, $sp, 0x20
|
|
|
|
/* 18FF94 802616B4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
|
/* 18FF98 802616B8 AFBF0010 */ sw $ra, 0x10($sp)
|
|
/* 18FF9C 802616BC 0C00EABB */ jal get_npc_unsafe
|
|
/* 18FFA0 802616C0 2404FFF6 */ addiu $a0, $zero, -0xa
|
|
/* 18FFA4 802616C4 0040182D */ daddu $v1, $v0, $zero
|
|
/* 18FFA8 802616C8 906200AC */ lbu $v0, 0xac($v1)
|
|
/* 18FFAC 802616CC 2442FFEF */ addiu $v0, $v0, -0x11
|
|
/* 18FFB0 802616D0 A06200AC */ sb $v0, 0xac($v1)
|
|
/* 18FFB4 802616D4 304200FF */ andi $v0, $v0, 0xff
|
|
/* 18FFB8 802616D8 14400003 */ bnez $v0, .L802616E8
|
|
/* 18FFBC 802616DC 0000102D */ daddu $v0, $zero, $zero
|
|
/* 18FFC0 802616E0 A06000AC */ sb $zero, 0xac($v1)
|
|
/* 18FFC4 802616E4 24020001 */ addiu $v0, $zero, 1
|
|
.L802616E8:
|
|
/* 18FFC8 802616E8 8FBF0010 */ lw $ra, 0x10($sp)
|
|
/* 18FFCC 802616EC 03E00008 */ jr $ra
|
|
/* 18FFD0 802616F0 27BD0018 */ addiu $sp, $sp, 0x18
|
|
|
|
/* 18FFD4 802616F4 27BDFFD8 */ addiu $sp, $sp, -0x28
|
|
/* 18FFD8 802616F8 AFB20020 */ sw $s2, 0x20($sp)
|
|
/* 18FFDC 802616FC 0080902D */ daddu $s2, $a0, $zero
|
|
/* 18FFE0 80261700 AFB00018 */ sw $s0, 0x18($sp)
|
|
/* 18FFE4 80261704 00A0802D */ daddu $s0, $a1, $zero
|
|
/* 18FFE8 80261708 2404FFF6 */ addiu $a0, $zero, -0xa
|
|
/* 18FFEC 8026170C AFBF0024 */ sw $ra, 0x24($sp)
|
|
/* 18FFF0 80261710 0C00EABB */ jal get_npc_unsafe
|
|
/* 18FFF4 80261714 AFB1001C */ sw $s1, 0x1c($sp)
|
|
/* 18FFF8 80261718 12000024 */ beqz $s0, .L802617AC
|
|
/* 18FFFC 8026171C 0040882D */ daddu $s1, $v0, $zero
|
|
/* 190000 80261720 AE400074 */ sw $zero, 0x74($s2)
|
|
/* 190004 80261724 C622003C */ lwc1 $f2, 0x3c($s1)
|
|
/* 190008 80261728 3C013ECC */ lui $at, 0x3ecc
|
|
/* 19000C 8026172C 3421CCCD */ ori $at, $at, 0xcccd
|
|
/* 190010 80261730 44810000 */ mtc1 $at, $f0
|
|
/* 190014 80261734 AFA00014 */ sw $zero, 0x14($sp)
|
|
/* 190018 80261738 E7A00010 */ swc1 $f0, 0x10($sp)
|
|
/* 19001C 8026173C 8E250038 */ lw $a1, 0x38($s1)
|
|
/* 190020 80261740 8E26003C */ lw $a2, 0x3c($s1)
|
|
/* 190024 80261744 8E270040 */ lw $a3, 0x40($s1)
|
|
/* 190028 80261748 3C01802A */ lui $at, 0x802a
|
|
/* 19002C 8026174C E422FB94 */ swc1 $f2, -0x46c($at)
|
|
/* 190030 80261750 0C01C5D4 */ jal func_80071750
|
|
/* 190034 80261754 0000202D */ daddu $a0, $zero, $zero
|
|
/* 190038 80261758 3C013727 */ lui $at, 0x3727
|
|
/* 19003C 8026175C 3421C5AC */ ori $at, $at, 0xc5ac
|
|
/* 190040 80261760 44810000 */ mtc1 $at, $f0
|
|
/* 190044 80261764 AFA00014 */ sw $zero, 0x14($sp)
|
|
/* 190048 80261768 E7A00010 */ swc1 $f0, 0x10($sp)
|
|
/* 19004C 8026176C 8E250038 */ lw $a1, 0x38($s1)
|
|
/* 190050 80261770 8E26003C */ lw $a2, 0x3c($s1)
|
|
/* 190054 80261774 8E270040 */ lw $a3, 0x40($s1)
|
|
/* 190058 80261778 3C01802A */ lui $at, 0x802a
|
|
/* 19005C 8026177C AC22FB98 */ sw $v0, -0x468($at)
|
|
/* 190060 80261780 0C01C5D4 */ jal func_80071750
|
|
/* 190064 80261784 24040003 */ addiu $a0, $zero, 3
|
|
/* 190068 80261788 3C01802A */ lui $at, 0x802a
|
|
/* 19006C 8026178C AC22FB9C */ sw $v0, -0x464($at)
|
|
/* 190070 80261790 2402000C */ addiu $v0, $zero, 0xc
|
|
/* 190074 80261794 3C01802A */ lui $at, 0x802a
|
|
/* 190078 80261798 A420FBA4 */ sh $zero, -0x45c($at)
|
|
/* 19007C 8026179C 3C01802A */ lui $at, 0x802a
|
|
/* 190080 802617A0 AC22FB90 */ sw $v0, -0x470($at)
|
|
/* 190084 802617A4 0C05272D */ jal play_sound
|
|
/* 190088 802617A8 24042074 */ addiu $a0, $zero, 0x2074
|
|
.L802617AC:
|
|
/* 19008C 802617AC 3C0140C9 */ lui $at, 0x40c9
|
|
/* 190090 802617B0 34210FD0 */ ori $at, $at, 0xfd0
|
|
/* 190094 802617B4 44810000 */ mtc1 $at, $f0
|
|
/* 190098 802617B8 C64C0074 */ lwc1 $f12, 0x74($s2)
|
|
/* 19009C 802617BC 46806320 */ cvt.s.w $f12, $f12
|
|
/* 1900A0 802617C0 46006302 */ mul.s $f12, $f12, $f0
|
|
/* 1900A4 802617C4 00000000 */ nop
|
|
/* 1900A8 802617C8 3C0143B4 */ lui $at, 0x43b4
|
|
/* 1900AC 802617CC 44810000 */ mtc1 $at, $f0
|
|
/* 1900B0 802617D0 0C00A85B */ jal sin_rad
|
|
/* 1900B4 802617D4 46006303 */ div.s $f12, $f12, $f0
|
|
/* 1900B8 802617D8 3C014040 */ lui $at, 0x4040
|
|
/* 1900BC 802617DC 44811000 */ mtc1 $at, $f2
|
|
/* 1900C0 802617E0 00000000 */ nop
|
|
/* 1900C4 802617E4 46020002 */ mul.s $f0, $f0, $f2
|
|
/* 1900C8 802617E8 00000000 */ nop
|
|
/* 1900CC 802617EC 3C01802A */ lui $at, 0x802a
|
|
/* 1900D0 802617F0 C422FB94 */ lwc1 $f2, -0x46c($at)
|
|
/* 1900D4 802617F4 46001080 */ add.s $f2, $f2, $f0
|
|
/* 1900D8 802617F8 E622003C */ swc1 $f2, 0x3c($s1)
|
|
/* 1900DC 802617FC 8E420074 */ lw $v0, 0x74($s2)
|
|
/* 1900E0 80261800 2442000A */ addiu $v0, $v0, 0xa
|
|
/* 1900E4 80261804 44826000 */ mtc1 $v0, $f12
|
|
/* 1900E8 80261808 00000000 */ nop
|
|
/* 1900EC 8026180C 46806320 */ cvt.s.w $f12, $f12
|
|
/* 1900F0 80261810 0C00A6C9 */ jal clamp_angle
|
|
/* 1900F4 80261814 AE420074 */ sw $v0, 0x74($s2)
|
|
/* 1900F8 80261818 4600018D */ trunc.w.s $f6, $f0
|
|
/* 1900FC 8026181C E6460074 */ swc1 $f6, 0x74($s2)
|
|
/* 190100 80261820 3C05802A */ lui $a1, 0x802a
|
|
/* 190104 80261824 8CA5FB98 */ lw $a1, -0x468($a1)
|
|
/* 190108 80261828 C6200038 */ lwc1 $f0, 0x38($s1)
|
|
/* 19010C 8026182C 3C014180 */ lui $at, 0x4180
|
|
/* 190110 80261830 44811000 */ mtc1 $at, $f2
|
|
/* 190114 80261834 8CA2000C */ lw $v0, 0xc($a1)
|
|
/* 190118 80261838 E4400004 */ swc1 $f0, 4($v0)
|
|
/* 19011C 8026183C C620003C */ lwc1 $f0, 0x3c($s1)
|
|
/* 190120 80261840 46020000 */ add.s $f0, $f0, $f2
|
|
/* 190124 80261844 3C08802A */ lui $t0, 0x802a
|
|
/* 190128 80261848 2508FB9C */ addiu $t0, $t0, -0x464
|
|
/* 19012C 8026184C E4400008 */ swc1 $f0, 8($v0)
|
|
/* 190130 80261850 C6200040 */ lwc1 $f0, 0x40($s1)
|
|
/* 190134 80261854 8D040000 */ lw $a0, ($t0)
|
|
/* 190138 80261858 E440000C */ swc1 $f0, 0xc($v0)
|
|
/* 19013C 8026185C 8C82000C */ lw $v0, 0xc($a0)
|
|
/* 190140 80261860 C6200038 */ lwc1 $f0, 0x38($s1)
|
|
/* 190144 80261864 E4400004 */ swc1 $f0, 4($v0)
|
|
/* 190148 80261868 C620003C */ lwc1 $f0, 0x3c($s1)
|
|
/* 19014C 8026186C 46020000 */ add.s $f0, $f0, $f2
|
|
/* 190150 80261870 3C0140A0 */ lui $at, 0x40a0
|
|
/* 190154 80261874 44811000 */ mtc1 $at, $f2
|
|
/* 190158 80261878 E4400008 */ swc1 $f0, 8($v0)
|
|
/* 19015C 8026187C C6200040 */ lwc1 $f0, 0x40($s1)
|
|
/* 190160 80261880 46020000 */ add.s $f0, $f0, $f2
|
|
/* 190164 80261884 3C07802A */ lui $a3, 0x802a
|
|
/* 190168 80261888 24E7FBA4 */ addiu $a3, $a3, -0x45c
|
|
/* 19016C 8026188C E440000C */ swc1 $f0, 0xc($v0)
|
|
/* 190170 80261890 84E30000 */ lh $v1, ($a3)
|
|
/* 190174 80261894 24060002 */ addiu $a2, $zero, 2
|
|
/* 190178 80261898 14660011 */ bne $v1, $a2, .L802618E0
|
|
/* 19017C 8026189C 24020001 */ addiu $v0, $zero, 1
|
|
/* 190180 802618A0 8CA2000C */ lw $v0, 0xc($a1)
|
|
/* 190184 802618A4 3C013727 */ lui $at, 0x3727
|
|
/* 190188 802618A8 3421C5AC */ ori $at, $at, 0xc5ac
|
|
/* 19018C 802618AC 44810000 */ mtc1 $at, $f0
|
|
/* 190190 802618B0 00000000 */ nop
|
|
/* 190194 802618B4 E4400030 */ swc1 $f0, 0x30($v0)
|
|
/* 190198 802618B8 8C82000C */ lw $v0, 0xc($a0)
|
|
/* 19019C 802618BC E4400030 */ swc1 $f0, 0x30($v0)
|
|
/* 1901A0 802618C0 8CA20000 */ lw $v0, ($a1)
|
|
/* 1901A4 802618C4 34420010 */ ori $v0, $v0, 0x10
|
|
/* 1901A8 802618C8 ACA20000 */ sw $v0, ($a1)
|
|
/* 1901AC 802618CC 8C830000 */ lw $v1, ($a0)
|
|
/* 1901B0 802618D0 24020001 */ addiu $v0, $zero, 1
|
|
/* 1901B4 802618D4 34630010 */ ori $v1, $v1, 0x10
|
|
/* 1901B8 802618D8 08098667 */ j .L8026199C
|
|
/* 1901BC 802618DC AC830000 */ sw $v1, ($a0)
|
|
|
|
.L802618E0:
|
|
/* 1901C0 802618E0 1462002E */ bne $v1, $v0, .L8026199C
|
|
/* 1901C4 802618E4 0000102D */ daddu $v0, $zero, $zero
|
|
/* 1901C8 802618E8 8CA2000C */ lw $v0, 0xc($a1)
|
|
/* 1901CC 802618EC C4400030 */ lwc1 $f0, 0x30($v0)
|
|
/* 1901D0 802618F0 3C01802A */ lui $at, 0x802a
|
|
/* 1901D4 802618F4 D422D590 */ ldc1 $f2, -0x2a70($at)
|
|
/* 1901D8 802618F8 46000021 */ cvt.d.s $f0, $f0
|
|
/* 1901DC 802618FC 46220000 */ add.d $f0, $f0, $f2
|
|
/* 1901E0 80261900 3C01400C */ lui $at, 0x400c
|
|
/* 1901E4 80261904 44812800 */ mtc1 $at, $f5
|
|
/* 1901E8 80261908 44802000 */ mtc1 $zero, $f4
|
|
/* 1901EC 8026190C 46200020 */ cvt.s.d $f0, $f0
|
|
/* 1901F0 80261910 460000A1 */ cvt.d.s $f2, $f0
|
|
/* 1901F4 80261914 4622203C */ c.lt.d $f4, $f2
|
|
/* 1901F8 80261918 00000000 */ nop
|
|
/* 1901FC 8026191C 45000005 */ bc1f .L80261934
|
|
/* 190200 80261920 E4400030 */ swc1 $f0, 0x30($v0)
|
|
/* 190204 80261924 3C014060 */ lui $at, 0x4060
|
|
/* 190208 80261928 44810000 */ mtc1 $at, $f0
|
|
/* 19020C 8026192C 00000000 */ nop
|
|
/* 190210 80261930 E4400030 */ swc1 $f0, 0x30($v0)
|
|
.L80261934:
|
|
/* 190214 80261934 3C03802A */ lui $v1, 0x802a
|
|
/* 190218 80261938 2463FB90 */ addiu $v1, $v1, -0x470
|
|
/* 19021C 8026193C 8C620000 */ lw $v0, ($v1)
|
|
/* 190220 80261940 10400003 */ beqz $v0, .L80261950
|
|
/* 190224 80261944 2442FFFF */ addiu $v0, $v0, -1
|
|
/* 190228 80261948 08098666 */ j .L80261998
|
|
/* 19022C 8026194C AC620000 */ sw $v0, ($v1)
|
|
|
|
.L80261950:
|
|
/* 190230 80261950 8D020000 */ lw $v0, ($t0)
|
|
/* 190234 80261954 8C42000C */ lw $v0, 0xc($v0)
|
|
/* 190238 80261958 C4400030 */ lwc1 $f0, 0x30($v0)
|
|
/* 19023C 8026195C 3C013FE0 */ lui $at, 0x3fe0
|
|
/* 190240 80261960 44811800 */ mtc1 $at, $f3
|
|
/* 190244 80261964 44801000 */ mtc1 $zero, $f2
|
|
/* 190248 80261968 46000021 */ cvt.d.s $f0, $f0
|
|
/* 19024C 8026196C 46220000 */ add.d $f0, $f0, $f2
|
|
/* 190250 80261970 3C014014 */ lui $at, 0x4014
|
|
/* 190254 80261974 44812800 */ mtc1 $at, $f5
|
|
/* 190258 80261978 44802000 */ mtc1 $zero, $f4
|
|
/* 19025C 8026197C 46200020 */ cvt.s.d $f0, $f0
|
|
/* 190260 80261980 460000A1 */ cvt.d.s $f2, $f0
|
|
/* 190264 80261984 4622203C */ c.lt.d $f4, $f2
|
|
/* 190268 80261988 00000000 */ nop
|
|
/* 19026C 8026198C 45000002 */ bc1f .L80261998
|
|
/* 190270 80261990 E4400030 */ swc1 $f0, 0x30($v0)
|
|
/* 190274 80261994 A4E60000 */ sh $a2, ($a3)
|
|
.L80261998:
|
|
.L80261998:
|
|
/* 190278 80261998 0000102D */ daddu $v0, $zero, $zero
|
|
.L8026199C:
|
|
.L8026199C:
|
|
/* 19027C 8026199C 8FBF0024 */ lw $ra, 0x24($sp)
|
|
/* 190280 802619A0 8FB20020 */ lw $s2, 0x20($sp)
|
|
/* 190284 802619A4 8FB1001C */ lw $s1, 0x1c($sp)
|
|
/* 190288 802619A8 8FB00018 */ lw $s0, 0x18($sp)
|
|
/* 19028C 802619AC 03E00008 */ jr $ra
|
|
/* 190290 802619B0 27BD0028 */ addiu $sp, $sp, 0x28
|
|
|
|
/* 190294 802619B4 24020001 */ addiu $v0, $zero, 1
|
|
/* 190298 802619B8 3C01802A */ lui $at, 0x802a
|
|
/* 19029C 802619BC A422FBA4 */ sh $v0, -0x45c($at)
|
|
/* 1902A0 802619C0 03E00008 */ jr $ra
|
|
/* 1902A4 802619C4 24020002 */ addiu $v0, $zero, 2
|
|
|