diff --git a/PAPER_MARIO.u.yaml b/PAPER_MARIO.u.yaml index ffdc7f4ae4..44e762c630 100644 --- a/PAPER_MARIO.u.yaml +++ b/PAPER_MARIO.u.yaml @@ -209,7 +209,9 @@ ranges: - [0x109660, 0x10A9F0, "asm", "code_109660_len_1270", 0x802E7DE0] - [0x10A9F0, 0x163400, "bin", "bin_10A9F0"] - [0x163400, 0x16a3e0, "asm", "code_163400", 0x80242BA0] - - [0x16a3e0, 0x3169f0, "bin", "bin_16a3e0"] + - [0x16a3e0, 0x16C8E0, "bin", "bin_16a3e0"] + - [0x16C8E0, 0x1AF2C0, "asm", "code_16c8e0", 0x8023E000] + - [0x1AF2C0, 0x3169f0, "bin", "bin_1AF2C0"] - [0x3169f0, 0x316a70, "asm", "code_3169f0", 0x80200000] - [0x316a70, 0x316c00, "asm", "code_316a70", 0x80200080] - [0x316c00, 0x316d90, "bin", "bin_316c00"] diff --git a/papermario/Makefile b/papermario/Makefile index 23bdc894b8..c4f904684c 100644 --- a/papermario/Makefile +++ b/papermario/Makefile @@ -56,7 +56,7 @@ OBJCOPY = $(CROSS)objcopy ASFLAGS = -EB -march=vr4300 -mtune=vr4300 CFLAGS = -O2 -quiet -LDFLAGS = -T undefined_syms.txt -T $(LD_SCRIPT) -Map $(BUILD_DIR)/papermario.map +LDFLAGS = -T undefined_syms.txt -T $(LD_SCRIPT) -Map $(BUILD_DIR)/papermario.map --no-check-sections ######################## Targets ############################# diff --git a/papermario/PAPERMARIO.ld b/papermario/PAPERMARIO.ld index 7559f4a07f..35f9c7325f 100644 --- a/papermario/PAPERMARIO.ld +++ b/papermario/PAPERMARIO.ld @@ -1002,11 +1002,21 @@ SECTIONS build/asm/code_163400.o(.text80242BA0); } - /* 0x00000000 16A3E0-3169F0 [1AC610] */ + /* 0x00000000 16A3E0-16C8E0 [??] */ .data0016A3E0 0x0016A3E0 : AT(0x16A3E0) { build/bin/PAPERMARIO.16A3E0.bin_16a3e0.o(.data); } + /* 0x8023E000 16C8E0-1AF2C0 [??] */ + .text8023E000 0x8023E000 : AT(0x16C8E0) { + build/asm/code_16c8e0.o(.text8023E000); + } + + /* 0x00000000 1AF2C0-3169F0 [??] */ + .data001AF2C0 0x001AF2C0 : AT(0x1AF2C0) { + build/bin/PAPERMARIO.1AF2C0.bin_1AF2C0.o(.data); + } + /* 0x80200000 3169F0-316A70 [80] */ .text80200000 0x80200000 : AT(0x3169F0) { build/asm/code_3169f0.o(.text80200000); diff --git a/papermario/asm/code_163400.s b/papermario/asm/code_163400.s index 3ba4d165e0..3539b3a784 100644 --- a/papermario/asm/code_163400.s +++ b/papermario/asm/code_163400.s @@ -16,7 +16,6 @@ func_80242BA0: /* 163404 80242BA4 8FA90014 */ lw $t1, 0x14($sp) /* 163408 80242BA8 8FAA0018 */ lw $t2, 0x18($sp) /* 16340C 80242BAC 8FAB001C */ lw $t3, 0x1c($sp) -update_partner_change_turn: /* 163410 80242BB0 8FAC0020 */ lw $t4, 0x20($sp) /* 163414 80242BB4 14400075 */ bnez $v0, .L80242D8C /* 163418 80242BB8 28A2F581 */ slti $v0, $a1, -0xa7f @@ -261,7 +260,6 @@ func_80242E00: /* 163754 80242EF4 3C018025 */ lui $at, 0x8025 /* 163758 80242EF8 AC339BA4 */ sw $s3, -0x645c($at) /* 16375C 80242EFC 3C018025 */ lui $at, 0x8025 -switch_to_partner: /* 163760 80242F00 08090BD2 */ j .L80242F48 /* 163764 80242F04 AC339B98 */ sw $s3, -0x6468($at) @@ -995,7 +993,6 @@ func_802431A0: /* 16416C 8024390C 3C028016 */ lui $v0, 0x8016 /* 164170 80243910 24429D50 */ addiu $v0, $v0, -0x62b0 /* 164174 80243914 00042140 */ sll $a0, $a0, 5 -switch_order: /* 164178 80243918 00824021 */ addu $t0, $a0, $v0 /* 16417C 8024391C 81050003 */ lb $a1, 3($t0) /* 164180 80243920 9106001C */ lbu $a2, 0x1c($t0) @@ -1935,7 +1932,6 @@ func_80244424: /* 164F5C 802446FC 00731821 */ addu $v1, $v1, $s3 /* 164F60 80244700 24A50001 */ addiu $a1, $a1, 1 /* 164F64 80244704 AC950000 */ sw $s5, ($a0) -func_80244708: /* 164F68 80244708 8E820000 */ lw $v0, ($s4) /* 164F6C 8024470C 8FC90000 */ lw $t1, ($fp) /* 164F70 80244710 00431021 */ addu $v0, $v0, $v1 @@ -2160,7 +2156,6 @@ func_802448E0: /* 1652A4 80244A44 82620004 */ lb $v0, 4($s3) /* 1652A8 80244A48 1440000E */ bnez $v0, .L80244A84 /* 1652AC 80244A4C 0260202D */ daddu $a0, $s3, $zero -end_battle: /* 1652B0 80244A50 0C00ABF6 */ jal fio_has_valid_backup /* 1652B4 80244A54 00000000 */ nop /* 1652B8 80244A58 3C04800E */ lui $a0, 0x800e @@ -2498,7 +2493,6 @@ func_80244BC4: .L80244EF8: /* 165758 80244EF8 0C0926A9 */ jal func_80249AA4 /* 16575C 80244EFC 0240202D */ daddu $a0, $s2, $zero -update_run_away: /* 165760 80244F00 0040202D */ daddu $a0, $v0, $zero /* 165764 80244F04 02142821 */ addu $a1, $s0, $s4 /* 165768 80244F08 02333021 */ addu $a2, $s1, $s3 @@ -3022,7 +3016,6 @@ func_8024544C: /* 165F0C 802456AC 24040003 */ addiu $a0, $zero, 3 /* 165F10 802456B0 AFA20014 */ sw $v0, 0x14($sp) /* 165F14 802456B4 0C0913F5 */ jal func_80244FD4 -EnablePartnerBlur: /* 165F18 802456B8 AFA30018 */ sw $v1, 0x18($sp) /* 165F1C 802456BC 8FBF0020 */ lw $ra, 0x20($sp) /* 165F20 802456C0 03E00008 */ jr $ra @@ -3032,7 +3025,6 @@ EnablePartnerBlur: /* 165F2C 802456CC 0080402D */ daddu $t0, $a0, $zero /* 165F30 802456D0 00A0482D */ daddu $t1, $a1, $zero /* 165F34 802456D4 00C0502D */ daddu $t2, $a2, $zero -DisablePartnerBlur: /* 165F38 802456D8 0100282D */ daddu $a1, $t0, $zero /* 165F3C 802456DC 8FA20038 */ lw $v0, 0x38($sp) /* 165F40 802456E0 8FA3003C */ lw $v1, 0x3c($sp) @@ -3041,7 +3033,6 @@ DisablePartnerBlur: /* 165F4C 802456EC AFA70010 */ sw $a3, 0x10($sp) /* 165F50 802456F0 0140382D */ daddu $a3, $t2, $zero /* 165F54 802456F4 AFBF0020 */ sw $ra, 0x20($sp) -update_swap_partner: /* 165F58 802456F8 AFA4001C */ sw $a0, 0x1c($sp) /* 165F5C 802456FC 0000202D */ daddu $a0, $zero, $zero /* 165F60 80245700 AFA20014 */ sw $v0, 0x14($sp) @@ -3306,7 +3297,6 @@ update_swap_partner: /* 166324 80245AC4 00831021 */ addu $v0, $a0, $v1 /* 166328 80245AC8 00451021 */ addu $v0, $v0, $a1 /* 16632C 80245ACC 8E630008 */ lw $v1, 8($s3) -update_player_action: /* 166330 80245AD0 92640003 */ lbu $a0, 3($s3) /* 166334 80245AD4 00621821 */ addu $v1, $v1, $v0 /* 166338 80245AD8 90620000 */ lbu $v0, ($v1) @@ -3963,7 +3953,6 @@ update_player_action: /* 166CA8 80246448 08091A38 */ j .L802468E0 /* 166CAC 8024644C 24060002 */ addiu $a2, $zero, 2 -update_player_change_turn: .L80246450: /* 166CB0 80246450 10400125 */ beqz $v0, .L802468E8 /* 166CB4 80246454 00000000 */ nop @@ -4448,7 +4437,6 @@ update_player_change_turn: /* 16738C 80246B2C 3C058015 */ lui $a1, 0x8015 /* 167390 80246B30 24A5F150 */ addiu $a1, $a1, -0xeb0 -update_partner_action: /* 167394 80246B34 3C068025 */ lui $a2, 0x8025 /* 167398 80246B38 24C6BDA8 */ addiu $a2, $a2, -0x4258 /* 16739C 80246B3C 24C20070 */ addiu $v0, $a2, 0x70 @@ -4972,7 +4960,6 @@ update_partner_action: /* 167B00 802472A0 00000000 */ nop /* 167B04 802472A4 00620018 */ mult $v1, $v0 /* 167B08 802472A8 00001812 */ mflo $v1 -update_enemy_change_turn: /* 167B0C 802472AC 00831821 */ addu $v1, $a0, $v1 /* 167B10 802472B0 82440001 */ lb $a0, 1($s2) /* 167B14 802472B4 8E420008 */ lw $v0, 8($s2) @@ -5165,7 +5152,6 @@ update_enemy_change_turn: /* 167DC4 80247564 00021400 */ sll $v0, $v0, 0x10 /* 167DC8 80247568 00021C03 */ sra $v1, $v0, 0x10 /* 167DCC 8024756C 000217C2 */ srl $v0, $v0, 0x1f -update_enemy_action: /* 167DD0 80247570 00621821 */ addu $v1, $v1, $v0 /* 167DD4 80247574 00032843 */ sra $a1, $v1, 1 /* 167DD8 80247578 808305E3 */ lb $v1, 0x5e3($a0) diff --git a/papermario/asm/code_16c8e0.s b/papermario/asm/code_16c8e0.s new file mode 100644 index 0000000000..0a81d7f1bf --- /dev/null +++ b/papermario/asm/code_16c8e0.s @@ -0,0 +1,75567 @@ +# %s disassembly and split file +# generated by n64split v%s - N64 ROM splitter + +# assembler directives +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches +.set gp=64 # allow use of 64-bit general purpose registers + +.include "globals.inc" + + +.section .text8023E000, "ax" + +get_dpad_input_radial: +/* 16C8E0 8023E000 27BDFFB8 */ addiu $sp, $sp, -0x48 +/* 16C8E4 8023E004 AFB00010 */ sw $s0, 0x10($sp) +/* 16C8E8 8023E008 0080802D */ daddu $s0, $a0, $zero +/* 16C8EC 8023E00C AFB10014 */ sw $s1, 0x14($sp) +/* 16C8F0 8023E010 3C02800E */ lui $v0, 0x800e +/* 16C8F4 8023E014 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 16C8F8 8023E018 AFBF0018 */ sw $ra, 0x18($sp) +/* 16C8FC 8023E01C F7BC0040 */ sdc1 $f28, 0x40($sp) +/* 16C900 8023E020 F7BA0038 */ sdc1 $f26, 0x38($sp) +/* 16C904 8023E024 F7B80030 */ sdc1 $f24, 0x30($sp) +/* 16C908 8023E028 F7B60028 */ sdc1 $f22, 0x28($sp) +/* 16C90C 8023E02C F7B40020 */ sdc1 $f20, 0x20($sp) +/* 16C910 8023E030 C456021C */ lwc1 $f22, 0x21c($v0) +/* 16C914 8023E034 4680B5A0 */ cvt.s.w $f22, $f22 +/* 16C918 8023E038 C4400220 */ lwc1 $f0, 0x220($v0) +/* 16C91C 8023E03C 46800020 */ cvt.s.w $f0, $f0 +/* 16C920 8023E040 94430212 */ lhu $v1, 0x212($v0) +/* 16C924 8023E044 3C014270 */ lui $at, 0x4270 +/* 16C928 8023E048 4481D000 */ mtc1 $at, $f26 +/* 16C92C 8023E04C 30620F00 */ andi $v0, $v1, 0xf00 +/* 16C930 8023E050 1040000F */ beqz $v0, .L8023E090 +/* 16C934 8023E054 00A0882D */ daddu $s1, $a1, $zero +/* 16C938 8023E058 4480B000 */ mtc1 $zero, $f22 +/* 16C93C 8023E05C 30620800 */ andi $v0, $v1, 0x800 +/* 16C940 8023E060 10400002 */ beqz $v0, .L8023E06C +/* 16C944 8023E064 4600B006 */ mov.s $f0, $f22 +/* 16C948 8023E068 4600D006 */ mov.s $f0, $f26 +.L8023E06C: +/* 16C94C 8023E06C 30620400 */ andi $v0, $v1, 0x400 +/* 16C950 8023E070 54400001 */ bnezl $v0, .L8023E078 +/* 16C954 8023E074 4600D007 */ neg.s $f0, $f26 +.L8023E078: +/* 16C958 8023E078 30620200 */ andi $v0, $v1, 0x200 +/* 16C95C 8023E07C 54400001 */ bnezl $v0, .L8023E084 +/* 16C960 8023E080 4600D587 */ neg.s $f22, $f26 +.L8023E084: +/* 16C964 8023E084 30620100 */ andi $v0, $v1, 0x100 +/* 16C968 8023E088 54400001 */ bnezl $v0, .L8023E090 +/* 16C96C 8023E08C 4600D586 */ mov.s $f22, $f26 +.L8023E090: +/* 16C970 8023E090 4406B000 */ mfc1 $a2, $f22 +/* 16C974 8023E094 4480C000 */ mtc1 $zero, $f24 +/* 16C978 8023E098 46000707 */ neg.s $f28, $f0 +/* 16C97C 8023E09C 4407E000 */ mfc1 $a3, $f28 +/* 16C980 8023E0A0 4600C306 */ mov.s $f12, $f24 +/* 16C984 8023E0A4 0C00A7B5 */ jal dist2D +/* 16C988 8023E0A8 4600C386 */ mov.s $f14, $f24 +/* 16C98C 8023E0AC 46000506 */ mov.s $f20, $f0 +/* 16C990 8023E0B0 4614D03E */ c.le.s $f26, $f20 +/* 16C994 8023E0B4 00000000 */ nop +/* 16C998 8023E0B8 45030001 */ bc1tl .L8023E0C0 +/* 16C99C 8023E0BC 4600D506 */ mov.s $f20, $f26 +.L8023E0C0: +/* 16C9A0 8023E0C0 4600C306 */ mov.s $f12, $f24 +/* 16C9A4 8023E0C4 4406B000 */ mfc1 $a2, $f22 +/* 16C9A8 8023E0C8 4407E000 */ mfc1 $a3, $f28 +/* 16C9AC 8023E0CC 0C00A720 */ jal atan2 +/* 16C9B0 8023E0D0 46006386 */ mov.s $f14, $f12 +/* 16C9B4 8023E0D4 E6000000 */ swc1 $f0, ($s0) +/* 16C9B8 8023E0D8 E6340000 */ swc1 $f20, ($s1) +/* 16C9BC 8023E0DC 8FBF0018 */ lw $ra, 0x18($sp) +/* 16C9C0 8023E0E0 8FB10014 */ lw $s1, 0x14($sp) +/* 16C9C4 8023E0E4 8FB00010 */ lw $s0, 0x10($sp) +/* 16C9C8 8023E0E8 D7BC0040 */ ldc1 $f28, 0x40($sp) +/* 16C9CC 8023E0EC D7BA0038 */ ldc1 $f26, 0x38($sp) +/* 16C9D0 8023E0F0 D7B80030 */ ldc1 $f24, 0x30($sp) +/* 16C9D4 8023E0F4 D7B60028 */ ldc1 $f22, 0x28($sp) +/* 16C9D8 8023E0F8 D7B40020 */ ldc1 $f20, 0x20($sp) +/* 16C9DC 8023E0FC 03E00008 */ jr $ra +/* 16C9E0 8023E100 27BD0048 */ addiu $sp, $sp, 0x48 + +func_8023E104: +/* 16C9E4 8023E104 24020001 */ addiu $v0, $zero, 1 +/* 16C9E8 8023E108 3C018028 */ lui $at, 0x8028 +/* 16C9EC 8023E10C A02209F4 */ sb $v0, 0x9f4($at) +/* 16C9F0 8023E110 3C018028 */ lui $at, 0x8028 +/* 16C9F4 8023E114 03E00008 */ jr $ra +/* 16C9F8 8023E118 A02009F5 */ sb $zero, 0x9f5($at) + +func_8023E11C: +/* 16C9FC 8023E11C 3C018028 */ lui $at, 0x8028 +/* 16CA00 8023E120 A02009F4 */ sb $zero, 0x9f4($at) +/* 16CA04 8023E124 3C018028 */ lui $at, 0x8028 +/* 16CA08 8023E128 03E00008 */ jr $ra +/* 16CA0C 8023E12C A02009F5 */ sb $zero, 0x9f5($at) + +initialize_battle: +/* 16CA10 8023E130 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 16CA14 8023E134 AFB3001C */ sw $s3, 0x1c($sp) +/* 16CA18 8023E138 3C138011 */ lui $s3, 0x8011 +/* 16CA1C 8023E13C 2673F290 */ addiu $s3, $s3, -0xd70 +/* 16CA20 8023E140 AFB40020 */ sw $s4, 0x20($sp) +/* 16CA24 8023E144 3C14800B */ lui $s4, 0x800b +/* 16CA28 8023E148 26942830 */ addiu $s4, $s4, 0x2830 +/* 16CA2C 8023E14C AFB10014 */ sw $s1, 0x14($sp) +/* 16CA30 8023E150 2411000F */ addiu $s1, $zero, 0xf +/* 16CA34 8023E154 3C06800E */ lui $a2, 0x800e +/* 16CA38 8023E158 24C6C070 */ addiu $a2, $a2, -0x3f90 +/* 16CA3C 8023E15C 24C5003C */ addiu $a1, $a2, 0x3c +/* 16CA40 8023E160 3C04800A */ lui $a0, 0x800a +/* 16CA44 8023E164 2484A650 */ addiu $a0, $a0, -0x59b0 +/* 16CA48 8023E168 AFBF0024 */ sw $ra, 0x24($sp) +/* 16CA4C 8023E16C AFB20018 */ sw $s2, 0x18($sp) +/* 16CA50 8023E170 AFB00010 */ sw $s0, 0x10($sp) +/* 16CA54 8023E174 ACC00000 */ sw $zero, ($a2) +/* 16CA58 8023E178 ACC00004 */ sw $zero, 4($a2) +/* 16CA5C 8023E17C ACC00000 */ sw $zero, ($a2) +/* 16CA60 8023E180 8C820000 */ lw $v0, ($a0) +/* 16CA64 8023E184 2403FFFF */ addiu $v1, $zero, -1 +/* 16CA68 8023E188 ACC30224 */ sw $v1, 0x224($a2) +/* 16CA6C 8023E18C 2403FF7F */ addiu $v1, $zero, -0x81 +/* 16CA70 8023E190 3C01802A */ lui $at, 0x802a +/* 16CA74 8023E194 AC22DA34 */ sw $v0, -0x25cc($at) +/* 16CA78 8023E198 00431024 */ and $v0, $v0, $v1 +/* 16CA7C 8023E19C AC820000 */ sw $v0, ($a0) +/* 16CA80 8023E1A0 00431024 */ and $v0, $v0, $v1 +/* 16CA84 8023E1A4 AC820000 */ sw $v0, ($a0) +.L8023E1A8: +/* 16CA88 8023E1A8 ACA00330 */ sw $zero, 0x330($a1) +/* 16CA8C 8023E1AC 2631FFFF */ addiu $s1, $s1, -1 +/* 16CA90 8023E1B0 0621FFFD */ bgez $s1, .L8023E1A8 +/* 16CA94 8023E1B4 24A5FFFC */ addiu $a1, $a1, -4 +/* 16CA98 8023E1B8 24110017 */ addiu $s1, $zero, 0x17 +/* 16CA9C 8023E1BC 24C2005C */ addiu $v0, $a2, 0x5c +/* 16CAA0 8023E1C0 A0C00431 */ sb $zero, 0x431($a2) +/* 16CAA4 8023E1C4 A0C00430 */ sb $zero, 0x430($a2) +/* 16CAA8 8023E1C8 A0C00095 */ sb $zero, 0x95($a2) +.L8023E1CC: +/* 16CAAC 8023E1CC AC4000E0 */ sw $zero, 0xe0($v0) +/* 16CAB0 8023E1D0 2631FFFF */ addiu $s1, $s1, -1 +/* 16CAB4 8023E1D4 0621FFFD */ bgez $s1, .L8023E1CC +/* 16CAB8 8023E1D8 2442FFFC */ addiu $v0, $v0, -4 +/* 16CABC 8023E1DC 0000882D */ daddu $s1, $zero, $zero +/* 16CAC0 8023E1E0 2403FFFF */ addiu $v1, $zero, -1 +/* 16CAC4 8023E1E4 ACC000D8 */ sw $zero, 0xd8($a2) +/* 16CAC8 8023E1E8 ACC000DC */ sw $zero, 0xdc($a2) +/* 16CACC 8023E1EC 00D11021 */ addu $v0, $a2, $s1 +.L8023E1F0: +/* 16CAD0 8023E1F0 26310001 */ addiu $s1, $s1, 1 +/* 16CAD4 8023E1F4 A043004C */ sb $v1, 0x4c($v0) +/* 16CAD8 8023E1F8 A043005C */ sb $v1, 0x5c($v0) +/* 16CADC 8023E1FC 2A220010 */ slti $v0, $s1, 0x10 +/* 16CAE0 8023E200 5440FFFB */ bnezl $v0, .L8023E1F0 +/* 16CAE4 8023E204 00D11021 */ addu $v0, $a2, $s1 +/* 16CAE8 8023E208 2411001B */ addiu $s1, $zero, 0x1b +/* 16CAEC 8023E20C 00D11021 */ addu $v0, $a2, $s1 +.L8023E210: +/* 16CAF0 8023E210 A0400440 */ sb $zero, 0x440($v0) +/* 16CAF4 8023E214 2631FFFF */ addiu $s1, $s1, -1 +/* 16CAF8 8023E218 0621FFFD */ bgez $s1, .L8023E210 +/* 16CAFC 8023E21C 2442FFFF */ addiu $v0, $v0, -1 +/* 16CB00 8023E220 3C028007 */ lui $v0, 0x8007 +/* 16CB04 8023E224 8C42419C */ lw $v0, 0x419c($v0) +/* 16CB08 8023E228 9042007E */ lbu $v0, 0x7e($v0) +/* 16CB0C 8023E22C 30420001 */ andi $v0, $v0, 1 +/* 16CB10 8023E230 10400009 */ beqz $v0, .L8023E258 +/* 16CB14 8023E234 2404FFBF */ addiu $a0, $zero, -0x41 +/* 16CB18 8023E238 3C03800E */ lui $v1, 0x800e +/* 16CB1C 8023E23C 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 16CB20 8023E240 8C620004 */ lw $v0, 4($v1) +/* 16CB24 8023E244 34420040 */ ori $v0, $v0, 0x40 +/* 16CB28 8023E248 0C03A6D5 */ jal increment_status_menu_disabled +/* 16CB2C 8023E24C AC620004 */ sw $v0, 4($v1) +/* 16CB30 8023E250 0808F89B */ j func_8023E26C +/* 16CB34 8023E254 00000000 */ nop + +.L8023E258: +/* 16CB38 8023E258 3C02800E */ lui $v0, 0x800e +/* 16CB3C 8023E25C 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 16CB40 8023E260 8C430004 */ lw $v1, 4($v0) +/* 16CB44 8023E264 00641824 */ and $v1, $v1, $a0 +/* 16CB48 8023E268 AC430004 */ sw $v1, 4($v0) +func_8023E26C: +/* 16CB4C 8023E26C 3C058024 */ lui $a1, 0x8024 +/* 16CB50 8023E270 24A5ED5C */ addiu $a1, $a1, -0x12a4 +/* 16CB54 8023E274 0C048C56 */ jal func_80123158 +/* 16CB58 8023E278 0000202D */ daddu $a0, $zero, $zero +/* 16CB5C 8023E27C 0C093B70 */ jal func_8024EDC0 +/* 16CB60 8023E280 0000882D */ daddu $s1, $zero, $zero +/* 16CB64 8023E284 0C09A3A2 */ jal func_80268E88 +/* 16CB68 8023E288 00000000 */ nop +/* 16CB6C 8023E28C 0C051FB1 */ jal func_80147EC4 +/* 16CB70 8023E290 24040001 */ addiu $a0, $zero, 1 +/* 16CB74 8023E294 3C048029 */ lui $a0, 0x8029 +/* 16CB78 8023E298 24841F80 */ addiu $a0, $a0, 0x1f80 +/* 16CB7C 8023E29C 0C050529 */ jal create_icon +/* 16CB80 8023E2A0 00000000 */ nop +/* 16CB84 8023E2A4 3C01802A */ lui $at, 0x802a +/* 16CB88 8023E2A8 AC22EFBC */ sw $v0, -0x1044($at) +/* 16CB8C 8023E2AC 0040202D */ daddu $a0, $v0, $zero +/* 16CB90 8023E2B0 0C051280 */ jal set_icon_flags +/* 16CB94 8023E2B4 24050080 */ addiu $a1, $zero, 0x80 +/* 16CB98 8023E2B8 3C12802A */ lui $s2, 0x802a +/* 16CB9C 8023E2BC 2652EFC0 */ addiu $s2, $s2, -0x1040 +.L8023E2C0: +/* 16CBA0 8023E2C0 3C048008 */ lui $a0, 0x8008 +/* 16CBA4 8023E2C4 24840FF0 */ addiu $a0, $a0, 0xff0 +/* 16CBA8 8023E2C8 0C050529 */ jal create_icon +/* 16CBAC 8023E2CC 26310001 */ addiu $s1, $s1, 1 +/* 16CBB0 8023E2D0 AE420000 */ sw $v0, ($s2) +/* 16CBB4 8023E2D4 0040802D */ daddu $s0, $v0, $zero +/* 16CBB8 8023E2D8 0200202D */ daddu $a0, $s0, $zero +/* 16CBBC 8023E2DC 0C051280 */ jal set_icon_flags +/* 16CBC0 8023E2E0 24050082 */ addiu $a1, $zero, 0x82 +/* 16CBC4 8023E2E4 0200202D */ daddu $a0, $s0, $zero +/* 16CBC8 8023E2E8 0C051277 */ jal func_801449DC +/* 16CBCC 8023E2EC 24050014 */ addiu $a1, $zero, 0x14 +/* 16CBD0 8023E2F0 2A22000A */ slti $v0, $s1, 0xa +/* 16CBD4 8023E2F4 1440FFF2 */ bnez $v0, .L8023E2C0 +/* 16CBD8 8023E2F8 26520004 */ addiu $s2, $s2, 4 +/* 16CBDC 8023E2FC 0000882D */ daddu $s1, $zero, $zero +/* 16CBE0 8023E300 3C12802A */ lui $s2, 0x802a +/* 16CBE4 8023E304 2652EFE8 */ addiu $s2, $s2, -0x1018 +.L8023E308: +/* 16CBE8 8023E308 3C048010 */ lui $a0, 0x8010 +/* 16CBEC 8023E30C 24844BEC */ addiu $a0, $a0, 0x4bec +/* 16CBF0 8023E310 0C050529 */ jal create_icon +/* 16CBF4 8023E314 26310001 */ addiu $s1, $s1, 1 +/* 16CBF8 8023E318 AE420000 */ sw $v0, ($s2) +/* 16CBFC 8023E31C 0040802D */ daddu $s0, $v0, $zero +/* 16CC00 8023E320 0200202D */ daddu $a0, $s0, $zero +/* 16CC04 8023E324 0C051280 */ jal set_icon_flags +/* 16CC08 8023E328 24050082 */ addiu $a1, $zero, 0x82 +/* 16CC0C 8023E32C 0200202D */ daddu $a0, $s0, $zero +/* 16CC10 8023E330 0C051277 */ jal func_801449DC +/* 16CC14 8023E334 24050014 */ addiu $a1, $zero, 0x14 +/* 16CC18 8023E338 2A22000A */ slti $v0, $s1, 0xa +/* 16CC1C 8023E33C 1440FFF2 */ bnez $v0, .L8023E308 +/* 16CC20 8023E340 26520004 */ addiu $s2, $s2, 4 +/* 16CC24 8023E344 0000882D */ daddu $s1, $zero, $zero +/* 16CC28 8023E348 3C12802A */ lui $s2, 0x802a +/* 16CC2C 8023E34C 2652F010 */ addiu $s2, $s2, -0xff0 +.L8023E350: +/* 16CC30 8023E350 3C048008 */ lui $a0, 0x8008 +/* 16CC34 8023E354 248410C8 */ addiu $a0, $a0, 0x10c8 +/* 16CC38 8023E358 0C050529 */ jal create_icon +/* 16CC3C 8023E35C 26310001 */ addiu $s1, $s1, 1 +/* 16CC40 8023E360 AE420000 */ sw $v0, ($s2) +/* 16CC44 8023E364 0040802D */ daddu $s0, $v0, $zero +/* 16CC48 8023E368 0200202D */ daddu $a0, $s0, $zero +/* 16CC4C 8023E36C 0C051280 */ jal set_icon_flags +/* 16CC50 8023E370 24050082 */ addiu $a1, $zero, 0x82 +/* 16CC54 8023E374 0200202D */ daddu $a0, $s0, $zero +/* 16CC58 8023E378 0C051277 */ jal func_801449DC +/* 16CC5C 8023E37C 24050014 */ addiu $a1, $zero, 0x14 +/* 16CC60 8023E380 2A22000A */ slti $v0, $s1, 0xa +/* 16CC64 8023E384 1440FFF2 */ bnez $v0, .L8023E350 +/* 16CC68 8023E388 26520004 */ addiu $s2, $s2, 4 +/* 16CC6C 8023E38C 3C028024 */ lui $v0, 0x8024 +/* 16CC70 8023E390 2442F088 */ addiu $v0, $v0, -0xf78 +/* 16CC74 8023E394 AE8201FC */ sw $v0, 0x1fc($s4) +/* 16CC78 8023E398 966302A2 */ lhu $v1, 0x2a2($s3) +/* 16CC7C 8023E39C 3C028024 */ lui $v0, 0x8024 +/* 16CC80 8023E3A0 2442FF84 */ addiu $v0, $v0, -0x7c +/* 16CC84 8023E3A4 AE820200 */ sw $v0, 0x200($s4) +/* 16CC88 8023E3A8 2C62270F */ sltiu $v0, $v1, 0x270f +/* 16CC8C 8023E3AC 10400002 */ beqz $v0, .L8023E3B8 +/* 16CC90 8023E3B0 24620001 */ addiu $v0, $v1, 1 +/* 16CC94 8023E3B4 A66202A2 */ sh $v0, 0x2a2($s3) +.L8023E3B8: +/* 16CC98 8023E3B8 3C02800E */ lui $v0, 0x800e +/* 16CC9C 8023E3BC 8C42C074 */ lw $v0, -0x3f8c($v0) +/* 16CCA0 8023E3C0 82630012 */ lb $v1, 0x12($s3) +/* 16CCA4 8023E3C4 30420040 */ andi $v0, $v0, 0x40 +/* 16CCA8 8023E3C8 3C01802A */ lui $at, 0x802a +/* 16CCAC 8023E3CC AC23DA30 */ sw $v1, -0x25d0($at) +/* 16CCB0 8023E3D0 10400002 */ beqz $v0, .L8023E3DC +/* 16CCB4 8023E3D4 2402000B */ addiu $v0, $zero, 0xb +/* 16CCB8 8023E3D8 A2620012 */ sb $v0, 0x12($s3) +.L8023E3DC: +/* 16CCBC 8023E3DC 8FBF0024 */ lw $ra, 0x24($sp) +/* 16CCC0 8023E3E0 8FB40020 */ lw $s4, 0x20($sp) +/* 16CCC4 8023E3E4 8FB3001C */ lw $s3, 0x1c($sp) +/* 16CCC8 8023E3E8 8FB20018 */ lw $s2, 0x18($sp) +/* 16CCCC 8023E3EC 8FB10014 */ lw $s1, 0x14($sp) +/* 16CCD0 8023E3F0 8FB00010 */ lw $s0, 0x10($sp) +/* 16CCD4 8023E3F4 03E00008 */ jr $ra +/* 16CCD8 8023E3F8 27BD0028 */ addiu $sp, $sp, 0x28 + +/* 16CCDC 8023E3FC 03E00008 */ jr $ra +/* 16CCE0 8023E400 00000000 */ nop + +func_8023E404: +/* 16CCE4 8023E404 3C02800E */ lui $v0, 0x800e +/* 16CCE8 8023E408 8C42C070 */ lw $v0, -0x3f90($v0) +/* 16CCEC 8023E40C 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 16CCF0 8023E410 30420001 */ andi $v0, $v0, 1 +/* 16CCF4 8023E414 10400005 */ beqz $v0, .L8023E42C +/* 16CCF8 8023E418 AFBF0010 */ sw $ra, 0x10($sp) +/* 16CCFC 8023E41C 0C0957D7 */ jal func_80255F5C +/* 16CD00 8023E420 00000000 */ nop +/* 16CD04 8023E424 0C0957EB */ jal func_80255FAC +/* 16CD08 8023E428 00000000 */ nop +.L8023E42C: +/* 16CD0C 8023E42C 8FBF0010 */ lw $ra, 0x10($sp) +/* 16CD10 8023E430 03E00008 */ jr $ra +/* 16CD14 8023E434 27BD0018 */ addiu $sp, $sp, 0x18 + +update_battle_state: +/* 16CD18 8023E438 27BDFFC8 */ addiu $sp, $sp, -0x38 +/* 16CD1C 8023E43C AFB00028 */ sw $s0, 0x28($sp) +/* 16CD20 8023E440 3C10800E */ lui $s0, 0x800e +/* 16CD24 8023E444 2610C070 */ addiu $s0, $s0, -0x3f90 +/* 16CD28 8023E448 2402FFFF */ addiu $v0, $zero, -1 +/* 16CD2C 8023E44C AFBF0034 */ sw $ra, 0x34($sp) +/* 16CD30 8023E450 AFB20030 */ sw $s2, 0x30($sp) +/* 16CD34 8023E454 AFB1002C */ sw $s1, 0x2c($sp) +/* 16CD38 8023E458 8E040224 */ lw $a0, 0x224($s0) +/* 16CD3C 8023E45C 8E1200DC */ lw $s2, 0xdc($s0) +/* 16CD40 8023E460 10820028 */ beq $a0, $v0, .L8023E504 +/* 16CD44 8023E464 3C030008 */ lui $v1, 8 +/* 16CD48 8023E468 8E020000 */ lw $v0, ($s0) +/* 16CD4C 8023E46C 00431024 */ and $v0, $v0, $v1 +/* 16CD50 8023E470 10400014 */ beqz $v0, .L8023E4C4 +/* 16CD54 8023E474 00000000 */ nop +/* 16CD58 8023E478 3C038007 */ lui $v1, 0x8007 +/* 16CD5C 8023E47C 8C63419C */ lw $v1, 0x419c($v1) +/* 16CD60 8023E480 80620081 */ lb $v0, 0x81($v1) +/* 16CD64 8023E484 1040000F */ beqz $v0, .L8023E4C4 +/* 16CD68 8023E488 00000000 */ nop +/* 16CD6C 8023E48C 8C620004 */ lw $v0, 4($v1) +/* 16CD70 8023E490 00441024 */ and $v0, $v0, $a0 +/* 16CD74 8023E494 AE020210 */ sw $v0, 0x210($s0) +/* 16CD78 8023E498 8C620014 */ lw $v0, 0x14($v1) +/* 16CD7C 8023E49C 00441024 */ and $v0, $v0, $a0 +/* 16CD80 8023E4A0 AE020214 */ sw $v0, 0x214($s0) +/* 16CD84 8023E4A4 8C620024 */ lw $v0, 0x24($v1) +/* 16CD88 8023E4A8 00441024 */ and $v0, $v0, $a0 +/* 16CD8C 8023E4AC AE020218 */ sw $v0, 0x218($s0) +/* 16CD90 8023E4B0 80620041 */ lb $v0, 0x41($v1) +/* 16CD94 8023E4B4 AE02021C */ sw $v0, 0x21c($s0) +/* 16CD98 8023E4B8 80620045 */ lb $v0, 0x45($v1) +/* 16CD9C 8023E4BC 0808F941 */ j func_8023E504 +/* 16CDA0 8023E4C0 AE020220 */ sw $v0, 0x220($s0) + +.L8023E4C4: +/* 16CDA4 8023E4C4 3C048007 */ lui $a0, 0x8007 +/* 16CDA8 8023E4C8 8C84419C */ lw $a0, 0x419c($a0) +/* 16CDAC 8023E4CC 8E030224 */ lw $v1, 0x224($s0) +/* 16CDB0 8023E4D0 8C820000 */ lw $v0, ($a0) +/* 16CDB4 8023E4D4 00431024 */ and $v0, $v0, $v1 +/* 16CDB8 8023E4D8 AE020210 */ sw $v0, 0x210($s0) +/* 16CDBC 8023E4DC 8C820010 */ lw $v0, 0x10($a0) +/* 16CDC0 8023E4E0 00431024 */ and $v0, $v0, $v1 +/* 16CDC4 8023E4E4 AE020214 */ sw $v0, 0x214($s0) +/* 16CDC8 8023E4E8 8C820020 */ lw $v0, 0x20($a0) +/* 16CDCC 8023E4EC 00431024 */ and $v0, $v0, $v1 +/* 16CDD0 8023E4F0 AE020218 */ sw $v0, 0x218($s0) +/* 16CDD4 8023E4F4 80820040 */ lb $v0, 0x40($a0) +/* 16CDD8 8023E4F8 AE02021C */ sw $v0, 0x21c($s0) +/* 16CDDC 8023E4FC 80820044 */ lb $v0, 0x44($a0) +/* 16CDE0 8023E500 AE020220 */ sw $v0, 0x220($s0) +func_8023E504: +.L8023E504: +/* 16CDE4 8023E504 27A40010 */ addiu $a0, $sp, 0x10 +/* 16CDE8 8023E508 0C08F800 */ jal get_dpad_input_radial +/* 16CDEC 8023E50C 27A50014 */ addiu $a1, $sp, 0x14 +/* 16CDF0 8023E510 C7A00010 */ lwc1 $f0, 0x10($sp) +/* 16CDF4 8023E514 82020431 */ lb $v0, 0x431($s0) +/* 16CDF8 8023E518 8E030214 */ lw $v1, 0x214($s0) +/* 16CDFC 8023E51C 4600010D */ trunc.w.s $f4, $f0 +/* 16CE00 8023E520 E6040228 */ swc1 $f4, 0x228($s0) +/* 16CE04 8023E524 00021080 */ sll $v0, $v0, 2 +/* 16CE08 8023E528 C7A00014 */ lwc1 $f0, 0x14($sp) +/* 16CE0C 8023E52C 02021021 */ addu $v0, $s0, $v0 +/* 16CE10 8023E530 4600010D */ trunc.w.s $f4, $f0 +/* 16CE14 8023E534 E604022C */ swc1 $f4, 0x22c($s0) +/* 16CE18 8023E538 AC430330 */ sw $v1, 0x330($v0) +/* 16CE1C 8023E53C 82020431 */ lb $v0, 0x431($s0) +/* 16CE20 8023E540 8E030210 */ lw $v1, 0x210($s0) +/* 16CE24 8023E544 00021080 */ sll $v0, $v0, 2 +/* 16CE28 8023E548 02021021 */ addu $v0, $s0, $v0 +/* 16CE2C 8023E54C AC430230 */ sw $v1, 0x230($v0) +/* 16CE30 8023E550 92020431 */ lbu $v0, 0x431($s0) +/* 16CE34 8023E554 24420001 */ addiu $v0, $v0, 1 +/* 16CE38 8023E558 A2020431 */ sb $v0, 0x431($s0) +/* 16CE3C 8023E55C 00021600 */ sll $v0, $v0, 0x18 +/* 16CE40 8023E560 00021603 */ sra $v0, $v0, 0x18 +/* 16CE44 8023E564 28420040 */ slti $v0, $v0, 0x40 +/* 16CE48 8023E568 50400001 */ beql $v0, $zero, .L8023E570 +/* 16CE4C 8023E56C A2000431 */ sb $zero, 0x431($s0) +.L8023E570: +/* 16CE50 8023E570 8E0200B4 */ lw $v0, 0xb4($s0) +/* 16CE54 8023E574 10400003 */ beqz $v0, .L8023E584 +/* 16CE58 8023E578 00000000 */ nop +/* 16CE5C 8023E57C 0040F809 */ jalr $v0 +/* 16CE60 8023E580 00000000 */ nop +.L8023E584: +/* 16CE64 8023E584 82030095 */ lb $v1, 0x95($s0) +/* 16CE68 8023E588 10600005 */ beqz $v1, .L8023E5A0 +/* 16CE6C 8023E58C 24110001 */ addiu $s1, $zero, 1 +/* 16CE70 8023E590 3C02800E */ lui $v0, 0x800e +/* 16CE74 8023E594 8C42C068 */ lw $v0, -0x3f98($v0) +/* 16CE78 8023E598 10620092 */ beq $v1, $v0, .L8023E7E4 +/* 16CE7C 8023E59C 00000000 */ nop +.L8023E5A0: +/* 16CE80 8023E5A0 3C02800E */ lui $v0, 0x800e +/* 16CE84 8023E5A4 8C42C068 */ lw $v0, -0x3f98($v0) +/* 16CE88 8023E5A8 24430001 */ addiu $v1, $v0, 1 +/* 16CE8C 8023E5AC 2C620025 */ sltiu $v0, $v1, 0x25 +/* 16CE90 8023E5B0 1040008C */ beqz $v0, .L8023E7E4 +/* 16CE94 8023E5B4 00031080 */ sll $v0, $v1, 2 +/* 16CE98 8023E5B8 3C01802A */ lui $at, 0x802a +/* 16CE9C 8023E5BC 00220821 */ addu $at, $at, $v0 +/* 16CEA0 8023E5C0 8C22C960 */ lw $v0, -0x36a0($at) +/* 16CEA4 8023E5C4 00400008 */ jr $v0 +/* 16CEA8 8023E5C8 00000000 */ nop +/* 16CEAC 8023E5CC 0C090486 */ jal begin_battle +/* 16CEB0 8023E5D0 0000882D */ daddu $s1, $zero, $zero +/* 16CEB4 8023E5D4 0808F9F9 */ j func_8023E7E4 +/* 16CEB8 8023E5D8 00000000 */ nop + +/* 16CEBC 8023E5DC 0C090809 */ jal update_heroes_end_turn +/* 16CEC0 8023E5E0 00000000 */ nop +/* 16CEC4 8023E5E4 0808F9F9 */ j func_8023E7E4 +/* 16CEC8 8023E5E8 00000000 */ nop + +/* 16CECC 8023E5EC 0C090AEC */ jal update_partner_change_turn +/* 16CED0 8023E5F0 00000000 */ nop +/* 16CED4 8023E5F4 0808F9F9 */ j func_8023E7E4 +/* 16CED8 8023E5F8 00000000 */ nop + +/* 16CEDC 8023E5FC 0C090BF8 */ jal func_80242FE0 +/* 16CEE0 8023E600 00000000 */ nop +/* 16CEE4 8023E604 0808F9F9 */ j func_8023E7E4 +/* 16CEE8 8023E608 00000000 */ nop + +/* 16CEEC 8023E60C 0C0906C5 */ jal func_80241B14 +/* 16CEF0 8023E610 00000000 */ nop +/* 16CEF4 8023E614 0808F9F9 */ j func_8023E7E4 +/* 16CEF8 8023E618 00000000 */ nop + +/* 16CEFC 8023E61C 0C090E76 */ jal func_802439D8 +/* 16CF00 8023E620 00000000 */ nop +/* 16CF04 8023E624 0808F9F9 */ j func_8023E7E4 +/* 16CF08 8023E628 00000000 */ nop + +/* 16CF0C 8023E62C 0C090AB2 */ jal switch_to_player +/* 16CF10 8023E630 00000000 */ nop +/* 16CF14 8023E634 0808F9F9 */ j func_8023E7E4 +/* 16CF18 8023E638 00000000 */ nop + +/* 16CF1C 8023E63C 0C090BC0 */ jal switch_to_partner +/* 16CF20 8023E640 00000000 */ nop +/* 16CF24 8023E644 0808F9F9 */ j func_8023E7E4 +/* 16CF28 8023E648 00000000 */ nop + +/* 16CF2C 8023E64C 0C090E46 */ jal switch_order +/* 16CF30 8023E650 00000000 */ nop +/* 16CF34 8023E654 0808F9F9 */ j func_8023E7E4 +/* 16CF38 8023E658 00000000 */ nop + +/* 16CF3C 8023E65C 0C0A9662 */ jal update_player_menu +/* 16CF40 8023E660 00000000 */ nop +/* 16CF44 8023E664 0808F9F9 */ j func_8023E7E4 +/* 16CF48 8023E668 00000000 */ nop + +/* 16CF4C 8023E66C 0C0AA072 */ jal update_partner_menu +/* 16CF50 8023E670 00000000 */ nop +/* 16CF54 8023E674 0808F9F9 */ j func_8023E7E4 +/* 16CF58 8023E678 00000000 */ nop + +/* 16CF5C 8023E67C 0C0AA82E */ jal func_802AA0B8 +/* 16CF60 8023E680 00000000 */ nop +/* 16CF64 8023E684 0808F9F9 */ j func_8023E7E4 +/* 16CF68 8023E688 00000000 */ nop + +/* 16CF6C 8023E68C 0C0AA6D1 */ jal func_802A9B44 +/* 16CF70 8023E690 00000000 */ nop +/* 16CF74 8023E694 0808F9F9 */ j func_8023E7E4 +/* 16CF78 8023E698 00000000 */ nop + +/* 16CF7C 8023E69C 0C0AA9A2 */ jal update_targeting_enemies +/* 16CF80 8023E6A0 00000000 */ nop +/* 16CF84 8023E6A4 0808F9F9 */ j func_8023E7E4 +/* 16CF88 8023E6A8 00000000 */ nop + +/* 16CF8C 8023E6AC 0C0916B4 */ jal update_player_action +/* 16CF90 8023E6B0 00000000 */ nop +/* 16CF94 8023E6B4 0808F9F9 */ j func_8023E7E4 +/* 16CF98 8023E6B8 00000000 */ nop + +/* 16CF9C 8023E6BC 0C091EC1 */ jal func_80247B04 +/* 16CFA0 8023E6C0 00000000 */ nop +/* 16CFA4 8023E6C4 0808F9F9 */ j func_8023E7E4 +/* 16CFA8 8023E6C8 00000000 */ nop + +/* 16CFAC 8023E6CC 0C091914 */ jal update_player_change_turn +/* 16CFB0 8023E6D0 00000000 */ nop +/* 16CFB4 8023E6D4 0808F9F9 */ j func_8023E7E4 +/* 16CFB8 8023E6D8 00000000 */ nop + +/* 16CFBC 8023E6DC 0C091C87 */ jal func_8024721C +/* 16CFC0 8023E6E0 00000000 */ nop +/* 16CFC4 8023E6E4 0808F9F9 */ j func_8023E7E4 +/* 16CFC8 8023E6E8 00000000 */ nop + +/* 16CFCC 8023E6EC 0C091D5C */ jal update_enemy_action +/* 16CFD0 8023E6F0 00000000 */ nop +/* 16CFD4 8023E6F4 0808F9F9 */ j func_8023E7E4 +/* 16CFD8 8023E6F8 00000000 */ nop + +/* 16CFDC 8023E6FC 0C092064 */ jal func_80248190 +/* 16CFE0 8023E700 00000000 */ nop +/* 16CFE4 8023E704 0808F9F9 */ j func_8023E7E4 +/* 16CFE8 8023E708 00000000 */ nop + +/* 16CFEC 8023E70C 0C091CAB */ jal update_enemy_change_turn +/* 16CFF0 8023E710 00000000 */ nop +/* 16CFF4 8023E714 0808F9F9 */ j func_8023E7E4 +/* 16CFF8 8023E718 00000000 */ nop + +/* 16CFFC 8023E71C 0C091ACD */ jal update_partner_action +/* 16D000 8023E720 00000000 */ nop +/* 16D004 8023E724 0808F9F9 */ j func_8023E7E4 +/* 16D008 8023E728 00000000 */ nop + +/* 16D00C 8023E72C 0C091002 */ jal func_80244008 +/* 16D010 8023E730 00000000 */ nop +/* 16D014 8023E734 0808F9F9 */ j func_8023E7E4 +/* 16D018 8023E738 00000000 */ nop + +/* 16D01C 8023E73C 0C091294 */ jal end_battle +/* 16D020 8023E740 00000000 */ nop +/* 16D024 8023E744 0808F9F9 */ j func_8023E7E4 +/* 16D028 8023E748 00000000 */ nop + +/* 16D02C 8023E74C 0C0915BE */ jal update_swap_partner +/* 16D030 8023E750 00000000 */ nop +/* 16D034 8023E754 0808F9F9 */ j func_8023E7E4 +/* 16D038 8023E758 00000000 */ nop + +/* 16D03C 8023E75C 0C0913C0 */ jal update_run_away +/* 16D040 8023E760 00000000 */ nop +/* 16D044 8023E764 0808F9F9 */ j func_8023E7E4 +/* 16D048 8023E768 00000000 */ nop + +/* 16D04C 8023E76C 0C09138E */ jal func_80244E38 +/* 16D050 8023E770 00000000 */ nop +/* 16D054 8023E774 0808F9F9 */ j func_8023E7E4 +/* 16D058 8023E778 00000000 */ nop + +/* 16D05C 8023E77C 0C091510 */ jal func_80245440 +/* 16D060 8023E780 00000000 */ nop +/* 16D064 8023E784 0808F9F9 */ j func_8023E7E4 +/* 16D068 8023E788 00000000 */ nop + +/* 16D06C 8023E78C 0C090FF7 */ jal func_80243FDC +/* 16D070 8023E790 00000000 */ nop +/* 16D074 8023E794 0808F9F9 */ j func_8023E7E4 +/* 16D078 8023E798 00000000 */ nop + +/* 16D07C 8023E79C 0C0911C4 */ jal func_80244710 +/* 16D080 8023E7A0 00000000 */ nop +/* 16D084 8023E7A4 0808F9F9 */ j func_8023E7E4 +/* 16D088 8023E7A8 00000000 */ nop + +/* 16D08C 8023E7AC 0C092198 */ jal func_80248660 +/* 16D090 8023E7B0 00000000 */ nop +/* 16D094 8023E7B4 0808F9F9 */ j func_8023E7E4 +/* 16D098 8023E7B8 00000000 */ nop + +/* 16D09C 8023E7BC 0C0AACCC */ jal func_802AB330 +/* 16D0A0 8023E7C0 00000000 */ nop +/* 16D0A4 8023E7C4 0808F9F9 */ j func_8023E7E4 +/* 16D0A8 8023E7C8 00000000 */ nop + +/* 16D0AC 8023E7CC 0C097864 */ jal func_8025E190 +/* 16D0B0 8023E7D0 00000000 */ nop +/* 16D0B4 8023E7D4 0808F9F9 */ j func_8023E7E4 +/* 16D0B8 8023E7D8 00000000 */ nop + +/* 16D0BC 8023E7DC 0C0922C2 */ jal func_80248B08 +/* 16D0C0 8023E7E0 0000882D */ daddu $s1, $zero, $zero +func_8023E7E4: +.L8023E7E4: +/* 16D0C4 8023E7E4 96020090 */ lhu $v0, 0x90($s0) +/* 16D0C8 8023E7E8 24030028 */ addiu $v1, $zero, 0x28 +/* 16D0CC 8023E7EC 24420001 */ addiu $v0, $v0, 1 +/* 16D0D0 8023E7F0 A6020090 */ sh $v0, 0x90($s0) +/* 16D0D4 8023E7F4 00021400 */ sll $v0, $v0, 0x10 +/* 16D0D8 8023E7F8 00021403 */ sra $v0, $v0, 0x10 +/* 16D0DC 8023E7FC 14430003 */ bne $v0, $v1, .L8023E80C +/* 16D0E0 8023E800 00000000 */ nop +/* 16D0E4 8023E804 0C093DF2 */ jal func_8024F7C8 +/* 16D0E8 8023E808 00000000 */ nop +.L8023E80C: +/* 16D0EC 8023E80C 0C0999A1 */ jal func_80266684 +/* 16D0F0 8023E810 00000000 */ nop +/* 16D0F4 8023E814 0C099A5E */ jal func_80266978 +/* 16D0F8 8023E818 00000000 */ nop +/* 16D0FC 8023E81C 0C099AC5 */ jal func_80266B14 +/* 16D100 8023E820 00000000 */ nop +/* 16D104 8023E824 0C093B92 */ jal func_8024EE48 +/* 16D108 8023E828 00000000 */ nop +/* 16D10C 8023E82C 0C08F901 */ jal func_8023E404 +/* 16D110 8023E830 00000000 */ nop +/* 16D114 8023E834 82030432 */ lb $v1, 0x432($s0) +/* 16D118 8023E838 2402FFFE */ addiu $v0, $zero, -2 +/* 16D11C 8023E83C 10620089 */ beq $v1, $v0, .L8023EA64 +/* 16D120 8023E840 27A50018 */ addiu $a1, $sp, 0x18 +/* 16D124 8023E844 24040001 */ addiu $a0, $zero, 1 +/* 16D128 8023E848 0C04DF70 */ jal func_80137DC0 +/* 16D12C 8023E84C 27A6001C */ addiu $a2, $sp, 0x1c +/* 16D130 8023E850 82020432 */ lb $v0, 0x432($s0) +/* 16D134 8023E854 1840002C */ blez $v0, .L8023E908 +/* 16D138 8023E858 24040001 */ addiu $a0, $zero, 1 +/* 16D13C 8023E85C 0000282D */ daddu $a1, $zero, $zero +/* 16D140 8023E860 00A0302D */ daddu $a2, $a1, $zero +/* 16D144 8023E864 0C04DF84 */ jal func_80137E10 +/* 16D148 8023E868 00A0382D */ daddu $a3, $a1, $zero +/* 16D14C 8023E86C 16400003 */ bnez $s2, .L8023E87C +/* 16D150 8023E870 00000000 */ nop +/* 16D154 8023E874 0808FA56 */ j func_8023E958 +/* 16D158 8023E878 3C054357 */ lui $a1, 0x4357 + +.L8023E87C: +/* 16D15C 8023E87C 3C028011 */ lui $v0, 0x8011 +/* 16D160 8023E880 2442F290 */ addiu $v0, $v0, -0xd70 +/* 16D164 8023E884 80430012 */ lb $v1, 0x12($v0) +/* 16D168 8023E888 24020006 */ addiu $v0, $zero, 6 +/* 16D16C 8023E88C 1462000F */ bne $v1, $v0, .L8023E8CC +/* 16D170 8023E890 00000000 */ nop +/* 16D174 8023E894 C7A0001C */ lwc1 $f0, 0x1c($sp) +/* 16D178 8023E898 3C014120 */ lui $at, 0x4120 +/* 16D17C 8023E89C 44811000 */ mtc1 $at, $f2 +/* 16D180 8023E8A0 00000000 */ nop +/* 16D184 8023E8A4 46020001 */ sub.s $f0, $f0, $f2 +/* 16D188 8023E8A8 44801000 */ mtc1 $zero, $f2 +/* 16D18C 8023E8AC 00000000 */ nop +/* 16D190 8023E8B0 4602003C */ c.lt.s $f0, $f2 +/* 16D194 8023E8B4 00000000 */ nop +/* 16D198 8023E8B8 45000002 */ bc1f .L8023E8C4 +/* 16D19C 8023E8BC E7A0001C */ swc1 $f0, 0x1c($sp) +/* 16D1A0 8023E8C0 E7A2001C */ swc1 $f2, 0x1c($sp) +.L8023E8C4: +/* 16D1A4 8023E8C4 0808FA56 */ j func_8023E958 +/* 16D1A8 8023E8C8 8FA5001C */ lw $a1, 0x1c($sp) + +.L8023E8CC: +/* 16D1AC 8023E8CC C7A0001C */ lwc1 $f0, 0x1c($sp) +/* 16D1B0 8023E8D0 3C014120 */ lui $at, 0x4120 +/* 16D1B4 8023E8D4 44811000 */ mtc1 $at, $f2 +/* 16D1B8 8023E8D8 00000000 */ nop +/* 16D1BC 8023E8DC 46020000 */ add.s $f0, $f0, $f2 +/* 16D1C0 8023E8E0 3C014357 */ lui $at, 0x4357 +/* 16D1C4 8023E8E4 44811000 */ mtc1 $at, $f2 +/* 16D1C8 8023E8E8 00000000 */ nop +/* 16D1CC 8023E8EC 4600103C */ c.lt.s $f2, $f0 +/* 16D1D0 8023E8F0 00000000 */ nop +/* 16D1D4 8023E8F4 45000002 */ bc1f .L8023E900 +/* 16D1D8 8023E8F8 E7A0001C */ swc1 $f0, 0x1c($sp) +/* 16D1DC 8023E8FC E7A2001C */ swc1 $f2, 0x1c($sp) +.L8023E900: +/* 16D1E0 8023E900 0808FA56 */ j func_8023E958 +/* 16D1E4 8023E904 8FA5001C */ lw $a1, 0x1c($sp) + +.L8023E908: +/* 16D1E8 8023E908 04410015 */ bgez $v0, .L8023E960 +/* 16D1EC 8023E90C 00000000 */ nop +/* 16D1F0 8023E910 C7A2001C */ lwc1 $f2, 0x1c($sp) +/* 16D1F4 8023E914 3C014120 */ lui $at, 0x4120 +/* 16D1F8 8023E918 44810000 */ mtc1 $at, $f0 +/* 16D1FC 8023E91C 00000000 */ nop +/* 16D200 8023E920 46001081 */ sub.s $f2, $f2, $f0 +/* 16D204 8023E924 44800000 */ mtc1 $zero, $f0 +/* 16D208 8023E928 00000000 */ nop +/* 16D20C 8023E92C 4600103C */ c.lt.s $f2, $f0 +/* 16D210 8023E930 00000000 */ nop +/* 16D214 8023E934 45000007 */ bc1f .L8023E954 +/* 16D218 8023E938 E7A2001C */ swc1 $f2, 0x1c($sp) +/* 16D21C 8023E93C 3C05BF80 */ lui $a1, 0xbf80 +/* 16D220 8023E940 240400FF */ addiu $a0, $zero, 0xff +/* 16D224 8023E944 0C04DF69 */ jal func_80137DA4 +/* 16D228 8023E948 E7A0001C */ swc1 $f0, 0x1c($sp) +/* 16D22C 8023E94C 0808FA58 */ j func_8023E960 +/* 16D230 8023E950 A2000432 */ sb $zero, 0x432($s0) + +.L8023E954: +/* 16D234 8023E954 44051000 */ mfc1 $a1, $f2 +func_8023E958: +/* 16D238 8023E958 0C04DF69 */ jal func_80137DA4 +/* 16D23C 8023E95C 0000202D */ daddu $a0, $zero, $zero +func_8023E960: +.L8023E960: +/* 16D240 8023E960 16200005 */ bnez $s1, .L8023E978 +/* 16D244 8023E964 2402FFFF */ addiu $v0, $zero, -1 +/* 16D248 8023E968 3C038028 */ lui $v1, 0x8028 +/* 16D24C 8023E96C 846309F6 */ lh $v1, 0x9f6($v1) +/* 16D250 8023E970 1062003C */ beq $v1, $v0, .L8023EA64 +/* 16D254 8023E974 00000000 */ nop +.L8023E978: +/* 16D258 8023E978 3C108028 */ lui $s0, 0x8028 +/* 16D25C 8023E97C 261009F6 */ addiu $s0, $s0, 0x9f6 +/* 16D260 8023E980 2402FFFF */ addiu $v0, $zero, -1 +/* 16D264 8023E984 86040000 */ lh $a0, ($s0) +/* 16D268 8023E988 96030000 */ lhu $v1, ($s0) +/* 16D26C 8023E98C 14820014 */ bne $a0, $v0, .L8023E9E0 +/* 16D270 8023E990 240500FF */ addiu $a1, $zero, 0xff +/* 16D274 8023E994 3C028007 */ lui $v0, 0x8007 +/* 16D278 8023E998 8C42419C */ lw $v0, 0x419c($v0) +/* 16D27C 8023E99C 80430071 */ lb $v1, 0x71($v0) +/* 16D280 8023E9A0 24020002 */ addiu $v0, $zero, 2 +/* 16D284 8023E9A4 1462002F */ bne $v1, $v0, .L8023EA64 +/* 16D288 8023E9A8 27A50020 */ addiu $a1, $sp, 0x20 +/* 16D28C 8023E9AC 0000202D */ daddu $a0, $zero, $zero +/* 16D290 8023E9B0 0C04DF70 */ jal func_80137DC0 +/* 16D294 8023E9B4 27A60024 */ addiu $a2, $sp, 0x24 +/* 16D298 8023E9B8 93A30020 */ lbu $v1, 0x20($sp) +/* 16D29C 8023E9BC 240200FF */ addiu $v0, $zero, 0xff +/* 16D2A0 8023E9C0 14620028 */ bne $v1, $v0, .L8023EA64 +/* 16D2A4 8023E9C4 00000000 */ nop +/* 16D2A8 8023E9C8 A6000000 */ sh $zero, ($s0) +/* 16D2AC 8023E9CC 0000202D */ daddu $a0, $zero, $zero +/* 16D2B0 8023E9D0 0C04DF62 */ jal func_80137D88 +/* 16D2B4 8023E9D4 0000282D */ daddu $a1, $zero, $zero +/* 16D2B8 8023E9D8 0808FA99 */ j func_8023EA64 +/* 16D2BC 8023E9DC 00000000 */ nop + +.L8023E9E0: +/* 16D2C0 8023E9E0 1485000A */ bne $a0, $a1, .L8023EA0C +/* 16D2C4 8023E9E4 2462000A */ addiu $v0, $v1, 0xa +/* 16D2C8 8023E9E8 3C03800E */ lui $v1, 0x800e +/* 16D2CC 8023E9EC 8C63C068 */ lw $v1, -0x3f98($v1) +/* 16D2D0 8023E9F0 24020023 */ addiu $v0, $zero, 0x23 +/* 16D2D4 8023E9F4 1062001B */ beq $v1, $v0, .L8023EA64 +/* 16D2D8 8023E9F8 00000000 */ nop +/* 16D2DC 8023E9FC 0C090464 */ jal func_80241190 +/* 16D2E0 8023EA00 0040202D */ daddu $a0, $v0, $zero +/* 16D2E4 8023EA04 0808FA99 */ j func_8023EA64 +/* 16D2E8 8023EA08 00000000 */ nop + +.L8023EA0C: +/* 16D2EC 8023EA0C A6020000 */ sh $v0, ($s0) +/* 16D2F0 8023EA10 00021400 */ sll $v0, $v0, 0x10 +/* 16D2F4 8023EA14 00021403 */ sra $v0, $v0, 0x10 +/* 16D2F8 8023EA18 28420100 */ slti $v0, $v0, 0x100 +/* 16D2FC 8023EA1C 50400001 */ beql $v0, $zero, .L8023EA24 +/* 16D300 8023EA20 A6050000 */ sh $a1, ($s0) +.L8023EA24: +/* 16D304 8023EA24 86020000 */ lh $v0, ($s0) +/* 16D308 8023EA28 44822000 */ mtc1 $v0, $f4 +/* 16D30C 8023EA2C 00000000 */ nop +/* 16D310 8023EA30 46802120 */ cvt.s.w $f4, $f4 +/* 16D314 8023EA34 44052000 */ mfc1 $a1, $f4 +/* 16D318 8023EA38 0C04DF62 */ jal func_80137D88 +/* 16D31C 8023EA3C 0000202D */ daddu $a0, $zero, $zero +/* 16D320 8023EA40 0000202D */ daddu $a0, $zero, $zero +/* 16D324 8023EA44 240500D0 */ addiu $a1, $zero, 0xd0 +/* 16D328 8023EA48 00A0302D */ daddu $a2, $a1, $zero +/* 16D32C 8023EA4C 0C04DF84 */ jal func_80137E10 +/* 16D330 8023EA50 00A0382D */ daddu $a3, $a1, $zero +/* 16D334 8023EA54 0C00CDF4 */ jal func_800337D0 +/* 16D338 8023EA58 240400FF */ addiu $a0, $zero, 0xff +/* 16D33C 8023EA5C 0C00CDF8 */ jal func_800337E0 +/* 16D340 8023EA60 240400E0 */ addiu $a0, $zero, 0xe0 +func_8023EA64: +.L8023EA64: +/* 16D344 8023EA64 8FBF0034 */ lw $ra, 0x34($sp) +/* 16D348 8023EA68 8FB20030 */ lw $s2, 0x30($sp) +/* 16D34C 8023EA6C 8FB1002C */ lw $s1, 0x2c($sp) +/* 16D350 8023EA70 8FB00028 */ lw $s0, 0x28($sp) +/* 16D354 8023EA74 03E00008 */ jr $ra +/* 16D358 8023EA78 27BD0038 */ addiu $sp, $sp, 0x38 + +draw_main_battle_ui: +/* 16D35C 8023EA7C 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 16D360 8023EA80 AFB10014 */ sw $s1, 0x14($sp) +/* 16D364 8023EA84 0000882D */ daddu $s1, $zero, $zero +/* 16D368 8023EA88 AFBF0018 */ sw $ra, 0x18($sp) +/* 16D36C 8023EA8C AFB00010 */ sw $s0, 0x10($sp) +/* 16D370 8023EA90 3C10800E */ lui $s0, 0x800e +/* 16D374 8023EA94 8E10C068 */ lw $s0, -0x3f98($s0) +/* 16D378 8023EA98 3C04800E */ lui $a0, 0x800e +/* 16D37C 8023EA9C 2484C4D0 */ addiu $a0, $a0, -0x3b30 +/* 16D380 8023EAA0 8C820000 */ lw $v0, ($a0) +/* 16D384 8023EAA4 12020005 */ beq $s0, $v0, .L8023EABC +/* 16D388 8023EAA8 0200182D */ daddu $v1, $s0, $zero +/* 16D38C 8023EAAC 0040802D */ daddu $s0, $v0, $zero +/* 16D390 8023EAB0 AC830000 */ sw $v1, ($a0) +/* 16D394 8023EAB4 0808FABA */ j func_8023EAE8 +/* 16D398 8023EAB8 24110001 */ addiu $s1, $zero, 1 + +.L8023EABC: +/* 16D39C 8023EABC 2402FFFF */ addiu $v0, $zero, -1 +/* 16D3A0 8023EAC0 16020007 */ bne $s0, $v0, .L8023EAE0 +/* 16D3A4 8023EAC4 00000000 */ nop +/* 16D3A8 8023EAC8 0C0900EF */ jal update_starpoints_display +/* 16D3AC 8023EACC 00000000 */ nop +/* 16D3B0 8023EAD0 0C08FFE8 */ jal func_8023FFA0 +/* 16D3B4 8023EAD4 00000000 */ nop +/* 16D3B8 8023EAD8 0808FB50 */ j func_8023ED40 +/* 16D3BC 8023EADC 00000000 */ nop + +.L8023EAE0: +/* 16D3C0 8023EAE0 12000099 */ beqz $s0, .L8023ED48 +/* 16D3C4 8023EAE4 00000000 */ nop +func_8023EAE8: +/* 16D3C8 8023EAE8 0C0900EF */ jal update_starpoints_display +/* 16D3CC 8023EAEC 00000000 */ nop +/* 16D3D0 8023EAF0 0C08FFE8 */ jal func_8023FFA0 +/* 16D3D4 8023EAF4 00000000 */ nop +/* 16D3D8 8023EAF8 1620008F */ bnez $s1, .L8023ED38 +/* 16D3DC 8023EAFC 2603FFFF */ addiu $v1, $s0, -1 +/* 16D3E0 8023EB00 2C620023 */ sltiu $v0, $v1, 0x23 +/* 16D3E4 8023EB04 1040008C */ beqz $v0, .L8023ED38 +/* 16D3E8 8023EB08 00031080 */ sll $v0, $v1, 2 +/* 16D3EC 8023EB0C 3C01802A */ lui $at, 0x802a +/* 16D3F0 8023EB10 00220821 */ addu $at, $at, $v0 +/* 16D3F4 8023EB14 8C22C9F8 */ lw $v0, -0x3608($at) +/* 16D3F8 8023EB18 00400008 */ jr $v0 +/* 16D3FC 8023EB1C 00000000 */ nop +/* 16D400 8023EB20 0C0906AE */ jal func_80241AB8 +/* 16D404 8023EB24 00000000 */ nop +/* 16D408 8023EB28 0808FB4E */ j func_8023ED38 +/* 16D40C 8023EB2C 00000000 */ nop + +/* 16D410 8023EB30 0C090AB0 */ jal func_80242AC0 +/* 16D414 8023EB34 00000000 */ nop +/* 16D418 8023EB38 0808FB4E */ j func_8023ED38 +/* 16D41C 8023EB3C 00000000 */ nop + +/* 16D420 8023EB40 0C090BBE */ jal func_80242EF8 +/* 16D424 8023EB44 00000000 */ nop +/* 16D428 8023EB48 0808FB4E */ j func_8023ED38 +/* 16D42C 8023EB4C 00000000 */ nop + +/* 16D430 8023EB50 0C090E44 */ jal func_80243910 +/* 16D434 8023EB54 00000000 */ nop +/* 16D438 8023EB58 0808FB4E */ j func_8023ED38 +/* 16D43C 8023EB5C 00000000 */ nop + +/* 16D440 8023EB60 0C090807 */ jal func_8024201C +/* 16D444 8023EB64 00000000 */ nop +/* 16D448 8023EB68 0808FB4E */ j func_8023ED38 +/* 16D44C 8023EB6C 00000000 */ nop + +/* 16D450 8023EB70 0C090FF5 */ jal func_80243FD4 +/* 16D454 8023EB74 00000000 */ nop +/* 16D458 8023EB78 0808FB4E */ j func_8023ED38 +/* 16D45C 8023EB7C 00000000 */ nop + +/* 16D460 8023EB80 0C090AEA */ jal func_80242BA8 +/* 16D464 8023EB84 00000000 */ nop +/* 16D468 8023EB88 0808FB4E */ j func_8023ED38 +/* 16D46C 8023EB8C 00000000 */ nop + +/* 16D470 8023EB90 0C090BF6 */ jal func_80242FD8 +/* 16D474 8023EB94 00000000 */ nop +/* 16D478 8023EB98 0808FB4E */ j func_8023ED38 +/* 16D47C 8023EB9C 00000000 */ nop + +/* 16D480 8023EBA0 0C090E74 */ jal func_802439D0 +/* 16D484 8023EBA4 00000000 */ nop +/* 16D488 8023EBA8 0808FB4E */ j func_8023ED38 +/* 16D48C 8023EBAC 00000000 */ nop + +/* 16D490 8023EBB0 0C0AA060 */ jal func_802A8180 +/* 16D494 8023EBB4 00000000 */ nop +/* 16D498 8023EBB8 0808FB4E */ j func_8023ED38 +/* 16D49C 8023EBBC 00000000 */ nop + +/* 16D4A0 8023EBC0 0C0AA6BA */ jal func_802A9AE8 +/* 16D4A4 8023EBC4 00000000 */ nop +/* 16D4A8 8023EBC8 0808FB4E */ j func_8023ED38 +/* 16D4AC 8023EBCC 00000000 */ nop + +/* 16D4B0 8023EBD0 0C0AA990 */ jal func_802AA640 +/* 16D4B4 8023EBD4 00000000 */ nop +/* 16D4B8 8023EBD8 0808FB4E */ j func_8023ED38 +/* 16D4BC 8023EBDC 00000000 */ nop + +/* 16D4C0 8023EBE0 0C0AA817 */ jal func_802AA05C +/* 16D4C4 8023EBE4 00000000 */ nop +/* 16D4C8 8023EBE8 0808FB4E */ j func_8023ED38 +/* 16D4CC 8023EBEC 00000000 */ nop + +/* 16D4D0 8023EBF0 0C0AAB36 */ jal func_802AACD8 +/* 16D4D4 8023EBF4 00000000 */ nop +/* 16D4D8 8023EBF8 0808FB4E */ j func_8023ED38 +/* 16D4DC 8023EBFC 00000000 */ nop + +/* 16D4E0 8023EC00 0C091912 */ jal func_80246448 +/* 16D4E4 8023EC04 00000000 */ nop +/* 16D4E8 8023EC08 0808FB4E */ j func_8023ED38 +/* 16D4EC 8023EC0C 00000000 */ nop + +/* 16D4F0 8023EC10 0C09203C */ jal func_802480F0 +/* 16D4F4 8023EC14 00000000 */ nop +/* 16D4F8 8023EC18 0808FB4E */ j func_8023ED38 +/* 16D4FC 8023EC1C 00000000 */ nop + +/* 16D500 8023EC20 0C091ACB */ jal func_80246B2C +/* 16D504 8023EC24 00000000 */ nop +/* 16D508 8023EC28 0808FB4E */ j func_8023ED38 +/* 16D50C 8023EC2C 00000000 */ nop + +/* 16D510 8023EC30 0C091CA9 */ jal func_802472A4 +/* 16D514 8023EC34 00000000 */ nop +/* 16D518 8023EC38 0808FB4E */ j func_8023ED38 +/* 16D51C 8023EC3C 00000000 */ nop + +/* 16D520 8023EC40 0C09217F */ jal func_802485FC +/* 16D524 8023EC44 00000000 */ nop +/* 16D528 8023EC48 0808FB4E */ j func_8023ED38 +/* 16D52C 8023EC4C 00000000 */ nop + +/* 16D530 8023EC50 0C091EBF */ jal func_80247AFC +/* 16D534 8023EC54 00000000 */ nop +/* 16D538 8023EC58 0808FB4E */ j func_8023ED38 +/* 16D53C 8023EC5C 00000000 */ nop + +/* 16D540 8023EC60 0C091D5A */ jal func_80247568 +/* 16D544 8023EC64 00000000 */ nop +/* 16D548 8023EC68 0808FB4E */ j func_8023ED38 +/* 16D54C 8023EC6C 00000000 */ nop + +/* 16D550 8023EC70 0C091C85 */ jal func_80247214 +/* 16D554 8023EC74 00000000 */ nop +/* 16D558 8023EC78 0808FB4E */ j func_8023ED38 +/* 16D55C 8023EC7C 00000000 */ nop + +/* 16D560 8023EC80 0C0911C2 */ jal func_80244708 +/* 16D564 8023EC84 00000000 */ nop +/* 16D568 8023EC88 0808FB4E */ j func_8023ED38 +/* 16D56C 8023EC8C 00000000 */ nop + +/* 16D570 8023EC90 0C091364 */ jal func_80244D90 +/* 16D574 8023EC94 00000000 */ nop +/* 16D578 8023EC98 0808FB4E */ j func_8023ED38 +/* 16D57C 8023EC9C 00000000 */ nop + +/* 16D580 8023ECA0 0C0916B2 */ jal func_80245AC8 +/* 16D584 8023ECA4 00000000 */ nop +/* 16D588 8023ECA8 0808FB4E */ j func_8023ED38 +/* 16D58C 8023ECAC 00000000 */ nop + +/* 16D590 8023ECB0 0C09150E */ jal func_80245438 +/* 16D594 8023ECB4 00000000 */ nop +/* 16D598 8023ECB8 0808FB4E */ j func_8023ED38 +/* 16D59C 8023ECBC 00000000 */ nop + +/* 16D5A0 8023ECC0 0C0913BE */ jal func_80244EF8 +/* 16D5A4 8023ECC4 00000000 */ nop +/* 16D5A8 8023ECC8 0808FB4E */ j func_8023ED38 +/* 16D5AC 8023ECCC 00000000 */ nop + +/* 16D5B0 8023ECD0 0C0915AC */ jal func_802456B0 +/* 16D5B4 8023ECD4 00000000 */ nop +/* 16D5B8 8023ECD8 0808FB4E */ j func_8023ED38 +/* 16D5BC 8023ECDC 00000000 */ nop + +/* 16D5C0 8023ECE0 0C091000 */ jal func_80244000 +/* 16D5C4 8023ECE4 00000000 */ nop +/* 16D5C8 8023ECE8 0808FB4E */ j func_8023ED38 +/* 16D5CC 8023ECEC 00000000 */ nop + +/* 16D5D0 8023ECF0 0C091292 */ jal func_80244A48 +/* 16D5D4 8023ECF4 00000000 */ nop +/* 16D5D8 8023ECF8 0808FB4E */ j func_8023ED38 +/* 16D5DC 8023ECFC 00000000 */ nop + +/* 16D5E0 8023ED00 0C0922A9 */ jal func_80248AA4 +/* 16D5E4 8023ED04 00000000 */ nop +/* 16D5E8 8023ED08 0808FB4E */ j func_8023ED38 +/* 16D5EC 8023ED0C 00000000 */ nop + +/* 16D5F0 8023ED10 0C0AACCE */ jal func_802AB338 +/* 16D5F4 8023ED14 00000000 */ nop +/* 16D5F8 8023ED18 0808FB4E */ j func_8023ED38 +/* 16D5FC 8023ED1C 00000000 */ nop + +/* 16D600 8023ED20 0C09806F */ jal func_802601BC +/* 16D604 8023ED24 00000000 */ nop +/* 16D608 8023ED28 0808FB4E */ j func_8023ED38 +/* 16D60C 8023ED2C 00000000 */ nop + +/* 16D610 8023ED30 0C09235E */ jal func_80248D78 +/* 16D614 8023ED34 00000000 */ nop +func_8023ED38: +.L8023ED38: +/* 16D618 8023ED38 0C093BC2 */ jal func_8024EF08 +/* 16D61C 8023ED3C 00000000 */ nop +func_8023ED40: +/* 16D620 8023ED40 0C03A5CF */ jal func_800E973C +/* 16D624 8023ED44 00000000 */ nop +.L8023ED48: +/* 16D628 8023ED48 8FBF0018 */ lw $ra, 0x18($sp) +/* 16D62C 8023ED4C 8FB10014 */ lw $s1, 0x14($sp) +/* 16D630 8023ED50 8FB00010 */ lw $s0, 0x10($sp) +/* 16D634 8023ED54 03E00008 */ jr $ra +/* 16D638 8023ED58 27BD0020 */ addiu $sp, $sp, 0x20 + +/* 16D63C 8023ED5C 3C02800E */ lui $v0, 0x800e +/* 16D640 8023ED60 8C42C068 */ lw $v0, -0x3f98($v0) +/* 16D644 8023ED64 27BDFFB8 */ addiu $sp, $sp, -0x48 +/* 16D648 8023ED68 AFB40030 */ sw $s4, 0x30($sp) +/* 16D64C 8023ED6C 3C14800E */ lui $s4, 0x800e +/* 16D650 8023ED70 2694C070 */ addiu $s4, $s4, -0x3f90 +/* 16D654 8023ED74 AFB00020 */ sw $s0, 0x20($sp) +/* 16D658 8023ED78 27B00010 */ addiu $s0, $sp, 0x10 +/* 16D65C 8023ED7C AFBF0040 */ sw $ra, 0x40($sp) +/* 16D660 8023ED80 AFB7003C */ sw $s7, 0x3c($sp) +/* 16D664 8023ED84 AFB60038 */ sw $s6, 0x38($sp) +/* 16D668 8023ED88 AFB50034 */ sw $s5, 0x34($sp) +/* 16D66C 8023ED8C AFB3002C */ sw $s3, 0x2c($sp) +/* 16D670 8023ED90 AFB20028 */ sw $s2, 0x28($sp) +/* 16D674 8023ED94 104000A7 */ beqz $v0, .L8023F034 +/* 16D678 8023ED98 AFB10024 */ sw $s1, 0x24($sp) +/* 16D67C 8023ED9C 0C093BAA */ jal func_8024EEA8 +/* 16D680 8023EDA0 00000000 */ nop +/* 16D684 8023EDA4 8E8200B8 */ lw $v0, 0xb8($s4) +/* 16D688 8023EDA8 10400003 */ beqz $v0, .L8023EDB8 +/* 16D68C 8023EDAC 00000000 */ nop +/* 16D690 8023EDB0 0040F809 */ jalr $v0 +/* 16D694 8023EDB4 00000000 */ nop +.L8023EDB8: +/* 16D698 8023EDB8 8E820000 */ lw $v0, ($s4) +/* 16D69C 8023EDBC 30420001 */ andi $v0, $v0, 1 +/* 16D6A0 8023EDC0 1040009C */ beqz $v0, .L8023F034 +/* 16D6A4 8023EDC4 00000000 */ nop +/* 16D6A8 8023EDC8 0C0957F6 */ jal func_80255FD8 +/* 16D6AC 8023EDCC 00000000 */ nop +/* 16D6B0 8023EDD0 3C02800A */ lui $v0, 0x800a +/* 16D6B4 8023EDD4 9442A634 */ lhu $v0, -0x59cc($v0) +/* 16D6B8 8023EDD8 2442FFFF */ addiu $v0, $v0, -1 +/* 16D6BC 8023EDDC 2C420002 */ sltiu $v0, $v0, 2 +/* 16D6C0 8023EDE0 10400094 */ beqz $v0, .L8023F034 +/* 16D6C4 8023EDE4 0000902D */ daddu $s2, $zero, $zero +/* 16D6C8 8023EDE8 3C178025 */ lui $s7, 0x8025 +/* 16D6CC 8023EDEC 26F77B28 */ addiu $s7, $s7, 0x7b28 +/* 16D6D0 8023EDF0 3C161000 */ lui $s6, 0x1000 +/* 16D6D4 8023EDF4 3C158025 */ lui $s5, 0x8025 +/* 16D6D8 8023EDF8 26B5595C */ addiu $s5, $s5, 0x595c +/* 16D6DC 8023EDFC 0280982D */ daddu $s3, $s4, $zero +.L8023EE00: +/* 16D6E0 8023EE00 8E7100E0 */ lw $s1, 0xe0($s3) +/* 16D6E4 8023EE04 5220002A */ beql $s1, $zero, .L8023EEB0 +/* 16D6E8 8023EE08 26520001 */ addiu $s2, $s2, 1 +/* 16D6EC 8023EE0C 8E220000 */ lw $v0, ($s1) +/* 16D6F0 8023EE10 30420001 */ andi $v0, $v0, 1 +/* 16D6F4 8023EE14 54400026 */ bnezl $v0, .L8023EEB0 +/* 16D6F8 8023EE18 26520001 */ addiu $s2, $s2, 1 +/* 16D6FC 8023EE1C AE120008 */ sw $s2, 8($s0) +/* 16D700 8023EE20 AE17000C */ sw $s7, 0xc($s0) +/* 16D704 8023EE24 C620014C */ lwc1 $f0, 0x14c($s1) +/* 16D708 8023EE28 4600008D */ trunc.w.s $f2, $f0 +/* 16D70C 8023EE2C E6020004 */ swc1 $f2, 4($s0) +/* 16D710 8023EE30 86220434 */ lh $v0, 0x434($s1) +/* 16D714 8023EE34 0200202D */ daddu $a0, $s0, $zero +/* 16D718 8023EE38 0C047644 */ jal queue_render_task +/* 16D71C 8023EE3C AE020000 */ sw $v0, ($s0) +/* 16D720 8023EE40 8E220000 */ lw $v0, ($s1) +/* 16D724 8023EE44 00561024 */ and $v0, $v0, $s6 +/* 16D728 8023EE48 10400009 */ beqz $v0, .L8023EE70 +/* 16D72C 8023EE4C 24020022 */ addiu $v0, $zero, 0x22 +/* 16D730 8023EE50 AE110008 */ sw $s1, 8($s0) +/* 16D734 8023EE54 AE15000C */ sw $s5, 0xc($s0) +/* 16D738 8023EE58 C620014C */ lwc1 $f0, 0x14c($s1) +/* 16D73C 8023EE5C AE020000 */ sw $v0, ($s0) +/* 16D740 8023EE60 4600008D */ trunc.w.s $f2, $f0 +/* 16D744 8023EE64 E6020004 */ swc1 $f2, 4($s0) +/* 16D748 8023EE68 0C047644 */ jal queue_render_task +/* 16D74C 8023EE6C 0200202D */ daddu $a0, $s0, $zero +.L8023EE70: +/* 16D750 8023EE70 92820092 */ lbu $v0, 0x92($s4) +/* 16D754 8023EE74 30420001 */ andi $v0, $v0, 1 +/* 16D758 8023EE78 5040000D */ beql $v0, $zero, .L8023EEB0 +/* 16D75C 8023EE7C 26520001 */ addiu $s2, $s2, 1 +/* 16D760 8023EE80 3C028025 */ lui $v0, 0x8025 +/* 16D764 8023EE84 24427B68 */ addiu $v0, $v0, 0x7b68 +/* 16D768 8023EE88 AE110008 */ sw $s1, 8($s0) +/* 16D76C 8023EE8C AE02000C */ sw $v0, 0xc($s0) +/* 16D770 8023EE90 C620014C */ lwc1 $f0, 0x14c($s1) +/* 16D774 8023EE94 4600008D */ trunc.w.s $f2, $f0 +/* 16D778 8023EE98 E6020004 */ swc1 $f2, 4($s0) +/* 16D77C 8023EE9C 86220434 */ lh $v0, 0x434($s1) +/* 16D780 8023EEA0 0200202D */ daddu $a0, $s0, $zero +/* 16D784 8023EEA4 0C047644 */ jal queue_render_task +/* 16D788 8023EEA8 AE020000 */ sw $v0, ($s0) +/* 16D78C 8023EEAC 26520001 */ addiu $s2, $s2, 1 +.L8023EEB0: +/* 16D790 8023EEB0 2A420018 */ slti $v0, $s2, 0x18 +/* 16D794 8023EEB4 1440FFD2 */ bnez $v0, .L8023EE00 +/* 16D798 8023EEB8 26730004 */ addiu $s3, $s3, 4 +/* 16D79C 8023EEBC 8E9100DC */ lw $s1, 0xdc($s4) +/* 16D7A0 8023EEC0 1220002D */ beqz $s1, .L8023EF78 +/* 16D7A4 8023EEC4 00000000 */ nop +/* 16D7A8 8023EEC8 8E220000 */ lw $v0, ($s1) +/* 16D7AC 8023EECC 30420001 */ andi $v0, $v0, 1 +/* 16D7B0 8023EED0 14400029 */ bnez $v0, .L8023EF78 +/* 16D7B4 8023EED4 0200202D */ daddu $a0, $s0, $zero +/* 16D7B8 8023EED8 3C028025 */ lui $v0, 0x8025 +/* 16D7BC 8023EEDC 24427B48 */ addiu $v0, $v0, 0x7b48 +/* 16D7C0 8023EEE0 AE000008 */ sw $zero, 8($s0) +/* 16D7C4 8023EEE4 AE02000C */ sw $v0, 0xc($s0) +/* 16D7C8 8023EEE8 C620014C */ lwc1 $f0, 0x14c($s1) +/* 16D7CC 8023EEEC 4600008D */ trunc.w.s $f2, $f0 +/* 16D7D0 8023EEF0 E6020004 */ swc1 $f2, 4($s0) +/* 16D7D4 8023EEF4 86220434 */ lh $v0, 0x434($s1) +/* 16D7D8 8023EEF8 0C047644 */ jal queue_render_task +/* 16D7DC 8023EEFC AE020000 */ sw $v0, ($s0) +/* 16D7E0 8023EF00 8E220000 */ lw $v0, ($s1) +/* 16D7E4 8023EF04 3C031000 */ lui $v1, 0x1000 +/* 16D7E8 8023EF08 00431024 */ and $v0, $v0, $v1 +/* 16D7EC 8023EF0C 1040000C */ beqz $v0, .L8023EF40 +/* 16D7F0 8023EF10 00000000 */ nop +/* 16D7F4 8023EF14 3C028025 */ lui $v0, 0x8025 +/* 16D7F8 8023EF18 2442599C */ addiu $v0, $v0, 0x599c +/* 16D7FC 8023EF1C AE110008 */ sw $s1, 8($s0) +/* 16D800 8023EF20 AE02000C */ sw $v0, 0xc($s0) +/* 16D804 8023EF24 C620014C */ lwc1 $f0, 0x14c($s1) +/* 16D808 8023EF28 24020022 */ addiu $v0, $zero, 0x22 +/* 16D80C 8023EF2C AE020000 */ sw $v0, ($s0) +/* 16D810 8023EF30 4600008D */ trunc.w.s $f2, $f0 +/* 16D814 8023EF34 E6020004 */ swc1 $f2, 4($s0) +/* 16D818 8023EF38 0C047644 */ jal queue_render_task +/* 16D81C 8023EF3C 0200202D */ daddu $a0, $s0, $zero +.L8023EF40: +/* 16D820 8023EF40 92820092 */ lbu $v0, 0x92($s4) +/* 16D824 8023EF44 30420001 */ andi $v0, $v0, 1 +/* 16D828 8023EF48 1040000B */ beqz $v0, .L8023EF78 +/* 16D82C 8023EF4C 0200202D */ daddu $a0, $s0, $zero +/* 16D830 8023EF50 3C028025 */ lui $v0, 0x8025 +/* 16D834 8023EF54 24427B88 */ addiu $v0, $v0, 0x7b88 +/* 16D838 8023EF58 AE000008 */ sw $zero, 8($s0) +/* 16D83C 8023EF5C AE02000C */ sw $v0, 0xc($s0) +/* 16D840 8023EF60 C620014C */ lwc1 $f0, 0x14c($s1) +/* 16D844 8023EF64 4600008D */ trunc.w.s $f2, $f0 +/* 16D848 8023EF68 E6020004 */ swc1 $f2, 4($s0) +/* 16D84C 8023EF6C 86220434 */ lh $v0, 0x434($s1) +/* 16D850 8023EF70 0C047644 */ jal queue_render_task +/* 16D854 8023EF74 AE020000 */ sw $v0, ($s0) +.L8023EF78: +/* 16D858 8023EF78 8E9100D8 */ lw $s1, 0xd8($s4) +/* 16D85C 8023EF7C 1220002D */ beqz $s1, .L8023F034 +/* 16D860 8023EF80 00000000 */ nop +/* 16D864 8023EF84 8E220000 */ lw $v0, ($s1) +/* 16D868 8023EF88 30420001 */ andi $v0, $v0, 1 +/* 16D86C 8023EF8C 14400029 */ bnez $v0, .L8023F034 +/* 16D870 8023EF90 0200202D */ daddu $a0, $s0, $zero +/* 16D874 8023EF94 3C028025 */ lui $v0, 0x8025 +/* 16D878 8023EF98 24427DA4 */ addiu $v0, $v0, 0x7da4 +/* 16D87C 8023EF9C AE000008 */ sw $zero, 8($s0) +/* 16D880 8023EFA0 AE02000C */ sw $v0, 0xc($s0) +/* 16D884 8023EFA4 C620014C */ lwc1 $f0, 0x14c($s1) +/* 16D888 8023EFA8 4600008D */ trunc.w.s $f2, $f0 +/* 16D88C 8023EFAC E6020004 */ swc1 $f2, 4($s0) +/* 16D890 8023EFB0 86220434 */ lh $v0, 0x434($s1) +/* 16D894 8023EFB4 0C047644 */ jal queue_render_task +/* 16D898 8023EFB8 AE020000 */ sw $v0, ($s0) +/* 16D89C 8023EFBC 8E220000 */ lw $v0, ($s1) +/* 16D8A0 8023EFC0 3C031000 */ lui $v1, 0x1000 +/* 16D8A4 8023EFC4 00431024 */ and $v0, $v0, $v1 +/* 16D8A8 8023EFC8 1040000C */ beqz $v0, .L8023EFFC +/* 16D8AC 8023EFCC 00000000 */ nop +/* 16D8B0 8023EFD0 3C028025 */ lui $v0, 0x8025 +/* 16D8B4 8023EFD4 24424C50 */ addiu $v0, $v0, 0x4c50 +/* 16D8B8 8023EFD8 AE110008 */ sw $s1, 8($s0) +/* 16D8BC 8023EFDC AE02000C */ sw $v0, 0xc($s0) +/* 16D8C0 8023EFE0 C620014C */ lwc1 $f0, 0x14c($s1) +/* 16D8C4 8023EFE4 24020022 */ addiu $v0, $zero, 0x22 +/* 16D8C8 8023EFE8 AE020000 */ sw $v0, ($s0) +/* 16D8CC 8023EFEC 4600008D */ trunc.w.s $f2, $f0 +/* 16D8D0 8023EFF0 E6020004 */ swc1 $f2, 4($s0) +/* 16D8D4 8023EFF4 0C047644 */ jal queue_render_task +/* 16D8D8 8023EFF8 0200202D */ daddu $a0, $s0, $zero +.L8023EFFC: +/* 16D8DC 8023EFFC 92820092 */ lbu $v0, 0x92($s4) +/* 16D8E0 8023F000 30420001 */ andi $v0, $v0, 1 +/* 16D8E4 8023F004 1040000B */ beqz $v0, .L8023F034 +/* 16D8E8 8023F008 0200202D */ daddu $a0, $s0, $zero +/* 16D8EC 8023F00C 3C028026 */ lui $v0, 0x8026 +/* 16D8F0 8023F010 24428E14 */ addiu $v0, $v0, -0x71ec +/* 16D8F4 8023F014 AE000008 */ sw $zero, 8($s0) +/* 16D8F8 8023F018 AE02000C */ sw $v0, 0xc($s0) +/* 16D8FC 8023F01C C620014C */ lwc1 $f0, 0x14c($s1) +/* 16D900 8023F020 4600008D */ trunc.w.s $f2, $f0 +/* 16D904 8023F024 E6020004 */ swc1 $f2, 4($s0) +/* 16D908 8023F028 86220434 */ lh $v0, 0x434($s1) +/* 16D90C 8023F02C 0C047644 */ jal queue_render_task +/* 16D910 8023F030 AC820000 */ sw $v0, ($a0) +.L8023F034: +/* 16D914 8023F034 8FBF0040 */ lw $ra, 0x40($sp) +/* 16D918 8023F038 8FB7003C */ lw $s7, 0x3c($sp) +/* 16D91C 8023F03C 8FB60038 */ lw $s6, 0x38($sp) +/* 16D920 8023F040 8FB50034 */ lw $s5, 0x34($sp) +/* 16D924 8023F044 8FB40030 */ lw $s4, 0x30($sp) +/* 16D928 8023F048 8FB3002C */ lw $s3, 0x2c($sp) +/* 16D92C 8023F04C 8FB20028 */ lw $s2, 0x28($sp) +/* 16D930 8023F050 8FB10024 */ lw $s1, 0x24($sp) +/* 16D934 8023F054 8FB00020 */ lw $s0, 0x20($sp) +/* 16D938 8023F058 03E00008 */ jr $ra +/* 16D93C 8023F05C 27BD0048 */ addiu $sp, $sp, 0x48 + +func_8023F060: +/* 16D940 8023F060 3082FFFF */ andi $v0, $a0, 0xffff +/* 16D944 8023F064 00A22823 */ subu $a1, $a1, $v0 +/* 16D948 8023F068 00A60018 */ mult $a1, $a2 +/* 16D94C 8023F06C 00001012 */ mflo $v0 +/* 16D950 8023F070 04420001 */ bltzl $v0, .L8023F078 +/* 16D954 8023F074 244200FF */ addiu $v0, $v0, 0xff +.L8023F078: +/* 16D958 8023F078 00021203 */ sra $v0, $v0, 8 +/* 16D95C 8023F07C 00821021 */ addu $v0, $a0, $v0 +/* 16D960 8023F080 03E00008 */ jr $ra +/* 16D964 8023F084 3042FFFF */ andi $v0, $v0, 0xffff + +/* 16D968 8023F088 27BDFF80 */ addiu $sp, $sp, -0x80 +/* 16D96C 8023F08C AFB40068 */ sw $s4, 0x68($sp) +/* 16D970 8023F090 0000A02D */ daddu $s4, $zero, $zero +/* 16D974 8023F094 3C03800A */ lui $v1, 0x800a +/* 16D978 8023F098 8463A634 */ lh $v1, -0x59cc($v1) +/* 16D97C 8023F09C 3C04800B */ lui $a0, 0x800b +/* 16D980 8023F0A0 24841D80 */ addiu $a0, $a0, 0x1d80 +/* 16D984 8023F0A4 AFBF007C */ sw $ra, 0x7c($sp) +/* 16D988 8023F0A8 AFBE0078 */ sw $fp, 0x78($sp) +/* 16D98C 8023F0AC AFB70074 */ sw $s7, 0x74($sp) +/* 16D990 8023F0B0 AFB60070 */ sw $s6, 0x70($sp) +/* 16D994 8023F0B4 AFB5006C */ sw $s5, 0x6c($sp) +/* 16D998 8023F0B8 AFB30064 */ sw $s3, 0x64($sp) +/* 16D99C 8023F0BC AFB20060 */ sw $s2, 0x60($sp) +/* 16D9A0 8023F0C0 AFB1005C */ sw $s1, 0x5c($sp) +/* 16D9A4 8023F0C4 AFB00058 */ sw $s0, 0x58($sp) +/* 16D9A8 8023F0C8 00031080 */ sll $v0, $v1, 2 +/* 16D9AC 8023F0CC 00431021 */ addu $v0, $v0, $v1 +/* 16D9B0 8023F0D0 00021080 */ sll $v0, $v0, 2 +/* 16D9B4 8023F0D4 00431023 */ subu $v0, $v0, $v1 +/* 16D9B8 8023F0D8 000218C0 */ sll $v1, $v0, 3 +/* 16D9BC 8023F0DC 00431021 */ addu $v0, $v0, $v1 +/* 16D9C0 8023F0E0 000210C0 */ sll $v0, $v0, 3 +/* 16D9C4 8023F0E4 0C099EF7 */ jal hide_foreground_models_unchecked +/* 16D9C8 8023F0E8 0044B821 */ addu $s7, $v0, $a0 +/* 16D9CC 8023F0EC 0C046EE9 */ jal func_8011BBA4 +/* 16D9D0 8023F0F0 00000000 */ nop +/* 16D9D4 8023F0F4 10400043 */ beqz $v0, .L8023F204 +/* 16D9D8 8023F0F8 27A40010 */ addiu $a0, $sp, 0x10 +/* 16D9DC 8023F0FC 24140001 */ addiu $s4, $zero, 1 +/* 16D9E0 8023F100 27A50014 */ addiu $a1, $sp, 0x14 +/* 16D9E4 8023F104 27A60018 */ addiu $a2, $sp, 0x18 +/* 16D9E8 8023F108 0C046EF6 */ jal get_fog_color +/* 16D9EC 8023F10C 27A7001C */ addiu $a3, $sp, 0x1c +/* 16D9F0 8023F110 27A40020 */ addiu $a0, $sp, 0x20 +/* 16D9F4 8023F114 27A50021 */ addiu $a1, $sp, 0x21 +/* 16D9F8 8023F118 3C028007 */ lui $v0, 0x8007 +/* 16D9FC 8023F11C 8C42419C */ lw $v0, 0x419c($v0) +/* 16DA00 8023F120 27A60022 */ addiu $a2, $sp, 0x22 +/* 16DA04 8023F124 9442015C */ lhu $v0, 0x15c($v0) +/* 16DA08 8023F128 27A70023 */ addiu $a3, $sp, 0x23 +/* 16DA0C 8023F12C 0C046FA0 */ jal func_8011BE80 +/* 16DA10 8023F130 AFA2001C */ sw $v0, 0x1c($sp) +/* 16DA14 8023F134 8FA3001C */ lw $v1, 0x1c($sp) +/* 16DA18 8023F138 240200FF */ addiu $v0, $zero, 0xff +/* 16DA1C 8023F13C 1462000B */ bne $v1, $v0, .L8023F16C +/* 16DA20 8023F140 0000902D */ daddu $s2, $zero, $zero +/* 16DA24 8023F144 0280182D */ daddu $v1, $s4, $zero +/* 16DA28 8023F148 0040902D */ daddu $s2, $v0, $zero +/* 16DA2C 8023F14C 3C02802A */ lui $v0, 0x802a +/* 16DA30 8023F150 2442F236 */ addiu $v0, $v0, -0xdca +.L8023F154: +/* 16DA34 8023F154 A4430000 */ sh $v1, ($v0) +/* 16DA38 8023F158 2652FFFF */ addiu $s2, $s2, -1 +/* 16DA3C 8023F15C 0641FFFD */ bgez $s2, .L8023F154 +/* 16DA40 8023F160 2442FFFE */ addiu $v0, $v0, -2 +/* 16DA44 8023F164 0808FC81 */ j func_8023F204 +/* 16DA48 8023F168 00000000 */ nop + +.L8023F16C: +/* 16DA4C 8023F16C 3C13802A */ lui $s3, 0x802a +/* 16DA50 8023F170 2673F038 */ addiu $s3, $s3, -0xfc8 +.L8023F174: +/* 16DA54 8023F174 00121840 */ sll $v1, $s2, 1 +/* 16DA58 8023F178 26520001 */ addiu $s2, $s2, 1 +/* 16DA5C 8023F17C 3C028007 */ lui $v0, 0x8007 +/* 16DA60 8023F180 8C42419C */ lw $v0, 0x419c($v0) +/* 16DA64 8023F184 8FA6001C */ lw $a2, 0x1c($sp) +/* 16DA68 8023F188 8C420158 */ lw $v0, 0x158($v0) +/* 16DA6C 8023F18C 8FA50018 */ lw $a1, 0x18($sp) +/* 16DA70 8023F190 00621821 */ addu $v1, $v1, $v0 +/* 16DA74 8023F194 94700000 */ lhu $s0, ($v1) +/* 16DA78 8023F198 000528C3 */ sra $a1, $a1, 3 +/* 16DA7C 8023F19C 00102042 */ srl $a0, $s0, 1 +/* 16DA80 8023F1A0 0C08FC18 */ jal func_8023F060 +/* 16DA84 8023F1A4 3084001F */ andi $a0, $a0, 0x1f +/* 16DA88 8023F1A8 00102182 */ srl $a0, $s0, 6 +/* 16DA8C 8023F1AC 3084001F */ andi $a0, $a0, 0x1f +/* 16DA90 8023F1B0 0040882D */ daddu $s1, $v0, $zero +/* 16DA94 8023F1B4 8FA50014 */ lw $a1, 0x14($sp) +/* 16DA98 8023F1B8 8FA6001C */ lw $a2, 0x1c($sp) +/* 16DA9C 8023F1BC 0C08FC18 */ jal func_8023F060 +/* 16DAA0 8023F1C0 000528C3 */ sra $a1, $a1, 3 +/* 16DAA4 8023F1C4 001022C2 */ srl $a0, $s0, 0xb +/* 16DAA8 8023F1C8 0040802D */ daddu $s0, $v0, $zero +/* 16DAAC 8023F1CC 8FA50010 */ lw $a1, 0x10($sp) +/* 16DAB0 8023F1D0 8FA6001C */ lw $a2, 0x1c($sp) +/* 16DAB4 8023F1D4 0C08FC18 */ jal func_8023F060 +/* 16DAB8 8023F1D8 000528C3 */ sra $a1, $a1, 3 +/* 16DABC 8023F1DC 00118840 */ sll $s1, $s1, 1 +/* 16DAC0 8023F1E0 00108180 */ sll $s0, $s0, 6 +/* 16DAC4 8023F1E4 02308825 */ or $s1, $s1, $s0 +/* 16DAC8 8023F1E8 000212C0 */ sll $v0, $v0, 0xb +/* 16DACC 8023F1EC 02228825 */ or $s1, $s1, $v0 +/* 16DAD0 8023F1F0 36310001 */ ori $s1, $s1, 1 +/* 16DAD4 8023F1F4 A6710000 */ sh $s1, ($s3) +/* 16DAD8 8023F1F8 2A420100 */ slti $v0, $s2, 0x100 +/* 16DADC 8023F1FC 1440FFDD */ bnez $v0, .L8023F174 +/* 16DAE0 8023F200 26730002 */ addiu $s3, $s3, 2 +func_8023F204: +.L8023F204: +/* 16DAE4 8023F204 3C0D8007 */ lui $t5, 0x8007 +/* 16DAE8 8023F208 8DAD419C */ lw $t5, 0x419c($t5) +/* 16DAEC 8023F20C 95A20148 */ lhu $v0, 0x148($t5) +/* 16DAF0 8023F210 30420001 */ andi $v0, $v0, 1 +/* 16DAF4 8023F214 104001ED */ beqz $v0, .L8023F9CC +/* 16DAF8 8023F218 3C03E300 */ lui $v1, 0xe300 +/* 16DAFC 8023F21C 34630A01 */ ori $v1, $v1, 0xa01 +/* 16DB00 8023F220 3C04E300 */ lui $a0, 0xe300 +/* 16DB04 8023F224 34840C00 */ ori $a0, $a0, 0xc00 +/* 16DB08 8023F228 3C05E300 */ lui $a1, 0xe300 +/* 16DB0C 8023F22C 34A51001 */ ori $a1, $a1, 0x1001 +/* 16DB10 8023F230 3C09FCFF */ lui $t1, 0xfcff +/* 16DB14 8023F234 3529FFFF */ ori $t1, $t1, 0xffff +/* 16DB18 8023F238 3C08FFFC */ lui $t0, 0xfffc +/* 16DB1C 8023F23C 3508F87C */ ori $t0, $t0, 0xf87c +/* 16DB20 8023F240 3C06E200 */ lui $a2, 0xe200 +/* 16DB24 8023F244 34C6001C */ ori $a2, $a2, 0x1c +/* 16DB28 8023F248 3C07E300 */ lui $a3, 0xe300 +/* 16DB2C 8023F24C 3C0B800A */ lui $t3, 0x800a +/* 16DB30 8023F250 256BA66C */ addiu $t3, $t3, -0x5994 +/* 16DB34 8023F254 34E71201 */ ori $a3, $a3, 0x1201 +/* 16DB38 8023F258 3C0CE700 */ lui $t4, 0xe700 +/* 16DB3C 8023F25C 8D6A0000 */ lw $t2, ($t3) +/* 16DB40 8023F260 3C014080 */ lui $at, 0x4080 +/* 16DB44 8023F264 44812000 */ mtc1 $at, $f4 +/* 16DB48 8023F268 0140102D */ daddu $v0, $t2, $zero +/* 16DB4C 8023F26C 254A0008 */ addiu $t2, $t2, 8 +/* 16DB50 8023F270 AD6A0000 */ sw $t2, ($t3) +/* 16DB54 8023F274 AC4C0000 */ sw $t4, ($v0) +/* 16DB58 8023F278 AC400004 */ sw $zero, 4($v0) +/* 16DB5C 8023F27C 25420008 */ addiu $v0, $t2, 8 +/* 16DB60 8023F280 AD620000 */ sw $v0, ($t3) +/* 16DB64 8023F284 3C020020 */ lui $v0, 0x20 +/* 16DB68 8023F288 AD420004 */ sw $v0, 4($t2) +/* 16DB6C 8023F28C 25420010 */ addiu $v0, $t2, 0x10 +/* 16DB70 8023F290 AD430000 */ sw $v1, ($t2) +/* 16DB74 8023F294 AD620000 */ sw $v0, ($t3) +/* 16DB78 8023F298 25420018 */ addiu $v0, $t2, 0x18 +/* 16DB7C 8023F29C AD440008 */ sw $a0, 8($t2) +/* 16DB80 8023F2A0 AD40000C */ sw $zero, 0xc($t2) +/* 16DB84 8023F2A4 AD620000 */ sw $v0, ($t3) +/* 16DB88 8023F2A8 34028000 */ ori $v0, $zero, 0x8000 +/* 16DB8C 8023F2AC AD420014 */ sw $v0, 0x14($t2) +/* 16DB90 8023F2B0 25420020 */ addiu $v0, $t2, 0x20 +/* 16DB94 8023F2B4 AD450010 */ sw $a1, 0x10($t2) +/* 16DB98 8023F2B8 AD620000 */ sw $v0, ($t3) +/* 16DB9C 8023F2BC AD490018 */ sw $t1, 0x18($t2) +/* 16DBA0 8023F2C0 AD48001C */ sw $t0, 0x1c($t2) +/* 16DBA4 8023F2C4 AD460020 */ sw $a2, 0x20($t2) +/* 16DBA8 8023F2C8 AD400024 */ sw $zero, 0x24($t2) +/* 16DBAC 8023F2CC AD470028 */ sw $a3, 0x28($t2) +/* 16DBB0 8023F2D0 AD40002C */ sw $zero, 0x2c($t2) +/* 16DBB4 8023F2D4 86E2000E */ lh $v0, 0xe($s7) +/* 16DBB8 8023F2D8 25430028 */ addiu $v1, $t2, 0x28 +/* 16DBBC 8023F2DC AD630000 */ sw $v1, ($t3) +/* 16DBC0 8023F2E0 44821000 */ mtc1 $v0, $f2 +/* 16DBC4 8023F2E4 00000000 */ nop +/* 16DBC8 8023F2E8 468010A0 */ cvt.s.w $f2, $f2 +/* 16DBCC 8023F2EC 46041082 */ mul.s $f2, $f2, $f4 +/* 16DBD0 8023F2F0 00000000 */ nop +/* 16DBD4 8023F2F4 25430030 */ addiu $v1, $t2, 0x30 +/* 16DBD8 8023F2F8 86E20010 */ lh $v0, 0x10($s7) +/* 16DBDC 8023F2FC 3C04ED00 */ lui $a0, 0xed00 +/* 16DBE0 8023F300 44820000 */ mtc1 $v0, $f0 +/* 16DBE4 8023F304 00000000 */ nop +/* 16DBE8 8023F308 46800020 */ cvt.s.w $f0, $f0 +/* 16DBEC 8023F30C 46040002 */ mul.s $f0, $f0, $f4 +/* 16DBF0 8023F310 00000000 */ nop +/* 16DBF4 8023F314 AD630000 */ sw $v1, ($t3) +/* 16DBF8 8023F318 4600118D */ trunc.w.s $f6, $f2 +/* 16DBFC 8023F31C 44023000 */ mfc1 $v0, $f6 +/* 16DC00 8023F320 00000000 */ nop +/* 16DC04 8023F324 30420FFF */ andi $v0, $v0, 0xfff +/* 16DC08 8023F328 00021300 */ sll $v0, $v0, 0xc +/* 16DC0C 8023F32C 4600018D */ trunc.w.s $f6, $f0 +/* 16DC10 8023F330 44033000 */ mfc1 $v1, $f6 +/* 16DC14 8023F334 00000000 */ nop +/* 16DC18 8023F338 30630FFF */ andi $v1, $v1, 0xfff +/* 16DC1C 8023F33C 00641825 */ or $v1, $v1, $a0 +/* 16DC20 8023F340 00431025 */ or $v0, $v0, $v1 +/* 16DC24 8023F344 AD420030 */ sw $v0, 0x30($t2) +/* 16DC28 8023F348 86E2000E */ lh $v0, 0xe($s7) +/* 16DC2C 8023F34C 86E4000A */ lh $a0, 0xa($s7) +/* 16DC30 8023F350 25430038 */ addiu $v1, $t2, 0x38 +/* 16DC34 8023F354 AD630000 */ sw $v1, ($t3) +/* 16DC38 8023F358 86E3000C */ lh $v1, 0xc($s7) +/* 16DC3C 8023F35C 00441021 */ addu $v0, $v0, $a0 +/* 16DC40 8023F360 2442FFFF */ addiu $v0, $v0, -1 +/* 16DC44 8023F364 44821000 */ mtc1 $v0, $f2 +/* 16DC48 8023F368 00000000 */ nop +/* 16DC4C 8023F36C 468010A0 */ cvt.s.w $f2, $f2 +/* 16DC50 8023F370 25440040 */ addiu $a0, $t2, 0x40 +/* 16DC54 8023F374 86E20010 */ lh $v0, 0x10($s7) +/* 16DC58 8023F378 46041082 */ mul.s $f2, $f2, $f4 +/* 16DC5C 8023F37C 00000000 */ nop +/* 16DC60 8023F380 AD640000 */ sw $a0, ($t3) +/* 16DC64 8023F384 00431021 */ addu $v0, $v0, $v1 +/* 16DC68 8023F388 2442FFFF */ addiu $v0, $v0, -1 +/* 16DC6C 8023F38C 44820000 */ mtc1 $v0, $f0 +/* 16DC70 8023F390 00000000 */ nop +/* 16DC74 8023F394 46800020 */ cvt.s.w $f0, $f0 +/* 16DC78 8023F398 46040002 */ mul.s $f0, $f0, $f4 +/* 16DC7C 8023F39C 00000000 */ nop +/* 16DC80 8023F3A0 AD4C0038 */ sw $t4, 0x38($t2) +/* 16DC84 8023F3A4 4600118D */ trunc.w.s $f6, $f2 +/* 16DC88 8023F3A8 44023000 */ mfc1 $v0, $f6 +/* 16DC8C 8023F3AC 00000000 */ nop +/* 16DC90 8023F3B0 30420FFF */ andi $v0, $v0, 0xfff +/* 16DC94 8023F3B4 00021300 */ sll $v0, $v0, 0xc +/* 16DC98 8023F3B8 4600018D */ trunc.w.s $f6, $f0 +/* 16DC9C 8023F3BC 44033000 */ mfc1 $v1, $f6 +/* 16DCA0 8023F3C0 00000000 */ nop +/* 16DCA4 8023F3C4 30630FFF */ andi $v1, $v1, 0xfff +/* 16DCA8 8023F3C8 00431025 */ or $v0, $v0, $v1 +/* 16DCAC 8023F3CC AD420034 */ sw $v0, 0x34($t2) +/* 16DCB0 8023F3D0 16800024 */ bnez $s4, .L8023F464 +/* 16DCB4 8023F3D4 AD40003C */ sw $zero, 0x3c($t2) +/* 16DCB8 8023F3D8 3C03F500 */ lui $v1, 0xf500 +/* 16DCBC 8023F3DC 34630100 */ ori $v1, $v1, 0x100 +/* 16DCC0 8023F3E0 3C05073F */ lui $a1, 0x73f +/* 16DCC4 8023F3E4 34A5C000 */ ori $a1, $a1, 0xc000 +/* 16DCC8 8023F3E8 25420048 */ addiu $v0, $t2, 0x48 +/* 16DCCC 8023F3EC AD620000 */ sw $v0, ($t3) +/* 16DCD0 8023F3F0 3C02FD10 */ lui $v0, 0xfd10 +/* 16DCD4 8023F3F4 AD420040 */ sw $v0, 0x40($t2) +/* 16DCD8 8023F3F8 25420050 */ addiu $v0, $t2, 0x50 +/* 16DCDC 8023F3FC AD620000 */ sw $v0, ($t3) +/* 16DCE0 8023F400 8DA40158 */ lw $a0, 0x158($t5) +/* 16DCE4 8023F404 3C02E800 */ lui $v0, 0xe800 +/* 16DCE8 8023F408 AD420048 */ sw $v0, 0x48($t2) +/* 16DCEC 8023F40C 25420058 */ addiu $v0, $t2, 0x58 +/* 16DCF0 8023F410 AD40004C */ sw $zero, 0x4c($t2) +/* 16DCF4 8023F414 AD620000 */ sw $v0, ($t3) +/* 16DCF8 8023F418 3C020700 */ lui $v0, 0x700 +/* 16DCFC 8023F41C AD420054 */ sw $v0, 0x54($t2) +/* 16DD00 8023F420 25420060 */ addiu $v0, $t2, 0x60 +/* 16DD04 8023F424 AD430050 */ sw $v1, 0x50($t2) +/* 16DD08 8023F428 AD620000 */ sw $v0, ($t3) +/* 16DD0C 8023F42C 3C02E600 */ lui $v0, 0xe600 +/* 16DD10 8023F430 AD420058 */ sw $v0, 0x58($t2) +/* 16DD14 8023F434 25420068 */ addiu $v0, $t2, 0x68 +/* 16DD18 8023F438 AD40005C */ sw $zero, 0x5c($t2) +/* 16DD1C 8023F43C AD620000 */ sw $v0, ($t3) +/* 16DD20 8023F440 3C02F000 */ lui $v0, 0xf000 +/* 16DD24 8023F444 AD420060 */ sw $v0, 0x60($t2) +/* 16DD28 8023F448 25420070 */ addiu $v0, $t2, 0x70 +/* 16DD2C 8023F44C AD450064 */ sw $a1, 0x64($t2) +/* 16DD30 8023F450 AD620000 */ sw $v0, ($t3) +/* 16DD34 8023F454 AD4C0068 */ sw $t4, 0x68($t2) +/* 16DD38 8023F458 AD40006C */ sw $zero, 0x6c($t2) +/* 16DD3C 8023F45C 0808FD3C */ j func_8023F4F0 +/* 16DD40 8023F460 AD440044 */ sw $a0, 0x44($t2) + +.L8023F464: +/* 16DD44 8023F464 3C03F500 */ lui $v1, 0xf500 +/* 16DD48 8023F468 34630100 */ ori $v1, $v1, 0x100 +/* 16DD4C 8023F46C 3C04073F */ lui $a0, 0x73f +/* 16DD50 8023F470 3484C000 */ ori $a0, $a0, 0xc000 +/* 16DD54 8023F474 25420048 */ addiu $v0, $t2, 0x48 +/* 16DD58 8023F478 AD620000 */ sw $v0, ($t3) +/* 16DD5C 8023F47C 3C02FD10 */ lui $v0, 0xfd10 +/* 16DD60 8023F480 AD420040 */ sw $v0, 0x40($t2) +/* 16DD64 8023F484 3C02802A */ lui $v0, 0x802a +/* 16DD68 8023F488 2442F038 */ addiu $v0, $v0, -0xfc8 +/* 16DD6C 8023F48C AD420044 */ sw $v0, 0x44($t2) +/* 16DD70 8023F490 25420050 */ addiu $v0, $t2, 0x50 +/* 16DD74 8023F494 AD620000 */ sw $v0, ($t3) +/* 16DD78 8023F498 3C02E800 */ lui $v0, 0xe800 +/* 16DD7C 8023F49C AD420048 */ sw $v0, 0x48($t2) +/* 16DD80 8023F4A0 25420058 */ addiu $v0, $t2, 0x58 +/* 16DD84 8023F4A4 AD40004C */ sw $zero, 0x4c($t2) +/* 16DD88 8023F4A8 AD620000 */ sw $v0, ($t3) +/* 16DD8C 8023F4AC 3C020700 */ lui $v0, 0x700 +/* 16DD90 8023F4B0 AD420054 */ sw $v0, 0x54($t2) +/* 16DD94 8023F4B4 25420060 */ addiu $v0, $t2, 0x60 +/* 16DD98 8023F4B8 AD430050 */ sw $v1, 0x50($t2) +/* 16DD9C 8023F4BC AD620000 */ sw $v0, ($t3) +/* 16DDA0 8023F4C0 3C02E600 */ lui $v0, 0xe600 +/* 16DDA4 8023F4C4 AD420058 */ sw $v0, 0x58($t2) +/* 16DDA8 8023F4C8 25420068 */ addiu $v0, $t2, 0x68 +/* 16DDAC 8023F4CC AD40005C */ sw $zero, 0x5c($t2) +/* 16DDB0 8023F4D0 AD620000 */ sw $v0, ($t3) +/* 16DDB4 8023F4D4 3C02F000 */ lui $v0, 0xf000 +/* 16DDB8 8023F4D8 AD420060 */ sw $v0, 0x60($t2) +/* 16DDBC 8023F4DC 25420070 */ addiu $v0, $t2, 0x70 +/* 16DDC0 8023F4E0 AD440064 */ sw $a0, 0x64($t2) +/* 16DDC4 8023F4E4 AD620000 */ sw $v0, ($t3) +/* 16DDC8 8023F4E8 AD4C0068 */ sw $t4, 0x68($t2) +/* 16DDCC 8023F4EC AD40006C */ sw $zero, 0x6c($t2) +func_8023F4F0: +/* 16DDD0 8023F4F0 3C038007 */ lui $v1, 0x8007 +/* 16DDD4 8023F4F4 8C63419C */ lw $v1, 0x419c($v1) +/* 16DDD8 8023F4F8 846E014E */ lh $t6, 0x14e($v1) +/* 16DDDC 8023F4FC 24020800 */ addiu $v0, $zero, 0x800 +/* 16DDE0 8023F500 15C00002 */ bnez $t6, .L8023F50C +/* 16DDE4 8023F504 004E001A */ div $zero, $v0, $t6 +/* 16DDE8 8023F508 0007000D */ break 7 +.L8023F50C: +/* 16DDEC 8023F50C 2401FFFF */ addiu $at, $zero, -1 +/* 16DDF0 8023F510 15C10004 */ bne $t6, $at, .L8023F524 +/* 16DDF4 8023F514 3C018000 */ lui $at, 0x8000 +/* 16DDF8 8023F518 14410002 */ bne $v0, $at, .L8023F524 +/* 16DDFC 8023F51C 00000000 */ nop +/* 16DE00 8023F520 0006000D */ break 6 +.L8023F524: +/* 16DE04 8023F524 00006812 */ mflo $t5 +/* 16DE08 8023F528 84630150 */ lh $v1, 0x150($v1) +/* 16DE0C 8023F52C 15A00002 */ bnez $t5, .L8023F538 +/* 16DE10 8023F530 006D001A */ div $zero, $v1, $t5 +/* 16DE14 8023F534 0007000D */ break 7 +.L8023F538: +/* 16DE18 8023F538 2401FFFF */ addiu $at, $zero, -1 +/* 16DE1C 8023F53C 15A10004 */ bne $t5, $at, .L8023F550 +/* 16DE20 8023F540 3C018000 */ lui $at, 0x8000 +/* 16DE24 8023F544 14610002 */ bne $v1, $at, .L8023F550 +/* 16DE28 8023F548 00000000 */ nop +/* 16DE2C 8023F54C 0006000D */ break 6 +.L8023F550: +/* 16DE30 8023F550 0000B012 */ mflo $s6 +/* 16DE34 8023F554 0000A810 */ mfhi $s5 +/* 16DE38 8023F558 AFA00028 */ sw $zero, 0x28($sp) +/* 16DE3C 8023F55C AFA30024 */ sw $v1, 0x24($sp) +/* 16DE40 8023F560 AFB5002C */ sw $s5, 0x2c($sp) +/* 16DE44 8023F564 86F8000E */ lh $t8, 0xe($s7) +/* 16DE48 8023F568 86F90010 */ lh $t9, 0x10($s7) +/* 16DE4C 8023F56C 1AC0008F */ blez $s6, .L8023F7AC +/* 16DE50 8023F570 0000902D */ daddu $s2, $zero, $zero +/* 16DE54 8023F574 3C0A800A */ lui $t2, 0x800a +/* 16DE58 8023F578 254AA66C */ addiu $t2, $t2, -0x5994 +/* 16DE5C 8023F57C 25C2FFFF */ addiu $v0, $t6, -1 +/* 16DE60 8023F580 30420FFF */ andi $v0, $v0, 0xfff +/* 16DE64 8023F584 3C03FD48 */ lui $v1, 0xfd48 +/* 16DE68 8023F588 00431025 */ or $v0, $v0, $v1 +/* 16DE6C 8023F58C 3C14F548 */ lui $s4, 0xf548 +/* 16DE70 8023F590 36944A00 */ ori $s4, $s4, 0x4a00 +/* 16DE74 8023F594 AFA20030 */ sw $v0, 0x30($sp) +/* 16DE78 8023F598 2702FFFF */ addiu $v0, $t8, -1 +/* 16DE7C 8023F59C 00021080 */ sll $v0, $v0, 2 +/* 16DE80 8023F5A0 30420FFF */ andi $v0, $v0, 0xfff +/* 16DE84 8023F5A4 00021300 */ sll $v0, $v0, 0xc +/* 16DE88 8023F5A8 000EAD40 */ sll $s5, $t6, 0x15 +/* 16DE8C 8023F5AC 3C1EF100 */ lui $fp, 0xf100 +/* 16DE90 8023F5B0 3C131000 */ lui $s3, 0x1000 +/* 16DE94 8023F5B4 36730400 */ ori $s3, $s3, 0x400 +/* 16DE98 8023F5B8 AFA20034 */ sw $v0, 0x34($sp) +/* 16DE9C 8023F5BC 01D81021 */ addu $v0, $t6, $t8 +/* 16DEA0 8023F5C0 2442FFFF */ addiu $v0, $v0, -1 +/* 16DEA4 8023F5C4 00021080 */ sll $v0, $v0, 2 +/* 16DEA8 8023F5C8 30420FFF */ andi $v0, $v0, 0xfff +/* 16DEAC 8023F5CC 00021300 */ sll $v0, $v0, 0xc +/* 16DEB0 8023F5D0 AFA2003C */ sw $v0, 0x3c($sp) +/* 16DEB4 8023F5D4 00181080 */ sll $v0, $t8, 2 +/* 16DEB8 8023F5D8 30420FFF */ andi $v0, $v0, 0xfff +/* 16DEBC 8023F5DC 00021300 */ sll $v0, $v0, 0xc +/* 16DEC0 8023F5E0 AFB50038 */ sw $s5, 0x38($sp) +/* 16DEC4 8023F5E4 0040A82D */ daddu $s5, $v0, $zero +/* 16DEC8 8023F5E8 0320882D */ daddu $s1, $t9, $zero +/* 16DECC 8023F5EC 01A0802D */ daddu $s0, $t5, $zero +/* 16DED0 8023F5F0 0240782D */ daddu $t7, $s2, $zero +/* 16DED4 8023F5F4 AFA20050 */ sw $v0, 0x50($sp) +/* 16DED8 8023F5F8 AFB50040 */ sw $s5, 0x40($sp) +.L8023F5FC: +/* 16DEDC 8023F5FC 3C028028 */ lui $v0, 0x8028 +/* 16DEE0 8023F600 944209FA */ lhu $v0, 0x9fa($v0) +/* 16DEE4 8023F604 3C0C8007 */ lui $t4, 0x8007 +/* 16DEE8 8023F608 8D8C419C */ lw $t4, 0x419c($t4) +/* 16DEEC 8023F60C 004F2021 */ addu $a0, $v0, $t7 +/* 16DEF0 8023F610 00041400 */ sll $v0, $a0, 0x10 +/* 16DEF4 8023F614 85830150 */ lh $v1, 0x150($t4) +/* 16DEF8 8023F618 00021403 */ sra $v0, $v0, 0x10 +/* 16DEFC 8023F61C 0062182A */ slt $v1, $v1, $v0 +/* 16DF00 8023F620 95820150 */ lhu $v0, 0x150($t4) +/* 16DF04 8023F624 10600002 */ beqz $v1, .L8023F630 +/* 16DF08 8023F628 0080582D */ daddu $t3, $a0, $zero +/* 16DF0C 8023F62C 00825823 */ subu $t3, $a0, $v0 +.L8023F630: +/* 16DF10 8023F630 3C080749 */ lui $t0, 0x749 +/* 16DF14 8023F634 3508C014 */ ori $t0, $t0, 0xc014 +/* 16DF18 8023F638 3C090049 */ lui $t1, 0x49 +/* 16DF1C 8023F63C 3529C014 */ ori $t1, $t1, 0xc014 +/* 16DF20 8023F640 00113080 */ sll $a2, $s1, 2 +/* 16DF24 8023F644 022D8821 */ addu $s1, $s1, $t5 +/* 16DF28 8023F648 2725FFFF */ addiu $a1, $t9, -1 +/* 16DF2C 8023F64C 02052821 */ addu $a1, $s0, $a1 +/* 16DF30 8023F650 020D8021 */ addu $s0, $s0, $t5 +/* 16DF34 8023F654 00052880 */ sll $a1, $a1, 2 +/* 16DF38 8023F658 8D430000 */ lw $v1, ($t2) +/* 16DF3C 8023F65C 30A50FFF */ andi $a1, $a1, 0xfff +/* 16DF40 8023F660 0060382D */ daddu $a3, $v1, $zero +/* 16DF44 8023F664 24630008 */ addiu $v1, $v1, 8 +/* 16DF48 8023F668 24620008 */ addiu $v0, $v1, 8 +/* 16DF4C 8023F66C AD430000 */ sw $v1, ($t2) +/* 16DF50 8023F670 8FB50030 */ lw $s5, 0x30($sp) +/* 16DF54 8023F674 24640048 */ addiu $a0, $v1, 0x48 +/* 16DF58 8023F678 ACF50000 */ sw $s5, ($a3) +/* 16DF5C 8023F67C AD420000 */ sw $v0, ($t2) +/* 16DF60 8023F680 24620010 */ addiu $v0, $v1, 0x10 +/* 16DF64 8023F684 AD420000 */ sw $v0, ($t2) +/* 16DF68 8023F688 24620018 */ addiu $v0, $v1, 0x18 +/* 16DF6C 8023F68C AD420000 */ sw $v0, ($t2) +/* 16DF70 8023F690 24620020 */ addiu $v0, $v1, 0x20 +/* 16DF74 8023F694 AD420000 */ sw $v0, ($t2) +/* 16DF78 8023F698 24620028 */ addiu $v0, $v1, 0x28 +/* 16DF7C 8023F69C AD420000 */ sw $v0, ($t2) +/* 16DF80 8023F6A0 24620030 */ addiu $v0, $v1, 0x30 +/* 16DF84 8023F6A4 AD420000 */ sw $v0, ($t2) +/* 16DF88 8023F6A8 24620038 */ addiu $v0, $v1, 0x38 +/* 16DF8C 8023F6AC AD420000 */ sw $v0, ($t2) +/* 16DF90 8023F6B0 24620040 */ addiu $v0, $v1, 0x40 +/* 16DF94 8023F6B4 AD420000 */ sw $v0, ($t2) +/* 16DF98 8023F6B8 000B1400 */ sll $v0, $t3, 0x10 +/* 16DF9C 8023F6BC 00021403 */ sra $v0, $v0, 0x10 +/* 16DFA0 8023F6C0 01C20018 */ mult $t6, $v0 +/* 16DFA4 8023F6C4 AD440000 */ sw $a0, ($t2) +/* 16DFA8 8023F6C8 8D840154 */ lw $a0, 0x154($t4) +/* 16DFAC 8023F6CC 24620050 */ addiu $v0, $v1, 0x50 +/* 16DFB0 8023F6D0 AD420000 */ sw $v0, ($t2) +/* 16DFB4 8023F6D4 3C020700 */ lui $v0, 0x700 +/* 16DFB8 8023F6D8 0000A812 */ mflo $s5 +/* 16DFBC 8023F6DC 00952021 */ addu $a0, $a0, $s5 +/* 16DFC0 8023F6E0 ACE40004 */ sw $a0, 4($a3) +/* 16DFC4 8023F6E4 AC620004 */ sw $v0, 4($v1) +/* 16DFC8 8023F6E8 3C02E600 */ lui $v0, 0xe600 +/* 16DFCC 8023F6EC AC620008 */ sw $v0, 8($v1) +/* 16DFD0 8023F6F0 3C02F400 */ lui $v0, 0xf400 +/* 16DFD4 8023F6F4 AC620010 */ sw $v0, 0x10($v1) +/* 16DFD8 8023F6F8 3C02E700 */ lui $v0, 0xe700 +/* 16DFDC 8023F6FC AC620018 */ sw $v0, 0x18($v1) +/* 16DFE0 8023F700 3C02F200 */ lui $v0, 0xf200 +/* 16DFE4 8023F704 AC620028 */ sw $v0, 0x28($v1) +/* 16DFE8 8023F708 3C02E400 */ lui $v0, 0xe400 +/* 16DFEC 8023F70C AC740000 */ sw $s4, ($v1) +/* 16DFF0 8023F710 AC60000C */ sw $zero, 0xc($v1) +/* 16DFF4 8023F714 AC680014 */ sw $t0, 0x14($v1) +/* 16DFF8 8023F718 AC60001C */ sw $zero, 0x1c($v1) +/* 16DFFC 8023F71C AC740020 */ sw $s4, 0x20($v1) +/* 16E000 8023F720 AC600024 */ sw $zero, 0x24($v1) +/* 16E004 8023F724 AC69002C */ sw $t1, 0x2c($v1) +/* 16E008 8023F728 8FB50034 */ lw $s5, 0x34($sp) +/* 16E00C 8023F72C 00A22825 */ or $a1, $a1, $v0 +/* 16E010 8023F730 02A51025 */ or $v0, $s5, $a1 +/* 16E014 8023F734 AC620030 */ sw $v0, 0x30($v1) +/* 16E018 8023F738 8FB50050 */ lw $s5, 0x50($sp) +/* 16E01C 8023F73C 30C60FFF */ andi $a2, $a2, 0xfff +/* 16E020 8023F740 02A61025 */ or $v0, $s5, $a2 +/* 16E024 8023F744 3C15E100 */ lui $s5, 0xe100 +/* 16E028 8023F748 AC620034 */ sw $v0, 0x34($v1) +/* 16E02C 8023F74C AC750038 */ sw $s5, 0x38($v1) +/* 16E030 8023F750 8FB50038 */ lw $s5, 0x38($sp) +/* 16E034 8023F754 01ED7821 */ addu $t7, $t7, $t5 +/* 16E038 8023F758 AC75003C */ sw $s5, 0x3c($v1) +/* 16E03C 8023F75C AC7E0040 */ sw $fp, 0x40($v1) +/* 16E040 8023F760 AC730044 */ sw $s3, 0x44($v1) +/* 16E044 8023F764 8FB5003C */ lw $s5, 0x3c($sp) +/* 16E048 8023F768 26520001 */ addiu $s2, $s2, 1 +/* 16E04C 8023F76C 02A52825 */ or $a1, $s5, $a1 +/* 16E050 8023F770 AC650048 */ sw $a1, 0x48($v1) +/* 16E054 8023F774 8FB50040 */ lw $s5, 0x40($sp) +/* 16E058 8023F778 24620058 */ addiu $v0, $v1, 0x58 +/* 16E05C 8023F77C 02A63025 */ or $a2, $s5, $a2 +/* 16E060 8023F780 3C15E100 */ lui $s5, 0xe100 +/* 16E064 8023F784 AC66004C */ sw $a2, 0x4c($v1) +/* 16E068 8023F788 AD420000 */ sw $v0, ($t2) +/* 16E06C 8023F78C 24620060 */ addiu $v0, $v1, 0x60 +/* 16E070 8023F790 AC750050 */ sw $s5, 0x50($v1) +/* 16E074 8023F794 AC600054 */ sw $zero, 0x54($v1) +/* 16E078 8023F798 AD420000 */ sw $v0, ($t2) +/* 16E07C 8023F79C 0256102A */ slt $v0, $s2, $s6 +/* 16E080 8023F7A0 AC7E0058 */ sw $fp, 0x58($v1) +/* 16E084 8023F7A4 1440FF95 */ bnez $v0, .L8023F5FC +/* 16E088 8023F7A8 AC73005C */ sw $s3, 0x5c($v1) +.L8023F7AC: +/* 16E08C 8023F7AC 8FB5002C */ lw $s5, 0x2c($sp) +/* 16E090 8023F7B0 12A00086 */ beqz $s5, .L8023F9CC +/* 16E094 8023F7B4 01B20018 */ mult $t5, $s2 +/* 16E098 8023F7B8 3C0C8007 */ lui $t4, 0x8007 +/* 16E09C 8023F7BC 8D8C419C */ lw $t4, 0x419c($t4) +/* 16E0A0 8023F7C0 3C028028 */ lui $v0, 0x8028 +/* 16E0A4 8023F7C4 944209FA */ lhu $v0, 0x9fa($v0) +/* 16E0A8 8023F7C8 85830150 */ lh $v1, 0x150($t4) +/* 16E0AC 8023F7CC 00006812 */ mflo $t5 +/* 16E0B0 8023F7D0 004D2021 */ addu $a0, $v0, $t5 +/* 16E0B4 8023F7D4 00041400 */ sll $v0, $a0, 0x10 +/* 16E0B8 8023F7D8 00021403 */ sra $v0, $v0, 0x10 +/* 16E0BC 8023F7DC 0062182A */ slt $v1, $v1, $v0 +/* 16E0C0 8023F7E0 95820150 */ lhu $v0, 0x150($t4) +/* 16E0C4 8023F7E4 10600002 */ beqz $v1, .L8023F7F0 +/* 16E0C8 8023F7E8 0080582D */ daddu $t3, $a0, $zero +/* 16E0CC 8023F7EC 00825823 */ subu $t3, $a0, $v0 +.L8023F7F0: +/* 16E0D0 8023F7F0 3C08F548 */ lui $t0, 0xf548 +/* 16E0D4 8023F7F4 35084A00 */ ori $t0, $t0, 0x4a00 +/* 16E0D8 8023F7F8 3C050749 */ lui $a1, 0x749 +/* 16E0DC 8023F7FC 34A5C000 */ ori $a1, $a1, 0xc000 +/* 16E0E0 8023F800 3C090049 */ lui $t1, 0x49 +/* 16E0E4 8023F804 3529C000 */ ori $t1, $t1, 0xc000 +/* 16E0E8 8023F808 3C0A1000 */ lui $t2, 0x1000 +/* 16E0EC 8023F80C 3C07800A */ lui $a3, 0x800a +/* 16E0F0 8023F810 24E7A66C */ addiu $a3, $a3, -0x5994 +/* 16E0F4 8023F814 354A0400 */ ori $t2, $t2, 0x400 +/* 16E0F8 8023F818 25C2FFFF */ addiu $v0, $t6, -1 +/* 16E0FC 8023F81C 30420FFF */ andi $v0, $v0, 0xfff +/* 16E100 8023F820 3C03FD48 */ lui $v1, 0xfd48 +/* 16E104 8023F824 8CE40000 */ lw $a0, ($a3) +/* 16E108 8023F828 00431025 */ or $v0, $v0, $v1 +/* 16E10C 8023F82C 0080302D */ daddu $a2, $a0, $zero +/* 16E110 8023F830 24840008 */ addiu $a0, $a0, 8 +/* 16E114 8023F834 ACE40000 */ sw $a0, ($a3) +/* 16E118 8023F838 ACC20000 */ sw $v0, ($a2) +/* 16E11C 8023F83C 24820008 */ addiu $v0, $a0, 8 +/* 16E120 8023F840 ACE20000 */ sw $v0, ($a3) +/* 16E124 8023F844 24820010 */ addiu $v0, $a0, 0x10 +/* 16E128 8023F848 ACE20000 */ sw $v0, ($a3) +/* 16E12C 8023F84C 24820018 */ addiu $v0, $a0, 0x18 +/* 16E130 8023F850 ACE20000 */ sw $v0, ($a3) +/* 16E134 8023F854 24820020 */ addiu $v0, $a0, 0x20 +/* 16E138 8023F858 ACE20000 */ sw $v0, ($a3) +/* 16E13C 8023F85C 24820028 */ addiu $v0, $a0, 0x28 +/* 16E140 8023F860 ACE20000 */ sw $v0, ($a3) +/* 16E144 8023F864 24820030 */ addiu $v0, $a0, 0x30 +/* 16E148 8023F868 ACE20000 */ sw $v0, ($a3) +/* 16E14C 8023F86C 24820038 */ addiu $v0, $a0, 0x38 +/* 16E150 8023F870 ACE20000 */ sw $v0, ($a3) +/* 16E154 8023F874 24820040 */ addiu $v0, $a0, 0x40 +/* 16E158 8023F878 ACE20000 */ sw $v0, ($a3) +/* 16E15C 8023F87C 000B1400 */ sll $v0, $t3, 0x10 +/* 16E160 8023F880 00021403 */ sra $v0, $v0, 0x10 +/* 16E164 8023F884 24830048 */ addiu $v1, $a0, 0x48 +/* 16E168 8023F888 01C20018 */ mult $t6, $v0 +/* 16E16C 8023F88C ACE30000 */ sw $v1, ($a3) +/* 16E170 8023F890 8D820154 */ lw $v0, 0x154($t4) +/* 16E174 8023F894 24830050 */ addiu $v1, $a0, 0x50 +/* 16E178 8023F898 ACE30000 */ sw $v1, ($a3) +/* 16E17C 8023F89C 0000A812 */ mflo $s5 +/* 16E180 8023F8A0 00551021 */ addu $v0, $v0, $s5 +/* 16E184 8023F8A4 ACC20004 */ sw $v0, 4($a2) +/* 16E188 8023F8A8 3C020700 */ lui $v0, 0x700 +/* 16E18C 8023F8AC AC820004 */ sw $v0, 4($a0) +/* 16E190 8023F8B0 3C02E600 */ lui $v0, 0xe600 +/* 16E194 8023F8B4 AC820008 */ sw $v0, 8($a0) +/* 16E198 8023F8B8 3C02F400 */ lui $v0, 0xf400 +/* 16E19C 8023F8BC AC880000 */ sw $t0, ($a0) +/* 16E1A0 8023F8C0 AC80000C */ sw $zero, 0xc($a0) +/* 16E1A4 8023F8C4 AC820010 */ sw $v0, 0x10($a0) +/* 16E1A8 8023F8C8 8FB5002C */ lw $s5, 0x2c($sp) +/* 16E1AC 8023F8CC 3C03E700 */ lui $v1, 0xe700 +/* 16E1B0 8023F8D0 26A2FFFF */ addiu $v0, $s5, -1 +/* 16E1B4 8023F8D4 00021080 */ sll $v0, $v0, 2 +/* 16E1B8 8023F8D8 30420FFF */ andi $v0, $v0, 0xfff +/* 16E1BC 8023F8DC 00452825 */ or $a1, $v0, $a1 +/* 16E1C0 8023F8E0 AC830018 */ sw $v1, 0x18($a0) +/* 16E1C4 8023F8E4 3C03F200 */ lui $v1, 0xf200 +/* 16E1C8 8023F8E8 00491025 */ or $v0, $v0, $t1 +/* 16E1CC 8023F8EC AC850014 */ sw $a1, 0x14($a0) +/* 16E1D0 8023F8F0 2725FFFF */ addiu $a1, $t9, -1 +/* 16E1D4 8023F8F4 AC830028 */ sw $v1, 0x28($a0) +/* 16E1D8 8023F8F8 3C03E400 */ lui $v1, 0xe400 +/* 16E1DC 8023F8FC AC880020 */ sw $t0, 0x20($a0) +/* 16E1E0 8023F900 3C08E100 */ lui $t0, 0xe100 +/* 16E1E4 8023F904 AC80001C */ sw $zero, 0x1c($a0) +/* 16E1E8 8023F908 AC800024 */ sw $zero, 0x24($a0) +/* 16E1EC 8023F90C AC82002C */ sw $v0, 0x2c($a0) +/* 16E1F0 8023F910 8FB50028 */ lw $s5, 0x28($sp) +/* 16E1F4 8023F914 3C09F100 */ lui $t1, 0xf100 +/* 16E1F8 8023F918 02B83021 */ addu $a2, $s5, $t8 +/* 16E1FC 8023F91C 24C2FFFF */ addiu $v0, $a2, -1 +/* 16E200 8023F920 00021080 */ sll $v0, $v0, 2 +/* 16E204 8023F924 30420FFF */ andi $v0, $v0, 0xfff +/* 16E208 8023F928 00021300 */ sll $v0, $v0, 0xc +/* 16E20C 8023F92C 00063080 */ sll $a2, $a2, 2 +/* 16E210 8023F930 30C60FFF */ andi $a2, $a2, 0xfff +/* 16E214 8023F934 8FB50024 */ lw $s5, 0x24($sp) +/* 16E218 8023F938 00063300 */ sll $a2, $a2, 0xc +/* 16E21C 8023F93C 02A52821 */ addu $a1, $s5, $a1 +/* 16E220 8023F940 00052880 */ sll $a1, $a1, 2 +/* 16E224 8023F944 30A50FFF */ andi $a1, $a1, 0xfff +/* 16E228 8023F948 00A32825 */ or $a1, $a1, $v1 +/* 16E22C 8023F94C 00451025 */ or $v0, $v0, $a1 +/* 16E230 8023F950 AC820030 */ sw $v0, 0x30($a0) +/* 16E234 8023F954 00181080 */ sll $v0, $t8, 2 +/* 16E238 8023F958 30420FFF */ andi $v0, $v0, 0xfff +/* 16E23C 8023F95C 00021300 */ sll $v0, $v0, 0xc +/* 16E240 8023F960 01B91821 */ addu $v1, $t5, $t9 +/* 16E244 8023F964 00031880 */ sll $v1, $v1, 2 +/* 16E248 8023F968 30630FFF */ andi $v1, $v1, 0xfff +/* 16E24C 8023F96C 00431025 */ or $v0, $v0, $v1 +/* 16E250 8023F970 AC820034 */ sw $v0, 0x34($a0) +/* 16E254 8023F974 000E1540 */ sll $v0, $t6, 0x15 +/* 16E258 8023F978 AC82003C */ sw $v0, 0x3c($a0) +/* 16E25C 8023F97C 01D81021 */ addu $v0, $t6, $t8 +/* 16E260 8023F980 2442FFFF */ addiu $v0, $v0, -1 +/* 16E264 8023F984 00021080 */ sll $v0, $v0, 2 +/* 16E268 8023F988 30420FFF */ andi $v0, $v0, 0xfff +/* 16E26C 8023F98C 00021300 */ sll $v0, $v0, 0xc +/* 16E270 8023F990 00451025 */ or $v0, $v0, $a1 +/* 16E274 8023F994 00C33025 */ or $a2, $a2, $v1 +/* 16E278 8023F998 AC880038 */ sw $t0, 0x38($a0) +/* 16E27C 8023F99C AC890040 */ sw $t1, 0x40($a0) +/* 16E280 8023F9A0 AC8A0044 */ sw $t2, 0x44($a0) +/* 16E284 8023F9A4 AC820048 */ sw $v0, 0x48($a0) +/* 16E288 8023F9A8 24820058 */ addiu $v0, $a0, 0x58 +/* 16E28C 8023F9AC AC86004C */ sw $a2, 0x4c($a0) +/* 16E290 8023F9B0 ACE20000 */ sw $v0, ($a3) +/* 16E294 8023F9B4 24820060 */ addiu $v0, $a0, 0x60 +/* 16E298 8023F9B8 AC880050 */ sw $t0, 0x50($a0) +/* 16E29C 8023F9BC AC800054 */ sw $zero, 0x54($a0) +/* 16E2A0 8023F9C0 ACE20000 */ sw $v0, ($a3) +/* 16E2A4 8023F9C4 AC890058 */ sw $t1, 0x58($a0) +/* 16E2A8 8023F9C8 AC8A005C */ sw $t2, 0x5c($a0) +.L8023F9CC: +/* 16E2AC 8023F9CC 3C02DC08 */ lui $v0, 0xdc08 +/* 16E2B0 8023F9D0 34420008 */ ori $v0, $v0, 8 +/* 16E2B4 8023F9D4 3C04D9C0 */ lui $a0, 0xd9c0 +/* 16E2B8 8023F9D8 3484F9FB */ ori $a0, $a0, 0xf9fb +/* 16E2BC 8023F9DC 3C15E300 */ lui $s5, 0xe300 +/* 16E2C0 8023F9E0 36B50A01 */ ori $s5, $s5, 0xa01 +/* 16E2C4 8023F9E4 3C05E300 */ lui $a1, 0xe300 +/* 16E2C8 8023F9E8 34A50800 */ ori $a1, $a1, 0x800 +/* 16E2CC 8023F9EC 3C07E300 */ lui $a3, 0xe300 +/* 16E2D0 8023F9F0 34E70F00 */ ori $a3, $a3, 0xf00 +/* 16E2D4 8023F9F4 3C08E300 */ lui $t0, 0xe300 +/* 16E2D8 8023F9F8 35081001 */ ori $t0, $t0, 0x1001 +/* 16E2DC 8023F9FC 3C09E300 */ lui $t1, 0xe300 +/* 16E2E0 8023FA00 35290D01 */ ori $t1, $t1, 0xd01 +/* 16E2E4 8023FA04 3C0AE300 */ lui $t2, 0xe300 +/* 16E2E8 8023FA08 354A0C00 */ ori $t2, $t2, 0xc00 +/* 16E2EC 8023FA0C 3C0BE300 */ lui $t3, 0xe300 +/* 16E2F0 8023FA10 356B1201 */ ori $t3, $t3, 0x1201 +/* 16E2F4 8023FA14 3C0CE300 */ lui $t4, 0xe300 +/* 16E2F8 8023FA18 358C1402 */ ori $t4, $t4, 0x1402 +/* 16E2FC 8023FA1C 3C0EFCFF */ lui $t6, 0xfcff +/* 16E300 8023FA20 35CEFFFF */ ori $t6, $t6, 0xffff +/* 16E304 8023FA24 3C0DFFFE */ lui $t5, 0xfffe +/* 16E308 8023FA28 35AD793C */ ori $t5, $t5, 0x793c +/* 16E30C 8023FA2C 3C0FE300 */ lui $t7, 0xe300 +/* 16E310 8023FA30 35EF1700 */ ori $t7, $t7, 0x1700 +/* 16E314 8023FA34 3C11E200 */ lui $s1, 0xe200 +/* 16E318 8023FA38 36311E01 */ ori $s1, $s1, 0x1e01 +/* 16E31C 8023FA3C 3C12E200 */ lui $s2, 0xe200 +/* 16E320 8023FA40 3652001C */ ori $s2, $s2, 0x1c +/* 16E324 8023FA44 3C130F0A */ lui $s3, 0xf0a +/* 16E328 8023FA48 36734000 */ ori $s3, $s3, 0x4000 +/* 16E32C 8023FA4C 3C14E300 */ lui $s4, 0xe300 +/* 16E330 8023FA50 36941801 */ ori $s4, $s4, 0x1801 +/* 16E334 8023FA54 AFB50044 */ sw $s5, 0x44($sp) +/* 16E338 8023FA58 3C15DB04 */ lui $s5, 0xdb04 +/* 16E33C 8023FA5C 36B50004 */ ori $s5, $s5, 4 +/* 16E340 8023FA60 AFB50050 */ sw $s5, 0x50($sp) +/* 16E344 8023FA64 3C15DB04 */ lui $s5, 0xdb04 +/* 16E348 8023FA68 36B5000C */ ori $s5, $s5, 0xc +/* 16E34C 8023FA6C 3C18DB04 */ lui $t8, 0xdb04 +/* 16E350 8023FA70 37180014 */ ori $t8, $t8, 0x14 +/* 16E354 8023FA74 3C19DB04 */ lui $t9, 0xdb04 +/* 16E358 8023FA78 3739001C */ ori $t9, $t9, 0x1c +/* 16E35C 8023FA7C 3C1E800A */ lui $fp, 0x800a +/* 16E360 8023FA80 27DEA66C */ addiu $fp, $fp, -0x5994 +/* 16E364 8023FA84 3C16FF10 */ lui $s6, 0xff10 +/* 16E368 8023FA88 36D6013F */ ori $s6, $s6, 0x13f +/* 16E36C 8023FA8C AFB50048 */ sw $s5, 0x48($sp) +/* 16E370 8023FA90 8FD00000 */ lw $s0, ($fp) +/* 16E374 8023FA94 3C014080 */ lui $at, 0x4080 +/* 16E378 8023FA98 44812000 */ mtc1 $at, $f4 +/* 16E37C 8023FA9C 0200182D */ daddu $v1, $s0, $zero +/* 16E380 8023FAA0 26100008 */ addiu $s0, $s0, 8 +/* 16E384 8023FAA4 AFD00000 */ sw $s0, ($fp) +/* 16E388 8023FAA8 AC620000 */ sw $v0, ($v1) +/* 16E38C 8023FAAC 26E200A0 */ addiu $v0, $s7, 0xa0 +/* 16E390 8023FAB0 AC620004 */ sw $v0, 4($v1) +/* 16E394 8023FAB4 26020008 */ addiu $v0, $s0, 8 +/* 16E398 8023FAB8 AFC20000 */ sw $v0, ($fp) +/* 16E39C 8023FABC 26020010 */ addiu $v0, $s0, 0x10 +/* 16E3A0 8023FAC0 AE040000 */ sw $a0, ($s0) +/* 16E3A4 8023FAC4 AE000004 */ sw $zero, 4($s0) +/* 16E3A8 8023FAC8 AFC20000 */ sw $v0, ($fp) +/* 16E3AC 8023FACC 3C02D700 */ lui $v0, 0xd700 +/* 16E3B0 8023FAD0 AE020008 */ sw $v0, 8($s0) +/* 16E3B4 8023FAD4 26020018 */ addiu $v0, $s0, 0x18 +/* 16E3B8 8023FAD8 AE00000C */ sw $zero, 0xc($s0) +/* 16E3BC 8023FADC AFC20000 */ sw $v0, ($fp) +/* 16E3C0 8023FAE0 26020020 */ addiu $v0, $s0, 0x20 +/* 16E3C4 8023FAE4 8FB50044 */ lw $s5, 0x44($sp) +/* 16E3C8 8023FAE8 3C04ED00 */ lui $a0, 0xed00 +/* 16E3CC 8023FAEC AE000014 */ sw $zero, 0x14($s0) +/* 16E3D0 8023FAF0 AE150010 */ sw $s5, 0x10($s0) +/* 16E3D4 8023FAF4 AFC20000 */ sw $v0, ($fp) +/* 16E3D8 8023FAF8 26020028 */ addiu $v0, $s0, 0x28 +/* 16E3DC 8023FAFC AE050018 */ sw $a1, 0x18($s0) +/* 16E3E0 8023FB00 AE00001C */ sw $zero, 0x1c($s0) +/* 16E3E4 8023FB04 AFC20000 */ sw $v0, ($fp) +/* 16E3E8 8023FB08 86E2000E */ lh $v0, 0xe($s7) +/* 16E3EC 8023FB0C 86E30010 */ lh $v1, 0x10($s7) +/* 16E3F0 8023FB10 44821000 */ mtc1 $v0, $f2 +/* 16E3F4 8023FB14 00000000 */ nop +/* 16E3F8 8023FB18 468010A0 */ cvt.s.w $f2, $f2 +/* 16E3FC 8023FB1C 46041082 */ mul.s $f2, $f2, $f4 +/* 16E400 8023FB20 00000000 */ nop +/* 16E404 8023FB24 26020030 */ addiu $v0, $s0, 0x30 +/* 16E408 8023FB28 44830000 */ mtc1 $v1, $f0 +/* 16E40C 8023FB2C 00000000 */ nop +/* 16E410 8023FB30 46800020 */ cvt.s.w $f0, $f0 +/* 16E414 8023FB34 AFC20000 */ sw $v0, ($fp) +/* 16E418 8023FB38 26020038 */ addiu $v0, $s0, 0x38 +/* 16E41C 8023FB3C 46040002 */ mul.s $f0, $f0, $f4 +/* 16E420 8023FB40 00000000 */ nop +/* 16E424 8023FB44 AFC20000 */ sw $v0, ($fp) +/* 16E428 8023FB48 4600118D */ trunc.w.s $f6, $f2 +/* 16E42C 8023FB4C 44023000 */ mfc1 $v0, $f6 +/* 16E430 8023FB50 00000000 */ nop +/* 16E434 8023FB54 30420FFF */ andi $v0, $v0, 0xfff +/* 16E438 8023FB58 00021300 */ sll $v0, $v0, 0xc +/* 16E43C 8023FB5C 4600018D */ trunc.w.s $f6, $f0 +/* 16E440 8023FB60 44033000 */ mfc1 $v1, $f6 +/* 16E444 8023FB64 00000000 */ nop +/* 16E448 8023FB68 30630FFF */ andi $v1, $v1, 0xfff +/* 16E44C 8023FB6C 00641825 */ or $v1, $v1, $a0 +/* 16E450 8023FB70 00431025 */ or $v0, $v0, $v1 +/* 16E454 8023FB74 AE020020 */ sw $v0, 0x20($s0) +/* 16E458 8023FB78 86E3000E */ lh $v1, 0xe($s7) +/* 16E45C 8023FB7C 86E5000A */ lh $a1, 0xa($s7) +/* 16E460 8023FB80 86E40010 */ lh $a0, 0x10($s7) +/* 16E464 8023FB84 86E6000C */ lh $a2, 0xc($s7) +/* 16E468 8023FB88 26020040 */ addiu $v0, $s0, 0x40 +/* 16E46C 8023FB8C AFC20000 */ sw $v0, ($fp) +/* 16E470 8023FB90 AE070028 */ sw $a3, 0x28($s0) +/* 16E474 8023FB94 AE00002C */ sw $zero, 0x2c($s0) +/* 16E478 8023FB98 00651821 */ addu $v1, $v1, $a1 +/* 16E47C 8023FB9C 44831000 */ mtc1 $v1, $f2 +/* 16E480 8023FBA0 00000000 */ nop +/* 16E484 8023FBA4 468010A0 */ cvt.s.w $f2, $f2 +/* 16E488 8023FBA8 46041082 */ mul.s $f2, $f2, $f4 +/* 16E48C 8023FBAC 00000000 */ nop +/* 16E490 8023FBB0 AE080030 */ sw $t0, 0x30($s0) +/* 16E494 8023FBB4 AE000034 */ sw $zero, 0x34($s0) +/* 16E498 8023FBB8 00862021 */ addu $a0, $a0, $a2 +/* 16E49C 8023FBBC 44840000 */ mtc1 $a0, $f0 +/* 16E4A0 8023FBC0 00000000 */ nop +/* 16E4A4 8023FBC4 46800020 */ cvt.s.w $f0, $f0 +/* 16E4A8 8023FBC8 46040002 */ mul.s $f0, $f0, $f4 +/* 16E4AC 8023FBCC 00000000 */ nop +/* 16E4B0 8023FBD0 AE090038 */ sw $t1, 0x38($s0) +/* 16E4B4 8023FBD4 4600118D */ trunc.w.s $f6, $f2 +/* 16E4B8 8023FBD8 44023000 */ mfc1 $v0, $f6 +/* 16E4BC 8023FBDC 00000000 */ nop +/* 16E4C0 8023FBE0 30420FFF */ andi $v0, $v0, 0xfff +/* 16E4C4 8023FBE4 00021300 */ sll $v0, $v0, 0xc +/* 16E4C8 8023FBE8 4600018D */ trunc.w.s $f6, $f0 +/* 16E4CC 8023FBEC 44033000 */ mfc1 $v1, $f6 +/* 16E4D0 8023FBF0 00000000 */ nop +/* 16E4D4 8023FBF4 30630FFF */ andi $v1, $v1, 0xfff +/* 16E4D8 8023FBF8 00431025 */ or $v0, $v0, $v1 +/* 16E4DC 8023FBFC AE020024 */ sw $v0, 0x24($s0) +/* 16E4E0 8023FC00 26020048 */ addiu $v0, $s0, 0x48 +/* 16E4E4 8023FC04 AE00003C */ sw $zero, 0x3c($s0) +/* 16E4E8 8023FC08 AFC20000 */ sw $v0, ($fp) +/* 16E4EC 8023FC0C 3C020008 */ lui $v0, 8 +/* 16E4F0 8023FC10 AE020044 */ sw $v0, 0x44($s0) +/* 16E4F4 8023FC14 26020050 */ addiu $v0, $s0, 0x50 +/* 16E4F8 8023FC18 AE0A0040 */ sw $t2, 0x40($s0) +/* 16E4FC 8023FC1C AFC20000 */ sw $v0, ($fp) +/* 16E500 8023FC20 24022000 */ addiu $v0, $zero, 0x2000 +/* 16E504 8023FC24 AE02004C */ sw $v0, 0x4c($s0) +/* 16E508 8023FC28 26020058 */ addiu $v0, $s0, 0x58 +/* 16E50C 8023FC2C AE0B0048 */ sw $t3, 0x48($s0) +/* 16E510 8023FC30 AFC20000 */ sw $v0, ($fp) +/* 16E514 8023FC34 24020C00 */ addiu $v0, $zero, 0xc00 +/* 16E518 8023FC38 AE020054 */ sw $v0, 0x54($s0) +/* 16E51C 8023FC3C 26020060 */ addiu $v0, $s0, 0x60 +/* 16E520 8023FC40 AE0C0050 */ sw $t4, 0x50($s0) +/* 16E524 8023FC44 AFC20000 */ sw $v0, ($fp) +/* 16E528 8023FC48 26020068 */ addiu $v0, $s0, 0x68 +/* 16E52C 8023FC4C AE0E0058 */ sw $t6, 0x58($s0) +/* 16E530 8023FC50 AE0D005C */ sw $t5, 0x5c($s0) +/* 16E534 8023FC54 AFC20000 */ sw $v0, ($fp) +/* 16E538 8023FC58 26020070 */ addiu $v0, $s0, 0x70 +/* 16E53C 8023FC5C AE0F0060 */ sw $t7, 0x60($s0) +/* 16E540 8023FC60 AE000064 */ sw $zero, 0x64($s0) +/* 16E544 8023FC64 AFC20000 */ sw $v0, ($fp) +/* 16E548 8023FC68 26020078 */ addiu $v0, $s0, 0x78 +/* 16E54C 8023FC6C AE110068 */ sw $s1, 0x68($s0) +/* 16E550 8023FC70 AE00006C */ sw $zero, 0x6c($s0) +/* 16E554 8023FC74 AFC20000 */ sw $v0, ($fp) +/* 16E558 8023FC78 26020080 */ addiu $v0, $s0, 0x80 +/* 16E55C 8023FC7C AE120070 */ sw $s2, 0x70($s0) +/* 16E560 8023FC80 AE130074 */ sw $s3, 0x74($s0) +/* 16E564 8023FC84 AFC20000 */ sw $v0, ($fp) +/* 16E568 8023FC88 240200C0 */ addiu $v0, $zero, 0xc0 +/* 16E56C 8023FC8C AE02007C */ sw $v0, 0x7c($s0) +/* 16E570 8023FC90 26020088 */ addiu $v0, $s0, 0x88 +/* 16E574 8023FC94 24030002 */ addiu $v1, $zero, 2 +/* 16E578 8023FC98 AE140078 */ sw $s4, 0x78($s0) +/* 16E57C 8023FC9C AFC20000 */ sw $v0, ($fp) +/* 16E580 8023FCA0 26020090 */ addiu $v0, $s0, 0x90 +/* 16E584 8023FCA4 3C12E700 */ lui $s2, 0xe700 +/* 16E588 8023FCA8 8FB50050 */ lw $s5, 0x50($sp) +/* 16E58C 8023FCAC 3C130030 */ lui $s3, 0x30 +/* 16E590 8023FCB0 AE150080 */ sw $s5, 0x80($s0) +/* 16E594 8023FCB4 AE030084 */ sw $v1, 0x84($s0) +/* 16E598 8023FCB8 AFC20000 */ sw $v0, ($fp) +/* 16E59C 8023FCBC 8FB50048 */ lw $s5, 0x48($sp) +/* 16E5A0 8023FCC0 26020098 */ addiu $v0, $s0, 0x98 +/* 16E5A4 8023FCC4 AE150088 */ sw $s5, 0x88($s0) +/* 16E5A8 8023FCC8 AE03008C */ sw $v1, 0x8c($s0) +/* 16E5AC 8023FCCC 3403FFFE */ ori $v1, $zero, 0xfffe +/* 16E5B0 8023FCD0 AFC20000 */ sw $v0, ($fp) +/* 16E5B4 8023FCD4 260200A0 */ addiu $v0, $s0, 0xa0 +/* 16E5B8 8023FCD8 AE180090 */ sw $t8, 0x90($s0) +/* 16E5BC 8023FCDC AE030094 */ sw $v1, 0x94($s0) +/* 16E5C0 8023FCE0 AFC20000 */ sw $v0, ($fp) +/* 16E5C4 8023FCE4 3C04800A */ lui $a0, 0x800a +/* 16E5C8 8023FCE8 8C84A5DC */ lw $a0, -0x5a24($a0) +/* 16E5CC 8023FCEC 260200A8 */ addiu $v0, $s0, 0xa8 +/* 16E5D0 8023FCF0 AE190098 */ sw $t9, 0x98($s0) +/* 16E5D4 8023FCF4 AE03009C */ sw $v1, 0x9c($s0) +/* 16E5D8 8023FCF8 AFC20000 */ sw $v0, ($fp) +/* 16E5DC 8023FCFC 260200B0 */ addiu $v0, $s0, 0xb0 +/* 16E5E0 8023FD00 AE1200A0 */ sw $s2, 0xa0($s0) +/* 16E5E4 8023FD04 AE0000A4 */ sw $zero, 0xa4($s0) +/* 16E5E8 8023FD08 AFC20000 */ sw $v0, ($fp) +/* 16E5EC 8023FD0C 8FB50044 */ lw $s5, 0x44($sp) +/* 16E5F0 8023FD10 260200B8 */ addiu $v0, $s0, 0xb8 +/* 16E5F4 8023FD14 AE1300AC */ sw $s3, 0xac($s0) +/* 16E5F8 8023FD18 AE1500A8 */ sw $s5, 0xa8($s0) +/* 16E5FC 8023FD1C AFC20000 */ sw $v0, ($fp) +/* 16E600 8023FD20 0C0187A4 */ jal osVirtualToPhysical +/* 16E604 8023FD24 AE1600B0 */ sw $s6, 0xb0($s0) +/* 16E608 8023FD28 3C03FFFC */ lui $v1, 0xfffc +/* 16E60C 8023FD2C 8FD10000 */ lw $s1, ($fp) +/* 16E610 8023FD30 3463FFFC */ ori $v1, $v1, 0xfffc +/* 16E614 8023FD34 AE0200B4 */ sw $v0, 0xb4($s0) +/* 16E618 8023FD38 3C10F700 */ lui $s0, 0xf700 +/* 16E61C 8023FD3C 3C14F600 */ lui $s4, 0xf600 +/* 16E620 8023FD40 3C04800A */ lui $a0, 0x800a +/* 16E624 8023FD44 8C84A64C */ lw $a0, -0x59b4($a0) +/* 16E628 8023FD48 0220102D */ daddu $v0, $s1, $zero +/* 16E62C 8023FD4C 26310008 */ addiu $s1, $s1, 8 +/* 16E630 8023FD50 AFD10000 */ sw $s1, ($fp) +/* 16E634 8023FD54 AC500000 */ sw $s0, ($v0) +/* 16E638 8023FD58 AC430004 */ sw $v1, 4($v0) +/* 16E63C 8023FD5C 26220008 */ addiu $v0, $s1, 8 +/* 16E640 8023FD60 AFC20000 */ sw $v0, ($fp) +/* 16E644 8023FD64 86E3000E */ lh $v1, 0xe($s7) +/* 16E648 8023FD68 86E5000A */ lh $a1, 0xa($s7) +/* 16E64C 8023FD6C 26220010 */ addiu $v0, $s1, 0x10 +/* 16E650 8023FD70 AFC20000 */ sw $v0, ($fp) +/* 16E654 8023FD74 86E20010 */ lh $v0, 0x10($s7) +/* 16E658 8023FD78 00651821 */ addu $v1, $v1, $a1 +/* 16E65C 8023FD7C 2463FFFF */ addiu $v1, $v1, -1 +/* 16E660 8023FD80 306303FF */ andi $v1, $v1, 0x3ff +/* 16E664 8023FD84 86E5000C */ lh $a1, 0xc($s7) +/* 16E668 8023FD88 00031B80 */ sll $v1, $v1, 0xe +/* 16E66C 8023FD8C 00451021 */ addu $v0, $v0, $a1 +/* 16E670 8023FD90 2442FFFF */ addiu $v0, $v0, -1 +/* 16E674 8023FD94 304203FF */ andi $v0, $v0, 0x3ff +/* 16E678 8023FD98 00021080 */ sll $v0, $v0, 2 +/* 16E67C 8023FD9C 00541025 */ or $v0, $v0, $s4 +/* 16E680 8023FDA0 00621825 */ or $v1, $v1, $v0 +/* 16E684 8023FDA4 AE230000 */ sw $v1, ($s1) +/* 16E688 8023FDA8 96E2000E */ lhu $v0, 0xe($s7) +/* 16E68C 8023FDAC 96E50010 */ lhu $a1, 0x10($s7) +/* 16E690 8023FDB0 26230018 */ addiu $v1, $s1, 0x18 +/* 16E694 8023FDB4 AFC30000 */ sw $v1, ($fp) +/* 16E698 8023FDB8 AE320008 */ sw $s2, 8($s1) +/* 16E69C 8023FDBC AE20000C */ sw $zero, 0xc($s1) +/* 16E6A0 8023FDC0 AE360010 */ sw $s6, 0x10($s1) +/* 16E6A4 8023FDC4 304203FF */ andi $v0, $v0, 0x3ff +/* 16E6A8 8023FDC8 00021380 */ sll $v0, $v0, 0xe +/* 16E6AC 8023FDCC 30A503FF */ andi $a1, $a1, 0x3ff +/* 16E6B0 8023FDD0 00052880 */ sll $a1, $a1, 2 +/* 16E6B4 8023FDD4 00451025 */ or $v0, $v0, $a1 +/* 16E6B8 8023FDD8 0C0187A4 */ jal osVirtualToPhysical +/* 16E6BC 8023FDDC AE220004 */ sw $v0, 4($s1) +/* 16E6C0 8023FDE0 3C038007 */ lui $v1, 0x8007 +/* 16E6C4 8023FDE4 8C63419C */ lw $v1, 0x419c($v1) +/* 16E6C8 8023FDE8 AE220014 */ sw $v0, 0x14($s1) +/* 16E6CC 8023FDEC 94620148 */ lhu $v0, 0x148($v1) +/* 16E6D0 8023FDF0 30420001 */ andi $v0, $v0, 1 +/* 16E6D4 8023FDF4 14400034 */ bnez $v0, .L8023FEC8 +/* 16E6D8 8023FDF8 26E400D4 */ addiu $a0, $s7, 0xd4 +/* 16E6DC 8023FDFC 8FC50000 */ lw $a1, ($fp) +/* 16E6E0 8023FE00 00A0102D */ daddu $v0, $a1, $zero +/* 16E6E4 8023FE04 24A50008 */ addiu $a1, $a1, 8 +/* 16E6E8 8023FE08 AC550000 */ sw $s5, ($v0) +/* 16E6EC 8023FE0C AC530004 */ sw $s3, 4($v0) +/* 16E6F0 8023FE10 ACB00000 */ sw $s0, ($a1) +/* 16E6F4 8023FE14 86E4002C */ lh $a0, 0x2c($s7) +/* 16E6F8 8023FE18 AFC50000 */ sw $a1, ($fp) +/* 16E6FC 8023FE1C 86E3002E */ lh $v1, 0x2e($s7) +/* 16E700 8023FE20 96E20030 */ lhu $v0, 0x30($s7) +/* 16E704 8023FE24 00042200 */ sll $a0, $a0, 8 +/* 16E708 8023FE28 3084F800 */ andi $a0, $a0, 0xf800 +/* 16E70C 8023FE2C 000318C0 */ sll $v1, $v1, 3 +/* 16E710 8023FE30 306307C0 */ andi $v1, $v1, 0x7c0 +/* 16E714 8023FE34 00832025 */ or $a0, $a0, $v1 +/* 16E718 8023FE38 00021082 */ srl $v0, $v0, 2 +/* 16E71C 8023FE3C 3042003E */ andi $v0, $v0, 0x3e +/* 16E720 8023FE40 00822025 */ or $a0, $a0, $v0 +/* 16E724 8023FE44 34820001 */ ori $v0, $a0, 1 +/* 16E728 8023FE48 00021400 */ sll $v0, $v0, 0x10 +/* 16E72C 8023FE4C 34420001 */ ori $v0, $v0, 1 +/* 16E730 8023FE50 00441025 */ or $v0, $v0, $a0 +/* 16E734 8023FE54 ACA20004 */ sw $v0, 4($a1) +/* 16E738 8023FE58 86E3000E */ lh $v1, 0xe($s7) +/* 16E73C 8023FE5C 86E4000A */ lh $a0, 0xa($s7) +/* 16E740 8023FE60 24A20008 */ addiu $v0, $a1, 8 +/* 16E744 8023FE64 AFC20000 */ sw $v0, ($fp) +/* 16E748 8023FE68 86E20010 */ lh $v0, 0x10($s7) +/* 16E74C 8023FE6C 00641821 */ addu $v1, $v1, $a0 +/* 16E750 8023FE70 2463FFFF */ addiu $v1, $v1, -1 +/* 16E754 8023FE74 306303FF */ andi $v1, $v1, 0x3ff +/* 16E758 8023FE78 86E4000C */ lh $a0, 0xc($s7) +/* 16E75C 8023FE7C 00031B80 */ sll $v1, $v1, 0xe +/* 16E760 8023FE80 00441021 */ addu $v0, $v0, $a0 +/* 16E764 8023FE84 2442FFFF */ addiu $v0, $v0, -1 +/* 16E768 8023FE88 304203FF */ andi $v0, $v0, 0x3ff +/* 16E76C 8023FE8C 00021080 */ sll $v0, $v0, 2 +/* 16E770 8023FE90 00541025 */ or $v0, $v0, $s4 +/* 16E774 8023FE94 00621825 */ or $v1, $v1, $v0 +/* 16E778 8023FE98 ACA30008 */ sw $v1, 8($a1) +/* 16E77C 8023FE9C 96E3000E */ lhu $v1, 0xe($s7) +/* 16E780 8023FEA0 24A20010 */ addiu $v0, $a1, 0x10 +/* 16E784 8023FEA4 AFC20000 */ sw $v0, ($fp) +/* 16E788 8023FEA8 96E20010 */ lhu $v0, 0x10($s7) +/* 16E78C 8023FEAC 306303FF */ andi $v1, $v1, 0x3ff +/* 16E790 8023FEB0 00031B80 */ sll $v1, $v1, 0xe +/* 16E794 8023FEB4 304203FF */ andi $v0, $v0, 0x3ff +/* 16E798 8023FEB8 00021080 */ sll $v0, $v0, 2 +/* 16E79C 8023FEBC 00621825 */ or $v1, $v1, $v0 +/* 16E7A0 8023FEC0 ACA3000C */ sw $v1, 0xc($a1) +/* 16E7A4 8023FEC4 26E400D4 */ addiu $a0, $s7, 0xd4 +.L8023FEC8: +/* 16E7A8 8023FEC8 3C10800A */ lui $s0, 0x800a +/* 16E7AC 8023FECC 2610A634 */ addiu $s0, $s0, -0x59cc +/* 16E7B0 8023FED0 3C11800A */ lui $s1, 0x800a +/* 16E7B4 8023FED4 2631A674 */ addiu $s1, $s1, -0x598c +/* 16E7B8 8023FED8 8FC30000 */ lw $v1, ($fp) +/* 16E7BC 8023FEDC 86050000 */ lh $a1, ($s0) +/* 16E7C0 8023FEE0 8E220000 */ lw $v0, ($s1) +/* 16E7C4 8023FEE4 0060302D */ daddu $a2, $v1, $zero +/* 16E7C8 8023FEE8 24630008 */ addiu $v1, $v1, 8 +/* 16E7CC 8023FEEC 00052980 */ sll $a1, $a1, 6 +/* 16E7D0 8023FEF0 24A50030 */ addiu $a1, $a1, 0x30 +/* 16E7D4 8023FEF4 00452821 */ addu $a1, $v0, $a1 +/* 16E7D8 8023FEF8 3C02DB0E */ lui $v0, 0xdb0e +/* 16E7DC 8023FEFC AFC30000 */ sw $v1, ($fp) +/* 16E7E0 8023FF00 ACD20000 */ sw $s2, ($a2) +/* 16E7E4 8023FF04 ACC00004 */ sw $zero, 4($a2) +/* 16E7E8 8023FF08 AC620000 */ sw $v0, ($v1) +/* 16E7EC 8023FF0C 96E60038 */ lhu $a2, 0x38($s7) +/* 16E7F0 8023FF10 24620008 */ addiu $v0, $v1, 8 +/* 16E7F4 8023FF14 AFC20000 */ sw $v0, ($fp) +/* 16E7F8 8023FF18 0C019D40 */ jal guMtxF2L +/* 16E7FC 8023FF1C AC660004 */ sw $a2, 4($v1) +/* 16E800 8023FF20 3C05DA38 */ lui $a1, 0xda38 +/* 16E804 8023FF24 34A50007 */ ori $a1, $a1, 7 +/* 16E808 8023FF28 8FC20000 */ lw $v0, ($fp) +/* 16E80C 8023FF2C 86030000 */ lh $v1, ($s0) +/* 16E810 8023FF30 0040202D */ daddu $a0, $v0, $zero +/* 16E814 8023FF34 24420008 */ addiu $v0, $v0, 8 +/* 16E818 8023FF38 00031980 */ sll $v1, $v1, 6 +/* 16E81C 8023FF3C AFC20000 */ sw $v0, ($fp) +/* 16E820 8023FF40 AC850000 */ sw $a1, ($a0) +/* 16E824 8023FF44 8E220000 */ lw $v0, ($s1) +/* 16E828 8023FF48 24630030 */ addiu $v1, $v1, 0x30 +/* 16E82C 8023FF4C 00431021 */ addu $v0, $v0, $v1 +/* 16E830 8023FF50 AC820004 */ sw $v0, 4($a0) +/* 16E834 8023FF54 8FBF007C */ lw $ra, 0x7c($sp) +/* 16E838 8023FF58 8FBE0078 */ lw $fp, 0x78($sp) +/* 16E83C 8023FF5C 8FB70074 */ lw $s7, 0x74($sp) +/* 16E840 8023FF60 8FB60070 */ lw $s6, 0x70($sp) +/* 16E844 8023FF64 8FB5006C */ lw $s5, 0x6c($sp) +/* 16E848 8023FF68 8FB40068 */ lw $s4, 0x68($sp) +/* 16E84C 8023FF6C 8FB30064 */ lw $s3, 0x64($sp) +/* 16E850 8023FF70 8FB20060 */ lw $s2, 0x60($sp) +/* 16E854 8023FF74 8FB1005C */ lw $s1, 0x5c($sp) +/* 16E858 8023FF78 8FB00058 */ lw $s0, 0x58($sp) +/* 16E85C 8023FF7C 03E00008 */ jr $ra +/* 16E860 8023FF80 27BD0080 */ addiu $sp, $sp, 0x80 + +/* 16E864 8023FF84 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 16E868 8023FF88 AFBF0010 */ sw $ra, 0x10($sp) +/* 16E86C 8023FF8C 0C099F12 */ jal show_foreground_models_unchecked +/* 16E870 8023FF90 00000000 */ nop +/* 16E874 8023FF94 8FBF0010 */ lw $ra, 0x10($sp) +/* 16E878 8023FF98 03E00008 */ jr $ra +/* 16E87C 8023FF9C 27BD0018 */ addiu $sp, $sp, 0x18 + +func_8023FFA0: +/* 16E880 8023FFA0 3C028007 */ lui $v0, 0x8007 +/* 16E884 8023FFA4 8C42419C */ lw $v0, 0x419c($v0) +/* 16E888 8023FFA8 27BDFFA8 */ addiu $sp, $sp, -0x58 +/* 16E88C 8023FFAC AFBF0054 */ sw $ra, 0x54($sp) +/* 16E890 8023FFB0 AFBE0050 */ sw $fp, 0x50($sp) +/* 16E894 8023FFB4 AFB7004C */ sw $s7, 0x4c($sp) +/* 16E898 8023FFB8 AFB60048 */ sw $s6, 0x48($sp) +/* 16E89C 8023FFBC AFB50044 */ sw $s5, 0x44($sp) +/* 16E8A0 8023FFC0 AFB40040 */ sw $s4, 0x40($sp) +/* 16E8A4 8023FFC4 AFB3003C */ sw $s3, 0x3c($sp) +/* 16E8A8 8023FFC8 AFB20038 */ sw $s2, 0x38($sp) +/* 16E8AC 8023FFCC AFB10034 */ sw $s1, 0x34($sp) +/* 16E8B0 8023FFD0 AFB00030 */ sw $s0, 0x30($sp) +/* 16E8B4 8023FFD4 8042007C */ lb $v0, 0x7c($v0) +/* 16E8B8 8023FFD8 104000EC */ beqz $v0, .L8024038C +/* 16E8BC 8023FFDC 00000000 */ nop +/* 16E8C0 8023FFE0 3C02800E */ lui $v0, 0x800e +/* 16E8C4 8023FFE4 8C42C070 */ lw $v0, -0x3f90($v0) +/* 16E8C8 8023FFE8 30420001 */ andi $v0, $v0, 1 +/* 16E8CC 8023FFEC 104000E7 */ beqz $v0, .L8024038C +/* 16E8D0 8023FFF0 0000B82D */ daddu $s7, $zero, $zero +/* 16E8D4 8023FFF4 27B60020 */ addiu $s6, $sp, 0x20 +/* 16E8D8 8023FFF8 27B50024 */ addiu $s5, $sp, 0x24 +/* 16E8DC 8023FFFC 241E0008 */ addiu $fp, $zero, 8 +/* 16E8E0 80240000 00171080 */ sll $v0, $s7, 2 +.L80240004: +/* 16E8E4 80240004 3C08800E */ lui $t0, 0x800e +/* 16E8E8 80240008 2508C070 */ addiu $t0, $t0, -0x3f90 +/* 16E8EC 8024000C 01021021 */ addu $v0, $t0, $v0 +/* 16E8F0 80240010 8C5300E0 */ lw $s3, 0xe0($v0) +/* 16E8F4 80240014 526000DA */ beql $s3, $zero, .L80240380 +/* 16E8F8 80240018 26F70001 */ addiu $s7, $s7, 1 +/* 16E8FC 8024001C 827401B8 */ lb $s4, 0x1b8($s3) +/* 16E900 80240020 826301B9 */ lb $v1, 0x1b9($s3) +/* 16E904 80240024 00141040 */ sll $v0, $s4, 1 +/* 16E908 80240028 00541021 */ addu $v0, $v0, $s4 +/* 16E90C 8024002C 000210C0 */ sll $v0, $v0, 3 +/* 16E910 80240030 00541021 */ addu $v0, $v0, $s4 +/* 16E914 80240034 14600002 */ bnez $v1, .L80240040 +/* 16E918 80240038 0043001A */ div $zero, $v0, $v1 +/* 16E91C 8024003C 0007000D */ break 7 +.L80240040: +/* 16E920 80240040 2401FFFF */ addiu $at, $zero, -1 +/* 16E924 80240044 14610004 */ bne $v1, $at, .L80240058 +/* 16E928 80240048 3C018000 */ lui $at, 0x8000 +/* 16E92C 8024004C 14410002 */ bne $v0, $at, .L80240058 +/* 16E930 80240050 00000000 */ nop +/* 16E934 80240054 0006000D */ break 6 +.L80240058: +/* 16E938 80240058 00008812 */ mflo $s1 +/* 16E93C 8024005C 826201BC */ lb $v0, 0x1bc($s3) +/* 16E940 80240060 926301BC */ lbu $v1, 0x1bc($s3) +/* 16E944 80240064 0222102A */ slt $v0, $s1, $v0 +/* 16E948 80240068 10400008 */ beqz $v0, .L8024008C +/* 16E94C 8024006C 2462FFFE */ addiu $v0, $v1, -2 +/* 16E950 80240070 A26201BC */ sb $v0, 0x1bc($s3) +/* 16E954 80240074 00021600 */ sll $v0, $v0, 0x18 +/* 16E958 80240078 00021603 */ sra $v0, $v0, 0x18 +/* 16E95C 8024007C 0051102A */ slt $v0, $v0, $s1 +/* 16E960 80240080 1040000E */ beqz $v0, .L802400BC +/* 16E964 80240084 3C020004 */ lui $v0, 4 +/* 16E968 80240088 A27101BC */ sb $s1, 0x1bc($s3) +.L8024008C: +/* 16E96C 8024008C 826201BC */ lb $v0, 0x1bc($s3) +/* 16E970 80240090 926301BC */ lbu $v1, 0x1bc($s3) +/* 16E974 80240094 0051102A */ slt $v0, $v0, $s1 +/* 16E978 80240098 10400007 */ beqz $v0, .L802400B8 +/* 16E97C 8024009C 24620002 */ addiu $v0, $v1, 2 +/* 16E980 802400A0 A26201BC */ sb $v0, 0x1bc($s3) +/* 16E984 802400A4 00021600 */ sll $v0, $v0, 0x18 +/* 16E988 802400A8 00021603 */ sra $v0, $v0, 0x18 +/* 16E98C 802400AC 0222102A */ slt $v0, $s1, $v0 +/* 16E990 802400B0 54400001 */ bnezl $v0, .L802400B8 +/* 16E994 802400B4 A27101BC */ sb $s1, 0x1bc($s3) +.L802400B8: +/* 16E998 802400B8 3C020004 */ lui $v0, 4 +.L802400BC: +/* 16E99C 802400BC 8E630000 */ lw $v1, ($s3) +/* 16E9A0 802400C0 34424000 */ ori $v0, $v0, 0x4000 +/* 16E9A4 802400C4 00621024 */ and $v0, $v1, $v0 +/* 16E9A8 802400C8 544000AD */ bnezl $v0, .L80240380 +/* 16E9AC 802400CC 26F70001 */ addiu $s7, $s7, 1 +/* 16E9B0 802400D0 3C02800E */ lui $v0, 0x800e +/* 16E9B4 802400D4 8C42C070 */ lw $v0, -0x3f90($v0) +/* 16E9B8 802400D8 30420002 */ andi $v0, $v0, 2 +/* 16E9BC 802400DC 14400004 */ bnez $v0, .L802400F0 +/* 16E9C0 802400E0 3C020008 */ lui $v0, 8 +/* 16E9C4 802400E4 00621024 */ and $v0, $v1, $v0 +/* 16E9C8 802400E8 504000A5 */ beql $v0, $zero, .L80240380 +/* 16E9CC 802400EC 26F70001 */ addiu $s7, $s7, 1 +.L802400F0: +/* 16E9D0 802400F0 0C094F08 */ jal is_actor_hp_bar_visible +/* 16E9D4 802400F4 0260202D */ daddu $a0, $s3, $zero +/* 16E9D8 802400F8 504000A1 */ beql $v0, $zero, .L80240380 +/* 16E9DC 802400FC 26F70001 */ addiu $s7, $s7, 1 +/* 16E9E0 80240100 86620156 */ lh $v0, 0x156($s3) +/* 16E9E4 80240104 8663015A */ lh $v1, 0x15a($s3) +/* 16E9E8 80240108 44822000 */ mtc1 $v0, $f4 +/* 16E9EC 8024010C 00000000 */ nop +/* 16E9F0 80240110 46802120 */ cvt.s.w $f4, $f4 +/* 16E9F4 80240114 86620158 */ lh $v0, 0x158($s3) +/* 16E9F8 80240118 44831000 */ mtc1 $v1, $f2 +/* 16E9FC 8024011C 00000000 */ nop +/* 16EA00 80240120 468010A0 */ cvt.s.w $f2, $f2 +/* 16EA04 80240124 44820000 */ mtc1 $v0, $f0 +/* 16EA08 80240128 00000000 */ nop +/* 16EA0C 8024012C 46800020 */ cvt.s.w $f0, $f0 +/* 16EA10 80240130 2842FE0C */ slti $v0, $v0, -0x1f4 +/* 16EA14 80240134 54400092 */ bnezl $v0, .L80240380 +/* 16EA18 80240138 26F70001 */ addiu $s7, $s7, 1 +/* 16EA1C 8024013C 24040001 */ addiu $a0, $zero, 1 +/* 16EA20 80240140 44052000 */ mfc1 $a1, $f4 +/* 16EA24 80240144 44060000 */ mfc1 $a2, $f0 +/* 16EA28 80240148 44071000 */ mfc1 $a3, $f2 +/* 16EA2C 8024014C 27A20028 */ addiu $v0, $sp, 0x28 +/* 16EA30 80240150 AFB60010 */ sw $s6, 0x10($sp) +/* 16EA34 80240154 AFB50014 */ sw $s5, 0x14($sp) +/* 16EA38 80240158 0C00B94E */ jal get_screen_coords +/* 16EA3C 8024015C AFA20018 */ sw $v0, 0x18($sp) +/* 16EA40 80240160 2405000A */ addiu $a1, $zero, 0xa +/* 16EA44 80240164 3C10802A */ lui $s0, 0x802a +/* 16EA48 80240168 8E10EFBC */ lw $s0, -0x1044($s0) +/* 16EA4C 8024016C 8FA20024 */ lw $v0, 0x24($sp) +/* 16EA50 80240170 0200202D */ daddu $a0, $s0, $zero +/* 16EA54 80240174 24420010 */ addiu $v0, $v0, 0x10 +/* 16EA58 80240178 0C051277 */ jal func_801449DC +/* 16EA5C 8024017C AFA20024 */ sw $v0, 0x24($sp) +/* 16EA60 80240180 3C058029 */ lui $a1, 0x8029 +/* 16EA64 80240184 24A51F80 */ addiu $a1, $a1, 0x1f80 +/* 16EA68 80240188 0C0511FF */ jal set_menu_icon_script +/* 16EA6C 8024018C 0200202D */ daddu $a0, $s0, $zero +/* 16EA70 80240190 8FA50020 */ lw $a1, 0x20($sp) +/* 16EA74 80240194 8FA60024 */ lw $a2, 0x24($sp) +/* 16EA78 80240198 0C051261 */ jal set_icon_render_pos +/* 16EA7C 8024019C 0200202D */ daddu $a0, $s0, $zero +/* 16EA80 802401A0 0C0511EA */ jal draw_icon_0 +/* 16EA84 802401A4 0200202D */ daddu $a0, $s0, $zero +/* 16EA88 802401A8 3C026666 */ lui $v0, 0x6666 +/* 16EA8C 802401AC 34426667 */ ori $v0, $v0, 0x6667 +/* 16EA90 802401B0 02820018 */ mult $s4, $v0 +/* 16EA94 802401B4 001417C3 */ sra $v0, $s4, 0x1f +/* 16EA98 802401B8 00004010 */ mfhi $t0 +/* 16EA9C 802401BC 00081883 */ sra $v1, $t0, 2 +/* 16EAA0 802401C0 00628823 */ subu $s1, $v1, $v0 +/* 16EAA4 802401C4 00119080 */ sll $s2, $s1, 2 +/* 16EAA8 802401C8 02511021 */ addu $v0, $s2, $s1 +/* 16EAAC 802401CC 00021040 */ sll $v0, $v0, 1 +/* 16EAB0 802401D0 1A200021 */ blez $s1, .L80240258 +/* 16EAB4 802401D4 0282A023 */ subu $s4, $s4, $v0 +/* 16EAB8 802401D8 3C10802A */ lui $s0, 0x802a +/* 16EABC 802401DC 8E10EFBC */ lw $s0, -0x1044($s0) +/* 16EAC0 802401E0 2405000A */ addiu $a1, $zero, 0xa +/* 16EAC4 802401E4 0C051277 */ jal func_801449DC +/* 16EAC8 802401E8 0200202D */ daddu $a0, $s0, $zero +/* 16EACC 802401EC 3C088028 */ lui $t0, 0x8028 +/* 16EAD0 802401F0 250809FC */ addiu $t0, $t0, 0x9fc +/* 16EAD4 802401F4 02481021 */ addu $v0, $s2, $t0 +/* 16EAD8 802401F8 8C450000 */ lw $a1, ($v0) +/* 16EADC 802401FC 0C0511FF */ jal set_menu_icon_script +/* 16EAE0 80240200 0200202D */ daddu $a0, $s0, $zero +/* 16EAE4 80240204 0000202D */ daddu $a0, $zero, $zero +/* 16EAE8 80240208 0080282D */ daddu $a1, $a0, $zero +/* 16EAEC 8024020C 96C20002 */ lhu $v0, 2($s6) +/* 16EAF0 80240210 0080302D */ daddu $a2, $a0, $zero +/* 16EAF4 80240214 AFA20010 */ sw $v0, 0x10($sp) +/* 16EAF8 80240218 96A20002 */ lhu $v0, 2($s5) +/* 16EAFC 8024021C 0080382D */ daddu $a3, $a0, $zero +/* 16EB00 80240220 AFBE0018 */ sw $fp, 0x18($sp) +/* 16EB04 80240224 AFBE001C */ sw $fp, 0x1c($sp) +/* 16EB08 80240228 24420002 */ addiu $v0, $v0, 2 +/* 16EB0C 8024022C 3042FFFF */ andi $v0, $v0, 0xffff +/* 16EB10 80240230 0C099E8F */ jal func_80267A3C +/* 16EB14 80240234 AFA20014 */ sw $v0, 0x14($sp) +/* 16EB18 80240238 0200202D */ daddu $a0, $s0, $zero +/* 16EB1C 8024023C 8FA50020 */ lw $a1, 0x20($sp) +/* 16EB20 80240240 8FA60024 */ lw $a2, 0x24($sp) +/* 16EB24 80240244 24A50004 */ addiu $a1, $a1, 4 +/* 16EB28 80240248 0C051261 */ jal set_icon_render_pos +/* 16EB2C 8024024C 24C60006 */ addiu $a2, $a2, 6 +/* 16EB30 80240250 0C0511F1 */ jal draw_icon_1 +/* 16EB34 80240254 0200202D */ daddu $a0, $s0, $zero +.L80240258: +/* 16EB38 80240258 3C10802A */ lui $s0, 0x802a +/* 16EB3C 8024025C 8E10EFBC */ lw $s0, -0x1044($s0) +/* 16EB40 80240260 2405000A */ addiu $a1, $zero, 0xa +/* 16EB44 80240264 0C051277 */ jal func_801449DC +/* 16EB48 80240268 0200202D */ daddu $a0, $s0, $zero +/* 16EB4C 8024026C 00141080 */ sll $v0, $s4, 2 +/* 16EB50 80240270 3C088028 */ lui $t0, 0x8028 +/* 16EB54 80240274 250809FC */ addiu $t0, $t0, 0x9fc +/* 16EB58 80240278 00481021 */ addu $v0, $v0, $t0 +/* 16EB5C 8024027C 8C450000 */ lw $a1, ($v0) +/* 16EB60 80240280 0C0511FF */ jal set_menu_icon_script +/* 16EB64 80240284 0200202D */ daddu $a0, $s0, $zero +/* 16EB68 80240288 0000202D */ daddu $a0, $zero, $zero +/* 16EB6C 8024028C 0080282D */ daddu $a1, $a0, $zero +/* 16EB70 80240290 96C20002 */ lhu $v0, 2($s6) +/* 16EB74 80240294 0080302D */ daddu $a2, $a0, $zero +/* 16EB78 80240298 24420006 */ addiu $v0, $v0, 6 +/* 16EB7C 8024029C 3042FFFF */ andi $v0, $v0, 0xffff +/* 16EB80 802402A0 AFA20010 */ sw $v0, 0x10($sp) +/* 16EB84 802402A4 96A20002 */ lhu $v0, 2($s5) +/* 16EB88 802402A8 0080382D */ daddu $a3, $a0, $zero +/* 16EB8C 802402AC AFBE0018 */ sw $fp, 0x18($sp) +/* 16EB90 802402B0 AFBE001C */ sw $fp, 0x1c($sp) +/* 16EB94 802402B4 24420002 */ addiu $v0, $v0, 2 +/* 16EB98 802402B8 3042FFFF */ andi $v0, $v0, 0xffff +/* 16EB9C 802402BC 0C099E8F */ jal func_80267A3C +/* 16EBA0 802402C0 AFA20014 */ sw $v0, 0x14($sp) +/* 16EBA4 802402C4 0200202D */ daddu $a0, $s0, $zero +/* 16EBA8 802402C8 8FA50020 */ lw $a1, 0x20($sp) +/* 16EBAC 802402CC 8FA60024 */ lw $a2, 0x24($sp) +/* 16EBB0 802402D0 24A5000A */ addiu $a1, $a1, 0xa +/* 16EBB4 802402D4 0C051261 */ jal set_icon_render_pos +/* 16EBB8 802402D8 24C60006 */ addiu $a2, $a2, 6 +/* 16EBBC 802402DC 0C0511F1 */ jal draw_icon_1 +/* 16EBC0 802402E0 0200202D */ daddu $a0, $s0, $zero +/* 16EBC4 802402E4 240400A8 */ addiu $a0, $zero, 0xa8 +/* 16EBC8 802402E8 0000282D */ daddu $a1, $zero, $zero +/* 16EBCC 802402EC 00A0302D */ daddu $a2, $a1, $zero +/* 16EBD0 802402F0 240700FF */ addiu $a3, $zero, 0xff +/* 16EBD4 802402F4 24030019 */ addiu $v1, $zero, 0x19 +/* 16EBD8 802402F8 827101BC */ lb $s1, 0x1bc($s3) +/* 16EBDC 802402FC 96C20002 */ lhu $v0, 2($s6) +/* 16EBE0 80240300 00718823 */ subu $s1, $v1, $s1 +/* 16EBE4 80240304 2442000B */ addiu $v0, $v0, 0xb +/* 16EBE8 80240308 00511023 */ subu $v0, $v0, $s1 +/* 16EBEC 8024030C 3042FFFF */ andi $v0, $v0, 0xffff +/* 16EBF0 80240310 3230FFFF */ andi $s0, $s1, 0xffff +/* 16EBF4 80240314 AFA20010 */ sw $v0, 0x10($sp) +/* 16EBF8 80240318 96A30002 */ lhu $v1, 2($s5) +/* 16EBFC 8024031C 24020001 */ addiu $v0, $zero, 1 +/* 16EC00 80240320 AFB00018 */ sw $s0, 0x18($sp) +/* 16EC04 80240324 AFA2001C */ sw $v0, 0x1c($sp) +/* 16EC08 80240328 2463FFF9 */ addiu $v1, $v1, -7 +/* 16EC0C 8024032C 3063FFFF */ andi $v1, $v1, 0xffff +/* 16EC10 80240330 0C099E8F */ jal func_80267A3C +/* 16EC14 80240334 AFA30014 */ sw $v1, 0x14($sp) +/* 16EC18 80240338 240400FF */ addiu $a0, $zero, 0xff +/* 16EC1C 8024033C 0000282D */ daddu $a1, $zero, $zero +/* 16EC20 80240340 00A0302D */ daddu $a2, $a1, $zero +/* 16EC24 80240344 96C20002 */ lhu $v0, 2($s6) +/* 16EC28 80240348 0080382D */ daddu $a3, $a0, $zero +/* 16EC2C 8024034C 2442000B */ addiu $v0, $v0, 0xb +/* 16EC30 80240350 00511023 */ subu $v0, $v0, $s1 +/* 16EC34 80240354 3042FFFF */ andi $v0, $v0, 0xffff +/* 16EC38 80240358 AFA20010 */ sw $v0, 0x10($sp) +/* 16EC3C 8024035C 96A30002 */ lhu $v1, 2($s5) +/* 16EC40 80240360 24020004 */ addiu $v0, $zero, 4 +/* 16EC44 80240364 AFB00018 */ sw $s0, 0x18($sp) +/* 16EC48 80240368 AFA2001C */ sw $v0, 0x1c($sp) +/* 16EC4C 8024036C 2463FFFA */ addiu $v1, $v1, -6 +/* 16EC50 80240370 3063FFFF */ andi $v1, $v1, 0xffff +/* 16EC54 80240374 0C099E8F */ jal func_80267A3C +/* 16EC58 80240378 AFA30014 */ sw $v1, 0x14($sp) +/* 16EC5C 8024037C 26F70001 */ addiu $s7, $s7, 1 +.L80240380: +/* 16EC60 80240380 2AE20018 */ slti $v0, $s7, 0x18 +/* 16EC64 80240384 1440FF1F */ bnez $v0, .L80240004 +/* 16EC68 80240388 00171080 */ sll $v0, $s7, 2 +.L8024038C: +/* 16EC6C 8024038C 8FBF0054 */ lw $ra, 0x54($sp) +/* 16EC70 80240390 8FBE0050 */ lw $fp, 0x50($sp) +/* 16EC74 80240394 8FB7004C */ lw $s7, 0x4c($sp) +/* 16EC78 80240398 8FB60048 */ lw $s6, 0x48($sp) +/* 16EC7C 8024039C 8FB50044 */ lw $s5, 0x44($sp) +/* 16EC80 802403A0 8FB40040 */ lw $s4, 0x40($sp) +/* 16EC84 802403A4 8FB3003C */ lw $s3, 0x3c($sp) +/* 16EC88 802403A8 8FB20038 */ lw $s2, 0x38($sp) +/* 16EC8C 802403AC 8FB10034 */ lw $s1, 0x34($sp) +/* 16EC90 802403B0 8FB00030 */ lw $s0, 0x30($sp) +/* 16EC94 802403B4 03E00008 */ jr $ra +/* 16EC98 802403B8 27BD0058 */ addiu $sp, $sp, 0x58 + +update_starpoints_display: +/* 16EC9C 802403BC 27BDFF70 */ addiu $sp, $sp, -0x90 +/* 16ECA0 802403C0 3C0B800E */ lui $t3, 0x800e +/* 16ECA4 802403C4 256BC070 */ addiu $t3, $t3, -0x3f90 +/* 16ECA8 802403C8 AFBF007C */ sw $ra, 0x7c($sp) +/* 16ECAC 802403CC AFBE0078 */ sw $fp, 0x78($sp) +/* 16ECB0 802403D0 AFB70074 */ sw $s7, 0x74($sp) +/* 16ECB4 802403D4 AFB60070 */ sw $s6, 0x70($sp) +/* 16ECB8 802403D8 AFB5006C */ sw $s5, 0x6c($sp) +/* 16ECBC 802403DC AFB40068 */ sw $s4, 0x68($sp) +/* 16ECC0 802403E0 AFB30064 */ sw $s3, 0x64($sp) +/* 16ECC4 802403E4 AFB20060 */ sw $s2, 0x60($sp) +/* 16ECC8 802403E8 AFB1005C */ sw $s1, 0x5c($sp) +/* 16ECCC 802403EC AFB00058 */ sw $s0, 0x58($sp) +/* 16ECD0 802403F0 F7B60088 */ sdc1 $f22, 0x88($sp) +/* 16ECD4 802403F4 F7B40080 */ sdc1 $f20, 0x80($sp) +/* 16ECD8 802403F8 8D620000 */ lw $v0, ($t3) +/* 16ECDC 802403FC 30420001 */ andi $v0, $v0, 1 +/* 16ECE0 80240400 1040016E */ beqz $v0, .L802409BC +/* 16ECE4 80240404 00000000 */ nop +/* 16ECE8 80240408 8D620004 */ lw $v0, 4($t3) +/* 16ECEC 8024040C 30420001 */ andi $v0, $v0, 1 +/* 16ECF0 80240410 1440001D */ bnez $v0, .L80240488 +/* 16ECF4 80240414 240500CA */ addiu $a1, $zero, 0xca +/* 16ECF8 80240418 3C036666 */ lui $v1, 0x6666 +/* 16ECFC 8024041C 34636667 */ ori $v1, $v1, 0x6667 +/* 16ED00 80240420 91650078 */ lbu $a1, 0x78($t3) +/* 16ED04 80240424 24020124 */ addiu $v0, $zero, 0x124 +/* 16ED08 80240428 3C01802A */ lui $at, 0x802a +/* 16ED0C 8024042C AC22DA40 */ sw $v0, -0x25c0($at) +/* 16ED10 80240430 240200C4 */ addiu $v0, $zero, 0xc4 +/* 16ED14 80240434 00052E00 */ sll $a1, $a1, 0x18 +/* 16ED18 80240438 00052603 */ sra $a0, $a1, 0x18 +/* 16ED1C 8024043C 00830018 */ mult $a0, $v1 +/* 16ED20 80240440 3C01802A */ lui $at, 0x802a +/* 16ED24 80240444 AC22DA44 */ sw $v0, -0x25bc($at) +/* 16ED28 80240448 24020006 */ addiu $v0, $zero, 6 +/* 16ED2C 8024044C 3C01802A */ lui $at, 0x802a +/* 16ED30 80240450 AC22DA48 */ sw $v0, -0x25b8($at) +/* 16ED34 80240454 00052FC3 */ sra $a1, $a1, 0x1f +/* 16ED38 80240458 00006010 */ mfhi $t4 +/* 16ED3C 8024045C 000C1883 */ sra $v1, $t4, 2 +/* 16ED40 80240460 00651823 */ subu $v1, $v1, $a1 +/* 16ED44 80240464 00031080 */ sll $v0, $v1, 2 +/* 16ED48 80240468 00431021 */ addu $v0, $v0, $v1 +/* 16ED4C 8024046C 00021040 */ sll $v0, $v0, 1 +/* 16ED50 80240470 00822023 */ subu $a0, $a0, $v0 +/* 16ED54 80240474 00042600 */ sll $a0, $a0, 0x18 +/* 16ED58 80240478 00042603 */ sra $a0, $a0, 0x18 +/* 16ED5C 8024047C 3C01802A */ lui $at, 0x802a +/* 16ED60 80240480 0809014B */ j func_8024052C +/* 16ED64 80240484 AC24DA4C */ sw $a0, -0x25b4($at) + +.L80240488: +/* 16ED68 80240488 3C08802A */ lui $t0, 0x802a +/* 16ED6C 8024048C 2508DA40 */ addiu $t0, $t0, -0x25c0 +/* 16ED70 80240490 3C0A802A */ lui $t2, 0x802a +/* 16ED74 80240494 254ADA48 */ addiu $t2, $t2, -0x25b8 +/* 16ED78 80240498 8D060000 */ lw $a2, ($t0) +/* 16ED7C 8024049C 8D430000 */ lw $v1, ($t2) +/* 16ED80 802404A0 00A62823 */ subu $a1, $a1, $a2 +/* 16ED84 802404A4 14600002 */ bnez $v1, .L802404B0 +/* 16ED88 802404A8 00A3001A */ div $zero, $a1, $v1 +/* 16ED8C 802404AC 0007000D */ break 7 +.L802404B0: +/* 16ED90 802404B0 2401FFFF */ addiu $at, $zero, -1 +/* 16ED94 802404B4 14610004 */ bne $v1, $at, .L802404C8 +/* 16ED98 802404B8 3C018000 */ lui $at, 0x8000 +/* 16ED9C 802404BC 14A10002 */ bne $a1, $at, .L802404C8 +/* 16EDA0 802404C0 00000000 */ nop +/* 16EDA4 802404C4 0006000D */ break 6 +.L802404C8: +/* 16EDA8 802404C8 00002812 */ mflo $a1 +/* 16EDAC 802404CC 3C07802A */ lui $a3, 0x802a +/* 16EDB0 802404D0 24E7DA44 */ addiu $a3, $a3, -0x25bc +/* 16EDB4 802404D4 8CE40000 */ lw $a0, ($a3) +/* 16EDB8 802404D8 24020078 */ addiu $v0, $zero, 0x78 +/* 16EDBC 802404DC 00441023 */ subu $v0, $v0, $a0 +/* 16EDC0 802404E0 14600002 */ bnez $v1, .L802404EC +/* 16EDC4 802404E4 0043001A */ div $zero, $v0, $v1 +/* 16EDC8 802404E8 0007000D */ break 7 +.L802404EC: +/* 16EDCC 802404EC 2401FFFF */ addiu $at, $zero, -1 +/* 16EDD0 802404F0 14610004 */ bne $v1, $at, .L80240504 +/* 16EDD4 802404F4 3C018000 */ lui $at, 0x8000 +/* 16EDD8 802404F8 14410002 */ bne $v0, $at, .L80240504 +/* 16EDDC 802404FC 00000000 */ nop +/* 16EDE0 80240500 0006000D */ break 6 +.L80240504: +/* 16EDE4 80240504 00001012 */ mflo $v0 +/* 16EDE8 80240508 2463FFFF */ addiu $v1, $v1, -1 +/* 16EDEC 8024050C AD430000 */ sw $v1, ($t2) +/* 16EDF0 80240510 00C53021 */ addu $a2, $a2, $a1 +/* 16EDF4 80240514 00822021 */ addu $a0, $a0, $v0 +/* 16EDF8 80240518 AD060000 */ sw $a2, ($t0) +/* 16EDFC 8024051C 1C600003 */ bgtz $v1, .L8024052C +/* 16EE00 80240520 ACE40000 */ sw $a0, ($a3) +/* 16EE04 80240524 24020001 */ addiu $v0, $zero, 1 +/* 16EE08 80240528 AD420000 */ sw $v0, ($t2) +func_8024052C: +.L8024052C: +/* 16EE0C 8024052C 3C028028 */ lui $v0, 0x8028 +/* 16EE10 80240530 804209F4 */ lb $v0, 0x9f4($v0) +/* 16EE14 80240534 1040000F */ beqz $v0, .L80240574 +/* 16EE18 80240538 24050001 */ addiu $a1, $zero, 1 +/* 16EE1C 8024053C 3C048028 */ lui $a0, 0x8028 +/* 16EE20 80240540 248409F5 */ addiu $a0, $a0, 0x9f5 +/* 16EE24 80240544 80830000 */ lb $v1, ($a0) +/* 16EE28 80240548 28620009 */ slti $v0, $v1, 9 +/* 16EE2C 8024054C 14400004 */ bnez $v0, .L80240560 +/* 16EE30 80240550 2862000D */ slti $v0, $v1, 0xd +/* 16EE34 80240554 50400002 */ beql $v0, $zero, .L80240560 +/* 16EE38 80240558 A0800000 */ sb $zero, ($a0) +/* 16EE3C 8024055C 0000282D */ daddu $a1, $zero, $zero +.L80240560: +/* 16EE40 80240560 3C038028 */ lui $v1, 0x8028 +/* 16EE44 80240564 246309F5 */ addiu $v1, $v1, 0x9f5 +/* 16EE48 80240568 90620000 */ lbu $v0, ($v1) +/* 16EE4C 8024056C 24420001 */ addiu $v0, $v0, 1 +/* 16EE50 80240570 A0620000 */ sb $v0, ($v1) +.L80240574: +/* 16EE54 80240574 10A00111 */ beqz $a1, .L802409BC +/* 16EE58 80240578 00000000 */ nop +/* 16EE5C 8024057C 3C038028 */ lui $v1, 0x8028 +/* 16EE60 80240580 246309F0 */ addiu $v1, $v1, 0x9f0 +/* 16EE64 80240584 9162007A */ lbu $v0, 0x7a($t3) +/* 16EE68 80240588 C4600000 */ lwc1 $f0, ($v1) +/* 16EE6C 8024058C 3C013FF0 */ lui $at, 0x3ff0 +/* 16EE70 80240590 44811800 */ mtc1 $at, $f3 +/* 16EE74 80240594 44801000 */ mtc1 $zero, $f2 +/* 16EE78 80240598 3C013F80 */ lui $at, 0x3f80 +/* 16EE7C 8024059C 4481B000 */ mtc1 $at, $f22 +/* 16EE80 802405A0 46000021 */ cvt.d.s $f0, $f0 +/* 16EE84 802405A4 46220001 */ sub.d $f0, $f0, $f2 +/* 16EE88 802405A8 44801000 */ mtc1 $zero, $f2 +/* 16EE8C 802405AC 2442FFFF */ addiu $v0, $v0, -1 +/* 16EE90 802405B0 A162007A */ sb $v0, 0x7a($t3) +/* 16EE94 802405B4 46200020 */ cvt.s.d $f0, $f0 +/* 16EE98 802405B8 4602003E */ c.le.s $f0, $f2 +/* 16EE9C 802405BC 00000000 */ nop +/* 16EEA0 802405C0 45000036 */ bc1f .L8024069C +/* 16EEA4 802405C4 E4600000 */ swc1 $f0, ($v1) +/* 16EEA8 802405C8 81620079 */ lb $v0, 0x79($t3) +/* 16EEAC 802405CC 1840000D */ blez $v0, .L80240604 +/* 16EEB0 802405D0 00000000 */ nop +/* 16EEB4 802405D4 91620078 */ lbu $v0, 0x78($t3) +/* 16EEB8 802405D8 24420001 */ addiu $v0, $v0, 1 +/* 16EEBC 802405DC A1620078 */ sb $v0, 0x78($t3) +/* 16EEC0 802405E0 00021600 */ sll $v0, $v0, 0x18 +/* 16EEC4 802405E4 00021603 */ sra $v0, $v0, 0x18 +/* 16EEC8 802405E8 28420065 */ slti $v0, $v0, 0x65 +/* 16EECC 802405EC 14400002 */ bnez $v0, .L802405F8 +/* 16EED0 802405F0 24020064 */ addiu $v0, $zero, 0x64 +/* 16EED4 802405F4 A1620078 */ sb $v0, 0x78($t3) +.L802405F8: +/* 16EED8 802405F8 91620079 */ lbu $v0, 0x79($t3) +/* 16EEDC 802405FC 2442FFFF */ addiu $v0, $v0, -1 +/* 16EEE0 80240600 A1620079 */ sb $v0, 0x79($t3) +.L80240604: +/* 16EEE4 80240604 81630079 */ lb $v1, 0x79($t3) +/* 16EEE8 80240608 58600001 */ blezl $v1, .L80240610 +/* 16EEEC 8024060C 24030001 */ addiu $v1, $zero, 1 +.L80240610: +/* 16EEF0 80240610 44830000 */ mtc1 $v1, $f0 +/* 16EEF4 80240614 00000000 */ nop +/* 16EEF8 80240618 46800020 */ cvt.s.w $f0, $f0 +/* 16EEFC 8024061C 8162007A */ lb $v0, 0x7a($t3) +/* 16EF00 80240620 3C013FF0 */ lui $at, 0x3ff0 +/* 16EF04 80240624 44811800 */ mtc1 $at, $f3 +/* 16EF08 80240628 44801000 */ mtc1 $zero, $f2 +/* 16EF0C 8024062C 44822000 */ mtc1 $v0, $f4 +/* 16EF10 80240630 00000000 */ nop +/* 16EF14 80240634 46802120 */ cvt.s.w $f4, $f4 +/* 16EF18 80240638 46002103 */ div.s $f4, $f4, $f0 +/* 16EF1C 8024063C 46002021 */ cvt.d.s $f0, $f4 +/* 16EF20 80240640 3C028028 */ lui $v0, 0x8028 +/* 16EF24 80240644 244209F0 */ addiu $v0, $v0, 0x9f0 +/* 16EF28 80240648 4622003C */ c.lt.d $f0, $f2 +/* 16EF2C 8024064C 00000000 */ nop +/* 16EF30 80240650 45000005 */ bc1f .L80240668 +/* 16EF34 80240654 E4440000 */ swc1 $f4, ($v0) +/* 16EF38 80240658 3C013F80 */ lui $at, 0x3f80 +/* 16EF3C 8024065C 44810000 */ mtc1 $at, $f0 +/* 16EF40 80240660 00000000 */ nop +/* 16EF44 80240664 E4400000 */ swc1 $f0, ($v0) +.L80240668: +/* 16EF48 80240668 C4400000 */ lwc1 $f0, ($v0) +/* 16EF4C 8024066C 3C014018 */ lui $at, 0x4018 +/* 16EF50 80240670 44811800 */ mtc1 $at, $f3 +/* 16EF54 80240674 44801000 */ mtc1 $zero, $f2 +/* 16EF58 80240678 46000021 */ cvt.d.s $f0, $f0 +/* 16EF5C 8024067C 4620103C */ c.lt.d $f2, $f0 +/* 16EF60 80240680 00000000 */ nop +/* 16EF64 80240684 45000006 */ bc1f .L802406A0 +/* 16EF68 80240688 3C036666 */ lui $v1, 0x6666 +/* 16EF6C 8024068C 3C0140C0 */ lui $at, 0x40c0 +/* 16EF70 80240690 44810000 */ mtc1 $at, $f0 +/* 16EF74 80240694 00000000 */ nop +/* 16EF78 80240698 E4400000 */ swc1 $f0, ($v0) +.L8024069C: +/* 16EF7C 8024069C 3C036666 */ lui $v1, 0x6666 +.L802406A0: +/* 16EF80 802406A0 34636667 */ ori $v1, $v1, 0x6667 +/* 16EF84 802406A4 91620078 */ lbu $v0, 0x78($t3) +/* 16EF88 802406A8 00021600 */ sll $v0, $v0, 0x18 +/* 16EF8C 802406AC 00022603 */ sra $a0, $v0, 0x18 +/* 16EF90 802406B0 00830018 */ mult $a0, $v1 +/* 16EF94 802406B4 0000882D */ daddu $s1, $zero, $zero +/* 16EF98 802406B8 3C12802A */ lui $s2, 0x802a +/* 16EF9C 802406BC 8E52DA40 */ lw $s2, -0x25c0($s2) +/* 16EFA0 802406C0 3C15802A */ lui $s5, 0x802a +/* 16EFA4 802406C4 8EB5DA44 */ lw $s5, -0x25bc($s5) +/* 16EFA8 802406C8 000217C3 */ sra $v0, $v0, 0x1f +/* 16EFAC 802406CC 00006010 */ mfhi $t4 +/* 16EFB0 802406D0 000C1883 */ sra $v1, $t4, 2 +/* 16EFB4 802406D4 00621823 */ subu $v1, $v1, $v0 +/* 16EFB8 802406D8 00031600 */ sll $v0, $v1, 0x18 +/* 16EFBC 802406DC 0002B603 */ sra $s6, $v0, 0x18 +/* 16EFC0 802406E0 00031080 */ sll $v0, $v1, 2 +/* 16EFC4 802406E4 00431021 */ addu $v0, $v0, $v1 +/* 16EFC8 802406E8 00021040 */ sll $v0, $v0, 1 +/* 16EFCC 802406EC 00822023 */ subu $a0, $a0, $v0 +/* 16EFD0 802406F0 00042600 */ sll $a0, $a0, 0x18 +/* 16EFD4 802406F4 00042603 */ sra $a0, $a0, 0x18 +/* 16EFD8 802406F8 1AC00039 */ blez $s6, .L802407E0 +/* 16EFDC 802406FC AFA40050 */ sw $a0, 0x50($sp) +/* 16EFE0 80240700 3C1E8008 */ lui $fp, 0x8008 +/* 16EFE4 80240704 27DE0FF0 */ addiu $fp, $fp, 0xff0 +/* 16EFE8 80240708 3C178010 */ lui $s7, 0x8010 +/* 16EFEC 8024070C 26F74BEC */ addiu $s7, $s7, 0x4bec +/* 16EFF0 80240710 3C14802A */ lui $s4, 0x802a +/* 16EFF4 80240714 2694EFE8 */ addiu $s4, $s4, -0x1018 +/* 16EFF8 80240718 3C13802A */ lui $s3, 0x802a +/* 16EFFC 8024071C 2673EFC0 */ addiu $s3, $s3, -0x1040 +.L80240720: +/* 16F000 80240720 8E700000 */ lw $s0, ($s3) +/* 16F004 80240724 0C05122C */ jal get_menu_icon_script +/* 16F008 80240728 0200202D */ daddu $a0, $s0, $zero +/* 16F00C 8024072C 105E0004 */ beq $v0, $fp, .L80240740 +/* 16F010 80240730 0200202D */ daddu $a0, $s0, $zero +/* 16F014 80240734 0C0511FF */ jal set_menu_icon_script +/* 16F018 80240738 03C0282D */ daddu $a1, $fp, $zero +/* 16F01C 8024073C 0200202D */ daddu $a0, $s0, $zero +.L80240740: +/* 16F020 80240740 0C05128B */ jal clear_icon_flags +/* 16F024 80240744 24050002 */ addiu $a1, $zero, 2 +/* 16F028 80240748 0200202D */ daddu $a0, $s0, $zero +/* 16F02C 8024074C 0240282D */ daddu $a1, $s2, $zero +/* 16F030 80240750 0C051261 */ jal set_icon_render_pos +/* 16F034 80240754 02A0302D */ daddu $a2, $s5, $zero +/* 16F038 80240758 0C0511EA */ jal draw_icon_0 +/* 16F03C 8024075C 0200202D */ daddu $a0, $s0, $zero +/* 16F040 80240760 8E900000 */ lw $s0, ($s4) +/* 16F044 80240764 0C05122C */ jal get_menu_icon_script +/* 16F048 80240768 0200202D */ daddu $a0, $s0, $zero +/* 16F04C 8024076C 10570004 */ beq $v0, $s7, .L80240780 +/* 16F050 80240770 0200202D */ daddu $a0, $s0, $zero +/* 16F054 80240774 0C0511FF */ jal set_menu_icon_script +/* 16F058 80240778 02E0282D */ daddu $a1, $s7, $zero +/* 16F05C 8024077C 0200202D */ daddu $a0, $s0, $zero +.L80240780: +/* 16F060 80240780 0C05128B */ jal clear_icon_flags +/* 16F064 80240784 24050002 */ addiu $a1, $zero, 2 +/* 16F068 80240788 0200202D */ daddu $a0, $s0, $zero +/* 16F06C 8024078C 0240282D */ daddu $a1, $s2, $zero +/* 16F070 80240790 0C051261 */ jal set_icon_render_pos +/* 16F074 80240794 26A6FFFB */ addiu $a2, $s5, -5 +/* 16F078 80240798 0C0511EA */ jal draw_icon_0 +/* 16F07C 8024079C 0200202D */ daddu $a0, $s0, $zero +/* 16F080 802407A0 3C0141A0 */ lui $at, 0x41a0 +/* 16F084 802407A4 44810000 */ mtc1 $at, $f0 +/* 16F088 802407A8 00000000 */ nop +/* 16F08C 802407AC 4600B002 */ mul.s $f0, $f22, $f0 +/* 16F090 802407B0 00000000 */ nop +/* 16F094 802407B4 26940004 */ addiu $s4, $s4, 4 +/* 16F098 802407B8 44921000 */ mtc1 $s2, $f2 +/* 16F09C 802407BC 00000000 */ nop +/* 16F0A0 802407C0 468010A0 */ cvt.s.w $f2, $f2 +/* 16F0A4 802407C4 46001081 */ sub.s $f2, $f2, $f0 +/* 16F0A8 802407C8 26310001 */ addiu $s1, $s1, 1 +/* 16F0AC 802407CC 0236102A */ slt $v0, $s1, $s6 +/* 16F0B0 802407D0 4600118D */ trunc.w.s $f6, $f2 +/* 16F0B4 802407D4 44123000 */ mfc1 $s2, $f6 +/* 16F0B8 802407D8 1440FFD1 */ bnez $v0, .L80240720 +/* 16F0BC 802407DC 26730004 */ addiu $s3, $s3, 4 +.L802407E0: +/* 16F0C0 802407E0 2A22000A */ slti $v0, $s1, 0xa +/* 16F0C4 802407E4 10400013 */ beqz $v0, .L80240834 +/* 16F0C8 802407E8 00111880 */ sll $v1, $s1, 2 +/* 16F0CC 802407EC 3C02802A */ lui $v0, 0x802a +/* 16F0D0 802407F0 2442EFE8 */ addiu $v0, $v0, -0x1018 +/* 16F0D4 802407F4 00629021 */ addu $s2, $v1, $v0 +/* 16F0D8 802407F8 3C02802A */ lui $v0, 0x802a +/* 16F0DC 802407FC 2442EFC0 */ addiu $v0, $v0, -0x1040 +/* 16F0E0 80240800 00628021 */ addu $s0, $v1, $v0 +/* 16F0E4 80240804 24050002 */ addiu $a1, $zero, 2 +.L80240808: +/* 16F0E8 80240808 8E040000 */ lw $a0, ($s0) +/* 16F0EC 8024080C 26100004 */ addiu $s0, $s0, 4 +/* 16F0F0 80240810 0C051280 */ jal set_icon_flags +/* 16F0F4 80240814 26310001 */ addiu $s1, $s1, 1 +/* 16F0F8 80240818 24050002 */ addiu $a1, $zero, 2 +/* 16F0FC 8024081C 8E440000 */ lw $a0, ($s2) +/* 16F100 80240820 0C051280 */ jal set_icon_flags +/* 16F104 80240824 26520004 */ addiu $s2, $s2, 4 +/* 16F108 80240828 2A22000A */ slti $v0, $s1, 0xa +/* 16F10C 8024082C 1440FFF6 */ bnez $v0, .L80240808 +/* 16F110 80240830 24050002 */ addiu $a1, $zero, 2 +.L80240834: +/* 16F114 80240834 3C014160 */ lui $at, 0x4160 +/* 16F118 80240838 44810000 */ mtc1 $at, $f0 +/* 16F11C 8024083C 00000000 */ nop +/* 16F120 80240840 4600B002 */ mul.s $f0, $f22, $f0 +/* 16F124 80240844 00000000 */ nop +/* 16F128 80240848 3C01802A */ lui $at, 0x802a +/* 16F12C 8024084C C422DA44 */ lwc1 $f2, -0x25bc($at) +/* 16F130 80240850 468010A0 */ cvt.s.w $f2, $f2 +/* 16F134 80240854 3C02800E */ lui $v0, 0x800e +/* 16F138 80240858 8C42C074 */ lw $v0, -0x3f8c($v0) +/* 16F13C 8024085C 46001080 */ add.s $f2, $f2, $f0 +/* 16F140 80240860 3C12802A */ lui $s2, 0x802a +/* 16F144 80240864 8E52DA40 */ lw $s2, -0x25c0($s2) +/* 16F148 80240868 30420001 */ andi $v0, $v0, 1 +/* 16F14C 8024086C 4600118D */ trunc.w.s $f6, $f2 +/* 16F150 80240870 44153000 */ mfc1 $s5, $f6 +/* 16F154 80240874 1040001D */ beqz $v0, .L802408EC +/* 16F158 80240878 00000000 */ nop +/* 16F15C 8024087C 8FAC0050 */ lw $t4, 0x50($sp) +/* 16F160 80240880 1180001B */ beqz $t4, .L802408F0 +/* 16F164 80240884 0000202D */ daddu $a0, $zero, $zero +/* 16F168 80240888 24050004 */ addiu $a1, $zero, 4 +/* 16F16C 8024088C 2646FF9C */ addiu $a2, $s2, -0x64 +/* 16F170 80240890 2402006E */ addiu $v0, $zero, 0x6e +/* 16F174 80240894 AFA20014 */ sw $v0, 0x14($sp) +/* 16F178 80240898 2402000C */ addiu $v0, $zero, 0xc +/* 16F17C 8024089C AFA20018 */ sw $v0, 0x18($sp) +/* 16F180 802408A0 24020078 */ addiu $v0, $zero, 0x78 +/* 16F184 802408A4 AFA2001C */ sw $v0, 0x1c($sp) +/* 16F188 802408A8 24020140 */ addiu $v0, $zero, 0x140 +/* 16F18C 802408AC AFA20044 */ sw $v0, 0x44($sp) +/* 16F190 802408B0 240200F0 */ addiu $v0, $zero, 0xf0 +/* 16F194 802408B4 26A7FFFB */ addiu $a3, $s5, -5 +/* 16F198 802408B8 AFA00010 */ sw $zero, 0x10($sp) +/* 16F19C 802408BC AFA00020 */ sw $zero, 0x20($sp) +/* 16F1A0 802408C0 AFA00024 */ sw $zero, 0x24($sp) +/* 16F1A4 802408C4 AFA00028 */ sw $zero, 0x28($sp) +/* 16F1A8 802408C8 AFA0002C */ sw $zero, 0x2c($sp) +/* 16F1AC 802408CC AFA00030 */ sw $zero, 0x30($sp) +/* 16F1B0 802408D0 AFA00034 */ sw $zero, 0x34($sp) +/* 16F1B4 802408D4 AFA00038 */ sw $zero, 0x38($sp) +/* 16F1B8 802408D8 AFA0003C */ sw $zero, 0x3c($sp) +/* 16F1BC 802408DC AFA00040 */ sw $zero, 0x40($sp) +/* 16F1C0 802408E0 AFA20048 */ sw $v0, 0x48($sp) +/* 16F1C4 802408E4 0C03D4B8 */ jal draw_box +/* 16F1C8 802408E8 AFA0004C */ sw $zero, 0x4c($sp) +.L802408EC: +/* 16F1CC 802408EC 8FAC0050 */ lw $t4, 0x50($sp) +.L802408F0: +/* 16F1D0 802408F0 19800024 */ blez $t4, .L80240984 +/* 16F1D4 802408F4 0000882D */ daddu $s1, $zero, $zero +/* 16F1D8 802408F8 3C148008 */ lui $s4, 0x8008 +/* 16F1DC 802408FC 269410C8 */ addiu $s4, $s4, 0x10c8 +/* 16F1E0 80240900 3C014120 */ lui $at, 0x4120 +/* 16F1E4 80240904 4481A000 */ mtc1 $at, $f20 +/* 16F1E8 80240908 3C13802A */ lui $s3, 0x802a +/* 16F1EC 8024090C 2673F010 */ addiu $s3, $s3, -0xff0 +.L80240910: +/* 16F1F0 80240910 8E700000 */ lw $s0, ($s3) +/* 16F1F4 80240914 0C05122C */ jal get_menu_icon_script +/* 16F1F8 80240918 0200202D */ daddu $a0, $s0, $zero +/* 16F1FC 8024091C 10540004 */ beq $v0, $s4, .L80240930 +/* 16F200 80240920 0200202D */ daddu $a0, $s0, $zero +/* 16F204 80240924 0C0511FF */ jal set_menu_icon_script +/* 16F208 80240928 0280282D */ daddu $a1, $s4, $zero +/* 16F20C 8024092C 0200202D */ daddu $a0, $s0, $zero +.L80240930: +/* 16F210 80240930 0C05128B */ jal clear_icon_flags +/* 16F214 80240934 24050002 */ addiu $a1, $zero, 2 +/* 16F218 80240938 0200202D */ daddu $a0, $s0, $zero +/* 16F21C 8024093C 0240282D */ daddu $a1, $s2, $zero +/* 16F220 80240940 0C051261 */ jal set_icon_render_pos +/* 16F224 80240944 02A0302D */ daddu $a2, $s5, $zero +/* 16F228 80240948 0C0511EA */ jal draw_icon_0 +/* 16F22C 8024094C 0200202D */ daddu $a0, $s0, $zero +/* 16F230 80240950 4614B082 */ mul.s $f2, $f22, $f20 +/* 16F234 80240954 00000000 */ nop +/* 16F238 80240958 44920000 */ mtc1 $s2, $f0 +/* 16F23C 8024095C 00000000 */ nop +/* 16F240 80240960 46800020 */ cvt.s.w $f0, $f0 +/* 16F244 80240964 46020001 */ sub.s $f0, $f0, $f2 +/* 16F248 80240968 4600018D */ trunc.w.s $f6, $f0 +/* 16F24C 8024096C 44123000 */ mfc1 $s2, $f6 +/* 16F250 80240970 8FAC0050 */ lw $t4, 0x50($sp) +/* 16F254 80240974 26310001 */ addiu $s1, $s1, 1 +/* 16F258 80240978 022C102A */ slt $v0, $s1, $t4 +/* 16F25C 8024097C 1440FFE4 */ bnez $v0, .L80240910 +/* 16F260 80240980 26730004 */ addiu $s3, $s3, 4 +.L80240984: +/* 16F264 80240984 2A22000A */ slti $v0, $s1, 0xa +/* 16F268 80240988 1040000C */ beqz $v0, .L802409BC +/* 16F26C 8024098C 00111080 */ sll $v0, $s1, 2 +/* 16F270 80240990 3C03802A */ lui $v1, 0x802a +/* 16F274 80240994 2463F010 */ addiu $v1, $v1, -0xff0 +/* 16F278 80240998 00438021 */ addu $s0, $v0, $v1 +.L8024099C: +/* 16F27C 8024099C 8E040000 */ lw $a0, ($s0) +/* 16F280 802409A0 24050002 */ addiu $a1, $zero, 2 +/* 16F284 802409A4 26100004 */ addiu $s0, $s0, 4 +/* 16F288 802409A8 0C051280 */ jal set_icon_flags +/* 16F28C 802409AC 26310001 */ addiu $s1, $s1, 1 +/* 16F290 802409B0 2A22000A */ slti $v0, $s1, 0xa +/* 16F294 802409B4 1440FFF9 */ bnez $v0, .L8024099C +/* 16F298 802409B8 00000000 */ nop +.L802409BC: +/* 16F29C 802409BC 8FBF007C */ lw $ra, 0x7c($sp) +/* 16F2A0 802409C0 8FBE0078 */ lw $fp, 0x78($sp) +/* 16F2A4 802409C4 8FB70074 */ lw $s7, 0x74($sp) +/* 16F2A8 802409C8 8FB60070 */ lw $s6, 0x70($sp) +/* 16F2AC 802409CC 8FB5006C */ lw $s5, 0x6c($sp) +/* 16F2B0 802409D0 8FB40068 */ lw $s4, 0x68($sp) +/* 16F2B4 802409D4 8FB30064 */ lw $s3, 0x64($sp) +/* 16F2B8 802409D8 8FB20060 */ lw $s2, 0x60($sp) +/* 16F2BC 802409DC 8FB1005C */ lw $s1, 0x5c($sp) +/* 16F2C0 802409E0 8FB00058 */ lw $s0, 0x58($sp) +/* 16F2C4 802409E4 D7B60088 */ ldc1 $f22, 0x88($sp) +/* 16F2C8 802409E8 D7B40080 */ ldc1 $f20, 0x80($sp) +/* 16F2CC 802409EC 03E00008 */ jr $ra +/* 16F2D0 802409F0 27BD0090 */ addiu $sp, $sp, 0x90 + +func_802409F4: +/* 16F2D4 802409F4 3C088011 */ lui $t0, 0x8011 +/* 16F2D8 802409F8 2508EFC8 */ addiu $t0, $t0, -0x1038 +/* 16F2DC 802409FC 0000382D */ daddu $a3, $zero, $zero +/* 16F2E0 80240A00 3C04800B */ lui $a0, 0x800b +/* 16F2E4 80240A04 24841D80 */ addiu $a0, $a0, 0x1d80 +/* 16F2E8 80240A08 3C06802A */ lui $a2, 0x802a +/* 16F2EC 80240A0C 24C6DA50 */ addiu $a2, $a2, -0x25b0 +.L80240A10: +/* 16F2F0 80240A10 00C0182D */ daddu $v1, $a2, $zero +/* 16F2F4 80240A14 0080102D */ daddu $v0, $a0, $zero +/* 16F2F8 80240A18 24850550 */ addiu $a1, $a0, 0x550 +.L80240A1C: +/* 16F2FC 80240A1C 8C490000 */ lw $t1, ($v0) +/* 16F300 80240A20 8C4A0004 */ lw $t2, 4($v0) +/* 16F304 80240A24 8C4B0008 */ lw $t3, 8($v0) +/* 16F308 80240A28 8C4C000C */ lw $t4, 0xc($v0) +/* 16F30C 80240A2C AC690000 */ sw $t1, ($v1) +/* 16F310 80240A30 AC6A0004 */ sw $t2, 4($v1) +/* 16F314 80240A34 AC6B0008 */ sw $t3, 8($v1) +/* 16F318 80240A38 AC6C000C */ sw $t4, 0xc($v1) +/* 16F31C 80240A3C 24420010 */ addiu $v0, $v0, 0x10 +/* 16F320 80240A40 1445FFF6 */ bne $v0, $a1, .L80240A1C +/* 16F324 80240A44 24630010 */ addiu $v1, $v1, 0x10 +/* 16F328 80240A48 8C490000 */ lw $t1, ($v0) +/* 16F32C 80240A4C 8C4A0004 */ lw $t2, 4($v0) +/* 16F330 80240A50 AC690000 */ sw $t1, ($v1) +/* 16F334 80240A54 AC6A0004 */ sw $t2, 4($v1) +/* 16F338 80240A58 24840558 */ addiu $a0, $a0, 0x558 +/* 16F33C 80240A5C 24E70001 */ addiu $a3, $a3, 1 +/* 16F340 80240A60 28E20004 */ slti $v0, $a3, 4 +/* 16F344 80240A64 1440FFEA */ bnez $v0, .L80240A10 +/* 16F348 80240A68 24C60558 */ addiu $a2, $a2, 0x558 +/* 16F34C 80240A6C C5000028 */ lwc1 $f0, 0x28($t0) +/* 16F350 80240A70 C502002C */ lwc1 $f2, 0x2c($t0) +/* 16F354 80240A74 C5040030 */ lwc1 $f4, 0x30($t0) +/* 16F358 80240A78 3C01C47A */ lui $at, 0xc47a +/* 16F35C 80240A7C 44813000 */ mtc1 $at, $f6 +/* 16F360 80240A80 AD000028 */ sw $zero, 0x28($t0) +/* 16F364 80240A84 AD000030 */ sw $zero, 0x30($t0) +/* 16F368 80240A88 3C01802A */ lui $at, 0x802a +/* 16F36C 80240A8C E420EFB0 */ swc1 $f0, -0x1050($at) +/* 16F370 80240A90 3C01802A */ lui $at, 0x802a +/* 16F374 80240A94 E422EFB4 */ swc1 $f2, -0x104c($at) +/* 16F378 80240A98 3C01802A */ lui $at, 0x802a +/* 16F37C 80240A9C E424EFB8 */ swc1 $f4, -0x1048($at) +/* 16F380 80240AA0 03E00008 */ jr $ra +/* 16F384 80240AA4 E506002C */ swc1 $f6, 0x2c($t0) + +func_80240AA8: +/* 16F388 80240AA8 3C088011 */ lui $t0, 0x8011 +/* 16F38C 80240AAC 2508EFC8 */ addiu $t0, $t0, -0x1038 +/* 16F390 80240AB0 0000382D */ daddu $a3, $zero, $zero +/* 16F394 80240AB4 3C04802A */ lui $a0, 0x802a +/* 16F398 80240AB8 2484DA50 */ addiu $a0, $a0, -0x25b0 +/* 16F39C 80240ABC 3C06800B */ lui $a2, 0x800b +/* 16F3A0 80240AC0 24C61D80 */ addiu $a2, $a2, 0x1d80 +.L80240AC4: +/* 16F3A4 80240AC4 00C0182D */ daddu $v1, $a2, $zero +/* 16F3A8 80240AC8 0080102D */ daddu $v0, $a0, $zero +/* 16F3AC 80240ACC 24850550 */ addiu $a1, $a0, 0x550 +.L80240AD0: +/* 16F3B0 80240AD0 8C490000 */ lw $t1, ($v0) +/* 16F3B4 80240AD4 8C4A0004 */ lw $t2, 4($v0) +/* 16F3B8 80240AD8 8C4B0008 */ lw $t3, 8($v0) +/* 16F3BC 80240ADC 8C4C000C */ lw $t4, 0xc($v0) +/* 16F3C0 80240AE0 AC690000 */ sw $t1, ($v1) +/* 16F3C4 80240AE4 AC6A0004 */ sw $t2, 4($v1) +/* 16F3C8 80240AE8 AC6B0008 */ sw $t3, 8($v1) +/* 16F3CC 80240AEC AC6C000C */ sw $t4, 0xc($v1) +/* 16F3D0 80240AF0 24420010 */ addiu $v0, $v0, 0x10 +/* 16F3D4 80240AF4 1445FFF6 */ bne $v0, $a1, .L80240AD0 +/* 16F3D8 80240AF8 24630010 */ addiu $v1, $v1, 0x10 +/* 16F3DC 80240AFC 8C490000 */ lw $t1, ($v0) +/* 16F3E0 80240B00 8C4A0004 */ lw $t2, 4($v0) +/* 16F3E4 80240B04 AC690000 */ sw $t1, ($v1) +/* 16F3E8 80240B08 AC6A0004 */ sw $t2, 4($v1) +/* 16F3EC 80240B0C 24840558 */ addiu $a0, $a0, 0x558 +/* 16F3F0 80240B10 24E70001 */ addiu $a3, $a3, 1 +/* 16F3F4 80240B14 28E20004 */ slti $v0, $a3, 4 +/* 16F3F8 80240B18 1440FFEA */ bnez $v0, .L80240AC4 +/* 16F3FC 80240B1C 24C60558 */ addiu $a2, $a2, 0x558 +/* 16F400 80240B20 3C01802A */ lui $at, 0x802a +/* 16F404 80240B24 C420EFB0 */ lwc1 $f0, -0x1050($at) +/* 16F408 80240B28 3C01802A */ lui $at, 0x802a +/* 16F40C 80240B2C C422EFB4 */ lwc1 $f2, -0x104c($at) +/* 16F410 80240B30 3C01802A */ lui $at, 0x802a +/* 16F414 80240B34 C424EFB8 */ lwc1 $f4, -0x1048($at) +/* 16F418 80240B38 3C02802A */ lui $v0, 0x802a +/* 16F41C 80240B3C 8C42DA34 */ lw $v0, -0x25cc($v0) +/* 16F420 80240B40 3C018007 */ lui $at, 0x8007 +/* 16F424 80240B44 AC207410 */ sw $zero, 0x7410($at) +/* 16F428 80240B48 30420080 */ andi $v0, $v0, 0x80 +/* 16F42C 80240B4C E5000028 */ swc1 $f0, 0x28($t0) +/* 16F430 80240B50 E502002C */ swc1 $f2, 0x2c($t0) +/* 16F434 80240B54 10400007 */ beqz $v0, .L80240B74 +/* 16F438 80240B58 E5040030 */ swc1 $f4, 0x30($t0) +/* 16F43C 80240B5C 3C03800A */ lui $v1, 0x800a +/* 16F440 80240B60 2463A650 */ addiu $v1, $v1, -0x59b0 +/* 16F444 80240B64 8C620000 */ lw $v0, ($v1) +/* 16F448 80240B68 34420080 */ ori $v0, $v0, 0x80 +/* 16F44C 80240B6C 080902E3 */ j func_80240B8C +/* 16F450 80240B70 AC620000 */ sw $v0, ($v1) + +.L80240B74: +/* 16F454 80240B74 3C02800A */ lui $v0, 0x800a +/* 16F458 80240B78 2442A650 */ addiu $v0, $v0, -0x59b0 +/* 16F45C 80240B7C 8C430000 */ lw $v1, ($v0) +/* 16F460 80240B80 2404FF7F */ addiu $a0, $zero, -0x81 +/* 16F464 80240B84 00641824 */ and $v1, $v1, $a0 +/* 16F468 80240B88 AC430000 */ sw $v1, ($v0) +func_80240B8C: +/* 16F46C 80240B8C 3C02800E */ lui $v0, 0x800e +/* 16F470 80240B90 8C42C074 */ lw $v0, -0x3f8c($v0) +/* 16F474 80240B94 30420040 */ andi $v0, $v0, 0x40 +/* 16F478 80240B98 10400006 */ beqz $v0, .L80240BB4 +/* 16F47C 80240B9C 00000000 */ nop +/* 16F480 80240BA0 3C03802A */ lui $v1, 0x802a +/* 16F484 80240BA4 9063DA33 */ lbu $v1, -0x25cd($v1) +/* 16F488 80240BA8 3C028011 */ lui $v0, 0x8011 +/* 16F48C 80240BAC 2442F290 */ addiu $v0, $v0, -0xd70 +/* 16F490 80240BB0 A0430012 */ sb $v1, 0x12($v0) +.L80240BB4: +/* 16F494 80240BB4 03E00008 */ jr $ra +/* 16F498 80240BB8 00000000 */ nop + +delete_actor: +/* 16F49C 80240BBC 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* 16F4A0 80240BC0 AFB10024 */ sw $s1, 0x24($sp) +/* 16F4A4 80240BC4 0080882D */ daddu $s1, $a0, $zero +/* 16F4A8 80240BC8 AFB00020 */ sw $s0, 0x20($sp) +/* 16F4AC 80240BCC 0000802D */ daddu $s0, $zero, $zero +/* 16F4B0 80240BD0 AFBF002C */ sw $ra, 0x2c($sp) +/* 16F4B4 80240BD4 AFB20028 */ sw $s2, 0x28($sp) +/* 16F4B8 80240BD8 0220202D */ daddu $a0, $s1, $zero +.L80240BDC: +/* 16F4BC 80240BDC 0C099C8D */ jal remove_actor_decoration +/* 16F4C0 80240BE0 0200282D */ daddu $a1, $s0, $zero +/* 16F4C4 80240BE4 26100001 */ addiu $s0, $s0, 1 +/* 16F4C8 80240BE8 2A020002 */ slti $v0, $s0, 2 +/* 16F4CC 80240BEC 1440FFFB */ bnez $v0, .L80240BDC +/* 16F4D0 80240BF0 0220202D */ daddu $a0, $s1, $zero +/* 16F4D4 80240BF4 8E2201D0 */ lw $v0, 0x1d0($s1) +/* 16F4D8 80240BF8 10400003 */ beqz $v0, .L80240C08 +/* 16F4DC 80240BFC 00000000 */ nop +/* 16F4E0 80240C00 0C0B102B */ jal kill_script_by_ID +/* 16F4E4 80240C04 8E2401E0 */ lw $a0, 0x1e0($s1) +.L80240C08: +/* 16F4E8 80240C08 8E2201D8 */ lw $v0, 0x1d8($s1) +/* 16F4EC 80240C0C 10400003 */ beqz $v0, .L80240C1C +/* 16F4F0 80240C10 00000000 */ nop +/* 16F4F4 80240C14 0C0B102B */ jal kill_script_by_ID +/* 16F4F8 80240C18 8E2401E8 */ lw $a0, 0x1e8($s1) +.L80240C1C: +/* 16F4FC 80240C1C 8E2201D4 */ lw $v0, 0x1d4($s1) +/* 16F500 80240C20 10400005 */ beqz $v0, .L80240C38 +/* 16F504 80240C24 0220202D */ daddu $a0, $s1, $zero +/* 16F508 80240C28 8E2401E4 */ lw $a0, 0x1e4($s1) +/* 16F50C 80240C2C 0C0B102B */ jal kill_script_by_ID +/* 16F510 80240C30 00000000 */ nop +/* 16F514 80240C34 0220202D */ daddu $a0, $s1, $zero +.L80240C38: +/* 16F518 80240C38 0C099BBA */ jal func_80266EE8 +/* 16F51C 80240C3C 0000282D */ daddu $a1, $zero, $zero +/* 16F520 80240C40 8E3001F4 */ lw $s0, 0x1f4($s1) +/* 16F524 80240C44 1200002B */ beqz $s0, .L80240CF4 +/* 16F528 80240C48 00000000 */ nop +/* 16F52C 80240C4C 3C128000 */ lui $s2, 0x8000 +.L80240C50: +/* 16F530 80240C50 8E020000 */ lw $v0, ($s0) +/* 16F534 80240C54 30420004 */ andi $v0, $v0, 4 +/* 16F538 80240C58 14400003 */ bnez $v0, .L80240C68 +/* 16F53C 80240C5C 00000000 */ nop +/* 16F540 80240C60 0C0448CA */ jal func_80112328 +/* 16F544 80240C64 8E04009C */ lw $a0, 0x9c($s0) +.L80240C68: +/* 16F548 80240C68 8E020094 */ lw $v0, 0x94($s0) +/* 16F54C 80240C6C 1040001C */ beqz $v0, .L80240CE0 +/* 16F550 80240C70 0000282D */ daddu $a1, $zero, $zero +/* 16F554 80240C74 00A0302D */ daddu $a2, $a1, $zero +/* 16F558 80240C78 AFA00010 */ sw $zero, 0x10($sp) +/* 16F55C 80240C7C AFA00014 */ sw $zero, 0x14($sp) +/* 16F560 80240C80 AFA00018 */ sw $zero, 0x18($sp) +/* 16F564 80240C84 8E040084 */ lw $a0, 0x84($s0) +/* 16F568 80240C88 0C0B7A25 */ jal func_802DE894 +/* 16F56C 80240C8C 00A0382D */ daddu $a3, $a1, $zero +/* 16F570 80240C90 8E040084 */ lw $a0, 0x84($s0) +/* 16F574 80240C94 0C0B797A */ jal func_802DE5E8 +/* 16F578 80240C98 00000000 */ nop +/* 16F57C 80240C9C 10400003 */ beqz $v0, .L80240CAC +/* 16F580 80240CA0 00000000 */ nop +func_80240CA4: +/* 16F584 80240CA4 08090329 */ j func_80240CA4 +/* 16F588 80240CA8 00000000 */ nop + +.L80240CAC: +/* 16F58C 80240CAC 8E020000 */ lw $v0, ($s0) +/* 16F590 80240CB0 00521024 */ and $v0, $v0, $s2 +/* 16F594 80240CB4 14400003 */ bnez $v0, .L80240CC4 +/* 16F598 80240CB8 00000000 */ nop +/* 16F59C 80240CBC 0C00AB4B */ jal heap_free +/* 16F5A0 80240CC0 8E040010 */ lw $a0, 0x10($s0) +.L80240CC4: +/* 16F5A4 80240CC4 8E020000 */ lw $v0, ($s0) +/* 16F5A8 80240CC8 30420002 */ andi $v0, $v0, 2 +/* 16F5AC 80240CCC 14400005 */ bnez $v0, .L80240CE4 +/* 16F5B0 80240CD0 0200202D */ daddu $a0, $s0, $zero +/* 16F5B4 80240CD4 8E0400C0 */ lw $a0, 0xc0($s0) +/* 16F5B8 80240CD8 0C00AB4B */ jal heap_free +/* 16F5BC 80240CDC 00000000 */ nop +.L80240CE0: +/* 16F5C0 80240CE0 0200202D */ daddu $a0, $s0, $zero +.L80240CE4: +/* 16F5C4 80240CE4 0C00AB4B */ jal heap_free +/* 16F5C8 80240CE8 8C90000C */ lw $s0, 0xc($a0) +/* 16F5CC 80240CEC 1600FFD8 */ bnez $s0, .L80240C50 +/* 16F5D0 80240CF0 00000000 */ nop +.L80240CF4: +/* 16F5D4 80240CF4 0C0448CA */ jal func_80112328 +/* 16F5D8 80240CF8 8E24042C */ lw $a0, 0x42c($s1) +/* 16F5DC 80240CFC 0C011DBD */ jal func_800476F4 +/* 16F5E0 80240D00 86240436 */ lh $a0, 0x436($s1) +/* 16F5E4 80240D04 0C016914 */ jal remove_effect +/* 16F5E8 80240D08 8E240440 */ lw $a0, 0x440($s1) +/* 16F5EC 80240D0C 8E220200 */ lw $v0, 0x200($s1) +/* 16F5F0 80240D10 10400003 */ beqz $v0, .L80240D20 +/* 16F5F4 80240D14 0000802D */ daddu $s0, $zero, $zero +/* 16F5F8 80240D18 8C42000C */ lw $v0, 0xc($v0) +/* 16F5FC 80240D1C AC400024 */ sw $zero, 0x24($v0) +.L80240D20: +/* 16F600 80240D20 3C03800E */ lui $v1, 0x800e +/* 16F604 80240D24 2463C070 */ addiu $v1, $v1, -0x3f90 +.L80240D28: +/* 16F608 80240D28 8C6200E0 */ lw $v0, 0xe0($v1) +/* 16F60C 80240D2C 14510003 */ bne $v0, $s1, .L80240D3C +/* 16F610 80240D30 26100001 */ addiu $s0, $s0, 1 +/* 16F614 80240D34 08090352 */ j func_80240D48 +/* 16F618 80240D38 AC6000E0 */ sw $zero, 0xe0($v1) + +.L80240D3C: +/* 16F61C 80240D3C 2A020018 */ slti $v0, $s0, 0x18 +/* 16F620 80240D40 1440FFF9 */ bnez $v0, .L80240D28 +/* 16F624 80240D44 24630004 */ addiu $v1, $v1, 4 +func_80240D48: +/* 16F628 80240D48 0C00AB4B */ jal heap_free +/* 16F62C 80240D4C 0220202D */ daddu $a0, $s1, $zero +/* 16F630 80240D50 8FBF002C */ lw $ra, 0x2c($sp) +/* 16F634 80240D54 8FB20028 */ lw $s2, 0x28($sp) +/* 16F638 80240D58 8FB10024 */ lw $s1, 0x24($sp) +/* 16F63C 80240D5C 8FB00020 */ lw $s0, 0x20($sp) +/* 16F640 80240D60 03E00008 */ jr $ra +/* 16F644 80240D64 27BD0030 */ addiu $sp, $sp, 0x30 + +delete_player_actor: +/* 16F648 80240D68 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 16F64C 80240D6C AFB10014 */ sw $s1, 0x14($sp) +/* 16F650 80240D70 0080882D */ daddu $s1, $a0, $zero +/* 16F654 80240D74 AFB00010 */ sw $s0, 0x10($sp) +/* 16F658 80240D78 0000802D */ daddu $s0, $zero, $zero +/* 16F65C 80240D7C AFBF0020 */ sw $ra, 0x20($sp) +/* 16F660 80240D80 AFB3001C */ sw $s3, 0x1c($sp) +/* 16F664 80240D84 AFB20018 */ sw $s2, 0x18($sp) +/* 16F668 80240D88 0220202D */ daddu $a0, $s1, $zero +.L80240D8C: +/* 16F66C 80240D8C 0C099C8D */ jal remove_actor_decoration +/* 16F670 80240D90 0200282D */ daddu $a1, $s0, $zero +/* 16F674 80240D94 26100001 */ addiu $s0, $s0, 1 +/* 16F678 80240D98 2A020002 */ slti $v0, $s0, 2 +/* 16F67C 80240D9C 1440FFFB */ bnez $v0, .L80240D8C +/* 16F680 80240DA0 0220202D */ daddu $a0, $s1, $zero +/* 16F684 80240DA4 8E2201D0 */ lw $v0, 0x1d0($s1) +/* 16F688 80240DA8 10400003 */ beqz $v0, .L80240DB8 +/* 16F68C 80240DAC 00000000 */ nop +/* 16F690 80240DB0 0C0B102B */ jal kill_script_by_ID +/* 16F694 80240DB4 8E2401E0 */ lw $a0, 0x1e0($s1) +.L80240DB8: +/* 16F698 80240DB8 8E2201D8 */ lw $v0, 0x1d8($s1) +/* 16F69C 80240DBC 10400003 */ beqz $v0, .L80240DCC +/* 16F6A0 80240DC0 00000000 */ nop +/* 16F6A4 80240DC4 0C0B102B */ jal kill_script_by_ID +/* 16F6A8 80240DC8 8E2401E8 */ lw $a0, 0x1e8($s1) +.L80240DCC: +/* 16F6AC 80240DCC 8E2201D4 */ lw $v0, 0x1d4($s1) +/* 16F6B0 80240DD0 10400003 */ beqz $v0, .L80240DE0 +/* 16F6B4 80240DD4 00000000 */ nop +/* 16F6B8 80240DD8 0C0B102B */ jal kill_script_by_ID +/* 16F6BC 80240DDC 8E2401E4 */ lw $a0, 0x1e4($s1) +.L80240DE0: +/* 16F6C0 80240DE0 8E3001F4 */ lw $s0, 0x1f4($s1) +/* 16F6C4 80240DE4 8E24042C */ lw $a0, 0x42c($s1) +/* 16F6C8 80240DE8 8E1300C0 */ lw $s3, 0xc0($s0) +/* 16F6CC 80240DEC 0C0448CA */ jal func_80112328 +/* 16F6D0 80240DF0 8E120010 */ lw $s2, 0x10($s0) +/* 16F6D4 80240DF4 0C011DBD */ jal func_800476F4 +/* 16F6D8 80240DF8 86240436 */ lh $a0, 0x436($s1) +/* 16F6DC 80240DFC 0C016914 */ jal remove_effect +/* 16F6E0 80240E00 8E240440 */ lw $a0, 0x440($s1) +/* 16F6E4 80240E04 8E220200 */ lw $v0, 0x200($s1) +/* 16F6E8 80240E08 10400003 */ beqz $v0, .L80240E18 +/* 16F6EC 80240E0C 00000000 */ nop +/* 16F6F0 80240E10 8C42000C */ lw $v0, 0xc($v0) +/* 16F6F4 80240E14 AC400024 */ sw $zero, 0x24($v0) +.L80240E18: +/* 16F6F8 80240E18 0C00AB4B */ jal heap_free +/* 16F6FC 80240E1C 0240202D */ daddu $a0, $s2, $zero +/* 16F700 80240E20 0C00AB4B */ jal heap_free +/* 16F704 80240E24 0260202D */ daddu $a0, $s3, $zero +/* 16F708 80240E28 0C00AB4B */ jal heap_free +/* 16F70C 80240E2C 0200202D */ daddu $a0, $s0, $zero +/* 16F710 80240E30 0C00AB4B */ jal heap_free +/* 16F714 80240E34 0220202D */ daddu $a0, $s1, $zero +/* 16F718 80240E38 8FBF0020 */ lw $ra, 0x20($sp) +/* 16F71C 80240E3C 8FB3001C */ lw $s3, 0x1c($sp) +/* 16F720 80240E40 8FB20018 */ lw $s2, 0x18($sp) +/* 16F724 80240E44 8FB10014 */ lw $s1, 0x14($sp) +/* 16F728 80240E48 8FB00010 */ lw $s0, 0x10($sp) +/* 16F72C 80240E4C 03E00008 */ jr $ra +/* 16F730 80240E50 27BD0028 */ addiu $sp, $sp, 0x28 + +/* 16F734 80240E54 00000000 */ nop +/* 16F738 80240E58 00000000 */ nop +/* 16F73C 80240E5C 00000000 */ nop +func_80240E60: +/* 16F740 80240E60 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 16F744 80240E64 AFB40020 */ sw $s4, 0x20($sp) +/* 16F748 80240E68 3C14800E */ lui $s4, 0x800e +/* 16F74C 80240E6C 2694C070 */ addiu $s4, $s4, -0x3f90 +/* 16F750 80240E70 AFB3001C */ sw $s3, 0x1c($sp) +/* 16F754 80240E74 3C13800B */ lui $s3, 0x800b +/* 16F758 80240E78 26730F10 */ addiu $s3, $s3, 0xf10 +/* 16F75C 80240E7C AFB00010 */ sw $s0, 0x10($sp) +/* 16F760 80240E80 3C108011 */ lui $s0, 0x8011 +/* 16F764 80240E84 2610F290 */ addiu $s0, $s0, -0xd70 +/* 16F768 80240E88 AFBF0024 */ sw $ra, 0x24($sp) +/* 16F76C 80240E8C AFB20018 */ sw $s2, 0x18($sp) +/* 16F770 80240E90 AFB10014 */ sw $s1, 0x14($sp) +/* 16F774 80240E94 8E820004 */ lw $v0, 4($s4) +/* 16F778 80240E98 30420040 */ andi $v0, $v0, 0x40 +/* 16F77C 80240E9C 14400047 */ bnez $v0, .L80240FBC +/* 16F780 80240EA0 24110003 */ addiu $s1, $zero, 3 +/* 16F784 80240EA4 8282008A */ lb $v0, 0x8a($s4) +/* 16F788 80240EA8 10510044 */ beq $v0, $s1, .L80240FBC +/* 16F78C 80240EAC 24120004 */ addiu $s2, $zero, 4 +/* 16F790 80240EB0 10520042 */ beq $v0, $s2, .L80240FBC +/* 16F794 80240EB4 00000000 */ nop +/* 16F798 80240EB8 8202028A */ lb $v0, 0x28a($s0) +/* 16F79C 80240EBC 1840003F */ blez $v0, .L80240FBC +/* 16F7A0 80240EC0 00000000 */ nop +/* 16F7A4 80240EC4 8602028C */ lh $v0, 0x28c($s0) +/* 16F7A8 80240EC8 1C400030 */ bgtz $v0, .L80240F8C +/* 16F7AC 80240ECC 00000000 */ nop +/* 16F7B0 80240ED0 0C00A67F */ jal rand_int +/* 16F7B4 80240ED4 24040064 */ addiu $a0, $zero, 0x64 +/* 16F7B8 80240ED8 8E63008C */ lw $v1, 0x8c($s3) +/* 16F7BC 80240EDC 10600018 */ beqz $v1, .L80240F40 +/* 16F7C0 80240EE0 0040202D */ daddu $a0, $v0, $zero +/* 16F7C4 80240EE4 8C620000 */ lw $v0, ($v1) +/* 16F7C8 80240EE8 3C030004 */ lui $v1, 4 +/* 16F7CC 80240EEC 00431024 */ and $v0, $v0, $v1 +/* 16F7D0 80240EF0 10400008 */ beqz $v0, .L80240F14 +/* 16F7D4 80240EF4 2882002E */ slti $v0, $a0, 0x2e +/* 16F7D8 80240EF8 14400014 */ bnez $v0, .L80240F4C +/* 16F7DC 80240EFC 24020001 */ addiu $v0, $zero, 1 +/* 16F7E0 80240F00 2882005B */ slti $v0, $a0, 0x5b +/* 16F7E4 80240F04 14400016 */ bnez $v0, .L80240F60 +/* 16F7E8 80240F08 24020002 */ addiu $v0, $zero, 2 +/* 16F7EC 80240F0C 080903DE */ j func_80240F78 +/* 16F7F0 80240F10 A2110289 */ sb $s1, 0x289($s0) + +.L80240F14: +/* 16F7F4 80240F14 2882001F */ slti $v0, $a0, 0x1f +/* 16F7F8 80240F18 1440000C */ bnez $v0, .L80240F4C +/* 16F7FC 80240F1C 24020001 */ addiu $v0, $zero, 1 +/* 16F800 80240F20 2882003D */ slti $v0, $a0, 0x3d +/* 16F804 80240F24 1440000E */ bnez $v0, .L80240F60 +/* 16F808 80240F28 24020002 */ addiu $v0, $zero, 2 +/* 16F80C 80240F2C 28820051 */ slti $v0, $a0, 0x51 +/* 16F810 80240F30 54400011 */ bnezl $v0, .L80240F78 +/* 16F814 80240F34 A2110289 */ sb $s1, 0x289($s0) +/* 16F818 80240F38 080903DE */ j func_80240F78 +/* 16F81C 80240F3C A2120289 */ sb $s2, 0x289($s0) + +.L80240F40: +/* 16F820 80240F40 2882001F */ slti $v0, $a0, 0x1f +/* 16F824 80240F44 10400003 */ beqz $v0, .L80240F54 +/* 16F828 80240F48 24020001 */ addiu $v0, $zero, 1 +.L80240F4C: +/* 16F82C 80240F4C 080903DE */ j func_80240F78 +/* 16F830 80240F50 A2020289 */ sb $v0, 0x289($s0) + +.L80240F54: +/* 16F834 80240F54 2882003D */ slti $v0, $a0, 0x3d +/* 16F838 80240F58 10400003 */ beqz $v0, .L80240F68 +/* 16F83C 80240F5C 24020002 */ addiu $v0, $zero, 2 +.L80240F60: +/* 16F840 80240F60 080903DE */ j func_80240F78 +/* 16F844 80240F64 A2020289 */ sb $v0, 0x289($s0) + +.L80240F68: +/* 16F848 80240F68 28820051 */ slti $v0, $a0, 0x51 +/* 16F84C 80240F6C 50400002 */ beql $v0, $zero, .L80240F78 +/* 16F850 80240F70 A2120289 */ sb $s2, 0x289($s0) +/* 16F854 80240F74 A2110289 */ sb $s1, 0x289($s0) +func_80240F78: +.L80240F78: +/* 16F858 80240F78 0C00A67F */ jal rand_int +/* 16F85C 80240F7C 2404000A */ addiu $a0, $zero, 0xa +/* 16F860 80240F80 24440006 */ addiu $a0, $v0, 6 +/* 16F864 80240F84 A604028C */ sh $a0, 0x28c($s0) +/* 16F868 80240F88 8602028C */ lh $v0, 0x28c($s0) +.L80240F8C: +/* 16F86C 80240F8C 9603028C */ lhu $v1, 0x28c($s0) +/* 16F870 80240F90 28420002 */ slti $v0, $v0, 2 +/* 16F874 80240F94 14400003 */ bnez $v0, .L80240FA4 +/* 16F878 80240F98 2462FFFF */ addiu $v0, $v1, -1 +/* 16F87C 80240F9C 080903EF */ j func_80240FBC +/* 16F880 80240FA0 A602028C */ sh $v0, 0x28c($s0) + +.L80240FA4: +/* 16F884 80240FA4 92030289 */ lbu $v1, 0x289($s0) +/* 16F888 80240FA8 9202028A */ lbu $v0, 0x28a($s0) +/* 16F88C 80240FAC A600028C */ sh $zero, 0x28c($s0) +/* 16F890 80240FB0 2442FFFF */ addiu $v0, $v0, -1 +/* 16F894 80240FB4 A283008A */ sb $v1, 0x8a($s4) +/* 16F898 80240FB8 A202028A */ sb $v0, 0x28a($s0) +func_80240FBC: +.L80240FBC: +/* 16F89C 80240FBC 8FBF0024 */ lw $ra, 0x24($sp) +/* 16F8A0 80240FC0 8FB40020 */ lw $s4, 0x20($sp) +/* 16F8A4 80240FC4 8FB3001C */ lw $s3, 0x1c($sp) +/* 16F8A8 80240FC8 8FB20018 */ lw $s2, 0x18($sp) +/* 16F8AC 80240FCC 8FB10014 */ lw $s1, 0x14($sp) +/* 16F8B0 80240FD0 8FB00010 */ lw $s0, 0x10($sp) +/* 16F8B4 80240FD4 03E00008 */ jr $ra +/* 16F8B8 80240FD8 27BD0028 */ addiu $sp, $sp, 0x28 + +func_80240FDC: +/* 16F8BC 80240FDC 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 16F8C0 80240FE0 AFB40020 */ sw $s4, 0x20($sp) +/* 16F8C4 80240FE4 3C14800E */ lui $s4, 0x800e +/* 16F8C8 80240FE8 2694C070 */ addiu $s4, $s4, -0x3f90 +/* 16F8CC 80240FEC AFB3001C */ sw $s3, 0x1c($sp) +/* 16F8D0 80240FF0 3C13800B */ lui $s3, 0x800b +/* 16F8D4 80240FF4 26730F10 */ addiu $s3, $s3, 0xf10 +/* 16F8D8 80240FF8 AFB00010 */ sw $s0, 0x10($sp) +/* 16F8DC 80240FFC 3C108011 */ lui $s0, 0x8011 +/* 16F8E0 80241000 2610F290 */ addiu $s0, $s0, -0xd70 +/* 16F8E4 80241004 AFBF0024 */ sw $ra, 0x24($sp) +/* 16F8E8 80241008 AFB20018 */ sw $s2, 0x18($sp) +/* 16F8EC 8024100C AFB10014 */ sw $s1, 0x14($sp) +/* 16F8F0 80241010 8E820004 */ lw $v0, 4($s4) +/* 16F8F4 80241014 30420040 */ andi $v0, $v0, 0x40 +/* 16F8F8 80241018 14400055 */ bnez $v0, .L80241170 +/* 16F8FC 8024101C 24110003 */ addiu $s1, $zero, 3 +/* 16F900 80241020 8282008A */ lb $v0, 0x8a($s4) +/* 16F904 80241024 10510052 */ beq $v0, $s1, .L80241170 +/* 16F908 80241028 24120004 */ addiu $s2, $zero, 4 +/* 16F90C 8024102C 10520050 */ beq $v0, $s2, .L80241170 +/* 16F910 80241030 00000000 */ nop +/* 16F914 80241034 8202028A */ lb $v0, 0x28a($s0) +/* 16F918 80241038 1840004D */ blez $v0, .L80241170 +/* 16F91C 8024103C 00000000 */ nop +/* 16F920 80241040 8602028C */ lh $v0, 0x28c($s0) +/* 16F924 80241044 1C400039 */ bgtz $v0, .L8024112C +/* 16F928 80241048 00000000 */ nop +/* 16F92C 8024104C 0C00A67F */ jal rand_int +/* 16F930 80241050 24040064 */ addiu $a0, $zero, 0x64 +/* 16F934 80241054 8E63008C */ lw $v1, 0x8c($s3) +/* 16F938 80241058 10600018 */ beqz $v1, .L802410BC +/* 16F93C 8024105C 0040202D */ daddu $a0, $v0, $zero +/* 16F940 80241060 8C620000 */ lw $v0, ($v1) +/* 16F944 80241064 3C030004 */ lui $v1, 4 +/* 16F948 80241068 00431024 */ and $v0, $v0, $v1 +/* 16F94C 8024106C 10400008 */ beqz $v0, .L80241090 +/* 16F950 80241070 2882002E */ slti $v0, $a0, 0x2e +/* 16F954 80241074 14400014 */ bnez $v0, .L802410C8 +/* 16F958 80241078 24020001 */ addiu $v0, $zero, 1 +/* 16F95C 8024107C 2882005B */ slti $v0, $a0, 0x5b +/* 16F960 80241080 14400016 */ bnez $v0, .L802410DC +/* 16F964 80241084 24020002 */ addiu $v0, $zero, 2 +/* 16F968 80241088 0809043D */ j func_802410F4 +/* 16F96C 8024108C A2110289 */ sb $s1, 0x289($s0) + +.L80241090: +/* 16F970 80241090 2882001F */ slti $v0, $a0, 0x1f +/* 16F974 80241094 1440000C */ bnez $v0, .L802410C8 +/* 16F978 80241098 24020001 */ addiu $v0, $zero, 1 +/* 16F97C 8024109C 2882003D */ slti $v0, $a0, 0x3d +/* 16F980 802410A0 1440000E */ bnez $v0, .L802410DC +/* 16F984 802410A4 24020002 */ addiu $v0, $zero, 2 +/* 16F988 802410A8 28820051 */ slti $v0, $a0, 0x51 +/* 16F98C 802410AC 54400011 */ bnezl $v0, .L802410F4 +/* 16F990 802410B0 A2110289 */ sb $s1, 0x289($s0) +/* 16F994 802410B4 0809043D */ j func_802410F4 +/* 16F998 802410B8 A2120289 */ sb $s2, 0x289($s0) + +.L802410BC: +/* 16F99C 802410BC 2882001F */ slti $v0, $a0, 0x1f +/* 16F9A0 802410C0 10400003 */ beqz $v0, .L802410D0 +/* 16F9A4 802410C4 24020001 */ addiu $v0, $zero, 1 +.L802410C8: +/* 16F9A8 802410C8 0809043D */ j func_802410F4 +/* 16F9AC 802410CC A2020289 */ sb $v0, 0x289($s0) + +.L802410D0: +/* 16F9B0 802410D0 2882003D */ slti $v0, $a0, 0x3d +/* 16F9B4 802410D4 10400003 */ beqz $v0, .L802410E4 +/* 16F9B8 802410D8 24020002 */ addiu $v0, $zero, 2 +.L802410DC: +/* 16F9BC 802410DC 0809043D */ j func_802410F4 +/* 16F9C0 802410E0 A2020289 */ sb $v0, 0x289($s0) + +.L802410E4: +/* 16F9C4 802410E4 28820051 */ slti $v0, $a0, 0x51 +/* 16F9C8 802410E8 50400002 */ beql $v0, $zero, .L802410F4 +/* 16F9CC 802410EC A2120289 */ sb $s2, 0x289($s0) +/* 16F9D0 802410F0 A2110289 */ sb $s1, 0x289($s0) +func_802410F4: +.L802410F4: +/* 16F9D4 802410F4 82030289 */ lb $v1, 0x289($s0) +/* 16F9D8 802410F8 24020004 */ addiu $v0, $zero, 4 +/* 16F9DC 802410FC 10620006 */ beq $v1, $v0, .L80241118 +/* 16F9E0 80241100 2402FFFF */ addiu $v0, $zero, -1 +/* 16F9E4 80241104 8603028C */ lh $v1, 0x28c($s0) +/* 16F9E8 80241108 10620004 */ beq $v1, $v0, .L8024111C +/* 16F9EC 8024110C 24040005 */ addiu $a0, $zero, 5 +/* 16F9F0 80241110 08090447 */ j func_8024111C +/* 16F9F4 80241114 00000000 */ nop + +.L80241118: +/* 16F9F8 80241118 24040008 */ addiu $a0, $zero, 8 +func_8024111C: +.L8024111C: +/* 16F9FC 8024111C 0C00A67F */ jal rand_int +/* 16FA00 80241120 00000000 */ nop +/* 16FA04 80241124 24440005 */ addiu $a0, $v0, 5 +/* 16FA08 80241128 A604028C */ sh $a0, 0x28c($s0) +.L8024112C: +/* 16FA0C 8024112C 92040289 */ lbu $a0, 0x289($s0) +/* 16FA10 80241130 2482FFFD */ addiu $v0, $a0, -3 +/* 16FA14 80241134 2C420002 */ sltiu $v0, $v0, 2 +/* 16FA18 80241138 1040000D */ beqz $v0, .L80241170 +/* 16FA1C 8024113C 00000000 */ nop +/* 16FA20 80241140 8602028C */ lh $v0, 0x28c($s0) +/* 16FA24 80241144 9603028C */ lhu $v1, 0x28c($s0) +/* 16FA28 80241148 28420002 */ slti $v0, $v0, 2 +/* 16FA2C 8024114C 14400003 */ bnez $v0, .L8024115C +/* 16FA30 80241150 2462FFFF */ addiu $v0, $v1, -1 +/* 16FA34 80241154 0809045C */ j func_80241170 +/* 16FA38 80241158 A602028C */ sh $v0, 0x28c($s0) + +.L8024115C: +/* 16FA3C 8024115C 9202028A */ lbu $v0, 0x28a($s0) +/* 16FA40 80241160 A284008A */ sb $a0, 0x8a($s4) +/* 16FA44 80241164 A600028C */ sh $zero, 0x28c($s0) +/* 16FA48 80241168 2442FFFF */ addiu $v0, $v0, -1 +/* 16FA4C 8024116C A202028A */ sb $v0, 0x28a($s0) +func_80241170: +.L80241170: +/* 16FA50 80241170 8FBF0024 */ lw $ra, 0x24($sp) +/* 16FA54 80241174 8FB40020 */ lw $s4, 0x20($sp) +/* 16FA58 80241178 8FB3001C */ lw $s3, 0x1c($sp) +/* 16FA5C 8024117C 8FB20018 */ lw $s2, 0x18($sp) +/* 16FA60 80241180 8FB10014 */ lw $s1, 0x14($sp) +/* 16FA64 80241184 8FB00010 */ lw $s0, 0x10($sp) +/* 16FA68 80241188 03E00008 */ jr $ra +/* 16FA6C 8024118C 27BD0028 */ addiu $sp, $sp, 0x28 + +func_80241190: +/* 16FA70 80241190 3C03800E */ lui $v1, 0x800e +/* 16FA74 80241194 8C63C074 */ lw $v1, -0x3f8c($v1) +/* 16FA78 80241198 24020001 */ addiu $v0, $zero, 1 +/* 16FA7C 8024119C 3C01800E */ lui $at, 0x800e +/* 16FA80 802411A0 AC24C068 */ sw $a0, -0x3f98($at) +/* 16FA84 802411A4 3C01800E */ lui $at, 0x800e +/* 16FA88 802411A8 AC22C4E0 */ sw $v0, -0x3b20($at) +/* 16FA8C 802411AC 3C01800E */ lui $at, 0x800e +/* 16FA90 802411B0 AC20C4DC */ sw $zero, -0x3b24($at) +/* 16FA94 802411B4 30630040 */ andi $v1, $v1, 0x40 +/* 16FA98 802411B8 10600015 */ beqz $v1, .L80241210 +/* 16FA9C 802411BC 24020008 */ addiu $v0, $zero, 8 +/* 16FAA0 802411C0 10820010 */ beq $a0, $v0, .L80241204 +/* 16FAA4 802411C4 28820009 */ slti $v0, $a0, 9 +/* 16FAA8 802411C8 10400005 */ beqz $v0, .L802411E0 +/* 16FAAC 802411CC 24020007 */ addiu $v0, $zero, 7 +/* 16FAB0 802411D0 5082000D */ beql $a0, $v0, .L80241208 +/* 16FAB4 802411D4 24040008 */ addiu $a0, $zero, 8 +/* 16FAB8 802411D8 08090482 */ j func_80241208 +/* 16FABC 802411DC 00000000 */ nop + +.L802411E0: +/* 16FAC0 802411E0 2402000D */ addiu $v0, $zero, 0xd +/* 16FAC4 802411E4 10820005 */ beq $a0, $v0, .L802411FC +/* 16FAC8 802411E8 2402000E */ addiu $v0, $zero, 0xe +/* 16FACC 802411EC 50820006 */ beql $a0, $v0, .L80241208 +/* 16FAD0 802411F0 24040010 */ addiu $a0, $zero, 0x10 +/* 16FAD4 802411F4 08090482 */ j func_80241208 +/* 16FAD8 802411F8 00000000 */ nop + +.L802411FC: +/* 16FADC 802411FC 08090482 */ j func_80241208 +/* 16FAE0 80241200 2404000F */ addiu $a0, $zero, 0xf + +.L80241204: +/* 16FAE4 80241204 24040007 */ addiu $a0, $zero, 7 +func_80241208: +.L80241208: +/* 16FAE8 80241208 3C01800E */ lui $at, 0x800e +/* 16FAEC 8024120C AC24C068 */ sw $a0, -0x3f98($at) +.L80241210: +/* 16FAF0 80241210 03E00008 */ jr $ra +/* 16FAF4 80241214 00000000 */ nop + +begin_battle: +/* 16FAF8 80241218 27BDFFB8 */ addiu $sp, $sp, -0x48 +/* 16FAFC 8024121C AFB60038 */ sw $s6, 0x38($sp) +/* 16FB00 80241220 3C16800E */ lui $s6, 0x800e +/* 16FB04 80241224 8ED6C4FC */ lw $s6, -0x3b04($s6) +/* 16FB08 80241228 3C02800E */ lui $v0, 0x800e +/* 16FB0C 8024122C 8C42C4F4 */ lw $v0, -0x3b0c($v0) +/* 16FB10 80241230 AFB40030 */ sw $s4, 0x30($sp) +/* 16FB14 80241234 3C14800E */ lui $s4, 0x800e +/* 16FB18 80241238 2694C070 */ addiu $s4, $s4, -0x3f90 +/* 16FB1C 8024123C AFBE0040 */ sw $fp, 0x40($sp) +/* 16FB20 80241240 3C1E800B */ lui $fp, 0x800b +/* 16FB24 80241244 27DE0F10 */ addiu $fp, $fp, 0xf10 +/* 16FB28 80241248 AFBF0044 */ sw $ra, 0x44($sp) +/* 16FB2C 8024124C AFB7003C */ sw $s7, 0x3c($sp) +/* 16FB30 80241250 AFB50034 */ sw $s5, 0x34($sp) +/* 16FB34 80241254 AFB3002C */ sw $s3, 0x2c($sp) +/* 16FB38 80241258 AFB20028 */ sw $s2, 0x28($sp) +/* 16FB3C 8024125C AFB10024 */ sw $s1, 0x24($sp) +/* 16FB40 80241260 10400002 */ beqz $v0, .L8024126C +/* 16FB44 80241264 AFB00020 */ sw $s0, 0x20($sp) +/* 16FB48 80241268 0040B02D */ daddu $s6, $v0, $zero +.L8024126C: +/* 16FB4C 8024126C 3C04800E */ lui $a0, 0x800e +/* 16FB50 80241270 8C84C064 */ lw $a0, -0x3f9c($a0) +/* 16FB54 80241274 14800003 */ bnez $a0, .L80241284 +/* 16FB58 80241278 00000000 */ nop +/* 16FB5C 8024127C 080904A2 */ j func_80241288 +/* 16FB60 80241280 8ED5000C */ lw $s5, 0xc($s6) + +.L80241284: +/* 16FB64 80241284 8C950004 */ lw $s5, 4($a0) +func_80241288: +/* 16FB68 80241288 3C03800E */ lui $v1, 0x800e +/* 16FB6C 8024128C 8C63C4DC */ lw $v1, -0x3b24($v1) +/* 16FB70 80241290 2C620009 */ sltiu $v0, $v1, 9 +/* 16FB74 80241294 104001FC */ beqz $v0, .L80241A88 +/* 16FB78 80241298 AE950438 */ sw $s5, 0x438($s4) +/* 16FB7C 8024129C 00031080 */ sll $v0, $v1, 2 +/* 16FB80 802412A0 3C01802A */ lui $at, 0x802a +/* 16FB84 802412A4 00220821 */ addu $at, $at, $v0 +/* 16FB88 802412A8 8C22CA88 */ lw $v0, -0x3578($at) +/* 16FB8C 802412AC 00400008 */ jr $v0 +/* 16FB90 802412B0 00000000 */ nop +/* 16FB94 802412B4 3C05BF80 */ lui $a1, 0xbf80 +/* 16FB98 802412B8 8EC20004 */ lw $v0, 4($s6) +/* 16FB9C 802412BC 3C01802A */ lui $at, 0x802a +/* 16FBA0 802412C0 AC22F240 */ sw $v0, -0xdc0($at) +/* 16FBA4 802412C4 0C04DF69 */ jal func_80137DA4 +/* 16FBA8 802412C8 240400FF */ addiu $a0, $zero, 0xff +/* 16FBAC 802412CC 8EA40004 */ lw $a0, 4($s5) +/* 16FBB0 802412D0 0C016B3A */ jal load_asset_by_name +/* 16FBB4 802412D4 27A50018 */ addiu $a1, $sp, 0x18 +/* 16FBB8 802412D8 0040802D */ daddu $s0, $v0, $zero +/* 16FBBC 802412DC 3C058021 */ lui $a1, 0x8021 +/* 16FBC0 802412E0 24A50000 */ addiu $a1, $a1, 0 +/* 16FBC4 802412E4 0C01BB7C */ jal decode_yay0 +/* 16FBC8 802412E8 0200202D */ daddu $a0, $s0, $zero +/* 16FBCC 802412EC 0C00AB1E */ jal general_heap_free +/* 16FBD0 802412F0 0200202D */ daddu $a0, $s0, $zero +/* 16FBD4 802412F4 8FA30018 */ lw $v1, 0x18($sp) +/* 16FBD8 802412F8 34028000 */ ori $v0, $zero, 0x8000 +/* 16FBDC 802412FC 0043102A */ slt $v0, $v0, $v1 +/* 16FBE0 80241300 10400003 */ beqz $v0, .L80241310 +/* 16FBE4 80241304 00000000 */ nop +func_80241308: +/* 16FBE8 80241308 080904C2 */ j func_80241308 +/* 16FBEC 8024130C 00000000 */ nop + +.L80241310: +/* 16FBF0 80241310 8EA40000 */ lw $a0, ($s5) +/* 16FBF4 80241314 3C108021 */ lui $s0, 0x8021 +/* 16FBF8 80241318 8E100000 */ lw $s0, ($s0) +/* 16FBFC 8024131C 0C016B74 */ jal get_asset_offset +/* 16FC00 80241320 27A50018 */ addiu $a1, $sp, 0x18 +/* 16FC04 80241324 12000004 */ beqz $s0, .L80241338 +/* 16FC08 80241328 0200202D */ daddu $a0, $s0, $zero +/* 16FC0C 8024132C 8FA60018 */ lw $a2, 0x18($sp) +/* 16FC10 80241330 0C046B52 */ jal load_data_for_models +/* 16FC14 80241334 0040282D */ daddu $a1, $v0, $zero +.L80241338: +/* 16FC18 80241338 8EA40008 */ lw $a0, 8($s5) +/* 16FC1C 8024133C 0C016C68 */ jal load_stage_collision +/* 16FC20 80241340 00000000 */ nop +/* 16FC24 80241344 8EA40014 */ lw $a0, 0x14($s5) +/* 16FC28 80241348 10800007 */ beqz $a0, .L80241368 +/* 16FC2C 8024134C 00000000 */ nop +/* 16FC30 80241350 0C05175C */ jal load_map_bg +/* 16FC34 80241354 00000000 */ nop +/* 16FC38 80241358 3C048020 */ lui $a0, 0x8020 +/* 16FC3C 8024135C 24840000 */ addiu $a0, $a0, 0 +/* 16FC40 80241360 0C05178A */ jal read_background_size +/* 16FC44 80241364 00000000 */ nop +.L80241368: +/* 16FC48 80241368 3C028007 */ lui $v0, 0x8007 +/* 16FC4C 8024136C 8C42419C */ lw $v0, 0x419c($v0) +/* 16FC50 80241370 904200AA */ lbu $v0, 0xaa($v0) +/* 16FC54 80241374 30420001 */ andi $v0, $v0, 1 +/* 16FC58 80241378 10400005 */ beqz $v0, .L80241390 +/* 16FC5C 8024137C 00000000 */ nop +/* 16FC60 80241380 3C013F80 */ lui $at, 0x3f80 +/* 16FC64 80241384 44816000 */ mtc1 $at, $f12 +/* 16FC68 80241388 0C00AFB7 */ jal func_8002BEDC +/* 16FC6C 8024138C 00000000 */ nop +.L80241390: +/* 16FC70 80241390 3C05800B */ lui $a1, 0x800b +/* 16FC74 80241394 24A51D80 */ addiu $a1, $a1, 0x1d80 +/* 16FC78 80241398 94A20000 */ lhu $v0, ($a1) +/* 16FC7C 8024139C 24040006 */ addiu $a0, $zero, 6 +/* 16FC80 802413A0 AE8000BC */ sw $zero, 0xbc($s4) +/* 16FC84 802413A4 AE8000C4 */ sw $zero, 0xc4($s4) +/* 16FC88 802413A8 A6800090 */ sh $zero, 0x90($s4) +/* 16FC8C 802413AC AE8000B4 */ sw $zero, 0xb4($s4) +/* 16FC90 802413B0 AE8000B8 */ sw $zero, 0xb8($s4) +/* 16FC94 802413B4 A2800048 */ sb $zero, 0x48($s4) +/* 16FC98 802413B8 A2800049 */ sb $zero, 0x49($s4) +/* 16FC9C 802413BC A280004A */ sb $zero, 0x4a($s4) +/* 16FCA0 802413C0 A280004B */ sb $zero, 0x4b($s4) +/* 16FCA4 802413C4 A2800078 */ sb $zero, 0x78($s4) +/* 16FCA8 802413C8 A2800079 */ sb $zero, 0x79($s4) +/* 16FCAC 802413CC A280007A */ sb $zero, 0x7a($s4) +/* 16FCB0 802413D0 A280007B */ sb $zero, 0x7b($s4) +/* 16FCB4 802413D4 A280008A */ sb $zero, 0x8a($s4) +/* 16FCB8 802413D8 A2800083 */ sb $zero, 0x83($s4) +/* 16FCBC 802413DC 94A30AB0 */ lhu $v1, 0xab0($a1) +/* 16FCC0 802413E0 34420002 */ ori $v0, $v0, 2 +/* 16FCC4 802413E4 A4A20000 */ sh $v0, ($a1) +/* 16FCC8 802413E8 94A20558 */ lhu $v0, 0x558($a1) +/* 16FCCC 802413EC 34630002 */ ori $v1, $v1, 2 +/* 16FCD0 802413F0 A4A30AB0 */ sh $v1, 0xab0($a1) +/* 16FCD4 802413F4 34420002 */ ori $v0, $v0, 2 +/* 16FCD8 802413F8 0C03A752 */ jal is_ability_active +/* 16FCDC 802413FC A4A20558 */ sh $v0, 0x558($a1) +/* 16FCE0 80241400 10400002 */ beqz $v0, .L8024140C +/* 16FCE4 80241404 24020001 */ addiu $v0, $zero, 1 +/* 16FCE8 80241408 A2820083 */ sb $v0, 0x83($s4) +.L8024140C: +/* 16FCEC 8024140C 2405FFFF */ addiu $a1, $zero, -1 +/* 16FCF0 80241410 2402FFFF */ addiu $v0, $zero, -1 +/* 16FCF4 80241414 3C06800E */ lui $a2, 0x800e +/* 16FCF8 80241418 24C6C070 */ addiu $a2, $a2, -0x3f90 +/* 16FCFC 8024141C A2800081 */ sb $zero, 0x81($s4) +/* 16FD00 80241420 A2800082 */ sb $zero, 0x82($s4) +/* 16FD04 80241424 A6850070 */ sh $a1, 0x70($s4) +/* 16FD08 80241428 AE820074 */ sw $v0, 0x74($s4) +/* 16FD0C 8024142C A2800088 */ sb $zero, 0x88($s4) +/* 16FD10 80241430 A2800096 */ sb $zero, 0x96($s4) +/* 16FD14 80241434 A2800097 */ sb $zero, 0x97($s4) +/* 16FD18 80241438 A2800098 */ sb $zero, 0x98($s4) +/* 16FD1C 8024143C A2800089 */ sb $zero, 0x89($s4) +/* 16FD20 80241440 8CC20004 */ lw $v0, 4($a2) +/* 16FD24 80241444 83C30011 */ lb $v1, 0x11($fp) +/* 16FD28 80241448 34440020 */ ori $a0, $v0, 0x20 +/* 16FD2C 8024144C 10600004 */ beqz $v1, .L80241460 +/* 16FD30 80241450 ACC40004 */ sw $a0, 4($a2) +/* 16FD34 80241454 2402FFDF */ addiu $v0, $zero, -0x21 +/* 16FD38 80241458 00821024 */ and $v0, $a0, $v0 +/* 16FD3C 8024145C ACC20004 */ sw $v0, 4($a2) +.L80241460: +/* 16FD40 80241460 2411000F */ addiu $s1, $zero, 0xf +/* 16FD44 80241464 2684003C */ addiu $a0, $s4, 0x3c +/* 16FD48 80241468 2402000A */ addiu $v0, $zero, 0xa +/* 16FD4C 8024146C A282008D */ sb $v0, 0x8d($s4) +/* 16FD50 80241470 240200FF */ addiu $v0, $zero, 0xff +/* 16FD54 80241474 A2800095 */ sb $zero, 0x95($s4) +/* 16FD58 80241478 A28500AE */ sb $a1, 0xae($s4) +/* 16FD5C 8024147C A28500AF */ sb $a1, 0xaf($s4) +/* 16FD60 80241480 A28500B0 */ sb $a1, 0xb0($s4) +/* 16FD64 80241484 A280009A */ sb $zero, 0x9a($s4) +/* 16FD68 80241488 A280009D */ sb $zero, 0x9d($s4) +/* 16FD6C 8024148C A280009E */ sb $zero, 0x9e($s4) +/* 16FD70 80241490 AE8000A0 */ sw $zero, 0xa0($s4) +/* 16FD74 80241494 A28000A4 */ sb $zero, 0xa4($s4) +/* 16FD78 80241498 A28000A5 */ sb $zero, 0xa5($s4) +/* 16FD7C 8024149C AE8000A8 */ sw $zero, 0xa8($s4) +/* 16FD80 802414A0 A2800092 */ sb $zero, 0x92($s4) +/* 16FD84 802414A4 A280009B */ sb $zero, 0x9b($s4) +/* 16FD88 802414A8 A280009C */ sb $zero, 0x9c($s4) +/* 16FD8C 802414AC A280008C */ sb $zero, 0x8c($s4) +/* 16FD90 802414B0 A28000AC */ sb $zero, 0xac($s4) +/* 16FD94 802414B4 A28000AD */ sb $zero, 0xad($s4) +/* 16FD98 802414B8 A2800432 */ sb $zero, 0x432($s4) +/* 16FD9C 802414BC A2820433 */ sb $v0, 0x433($s4) +/* 16FDA0 802414C0 A280008B */ sb $zero, 0x8b($s4) +/* 16FDA4 802414C4 A2800093 */ sb $zero, 0x93($s4) +/* 16FDA8 802414C8 A2800094 */ sb $zero, 0x94($s4) +/* 16FDAC 802414CC 8CC20004 */ lw $v0, 4($a2) +/* 16FDB0 802414D0 2403FFFD */ addiu $v1, $zero, -3 +/* 16FDB4 802414D4 00431024 */ and $v0, $v0, $v1 +/* 16FDB8 802414D8 2403FFFB */ addiu $v1, $zero, -5 +/* 16FDBC 802414DC 00431024 */ and $v0, $v0, $v1 +/* 16FDC0 802414E0 2403FFF7 */ addiu $v1, $zero, -9 +/* 16FDC4 802414E4 00431024 */ and $v0, $v0, $v1 +/* 16FDC8 802414E8 2403FFEF */ addiu $v1, $zero, -0x11 +/* 16FDCC 802414EC 00431024 */ and $v0, $v0, $v1 +/* 16FDD0 802414F0 2403FEFF */ addiu $v1, $zero, -0x101 +/* 16FDD4 802414F4 00431024 */ and $v0, $v0, $v1 +/* 16FDD8 802414F8 2403FDFF */ addiu $v1, $zero, -0x201 +/* 16FDDC 802414FC 00431024 */ and $v0, $v0, $v1 +/* 16FDE0 80241500 ACC20004 */ sw $v0, 4($a2) +.L80241504: +/* 16FDE4 80241504 AC800008 */ sw $zero, 8($a0) +/* 16FDE8 80241508 2631FFFF */ addiu $s1, $s1, -1 +/* 16FDEC 8024150C 0621FFFD */ bgez $s1, .L80241504 +/* 16FDF0 80241510 2484FFFC */ addiu $a0, $a0, -4 +/* 16FDF4 80241514 3C03000F */ lui $v1, 0xf +/* 16FDF8 80241518 3463EF3F */ ori $v1, $v1, 0xef3f +/* 16FDFC 8024151C 44800000 */ mtc1 $zero, $f0 +/* 16FE00 80241520 0000202D */ daddu $a0, $zero, $zero +/* 16FE04 80241524 44050000 */ mfc1 $a1, $f0 +/* 16FE08 80241528 240200FF */ addiu $v0, $zero, 0xff +/* 16FE0C 8024152C 3C018028 */ lui $at, 0x8028 +/* 16FE10 80241530 AC220A30 */ sw $v0, 0xa30($at) +/* 16FE14 80241534 AE830224 */ sw $v1, 0x224($s4) +/* 16FE18 80241538 AFA00014 */ sw $zero, 0x14($sp) +/* 16FE1C 8024153C 00A0302D */ daddu $a2, $a1, $zero +/* 16FE20 80241540 00A0382D */ daddu $a3, $a1, $zero +/* 16FE24 80241544 0C01CA0C */ jal func_80072830 +/* 16FE28 80241548 AFA50010 */ sw $a1, 0x10($sp) +/* 16FE2C 8024154C 0C03A604 */ jal func_800E9810 +/* 16FE30 80241550 AE82043C */ sw $v0, 0x43c($s4) +/* 16FE34 80241554 3C048028 */ lui $a0, 0x8028 +/* 16FE38 80241558 24840EB8 */ addiu $a0, $a0, 0xeb8 +/* 16FE3C 8024155C 2405000A */ addiu $a1, $zero, 0xa +/* 16FE40 80241560 24100001 */ addiu $s0, $zero, 1 +/* 16FE44 80241564 3C018007 */ lui $at, 0x8007 +/* 16FE48 80241568 AC307410 */ sw $s0, 0x7410($at) +/* 16FE4C 8024156C 0C0B0CF8 */ jal start_script +/* 16FE50 80241570 0000302D */ daddu $a2, $zero, $zero +/* 16FE54 80241574 0040182D */ daddu $v1, $v0, $zero +/* 16FE58 80241578 AE8300C4 */ sw $v1, 0xc4($s4) +/* 16FE5C 8024157C 8C620144 */ lw $v0, 0x144($v1) +/* 16FE60 80241580 3C01800E */ lui $at, 0x800e +/* 16FE64 80241584 AC30C4DC */ sw $s0, -0x3b24($at) +/* 16FE68 80241588 080906A2 */ j func_80241A88 +/* 16FE6C 8024158C AE8200C8 */ sw $v0, 0xc8($s4) + +/* 16FE70 80241590 8E8400C8 */ lw $a0, 0xc8($s4) +/* 16FE74 80241594 0C0B1059 */ jal does_script_exist +/* 16FE78 80241598 00000000 */ nop +/* 16FE7C 8024159C 1440013A */ bnez $v0, .L80241A88 +/* 16FE80 802415A0 00000000 */ nop +/* 16FE84 802415A4 8EA4000C */ lw $a0, 0xc($s5) +/* 16FE88 802415A8 10800009 */ beqz $a0, .L802415D0 +/* 16FE8C 802415AC 24110017 */ addiu $s1, $zero, 0x17 +/* 16FE90 802415B0 2405000A */ addiu $a1, $zero, 0xa +/* 16FE94 802415B4 0C0B0CF8 */ jal start_script +/* 16FE98 802415B8 0000302D */ daddu $a2, $zero, $zero +/* 16FE9C 802415BC 0040182D */ daddu $v1, $v0, $zero +/* 16FEA0 802415C0 AE8300BC */ sw $v1, 0xbc($s4) +/* 16FEA4 802415C4 8C620144 */ lw $v0, 0x144($v1) +/* 16FEA8 802415C8 AE8200C0 */ sw $v0, 0xc0($s4) +/* 16FEAC 802415CC 24110017 */ addiu $s1, $zero, 0x17 +.L802415D0: +/* 16FEB0 802415D0 3C04800E */ lui $a0, 0x800e +/* 16FEB4 802415D4 2484C070 */ addiu $a0, $a0, -0x3f90 +/* 16FEB8 802415D8 2685005C */ addiu $a1, $s4, 0x5c +/* 16FEBC 802415DC 8C830000 */ lw $v1, ($a0) +/* 16FEC0 802415E0 3C028011 */ lui $v0, 0x8011 +/* 16FEC4 802415E4 2442EF58 */ addiu $v0, $v0, -0x10a8 +/* 16FEC8 802415E8 A040003A */ sb $zero, 0x3a($v0) +/* 16FECC 802415EC 34630001 */ ori $v1, $v1, 1 +/* 16FED0 802415F0 AC830000 */ sw $v1, ($a0) +.L802415F4: +/* 16FED4 802415F4 ACA000E0 */ sw $zero, 0xe0($a1) +/* 16FED8 802415F8 2631FFFF */ addiu $s1, $s1, -1 +/* 16FEDC 802415FC 0621FFFD */ bgez $s1, .L802415F4 +/* 16FEE0 80241600 24A5FFFC */ addiu $a1, $a1, -4 +/* 16FEE4 80241604 A280008E */ sb $zero, 0x8e($s4) +/* 16FEE8 80241608 3C02802A */ lui $v0, 0x802a +/* 16FEEC 8024160C 8C42F240 */ lw $v0, -0xdc0($v0) +/* 16FEF0 80241610 18400029 */ blez $v0, .L802416B8 +/* 16FEF4 80241614 0000882D */ daddu $s1, $zero, $zero +/* 16FEF8 80241618 2417FFFF */ addiu $s7, $zero, -1 +/* 16FEFC 8024161C 0280982D */ daddu $s3, $s4, $zero +/* 16FF00 80241620 0220902D */ daddu $s2, $s1, $zero +.L80241624: +/* 16FF04 80241624 8EC40008 */ lw $a0, 8($s6) +/* 16FF08 80241628 0C0994E9 */ jal create_actor +/* 16FF0C 8024162C 00922021 */ addu $a0, $a0, $s2 +/* 16FF10 80241630 3C048028 */ lui $a0, 0x8028 +/* 16FF14 80241634 24841454 */ addiu $a0, $a0, 0x1454 +/* 16FF18 80241638 8E7000E0 */ lw $s0, 0xe0($s3) +func_8024163C: +/* 16FF1C 8024163C 8C830000 */ lw $v1, ($a0) +/* 16FF20 80241640 10770006 */ beq $v1, $s7, .L8024165C +/* 16FF24 80241644 00000000 */ nop +/* 16FF28 80241648 92020136 */ lbu $v0, 0x136($s0) +/* 16FF2C 8024164C 10430006 */ beq $v0, $v1, .L80241668 +/* 16FF30 80241650 24840004 */ addiu $a0, $a0, 4 +/* 16FF34 80241654 0809058F */ j func_8024163C +/* 16FF38 80241658 00000000 */ nop + +.L8024165C: +/* 16FF3C 8024165C 9282008E */ lbu $v0, 0x8e($s4) +/* 16FF40 80241660 24420001 */ addiu $v0, $v0, 1 +/* 16FF44 80241664 A282008E */ sb $v0, 0x8e($s4) +.L80241668: +/* 16FF48 80241668 1620000C */ bnez $s1, .L8024169C +/* 16FF4C 8024166C A2000208 */ sb $zero, 0x208($s0) +/* 16FF50 80241670 93C20010 */ lbu $v0, 0x10($fp) +/* 16FF54 80241674 A2020208 */ sb $v0, 0x208($s0) +/* 16FF58 80241678 83C300A0 */ lb $v1, 0xa0($fp) +/* 16FF5C 8024167C 24020004 */ addiu $v0, $zero, 4 +/* 16FF60 80241680 54620007 */ bnel $v1, $v0, .L802416A0 +/* 16FF64 80241684 26730004 */ addiu $s3, $s3, 4 +/* 16FF68 80241688 0200202D */ daddu $a0, $s0, $zero +/* 16FF6C 8024168C 0040282D */ daddu $a1, $v0, $zero +/* 16FF70 80241690 87C700A2 */ lh $a3, 0xa2($fp) +/* 16FF74 80241694 0C099B3C */ jal inflict_status_set_duration +/* 16FF78 80241698 24060024 */ addiu $a2, $zero, 0x24 +.L8024169C: +/* 16FF7C 8024169C 26730004 */ addiu $s3, $s3, 4 +.L802416A0: +/* 16FF80 802416A0 3C02802A */ lui $v0, 0x802a +/* 16FF84 802416A4 8C42F240 */ lw $v0, -0xdc0($v0) +/* 16FF88 802416A8 26310001 */ addiu $s1, $s1, 1 +/* 16FF8C 802416AC 0222102A */ slt $v0, $s1, $v0 +/* 16FF90 802416B0 1440FFDC */ bnez $v0, .L80241624 +/* 16FF94 802416B4 2652001C */ addiu $s2, $s2, 0x1c +.L802416B8: +/* 16FF98 802416B8 8EA2001C */ lw $v0, 0x1c($s5) +/* 16FF9C 802416BC 1040002C */ beqz $v0, .L80241770 +/* 16FFA0 802416C0 00000000 */ nop +/* 16FFA4 802416C4 8EA40024 */ lw $a0, 0x24($s5) +/* 16FFA8 802416C8 10800007 */ beqz $a0, .L802416E8 +/* 16FFAC 802416CC 00000000 */ nop +/* 16FFB0 802416D0 18800027 */ blez $a0, .L80241770 +/* 16FFB4 802416D4 00000000 */ nop +/* 16FFB8 802416D8 0C00A67F */ jal rand_int +/* 16FFBC 802416DC 00000000 */ nop +/* 16FFC0 802416E0 14400023 */ bnez $v0, .L80241770 +/* 16FFC4 802416E4 00000000 */ nop +.L802416E8: +/* 16FFC8 802416E8 3C02802A */ lui $v0, 0x802a +/* 16FFCC 802416EC 2442F240 */ addiu $v0, $v0, -0xdc0 +/* 16FFD0 802416F0 8C430000 */ lw $v1, ($v0) +/* 16FFD4 802416F4 8EA4001C */ lw $a0, 0x1c($s5) +/* 16FFD8 802416F8 00641821 */ addu $v1, $v1, $a0 +/* 16FFDC 802416FC AC430000 */ sw $v1, ($v0) +/* 16FFE0 80241700 0223182A */ slt $v1, $s1, $v1 +/* 16FFE4 80241704 1060001A */ beqz $v1, .L80241770 +/* 16FFE8 80241708 24160004 */ addiu $s6, $zero, 4 +/* 16FFEC 8024170C 0000982D */ daddu $s3, $zero, $zero +/* 16FFF0 80241710 00111080 */ sll $v0, $s1, 2 +/* 16FFF4 80241714 00549021 */ addu $s2, $v0, $s4 +.L80241718: +/* 16FFF8 80241718 8EA40020 */ lw $a0, 0x20($s5) +/* 16FFFC 8024171C 0C0994E9 */ jal create_actor +/* 170000 80241720 00932021 */ addu $a0, $a0, $s3 +/* 170004 80241724 8E5000E0 */ lw $s0, 0xe0($s2) +/* 170008 80241728 1620000A */ bnez $s1, .L80241754 +/* 17000C 8024172C A2000208 */ sb $zero, 0x208($s0) +/* 170010 80241730 A2000208 */ sb $zero, 0x208($s0) +/* 170014 80241734 83C200A0 */ lb $v0, 0xa0($fp) +/* 170018 80241738 54560007 */ bnel $v0, $s6, .L80241758 +/* 17001C 8024173C 26520004 */ addiu $s2, $s2, 4 +/* 170020 80241740 0200202D */ daddu $a0, $s0, $zero +/* 170024 80241744 24050004 */ addiu $a1, $zero, 4 +/* 170028 80241748 87C700A2 */ lh $a3, 0xa2($fp) +/* 17002C 8024174C 0C099B3C */ jal inflict_status_set_duration +/* 170030 80241750 24060024 */ addiu $a2, $zero, 0x24 +.L80241754: +/* 170034 80241754 26520004 */ addiu $s2, $s2, 4 +.L80241758: +/* 170038 80241758 26310001 */ addiu $s1, $s1, 1 +/* 17003C 8024175C 3C02802A */ lui $v0, 0x802a +/* 170040 80241760 8C42F240 */ lw $v0, -0xdc0($v0) +/* 170044 80241764 0222102A */ slt $v0, $s1, $v0 +/* 170048 80241768 1440FFEB */ bnez $v0, .L80241718 +/* 17004C 8024176C 2673001C */ addiu $s3, $s3, 0x1c +.L80241770: +/* 170050 80241770 0C099129 */ jal load_player_actor +/* 170054 80241774 00000000 */ nop +/* 170058 80241778 3C02800E */ lui $v0, 0x800e +/* 17005C 8024177C 8C42C074 */ lw $v0, -0x3f8c($v0) +/* 170060 80241780 8E9000D8 */ lw $s0, 0xd8($s4) +/* 170064 80241784 30420040 */ andi $v0, $v0, 0x40 +/* 170068 80241788 3C048028 */ lui $a0, 0x8028 +/* 17006C 8024178C 24844A20 */ addiu $a0, $a0, 0x4a20 +/* 170070 80241790 10400003 */ beqz $v0, .L802417A0 +/* 170074 80241794 2405000A */ addiu $a1, $zero, 0xa +/* 170078 80241798 3C048028 */ lui $a0, 0x8028 +/* 17007C 8024179C 24844A30 */ addiu $a0, $a0, 0x4a30 +.L802417A0: +/* 170080 802417A0 0C0B0CF8 */ jal start_script +/* 170084 802417A4 0000302D */ daddu $a2, $zero, $zero +/* 170088 802417A8 0040182D */ daddu $v1, $v0, $zero +/* 17008C 802417AC AE0301D4 */ sw $v1, 0x1d4($s0) +/* 170090 802417B0 8C620144 */ lw $v0, 0x144($v1) +/* 170094 802417B4 AE0201E4 */ sw $v0, 0x1e4($s0) +/* 170098 802417B8 0C0992DD */ jal load_partner_actor +/* 17009C 802417BC AC600148 */ sw $zero, 0x148($v1) +/* 1700A0 802417C0 24020004 */ addiu $v0, $zero, 4 +/* 1700A4 802417C4 3C01800E */ lui $at, 0x800e +/* 1700A8 802417C8 AC22C4DC */ sw $v0, -0x3b24($at) +/* 1700AC 802417CC 080906A2 */ j func_80241A88 +/* 1700B0 802417D0 00000000 */ nop + +.L802417D4: +/* 1700B4 802417D4 08090608 */ j func_80241820 +/* 1700B8 802417D8 24130001 */ addiu $s3, $zero, 1 + +/* 1700BC 802417DC 0000882D */ daddu $s1, $zero, $zero +/* 1700C0 802417E0 3C02802A */ lui $v0, 0x802a +/* 1700C4 802417E4 8C42F240 */ lw $v0, -0xdc0($v0) +/* 1700C8 802417E8 1840000D */ blez $v0, .L80241820 +/* 1700CC 802417EC 0220982D */ daddu $s3, $s1, $zero +/* 1700D0 802417F0 0280902D */ daddu $s2, $s4, $zero +.L802417F4: +/* 1700D4 802417F4 8E5000E0 */ lw $s0, 0xe0($s2) +/* 1700D8 802417F8 0C0B1059 */ jal does_script_exist +/* 1700DC 802417FC 8E0401E4 */ lw $a0, 0x1e4($s0) +/* 1700E0 80241800 1440FFF4 */ bnez $v0, .L802417D4 +/* 1700E4 80241804 26520004 */ addiu $s2, $s2, 4 +/* 1700E8 80241808 3C02802A */ lui $v0, 0x802a +/* 1700EC 8024180C 8C42F240 */ lw $v0, -0xdc0($v0) +/* 1700F0 80241810 26310001 */ addiu $s1, $s1, 1 +/* 1700F4 80241814 0222102A */ slt $v0, $s1, $v0 +/* 1700F8 80241818 1440FFF6 */ bnez $v0, .L802417F4 +/* 1700FC 8024181C AE0001D4 */ sw $zero, 0x1d4($s0) +func_80241820: +.L80241820: +/* 170100 80241820 16600099 */ bnez $s3, .L80241A88 +/* 170104 80241824 00000000 */ nop +/* 170108 80241828 8E9000D8 */ lw $s0, 0xd8($s4) +/* 17010C 8024182C 0C0B1059 */ jal does_script_exist +/* 170110 80241830 8E0401E4 */ lw $a0, 0x1e4($s0) +/* 170114 80241834 14400094 */ bnez $v0, .L80241A88 +/* 170118 80241838 00000000 */ nop +/* 17011C 8024183C AE0001D4 */ sw $zero, 0x1d4($s0) +/* 170120 80241840 8E9000DC */ lw $s0, 0xdc($s4) +/* 170124 80241844 12000006 */ beqz $s0, .L80241860 +/* 170128 80241848 00000000 */ nop +/* 17012C 8024184C 0C0B1059 */ jal does_script_exist +/* 170130 80241850 8E0401E4 */ lw $a0, 0x1e4($s0) +/* 170134 80241854 1440008C */ bnez $v0, .L80241A88 +/* 170138 80241858 00000000 */ nop +/* 17013C 8024185C AE0001D4 */ sw $zero, 0x1d4($s0) +.L80241860: +/* 170140 80241860 8EC40010 */ lw $a0, 0x10($s6) +/* 170144 80241864 10800007 */ beqz $a0, .L80241884 +/* 170148 80241868 2405000A */ addiu $a1, $zero, 0xa +/* 17014C 8024186C 0C0B0CF8 */ jal start_script +/* 170150 80241870 0000302D */ daddu $a2, $zero, $zero +/* 170154 80241874 0040182D */ daddu $v1, $v0, $zero +/* 170158 80241878 AE8300BC */ sw $v1, 0xbc($s4) +/* 17015C 8024187C 8C620144 */ lw $v0, 0x144($v1) +/* 170160 80241880 AE8200C0 */ sw $v0, 0xc0($s4) +.L80241884: +/* 170164 80241884 82820432 */ lb $v0, 0x432($s4) +/* 170168 80241888 18400008 */ blez $v0, .L802418AC +/* 17016C 8024188C 24040001 */ addiu $a0, $zero, 1 +/* 170170 80241890 0000282D */ daddu $a1, $zero, $zero +/* 170174 80241894 00A0302D */ daddu $a2, $a1, $zero +/* 170178 80241898 0C04DF84 */ jal func_80137E10 +/* 17017C 8024189C 00A0382D */ daddu $a3, $a1, $zero +/* 170180 802418A0 3C054357 */ lui $a1, 0x4357 +/* 170184 802418A4 0C04DF69 */ jal func_80137DA4 +/* 170188 802418A8 0000202D */ daddu $a0, $zero, $zero +.L802418AC: +/* 17018C 802418AC 0C03A752 */ jal is_ability_active +/* 170190 802418B0 24040011 */ addiu $a0, $zero, 0x11 +/* 170194 802418B4 10400004 */ beqz $v0, .L802418C8 +/* 170198 802418B8 24020002 */ addiu $v0, $zero, 2 +/* 17019C 802418BC 83C30004 */ lb $v1, 4($fp) +/* 1701A0 802418C0 50620001 */ beql $v1, $v0, .L802418C8 +/* 1701A4 802418C4 A3C00004 */ sb $zero, 4($fp) +.L802418C8: +/* 1701A8 802418C8 83C30004 */ lb $v1, 4($fp) +/* 1701AC 802418CC 24020001 */ addiu $v0, $zero, 1 +/* 1701B0 802418D0 10620005 */ beq $v1, $v0, .L802418E8 +/* 1701B4 802418D4 24020002 */ addiu $v0, $zero, 2 +/* 1701B8 802418D8 10620069 */ beq $v1, $v0, .L80241A80 +/* 1701BC 802418DC 24040004 */ addiu $a0, $zero, 4 +/* 1701C0 802418E0 0809063C */ j func_802418F0 +/* 1701C4 802418E4 00000000 */ nop + +.L802418E8: +/* 1701C8 802418E8 080906A0 */ j func_80241A80 +/* 1701CC 802418EC 24040002 */ addiu $a0, $zero, 2 + +func_802418F0: +/* 1701D0 802418F0 3C028007 */ lui $v0, 0x8007 +/* 1701D4 802418F4 8C42419C */ lw $v0, 0x419c($v0) +/* 1701D8 802418F8 904200AA */ lbu $v0, 0xaa($v0) +/* 1701DC 802418FC 30420001 */ andi $v0, $v0, 1 +/* 1701E0 80241900 14400012 */ bnez $v0, .L8024194C +/* 1701E4 80241904 00000000 */ nop +/* 1701E8 80241908 3C02800E */ lui $v0, 0x800e +/* 1701EC 8024190C 8C42C074 */ lw $v0, -0x3f8c($v0) +/* 1701F0 80241910 8E9000D8 */ lw $s0, 0xd8($s4) +/* 1701F4 80241914 30420040 */ andi $v0, $v0, 0x40 +/* 1701F8 80241918 3C048028 */ lui $a0, 0x8028 +/* 1701FC 8024191C 24844A40 */ addiu $a0, $a0, 0x4a40 +/* 170200 80241920 10400003 */ beqz $v0, .L80241930 +/* 170204 80241924 2405000A */ addiu $a1, $zero, 0xa +/* 170208 80241928 3C048028 */ lui $a0, 0x8028 +/* 17020C 8024192C 24844D04 */ addiu $a0, $a0, 0x4d04 +.L80241930: +/* 170210 80241930 0C0B0CF8 */ jal start_script +/* 170214 80241934 0000302D */ daddu $a2, $zero, $zero +/* 170218 80241938 0040182D */ daddu $v1, $v0, $zero +/* 17021C 8024193C AE0301D4 */ sw $v1, 0x1d4($s0) +/* 170220 80241940 8C620144 */ lw $v0, 0x144($v1) +/* 170224 80241944 AE0201E4 */ sw $v0, 0x1e4($s0) +/* 170228 80241948 AC600148 */ sw $zero, 0x148($v1) +.L8024194C: +/* 17022C 8024194C 8FC2008C */ lw $v0, 0x8c($fp) +/* 170230 80241950 50400015 */ beql $v0, $zero, .L802419A8 +/* 170234 80241954 24020131 */ addiu $v0, $zero, 0x131 +/* 170238 80241958 80430005 */ lb $v1, 5($v0) +/* 17023C 8024195C 24020003 */ addiu $v0, $zero, 3 +/* 170240 80241960 14620011 */ bne $v1, $v0, .L802419A8 +/* 170244 80241964 24020131 */ addiu $v0, $zero, 0x131 +/* 170248 80241968 0C03A752 */ jal is_ability_active +/* 17024C 8024196C 2404002D */ addiu $a0, $zero, 0x2d +/* 170250 80241970 1040000C */ beqz $v0, .L802419A4 +/* 170254 80241974 2405000A */ addiu $a1, $zero, 0xa +/* 170258 80241978 3C048029 */ lui $a0, 0x8029 +/* 17025C 8024197C 2484907C */ addiu $a0, $a0, -0x6f84 +/* 170260 80241980 8E9000E0 */ lw $s0, 0xe0($s4) +/* 170264 80241984 0C0B0CF8 */ jal start_script +/* 170268 80241988 0000302D */ daddu $a2, $zero, $zero +/* 17026C 8024198C 0040182D */ daddu $v1, $v0, $zero +/* 170270 80241990 AE0301D4 */ sw $v1, 0x1d4($s0) +/* 170274 80241994 8C620144 */ lw $v0, 0x144($v1) +/* 170278 80241998 AE0201E4 */ sw $v0, 0x1e4($s0) +/* 17027C 8024199C 24020200 */ addiu $v0, $zero, 0x200 +/* 170280 802419A0 AC620148 */ sw $v0, 0x148($v1) +.L802419A4: +/* 170284 802419A4 24020131 */ addiu $v0, $zero, 0x131 +.L802419A8: +/* 170288 802419A8 3C018028 */ lui $at, 0x8028 +/* 17028C 802419AC AC220A30 */ sw $v0, 0xa30($at) +/* 170290 802419B0 24020007 */ addiu $v0, $zero, 7 +/* 170294 802419B4 3C01802A */ lui $at, 0x802a +/* 170298 802419B8 AC20F248 */ sw $zero, -0xdb8($at) +/* 17029C 802419BC 3C01800E */ lui $at, 0x800e +/* 1702A0 802419C0 AC22C4DC */ sw $v0, -0x3b24($at) +/* 1702A4 802419C4 080906A2 */ j func_80241A88 +/* 1702A8 802419C8 00000000 */ nop + +/* 1702AC 802419CC 3C108028 */ lui $s0, 0x8028 +/* 1702B0 802419D0 26100A30 */ addiu $s0, $s0, 0xa30 +/* 1702B4 802419D4 8E020000 */ lw $v0, ($s0) +/* 1702B8 802419D8 14400005 */ bnez $v0, .L802419F0 +/* 1702BC 802419DC 24020008 */ addiu $v0, $zero, 8 +/* 1702C0 802419E0 3C01800E */ lui $at, 0x800e +/* 1702C4 802419E4 AC22C4DC */ sw $v0, -0x3b24($at) +/* 1702C8 802419E8 080906A2 */ j func_80241A88 +/* 1702CC 802419EC 00000000 */ nop + +.L802419F0: +/* 1702D0 802419F0 3C02802A */ lui $v0, 0x802a +/* 1702D4 802419F4 2442F248 */ addiu $v0, $v0, -0xdb8 +/* 1702D8 802419F8 8C430000 */ lw $v1, ($v0) +/* 1702DC 802419FC 24630001 */ addiu $v1, $v1, 1 +/* 1702E0 80241A00 AC430000 */ sw $v1, ($v0) +/* 1702E4 80241A04 2402000F */ addiu $v0, $zero, 0xf +/* 1702E8 80241A08 14620003 */ bne $v1, $v0, .L80241A18 +/* 1702EC 80241A0C 00000000 */ nop +/* 1702F0 80241A10 0C093903 */ jal func_8024E40C +/* 1702F4 80241A14 24040002 */ addiu $a0, $zero, 2 +.L80241A18: +/* 1702F8 80241A18 3C028007 */ lui $v0, 0x8007 +/* 1702FC 80241A1C 8C42419C */ lw $v0, 0x419c($v0) +/* 170300 80241A20 904200AA */ lbu $v0, 0xaa($v0) +/* 170304 80241A24 30420001 */ andi $v0, $v0, 1 +/* 170308 80241A28 14400004 */ bnez $v0, .L80241A3C +/* 17030C 80241A2C 00000000 */ nop +/* 170310 80241A30 8E020000 */ lw $v0, ($s0) +/* 170314 80241A34 08090691 */ j func_80241A44 +/* 170318 80241A38 2442FFF6 */ addiu $v0, $v0, -0xa + +.L80241A3C: +/* 17031C 80241A3C 8E020000 */ lw $v0, ($s0) +/* 170320 80241A40 2442FFCE */ addiu $v0, $v0, -0x32 +func_80241A44: +/* 170324 80241A44 AE020000 */ sw $v0, ($s0) +/* 170328 80241A48 3C038028 */ lui $v1, 0x8028 +/* 17032C 80241A4C 24630A30 */ addiu $v1, $v1, 0xa30 +/* 170330 80241A50 8C620000 */ lw $v0, ($v1) +/* 170334 80241A54 0442000C */ bltzl $v0, .L80241A88 +/* 170338 80241A58 AC600000 */ sw $zero, ($v1) +/* 17033C 80241A5C 080906A2 */ j func_80241A88 +/* 170340 80241A60 00000000 */ nop + +/* 170344 80241A64 8282008C */ lb $v0, 0x8c($s4) +/* 170348 80241A68 14400007 */ bnez $v0, .L80241A88 +/* 17034C 80241A6C 00000000 */ nop +/* 170350 80241A70 3C05BF80 */ lui $a1, 0xbf80 +/* 170354 80241A74 0C04DF62 */ jal func_80137D88 +/* 170358 80241A78 240400FF */ addiu $a0, $zero, 0xff +/* 17035C 80241A7C 24040005 */ addiu $a0, $zero, 5 +func_80241A80: +.L80241A80: +/* 170360 80241A80 0C090464 */ jal func_80241190 +/* 170364 80241A84 00000000 */ nop +func_80241A88: +.L80241A88: +/* 170368 80241A88 8FBF0044 */ lw $ra, 0x44($sp) +/* 17036C 80241A8C 8FBE0040 */ lw $fp, 0x40($sp) +/* 170370 80241A90 8FB7003C */ lw $s7, 0x3c($sp) +/* 170374 80241A94 8FB60038 */ lw $s6, 0x38($sp) +/* 170378 80241A98 8FB50034 */ lw $s5, 0x34($sp) +/* 17037C 80241A9C 8FB40030 */ lw $s4, 0x30($sp) +/* 170380 80241AA0 8FB3002C */ lw $s3, 0x2c($sp) +/* 170384 80241AA4 8FB20028 */ lw $s2, 0x28($sp) +/* 170388 80241AA8 8FB10024 */ lw $s1, 0x24($sp) +/* 17038C 80241AAC 8FB00020 */ lw $s0, 0x20($sp) +/* 170390 80241AB0 03E00008 */ jr $ra +/* 170394 80241AB4 27BD0048 */ addiu $sp, $sp, 0x48 + +func_80241AB8: +/* 170398 80241AB8 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 17039C 80241ABC 0000202D */ daddu $a0, $zero, $zero +/* 1703A0 80241AC0 0080282D */ daddu $a1, $a0, $zero +/* 1703A4 80241AC4 0080302D */ daddu $a2, $a0, $zero +/* 1703A8 80241AC8 AFBF0010 */ sw $ra, 0x10($sp) +/* 1703AC 80241ACC 0C04DF84 */ jal func_80137E10 +/* 1703B0 80241AD0 0080382D */ daddu $a3, $a0, $zero +/* 1703B4 80241AD4 3C058028 */ lui $a1, 0x8028 +/* 1703B8 80241AD8 8CA50A30 */ lw $a1, 0xa30($a1) +/* 1703BC 80241ADC 28A20100 */ slti $v0, $a1, 0x100 +/* 1703C0 80241AE0 14400003 */ bnez $v0, .L80241AF0 +/* 1703C4 80241AE4 00000000 */ nop +/* 1703C8 80241AE8 080906C0 */ j func_80241B00 +/* 1703CC 80241AEC 3C05437F */ lui $a1, 0x437f + +.L80241AF0: +/* 1703D0 80241AF0 44850000 */ mtc1 $a1, $f0 +/* 1703D4 80241AF4 00000000 */ nop +/* 1703D8 80241AF8 46800020 */ cvt.s.w $f0, $f0 +/* 1703DC 80241AFC 44050000 */ mfc1 $a1, $f0 +func_80241B00: +/* 1703E0 80241B00 0C04DF62 */ jal func_80137D88 +/* 1703E4 80241B04 0000202D */ daddu $a0, $zero, $zero +/* 1703E8 80241B08 8FBF0010 */ lw $ra, 0x10($sp) +/* 1703EC 80241B0C 03E00008 */ jr $ra +/* 1703F0 80241B10 27BD0018 */ addiu $sp, $sp, 0x18 + +func_80241B14: +/* 1703F4 80241B14 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* 1703F8 80241B18 AFB40020 */ sw $s4, 0x20($sp) +/* 1703FC 80241B1C 3C14800E */ lui $s4, 0x800e +/* 170400 80241B20 2694C070 */ addiu $s4, $s4, -0x3f90 +/* 170404 80241B24 AFB20018 */ sw $s2, 0x18($sp) +/* 170408 80241B28 3C128011 */ lui $s2, 0x8011 +/* 17040C 80241B2C 2652F290 */ addiu $s2, $s2, -0xd70 +/* 170410 80241B30 AFBF0028 */ sw $ra, 0x28($sp) +/* 170414 80241B34 AFB50024 */ sw $s5, 0x24($sp) +/* 170418 80241B38 AFB3001C */ sw $s3, 0x1c($sp) +/* 17041C 80241B3C AFB10014 */ sw $s1, 0x14($sp) +/* 170420 80241B40 AFB00010 */ sw $s0, 0x10($sp) +/* 170424 80241B44 8E9500DC */ lw $s5, 0xdc($s4) +/* 170428 80241B48 3C02800E */ lui $v0, 0x800e +/* 17042C 80241B4C 8C42C4DC */ lw $v0, -0x3b24($v0) +/* 170430 80241B50 8E8500D8 */ lw $a1, 0xd8($s4) +/* 170434 80241B54 144000E9 */ bnez $v0, .L80241EFC +/* 170438 80241B58 3C04FEFF */ lui $a0, 0xfeff +/* 17043C 80241B5C 3484FFFF */ ori $a0, $a0, 0xffff +/* 170440 80241B60 8E820004 */ lw $v0, 4($s4) +/* 170444 80241B64 2403FFFD */ addiu $v1, $zero, -3 +/* 170448 80241B68 A28000AC */ sb $zero, 0xac($s4) +/* 17044C 80241B6C A28000AD */ sb $zero, 0xad($s4) +/* 170450 80241B70 00431024 */ and $v0, $v0, $v1 +/* 170454 80241B74 2403FFFB */ addiu $v1, $zero, -5 +/* 170458 80241B78 00431024 */ and $v0, $v0, $v1 +/* 17045C 80241B7C 2403FFF7 */ addiu $v1, $zero, -9 +/* 170460 80241B80 00431024 */ and $v0, $v0, $v1 +/* 170464 80241B84 2403FFEF */ addiu $v1, $zero, -0x11 +/* 170468 80241B88 00431024 */ and $v0, $v0, $v1 +/* 17046C 80241B8C AE820004 */ sw $v0, 4($s4) +/* 170470 80241B90 00441024 */ and $v0, $v0, $a0 +/* 170474 80241B94 AE820004 */ sw $v0, 4($s4) +/* 170478 80241B98 8CA20000 */ lw $v0, ($a1) +/* 17047C 80241B9C 3C030C00 */ lui $v1, 0xc00 +/* 170480 80241BA0 A0A0021D */ sb $zero, 0x21d($a1) +/* 170484 80241BA4 00431025 */ or $v0, $v0, $v1 +/* 170488 80241BA8 12A00004 */ beqz $s5, .L80241BBC +/* 17048C 80241BAC ACA20000 */ sw $v0, ($a1) +/* 170490 80241BB0 00431025 */ or $v0, $v0, $v1 +/* 170494 80241BB4 ACA20000 */ sw $v0, ($a1) +/* 170498 80241BB8 A2A0021D */ sb $zero, 0x21d($s5) +.L80241BBC: +/* 17049C 80241BBC 8282008B */ lb $v0, 0x8b($s4) +/* 1704A0 80241BC0 10400004 */ beqz $v0, .L80241BD4 +/* 1704A4 80241BC4 3C030400 */ lui $v1, 0x400 +/* 1704A8 80241BC8 8E820000 */ lw $v0, ($s4) +/* 1704AC 80241BCC 00431025 */ or $v0, $v0, $v1 +/* 1704B0 80241BD0 AE820000 */ sw $v0, ($s4) +.L80241BD4: +/* 1704B4 80241BD4 0000502D */ daddu $t2, $zero, $zero +/* 1704B8 80241BD8 0140882D */ daddu $s1, $t2, $zero +/* 1704BC 80241BDC 0280202D */ daddu $a0, $s4, $zero +/* 1704C0 80241BE0 0280182D */ daddu $v1, $s4, $zero +.L80241BE4: +/* 1704C4 80241BE4 8C9000E0 */ lw $s0, 0xe0($a0) +/* 1704C8 80241BE8 52000006 */ beql $s0, $zero, .L80241C04 +/* 1704CC 80241BEC 26310001 */ addiu $s1, $s1, 1 +/* 1704D0 80241BF0 36220200 */ ori $v0, $s1, 0x200 +/* 1704D4 80241BF4 A4620140 */ sh $v0, 0x140($v1) +/* 1704D8 80241BF8 24630002 */ addiu $v1, $v1, 2 +/* 1704DC 80241BFC 254A0001 */ addiu $t2, $t2, 1 +/* 1704E0 80241C00 26310001 */ addiu $s1, $s1, 1 +.L80241C04: +/* 1704E4 80241C04 2A220018 */ slti $v0, $s1, 0x18 +/* 1704E8 80241C08 1440FFF6 */ bnez $v0, .L80241BE4 +/* 1704EC 80241C0C 24840004 */ addiu $a0, $a0, 4 +/* 1704F0 80241C10 A28A0171 */ sb $t2, 0x171($s4) +/* 1704F4 80241C14 0000882D */ daddu $s1, $zero, $zero +/* 1704F8 80241C18 2542FFFF */ addiu $v0, $t2, -1 +/* 1704FC 80241C1C 18400031 */ blez $v0, .L80241CE4 +/* 170500 80241C20 268C0140 */ addiu $t4, $s4, 0x140 +/* 170504 80241C24 3C0E800E */ lui $t6, 0x800e +/* 170508 80241C28 25CEC070 */ addiu $t6, $t6, -0x3f90 +/* 17050C 80241C2C 3C0D0800 */ lui $t5, 0x800 +/* 170510 80241C30 0180582D */ daddu $t3, $t4, $zero +.L80241C34: +/* 170514 80241C34 26280001 */ addiu $t0, $s1, 1 +/* 170518 80241C38 010A102A */ slt $v0, $t0, $t2 +/* 17051C 80241C3C 50400025 */ beql $v0, $zero, .L80241CD4 +/* 170520 80241C40 26310001 */ addiu $s1, $s1, 1 +/* 170524 80241C44 0160482D */ daddu $t1, $t3, $zero +/* 170528 80241C48 00081040 */ sll $v0, $t0, 1 +/* 17052C 80241C4C 004C2821 */ addu $a1, $v0, $t4 +.L80241C50: +/* 170530 80241C50 95270000 */ lhu $a3, ($t1) +/* 170534 80241C54 94A60000 */ lhu $a2, ($a1) +/* 170538 80241C58 8DC40000 */ lw $a0, ($t6) +/* 17053C 80241C5C 30E200FF */ andi $v0, $a3, 0xff +/* 170540 80241C60 00021080 */ sll $v0, $v0, 2 +/* 170544 80241C64 02821021 */ addu $v0, $s4, $v0 +/* 170548 80241C68 30C300FF */ andi $v1, $a2, 0xff +/* 17054C 80241C6C 00031880 */ sll $v1, $v1, 2 +/* 170550 80241C70 02831821 */ addu $v1, $s4, $v1 +/* 170554 80241C74 008D2024 */ and $a0, $a0, $t5 +/* 170558 80241C78 8C4200E0 */ lw $v0, 0xe0($v0) +/* 17055C 80241C7C 10800009 */ beqz $a0, .L80241CA4 +/* 170560 80241C80 8C6300E0 */ lw $v1, 0xe0($v1) +/* 170564 80241C84 C4420138 */ lwc1 $f2, 0x138($v0) +/* 170568 80241C88 C4600138 */ lwc1 $f0, 0x138($v1) +/* 17056C 80241C8C 4602003C */ c.lt.s $f0, $f2 +/* 170570 80241C90 00000000 */ nop +/* 170574 80241C94 4502000B */ bc1fl .L80241CC4 +/* 170578 80241C98 25080001 */ addiu $t0, $t0, 1 +/* 17057C 80241C9C 0809072F */ j func_80241CBC +/* 170580 80241CA0 A5260000 */ sh $a2, ($t1) + +.L80241CA4: +/* 170584 80241CA4 804201F1 */ lb $v0, 0x1f1($v0) +/* 170588 80241CA8 806301F1 */ lb $v1, 0x1f1($v1) +/* 17058C 80241CAC 0043102A */ slt $v0, $v0, $v1 +/* 170590 80241CB0 50400004 */ beql $v0, $zero, .L80241CC4 +/* 170594 80241CB4 25080001 */ addiu $t0, $t0, 1 +/* 170598 80241CB8 A5260000 */ sh $a2, ($t1) +func_80241CBC: +/* 17059C 80241CBC A4A70000 */ sh $a3, ($a1) +/* 1705A0 80241CC0 25080001 */ addiu $t0, $t0, 1 +.L80241CC4: +/* 1705A4 80241CC4 010A102A */ slt $v0, $t0, $t2 +/* 1705A8 80241CC8 1440FFE1 */ bnez $v0, .L80241C50 +/* 1705AC 80241CCC 24A50002 */ addiu $a1, $a1, 2 +/* 1705B0 80241CD0 26310001 */ addiu $s1, $s1, 1 +.L80241CD4: +/* 1705B4 80241CD4 2542FFFF */ addiu $v0, $t2, -1 +/* 1705B8 80241CD8 0222102A */ slt $v0, $s1, $v0 +/* 1705BC 80241CDC 1440FFD5 */ bnez $v0, .L80241C34 +/* 1705C0 80241CE0 256B0002 */ addiu $t3, $t3, 2 +.L80241CE4: +/* 1705C4 80241CE4 0C090398 */ jal func_80240E60 +/* 1705C8 80241CE8 A2800170 */ sb $zero, 0x170($s4) +/* 1705CC 80241CEC 3C03F7FF */ lui $v1, 0xf7ff +/* 1705D0 80241CF0 3C10800E */ lui $s0, 0x800e +/* 1705D4 80241CF4 2610C070 */ addiu $s0, $s0, -0x3f90 +/* 1705D8 80241CF8 8E020004 */ lw $v0, 4($s0) +/* 1705DC 80241CFC 3463FFFF */ ori $v1, $v1, 0xffff +/* 1705E0 80241D00 A2800099 */ sb $zero, 0x99($s4) +/* 1705E4 80241D04 00431824 */ and $v1, $v0, $v1 +/* 1705E8 80241D08 30420040 */ andi $v0, $v0, 0x40 +/* 1705EC 80241D0C 14400023 */ bnez $v0, .L80241D9C +/* 1705F0 80241D10 AE030004 */ sw $v1, 4($s0) +/* 1705F4 80241D14 82420002 */ lb $v0, 2($s2) +/* 1705F8 80241D18 28420002 */ slti $v0, $v0, 2 +/* 1705FC 80241D1C 1040000B */ beqz $v0, .L80241D4C +/* 170600 80241D20 00000000 */ nop +/* 170604 80241D24 0C03A752 */ jal is_ability_active +/* 170608 80241D28 24040014 */ addiu $a0, $zero, 0x14 +/* 17060C 80241D2C 10400007 */ beqz $v0, .L80241D4C +/* 170610 80241D30 3C020800 */ lui $v0, 0x800 +/* 170614 80241D34 8E030004 */ lw $v1, 4($s0) +/* 170618 80241D38 92840099 */ lbu $a0, 0x99($s4) +/* 17061C 80241D3C 00621825 */ or $v1, $v1, $v0 +/* 170620 80241D40 34840001 */ ori $a0, $a0, 1 +/* 170624 80241D44 AE030004 */ sw $v1, 4($s0) +/* 170628 80241D48 A2840099 */ sb $a0, 0x99($s4) +.L80241D4C: +/* 17062C 80241D4C 82420002 */ lb $v0, 2($s2) +/* 170630 80241D50 28420006 */ slti $v0, $v0, 6 +/* 170634 80241D54 10400011 */ beqz $v0, .L80241D9C +/* 170638 80241D58 00000000 */ nop +/* 17063C 80241D5C 0C03A752 */ jal is_ability_active +/* 170640 80241D60 2404001E */ addiu $a0, $zero, 0x1e +/* 170644 80241D64 1040000D */ beqz $v0, .L80241D9C +/* 170648 80241D68 00000000 */ nop +/* 17064C 80241D6C 92820099 */ lbu $v0, 0x99($s4) +/* 170650 80241D70 30420001 */ andi $v0, $v0, 1 +/* 170654 80241D74 14400009 */ bnez $v0, .L80241D9C +/* 170658 80241D78 3C040800 */ lui $a0, 0x800 +/* 17065C 80241D7C 3C05800E */ lui $a1, 0x800e +/* 170660 80241D80 24A5C070 */ addiu $a1, $a1, -0x3f90 +/* 170664 80241D84 8CA20004 */ lw $v0, 4($a1) +/* 170668 80241D88 92830099 */ lbu $v1, 0x99($s4) +/* 17066C 80241D8C 00441025 */ or $v0, $v0, $a0 +/* 170670 80241D90 34630002 */ ori $v1, $v1, 2 +/* 170674 80241D94 ACA20004 */ sw $v0, 4($a1) +/* 170678 80241D98 A2830099 */ sb $v1, 0x99($s4) +.L80241D9C: +/* 17067C 80241D9C 3C04800E */ lui $a0, 0x800e +/* 170680 80241DA0 2484C070 */ addiu $a0, $a0, -0x3f90 +/* 170684 80241DA4 8C820000 */ lw $v0, ($a0) +/* 170688 80241DA8 3C032000 */ lui $v1, 0x2000 +/* 17068C 80241DAC 00431024 */ and $v0, $v0, $v1 +/* 170690 80241DB0 50400001 */ beql $v0, $zero, .L80241DB8 +/* 170694 80241DB4 A2800097 */ sb $zero, 0x97($s4) +.L80241DB8: +/* 170698 80241DB8 8C820000 */ lw $v0, ($a0) +/* 17069C 80241DBC 3C031000 */ lui $v1, 0x1000 +/* 1706A0 80241DC0 00431024 */ and $v0, $v0, $v1 +/* 1706A4 80241DC4 50400001 */ beql $v0, $zero, .L80241DCC +/* 1706A8 80241DC8 A2800096 */ sb $zero, 0x96($s4) +.L80241DCC: +/* 1706AC 80241DCC 3C028007 */ lui $v0, 0x8007 +/* 1706B0 80241DD0 8C42419C */ lw $v0, 0x419c($v0) +/* 1706B4 80241DD4 80430074 */ lb $v1, 0x74($v0) +/* 1706B8 80241DD8 24020004 */ addiu $v0, $zero, 4 +/* 1706BC 80241DDC 14620003 */ bne $v1, $v0, .L80241DEC +/* 1706C0 80241DE0 24020003 */ addiu $v0, $zero, 3 +/* 1706C4 80241DE4 080907FC */ j func_80241FF0 +/* 1706C8 80241DE8 24040018 */ addiu $a0, $zero, 0x18 + +.L80241DEC: +/* 1706CC 80241DEC 14620018 */ bne $v1, $v0, .L80241E50 +/* 1706D0 80241DF0 0000882D */ daddu $s1, $zero, $zero +/* 1706D4 80241DF4 24130020 */ addiu $s3, $zero, 0x20 +/* 1706D8 80241DF8 0280902D */ daddu $s2, $s4, $zero +.L80241DFC: +/* 1706DC 80241DFC 8E5000E0 */ lw $s0, 0xe0($s2) +/* 1706E0 80241E00 5200000E */ beql $s0, $zero, .L80241E3C +/* 1706E4 80241E04 26310001 */ addiu $s1, $s1, 1 +/* 1706E8 80241E08 8E0401C8 */ lw $a0, 0x1c8($s0) +/* 1706EC 80241E0C 5080000B */ beql $a0, $zero, .L80241E3C +/* 1706F0 80241E10 26310001 */ addiu $s1, $s1, 1 +/* 1706F4 80241E14 2405000A */ addiu $a1, $zero, 0xa +/* 1706F8 80241E18 0C0B0CF8 */ jal start_script +/* 1706FC 80241E1C 0000302D */ daddu $a2, $zero, $zero +/* 170700 80241E20 AE0201D8 */ sw $v0, 0x1d8($s0) +/* 170704 80241E24 8C440144 */ lw $a0, 0x144($v0) +/* 170708 80241E28 36230200 */ ori $v1, $s1, 0x200 +/* 17070C 80241E2C AC430148 */ sw $v1, 0x148($v0) +/* 170710 80241E30 A21301F0 */ sb $s3, 0x1f0($s0) +/* 170714 80241E34 AE0401E8 */ sw $a0, 0x1e8($s0) +/* 170718 80241E38 26310001 */ addiu $s1, $s1, 1 +.L80241E3C: +/* 17071C 80241E3C 2A220018 */ slti $v0, $s1, 0x18 +/* 170720 80241E40 1440FFEE */ bnez $v0, .L80241DFC +/* 170724 80241E44 26520004 */ addiu $s2, $s2, 4 +/* 170728 80241E48 080907BD */ j func_80241EF4 +/* 17072C 80241E4C 2402000A */ addiu $v0, $zero, 0xa + +.L80241E50: +/* 170730 80241E50 2413000A */ addiu $s3, $zero, 0xa +/* 170734 80241E54 0280902D */ daddu $s2, $s4, $zero +.L80241E58: +/* 170738 80241E58 8E5000E0 */ lw $s0, 0xe0($s2) +/* 17073C 80241E5C 52000010 */ beql $s0, $zero, .L80241EA0 +/* 170740 80241E60 26310001 */ addiu $s1, $s1, 1 +/* 170744 80241E64 8E0201CC */ lw $v0, 0x1cc($s0) +/* 170748 80241E68 5040000D */ beql $v0, $zero, .L80241EA0 +/* 17074C 80241E6C 26310001 */ addiu $s1, $s1, 1 +/* 170750 80241E70 2405000A */ addiu $a1, $zero, 0xa +/* 170754 80241E74 A29301A7 */ sb $s3, 0x1a7($s4) +/* 170758 80241E78 8E0401CC */ lw $a0, 0x1cc($s0) +/* 17075C 80241E7C 0C0B0CF8 */ jal start_script +/* 170760 80241E80 0000302D */ daddu $a2, $zero, $zero +/* 170764 80241E84 0040182D */ daddu $v1, $v0, $zero +/* 170768 80241E88 AE0301DC */ sw $v1, 0x1dc($s0) +/* 17076C 80241E8C 8C620144 */ lw $v0, 0x144($v1) +/* 170770 80241E90 AE0201EC */ sw $v0, 0x1ec($s0) +/* 170774 80241E94 36220200 */ ori $v0, $s1, 0x200 +/* 170778 80241E98 AC620148 */ sw $v0, 0x148($v1) +/* 17077C 80241E9C 26310001 */ addiu $s1, $s1, 1 +.L80241EA0: +/* 170780 80241EA0 2A220018 */ slti $v0, $s1, 0x18 +/* 170784 80241EA4 1440FFEC */ bnez $v0, .L80241E58 +/* 170788 80241EA8 26520004 */ addiu $s2, $s2, 4 +/* 17078C 80241EAC 8E9500DC */ lw $s5, 0xdc($s4) +/* 170790 80241EB0 12A00010 */ beqz $s5, .L80241EF4 +/* 170794 80241EB4 24020005 */ addiu $v0, $zero, 5 +/* 170798 80241EB8 8EA201CC */ lw $v0, 0x1cc($s5) +/* 17079C 80241EBC 1040000C */ beqz $v0, .L80241EF0 +/* 1707A0 80241EC0 2405000A */ addiu $a1, $zero, 0xa +/* 1707A4 80241EC4 00A0102D */ daddu $v0, $a1, $zero +/* 1707A8 80241EC8 A28201A7 */ sb $v0, 0x1a7($s4) +/* 1707AC 80241ECC 8EA401CC */ lw $a0, 0x1cc($s5) +/* 1707B0 80241ED0 0C0B0CF8 */ jal start_script +/* 1707B4 80241ED4 0000302D */ daddu $a2, $zero, $zero +/* 1707B8 80241ED8 0040182D */ daddu $v1, $v0, $zero +/* 1707BC 80241EDC AEA301DC */ sw $v1, 0x1dc($s5) +/* 1707C0 80241EE0 8C620144 */ lw $v0, 0x144($v1) +/* 1707C4 80241EE4 AEA201EC */ sw $v0, 0x1ec($s5) +/* 1707C8 80241EE8 24020100 */ addiu $v0, $zero, 0x100 +/* 1707CC 80241EEC AC620148 */ sw $v0, 0x148($v1) +.L80241EF0: +/* 1707D0 80241EF0 24020005 */ addiu $v0, $zero, 5 +func_80241EF4: +.L80241EF4: +/* 1707D4 80241EF4 3C01800E */ lui $at, 0x800e +/* 1707D8 80241EF8 AC22C4DC */ sw $v0, -0x3b24($at) +.L80241EFC: +/* 1707DC 80241EFC 3C03800E */ lui $v1, 0x800e +/* 1707E0 80241F00 8C63C4DC */ lw $v1, -0x3b24($v1) +/* 1707E4 80241F04 24020005 */ addiu $v0, $zero, 5 +/* 1707E8 80241F08 14620020 */ bne $v1, $v0, .L80241F8C +/* 1707EC 80241F0C 2402000A */ addiu $v0, $zero, 0xa +/* 1707F0 80241F10 0000982D */ daddu $s3, $zero, $zero +/* 1707F4 80241F14 0260882D */ daddu $s1, $s3, $zero +/* 1707F8 80241F18 0280902D */ daddu $s2, $s4, $zero +.L80241F1C: +/* 1707FC 80241F1C 8E5000E0 */ lw $s0, 0xe0($s2) +/* 170800 80241F20 5200000A */ beql $s0, $zero, .L80241F4C +/* 170804 80241F24 26310001 */ addiu $s1, $s1, 1 +/* 170808 80241F28 8E0201CC */ lw $v0, 0x1cc($s0) +/* 17080C 80241F2C 50400007 */ beql $v0, $zero, .L80241F4C +/* 170810 80241F30 26310001 */ addiu $s1, $s1, 1 +/* 170814 80241F34 8E0401EC */ lw $a0, 0x1ec($s0) +/* 170818 80241F38 0C0B1059 */ jal does_script_exist +/* 17081C 80241F3C 00000000 */ nop +/* 170820 80241F40 54400001 */ bnezl $v0, .L80241F48 +/* 170824 80241F44 24130001 */ addiu $s3, $zero, 1 +.L80241F48: +/* 170828 80241F48 26310001 */ addiu $s1, $s1, 1 +.L80241F4C: +/* 17082C 80241F4C 2A220018 */ slti $v0, $s1, 0x18 +/* 170830 80241F50 1440FFF2 */ bnez $v0, .L80241F1C +/* 170834 80241F54 26520004 */ addiu $s2, $s2, 4 +/* 170838 80241F58 12A00008 */ beqz $s5, .L80241F7C +/* 17083C 80241F5C 00000000 */ nop +/* 170840 80241F60 8EA201CC */ lw $v0, 0x1cc($s5) +/* 170844 80241F64 10400005 */ beqz $v0, .L80241F7C +/* 170848 80241F68 00000000 */ nop +/* 17084C 80241F6C 0C0B1059 */ jal does_script_exist +/* 170850 80241F70 8EA401EC */ lw $a0, 0x1ec($s5) +/* 170854 80241F74 54400001 */ bnezl $v0, .L80241F7C +/* 170858 80241F78 24130001 */ addiu $s3, $zero, 1 +.L80241F7C: +/* 17085C 80241F7C 12600018 */ beqz $s3, .L80241FE0 +/* 170860 80241F80 2402000A */ addiu $v0, $zero, 0xa +/* 170864 80241F84 3C03800E */ lui $v1, 0x800e +/* 170868 80241F88 8C63C4DC */ lw $v1, -0x3b24($v1) +.L80241F8C: +/* 17086C 80241F8C 1462001A */ bne $v1, $v0, .L80241FF8 +/* 170870 80241F90 0000982D */ daddu $s3, $zero, $zero +/* 170874 80241F94 0260882D */ daddu $s1, $s3, $zero +/* 170878 80241F98 0280902D */ daddu $s2, $s4, $zero +.L80241F9C: +/* 17087C 80241F9C 8E5000E0 */ lw $s0, 0xe0($s2) +/* 170880 80241FA0 5200000A */ beql $s0, $zero, .L80241FCC +/* 170884 80241FA4 26310001 */ addiu $s1, $s1, 1 +/* 170888 80241FA8 8E0201C8 */ lw $v0, 0x1c8($s0) +/* 17088C 80241FAC 50400007 */ beql $v0, $zero, .L80241FCC +/* 170890 80241FB0 26310001 */ addiu $s1, $s1, 1 +/* 170894 80241FB4 8E0401E8 */ lw $a0, 0x1e8($s0) +/* 170898 80241FB8 0C0B1059 */ jal does_script_exist +/* 17089C 80241FBC 00000000 */ nop +/* 1708A0 80241FC0 54400001 */ bnezl $v0, .L80241FC8 +/* 1708A4 80241FC4 24130001 */ addiu $s3, $zero, 1 +.L80241FC8: +/* 1708A8 80241FC8 26310001 */ addiu $s1, $s1, 1 +.L80241FCC: +/* 1708AC 80241FCC 2A220018 */ slti $v0, $s1, 0x18 +/* 1708B0 80241FD0 1440FFF2 */ bnez $v0, .L80241F9C +/* 1708B4 80241FD4 26520004 */ addiu $s2, $s2, 4 +/* 1708B8 80241FD8 16600007 */ bnez $s3, .L80241FF8 +/* 1708BC 80241FDC 00000000 */ nop +.L80241FE0: +/* 1708C0 80241FE0 0C098D0D */ jal func_80263434 +/* 1708C4 80241FE4 00000000 */ nop +/* 1708C8 80241FE8 14400003 */ bnez $v0, .L80241FF8 +/* 1708CC 80241FEC 24040007 */ addiu $a0, $zero, 7 +func_80241FF0: +/* 1708D0 80241FF0 0C090464 */ jal func_80241190 +/* 1708D4 80241FF4 00000000 */ nop +.L80241FF8: +/* 1708D8 80241FF8 8FBF0028 */ lw $ra, 0x28($sp) +/* 1708DC 80241FFC 8FB50024 */ lw $s5, 0x24($sp) +/* 1708E0 80242000 8FB40020 */ lw $s4, 0x20($sp) +/* 1708E4 80242004 8FB3001C */ lw $s3, 0x1c($sp) +/* 1708E8 80242008 8FB20018 */ lw $s2, 0x18($sp) +/* 1708EC 8024200C 8FB10014 */ lw $s1, 0x14($sp) +/* 1708F0 80242010 8FB00010 */ lw $s0, 0x10($sp) +/* 1708F4 80242014 03E00008 */ jr $ra +/* 1708F8 80242018 27BD0030 */ addiu $sp, $sp, 0x30 + +func_8024201C: +/* 1708FC 8024201C 03E00008 */ jr $ra +/* 170900 80242020 00000000 */ nop + +update_heroes_end_turn: +/* 170904 80242024 27BDFFB0 */ addiu $sp, $sp, -0x50 +/* 170908 80242028 AFB30024 */ sw $s3, 0x24($sp) +/* 17090C 8024202C 3C13800E */ lui $s3, 0x800e +/* 170910 80242030 2673C070 */ addiu $s3, $s3, -0x3f90 +/* 170914 80242034 AFB60030 */ sw $s6, 0x30($sp) +/* 170918 80242038 3C168011 */ lui $s6, 0x8011 +/* 17091C 8024203C 26D6F290 */ addiu $s6, $s6, -0xd70 +/* 170920 80242040 AFB20020 */ sw $s2, 0x20($sp) +/* 170924 80242044 3C12800E */ lui $s2, 0x800e +/* 170928 80242048 2652C4DC */ addiu $s2, $s2, -0x3b24 +/* 17092C 8024204C AFBF0034 */ sw $ra, 0x34($sp) +/* 170930 80242050 AFB5002C */ sw $s5, 0x2c($sp) +/* 170934 80242054 AFB40028 */ sw $s4, 0x28($sp) +/* 170938 80242058 AFB1001C */ sw $s1, 0x1c($sp) +/* 17093C 8024205C AFB00018 */ sw $s0, 0x18($sp) +/* 170940 80242060 F7B80048 */ sdc1 $f24, 0x48($sp) +/* 170944 80242064 F7B60040 */ sdc1 $f22, 0x40($sp) +/* 170948 80242068 F7B40038 */ sdc1 $f20, 0x38($sp) +/* 17094C 8024206C 8E7100D8 */ lw $s1, 0xd8($s3) +/* 170950 80242070 8E7000DC */ lw $s0, 0xdc($s3) +/* 170954 80242074 8E420000 */ lw $v0, ($s2) +/* 170958 80242078 14400007 */ bnez $v0, .L80242098 +/* 17095C 8024207C 8E3401F4 */ lw $s4, 0x1f4($s1) +/* 170960 80242080 0C093903 */ jal func_8024E40C +/* 170964 80242084 24040002 */ addiu $a0, $zero, 2 +/* 170968 80242088 0C093936 */ jal move_cam_over +/* 17096C 8024208C 24040005 */ addiu $a0, $zero, 5 +/* 170970 80242090 24020064 */ addiu $v0, $zero, 0x64 +/* 170974 80242094 AE420000 */ sw $v0, ($s2) +.L80242098: +/* 170978 80242098 8E430000 */ lw $v1, ($s2) +/* 17097C 8024209C 24150014 */ addiu $s5, $zero, 0x14 +/* 170980 802420A0 10750039 */ beq $v1, $s5, .L80242188 +/* 170984 802420A4 24020064 */ addiu $v0, $zero, 0x64 +/* 170988 802420A8 14620041 */ bne $v1, $v0, .L802421B0 +/* 17098C 802420AC 00000000 */ nop +/* 170990 802420B0 0C093961 */ jal func_8024E584 +/* 170994 802420B4 00000000 */ nop +/* 170998 802420B8 1040003D */ beqz $v0, .L802421B0 +/* 17099C 802420BC 3C03FFF7 */ lui $v1, 0xfff7 +/* 1709A0 802420C0 8E620000 */ lw $v0, ($s3) +/* 1709A4 802420C4 3463FFFF */ ori $v1, $v1, 0xffff +/* 1709A8 802420C8 00431024 */ and $v0, $v0, $v1 +/* 1709AC 802420CC 0C098F18 */ jal func_80263C60 +/* 1709B0 802420D0 AE620000 */ sw $v0, ($s3) +/* 1709B4 802420D4 3C04FEFF */ lui $a0, 0xfeff +/* 1709B8 802420D8 2402007F */ addiu $v0, $zero, 0x7f +/* 1709BC 802420DC A2620086 */ sb $v0, 0x86($s3) +/* 1709C0 802420E0 A2620087 */ sb $v0, 0x87($s3) +/* 1709C4 802420E4 8E620000 */ lw $v0, ($s3) +/* 1709C8 802420E8 8E630004 */ lw $v1, 4($s3) +/* 1709CC 802420EC 3484FFFF */ ori $a0, $a0, 0xffff +/* 1709D0 802420F0 A660017C */ sh $zero, 0x17c($s3) +/* 1709D4 802420F4 34420008 */ ori $v0, $v0, 8 +/* 1709D8 802420F8 00641824 */ and $v1, $v1, $a0 +/* 1709DC 802420FC AE620000 */ sw $v0, ($s3) +/* 1709E0 80242100 AE630004 */ sw $v1, 4($s3) +/* 1709E4 80242104 8E220000 */ lw $v0, ($s1) +/* 1709E8 80242108 3C030C00 */ lui $v1, 0xc00 +/* 1709EC 8024210C A220021D */ sb $zero, 0x21d($s1) +/* 1709F0 80242110 00431025 */ or $v0, $v0, $v1 +/* 1709F4 80242114 12000004 */ beqz $s0, .L80242128 +/* 1709F8 80242118 AE220000 */ sw $v0, ($s1) +/* 1709FC 8024211C 00431025 */ or $v0, $v0, $v1 +/* 170A00 80242120 AE220000 */ sw $v0, ($s1) +/* 170A04 80242124 A200021D */ sb $zero, 0x21d($s0) +.L80242128: +/* 170A08 80242128 8262009A */ lb $v0, 0x9a($s3) +/* 170A0C 8024212C A260008C */ sb $zero, 0x8c($s3) +/* 170A10 80242130 3C01802A */ lui $at, 0x802a +/* 170A14 80242134 AC20F254 */ sw $zero, -0xdac($at) +/* 170A18 80242138 3C01802A */ lui $at, 0x802a +/* 170A1C 8024213C AC20F258 */ sw $zero, -0xda8($at) +/* 170A20 80242140 14400004 */ bnez $v0, .L80242154 +/* 170A24 80242144 2405000A */ addiu $a1, $zero, 0xa +/* 170A28 80242148 2402000A */ addiu $v0, $zero, 0xa +/* 170A2C 8024214C 0809086C */ j func_802421B0 +/* 170A30 80242150 AE420000 */ sw $v0, ($s2) + +.L80242154: +/* 170A34 80242154 2402000C */ addiu $v0, $zero, 0xc +/* 170A38 80242158 A26201A7 */ sb $v0, 0x1a7($s3) +/* 170A3C 8024215C 8E0401CC */ lw $a0, 0x1cc($s0) +/* 170A40 80242160 0C0B0CF8 */ jal start_script +/* 170A44 80242164 0000302D */ daddu $a2, $zero, $zero +/* 170A48 80242168 0040182D */ daddu $v1, $v0, $zero +/* 170A4C 8024216C AE0301DC */ sw $v1, 0x1dc($s0) +/* 170A50 80242170 8C620144 */ lw $v0, 0x144($v1) +/* 170A54 80242174 AE550000 */ sw $s5, ($s2) +/* 170A58 80242178 AE0201EC */ sw $v0, 0x1ec($s0) +/* 170A5C 8024217C 24020100 */ addiu $v0, $zero, 0x100 +/* 170A60 80242180 0809086C */ j func_802421B0 +/* 170A64 80242184 AC620148 */ sw $v0, 0x148($v1) + +.L80242188: +/* 170A68 80242188 8E0401EC */ lw $a0, 0x1ec($s0) +/* 170A6C 8024218C 0C0B1059 */ jal does_script_exist +/* 170A70 80242190 00000000 */ nop +/* 170A74 80242194 14400006 */ bnez $v0, .L802421B0 +/* 170A78 80242198 2403000A */ addiu $v1, $zero, 0xa +/* 170A7C 8024219C 8E620004 */ lw $v0, 4($s3) +/* 170A80 802421A0 A260009A */ sb $zero, 0x9a($s3) +/* 170A84 802421A4 AE430000 */ sw $v1, ($s2) +/* 170A88 802421A8 34420004 */ ori $v0, $v0, 4 +/* 170A8C 802421AC AE620004 */ sw $v0, 4($s3) +func_802421B0: +.L802421B0: +/* 170A90 802421B0 3C12800E */ lui $s2, 0x800e +/* 170A94 802421B4 2652C4DC */ addiu $s2, $s2, -0x3b24 +/* 170A98 802421B8 8E440000 */ lw $a0, ($s2) +/* 170A9C 802421BC 24150002 */ addiu $s5, $zero, 2 +/* 170AA0 802421C0 10950066 */ beq $a0, $s5, .L8024235C +/* 170AA4 802421C4 2402000A */ addiu $v0, $zero, 0xa +/* 170AA8 802421C8 1482006A */ bne $a0, $v0, .L80242374 +/* 170AAC 802421CC 00000000 */ nop +/* 170AB0 802421D0 8262008C */ lb $v0, 0x8c($s3) +/* 170AB4 802421D4 14400067 */ bnez $v0, .L80242374 +/* 170AB8 802421D8 00000000 */ nop +/* 170ABC 802421DC 8262009D */ lb $v0, 0x9d($s3) +/* 170AC0 802421E0 9263009D */ lbu $v1, 0x9d($s3) +/* 170AC4 802421E4 10400061 */ beqz $v0, .L8024236C +/* 170AC8 802421E8 2462FFFF */ addiu $v0, $v1, -1 +/* 170ACC 802421EC 8E63043C */ lw $v1, 0x43c($s3) +/* 170AD0 802421F0 A262009D */ sb $v0, 0x9d($s3) +/* 170AD4 802421F4 00021600 */ sll $v0, $v0, 0x18 +/* 170AD8 802421F8 8C63000C */ lw $v1, 0xc($v1) +/* 170ADC 802421FC 00021603 */ sra $v0, $v0, 0x18 +/* 170AE0 80242200 A4620010 */ sh $v0, 0x10($v1) +/* 170AE4 80242204 8262009D */ lb $v0, 0x9d($s3) +/* 170AE8 80242208 1C400059 */ bgtz $v0, .L80242370 +/* 170AEC 8024220C 2402000B */ addiu $v0, $zero, 0xb +/* 170AF0 80242210 8E6300A0 */ lw $v1, 0xa0($s3) +/* 170AF4 80242214 3C014190 */ lui $at, 0x4190 +/* 170AF8 80242218 44811000 */ mtc1 $at, $f2 +/* 170AFC 8024221C 3C0140A0 */ lui $at, 0x40a0 +/* 170B00 80242220 4481B000 */ mtc1 $at, $f22 +/* 170B04 80242224 8C620000 */ lw $v0, ($v1) +/* 170B08 80242228 3C013FC0 */ lui $at, 0x3fc0 +/* 170B0C 8024222C 44810000 */ mtc1 $at, $f0 +/* 170B10 80242230 34420010 */ ori $v0, $v0, 0x10 +/* 170B14 80242234 AC620000 */ sw $v0, ($v1) +/* 170B18 80242238 C6240148 */ lwc1 $f4, 0x148($s1) +/* 170B1C 8024223C C626014C */ lwc1 $f6, 0x14c($s1) +/* 170B20 80242240 46022100 */ add.s $f4, $f4, $f2 +/* 170B24 80242244 E7A00010 */ swc1 $f0, 0x10($sp) +/* 170B28 80242248 AFA40014 */ sw $a0, 0x14($sp) +/* 170B2C 8024224C 46163180 */ add.s $f6, $f6, $f22 +/* 170B30 80242250 8E250144 */ lw $a1, 0x144($s1) +/* 170B34 80242254 44062000 */ mfc1 $a2, $f4 +/* 170B38 80242258 44073000 */ mfc1 $a3, $f6 +/* 170B3C 8024225C 0C01C694 */ jal func_80071A50 +/* 170B40 80242260 24040001 */ addiu $a0, $zero, 1 +/* 170B44 80242264 C6220144 */ lwc1 $f2, 0x144($s1) +/* 170B48 80242268 3C014120 */ lui $at, 0x4120 +/* 170B4C 8024226C 44810000 */ mtc1 $at, $f0 +/* 170B50 80242270 00000000 */ nop +/* 170B54 80242274 46001081 */ sub.s $f2, $f2, $f0 +/* 170B58 80242278 C6200148 */ lwc1 $f0, 0x148($s1) +/* 170B5C 8024227C 46160000 */ add.s $f0, $f0, $f22 +/* 170B60 80242280 44060000 */ mfc1 $a2, $f0 +/* 170B64 80242284 C620014C */ lwc1 $f0, 0x14c($s1) +/* 170B68 80242288 0000202D */ daddu $a0, $zero, $zero +/* 170B6C 8024228C 46160000 */ add.s $f0, $f0, $f22 +/* 170B70 80242290 3C013F80 */ lui $at, 0x3f80 +/* 170B74 80242294 4481A000 */ mtc1 $at, $f20 +/* 170B78 80242298 44051000 */ mfc1 $a1, $f2 +/* 170B7C 8024229C 44070000 */ mfc1 $a3, $f0 +/* 170B80 802422A0 24100018 */ addiu $s0, $zero, 0x18 +/* 170B84 802422A4 E7B40010 */ swc1 $f20, 0x10($sp) +/* 170B88 802422A8 0C01C70C */ jal func_80071C30 +/* 170B8C 802422AC AFB00014 */ sw $s0, 0x14($sp) +/* 170B90 802422B0 C6200144 */ lwc1 $f0, 0x144($s1) +/* 170B94 802422B4 3C014170 */ lui $at, 0x4170 +/* 170B98 802422B8 4481C000 */ mtc1 $at, $f24 +/* 170B9C 802422BC 00000000 */ nop +/* 170BA0 802422C0 46180001 */ sub.s $f0, $f0, $f24 +/* 170BA4 802422C4 C6220148 */ lwc1 $f2, 0x148($s1) +/* 170BA8 802422C8 44050000 */ mfc1 $a1, $f0 +/* 170BAC 802422CC 3C014200 */ lui $at, 0x4200 +/* 170BB0 802422D0 44810000 */ mtc1 $at, $f0 +/* 170BB4 802422D4 00000000 */ nop +/* 170BB8 802422D8 46001080 */ add.s $f2, $f2, $f0 +/* 170BBC 802422DC C620014C */ lwc1 $f0, 0x14c($s1) +/* 170BC0 802422E0 46160000 */ add.s $f0, $f0, $f22 +/* 170BC4 802422E4 44061000 */ mfc1 $a2, $f2 +/* 170BC8 802422E8 44070000 */ mfc1 $a3, $f0 +/* 170BCC 802422EC 0000202D */ daddu $a0, $zero, $zero +/* 170BD0 802422F0 E7B40010 */ swc1 $f20, 0x10($sp) +/* 170BD4 802422F4 0C01C70C */ jal func_80071C30 +/* 170BD8 802422F8 AFB00014 */ sw $s0, 0x14($sp) +/* 170BDC 802422FC C6200144 */ lwc1 $f0, 0x144($s1) +/* 170BE0 80242300 46180000 */ add.s $f0, $f0, $f24 +/* 170BE4 80242304 C6220148 */ lwc1 $f2, 0x148($s1) +/* 170BE8 80242308 44050000 */ mfc1 $a1, $f0 +/* 170BEC 8024230C 3C0141B0 */ lui $at, 0x41b0 +/* 170BF0 80242310 44810000 */ mtc1 $at, $f0 +/* 170BF4 80242314 00000000 */ nop +/* 170BF8 80242318 46001080 */ add.s $f2, $f2, $f0 +/* 170BFC 8024231C C620014C */ lwc1 $f0, 0x14c($s1) +/* 170C00 80242320 46160000 */ add.s $f0, $f0, $f22 +/* 170C04 80242324 44061000 */ mfc1 $a2, $f2 +/* 170C08 80242328 44070000 */ mfc1 $a3, $f0 +/* 170C0C 8024232C 24040001 */ addiu $a0, $zero, 1 +/* 170C10 80242330 E7B40010 */ swc1 $f20, 0x10($sp) +/* 170C14 80242334 0C01C70C */ jal func_80071C30 +/* 170C18 80242338 AFB00014 */ sw $s0, 0x14($sp) +/* 170C1C 8024233C 24040299 */ addiu $a0, $zero, 0x299 +/* 170C20 80242340 0C05272D */ jal play_sound +/* 170C24 80242344 AE6000A0 */ sw $zero, 0xa0($s3) +/* 170C28 80242348 24040027 */ addiu $a0, $zero, 0x27 +/* 170C2C 8024234C 0C093E58 */ jal show_battle_message +/* 170C30 80242350 2405003C */ addiu $a1, $zero, 0x3c +/* 170C34 80242354 080908DD */ j func_80242374 +/* 170C38 80242358 AE550000 */ sw $s5, ($s2) + +.L8024235C: +/* 170C3C 8024235C 0C093EAD */ jal is_popup_displayed +/* 170C40 80242360 00000000 */ nop +/* 170C44 80242364 14400003 */ bnez $v0, .L80242374 +/* 170C48 80242368 00000000 */ nop +.L8024236C: +/* 170C4C 8024236C 2402000B */ addiu $v0, $zero, 0xb +.L80242370: +/* 170C50 80242370 AE420000 */ sw $v0, ($s2) +func_80242374: +.L80242374: +/* 170C54 80242374 3C10800E */ lui $s0, 0x800e +/* 170C58 80242378 2610C4DC */ addiu $s0, $s0, -0x3b24 +/* 170C5C 8024237C 8E030000 */ lw $v1, ($s0) +/* 170C60 80242380 2402000B */ addiu $v0, $zero, 0xb +/* 170C64 80242384 10620005 */ beq $v1, $v0, .L8024239C +/* 170C68 80242388 2402000C */ addiu $v0, $zero, 0xc +/* 170C6C 8024238C 10620019 */ beq $v1, $v0, .L802423F4 +/* 170C70 80242390 2402000F */ addiu $v0, $zero, 0xf +/* 170C74 80242394 08090907 */ j func_8024241C +/* 170C78 80242398 00000000 */ nop + +.L8024239C: +/* 170C7C 8024239C 826200A4 */ lb $v0, 0xa4($s3) +/* 170C80 802423A0 926300A4 */ lbu $v1, 0xa4($s3) +/* 170C84 802423A4 10400017 */ beqz $v0, .L80242404 +/* 170C88 802423A8 2462FFFF */ addiu $v0, $v1, -1 +/* 170C8C 802423AC 8E63043C */ lw $v1, 0x43c($s3) +/* 170C90 802423B0 A26200A4 */ sb $v0, 0xa4($s3) +/* 170C94 802423B4 00021600 */ sll $v0, $v0, 0x18 +/* 170C98 802423B8 8C63000C */ lw $v1, 0xc($v1) +/* 170C9C 802423BC 00021603 */ sra $v0, $v0, 0x18 +/* 170CA0 802423C0 A462001A */ sh $v0, 0x1a($v1) +/* 170CA4 802423C4 826200A4 */ lb $v0, 0xa4($s3) +/* 170CA8 802423C8 1C40000F */ bgtz $v0, .L80242408 +/* 170CAC 802423CC 2402000F */ addiu $v0, $zero, 0xf +/* 170CB0 802423D0 8E6400A8 */ lw $a0, 0xa8($s3) +/* 170CB4 802423D4 0C016914 */ jal remove_effect +/* 170CB8 802423D8 00000000 */ nop +/* 170CBC 802423DC 24040029 */ addiu $a0, $zero, 0x29 +/* 170CC0 802423E0 2405003C */ addiu $a1, $zero, 0x3c +/* 170CC4 802423E4 0C093E58 */ jal show_battle_message +/* 170CC8 802423E8 AE6000A8 */ sw $zero, 0xa8($s3) +/* 170CCC 802423EC 08090902 */ j func_80242408 +/* 170CD0 802423F0 2402000C */ addiu $v0, $zero, 0xc + +.L802423F4: +/* 170CD4 802423F4 0C093EAD */ jal is_popup_displayed +/* 170CD8 802423F8 00000000 */ nop +/* 170CDC 802423FC 14400003 */ bnez $v0, .L8024240C +/* 170CE0 80242400 00000000 */ nop +.L80242404: +/* 170CE4 80242404 2402000F */ addiu $v0, $zero, 0xf +func_80242408: +.L80242408: +/* 170CE8 80242408 AE020000 */ sw $v0, ($s0) +.L8024240C: +/* 170CEC 8024240C 3C10800E */ lui $s0, 0x800e +/* 170CF0 80242410 2610C4DC */ addiu $s0, $s0, -0x3b24 +/* 170CF4 80242414 8E030000 */ lw $v1, ($s0) +/* 170CF8 80242418 2402000F */ addiu $v0, $zero, 0xf +func_8024241C: +/* 170CFC 8024241C 10620005 */ beq $v1, $v0, .L80242434 +/* 170D00 80242420 24020010 */ addiu $v0, $zero, 0x10 +/* 170D04 80242424 10620025 */ beq $v1, $v0, .L802424BC +/* 170D08 80242428 00000000 */ nop +/* 170D0C 8024242C 08090935 */ j func_802424D4 +/* 170D10 80242430 00000000 */ nop + +.L80242434: +/* 170D14 80242434 8262009B */ lb $v0, 0x9b($s3) +/* 170D18 80242438 9264009B */ lbu $a0, 0x9b($s3) +/* 170D1C 8024243C 10400024 */ beqz $v0, .L802424D0 +/* 170D20 80242440 24020015 */ addiu $v0, $zero, 0x15 +/* 170D24 80242444 3C05800E */ lui $a1, 0x800e +/* 170D28 80242448 24A5C070 */ addiu $a1, $a1, -0x3f90 +/* 170D2C 8024244C 8CA30004 */ lw $v1, 4($a1) +/* 170D30 80242450 30620100 */ andi $v0, $v1, 0x100 +/* 170D34 80242454 10400004 */ beqz $v0, .L80242468 +/* 170D38 80242458 2402FEFF */ addiu $v0, $zero, -0x101 +/* 170D3C 8024245C 00621024 */ and $v0, $v1, $v0 +/* 170D40 80242460 08090933 */ j func_802424CC +/* 170D44 80242464 ACA20004 */ sw $v0, 4($a1) + +.L80242468: +/* 170D48 80242468 8E63043C */ lw $v1, 0x43c($s3) +/* 170D4C 8024246C 2482FFFF */ addiu $v0, $a0, -1 +/* 170D50 80242470 A262009B */ sb $v0, 0x9b($s3) +/* 170D54 80242474 00021600 */ sll $v0, $v0, 0x18 +/* 170D58 80242478 8C63000C */ lw $v1, 0xc($v1) +/* 170D5C 8024247C 00021603 */ sra $v0, $v0, 0x18 +/* 170D60 80242480 A4620024 */ sh $v0, 0x24($v1) +/* 170D64 80242484 8262009B */ lb $v0, 0x9b($s3) +/* 170D68 80242488 1C400011 */ bgtz $v0, .L802424D0 +/* 170D6C 8024248C 24020015 */ addiu $v0, $zero, 0x15 +/* 170D70 80242490 2404002B */ addiu $a0, $zero, 0x2b +/* 170D74 80242494 0C093E58 */ jal show_battle_message +/* 170D78 80242498 2405003C */ addiu $a1, $zero, 0x3c +/* 170D7C 8024249C 08090934 */ j func_802424D0 +/* 170D80 802424A0 24020010 */ addiu $v0, $zero, 0x10 + +.L802424A4: +/* 170D84 802424A4 8E230440 */ lw $v1, 0x440($s1) +/* 170D88 802424A8 A2220216 */ sb $v0, 0x216($s1) +/* 170D8C 802424AC 82220217 */ lb $v0, 0x217($s1) +/* 170D90 802424B0 8C63000C */ lw $v1, 0xc($v1) +/* 170D94 802424B4 08090A05 */ j func_80242814 +/* 170D98 802424B8 AC62003C */ sw $v0, 0x3c($v1) + +.L802424BC: +/* 170D9C 802424BC 0C093EAD */ jal is_popup_displayed +/* 170DA0 802424C0 00000000 */ nop +/* 170DA4 802424C4 14400003 */ bnez $v0, .L802424D4 +/* 170DA8 802424C8 00000000 */ nop +func_802424CC: +/* 170DAC 802424CC 24020015 */ addiu $v0, $zero, 0x15 +func_802424D0: +.L802424D0: +/* 170DB0 802424D0 AE020000 */ sw $v0, ($s0) +func_802424D4: +.L802424D4: +/* 170DB4 802424D4 3C03800E */ lui $v1, 0x800e +/* 170DB8 802424D8 8C63C4DC */ lw $v1, -0x3b24($v1) +/* 170DBC 802424DC 24020015 */ addiu $v0, $zero, 0x15 +/* 170DC0 802424E0 14620042 */ bne $v1, $v0, .L802425EC +/* 170DC4 802424E4 24020016 */ addiu $v0, $zero, 0x16 +/* 170DC8 802424E8 82230210 */ lb $v1, 0x210($s1) +/* 170DCC 802424EC 24020009 */ addiu $v0, $zero, 9 +/* 170DD0 802424F0 1462000C */ bne $v1, $v0, .L80242524 +/* 170DD4 802424F4 3C03F7FF */ lui $v1, 0xf7ff +/* 170DD8 802424F8 82220214 */ lb $v0, 0x214($s1) +/* 170DDC 802424FC 14400009 */ bnez $v0, .L80242524 +/* 170DE0 80242500 24040001 */ addiu $a0, $zero, 1 +/* 170DE4 80242504 3C03800E */ lui $v1, 0x800e +/* 170DE8 80242508 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 170DEC 8024250C 8C620000 */ lw $v0, ($v1) +/* 170DF0 80242510 2405000A */ addiu $a1, $zero, 0xa +/* 170DF4 80242514 34420020 */ ori $v0, $v0, 0x20 +/* 170DF8 80242518 0C09CCDF */ jal dispatch_damage_event_player_0 +/* 170DFC 8024251C AC620000 */ sw $v0, ($v1) +/* 170E00 80242520 3C03F7FF */ lui $v1, 0xf7ff +.L80242524: +/* 170E04 80242524 3C10800E */ lui $s0, 0x800e +/* 170E08 80242528 2610C070 */ addiu $s0, $s0, -0x3f90 +/* 170E0C 8024252C 8E020004 */ lw $v0, 4($s0) +/* 170E10 80242530 3463FFFF */ ori $v1, $v1, 0xffff +/* 170E14 80242534 A2600099 */ sb $zero, 0x99($s3) +/* 170E18 80242538 00431824 */ and $v1, $v0, $v1 +/* 170E1C 8024253C 30420040 */ andi $v0, $v0, 0x40 +/* 170E20 80242540 14400024 */ bnez $v0, .L802425D4 +/* 170E24 80242544 AE030004 */ sw $v1, 4($s0) +/* 170E28 80242548 82C20002 */ lb $v0, 2($s6) +/* 170E2C 8024254C 28420002 */ slti $v0, $v0, 2 +/* 170E30 80242550 1040000B */ beqz $v0, .L80242580 +/* 170E34 80242554 00000000 */ nop +/* 170E38 80242558 0C03A752 */ jal is_ability_active +/* 170E3C 8024255C 24040014 */ addiu $a0, $zero, 0x14 +/* 170E40 80242560 10400007 */ beqz $v0, .L80242580 +/* 170E44 80242564 3C020800 */ lui $v0, 0x800 +/* 170E48 80242568 8E030004 */ lw $v1, 4($s0) +/* 170E4C 8024256C 92640099 */ lbu $a0, 0x99($s3) +/* 170E50 80242570 00621825 */ or $v1, $v1, $v0 +/* 170E54 80242574 34840001 */ ori $a0, $a0, 1 +/* 170E58 80242578 AE030004 */ sw $v1, 4($s0) +/* 170E5C 8024257C A2640099 */ sb $a0, 0x99($s3) +.L80242580: +/* 170E60 80242580 82C20002 */ lb $v0, 2($s6) +/* 170E64 80242584 28420006 */ slti $v0, $v0, 6 +/* 170E68 80242588 10400013 */ beqz $v0, .L802425D8 +/* 170E6C 8024258C 24020016 */ addiu $v0, $zero, 0x16 +/* 170E70 80242590 0C03A752 */ jal is_ability_active +/* 170E74 80242594 2404001E */ addiu $a0, $zero, 0x1e +/* 170E78 80242598 1040000F */ beqz $v0, .L802425D8 +/* 170E7C 8024259C 24020016 */ addiu $v0, $zero, 0x16 +/* 170E80 802425A0 92620099 */ lbu $v0, 0x99($s3) +/* 170E84 802425A4 30420001 */ andi $v0, $v0, 1 +/* 170E88 802425A8 1440000B */ bnez $v0, .L802425D8 +/* 170E8C 802425AC 24020016 */ addiu $v0, $zero, 0x16 +/* 170E90 802425B0 3C05800E */ lui $a1, 0x800e +/* 170E94 802425B4 24A5C070 */ addiu $a1, $a1, -0x3f90 +/* 170E98 802425B8 3C040800 */ lui $a0, 0x800 +/* 170E9C 802425BC 8CA20004 */ lw $v0, 4($a1) +/* 170EA0 802425C0 92630099 */ lbu $v1, 0x99($s3) +/* 170EA4 802425C4 00441025 */ or $v0, $v0, $a0 +/* 170EA8 802425C8 34630002 */ ori $v1, $v1, 2 +/* 170EAC 802425CC ACA20004 */ sw $v0, 4($a1) +/* 170EB0 802425D0 A2630099 */ sb $v1, 0x99($s3) +.L802425D4: +/* 170EB4 802425D4 24020016 */ addiu $v0, $zero, 0x16 +.L802425D8: +/* 170EB8 802425D8 3C01800E */ lui $at, 0x800e +/* 170EBC 802425DC AC22C4DC */ sw $v0, -0x3b24($at) +/* 170EC0 802425E0 3C03800E */ lui $v1, 0x800e +/* 170EC4 802425E4 8C63C4DC */ lw $v1, -0x3b24($v1) +/* 170EC8 802425E8 24020016 */ addiu $v0, $zero, 0x16 +.L802425EC: +/* 170ECC 802425EC 146200A8 */ bne $v1, $v0, .L80242890 +/* 170ED0 802425F0 00000000 */ nop +/* 170ED4 802425F4 8E2201D8 */ lw $v0, 0x1d8($s1) +/* 170ED8 802425F8 10400005 */ beqz $v0, .L80242610 +/* 170EDC 802425FC 00000000 */ nop +/* 170EE0 80242600 0C0B1059 */ jal does_script_exist +/* 170EE4 80242604 8E2401E8 */ lw $a0, 0x1e8($s1) +/* 170EE8 80242608 144000A1 */ bnez $v0, .L80242890 +/* 170EEC 8024260C 00000000 */ nop +.L80242610: +/* 170EF0 80242610 0C098D19 */ jal func_80263464 +/* 170EF4 80242614 AE2001D8 */ sw $zero, 0x1d8($s1) +/* 170EF8 80242618 1440011C */ bnez $v0, .L80242A8C +/* 170EFC 8024261C 3C030C00 */ lui $v1, 0xc00 +/* 170F00 80242620 2404000E */ addiu $a0, $zero, 0xe +/* 170F04 80242624 8E220000 */ lw $v0, ($s1) +/* 170F08 80242628 3C01802A */ lui $at, 0x802a +/* 170F0C 8024262C AC20F254 */ sw $zero, -0xdac($at) +/* 170F10 80242630 A220021D */ sb $zero, 0x21d($s1) +/* 170F14 80242634 00431025 */ or $v0, $v0, $v1 +/* 170F18 80242638 0C03A752 */ jal is_ability_active +/* 170F1C 8024263C AE220000 */ sw $v0, ($s1) +/* 170F20 80242640 10400015 */ beqz $v0, .L80242698 +/* 170F24 80242644 00000000 */ nop +/* 170F28 80242648 82220210 */ lb $v0, 0x210($s1) +/* 170F2C 8024264C 10400002 */ beqz $v0, .L80242658 +/* 170F30 80242650 24020001 */ addiu $v0, $zero, 1 +/* 170F34 80242654 A2220211 */ sb $v0, 0x211($s1) +.L80242658: +/* 170F38 80242658 82220212 */ lb $v0, 0x212($s1) +/* 170F3C 8024265C 10400002 */ beqz $v0, .L80242668 +/* 170F40 80242660 24020001 */ addiu $v0, $zero, 1 +/* 170F44 80242664 A2220213 */ sb $v0, 0x213($s1) +.L80242668: +/* 170F48 80242668 82220214 */ lb $v0, 0x214($s1) +/* 170F4C 8024266C 10400002 */ beqz $v0, .L80242678 +/* 170F50 80242670 24020001 */ addiu $v0, $zero, 1 +/* 170F54 80242674 A2220215 */ sb $v0, 0x215($s1) +.L80242678: +/* 170F58 80242678 82220216 */ lb $v0, 0x216($s1) +/* 170F5C 8024267C 10400002 */ beqz $v0, .L80242688 +/* 170F60 80242680 24020001 */ addiu $v0, $zero, 1 +/* 170F64 80242684 A2220217 */ sb $v0, 0x217($s1) +.L80242688: +/* 170F68 80242688 82220218 */ lb $v0, 0x218($s1) +/* 170F6C 8024268C 10400002 */ beqz $v0, .L80242698 +/* 170F70 80242690 24020001 */ addiu $v0, $zero, 1 +/* 170F74 80242694 A2220219 */ sb $v0, 0x219($s1) +.L80242698: +/* 170F78 80242698 82220214 */ lb $v0, 0x214($s1) +/* 170F7C 8024269C 1040000C */ beqz $v0, .L802426D0 +/* 170F80 802426A0 00000000 */ nop +/* 170F84 802426A4 92220215 */ lbu $v0, 0x215($s1) +/* 170F88 802426A8 2442FFFF */ addiu $v0, $v0, -1 +/* 170F8C 802426AC A2220215 */ sb $v0, 0x215($s1) +/* 170F90 802426B0 00021600 */ sll $v0, $v0, 0x18 +/* 170F94 802426B4 1C400058 */ bgtz $v0, .L80242818 +/* 170F98 802426B8 0000902D */ daddu $s2, $zero, $zero +/* 170F9C 802426BC A2200214 */ sb $zero, 0x214($s1) +/* 170FA0 802426C0 0C09C596 */ jal dispatch_event_player +/* 170FA4 802426C4 24040031 */ addiu $a0, $zero, 0x31 +/* 170FA8 802426C8 08090A06 */ j func_80242818 +/* 170FAC 802426CC 0000902D */ daddu $s2, $zero, $zero + +.L802426D0: +/* 170FB0 802426D0 0C03A752 */ jal is_ability_active +/* 170FB4 802426D4 24040013 */ addiu $a0, $zero, 0x13 +/* 170FB8 802426D8 1440000D */ bnez $v0, .L80242710 +/* 170FBC 802426DC 00000000 */ nop +/* 170FC0 802426E0 82220212 */ lb $v0, 0x212($s1) +/* 170FC4 802426E4 1040000A */ beqz $v0, .L80242710 +/* 170FC8 802426E8 00000000 */ nop +/* 170FCC 802426EC 92220213 */ lbu $v0, 0x213($s1) +/* 170FD0 802426F0 2442FFFF */ addiu $v0, $v0, -1 +/* 170FD4 802426F4 A2220213 */ sb $v0, 0x213($s1) +/* 170FD8 802426F8 00021600 */ sll $v0, $v0, 0x18 +/* 170FDC 802426FC 1C400004 */ bgtz $v0, .L80242710 +/* 170FE0 80242700 00000000 */ nop +/* 170FE4 80242704 86240436 */ lh $a0, 0x436($s1) +/* 170FE8 80242708 0C011E68 */ jal func_800479A0 +/* 170FEC 8024270C A2200212 */ sb $zero, 0x212($s1) +.L80242710: +/* 170FF0 80242710 82220218 */ lb $v0, 0x218($s1) +/* 170FF4 80242714 10400010 */ beqz $v0, .L80242758 +/* 170FF8 80242718 00000000 */ nop +/* 170FFC 8024271C 92220219 */ lbu $v0, 0x219($s1) +/* 171000 80242720 2442FFFF */ addiu $v0, $v0, -1 +/* 171004 80242724 A2220219 */ sb $v0, 0x219($s1) +/* 171008 80242728 8E820000 */ lw $v0, ($s4) +/* 17100C 8024272C 34420100 */ ori $v0, $v0, 0x100 +/* 171010 80242730 AE820000 */ sw $v0, ($s4) +/* 171014 80242734 82220219 */ lb $v0, 0x219($s1) +/* 171018 80242738 1C400007 */ bgtz $v0, .L80242758 +/* 17101C 8024273C 2403FEFF */ addiu $v1, $zero, -0x101 +/* 171020 80242740 A2200218 */ sb $zero, 0x218($s1) +/* 171024 80242744 8E820000 */ lw $v0, ($s4) +/* 171028 80242748 00431024 */ and $v0, $v0, $v1 +/* 17102C 8024274C AE820000 */ sw $v0, ($s4) +/* 171030 80242750 0C011EAA */ jal func_80047AA8 +/* 171034 80242754 86240436 */ lh $a0, 0x436($s1) +.L80242758: +/* 171038 80242758 82220210 */ lb $v0, 0x210($s1) +/* 17103C 8024275C 1040001F */ beqz $v0, .L802427DC +/* 171040 80242760 28420009 */ slti $v0, $v0, 9 +/* 171044 80242764 10400003 */ beqz $v0, .L80242774 +/* 171048 80242768 24020001 */ addiu $v0, $zero, 1 +/* 17104C 8024276C 3C01802A */ lui $at, 0x802a +/* 171050 80242770 AC22F254 */ sw $v0, -0xdac($at) +.L80242774: +/* 171054 80242774 24020014 */ addiu $v0, $zero, 0x14 +/* 171058 80242778 3C01802A */ lui $at, 0x802a +/* 17105C 8024277C AC22F258 */ sw $v0, -0xda8($at) +/* 171060 80242780 92220211 */ lbu $v0, 0x211($s1) +/* 171064 80242784 2442FFFF */ addiu $v0, $v0, -1 +/* 171068 80242788 A2220211 */ sb $v0, 0x211($s1) +/* 17106C 8024278C 00021600 */ sll $v0, $v0, 0x18 +/* 171070 80242790 1C400012 */ bgtz $v0, .L802427DC +/* 171074 80242794 24020007 */ addiu $v0, $zero, 7 +/* 171078 80242798 82230210 */ lb $v1, 0x210($s1) +/* 17107C 8024279C 14620009 */ bne $v1, $v0, .L802427C4 +/* 171080 802427A0 24040031 */ addiu $a0, $zero, 0x31 +/* 171084 802427A4 0C05272D */ jal play_sound +/* 171088 802427A8 240400E7 */ addiu $a0, $zero, 0xe7 +/* 17108C 802427AC 8E230228 */ lw $v1, 0x228($s1) +/* 171090 802427B0 8C620000 */ lw $v0, ($v1) +/* 171094 802427B4 24040032 */ addiu $a0, $zero, 0x32 +/* 171098 802427B8 34420010 */ ori $v0, $v0, 0x10 +/* 17109C 802427BC AC620000 */ sw $v0, ($v1) +/* 1710A0 802427C0 AE200228 */ sw $zero, 0x228($s1) +.L802427C4: +/* 1710A4 802427C4 0C09C596 */ jal dispatch_event_player +/* 1710A8 802427C8 00000000 */ nop +/* 1710AC 802427CC 86240436 */ lh $a0, 0x436($s1) +/* 1710B0 802427D0 A2200210 */ sb $zero, 0x210($s1) +/* 1710B4 802427D4 0C011E26 */ jal func_80047898 +/* 1710B8 802427D8 A2200211 */ sb $zero, 0x211($s1) +.L802427DC: +/* 1710BC 802427DC 92220211 */ lbu $v0, 0x211($s1) +/* 1710C0 802427E0 82300217 */ lb $s0, 0x217($s1) +/* 1710C4 802427E4 A2220217 */ sb $v0, 0x217($s1) +/* 1710C8 802427E8 00021600 */ sll $v0, $v0, 0x18 +/* 1710CC 802427EC 00021603 */ sra $v0, $v0, 0x18 +/* 1710D0 802427F0 5C40FF2C */ bgtzl $v0, .L802424A4 +/* 1710D4 802427F4 2402000D */ addiu $v0, $zero, 0xd +/* 1710D8 802427F8 12020007 */ beq $s0, $v0, .L80242818 +/* 1710DC 802427FC 0000902D */ daddu $s2, $zero, $zero +/* 1710E0 80242800 8E220440 */ lw $v0, 0x440($s1) +/* 1710E4 80242804 A2200216 */ sb $zero, 0x216($s1) +/* 1710E8 80242808 A2200217 */ sb $zero, 0x217($s1) +/* 1710EC 8024280C 8C42000C */ lw $v0, 0xc($v0) +/* 1710F0 80242810 AC40003C */ sw $zero, 0x3c($v0) +func_80242814: +/* 1710F4 80242814 0000902D */ daddu $s2, $zero, $zero +func_80242818: +.L80242818: +/* 1710F8 80242818 3C150C00 */ lui $s5, 0xc00 +/* 1710FC 8024281C 24140014 */ addiu $s4, $zero, 0x14 +/* 171100 80242820 0260802D */ daddu $s0, $s3, $zero +.L80242824: +/* 171104 80242824 8E0300E0 */ lw $v1, 0xe0($s0) +/* 171108 80242828 50600013 */ beql $v1, $zero, .L80242878 +/* 17110C 8024282C 26520001 */ addiu $s2, $s2, 1 +/* 171110 80242830 8C620000 */ lw $v0, ($v1) +/* 171114 80242834 00551025 */ or $v0, $v0, $s5 +/* 171118 80242838 AC620000 */ sw $v0, ($v1) +/* 17111C 8024283C 80620224 */ lb $v0, 0x224($v1) +/* 171120 80242840 90640224 */ lbu $a0, 0x224($v1) +/* 171124 80242844 5040000C */ beql $v0, $zero, .L80242878 +/* 171128 80242848 26520001 */ addiu $s2, $s2, 1 +/* 17112C 8024284C 2482FFFF */ addiu $v0, $a0, -1 +/* 171130 80242850 A0620224 */ sb $v0, 0x224($v1) +/* 171134 80242854 00021600 */ sll $v0, $v0, 0x18 +/* 171138 80242858 54400007 */ bnezl $v0, .L80242878 +/* 17113C 8024285C 26520001 */ addiu $s2, $s2, 1 +/* 171140 80242860 84640436 */ lh $a0, 0x436($v1) +/* 171144 80242864 0C011EE1 */ jal func_80047B84 +/* 171148 80242868 A0600223 */ sb $zero, 0x223($v1) +/* 17114C 8024286C 3C01802A */ lui $at, 0x802a +/* 171150 80242870 AC34F258 */ sw $s4, -0xda8($at) +/* 171154 80242874 26520001 */ addiu $s2, $s2, 1 +.L80242878: +/* 171158 80242878 2A420018 */ slti $v0, $s2, 0x18 +/* 17115C 8024287C 1440FFE9 */ bnez $v0, .L80242824 +/* 171160 80242880 26100004 */ addiu $s0, $s0, 4 +/* 171164 80242884 24020001 */ addiu $v0, $zero, 1 +/* 171168 80242888 3C01800E */ lui $at, 0x800e +/* 17116C 8024288C AC22C4DC */ sw $v0, -0x3b24($at) +.L80242890: +/* 171170 80242890 3C12800E */ lui $s2, 0x800e +/* 171174 80242894 8E52C4DC */ lw $s2, -0x3b24($s2) +/* 171178 80242898 24020001 */ addiu $v0, $zero, 1 +/* 17117C 8024289C 16420051 */ bne $s2, $v0, .L802429E4 +/* 171180 802428A0 00000000 */ nop +/* 171184 802428A4 0C098D0D */ jal func_80263434 +/* 171188 802428A8 00000000 */ nop +/* 17118C 802428AC 14400077 */ bnez $v0, .L80242A8C +/* 171190 802428B0 24100001 */ addiu $s0, $zero, 1 +/* 171194 802428B4 826200AE */ lb $v0, 0xae($s3) +/* 171198 802428B8 926300AE */ lbu $v1, 0xae($s3) +/* 17119C 802428BC 04400015 */ bltz $v0, .L80242914 +/* 1711A0 802428C0 A260008C */ sb $zero, 0x8c($s3) +/* 1711A4 802428C4 2462FFFF */ addiu $v0, $v1, -1 +/* 1711A8 802428C8 A26200AE */ sb $v0, 0xae($s3) +/* 1711AC 802428CC 00021600 */ sll $v0, $v0, 0x18 +/* 1711B0 802428D0 00021603 */ sra $v0, $v0, 0x18 +/* 1711B4 802428D4 2403FFFF */ addiu $v1, $zero, -1 +/* 1711B8 802428D8 1443000E */ bne $v0, $v1, .L80242914 +/* 1711BC 802428DC 2405000A */ addiu $a1, $zero, 0xa +/* 1711C0 802428E0 3C048029 */ lui $a0, 0x8029 +/* 1711C4 802428E4 24849110 */ addiu $a0, $a0, -0x6ef0 +/* 1711C8 802428E8 0C0B0CF8 */ jal start_script +/* 1711CC 802428EC 0000302D */ daddu $a2, $zero, $zero +/* 1711D0 802428F0 0040182D */ daddu $v1, $v0, $zero +/* 1711D4 802428F4 AE2301D4 */ sw $v1, 0x1d4($s1) +/* 1711D8 802428F8 8C620144 */ lw $v0, 0x144($v1) +/* 1711DC 802428FC AE2201E4 */ sw $v0, 0x1e4($s1) +/* 1711E0 80242900 AC700084 */ sw $s0, 0x84($v1) +/* 1711E4 80242904 24100009 */ addiu $s0, $zero, 9 +/* 1711E8 80242908 AC600148 */ sw $zero, 0x148($v1) +/* 1711EC 8024290C AC7200AC */ sw $s2, 0xac($v1) +/* 1711F0 80242910 A272008C */ sb $s2, 0x8c($s3) +.L80242914: +/* 1711F4 80242914 826200AF */ lb $v0, 0xaf($s3) +/* 1711F8 80242918 926300AF */ lbu $v1, 0xaf($s3) +/* 1711FC 8024291C 04400015 */ bltz $v0, .L80242974 +/* 171200 80242920 2462FFFF */ addiu $v0, $v1, -1 +/* 171204 80242924 A26200AF */ sb $v0, 0xaf($s3) +/* 171208 80242928 00021600 */ sll $v0, $v0, 0x18 +/* 17120C 8024292C 00021603 */ sra $v0, $v0, 0x18 +/* 171210 80242930 2403FFFF */ addiu $v1, $zero, -1 +/* 171214 80242934 1443000F */ bne $v0, $v1, .L80242974 +/* 171218 80242938 2405000A */ addiu $a1, $zero, 0xa +/* 17121C 8024293C 3C048029 */ lui $a0, 0x8029 +/* 171220 80242940 24849110 */ addiu $a0, $a0, -0x6ef0 +/* 171224 80242944 0C0B0CF8 */ jal start_script +/* 171228 80242948 0000302D */ daddu $a2, $zero, $zero +/* 17122C 8024294C 0040182D */ daddu $v1, $v0, $zero +/* 171230 80242950 AE2301D4 */ sw $v1, 0x1d4($s1) +/* 171234 80242954 8C620144 */ lw $v0, 0x144($v1) +/* 171238 80242958 AE2201E4 */ sw $v0, 0x1e4($s1) +/* 17123C 8024295C AC700084 */ sw $s0, 0x84($v1) +/* 171240 80242960 26100008 */ addiu $s0, $s0, 8 +/* 171244 80242964 24020001 */ addiu $v0, $zero, 1 +/* 171248 80242968 AC600148 */ sw $zero, 0x148($v1) +/* 17124C 8024296C AC6000AC */ sw $zero, 0xac($v1) +/* 171250 80242970 A262008C */ sb $v0, 0x8c($s3) +.L80242974: +/* 171254 80242974 826200B0 */ lb $v0, 0xb0($s3) +/* 171258 80242978 926300B0 */ lbu $v1, 0xb0($s3) +/* 17125C 8024297C 04400016 */ bltz $v0, .L802429D8 +/* 171260 80242980 2462FFFF */ addiu $v0, $v1, -1 +/* 171264 80242984 A26200B0 */ sb $v0, 0xb0($s3) +/* 171268 80242988 00021600 */ sll $v0, $v0, 0x18 +/* 17126C 8024298C 00021603 */ sra $v0, $v0, 0x18 +/* 171270 80242990 2403FFFF */ addiu $v1, $zero, -1 +/* 171274 80242994 14430011 */ bne $v0, $v1, .L802429DC +/* 171278 80242998 2402001E */ addiu $v0, $zero, 0x1e +/* 17127C 8024299C 3C048029 */ lui $a0, 0x8029 +/* 171280 802429A0 24849110 */ addiu $a0, $a0, -0x6ef0 +/* 171284 802429A4 2405000A */ addiu $a1, $zero, 0xa +/* 171288 802429A8 0C0B0CF8 */ jal start_script +/* 17128C 802429AC 0000302D */ daddu $a2, $zero, $zero +/* 171290 802429B0 0040182D */ daddu $v1, $v0, $zero +/* 171294 802429B4 AE2301D4 */ sw $v1, 0x1d4($s1) +/* 171298 802429B8 8C620144 */ lw $v0, 0x144($v1) +/* 17129C 802429BC AE2201E4 */ sw $v0, 0x1e4($s1) +/* 1712A0 802429C0 24020002 */ addiu $v0, $zero, 2 +/* 1712A4 802429C4 AC6200AC */ sw $v0, 0xac($v1) +/* 1712A8 802429C8 24020001 */ addiu $v0, $zero, 1 +/* 1712AC 802429CC AC600148 */ sw $zero, 0x148($v1) +/* 1712B0 802429D0 AC700084 */ sw $s0, 0x84($v1) +/* 1712B4 802429D4 A262008C */ sb $v0, 0x8c($s3) +.L802429D8: +/* 1712B8 802429D8 2402001E */ addiu $v0, $zero, 0x1e +.L802429DC: +/* 1712BC 802429DC 3C01800E */ lui $at, 0x800e +/* 1712C0 802429E0 AC22C4DC */ sw $v0, -0x3b24($at) +.L802429E4: +/* 1712C4 802429E4 3C03800E */ lui $v1, 0x800e +/* 1712C8 802429E8 8C63C4DC */ lw $v1, -0x3b24($v1) +/* 1712CC 802429EC 2402001E */ addiu $v0, $zero, 0x1e +/* 1712D0 802429F0 14620026 */ bne $v1, $v0, .L80242A8C +/* 1712D4 802429F4 00000000 */ nop +/* 1712D8 802429F8 8E2201D8 */ lw $v0, 0x1d8($s1) +/* 1712DC 802429FC 10400005 */ beqz $v0, .L80242A14 +/* 1712E0 80242A00 00000000 */ nop +/* 1712E4 80242A04 0C0B1059 */ jal does_script_exist +/* 1712E8 80242A08 8E2401E8 */ lw $a0, 0x1e8($s1) +/* 1712EC 80242A0C 1440001F */ bnez $v0, .L80242A8C +/* 1712F0 80242A10 00000000 */ nop +.L80242A14: +/* 1712F4 80242A14 0C098D19 */ jal func_80263464 +/* 1712F8 80242A18 AE2001D8 */ sw $zero, 0x1d8($s1) +/* 1712FC 80242A1C 1440001B */ bnez $v0, .L80242A8C +/* 171300 80242A20 00000000 */ nop +/* 171304 80242A24 0C098D0D */ jal func_80263434 +/* 171308 80242A28 00000000 */ nop +/* 17130C 80242A2C 14400017 */ bnez $v0, .L80242A8C +/* 171310 80242A30 00000000 */ nop +/* 171314 80242A34 3C03802A */ lui $v1, 0x802a +/* 171318 80242A38 2463F258 */ addiu $v1, $v1, -0xda8 +/* 17131C 80242A3C 8C620000 */ lw $v0, ($v1) +/* 171320 80242A40 10400003 */ beqz $v0, .L80242A50 +/* 171324 80242A44 2442FFFF */ addiu $v0, $v0, -1 +/* 171328 80242A48 08090AA3 */ j func_80242A8C +/* 17132C 80242A4C AC620000 */ sw $v0, ($v1) + +.L80242A50: +/* 171330 80242A50 3C02802A */ lui $v0, 0x802a +/* 171334 80242A54 8C42F254 */ lw $v0, -0xdac($v0) +/* 171338 80242A58 14400005 */ bnez $v0, .L80242A70 +/* 17133C 80242A5C 00000000 */ nop +/* 171340 80242A60 0C090464 */ jal func_80241190 +/* 171344 80242A64 2404000A */ addiu $a0, $zero, 0xa +/* 171348 80242A68 08090AA3 */ j func_80242A8C +/* 17134C 80242A6C 00000000 */ nop + +.L80242A70: +/* 171350 80242A70 0C090464 */ jal func_80241190 +/* 171354 80242A74 24040008 */ addiu $a0, $zero, 8 +/* 171358 80242A78 3C03800E */ lui $v1, 0x800e +/* 17135C 80242A7C 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 171360 80242A80 8C620004 */ lw $v0, 4($v1) +/* 171364 80242A84 34420002 */ ori $v0, $v0, 2 +/* 171368 80242A88 AC620004 */ sw $v0, 4($v1) +func_80242A8C: +.L80242A8C: +/* 17136C 80242A8C 8FBF0034 */ lw $ra, 0x34($sp) +/* 171370 80242A90 8FB60030 */ lw $s6, 0x30($sp) +/* 171374 80242A94 8FB5002C */ lw $s5, 0x2c($sp) +/* 171378 80242A98 8FB40028 */ lw $s4, 0x28($sp) +/* 17137C 80242A9C 8FB30024 */ lw $s3, 0x24($sp) +/* 171380 80242AA0 8FB20020 */ lw $s2, 0x20($sp) +/* 171384 80242AA4 8FB1001C */ lw $s1, 0x1c($sp) +/* 171388 80242AA8 8FB00018 */ lw $s0, 0x18($sp) +/* 17138C 80242AAC D7B80048 */ ldc1 $f24, 0x48($sp) +/* 171390 80242AB0 D7B60040 */ ldc1 $f22, 0x40($sp) +/* 171394 80242AB4 D7B40038 */ ldc1 $f20, 0x38($sp) +/* 171398 80242AB8 03E00008 */ jr $ra +/* 17139C 80242ABC 27BD0050 */ addiu $sp, $sp, 0x50 + +func_80242AC0: +/* 1713A0 80242AC0 03E00008 */ jr $ra +/* 1713A4 80242AC4 00000000 */ nop + +switch_to_player: +/* 1713A8 80242AC8 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 1713AC 80242ACC AFB00010 */ sw $s0, 0x10($sp) +/* 1713B0 80242AD0 3C10800E */ lui $s0, 0x800e +/* 1713B4 80242AD4 2610C070 */ addiu $s0, $s0, -0x3f90 +/* 1713B8 80242AD8 AFBF001C */ sw $ra, 0x1c($sp) +/* 1713BC 80242ADC AFB20018 */ sw $s2, 0x18($sp) +/* 1713C0 80242AE0 AFB10014 */ sw $s1, 0x14($sp) +/* 1713C4 80242AE4 8E1200D8 */ lw $s2, 0xd8($s0) +/* 1713C8 80242AE8 3C02800E */ lui $v0, 0x800e +/* 1713CC 80242AEC 8C42C4DC */ lw $v0, -0x3b24($v0) +/* 1713D0 80242AF0 8E1100DC */ lw $s1, 0xdc($s0) +/* 1713D4 80242AF4 14400026 */ bnez $v0, .L80242B90 +/* 1713D8 80242AF8 3C03FFF7 */ lui $v1, 0xfff7 +/* 1713DC 80242AFC 8E020000 */ lw $v0, ($s0) +/* 1713E0 80242B00 3463FFFF */ ori $v1, $v1, 0xffff +/* 1713E4 80242B04 00431024 */ and $v0, $v0, $v1 +/* 1713E8 80242B08 0C098F18 */ jal func_80263C60 +/* 1713EC 80242B0C AE020000 */ sw $v0, ($s0) +/* 1713F0 80242B10 8E020000 */ lw $v0, ($s0) +/* 1713F4 80242B14 2403007F */ addiu $v1, $zero, 0x7f +/* 1713F8 80242B18 A600017C */ sh $zero, 0x17c($s0) +/* 1713FC 80242B1C A2030086 */ sb $v1, 0x86($s0) +/* 171400 80242B20 A2030087 */ sb $v1, 0x87($s0) +/* 171404 80242B24 34420008 */ ori $v0, $v0, 8 +/* 171408 80242B28 AE020000 */ sw $v0, ($s0) +/* 17140C 80242B2C 8E420000 */ lw $v0, ($s2) +/* 171410 80242B30 3C030800 */ lui $v1, 0x800 +/* 171414 80242B34 00431025 */ or $v0, $v0, $v1 +/* 171418 80242B38 12200005 */ beqz $s1, .L80242B50 +/* 17141C 80242B3C AE420000 */ sw $v0, ($s2) +/* 171420 80242B40 8E220000 */ lw $v0, ($s1) +/* 171424 80242B44 3C030C00 */ lui $v1, 0xc00 +/* 171428 80242B48 00431025 */ or $v0, $v0, $v1 +/* 17142C 80242B4C AE220000 */ sw $v0, ($s1) +.L80242B50: +/* 171430 80242B50 0000282D */ daddu $a1, $zero, $zero +/* 171434 80242B54 3C070008 */ lui $a3, 8 +/* 171438 80242B58 3C060800 */ lui $a2, 0x800 +/* 17143C 80242B5C 0200202D */ daddu $a0, $s0, $zero +.L80242B60: +/* 171440 80242B60 8C8300E0 */ lw $v1, 0xe0($a0) +/* 171444 80242B64 10600005 */ beqz $v1, .L80242B7C +/* 171448 80242B68 24A50001 */ addiu $a1, $a1, 1 +/* 17144C 80242B6C 8C620000 */ lw $v0, ($v1) +/* 171450 80242B70 00471025 */ or $v0, $v0, $a3 +/* 171454 80242B74 00461025 */ or $v0, $v0, $a2 +/* 171458 80242B78 AC620000 */ sw $v0, ($v1) +.L80242B7C: +/* 17145C 80242B7C 28A20018 */ slti $v0, $a1, 0x18 +/* 171460 80242B80 1440FFF7 */ bnez $v0, .L80242B60 +/* 171464 80242B84 24840004 */ addiu $a0, $a0, 4 +/* 171468 80242B88 0C090464 */ jal func_80241190 +/* 17146C 80242B8C 2404000C */ addiu $a0, $zero, 0xc +.L80242B90: +/* 171470 80242B90 8FBF001C */ lw $ra, 0x1c($sp) +/* 171474 80242B94 8FB20018 */ lw $s2, 0x18($sp) +/* 171478 80242B98 8FB10014 */ lw $s1, 0x14($sp) +/* 17147C 80242B9C 8FB00010 */ lw $s0, 0x10($sp) +func_80242BA0: +/* 171480 80242BA0 03E00008 */ jr $ra +/* 171484 80242BA4 27BD0020 */ addiu $sp, $sp, 0x20 + +func_80242BA8: +/* 171488 80242BA8 03E00008 */ jr $ra +/* 17148C 80242BAC 00000000 */ nop + +update_partner_change_turn: +/* 171490 80242BB0 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 171494 80242BB4 AFB20018 */ sw $s2, 0x18($sp) +/* 171498 80242BB8 3C12800E */ lui $s2, 0x800e +/* 17149C 80242BBC 2652C070 */ addiu $s2, $s2, -0x3f90 +/* 1714A0 80242BC0 AFB10014 */ sw $s1, 0x14($sp) +/* 1714A4 80242BC4 3C11800E */ lui $s1, 0x800e +/* 1714A8 80242BC8 2631C4DC */ addiu $s1, $s1, -0x3b24 +/* 1714AC 80242BCC AFBF0020 */ sw $ra, 0x20($sp) +/* 1714B0 80242BD0 AFB3001C */ sw $s3, 0x1c($sp) +/* 1714B4 80242BD4 AFB00010 */ sw $s0, 0x10($sp) +/* 1714B8 80242BD8 8E220000 */ lw $v0, ($s1) +/* 1714BC 80242BDC 14400016 */ bnez $v0, .L80242C38 +/* 1714C0 80242BE0 8E5000DC */ lw $s0, 0xdc($s2) +/* 1714C4 80242BE4 16000006 */ bnez $s0, .L80242C00 +/* 1714C8 80242BE8 24030006 */ addiu $v1, $zero, 6 +/* 1714CC 80242BEC 24020001 */ addiu $v0, $zero, 1 +/* 1714D0 80242BF0 3C01802A */ lui $at, 0x802a +/* 1714D4 80242BF4 AC22F254 */ sw $v0, -0xdac($at) +/* 1714D8 80242BF8 08090B0D */ j func_80242C34 +/* 1714DC 80242BFC 2402000A */ addiu $v0, $zero, 0xa + +.L80242C00: +/* 1714E0 80242C00 8E420004 */ lw $v0, 4($s2) +/* 1714E4 80242C04 30420006 */ andi $v0, $v0, 6 +/* 1714E8 80242C08 104300B1 */ beq $v0, $v1, .L80242ED0 +/* 1714EC 80242C0C 3C030020 */ lui $v1, 0x20 +/* 1714F0 80242C10 8E020000 */ lw $v0, ($s0) +/* 1714F4 80242C14 00431024 */ and $v0, $v0, $v1 +/* 1714F8 80242C18 144000AE */ bnez $v0, .L80242ED4 +/* 1714FC 80242C1C 24040009 */ addiu $a0, $zero, 9 +/* 171500 80242C20 0C093903 */ jal func_8024E40C +/* 171504 80242C24 24040002 */ addiu $a0, $zero, 2 +/* 171508 80242C28 0C093936 */ jal move_cam_over +func_80242C2C: +/* 17150C 80242C2C 24040005 */ addiu $a0, $zero, 5 +/* 171510 80242C30 24020064 */ addiu $v0, $zero, 0x64 +func_80242C34: +/* 171514 80242C34 AE220000 */ sw $v0, ($s1) +.L80242C38: +/* 171518 80242C38 3C03800E */ lui $v1, 0x800e +/* 17151C 80242C3C 8C63C4DC */ lw $v1, -0x3b24($v1) +/* 171520 80242C40 24020064 */ addiu $v0, $zero, 0x64 +/* 171524 80242C44 14620048 */ bne $v1, $v0, .L80242D68 +/* 171528 80242C48 24020001 */ addiu $v0, $zero, 1 +/* 17152C 80242C4C 0C093961 */ jal func_8024E584 +/* 171530 80242C50 00000000 */ nop +/* 171534 80242C54 10400041 */ beqz $v0, .L80242D5C +/* 171538 80242C58 00000000 */ nop +/* 17153C 80242C5C 3C13802A */ lui $s3, 0x802a +/* 171540 80242C60 2673F258 */ addiu $s3, $s3, -0xda8 +/* 171544 80242C64 0C098F18 */ jal func_80263C60 +/* 171548 80242C68 AE600000 */ sw $zero, ($s3) +/* 17154C 80242C6C 2402007F */ addiu $v0, $zero, 0x7f +/* 171550 80242C70 3C05802A */ lui $a1, 0x802a +/* 171554 80242C74 24A5F254 */ addiu $a1, $a1, -0xdac +/* 171558 80242C78 8E5000DC */ lw $s0, 0xdc($s2) +/* 17155C 80242C7C 3C11800E */ lui $s1, 0x800e +/* 171560 80242C80 2631C070 */ addiu $s1, $s1, -0x3f90 +/* 171564 80242C84 A2420086 */ sb $v0, 0x86($s2) +/* 171568 80242C88 A2420087 */ sb $v0, 0x87($s2) +/* 17156C 80242C8C ACA00000 */ sw $zero, ($a1) +/* 171570 80242C90 8E220000 */ lw $v0, ($s1) +/* 171574 80242C94 3C030008 */ lui $v1, 8 +/* 171578 80242C98 00431025 */ or $v0, $v0, $v1 +/* 17157C 80242C9C AE220000 */ sw $v0, ($s1) +/* 171580 80242CA0 8E220004 */ lw $v0, 4($s1) +/* 171584 80242CA4 3C030010 */ lui $v1, 0x10 +/* 171588 80242CA8 00431025 */ or $v0, $v0, $v1 +/* 17158C 80242CAC 3C030800 */ lui $v1, 0x800 +/* 171590 80242CB0 AE220004 */ sw $v0, 4($s1) +/* 171594 80242CB4 8E020000 */ lw $v0, ($s0) +/* 171598 80242CB8 82040216 */ lb $a0, 0x216($s0) +/* 17159C 80242CBC 00431025 */ or $v0, $v0, $v1 +/* 1715A0 80242CC0 10800017 */ beqz $a0, .L80242D20 +/* 1715A4 80242CC4 AE020000 */ sw $v0, ($s0) +/* 1715A8 80242CC8 92020217 */ lbu $v0, 0x217($s0) +/* 1715AC 80242CCC 2442FFFF */ addiu $v0, $v0, -1 +/* 1715B0 80242CD0 A2020217 */ sb $v0, 0x217($s0) +/* 1715B4 80242CD4 24020001 */ addiu $v0, $zero, 1 +/* 1715B8 80242CD8 ACA20000 */ sw $v0, ($a1) +/* 1715BC 80242CDC 24020014 */ addiu $v0, $zero, 0x14 +/* 1715C0 80242CE0 AE620000 */ sw $v0, ($s3) +/* 1715C4 80242CE4 82030217 */ lb $v1, 0x217($s0) +func_80242CE8: +/* 1715C8 80242CE8 18600005 */ blez $v1, .L80242D00 +/* 1715CC 80242CEC 24040034 */ addiu $a0, $zero, 0x34 +/* 1715D0 80242CF0 8E020440 */ lw $v0, 0x440($s0) +/* 1715D4 80242CF4 8C42000C */ lw $v0, 0xc($v0) +func_80242CF8: +/* 1715D8 80242CF8 08090B48 */ j func_80242D20 +/* 1715DC 80242CFC AC43003C */ sw $v1, 0x3c($v0) + +.L80242D00: +/* 1715E0 80242D00 0C09F7A0 */ jal dispatch_event_partner +/* 1715E4 80242D04 A2000216 */ sb $zero, 0x216($s0) +/* 1715E8 80242D08 8E020440 */ lw $v0, 0x440($s0) +/* 1715EC 80242D0C 8C42000C */ lw $v0, 0xc($v0) +/* 1715F0 80242D10 AC40003C */ sw $zero, 0x3c($v0) +/* 1715F4 80242D14 8E220004 */ lw $v0, 4($s1) +/* 1715F8 80242D18 34420008 */ ori $v0, $v0, 8 +/* 1715FC 80242D1C AE220004 */ sw $v0, 4($s1) +func_80242D20: +.L80242D20: +/* 171600 80242D20 0000282D */ daddu $a1, $zero, $zero +/* 171604 80242D24 3C060C00 */ lui $a2, 0xc00 +/* 171608 80242D28 0240202D */ daddu $a0, $s2, $zero +.L80242D2C: +/* 17160C 80242D2C 8C8300E0 */ lw $v1, 0xe0($a0) +/* 171610 80242D30 10600004 */ beqz $v1, .L80242D44 +/* 171614 80242D34 24A50001 */ addiu $a1, $a1, 1 +/* 171618 80242D38 8C620000 */ lw $v0, ($v1) +/* 17161C 80242D3C 00461025 */ or $v0, $v0, $a2 +/* 171620 80242D40 AC620000 */ sw $v0, ($v1) +.L80242D44: +/* 171624 80242D44 28A20018 */ slti $v0, $a1, 0x18 +/* 171628 80242D48 1440FFF8 */ bnez $v0, .L80242D2C +/* 17162C 80242D4C 24840004 */ addiu $a0, $a0, 4 +/* 171630 80242D50 24020001 */ addiu $v0, $zero, 1 +func_80242D54: +/* 171634 80242D54 3C01800E */ lui $at, 0x800e +/* 171638 80242D58 AC22C4DC */ sw $v0, -0x3b24($at) +.L80242D5C: +/* 17163C 80242D5C 3C03800E */ lui $v1, 0x800e +/* 171640 80242D60 8C63C4DC */ lw $v1, -0x3b24($v1) +/* 171644 80242D64 24020001 */ addiu $v0, $zero, 1 +.L80242D68: +/* 171648 80242D68 1462001B */ bne $v1, $v0, .L80242DD8 +/* 17164C 80242D6C 00000000 */ nop +/* 171650 80242D70 1200000A */ beqz $s0, .L80242D9C +/* 171654 80242D74 00000000 */ nop +/* 171658 80242D78 8E0201D8 */ lw $v0, 0x1d8($s0) +/* 17165C 80242D7C 50400007 */ beql $v0, $zero, .L80242D9C +/* 171660 80242D80 AE0001D8 */ sw $zero, 0x1d8($s0) +/* 171664 80242D84 8E0401E8 */ lw $a0, 0x1e8($s0) +/* 171668 80242D88 0C0B1059 */ jal does_script_exist +/* 17166C 80242D8C 00000000 */ nop +/* 171670 80242D90 14400011 */ bnez $v0, .L80242DD8 +func_80242D94: +/* 171674 80242D94 00000000 */ nop +/* 171678 80242D98 AE0001D8 */ sw $zero, 0x1d8($s0) +.L80242D9C: +/* 17167C 80242D9C 3C02800E */ lui $v0, 0x800e +/* 171680 80242DA0 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 171684 80242DA4 8C430004 */ lw $v1, 4($v0) +/* 171688 80242DA8 2404FFF7 */ addiu $a0, $zero, -9 +/* 17168C 80242DAC 00641824 */ and $v1, $v1, $a0 +/* 171690 80242DB0 0C098D19 */ jal func_80263464 +/* 171694 80242DB4 AC430004 */ sw $v1, 4($v0) +/* 171698 80242DB8 14400048 */ bnez $v0, .L80242EDC +/* 17169C 80242DBC 00000000 */ nop +/* 1716A0 80242DC0 0C098D0D */ jal func_80263434 +/* 1716A4 80242DC4 00000000 */ nop +/* 1716A8 80242DC8 14400044 */ bnez $v0, .L80242EDC +/* 1716AC 80242DCC 24020008 */ addiu $v0, $zero, 8 +/* 1716B0 80242DD0 3C01800E */ lui $at, 0x800e +/* 1716B4 80242DD4 AC22C4DC */ sw $v0, -0x3b24($at) +.L80242DD8: +/* 1716B8 80242DD8 3C11800E */ lui $s1, 0x800e +/* 1716BC 80242DDC 2631C4DC */ addiu $s1, $s1, -0x3b24 +/* 1716C0 80242DE0 8E230000 */ lw $v1, ($s1) +/* 1716C4 80242DE4 24020008 */ addiu $v0, $zero, 8 +/* 1716C8 80242DE8 14620014 */ bne $v1, $v0, .L80242E3C +func_80242DEC: +/* 1716CC 80242DEC 24020009 */ addiu $v0, $zero, 9 +/* 1716D0 80242DF0 8E0201CC */ lw $v0, 0x1cc($s0) +/* 1716D4 80242DF4 1040000B */ beqz $v0, .L80242E24 +/* 1716D8 80242DF8 2402000C */ addiu $v0, $zero, 0xc +/* 1716DC 80242DFC 2405000A */ addiu $a1, $zero, 0xa +func_80242E00: +/* 1716E0 80242E00 A24201A7 */ sb $v0, 0x1a7($s2) +/* 1716E4 80242E04 8E0401CC */ lw $a0, 0x1cc($s0) +/* 1716E8 80242E08 0C0B0CF8 */ jal start_script +/* 1716EC 80242E0C 0000302D */ daddu $a2, $zero, $zero +/* 1716F0 80242E10 AE0201DC */ sw $v0, 0x1dc($s0) +/* 1716F4 80242E14 8C430144 */ lw $v1, 0x144($v0) +/* 1716F8 80242E18 AE0301EC */ sw $v1, 0x1ec($s0) +/* 1716FC 80242E1C 24030100 */ addiu $v1, $zero, 0x100 +/* 171700 80242E20 AC430148 */ sw $v1, 0x148($v0) +.L80242E24: +/* 171704 80242E24 24020009 */ addiu $v0, $zero, 9 +/* 171708 80242E28 AE220000 */ sw $v0, ($s1) +/* 17170C 80242E2C 3C11800E */ lui $s1, 0x800e +/* 171710 80242E30 2631C4DC */ addiu $s1, $s1, -0x3b24 +/* 171714 80242E34 8E230000 */ lw $v1, ($s1) +/* 171718 80242E38 24020009 */ addiu $v0, $zero, 9 +.L80242E3C: +/* 17171C 80242E3C 1462000A */ bne $v1, $v0, .L80242E68 +/* 171720 80242E40 00000000 */ nop +/* 171724 80242E44 8E0201CC */ lw $v0, 0x1cc($s0) +/* 171728 80242E48 10400006 */ beqz $v0, .L80242E64 +/* 17172C 80242E4C 2402000A */ addiu $v0, $zero, 0xa +/* 171730 80242E50 8E0401EC */ lw $a0, 0x1ec($s0) +/* 171734 80242E54 0C0B1059 */ jal does_script_exist +/* 171738 80242E58 00000000 */ nop +/* 17173C 80242E5C 14400002 */ bnez $v0, .L80242E68 +/* 171740 80242E60 2402000A */ addiu $v0, $zero, 0xa +.L80242E64: +/* 171744 80242E64 AE220000 */ sw $v0, ($s1) +.L80242E68: +/* 171748 80242E68 3C03800E */ lui $v1, 0x800e +/* 17174C 80242E6C 8C63C4DC */ lw $v1, -0x3b24($v1) +/* 171750 80242E70 2402000A */ addiu $v0, $zero, 0xa +/* 171754 80242E74 14620019 */ bne $v1, $v0, .L80242EDC +/* 171758 80242E78 00000000 */ nop +/* 17175C 80242E7C 3C03802A */ lui $v1, 0x802a +/* 171760 80242E80 2463F258 */ addiu $v1, $v1, -0xda8 +/* 171764 80242E84 8C620000 */ lw $v0, ($v1) +/* 171768 80242E88 10400003 */ beqz $v0, .L80242E98 +/* 17176C 80242E8C 2442FFFF */ addiu $v0, $v0, -1 +/* 171770 80242E90 08090BB7 */ j func_80242EDC +/* 171774 80242E94 AC620000 */ sw $v0, ($v1) + +.L80242E98: +/* 171778 80242E98 3C02FFEF */ lui $v0, 0xffef +/* 17177C 80242E9C 3442FFFF */ ori $v0, $v0, 0xffff +/* 171780 80242EA0 3C05800E */ lui $a1, 0x800e +/* 171784 80242EA4 24A5C070 */ addiu $a1, $a1, -0x3f90 +/* 171788 80242EA8 8CA30004 */ lw $v1, 4($a1) +/* 17178C 80242EAC 3C04802A */ lui $a0, 0x802a +/* 171790 80242EB0 8C84F254 */ lw $a0, -0xdac($a0) +/* 171794 80242EB4 00621024 */ and $v0, $v1, $v0 +/* 171798 80242EB8 14800003 */ bnez $a0, .L80242EC8 +/* 17179C 80242EBC ACA20004 */ sw $v0, 4($a1) +/* 1717A0 80242EC0 08090BB5 */ j func_80242ED4 +/* 1717A4 80242EC4 2404000B */ addiu $a0, $zero, 0xb + +.L80242EC8: +/* 1717A8 80242EC8 34420004 */ ori $v0, $v0, 4 +/* 1717AC 80242ECC ACA20004 */ sw $v0, 4($a1) +.L80242ED0: +/* 1717B0 80242ED0 24040009 */ addiu $a0, $zero, 9 +func_80242ED4: +.L80242ED4: +/* 1717B4 80242ED4 0C090464 */ jal func_80241190 +/* 1717B8 80242ED8 00000000 */ nop +func_80242EDC: +.L80242EDC: +/* 1717BC 80242EDC 8FBF0020 */ lw $ra, 0x20($sp) +/* 1717C0 80242EE0 8FB3001C */ lw $s3, 0x1c($sp) +/* 1717C4 80242EE4 8FB20018 */ lw $s2, 0x18($sp) +/* 1717C8 80242EE8 8FB10014 */ lw $s1, 0x14($sp) +/* 1717CC 80242EEC 8FB00010 */ lw $s0, 0x10($sp) +/* 1717D0 80242EF0 03E00008 */ jr $ra +/* 1717D4 80242EF4 27BD0028 */ addiu $sp, $sp, 0x28 + +func_80242EF8: +/* 1717D8 80242EF8 03E00008 */ jr $ra +/* 1717DC 80242EFC 00000000 */ nop + +switch_to_partner: +/* 1717E0 80242F00 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 1717E4 80242F04 AFB00010 */ sw $s0, 0x10($sp) +/* 1717E8 80242F08 3C10800E */ lui $s0, 0x800e +/* 1717EC 80242F0C 2610C070 */ addiu $s0, $s0, -0x3f90 +/* 1717F0 80242F10 AFBF001C */ sw $ra, 0x1c($sp) +/* 1717F4 80242F14 AFB20018 */ sw $s2, 0x18($sp) +/* 1717F8 80242F18 AFB10014 */ sw $s1, 0x14($sp) +/* 1717FC 80242F1C 8E1100D8 */ lw $s1, 0xd8($s0) +/* 171800 80242F20 3C02800E */ lui $v0, 0x800e +/* 171804 80242F24 8C42C4DC */ lw $v0, -0x3b24($v0) +/* 171808 80242F28 14400025 */ bnez $v0, .L80242FC0 +/* 17180C 80242F2C 8E1200DC */ lw $s2, 0xdc($s0) +/* 171810 80242F30 0C098F18 */ jal func_80263C60 +/* 171814 80242F34 00000000 */ nop +/* 171818 80242F38 0000282D */ daddu $a1, $zero, $zero +/* 17181C 80242F3C 3C070008 */ lui $a3, 8 +/* 171820 80242F40 3C060800 */ lui $a2, 0x800 +/* 171824 80242F44 0200202D */ daddu $a0, $s0, $zero +func_80242F48: +/* 171828 80242F48 2402007F */ addiu $v0, $zero, 0x7f +/* 17182C 80242F4C A0820086 */ sb $v0, 0x86($a0) +/* 171830 80242F50 A0820087 */ sb $v0, 0x87($a0) +/* 171834 80242F54 8C820000 */ lw $v0, ($a0) +/* 171838 80242F58 00E0182D */ daddu $v1, $a3, $zero +/* 17183C 80242F5C A480017C */ sh $zero, 0x17c($a0) +/* 171840 80242F60 00431025 */ or $v0, $v0, $v1 +/* 171844 80242F64 AC820000 */ sw $v0, ($a0) +func_80242F68: +/* 171848 80242F68 34420008 */ ori $v0, $v0, 8 +/* 17184C 80242F6C AC820000 */ sw $v0, ($a0) +/* 171850 80242F70 8E220000 */ lw $v0, ($s1) +/* 171854 80242F74 3C030C00 */ lui $v1, 0xc00 +/* 171858 80242F78 00431025 */ or $v0, $v0, $v1 +/* 17185C 80242F7C AE220000 */ sw $v0, ($s1) +/* 171860 80242F80 8E420000 */ lw $v0, ($s2) +/* 171864 80242F84 00C0182D */ daddu $v1, $a2, $zero +/* 171868 80242F88 00461025 */ or $v0, $v0, $a2 +/* 17186C 80242F8C AE420000 */ sw $v0, ($s2) +.L80242F90: +/* 171870 80242F90 8C8300E0 */ lw $v1, 0xe0($a0) +/* 171874 80242F94 10600005 */ beqz $v1, .L80242FAC +/* 171878 80242F98 24A50001 */ addiu $a1, $a1, 1 +/* 17187C 80242F9C 8C620000 */ lw $v0, ($v1) +/* 171880 80242FA0 00471025 */ or $v0, $v0, $a3 +/* 171884 80242FA4 00461025 */ or $v0, $v0, $a2 +/* 171888 80242FA8 AC620000 */ sw $v0, ($v1) +.L80242FAC: +/* 17188C 80242FAC 28A20018 */ slti $v0, $a1, 0x18 +/* 171890 80242FB0 1440FFF7 */ bnez $v0, .L80242F90 +/* 171894 80242FB4 24840004 */ addiu $a0, $a0, 4 +/* 171898 80242FB8 0C090464 */ jal func_80241190 +/* 17189C 80242FBC 2404000C */ addiu $a0, $zero, 0xc +.L80242FC0: +/* 1718A0 80242FC0 8FBF001C */ lw $ra, 0x1c($sp) +/* 1718A4 80242FC4 8FB20018 */ lw $s2, 0x18($sp) +/* 1718A8 80242FC8 8FB10014 */ lw $s1, 0x14($sp) +/* 1718AC 80242FCC 8FB00010 */ lw $s0, 0x10($sp) +/* 1718B0 80242FD0 03E00008 */ jr $ra +/* 1718B4 80242FD4 27BD0020 */ addiu $sp, $sp, 0x20 + +func_80242FD8: +/* 1718B8 80242FD8 03E00008 */ jr $ra +/* 1718BC 80242FDC 00000000 */ nop + +func_80242FE0: +/* 1718C0 80242FE0 27BDFFB8 */ addiu $sp, $sp, -0x48 +/* 1718C4 80242FE4 AFB60028 */ sw $s6, 0x28($sp) +/* 1718C8 80242FE8 3C16800E */ lui $s6, 0x800e +/* 1718CC 80242FEC 26D6C070 */ addiu $s6, $s6, -0x3f90 +/* 1718D0 80242FF0 AFBF002C */ sw $ra, 0x2c($sp) +/* 1718D4 80242FF4 AFB50024 */ sw $s5, 0x24($sp) +/* 1718D8 80242FF8 AFB40020 */ sw $s4, 0x20($sp) +/* 1718DC 80242FFC AFB3001C */ sw $s3, 0x1c($sp) +/* 1718E0 80243000 AFB20018 */ sw $s2, 0x18($sp) +/* 1718E4 80243004 AFB10014 */ sw $s1, 0x14($sp) +/* 1718E8 80243008 AFB00010 */ sw $s0, 0x10($sp) +/* 1718EC 8024300C F7B80040 */ sdc1 $f24, 0x40($sp) +/* 1718F0 80243010 F7B60038 */ sdc1 $f22, 0x38($sp) +/* 1718F4 80243014 F7B40030 */ sdc1 $f20, 0x30($sp) +/* 1718F8 80243018 8ED500D8 */ lw $s5, 0xd8($s6) +/* 1718FC 8024301C 3C02800E */ lui $v0, 0x800e +/* 171900 80243020 8C42C4DC */ lw $v0, -0x3b24($v0) +/* 171904 80243024 1440002D */ bnez $v0, .L802430DC +/* 171908 80243028 8ED200DC */ lw $s2, 0xdc($s6) +/* 17190C 8024302C 8EC30004 */ lw $v1, 4($s6) +/* 171910 80243030 30620002 */ andi $v0, $v1, 2 +/* 171914 80243034 10400227 */ beqz $v0, .L802438D4 +/* 171918 80243038 2404000A */ addiu $a0, $zero, 0xa +/* 17191C 8024303C 1240000A */ beqz $s2, .L80243068 +/* 171920 80243040 30620004 */ andi $v0, $v1, 4 +/* 171924 80243044 14400009 */ bnez $v0, .L8024306C +/* 171928 80243048 3C03F7FF */ lui $v1, 0xf7ff +/* 17192C 8024304C 8E420000 */ lw $v0, ($s2) +/* 171930 80243050 3C030020 */ lui $v1, 0x20 +/* 171934 80243054 00431024 */ and $v0, $v0, $v1 +/* 171938 80243058 14400004 */ bnez $v0, .L8024306C +/* 17193C 8024305C 3C03F7FF */ lui $v1, 0xf7ff +/* 171940 80243060 08090E35 */ j func_802438D4 +/* 171944 80243064 2404000B */ addiu $a0, $zero, 0xb + +.L80243068: +/* 171948 80243068 3C03F7FF */ lui $v1, 0xf7ff +.L8024306C: +/* 17194C 8024306C 3463FFFF */ ori $v1, $v1, 0xffff +/* 171950 80243070 8EA20000 */ lw $v0, ($s5) +/* 171954 80243074 3C040400 */ lui $a0, 0x400 +/* 171958 80243078 00431024 */ and $v0, $v0, $v1 +/* 17195C 8024307C 00441025 */ or $v0, $v0, $a0 +func_80243080: +/* 171960 80243080 12400005 */ beqz $s2, .L80243098 +/* 171964 80243084 AEA20000 */ sw $v0, ($s5) +/* 171968 80243088 8E420000 */ lw $v0, ($s2) +/* 17196C 8024308C 00431024 */ and $v0, $v0, $v1 +/* 171970 80243090 00441025 */ or $v0, $v0, $a0 +/* 171974 80243094 AE420000 */ sw $v0, ($s2) +.L80243098: +/* 171978 80243098 24020001 */ addiu $v0, $zero, 1 +/* 17197C 8024309C 3C04800E */ lui $a0, 0x800e +/* 171980 802430A0 2484C070 */ addiu $a0, $a0, -0x3f90 +/* 171984 802430A4 3C01800E */ lui $at, 0x800e +/* 171988 802430A8 AC22C4DC */ sw $v0, -0x3b24($at) +/* 17198C 802430AC 8C820004 */ lw $v0, 4($a0) +/* 171990 802430B0 2403FFFD */ addiu $v1, $zero, -3 +/* 171994 802430B4 3C01802A */ lui $at, 0x802a +/* 171998 802430B8 AC20F258 */ sw $zero, -0xda8($at) +/* 17199C 802430BC 00431024 */ and $v0, $v0, $v1 +/* 1719A0 802430C0 2403FFFB */ addiu $v1, $zero, -5 +/* 1719A4 802430C4 00431024 */ and $v0, $v0, $v1 +/* 1719A8 802430C8 2403FFF7 */ addiu $v1, $zero, -9 +/* 1719AC 802430CC 00431024 */ and $v0, $v0, $v1 +/* 1719B0 802430D0 2403FFEF */ addiu $v1, $zero, -0x11 +/* 1719B4 802430D4 00431024 */ and $v0, $v0, $v1 +/* 1719B8 802430D8 AC820004 */ sw $v0, 4($a0) +.L802430DC: +/* 1719BC 802430DC 3C03800E */ lui $v1, 0x800e +/* 1719C0 802430E0 8C63C4DC */ lw $v1, -0x3b24($v1) +/* 1719C4 802430E4 24020001 */ addiu $v0, $zero, 1 +/* 1719C8 802430E8 14620091 */ bne $v1, $v0, .L80243330 +/* 1719CC 802430EC 24020002 */ addiu $v0, $zero, 2 +/* 1719D0 802430F0 0000A02D */ daddu $s4, $zero, $zero +/* 1719D4 802430F4 0280882D */ daddu $s1, $s4, $zero +/* 1719D8 802430F8 02C0982D */ daddu $s3, $s6, $zero +.L802430FC: +/* 1719DC 802430FC 8E7000E0 */ lw $s0, 0xe0($s3) +/* 1719E0 80243100 5200000B */ beql $s0, $zero, .L80243130 +/* 1719E4 80243104 26310001 */ addiu $s1, $s1, 1 +/* 1719E8 80243108 8E0201D8 */ lw $v0, 0x1d8($s0) +/* 1719EC 8024310C 50400008 */ beql $v0, $zero, .L80243130 +/* 1719F0 80243110 26310001 */ addiu $s1, $s1, 1 +/* 1719F4 80243114 8E0401E8 */ lw $a0, 0x1e8($s0) +/* 1719F8 80243118 0C0B1059 */ jal does_script_exist +/* 1719FC 8024311C 00000000 */ nop +/* 171A00 80243120 50400002 */ beql $v0, $zero, .L8024312C +/* 171A04 80243124 AE0001D8 */ sw $zero, 0x1d8($s0) +/* 171A08 80243128 24140001 */ addiu $s4, $zero, 1 +.L8024312C: +/* 171A0C 8024312C 26310001 */ addiu $s1, $s1, 1 +.L80243130: +/* 171A10 80243130 2A220018 */ slti $v0, $s1, 0x18 +/* 171A14 80243134 1440FFF1 */ bnez $v0, .L802430FC +/* 171A18 80243138 26730004 */ addiu $s3, $s3, 4 +/* 171A1C 8024313C 16800079 */ bnez $s4, .L80243324 +/* 171A20 80243140 00000000 */ nop +/* 171A24 80243144 0C098F18 */ jal func_80263C60 +/* 171A28 80243148 0000882D */ daddu $s1, $zero, $zero +/* 171A2C 8024314C 24130014 */ addiu $s3, $zero, 0x14 +/* 171A30 80243150 3C14800E */ lui $s4, 0x800e +/* 171A34 80243154 2694C070 */ addiu $s4, $s4, -0x3f90 +/* 171A38 80243158 00111080 */ sll $v0, $s1, 2 +.L8024315C: +/* 171A3C 8024315C 02C21021 */ addu $v0, $s6, $v0 +/* 171A40 80243160 8C5000E0 */ lw $s0, 0xe0($v0) +/* 171A44 80243164 52000069 */ beql $s0, $zero, .L8024330C +/* 171A48 80243168 26310001 */ addiu $s1, $s1, 1 +/* 171A4C 8024316C 3C04FFFE */ lui $a0, 0xfffe +/* 171A50 80243170 3484FFFF */ ori $a0, $a0, 0xffff +/* 171A54 80243174 8E020000 */ lw $v0, ($s0) +/* 171A58 80243178 3C030C00 */ lui $v1, 0xc00 +/* 171A5C 8024317C 00431025 */ or $v0, $v0, $v1 +/* 171A60 80243180 00442024 */ and $a0, $v0, $a0 +/* 171A64 80243184 82020210 */ lb $v0, 0x210($s0) +/* 171A68 80243188 92030210 */ lbu $v1, 0x210($s0) +/* 171A6C 8024318C 10400015 */ beqz $v0, .L802431E4 +/* 171A70 80243190 AE040000 */ sw $a0, ($s0) +func_80243194: +/* 171A74 80243194 2462FFFD */ addiu $v0, $v1, -3 +/* 171A78 80243198 2C420006 */ sltiu $v0, $v0, 6 +/* 171A7C 8024319C 10400003 */ beqz $v0, .L802431AC +/* 171A80 802431A0 3C020001 */ lui $v0, 1 +/* 171A84 802431A4 00821025 */ or $v0, $a0, $v0 +/* 171A88 802431A8 AE020000 */ sw $v0, ($s0) +.L802431AC: +/* 171A8C 802431AC 92020211 */ lbu $v0, 0x211($s0) +/* 171A90 802431B0 2442FFFF */ addiu $v0, $v0, -1 +/* 171A94 802431B4 A2020211 */ sb $v0, 0x211($s0) +/* 171A98 802431B8 00021600 */ sll $v0, $v0, 0x18 +/* 171A9C 802431BC 1C400009 */ bgtz $v0, .L802431E4 +/* 171AA0 802431C0 00000000 */ nop +/* 171AA4 802431C4 86040436 */ lh $a0, 0x436($s0) +/* 171AA8 802431C8 0C011E26 */ jal func_80047898 +/* 171AAC 802431CC A2000210 */ sb $zero, 0x210($s0) +/* 171AB0 802431D0 0200202D */ daddu $a0, $s0, $zero +/* 171AB4 802431D4 0C09DC58 */ jal dispatch_event_actor +/* 171AB8 802431D8 24050031 */ addiu $a1, $zero, 0x31 +/* 171ABC 802431DC 3C01802A */ lui $at, 0x802a +/* 171AC0 802431E0 AC33F258 */ sw $s3, -0xda8($at) +.L802431E4: +/* 171AC4 802431E4 82020212 */ lb $v0, 0x212($s0) +/* 171AC8 802431E8 1040000C */ beqz $v0, .L8024321C +/* 171ACC 802431EC 00000000 */ nop +/* 171AD0 802431F0 92020213 */ lbu $v0, 0x213($s0) +/* 171AD4 802431F4 2442FFFF */ addiu $v0, $v0, -1 +/* 171AD8 802431F8 A2020213 */ sb $v0, 0x213($s0) +/* 171ADC 802431FC 00021600 */ sll $v0, $v0, 0x18 +/* 171AE0 80243200 1C400006 */ bgtz $v0, .L8024321C +/* 171AE4 80243204 00000000 */ nop +/* 171AE8 80243208 86040436 */ lh $a0, 0x436($s0) +/* 171AEC 8024320C 0C011E68 */ jal func_800479A0 +/* 171AF0 80243210 A2000212 */ sb $zero, 0x212($s0) +/* 171AF4 80243214 3C01802A */ lui $at, 0x802a +/* 171AF8 80243218 AC33F258 */ sw $s3, -0xda8($at) +.L8024321C: +/* 171AFC 8024321C 82020218 */ lb $v0, 0x218($s0) +/* 171B00 80243220 1040000C */ beqz $v0, .L80243254 +/* 171B04 80243224 00000000 */ nop +/* 171B08 80243228 92020219 */ lbu $v0, 0x219($s0) +/* 171B0C 8024322C 2442FFFF */ addiu $v0, $v0, -1 +/* 171B10 80243230 A2020219 */ sb $v0, 0x219($s0) +/* 171B14 80243234 00021600 */ sll $v0, $v0, 0x18 +/* 171B18 80243238 1C400006 */ bgtz $v0, .L80243254 +/* 171B1C 8024323C 00000000 */ nop +/* 171B20 80243240 86040436 */ lh $a0, 0x436($s0) +/* 171B24 80243244 0C011EAA */ jal func_80047AA8 +/* 171B28 80243248 A2000218 */ sb $zero, 0x218($s0) +/* 171B2C 8024324C 3C01802A */ lui $at, 0x802a +/* 171B30 80243250 AC33F258 */ sw $s3, -0xda8($at) +func_80243254: +.L80243254: +/* 171B34 80243254 82020214 */ lb $v0, 0x214($s0) +/* 171B38 80243258 1040000A */ beqz $v0, .L80243284 +/* 171B3C 8024325C 00000000 */ nop +/* 171B40 80243260 92020215 */ lbu $v0, 0x215($s0) +/* 171B44 80243264 2442FFFF */ addiu $v0, $v0, -1 +/* 171B48 80243268 A2020215 */ sb $v0, 0x215($s0) +/* 171B4C 8024326C 00021600 */ sll $v0, $v0, 0x18 +/* 171B50 80243270 1C400004 */ bgtz $v0, .L80243284 +/* 171B54 80243274 00000000 */ nop +/* 171B58 80243278 A2000214 */ sb $zero, 0x214($s0) +/* 171B5C 8024327C 3C01802A */ lui $at, 0x802a +/* 171B60 80243280 AC33F258 */ sw $s3, -0xda8($at) +.L80243284: +/* 171B64 80243284 92020211 */ lbu $v0, 0x211($s0) +/* 171B68 80243288 82030217 */ lb $v1, 0x217($s0) +/* 171B6C 8024328C A2020217 */ sb $v0, 0x217($s0) +/* 171B70 80243290 00021600 */ sll $v0, $v0, 0x18 +/* 171B74 80243294 00021603 */ sra $v0, $v0, 0x18 +/* 171B78 80243298 18400008 */ blez $v0, .L802432BC +/* 171B7C 8024329C 00000000 */ nop +/* 171B80 802432A0 8E030440 */ lw $v1, 0x440($s0) +/* 171B84 802432A4 2402000D */ addiu $v0, $zero, 0xd +/* 171B88 802432A8 A2020216 */ sb $v0, 0x216($s0) +/* 171B8C 802432AC 82020217 */ lb $v0, 0x217($s0) +/* 171B90 802432B0 8C63000C */ lw $v1, 0xc($v1) +/* 171B94 802432B4 08090CB5 */ j func_802432D4 +/* 171B98 802432B8 AC62003C */ sw $v0, 0x3c($v1) + +.L802432BC: +/* 171B9C 802432BC 10620005 */ beq $v1, $v0, .L802432D4 +/* 171BA0 802432C0 00000000 */ nop +/* 171BA4 802432C4 8E020440 */ lw $v0, 0x440($s0) +/* 171BA8 802432C8 A2000216 */ sb $zero, 0x216($s0) +/* 171BAC 802432CC 8C42000C */ lw $v0, 0xc($v0) +/* 171BB0 802432D0 AC40003C */ sw $zero, 0x3c($v0) +func_802432D4: +.L802432D4: +/* 171BB4 802432D4 82030210 */ lb $v1, 0x210($s0) +/* 171BB8 802432D8 24020009 */ addiu $v0, $zero, 9 +/* 171BBC 802432DC 5462000B */ bnel $v1, $v0, .L8024330C +/* 171BC0 802432E0 26310001 */ addiu $s1, $s1, 1 +/* 171BC4 802432E4 0200202D */ daddu $a0, $s0, $zero +/* 171BC8 802432E8 24050001 */ addiu $a1, $zero, 1 +/* 171BCC 802432EC 8E820000 */ lw $v0, ($s4) +/* 171BD0 802432F0 2406000A */ addiu $a2, $zero, 0xa +/* 171BD4 802432F4 34420020 */ ori $v0, $v0, 0x20 +/* 171BD8 802432F8 0C09E23E */ jal dispatch_damage_event_actor_0 +/* 171BDC 802432FC AE820000 */ sw $v0, ($s4) +/* 171BE0 80243300 3C01802A */ lui $at, 0x802a +/* 171BE4 80243304 AC33F258 */ sw $s3, -0xda8($at) +/* 171BE8 80243308 26310001 */ addiu $s1, $s1, 1 +.L8024330C: +/* 171BEC 8024330C 2A220018 */ slti $v0, $s1, 0x18 +/* 171BF0 80243310 1440FF92 */ bnez $v0, .L8024315C +/* 171BF4 80243314 00111080 */ sll $v0, $s1, 2 +/* 171BF8 80243318 24020002 */ addiu $v0, $zero, 2 +/* 171BFC 8024331C 3C01800E */ lui $at, 0x800e +/* 171C00 80243320 AC22C4DC */ sw $v0, -0x3b24($at) +.L80243324: +/* 171C04 80243324 3C03800E */ lui $v1, 0x800e +/* 171C08 80243328 8C63C4DC */ lw $v1, -0x3b24($v1) +/* 171C0C 8024332C 24020002 */ addiu $v0, $zero, 2 +.L80243330: +/* 171C10 80243330 14620070 */ bne $v1, $v0, .L802434F4 +/* 171C14 80243334 00000000 */ nop +/* 171C18 80243338 8EA201D8 */ lw $v0, 0x1d8($s5) +/* 171C1C 8024333C 10400005 */ beqz $v0, .L80243354 +/* 171C20 80243340 00000000 */ nop +/* 171C24 80243344 0C0B1059 */ jal does_script_exist +/* 171C28 80243348 8EA401E8 */ lw $a0, 0x1e8($s5) +/* 171C2C 8024334C 14400069 */ bnez $v0, .L802434F4 +/* 171C30 80243350 00000000 */ nop +.L80243354: +/* 171C34 80243354 1240000A */ beqz $s2, .L80243380 +/* 171C38 80243358 AEA001D8 */ sw $zero, 0x1d8($s5) +/* 171C3C 8024335C 8E4201D8 */ lw $v0, 0x1d8($s2) +/* 171C40 80243360 50400007 */ beql $v0, $zero, .L80243380 +/* 171C44 80243364 AE4001D8 */ sw $zero, 0x1d8($s2) +/* 171C48 80243368 8E4401E8 */ lw $a0, 0x1e8($s2) +/* 171C4C 8024336C 0C0B1059 */ jal does_script_exist +/* 171C50 80243370 00000000 */ nop +/* 171C54 80243374 1440005F */ bnez $v0, .L802434F4 +/* 171C58 80243378 00000000 */ nop +/* 171C5C 8024337C AE4001D8 */ sw $zero, 0x1d8($s2) +.L80243380: +/* 171C60 80243380 0000A02D */ daddu $s4, $zero, $zero +/* 171C64 80243384 0280882D */ daddu $s1, $s4, $zero +/* 171C68 80243388 02C0982D */ daddu $s3, $s6, $zero +.L8024338C: +/* 171C6C 8024338C 8E7000E0 */ lw $s0, 0xe0($s3) +/* 171C70 80243390 5200000B */ beql $s0, $zero, .L802433C0 +/* 171C74 80243394 26310001 */ addiu $s1, $s1, 1 +/* 171C78 80243398 8E0201D8 */ lw $v0, 0x1d8($s0) +/* 171C7C 8024339C 50400008 */ beql $v0, $zero, .L802433C0 +/* 171C80 802433A0 26310001 */ addiu $s1, $s1, 1 +/* 171C84 802433A4 8E0401E8 */ lw $a0, 0x1e8($s0) +/* 171C88 802433A8 0C0B1059 */ jal does_script_exist +/* 171C8C 802433AC 00000000 */ nop +/* 171C90 802433B0 50400002 */ beql $v0, $zero, .L802433BC +/* 171C94 802433B4 AE0001D8 */ sw $zero, 0x1d8($s0) +/* 171C98 802433B8 24140001 */ addiu $s4, $zero, 1 +.L802433BC: +/* 171C9C 802433BC 26310001 */ addiu $s1, $s1, 1 +.L802433C0: +/* 171CA0 802433C0 2A220018 */ slti $v0, $s1, 0x18 +/* 171CA4 802433C4 1440FFF1 */ bnez $v0, .L8024338C +/* 171CA8 802433C8 26730004 */ addiu $s3, $s3, 4 +/* 171CAC 802433CC 16800049 */ bnez $s4, .L802434F4 +/* 171CB0 802433D0 00000000 */ nop +/* 171CB4 802433D4 0C098D19 */ jal func_80263464 +/* 171CB8 802433D8 00000000 */ nop +/* 171CBC 802433DC 1440013F */ bnez $v0, .L802438DC +/* 171CC0 802433E0 00000000 */ nop +/* 171CC4 802433E4 0C098D0D */ jal func_80263434 +/* 171CC8 802433E8 00000000 */ nop +/* 171CCC 802433EC 1440013B */ bnez $v0, .L802438DC +/* 171CD0 802433F0 00000000 */ nop +/* 171CD4 802433F4 0C093903 */ jal func_8024E40C +/* 171CD8 802433F8 24040002 */ addiu $a0, $zero, 2 +/* 171CDC 802433FC 12400007 */ beqz $s2, .L8024341C +/* 171CE0 80243400 3C030010 */ lui $v1, 0x10 +/* 171CE4 80243404 3C04800E */ lui $a0, 0x800e +/* 171CE8 80243408 2484C070 */ addiu $a0, $a0, -0x3f90 +/* 171CEC 8024340C 8C820000 */ lw $v0, ($a0) +/* 171CF0 80243410 00431024 */ and $v0, $v0, $v1 +/* 171CF4 80243414 14400003 */ bnez $v0, .L80243424 +/* 171CF8 80243418 00000000 */ nop +.L8024341C: +/* 171CFC 8024341C 08090D3B */ j func_802434EC +/* 171D00 80243420 24020004 */ addiu $v0, $zero, 4 + +.L80243424: +/* 171D04 80243424 8C820004 */ lw $v0, 4($a0) +/* 171D08 80243428 30420040 */ andi $v0, $v0, 0x40 +/* 171D0C 8024342C 1440002F */ bnez $v0, .L802434EC +/* 171D10 80243430 24020004 */ addiu $v0, $zero, 4 +/* 171D14 80243434 3C03F7FF */ lui $v1, 0xf7ff +/* 171D18 80243438 8EA20000 */ lw $v0, ($s5) +/* 171D1C 8024343C 3463FFFF */ ori $v1, $v1, 0xffff +/* 171D20 80243440 00431024 */ and $v0, $v0, $v1 +/* 171D24 80243444 AEA20000 */ sw $v0, ($s5) +/* 171D28 80243448 8E420000 */ lw $v0, ($s2) +/* 171D2C 8024344C 00431024 */ and $v0, $v0, $v1 +/* 171D30 80243450 AE420000 */ sw $v0, ($s2) +/* 171D34 80243454 8EA20000 */ lw $v0, ($s5) +/* 171D38 80243458 3C030400 */ lui $v1, 0x400 +/* 171D3C 8024345C 00431025 */ or $v0, $v0, $v1 +/* 171D40 80243460 AEA20000 */ sw $v0, ($s5) +/* 171D44 80243464 8E420000 */ lw $v0, ($s2) +/* 171D48 80243468 00431025 */ or $v0, $v0, $v1 +/* 171D4C 8024346C AE420000 */ sw $v0, ($s2) +/* 171D50 80243470 82C2009A */ lb $v0, 0x9a($s6) +/* 171D54 80243474 1440000A */ bnez $v0, .L802434A0 +/* 171D58 80243478 2643000C */ addiu $v1, $s2, 0xc +/* 171D5C 8024347C C6400138 */ lwc1 $f0, 0x138($s2) +/* 171D60 80243480 C6420140 */ lwc1 $f2, 0x140($s2) +/* 171D64 80243484 E640000C */ swc1 $f0, 0xc($s2) +/* 171D68 80243488 E6420014 */ swc1 $f2, 0x14($s2) +/* 171D6C 8024348C C6A00138 */ lwc1 $f0, 0x138($s5) +/* 171D70 80243490 E6400018 */ swc1 $f0, 0x18($s2) +/* 171D74 80243494 C6A00140 */ lwc1 $f0, 0x140($s5) +/* 171D78 80243498 08090D37 */ j func_802434DC +/* 171D7C 8024349C E6400020 */ swc1 $f0, 0x20($s2) + +.L802434A0: +/* 171D80 802434A0 C6400138 */ lwc1 $f0, 0x138($s2) +/* 171D84 802434A4 C6460140 */ lwc1 $f6, 0x140($s2) +/* 171D88 802434A8 3C0140A0 */ lui $at, 0x40a0 +/* 171D8C 802434AC 44811000 */ mtc1 $at, $f2 +/* 171D90 802434B0 C6440138 */ lwc1 $f4, 0x138($s2) +/* 171D94 802434B4 E640000C */ swc1 $f0, 0xc($s2) +/* 171D98 802434B8 46003006 */ mov.s $f0, $f6 +/* 171D9C 802434BC 46020000 */ add.s $f0, $f0, $f2 +/* 171DA0 802434C0 E6460014 */ swc1 $f6, 0x14($s2) +/* 171DA4 802434C4 E6440018 */ swc1 $f4, 0x18($s2) +/* 171DA8 802434C8 E6400020 */ swc1 $f0, 0x20($s2) +/* 171DAC 802434CC C6A00138 */ lwc1 $f0, 0x138($s5) +/* 171DB0 802434D0 E6400138 */ swc1 $f0, 0x138($s2) +/* 171DB4 802434D4 C6A00140 */ lwc1 $f0, 0x140($s5) +/* 171DB8 802434D8 E6400140 */ swc1 $f0, 0x140($s2) +func_802434DC: +/* 171DBC 802434DC 24020004 */ addiu $v0, $zero, 4 +/* 171DC0 802434E0 A4620064 */ sh $v0, 0x64($v1) +/* 171DC4 802434E4 24020003 */ addiu $v0, $zero, 3 +/* 171DC8 802434E8 AC600048 */ sw $zero, 0x48($v1) +func_802434EC: +.L802434EC: +/* 171DCC 802434EC 3C01800E */ lui $at, 0x800e +/* 171DD0 802434F0 AC22C4DC */ sw $v0, -0x3b24($at) +.L802434F4: +/* 171DD4 802434F4 3C03800E */ lui $v1, 0x800e +/* 171DD8 802434F8 8C63C4DC */ lw $v1, -0x3b24($v1) +/* 171DDC 802434FC 24020003 */ addiu $v0, $zero, 3 +/* 171DE0 80243500 1462006F */ bne $v1, $v0, .L802436C0 +/* 171DE4 80243504 00000000 */ nop +/* 171DE8 80243508 86420070 */ lh $v0, 0x70($s2) +/* 171DEC 8024350C 10400022 */ beqz $v0, .L80243598 +/* 171DF0 80243510 00000000 */ nop +/* 171DF4 80243514 C6400018 */ lwc1 $f0, 0x18($s2) +/* 171DF8 80243518 C6480144 */ lwc1 $f8, 0x144($s2) +/* 171DFC 8024351C C6420020 */ lwc1 $f2, 0x20($s2) +/* 171E00 80243520 46080001 */ sub.s $f0, $f0, $f8 +/* 171E04 80243524 C644014C */ lwc1 $f4, 0x14c($s2) +/* 171E08 80243528 46041081 */ sub.s $f2, $f2, $f4 +/* 171E0C 8024352C 44823000 */ mtc1 $v0, $f6 +/* 171E10 80243530 00000000 */ nop +/* 171E14 80243534 468031A0 */ cvt.s.w $f6, $f6 +/* 171E18 80243538 46060003 */ div.s $f0, $f0, $f6 +/* 171E1C 8024353C 46004200 */ add.s $f8, $f8, $f0 +/* 171E20 80243540 46003006 */ mov.s $f0, $f6 +/* 171E24 80243544 46061083 */ div.s $f2, $f2, $f6 +/* 171E28 80243548 C640000C */ lwc1 $f0, 0xc($s2) +/* 171E2C 8024354C 46022100 */ add.s $f4, $f4, $f2 +/* 171E30 80243550 E6480144 */ swc1 $f8, 0x144($s2) +/* 171E34 80243554 E644014C */ swc1 $f4, 0x14c($s2) +/* 171E38 80243558 C6A40144 */ lwc1 $f4, 0x144($s5) +/* 171E3C 8024355C 46040001 */ sub.s $f0, $f0, $f4 +/* 171E40 80243560 46003086 */ mov.s $f2, $f6 +/* 171E44 80243564 46060003 */ div.s $f0, $f0, $f6 +/* 171E48 80243568 46002100 */ add.s $f4, $f4, $f0 +/* 171E4C 8024356C E6A40144 */ swc1 $f4, 0x144($s5) +/* 171E50 80243570 C6400014 */ lwc1 $f0, 0x14($s2) +/* 171E54 80243574 C6A4014C */ lwc1 $f4, 0x14c($s5) +/* 171E58 80243578 86420070 */ lh $v0, 0x70($s2) +/* 171E5C 8024357C 46040001 */ sub.s $f0, $f0, $f4 +/* 171E60 80243580 44821000 */ mtc1 $v0, $f2 +/* 171E64 80243584 00000000 */ nop +/* 171E68 80243588 468010A0 */ cvt.s.w $f2, $f2 +/* 171E6C 8024358C 46020003 */ div.s $f0, $f0, $f2 +/* 171E70 80243590 46002100 */ add.s $f4, $f4, $f0 +/* 171E74 80243594 E6A4014C */ swc1 $f4, 0x14c($s5) +.L80243598: +/* 171E78 80243598 C64C0054 */ lwc1 $f12, 0x54($s2) +/* 171E7C 8024359C 3C0140C9 */ lui $at, 0x40c9 +/* 171E80 802435A0 34210FD0 */ ori $at, $at, 0xfd0 +/* 171E84 802435A4 4481B000 */ mtc1 $at, $f22 +/* 171E88 802435A8 00000000 */ nop +/* 171E8C 802435AC 46166302 */ mul.s $f12, $f12, $f22 +/* 171E90 802435B0 00000000 */ nop +/* 171E94 802435B4 3C0143B4 */ lui $at, 0x43b4 +/* 171E98 802435B8 4481C000 */ mtc1 $at, $f24 +/* 171E9C 802435BC 3C014180 */ lui $at, 0x4180 +/* 171EA0 802435C0 4481A000 */ mtc1 $at, $f20 +/* 171EA4 802435C4 0C00A85B */ jal sin_rad +/* 171EA8 802435C8 46186303 */ div.s $f12, $f12, $f24 +/* 171EAC 802435CC 46140002 */ mul.s $f0, $f0, $f20 +/* 171EB0 802435D0 00000000 */ nop +/* 171EB4 802435D4 C642014C */ lwc1 $f2, 0x14c($s2) +/* 171EB8 802435D8 46001081 */ sub.s $f2, $f2, $f0 +/* 171EBC 802435DC C64C0054 */ lwc1 $f12, 0x54($s2) +/* 171EC0 802435E0 0C00A6C9 */ jal clamp_angle +/* 171EC4 802435E4 E642014C */ swc1 $f2, 0x14c($s2) +/* 171EC8 802435E8 C64C0054 */ lwc1 $f12, 0x54($s2) +/* 171ECC 802435EC 46166302 */ mul.s $f12, $f12, $f22 +/* 171ED0 802435F0 00000000 */ nop +/* 171ED4 802435F4 E640018C */ swc1 $f0, 0x18c($s2) +/* 171ED8 802435F8 0C00A85B */ jal sin_rad +/* 171EDC 802435FC 46186303 */ div.s $f12, $f12, $f24 +/* 171EE0 80243600 46140002 */ mul.s $f0, $f0, $f20 +/* 171EE4 80243604 00000000 */ nop +/* 171EE8 80243608 C6A2014C */ lwc1 $f2, 0x14c($s5) +/* 171EEC 8024360C 46001080 */ add.s $f2, $f2, $f0 +/* 171EF0 80243610 E6A2014C */ swc1 $f2, 0x14c($s5) +/* 171EF4 80243614 0C00A6C9 */ jal clamp_angle +/* 171EF8 80243618 C64C0054 */ lwc1 $f12, 0x54($s2) +/* 171EFC 8024361C E6A0018C */ swc1 $f0, 0x18c($s5) +/* 171F00 80243620 C6400054 */ lwc1 $f0, 0x54($s2) +/* 171F04 80243624 3C0142B4 */ lui $at, 0x42b4 +/* 171F08 80243628 44811000 */ mtc1 $at, $f2 +/* 171F0C 8024362C 86420070 */ lh $v0, 0x70($s2) +/* 171F10 80243630 46020000 */ add.s $f0, $f0, $f2 +/* 171F14 80243634 96430070 */ lhu $v1, 0x70($s2) +/* 171F18 80243638 10400004 */ beqz $v0, .L8024364C +/* 171F1C 8024363C E6400054 */ swc1 $f0, 0x54($s2) +/* 171F20 80243640 2462FFFF */ addiu $v0, $v1, -1 +/* 171F24 80243644 08090DB0 */ j func_802436C0 +/* 171F28 80243648 A6420070 */ sh $v0, 0x70($s2) + +.L8024364C: +/* 171F2C 8024364C C6400018 */ lwc1 $f0, 0x18($s2) +/* 171F30 80243650 C6420020 */ lwc1 $f2, 0x20($s2) +/* 171F34 80243654 C644000C */ lwc1 $f4, 0xc($s2) +/* 171F38 80243658 E6400144 */ swc1 $f0, 0x144($s2) +/* 171F3C 8024365C E642014C */ swc1 $f2, 0x14c($s2) +/* 171F40 80243660 E6A40144 */ swc1 $f4, 0x144($s5) +/* 171F44 80243664 C6400014 */ lwc1 $f0, 0x14($s2) +/* 171F48 80243668 E6A0014C */ swc1 $f0, 0x14c($s5) +/* 171F4C 8024366C 82C2009A */ lb $v0, 0x9a($s6) +/* 171F50 80243670 14400005 */ bnez $v0, .L80243688 +/* 171F54 80243674 00000000 */ nop +/* 171F58 80243678 C6400144 */ lwc1 $f0, 0x144($s2) +/* 171F5C 8024367C C642014C */ lwc1 $f2, 0x14c($s2) +/* 171F60 80243680 E6400138 */ swc1 $f0, 0x138($s2) +/* 171F64 80243684 E6420140 */ swc1 $f2, 0x140($s2) +.L80243688: +/* 171F68 80243688 C6A00144 */ lwc1 $f0, 0x144($s5) +/* 171F6C 8024368C C6A2014C */ lwc1 $f2, 0x14c($s5) +/* 171F70 80243690 E6A00138 */ swc1 $f0, 0x138($s5) +/* 171F74 80243694 E6A20140 */ swc1 $f2, 0x140($s5) +/* 171F78 80243698 3C05FFEF */ lui $a1, 0xffef +/* 171F7C 8024369C 34A5FFFF */ ori $a1, $a1, 0xffff +/* 171F80 802436A0 3C04800E */ lui $a0, 0x800e +/* 171F84 802436A4 2484C070 */ addiu $a0, $a0, -0x3f90 +/* 171F88 802436A8 8C820000 */ lw $v0, ($a0) +/* 171F8C 802436AC 24030004 */ addiu $v1, $zero, 4 +/* 171F90 802436B0 3C01800E */ lui $at, 0x800e +/* 171F94 802436B4 AC23C4DC */ sw $v1, -0x3b24($at) +/* 171F98 802436B8 00451024 */ and $v0, $v0, $a1 +/* 171F9C 802436BC AC820000 */ sw $v0, ($a0) +func_802436C0: +.L802436C0: +/* 171FA0 802436C0 3C10800E */ lui $s0, 0x800e +/* 171FA4 802436C4 2610C4DC */ addiu $s0, $s0, -0x3b24 +/* 171FA8 802436C8 8E030000 */ lw $v1, ($s0) +/* 171FAC 802436CC 24020004 */ addiu $v0, $zero, 4 +/* 171FB0 802436D0 14620038 */ bne $v1, $v0, .L802437B4 +/* 171FB4 802436D4 00000000 */ nop +/* 171FB8 802436D8 3C03802A */ lui $v1, 0x802a +/* 171FBC 802436DC 2463F258 */ addiu $v1, $v1, -0xda8 +/* 171FC0 802436E0 8C620000 */ lw $v0, ($v1) +/* 171FC4 802436E4 10400003 */ beqz $v0, .L802436F4 +/* 171FC8 802436E8 2442FFFF */ addiu $v0, $v0, -1 +/* 171FCC 802436EC 08090DED */ j func_802437B4 +/* 171FD0 802436F0 AC620000 */ sw $v0, ($v1) + +.L802436F4: +/* 171FD4 802436F4 82C3008A */ lb $v1, 0x8a($s6) +/* 171FD8 802436F8 24020002 */ addiu $v0, $zero, 2 +/* 171FDC 802436FC 14620011 */ bne $v1, $v0, .L80243744 +/* 171FE0 80243700 3C04F7FF */ lui $a0, 0xf7ff +/* 171FE4 80243704 3C048028 */ lui $a0, 0x8028 +/* 171FE8 80243708 24844EBC */ addiu $a0, $a0, 0x4ebc +/* 171FEC 8024370C 2405000A */ addiu $a1, $zero, 0xa +/* 171FF0 80243710 0000302D */ daddu $a2, $zero, $zero +/* 171FF4 80243714 24020003 */ addiu $v0, $zero, 3 +/* 171FF8 80243718 A2C200AD */ sb $v0, 0xad($s6) +/* 171FFC 8024371C 24020015 */ addiu $v0, $zero, 0x15 +/* 172000 80243720 A2C0008A */ sb $zero, 0x8a($s6) +/* 172004 80243724 0C0B0CF8 */ jal start_script +/* 172008 80243728 A2C201A7 */ sb $v0, 0x1a7($s6) +/* 17200C 8024372C 0040182D */ daddu $v1, $v0, $zero +/* 172010 80243730 AEA301D4 */ sw $v1, 0x1d4($s5) +/* 172014 80243734 8C620144 */ lw $v0, 0x144($v1) +/* 172018 80243738 AEA201E4 */ sw $v0, 0x1e4($s5) +/* 17201C 8024373C AC600148 */ sw $zero, 0x148($v1) +/* 172020 80243740 3C04F7FF */ lui $a0, 0xf7ff +.L80243744: +/* 172024 80243744 3C05800E */ lui $a1, 0x800e +/* 172028 80243748 24A5C070 */ addiu $a1, $a1, -0x3f90 +/* 17202C 8024374C 2406FFFD */ addiu $a2, $zero, -3 +/* 172030 80243750 8CA20000 */ lw $v0, ($a1) +/* 172034 80243754 3484FFFF */ ori $a0, $a0, 0xffff +/* 172038 80243758 00461024 */ and $v0, $v0, $a2 +/* 17203C 8024375C ACA20000 */ sw $v0, ($a1) +/* 172040 80243760 8EA20000 */ lw $v0, ($s5) +/* 172044 80243764 3C030400 */ lui $v1, 0x400 +/* 172048 80243768 00441024 */ and $v0, $v0, $a0 +/* 17204C 8024376C 00431025 */ or $v0, $v0, $v1 +/* 172050 80243770 12400005 */ beqz $s2, .L80243788 +/* 172054 80243774 AEA20000 */ sw $v0, ($s5) +/* 172058 80243778 8E420000 */ lw $v0, ($s2) +/* 17205C 8024377C 00441024 */ and $v0, $v0, $a0 +/* 172060 80243780 00431025 */ or $v0, $v0, $v1 +/* 172064 80243784 AE420000 */ sw $v0, ($s2) +.L80243788: +/* 172068 80243788 8CA20004 */ lw $v0, 4($a1) +/* 17206C 8024378C 24030005 */ addiu $v1, $zero, 5 +/* 172070 80243790 AE030000 */ sw $v1, ($s0) +/* 172074 80243794 2403FFFB */ addiu $v1, $zero, -5 +/* 172078 80243798 00461024 */ and $v0, $v0, $a2 +/* 17207C 8024379C 00431024 */ and $v0, $v0, $v1 +/* 172080 802437A0 2403FFF7 */ addiu $v1, $zero, -9 +/* 172084 802437A4 00431024 */ and $v0, $v0, $v1 +/* 172088 802437A8 2403FFEF */ addiu $v1, $zero, -0x11 +/* 17208C 802437AC 00431024 */ and $v0, $v0, $v1 +/* 172090 802437B0 ACA20004 */ sw $v0, 4($a1) +func_802437B4: +.L802437B4: +/* 172094 802437B4 3C03800E */ lui $v1, 0x800e +/* 172098 802437B8 8C63C4DC */ lw $v1, -0x3b24($v1) +/* 17209C 802437BC 24020005 */ addiu $v0, $zero, 5 +/* 1720A0 802437C0 14620028 */ bne $v1, $v0, .L80243864 +/* 1720A4 802437C4 24020006 */ addiu $v0, $zero, 6 +/* 1720A8 802437C8 8EA201D4 */ lw $v0, 0x1d4($s5) +/* 1720AC 802437CC 50400007 */ beql $v0, $zero, .L802437EC +/* 1720B0 802437D0 AEA001D4 */ sw $zero, 0x1d4($s5) +/* 1720B4 802437D4 8EA401E4 */ lw $a0, 0x1e4($s5) +/* 1720B8 802437D8 0C0B1059 */ jal does_script_exist +/* 1720BC 802437DC 00000000 */ nop +/* 1720C0 802437E0 1440001D */ bnez $v0, .L80243858 +/* 1720C4 802437E4 00000000 */ nop +/* 1720C8 802437E8 AEA001D4 */ sw $zero, 0x1d4($s5) +.L802437EC: +/* 1720CC 802437EC 0000882D */ daddu $s1, $zero, $zero +/* 1720D0 802437F0 2413000D */ addiu $s3, $zero, 0xd +/* 1720D4 802437F4 02C0902D */ daddu $s2, $s6, $zero +.L802437F8: +/* 1720D8 802437F8 8E5000E0 */ lw $s0, 0xe0($s2) +/* 1720DC 802437FC 52000010 */ beql $s0, $zero, .L80243840 +/* 1720E0 80243800 26310001 */ addiu $s1, $s1, 1 +/* 1720E4 80243804 8E0201CC */ lw $v0, 0x1cc($s0) +/* 1720E8 80243808 5040000D */ beql $v0, $zero, .L80243840 +/* 1720EC 8024380C 26310001 */ addiu $s1, $s1, 1 +/* 1720F0 80243810 2405000A */ addiu $a1, $zero, 0xa +/* 1720F4 80243814 A2D301A7 */ sb $s3, 0x1a7($s6) +/* 1720F8 80243818 8E0401CC */ lw $a0, 0x1cc($s0) +/* 1720FC 8024381C 0C0B0CF8 */ jal start_script +/* 172100 80243820 0000302D */ daddu $a2, $zero, $zero +/* 172104 80243824 0040182D */ daddu $v1, $v0, $zero +/* 172108 80243828 AE0301DC */ sw $v1, 0x1dc($s0) +/* 17210C 8024382C 8C620144 */ lw $v0, 0x144($v1) +/* 172110 80243830 AE0201EC */ sw $v0, 0x1ec($s0) +/* 172114 80243834 36220200 */ ori $v0, $s1, 0x200 +/* 172118 80243838 AC620148 */ sw $v0, 0x148($v1) +/* 17211C 8024383C 26310001 */ addiu $s1, $s1, 1 +.L80243840: +/* 172120 80243840 2A220018 */ slti $v0, $s1, 0x18 +/* 172124 80243844 1440FFEC */ bnez $v0, .L802437F8 +/* 172128 80243848 26520004 */ addiu $s2, $s2, 4 +/* 17212C 8024384C 24020006 */ addiu $v0, $zero, 6 +/* 172130 80243850 3C01800E */ lui $at, 0x800e +/* 172134 80243854 AC22C4DC */ sw $v0, -0x3b24($at) +.L80243858: +/* 172138 80243858 3C03800E */ lui $v1, 0x800e +/* 17213C 8024385C 8C63C4DC */ lw $v1, -0x3b24($v1) +/* 172140 80243860 24020006 */ addiu $v0, $zero, 6 +.L80243864: +/* 172144 80243864 14620016 */ bne $v1, $v0, .L802438C0 +/* 172148 80243868 0000A02D */ daddu $s4, $zero, $zero +/* 17214C 8024386C 0280882D */ daddu $s1, $s4, $zero +/* 172150 80243870 02C0902D */ daddu $s2, $s6, $zero +.L80243874: +/* 172154 80243874 8E5000E0 */ lw $s0, 0xe0($s2) +/* 172158 80243878 5200000A */ beql $s0, $zero, .L802438A4 +/* 17215C 8024387C 26310001 */ addiu $s1, $s1, 1 +/* 172160 80243880 8E0201CC */ lw $v0, 0x1cc($s0) +/* 172164 80243884 50400007 */ beql $v0, $zero, .L802438A4 +/* 172168 80243888 26310001 */ addiu $s1, $s1, 1 +/* 17216C 8024388C 8E0401EC */ lw $a0, 0x1ec($s0) +/* 172170 80243890 0C0B1059 */ jal does_script_exist +/* 172174 80243894 00000000 */ nop +/* 172178 80243898 54400001 */ bnezl $v0, .L802438A0 +/* 17217C 8024389C 24140001 */ addiu $s4, $zero, 1 +.L802438A0: +/* 172180 802438A0 26310001 */ addiu $s1, $s1, 1 +.L802438A4: +/* 172184 802438A4 2A220018 */ slti $v0, $s1, 0x18 +/* 172188 802438A8 1440FFF2 */ bnez $v0, .L80243874 +/* 17218C 802438AC 26520004 */ addiu $s2, $s2, 4 +/* 172190 802438B0 16800003 */ bnez $s4, .L802438C0 +/* 172194 802438B4 24020007 */ addiu $v0, $zero, 7 +/* 172198 802438B8 3C01800E */ lui $at, 0x800e +/* 17219C 802438BC AC22C4DC */ sw $v0, -0x3b24($at) +.L802438C0: +/* 1721A0 802438C0 3C03800E */ lui $v1, 0x800e +/* 1721A4 802438C4 8C63C4DC */ lw $v1, -0x3b24($v1) +/* 1721A8 802438C8 24020007 */ addiu $v0, $zero, 7 +/* 1721AC 802438CC 14620003 */ bne $v1, $v0, .L802438DC +/* 1721B0 802438D0 24040014 */ addiu $a0, $zero, 0x14 +func_802438D4: +.L802438D4: +/* 1721B4 802438D4 0C090464 */ jal func_80241190 +/* 1721B8 802438D8 00000000 */ nop +.L802438DC: +/* 1721BC 802438DC 8FBF002C */ lw $ra, 0x2c($sp) +/* 1721C0 802438E0 8FB60028 */ lw $s6, 0x28($sp) +/* 1721C4 802438E4 8FB50024 */ lw $s5, 0x24($sp) +/* 1721C8 802438E8 8FB40020 */ lw $s4, 0x20($sp) +/* 1721CC 802438EC 8FB3001C */ lw $s3, 0x1c($sp) +/* 1721D0 802438F0 8FB20018 */ lw $s2, 0x18($sp) +/* 1721D4 802438F4 8FB10014 */ lw $s1, 0x14($sp) +/* 1721D8 802438F8 8FB00010 */ lw $s0, 0x10($sp) +/* 1721DC 802438FC D7B80040 */ ldc1 $f24, 0x40($sp) +/* 1721E0 80243900 D7B60038 */ ldc1 $f22, 0x38($sp) +/* 1721E4 80243904 D7B40030 */ ldc1 $f20, 0x30($sp) +/* 1721E8 80243908 03E00008 */ jr $ra +/* 1721EC 8024390C 27BD0048 */ addiu $sp, $sp, 0x48 + +func_80243910: +/* 1721F0 80243910 03E00008 */ jr $ra +/* 1721F4 80243914 00000000 */ nop + +switch_order: +/* 1721F8 80243918 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 1721FC 8024391C 3C040041 */ lui $a0, 0x41 +/* 172200 80243920 24845D90 */ addiu $a0, $a0, 0x5d90 +/* 172204 80243924 AFB00010 */ sw $s0, 0x10($sp) +/* 172208 80243928 3C10800E */ lui $s0, 0x800e +/* 17220C 8024392C 2610C070 */ addiu $s0, $s0, -0x3f90 +/* 172210 80243930 2402FFFF */ addiu $v0, $zero, -1 +/* 172214 80243934 3C050042 */ lui $a1, 0x42 +/* 172218 80243938 24A519F0 */ addiu $a1, $a1, 0x19f0 +/* 17221C 8024393C 3C06802A */ lui $a2, 0x802a +/* 172220 80243940 24C61000 */ addiu $a2, $a2, 0x1000 +/* 172224 80243944 AFBF0018 */ sw $ra, 0x18($sp) +/* 172228 80243948 AFB10014 */ sw $s1, 0x14($sp) +/* 17222C 8024394C A202004D */ sb $v0, 0x4d($s0) +/* 172230 80243950 A202004E */ sb $v0, 0x4e($s0) +/* 172234 80243954 A202004F */ sb $v0, 0x4f($s0) +/* 172238 80243958 A2020050 */ sb $v0, 0x50($s0) +/* 17223C 8024395C A2020051 */ sb $v0, 0x51($s0) +/* 172240 80243960 A2020052 */ sb $v0, 0x52($s0) +/* 172244 80243964 A2020053 */ sb $v0, 0x53($s0) +/* 172248 80243968 A202005D */ sb $v0, 0x5d($s0) +/* 17224C 8024396C A2020062 */ sb $v0, 0x62($s0) +/* 172250 80243970 0C00A5CF */ jal dma_copy +/* 172254 80243974 A2020063 */ sb $v0, 0x63($s0) +/* 172258 80243978 8E020000 */ lw $v0, ($s0) +/* 17225C 8024397C 3C030008 */ lui $v1, 8 +/* 172260 80243980 00431024 */ and $v0, $v0, $v1 +/* 172264 80243984 1440000B */ bnez $v0, .L802439B4 +/* 172268 80243988 2404000E */ addiu $a0, $zero, 0xe +/* 17226C 8024398C 3C11800E */ lui $s1, 0x800e +/* 172270 80243990 2631C4DC */ addiu $s1, $s1, -0x3b24 +/* 172274 80243994 8E300000 */ lw $s0, ($s1) +/* 172278 80243998 24020046 */ addiu $v0, $zero, 0x46 +/* 17227C 8024399C 16020005 */ bne $s0, $v0, .L802439B4 +/* 172280 802439A0 2404000D */ addiu $a0, $zero, 0xd +/* 172284 802439A4 0C090464 */ jal func_80241190 +/* 172288 802439A8 2404000D */ addiu $a0, $zero, 0xd +/* 17228C 802439AC 08090E6F */ j func_802439BC +/* 172290 802439B0 AE300000 */ sw $s0, ($s1) + +.L802439B4: +/* 172294 802439B4 0C090464 */ jal func_80241190 +/* 172298 802439B8 00000000 */ nop +func_802439BC: +/* 17229C 802439BC 8FBF0018 */ lw $ra, 0x18($sp) +/* 1722A0 802439C0 8FB10014 */ lw $s1, 0x14($sp) +/* 1722A4 802439C4 8FB00010 */ lw $s0, 0x10($sp) +/* 1722A8 802439C8 03E00008 */ jr $ra +/* 1722AC 802439CC 27BD0020 */ addiu $sp, $sp, 0x20 + +func_802439D0: +/* 1722B0 802439D0 03E00008 */ jr $ra +/* 1722B4 802439D4 00000000 */ nop + +func_802439D8: +/* 1722B8 802439D8 27BDFFB0 */ addiu $sp, $sp, -0x50 +/* 1722BC 802439DC AFB60028 */ sw $s6, 0x28($sp) +/* 1722C0 802439E0 3C16800E */ lui $s6, 0x800e +/* 1722C4 802439E4 26D6C070 */ addiu $s6, $s6, -0x3f90 +/* 1722C8 802439E8 AFB7002C */ sw $s7, 0x2c($sp) +/* 1722CC 802439EC 3C178011 */ lui $s7, 0x8011 +/* 1722D0 802439F0 26F7F290 */ addiu $s7, $s7, -0xd70 +/* 1722D4 802439F4 AFBF0030 */ sw $ra, 0x30($sp) +/* 1722D8 802439F8 AFB50024 */ sw $s5, 0x24($sp) +/* 1722DC 802439FC AFB40020 */ sw $s4, 0x20($sp) +/* 1722E0 80243A00 AFB3001C */ sw $s3, 0x1c($sp) +/* 1722E4 80243A04 AFB20018 */ sw $s2, 0x18($sp) +/* 1722E8 80243A08 AFB10014 */ sw $s1, 0x14($sp) +/* 1722EC 80243A0C AFB00010 */ sw $s0, 0x10($sp) +/* 1722F0 80243A10 F7B80048 */ sdc1 $f24, 0x48($sp) +/* 1722F4 80243A14 F7B60040 */ sdc1 $f22, 0x40($sp) +/* 1722F8 80243A18 F7B40038 */ sdc1 $f20, 0x38($sp) +/* 1722FC 80243A1C 8ED500D8 */ lw $s5, 0xd8($s6) +/* 172300 80243A20 3C02800E */ lui $v0, 0x800e +/* 172304 80243A24 8C42C4DC */ lw $v0, -0x3b24($v0) +/* 172308 80243A28 8ED300DC */ lw $s3, 0xdc($s6) +/* 17230C 80243A2C 1440002E */ bnez $v0, .L80243AE8 +/* 172310 80243A30 0000A02D */ daddu $s4, $zero, $zero +/* 172314 80243A34 0280882D */ daddu $s1, $s4, $zero +/* 172318 80243A38 02C0902D */ daddu $s2, $s6, $zero +.L80243A3C: +/* 17231C 80243A3C 8E5000E0 */ lw $s0, 0xe0($s2) +/* 172320 80243A40 5200000B */ beql $s0, $zero, .L80243A70 +/* 172324 80243A44 26310001 */ addiu $s1, $s1, 1 +/* 172328 80243A48 8E0201D8 */ lw $v0, 0x1d8($s0) +/* 17232C 80243A4C 50400008 */ beql $v0, $zero, .L80243A70 +/* 172330 80243A50 26310001 */ addiu $s1, $s1, 1 +/* 172334 80243A54 8E0401E8 */ lw $a0, 0x1e8($s0) +/* 172338 80243A58 0C0B1059 */ jal does_script_exist +/* 17233C 80243A5C 00000000 */ nop +/* 172340 80243A60 50400002 */ beql $v0, $zero, .L80243A6C +/* 172344 80243A64 AE0001D8 */ sw $zero, 0x1d8($s0) +/* 172348 80243A68 24140001 */ addiu $s4, $zero, 1 +.L80243A6C: +/* 17234C 80243A6C 26310001 */ addiu $s1, $s1, 1 +.L80243A70: +/* 172350 80243A70 2A220018 */ slti $v0, $s1, 0x18 +/* 172354 80243A74 1440FFF1 */ bnez $v0, .L80243A3C +/* 172358 80243A78 26520004 */ addiu $s2, $s2, 4 +/* 17235C 80243A7C 1680001A */ bnez $s4, .L80243AE8 +/* 172360 80243A80 00000000 */ nop +/* 172364 80243A84 0000882D */ daddu $s1, $zero, $zero +/* 172368 80243A88 02C0902D */ daddu $s2, $s6, $zero +.L80243A8C: +/* 17236C 80243A8C 8E5000E0 */ lw $s0, 0xe0($s2) +/* 172370 80243A90 5200000B */ beql $s0, $zero, .L80243AC0 +/* 172374 80243A94 26310001 */ addiu $s1, $s1, 1 +/* 172378 80243A98 8E0201D4 */ lw $v0, 0x1d4($s0) +/* 17237C 80243A9C 50400008 */ beql $v0, $zero, .L80243AC0 +/* 172380 80243AA0 26310001 */ addiu $s1, $s1, 1 +/* 172384 80243AA4 8E0401E4 */ lw $a0, 0x1e4($s0) +/* 172388 80243AA8 0C0B1059 */ jal does_script_exist +/* 17238C 80243AAC 00000000 */ nop +/* 172390 80243AB0 50400002 */ beql $v0, $zero, .L80243ABC +/* 172394 80243AB4 AE0001D4 */ sw $zero, 0x1d4($s0) +/* 172398 80243AB8 24140001 */ addiu $s4, $zero, 1 +.L80243ABC: +/* 17239C 80243ABC 26310001 */ addiu $s1, $s1, 1 +.L80243AC0: +/* 1723A0 80243AC0 2A220018 */ slti $v0, $s1, 0x18 +/* 1723A4 80243AC4 1440FFF1 */ bnez $v0, .L80243A8C +/* 1723A8 80243AC8 26520004 */ addiu $s2, $s2, 4 +/* 1723AC 80243ACC 16800006 */ bnez $s4, .L80243AE8 +/* 1723B0 80243AD0 00000000 */ nop +/* 1723B4 80243AD4 0C093903 */ jal func_8024E40C +/* 1723B8 80243AD8 24040002 */ addiu $a0, $zero, 2 +/* 1723BC 80243ADC 24020001 */ addiu $v0, $zero, 1 +/* 1723C0 80243AE0 3C01800E */ lui $at, 0x800e +/* 1723C4 80243AE4 AC22C4DC */ sw $v0, -0x3b24($at) +.L80243AE8: +/* 1723C8 80243AE8 3C04800E */ lui $a0, 0x800e +/* 1723CC 80243AEC 2484C4DC */ addiu $a0, $a0, -0x3b24 +/* 1723D0 80243AF0 8C830000 */ lw $v1, ($a0) +/* 1723D4 80243AF4 24020001 */ addiu $v0, $zero, 1 +/* 1723D8 80243AF8 1462002A */ bne $v1, $v0, .L80243BA4 +/* 1723DC 80243AFC 00000000 */ nop +/* 1723E0 80243B00 3C03800E */ lui $v1, 0x800e +/* 1723E4 80243B04 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 1723E8 80243B08 8C620004 */ lw $v0, 4($v1) +/* 1723EC 80243B0C 30420040 */ andi $v0, $v0, 0x40 +/* 1723F0 80243B10 14400007 */ bnez $v0, .L80243B30 +/* 1723F4 80243B14 2402000C */ addiu $v0, $zero, 0xc +/* 1723F8 80243B18 8C620000 */ lw $v0, ($v1) +/* 1723FC 80243B1C 3C030010 */ lui $v1, 0x10 +/* 172400 80243B20 00431024 */ and $v0, $v0, $v1 +/* 172404 80243B24 14400004 */ bnez $v0, .L80243B38 +/* 172408 80243B28 3C03F7FF */ lui $v1, 0xf7ff +/* 17240C 80243B2C 2402000C */ addiu $v0, $zero, 0xc +.L80243B30: +/* 172410 80243B30 08090EE9 */ j func_80243BA4 +/* 172414 80243B34 AC820000 */ sw $v0, ($a0) + +.L80243B38: +/* 172418 80243B38 8EA20000 */ lw $v0, ($s5) +/* 17241C 80243B3C 3463FFFF */ ori $v1, $v1, 0xffff +/* 172420 80243B40 00431024 */ and $v0, $v0, $v1 +/* 172424 80243B44 AEA20000 */ sw $v0, ($s5) +/* 172428 80243B48 8E620000 */ lw $v0, ($s3) +/* 17242C 80243B4C 00431024 */ and $v0, $v0, $v1 +/* 172430 80243B50 AE620000 */ sw $v0, ($s3) +/* 172434 80243B54 8EA20000 */ lw $v0, ($s5) +/* 172438 80243B58 3C030400 */ lui $v1, 0x400 +/* 17243C 80243B5C 00431025 */ or $v0, $v0, $v1 +/* 172440 80243B60 AEA20000 */ sw $v0, ($s5) +/* 172444 80243B64 8E620000 */ lw $v0, ($s3) +/* 172448 80243B68 C6600138 */ lwc1 $f0, 0x138($s3) +/* 17244C 80243B6C C6620140 */ lwc1 $f2, 0x140($s3) +/* 172450 80243B70 00431025 */ or $v0, $v0, $v1 +/* 172454 80243B74 AE620000 */ sw $v0, ($s3) +/* 172458 80243B78 E660000C */ swc1 $f0, 0xc($s3) +/* 17245C 80243B7C E6620014 */ swc1 $f2, 0x14($s3) +/* 172460 80243B80 C6A00138 */ lwc1 $f0, 0x138($s5) +/* 172464 80243B84 2402000B */ addiu $v0, $zero, 0xb +/* 172468 80243B88 AC820000 */ sw $v0, ($a0) +/* 17246C 80243B8C E6600018 */ swc1 $f0, 0x18($s3) +/* 172470 80243B90 C6A00140 */ lwc1 $f0, 0x140($s5) +/* 172474 80243B94 24020004 */ addiu $v0, $zero, 4 +/* 172478 80243B98 A6620070 */ sh $v0, 0x70($s3) +/* 17247C 80243B9C AE600054 */ sw $zero, 0x54($s3) +/* 172480 80243BA0 E6600020 */ swc1 $f0, 0x20($s3) +func_80243BA4: +.L80243BA4: +/* 172484 80243BA4 3C03800E */ lui $v1, 0x800e +/* 172488 80243BA8 8C63C4DC */ lw $v1, -0x3b24($v1) +/* 17248C 80243BAC 2402000B */ addiu $v0, $zero, 0xb +/* 172490 80243BB0 1462007D */ bne $v1, $v0, .L80243DA8 +/* 172494 80243BB4 2402000C */ addiu $v0, $zero, 0xc +/* 172498 80243BB8 86620070 */ lh $v0, 0x70($s3) +/* 17249C 80243BBC 10400022 */ beqz $v0, .L80243C48 +/* 1724A0 80243BC0 00000000 */ nop +/* 1724A4 80243BC4 C6600018 */ lwc1 $f0, 0x18($s3) +/* 1724A8 80243BC8 C6680144 */ lwc1 $f8, 0x144($s3) +/* 1724AC 80243BCC C6620020 */ lwc1 $f2, 0x20($s3) +/* 1724B0 80243BD0 46080001 */ sub.s $f0, $f0, $f8 +/* 1724B4 80243BD4 C664014C */ lwc1 $f4, 0x14c($s3) +/* 1724B8 80243BD8 46041081 */ sub.s $f2, $f2, $f4 +/* 1724BC 80243BDC 44823000 */ mtc1 $v0, $f6 +/* 1724C0 80243BE0 00000000 */ nop +/* 1724C4 80243BE4 468031A0 */ cvt.s.w $f6, $f6 +/* 1724C8 80243BE8 46060003 */ div.s $f0, $f0, $f6 +/* 1724CC 80243BEC 46004200 */ add.s $f8, $f8, $f0 +/* 1724D0 80243BF0 46003006 */ mov.s $f0, $f6 +/* 1724D4 80243BF4 46061083 */ div.s $f2, $f2, $f6 +/* 1724D8 80243BF8 C660000C */ lwc1 $f0, 0xc($s3) +/* 1724DC 80243BFC 46022100 */ add.s $f4, $f4, $f2 +/* 1724E0 80243C00 E6680144 */ swc1 $f8, 0x144($s3) +/* 1724E4 80243C04 E664014C */ swc1 $f4, 0x14c($s3) +/* 1724E8 80243C08 C6A40144 */ lwc1 $f4, 0x144($s5) +/* 1724EC 80243C0C 46040001 */ sub.s $f0, $f0, $f4 +/* 1724F0 80243C10 46003086 */ mov.s $f2, $f6 +/* 1724F4 80243C14 46060003 */ div.s $f0, $f0, $f6 +/* 1724F8 80243C18 46002100 */ add.s $f4, $f4, $f0 +/* 1724FC 80243C1C E6A40144 */ swc1 $f4, 0x144($s5) +/* 172500 80243C20 C6600014 */ lwc1 $f0, 0x14($s3) +/* 172504 80243C24 C6A4014C */ lwc1 $f4, 0x14c($s5) +/* 172508 80243C28 86620070 */ lh $v0, 0x70($s3) +/* 17250C 80243C2C 46040001 */ sub.s $f0, $f0, $f4 +/* 172510 80243C30 44821000 */ mtc1 $v0, $f2 +/* 172514 80243C34 00000000 */ nop +/* 172518 80243C38 468010A0 */ cvt.s.w $f2, $f2 +/* 17251C 80243C3C 46020003 */ div.s $f0, $f0, $f2 +/* 172520 80243C40 46002100 */ add.s $f4, $f4, $f0 +/* 172524 80243C44 E6A4014C */ swc1 $f4, 0x14c($s5) +.L80243C48: +/* 172528 80243C48 C66C0054 */ lwc1 $f12, 0x54($s3) +/* 17252C 80243C4C 3C0140C9 */ lui $at, 0x40c9 +/* 172530 80243C50 34210FD0 */ ori $at, $at, 0xfd0 +/* 172534 80243C54 4481B000 */ mtc1 $at, $f22 +/* 172538 80243C58 00000000 */ nop +/* 17253C 80243C5C 46166302 */ mul.s $f12, $f12, $f22 +/* 172540 80243C60 00000000 */ nop +/* 172544 80243C64 3C0143B4 */ lui $at, 0x43b4 +/* 172548 80243C68 4481C000 */ mtc1 $at, $f24 +/* 17254C 80243C6C 3C014180 */ lui $at, 0x4180 +/* 172550 80243C70 4481A000 */ mtc1 $at, $f20 +/* 172554 80243C74 0C00A85B */ jal sin_rad +/* 172558 80243C78 46186303 */ div.s $f12, $f12, $f24 +/* 17255C 80243C7C 46140002 */ mul.s $f0, $f0, $f20 +/* 172560 80243C80 00000000 */ nop +/* 172564 80243C84 C662014C */ lwc1 $f2, 0x14c($s3) +/* 172568 80243C88 46001081 */ sub.s $f2, $f2, $f0 +/* 17256C 80243C8C C66C0054 */ lwc1 $f12, 0x54($s3) +/* 172570 80243C90 0C00A6C9 */ jal clamp_angle +/* 172574 80243C94 E662014C */ swc1 $f2, 0x14c($s3) +/* 172578 80243C98 C66C0054 */ lwc1 $f12, 0x54($s3) +/* 17257C 80243C9C 46166302 */ mul.s $f12, $f12, $f22 +/* 172580 80243CA0 00000000 */ nop +/* 172584 80243CA4 E660018C */ swc1 $f0, 0x18c($s3) +/* 172588 80243CA8 0C00A85B */ jal sin_rad +/* 17258C 80243CAC 46186303 */ div.s $f12, $f12, $f24 +/* 172590 80243CB0 46140002 */ mul.s $f0, $f0, $f20 +/* 172594 80243CB4 00000000 */ nop +/* 172598 80243CB8 C6A2014C */ lwc1 $f2, 0x14c($s5) +/* 17259C 80243CBC 46001080 */ add.s $f2, $f2, $f0 +/* 1725A0 80243CC0 E6A2014C */ swc1 $f2, 0x14c($s5) +/* 1725A4 80243CC4 0C00A6C9 */ jal clamp_angle +/* 1725A8 80243CC8 C66C0054 */ lwc1 $f12, 0x54($s3) +/* 1725AC 80243CCC E6A0018C */ swc1 $f0, 0x18c($s5) +/* 1725B0 80243CD0 C6600054 */ lwc1 $f0, 0x54($s3) +/* 1725B4 80243CD4 3C0142B4 */ lui $at, 0x42b4 +/* 1725B8 80243CD8 44811000 */ mtc1 $at, $f2 +/* 1725BC 80243CDC 86620070 */ lh $v0, 0x70($s3) +/* 1725C0 80243CE0 46020000 */ add.s $f0, $f0, $f2 +/* 1725C4 80243CE4 96630070 */ lhu $v1, 0x70($s3) +/* 1725C8 80243CE8 10400004 */ beqz $v0, .L80243CFC +/* 1725CC 80243CEC E6600054 */ swc1 $f0, 0x54($s3) +/* 1725D0 80243CF0 2462FFFF */ addiu $v0, $v1, -1 +/* 1725D4 80243CF4 08090F67 */ j func_80243D9C +/* 1725D8 80243CF8 A6620070 */ sh $v0, 0x70($s3) + +.L80243CFC: +/* 1725DC 80243CFC C6600018 */ lwc1 $f0, 0x18($s3) +/* 1725E0 80243D00 C6620020 */ lwc1 $f2, 0x20($s3) +/* 1725E4 80243D04 C664000C */ lwc1 $f4, 0xc($s3) +/* 1725E8 80243D08 E6600144 */ swc1 $f0, 0x144($s3) +/* 1725EC 80243D0C E662014C */ swc1 $f2, 0x14c($s3) +/* 1725F0 80243D10 E6A40144 */ swc1 $f4, 0x144($s5) +/* 1725F4 80243D14 C6600014 */ lwc1 $f0, 0x14($s3) +/* 1725F8 80243D18 E6A0014C */ swc1 $f0, 0x14c($s5) +/* 1725FC 80243D1C C6600144 */ lwc1 $f0, 0x144($s3) +/* 172600 80243D20 C662014C */ lwc1 $f2, 0x14c($s3) +/* 172604 80243D24 3C030800 */ lui $v1, 0x800 +/* 172608 80243D28 E6600138 */ swc1 $f0, 0x138($s3) +/* 17260C 80243D2C E6620140 */ swc1 $f2, 0x140($s3) +/* 172610 80243D30 C6A00144 */ lwc1 $f0, 0x144($s5) +/* 172614 80243D34 8EA20000 */ lw $v0, ($s5) +/* 172618 80243D38 C6A2014C */ lwc1 $f2, 0x14c($s5) +/* 17261C 80243D3C 00431025 */ or $v0, $v0, $v1 +/* 172620 80243D40 E6A00138 */ swc1 $f0, 0x138($s5) +/* 172624 80243D44 E6A20140 */ swc1 $f2, 0x140($s5) +/* 172628 80243D48 AEA20000 */ sw $v0, ($s5) +/* 17262C 80243D4C 8E620000 */ lw $v0, ($s3) +/* 172630 80243D50 3C04800E */ lui $a0, 0x800e +/* 172634 80243D54 2484C070 */ addiu $a0, $a0, -0x3f90 +/* 172638 80243D58 00431025 */ or $v0, $v0, $v1 +/* 17263C 80243D5C AE620000 */ sw $v0, ($s3) +/* 172640 80243D60 8C820004 */ lw $v0, 4($a0) +/* 172644 80243D64 30420040 */ andi $v0, $v0, 0x40 +/* 172648 80243D68 10400004 */ beqz $v0, .L80243D7C +/* 17264C 80243D6C 3C030010 */ lui $v1, 0x10 +/* 172650 80243D70 8C820000 */ lw $v0, ($a0) +/* 172654 80243D74 08090F63 */ j func_80243D8C +/* 172658 80243D78 00431025 */ or $v0, $v0, $v1 + +.L80243D7C: +/* 17265C 80243D7C 3C03FFEF */ lui $v1, 0xffef +/* 172660 80243D80 8C820000 */ lw $v0, ($a0) +/* 172664 80243D84 3463FFFF */ ori $v1, $v1, 0xffff +/* 172668 80243D88 00431024 */ and $v0, $v0, $v1 +func_80243D8C: +/* 17266C 80243D8C AC820000 */ sw $v0, ($a0) +/* 172670 80243D90 2402000C */ addiu $v0, $zero, 0xc +/* 172674 80243D94 3C01800E */ lui $at, 0x800e +/* 172678 80243D98 AC22C4DC */ sw $v0, -0x3b24($at) +func_80243D9C: +/* 17267C 80243D9C 3C03800E */ lui $v1, 0x800e +/* 172680 80243DA0 8C63C4DC */ lw $v1, -0x3b24($v1) +/* 172684 80243DA4 2402000C */ addiu $v0, $zero, 0xc +.L80243DA8: +/* 172688 80243DA8 1462004C */ bne $v1, $v0, .L80243EDC +/* 17268C 80243DAC 3C02FFFE */ lui $v0, 0xfffe +/* 172690 80243DB0 3C10800E */ lui $s0, 0x800e +/* 172694 80243DB4 2610C070 */ addiu $s0, $s0, -0x3f90 +/* 172698 80243DB8 8E030004 */ lw $v1, 4($s0) +/* 17269C 80243DBC 3442FFFF */ ori $v0, $v0, 0xffff +/* 1726A0 80243DC0 00621824 */ and $v1, $v1, $v0 +/* 1726A4 80243DC4 AE030004 */ sw $v1, 4($s0) +/* 1726A8 80243DC8 8EA20000 */ lw $v0, ($s5) +/* 1726AC 80243DCC 3C030C00 */ lui $v1, 0xc00 +/* 1726B0 80243DD0 A2A0021D */ sb $zero, 0x21d($s5) +/* 1726B4 80243DD4 00431025 */ or $v0, $v0, $v1 +/* 1726B8 80243DD8 12600004 */ beqz $s3, .L80243DEC +/* 1726BC 80243DDC AEA20000 */ sw $v0, ($s5) +/* 1726C0 80243DE0 00431025 */ or $v0, $v0, $v1 +/* 1726C4 80243DE4 AEA20000 */ sw $v0, ($s5) +/* 1726C8 80243DE8 A260021D */ sb $zero, 0x21d($s3) +.L80243DEC: +/* 1726CC 80243DEC 0C098298 */ jal func_80260A60 +/* 1726D0 80243DF0 00000000 */ nop +/* 1726D4 80243DF4 3C04FFBF */ lui $a0, 0xffbf +/* 1726D8 80243DF8 3484FFFF */ ori $a0, $a0, 0xffff +/* 1726DC 80243DFC 8E030000 */ lw $v1, ($s0) +/* 1726E0 80243E00 96E20290 */ lhu $v0, 0x290($s7) +/* 1726E4 80243E04 00641824 */ and $v1, $v1, $a0 +/* 1726E8 80243E08 24420020 */ addiu $v0, $v0, 0x20 +/* 1726EC 80243E0C AE030000 */ sw $v1, ($s0) +/* 1726F0 80243E10 A6E20290 */ sh $v0, 0x290($s7) +/* 1726F4 80243E14 00021400 */ sll $v0, $v0, 0x10 +/* 1726F8 80243E18 82E3028E */ lb $v1, 0x28e($s7) +/* 1726FC 80243E1C 00021403 */ sra $v0, $v0, 0x10 +/* 172700 80243E20 00031A00 */ sll $v1, $v1, 8 +/* 172704 80243E24 0062102A */ slt $v0, $v1, $v0 +/* 172708 80243E28 54400001 */ bnezl $v0, .L80243E30 +/* 17270C 80243E2C A6E30290 */ sh $v1, 0x290($s7) +.L80243E30: +/* 172710 80243E30 0000882D */ daddu $s1, $zero, $zero +/* 172714 80243E34 2414000B */ addiu $s4, $zero, 0xb +/* 172718 80243E38 02C0902D */ daddu $s2, $s6, $zero +.L80243E3C: +/* 17271C 80243E3C 8E5000E0 */ lw $s0, 0xe0($s2) +/* 172720 80243E40 52000010 */ beql $s0, $zero, .L80243E84 +/* 172724 80243E44 26310001 */ addiu $s1, $s1, 1 +/* 172728 80243E48 8E0201CC */ lw $v0, 0x1cc($s0) +/* 17272C 80243E4C 5040000D */ beql $v0, $zero, .L80243E84 +/* 172730 80243E50 26310001 */ addiu $s1, $s1, 1 +/* 172734 80243E54 2405000A */ addiu $a1, $zero, 0xa +/* 172738 80243E58 A2D401A7 */ sb $s4, 0x1a7($s6) +/* 17273C 80243E5C 8E0401CC */ lw $a0, 0x1cc($s0) +func_80243E60: +/* 172740 80243E60 0C0B0CF8 */ jal start_script +/* 172744 80243E64 0000302D */ daddu $a2, $zero, $zero +/* 172748 80243E68 0040182D */ daddu $v1, $v0, $zero +/* 17274C 80243E6C AE0301DC */ sw $v1, 0x1dc($s0) +/* 172750 80243E70 8C620144 */ lw $v0, 0x144($v1) +/* 172754 80243E74 AE0201EC */ sw $v0, 0x1ec($s0) +/* 172758 80243E78 36220200 */ ori $v0, $s1, 0x200 +/* 17275C 80243E7C AC620148 */ sw $v0, 0x148($v1) +/* 172760 80243E80 26310001 */ addiu $s1, $s1, 1 +.L80243E84: +/* 172764 80243E84 2A220018 */ slti $v0, $s1, 0x18 +/* 172768 80243E88 1440FFEC */ bnez $v0, .L80243E3C +/* 17276C 80243E8C 26520004 */ addiu $s2, $s2, 4 +/* 172770 80243E90 12600010 */ beqz $s3, .L80243ED4 +/* 172774 80243E94 24020002 */ addiu $v0, $zero, 2 +/* 172778 80243E98 8E6201CC */ lw $v0, 0x1cc($s3) +/* 17277C 80243E9C 1040000C */ beqz $v0, .L80243ED0 +/* 172780 80243EA0 2405000A */ addiu $a1, $zero, 0xa +/* 172784 80243EA4 2402000B */ addiu $v0, $zero, 0xb +/* 172788 80243EA8 A2C201A7 */ sb $v0, 0x1a7($s6) +/* 17278C 80243EAC 8E6401CC */ lw $a0, 0x1cc($s3) +/* 172790 80243EB0 0C0B0CF8 */ jal start_script +/* 172794 80243EB4 0000302D */ daddu $a2, $zero, $zero +/* 172798 80243EB8 0040182D */ daddu $v1, $v0, $zero +/* 17279C 80243EBC AE6301DC */ sw $v1, 0x1dc($s3) +/* 1727A0 80243EC0 8C620144 */ lw $v0, 0x144($v1) +/* 1727A4 80243EC4 AE6201EC */ sw $v0, 0x1ec($s3) +/* 1727A8 80243EC8 24020100 */ addiu $v0, $zero, 0x100 +/* 1727AC 80243ECC AC620148 */ sw $v0, 0x148($v1) +.L80243ED0: +/* 1727B0 80243ED0 24020002 */ addiu $v0, $zero, 2 +.L80243ED4: +/* 1727B4 80243ED4 3C01800E */ lui $at, 0x800e +/* 1727B8 80243ED8 AC22C4DC */ sw $v0, -0x3b24($at) +.L80243EDC: +/* 1727BC 80243EDC 3C03800E */ lui $v1, 0x800e +/* 1727C0 80243EE0 8C63C4DC */ lw $v1, -0x3b24($v1) +/* 1727C4 80243EE4 24020002 */ addiu $v0, $zero, 2 +/* 1727C8 80243EE8 14620026 */ bne $v1, $v0, .L80243F84 +/* 1727CC 80243EEC 28620005 */ slti $v0, $v1, 5 +/* 1727D0 80243EF0 0000A02D */ daddu $s4, $zero, $zero +/* 1727D4 80243EF4 0280882D */ daddu $s1, $s4, $zero +/* 1727D8 80243EF8 02C0902D */ daddu $s2, $s6, $zero +.L80243EFC: +/* 1727DC 80243EFC 8E5000E0 */ lw $s0, 0xe0($s2) +/* 1727E0 80243F00 5200000A */ beql $s0, $zero, .L80243F2C +/* 1727E4 80243F04 26310001 */ addiu $s1, $s1, 1 +/* 1727E8 80243F08 8E0201CC */ lw $v0, 0x1cc($s0) +/* 1727EC 80243F0C 50400007 */ beql $v0, $zero, .L80243F2C +/* 1727F0 80243F10 26310001 */ addiu $s1, $s1, 1 +/* 1727F4 80243F14 8E0401EC */ lw $a0, 0x1ec($s0) +/* 1727F8 80243F18 0C0B1059 */ jal does_script_exist +/* 1727FC 80243F1C 00000000 */ nop +/* 172800 80243F20 54400001 */ bnezl $v0, .L80243F28 +/* 172804 80243F24 24140001 */ addiu $s4, $zero, 1 +.L80243F28: +/* 172808 80243F28 26310001 */ addiu $s1, $s1, 1 +.L80243F2C: +/* 17280C 80243F2C 2A220018 */ slti $v0, $s1, 0x18 +/* 172810 80243F30 1440FFF2 */ bnez $v0, .L80243EFC +/* 172814 80243F34 26520004 */ addiu $s2, $s2, 4 +/* 172818 80243F38 12600008 */ beqz $s3, .L80243F5C +/* 17281C 80243F3C 00000000 */ nop +/* 172820 80243F40 8E6201CC */ lw $v0, 0x1cc($s3) +/* 172824 80243F44 10400005 */ beqz $v0, .L80243F5C +/* 172828 80243F48 00000000 */ nop +/* 17282C 80243F4C 0C0B1059 */ jal does_script_exist +/* 172830 80243F50 8E6401EC */ lw $a0, 0x1ec($s3) +/* 172834 80243F54 54400001 */ bnezl $v0, .L80243F5C +/* 172838 80243F58 24140001 */ addiu $s4, $zero, 1 +.L80243F5C: +/* 17283C 80243F5C 16800006 */ bnez $s4, .L80243F78 +/* 172840 80243F60 00000000 */ nop +/* 172844 80243F64 0C093903 */ jal func_8024E40C +/* 172848 80243F68 24040002 */ addiu $a0, $zero, 2 +/* 17284C 80243F6C 24020003 */ addiu $v0, $zero, 3 +/* 172850 80243F70 3C01800E */ lui $at, 0x800e +/* 172854 80243F74 AC22C4DC */ sw $v0, -0x3b24($at) +.L80243F78: +/* 172858 80243F78 3C03800E */ lui $v1, 0x800e +/* 17285C 80243F7C 8C63C4DC */ lw $v1, -0x3b24($v1) +/* 172860 80243F80 28620005 */ slti $v0, $v1, 5 +.L80243F84: +/* 172864 80243F84 10400005 */ beqz $v0, .L80243F9C +/* 172868 80243F88 28620003 */ slti $v0, $v1, 3 +/* 17286C 80243F8C 14400003 */ bnez $v0, .L80243F9C +/* 172870 80243F90 00000000 */ nop +/* 172874 80243F94 0C090464 */ jal func_80241190 +/* 172878 80243F98 24040005 */ addiu $a0, $zero, 5 +.L80243F9C: +/* 17287C 80243F9C 8FBF0030 */ lw $ra, 0x30($sp) +/* 172880 80243FA0 8FB7002C */ lw $s7, 0x2c($sp) +/* 172884 80243FA4 8FB60028 */ lw $s6, 0x28($sp) +/* 172888 80243FA8 8FB50024 */ lw $s5, 0x24($sp) +/* 17288C 80243FAC 8FB40020 */ lw $s4, 0x20($sp) +/* 172890 80243FB0 8FB3001C */ lw $s3, 0x1c($sp) +/* 172894 80243FB4 8FB20018 */ lw $s2, 0x18($sp) +/* 172898 80243FB8 8FB10014 */ lw $s1, 0x14($sp) +/* 17289C 80243FBC 8FB00010 */ lw $s0, 0x10($sp) +/* 1728A0 80243FC0 D7B80048 */ ldc1 $f24, 0x48($sp) +/* 1728A4 80243FC4 D7B60040 */ ldc1 $f22, 0x40($sp) +/* 1728A8 80243FC8 D7B40038 */ ldc1 $f20, 0x38($sp) +/* 1728AC 80243FCC 03E00008 */ jr $ra +/* 1728B0 80243FD0 27BD0050 */ addiu $sp, $sp, 0x50 + +func_80243FD4: +/* 1728B4 80243FD4 03E00008 */ jr $ra +/* 1728B8 80243FD8 00000000 */ nop + +func_80243FDC: +/* 1728BC 80243FDC 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 1728C0 80243FE0 AFBF0010 */ sw $ra, 0x10($sp) +/* 1728C4 80243FE4 0C093903 */ jal func_8024E40C +/* 1728C8 80243FE8 24040002 */ addiu $a0, $zero, 2 +/* 1728CC 80243FEC 0C090464 */ jal func_80241190 +/* 1728D0 80243FF0 2404000C */ addiu $a0, $zero, 0xc +/* 1728D4 80243FF4 8FBF0010 */ lw $ra, 0x10($sp) +/* 1728D8 80243FF8 03E00008 */ jr $ra +/* 1728DC 80243FFC 27BD0018 */ addiu $sp, $sp, 0x18 + +func_80244000: +/* 1728E0 80244000 03E00008 */ jr $ra +/* 1728E4 80244004 00000000 */ nop + +func_80244008: +/* 1728E8 80244008 27BDFFB0 */ addiu $sp, $sp, -0x50 +/* 1728EC 8024400C AFB30024 */ sw $s3, 0x24($sp) +/* 1728F0 80244010 3C13800E */ lui $s3, 0x800e +/* 1728F4 80244014 2673C070 */ addiu $s3, $s3, -0x3f90 +/* 1728F8 80244018 AFB60030 */ sw $s6, 0x30($sp) +func_8024401C: +/* 1728FC 8024401C 3C16800B */ lui $s6, 0x800b +/* 172900 80244020 26D60F10 */ addiu $s6, $s6, 0xf10 +/* 172904 80244024 AFB5002C */ sw $s5, 0x2c($sp) +/* 172908 80244028 3C158011 */ lui $s5, 0x8011 +/* 17290C 8024402C 26B5F290 */ addiu $s5, $s5, -0xd70 +/* 172910 80244030 AFB20020 */ sw $s2, 0x20($sp) +/* 172914 80244034 3C12800E */ lui $s2, 0x800e +/* 172918 80244038 2652C4DC */ addiu $s2, $s2, -0x3b24 +/* 17291C 8024403C AFBF0034 */ sw $ra, 0x34($sp) +/* 172920 80244040 AFB40028 */ sw $s4, 0x28($sp) +/* 172924 80244044 AFB1001C */ sw $s1, 0x1c($sp) +/* 172928 80244048 AFB00018 */ sw $s0, 0x18($sp) +/* 17292C 8024404C F7B80048 */ sdc1 $f24, 0x48($sp) +/* 172930 80244050 F7B60040 */ sdc1 $f22, 0x40($sp) +/* 172934 80244054 F7B40038 */ sdc1 $f20, 0x38($sp) +/* 172938 80244058 8E7100D8 */ lw $s1, 0xd8($s3) +/* 17293C 8024405C 8E430000 */ lw $v1, ($s2) +/* 172940 80244060 8E7000DC */ lw $s0, 0xdc($s3) +/* 172944 80244064 10600005 */ beqz $v1, .L8024407C +/* 172948 80244068 24020001 */ addiu $v0, $zero, 1 +/* 17294C 8024406C 10620024 */ beq $v1, $v0, .L80244100 +/* 172950 80244070 24020005 */ addiu $v0, $zero, 5 +/* 172954 80244074 0809104B */ j func_8024412C +/* 172958 80244078 00000000 */ nop + +.L8024407C: +/* 17295C 8024407C 3C03F3FF */ lui $v1, 0xf3ff +/* 172960 80244080 8E220000 */ lw $v0, ($s1) +/* 172964 80244084 3463FFFF */ ori $v1, $v1, 0xffff +/* 172968 80244088 00431024 */ and $v0, $v0, $v1 +/* 17296C 8024408C 12000004 */ beqz $s0, .L802440A0 +/* 172970 80244090 AE220000 */ sw $v0, ($s1) +/* 172974 80244094 8E020000 */ lw $v0, ($s0) +/* 172978 80244098 00431024 */ and $v0, $v0, $v1 +/* 17297C 8024409C AE020000 */ sw $v0, ($s0) +.L802440A0: +/* 172980 802440A0 8262009A */ lb $v0, 0x9a($s3) +/* 172984 802440A4 14400003 */ bnez $v0, .L802440B4 +/* 172988 802440A8 A260008C */ sb $zero, 0x8c($s3) +/* 17298C 802440AC 08091046 */ j func_80244118 +/* 172990 802440B0 24020005 */ addiu $v0, $zero, 5 + +.L802440B4: +/* 172994 802440B4 18400003 */ blez $v0, .L802440C4 +/* 172998 802440B8 24020001 */ addiu $v0, $zero, 1 +/* 17299C 802440BC 3C01802A */ lui $at, 0x802a +/* 1729A0 802440C0 AC22F254 */ sw $v0, -0xdac($at) +.L802440C4: +/* 1729A4 802440C4 2405000A */ addiu $a1, $zero, 0xa +/* 1729A8 802440C8 2402000C */ addiu $v0, $zero, 0xc +/* 1729AC 802440CC A26201A7 */ sb $v0, 0x1a7($s3) +/* 1729B0 802440D0 8E0401CC */ lw $a0, 0x1cc($s0) +/* 1729B4 802440D4 0C0B0CF8 */ jal start_script +/* 1729B8 802440D8 0000302D */ daddu $a2, $zero, $zero +/* 1729BC 802440DC 0040202D */ daddu $a0, $v0, $zero +/* 1729C0 802440E0 AE0401DC */ sw $a0, 0x1dc($s0) +/* 1729C4 802440E4 8C830144 */ lw $v1, 0x144($a0) +/* 1729C8 802440E8 24020001 */ addiu $v0, $zero, 1 +/* 1729CC 802440EC AE420000 */ sw $v0, ($s2) +/* 1729D0 802440F0 24020100 */ addiu $v0, $zero, 0x100 +/* 1729D4 802440F4 AE0301EC */ sw $v1, 0x1ec($s0) +/* 1729D8 802440F8 08091047 */ j func_8024411C +/* 1729DC 802440FC AC820148 */ sw $v0, 0x148($a0) + +.L80244100: +/* 1729E0 80244100 8E0401EC */ lw $a0, 0x1ec($s0) +/* 1729E4 80244104 0C0B1059 */ jal does_script_exist +/* 1729E8 80244108 00000000 */ nop +/* 1729EC 8024410C 14400003 */ bnez $v0, .L8024411C +/* 1729F0 80244110 24020005 */ addiu $v0, $zero, 5 +/* 1729F4 80244114 A260009A */ sb $zero, 0x9a($s3) +func_80244118: +/* 1729F8 80244118 AE420000 */ sw $v0, ($s2) +func_8024411C: +.L8024411C: +/* 1729FC 8024411C 3C12800E */ lui $s2, 0x800e +/* 172A00 80244120 2652C4DC */ addiu $s2, $s2, -0x3b24 +/* 172A04 80244124 8E430000 */ lw $v1, ($s2) +/* 172A08 80244128 24020005 */ addiu $v0, $zero, 5 +func_8024412C: +/* 172A0C 8024412C 10620005 */ beq $v1, $v0, .L80244144 +/* 172A10 80244130 2402000A */ addiu $v0, $zero, 0xa +/* 172A14 80244134 10620040 */ beq $v1, $v0, .L80244238 +/* 172A18 80244138 00000000 */ nop +/* 172A1C 8024413C 080910A3 */ j func_8024428C +/* 172A20 80244140 00000000 */ nop + +.L80244144: +/* 172A24 80244144 3C03F3FF */ lui $v1, 0xf3ff +/* 172A28 80244148 8E220000 */ lw $v0, ($s1) +/* 172A2C 8024414C 3463FFFF */ ori $v1, $v1, 0xffff +/* 172A30 80244150 00431024 */ and $v0, $v0, $v1 +/* 172A34 80244154 12000004 */ beqz $s0, .L80244168 +/* 172A38 80244158 AE220000 */ sw $v0, ($s1) +/* 172A3C 8024415C 8E020000 */ lw $v0, ($s0) +/* 172A40 80244160 00431024 */ and $v0, $v0, $v1 +/* 172A44 80244164 AE020000 */ sw $v0, ($s0) +.L80244168: +/* 172A48 80244168 2402000B */ addiu $v0, $zero, 0xb +/* 172A4C 8024416C 3C05800E */ lui $a1, 0x800e +/* 172A50 80244170 24A5C070 */ addiu $a1, $a1, -0x3f90 +/* 172A54 80244174 2403FFFD */ addiu $v1, $zero, -3 +/* 172A58 80244178 2406FFF7 */ addiu $a2, $zero, -9 +/* 172A5C 8024417C AE420000 */ sw $v0, ($s2) +/* 172A60 80244180 8CA20004 */ lw $v0, 4($a1) +/* 172A64 80244184 2404FFEF */ addiu $a0, $zero, -0x11 +/* 172A68 80244188 00431024 */ and $v0, $v0, $v1 +/* 172A6C 8024418C 2403FFFB */ addiu $v1, $zero, -5 +/* 172A70 80244190 00431024 */ and $v0, $v0, $v1 +/* 172A74 80244194 00461024 */ and $v0, $v0, $a2 +/* 172A78 80244198 8CA30000 */ lw $v1, ($a1) +/* 172A7C 8024419C 00441024 */ and $v0, $v0, $a0 +/* 172A80 802441A0 ACA20004 */ sw $v0, 4($a1) +/* 172A84 802441A4 00661824 */ and $v1, $v1, $a2 +/* 172A88 802441A8 ACA30000 */ sw $v1, ($a1) +/* 172A8C 802441AC 82220216 */ lb $v0, 0x216($s1) +/* 172A90 802441B0 2414000D */ addiu $s4, $zero, 0xd +/* 172A94 802441B4 14540005 */ bne $v0, $s4, .L802441CC +/* 172A98 802441B8 00000000 */ nop +func_802441BC: +/* 172A9C 802441BC 0C09C596 */ jal dispatch_event_player +/* 172AA0 802441C0 24040034 */ addiu $a0, $zero, 0x34 +func_802441C4: +/* 172AA4 802441C4 2402000A */ addiu $v0, $zero, 0xa +/* 172AA8 802441C8 AE420000 */ sw $v0, ($s2) +func_802441CC: +.L802441CC: +/* 172AAC 802441CC 8E220440 */ lw $v0, 0x440($s1) +/* 172AB0 802441D0 A2200210 */ sb $zero, 0x210($s1) +/* 172AB4 802441D4 A2200212 */ sb $zero, 0x212($s1) +/* 172AB8 802441D8 A2200214 */ sb $zero, 0x214($s1) +/* 172ABC 802441DC A2200218 */ sb $zero, 0x218($s1) +/* 172AC0 802441E0 A2200216 */ sb $zero, 0x216($s1) +/* 172AC4 802441E4 A2200217 */ sb $zero, 0x217($s1) +/* 172AC8 802441E8 8C42000C */ lw $v0, 0xc($v0) +/* 172ACC 802441EC 12000027 */ beqz $s0, .L8024428C +/* 172AD0 802441F0 AC40003C */ sw $zero, 0x3c($v0) +/* 172AD4 802441F4 82020216 */ lb $v0, 0x216($s0) +/* 172AD8 802441F8 14540005 */ bne $v0, $s4, .L80244210 +/* 172ADC 802441FC 00000000 */ nop +/* 172AE0 80244200 0C09F7A0 */ jal dispatch_event_partner +/* 172AE4 80244204 24040034 */ addiu $a0, $zero, 0x34 +/* 172AE8 80244208 2402000A */ addiu $v0, $zero, 0xa +/* 172AEC 8024420C AE420000 */ sw $v0, ($s2) +.L80244210: +/* 172AF0 80244210 8E020440 */ lw $v0, 0x440($s0) +/* 172AF4 80244214 A2000210 */ sb $zero, 0x210($s0) +/* 172AF8 80244218 A2000212 */ sb $zero, 0x212($s0) +/* 172AFC 8024421C A2000214 */ sb $zero, 0x214($s0) +/* 172B00 80244220 A2000218 */ sb $zero, 0x218($s0) +/* 172B04 80244224 A2000216 */ sb $zero, 0x216($s0) +/* 172B08 80244228 A2000217 */ sb $zero, 0x217($s0) +/* 172B0C 8024422C 8C42000C */ lw $v0, 0xc($v0) +/* 172B10 80244230 080910A3 */ j func_8024428C +/* 172B14 80244234 AC40003C */ sw $zero, 0x3c($v0) + +.L80244238: +/* 172B18 80244238 8E2201D8 */ lw $v0, 0x1d8($s1) +/* 172B1C 8024423C 10400005 */ beqz $v0, .L80244254 +/* 172B20 80244240 00000000 */ nop +/* 172B24 80244244 0C0B1059 */ jal does_script_exist +/* 172B28 80244248 8E2401E8 */ lw $a0, 0x1e8($s1) +/* 172B2C 8024424C 1440000F */ bnez $v0, .L8024428C +func_80244250: +/* 172B30 80244250 00000000 */ nop +.L80244254: +/* 172B34 80244254 1200000A */ beqz $s0, .L80244280 +func_80244258: +/* 172B38 80244258 AE2001D8 */ sw $zero, 0x1d8($s1) +/* 172B3C 8024425C 8E0201D8 */ lw $v0, 0x1d8($s0) +/* 172B40 80244260 50400007 */ beql $v0, $zero, .L80244280 +func_80244264: +/* 172B44 80244264 AE0001D8 */ sw $zero, 0x1d8($s0) +/* 172B48 80244268 8E0401E8 */ lw $a0, 0x1e8($s0) +/* 172B4C 8024426C 0C0B1059 */ jal does_script_exist +/* 172B50 80244270 00000000 */ nop +/* 172B54 80244274 14400005 */ bnez $v0, .L8024428C +/* 172B58 80244278 00000000 */ nop +/* 172B5C 8024427C AE0001D8 */ sw $zero, 0x1d8($s0) +.L80244280: +/* 172B60 80244280 2402000B */ addiu $v0, $zero, 0xb +/* 172B64 80244284 3C01800E */ lui $at, 0x800e +/* 172B68 80244288 AC22C4DC */ sw $v0, -0x3b24($at) +func_8024428C: +.L8024428C: +/* 172B6C 8024428C 3C04800E */ lui $a0, 0x800e +/* 172B70 80244290 2484C4DC */ addiu $a0, $a0, -0x3b24 +/* 172B74 80244294 8C830000 */ lw $v1, ($a0) +/* 172B78 80244298 2402000B */ addiu $v0, $zero, 0xb +/* 172B7C 8024429C 14620017 */ bne $v1, $v0, .L802442FC +/* 172B80 802442A0 00000000 */ nop +/* 172B84 802442A4 12000006 */ beqz $s0, .L802442C0 +/* 172B88 802442A8 3C030010 */ lui $v1, 0x10 +/* 172B8C 802442AC 3C02800E */ lui $v0, 0x800e +/* 172B90 802442B0 8C42C070 */ lw $v0, -0x3f90($v0) +/* 172B94 802442B4 00431024 */ and $v0, $v0, $v1 +/* 172B98 802442B8 14400004 */ bnez $v0, .L802442CC +/* 172B9C 802442BC 2402000C */ addiu $v0, $zero, 0xc +.L802442C0: +/* 172BA0 802442C0 24020002 */ addiu $v0, $zero, 2 +/* 172BA4 802442C4 080910BF */ j func_802442FC +/* 172BA8 802442C8 AC820000 */ sw $v0, ($a0) + +.L802442CC: +/* 172BAC 802442CC C6000144 */ lwc1 $f0, 0x144($s0) +/* 172BB0 802442D0 C602014C */ lwc1 $f2, 0x14c($s0) +/* 172BB4 802442D4 E600000C */ swc1 $f0, 0xc($s0) +/* 172BB8 802442D8 E6020014 */ swc1 $f2, 0x14($s0) +/* 172BBC 802442DC C6200144 */ lwc1 $f0, 0x144($s1) +/* 172BC0 802442E0 AC820000 */ sw $v0, ($a0) +/* 172BC4 802442E4 E6000018 */ swc1 $f0, 0x18($s0) +/* 172BC8 802442E8 C620014C */ lwc1 $f0, 0x14c($s1) +/* 172BCC 802442EC 24020004 */ addiu $v0, $zero, 4 +/* 172BD0 802442F0 A6020070 */ sh $v0, 0x70($s0) +/* 172BD4 802442F4 AE000054 */ sw $zero, 0x54($s0) +/* 172BD8 802442F8 E6000020 */ swc1 $f0, 0x20($s0) +func_802442FC: +.L802442FC: +/* 172BDC 802442FC 3C12800E */ lui $s2, 0x800e +/* 172BE0 80244300 2652C4DC */ addiu $s2, $s2, -0x3b24 +/* 172BE4 80244304 8E430000 */ lw $v1, ($s2) +/* 172BE8 80244308 2402000C */ addiu $v0, $zero, 0xc +/* 172BEC 8024430C 1462006D */ bne $v1, $v0, .L802444C4 +/* 172BF0 80244310 00000000 */ nop +/* 172BF4 80244314 86020070 */ lh $v0, 0x70($s0) +/* 172BF8 80244318 10400022 */ beqz $v0, .L802443A4 +/* 172BFC 8024431C 00000000 */ nop +/* 172C00 80244320 C6000018 */ lwc1 $f0, 0x18($s0) +/* 172C04 80244324 C6080144 */ lwc1 $f8, 0x144($s0) +/* 172C08 80244328 C6020020 */ lwc1 $f2, 0x20($s0) +/* 172C0C 8024432C 46080001 */ sub.s $f0, $f0, $f8 +/* 172C10 80244330 C604014C */ lwc1 $f4, 0x14c($s0) +/* 172C14 80244334 46041081 */ sub.s $f2, $f2, $f4 +/* 172C18 80244338 44823000 */ mtc1 $v0, $f6 +/* 172C1C 8024433C 00000000 */ nop +/* 172C20 80244340 468031A0 */ cvt.s.w $f6, $f6 +/* 172C24 80244344 46060003 */ div.s $f0, $f0, $f6 +/* 172C28 80244348 46004200 */ add.s $f8, $f8, $f0 +/* 172C2C 8024434C 46003006 */ mov.s $f0, $f6 +/* 172C30 80244350 46061083 */ div.s $f2, $f2, $f6 +/* 172C34 80244354 C600000C */ lwc1 $f0, 0xc($s0) +/* 172C38 80244358 46022100 */ add.s $f4, $f4, $f2 +/* 172C3C 8024435C E6080144 */ swc1 $f8, 0x144($s0) +/* 172C40 80244360 E604014C */ swc1 $f4, 0x14c($s0) +/* 172C44 80244364 C6240144 */ lwc1 $f4, 0x144($s1) +/* 172C48 80244368 46040001 */ sub.s $f0, $f0, $f4 +/* 172C4C 8024436C 46003086 */ mov.s $f2, $f6 +/* 172C50 80244370 46060003 */ div.s $f0, $f0, $f6 +/* 172C54 80244374 46002100 */ add.s $f4, $f4, $f0 +/* 172C58 80244378 E6240144 */ swc1 $f4, 0x144($s1) +/* 172C5C 8024437C C6000014 */ lwc1 $f0, 0x14($s0) +/* 172C60 80244380 C624014C */ lwc1 $f4, 0x14c($s1) +/* 172C64 80244384 86020070 */ lh $v0, 0x70($s0) +/* 172C68 80244388 46040001 */ sub.s $f0, $f0, $f4 +/* 172C6C 8024438C 44821000 */ mtc1 $v0, $f2 +/* 172C70 80244390 00000000 */ nop +/* 172C74 80244394 468010A0 */ cvt.s.w $f2, $f2 +/* 172C78 80244398 46020003 */ div.s $f0, $f0, $f2 +/* 172C7C 8024439C 46002100 */ add.s $f4, $f4, $f0 +/* 172C80 802443A0 E624014C */ swc1 $f4, 0x14c($s1) +.L802443A4: +/* 172C84 802443A4 C60C0054 */ lwc1 $f12, 0x54($s0) +/* 172C88 802443A8 3C0140C9 */ lui $at, 0x40c9 +/* 172C8C 802443AC 34210FD0 */ ori $at, $at, 0xfd0 +/* 172C90 802443B0 4481B000 */ mtc1 $at, $f22 +/* 172C94 802443B4 00000000 */ nop +/* 172C98 802443B8 46166302 */ mul.s $f12, $f12, $f22 +/* 172C9C 802443BC 00000000 */ nop +/* 172CA0 802443C0 3C0143B4 */ lui $at, 0x43b4 +/* 172CA4 802443C4 4481C000 */ mtc1 $at, $f24 +/* 172CA8 802443C8 3C014180 */ lui $at, 0x4180 +/* 172CAC 802443CC 4481A000 */ mtc1 $at, $f20 +/* 172CB0 802443D0 0C00A85B */ jal sin_rad +/* 172CB4 802443D4 46186303 */ div.s $f12, $f12, $f24 +/* 172CB8 802443D8 46140002 */ mul.s $f0, $f0, $f20 +/* 172CBC 802443DC 00000000 */ nop +/* 172CC0 802443E0 C602014C */ lwc1 $f2, 0x14c($s0) +/* 172CC4 802443E4 46001080 */ add.s $f2, $f2, $f0 +/* 172CC8 802443E8 C60C0054 */ lwc1 $f12, 0x54($s0) +/* 172CCC 802443EC 46006307 */ neg.s $f12, $f12 +/* 172CD0 802443F0 0C00A6C9 */ jal clamp_angle +/* 172CD4 802443F4 E602014C */ swc1 $f2, 0x14c($s0) +/* 172CD8 802443F8 C60C0054 */ lwc1 $f12, 0x54($s0) +/* 172CDC 802443FC 46166302 */ mul.s $f12, $f12, $f22 +/* 172CE0 80244400 00000000 */ nop +/* 172CE4 80244404 E600018C */ swc1 $f0, 0x18c($s0) +/* 172CE8 80244408 0C00A85B */ jal sin_rad +/* 172CEC 8024440C 46186303 */ div.s $f12, $f12, $f24 +/* 172CF0 80244410 46140002 */ mul.s $f0, $f0, $f20 +/* 172CF4 80244414 00000000 */ nop +/* 172CF8 80244418 C622014C */ lwc1 $f2, 0x14c($s1) +/* 172CFC 8024441C 46001081 */ sub.s $f2, $f2, $f0 +/* 172D00 80244420 E622014C */ swc1 $f2, 0x14c($s1) +/* 172D04 80244424 C60C0054 */ lwc1 $f12, 0x54($s0) +/* 172D08 80244428 0C00A6C9 */ jal clamp_angle +/* 172D0C 8024442C 46006307 */ neg.s $f12, $f12 +/* 172D10 80244430 E620018C */ swc1 $f0, 0x18c($s1) +/* 172D14 80244434 C6000054 */ lwc1 $f0, 0x54($s0) +/* 172D18 80244438 3C0142B4 */ lui $at, 0x42b4 +/* 172D1C 8024443C 44811000 */ mtc1 $at, $f2 +/* 172D20 80244440 86020070 */ lh $v0, 0x70($s0) +/* 172D24 80244444 46020000 */ add.s $f0, $f0, $f2 +/* 172D28 80244448 96030070 */ lhu $v1, 0x70($s0) +/* 172D2C 8024444C 10400004 */ beqz $v0, .L80244460 +/* 172D30 80244450 E6000054 */ swc1 $f0, 0x54($s0) +/* 172D34 80244454 2462FFFF */ addiu $v0, $v1, -1 +/* 172D38 80244458 08091131 */ j func_802444C4 +/* 172D3C 8024445C A6020070 */ sh $v0, 0x70($s0) + +.L80244460: +/* 172D40 80244460 C6000018 */ lwc1 $f0, 0x18($s0) +/* 172D44 80244464 C6020020 */ lwc1 $f2, 0x20($s0) +/* 172D48 80244468 C604000C */ lwc1 $f4, 0xc($s0) +/* 172D4C 8024446C E6000144 */ swc1 $f0, 0x144($s0) +/* 172D50 80244470 E602014C */ swc1 $f2, 0x14c($s0) +/* 172D54 80244474 E6240144 */ swc1 $f4, 0x144($s1) +/* 172D58 80244478 C6000014 */ lwc1 $f0, 0x14($s0) +/* 172D5C 8024447C 3C05FFEF */ lui $a1, 0xffef +/* 172D60 80244480 E620014C */ swc1 $f0, 0x14c($s1) +/* 172D64 80244484 C6000144 */ lwc1 $f0, 0x144($s0) +/* 172D68 80244488 C602014C */ lwc1 $f2, 0x14c($s0) +/* 172D6C 8024448C 34A5FFFF */ ori $a1, $a1, 0xffff +/* 172D70 80244490 E6000138 */ swc1 $f0, 0x138($s0) +/* 172D74 80244494 E6020140 */ swc1 $f2, 0x140($s0) +/* 172D78 80244498 C6200144 */ lwc1 $f0, 0x144($s1) +/* 172D7C 8024449C C622014C */ lwc1 $f2, 0x14c($s1) +/* 172D80 802444A0 3C04800E */ lui $a0, 0x800e +/* 172D84 802444A4 2484C070 */ addiu $a0, $a0, -0x3f90 +/* 172D88 802444A8 E6200138 */ swc1 $f0, 0x138($s1) +/* 172D8C 802444AC E6220140 */ swc1 $f2, 0x140($s1) +/* 172D90 802444B0 8C820000 */ lw $v0, ($a0) +/* 172D94 802444B4 24030002 */ addiu $v1, $zero, 2 +/* 172D98 802444B8 AE430000 */ sw $v1, ($s2) +/* 172D9C 802444BC 00451024 */ and $v0, $v0, $a1 +/* 172DA0 802444C0 AC820000 */ sw $v0, ($a0) +func_802444C4: +.L802444C4: +/* 172DA4 802444C4 3C03800E */ lui $v1, 0x800e +/* 172DA8 802444C8 8C63C4DC */ lw $v1, -0x3b24($v1) +/* 172DAC 802444CC 24020002 */ addiu $v0, $zero, 2 +/* 172DB0 802444D0 14620026 */ bne $v1, $v0, .L8024456C +/* 172DB4 802444D4 00000000 */ nop +/* 172DB8 802444D8 0C093903 */ jal func_8024E40C +/* 172DBC 802444DC 0040202D */ daddu $a0, $v0, $zero +/* 172DC0 802444E0 8263008A */ lb $v1, 0x8a($s3) +/* 172DC4 802444E4 24020003 */ addiu $v0, $zero, 3 +/* 172DC8 802444E8 14620016 */ bne $v1, $v0, .L80244544 +/* 172DCC 802444EC 00000000 */ nop +/* 172DD0 802444F0 82620078 */ lb $v0, 0x78($s3) +/* 172DD4 802444F4 14400007 */ bnez $v0, .L80244514 +/* 172DD8 802444F8 2405000A */ addiu $a1, $zero, 0xa +/* 172DDC 802444FC 92A2028A */ lbu $v0, 0x28a($s5) +/* 172DE0 80244500 A260008A */ sb $zero, 0x8a($s3) +/* 172DE4 80244504 A6A0028C */ sh $zero, 0x28c($s5) +/* 172DE8 80244508 24420001 */ addiu $v0, $v0, 1 +/* 172DEC 8024450C 08091150 */ j func_80244540 +/* 172DF0 80244510 A2A2028A */ sb $v0, 0x28a($s5) + +.L80244514: +/* 172DF4 80244514 3C048028 */ lui $a0, 0x8028 +/* 172DF8 80244518 24844EBC */ addiu $a0, $a0, 0x4ebc +/* 172DFC 8024451C 0000302D */ daddu $a2, $zero, $zero +/* 172E00 80244520 24020016 */ addiu $v0, $zero, 0x16 +/* 172E04 80244524 0C0B0CF8 */ jal start_script +/* 172E08 80244528 A26201A7 */ sb $v0, 0x1a7($s3) +/* 172E0C 8024452C 0040202D */ daddu $a0, $v0, $zero +/* 172E10 80244530 AE2401D4 */ sw $a0, 0x1d4($s1) +/* 172E14 80244534 8C820144 */ lw $v0, 0x144($a0) +/* 172E18 80244538 AE2201E4 */ sw $v0, 0x1e4($s1) +/* 172E1C 8024453C AC800148 */ sw $zero, 0x148($a0) +func_80244540: +/* 172E20 80244540 24020003 */ addiu $v0, $zero, 3 +.L80244544: +/* 172E24 80244544 3C04800E */ lui $a0, 0x800e +/* 172E28 80244548 2484C070 */ addiu $a0, $a0, -0x3f90 +/* 172E2C 8024454C 3C01800E */ lui $at, 0x800e +/* 172E30 80244550 AC22C4DC */ sw $v0, -0x3b24($at) +/* 172E34 80244554 8C820000 */ lw $v0, ($a0) +/* 172E38 80244558 2403FFFD */ addiu $v1, $zero, -3 +/* 172E3C 8024455C 3C01802A */ lui $at, 0x802a +/* 172E40 80244560 AC20F248 */ sw $zero, -0xdb8($at) +/* 172E44 80244564 00431024 */ and $v0, $v0, $v1 +/* 172E48 80244568 AC820000 */ sw $v0, ($a0) +.L8024456C: +/* 172E4C 8024456C 3C12800E */ lui $s2, 0x800e +/* 172E50 80244570 2652C4DC */ addiu $s2, $s2, -0x3b24 +/* 172E54 80244574 8E500000 */ lw $s0, ($s2) +/* 172E58 80244578 24020003 */ addiu $v0, $zero, 3 +/* 172E5C 8024457C 16020020 */ bne $s0, $v0, .L80244600 +/* 172E60 80244580 00000000 */ nop +/* 172E64 80244584 3C03802A */ lui $v1, 0x802a +/* 172E68 80244588 2463F248 */ addiu $v1, $v1, -0xdb8 +/* 172E6C 8024458C 8C620000 */ lw $v0, ($v1) +/* 172E70 80244590 10400003 */ beqz $v0, .L802445A0 +/* 172E74 80244594 2442FFFF */ addiu $v0, $v0, -1 +/* 172E78 80244598 08091180 */ j func_80244600 +/* 172E7C 8024459C AC620000 */ sw $v0, ($v1) + +.L802445A0: +/* 172E80 802445A0 8E2201D4 */ lw $v0, 0x1d4($s1) +/* 172E84 802445A4 50400007 */ beql $v0, $zero, .L802445C4 +/* 172E88 802445A8 AE2001D4 */ sw $zero, 0x1d4($s1) +/* 172E8C 802445AC 8E2401E4 */ lw $a0, 0x1e4($s1) +/* 172E90 802445B0 0C0B1059 */ jal does_script_exist +/* 172E94 802445B4 00000000 */ nop +/* 172E98 802445B8 14400011 */ bnez $v0, .L80244600 +/* 172E9C 802445BC 00000000 */ nop +/* 172EA0 802445C0 AE2001D4 */ sw $zero, 0x1d4($s1) +.L802445C4: +/* 172EA4 802445C4 8262008A */ lb $v0, 0x8a($s3) +/* 172EA8 802445C8 10500003 */ beq $v0, $s0, .L802445D8 +/* 172EAC 802445CC 24020004 */ addiu $v0, $zero, 4 +/* 172EB0 802445D0 08091180 */ j func_80244600 +/* 172EB4 802445D4 AE420000 */ sw $v0, ($s2) + +.L802445D8: +/* 172EB8 802445D8 92640078 */ lbu $a0, 0x78($s3) +/* 172EBC 802445DC 24020014 */ addiu $v0, $zero, 0x14 +/* 172EC0 802445E0 A262007A */ sb $v0, 0x7a($s3) +/* 172EC4 802445E4 92620079 */ lbu $v0, 0x79($s3) +/* 172EC8 802445E8 24030004 */ addiu $v1, $zero, 4 +/* 172ECC 802445EC A260008A */ sb $zero, 0x8a($s3) +/* 172ED0 802445F0 AE430000 */ sw $v1, ($s2) +/* 172ED4 802445F4 00822021 */ addu $a0, $a0, $v0 +/* 172ED8 802445F8 00441021 */ addu $v0, $v0, $a0 +/* 172EDC 802445FC A2620079 */ sb $v0, 0x79($s3) +func_80244600: +.L80244600: +/* 172EE0 80244600 3C03800E */ lui $v1, 0x800e +/* 172EE4 80244604 8C63C4DC */ lw $v1, -0x3b24($v1) +/* 172EE8 80244608 24020004 */ addiu $v0, $zero, 4 +/* 172EEC 8024460C 14620031 */ bne $v1, $v0, .L802446D4 +/* 172EF0 80244610 00000000 */ nop +/* 172EF4 80244614 82620079 */ lb $v0, 0x79($s3) +/* 172EF8 80244618 1C40002E */ bgtz $v0, .L802446D4 +/* 172EFC 8024461C 3C020100 */ lui $v0, 0x100 +/* 172F00 80244620 3C04800E */ lui $a0, 0x800e +/* 172F04 80244624 2484C070 */ addiu $a0, $a0, -0x3f90 +/* 172F08 80244628 8C830000 */ lw $v1, ($a0) +/* 172F0C 8024462C 00621024 */ and $v0, $v1, $v0 +/* 172F10 80244630 10400004 */ beqz $v0, .L80244644 +/* 172F14 80244634 3C02FFFB */ lui $v0, 0xfffb +/* 172F18 80244638 3442FFFF */ ori $v0, $v0, 0xffff +/* 172F1C 8024463C 00621024 */ and $v0, $v1, $v0 +/* 172F20 80244640 AC820000 */ sw $v0, ($a0) +.L80244644: +/* 172F24 80244644 96A302A4 */ lhu $v1, 0x2a4($s5) +/* 172F28 80244648 2C62270F */ sltiu $v0, $v1, 0x270f +/* 172F2C 8024464C 10400002 */ beqz $v0, .L80244658 +/* 172F30 80244650 24620001 */ addiu $v0, $v1, 1 +/* 172F34 80244654 A6A202A4 */ sh $v0, 0x2a4($s5) +.L80244658: +/* 172F38 80244658 8C820000 */ lw $v0, ($a0) +/* 172F3C 8024465C 3C030004 */ lui $v1, 4 +/* 172F40 80244660 00431024 */ and $v0, $v0, $v1 +/* 172F44 80244664 10400003 */ beqz $v0, .L80244674 +/* 172F48 80244668 24020003 */ addiu $v0, $zero, 3 +/* 172F4C 8024466C 0809119E */ j func_80244678 +/* 172F50 80244670 A2C20009 */ sb $v0, 9($s6) + +.L80244674: +/* 172F54 80244674 A2C00009 */ sb $zero, 9($s6) +func_80244678: +/* 172F58 80244678 3C04800E */ lui $a0, 0x800e +/* 172F5C 8024467C 2484C070 */ addiu $a0, $a0, -0x3f90 +/* 172F60 80244680 8C820000 */ lw $v0, ($a0) +/* 172F64 80244684 3C030002 */ lui $v1, 2 +/* 172F68 80244688 00431024 */ and $v0, $v0, $v1 +/* 172F6C 8024468C 1040000E */ beqz $v0, .L802446C8 +/* 172F70 80244690 3C030200 */ lui $v1, 0x200 +/* 172F74 80244694 8C820004 */ lw $v0, 4($a0) +/* 172F78 80244698 00431024 */ and $v0, $v0, $v1 +/* 172F7C 8024469C 5440000B */ bnezl $v0, .L802446CC +/* 172F80 802446A0 24040020 */ addiu $a0, $zero, 0x20 +/* 172F84 802446A4 24020008 */ addiu $v0, $zero, 8 +/* 172F88 802446A8 AFA20010 */ sw $v0, 0x10($sp) +/* 172F8C 802446AC 0000202D */ daddu $a0, $zero, $zero +/* 172F90 802446B0 2405FFFF */ addiu $a1, $zero, -1 +/* 172F94 802446B4 0080302D */ daddu $a2, $a0, $zero +/* 172F98 802446B8 0C052A46 */ jal set_music_track +/* 172F9C 802446BC 240705DC */ addiu $a3, $zero, 0x5dc +/* 172FA0 802446C0 080911B3 */ j func_802446CC +/* 172FA4 802446C4 24040020 */ addiu $a0, $zero, 0x20 + +.L802446C8: +/* 172FA8 802446C8 24040021 */ addiu $a0, $zero, 0x21 +func_802446CC: +.L802446CC: +/* 172FAC 802446CC 0C090464 */ jal func_80241190 +/* 172FB0 802446D0 00000000 */ nop +.L802446D4: +/* 172FB4 802446D4 8FBF0034 */ lw $ra, 0x34($sp) +/* 172FB8 802446D8 8FB60030 */ lw $s6, 0x30($sp) +/* 172FBC 802446DC 8FB5002C */ lw $s5, 0x2c($sp) +/* 172FC0 802446E0 8FB40028 */ lw $s4, 0x28($sp) +/* 172FC4 802446E4 8FB30024 */ lw $s3, 0x24($sp) +/* 172FC8 802446E8 8FB20020 */ lw $s2, 0x20($sp) +/* 172FCC 802446EC 8FB1001C */ lw $s1, 0x1c($sp) +/* 172FD0 802446F0 8FB00018 */ lw $s0, 0x18($sp) +/* 172FD4 802446F4 D7B80048 */ ldc1 $f24, 0x48($sp) +/* 172FD8 802446F8 D7B60040 */ ldc1 $f22, 0x40($sp) +/* 172FDC 802446FC D7B40038 */ ldc1 $f20, 0x38($sp) +/* 172FE0 80244700 03E00008 */ jr $ra +/* 172FE4 80244704 27BD0050 */ addiu $sp, $sp, 0x50 + +func_80244708: +/* 172FE8 80244708 03E00008 */ jr $ra +/* 172FEC 8024470C 00000000 */ nop + +func_80244710: +/* 172FF0 80244710 27BDFFC8 */ addiu $sp, $sp, -0x38 +/* 172FF4 80244714 AFB30024 */ sw $s3, 0x24($sp) +/* 172FF8 80244718 3C13800E */ lui $s3, 0x800e +/* 172FFC 8024471C 2673C070 */ addiu $s3, $s3, -0x3f90 +/* 173000 80244720 AFB5002C */ sw $s5, 0x2c($sp) +/* 173004 80244724 3C158011 */ lui $s5, 0x8011 +/* 173008 80244728 26B5F290 */ addiu $s5, $s5, -0xd70 +/* 17300C 8024472C AFB20020 */ sw $s2, 0x20($sp) +/* 173010 80244730 3C12800E */ lui $s2, 0x800e +/* 173014 80244734 2652C4DC */ addiu $s2, $s2, -0x3b24 +/* 173018 80244738 AFBF0030 */ sw $ra, 0x30($sp) +/* 17301C 8024473C AFB40028 */ sw $s4, 0x28($sp) +/* 173020 80244740 AFB1001C */ sw $s1, 0x1c($sp) +/* 173024 80244744 AFB00018 */ sw $s0, 0x18($sp) +/* 173028 80244748 8E7000D8 */ lw $s0, 0xd8($s3) +/* 17302C 8024474C 8E430000 */ lw $v1, ($s2) +/* 173030 80244750 8E7100DC */ lw $s1, 0xdc($s3) +/* 173034 80244754 10600005 */ beqz $v1, .L8024476C +/* 173038 80244758 2402000A */ addiu $v0, $zero, 0xa +/* 17303C 8024475C 1062003B */ beq $v1, $v0, .L8024484C +/* 173040 80244760 00000000 */ nop +/* 173044 80244764 08091228 */ j func_802448A0 +/* 173048 80244768 00000000 */ nop + +.L8024476C: +/* 17304C 8024476C 3C03F3FF */ lui $v1, 0xf3ff +/* 173050 80244770 8E020000 */ lw $v0, ($s0) +/* 173054 80244774 3463FFFF */ ori $v1, $v1, 0xffff +/* 173058 80244778 00431024 */ and $v0, $v0, $v1 +/* 17305C 8024477C 12200004 */ beqz $s1, .L80244790 +/* 173060 80244780 AE020000 */ sw $v0, ($s0) +/* 173064 80244784 8E220000 */ lw $v0, ($s1) +/* 173068 80244788 00431024 */ and $v0, $v0, $v1 +/* 17306C 8024478C AE220000 */ sw $v0, ($s1) +.L80244790: +/* 173070 80244790 2402000B */ addiu $v0, $zero, 0xb +/* 173074 80244794 AE420000 */ sw $v0, ($s2) +/* 173078 80244798 8E620004 */ lw $v0, 4($s3) +/* 17307C 8024479C 2403FFFD */ addiu $v1, $zero, -3 +/* 173080 802447A0 00431024 */ and $v0, $v0, $v1 +/* 173084 802447A4 2403FFFB */ addiu $v1, $zero, -5 +/* 173088 802447A8 00431024 */ and $v0, $v0, $v1 +/* 17308C 802447AC 2403FFF7 */ addiu $v1, $zero, -9 +/* 173090 802447B0 00431024 */ and $v0, $v0, $v1 +/* 173094 802447B4 2403FFEF */ addiu $v1, $zero, -0x11 +/* 173098 802447B8 00431024 */ and $v0, $v0, $v1 +/* 17309C 802447BC AE620004 */ sw $v0, 4($s3) +/* 1730A0 802447C0 82020216 */ lb $v0, 0x216($s0) +/* 1730A4 802447C4 2414000D */ addiu $s4, $zero, 0xd +/* 1730A8 802447C8 14540005 */ bne $v0, $s4, .L802447E0 +/* 1730AC 802447CC 00000000 */ nop +/* 1730B0 802447D0 0C09C596 */ jal dispatch_event_player +/* 1730B4 802447D4 24040034 */ addiu $a0, $zero, 0x34 +/* 1730B8 802447D8 2402000A */ addiu $v0, $zero, 0xa +/* 1730BC 802447DC AE420000 */ sw $v0, ($s2) +.L802447E0: +/* 1730C0 802447E0 8E020440 */ lw $v0, 0x440($s0) +/* 1730C4 802447E4 A2000210 */ sb $zero, 0x210($s0) +/* 1730C8 802447E8 A2000212 */ sb $zero, 0x212($s0) +/* 1730CC 802447EC A2000214 */ sb $zero, 0x214($s0) +/* 1730D0 802447F0 A2000218 */ sb $zero, 0x218($s0) +/* 1730D4 802447F4 A2000216 */ sb $zero, 0x216($s0) +/* 1730D8 802447F8 A2000217 */ sb $zero, 0x217($s0) +/* 1730DC 802447FC 8C42000C */ lw $v0, 0xc($v0) +/* 1730E0 80244800 12200027 */ beqz $s1, .L802448A0 +/* 1730E4 80244804 AC40003C */ sw $zero, 0x3c($v0) +/* 1730E8 80244808 82220216 */ lb $v0, 0x216($s1) +/* 1730EC 8024480C 14540005 */ bne $v0, $s4, .L80244824 +/* 1730F0 80244810 00000000 */ nop +/* 1730F4 80244814 0C09F7A0 */ jal dispatch_event_partner +/* 1730F8 80244818 24040034 */ addiu $a0, $zero, 0x34 +/* 1730FC 8024481C 2402000A */ addiu $v0, $zero, 0xa +/* 173100 80244820 AE420000 */ sw $v0, ($s2) +.L80244824: +/* 173104 80244824 8E220440 */ lw $v0, 0x440($s1) +/* 173108 80244828 A2200210 */ sb $zero, 0x210($s1) +/* 17310C 8024482C A2200212 */ sb $zero, 0x212($s1) +/* 173110 80244830 A2200214 */ sb $zero, 0x214($s1) +/* 173114 80244834 A2200218 */ sb $zero, 0x218($s1) +/* 173118 80244838 A2200216 */ sb $zero, 0x216($s1) +/* 17311C 8024483C A2200217 */ sb $zero, 0x217($s1) +/* 173120 80244840 8C42000C */ lw $v0, 0xc($v0) +/* 173124 80244844 08091228 */ j func_802448A0 +/* 173128 80244848 AC40003C */ sw $zero, 0x3c($v0) + +.L8024484C: +/* 17312C 8024484C 8E0201D8 */ lw $v0, 0x1d8($s0) +/* 173130 80244850 10400005 */ beqz $v0, .L80244868 +/* 173134 80244854 00000000 */ nop +/* 173138 80244858 0C0B1059 */ jal does_script_exist +/* 17313C 8024485C 8E0401E8 */ lw $a0, 0x1e8($s0) +/* 173140 80244860 1440000F */ bnez $v0, .L802448A0 +/* 173144 80244864 00000000 */ nop +.L80244868: +/* 173148 80244868 1220000A */ beqz $s1, .L80244894 +/* 17314C 8024486C AE0001D8 */ sw $zero, 0x1d8($s0) +/* 173150 80244870 8E2201D8 */ lw $v0, 0x1d8($s1) +/* 173154 80244874 50400007 */ beql $v0, $zero, .L80244894 +/* 173158 80244878 AE2001D8 */ sw $zero, 0x1d8($s1) +/* 17315C 8024487C 8E2401E8 */ lw $a0, 0x1e8($s1) +/* 173160 80244880 0C0B1059 */ jal does_script_exist +/* 173164 80244884 00000000 */ nop +/* 173168 80244888 14400005 */ bnez $v0, .L802448A0 +/* 17316C 8024488C 00000000 */ nop +/* 173170 80244890 AE2001D8 */ sw $zero, 0x1d8($s1) +.L80244894: +/* 173174 80244894 2402000B */ addiu $v0, $zero, 0xb +/* 173178 80244898 3C01800E */ lui $at, 0x800e +/* 17317C 8024489C AC22C4DC */ sw $v0, -0x3b24($at) +func_802448A0: +.L802448A0: +/* 173180 802448A0 3C12800E */ lui $s2, 0x800e +/* 173184 802448A4 2652C4DC */ addiu $s2, $s2, -0x3b24 +/* 173188 802448A8 8E500000 */ lw $s0, ($s2) +/* 17318C 802448AC 2402000B */ addiu $v0, $zero, 0xb +/* 173190 802448B0 12020005 */ beq $s0, $v0, .L802448C8 +/* 173194 802448B4 2402000D */ addiu $v0, $zero, 0xd +/* 173198 802448B8 12020023 */ beq $s0, $v0, .L80244948 +/* 17319C 802448BC 00000000 */ nop +/* 1731A0 802448C0 08091259 */ j func_80244964 +/* 1731A4 802448C4 00000000 */ nop + +.L802448C8: +/* 1731A8 802448C8 3C05800E */ lui $a1, 0x800e +/* 1731AC 802448CC 24A5C070 */ addiu $a1, $a1, -0x3f90 +/* 1731B0 802448D0 2403FFFD */ addiu $v1, $zero, -3 +/* 1731B4 802448D4 A260008C */ sb $zero, 0x8c($s3) +/* 1731B8 802448D8 8CA20004 */ lw $v0, 4($a1) +/* 1731BC 802448DC 8264009A */ lb $a0, 0x9a($s3) +/* 1731C0 802448E0 00431024 */ and $v0, $v0, $v1 +/* 1731C4 802448E4 2403FFFB */ addiu $v1, $zero, -5 +/* 1731C8 802448E8 00431024 */ and $v0, $v0, $v1 +/* 1731CC 802448EC 2403FFF7 */ addiu $v1, $zero, -9 +/* 1731D0 802448F0 00431024 */ and $v0, $v0, $v1 +/* 1731D4 802448F4 2403FFEF */ addiu $v1, $zero, -0x11 +/* 1731D8 802448F8 00431024 */ and $v0, $v0, $v1 +/* 1731DC 802448FC 14800004 */ bnez $a0, .L80244910 +/* 1731E0 80244900 ACA20004 */ sw $v0, 4($a1) +/* 1731E4 80244904 2402000D */ addiu $v0, $zero, 0xd +/* 1731E8 80244908 08091259 */ j func_80244964 +/* 1731EC 8024490C AE420000 */ sw $v0, ($s2) + +.L80244910: +/* 1731F0 80244910 2405000A */ addiu $a1, $zero, 0xa +/* 1731F4 80244914 2402000C */ addiu $v0, $zero, 0xc +/* 1731F8 80244918 A26201A7 */ sb $v0, 0x1a7($s3) +/* 1731FC 8024491C 8E2401CC */ lw $a0, 0x1cc($s1) +/* 173200 80244920 0C0B0CF8 */ jal start_script +/* 173204 80244924 0000302D */ daddu $a2, $zero, $zero +/* 173208 80244928 AE2201DC */ sw $v0, 0x1dc($s1) +/* 17320C 8024492C 8C440144 */ lw $a0, 0x144($v0) +/* 173210 80244930 2403000C */ addiu $v1, $zero, 0xc +/* 173214 80244934 AE430000 */ sw $v1, ($s2) +/* 173218 80244938 24030100 */ addiu $v1, $zero, 0x100 +/* 17321C 8024493C AE2401EC */ sw $a0, 0x1ec($s1) +/* 173220 80244940 08091259 */ j func_80244964 +/* 173224 80244944 AC430148 */ sw $v1, 0x148($v0) + +.L80244948: +/* 173228 80244948 8E2401EC */ lw $a0, 0x1ec($s1) +/* 17322C 8024494C 0C0B1059 */ jal does_script_exist +/* 173230 80244950 00000000 */ nop +/* 173234 80244954 14400003 */ bnez $v0, .L80244964 +/* 173238 80244958 00000000 */ nop +/* 17323C 8024495C A260009A */ sb $zero, 0x9a($s3) +/* 173240 80244960 AE500000 */ sw $s0, ($s2) +func_80244964: +.L80244964: +/* 173244 80244964 3C10800E */ lui $s0, 0x800e +/* 173248 80244968 2610C4DC */ addiu $s0, $s0, -0x3b24 +/* 17324C 8024496C 8E030000 */ lw $v1, ($s0) +/* 173250 80244970 2402000D */ addiu $v0, $zero, 0xd +/* 173254 80244974 10620005 */ beq $v1, $v0, .L8024498C +/* 173258 80244978 2402000E */ addiu $v0, $zero, 0xe +/* 17325C 8024497C 1062000B */ beq $v1, $v0, .L802449AC +/* 173260 80244980 00000000 */ nop +/* 173264 80244984 08091289 */ j func_80244A24 +/* 173268 80244988 00000000 */ nop + +.L8024498C: +/* 17326C 8024498C 0C093903 */ jal func_8024E40C +/* 173270 80244990 24040002 */ addiu $a0, $zero, 2 +/* 173274 80244994 2402001E */ addiu $v0, $zero, 0x1e +/* 173278 80244998 3C01802A */ lui $at, 0x802a +/* 17327C 8024499C AC22F248 */ sw $v0, -0xdb8($at) +/* 173280 802449A0 2402000E */ addiu $v0, $zero, 0xe +/* 173284 802449A4 08091289 */ j func_80244A24 +/* 173288 802449A8 AE020000 */ sw $v0, ($s0) + +.L802449AC: +/* 17328C 802449AC 3C03802A */ lui $v1, 0x802a +/* 173290 802449B0 2463F248 */ addiu $v1, $v1, -0xdb8 +/* 173294 802449B4 8C620000 */ lw $v0, ($v1) +func_802449B8: +/* 173298 802449B8 10400003 */ beqz $v0, .L802449C8 +/* 17329C 802449BC 2442FFFF */ addiu $v0, $v0, -1 +/* 1732A0 802449C0 08091289 */ j func_80244A24 +/* 1732A4 802449C4 AC620000 */ sw $v0, ($v1) + +.L802449C8: +/* 1732A8 802449C8 96A302AA */ lhu $v1, 0x2aa($s5) +/* 1732AC 802449CC 2C62270F */ sltiu $v0, $v1, 0x270f +/* 1732B0 802449D0 10400002 */ beqz $v0, .L802449DC +/* 1732B4 802449D4 24620001 */ addiu $v0, $v1, 1 +/* 1732B8 802449D8 A6A202AA */ sh $v0, 0x2aa($s5) +.L802449DC: +/* 1732BC 802449DC 24030003 */ addiu $v1, $zero, 3 +/* 1732C0 802449E0 3C02800B */ lui $v0, 0x800b +/* 1732C4 802449E4 24420F10 */ addiu $v0, $v0, 0xf10 +/* 1732C8 802449E8 A0430009 */ sb $v1, 9($v0) +/* 1732CC 802449EC 3C02800E */ lui $v0, 0x800e +/* 1732D0 802449F0 8C42C074 */ lw $v0, -0x3f8c($v0) +/* 1732D4 802449F4 3C030200 */ lui $v1, 0x200 +/* 1732D8 802449F8 00431024 */ and $v0, $v0, $v1 +/* 1732DC 802449FC 14400007 */ bnez $v0, .L80244A1C +/* 1732E0 80244A00 24020008 */ addiu $v0, $zero, 8 +/* 1732E4 80244A04 AFA20010 */ sw $v0, 0x10($sp) +/* 1732E8 80244A08 0000202D */ daddu $a0, $zero, $zero +/* 1732EC 80244A0C 2405FFFF */ addiu $a1, $zero, -1 +/* 1732F0 80244A10 0080302D */ daddu $a2, $a0, $zero +/* 1732F4 80244A14 0C052A46 */ jal set_music_track +/* 1732F8 80244A18 240705DC */ addiu $a3, $zero, 0x5dc +.L80244A1C: +/* 1732FC 80244A1C 0C090464 */ jal func_80241190 +/* 173300 80244A20 24040020 */ addiu $a0, $zero, 0x20 +func_80244A24: +/* 173304 80244A24 8FBF0030 */ lw $ra, 0x30($sp) +/* 173308 80244A28 8FB5002C */ lw $s5, 0x2c($sp) +/* 17330C 80244A2C 8FB40028 */ lw $s4, 0x28($sp) +func_80244A30: +/* 173310 80244A30 8FB30024 */ lw $s3, 0x24($sp) +/* 173314 80244A34 8FB20020 */ lw $s2, 0x20($sp) +/* 173318 80244A38 8FB1001C */ lw $s1, 0x1c($sp) +/* 17331C 80244A3C 8FB00018 */ lw $s0, 0x18($sp) +/* 173320 80244A40 03E00008 */ jr $ra +/* 173324 80244A44 27BD0038 */ addiu $sp, $sp, 0x38 + +func_80244A48: +/* 173328 80244A48 03E00008 */ jr $ra +/* 17332C 80244A4C 00000000 */ nop + +end_battle: +/* 173330 80244A50 3C03800E */ lui $v1, 0x800e +/* 173334 80244A54 8C63C4DC */ lw $v1, -0x3b24($v1) +/* 173338 80244A58 3C06800E */ lui $a2, 0x800e +/* 17333C 80244A5C 8CC6C4FC */ lw $a2, -0x3b04($a2) +/* 173340 80244A60 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* 173344 80244A64 AFB30024 */ sw $s3, 0x24($sp) +/* 173348 80244A68 3C13800B */ lui $s3, 0x800b +/* 17334C 80244A6C 26730F10 */ addiu $s3, $s3, 0xf10 +/* 173350 80244A70 AFB20020 */ sw $s2, 0x20($sp) +/* 173354 80244A74 3C12800E */ lui $s2, 0x800e +/* 173358 80244A78 2652C070 */ addiu $s2, $s2, -0x3f90 +/* 17335C 80244A7C AFBF0028 */ sw $ra, 0x28($sp) +/* 173360 80244A80 AFB1001C */ sw $s1, 0x1c($sp) +/* 173364 80244A84 2C620005 */ sltiu $v0, $v1, 5 +/* 173368 80244A88 104000BA */ beqz $v0, .L80244D74 +/* 17336C 80244A8C AFB00018 */ sw $s0, 0x18($sp) +/* 173370 80244A90 00031080 */ sll $v0, $v1, 2 +/* 173374 80244A94 3C01802A */ lui $at, 0x802a +/* 173378 80244A98 00220821 */ addu $at, $at, $v0 +/* 17337C 80244A9C 8C22CAB8 */ lw $v0, -0x3548($at) +/* 173380 80244AA0 00400008 */ jr $v0 +/* 173384 80244AA4 00000000 */ nop +/* 173388 80244AA8 3C028007 */ lui $v0, 0x8007 +/* 17338C 80244AAC 8C42419C */ lw $v0, 0x419c($v0) +/* 173390 80244AB0 3C048028 */ lui $a0, 0x8028 +/* 173394 80244AB4 24840A30 */ addiu $a0, $a0, 0xa30 +/* 173398 80244AB8 AC800000 */ sw $zero, ($a0) +/* 17339C 80244ABC 80430074 */ lb $v1, 0x74($v0) +/* 1733A0 80244AC0 24020002 */ addiu $v0, $zero, 2 +/* 1733A4 80244AC4 14620002 */ bne $v1, $v0, .L80244AD0 +/* 1733A8 80244AC8 240200FF */ addiu $v0, $zero, 0xff +/* 1733AC 80244ACC AC820000 */ sw $v0, ($a0) +.L80244AD0: +/* 1733B0 80244AD0 82630009 */ lb $v1, 9($s3) +/* 1733B4 80244AD4 24020001 */ addiu $v0, $zero, 1 +/* 1733B8 80244AD8 14620015 */ bne $v1, $v0, .L80244B30 +/* 1733BC 80244ADC 3C030080 */ lui $v1, 0x80 +/* 1733C0 80244AE0 3C02800E */ lui $v0, 0x800e +/* 1733C4 80244AE4 8C42C070 */ lw $v0, -0x3f90($v0) +/* 1733C8 80244AE8 00431024 */ and $v0, $v0, $v1 +/* 1733CC 80244AEC 14400010 */ bnez $v0, .L80244B30 +/* 1733D0 80244AF0 24020001 */ addiu $v0, $zero, 1 +/* 1733D4 80244AF4 0C093980 */ jal unfreeze_cam +/* 1733D8 80244AF8 00000000 */ nop +/* 1733DC 80244AFC 0C093903 */ jal func_8024E40C +/* 1733E0 80244B00 24040001 */ addiu $a0, $zero, 1 +/* 1733E4 80244B04 0000202D */ daddu $a0, $zero, $zero +/* 1733E8 80244B08 0080282D */ daddu $a1, $a0, $zero +/* 1733EC 80244B0C 0080302D */ daddu $a2, $a0, $zero +/* 1733F0 80244B10 0C04DF84 */ jal func_80137E10 +/* 1733F4 80244B14 0080382D */ daddu $a3, $a0, $zero +/* 1733F8 80244B18 0000202D */ daddu $a0, $zero, $zero +/* 1733FC 80244B1C 0080282D */ daddu $a1, $a0, $zero +/* 173400 80244B20 240600A0 */ addiu $a2, $zero, 0xa0 +/* 173404 80244B24 0C04DF93 */ jal func_80137E4C +/* 173408 80244B28 24070078 */ addiu $a3, $zero, 0x78 +/* 17340C 80244B2C 24020001 */ addiu $v0, $zero, 1 +.L80244B30: +/* 173410 80244B30 3C01800E */ lui $at, 0x800e +/* 173414 80244B34 AC22C4DC */ sw $v0, -0x3b24($at) +/* 173418 80244B38 0809135D */ j func_80244D74 +/* 17341C 80244B3C 00000000 */ nop + +/* 173420 80244B40 3C048028 */ lui $a0, 0x8028 +/* 173424 80244B44 24840A30 */ addiu $a0, $a0, 0xa30 +/* 173428 80244B48 8C830000 */ lw $v1, ($a0) +/* 17342C 80244B4C 240500FF */ addiu $a1, $zero, 0xff +/* 173430 80244B50 14650005 */ bne $v1, $a1, .L80244B68 +/* 173434 80244B54 24020002 */ addiu $v0, $zero, 2 +/* 173438 80244B58 3C01800E */ lui $at, 0x800e +/* 17343C 80244B5C AC22C4DC */ sw $v0, -0x3b24($at) +/* 173440 80244B60 0809135D */ j func_80244D74 +/* 173444 80244B64 00000000 */ nop + +.L80244B68: +/* 173448 80244B68 8242008D */ lb $v0, 0x8d($s2) +/* 17344C 80244B6C 00621021 */ addu $v0, $v1, $v0 +/* 173450 80244B70 AC820000 */ sw $v0, ($a0) +/* 173454 80244B74 28420100 */ slti $v0, $v0, 0x100 +/* 173458 80244B78 5040007E */ beql $v0, $zero, .L80244D74 +/* 17345C 80244B7C AC850000 */ sw $a1, ($a0) +/* 173460 80244B80 0809135D */ j func_80244D74 +/* 173464 80244B84 00000000 */ nop + +/* 173468 80244B88 240200FF */ addiu $v0, $zero, 0xff +/* 17346C 80244B8C 3C04800E */ lui $a0, 0x800e +/* 173470 80244B90 2484C070 */ addiu $a0, $a0, -0x3f90 +/* 173474 80244B94 2403FFFE */ addiu $v1, $zero, -2 +/* 173478 80244B98 3C018028 */ lui $at, 0x8028 +/* 17347C 80244B9C AC220A30 */ sw $v0, 0xa30($at) +/* 173480 80244BA0 8C820000 */ lw $v0, ($a0) +/* 173484 80244BA4 3C05800E */ lui $a1, 0x800e +/* 173488 80244BA8 8CA5C064 */ lw $a1, -0x3f9c($a1) +/* 17348C 80244BAC 00431024 */ and $v0, $v0, $v1 +/* 173490 80244BB0 14A00004 */ bnez $a1, .L80244BC4 +/* 173494 80244BB4 AC820000 */ sw $v0, ($a0) +/* 173498 80244BB8 8CC4000C */ lw $a0, 0xc($a2) +/* 17349C 80244BBC 080912F2 */ j func_80244BC8 +/* 1734A0 80244BC0 00000000 */ nop +.L80244BC4: +/* 1734A4 80244BC4 8CA40004 */ lw $a0, 4($a1) +/* 1734A8 80244BC8 8C840010 */ lw $a0, 0x10($a0) +/* 1734AC 80244BCC 14800006 */ bnez $a0, .L80244BE8 +/* 1734B0 80244BD0 2405000A */ addiu $a1, $zero, 0xa +/* 1734B4 80244BD4 24020004 */ addiu $v0, $zero, 4 +/* 1734B8 80244BD8 3C01800E */ lui $at, 0x800e +/* 1734BC 80244BDC AC22C4DC */ sw $v0, -0x3b24($at) +/* 1734C0 80244BE0 0809135D */ j func_80244D74 +/* 1734C4 80244BE4 00000000 */ nop + +.L80244BE8: +/* 1734C8 80244BE8 0C0B0CF8 */ jal start_script +/* 1734CC 80244BEC 0000302D */ daddu $a2, $zero, $zero +/* 1734D0 80244BF0 AE4200BC */ sw $v0, 0xbc($s2) +/* 1734D4 80244BF4 8C430144 */ lw $v1, 0x144($v0) +/* 1734D8 80244BF8 24020003 */ addiu $v0, $zero, 3 +/* 1734DC 80244BFC 3C01800E */ lui $at, 0x800e +/* 1734E0 80244C00 AC22C4DC */ sw $v0, -0x3b24($at) +/* 1734E4 80244C04 0809135D */ j func_80244D74 +/* 1734E8 80244C08 AE4300C0 */ sw $v1, 0xc0($s2) + +/* 1734EC 80244C0C 8E4400C0 */ lw $a0, 0xc0($s2) +/* 1734F0 80244C10 0C0B1059 */ jal does_script_exist +/* 1734F4 80244C14 00000000 */ nop +/* 1734F8 80244C18 14400056 */ bnez $v0, .L80244D74 +/* 1734FC 80244C1C 24020004 */ addiu $v0, $zero, 4 +/* 173500 80244C20 3C01800E */ lui $at, 0x800e +/* 173504 80244C24 AC22C4DC */ sw $v0, -0x3b24($at) +/* 173508 80244C28 0C0B1045 */ jal kill_all_scripts +/* 17350C 80244C2C 0000882D */ daddu $s1, $zero, $zero +/* 173510 80244C30 0240802D */ daddu $s0, $s2, $zero +.L80244C34: +/* 173514 80244C34 8E0400E0 */ lw $a0, 0xe0($s0) +/* 173518 80244C38 10800003 */ beqz $a0, .L80244C48 +/* 17351C 80244C3C 26310001 */ addiu $s1, $s1, 1 +/* 173520 80244C40 0C0902EF */ jal delete_actor +/* 173524 80244C44 00000000 */ nop +.L80244C48: +/* 173528 80244C48 2A220018 */ slti $v0, $s1, 0x18 +/* 17352C 80244C4C 1440FFF9 */ bnez $v0, .L80244C34 +/* 173530 80244C50 26100004 */ addiu $s0, $s0, 4 +/* 173534 80244C54 8E4400DC */ lw $a0, 0xdc($s2) +/* 173538 80244C58 10800003 */ beqz $a0, .L80244C68 +/* 17353C 80244C5C 00000000 */ nop +/* 173540 80244C60 0C0902EF */ jal delete_actor +/* 173544 80244C64 00000000 */ nop +.L80244C68: +/* 173548 80244C68 0C09035A */ jal delete_player_actor +/* 17354C 80244C6C 8E4400D8 */ lw $a0, 0xd8($s2) +/* 173550 80244C70 8243008A */ lb $v1, 0x8a($s2) +/* 173554 80244C74 24020004 */ addiu $v0, $zero, 4 +/* 173558 80244C78 14620003 */ bne $v1, $v0, .L80244C88 +/* 17355C 80244C7C 24020001 */ addiu $v0, $zero, 1 +/* 173560 80244C80 A262000B */ sb $v0, 0xb($s3) +/* 173564 80244C84 A240008A */ sb $zero, 0x8a($s2) +.L80244C88: +/* 173568 80244C88 9242007B */ lbu $v0, 0x7b($s2) +/* 17356C 80244C8C 3C10800E */ lui $s0, 0x800e +/* 173570 80244C90 2610C070 */ addiu $s0, $s0, -0x3f90 +/* 173574 80244C94 A262000C */ sb $v0, 0xc($s3) +/* 173578 80244C98 8E020004 */ lw $v0, 4($s0) +/* 17357C 80244C9C 3C031000 */ lui $v1, 0x1000 +/* 173580 80244CA0 00431024 */ and $v0, $v0, $v1 +/* 173584 80244CA4 10400002 */ beqz $v0, .L80244CB0 +/* 173588 80244CA8 24020001 */ addiu $v0, $zero, 1 +func_80244CAC: +/* 17358C 80244CAC A2620013 */ sb $v0, 0x13($s3) +.L80244CB0: +/* 173590 80244CB0 0C016938 */ jal remove_all_effects +/* 173594 80244CB4 00000000 */ nop +/* 173598 80244CB8 0C051FB1 */ jal func_80147EC4 +/* 17359C 80244CBC 0000202D */ daddu $a0, $zero, $zero +/* 1735A0 80244CC0 8E020004 */ lw $v0, 4($s0) +/* 1735A4 80244CC4 30420040 */ andi $v0, $v0, 0x40 +/* 1735A8 80244CC8 10400003 */ beqz $v0, .L80244CD8 +/* 1735AC 80244CCC 00000000 */ nop +/* 1735B0 80244CD0 0C03A6CC */ jal decrement_status_menu_disabled +/* 1735B4 80244CD4 00000000 */ nop +.L80244CD8: +/* 1735B8 80244CD8 82630009 */ lb $v1, 9($s3) +/* 1735BC 80244CDC 24020001 */ addiu $v0, $zero, 1 +/* 1735C0 80244CE0 14620019 */ bne $v1, $v0, .L80244D48 +/* 1735C4 80244CE4 3C030080 */ lui $v1, 0x80 +/* 1735C8 80244CE8 8E020000 */ lw $v0, ($s0) +/* 1735CC 80244CEC 00431024 */ and $v0, $v0, $v1 +/* 1735D0 80244CF0 14400015 */ bnez $v0, .L80244D48 +/* 1735D4 80244CF4 00000000 */ nop +/* 1735D8 80244CF8 0C090464 */ jal func_80241190 +/* 1735DC 80244CFC 0000202D */ daddu $a0, $zero, $zero +/* 1735E0 80244D00 3C04802A */ lui $a0, 0x802a +/* 1735E4 80244D04 2484CAAC */ addiu $a0, $a0, -0x3554 +/* 1735E8 80244D08 27A50010 */ addiu $a1, $sp, 0x10 +/* 1735EC 80244D0C 3C02800E */ lui $v0, 0x800e +/* 1735F0 80244D10 8C42C068 */ lw $v0, -0x3f98($v0) +/* 1735F4 80244D14 3C01800E */ lui $at, 0x800e +/* 1735F8 80244D18 AC22C4D0 */ sw $v0, -0x3b30($at) +/* 1735FC 80244D1C 0C016AFE */ jal get_map_IDs_by_name +/* 173600 80244D20 27A60012 */ addiu $a2, $sp, 0x12 +/* 173604 80244D24 3C028007 */ lui $v0, 0x8007 +/* 173608 80244D28 8C42419C */ lw $v0, 0x419c($v0) +/* 17360C 80244D2C 97A30010 */ lhu $v1, 0x10($sp) +/* 173610 80244D30 97A50012 */ lhu $a1, 0x12($sp) +/* 173614 80244D34 24040006 */ addiu $a0, $zero, 6 +/* 173618 80244D38 A4430086 */ sh $v1, 0x86($v0) +/* 17361C 80244D3C A445008C */ sh $a1, 0x8c($v0) +/* 173620 80244D40 0809135B */ j func_80244D6C +/* 173624 80244D44 A440008E */ sh $zero, 0x8e($v0) + +func_80244D48: +.L80244D48: +/* 173628 80244D48 0C090464 */ jal func_80241190 +/* 17362C 80244D4C 0000202D */ daddu $a0, $zero, $zero +/* 173630 80244D50 3C02800E */ lui $v0, 0x800e +/* 173634 80244D54 8C42C068 */ lw $v0, -0x3f98($v0) +/* 173638 80244D58 3C01800E */ lui $at, 0x800e +/* 17363C 80244D5C AC22C4D0 */ sw $v0, -0x3b30($at) +/* 173640 80244D60 0C00F945 */ jal func_8003E514 +/* 173644 80244D64 24040001 */ addiu $a0, $zero, 1 +/* 173648 80244D68 24040009 */ addiu $a0, $zero, 9 +func_80244D6C: +/* 17364C 80244D6C 0C00CD3C */ jal set_game_mode +/* 173650 80244D70 00000000 */ nop +func_80244D74: +.L80244D74: +/* 173654 80244D74 8FBF0028 */ lw $ra, 0x28($sp) +/* 173658 80244D78 8FB30024 */ lw $s3, 0x24($sp) +/* 17365C 80244D7C 8FB20020 */ lw $s2, 0x20($sp) +/* 173660 80244D80 8FB1001C */ lw $s1, 0x1c($sp) +/* 173664 80244D84 8FB00018 */ lw $s0, 0x18($sp) +/* 173668 80244D88 03E00008 */ jr $ra +/* 17366C 80244D8C 27BD0030 */ addiu $sp, $sp, 0x30 + +func_80244D90: +/* 173670 80244D90 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 173674 80244D94 3C038007 */ lui $v1, 0x8007 +/* 173678 80244D98 8C637410 */ lw $v1, 0x7410($v1) +/* 17367C 80244D9C 3C04800B */ lui $a0, 0x800b +/* 173680 80244DA0 24841D80 */ addiu $a0, $a0, 0x1d80 +/* 173684 80244DA4 AFBF0010 */ sw $ra, 0x10($sp) +/* 173688 80244DA8 00031080 */ sll $v0, $v1, 2 +/* 17368C 80244DAC 00431021 */ addu $v0, $v0, $v1 +/* 173690 80244DB0 00021080 */ sll $v0, $v0, 2 +/* 173694 80244DB4 00431023 */ subu $v0, $v0, $v1 +func_80244DB8: +/* 173698 80244DB8 000218C0 */ sll $v1, $v0, 3 +/* 17369C 80244DBC 00431021 */ addu $v0, $v0, $v1 +/* 1736A0 80244DC0 000210C0 */ sll $v0, $v0, 3 +/* 1736A4 80244DC4 00443021 */ addu $a2, $v0, $a0 +/* 1736A8 80244DC8 3C03800B */ lui $v1, 0x800b +/* 1736AC 80244DCC 80630F19 */ lb $v1, 0xf19($v1) +/* 1736B0 80244DD0 24020001 */ addiu $v0, $zero, 1 +/* 1736B4 80244DD4 1462000E */ bne $v1, $v0, .L80244E10 +/* 1736B8 80244DD8 3C030080 */ lui $v1, 0x80 +/* 1736BC 80244DDC 3C02800E */ lui $v0, 0x800e +/* 1736C0 80244DE0 8C42C070 */ lw $v0, -0x3f90($v0) +/* 1736C4 80244DE4 00431024 */ and $v0, $v0, $v1 +/* 1736C8 80244DE8 14400009 */ bnez $v0, .L80244E10 +/* 1736CC 80244DEC 24040007 */ addiu $a0, $zero, 7 +/* 1736D0 80244DF0 3C018028 */ lui $at, 0x8028 +/* 1736D4 80244DF4 C4200A30 */ lwc1 $f0, 0xa30($at) +/* 1736D8 80244DF8 46800020 */ cvt.s.w $f0, $f0 +/* 1736DC 80244DFC 94C20026 */ lhu $v0, 0x26($a2) +/* 1736E0 80244E00 44050000 */ mfc1 $a1, $f0 +/* 1736E4 80244E04 24420100 */ addiu $v0, $v0, 0x100 +/* 1736E8 80244E08 08091389 */ j func_80244E24 +/* 1736EC 80244E0C A4C20026 */ sh $v0, 0x26($a2) + +.L80244E10: +/* 1736F0 80244E10 3C018028 */ lui $at, 0x8028 +/* 1736F4 80244E14 C4200A30 */ lwc1 $f0, 0xa30($at) +/* 1736F8 80244E18 46800020 */ cvt.s.w $f0, $f0 +/* 1736FC 80244E1C 44050000 */ mfc1 $a1, $f0 +/* 173700 80244E20 0000202D */ daddu $a0, $zero, $zero +func_80244E24: +/* 173704 80244E24 0C04DF62 */ jal func_80137D88 +/* 173708 80244E28 00000000 */ nop +/* 17370C 80244E2C 8FBF0010 */ lw $ra, 0x10($sp) +/* 173710 80244E30 03E00008 */ jr $ra +/* 173714 80244E34 27BD0018 */ addiu $sp, $sp, 0x18 + +func_80244E38: +/* 173718 80244E38 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 17371C 80244E3C AFB10014 */ sw $s1, 0x14($sp) +/* 173720 80244E40 3C11800E */ lui $s1, 0x800e +/* 173724 80244E44 2631C070 */ addiu $s1, $s1, -0x3f90 +/* 173728 80244E48 AFB20018 */ sw $s2, 0x18($sp) +/* 17372C 80244E4C 3C12800E */ lui $s2, 0x800e +/* 173730 80244E50 2652C4DC */ addiu $s2, $s2, -0x3b24 +/* 173734 80244E54 AFBF001C */ sw $ra, 0x1c($sp) +/* 173738 80244E58 AFB00010 */ sw $s0, 0x10($sp) +/* 17373C 80244E5C 8E430000 */ lw $v1, ($s2) +/* 173740 80244E60 8E3000D8 */ lw $s0, 0xd8($s1) +/* 173744 80244E64 10600005 */ beqz $v1, .L80244E7C +/* 173748 80244E68 24020001 */ addiu $v0, $zero, 1 +/* 17374C 80244E6C 10620012 */ beq $v1, $v0, .L80244EB8 +/* 173750 80244E70 00000000 */ nop +/* 173754 80244E74 080913B8 */ j func_80244EE0 +/* 173758 80244E78 00000000 */ nop + +.L80244E7C: +/* 17375C 80244E7C 3C048028 */ lui $a0, 0x8028 +/* 173760 80244E80 24844EBC */ addiu $a0, $a0, 0x4ebc +/* 173764 80244E84 24020006 */ addiu $v0, $zero, 6 +/* 173768 80244E88 2405000A */ addiu $a1, $zero, 0xa +/* 17376C 80244E8C 0000302D */ daddu $a2, $zero, $zero +/* 173770 80244E90 A220008C */ sb $zero, 0x8c($s1) +/* 173774 80244E94 0C0B0CF8 */ jal start_script +/* 173778 80244E98 A22201A7 */ sb $v0, 0x1a7($s1) +/* 17377C 80244E9C AE0201D4 */ sw $v0, 0x1d4($s0) +/* 173780 80244EA0 8C440144 */ lw $a0, 0x144($v0) +/* 173784 80244EA4 24030001 */ addiu $v1, $zero, 1 +/* 173788 80244EA8 AE430000 */ sw $v1, ($s2) +/* 17378C 80244EAC AE0401E4 */ sw $a0, 0x1e4($s0) +/* 173790 80244EB0 080913B8 */ j func_80244EE0 +/* 173794 80244EB4 AC400148 */ sw $zero, 0x148($v0) + +.L80244EB8: +/* 173798 80244EB8 8E0401E4 */ lw $a0, 0x1e4($s0) +/* 17379C 80244EBC 0C0B1059 */ jal does_script_exist +/* 1737A0 80244EC0 00000000 */ nop +/* 1737A4 80244EC4 14400006 */ bnez $v0, .L80244EE0 +/* 1737A8 80244EC8 00000000 */ nop +/* 1737AC 80244ECC 8222008C */ lb $v0, 0x8c($s1) +/* 1737B0 80244ED0 14400003 */ bnez $v0, .L80244EE0 +/* 1737B4 80244ED4 00000000 */ nop +/* 1737B8 80244ED8 0C090464 */ jal func_80241190 +/* 1737BC 80244EDC 24040016 */ addiu $a0, $zero, 0x16 +func_80244EE0: +.L80244EE0: +/* 1737C0 80244EE0 8FBF001C */ lw $ra, 0x1c($sp) +/* 1737C4 80244EE4 8FB20018 */ lw $s2, 0x18($sp) +/* 1737C8 80244EE8 8FB10014 */ lw $s1, 0x14($sp) +/* 1737CC 80244EEC 8FB00010 */ lw $s0, 0x10($sp) +func_80244EF0: +/* 1737D0 80244EF0 03E00008 */ jr $ra +/* 1737D4 80244EF4 27BD0020 */ addiu $sp, $sp, 0x20 + +func_80244EF8: +/* 1737D8 80244EF8 03E00008 */ jr $ra +/* 1737DC 80244EFC 00000000 */ nop + +update_run_away: +/* 1737E0 80244F00 27BDFFC8 */ addiu $sp, $sp, -0x38 +/* 1737E4 80244F04 AFB1001C */ sw $s1, 0x1c($sp) +/* 1737E8 80244F08 3C11800E */ lui $s1, 0x800e +/* 1737EC 80244F0C 2631C070 */ addiu $s1, $s1, -0x3f90 +/* 1737F0 80244F10 AFB5002C */ sw $s5, 0x2c($sp) +/* 1737F4 80244F14 3C158011 */ lui $s5, 0x8011 +/* 1737F8 80244F18 26B5F290 */ addiu $s5, $s5, -0xd70 +/* 1737FC 80244F1C AFB40028 */ sw $s4, 0x28($sp) +/* 173800 80244F20 3C14800E */ lui $s4, 0x800e +/* 173804 80244F24 2694C4DC */ addiu $s4, $s4, -0x3b24 +/* 173808 80244F28 AFBF0030 */ sw $ra, 0x30($sp) +/* 17380C 80244F2C AFB30024 */ sw $s3, 0x24($sp) +/* 173810 80244F30 AFB20020 */ sw $s2, 0x20($sp) +/* 173814 80244F34 AFB00018 */ sw $s0, 0x18($sp) +/* 173818 80244F38 8E3300D8 */ lw $s3, 0xd8($s1) +/* 17381C 80244F3C 8E900000 */ lw $s0, ($s4) +/* 173820 80244F40 8E3200DC */ lw $s2, 0xdc($s1) +/* 173824 80244F44 12000005 */ beqz $s0, .L80244F5C +/* 173828 80244F48 24020002 */ addiu $v0, $zero, 2 +/* 17382C 80244F4C 12020060 */ beq $s0, $v0, .L802450D0 +/* 173830 80244F50 00000000 */ nop +/* 173834 80244F54 0809146D */ j func_802451B4 +/* 173838 80244F58 00000000 */ nop + +.L80244F5C: +/* 17383C 80244F5C 3C03FFFB */ lui $v1, 0xfffb +/* 173840 80244F60 3463FFFF */ ori $v1, $v1, 0xffff +/* 173844 80244F64 24040019 */ addiu $a0, $zero, 0x19 +/* 173848 80244F68 8E220000 */ lw $v0, ($s1) +/* 17384C 80244F6C 0000802D */ daddu $s0, $zero, $zero +/* 173850 80244F70 A220008C */ sb $zero, 0x8c($s1) +/* 173854 80244F74 00431024 */ and $v0, $v0, $v1 +/* 173858 80244F78 AE220000 */ sw $v0, ($s1) +/* 17385C 80244F7C 8E220004 */ lw $v0, 4($s1) +/* 173860 80244F80 96A302A6 */ lhu $v1, 0x2a6($s5) +/* 173864 80244F84 3442001E */ ori $v0, $v0, 0x1e +/* 173868 80244F88 24630001 */ addiu $v1, $v1, 1 +/* 17386C 80244F8C AE220004 */ sw $v0, 4($s1) +/* 173870 80244F90 0C093903 */ jal func_8024E40C +/* 173874 80244F94 A6A302A6 */ sh $v1, 0x2a6($s5) +/* 173878 80244F98 0C09390F */ jal cam_target_actor +/* 17387C 80244F9C 0200202D */ daddu $a0, $s0, $zero +/* 173880 80244FA0 0200302D */ daddu $a2, $s0, $zero +/* 173884 80244FA4 3C070040 */ lui $a3, 0x40 +/* 173888 80244FA8 0220282D */ daddu $a1, $s1, $zero +/* 17388C 80244FAC 44801000 */ mtc1 $zero, $f2 +.L80244FB0: +/* 173890 80244FB0 8CA400E0 */ lw $a0, 0xe0($a1) +/* 173894 80244FB4 50800017 */ beql $a0, $zero, .L80245014 +/* 173898 80244FB8 24C60001 */ addiu $a2, $a2, 1 +/* 17389C 80244FBC 8C830000 */ lw $v1, ($a0) +/* 1738A0 80244FC0 30624000 */ andi $v0, $v1, 0x4000 +/* 1738A4 80244FC4 54400013 */ bnezl $v0, .L80245014 +/* 1738A8 80244FC8 24C60001 */ addiu $a2, $a2, 1 +/* 1738AC 80244FCC 00671024 */ and $v0, $v1, $a3 +/* 1738B0 80244FD0 54400010 */ bnezl $v0, .L80245014 +func_80244FD4: +/* 1738B4 80244FD4 24C60001 */ addiu $a2, $a2, 1 +/* 1738B8 80244FD8 8C820008 */ lw $v0, 8($a0) +/* 1738BC 80244FDC 90430018 */ lbu $v1, 0x18($v0) +/* 1738C0 80244FE0 90820210 */ lbu $v0, 0x210($a0) +/* 1738C4 80244FE4 44830000 */ mtc1 $v1, $f0 +/* 1738C8 80244FE8 00000000 */ nop +/* 1738CC 80244FEC 46800020 */ cvt.s.w $f0, $f0 +/* 1738D0 80244FF0 2442FFFD */ addiu $v0, $v0, -3 +/* 1738D4 80244FF4 2C420006 */ sltiu $v0, $v0, 6 +/* 1738D8 80244FF8 10400004 */ beqz $v0, .L8024500C +/* 1738DC 80244FFC 26100001 */ addiu $s0, $s0, 1 +/* 1738E0 80245000 3C0142C8 */ lui $at, 0x42c8 +/* 1738E4 80245004 44810000 */ mtc1 $at, $f0 +/* 1738E8 80245008 00000000 */ nop +.L8024500C: +/* 1738EC 8024500C 46001080 */ add.s $f2, $f2, $f0 +/* 1738F0 80245010 24C60001 */ addiu $a2, $a2, 1 +.L80245014: +/* 1738F4 80245014 28C20018 */ slti $v0, $a2, 0x18 +/* 1738F8 80245018 1440FFE5 */ bnez $v0, .L80244FB0 +/* 1738FC 8024501C 24A50004 */ addiu $a1, $a1, 4 +/* 173900 80245020 44900000 */ mtc1 $s0, $f0 +/* 173904 80245024 00000000 */ nop +/* 173908 80245028 46800020 */ cvt.s.w $f0, $f0 +/* 17390C 8024502C 46001003 */ div.s $f0, $f2, $f0 +/* 173910 80245030 3C028007 */ lui $v0, 0x8007 +/* 173914 80245034 8C42419C */ lw $v0, 0x419c($v0) +/* 173918 80245038 4600010D */ trunc.w.s $f4, $f0 +/* 17391C 8024503C E6640088 */ swc1 $f4, 0x88($s3) +/* 173920 80245040 80430074 */ lb $v1, 0x74($v0) +/* 173924 80245044 24020004 */ addiu $v0, $zero, 4 +/* 173928 80245048 14620002 */ bne $v1, $v0, .L80245054 +/* 17392C 8024504C 24020064 */ addiu $v0, $zero, 0x64 +/* 173930 80245050 AE620088 */ sw $v0, 0x88($s3) +.L80245054: +/* 173934 80245054 3C048028 */ lui $a0, 0x8028 +/* 173938 80245058 24844EBC */ addiu $a0, $a0, 0x4ebc +/* 17393C 8024505C 2405000A */ addiu $a1, $zero, 0xa +/* 173940 80245060 0000302D */ daddu $a2, $zero, $zero +/* 173944 80245064 24020003 */ addiu $v0, $zero, 3 +/* 173948 80245068 0C0B0CF8 */ jal start_script +/* 17394C 8024506C A22201A7 */ sb $v0, 0x1a7($s1) +func_80245070: +/* 173950 80245070 0040182D */ daddu $v1, $v0, $zero +/* 173954 80245074 AE6301D4 */ sw $v1, 0x1d4($s3) +/* 173958 80245078 8C620144 */ lw $v0, 0x144($v1) +/* 17395C 8024507C AE6201E4 */ sw $v0, 0x1e4($s3) +/* 173960 80245080 1240000E */ beqz $s2, .L802450BC +/* 173964 80245084 AC600148 */ sw $zero, 0x148($v1) +/* 173968 80245088 82420216 */ lb $v0, 0x216($s2) +/* 17396C 8024508C 1440000C */ bnez $v0, .L802450C0 +/* 173970 80245090 24020002 */ addiu $v0, $zero, 2 +/* 173974 80245094 2405000A */ addiu $a1, $zero, 0xa +/* 173978 80245098 8E4401C4 */ lw $a0, 0x1c4($s2) +/* 17397C 8024509C 0C0B0CF8 */ jal start_script +/* 173980 802450A0 0000302D */ daddu $a2, $zero, $zero +/* 173984 802450A4 0040182D */ daddu $v1, $v0, $zero +/* 173988 802450A8 AE4301D4 */ sw $v1, 0x1d4($s2) +/* 17398C 802450AC 8C620144 */ lw $v0, 0x144($v1) +/* 173990 802450B0 AE4201E4 */ sw $v0, 0x1e4($s2) +/* 173994 802450B4 24020100 */ addiu $v0, $zero, 0x100 +/* 173998 802450B8 AC620148 */ sw $v0, 0x148($v1) +.L802450BC: +/* 17399C 802450BC 24020002 */ addiu $v0, $zero, 2 +.L802450C0: +/* 1739A0 802450C0 3C01800E */ lui $at, 0x800e +/* 1739A4 802450C4 AC22C4DC */ sw $v0, -0x3b24($at) +/* 1739A8 802450C8 0809146D */ j func_802451B4 +/* 1739AC 802450CC 00000000 */ nop + +.L802450D0: +/* 1739B0 802450D0 0C0B1059 */ jal does_script_exist +/* 1739B4 802450D4 8E6401E4 */ lw $a0, 0x1e4($s3) +/* 1739B8 802450D8 14400036 */ bnez $v0, .L802451B4 +/* 1739BC 802450DC 00000000 */ nop +/* 1739C0 802450E0 8222008C */ lb $v0, 0x8c($s1) +/* 1739C4 802450E4 14400033 */ bnez $v0, .L802451B4 +/* 1739C8 802450E8 3C030004 */ lui $v1, 4 +/* 1739CC 802450EC 8E220000 */ lw $v0, ($s1) +/* 1739D0 802450F0 00431024 */ and $v0, $v0, $v1 +/* 1739D4 802450F4 14400003 */ bnez $v0, .L80245104 +/* 1739D8 802450F8 24020003 */ addiu $v0, $zero, 3 +/* 1739DC 802450FC 0809146D */ j func_802451B4 +/* 1739E0 80245100 AE820000 */ sw $v0, ($s4) + +.L80245104: +/* 1739E4 80245104 3C02800B */ lui $v0, 0x800b +/* 1739E8 80245108 24420F10 */ addiu $v0, $v0, 0xf10 +/* 1739EC 8024510C A0500009 */ sb $s0, 9($v0) +/* 1739F0 80245110 0C03A752 */ jal is_ability_active +/* 1739F4 80245114 24040017 */ addiu $a0, $zero, 0x17 +/* 1739F8 80245118 14400003 */ bnez $v0, .L80245128 +/* 1739FC 8024511C 2402000B */ addiu $v0, $zero, 0xb +/* 173A00 80245120 0809146D */ j func_802451B4 +/* 173A04 80245124 AE820000 */ sw $v0, ($s4) + +.L80245128: +/* 173A08 80245128 0C03A6B9 */ jal status_menu_start_blinking_starpoints +/* 173A0C 8024512C 00000000 */ nop +/* 173A10 80245130 0C08F841 */ jal func_8023E104 +/* 173A14 80245134 00000000 */ nop +/* 173A18 80245138 82230078 */ lb $v1, 0x78($s1) +/* 173A1C 8024513C 00031040 */ sll $v0, $v1, 1 +/* 173A20 80245140 00431021 */ addu $v0, $v0, $v1 +/* 173A24 80245144 000210C0 */ sll $v0, $v0, 3 +/* 173A28 80245148 00431021 */ addu $v0, $v0, $v1 +/* 173A2C 8024514C 00021080 */ sll $v0, $v0, 2 +/* 173A30 80245150 24030014 */ addiu $v1, $zero, 0x14 +/* 173A34 80245154 14600002 */ bnez $v1, .L80245160 +/* 173A38 80245158 0043001A */ div $zero, $v0, $v1 +/* 173A3C 8024515C 0007000D */ break 7 +.L80245160: +/* 173A40 80245160 2401FFFF */ addiu $at, $zero, -1 +/* 173A44 80245164 14610004 */ bne $v1, $at, .L80245178 +/* 173A48 80245168 3C018000 */ lui $at, 0x8000 +/* 173A4C 8024516C 14410002 */ bne $v0, $at, .L80245178 +/* 173A50 80245170 00000000 */ nop +/* 173A54 80245174 0006000D */ break 6 +.L80245178: +/* 173A58 80245178 00002012 */ mflo $a0 +/* 173A5C 8024517C 3C01802A */ lui $at, 0x802a +/* 173A60 80245180 AC20F264 */ sw $zero, -0xd9c($at) +/* 173A64 80245184 3C01802A */ lui $at, 0x802a +/* 173A68 80245188 AC20F24C */ sw $zero, -0xdb4($at) +/* 173A6C 8024518C 3C018028 */ lui $at, 0x8028 +/* 173A70 80245190 AC200A30 */ sw $zero, 0xa30($at) +/* 173A74 80245194 3C01802A */ lui $at, 0x802a +/* 173A78 80245198 AC23F250 */ sw $v1, -0xdb0($at) +/* 173A7C 8024519C 2403000A */ addiu $v1, $zero, 0xa +/* 173A80 802451A0 AE830000 */ sw $v1, ($s4) +/* 173A84 802451A4 3C01802A */ lui $at, 0x802a +/* 173A88 802451A8 AC22F25C */ sw $v0, -0xda4($at) +/* 173A8C 802451AC 3C01802A */ lui $at, 0x802a +/* 173A90 802451B0 AC24F260 */ sw $a0, -0xda0($at) +func_802451B4: +.L802451B4: +/* 173A94 802451B4 3C03800E */ lui $v1, 0x800e +/* 173A98 802451B8 8C63C4DC */ lw $v1, -0x3b24($v1) +/* 173A9C 802451BC 2402000A */ addiu $v0, $zero, 0xa +/* 173AA0 802451C0 14620043 */ bne $v1, $v0, .L802452D0 +/* 173AA4 802451C4 2402000B */ addiu $v0, $zero, 0xb +/* 173AA8 802451C8 82220078 */ lb $v0, 0x78($s1) +/* 173AAC 802451CC 10400027 */ beqz $v0, .L8024526C +/* 173AB0 802451D0 3C0551EB */ lui $a1, 0x51eb +/* 173AB4 802451D4 3C04802A */ lui $a0, 0x802a +/* 173AB8 802451D8 2484F25C */ addiu $a0, $a0, -0xda4 +/* 173ABC 802451DC 8C820000 */ lw $v0, ($a0) +/* 173AC0 802451E0 3C03802A */ lui $v1, 0x802a +/* 173AC4 802451E4 8C63F260 */ lw $v1, -0xda0($v1) +/* 173AC8 802451E8 34A5851F */ ori $a1, $a1, 0x851f +/* 173ACC 802451EC 00431023 */ subu $v0, $v0, $v1 +/* 173AD0 802451F0 00450018 */ mult $v0, $a1 +/* 173AD4 802451F4 AC820000 */ sw $v0, ($a0) +/* 173AD8 802451F8 000217C3 */ sra $v0, $v0, 0x1f +/* 173ADC 802451FC 82240078 */ lb $a0, 0x78($s1) +/* 173AE0 80245200 00004010 */ mfhi $t0 +/* 173AE4 80245204 00081943 */ sra $v1, $t0, 5 +/* 173AE8 80245208 00621823 */ subu $v1, $v1, $v0 +/* 173AEC 8024520C 00031600 */ sll $v0, $v1, 0x18 +/* 173AF0 80245210 00021603 */ sra $v0, $v0, 0x18 +/* 173AF4 80245214 00828023 */ subu $s0, $a0, $v0 +/* 173AF8 80245218 1A000003 */ blez $s0, .L80245228 +/* 173AFC 8024521C A2230078 */ sb $v1, 0x78($s1) +/* 173B00 80245220 0C05272D */ jal play_sound +/* 173B04 80245224 24040211 */ addiu $a0, $zero, 0x211 +.L80245228: +/* 173B08 80245228 92A20010 */ lbu $v0, 0x10($s5) +/* 173B0C 8024522C 3C038028 */ lui $v1, 0x8028 +/* 173B10 80245230 24630A30 */ addiu $v1, $v1, 0xa30 +/* 173B14 80245234 00501021 */ addu $v0, $v0, $s0 +/* 173B18 80245238 A2A20010 */ sb $v0, 0x10($s5) +/* 173B1C 8024523C 8C620000 */ lw $v0, ($v1) +/* 173B20 80245240 3C04802A */ lui $a0, 0x802a +/* 173B24 80245244 8C84F250 */ lw $a0, -0xdb0($a0) +/* 173B28 80245248 24420001 */ addiu $v0, $v0, 1 +/* 173B2C 8024524C 14800007 */ bnez $a0, .L8024526C +/* 173B30 80245250 AC620000 */ sw $v0, ($v1) +/* 173B34 80245254 82220078 */ lb $v0, 0x78($s1) +/* 173B38 80245258 10400004 */ beqz $v0, .L8024526C +/* 173B3C 8024525C 00000000 */ nop +/* 173B40 80245260 92A20010 */ lbu $v0, 0x10($s5) +/* 173B44 80245264 24420001 */ addiu $v0, $v0, 1 +/* 173B48 80245268 A2A20010 */ sb $v0, 0x10($s5) +.L8024526C: +/* 173B4C 8024526C 82A20010 */ lb $v0, 0x10($s5) +/* 173B50 80245270 28420063 */ slti $v0, $v0, 0x63 +/* 173B54 80245274 14400002 */ bnez $v0, .L80245280 +/* 173B58 80245278 24020063 */ addiu $v0, $zero, 0x63 +/* 173B5C 8024527C A2A20010 */ sb $v0, 0x10($s5) +.L80245280: +/* 173B60 80245280 82220078 */ lb $v0, 0x78($s1) +/* 173B64 80245284 1440000F */ bnez $v0, .L802452C4 +/* 173B68 80245288 00000000 */ nop +/* 173B6C 8024528C 3C03802A */ lui $v1, 0x802a +/* 173B70 80245290 2463F250 */ addiu $v1, $v1, -0xdb0 +/* 173B74 80245294 8C620000 */ lw $v0, ($v1) +/* 173B78 80245298 10400003 */ beqz $v0, .L802452A8 +/* 173B7C 8024529C 2442FFFF */ addiu $v0, $v0, -1 +/* 173B80 802452A0 080914B1 */ j func_802452C4 +/* 173B84 802452A4 AC620000 */ sw $v0, ($v1) + +.L802452A8: +/* 173B88 802452A8 0C03A6C3 */ jal status_menu_stop_blinking_starpoints +/* 173B8C 802452AC 00000000 */ nop +/* 173B90 802452B0 0C08F847 */ jal func_8023E11C +/* 173B94 802452B4 00000000 */ nop +/* 173B98 802452B8 2402000B */ addiu $v0, $zero, 0xb +/* 173B9C 802452BC 3C01800E */ lui $at, 0x800e +/* 173BA0 802452C0 AC22C4DC */ sw $v0, -0x3b24($at) +func_802452C4: +.L802452C4: +/* 173BA4 802452C4 3C03800E */ lui $v1, 0x800e +/* 173BA8 802452C8 8C63C4DC */ lw $v1, -0x3b24($v1) +/* 173BAC 802452CC 2402000B */ addiu $v0, $zero, 0xb +.L802452D0: +/* 173BB0 802452D0 14620011 */ bne $v1, $v0, .L80245318 +/* 173BB4 802452D4 3C030200 */ lui $v1, 0x200 +/* 173BB8 802452D8 96A202A8 */ lhu $v0, 0x2a8($s5) +/* 173BBC 802452DC 24420001 */ addiu $v0, $v0, 1 +/* 173BC0 802452E0 A6A202A8 */ sh $v0, 0x2a8($s5) +/* 173BC4 802452E4 3C02800E */ lui $v0, 0x800e +/* 173BC8 802452E8 8C42C074 */ lw $v0, -0x3f8c($v0) +/* 173BCC 802452EC 00431024 */ and $v0, $v0, $v1 +/* 173BD0 802452F0 14400007 */ bnez $v0, .L80245310 +/* 173BD4 802452F4 24020008 */ addiu $v0, $zero, 8 +/* 173BD8 802452F8 AFA20010 */ sw $v0, 0x10($sp) +/* 173BDC 802452FC 0000202D */ daddu $a0, $zero, $zero +/* 173BE0 80245300 2405FFFF */ addiu $a1, $zero, -1 +/* 173BE4 80245304 0080302D */ daddu $a2, $a0, $zero +/* 173BE8 80245308 0C052A46 */ jal set_music_track +/* 173BEC 8024530C 240705DC */ addiu $a3, $zero, 0x5dc +.L80245310: +/* 173BF0 80245310 0C090464 */ jal func_80241190 +/* 173BF4 80245314 24040020 */ addiu $a0, $zero, 0x20 +.L80245318: +/* 173BF8 80245318 3C03800E */ lui $v1, 0x800e +/* 173BFC 8024531C 8C63C4DC */ lw $v1, -0x3b24($v1) +/* 173C00 80245320 24020003 */ addiu $v0, $zero, 3 +/* 173C04 80245324 10620005 */ beq $v1, $v0, .L8024533C +/* 173C08 80245328 24020004 */ addiu $v0, $zero, 4 +/* 173C0C 8024532C 10620022 */ beq $v1, $v0, .L802453B8 +/* 173C10 80245330 00000000 */ nop +/* 173C14 80245334 08091505 */ j func_80245414 +/* 173C18 80245338 00000000 */ nop + +.L8024533C: +/* 173C1C 8024533C 3C048028 */ lui $a0, 0x8028 +/* 173C20 80245340 24844EBC */ addiu $a0, $a0, 0x4ebc +/* 173C24 80245344 2405000A */ addiu $a1, $zero, 0xa +/* 173C28 80245348 0000302D */ daddu $a2, $zero, $zero +/* 173C2C 8024534C 24020007 */ addiu $v0, $zero, 7 +/* 173C30 80245350 0C0B0CF8 */ jal start_script +/* 173C34 80245354 A22201A7 */ sb $v0, 0x1a7($s1) +/* 173C38 80245358 0040182D */ daddu $v1, $v0, $zero +/* 173C3C 8024535C AE6301D4 */ sw $v1, 0x1d4($s3) +/* 173C40 80245360 8C620144 */ lw $v0, 0x144($v1) +/* 173C44 80245364 AE6201E4 */ sw $v0, 0x1e4($s3) +/* 173C48 80245368 1240000E */ beqz $s2, .L802453A4 +/* 173C4C 8024536C AC600148 */ sw $zero, 0x148($v1) +/* 173C50 80245370 82420216 */ lb $v0, 0x216($s2) +/* 173C54 80245374 1440000C */ bnez $v0, .L802453A8 +/* 173C58 80245378 24020004 */ addiu $v0, $zero, 4 +/* 173C5C 8024537C 2405000A */ addiu $a1, $zero, 0xa +/* 173C60 80245380 8E4401C4 */ lw $a0, 0x1c4($s2) +/* 173C64 80245384 0C0B0CF8 */ jal start_script +/* 173C68 80245388 0000302D */ daddu $a2, $zero, $zero +/* 173C6C 8024538C 0040182D */ daddu $v1, $v0, $zero +/* 173C70 80245390 AE4301D4 */ sw $v1, 0x1d4($s2) +/* 173C74 80245394 8C620144 */ lw $v0, 0x144($v1) +/* 173C78 80245398 AE4201E4 */ sw $v0, 0x1e4($s2) +/* 173C7C 8024539C 24020100 */ addiu $v0, $zero, 0x100 +/* 173C80 802453A0 AC620148 */ sw $v0, 0x148($v1) +.L802453A4: +/* 173C84 802453A4 24020004 */ addiu $v0, $zero, 4 +.L802453A8: +/* 173C88 802453A8 3C01800E */ lui $at, 0x800e +/* 173C8C 802453AC AC22C4DC */ sw $v0, -0x3b24($at) +/* 173C90 802453B0 08091505 */ j func_80245414 +/* 173C94 802453B4 00000000 */ nop + +.L802453B8: +/* 173C98 802453B8 3C03802A */ lui $v1, 0x802a +/* 173C9C 802453BC 2463F248 */ addiu $v1, $v1, -0xdb8 +/* 173CA0 802453C0 8C620000 */ lw $v0, ($v1) +/* 173CA4 802453C4 10400003 */ beqz $v0, .L802453D4 +/* 173CA8 802453C8 2442FFFF */ addiu $v0, $v0, -1 +func_802453CC: +/* 173CAC 802453CC 08091505 */ j func_80245414 +/* 173CB0 802453D0 AC620000 */ sw $v0, ($v1) + +.L802453D4: +/* 173CB4 802453D4 8E6401E4 */ lw $a0, 0x1e4($s3) +/* 173CB8 802453D8 0C0B1059 */ jal does_script_exist +/* 173CBC 802453DC 00000000 */ nop +/* 173CC0 802453E0 1440000C */ bnez $v0, .L80245414 +/* 173CC4 802453E4 00000000 */ nop +/* 173CC8 802453E8 12400005 */ beqz $s2, .L80245400 +/* 173CCC 802453EC 00000000 */ nop +/* 173CD0 802453F0 0C0B1059 */ jal does_script_exist +/* 173CD4 802453F4 8E4401E4 */ lw $a0, 0x1e4($s2) +/* 173CD8 802453F8 14400006 */ bnez $v0, .L80245414 +/* 173CDC 802453FC 00000000 */ nop +.L80245400: +/* 173CE0 80245400 8222008C */ lb $v0, 0x8c($s1) +/* 173CE4 80245404 14400003 */ bnez $v0, .L80245414 +func_80245408: +/* 173CE8 80245408 00000000 */ nop +/* 173CEC 8024540C 0C090464 */ jal func_80241190 +/* 173CF0 80245410 24040009 */ addiu $a0, $zero, 9 +func_80245414: +.L80245414: +/* 173CF4 80245414 8FBF0030 */ lw $ra, 0x30($sp) +/* 173CF8 80245418 8FB5002C */ lw $s5, 0x2c($sp) +func_8024541C: +/* 173CFC 8024541C 8FB40028 */ lw $s4, 0x28($sp) +/* 173D00 80245420 8FB30024 */ lw $s3, 0x24($sp) +/* 173D04 80245424 8FB20020 */ lw $s2, 0x20($sp) +/* 173D08 80245428 8FB1001C */ lw $s1, 0x1c($sp) +/* 173D0C 8024542C 8FB00018 */ lw $s0, 0x18($sp) +/* 173D10 80245430 03E00008 */ jr $ra +/* 173D14 80245434 27BD0038 */ addiu $sp, $sp, 0x38 + +func_80245438: +/* 173D18 80245438 03E00008 */ jr $ra +/* 173D1C 8024543C 00000000 */ nop + +func_80245440: +/* 173D20 80245440 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* 173D24 80245444 AFB1001C */ sw $s1, 0x1c($sp) +/* 173D28 80245448 3C11800E */ lui $s1, 0x800e +func_8024544C: +/* 173D2C 8024544C 2631C070 */ addiu $s1, $s1, -0x3f90 +/* 173D30 80245450 AFB30024 */ sw $s3, 0x24($sp) +/* 173D34 80245454 3C13800E */ lui $s3, 0x800e +/* 173D38 80245458 2673C4DC */ addiu $s3, $s3, -0x3b24 +/* 173D3C 8024545C 24020001 */ addiu $v0, $zero, 1 +/* 173D40 80245460 AFBF0028 */ sw $ra, 0x28($sp) +/* 173D44 80245464 AFB20020 */ sw $s2, 0x20($sp) +/* 173D48 80245468 AFB00018 */ sw $s0, 0x18($sp) +/* 173D4C 8024546C 8E3000D8 */ lw $s0, 0xd8($s1) +/* 173D50 80245470 8E630000 */ lw $v1, ($s3) +/* 173D54 80245474 8E3200DC */ lw $s2, 0xdc($s1) +/* 173D58 80245478 1062004D */ beq $v1, $v0, .L802455B0 +/* 173D5C 8024547C 28620002 */ slti $v0, $v1, 2 +/* 173D60 80245480 10400005 */ beqz $v0, .L80245498 +/* 173D64 80245484 24020002 */ addiu $v0, $zero, 2 +/* 173D68 80245488 10600007 */ beqz $v1, .L802454A8 +/* 173D6C 8024548C 2404FFF7 */ addiu $a0, $zero, -9 +/* 173D70 80245490 0809158F */ j func_8024563C +/* 173D74 80245494 00000000 */ nop + +.L80245498: +/* 173D78 80245498 1062005E */ beq $v1, $v0, .L80245614 +/* 173D7C 8024549C 00000000 */ nop +/* 173D80 802454A0 0809158F */ j func_8024563C +/* 173D84 802454A4 00000000 */ nop + +.L802454A8: +/* 173D88 802454A8 8E220000 */ lw $v0, ($s1) +/* 173D8C 802454AC 00441024 */ and $v0, $v0, $a0 +/* 173D90 802454B0 AE220000 */ sw $v0, ($s1) +/* 173D94 802454B4 8E220004 */ lw $v0, 4($s1) +/* 173D98 802454B8 2403FFFD */ addiu $v1, $zero, -3 +/* 173D9C 802454BC A220008C */ sb $zero, 0x8c($s1) +/* 173DA0 802454C0 00431024 */ and $v0, $v0, $v1 +/* 173DA4 802454C4 2403FFFB */ addiu $v1, $zero, -5 +/* 173DA8 802454C8 00431024 */ and $v0, $v0, $v1 +/* 173DAC 802454CC 00441024 */ and $v0, $v0, $a0 +/* 173DB0 802454D0 2403FFEF */ addiu $v1, $zero, -0x11 +/* 173DB4 802454D4 00431024 */ and $v0, $v0, $v1 +/* 173DB8 802454D8 AE220004 */ sw $v0, 4($s1) +/* 173DBC 802454DC 82030210 */ lb $v1, 0x210($s0) +/* 173DC0 802454E0 10600013 */ beqz $v1, .L80245530 +/* 173DC4 802454E4 24020007 */ addiu $v0, $zero, 7 +/* 173DC8 802454E8 14620008 */ bne $v1, $v0, .L8024550C +/* 173DCC 802454EC 00000000 */ nop +/* 173DD0 802454F0 0C05272D */ jal play_sound +/* 173DD4 802454F4 240400E7 */ addiu $a0, $zero, 0xe7 +/* 173DD8 802454F8 8E030228 */ lw $v1, 0x228($s0) +/* 173DDC 802454FC 8C620000 */ lw $v0, ($v1) +/* 173DE0 80245500 34420010 */ ori $v0, $v0, 0x10 +/* 173DE4 80245504 AC620000 */ sw $v0, ($v1) +/* 173DE8 80245508 AE000228 */ sw $zero, 0x228($s0) +.L8024550C: +/* 173DEC 8024550C 86040436 */ lh $a0, 0x436($s0) +/* 173DF0 80245510 A2000210 */ sb $zero, 0x210($s0) +/* 173DF4 80245514 0C011E26 */ jal func_80047898 +/* 173DF8 80245518 A2000211 */ sb $zero, 0x211($s0) +/* 173DFC 8024551C 8E020440 */ lw $v0, 0x440($s0) +/* 173E00 80245520 A2000216 */ sb $zero, 0x216($s0) +/* 173E04 80245524 A2000217 */ sb $zero, 0x217($s0) +/* 173E08 80245528 8C42000C */ lw $v0, 0xc($v0) +/* 173E0C 8024552C AC40003C */ sw $zero, 0x3c($v0) +.L80245530: +/* 173E10 80245530 0C093903 */ jal func_8024E40C +/* 173E14 80245534 24040019 */ addiu $a0, $zero, 0x19 +/* 173E18 80245538 0C09390F */ jal cam_target_actor +/* 173E1C 8024553C 0000202D */ daddu $a0, $zero, $zero +/* 173E20 80245540 3C048028 */ lui $a0, 0x8028 +/* 173E24 80245544 24844EBC */ addiu $a0, $a0, 0x4ebc +/* 173E28 80245548 2405000A */ addiu $a1, $zero, 0xa +/* 173E2C 8024554C 0000302D */ daddu $a2, $zero, $zero +/* 173E30 80245550 24020004 */ addiu $v0, $zero, 4 +/* 173E34 80245554 0C0B0CF8 */ jal start_script +/* 173E38 80245558 A22201A7 */ sb $v0, 0x1a7($s1) +/* 173E3C 8024555C 0040202D */ daddu $a0, $v0, $zero +/* 173E40 80245560 AE0401D4 */ sw $a0, 0x1d4($s0) +/* 173E44 80245564 8C820144 */ lw $v0, 0x144($a0) +func_80245568: +/* 173E48 80245568 AE0201E4 */ sw $v0, 0x1e4($s0) +/* 173E4C 8024556C 1240000B */ beqz $s2, .L8024559C +/* 173E50 80245570 AC800148 */ sw $zero, 0x148($a0) +/* 173E54 80245574 2405000A */ addiu $a1, $zero, 0xa +/* 173E58 80245578 8E4401C4 */ lw $a0, 0x1c4($s2) +/* 173E5C 8024557C 0C0B0CF8 */ jal start_script +/* 173E60 80245580 0000302D */ daddu $a2, $zero, $zero +/* 173E64 80245584 0040202D */ daddu $a0, $v0, $zero +/* 173E68 80245588 AE4401D4 */ sw $a0, 0x1d4($s2) +/* 173E6C 8024558C 8C820144 */ lw $v0, 0x144($a0) +/* 173E70 80245590 AE4201E4 */ sw $v0, 0x1e4($s2) +/* 173E74 80245594 24020100 */ addiu $v0, $zero, 0x100 +/* 173E78 80245598 AC820148 */ sw $v0, 0x148($a0) +.L8024559C: +/* 173E7C 8024559C 24020001 */ addiu $v0, $zero, 1 +/* 173E80 802455A0 3C01800E */ lui $at, 0x800e +/* 173E84 802455A4 AC22C4DC */ sw $v0, -0x3b24($at) +/* 173E88 802455A8 0809158F */ j func_8024563C +/* 173E8C 802455AC 00000000 */ nop + +.L802455B0: +/* 173E90 802455B0 0C0B1059 */ jal does_script_exist +/* 173E94 802455B4 8E0401E4 */ lw $a0, 0x1e4($s0) +/* 173E98 802455B8 14400020 */ bnez $v0, .L8024563C +/* 173E9C 802455BC 00000000 */ nop +/* 173EA0 802455C0 8222008C */ lb $v0, 0x8c($s1) +/* 173EA4 802455C4 1440001D */ bnez $v0, .L8024563C +/* 173EA8 802455C8 00000000 */ nop +/* 173EAC 802455CC 0C039D91 */ jal find_item +/* 173EB0 802455D0 24040095 */ addiu $a0, $zero, 0x95 +/* 173EB4 802455D4 04400017 */ bltz $v0, .L80245634 +/* 173EB8 802455D8 2405000A */ addiu $a1, $zero, 0xa +/* 173EBC 802455DC 3C048028 */ lui $a0, 0x8028 +/* 173EC0 802455E0 24844EBC */ addiu $a0, $a0, 0x4ebc +/* 173EC4 802455E4 0000302D */ daddu $a2, $zero, $zero +/* 173EC8 802455E8 24020008 */ addiu $v0, $zero, 8 +/* 173ECC 802455EC 0C0B0CF8 */ jal start_script +/* 173ED0 802455F0 A22201A7 */ sb $v0, 0x1a7($s1) +/* 173ED4 802455F4 0040202D */ daddu $a0, $v0, $zero +/* 173ED8 802455F8 AE0401D4 */ sw $a0, 0x1d4($s0) +/* 173EDC 802455FC 8C830144 */ lw $v1, 0x144($a0) +/* 173EE0 80245600 24020002 */ addiu $v0, $zero, 2 +/* 173EE4 80245604 AE620000 */ sw $v0, ($s3) +/* 173EE8 80245608 AE0301E4 */ sw $v1, 0x1e4($s0) +/* 173EEC 8024560C 0809158F */ j func_8024563C +/* 173EF0 80245610 AC800148 */ sw $zero, 0x148($a0) + +.L80245614: +/* 173EF4 80245614 8E0401E4 */ lw $a0, 0x1e4($s0) +/* 173EF8 80245618 0C0B1059 */ jal does_script_exist +/* 173EFC 8024561C 00000000 */ nop +/* 173F00 80245620 14400006 */ bnez $v0, .L8024563C +/* 173F04 80245624 00000000 */ nop +/* 173F08 80245628 8222008C */ lb $v0, 0x8c($s1) +/* 173F0C 8024562C 14400003 */ bnez $v0, .L8024563C +/* 173F10 80245630 00000000 */ nop +.L80245634: +/* 173F14 80245634 2402000A */ addiu $v0, $zero, 0xa +/* 173F18 80245638 AE620000 */ sw $v0, ($s3) +func_8024563C: +.L8024563C: +/* 173F1C 8024563C 3C03800E */ lui $v1, 0x800e +/* 173F20 80245640 8C63C4DC */ lw $v1, -0x3b24($v1) +/* 173F24 80245644 2402000A */ addiu $v0, $zero, 0xa +/* 173F28 80245648 14620012 */ bne $v1, $v0, .L80245694 +/* 173F2C 8024564C 24030001 */ addiu $v1, $zero, 1 +/* 173F30 80245650 3C02800B */ lui $v0, 0x800b +/* 173F34 80245654 24420F10 */ addiu $v0, $v0, 0xf10 +/* 173F38 80245658 A0430009 */ sb $v1, 9($v0) +/* 173F3C 8024565C 3C02800E */ lui $v0, 0x800e +/* 173F40 80245660 8C42C074 */ lw $v0, -0x3f8c($v0) +/* 173F44 80245664 3C030200 */ lui $v1, 0x200 +/* 173F48 80245668 00431024 */ and $v0, $v0, $v1 +/* 173F4C 8024566C 14400007 */ bnez $v0, .L8024568C +/* 173F50 80245670 24020008 */ addiu $v0, $zero, 8 +/* 173F54 80245674 AFA20010 */ sw $v0, 0x10($sp) +/* 173F58 80245678 0000202D */ daddu $a0, $zero, $zero +/* 173F5C 8024567C 2405FFFF */ addiu $a1, $zero, -1 +/* 173F60 80245680 0080302D */ daddu $a2, $a0, $zero +/* 173F64 80245684 0C052A46 */ jal set_music_track +/* 173F68 80245688 240705DC */ addiu $a3, $zero, 0x5dc +.L8024568C: +/* 173F6C 8024568C 0C090464 */ jal func_80241190 +/* 173F70 80245690 24040020 */ addiu $a0, $zero, 0x20 +.L80245694: +/* 173F74 80245694 8FBF0028 */ lw $ra, 0x28($sp) +/* 173F78 80245698 8FB30024 */ lw $s3, 0x24($sp) +/* 173F7C 8024569C 8FB20020 */ lw $s2, 0x20($sp) +/* 173F80 802456A0 8FB1001C */ lw $s1, 0x1c($sp) +/* 173F84 802456A4 8FB00018 */ lw $s0, 0x18($sp) +/* 173F88 802456A8 03E00008 */ jr $ra +/* 173F8C 802456AC 27BD0030 */ addiu $sp, $sp, 0x30 + +func_802456B0: +/* 173F90 802456B0 03E00008 */ jr $ra +/* 173F94 802456B4 00000000 */ nop + +EnablePartnerBlur: +/* 173F98 802456B8 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 173F9C 802456BC AFBF0010 */ sw $ra, 0x10($sp) +/* 173FA0 802456C0 0C095191 */ jal enable_partner_blur +/* 173FA4 802456C4 00000000 */ nop +/* 173FA8 802456C8 8FBF0010 */ lw $ra, 0x10($sp) +/* 173FAC 802456CC 24020002 */ addiu $v0, $zero, 2 +/* 173FB0 802456D0 03E00008 */ jr $ra +/* 173FB4 802456D4 27BD0018 */ addiu $sp, $sp, 0x18 + +DisablePartnerBlur: +/* 173FB8 802456D8 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 173FBC 802456DC AFBF0010 */ sw $ra, 0x10($sp) +/* 173FC0 802456E0 0C09519A */ jal disable_partner_blur +/* 173FC4 802456E4 00000000 */ nop +/* 173FC8 802456E8 8FBF0010 */ lw $ra, 0x10($sp) +/* 173FCC 802456EC 24020002 */ addiu $v0, $zero, 2 +/* 173FD0 802456F0 03E00008 */ jr $ra +/* 173FD4 802456F4 27BD0018 */ addiu $sp, $sp, 0x18 + +update_swap_partner: +/* 173FD8 802456F8 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 173FDC 802456FC AFB20018 */ sw $s2, 0x18($sp) +/* 173FE0 80245700 3C12800E */ lui $s2, 0x800e +/* 173FE4 80245704 2652C070 */ addiu $s2, $s2, -0x3f90 +/* 173FE8 80245708 AFBF0020 */ sw $ra, 0x20($sp) +/* 173FEC 8024570C AFB3001C */ sw $s3, 0x1c($sp) +/* 173FF0 80245710 AFB10014 */ sw $s1, 0x14($sp) +/* 173FF4 80245714 AFB00010 */ sw $s0, 0x10($sp) +/* 173FF8 80245718 8E5000D8 */ lw $s0, 0xd8($s2) +/* 173FFC 8024571C 8E5100DC */ lw $s1, 0xdc($s2) +/* 174000 80245720 3C03800E */ lui $v1, 0x800e +/* 174004 80245724 8C63C4DC */ lw $v1, -0x3b24($v1) +/* 174008 80245728 2C620008 */ sltiu $v0, $v1, 8 +/* 17400C 8024572C 104000DF */ beqz $v0, .L80245AAC +/* 174010 80245730 2613000C */ addiu $s3, $s0, 0xc +/* 174014 80245734 00031080 */ sll $v0, $v1, 2 +/* 174018 80245738 3C01802A */ lui $at, 0x802a +/* 17401C 8024573C 00220821 */ addu $at, $at, $v0 +/* 174020 80245740 8C22CAD0 */ lw $v0, -0x3530($at) +/* 174024 80245744 00400008 */ jr $v0 +/* 174028 80245748 00000000 */ nop +/* 17402C 8024574C 3C03F7FF */ lui $v1, 0xf7ff +/* 174030 80245750 8E020000 */ lw $v0, ($s0) +/* 174034 80245754 3463FFFF */ ori $v1, $v1, 0xffff +/* 174038 80245758 00431024 */ and $v0, $v0, $v1 +/* 17403C 8024575C AE020000 */ sw $v0, ($s0) +/* 174040 80245760 8E220000 */ lw $v0, ($s1) +/* 174044 80245764 3C10800E */ lui $s0, 0x800e +/* 174048 80245768 2610C070 */ addiu $s0, $s0, -0x3f90 +/* 17404C 8024576C 00431024 */ and $v0, $v0, $v1 +/* 174050 80245770 AE220000 */ sw $v0, ($s1) +/* 174054 80245774 8E020004 */ lw $v0, 4($s0) +/* 174058 80245778 24040013 */ addiu $a0, $zero, 0x13 +/* 17405C 8024577C A240008C */ sb $zero, 0x8c($s2) +/* 174060 80245780 34420010 */ ori $v0, $v0, 0x10 +/* 174064 80245784 0C093903 */ jal func_8024E40C +/* 174068 80245788 AE020004 */ sw $v0, 4($s0) +/* 17406C 8024578C 3C06C2C6 */ lui $a2, 0xc2c6 +/* 174070 80245790 3C01C2B2 */ lui $at, 0xc2b2 +/* 174074 80245794 44816000 */ mtc1 $at, $f12 +/* 174078 80245798 3C014220 */ lui $at, 0x4220 +/* 17407C 8024579C 44817000 */ mtc1 $at, $f14 +/* 174080 802457A0 0C093948 */ jal set_cam_target_pos +/* 174084 802457A4 00000000 */ nop +/* 174088 802457A8 0C093965 */ jal set_cam_zoom +/* 17408C 802457AC 24040174 */ addiu $a0, $zero, 0x174 +/* 174090 802457B0 0C093978 */ jal set_cam_zoffset +/* 174094 802457B4 0000202D */ daddu $a0, $zero, $zero +/* 174098 802457B8 0000282D */ daddu $a1, $zero, $zero +/* 17409C 802457BC 3C07FFF7 */ lui $a3, 0xfff7 +/* 1740A0 802457C0 34E7FFFF */ ori $a3, $a3, 0xffff +/* 1740A4 802457C4 3C06F7FF */ lui $a2, 0xf7ff +/* 1740A8 802457C8 34C6FFFF */ ori $a2, $a2, 0xffff +/* 1740AC 802457CC 0240202D */ daddu $a0, $s2, $zero +/* 1740B0 802457D0 8E020000 */ lw $v0, ($s0) +/* 1740B4 802457D4 2403FFFD */ addiu $v1, $zero, -3 +/* 1740B8 802457D8 00431024 */ and $v0, $v0, $v1 +/* 1740BC 802457DC AE020000 */ sw $v0, ($s0) +.L802457E0: +/* 1740C0 802457E0 8C8300E0 */ lw $v1, 0xe0($a0) +/* 1740C4 802457E4 10600005 */ beqz $v1, .L802457FC +/* 1740C8 802457E8 24A50001 */ addiu $a1, $a1, 1 +/* 1740CC 802457EC 8C620000 */ lw $v0, ($v1) +/* 1740D0 802457F0 00471024 */ and $v0, $v0, $a3 +/* 1740D4 802457F4 00461024 */ and $v0, $v0, $a2 +/* 1740D8 802457F8 AC620000 */ sw $v0, ($v1) +.L802457FC: +/* 1740DC 802457FC 28A20018 */ slti $v0, $a1, 0x18 +/* 1740E0 80245800 1440FFF7 */ bnez $v0, .L802457E0 +/* 1740E4 80245804 24840004 */ addiu $a0, $a0, 4 +/* 1740E8 80245808 2402FFFF */ addiu $v0, $zero, -1 +/* 1740EC 8024580C A242005C */ sb $v0, 0x5c($s2) +/* 1740F0 80245810 2402000A */ addiu $v0, $zero, 0xa +/* 1740F4 80245814 3C01802A */ lui $at, 0x802a +/* 1740F8 80245818 AC22F248 */ sw $v0, -0xdb8($at) +/* 1740FC 8024581C 24020002 */ addiu $v0, $zero, 2 +/* 174100 80245820 3C01800E */ lui $at, 0x800e +/* 174104 80245824 AC22C4DC */ sw $v0, -0x3b24($at) +/* 174108 80245828 3C03802A */ lui $v1, 0x802a +/* 17410C 8024582C 2463F248 */ addiu $v1, $v1, -0xdb8 +/* 174110 80245830 8C620000 */ lw $v0, ($v1) +/* 174114 80245834 10400003 */ beqz $v0, .L80245844 +/* 174118 80245838 2442FFFF */ addiu $v0, $v0, -1 +/* 17411C 8024583C 080916AB */ j func_80245AAC +/* 174120 80245840 AC620000 */ sw $v0, ($v1) + +.L80245844: +/* 174124 80245844 0C098EF2 */ jal deduct_current_move_fp +/* 174128 80245848 00000000 */ nop +/* 17412C 8024584C 3C048028 */ lui $a0, 0x8028 +/* 174130 80245850 24840A34 */ addiu $a0, $a0, 0xa34 +/* 174134 80245854 2405000A */ addiu $a1, $zero, 0xa +/* 174138 80245858 0C0B0CF8 */ jal start_script +/* 17413C 8024585C 0000302D */ daddu $a2, $zero, $zero +/* 174140 80245860 0040202D */ daddu $a0, $v0, $zero +/* 174144 80245864 AE4400BC */ sw $a0, 0xbc($s2) +/* 174148 80245868 8C820144 */ lw $v0, 0x144($a0) +/* 17414C 8024586C AE4200C0 */ sw $v0, 0xc0($s2) +/* 174150 80245870 24020100 */ addiu $v0, $zero, 0x100 +/* 174154 80245874 AC820148 */ sw $v0, 0x148($a0) +/* 174158 80245878 C6200144 */ lwc1 $f0, 0x144($s1) +/* 17415C 8024587C AE60001C */ sw $zero, 0x1c($s3) +/* 174160 80245880 E6600018 */ swc1 $f0, 0x18($s3) +/* 174164 80245884 C620014C */ lwc1 $f0, 0x14c($s1) +/* 174168 80245888 24020003 */ addiu $v0, $zero, 3 +/* 17416C 8024588C 3C01800E */ lui $at, 0x800e +/* 174170 80245890 AC22C4DC */ sw $v0, -0x3b24($at) +/* 174174 80245894 080916AB */ j func_80245AAC +/* 174178 80245898 E6600020 */ swc1 $f0, 0x20($s3) + +/* 17417C 8024589C 8E4400C0 */ lw $a0, 0xc0($s2) +/* 174180 802458A0 0C0B1059 */ jal does_script_exist +/* 174184 802458A4 00000000 */ nop +/* 174188 802458A8 14400080 */ bnez $v0, .L80245AAC +/* 17418C 802458AC 00000000 */ nop +/* 174190 802458B0 0C0902EF */ jal delete_actor +/* 174194 802458B4 0220202D */ daddu $a0, $s1, $zero +/* 174198 802458B8 924301AC */ lbu $v1, 0x1ac($s2) +/* 17419C 802458BC 3C028011 */ lui $v0, 0x8011 +/* 1741A0 802458C0 2442F290 */ addiu $v0, $v0, -0xd70 +/* 1741A4 802458C4 0C0992DD */ jal load_partner_actor +/* 1741A8 802458C8 A0430012 */ sb $v1, 0x12($v0) +/* 1741AC 802458CC 8E5100DC */ lw $s1, 0xdc($s2) +/* 1741B0 802458D0 3C013DCC */ lui $at, 0x3dcc +/* 1741B4 802458D4 3421CCCD */ ori $at, $at, 0xcccd +/* 1741B8 802458D8 44810000 */ mtc1 $at, $f0 +/* 1741BC 802458DC 00000000 */ nop +/* 1741C0 802458E0 E6200170 */ swc1 $f0, 0x170($s1) +/* 1741C4 802458E4 E6200174 */ swc1 $f0, 0x174($s1) +/* 1741C8 802458E8 E6200178 */ swc1 $f0, 0x178($s1) +/* 1741CC 802458EC C6600018 */ lwc1 $f0, 0x18($s3) +/* 1741D0 802458F0 C6220148 */ lwc1 $f2, 0x148($s1) +/* 1741D4 802458F4 E6200018 */ swc1 $f0, 0x18($s1) +/* 1741D8 802458F8 E622001C */ swc1 $f2, 0x1c($s1) +/* 1741DC 802458FC C6600020 */ lwc1 $f0, 0x20($s3) +/* 1741E0 80245900 3C0141C8 */ lui $at, 0x41c8 +/* 1741E4 80245904 44811000 */ mtc1 $at, $f2 +/* 1741E8 80245908 E6200020 */ swc1 $f0, 0x20($s1) +/* 1741EC 8024590C C6000144 */ lwc1 $f0, 0x144($s0) +func_80245910: +/* 1741F0 80245910 E6200144 */ swc1 $f0, 0x144($s1) +/* 1741F4 80245914 C6000148 */ lwc1 $f0, 0x148($s0) +/* 1741F8 80245918 46020000 */ add.s $f0, $f0, $f2 +/* 1741FC 8024591C E6200148 */ swc1 $f0, 0x148($s1) +/* 174200 80245920 C600014C */ lwc1 $f0, 0x14c($s0) +/* 174204 80245924 24020004 */ addiu $v0, $zero, 4 +/* 174208 80245928 3C01800E */ lui $at, 0x800e +/* 17420C 8024592C AC22C4DC */ sw $v0, -0x3b24($at) +/* 174210 80245930 080916AB */ j func_80245AAC +/* 174214 80245934 E620014C */ swc1 $f0, 0x14c($s1) + +/* 174218 80245938 8E5100DC */ lw $s1, 0xdc($s2) +/* 17421C 8024593C 12200006 */ beqz $s1, .L80245958 +/* 174220 80245940 00000000 */ nop +/* 174224 80245944 0C0B1059 */ jal does_script_exist +/* 174228 80245948 8E2401E4 */ lw $a0, 0x1e4($s1) +/* 17422C 8024594C 14400057 */ bnez $v0, .L80245AAC +/* 174230 80245950 00000000 */ nop +/* 174234 80245954 AE2001D4 */ sw $zero, 0x1d4($s1) +.L80245958: +/* 174238 80245958 3C048028 */ lui $a0, 0x8028 +/* 17423C 8024595C 24840B6C */ addiu $a0, $a0, 0xb6c +/* 174240 80245960 2405000A */ addiu $a1, $zero, 0xa +/* 174244 80245964 0C0B0CF8 */ jal start_script +/* 174248 80245968 0000302D */ daddu $a2, $zero, $zero +/* 17424C 8024596C 0040202D */ daddu $a0, $v0, $zero +/* 174250 80245970 AE4400BC */ sw $a0, 0xbc($s2) +/* 174254 80245974 8C820144 */ lw $v0, 0x144($a0) +/* 174258 80245978 24030005 */ addiu $v1, $zero, 5 +/* 17425C 8024597C 3C01800E */ lui $at, 0x800e +/* 174260 80245980 AC23C4DC */ sw $v1, -0x3b24($at) +func_80245984: +/* 174264 80245984 AE4200C0 */ sw $v0, 0xc0($s2) +/* 174268 80245988 24020100 */ addiu $v0, $zero, 0x100 +/* 17426C 8024598C 080916AB */ j func_80245AAC +/* 174270 80245990 AC820148 */ sw $v0, 0x148($a0) + +/* 174274 80245994 8E4400C0 */ lw $a0, 0xc0($s2) +/* 174278 80245998 0C0B1059 */ jal does_script_exist +/* 17427C 8024599C 00000000 */ nop +/* 174280 802459A0 14400042 */ bnez $v0, .L80245AAC +/* 174284 802459A4 00000000 */ nop +/* 174288 802459A8 8E5100DC */ lw $s1, 0xdc($s2) +/* 17428C 802459AC 12200010 */ beqz $s1, .L802459F0 +/* 174290 802459B0 24020006 */ addiu $v0, $zero, 6 +/* 174294 802459B4 8E2201CC */ lw $v0, 0x1cc($s1) +/* 174298 802459B8 1040000C */ beqz $v0, .L802459EC +/* 17429C 802459BC 2405000A */ addiu $a1, $zero, 0xa +/* 1742A0 802459C0 00A0102D */ daddu $v0, $a1, $zero +/* 1742A4 802459C4 A24201A7 */ sb $v0, 0x1a7($s2) +/* 1742A8 802459C8 8E2401CC */ lw $a0, 0x1cc($s1) +/* 1742AC 802459CC 0C0B0CF8 */ jal start_script +/* 1742B0 802459D0 0000302D */ daddu $a2, $zero, $zero +/* 1742B4 802459D4 0040202D */ daddu $a0, $v0, $zero +/* 1742B8 802459D8 AE2401DC */ sw $a0, 0x1dc($s1) +/* 1742BC 802459DC 8C820144 */ lw $v0, 0x144($a0) +func_802459E0: +/* 1742C0 802459E0 AE2201EC */ sw $v0, 0x1ec($s1) +/* 1742C4 802459E4 24020100 */ addiu $v0, $zero, 0x100 +/* 1742C8 802459E8 AC820148 */ sw $v0, 0x148($a0) +.L802459EC: +/* 1742CC 802459EC 24020006 */ addiu $v0, $zero, 6 +.L802459F0: +/* 1742D0 802459F0 3C01800E */ lui $at, 0x800e +/* 1742D4 802459F4 AC22C4DC */ sw $v0, -0x3b24($at) +/* 1742D8 802459F8 080916AB */ j func_80245AAC +/* 1742DC 802459FC 00000000 */ nop + +/* 1742E0 80245A00 8E5100DC */ lw $s1, 0xdc($s2) +/* 1742E4 80245A04 12200008 */ beqz $s1, .L80245A28 +/* 1742E8 80245A08 00000000 */ nop +/* 1742EC 80245A0C 8E2201CC */ lw $v0, 0x1cc($s1) +/* 1742F0 80245A10 10400005 */ beqz $v0, .L80245A28 +/* 1742F4 80245A14 00000000 */ nop +/* 1742F8 80245A18 0C0B1059 */ jal does_script_exist +/* 1742FC 80245A1C 8E2401EC */ lw $a0, 0x1ec($s1) +/* 174300 80245A20 14400022 */ bnez $v0, .L80245AAC +/* 174304 80245A24 00000000 */ nop +.L80245A28: +/* 174308 80245A28 0C093903 */ jal func_8024E40C +/* 17430C 80245A2C 24040002 */ addiu $a0, $zero, 2 +/* 174310 80245A30 24020007 */ addiu $v0, $zero, 7 +/* 174314 80245A34 3C01800E */ lui $at, 0x800e +/* 174318 80245A38 AC22C4DC */ sw $v0, -0x3b24($at) +/* 17431C 80245A3C 080916AB */ j func_80245AAC +/* 174320 80245A40 00000000 */ nop + +/* 174324 80245A44 8242008C */ lb $v0, 0x8c($s2) +/* 174328 80245A48 14400018 */ bnez $v0, .L80245AAC +/* 17432C 80245A4C 2403FFEF */ addiu $v1, $zero, -0x11 +/* 174330 80245A50 3C04800E */ lui $a0, 0x800e +/* 174334 80245A54 2484C070 */ addiu $a0, $a0, -0x3f90 +/* 174338 80245A58 8C820004 */ lw $v0, 4($a0) +/* 17433C 80245A5C 00431024 */ and $v0, $v0, $v1 +/* 174340 80245A60 AC820004 */ sw $v0, 4($a0) +/* 174344 80245A64 8C820000 */ lw $v0, ($a0) +/* 174348 80245A68 3C030008 */ lui $v1, 8 +/* 17434C 80245A6C 00431024 */ and $v0, $v0, $v1 +/* 174350 80245A70 14400007 */ bnez $v0, .L80245A90 +/* 174354 80245A74 0200202D */ daddu $a0, $s0, $zero +/* 174358 80245A78 0C099CAB */ jal heroes_is_ability_active +/* 17435C 80245A7C 2405001A */ addiu $a1, $zero, 0x1a +/* 174360 80245A80 14400008 */ bnez $v0, .L80245AA4 +/* 174364 80245A84 2404000C */ addiu $a0, $zero, 0xc +/* 174368 80245A88 080916A9 */ j func_80245AA4 +/* 17436C 80245A8C 24040016 */ addiu $a0, $zero, 0x16 + +.L80245A90: +/* 174370 80245A90 0C099CAB */ jal heroes_is_ability_active +/* 174374 80245A94 2405001A */ addiu $a1, $zero, 0x1a +/* 174378 80245A98 10400002 */ beqz $v0, .L80245AA4 +/* 17437C 80245A9C 24040017 */ addiu $a0, $zero, 0x17 +/* 174380 80245AA0 2404000C */ addiu $a0, $zero, 0xc +func_80245AA4: +.L80245AA4: +/* 174384 80245AA4 0C090464 */ jal func_80241190 +/* 174388 80245AA8 00000000 */ nop +func_80245AAC: +.L80245AAC: +/* 17438C 80245AAC 8FBF0020 */ lw $ra, 0x20($sp) +/* 174390 80245AB0 8FB3001C */ lw $s3, 0x1c($sp) +/* 174394 80245AB4 8FB20018 */ lw $s2, 0x18($sp) +/* 174398 80245AB8 8FB10014 */ lw $s1, 0x14($sp) +/* 17439C 80245ABC 8FB00010 */ lw $s0, 0x10($sp) +/* 1743A0 80245AC0 03E00008 */ jr $ra +/* 1743A4 80245AC4 27BD0028 */ addiu $sp, $sp, 0x28 + +func_80245AC8: +/* 1743A8 80245AC8 03E00008 */ jr $ra +/* 1743AC 80245ACC 00000000 */ nop + +update_player_action: +/* 1743B0 80245AD0 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* 1743B4 80245AD4 AFB40020 */ sw $s4, 0x20($sp) +/* 1743B8 80245AD8 3C14800E */ lui $s4, 0x800e +/* 1743BC 80245ADC 2694C070 */ addiu $s4, $s4, -0x3f90 +/* 1743C0 80245AE0 AFBF0028 */ sw $ra, 0x28($sp) +/* 1743C4 80245AE4 AFB50024 */ sw $s5, 0x24($sp) +/* 1743C8 80245AE8 AFB3001C */ sw $s3, 0x1c($sp) +/* 1743CC 80245AEC AFB20018 */ sw $s2, 0x18($sp) +/* 1743D0 80245AF0 AFB10014 */ sw $s1, 0x14($sp) +/* 1743D4 80245AF4 AFB00010 */ sw $s0, 0x10($sp) +/* 1743D8 80245AF8 8E9500D8 */ lw $s5, 0xd8($s4) +/* 1743DC 80245AFC 3C02800E */ lui $v0, 0x800e +/* 1743E0 80245B00 8C42C4DC */ lw $v0, -0x3b24($v0) +/* 1743E4 80245B04 8E9200DC */ lw $s2, 0xdc($s4) +/* 1743E8 80245B08 14400068 */ bnez $v0, .L80245CAC +/* 1743EC 80245B0C 2402007F */ addiu $v0, $zero, 0x7f +/* 1743F0 80245B10 A2820086 */ sb $v0, 0x86($s4) +/* 1743F4 80245B14 A2820087 */ sb $v0, 0x87($s4) +/* 1743F8 80245B18 8E820000 */ lw $v0, ($s4) +/* 1743FC 80245B1C 2403EFFF */ addiu $v1, $zero, -0x1001 +/* 174400 80245B20 A280008C */ sb $zero, 0x8c($s4) +/* 174404 80245B24 A6800180 */ sh $zero, 0x180($s4) +/* 174408 80245B28 A280019A */ sb $zero, 0x19a($s4) +/* 17440C 80245B2C 00431024 */ and $v0, $v0, $v1 +/* 174410 80245B30 2403FFFD */ addiu $v1, $zero, -3 +/* 174414 80245B34 00431024 */ and $v0, $v0, $v1 +/* 174418 80245B38 0C098F18 */ jal func_80263C60 +/* 17441C 80245B3C AE820000 */ sw $v0, ($s4) +/* 174420 80245B40 3C03F7FF */ lui $v1, 0xf7ff +/* 174424 80245B44 8EA20000 */ lw $v0, ($s5) +/* 174428 80245B48 3463FFFF */ ori $v1, $v1, 0xffff +/* 17442C 80245B4C 00431024 */ and $v0, $v0, $v1 +/* 174430 80245B50 12400004 */ beqz $s2, .L80245B64 +/* 174434 80245B54 AEA20000 */ sw $v0, ($s5) +/* 174438 80245B58 8E420000 */ lw $v0, ($s2) +/* 17443C 80245B5C 00431024 */ and $v0, $v0, $v1 +/* 174440 80245B60 AE420000 */ sw $v0, ($s2) +.L80245B64: +/* 174444 80245B64 0C09390F */ jal cam_target_actor +/* 174448 80245B68 0000202D */ daddu $a0, $zero, $zero +/* 17444C 80245B6C 3C04FFDF */ lui $a0, 0xffdf +func_80245B70: +/* 174450 80245B70 3484FFFF */ ori $a0, $a0, 0xffff +/* 174454 80245B74 0000882D */ daddu $s1, $zero, $zero +/* 174458 80245B78 0280282D */ daddu $a1, $s4, $zero +/* 17445C 80245B7C 8E820000 */ lw $v0, ($s4) +/* 174460 80245B80 2403FFF7 */ addiu $v1, $zero, -9 +/* 174464 80245B84 00431024 */ and $v0, $v0, $v1 +/* 174468 80245B88 AE820000 */ sw $v0, ($s4) +/* 17446C 80245B8C A2A0021C */ sb $zero, 0x21c($s5) +/* 174470 80245B90 8E820004 */ lw $v0, 4($s4) +/* 174474 80245B94 8E830000 */ lw $v1, ($s4) +/* 174478 80245B98 34420008 */ ori $v0, $v0, 8 +/* 17447C 80245B9C 00641824 */ and $v1, $v1, $a0 +/* 174480 80245BA0 AE820004 */ sw $v0, 4($s4) +/* 174484 80245BA4 AE830000 */ sw $v1, ($s4) +.L80245BA8: +/* 174488 80245BA8 8CB000E0 */ lw $s0, 0xe0($a1) +/* 17448C 80245BAC 56000001 */ bnezl $s0, .L80245BB4 +/* 174490 80245BB0 A200021C */ sb $zero, 0x21c($s0) +.L80245BB4: +/* 174494 80245BB4 26310001 */ addiu $s1, $s1, 1 +/* 174498 80245BB8 2A220018 */ slti $v0, $s1, 0x18 +/* 17449C 80245BBC 1440FFFA */ bnez $v0, .L80245BA8 +/* 1744A0 80245BC0 24A50004 */ addiu $a1, $a1, 4 +/* 1744A4 80245BC4 0000882D */ daddu $s1, $zero, $zero +/* 1744A8 80245BC8 3C05FFF7 */ lui $a1, 0xfff7 +/* 1744AC 80245BCC 34A5FFFF */ ori $a1, $a1, 0xffff +/* 1744B0 80245BD0 3C04F7FF */ lui $a0, 0xf7ff +/* 1744B4 80245BD4 3484FFFF */ ori $a0, $a0, 0xffff +/* 1744B8 80245BD8 0280182D */ daddu $v1, $s4, $zero +.L80245BDC: +/* 1744BC 80245BDC 8C7000E0 */ lw $s0, 0xe0($v1) +/* 1744C0 80245BE0 12000005 */ beqz $s0, .L80245BF8 +/* 1744C4 80245BE4 26310001 */ addiu $s1, $s1, 1 +/* 1744C8 80245BE8 8E020000 */ lw $v0, ($s0) +/* 1744CC 80245BEC 00451024 */ and $v0, $v0, $a1 +/* 1744D0 80245BF0 00441024 */ and $v0, $v0, $a0 +/* 1744D4 80245BF4 AE020000 */ sw $v0, ($s0) +.L80245BF8: +/* 1744D8 80245BF8 2A220018 */ slti $v0, $s1, 0x18 +/* 1744DC 80245BFC 1440FFF7 */ bnez $v0, .L80245BDC +/* 1744E0 80245C00 24630004 */ addiu $v1, $v1, 4 +/* 1744E4 80245C04 92820178 */ lbu $v0, 0x178($s4) +/* 1744E8 80245C08 2C420002 */ sltiu $v0, $v0, 2 +/* 1744EC 80245C0C 1040001E */ beqz $v0, .L80245C88 +/* 1744F0 80245C10 24020001 */ addiu $v0, $zero, 1 +/* 1744F4 80245C14 8290008A */ lb $s0, 0x8a($s4) +/* 1744F8 80245C18 1602001C */ bne $s0, $v0, .L80245C8C +/* 1744FC 80245C1C 24020003 */ addiu $v0, $zero, 3 +/* 174500 80245C20 3C048028 */ lui $a0, 0x8028 +/* 174504 80245C24 24844EBC */ addiu $a0, $a0, 0x4ebc +/* 174508 80245C28 2405000A */ addiu $a1, $zero, 0xa +/* 17450C 80245C2C 0000302D */ daddu $a2, $zero, $zero +/* 174510 80245C30 24020003 */ addiu $v0, $zero, 3 +/* 174514 80245C34 A28200AC */ sb $v0, 0xac($s4) +/* 174518 80245C38 24020014 */ addiu $v0, $zero, 0x14 +/* 17451C 80245C3C A280008A */ sb $zero, 0x8a($s4) +/* 174520 80245C40 0C0B0CF8 */ jal start_script +/* 174524 80245C44 A28201A7 */ sb $v0, 0x1a7($s4) +/* 174528 80245C48 0040202D */ daddu $a0, $v0, $zero +/* 17452C 80245C4C AEA401D4 */ sw $a0, 0x1d4($s5) +/* 174530 80245C50 8C820144 */ lw $v0, 0x144($a0) +/* 174534 80245C54 AEA201E4 */ sw $v0, 0x1e4($s5) +/* 174538 80245C58 AC800148 */ sw $zero, 0x148($a0) +/* 17453C 80245C5C 3C04800E */ lui $a0, 0x800e +/* 174540 80245C60 2484C070 */ addiu $a0, $a0, -0x3f90 +/* 174544 80245C64 8C820000 */ lw $v0, ($a0) +/* 174548 80245C68 3C030001 */ lui $v1, 1 +func_80245C6C: +/* 17454C 80245C6C 00431025 */ or $v0, $v0, $v1 +/* 174550 80245C70 0C093EC3 */ jal close_action_command_instruction_popup +/* 174554 80245C74 AC820000 */ sw $v0, ($a0) +/* 174558 80245C78 3C01800E */ lui $at, 0x800e +/* 17455C 80245C7C AC30C4DC */ sw $s0, -0x3b24($at) +/* 174560 80245C80 0809172B */ j func_80245CAC +/* 174564 80245C84 00000000 */ nop + +.L80245C88: +/* 174568 80245C88 24020003 */ addiu $v0, $zero, 3 +.L80245C8C: +/* 17456C 80245C8C 3C04800E */ lui $a0, 0x800e +/* 174570 80245C90 2484C070 */ addiu $a0, $a0, -0x3f90 +/* 174574 80245C94 3C01800E */ lui $at, 0x800e +/* 174578 80245C98 AC22C4DC */ sw $v0, -0x3b24($at) +/* 17457C 80245C9C 8C820000 */ lw $v0, ($a0) +/* 174580 80245CA0 2403FFFD */ addiu $v1, $zero, -3 +/* 174584 80245CA4 00431024 */ and $v0, $v0, $v1 +/* 174588 80245CA8 AC820000 */ sw $v0, ($a0) +func_80245CAC: +.L80245CAC: +/* 17458C 80245CAC 3C04800E */ lui $a0, 0x800e +/* 174590 80245CB0 2484C4DC */ addiu $a0, $a0, -0x3b24 +/* 174594 80245CB4 8C830000 */ lw $v1, ($a0) +/* 174598 80245CB8 24020001 */ addiu $v0, $zero, 1 +/* 17459C 80245CBC 10620005 */ beq $v1, $v0, .L80245CD4 +/* 1745A0 80245CC0 24020002 */ addiu $v0, $zero, 2 +/* 1745A4 80245CC4 10620023 */ beq $v1, $v0, .L80245D54 +/* 1745A8 80245CC8 00000000 */ nop +/* 1745AC 80245CCC 0809175E */ j func_80245D78 +/* 1745B0 80245CD0 00000000 */ nop + +.L80245CD4: +/* 1745B4 80245CD4 8EA201D4 */ lw $v0, 0x1d4($s5) +/* 1745B8 80245CD8 50400007 */ beql $v0, $zero, .L80245CF8 +/* 1745BC 80245CDC AEA001D4 */ sw $zero, 0x1d4($s5) +/* 1745C0 80245CE0 8EA401E4 */ lw $a0, 0x1e4($s5) +/* 1745C4 80245CE4 0C0B1059 */ jal does_script_exist +/* 1745C8 80245CE8 00000000 */ nop +/* 1745CC 80245CEC 14400022 */ bnez $v0, .L80245D78 +/* 1745D0 80245CF0 00000000 */ nop +/* 1745D4 80245CF4 AEA001D4 */ sw $zero, 0x1d4($s5) +.L80245CF8: +/* 1745D8 80245CF8 0C03A752 */ jal is_ability_active +/* 1745DC 80245CFC 24040015 */ addiu $a0, $zero, 0x15 +/* 1745E0 80245D00 1440000E */ bnez $v0, .L80245D3C +/* 1745E4 80245D04 24020002 */ addiu $v0, $zero, 2 +/* 1745E8 80245D08 8683017C */ lh $v1, 0x17c($s4) +/* 1745EC 80245D0C 1060000A */ beqz $v1, .L80245D38 +/* 1745F0 80245D10 00031080 */ sll $v0, $v1, 2 +/* 1745F4 80245D14 00431021 */ addu $v0, $v0, $v1 +/* 1745F8 80245D18 00021080 */ sll $v0, $v0, 2 +/* 1745FC 80245D1C 3C048009 */ lui $a0, 0x8009 +/* 174600 80245D20 00822021 */ addu $a0, $a0, $v0 +/* 174604 80245D24 8084F073 */ lb $a0, -0xf8d($a0) +/* 174608 80245D28 04800003 */ bltz $a0, .L80245D38 +/* 17460C 80245D2C 2484002E */ addiu $a0, $a0, 0x2e +/* 174610 80245D30 0C093E58 */ jal show_battle_message +/* 174614 80245D34 2405003C */ addiu $a1, $zero, 0x3c +.L80245D38: +/* 174618 80245D38 24020002 */ addiu $v0, $zero, 2 +.L80245D3C: +/* 17461C 80245D3C 3C01802A */ lui $at, 0x802a +/* 174620 80245D40 AC22F248 */ sw $v0, -0xdb8($at) +/* 174624 80245D44 3C01800E */ lui $at, 0x800e +/* 174628 80245D48 AC22C4DC */ sw $v0, -0x3b24($at) +/* 17462C 80245D4C 0809175E */ j func_80245D78 +/* 174630 80245D50 00000000 */ nop + +.L80245D54: +/* 174634 80245D54 3C03802A */ lui $v1, 0x802a +/* 174638 80245D58 2463F248 */ addiu $v1, $v1, -0xdb8 +func_80245D5C: +/* 17463C 80245D5C 8C620000 */ lw $v0, ($v1) +/* 174640 80245D60 10400003 */ beqz $v0, .L80245D70 +/* 174644 80245D64 2442FFFF */ addiu $v0, $v0, -1 +/* 174648 80245D68 0809175E */ j func_80245D78 +/* 17464C 80245D6C AC620000 */ sw $v0, ($v1) + +.L80245D70: +/* 174650 80245D70 24020003 */ addiu $v0, $zero, 3 +/* 174654 80245D74 AC820000 */ sw $v0, ($a0) +func_80245D78: +.L80245D78: +/* 174658 80245D78 3C10800E */ lui $s0, 0x800e +/* 17465C 80245D7C 2610C4DC */ addiu $s0, $s0, -0x3b24 +/* 174660 80245D80 8E030000 */ lw $v1, ($s0) +/* 174664 80245D84 24020004 */ addiu $v0, $zero, 4 +/* 174668 80245D88 10620031 */ beq $v1, $v0, .L80245E50 +/* 17466C 80245D8C 28620005 */ slti $v0, $v1, 5 +/* 174670 80245D90 10400005 */ beqz $v0, .L80245DA8 +/* 174674 80245D94 24020003 */ addiu $v0, $zero, 3 +/* 174678 80245D98 1062000A */ beq $v1, $v0, .L80245DC4 +/* 17467C 80245D9C 24020015 */ addiu $v0, $zero, 0x15 +/* 174680 80245DA0 080918A6 */ j func_80246298 +/* 174684 80245DA4 00000000 */ nop + +.L80245DA8: +/* 174688 80245DA8 2402000B */ addiu $v0, $zero, 0xb +/* 17468C 80245DAC 10620120 */ beq $v1, $v0, .L80246230 +/* 174690 80245DB0 2402000C */ addiu $v0, $zero, 0xc +/* 174694 80245DB4 1062012B */ beq $v1, $v0, .L80246264 +/* 174698 80245DB8 00000000 */ nop +/* 17469C 80245DBC 080918A2 */ j func_80246288 +/* 1746A0 80245DC0 00000000 */ nop + +.L80245DC4: +/* 1746A4 80245DC4 3C04FFFE */ lui $a0, 0xfffe +/* 1746A8 80245DC8 3484FFFF */ ori $a0, $a0, 0xffff +/* 1746AC 80245DCC 3C10800E */ lui $s0, 0x800e +/* 1746B0 80245DD0 2610C070 */ addiu $s0, $s0, -0x3f90 +/* 1746B4 80245DD4 8E020000 */ lw $v0, ($s0) +/* 1746B8 80245DD8 2403BFFF */ addiu $v1, $zero, -0x4001 +/* 1746BC 80245DDC 00431024 */ and $v0, $v0, $v1 +/* 1746C0 80245DE0 00441024 */ and $v0, $v0, $a0 +/* 1746C4 80245DE4 0C03A6D5 */ jal increment_status_menu_disabled +/* 1746C8 80245DE8 AE020000 */ sw $v0, ($s0) +/* 1746CC 80245DEC 8E020000 */ lw $v0, ($s0) +/* 1746D0 80245DF0 02A0202D */ daddu $a0, $s5, $zero +/* 1746D4 80245DF4 34420100 */ ori $v0, $v0, 0x100 +/* 1746D8 80245DF8 0C099EA7 */ jal reset_all_actor_sounds +/* 1746DC 80245DFC AE020000 */ sw $v0, ($s0) +/* 1746E0 80245E00 8E020004 */ lw $v0, 4($s0) +/* 1746E4 80245E04 30420040 */ andi $v0, $v0, 0x40 +/* 1746E8 80245E08 3C048028 */ lui $a0, 0x8028 +/* 1746EC 80245E0C 24844EBC */ addiu $a0, $a0, 0x4ebc +/* 1746F0 80245E10 10400003 */ beqz $v0, .L80245E20 +/* 1746F4 80245E14 A28001A7 */ sb $zero, 0x1a7($s4) +/* 1746F8 80245E18 3C048028 */ lui $a0, 0x8028 +/* 1746FC 80245E1C 24845010 */ addiu $a0, $a0, 0x5010 +.L80245E20: +/* 174700 80245E20 2405000A */ addiu $a1, $zero, 0xa +/* 174704 80245E24 0C0B0CF8 */ jal start_script +/* 174708 80245E28 0000302D */ daddu $a2, $zero, $zero +/* 17470C 80245E2C 0040202D */ daddu $a0, $v0, $zero +/* 174710 80245E30 AEA401D4 */ sw $a0, 0x1d4($s5) +/* 174714 80245E34 8C830144 */ lw $v1, 0x144($a0) +/* 174718 80245E38 24020004 */ addiu $v0, $zero, 4 +/* 17471C 80245E3C 3C01800E */ lui $at, 0x800e +/* 174720 80245E40 AC22C4DC */ sw $v0, -0x3b24($at) +/* 174724 80245E44 AEA301E4 */ sw $v1, 0x1e4($s5) +/* 174728 80245E48 080918A2 */ j func_80246288 +/* 17472C 80245E4C AC800148 */ sw $zero, 0x148($a0) + +.L80245E50: +/* 174730 80245E50 3C02800E */ lui $v0, 0x800e +/* 174734 80245E54 8C42C070 */ lw $v0, -0x3f90($v0) +/* 174738 80245E58 3C030020 */ lui $v1, 0x20 +/* 17473C 80245E5C 00431024 */ and $v0, $v0, $v1 +/* 174740 80245E60 1440000A */ bnez $v0, .L80245E8C +/* 174744 80245E64 00000000 */ nop +/* 174748 80245E68 8EA201D4 */ lw $v0, 0x1d4($s5) +/* 17474C 80245E6C 50400007 */ beql $v0, $zero, .L80245E8C +/* 174750 80245E70 AEA001D4 */ sw $zero, 0x1d4($s5) +/* 174754 80245E74 8EA401E4 */ lw $a0, 0x1e4($s5) +/* 174758 80245E78 0C0B1059 */ jal does_script_exist +/* 17475C 80245E7C 00000000 */ nop +/* 174760 80245E80 14400101 */ bnez $v0, .L80246288 +/* 174764 80245E84 00000000 */ nop +/* 174768 80245E88 AEA001D4 */ sw $zero, 0x1d4($s5) +.L80245E8C: +/* 17476C 80245E8C 3C04800E */ lui $a0, 0x800e +/* 174770 80245E90 2484C070 */ addiu $a0, $a0, -0x3f90 +/* 174774 80245E94 8C820000 */ lw $v0, ($a0) +/* 174778 80245E98 2403FEFF */ addiu $v1, $zero, -0x101 +/* 17477C 80245E9C 00431024 */ and $v0, $v0, $v1 +/* 174780 80245EA0 AC820000 */ sw $v0, ($a0) +/* 174784 80245EA4 8EA201D8 */ lw $v0, 0x1d8($s5) +/* 174788 80245EA8 10400005 */ beqz $v0, .L80245EC0 +/* 17478C 80245EAC 00000000 */ nop +/* 174790 80245EB0 0C0B1059 */ jal does_script_exist +/* 174794 80245EB4 8EA401E8 */ lw $a0, 0x1e8($s5) +/* 174798 80245EB8 144000F3 */ bnez $v0, .L80246288 +/* 17479C 80245EBC 00000000 */ nop +.L80245EC0: +/* 1747A0 80245EC0 1240000A */ beqz $s2, .L80245EEC +/* 1747A4 80245EC4 AEA001D8 */ sw $zero, 0x1d8($s5) +/* 1747A8 80245EC8 8E4201D8 */ lw $v0, 0x1d8($s2) +/* 1747AC 80245ECC 50400007 */ beql $v0, $zero, .L80245EEC +/* 1747B0 80245ED0 AE4001D8 */ sw $zero, 0x1d8($s2) +/* 1747B4 80245ED4 8E4401E8 */ lw $a0, 0x1e8($s2) +/* 1747B8 80245ED8 0C0B1059 */ jal does_script_exist +/* 1747BC 80245EDC 00000000 */ nop +/* 1747C0 80245EE0 144000E9 */ bnez $v0, .L80246288 +/* 1747C4 80245EE4 00000000 */ nop +/* 1747C8 80245EE8 AE4001D8 */ sw $zero, 0x1d8($s2) +.L80245EEC: +/* 1747CC 80245EEC 0000982D */ daddu $s3, $zero, $zero +/* 1747D0 80245EF0 0260882D */ daddu $s1, $s3, $zero +/* 1747D4 80245EF4 0280902D */ daddu $s2, $s4, $zero +.L80245EF8: +/* 1747D8 80245EF8 8E5000E0 */ lw $s0, 0xe0($s2) +/* 1747DC 80245EFC 5200000B */ beql $s0, $zero, .L80245F2C +/* 1747E0 80245F00 26310001 */ addiu $s1, $s1, 1 +/* 1747E4 80245F04 8E0201D4 */ lw $v0, 0x1d4($s0) +/* 1747E8 80245F08 50400008 */ beql $v0, $zero, .L80245F2C +/* 1747EC 80245F0C 26310001 */ addiu $s1, $s1, 1 +/* 1747F0 80245F10 8E0401E4 */ lw $a0, 0x1e4($s0) +/* 1747F4 80245F14 0C0B1059 */ jal does_script_exist +/* 1747F8 80245F18 00000000 */ nop +/* 1747FC 80245F1C 50400002 */ beql $v0, $zero, .L80245F28 +/* 174800 80245F20 AE0001D4 */ sw $zero, 0x1d4($s0) +/* 174804 80245F24 24130001 */ addiu $s3, $zero, 1 +.L80245F28: +/* 174808 80245F28 26310001 */ addiu $s1, $s1, 1 +.L80245F2C: +/* 17480C 80245F2C 2A220018 */ slti $v0, $s1, 0x18 +/* 174810 80245F30 1440FFF1 */ bnez $v0, .L80245EF8 +/* 174814 80245F34 26520004 */ addiu $s2, $s2, 4 +/* 174818 80245F38 166000D3 */ bnez $s3, .L80246288 +/* 17481C 80245F3C 0000882D */ daddu $s1, $zero, $zero +/* 174820 80245F40 0280902D */ daddu $s2, $s4, $zero +.L80245F44: +/* 174824 80245F44 8E5000E0 */ lw $s0, 0xe0($s2) +/* 174828 80245F48 5200000B */ beql $s0, $zero, .L80245F78 +/* 17482C 80245F4C 26310001 */ addiu $s1, $s1, 1 +/* 174830 80245F50 8E0201D8 */ lw $v0, 0x1d8($s0) +/* 174834 80245F54 50400008 */ beql $v0, $zero, .L80245F78 +/* 174838 80245F58 26310001 */ addiu $s1, $s1, 1 +/* 17483C 80245F5C 8E0401E8 */ lw $a0, 0x1e8($s0) +/* 174840 80245F60 0C0B1059 */ jal does_script_exist +/* 174844 80245F64 00000000 */ nop +/* 174848 80245F68 50400002 */ beql $v0, $zero, .L80245F74 +/* 17484C 80245F6C AE0001D8 */ sw $zero, 0x1d8($s0) +/* 174850 80245F70 24130001 */ addiu $s3, $zero, 1 +.L80245F74: +/* 174854 80245F74 26310001 */ addiu $s1, $s1, 1 +.L80245F78: +/* 174858 80245F78 2A220018 */ slti $v0, $s1, 0x18 +/* 17485C 80245F7C 1440FFF1 */ bnez $v0, .L80245F44 +/* 174860 80245F80 26520004 */ addiu $s2, $s2, 4 +/* 174864 80245F84 166000C0 */ bnez $s3, .L80246288 +/* 174868 80245F88 0000882D */ daddu $s1, $zero, $zero +/* 17486C 80245F8C 3C04FFF7 */ lui $a0, 0xfff7 +/* 174870 80245F90 3484FFFF */ ori $a0, $a0, 0xffff +/* 174874 80245F94 0280182D */ daddu $v1, $s4, $zero +.L80245F98: +/* 174878 80245F98 8C7000E0 */ lw $s0, 0xe0($v1) +/* 17487C 80245F9C 12000004 */ beqz $s0, .L80245FB0 +/* 174880 80245FA0 26310001 */ addiu $s1, $s1, 1 +/* 174884 80245FA4 8E020000 */ lw $v0, ($s0) +/* 174888 80245FA8 00441024 */ and $v0, $v0, $a0 +/* 17488C 80245FAC AE020000 */ sw $v0, ($s0) +.L80245FB0: +/* 174890 80245FB0 2A220018 */ slti $v0, $s1, 0x18 +/* 174894 80245FB4 1440FFF8 */ bnez $v0, .L80245F98 +/* 174898 80245FB8 24630004 */ addiu $v1, $v1, 4 +/* 17489C 80245FBC 8282008C */ lb $v0, 0x8c($s4) +/* 1748A0 80245FC0 144000B1 */ bnez $v0, .L80246288 +/* 1748A4 80245FC4 00000000 */ nop +/* 1748A8 80245FC8 3C028007 */ lui $v0, 0x8007 +/* 1748AC 80245FCC 8C42419C */ lw $v0, 0x419c($v0) +/* 1748B0 80245FD0 904200AA */ lbu $v0, 0xaa($v0) +/* 1748B4 80245FD4 30420001 */ andi $v0, $v0, 1 +/* 1748B8 80245FD8 10400005 */ beqz $v0, .L80245FF0 +/* 1748BC 80245FDC 00000000 */ nop +/* 1748C0 80245FE0 0C090464 */ jal func_80241190 +func_80245FE4: +/* 1748C4 80245FE4 24040023 */ addiu $a0, $zero, 0x23 +/* 1748C8 80245FE8 080918A2 */ j func_80246288 +/* 1748CC 80245FEC 00000000 */ nop + +.L80245FF0: +/* 1748D0 80245FF0 0C03A6CC */ jal decrement_status_menu_disabled +/* 1748D4 80245FF4 00000000 */ nop +/* 1748D8 80245FF8 3C10800E */ lui $s0, 0x800e +/* 1748DC 80245FFC 2610C070 */ addiu $s0, $s0, -0x3f90 +/* 1748E0 80246000 8E020000 */ lw $v0, ($s0) +/* 1748E4 80246004 34420008 */ ori $v0, $v0, 8 +/* 1748E8 80246008 AE020000 */ sw $v0, ($s0) +/* 1748EC 8024600C 8E020004 */ lw $v0, 4($s0) +/* 1748F0 80246010 2403FFF7 */ addiu $v1, $zero, -9 +/* 1748F4 80246014 00431024 */ and $v0, $v0, $v1 +/* 1748F8 80246018 0C098D19 */ jal func_80263464 +/* 1748FC 8024601C AE020004 */ sw $v0, 4($s0) +/* 174900 80246020 14400100 */ bnez $v0, .L80246424 +/* 174904 80246024 24020001 */ addiu $v0, $zero, 1 +/* 174908 80246028 82830178 */ lb $v1, 0x178($s4) +/* 17490C 8024602C 1462000C */ bne $v1, $v0, .L80246060 +/* 174910 80246030 2402000B */ addiu $v0, $zero, 0xb +/* 174914 80246034 8683017C */ lh $v1, 0x17c($s4) +/* 174918 80246038 10620009 */ beq $v1, $v0, .L80246060 +/* 17491C 8024603C 2402000F */ addiu $v0, $zero, 0xf +/* 174920 80246040 10620007 */ beq $v1, $v0, .L80246060 +/* 174924 80246044 24020011 */ addiu $v0, $zero, 0x11 +/* 174928 80246048 10620005 */ beq $v1, $v0, .L80246060 +/* 17492C 8024604C 3C03EFFF */ lui $v1, 0xefff +/* 174930 80246050 8E020000 */ lw $v0, ($s0) +/* 174934 80246054 3463FFFF */ ori $v1, $v1, 0xffff +/* 174938 80246058 00431024 */ and $v0, $v0, $v1 +/* 17493C 8024605C AE020000 */ sw $v0, ($s0) +.L80246060: +/* 174940 80246060 82820178 */ lb $v0, 0x178($s4) +/* 174944 80246064 1440000E */ bnez $v0, .L802460A0 +/* 174948 80246068 24020023 */ addiu $v0, $zero, 0x23 +/* 17494C 8024606C 8683017C */ lh $v1, 0x17c($s4) +/* 174950 80246070 1062000B */ beq $v1, $v0, .L802460A0 +/* 174954 80246074 24020025 */ addiu $v0, $zero, 0x25 +/* 174958 80246078 10620009 */ beq $v1, $v0, .L802460A0 +/* 17495C 8024607C 24020027 */ addiu $v0, $zero, 0x27 +/* 174960 80246080 10620007 */ beq $v1, $v0, .L802460A0 +/* 174964 80246084 3C04DFFF */ lui $a0, 0xdfff +/* 174968 80246088 3C03800E */ lui $v1, 0x800e +/* 17496C 8024608C 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 174970 80246090 8C620000 */ lw $v0, ($v1) +/* 174974 80246094 3484FFFF */ ori $a0, $a0, 0xffff +/* 174978 80246098 00441024 */ and $v0, $v0, $a0 +/* 17497C 8024609C AC620000 */ sw $v0, ($v1) +.L802460A0: +/* 174980 802460A0 3C04800E */ lui $a0, 0x800e +/* 174984 802460A4 2484C070 */ addiu $a0, $a0, -0x3f90 +/* 174988 802460A8 8C820000 */ lw $v0, ($a0) +/* 17498C 802460AC 3C032000 */ lui $v1, 0x2000 +/* 174990 802460B0 00431024 */ and $v0, $v0, $v1 +/* 174994 802460B4 50400001 */ beql $v0, $zero, .L802460BC +/* 174998 802460B8 A2800097 */ sb $zero, 0x97($s4) +.L802460BC: +/* 17499C 802460BC 8C820000 */ lw $v0, ($a0) +/* 1749A0 802460C0 3C031000 */ lui $v1, 0x1000 +/* 1749A4 802460C4 00431024 */ and $v0, $v0, $v1 +/* 1749A8 802460C8 50400001 */ beql $v0, $zero, .L802460D0 +/* 1749AC 802460CC A2800096 */ sb $zero, 0x96($s4) +.L802460D0: +/* 1749B0 802460D0 0000882D */ daddu $s1, $zero, $zero +/* 1749B4 802460D4 3C060040 */ lui $a2, 0x40 +/* 1749B8 802460D8 3C050C00 */ lui $a1, 0xc00 +/* 1749BC 802460DC 0280202D */ daddu $a0, $s4, $zero +.L802460E0: +/* 1749C0 802460E0 8C9000E0 */ lw $s0, 0xe0($a0) +/* 1749C4 802460E4 12000007 */ beqz $s0, .L80246104 +/* 1749C8 802460E8 26310001 */ addiu $s1, $s1, 1 +/* 1749CC 802460EC 8E030000 */ lw $v1, ($s0) +/* 1749D0 802460F0 00661024 */ and $v0, $v1, $a2 +/* 1749D4 802460F4 14400003 */ bnez $v0, .L80246104 +/* 1749D8 802460F8 00000000 */ nop +/* 1749DC 802460FC 00651025 */ or $v0, $v1, $a1 +/* 1749E0 80246100 AE020000 */ sw $v0, ($s0) +.L80246104: +/* 1749E4 80246104 2A220018 */ slti $v0, $s1, 0x18 +/* 1749E8 80246108 1440FFF5 */ bnez $v0, .L802460E0 +/* 1749EC 8024610C 24840004 */ addiu $a0, $a0, 4 +/* 1749F0 80246110 0C099DDF */ jal func_8026777C +/* 1749F4 80246114 0000982D */ daddu $s3, $zero, $zero +/* 1749F8 80246118 0260882D */ daddu $s1, $s3, $zero +/* 1749FC 8024611C 0280182D */ daddu $v1, $s4, $zero +.L80246120: +/* 174A00 80246120 8C7000E0 */ lw $s0, 0xe0($v1) +/* 174A04 80246124 12000004 */ beqz $s0, .L80246138 +/* 174A08 80246128 26310001 */ addiu $s1, $s1, 1 +/* 174A0C 8024612C 8202021C */ lb $v0, 0x21c($s0) +/* 174A10 80246130 54400004 */ bnezl $v0, .L80246144 +/* 174A14 80246134 24130001 */ addiu $s3, $zero, 1 +.L80246138: +/* 174A18 80246138 2A220018 */ slti $v0, $s1, 0x18 +/* 174A1C 8024613C 1440FFF8 */ bnez $v0, .L80246120 +/* 174A20 80246140 24630004 */ addiu $v1, $v1, 4 +.L80246144: +/* 174A24 80246144 16600005 */ bnez $s3, .L8024615C +/* 174A28 80246148 24020014 */ addiu $v0, $zero, 0x14 +/* 174A2C 8024614C 3C01800E */ lui $at, 0x800e +/* 174A30 80246150 AC22C4DC */ sw $v0, -0x3b24($at) +/* 174A34 80246154 080918A2 */ j func_80246288 +/* 174A38 80246158 00000000 */ nop + +.L8024615C: +/* 174A3C 8024615C 0C093903 */ jal func_8024E40C +/* 174A40 80246160 24040003 */ addiu $a0, $zero, 3 +/* 174A44 80246164 9202021C */ lbu $v0, 0x21c($s0) +func_80246168: +/* 174A48 80246168 2442FFFC */ addiu $v0, $v0, -4 +/* 174A4C 8024616C 00021600 */ sll $v0, $v0, 0x18 +/* 174A50 80246170 00021E03 */ sra $v1, $v0, 0x18 +/* 174A54 80246174 2C620008 */ sltiu $v0, $v1, 8 +/* 174A58 80246178 10400016 */ beqz $v0, .L802461D4 +/* 174A5C 8024617C 00031080 */ sll $v0, $v1, 2 +/* 174A60 80246180 3C01802A */ lui $at, 0x802a +/* 174A64 80246184 00220821 */ addu $at, $at, $v0 +/* 174A68 80246188 8C22CAF0 */ lw $v0, -0x3510($at) +/* 174A6C 8024618C 00400008 */ jr $v0 +/* 174A70 80246190 00000000 */ nop +/* 174A74 80246194 08091879 */ j func_802461E4 +/* 174A78 80246198 24100012 */ addiu $s0, $zero, 0x12 + +/* 174A7C 8024619C 08091879 */ j func_802461E4 +/* 174A80 802461A0 24100013 */ addiu $s0, $zero, 0x13 + +/* 174A84 802461A4 08091879 */ j func_802461E4 +/* 174A88 802461A8 24100014 */ addiu $s0, $zero, 0x14 + +/* 174A8C 802461AC 08091879 */ j func_802461E4 +/* 174A90 802461B0 24100015 */ addiu $s0, $zero, 0x15 + +/* 174A94 802461B4 08091879 */ j func_802461E4 +/* 174A98 802461B8 24100016 */ addiu $s0, $zero, 0x16 + +/* 174A9C 802461BC 08091879 */ j func_802461E4 +func_802461C0: +/* 174AA0 802461C0 24100017 */ addiu $s0, $zero, 0x17 + +/* 174AA4 802461C4 08091879 */ j func_802461E4 +/* 174AA8 802461C8 24100018 */ addiu $s0, $zero, 0x18 + +/* 174AAC 802461CC 08091879 */ j func_802461E4 +/* 174AB0 802461D0 24100019 */ addiu $s0, $zero, 0x19 + +.L802461D4: +/* 174AB4 802461D4 0000802D */ daddu $s0, $zero, $zero +/* 174AB8 802461D8 24020014 */ addiu $v0, $zero, 0x14 +/* 174ABC 802461DC 3C01800E */ lui $at, 0x800e +/* 174AC0 802461E0 AC22C4DC */ sw $v0, -0x3b24($at) +func_802461E4: +/* 174AC4 802461E4 0C05272D */ jal play_sound +/* 174AC8 802461E8 24042107 */ addiu $a0, $zero, 0x2107 +/* 174ACC 802461EC 0200202D */ daddu $a0, $s0, $zero +/* 174AD0 802461F0 0C093E58 */ jal show_battle_message +/* 174AD4 802461F4 2405003C */ addiu $a1, $zero, 0x3c +/* 174AD8 802461F8 0000882D */ daddu $s1, $zero, $zero +/* 174ADC 802461FC 0280182D */ daddu $v1, $s4, $zero +.L80246200: +/* 174AE0 80246200 8C7000E0 */ lw $s0, 0xe0($v1) +/* 174AE4 80246204 56000001 */ bnezl $s0, .L8024620C +/* 174AE8 80246208 A200021C */ sb $zero, 0x21c($s0) +.L8024620C: +/* 174AEC 8024620C 26310001 */ addiu $s1, $s1, 1 +/* 174AF0 80246210 2A220018 */ slti $v0, $s1, 0x18 +/* 174AF4 80246214 1440FFFA */ bnez $v0, .L80246200 +/* 174AF8 80246218 24630004 */ addiu $v1, $v1, 4 +/* 174AFC 8024621C 2402000B */ addiu $v0, $zero, 0xb +/* 174B00 80246220 3C01800E */ lui $at, 0x800e +/* 174B04 80246224 AC22C4DC */ sw $v0, -0x3b24($at) +/* 174B08 80246228 080918A2 */ j func_80246288 +/* 174B0C 8024622C 00000000 */ nop + +.L80246230: +/* 174B10 80246230 0C093EAD */ jal is_popup_displayed +/* 174B14 80246234 00000000 */ nop +/* 174B18 80246238 14400013 */ bnez $v0, .L80246288 +/* 174B1C 8024623C 00000000 */ nop +/* 174B20 80246240 0C093903 */ jal func_8024E40C +/* 174B24 80246244 24040002 */ addiu $a0, $zero, 2 +/* 174B28 80246248 0C093936 */ jal move_cam_over +/* 174B2C 8024624C 2404000F */ addiu $a0, $zero, 0xf +/* 174B30 80246250 2402000A */ addiu $v0, $zero, 0xa +/* 174B34 80246254 3C01802A */ lui $at, 0x802a +/* 174B38 80246258 AC22F248 */ sw $v0, -0xdb8($at) +/* 174B3C 8024625C 080918A1 */ j func_80246284 +/* 174B40 80246260 2402000C */ addiu $v0, $zero, 0xc + +.L80246264: +/* 174B44 80246264 3C03802A */ lui $v1, 0x802a +/* 174B48 80246268 2463F248 */ addiu $v1, $v1, -0xdb8 +/* 174B4C 8024626C 8C620000 */ lw $v0, ($v1) +/* 174B50 80246270 10400003 */ beqz $v0, .L80246280 +/* 174B54 80246274 2442FFFF */ addiu $v0, $v0, -1 +/* 174B58 80246278 080918A2 */ j func_80246288 +/* 174B5C 8024627C AC620000 */ sw $v0, ($v1) + +.L80246280: +/* 174B60 80246280 24020014 */ addiu $v0, $zero, 0x14 +func_80246284: +/* 174B64 80246284 AE020000 */ sw $v0, ($s0) +func_80246288: +.L80246288: +/* 174B68 80246288 3C10800E */ lui $s0, 0x800e +/* 174B6C 8024628C 2610C4DC */ addiu $s0, $s0, -0x3b24 +/* 174B70 80246290 8E030000 */ lw $v1, ($s0) +/* 174B74 80246294 24020015 */ addiu $v0, $zero, 0x15 +func_80246298: +/* 174B78 80246298 1062003C */ beq $v1, $v0, .L8024638C +/* 174B7C 8024629C 28620016 */ slti $v0, $v1, 0x16 +/* 174B80 802462A0 10400005 */ beqz $v0, .L802462B8 +/* 174B84 802462A4 24020014 */ addiu $v0, $zero, 0x14 +/* 174B88 802462A8 10620008 */ beq $v1, $v0, .L802462CC +/* 174B8C 802462AC 00000000 */ nop +/* 174B90 802462B0 080918F9 */ j func_802463E4 +/* 174B94 802462B4 00000000 */ nop + +.L802462B8: +/* 174B98 802462B8 24020016 */ addiu $v0, $zero, 0x16 +/* 174B9C 802462BC 10620040 */ beq $v1, $v0, .L802463C0 +/* 174BA0 802462C0 00000000 */ nop +/* 174BA4 802462C4 080918F9 */ j func_802463E4 +/* 174BA8 802462C8 00000000 */ nop + +.L802462CC: +/* 174BAC 802462CC 82A2021C */ lb $v0, 0x21c($s5) +/* 174BB0 802462D0 10400043 */ beqz $v0, .L802463E0 +/* 174BB4 802462D4 2402001E */ addiu $v0, $zero, 0x1e +/* 174BB8 802462D8 0C093903 */ jal func_8024E40C +/* 174BBC 802462DC 24040021 */ addiu $a0, $zero, 0x21 +/* 174BC0 802462E0 92A2021C */ lbu $v0, 0x21c($s5) +/* 174BC4 802462E4 2442FFFC */ addiu $v0, $v0, -4 +/* 174BC8 802462E8 00021600 */ sll $v0, $v0, 0x18 +/* 174BCC 802462EC 00021E03 */ sra $v1, $v0, 0x18 +func_802462F0: +/* 174BD0 802462F0 2C620008 */ sltiu $v0, $v1, 8 +/* 174BD4 802462F4 10400014 */ beqz $v0, .L80246348 +/* 174BD8 802462F8 00031080 */ sll $v0, $v1, 2 +/* 174BDC 802462FC 3C01802A */ lui $at, 0x802a +/* 174BE0 80246300 00220821 */ addu $at, $at, $v0 +/* 174BE4 80246304 8C22CB10 */ lw $v0, -0x34f0($at) +/* 174BE8 80246308 00400008 */ jr $v0 +/* 174BEC 8024630C 00000000 */ nop +/* 174BF0 80246310 080918D6 */ j func_80246358 +/* 174BF4 80246314 2410000A */ addiu $s0, $zero, 0xa + +/* 174BF8 80246318 080918D6 */ j func_80246358 +/* 174BFC 8024631C 2410000B */ addiu $s0, $zero, 0xb + +/* 174C00 80246320 080918D6 */ j func_80246358 +/* 174C04 80246324 2410000C */ addiu $s0, $zero, 0xc + +/* 174C08 80246328 080918D6 */ j func_80246358 +/* 174C0C 8024632C 2410000D */ addiu $s0, $zero, 0xd + +/* 174C10 80246330 080918D6 */ j func_80246358 +/* 174C14 80246334 2410000E */ addiu $s0, $zero, 0xe + +/* 174C18 80246338 080918D6 */ j func_80246358 +/* 174C1C 8024633C 2410000F */ addiu $s0, $zero, 0xf + +/* 174C20 80246340 080918D6 */ j func_80246358 +/* 174C24 80246344 24100010 */ addiu $s0, $zero, 0x10 + +func_80246348: +.L80246348: +/* 174C28 80246348 0000802D */ daddu $s0, $zero, $zero +/* 174C2C 8024634C 2402001E */ addiu $v0, $zero, 0x1e +/* 174C30 80246350 3C01800E */ lui $at, 0x800e +/* 174C34 80246354 AC22C4DC */ sw $v0, -0x3b24($at) +func_80246358: +/* 174C38 80246358 0200202D */ daddu $a0, $s0, $zero +/* 174C3C 8024635C 0C093E58 */ jal show_battle_message +/* 174C40 80246360 2405003C */ addiu $a1, $zero, 0x3c +/* 174C44 80246364 24020015 */ addiu $v0, $zero, 0x15 +/* 174C48 80246368 A2A0021C */ sb $zero, 0x21c($s5) +/* 174C4C 8024636C A2A0021D */ sb $zero, 0x21d($s5) +/* 174C50 80246370 3C01800E */ lui $at, 0x800e +/* 174C54 80246374 AC22C4DC */ sw $v0, -0x3b24($at) +/* 174C58 80246378 8EA20000 */ lw $v0, ($s5) +/* 174C5C 8024637C 3C030800 */ lui $v1, 0x800 +/* 174C60 80246380 00431025 */ or $v0, $v0, $v1 +/* 174C64 80246384 080918F9 */ j func_802463E4 +/* 174C68 80246388 AEA20000 */ sw $v0, ($s5) + +.L8024638C: +/* 174C6C 8024638C 0C093EAD */ jal is_popup_displayed +/* 174C70 80246390 00000000 */ nop +/* 174C74 80246394 14400013 */ bnez $v0, .L802463E4 +/* 174C78 80246398 00000000 */ nop +/* 174C7C 8024639C 0C093903 */ jal func_8024E40C +/* 174C80 802463A0 24040002 */ addiu $a0, $zero, 2 +/* 174C84 802463A4 0C093936 */ jal move_cam_over +/* 174C88 802463A8 2404000F */ addiu $a0, $zero, 0xf +/* 174C8C 802463AC 2402000A */ addiu $v0, $zero, 0xa +/* 174C90 802463B0 3C01802A */ lui $at, 0x802a +/* 174C94 802463B4 AC22F248 */ sw $v0, -0xdb8($at) +/* 174C98 802463B8 080918F8 */ j func_802463E0 +/* 174C9C 802463BC 24020016 */ addiu $v0, $zero, 0x16 + +.L802463C0: +/* 174CA0 802463C0 3C03802A */ lui $v1, 0x802a +/* 174CA4 802463C4 2463F248 */ addiu $v1, $v1, -0xdb8 +/* 174CA8 802463C8 8C620000 */ lw $v0, ($v1) +/* 174CAC 802463CC 10400003 */ beqz $v0, .L802463DC +/* 174CB0 802463D0 2442FFFF */ addiu $v0, $v0, -1 +/* 174CB4 802463D4 080918F9 */ j func_802463E4 +/* 174CB8 802463D8 AC620000 */ sw $v0, ($v1) + +.L802463DC: +/* 174CBC 802463DC 2402001E */ addiu $v0, $zero, 0x1e +func_802463E0: +.L802463E0: +/* 174CC0 802463E0 AE020000 */ sw $v0, ($s0) +func_802463E4: +.L802463E4: +/* 174CC4 802463E4 3C03800E */ lui $v1, 0x800e +/* 174CC8 802463E8 8C63C4DC */ lw $v1, -0x3b24($v1) +/* 174CCC 802463EC 2402001E */ addiu $v0, $zero, 0x1e +/* 174CD0 802463F0 1462000C */ bne $v1, $v0, .L80246424 +/* 174CD4 802463F4 00000000 */ nop +/* 174CD8 802463F8 8EA201D4 */ lw $v0, 0x1d4($s5) +/* 174CDC 802463FC 50400007 */ beql $v0, $zero, .L8024641C +/* 174CE0 80246400 AEA001D4 */ sw $zero, 0x1d4($s5) +/* 174CE4 80246404 8EA401E4 */ lw $a0, 0x1e4($s5) +/* 174CE8 80246408 0C0B1059 */ jal does_script_exist +/* 174CEC 8024640C 00000000 */ nop +/* 174CF0 80246410 14400004 */ bnez $v0, .L80246424 +/* 174CF4 80246414 00000000 */ nop +/* 174CF8 80246418 AEA001D4 */ sw $zero, 0x1d4($s5) +.L8024641C: +/* 174CFC 8024641C 0C090464 */ jal func_80241190 +/* 174D00 80246420 24040016 */ addiu $a0, $zero, 0x16 +.L80246424: +/* 174D04 80246424 8FBF0028 */ lw $ra, 0x28($sp) +/* 174D08 80246428 8FB50024 */ lw $s5, 0x24($sp) +/* 174D0C 8024642C 8FB40020 */ lw $s4, 0x20($sp) +/* 174D10 80246430 8FB3001C */ lw $s3, 0x1c($sp) +/* 174D14 80246434 8FB20018 */ lw $s2, 0x18($sp) +/* 174D18 80246438 8FB10014 */ lw $s1, 0x14($sp) +/* 174D1C 8024643C 8FB00010 */ lw $s0, 0x10($sp) +/* 174D20 80246440 03E00008 */ jr $ra +/* 174D24 80246444 27BD0030 */ addiu $sp, $sp, 0x30 + +func_80246448: +/* 174D28 80246448 03E00008 */ jr $ra +/* 174D2C 8024644C 00000000 */ nop + +update_player_change_turn: +/* 174D30 80246450 27BDFFB0 */ addiu $sp, $sp, -0x50 +/* 174D34 80246454 AFB3001C */ sw $s3, 0x1c($sp) +/* 174D38 80246458 3C13800E */ lui $s3, 0x800e +/* 174D3C 8024645C 2673C070 */ addiu $s3, $s3, -0x3f90 +/* 174D40 80246460 3C04800E */ lui $a0, 0x800e +/* 174D44 80246464 2484C4DC */ addiu $a0, $a0, -0x3b24 +/* 174D48 80246468 AFBF0030 */ sw $ra, 0x30($sp) +/* 174D4C 8024646C AFB7002C */ sw $s7, 0x2c($sp) +/* 174D50 80246470 AFB60028 */ sw $s6, 0x28($sp) +/* 174D54 80246474 AFB50024 */ sw $s5, 0x24($sp) +/* 174D58 80246478 AFB40020 */ sw $s4, 0x20($sp) +/* 174D5C 8024647C AFB20018 */ sw $s2, 0x18($sp) +/* 174D60 80246480 AFB10014 */ sw $s1, 0x14($sp) +/* 174D64 80246484 AFB00010 */ sw $s0, 0x10($sp) +/* 174D68 80246488 F7B80048 */ sdc1 $f24, 0x48($sp) +/* 174D6C 8024648C F7B60040 */ sdc1 $f22, 0x40($sp) +/* 174D70 80246490 F7B40038 */ sdc1 $f20, 0x38($sp) +/* 174D74 80246494 8E7000D8 */ lw $s0, 0xd8($s3) +/* 174D78 80246498 8C820000 */ lw $v0, ($a0) +/* 174D7C 8024649C 8E7100DC */ lw $s1, 0xdc($s3) +/* 174D80 802464A0 1440007F */ bnez $v0, .L802466A0 +/* 174D84 802464A4 24020002 */ addiu $v0, $zero, 2 +/* 174D88 802464A8 82630178 */ lb $v1, 0x178($s3) +/* 174D8C 802464AC 14620007 */ bne $v1, $v0, .L802464CC +/* 174D90 802464B0 00000000 */ nop +/* 174D94 802464B4 82620088 */ lb $v0, 0x88($s3) +/* 174D98 802464B8 28420002 */ slti $v0, $v0, 2 +/* 174D9C 802464BC 14400003 */ bnez $v0, .L802464CC +/* 174DA0 802464C0 24020005 */ addiu $v0, $zero, 5 +/* 174DA4 802464C4 080919A8 */ j func_802466A0 +/* 174DA8 802464C8 AC820000 */ sw $v0, ($a0) + +.L802464CC: +/* 174DAC 802464CC 3C02800E */ lui $v0, 0x800e +/* 174DB0 802464D0 8C42C074 */ lw $v0, -0x3f8c($v0) +/* 174DB4 802464D4 3C030400 */ lui $v1, 0x400 +/* 174DB8 802464D8 00431024 */ and $v0, $v0, $v1 +/* 174DBC 802464DC 1440000D */ bnez $v0, .L80246514 +/* 174DC0 802464E0 00000000 */ nop +/* 174DC4 802464E4 0C03A752 */ jal is_ability_active +/* 174DC8 802464E8 24040012 */ addiu $a0, $zero, 0x12 +/* 174DCC 802464EC 14400009 */ bnez $v0, .L80246514 +/* 174DD0 802464F0 00000000 */ nop +/* 174DD4 802464F4 0C03A752 */ jal is_ability_active +/* 174DD8 802464F8 2404001F */ addiu $a0, $zero, 0x1f +/* 174DDC 802464FC 14400005 */ bnez $v0, .L80246514 +/* 174DE0 80246500 00000000 */ nop +/* 174DE4 80246504 0C03A752 */ jal is_ability_active +/* 174DE8 80246508 24040034 */ addiu $a0, $zero, 0x34 +/* 174DEC 8024650C 10400031 */ beqz $v0, .L802465D4 +/* 174DF0 80246510 24020005 */ addiu $v0, $zero, 5 +.L80246514: +/* 174DF4 80246514 82030214 */ lb $v1, 0x214($s0) +/* 174DF8 80246518 2402000C */ addiu $v0, $zero, 0xc +func_8024651C: +/* 174DFC 8024651C 1062002D */ beq $v1, $v0, .L802465D4 +/* 174E00 80246520 24020005 */ addiu $v0, $zero, 5 +/* 174E04 80246524 8262009A */ lb $v0, 0x9a($s3) +/* 174E08 80246528 1440002A */ bnez $v0, .L802465D4 +/* 174E0C 8024652C 24020005 */ addiu $v0, $zero, 5 +/* 174E10 80246530 0000A82D */ daddu $s5, $zero, $zero +/* 174E14 80246534 02A0902D */ daddu $s2, $s5, $zero +/* 174E18 80246538 3C16800E */ lui $s6, 0x800e +/* 174E1C 8024653C 26D6C070 */ addiu $s6, $s6, -0x3f90 +/* 174E20 80246540 8EC20004 */ lw $v0, 4($s6) +/* 174E24 80246544 3C170400 */ lui $s7, 0x400 +/* 174E28 80246548 00571024 */ and $v0, $v0, $s7 +/* 174E2C 8024654C 10400003 */ beqz $v0, .L8024655C +/* 174E30 80246550 02A0A02D */ daddu $s4, $s5, $zero +/* 174E34 80246554 82750089 */ lb $s5, 0x89($s3) +/* 174E38 80246558 A2600089 */ sb $zero, 0x89($s3) +.L8024655C: +/* 174E3C 8024655C 0C00A67F */ jal rand_int +/* 174E40 80246560 24040064 */ addiu $a0, $zero, 0x64 +/* 174E44 80246564 28420032 */ slti $v0, $v0, 0x32 +/* 174E48 80246568 10400005 */ beqz $v0, .L80246580 +/* 174E4C 8024656C 00000000 */ nop +/* 174E50 80246570 0C03A752 */ jal is_ability_active +/* 174E54 80246574 2404001F */ addiu $a0, $zero, 0x1f +func_80246578: +/* 174E58 80246578 00021840 */ sll $v1, $v0, 1 +/* 174E5C 8024657C 00629021 */ addu $s2, $v1, $v0 +.L80246580: +/* 174E60 80246580 0C00A67F */ jal rand_int +/* 174E64 80246584 24040064 */ addiu $a0, $zero, 0x64 +/* 174E68 80246588 28420032 */ slti $v0, $v0, 0x32 +/* 174E6C 8024658C 10400004 */ beqz $v0, .L802465A0 +/* 174E70 80246590 00000000 */ nop +/* 174E74 80246594 0C03A752 */ jal is_ability_active +/* 174E78 80246598 24040012 */ addiu $a0, $zero, 0x12 +/* 174E7C 8024659C 02429021 */ addu $s2, $s2, $v0 +.L802465A0: +/* 174E80 802465A0 0C00A67F */ jal rand_int +/* 174E84 802465A4 24040064 */ addiu $a0, $zero, 0x64 +/* 174E88 802465A8 28420032 */ slti $v0, $v0, 0x32 +/* 174E8C 802465AC 10400005 */ beqz $v0, .L802465C4 +/* 174E90 802465B0 02B21021 */ addu $v0, $s5, $s2 +/* 174E94 802465B4 0C03A752 */ jal is_ability_active +/* 174E98 802465B8 24040034 */ addiu $a0, $zero, 0x34 +/* 174E9C 802465BC 0040A02D */ daddu $s4, $v0, $zero +/* 174EA0 802465C0 02B21021 */ addu $v0, $s5, $s2 +.L802465C4: +/* 174EA4 802465C4 00541021 */ addu $v0, $v0, $s4 +/* 174EA8 802465C8 14400006 */ bnez $v0, .L802465E4 +/* 174EAC 802465CC 2402001E */ addiu $v0, $zero, 0x1e +/* 174EB0 802465D0 24020005 */ addiu $v0, $zero, 5 +.L802465D4: +/* 174EB4 802465D4 3C01800E */ lui $at, 0x800e +/* 174EB8 802465D8 AC22C4DC */ sw $v0, -0x3b24($at) +/* 174EBC 802465DC 080919A8 */ j func_802466A0 +/* 174EC0 802465E0 00000000 */ nop + +.L802465E4: +/* 174EC4 802465E4 3C048028 */ lui $a0, 0x8028 +/* 174EC8 802465E8 24844EBC */ addiu $a0, $a0, 0x4ebc +/* 174ECC 802465EC 2405000A */ addiu $a1, $zero, 0xa +/* 174ED0 802465F0 0000302D */ daddu $a2, $zero, $zero +/* 174ED4 802465F4 0C0B0CF8 */ jal start_script +/* 174ED8 802465F8 A26201A7 */ sb $v0, 0x1a7($s3) +/* 174EDC 802465FC 0040202D */ daddu $a0, $v0, $zero +/* 174EE0 80246600 AE0401D4 */ sw $a0, 0x1d4($s0) +/* 174EE4 80246604 8C820144 */ lw $v0, 0x144($a0) +/* 174EE8 80246608 AE0201E4 */ sw $v0, 0x1e4($s0) +/* 174EEC 8024660C AC800148 */ sw $zero, 0x148($a0) +/* 174EF0 80246610 8EC20004 */ lw $v0, 4($s6) +/* 174EF4 80246614 00571024 */ and $v0, $v0, $s7 +/* 174EF8 80246618 50400007 */ beql $v0, $zero, .L80246638 +/* 174EFC 8024661C AC9500AC */ sw $s5, 0xac($a0) +/* 174F00 80246620 82630089 */ lb $v1, 0x89($s3) +/* 174F04 80246624 8C8200AC */ lw $v0, 0xac($a0) +/* 174F08 80246628 00431021 */ addu $v0, $v0, $v1 +/* 174F0C 8024662C AC8200AC */ sw $v0, 0xac($a0) +/* 174F10 80246630 A2600089 */ sb $zero, 0x89($s3) +/* 174F14 80246634 AC9500AC */ sw $s5, 0xac($a0) +.L80246638: +/* 174F18 80246638 02A0102D */ daddu $v0, $s5, $zero +/* 174F1C 8024663C 28420064 */ slti $v0, $v0, 0x64 +/* 174F20 80246640 AC9200B0 */ sw $s2, 0xb0($a0) +/* 174F24 80246644 14400003 */ bnez $v0, .L80246654 +/* 174F28 80246648 AC9400B4 */ sw $s4, 0xb4($a0) +/* 174F2C 8024664C 24020063 */ addiu $v0, $zero, 0x63 +/* 174F30 80246650 AC8200AC */ sw $v0, 0xac($a0) +.L80246654: +/* 174F34 80246654 8C8200B0 */ lw $v0, 0xb0($a0) +/* 174F38 80246658 28420064 */ slti $v0, $v0, 0x64 +/* 174F3C 8024665C 14400002 */ bnez $v0, .L80246668 +/* 174F40 80246660 24020063 */ addiu $v0, $zero, 0x63 +/* 174F44 80246664 AC8200B0 */ sw $v0, 0xb0($a0) +.L80246668: +/* 174F48 80246668 8C8200B4 */ lw $v0, 0xb4($a0) +/* 174F4C 8024666C 28420064 */ slti $v0, $v0, 0x64 +/* 174F50 80246670 14400004 */ bnez $v0, .L80246684 +/* 174F54 80246674 3C02FBFF */ lui $v0, 0xfbff +/* 174F58 80246678 24020063 */ addiu $v0, $zero, 0x63 +/* 174F5C 8024667C AC8200B4 */ sw $v0, 0xb4($a0) +/* 174F60 80246680 3C02FBFF */ lui $v0, 0xfbff +.L80246684: +/* 174F64 80246684 3442FFFF */ ori $v0, $v0, 0xffff +/* 174F68 80246688 8EC30004 */ lw $v1, 4($s6) +/* 174F6C 8024668C 24040005 */ addiu $a0, $zero, 5 +/* 174F70 80246690 3C01800E */ lui $at, 0x800e +/* 174F74 80246694 AC24C4DC */ sw $a0, -0x3b24($at) +/* 174F78 80246698 00621824 */ and $v1, $v1, $v0 +/* 174F7C 8024669C AEC30004 */ sw $v1, 4($s6) +func_802466A0: +.L802466A0: +/* 174F80 802466A0 3C12800E */ lui $s2, 0x800e +/* 174F84 802466A4 2652C4DC */ addiu $s2, $s2, -0x3b24 +/* 174F88 802466A8 8E430000 */ lw $v1, ($s2) +func_802466AC: +/* 174F8C 802466AC 24020005 */ addiu $v0, $zero, 5 +/* 174F90 802466B0 14620027 */ bne $v1, $v0, .L80246750 +/* 174F94 802466B4 24020006 */ addiu $v0, $zero, 6 +/* 174F98 802466B8 8E0201D4 */ lw $v0, 0x1d4($s0) +/* 174F9C 802466BC 10400005 */ beqz $v0, .L802466D4 +/* 174FA0 802466C0 00000000 */ nop +/* 174FA4 802466C4 0C0B1059 */ jal does_script_exist +/* 174FA8 802466C8 8E0401E4 */ lw $a0, 0x1e4($s0) +/* 174FAC 802466CC 1440001E */ bnez $v0, .L80246748 +/* 174FB0 802466D0 00000000 */ nop +.L802466D4: +/* 174FB4 802466D4 3C03800E */ lui $v1, 0x800e +/* 174FB8 802466D8 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 174FBC 802466DC AE0001D4 */ sw $zero, 0x1d4($s0) +/* 174FC0 802466E0 8C620004 */ lw $v0, 4($v1) +/* 174FC4 802466E4 30420040 */ andi $v0, $v0, 0x40 +/* 174FC8 802466E8 10400006 */ beqz $v0, .L80246704 +/* 174FCC 802466EC 2402000A */ addiu $v0, $zero, 0xa +/* 174FD0 802466F0 8C620000 */ lw $v0, ($v1) +/* 174FD4 802466F4 3C030010 */ lui $v1, 0x10 +/* 174FD8 802466F8 00431024 */ and $v0, $v0, $v1 +/* 174FDC 802466FC 10400003 */ beqz $v0, .L8024670C +/* 174FE0 80246700 2402000A */ addiu $v0, $zero, 0xa +func_80246704: +.L80246704: +/* 174FE4 80246704 080919D0 */ j func_80246740 +/* 174FE8 80246708 AE420000 */ sw $v0, ($s2) + +.L8024670C: +/* 174FEC 8024670C C6000138 */ lwc1 $f0, 0x138($s0) +/* 174FF0 80246710 C6020140 */ lwc1 $f2, 0x140($s0) +/* 174FF4 80246714 E600000C */ swc1 $f0, 0xc($s0) +/* 174FF8 80246718 E6020014 */ swc1 $f2, 0x14($s0) +/* 174FFC 8024671C C6200138 */ lwc1 $f0, 0x138($s1) +/* 175000 80246720 24020006 */ addiu $v0, $zero, 6 +/* 175004 80246724 AE420000 */ sw $v0, ($s2) +/* 175008 80246728 E6000018 */ swc1 $f0, 0x18($s0) +/* 17500C 8024672C C6200140 */ lwc1 $f0, 0x140($s1) +/* 175010 80246730 24020004 */ addiu $v0, $zero, 4 +/* 175014 80246734 A6020070 */ sh $v0, 0x70($s0) +/* 175018 80246738 AE000054 */ sw $zero, 0x54($s0) +/* 17501C 8024673C E6000020 */ swc1 $f0, 0x20($s0) +func_80246740: +/* 175020 80246740 3C12800E */ lui $s2, 0x800e +/* 175024 80246744 2652C4DC */ addiu $s2, $s2, -0x3b24 +.L80246748: +/* 175028 80246748 8E430000 */ lw $v1, ($s2) +/* 17502C 8024674C 24020006 */ addiu $v0, $zero, 6 +.L80246750: +/* 175030 80246750 1462006C */ bne $v1, $v0, .L80246904 +/* 175034 80246754 00000000 */ nop +/* 175038 80246758 86020070 */ lh $v0, 0x70($s0) +/* 17503C 8024675C 10400022 */ beqz $v0, .L802467E8 +/* 175040 80246760 00000000 */ nop +/* 175044 80246764 C6000018 */ lwc1 $f0, 0x18($s0) +/* 175048 80246768 C6080144 */ lwc1 $f8, 0x144($s0) +/* 17504C 8024676C C6020020 */ lwc1 $f2, 0x20($s0) +/* 175050 80246770 46080001 */ sub.s $f0, $f0, $f8 +/* 175054 80246774 C604014C */ lwc1 $f4, 0x14c($s0) +/* 175058 80246778 46041081 */ sub.s $f2, $f2, $f4 +/* 17505C 8024677C 44823000 */ mtc1 $v0, $f6 +/* 175060 80246780 00000000 */ nop +/* 175064 80246784 468031A0 */ cvt.s.w $f6, $f6 +/* 175068 80246788 46060003 */ div.s $f0, $f0, $f6 +/* 17506C 8024678C 46004200 */ add.s $f8, $f8, $f0 +/* 175070 80246790 46003006 */ mov.s $f0, $f6 +/* 175074 80246794 46061083 */ div.s $f2, $f2, $f6 +/* 175078 80246798 C600000C */ lwc1 $f0, 0xc($s0) +/* 17507C 8024679C 46022100 */ add.s $f4, $f4, $f2 +/* 175080 802467A0 E6080144 */ swc1 $f8, 0x144($s0) +/* 175084 802467A4 E604014C */ swc1 $f4, 0x14c($s0) +/* 175088 802467A8 C6240144 */ lwc1 $f4, 0x144($s1) +/* 17508C 802467AC 46040001 */ sub.s $f0, $f0, $f4 +/* 175090 802467B0 46003086 */ mov.s $f2, $f6 +/* 175094 802467B4 46060003 */ div.s $f0, $f0, $f6 +/* 175098 802467B8 46002100 */ add.s $f4, $f4, $f0 +/* 17509C 802467BC E6240144 */ swc1 $f4, 0x144($s1) +/* 1750A0 802467C0 C6000014 */ lwc1 $f0, 0x14($s0) +/* 1750A4 802467C4 C624014C */ lwc1 $f4, 0x14c($s1) +/* 1750A8 802467C8 86020070 */ lh $v0, 0x70($s0) +/* 1750AC 802467CC 46040001 */ sub.s $f0, $f0, $f4 +/* 1750B0 802467D0 44821000 */ mtc1 $v0, $f2 +/* 1750B4 802467D4 00000000 */ nop +/* 1750B8 802467D8 468010A0 */ cvt.s.w $f2, $f2 +/* 1750BC 802467DC 46020003 */ div.s $f0, $f0, $f2 +/* 1750C0 802467E0 46002100 */ add.s $f4, $f4, $f0 +/* 1750C4 802467E4 E624014C */ swc1 $f4, 0x14c($s1) +.L802467E8: +/* 1750C8 802467E8 C60C0054 */ lwc1 $f12, 0x54($s0) +/* 1750CC 802467EC 3C0140C9 */ lui $at, 0x40c9 +/* 1750D0 802467F0 34210FD0 */ ori $at, $at, 0xfd0 +/* 1750D4 802467F4 4481B000 */ mtc1 $at, $f22 +/* 1750D8 802467F8 00000000 */ nop +/* 1750DC 802467FC 46166302 */ mul.s $f12, $f12, $f22 +/* 1750E0 80246800 00000000 */ nop +/* 1750E4 80246804 3C0143B4 */ lui $at, 0x43b4 +/* 1750E8 80246808 4481C000 */ mtc1 $at, $f24 +/* 1750EC 8024680C 3C014180 */ lui $at, 0x4180 +/* 1750F0 80246810 4481A000 */ mtc1 $at, $f20 +/* 1750F4 80246814 0C00A85B */ jal sin_rad +/* 1750F8 80246818 46186303 */ div.s $f12, $f12, $f24 +/* 1750FC 8024681C 46140002 */ mul.s $f0, $f0, $f20 +/* 175100 80246820 00000000 */ nop +/* 175104 80246824 C602014C */ lwc1 $f2, 0x14c($s0) +/* 175108 80246828 46001080 */ add.s $f2, $f2, $f0 +/* 17510C 8024682C C60C0054 */ lwc1 $f12, 0x54($s0) +/* 175110 80246830 46006307 */ neg.s $f12, $f12 +/* 175114 80246834 0C00A6C9 */ jal clamp_angle +/* 175118 80246838 E602014C */ swc1 $f2, 0x14c($s0) +/* 17511C 8024683C C60C0054 */ lwc1 $f12, 0x54($s0) +/* 175120 80246840 46166302 */ mul.s $f12, $f12, $f22 +/* 175124 80246844 00000000 */ nop +/* 175128 80246848 E600018C */ swc1 $f0, 0x18c($s0) +/* 17512C 8024684C 0C00A85B */ jal sin_rad +/* 175130 80246850 46186303 */ div.s $f12, $f12, $f24 +/* 175134 80246854 46140002 */ mul.s $f0, $f0, $f20 +/* 175138 80246858 00000000 */ nop +/* 17513C 8024685C C622014C */ lwc1 $f2, 0x14c($s1) +func_80246860: +/* 175140 80246860 46001081 */ sub.s $f2, $f2, $f0 +/* 175144 80246864 E622014C */ swc1 $f2, 0x14c($s1) +/* 175148 80246868 C60C0054 */ lwc1 $f12, 0x54($s0) +/* 17514C 8024686C 0C00A6C9 */ jal clamp_angle +/* 175150 80246870 46006307 */ neg.s $f12, $f12 +/* 175154 80246874 E620018C */ swc1 $f0, 0x18c($s1) +/* 175158 80246878 C6000054 */ lwc1 $f0, 0x54($s0) +/* 17515C 8024687C 3C0142B4 */ lui $at, 0x42b4 +/* 175160 80246880 44811000 */ mtc1 $at, $f2 +/* 175164 80246884 86020070 */ lh $v0, 0x70($s0) +/* 175168 80246888 46020000 */ add.s $f0, $f0, $f2 +/* 17516C 8024688C 96030070 */ lhu $v1, 0x70($s0) +/* 175170 80246890 10400004 */ beqz $v0, .L802468A4 +/* 175174 80246894 E6000054 */ swc1 $f0, 0x54($s0) +/* 175178 80246898 2462FFFF */ addiu $v0, $v1, -1 +/* 17517C 8024689C 08091A41 */ j func_80246904 +/* 175180 802468A0 A6020070 */ sh $v0, 0x70($s0) + +.L802468A4: +/* 175184 802468A4 C6000018 */ lwc1 $f0, 0x18($s0) +/* 175188 802468A8 C6020020 */ lwc1 $f2, 0x20($s0) +/* 17518C 802468AC C604000C */ lwc1 $f4, 0xc($s0) +/* 175190 802468B0 E6000144 */ swc1 $f0, 0x144($s0) +/* 175194 802468B4 E602014C */ swc1 $f2, 0x14c($s0) +func_802468B8: +/* 175198 802468B8 E6240144 */ swc1 $f4, 0x144($s1) +/* 17519C 802468BC C6000014 */ lwc1 $f0, 0x14($s0) +/* 1751A0 802468C0 E620014C */ swc1 $f0, 0x14c($s1) +/* 1751A4 802468C4 C6000144 */ lwc1 $f0, 0x144($s0) +/* 1751A8 802468C8 C602014C */ lwc1 $f2, 0x14c($s0) +/* 1751AC 802468CC 2402000A */ addiu $v0, $zero, 0xa +/* 1751B0 802468D0 E6000138 */ swc1 $f0, 0x138($s0) +/* 1751B4 802468D4 E6020140 */ swc1 $f2, 0x140($s0) +/* 1751B8 802468D8 C6200144 */ lwc1 $f0, 0x144($s1) +func_802468DC: +/* 1751BC 802468DC C622014C */ lwc1 $f2, 0x14c($s1) +func_802468E0: +/* 1751C0 802468E0 3C04800E */ lui $a0, 0x800e +/* 1751C4 802468E4 2484C070 */ addiu $a0, $a0, -0x3f90 +func_802468E8: +/* 1751C8 802468E8 AE420000 */ sw $v0, ($s2) +/* 1751CC 802468EC E6200138 */ swc1 $f0, 0x138($s1) +/* 1751D0 802468F0 E6220140 */ swc1 $f2, 0x140($s1) +/* 1751D4 802468F4 8C820000 */ lw $v0, ($a0) +/* 1751D8 802468F8 3C030010 */ lui $v1, 0x10 +/* 1751DC 802468FC 00431025 */ or $v0, $v0, $v1 +/* 1751E0 80246900 AC820000 */ sw $v0, ($a0) +func_80246904: +.L80246904: +/* 1751E4 80246904 3C03800E */ lui $v1, 0x800e +/* 1751E8 80246908 8C63C4DC */ lw $v1, -0x3b24($v1) +/* 1751EC 8024690C 2402000A */ addiu $v0, $zero, 0xa +/* 1751F0 80246910 14620078 */ bne $v1, $v0, .L80246AF4 +/* 1751F4 80246914 00000000 */ nop +/* 1751F8 80246918 0C098D0D */ jal func_80263434 +/* 1751FC 8024691C 00000000 */ nop +/* 175200 80246920 14400074 */ bnez $v0, .L80246AF4 +/* 175204 80246924 24020002 */ addiu $v0, $zero, 2 +/* 175208 80246928 82630178 */ lb $v1, 0x178($s3) +/* 17520C 8024692C 14620010 */ bne $v1, $v0, .L80246970 +/* 175210 80246930 00000000 */ nop +func_80246934: +/* 175214 80246934 82620088 */ lb $v0, 0x88($s3) +/* 175218 80246938 28420002 */ slti $v0, $v0, 2 +/* 17521C 8024693C 1440000C */ bnez $v0, .L80246970 +/* 175220 80246940 00000000 */ nop +/* 175224 80246944 0C093903 */ jal func_8024E40C +/* 175228 80246948 24040002 */ addiu $a0, $zero, 2 +/* 17522C 8024694C 0C093936 */ jal move_cam_over +/* 175230 80246950 2404000A */ addiu $a0, $zero, 0xa +/* 175234 80246954 3C02800E */ lui $v0, 0x800e +/* 175238 80246958 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 17523C 8024695C 8C430004 */ lw $v1, 4($v0) +/* 175240 80246960 2404FFFD */ addiu $a0, $zero, -3 +/* 175244 80246964 00641824 */ and $v1, $v1, $a0 +/* 175248 80246968 08091A61 */ j func_80246984 +/* 17524C 8024696C AC430004 */ sw $v1, 4($v0) + +.L80246970: +/* 175250 80246970 3C03800E */ lui $v1, 0x800e +/* 175254 80246974 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 175258 80246978 8C620004 */ lw $v0, 4($v1) +/* 17525C 8024697C 34420002 */ ori $v0, $v0, 2 +/* 175260 80246980 AC620004 */ sw $v0, 4($v1) +func_80246984: +/* 175264 80246984 82620094 */ lb $v0, 0x94($s3) +/* 175268 80246988 04410004 */ bgez $v0, .L8024699C +/* 17526C 8024698C 24040006 */ addiu $a0, $zero, 6 +/* 175270 80246990 A2600094 */ sb $zero, 0x94($s3) +/* 175274 80246994 08091ABB */ j func_80246AEC +/* 175278 80246998 A2600088 */ sb $zero, 0x88($s3) + +.L8024699C: +/* 17527C 8024699C 82620088 */ lb $v0, 0x88($s3) +/* 175280 802469A0 92630088 */ lbu $v1, 0x88($s3) +/* 175284 802469A4 1040002C */ beqz $v0, .L80246A58 +/* 175288 802469A8 2462FFFF */ addiu $v0, $v1, -1 +/* 17528C 802469AC A2620088 */ sb $v0, 0x88($s3) +/* 175290 802469B0 00021600 */ sll $v0, $v0, 0x18 +/* 175294 802469B4 10400008 */ beqz $v0, .L802469D8 +/* 175298 802469B8 3C040400 */ lui $a0, 0x400 +/* 17529C 802469BC 0C090464 */ jal func_80241190 +/* 1752A0 802469C0 2404000C */ addiu $a0, $zero, 0xc +/* 1752A4 802469C4 24020046 */ addiu $v0, $zero, 0x46 +/* 1752A8 802469C8 3C01800E */ lui $at, 0x800e +/* 1752AC 802469CC AC22C4DC */ sw $v0, -0x3b24($at) +/* 1752B0 802469D0 08091ABD */ j func_80246AF4 +/* 1752B4 802469D4 00000000 */ nop + +.L802469D8: +/* 1752B8 802469D8 3C05800E */ lui $a1, 0x800e +/* 1752BC 802469DC 24A5C070 */ addiu $a1, $a1, -0x3f90 +/* 1752C0 802469E0 8CA20000 */ lw $v0, ($a1) +/* 1752C4 802469E4 00441024 */ and $v0, $v0, $a0 +/* 1752C8 802469E8 10400006 */ beqz $v0, .L80246A04 +/* 1752CC 802469EC 00000000 */ nop +/* 1752D0 802469F0 8262008B */ lb $v0, 0x8b($s3) +/* 1752D4 802469F4 9263008B */ lbu $v1, 0x8b($s3) +/* 1752D8 802469F8 1040000E */ beqz $v0, .L80246A34 +/* 1752DC 802469FC 2462FFFF */ addiu $v0, $v1, -1 +/* 1752E0 80246A00 A262008B */ sb $v0, 0x8b($s3) +.L80246A04: +/* 1752E4 80246A04 8262008B */ lb $v0, 0x8b($s3) +/* 1752E8 80246A08 5040000B */ beql $v0, $zero, .L80246A38 +/* 1752EC 80246A0C 3C05FBFF */ lui $a1, 0xfbff +/* 1752F0 80246A10 8CA20000 */ lw $v0, ($a1) +/* 1752F4 80246A14 00441024 */ and $v0, $v0, $a0 +/* 1752F8 80246A18 10400006 */ beqz $v0, .L80246A34 +/* 1752FC 80246A1C 2404000C */ addiu $a0, $zero, 0xc +/* 175300 80246A20 8CA20004 */ lw $v0, 4($a1) +/* 175304 80246A24 2403FFFD */ addiu $v1, $zero, -3 +/* 175308 80246A28 00431024 */ and $v0, $v0, $v1 +/* 17530C 80246A2C 08091ABB */ j func_80246AEC +/* 175310 80246A30 ACA20004 */ sw $v0, 4($a1) + +.L80246A34: +/* 175314 80246A34 3C05FBFF */ lui $a1, 0xfbff +.L80246A38: +/* 175318 80246A38 34A5FFFF */ ori $a1, $a1, 0xffff +/* 17531C 80246A3C 3C03800E */ lui $v1, 0x800e +/* 175320 80246A40 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 175324 80246A44 8C620000 */ lw $v0, ($v1) +/* 175328 80246A48 24040008 */ addiu $a0, $zero, 8 +/* 17532C 80246A4C 00451024 */ and $v0, $v0, $a1 +/* 175330 80246A50 08091ABB */ j func_80246AEC +/* 175334 80246A54 AC620000 */ sw $v0, ($v1) + +.L80246A58: +/* 175338 80246A58 3C05800E */ lui $a1, 0x800e +/* 17533C 80246A5C 24A5C070 */ addiu $a1, $a1, -0x3f90 +/* 175340 80246A60 8CA20000 */ lw $v0, ($a1) +/* 175344 80246A64 3C040400 */ lui $a0, 0x400 +/* 175348 80246A68 00441024 */ and $v0, $v0, $a0 +/* 17534C 80246A6C 10400006 */ beqz $v0, .L80246A88 +/* 175350 80246A70 00000000 */ nop +/* 175354 80246A74 8262008B */ lb $v0, 0x8b($s3) +/* 175358 80246A78 9263008B */ lbu $v1, 0x8b($s3) +/* 17535C 80246A7C 1040000E */ beqz $v0, .L80246AB8 +/* 175360 80246A80 2462FFFF */ addiu $v0, $v1, -1 +/* 175364 80246A84 A262008B */ sb $v0, 0x8b($s3) +.L80246A88: +/* 175368 80246A88 8262008B */ lb $v0, 0x8b($s3) +/* 17536C 80246A8C 5040000B */ beql $v0, $zero, .L80246ABC +/* 175370 80246A90 3C05FBFF */ lui $a1, 0xfbff +/* 175374 80246A94 8CA20000 */ lw $v0, ($a1) +/* 175378 80246A98 00441024 */ and $v0, $v0, $a0 +/* 17537C 80246A9C 10400006 */ beqz $v0, .L80246AB8 +/* 175380 80246AA0 2404000C */ addiu $a0, $zero, 0xc +/* 175384 80246AA4 8CA20004 */ lw $v0, 4($a1) +/* 175388 80246AA8 2403FFFD */ addiu $v1, $zero, -3 +/* 17538C 80246AAC 00431024 */ and $v0, $v0, $v1 +/* 175390 80246AB0 08091ABB */ j func_80246AEC +/* 175394 80246AB4 ACA20004 */ sw $v0, 4($a1) + +.L80246AB8: +/* 175398 80246AB8 3C05FBFF */ lui $a1, 0xfbff +.L80246ABC: +/* 17539C 80246ABC 34A5FFFF */ ori $a1, $a1, 0xffff +/* 1753A0 80246AC0 3C03800E */ lui $v1, 0x800e +/* 1753A4 80246AC4 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 1753A8 80246AC8 8C620000 */ lw $v0, ($v1) +/* 1753AC 80246ACC 8C640004 */ lw $a0, 4($v1) +/* 1753B0 80246AD0 00451024 */ and $v0, $v0, $a1 +/* 1753B4 80246AD4 30840040 */ andi $a0, $a0, 0x40 +/* 1753B8 80246AD8 14800003 */ bnez $a0, .L80246AE8 +/* 1753BC 80246ADC AC620000 */ sw $v0, ($v1) +/* 1753C0 80246AE0 08091ABB */ j func_80246AEC +/* 1753C4 80246AE4 24040008 */ addiu $a0, $zero, 8 + +.L80246AE8: +/* 1753C8 80246AE8 24040009 */ addiu $a0, $zero, 9 +func_80246AEC: +/* 1753CC 80246AEC 0C090464 */ jal func_80241190 +/* 1753D0 80246AF0 00000000 */ nop +func_80246AF4: +.L80246AF4: +/* 1753D4 80246AF4 8FBF0030 */ lw $ra, 0x30($sp) +/* 1753D8 80246AF8 8FB7002C */ lw $s7, 0x2c($sp) +/* 1753DC 80246AFC 8FB60028 */ lw $s6, 0x28($sp) +/* 1753E0 80246B00 8FB50024 */ lw $s5, 0x24($sp) +/* 1753E4 80246B04 8FB40020 */ lw $s4, 0x20($sp) +func_80246B08: +/* 1753E8 80246B08 8FB3001C */ lw $s3, 0x1c($sp) +/* 1753EC 80246B0C 8FB20018 */ lw $s2, 0x18($sp) +func_80246B10: +/* 1753F0 80246B10 8FB10014 */ lw $s1, 0x14($sp) +/* 1753F4 80246B14 8FB00010 */ lw $s0, 0x10($sp) +/* 1753F8 80246B18 D7B80048 */ ldc1 $f24, 0x48($sp) +/* 1753FC 80246B1C D7B60040 */ ldc1 $f22, 0x40($sp) +/* 175400 80246B20 D7B40038 */ ldc1 $f20, 0x38($sp) +/* 175404 80246B24 03E00008 */ jr $ra +/* 175408 80246B28 27BD0050 */ addiu $sp, $sp, 0x50 + +func_80246B2C: +/* 17540C 80246B2C 03E00008 */ jr $ra +/* 175410 80246B30 00000000 */ nop + +update_partner_action: +/* 175414 80246B34 3C03800E */ lui $v1, 0x800e +/* 175418 80246B38 8C63C4DC */ lw $v1, -0x3b24($v1) +/* 17541C 80246B3C 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* 175420 80246B40 AFB50024 */ sw $s5, 0x24($sp) +/* 175424 80246B44 3C15800E */ lui $s5, 0x800e +/* 175428 80246B48 26B5C070 */ addiu $s5, $s5, -0x3f90 +/* 17542C 80246B4C AFBF0028 */ sw $ra, 0x28($sp) +/* 175430 80246B50 AFB40020 */ sw $s4, 0x20($sp) +/* 175434 80246B54 AFB3001C */ sw $s3, 0x1c($sp) +/* 175438 80246B58 AFB20018 */ sw $s2, 0x18($sp) +/* 17543C 80246B5C AFB10014 */ sw $s1, 0x14($sp) +/* 175440 80246B60 AFB00010 */ sw $s0, 0x10($sp) +/* 175444 80246B64 8EB200D8 */ lw $s2, 0xd8($s5) +/* 175448 80246B68 8EB400DC */ lw $s4, 0xdc($s5) +/* 17544C 80246B6C 2C62000D */ sltiu $v0, $v1, 0xd +/* 175450 80246B70 10400122 */ beqz $v0, .L80246FFC +/* 175454 80246B74 00031080 */ sll $v0, $v1, 2 +/* 175458 80246B78 3C01802A */ lui $at, 0x802a +/* 17545C 80246B7C 00220821 */ addu $at, $at, $v0 +/* 175460 80246B80 8C22CB30 */ lw $v0, -0x34d0($at) +/* 175464 80246B84 00400008 */ jr $v0 +/* 175468 80246B88 00000000 */ nop +/* 17546C 80246B8C 16800005 */ bnez $s4, .L80246BA4 +/* 175470 80246B90 2402007F */ addiu $v0, $zero, 0x7f +/* 175474 80246B94 0C090464 */ jal func_80241190 +/* 175478 80246B98 24040009 */ addiu $a0, $zero, 9 +/* 17547C 80246B9C 08091BFF */ j func_80246FFC +/* 175480 80246BA0 00000000 */ nop + +.L80246BA4: +/* 175484 80246BA4 3C10800E */ lui $s0, 0x800e +/* 175488 80246BA8 2610C070 */ addiu $s0, $s0, -0x3f90 +/* 17548C 80246BAC A2A0008C */ sb $zero, 0x8c($s5) +/* 175490 80246BB0 A2A20086 */ sb $v0, 0x86($s5) +/* 175494 80246BB4 A2A20087 */ sb $v0, 0x87($s5) +/* 175498 80246BB8 A2A0019A */ sb $zero, 0x19a($s5) +/* 17549C 80246BBC 8E020000 */ lw $v0, ($s0) +/* 1754A0 80246BC0 2403EFFF */ addiu $v1, $zero, -0x1001 +/* 1754A4 80246BC4 00431024 */ and $v0, $v0, $v1 +/* 1754A8 80246BC8 2403FFFD */ addiu $v1, $zero, -3 +/* 1754AC 80246BCC 00431024 */ and $v0, $v0, $v1 +/* 1754B0 80246BD0 0C098F18 */ jal func_80263C60 +/* 1754B4 80246BD4 AE020000 */ sw $v0, ($s0) +/* 1754B8 80246BD8 3C03F7FF */ lui $v1, 0xf7ff +/* 1754BC 80246BDC 8E820000 */ lw $v0, ($s4) +/* 1754C0 80246BE0 3463FFFF */ ori $v1, $v1, 0xffff +func_80246BE4: +/* 1754C4 80246BE4 A280021C */ sb $zero, 0x21c($s4) +/* 1754C8 80246BE8 00431024 */ and $v0, $v0, $v1 +/* 1754CC 80246BEC AE820000 */ sw $v0, ($s4) +/* 1754D0 80246BF0 8E420000 */ lw $v0, ($s2) +/* 1754D4 80246BF4 0000882D */ daddu $s1, $zero, $zero +/* 1754D8 80246BF8 00431024 */ and $v0, $v0, $v1 +/* 1754DC 80246BFC 0C098EF2 */ jal deduct_current_move_fp +/* 1754E0 80246C00 AE420000 */ sw $v0, ($s2) +/* 1754E4 80246C04 0C09390F */ jal cam_target_actor +/* 1754E8 80246C08 24040100 */ addiu $a0, $zero, 0x100 +/* 1754EC 80246C0C 3C04FFDF */ lui $a0, 0xffdf +/* 1754F0 80246C10 3484FFFF */ ori $a0, $a0, 0xffff +/* 1754F4 80246C14 02A0282D */ daddu $a1, $s5, $zero +/* 1754F8 80246C18 8E020004 */ lw $v0, 4($s0) +/* 1754FC 80246C1C 8E030000 */ lw $v1, ($s0) +/* 175500 80246C20 34420010 */ ori $v0, $v0, 0x10 +/* 175504 80246C24 00641824 */ and $v1, $v1, $a0 +/* 175508 80246C28 AE020004 */ sw $v0, 4($s0) +/* 17550C 80246C2C AE030000 */ sw $v1, ($s0) +.L80246C30: +/* 175510 80246C30 8CB000E0 */ lw $s0, 0xe0($a1) +/* 175514 80246C34 56000001 */ bnezl $s0, .L80246C3C +/* 175518 80246C38 A200021C */ sb $zero, 0x21c($s0) +.L80246C3C: +/* 17551C 80246C3C 26310001 */ addiu $s1, $s1, 1 +/* 175520 80246C40 2A220018 */ slti $v0, $s1, 0x18 +/* 175524 80246C44 1440FFFA */ bnez $v0, .L80246C30 +/* 175528 80246C48 24A50004 */ addiu $a1, $a1, 4 +/* 17552C 80246C4C 0C093903 */ jal func_8024E40C +/* 175530 80246C50 24040002 */ addiu $a0, $zero, 2 +/* 175534 80246C54 08091BFD */ j func_80246FF4 +/* 175538 80246C58 24020002 */ addiu $v0, $zero, 2 + +/* 17553C 80246C5C 0000882D */ daddu $s1, $zero, $zero +/* 175540 80246C60 3C05FFF7 */ lui $a1, 0xfff7 +/* 175544 80246C64 34A5FFFF */ ori $a1, $a1, 0xffff +/* 175548 80246C68 3C04F7FF */ lui $a0, 0xf7ff +/* 17554C 80246C6C 3484FFFF */ ori $a0, $a0, 0xffff +/* 175550 80246C70 02A0182D */ daddu $v1, $s5, $zero +.L80246C74: +/* 175554 80246C74 8C7000E0 */ lw $s0, 0xe0($v1) +/* 175558 80246C78 12000005 */ beqz $s0, .L80246C90 +/* 17555C 80246C7C 26310001 */ addiu $s1, $s1, 1 +/* 175560 80246C80 8E020000 */ lw $v0, ($s0) +/* 175564 80246C84 00451024 */ and $v0, $v0, $a1 +/* 175568 80246C88 00441024 */ and $v0, $v0, $a0 +/* 17556C 80246C8C AE020000 */ sw $v0, ($s0) +.L80246C90: +/* 175570 80246C90 2A220018 */ slti $v0, $s1, 0x18 +/* 175574 80246C94 1440FFF7 */ bnez $v0, .L80246C74 +/* 175578 80246C98 24630004 */ addiu $v1, $v1, 4 +/* 17557C 80246C9C 0C03A6D5 */ jal increment_status_menu_disabled +/* 175580 80246CA0 00000000 */ nop +/* 175584 80246CA4 3C03800E */ lui $v1, 0x800e +/* 175588 80246CA8 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 17558C 80246CAC 8C620000 */ lw $v0, ($v1) +/* 175590 80246CB0 34420100 */ ori $v0, $v0, 0x100 +/* 175594 80246CB4 0C098F18 */ jal func_80263C60 +/* 175598 80246CB8 AC620000 */ sw $v0, ($v1) +/* 17559C 80246CBC 0C099EA7 */ jal reset_all_actor_sounds +/* 1755A0 80246CC0 0280202D */ daddu $a0, $s4, $zero +/* 1755A4 80246CC4 2405000A */ addiu $a1, $zero, 0xa +/* 1755A8 80246CC8 A2A001A7 */ sb $zero, 0x1a7($s5) +/* 1755AC 80246CCC 8E8401C4 */ lw $a0, 0x1c4($s4) +/* 1755B0 80246CD0 0C0B0CF8 */ jal start_script +/* 1755B4 80246CD4 0000302D */ daddu $a2, $zero, $zero +/* 1755B8 80246CD8 AE8201D4 */ sw $v0, 0x1d4($s4) +/* 1755BC 80246CDC 8C440144 */ lw $a0, 0x144($v0) +/* 1755C0 80246CE0 24030003 */ addiu $v1, $zero, 3 +/* 1755C4 80246CE4 3C01800E */ lui $at, 0x800e +/* 1755C8 80246CE8 AC23C4DC */ sw $v1, -0x3b24($at) +/* 1755CC 80246CEC 24030100 */ addiu $v1, $zero, 0x100 +/* 1755D0 80246CF0 AE8401E4 */ sw $a0, 0x1e4($s4) +/* 1755D4 80246CF4 08091BFF */ j func_80246FFC +/* 1755D8 80246CF8 AC430148 */ sw $v1, 0x148($v0) + +/* 1755DC 80246CFC 3C02800E */ lui $v0, 0x800e +/* 1755E0 80246D00 8C42C070 */ lw $v0, -0x3f90($v0) +/* 1755E4 80246D04 3C030020 */ lui $v1, 0x20 +/* 1755E8 80246D08 00431024 */ and $v0, $v0, $v1 +/* 1755EC 80246D0C 1440000A */ bnez $v0, .L80246D38 +/* 1755F0 80246D10 00000000 */ nop +/* 1755F4 80246D14 8E8201D4 */ lw $v0, 0x1d4($s4) +/* 1755F8 80246D18 50400007 */ beql $v0, $zero, .L80246D38 +/* 1755FC 80246D1C AE8001D4 */ sw $zero, 0x1d4($s4) +/* 175600 80246D20 8E8401E4 */ lw $a0, 0x1e4($s4) +/* 175604 80246D24 0C0B1059 */ jal does_script_exist +/* 175608 80246D28 00000000 */ nop +/* 17560C 80246D2C 144000B3 */ bnez $v0, .L80246FFC +/* 175610 80246D30 00000000 */ nop +/* 175614 80246D34 AE8001D4 */ sw $zero, 0x1d4($s4) +.L80246D38: +/* 175618 80246D38 3C04800E */ lui $a0, 0x800e +/* 17561C 80246D3C 2484C070 */ addiu $a0, $a0, -0x3f90 +/* 175620 80246D40 8C820000 */ lw $v0, ($a0) +/* 175624 80246D44 2403FEFF */ addiu $v1, $zero, -0x101 +/* 175628 80246D48 00431024 */ and $v0, $v0, $v1 +/* 17562C 80246D4C AC820000 */ sw $v0, ($a0) +/* 175630 80246D50 8E8201D8 */ lw $v0, 0x1d8($s4) +/* 175634 80246D54 50400007 */ beql $v0, $zero, .L80246D74 +/* 175638 80246D58 AE8001D8 */ sw $zero, 0x1d8($s4) +/* 17563C 80246D5C 8E8401E8 */ lw $a0, 0x1e8($s4) +/* 175640 80246D60 0C0B1059 */ jal does_script_exist +/* 175644 80246D64 00000000 */ nop +/* 175648 80246D68 144000A4 */ bnez $v0, .L80246FFC +/* 17564C 80246D6C 00000000 */ nop +/* 175650 80246D70 AE8001D8 */ sw $zero, 0x1d8($s4) +.L80246D74: +/* 175654 80246D74 8E4201D8 */ lw $v0, 0x1d8($s2) +/* 175658 80246D78 50400007 */ beql $v0, $zero, .L80246D98 +/* 17565C 80246D7C AE4001D8 */ sw $zero, 0x1d8($s2) +/* 175660 80246D80 8E4401E8 */ lw $a0, 0x1e8($s2) +/* 175664 80246D84 0C0B1059 */ jal does_script_exist +/* 175668 80246D88 00000000 */ nop +/* 17566C 80246D8C 1440009B */ bnez $v0, .L80246FFC +/* 175670 80246D90 00000000 */ nop +/* 175674 80246D94 AE4001D8 */ sw $zero, 0x1d8($s2) +.L80246D98: +/* 175678 80246D98 0000982D */ daddu $s3, $zero, $zero +/* 17567C 80246D9C 0260882D */ daddu $s1, $s3, $zero +/* 175680 80246DA0 02A0902D */ daddu $s2, $s5, $zero +.L80246DA4: +/* 175684 80246DA4 8E5000E0 */ lw $s0, 0xe0($s2) +/* 175688 80246DA8 5200000B */ beql $s0, $zero, .L80246DD8 +/* 17568C 80246DAC 26310001 */ addiu $s1, $s1, 1 +/* 175690 80246DB0 8E0201D4 */ lw $v0, 0x1d4($s0) +/* 175694 80246DB4 50400008 */ beql $v0, $zero, .L80246DD8 +/* 175698 80246DB8 26310001 */ addiu $s1, $s1, 1 +/* 17569C 80246DBC 8E0401E4 */ lw $a0, 0x1e4($s0) +/* 1756A0 80246DC0 0C0B1059 */ jal does_script_exist +/* 1756A4 80246DC4 00000000 */ nop +/* 1756A8 80246DC8 50400002 */ beql $v0, $zero, .L80246DD4 +/* 1756AC 80246DCC AE0001D4 */ sw $zero, 0x1d4($s0) +/* 1756B0 80246DD0 24130001 */ addiu $s3, $zero, 1 +.L80246DD4: +/* 1756B4 80246DD4 26310001 */ addiu $s1, $s1, 1 +.L80246DD8: +/* 1756B8 80246DD8 2A220018 */ slti $v0, $s1, 0x18 +/* 1756BC 80246DDC 1440FFF1 */ bnez $v0, .L80246DA4 +/* 1756C0 80246DE0 26520004 */ addiu $s2, $s2, 4 +/* 1756C4 80246DE4 16600085 */ bnez $s3, .L80246FFC +/* 1756C8 80246DE8 0000882D */ daddu $s1, $zero, $zero +func_80246DEC: +/* 1756CC 80246DEC 02A0902D */ daddu $s2, $s5, $zero +.L80246DF0: +/* 1756D0 80246DF0 8E5000E0 */ lw $s0, 0xe0($s2) +/* 1756D4 80246DF4 5200000B */ beql $s0, $zero, .L80246E24 +/* 1756D8 80246DF8 26310001 */ addiu $s1, $s1, 1 +/* 1756DC 80246DFC 8E0201D8 */ lw $v0, 0x1d8($s0) +/* 1756E0 80246E00 50400008 */ beql $v0, $zero, .L80246E24 +/* 1756E4 80246E04 26310001 */ addiu $s1, $s1, 1 +/* 1756E8 80246E08 8E0401E8 */ lw $a0, 0x1e8($s0) +/* 1756EC 80246E0C 0C0B1059 */ jal does_script_exist +/* 1756F0 80246E10 00000000 */ nop +/* 1756F4 80246E14 50400002 */ beql $v0, $zero, .L80246E20 +/* 1756F8 80246E18 AE0001D8 */ sw $zero, 0x1d8($s0) +/* 1756FC 80246E1C 24130001 */ addiu $s3, $zero, 1 +.L80246E20: +/* 175700 80246E20 26310001 */ addiu $s1, $s1, 1 +.L80246E24: +/* 175704 80246E24 2A220018 */ slti $v0, $s1, 0x18 +/* 175708 80246E28 1440FFF1 */ bnez $v0, .L80246DF0 +/* 17570C 80246E2C 26520004 */ addiu $s2, $s2, 4 +/* 175710 80246E30 16600072 */ bnez $s3, .L80246FFC +/* 175714 80246E34 0000882D */ daddu $s1, $zero, $zero +/* 175718 80246E38 3C04FFF7 */ lui $a0, 0xfff7 +/* 17571C 80246E3C 3484FFFF */ ori $a0, $a0, 0xffff +/* 175720 80246E40 02A0182D */ daddu $v1, $s5, $zero +.L80246E44: +/* 175724 80246E44 8C7000E0 */ lw $s0, 0xe0($v1) +/* 175728 80246E48 12000004 */ beqz $s0, .L80246E5C +/* 17572C 80246E4C 26310001 */ addiu $s1, $s1, 1 +/* 175730 80246E50 8E020000 */ lw $v0, ($s0) +/* 175734 80246E54 00441024 */ and $v0, $v0, $a0 +/* 175738 80246E58 AE020000 */ sw $v0, ($s0) +.L80246E5C: +/* 17573C 80246E5C 2A220018 */ slti $v0, $s1, 0x18 +/* 175740 80246E60 1440FFF8 */ bnez $v0, .L80246E44 +/* 175744 80246E64 24630004 */ addiu $v1, $v1, 4 +/* 175748 80246E68 82A2008C */ lb $v0, 0x8c($s5) +/* 17574C 80246E6C 14400063 */ bnez $v0, .L80246FFC +/* 175750 80246E70 00000000 */ nop +/* 175754 80246E74 3C028007 */ lui $v0, 0x8007 +/* 175758 80246E78 8C42419C */ lw $v0, 0x419c($v0) +/* 17575C 80246E7C 904200AA */ lbu $v0, 0xaa($v0) +/* 175760 80246E80 30420001 */ andi $v0, $v0, 1 +/* 175764 80246E84 10400005 */ beqz $v0, .L80246E9C +/* 175768 80246E88 00000000 */ nop +/* 17576C 80246E8C 0C090464 */ jal func_80241190 +/* 175770 80246E90 24040023 */ addiu $a0, $zero, 0x23 +/* 175774 80246E94 08091BFF */ j func_80246FFC +/* 175778 80246E98 00000000 */ nop + +.L80246E9C: +/* 17577C 80246E9C 0C03A6CC */ jal decrement_status_menu_disabled +/* 175780 80246EA0 00000000 */ nop +/* 175784 80246EA4 3C028011 */ lui $v0, 0x8011 +/* 175788 80246EA8 2442F290 */ addiu $v0, $v0, -0xd70 +/* 17578C 80246EAC 80430012 */ lb $v1, 0x12($v0) +/* 175790 80246EB0 24020001 */ addiu $v0, $zero, 1 +/* 175794 80246EB4 1462000E */ bne $v1, $v0, .L80246EF0 +/* 175798 80246EB8 24020005 */ addiu $v0, $zero, 5 +/* 17579C 80246EBC 82A30178 */ lb $v1, 0x178($s5) +/* 1757A0 80246EC0 1462000B */ bne $v1, $v0, .L80246EF0 +/* 1757A4 80246EC4 24020087 */ addiu $v0, $zero, 0x87 +/* 1757A8 80246EC8 86A3017C */ lh $v1, 0x17c($s5) +/* 1757AC 80246ECC 10620008 */ beq $v1, $v0, .L80246EF0 +/* 1757B0 80246ED0 3C04BFFF */ lui $a0, 0xbfff +/* 1757B4 80246ED4 3C03800E */ lui $v1, 0x800e +/* 1757B8 80246ED8 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 1757BC 80246EDC A2800220 */ sb $zero, 0x220($s4) +/* 1757C0 80246EE0 8C620000 */ lw $v0, ($v1) +/* 1757C4 80246EE4 3484FFFF */ ori $a0, $a0, 0xffff +/* 1757C8 80246EE8 00441024 */ and $v0, $v0, $a0 +/* 1757CC 80246EEC AC620000 */ sw $v0, ($v1) +.L80246EF0: +/* 1757D0 80246EF0 0C098D19 */ jal func_80263464 +/* 1757D4 80246EF4 00000000 */ nop +/* 1757D8 80246EF8 144000BD */ bnez $v0, .L802471F0 +/* 1757DC 80246EFC 0000882D */ daddu $s1, $zero, $zero +/* 1757E0 80246F00 3C060040 */ lui $a2, 0x40 +/* 1757E4 80246F04 3C050C00 */ lui $a1, 0xc00 +/* 1757E8 80246F08 02A0202D */ daddu $a0, $s5, $zero +.L80246F0C: +/* 1757EC 80246F0C 8C9000E0 */ lw $s0, 0xe0($a0) +/* 1757F0 80246F10 12000007 */ beqz $s0, .L80246F30 +/* 1757F4 80246F14 26310001 */ addiu $s1, $s1, 1 +/* 1757F8 80246F18 8E030000 */ lw $v1, ($s0) +/* 1757FC 80246F1C 00661024 */ and $v0, $v1, $a2 +/* 175800 80246F20 14400003 */ bnez $v0, .L80246F30 +/* 175804 80246F24 00000000 */ nop +/* 175808 80246F28 00651025 */ or $v0, $v1, $a1 +/* 17580C 80246F2C AE020000 */ sw $v0, ($s0) +.L80246F30: +/* 175810 80246F30 2A220018 */ slti $v0, $s1, 0x18 +/* 175814 80246F34 1440FFF5 */ bnez $v0, .L80246F0C +/* 175818 80246F38 24840004 */ addiu $a0, $a0, 4 +/* 17581C 80246F3C 0C099DDF */ jal func_8026777C +/* 175820 80246F40 00000000 */ nop +/* 175824 80246F44 8283021C */ lb $v1, 0x21c($s4) +/* 175828 80246F48 2402000D */ addiu $v0, $zero, 0xd +/* 17582C 80246F4C 14620029 */ bne $v1, $v0, .L80246FF4 +/* 175830 80246F50 24020014 */ addiu $v0, $zero, 0x14 +/* 175834 80246F54 0C098CFA */ jal func_802633E8 +/* 175838 80246F58 00000000 */ nop +/* 17583C 80246F5C 14400025 */ bnez $v0, .L80246FF4 +/* 175840 80246F60 24020014 */ addiu $v0, $zero, 0x14 +/* 175844 80246F64 0C093903 */ jal func_8024E40C +/* 175848 80246F68 24040036 */ addiu $a0, $zero, 0x36 +/* 17584C 80246F6C 24040023 */ addiu $a0, $zero, 0x23 +/* 175850 80246F70 0C093E58 */ jal show_battle_message +/* 175854 80246F74 2405003C */ addiu $a1, $zero, 0x3c +/* 175858 80246F78 2402000B */ addiu $v0, $zero, 0xb +/* 17585C 80246F7C A280021C */ sb $zero, 0x21c($s4) +/* 175860 80246F80 A280021D */ sb $zero, 0x21d($s4) +/* 175864 80246F84 3C01800E */ lui $at, 0x800e +/* 175868 80246F88 AC22C4DC */ sw $v0, -0x3b24($at) +/* 17586C 80246F8C 8E820000 */ lw $v0, ($s4) +/* 175870 80246F90 3C030800 */ lui $v1, 0x800 +/* 175874 80246F94 00431025 */ or $v0, $v0, $v1 +/* 175878 80246F98 08091BFF */ j func_80246FFC +/* 17587C 80246F9C AE820000 */ sw $v0, ($s4) + +/* 175880 80246FA0 0C093EAD */ jal is_popup_displayed +/* 175884 80246FA4 00000000 */ nop +/* 175888 80246FA8 14400014 */ bnez $v0, .L80246FFC +/* 17588C 80246FAC 00000000 */ nop +/* 175890 80246FB0 0C093903 */ jal func_8024E40C +/* 175894 80246FB4 24040002 */ addiu $a0, $zero, 2 +/* 175898 80246FB8 0C093936 */ jal move_cam_over +/* 17589C 80246FBC 2404000F */ addiu $a0, $zero, 0xf +/* 1758A0 80246FC0 2402000A */ addiu $v0, $zero, 0xa +/* 1758A4 80246FC4 3C01802A */ lui $at, 0x802a +/* 1758A8 80246FC8 AC22F248 */ sw $v0, -0xdb8($at) +/* 1758AC 80246FCC 08091BFD */ j func_80246FF4 +/* 1758B0 80246FD0 2402000C */ addiu $v0, $zero, 0xc + +/* 1758B4 80246FD4 3C03802A */ lui $v1, 0x802a +/* 1758B8 80246FD8 2463F248 */ addiu $v1, $v1, -0xdb8 +/* 1758BC 80246FDC 8C620000 */ lw $v0, ($v1) +/* 1758C0 80246FE0 10400003 */ beqz $v0, .L80246FF0 +/* 1758C4 80246FE4 2442FFFF */ addiu $v0, $v0, -1 +/* 1758C8 80246FE8 08091BFF */ j func_80246FFC +/* 1758CC 80246FEC AC620000 */ sw $v0, ($v1) + +.L80246FF0: +/* 1758D0 80246FF0 24020014 */ addiu $v0, $zero, 0x14 +func_80246FF4: +.L80246FF4: +/* 1758D4 80246FF4 3C01800E */ lui $at, 0x800e +/* 1758D8 80246FF8 AC22C4DC */ sw $v0, -0x3b24($at) +func_80246FFC: +.L80246FFC: +/* 1758DC 80246FFC 3C10800E */ lui $s0, 0x800e +/* 1758E0 80247000 2610C4DC */ addiu $s0, $s0, -0x3b24 +/* 1758E4 80247004 8E030000 */ lw $v1, ($s0) +/* 1758E8 80247008 24020015 */ addiu $v0, $zero, 0x15 +/* 1758EC 8024700C 10620052 */ beq $v1, $v0, .L80247158 +/* 1758F0 80247010 28620016 */ slti $v0, $v1, 0x16 +/* 1758F4 80247014 10400005 */ beqz $v0, .L8024702C +/* 1758F8 80247018 24020014 */ addiu $v0, $zero, 0x14 +/* 1758FC 8024701C 10620008 */ beq $v1, $v0, .L80247040 +/* 175900 80247020 0000982D */ daddu $s3, $zero, $zero +/* 175904 80247024 08091C6C */ j func_802471B0 +/* 175908 80247028 00000000 */ nop + +.L8024702C: +/* 17590C 8024702C 24020016 */ addiu $v0, $zero, 0x16 +/* 175910 80247030 10620056 */ beq $v1, $v0, .L8024718C +/* 175914 80247034 00000000 */ nop +/* 175918 80247038 08091C6C */ j func_802471B0 +/* 17591C 8024703C 00000000 */ nop + +.L80247040: +/* 175920 80247040 0260882D */ daddu $s1, $s3, $zero +/* 175924 80247044 02A0182D */ daddu $v1, $s5, $zero +.L80247048: +/* 175928 80247048 8C7000E0 */ lw $s0, 0xe0($v1) +/* 17592C 8024704C 12000004 */ beqz $s0, .L80247060 +/* 175930 80247050 26310001 */ addiu $s1, $s1, 1 +/* 175934 80247054 8202021C */ lb $v0, 0x21c($s0) +/* 175938 80247058 54400004 */ bnezl $v0, .L8024706C +/* 17593C 8024705C 24130001 */ addiu $s3, $zero, 1 +.L80247060: +/* 175940 80247060 2A220018 */ slti $v0, $s1, 0x18 +/* 175944 80247064 1440FFF8 */ bnez $v0, .L80247048 +/* 175948 80247068 24630004 */ addiu $v1, $v1, 4 +.L8024706C: +/* 17594C 8024706C 16600005 */ bnez $s3, .L80247084 +/* 175950 80247070 2402001E */ addiu $v0, $zero, 0x1e +/* 175954 80247074 3C01800E */ lui $at, 0x800e +/* 175958 80247078 AC22C4DC */ sw $v0, -0x3b24($at) +/* 17595C 8024707C 08091C6C */ j func_802471B0 +/* 175960 80247080 00000000 */ nop + +.L80247084: +/* 175964 80247084 0C093903 */ jal func_8024E40C +/* 175968 80247088 24040003 */ addiu $a0, $zero, 3 +/* 17596C 8024708C 9202021C */ lbu $v0, 0x21c($s0) +/* 175970 80247090 2442FFFC */ addiu $v0, $v0, -4 +/* 175974 80247094 00021600 */ sll $v0, $v0, 0x18 +/* 175978 80247098 00021E03 */ sra $v1, $v0, 0x18 +/* 17597C 8024709C 2C620008 */ sltiu $v0, $v1, 8 +/* 175980 802470A0 10400016 */ beqz $v0, .L802470FC +/* 175984 802470A4 00031080 */ sll $v0, $v1, 2 +/* 175988 802470A8 3C01802A */ lui $at, 0x802a +/* 17598C 802470AC 00220821 */ addu $at, $at, $v0 +/* 175990 802470B0 8C22CB68 */ lw $v0, -0x3498($at) +/* 175994 802470B4 00400008 */ jr $v0 +/* 175998 802470B8 00000000 */ nop +/* 17599C 802470BC 08091C43 */ j func_8024710C +/* 1759A0 802470C0 24100012 */ addiu $s0, $zero, 0x12 + +/* 1759A4 802470C4 08091C43 */ j func_8024710C +/* 1759A8 802470C8 24100013 */ addiu $s0, $zero, 0x13 + +/* 1759AC 802470CC 08091C43 */ j func_8024710C +/* 1759B0 802470D0 24100014 */ addiu $s0, $zero, 0x14 + +/* 1759B4 802470D4 08091C43 */ j func_8024710C +/* 1759B8 802470D8 24100015 */ addiu $s0, $zero, 0x15 + +/* 1759BC 802470DC 08091C43 */ j func_8024710C +/* 1759C0 802470E0 24100016 */ addiu $s0, $zero, 0x16 + +/* 1759C4 802470E4 08091C43 */ j func_8024710C +/* 1759C8 802470E8 24100017 */ addiu $s0, $zero, 0x17 + +/* 1759CC 802470EC 08091C43 */ j func_8024710C +/* 1759D0 802470F0 24100018 */ addiu $s0, $zero, 0x18 + +/* 1759D4 802470F4 08091C43 */ j func_8024710C +/* 1759D8 802470F8 24100019 */ addiu $s0, $zero, 0x19 + +.L802470FC: +/* 1759DC 802470FC 0000802D */ daddu $s0, $zero, $zero +/* 1759E0 80247100 24020014 */ addiu $v0, $zero, 0x14 +/* 1759E4 80247104 3C01800E */ lui $at, 0x800e +/* 1759E8 80247108 AC22C4DC */ sw $v0, -0x3b24($at) +func_8024710C: +/* 1759EC 8024710C 0C05272D */ jal play_sound +/* 1759F0 80247110 24042107 */ addiu $a0, $zero, 0x2107 +/* 1759F4 80247114 0200202D */ daddu $a0, $s0, $zero +/* 1759F8 80247118 0C093E58 */ jal show_battle_message +/* 1759FC 8024711C 2405003C */ addiu $a1, $zero, 0x3c +/* 175A00 80247120 0000882D */ daddu $s1, $zero, $zero +/* 175A04 80247124 02A0182D */ daddu $v1, $s5, $zero +.L80247128: +/* 175A08 80247128 8C7000E0 */ lw $s0, 0xe0($v1) +/* 175A0C 8024712C 56000001 */ bnezl $s0, .L80247134 +/* 175A10 80247130 A200021C */ sb $zero, 0x21c($s0) +.L80247134: +/* 175A14 80247134 26310001 */ addiu $s1, $s1, 1 +/* 175A18 80247138 2A220018 */ slti $v0, $s1, 0x18 +/* 175A1C 8024713C 1440FFFA */ bnez $v0, .L80247128 +/* 175A20 80247140 24630004 */ addiu $v1, $v1, 4 +/* 175A24 80247144 24020015 */ addiu $v0, $zero, 0x15 +/* 175A28 80247148 3C01800E */ lui $at, 0x800e +/* 175A2C 8024714C AC22C4DC */ sw $v0, -0x3b24($at) +/* 175A30 80247150 08091C6C */ j func_802471B0 +/* 175A34 80247154 00000000 */ nop + +.L80247158: +/* 175A38 80247158 0C093EAD */ jal is_popup_displayed +/* 175A3C 8024715C 00000000 */ nop +/* 175A40 80247160 14400013 */ bnez $v0, .L802471B0 +func_80247164: +/* 175A44 80247164 00000000 */ nop +func_80247168: +/* 175A48 80247168 0C093903 */ jal func_8024E40C +/* 175A4C 8024716C 24040002 */ addiu $a0, $zero, 2 +/* 175A50 80247170 0C093936 */ jal move_cam_over +/* 175A54 80247174 2404000F */ addiu $a0, $zero, 0xf +/* 175A58 80247178 2402000A */ addiu $v0, $zero, 0xa +/* 175A5C 8024717C 3C01802A */ lui $at, 0x802a +/* 175A60 80247180 AC22F248 */ sw $v0, -0xdb8($at) +/* 175A64 80247184 08091C6B */ j func_802471AC +/* 175A68 80247188 24020016 */ addiu $v0, $zero, 0x16 + +.L8024718C: +/* 175A6C 8024718C 3C03802A */ lui $v1, 0x802a +/* 175A70 80247190 2463F248 */ addiu $v1, $v1, -0xdb8 +/* 175A74 80247194 8C620000 */ lw $v0, ($v1) +/* 175A78 80247198 10400003 */ beqz $v0, .L802471A8 +/* 175A7C 8024719C 2442FFFF */ addiu $v0, $v0, -1 +/* 175A80 802471A0 08091C6C */ j func_802471B0 +/* 175A84 802471A4 AC620000 */ sw $v0, ($v1) + +.L802471A8: +/* 175A88 802471A8 2402001E */ addiu $v0, $zero, 0x1e +func_802471AC: +/* 175A8C 802471AC AE020000 */ sw $v0, ($s0) +func_802471B0: +.L802471B0: +/* 175A90 802471B0 3C03800E */ lui $v1, 0x800e +/* 175A94 802471B4 8C63C4DC */ lw $v1, -0x3b24($v1) +/* 175A98 802471B8 2402001E */ addiu $v0, $zero, 0x1e +/* 175A9C 802471BC 1462000C */ bne $v1, $v0, .L802471F0 +/* 175AA0 802471C0 00000000 */ nop +/* 175AA4 802471C4 8E8201D4 */ lw $v0, 0x1d4($s4) +/* 175AA8 802471C8 50400007 */ beql $v0, $zero, .L802471E8 +/* 175AAC 802471CC AE8001D4 */ sw $zero, 0x1d4($s4) +/* 175AB0 802471D0 8E8401E4 */ lw $a0, 0x1e4($s4) +/* 175AB4 802471D4 0C0B1059 */ jal does_script_exist +/* 175AB8 802471D8 00000000 */ nop +/* 175ABC 802471DC 14400004 */ bnez $v0, .L802471F0 +/* 175AC0 802471E0 00000000 */ nop +/* 175AC4 802471E4 AE8001D4 */ sw $zero, 0x1d4($s4) +.L802471E8: +/* 175AC8 802471E8 0C090464 */ jal func_80241190 +/* 175ACC 802471EC 24040017 */ addiu $a0, $zero, 0x17 +.L802471F0: +/* 175AD0 802471F0 8FBF0028 */ lw $ra, 0x28($sp) +/* 175AD4 802471F4 8FB50024 */ lw $s5, 0x24($sp) +/* 175AD8 802471F8 8FB40020 */ lw $s4, 0x20($sp) +/* 175ADC 802471FC 8FB3001C */ lw $s3, 0x1c($sp) +/* 175AE0 80247200 8FB20018 */ lw $s2, 0x18($sp) +/* 175AE4 80247204 8FB10014 */ lw $s1, 0x14($sp) +/* 175AE8 80247208 8FB00010 */ lw $s0, 0x10($sp) +/* 175AEC 8024720C 03E00008 */ jr $ra +/* 175AF0 80247210 27BD0030 */ addiu $sp, $sp, 0x30 + +func_80247214: +/* 175AF4 80247214 03E00008 */ jr $ra +/* 175AF8 80247218 00000000 */ nop + +func_8024721C: +/* 175AFC 8024721C 3C02800E */ lui $v0, 0x800e +/* 175B00 80247220 8C42C4DC */ lw $v0, -0x3b24($v0) +/* 175B04 80247224 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 175B08 80247228 AFB00010 */ sw $s0, 0x10($sp) +/* 175B0C 8024722C 3C10800E */ lui $s0, 0x800e +/* 175B10 80247230 2610C070 */ addiu $s0, $s0, -0x3f90 +/* 175B14 80247234 14400017 */ bnez $v0, .L80247294 +/* 175B18 80247238 AFBF0014 */ sw $ra, 0x14($sp) +/* 175B1C 8024723C 8E020004 */ lw $v0, 4($s0) +/* 175B20 80247240 34420004 */ ori $v0, $v0, 4 +/* 175B24 80247244 0C098D0D */ jal func_80263434 +/* 175B28 80247248 AE020004 */ sw $v0, 4($s0) +/* 175B2C 8024724C 14400011 */ bnez $v0, .L80247294 +/* 175B30 80247250 3C03FFF7 */ lui $v1, 0xfff7 +/* 175B34 80247254 3463FFFF */ ori $v1, $v1, 0xffff +/* 175B38 80247258 8E020000 */ lw $v0, ($s0) +/* 175B3C 8024725C 82040094 */ lb $a0, 0x94($s0) +/* 175B40 80247260 00431024 */ and $v0, $v0, $v1 +/* 175B44 80247264 AE020000 */ sw $v0, ($s0) +/* 175B48 80247268 8E020004 */ lw $v0, 4($s0) +/* 175B4C 8024726C 2403FFEF */ addiu $v1, $zero, -0x11 +/* 175B50 80247270 00431024 */ and $v0, $v0, $v1 +/* 175B54 80247274 04810004 */ bgez $a0, .L80247288 +/* 175B58 80247278 AE020004 */ sw $v0, 4($s0) +/* 175B5C 8024727C A2000094 */ sb $zero, 0x94($s0) +/* 175B60 80247280 08091CA3 */ j func_8024728C +/* 175B64 80247284 24040006 */ addiu $a0, $zero, 6 + +.L80247288: +/* 175B68 80247288 24040009 */ addiu $a0, $zero, 9 +func_8024728C: +/* 175B6C 8024728C 0C090464 */ jal func_80241190 +/* 175B70 80247290 00000000 */ nop +.L80247294: +/* 175B74 80247294 8FBF0014 */ lw $ra, 0x14($sp) +/* 175B78 80247298 8FB00010 */ lw $s0, 0x10($sp) +/* 175B7C 8024729C 03E00008 */ jr $ra +/* 175B80 802472A0 27BD0018 */ addiu $sp, $sp, 0x18 + +func_802472A4: +/* 175B84 802472A4 03E00008 */ jr $ra +/* 175B88 802472A8 00000000 */ nop + +update_enemy_change_turn: +/* 175B8C 802472AC 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 175B90 802472B0 AFB10014 */ sw $s1, 0x14($sp) +/* 175B94 802472B4 3C11800E */ lui $s1, 0x800e +/* 175B98 802472B8 2631C070 */ addiu $s1, $s1, -0x3f90 +/* 175B9C 802472BC AFBF0018 */ sw $ra, 0x18($sp) +/* 175BA0 802472C0 AFB00010 */ sw $s0, 0x10($sp) +/* 175BA4 802472C4 8E2A00D8 */ lw $t2, 0xd8($s1) +/* 175BA8 802472C8 3C03800E */ lui $v1, 0x800e +/* 175BAC 802472CC 8C63C4DC */ lw $v1, -0x3b24($v1) +/* 175BB0 802472D0 8E2700DC */ lw $a3, 0xdc($s1) +/* 175BB4 802472D4 0460009F */ bltz $v1, .L80247554 +/* 175BB8 802472D8 28620002 */ slti $v0, $v1, 2 +/* 175BBC 802472DC 14400005 */ bnez $v0, .L802472F4 +/* 175BC0 802472E0 24020002 */ addiu $v0, $zero, 2 +/* 175BC4 802472E4 10620080 */ beq $v1, $v0, .L802474E8 +/* 175BC8 802472E8 00000000 */ nop +/* 175BCC 802472EC 08091D55 */ j func_80247554 +/* 175BD0 802472F0 00000000 */ nop + +.L802472F4: +/* 175BD4 802472F4 82240170 */ lb $a0, 0x170($s1) +/* 175BD8 802472F8 82220171 */ lb $v0, 0x171($s1) +/* 175BDC 802472FC 0082102A */ slt $v0, $a0, $v0 +/* 175BE0 80247300 14400004 */ bnez $v0, .L80247314 +/* 175BE4 80247304 3C050020 */ lui $a1, 0x20 +/* 175BE8 80247308 A2200170 */ sb $zero, 0x170($s1) +/* 175BEC 8024730C 08091D53 */ j func_8024754C +/* 175BF0 80247310 24040006 */ addiu $a0, $zero, 6 + +.L80247314: +/* 175BF4 80247314 34A54000 */ ori $a1, $a1, 0x4000 +/* 175BF8 80247318 00041040 */ sll $v0, $a0, 1 +.L8024731C: +/* 175BFC 8024731C 02221021 */ addu $v0, $s1, $v0 +/* 175C00 80247320 84430140 */ lh $v1, 0x140($v0) +/* 175C04 80247324 94420140 */ lhu $v0, 0x140($v0) +/* 175C08 80247328 0460000A */ bltz $v1, .L80247354 +/* 175C0C 8024732C 304200FF */ andi $v0, $v0, 0xff +/* 175C10 80247330 00021080 */ sll $v0, $v0, 2 +/* 175C14 80247334 02221021 */ addu $v0, $s1, $v0 +/* 175C18 80247338 8C5000E0 */ lw $s0, 0xe0($v0) +/* 175C1C 8024733C 12000005 */ beqz $s0, .L80247354 +/* 175C20 80247340 00000000 */ nop +/* 175C24 80247344 8E020000 */ lw $v0, ($s0) +/* 175C28 80247348 00451024 */ and $v0, $v0, $a1 +/* 175C2C 8024734C 1040000B */ beqz $v0, .L8024737C +/* 175C30 80247350 00041040 */ sll $v0, $a0, 1 +.L80247354: +/* 175C34 80247354 82220171 */ lb $v0, 0x171($s1) +/* 175C38 80247358 24840001 */ addiu $a0, $a0, 1 +/* 175C3C 8024735C 0082102A */ slt $v0, $a0, $v0 +/* 175C40 80247360 50400001 */ beql $v0, $zero, .L80247368 +/* 175C44 80247364 0000202D */ daddu $a0, $zero, $zero +.L80247368: +/* 175C48 80247368 1480FFEC */ bnez $a0, .L8024731C +/* 175C4C 8024736C 00041040 */ sll $v0, $a0, 1 +/* 175C50 80247370 A2200170 */ sb $zero, 0x170($s1) +/* 175C54 80247374 08091D53 */ j func_8024754C +/* 175C58 80247378 24040006 */ addiu $a0, $zero, 6 + +.L8024737C: +/* 175C5C 8024737C 02221021 */ addu $v0, $s1, $v0 +/* 175C60 80247380 94420140 */ lhu $v0, 0x140($v0) +/* 175C64 80247384 24840001 */ addiu $a0, $a0, 1 +/* 175C68 80247388 AE300174 */ sw $s0, 0x174($s1) +/* 175C6C 8024738C A2240170 */ sb $a0, 0x170($s1) +/* 175C70 80247390 A6220172 */ sh $v0, 0x172($s1) +/* 175C74 80247394 82040210 */ lb $a0, 0x210($s0) +/* 175C78 80247398 38820006 */ xori $v0, $a0, 6 +/* 175C7C 8024739C 2C430001 */ sltiu $v1, $v0, 1 +/* 175C80 802473A0 24020003 */ addiu $v0, $zero, 3 +/* 175C84 802473A4 50820001 */ beql $a0, $v0, .L802473AC +/* 175C88 802473A8 24030001 */ addiu $v1, $zero, 1 +.L802473AC: +/* 175C8C 802473AC 24020004 */ addiu $v0, $zero, 4 +/* 175C90 802473B0 50820001 */ beql $a0, $v0, .L802473B8 +/* 175C94 802473B4 24030001 */ addiu $v1, $zero, 1 +.L802473B8: +/* 175C98 802473B8 24020005 */ addiu $v0, $zero, 5 +/* 175C9C 802473BC 50820001 */ beql $a0, $v0, .L802473C4 +/* 175CA0 802473C0 24030001 */ addiu $v1, $zero, 1 +.L802473C4: +/* 175CA4 802473C4 24020007 */ addiu $v0, $zero, 7 +/* 175CA8 802473C8 50820001 */ beql $a0, $v0, .L802473D0 +/* 175CAC 802473CC 24030001 */ addiu $v1, $zero, 1 +.L802473D0: +/* 175CB0 802473D0 24020008 */ addiu $v0, $zero, 8 +/* 175CB4 802473D4 50820001 */ beql $a0, $v0, .L802473DC +/* 175CB8 802473D8 24030001 */ addiu $v1, $zero, 1 +.L802473DC: +/* 175CBC 802473DC 82020214 */ lb $v0, 0x214($s0) +/* 175CC0 802473E0 240B000C */ addiu $t3, $zero, 0xc +func_802473E4: +/* 175CC4 802473E4 504B0001 */ beql $v0, $t3, .L802473EC +/* 175CC8 802473E8 24030001 */ addiu $v1, $zero, 1 +.L802473EC: +/* 175CCC 802473EC 8E020000 */ lw $v0, ($s0) +/* 175CD0 802473F0 3C090001 */ lui $t1, 1 +/* 175CD4 802473F4 00491024 */ and $v0, $v0, $t1 +/* 175CD8 802473F8 54400001 */ bnezl $v0, .L80247400 +/* 175CDC 802473FC 24030001 */ addiu $v1, $zero, 1 +.L80247400: +/* 175CE0 80247400 10600005 */ beqz $v1, .L80247418 +/* 175CE4 80247404 3C03FFFB */ lui $v1, 0xfffb +/* 175CE8 80247408 3C01800E */ lui $at, 0x800e +/* 175CEC 8024740C AC20C4DC */ sw $zero, -0x3b24($at) +/* 175CF0 80247410 08091D55 */ j func_80247554 +/* 175CF4 80247414 00000000 */ nop + +.L80247418: +/* 175CF8 80247418 3463FFFF */ ori $v1, $v1, 0xffff +/* 175CFC 8024741C 3C04FFF7 */ lui $a0, 0xfff7 +/* 175D00 80247420 3484FFFF */ ori $a0, $a0, 0xffff +/* 175D04 80247424 3C06F7FF */ lui $a2, 0xf7ff +/* 175D08 80247428 3C05800E */ lui $a1, 0x800e +/* 175D0C 8024742C 24A5C070 */ addiu $a1, $a1, -0x3f90 +/* 175D10 80247430 2408FFFD */ addiu $t0, $zero, -3 +/* 175D14 80247434 A220008C */ sb $zero, 0x8c($s1) +/* 175D18 80247438 8CA20000 */ lw $v0, ($a1) +/* 175D1C 8024743C 34C6FFFF */ ori $a2, $a2, 0xffff +func_80247440: +/* 175D20 80247440 00481024 */ and $v0, $v0, $t0 +/* 175D24 80247444 00431024 */ and $v0, $v0, $v1 +/* 175D28 80247448 2403EFFF */ addiu $v1, $zero, -0x1001 +/* 175D2C 8024744C 00431024 */ and $v0, $v0, $v1 +/* 175D30 80247450 00441024 */ and $v0, $v0, $a0 +/* 175D34 80247454 ACA20000 */ sw $v0, ($a1) +/* 175D38 80247458 8D420000 */ lw $v0, ($t2) +/* 175D3C 8024745C 3C030400 */ lui $v1, 0x400 +/* 175D40 80247460 00461024 */ and $v0, $v0, $a2 +/* 175D44 80247464 00431025 */ or $v0, $v0, $v1 +/* 175D48 80247468 10E00005 */ beqz $a3, .L80247480 +/* 175D4C 8024746C AD420000 */ sw $v0, ($t2) +/* 175D50 80247470 8CE20000 */ lw $v0, ($a3) +/* 175D54 80247474 00461024 */ and $v0, $v0, $a2 +/* 175D58 80247478 00431025 */ or $v0, $v0, $v1 +/* 175D5C 8024747C ACE20000 */ sw $v0, ($a3) +.L80247480: +/* 175D60 80247480 8CA20004 */ lw $v0, 4($a1) +/* 175D64 80247484 2403FFFB */ addiu $v1, $zero, -5 +/* 175D68 80247488 00481024 */ and $v0, $v0, $t0 +/* 175D6C 8024748C 00431024 */ and $v0, $v0, $v1 +/* 175D70 80247490 00491025 */ or $v0, $v0, $t1 +/* 175D74 80247494 ACA20004 */ sw $v0, 4($a1) +/* 175D78 80247498 92020134 */ lbu $v0, 0x134($s0) +/* 175D7C 8024749C 8E0301CC */ lw $v1, 0x1cc($s0) +/* 175D80 802474A0 3C01802A */ lui $at, 0x802a +/* 175D84 802474A4 A022F244 */ sb $v0, -0xdbc($at) +/* 175D88 802474A8 1060000A */ beqz $v1, .L802474D4 +/* 175D8C 802474AC 2405000A */ addiu $a1, $zero, 0xa +/* 175D90 802474B0 A22B01A7 */ sb $t3, 0x1a7($s1) +/* 175D94 802474B4 8E0401CC */ lw $a0, 0x1cc($s0) +/* 175D98 802474B8 0C0B0CF8 */ jal start_script +/* 175D9C 802474BC 0000302D */ daddu $a2, $zero, $zero +/* 175DA0 802474C0 AE0201DC */ sw $v0, 0x1dc($s0) +/* 175DA4 802474C4 8C430144 */ lw $v1, 0x144($v0) +/* 175DA8 802474C8 AE0301EC */ sw $v1, 0x1ec($s0) +/* 175DAC 802474CC 86230172 */ lh $v1, 0x172($s1) +/* 175DB0 802474D0 AC430148 */ sw $v1, 0x148($v0) +.L802474D4: +/* 175DB4 802474D4 24020002 */ addiu $v0, $zero, 2 +/* 175DB8 802474D8 3C01800E */ lui $at, 0x800e +/* 175DBC 802474DC AC22C4DC */ sw $v0, -0x3b24($at) +/* 175DC0 802474E0 08091D55 */ j func_80247554 +/* 175DC4 802474E4 00000000 */ nop + +.L802474E8: +/* 175DC8 802474E8 8222008C */ lb $v0, 0x8c($s1) +/* 175DCC 802474EC 14400019 */ bnez $v0, .L80247554 +/* 175DD0 802474F0 00000000 */ nop +/* 175DD4 802474F4 0C09A75B */ jal get_actor +/* 175DD8 802474F8 86240172 */ lh $a0, 0x172($s1) +/* 175DDC 802474FC 0040802D */ daddu $s0, $v0, $zero +/* 175DE0 80247500 12000012 */ beqz $s0, .L8024754C +/* 175DE4 80247504 24040014 */ addiu $a0, $zero, 0x14 +/* 175DE8 80247508 92030134 */ lbu $v1, 0x134($s0) +/* 175DEC 8024750C 3C02802A */ lui $v0, 0x802a +/* 175DF0 80247510 9042F244 */ lbu $v0, -0xdbc($v0) +/* 175DF4 80247514 1462000D */ bne $v1, $v0, .L8024754C +/* 175DF8 80247518 00000000 */ nop +/* 175DFC 8024751C 8E0201CC */ lw $v0, 0x1cc($s0) +/* 175E00 80247520 10400005 */ beqz $v0, .L80247538 +/* 175E04 80247524 00000000 */ nop +/* 175E08 80247528 0C0B1059 */ jal does_script_exist +/* 175E0C 8024752C 8E0401EC */ lw $a0, 0x1ec($s0) +/* 175E10 80247530 14400008 */ bnez $v0, .L80247554 +/* 175E14 80247534 00000000 */ nop +.L80247538: +/* 175E18 80247538 82220094 */ lb $v0, 0x94($s1) +/* 175E1C 8024753C 04410003 */ bgez $v0, .L8024754C +/* 175E20 80247540 24040015 */ addiu $a0, $zero, 0x15 +/* 175E24 80247544 A2200094 */ sb $zero, 0x94($s1) +/* 175E28 80247548 24040006 */ addiu $a0, $zero, 6 +func_8024754C: +.L8024754C: +/* 175E2C 8024754C 0C090464 */ jal func_80241190 +/* 175E30 80247550 00000000 */ nop +func_80247554: +.L80247554: +/* 175E34 80247554 8FBF0018 */ lw $ra, 0x18($sp) +/* 175E38 80247558 8FB10014 */ lw $s1, 0x14($sp) +func_8024755C: +/* 175E3C 8024755C 8FB00010 */ lw $s0, 0x10($sp) +/* 175E40 80247560 03E00008 */ jr $ra +/* 175E44 80247564 27BD0020 */ addiu $sp, $sp, 0x20 + +func_80247568: +/* 175E48 80247568 03E00008 */ jr $ra +/* 175E4C 8024756C 00000000 */ nop + +update_enemy_action: +/* 175E50 80247570 3C03800E */ lui $v1, 0x800e +/* 175E54 80247574 8C63C4DC */ lw $v1, -0x3b24($v1) +/* 175E58 80247578 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* 175E5C 8024757C AFB60028 */ sw $s6, 0x28($sp) +/* 175E60 80247580 3C16800E */ lui $s6, 0x800e +/* 175E64 80247584 26D6C070 */ addiu $s6, $s6, -0x3f90 +/* 175E68 80247588 AFBF002C */ sw $ra, 0x2c($sp) +/* 175E6C 8024758C AFB50024 */ sw $s5, 0x24($sp) +/* 175E70 80247590 AFB40020 */ sw $s4, 0x20($sp) +/* 175E74 80247594 AFB3001C */ sw $s3, 0x1c($sp) +/* 175E78 80247598 AFB20018 */ sw $s2, 0x18($sp) +/* 175E7C 8024759C AFB10014 */ sw $s1, 0x14($sp) +/* 175E80 802475A0 AFB00010 */ sw $s0, 0x10($sp) +/* 175E84 802475A4 8ED500D8 */ lw $s5, 0xd8($s6) +/* 175E88 802475A8 8ED400DC */ lw $s4, 0xdc($s6) +/* 175E8C 802475AC 2C62000D */ sltiu $v0, $v1, 0xd +/* 175E90 802475B0 10400106 */ beqz $v0, .L802479CC +/* 175E94 802475B4 00031080 */ sll $v0, $v1, 2 +func_802475B8: +/* 175E98 802475B8 3C01802A */ lui $at, 0x802a +/* 175E9C 802475BC 00220821 */ addu $at, $at, $v0 +/* 175EA0 802475C0 8C22CB88 */ lw $v0, -0x3478($at) +/* 175EA4 802475C4 00400008 */ jr $v0 +/* 175EA8 802475C8 00000000 */ nop +/* 175EAC 802475CC 3C04FFDF */ lui $a0, 0xffdf +/* 175EB0 802475D0 3484FFFF */ ori $a0, $a0, 0xffff +/* 175EB4 802475D4 3C05F7FF */ lui $a1, 0xf7ff +/* 175EB8 802475D8 3C10800E */ lui $s0, 0x800e +/* 175EBC 802475DC 2610C070 */ addiu $s0, $s0, -0x3f90 +/* 175EC0 802475E0 8E020000 */ lw $v0, ($s0) +/* 175EC4 802475E4 2403FFFD */ addiu $v1, $zero, -3 +/* 175EC8 802475E8 00431024 */ and $v0, $v0, $v1 +/* 175ECC 802475EC 00441024 */ and $v0, $v0, $a0 +/* 175ED0 802475F0 AE020000 */ sw $v0, ($s0) +/* 175ED4 802475F4 8EA20000 */ lw $v0, ($s5) +/* 175ED8 802475F8 34A5FFFF */ ori $a1, $a1, 0xffff +/* 175EDC 802475FC 00451024 */ and $v0, $v0, $a1 +/* 175EE0 80247600 12800004 */ beqz $s4, .L80247614 +/* 175EE4 80247604 AEA20000 */ sw $v0, ($s5) +/* 175EE8 80247608 8E820000 */ lw $v0, ($s4) +/* 175EEC 8024760C 00451024 */ and $v0, $v0, $a1 +/* 175EF0 80247610 AE820000 */ sw $v0, ($s4) +.L80247614: +/* 175EF4 80247614 2402007F */ addiu $v0, $zero, 0x7f +/* 175EF8 80247618 A2C0008C */ sb $zero, 0x8c($s6) +/* 175EFC 8024761C A6C00180 */ sh $zero, 0x180($s6) +/* 175F00 80247620 A2C00081 */ sb $zero, 0x81($s6) +/* 175F04 80247624 A2C20086 */ sb $v0, 0x86($s6) +/* 175F08 80247628 A2C20087 */ sb $v0, 0x87($s6) +/* 175F0C 8024762C 0C098F18 */ jal func_80263C60 +/* 175F10 80247630 A2C0019A */ sb $zero, 0x19a($s6) +/* 175F14 80247634 8E020000 */ lw $v0, ($s0) +/* 175F18 80247638 34420100 */ ori $v0, $v0, 0x100 +/* 175F1C 8024763C AE020000 */ sw $v0, ($s0) +/* 175F20 80247640 12800002 */ beqz $s4, .L8024764C +/* 175F24 80247644 A2A0021C */ sb $zero, 0x21c($s5) +/* 175F28 80247648 A280021C */ sb $zero, 0x21c($s4) +.L8024764C: +/* 175F2C 8024764C 0000882D */ daddu $s1, $zero, $zero +/* 175F30 80247650 3C04FFF7 */ lui $a0, 0xfff7 +/* 175F34 80247654 3484FFFF */ ori $a0, $a0, 0xffff +/* 175F38 80247658 8E020004 */ lw $v0, 4($s0) +/* 175F3C 8024765C 02C0182D */ daddu $v1, $s6, $zero +/* 175F40 80247660 34424000 */ ori $v0, $v0, 0x4000 +/* 175F44 80247664 AE020004 */ sw $v0, 4($s0) +.L80247668: +/* 175F48 80247668 8C7000E0 */ lw $s0, 0xe0($v1) +/* 175F4C 8024766C 12000004 */ beqz $s0, .L80247680 +/* 175F50 80247670 26310001 */ addiu $s1, $s1, 1 +/* 175F54 80247674 8E020000 */ lw $v0, ($s0) +/* 175F58 80247678 00441024 */ and $v0, $v0, $a0 +/* 175F5C 8024767C AE020000 */ sw $v0, ($s0) +.L80247680: +/* 175F60 80247680 2A220018 */ slti $v0, $s1, 0x18 +/* 175F64 80247684 1440FFF8 */ bnez $v0, .L80247668 +/* 175F68 80247688 24630004 */ addiu $v1, $v1, 4 +/* 175F6C 8024768C 0000882D */ daddu $s1, $zero, $zero +/* 175F70 80247690 3C060040 */ lui $a2, 0x40 +/* 175F74 80247694 3C05F7FF */ lui $a1, 0xf7ff +/* 175F78 80247698 34A5FFFF */ ori $a1, $a1, 0xffff +/* 175F7C 8024769C 02C0202D */ daddu $a0, $s6, $zero +.L802476A0: +/* 175F80 802476A0 8C9000E0 */ lw $s0, 0xe0($a0) +/* 175F84 802476A4 12000007 */ beqz $s0, .L802476C4 +/* 175F88 802476A8 26310001 */ addiu $s1, $s1, 1 +/* 175F8C 802476AC 8E030000 */ lw $v1, ($s0) +/* 175F90 802476B0 00661024 */ and $v0, $v1, $a2 +/* 175F94 802476B4 14400003 */ bnez $v0, .L802476C4 +/* 175F98 802476B8 00000000 */ nop +/* 175F9C 802476BC 00651024 */ and $v0, $v1, $a1 +/* 175FA0 802476C0 AE020000 */ sw $v0, ($s0) +.L802476C4: +/* 175FA4 802476C4 2A220018 */ slti $v0, $s1, 0x18 +/* 175FA8 802476C8 1440FFF5 */ bnez $v0, .L802476A0 +/* 175FAC 802476CC 24840004 */ addiu $a0, $a0, 4 +/* 175FB0 802476D0 8ED00174 */ lw $s0, 0x174($s6) +/* 175FB4 802476D4 8E020000 */ lw $v0, ($s0) +/* 175FB8 802476D8 3C030020 */ lui $v1, 0x20 +func_802476DC: +/* 175FBC 802476DC 00431024 */ and $v0, $v0, $v1 +/* 175FC0 802476E0 544000B8 */ bnezl $v0, .L802479C4 +/* 175FC4 802476E4 24020002 */ addiu $v0, $zero, 2 +/* 175FC8 802476E8 0C099EA7 */ jal reset_all_actor_sounds +/* 175FCC 802476EC 0200202D */ daddu $a0, $s0, $zero +/* 175FD0 802476F0 2405000A */ addiu $a1, $zero, 0xa +/* 175FD4 802476F4 A2C001A7 */ sb $zero, 0x1a7($s6) +/* 175FD8 802476F8 8E0401C4 */ lw $a0, 0x1c4($s0) +/* 175FDC 802476FC 0C0B0CF8 */ jal start_script +/* 175FE0 80247700 0000302D */ daddu $a2, $zero, $zero +/* 175FE4 80247704 AE0201D4 */ sw $v0, 0x1d4($s0) +/* 175FE8 80247708 8C430144 */ lw $v1, 0x144($v0) +/* 175FEC 8024770C AE0301E4 */ sw $v1, 0x1e4($s0) +/* 175FF0 80247710 86C30172 */ lh $v1, 0x172($s6) +/* 175FF4 80247714 AC430148 */ sw $v1, 0x148($v0) +/* 175FF8 80247718 08091E71 */ j func_802479C4 +/* 175FFC 8024771C 24020002 */ addiu $v0, $zero, 2 + +/* 176000 80247720 8EA201D4 */ lw $v0, 0x1d4($s5) +/* 176004 80247724 10400005 */ beqz $v0, .L8024773C +/* 176008 80247728 00000000 */ nop +/* 17600C 8024772C 0C0B1059 */ jal does_script_exist +/* 176010 80247730 8EA401E4 */ lw $a0, 0x1e4($s5) +/* 176014 80247734 144000A5 */ bnez $v0, .L802479CC +func_80247738: +/* 176018 80247738 00000000 */ nop +.L8024773C: +/* 17601C 8024773C 8EA201D8 */ lw $v0, 0x1d8($s5) +/* 176020 80247740 10400006 */ beqz $v0, .L8024775C +/* 176024 80247744 AEA001D4 */ sw $zero, 0x1d4($s5) +/* 176028 80247748 8EA401E8 */ lw $a0, 0x1e8($s5) +/* 17602C 8024774C 0C0B1059 */ jal does_script_exist +/* 176030 80247750 00000000 */ nop +/* 176034 80247754 1440009D */ bnez $v0, .L802479CC +/* 176038 80247758 00000000 */ nop +.L8024775C: +/* 17603C 8024775C 1280000A */ beqz $s4, .L80247788 +/* 176040 80247760 AEA001D8 */ sw $zero, 0x1d8($s5) +/* 176044 80247764 8E8201D8 */ lw $v0, 0x1d8($s4) +/* 176048 80247768 50400007 */ beql $v0, $zero, .L80247788 +/* 17604C 8024776C AE8001D8 */ sw $zero, 0x1d8($s4) +/* 176050 80247770 8E8401E8 */ lw $a0, 0x1e8($s4) +/* 176054 80247774 0C0B1059 */ jal does_script_exist +/* 176058 80247778 00000000 */ nop +/* 17605C 8024777C 14400093 */ bnez $v0, .L802479CC +/* 176060 80247780 00000000 */ nop +/* 176064 80247784 AE8001D8 */ sw $zero, 0x1d8($s4) +.L80247788: +/* 176068 80247788 0000982D */ daddu $s3, $zero, $zero +/* 17606C 8024778C 0260882D */ daddu $s1, $s3, $zero +/* 176070 80247790 02C0902D */ daddu $s2, $s6, $zero +.L80247794: +/* 176074 80247794 8E5000E0 */ lw $s0, 0xe0($s2) +/* 176078 80247798 5200000B */ beql $s0, $zero, .L802477C8 +/* 17607C 8024779C 26310001 */ addiu $s1, $s1, 1 +/* 176080 802477A0 8E0201D8 */ lw $v0, 0x1d8($s0) +/* 176084 802477A4 50400008 */ beql $v0, $zero, .L802477C8 +/* 176088 802477A8 26310001 */ addiu $s1, $s1, 1 +/* 17608C 802477AC 8E0401E8 */ lw $a0, 0x1e8($s0) +/* 176090 802477B0 0C0B1059 */ jal does_script_exist +/* 176094 802477B4 00000000 */ nop +/* 176098 802477B8 50400002 */ beql $v0, $zero, .L802477C4 +/* 17609C 802477BC AE0001D8 */ sw $zero, 0x1d8($s0) +/* 1760A0 802477C0 24130001 */ addiu $s3, $zero, 1 +.L802477C4: +/* 1760A4 802477C4 26310001 */ addiu $s1, $s1, 1 +.L802477C8: +/* 1760A8 802477C8 2A220018 */ slti $v0, $s1, 0x18 +/* 1760AC 802477CC 1440FFF1 */ bnez $v0, .L80247794 +/* 1760B0 802477D0 26520004 */ addiu $s2, $s2, 4 +/* 1760B4 802477D4 1660007D */ bnez $s3, .L802479CC +/* 1760B8 802477D8 00000000 */ nop +/* 1760BC 802477DC 0C098D19 */ jal func_80263464 +/* 1760C0 802477E0 00000000 */ nop +func_802477E4: +/* 1760C4 802477E4 144000BB */ bnez $v0, .L80247AD4 +/* 1760C8 802477E8 0000882D */ daddu $s1, $zero, $zero +/* 1760CC 802477EC 02C0902D */ daddu $s2, $s6, $zero +.L802477F0: +/* 1760D0 802477F0 8E5000E0 */ lw $s0, 0xe0($s2) +/* 1760D4 802477F4 5200000B */ beql $s0, $zero, .L80247824 +/* 1760D8 802477F8 26310001 */ addiu $s1, $s1, 1 +/* 1760DC 802477FC 8E0201D4 */ lw $v0, 0x1d4($s0) +/* 1760E0 80247800 50400008 */ beql $v0, $zero, .L80247824 +/* 1760E4 80247804 26310001 */ addiu $s1, $s1, 1 +/* 1760E8 80247808 8E0401E4 */ lw $a0, 0x1e4($s0) +/* 1760EC 8024780C 0C0B1059 */ jal does_script_exist +/* 1760F0 80247810 00000000 */ nop +/* 1760F4 80247814 50400002 */ beql $v0, $zero, .L80247820 +/* 1760F8 80247818 AE0001D4 */ sw $zero, 0x1d4($s0) +/* 1760FC 8024781C 24130001 */ addiu $s3, $zero, 1 +.L80247820: +/* 176100 80247820 26310001 */ addiu $s1, $s1, 1 +.L80247824: +/* 176104 80247824 2A220018 */ slti $v0, $s1, 0x18 +/* 176108 80247828 1440FFF1 */ bnez $v0, .L802477F0 +/* 17610C 8024782C 26520004 */ addiu $s2, $s2, 4 +/* 176110 80247830 12600006 */ beqz $s3, .L8024784C +/* 176114 80247834 3C030020 */ lui $v1, 0x20 +/* 176118 80247838 3C02800E */ lui $v0, 0x800e +/* 17611C 8024783C 8C42C070 */ lw $v0, -0x3f90($v0) +/* 176120 80247840 00431024 */ and $v0, $v0, $v1 +/* 176124 80247844 10400061 */ beqz $v0, .L802479CC +/* 176128 80247848 00000000 */ nop +.L8024784C: +/* 17612C 8024784C 3C04800E */ lui $a0, 0x800e +/* 176130 80247850 2484C070 */ addiu $a0, $a0, -0x3f90 +/* 176134 80247854 8C820000 */ lw $v0, ($a0) +/* 176138 80247858 2403FEFF */ addiu $v1, $zero, -0x101 +/* 17613C 8024785C 00431024 */ and $v0, $v0, $v1 +/* 176140 80247860 AC820000 */ sw $v0, ($a0) +/* 176144 80247864 8C820004 */ lw $v0, 4($a0) +/* 176148 80247868 2403BFFF */ addiu $v1, $zero, -0x4001 +/* 17614C 8024786C 00431024 */ and $v0, $v0, $v1 +/* 176150 80247870 0C098D0D */ jal func_80263434 +/* 176154 80247874 AC820004 */ sw $v0, 4($a0) +/* 176158 80247878 14400096 */ bnez $v0, .L80247AD4 +/* 17615C 8024787C 00000000 */ nop +/* 176160 80247880 82C2008C */ lb $v0, 0x8c($s6) +/* 176164 80247884 14400051 */ bnez $v0, .L802479CC +/* 176168 80247888 00000000 */ nop +/* 17616C 8024788C 3C028007 */ lui $v0, 0x8007 +/* 176170 80247890 8C42419C */ lw $v0, 0x419c($v0) +/* 176174 80247894 904200AA */ lbu $v0, 0xaa($v0) +/* 176178 80247898 30420001 */ andi $v0, $v0, 1 +/* 17617C 8024789C 10400005 */ beqz $v0, .L802478B4 +/* 176180 802478A0 00000000 */ nop +/* 176184 802478A4 0C090464 */ jal func_80241190 +/* 176188 802478A8 24040023 */ addiu $a0, $zero, 0x23 +/* 17618C 802478AC 08091E73 */ j func_802479CC +/* 176190 802478B0 00000000 */ nop + +.L802478B4: +/* 176194 802478B4 0C099DDF */ jal func_8026777C +/* 176198 802478B8 00000000 */ nop +/* 17619C 802478BC 82A2021C */ lb $v0, 0x21c($s5) +/* 1761A0 802478C0 1040003F */ beqz $v0, .L802479C0 +/* 1761A4 802478C4 3C030C00 */ lui $v1, 0xc00 +/* 1761A8 802478C8 8EA20000 */ lw $v0, ($s5) +/* 1761AC 802478CC 00431025 */ or $v0, $v0, $v1 +/* 1761B0 802478D0 12800004 */ beqz $s4, .L802478E4 +/* 1761B4 802478D4 AEA20000 */ sw $v0, ($s5) +/* 1761B8 802478D8 8E820000 */ lw $v0, ($s4) +/* 1761BC 802478DC 00431025 */ or $v0, $v0, $v1 +/* 1761C0 802478E0 AE820000 */ sw $v0, ($s4) +.L802478E4: +/* 1761C4 802478E4 0C093903 */ jal func_8024E40C +/* 1761C8 802478E8 24040021 */ addiu $a0, $zero, 0x21 +/* 1761CC 802478EC 92A2021C */ lbu $v0, 0x21c($s5) +/* 1761D0 802478F0 2442FFFC */ addiu $v0, $v0, -4 +/* 1761D4 802478F4 00021600 */ sll $v0, $v0, 0x18 +/* 1761D8 802478F8 00021E03 */ sra $v1, $v0, 0x18 +/* 1761DC 802478FC 2C620007 */ sltiu $v0, $v1, 7 +/* 1761E0 80247900 10400012 */ beqz $v0, .L8024794C +/* 1761E4 80247904 00031080 */ sll $v0, $v1, 2 +/* 1761E8 80247908 3C01802A */ lui $at, 0x802a +/* 1761EC 8024790C 00220821 */ addu $at, $at, $v0 +/* 1761F0 80247910 8C22CBC0 */ lw $v0, -0x3440($at) +/* 1761F4 80247914 00400008 */ jr $v0 +/* 1761F8 80247918 00000000 */ nop +/* 1761FC 8024791C 08091E57 */ j func_8024795C +/* 176200 80247920 2404000A */ addiu $a0, $zero, 0xa + +/* 176204 80247924 08091E57 */ j func_8024795C +/* 176208 80247928 2404000B */ addiu $a0, $zero, 0xb + +/* 17620C 8024792C 08091E57 */ j func_8024795C +/* 176210 80247930 2404000C */ addiu $a0, $zero, 0xc + +/* 176214 80247934 08091E57 */ j func_8024795C +/* 176218 80247938 2404000D */ addiu $a0, $zero, 0xd + +/* 17621C 8024793C 08091E57 */ j func_8024795C +/* 176220 80247940 2404000E */ addiu $a0, $zero, 0xe + +/* 176224 80247944 08091E57 */ j func_8024795C +/* 176228 80247948 2404000F */ addiu $a0, $zero, 0xf + +.L8024794C: +/* 17622C 8024794C 0000202D */ daddu $a0, $zero, $zero +/* 176230 80247950 24020014 */ addiu $v0, $zero, 0x14 +/* 176234 80247954 3C01800E */ lui $at, 0x800e +/* 176238 80247958 AC22C4DC */ sw $v0, -0x3b24($at) +func_8024795C: +/* 17623C 8024795C 0C093E58 */ jal show_battle_message +/* 176240 80247960 2405003C */ addiu $a1, $zero, 0x3c +/* 176244 80247964 2402000B */ addiu $v0, $zero, 0xb +/* 176248 80247968 08091E71 */ j func_802479C4 +/* 17624C 8024796C A2A0021C */ sb $zero, 0x21c($s5) + +/* 176250 80247970 0C093EAD */ jal is_popup_displayed +/* 176254 80247974 00000000 */ nop +/* 176258 80247978 14400014 */ bnez $v0, .L802479CC +/* 17625C 8024797C 00000000 */ nop +/* 176260 80247980 0C093903 */ jal func_8024E40C +/* 176264 80247984 24040002 */ addiu $a0, $zero, 2 +/* 176268 80247988 0C093936 */ jal move_cam_over +/* 17626C 8024798C 2404000F */ addiu $a0, $zero, 0xf +/* 176270 80247990 2402000A */ addiu $v0, $zero, 0xa +/* 176274 80247994 3C01802A */ lui $at, 0x802a +/* 176278 80247998 AC22F248 */ sw $v0, -0xdb8($at) +/* 17627C 8024799C 08091E71 */ j func_802479C4 +/* 176280 802479A0 2402000C */ addiu $v0, $zero, 0xc + +/* 176284 802479A4 3C03802A */ lui $v1, 0x802a +/* 176288 802479A8 2463F248 */ addiu $v1, $v1, -0xdb8 +/* 17628C 802479AC 8C620000 */ lw $v0, ($v1) +/* 176290 802479B0 10400003 */ beqz $v0, .L802479C0 +/* 176294 802479B4 2442FFFF */ addiu $v0, $v0, -1 +/* 176298 802479B8 08091E73 */ j func_802479CC +/* 17629C 802479BC AC620000 */ sw $v0, ($v1) + +.L802479C0: +/* 1762A0 802479C0 24020014 */ addiu $v0, $zero, 0x14 +func_802479C4: +.L802479C4: +/* 1762A4 802479C4 3C01800E */ lui $at, 0x800e +/* 1762A8 802479C8 AC22C4DC */ sw $v0, -0x3b24($at) +func_802479CC: +.L802479CC: +/* 1762AC 802479CC 3C10800E */ lui $s0, 0x800e +func_802479D0: +/* 1762B0 802479D0 2610C4DC */ addiu $s0, $s0, -0x3b24 +/* 1762B4 802479D4 8E030000 */ lw $v1, ($s0) +/* 1762B8 802479D8 24110015 */ addiu $s1, $zero, 0x15 +/* 1762BC 802479DC 10710020 */ beq $v1, $s1, .L80247A60 +/* 1762C0 802479E0 28620016 */ slti $v0, $v1, 0x16 +/* 1762C4 802479E4 10400005 */ beqz $v0, .L802479FC +/* 1762C8 802479E8 24020014 */ addiu $v0, $zero, 0x14 +/* 1762CC 802479EC 10620008 */ beq $v1, $v0, .L80247A10 +/* 1762D0 802479F0 00000000 */ nop +/* 1762D4 802479F4 08091EAE */ j func_80247AB8 +/* 1762D8 802479F8 00000000 */ nop + +.L802479FC: +/* 1762DC 802479FC 24020016 */ addiu $v0, $zero, 0x16 +/* 1762E0 80247A00 10620024 */ beq $v1, $v0, .L80247A94 +/* 1762E4 80247A04 00000000 */ nop +/* 1762E8 80247A08 08091EAE */ j func_80247AB8 +/* 1762EC 80247A0C 00000000 */ nop + +.L80247A10: +/* 1762F0 80247A10 12800027 */ beqz $s4, .L80247AB0 +/* 1762F4 80247A14 2402000D */ addiu $v0, $zero, 0xd +/* 1762F8 80247A18 8283021C */ lb $v1, 0x21c($s4) +/* 1762FC 80247A1C 14620025 */ bne $v1, $v0, .L80247AB4 +/* 176300 80247A20 2402001E */ addiu $v0, $zero, 0x1e +/* 176304 80247A24 8EA20000 */ lw $v0, ($s5) +/* 176308 80247A28 3C030C00 */ lui $v1, 0xc00 +func_80247A2C: +/* 17630C 80247A2C 00431025 */ or $v0, $v0, $v1 +/* 176310 80247A30 AEA20000 */ sw $v0, ($s5) +/* 176314 80247A34 8E820000 */ lw $v0, ($s4) +/* 176318 80247A38 24040036 */ addiu $a0, $zero, 0x36 +/* 17631C 80247A3C 00431025 */ or $v0, $v0, $v1 +/* 176320 80247A40 0C093903 */ jal func_8024E40C +/* 176324 80247A44 AE820000 */ sw $v0, ($s4) +/* 176328 80247A48 24040023 */ addiu $a0, $zero, 0x23 +/* 17632C 80247A4C 0C093E58 */ jal show_battle_message +/* 176330 80247A50 2405003C */ addiu $a1, $zero, 0x3c +/* 176334 80247A54 A280021C */ sb $zero, 0x21c($s4) +/* 176338 80247A58 08091EAE */ j func_80247AB8 +/* 17633C 80247A5C AE110000 */ sw $s1, ($s0) + +.L80247A60: +/* 176340 80247A60 0C093EAD */ jal is_popup_displayed +/* 176344 80247A64 00000000 */ nop +/* 176348 80247A68 14400013 */ bnez $v0, .L80247AB8 +/* 17634C 80247A6C 00000000 */ nop +/* 176350 80247A70 0C093903 */ jal func_8024E40C +/* 176354 80247A74 24040002 */ addiu $a0, $zero, 2 +/* 176358 80247A78 0C093936 */ jal move_cam_over +/* 17635C 80247A7C 2404000F */ addiu $a0, $zero, 0xf +/* 176360 80247A80 2402000A */ addiu $v0, $zero, 0xa +/* 176364 80247A84 3C01802A */ lui $at, 0x802a +/* 176368 80247A88 AC22F248 */ sw $v0, -0xdb8($at) +/* 17636C 80247A8C 08091EAD */ j func_80247AB4 +/* 176370 80247A90 24020016 */ addiu $v0, $zero, 0x16 + +.L80247A94: +/* 176374 80247A94 3C03802A */ lui $v1, 0x802a +/* 176378 80247A98 2463F248 */ addiu $v1, $v1, -0xdb8 +/* 17637C 80247A9C 8C620000 */ lw $v0, ($v1) +/* 176380 80247AA0 10400003 */ beqz $v0, .L80247AB0 +/* 176384 80247AA4 2442FFFF */ addiu $v0, $v0, -1 +/* 176388 80247AA8 08091EAE */ j func_80247AB8 +/* 17638C 80247AAC AC620000 */ sw $v0, ($v1) + +.L80247AB0: +/* 176390 80247AB0 2402001E */ addiu $v0, $zero, 0x1e +func_80247AB4: +.L80247AB4: +/* 176394 80247AB4 AE020000 */ sw $v0, ($s0) +func_80247AB8: +.L80247AB8: +/* 176398 80247AB8 3C03800E */ lui $v1, 0x800e +/* 17639C 80247ABC 8C63C4DC */ lw $v1, -0x3b24($v1) +/* 1763A0 80247AC0 2402001E */ addiu $v0, $zero, 0x1e +/* 1763A4 80247AC4 14620003 */ bne $v1, $v0, .L80247AD4 +/* 1763A8 80247AC8 00000000 */ nop +/* 1763AC 80247ACC 0C090464 */ jal func_80241190 +/* 1763B0 80247AD0 24040014 */ addiu $a0, $zero, 0x14 +.L80247AD4: +/* 1763B4 80247AD4 8FBF002C */ lw $ra, 0x2c($sp) +/* 1763B8 80247AD8 8FB60028 */ lw $s6, 0x28($sp) +/* 1763BC 80247ADC 8FB50024 */ lw $s5, 0x24($sp) +/* 1763C0 80247AE0 8FB40020 */ lw $s4, 0x20($sp) +/* 1763C4 80247AE4 8FB3001C */ lw $s3, 0x1c($sp) +/* 1763C8 80247AE8 8FB20018 */ lw $s2, 0x18($sp) +/* 1763CC 80247AEC 8FB10014 */ lw $s1, 0x14($sp) +/* 1763D0 80247AF0 8FB00010 */ lw $s0, 0x10($sp) +/* 1763D4 80247AF4 03E00008 */ jr $ra +/* 1763D8 80247AF8 27BD0030 */ addiu $sp, $sp, 0x30 + +func_80247AFC: +/* 1763DC 80247AFC 03E00008 */ jr $ra +/* 1763E0 80247B00 00000000 */ nop + +func_80247B04: +/* 1763E4 80247B04 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* 1763E8 80247B08 AFB10014 */ sw $s1, 0x14($sp) +/* 1763EC 80247B0C 3C118011 */ lui $s1, 0x8011 +/* 1763F0 80247B10 2631F290 */ addiu $s1, $s1, -0xd70 +/* 1763F4 80247B14 AFB40020 */ sw $s4, 0x20($sp) +/* 1763F8 80247B18 3C14800E */ lui $s4, 0x800e +/* 1763FC 80247B1C 2694C070 */ addiu $s4, $s4, -0x3f90 +/* 176400 80247B20 AFB3001C */ sw $s3, 0x1c($sp) +/* 176404 80247B24 3C13800B */ lui $s3, 0x800b +/* 176408 80247B28 26730F10 */ addiu $s3, $s3, 0xf10 +/* 17640C 80247B2C AFB60028 */ sw $s6, 0x28($sp) +/* 176410 80247B30 3C16800E */ lui $s6, 0x800e +/* 176414 80247B34 26D6C4DC */ addiu $s6, $s6, -0x3b24 +/* 176418 80247B38 AFB20018 */ sw $s2, 0x18($sp) +/* 17641C 80247B3C 24120001 */ addiu $s2, $zero, 1 +/* 176420 80247B40 AFBF002C */ sw $ra, 0x2c($sp) +/* 176424 80247B44 AFB50024 */ sw $s5, 0x24($sp) +/* 176428 80247B48 AFB00010 */ sw $s0, 0x10($sp) +/* 17642C 80247B4C 8E9500D8 */ lw $s5, 0xd8($s4) +/* 176430 80247B50 8EC30000 */ lw $v1, ($s6) +/* 176434 80247B54 8E9000DC */ lw $s0, 0xdc($s4) +/* 176438 80247B58 10720077 */ beq $v1, $s2, .L80247D38 +/* 17643C 80247B5C 28620002 */ slti $v0, $v1, 2 +/* 176440 80247B60 50400005 */ beql $v0, $zero, .L80247B78 +/* 176444 80247B64 24020002 */ addiu $v0, $zero, 2 +/* 176448 80247B68 10600009 */ beqz $v1, .L80247B90 +/* 17644C 80247B6C 00000000 */ nop +/* 176450 80247B70 08092032 */ j func_802480C8 +/* 176454 80247B74 00000000 */ nop + +.L80247B78: +/* 176458 80247B78 106200A4 */ beq $v1, $v0, .L80247E0C +/* 17645C 80247B7C 24020003 */ addiu $v0, $zero, 3 +/* 176460 80247B80 10620131 */ beq $v1, $v0, .L80248048 +/* 176464 80247B84 0000982D */ daddu $s3, $zero, $zero +/* 176468 80247B88 08092032 */ j func_802480C8 +/* 17646C 80247B8C 00000000 */ nop + +.L80247B90: +/* 176470 80247B90 3C01802A */ lui $at, 0x802a +/* 176474 80247B94 AC20F254 */ sw $zero, -0xdac($at) +/* 176478 80247B98 0C0903F7 */ jal func_80240FDC +/* 17647C 80247B9C 00000000 */ nop +/* 176480 80247BA0 9623029C */ lhu $v1, 0x29c($s1) +/* 176484 80247BA4 2C62270F */ sltiu $v0, $v1, 0x270f +/* 176488 80247BA8 10400002 */ beqz $v0, .L80247BB4 +/* 17648C 80247BAC 24620001 */ addiu $v0, $v1, 1 +func_80247BB0: +/* 176490 80247BB0 A622029C */ sh $v0, 0x29c($s1) +.L80247BB4: +/* 176494 80247BB4 3C03F7FF */ lui $v1, 0xf7ff +func_80247BB8: +/* 176498 80247BB8 8E820004 */ lw $v0, 4($s4) +/* 17649C 80247BBC 3463FFFF */ ori $v1, $v1, 0xffff +/* 1764A0 80247BC0 A2800099 */ sb $zero, 0x99($s4) +/* 1764A4 80247BC4 00431824 */ and $v1, $v0, $v1 +/* 1764A8 80247BC8 30420040 */ andi $v0, $v0, 0x40 +/* 1764AC 80247BCC 14400023 */ bnez $v0, .L80247C5C +/* 1764B0 80247BD0 AE830004 */ sw $v1, 4($s4) +/* 1764B4 80247BD4 82220002 */ lb $v0, 2($s1) +/* 1764B8 80247BD8 28420002 */ slti $v0, $v0, 2 +/* 1764BC 80247BDC 1040000B */ beqz $v0, .L80247C0C +/* 1764C0 80247BE0 00000000 */ nop +/* 1764C4 80247BE4 0C03A752 */ jal is_ability_active +/* 1764C8 80247BE8 24040014 */ addiu $a0, $zero, 0x14 +/* 1764CC 80247BEC 10400007 */ beqz $v0, .L80247C0C +/* 1764D0 80247BF0 3C020800 */ lui $v0, 0x800 +/* 1764D4 80247BF4 8E830004 */ lw $v1, 4($s4) +/* 1764D8 80247BF8 92840099 */ lbu $a0, 0x99($s4) +/* 1764DC 80247BFC 00621825 */ or $v1, $v1, $v0 +/* 1764E0 80247C00 34840001 */ ori $a0, $a0, 1 +/* 1764E4 80247C04 AE830004 */ sw $v1, 4($s4) +/* 1764E8 80247C08 A2840099 */ sb $a0, 0x99($s4) +.L80247C0C: +/* 1764EC 80247C0C 82220002 */ lb $v0, 2($s1) +/* 1764F0 80247C10 28420006 */ slti $v0, $v0, 6 +/* 1764F4 80247C14 10400011 */ beqz $v0, .L80247C5C +/* 1764F8 80247C18 00000000 */ nop +/* 1764FC 80247C1C 0C03A752 */ jal is_ability_active +/* 176500 80247C20 2404001E */ addiu $a0, $zero, 0x1e +/* 176504 80247C24 1040000D */ beqz $v0, .L80247C5C +/* 176508 80247C28 00000000 */ nop +/* 17650C 80247C2C 92820099 */ lbu $v0, 0x99($s4) +/* 176510 80247C30 30420001 */ andi $v0, $v0, 1 +/* 176514 80247C34 14400009 */ bnez $v0, .L80247C5C +/* 176518 80247C38 3C040800 */ lui $a0, 0x800 +/* 17651C 80247C3C 3C05800E */ lui $a1, 0x800e +/* 176520 80247C40 24A5C070 */ addiu $a1, $a1, -0x3f90 +/* 176524 80247C44 8CA20004 */ lw $v0, 4($a1) +/* 176528 80247C48 92830099 */ lbu $v1, 0x99($s4) +/* 17652C 80247C4C 00441025 */ or $v0, $v0, $a0 +/* 176530 80247C50 34630002 */ ori $v1, $v1, 2 +/* 176534 80247C54 ACA20004 */ sw $v0, 4($a1) +/* 176538 80247C58 A2830099 */ sb $v1, 0x99($s4) +.L80247C5C: +/* 17653C 80247C5C 82630005 */ lb $v1, 5($s3) +/* 176540 80247C60 24020004 */ addiu $v0, $zero, 4 +/* 176544 80247C64 10620013 */ beq $v1, $v0, .L80247CB4 +/* 176548 80247C68 28620005 */ slti $v0, $v1, 5 +/* 17654C 80247C6C 10400005 */ beqz $v0, .L80247C84 +/* 176550 80247C70 24020002 */ addiu $v0, $zero, 2 +/* 176554 80247C74 50620008 */ beql $v1, $v0, .L80247C98 +/* 176558 80247C78 A2800178 */ sb $zero, 0x178($s4) +/* 17655C 80247C7C 08091F38 */ j func_80247CE0 +/* 176560 80247C80 00000000 */ nop + +.L80247C84: +/* 176564 80247C84 24020006 */ addiu $v0, $zero, 6 +/* 176568 80247C88 1062010D */ beq $v1, $v0, .L802480C0 +/* 17656C 80247C8C 24040003 */ addiu $a0, $zero, 3 +/* 176570 80247C90 08091F38 */ j func_80247CE0 +/* 176574 80247C94 00000000 */ nop + +.L80247C98: +/* 176578 80247C98 92620006 */ lbu $v0, 6($s3) +/* 17657C 80247C9C 2403001D */ addiu $v1, $zero, 0x1d +/* 176580 80247CA0 A683017C */ sh $v1, 0x17c($s4) +/* 176584 80247CA4 3C038009 */ lui $v1, 0x8009 +/* 176588 80247CA8 8C63F2A8 */ lw $v1, -0xd58($v1) +/* 17658C 80247CAC 08091F35 */ j func_80247CD4 +/* 176590 80247CB0 00021600 */ sll $v0, $v0, 0x18 + +.L80247CB4: +/* 176594 80247CB4 24020001 */ addiu $v0, $zero, 1 +/* 176598 80247CB8 A2820178 */ sb $v0, 0x178($s4) +/* 17659C 80247CBC 92620006 */ lbu $v0, 6($s3) +/* 1765A0 80247CC0 24030006 */ addiu $v1, $zero, 6 +/* 1765A4 80247CC4 A683017C */ sh $v1, 0x17c($s4) +/* 1765A8 80247CC8 3C038009 */ lui $v1, 0x8009 +/* 1765AC 80247CCC 8C63F0DC */ lw $v1, -0xf24($v1) +/* 1765B0 80247CD0 00021600 */ sll $v0, $v0, 0x18 +func_80247CD4: +/* 1765B4 80247CD4 00021603 */ sra $v0, $v0, 0x18 +/* 1765B8 80247CD8 A682017A */ sh $v0, 0x17a($s4) +/* 1765BC 80247CDC AE830184 */ sw $v1, 0x184($s4) +func_80247CE0: +/* 1765C0 80247CE0 0C09A75B */ jal get_actor +/* 1765C4 80247CE4 24040200 */ addiu $a0, $zero, 0x200 +/* 1765C8 80247CE8 0040802D */ daddu $s0, $v0, $zero +/* 1765CC 80247CEC 8E0201C8 */ lw $v0, 0x1c8($s0) +/* 1765D0 80247CF0 1040000C */ beqz $v0, .L80247D24 +func_80247CF4: +/* 1765D4 80247CF4 2405000A */ addiu $a1, $zero, 0xa +/* 1765D8 80247CF8 24060020 */ addiu $a2, $zero, 0x20 +/* 1765DC 80247CFC 0040202D */ daddu $a0, $v0, $zero +/* 1765E0 80247D00 24020038 */ addiu $v0, $zero, 0x38 +/* 1765E4 80247D04 0C0B0CF8 */ jal start_script +/* 1765E8 80247D08 A20201F0 */ sb $v0, 0x1f0($s0) +/* 1765EC 80247D0C 0040202D */ daddu $a0, $v0, $zero +/* 1765F0 80247D10 AE0401D8 */ sw $a0, 0x1d8($s0) +/* 1765F4 80247D14 8C820144 */ lw $v0, 0x144($a0) +/* 1765F8 80247D18 86030192 */ lh $v1, 0x192($s0) +/* 1765FC 80247D1C AE0201E8 */ sw $v0, 0x1e8($s0) +/* 176600 80247D20 AC830148 */ sw $v1, 0x148($a0) +.L80247D24: +/* 176604 80247D24 24020001 */ addiu $v0, $zero, 1 +/* 176608 80247D28 3C01800E */ lui $at, 0x800e +/* 17660C 80247D2C AC22C4DC */ sw $v0, -0x3b24($at) +/* 176610 80247D30 08092032 */ j func_802480C8 +/* 176614 80247D34 00000000 */ nop + +.L80247D38: +/* 176618 80247D38 0C09A75B */ jal get_actor +/* 17661C 80247D3C 24040200 */ addiu $a0, $zero, 0x200 +/* 176620 80247D40 0040802D */ daddu $s0, $v0, $zero +/* 176624 80247D44 8E0201C8 */ lw $v0, 0x1c8($s0) +/* 176628 80247D48 10400007 */ beqz $v0, .L80247D68 +/* 17662C 80247D4C 02A0202D */ daddu $a0, $s5, $zero +/* 176630 80247D50 8E0401E8 */ lw $a0, 0x1e8($s0) +/* 176634 80247D54 0C0B1059 */ jal does_script_exist +/* 176638 80247D58 00000000 */ nop +/* 17663C 80247D5C 144000DA */ bnez $v0, .L802480C8 +/* 176640 80247D60 02A0202D */ daddu $a0, $s5, $zero +/* 176644 80247D64 AE0001D8 */ sw $zero, 0x1d8($s0) +.L80247D68: +/* 176648 80247D68 0C098C8C */ jal func_80263230 +/* 17664C 80247D6C 0200282D */ daddu $a1, $s0, $zero +/* 176650 80247D70 3C05FFF7 */ lui $a1, 0xfff7 +/* 176654 80247D74 34A5FFFF */ ori $a1, $a1, 0xffff +/* 176658 80247D78 8E840000 */ lw $a0, ($s4) +/* 17665C 80247D7C 2402FFFD */ addiu $v0, $zero, -3 +/* 176660 80247D80 00822024 */ and $a0, $a0, $v0 +/* 176664 80247D84 8E820004 */ lw $v0, 4($s4) +/* 176668 80247D88 3C030100 */ lui $v1, 0x100 +/* 17666C 80247D8C A280008C */ sb $zero, 0x8c($s4) +/* 176670 80247D90 A6800180 */ sh $zero, 0x180($s4) +/* 176674 80247D94 A280019A */ sb $zero, 0x19a($s4) +/* 176678 80247D98 AE840000 */ sw $a0, ($s4) +/* 17667C 80247D9C 00852024 */ and $a0, $a0, $a1 +/* 176680 80247DA0 AE840000 */ sw $a0, ($s4) +/* 176684 80247DA4 00431025 */ or $v0, $v0, $v1 +/* 176688 80247DA8 0C03A6D5 */ jal increment_status_menu_disabled +/* 17668C 80247DAC AE820004 */ sw $v0, 4($s4) +/* 176690 80247DB0 0C093903 */ jal func_8024E40C +/* 176694 80247DB4 2404000A */ addiu $a0, $zero, 0xa +/* 176698 80247DB8 0C09390F */ jal cam_target_actor +/* 17669C 80247DBC 0000202D */ daddu $a0, $zero, $zero +/* 1766A0 80247DC0 0C098F18 */ jal func_80263C60 +/* 1766A4 80247DC4 00000000 */ nop +/* 1766A8 80247DC8 3C048028 */ lui $a0, 0x8028 +/* 1766AC 80247DCC 24844EBC */ addiu $a0, $a0, 0x4ebc +/* 1766B0 80247DD0 2405000A */ addiu $a1, $zero, 0xa +/* 1766B4 80247DD4 0000302D */ daddu $a2, $zero, $zero +/* 1766B8 80247DD8 0C0B0CF8 */ jal start_script +/* 1766BC 80247DDC A29201A7 */ sb $s2, 0x1a7($s4) +/* 1766C0 80247DE0 0040202D */ daddu $a0, $v0, $zero +/* 1766C4 80247DE4 AEA401D4 */ sw $a0, 0x1d4($s5) +/* 1766C8 80247DE8 8C830144 */ lw $v1, 0x144($a0) +/* 1766CC 80247DEC 24020003 */ addiu $v0, $zero, 3 +/* 1766D0 80247DF0 3C01802A */ lui $at, 0x802a +/* 1766D4 80247DF4 AC22F248 */ sw $v0, -0xdb8($at) +/* 1766D8 80247DF8 24020002 */ addiu $v0, $zero, 2 +/* 1766DC 80247DFC AEC20000 */ sw $v0, ($s6) +/* 1766E0 80247E00 AEA301E4 */ sw $v1, 0x1e4($s5) +/* 1766E4 80247E04 08092032 */ j func_802480C8 +/* 1766E8 80247E08 AC800148 */ sw $zero, 0x148($a0) + +.L80247E0C: +/* 1766EC 80247E0C 3C03802A */ lui $v1, 0x802a +/* 1766F0 80247E10 2463F248 */ addiu $v1, $v1, -0xdb8 +/* 1766F4 80247E14 8C620000 */ lw $v0, ($v1) +/* 1766F8 80247E18 10400003 */ beqz $v0, .L80247E28 +/* 1766FC 80247E1C 2442FFFF */ addiu $v0, $v0, -1 +/* 176700 80247E20 08091F8C */ j func_80247E30 +/* 176704 80247E24 AC620000 */ sw $v0, ($v1) + +.L80247E28: +/* 176708 80247E28 3C01802A */ lui $at, 0x802a +/* 17670C 80247E2C AC32F254 */ sw $s2, -0xdac($at) +func_80247E30: +/* 176710 80247E30 3C02800E */ lui $v0, 0x800e +/* 176714 80247E34 8C42C070 */ lw $v0, -0x3f90($v0) +/* 176718 80247E38 3C030020 */ lui $v1, 0x20 +/* 17671C 80247E3C 00431024 */ and $v0, $v0, $v1 +/* 176720 80247E40 1440000A */ bnez $v0, .L80247E6C +/* 176724 80247E44 00000000 */ nop +/* 176728 80247E48 8EA201D4 */ lw $v0, 0x1d4($s5) +/* 17672C 80247E4C 50400007 */ beql $v0, $zero, .L80247E6C +/* 176730 80247E50 AEA001D4 */ sw $zero, 0x1d4($s5) +/* 176734 80247E54 8EA401E4 */ lw $a0, 0x1e4($s5) +/* 176738 80247E58 0C0B1059 */ jal does_script_exist +/* 17673C 80247E5C 00000000 */ nop +/* 176740 80247E60 14400099 */ bnez $v0, .L802480C8 +/* 176744 80247E64 00000000 */ nop +/* 176748 80247E68 AEA001D4 */ sw $zero, 0x1d4($s5) +.L80247E6C: +/* 17674C 80247E6C 3C04800E */ lui $a0, 0x800e +/* 176750 80247E70 2484C070 */ addiu $a0, $a0, -0x3f90 +/* 176754 80247E74 8C820000 */ lw $v0, ($a0) +/* 176758 80247E78 2403FEFF */ addiu $v1, $zero, -0x101 +/* 17675C 80247E7C 00431024 */ and $v0, $v0, $v1 +/* 176760 80247E80 AC820000 */ sw $v0, ($a0) +/* 176764 80247E84 8EA201D8 */ lw $v0, 0x1d8($s5) +/* 176768 80247E88 10400005 */ beqz $v0, .L80247EA0 +/* 17676C 80247E8C 00000000 */ nop +/* 176770 80247E90 0C0B1059 */ jal does_script_exist +/* 176774 80247E94 8EA401E8 */ lw $a0, 0x1e8($s5) +/* 176778 80247E98 1440008B */ bnez $v0, .L802480C8 +/* 17677C 80247E9C 00000000 */ nop +.L80247EA0: +/* 176780 80247EA0 1200000A */ beqz $s0, .L80247ECC +/* 176784 80247EA4 AEA001D8 */ sw $zero, 0x1d8($s5) +/* 176788 80247EA8 8E0201D8 */ lw $v0, 0x1d8($s0) +/* 17678C 80247EAC 50400007 */ beql $v0, $zero, .L80247ECC +/* 176790 80247EB0 AE0001D8 */ sw $zero, 0x1d8($s0) +/* 176794 80247EB4 8E0401E8 */ lw $a0, 0x1e8($s0) +/* 176798 80247EB8 0C0B1059 */ jal does_script_exist +/* 17679C 80247EBC 00000000 */ nop +/* 1767A0 80247EC0 14400081 */ bnez $v0, .L802480C8 +/* 1767A4 80247EC4 00000000 */ nop +/* 1767A8 80247EC8 AE0001D8 */ sw $zero, 0x1d8($s0) +.L80247ECC: +/* 1767AC 80247ECC 0000982D */ daddu $s3, $zero, $zero +/* 1767B0 80247ED0 0260882D */ daddu $s1, $s3, $zero +/* 1767B4 80247ED4 0280902D */ daddu $s2, $s4, $zero +.L80247ED8: +/* 1767B8 80247ED8 8E5000E0 */ lw $s0, 0xe0($s2) +/* 1767BC 80247EDC 5200000B */ beql $s0, $zero, .L80247F0C +/* 1767C0 80247EE0 26310001 */ addiu $s1, $s1, 1 +/* 1767C4 80247EE4 8E0201D4 */ lw $v0, 0x1d4($s0) +/* 1767C8 80247EE8 50400008 */ beql $v0, $zero, .L80247F0C +/* 1767CC 80247EEC 26310001 */ addiu $s1, $s1, 1 +/* 1767D0 80247EF0 8E0401E4 */ lw $a0, 0x1e4($s0) +/* 1767D4 80247EF4 0C0B1059 */ jal does_script_exist +/* 1767D8 80247EF8 00000000 */ nop +/* 1767DC 80247EFC 50400002 */ beql $v0, $zero, .L80247F08 +/* 1767E0 80247F00 AE0001D4 */ sw $zero, 0x1d4($s0) +/* 1767E4 80247F04 24130001 */ addiu $s3, $zero, 1 +.L80247F08: +/* 1767E8 80247F08 26310001 */ addiu $s1, $s1, 1 +.L80247F0C: +/* 1767EC 80247F0C 2A220018 */ slti $v0, $s1, 0x18 +/* 1767F0 80247F10 1440FFF1 */ bnez $v0, .L80247ED8 +/* 1767F4 80247F14 26520004 */ addiu $s2, $s2, 4 +/* 1767F8 80247F18 1660006B */ bnez $s3, .L802480C8 +/* 1767FC 80247F1C 0000882D */ daddu $s1, $zero, $zero +/* 176800 80247F20 0280902D */ daddu $s2, $s4, $zero +.L80247F24: +/* 176804 80247F24 8E5000E0 */ lw $s0, 0xe0($s2) +/* 176808 80247F28 5200000B */ beql $s0, $zero, .L80247F58 +/* 17680C 80247F2C 26310001 */ addiu $s1, $s1, 1 +/* 176810 80247F30 8E0201D8 */ lw $v0, 0x1d8($s0) +/* 176814 80247F34 50400008 */ beql $v0, $zero, .L80247F58 +/* 176818 80247F38 26310001 */ addiu $s1, $s1, 1 +/* 17681C 80247F3C 8E0401E8 */ lw $a0, 0x1e8($s0) +/* 176820 80247F40 0C0B1059 */ jal does_script_exist +/* 176824 80247F44 00000000 */ nop +/* 176828 80247F48 50400002 */ beql $v0, $zero, .L80247F54 +/* 17682C 80247F4C AE0001D8 */ sw $zero, 0x1d8($s0) +/* 176830 80247F50 24130001 */ addiu $s3, $zero, 1 +.L80247F54: +/* 176834 80247F54 26310001 */ addiu $s1, $s1, 1 +.L80247F58: +/* 176838 80247F58 2A220018 */ slti $v0, $s1, 0x18 +/* 17683C 80247F5C 1440FFF1 */ bnez $v0, .L80247F24 +/* 176840 80247F60 26520004 */ addiu $s2, $s2, 4 +/* 176844 80247F64 16600058 */ bnez $s3, .L802480C8 +/* 176848 80247F68 0000882D */ daddu $s1, $zero, $zero +/* 17684C 80247F6C 3C04FFF7 */ lui $a0, 0xfff7 +/* 176850 80247F70 3484FFFF */ ori $a0, $a0, 0xffff +/* 176854 80247F74 0280182D */ daddu $v1, $s4, $zero +.L80247F78: +/* 176858 80247F78 8C7000E0 */ lw $s0, 0xe0($v1) +/* 17685C 80247F7C 12000004 */ beqz $s0, .L80247F90 +func_80247F80: +/* 176860 80247F80 26310001 */ addiu $s1, $s1, 1 +/* 176864 80247F84 8E020000 */ lw $v0, ($s0) +/* 176868 80247F88 00441024 */ and $v0, $v0, $a0 +/* 17686C 80247F8C AE020000 */ sw $v0, ($s0) +.L80247F90: +/* 176870 80247F90 2A220018 */ slti $v0, $s1, 0x18 +func_80247F94: +/* 176874 80247F94 1440FFF8 */ bnez $v0, .L80247F78 +func_80247F98: +/* 176878 80247F98 24630004 */ addiu $v1, $v1, 4 +/* 17687C 80247F9C 8282008C */ lb $v0, 0x8c($s4) +/* 176880 80247FA0 14400049 */ bnez $v0, .L802480C8 +func_80247FA4: +/* 176884 80247FA4 00000000 */ nop +/* 176888 80247FA8 0C03A6CC */ jal decrement_status_menu_disabled +/* 17688C 80247FAC 00000000 */ nop +/* 176890 80247FB0 3C028007 */ lui $v0, 0x8007 +/* 176894 80247FB4 8C42419C */ lw $v0, 0x419c($v0) +/* 176898 80247FB8 904200AA */ lbu $v0, 0xaa($v0) +/* 17689C 80247FBC 30420001 */ andi $v0, $v0, 1 +/* 1768A0 80247FC0 1440003F */ bnez $v0, .L802480C0 +/* 1768A4 80247FC4 24040023 */ addiu $a0, $zero, 0x23 +/* 1768A8 80247FC8 0C098D19 */ jal func_80263464 +/* 1768AC 80247FCC 00000000 */ nop +/* 1768B0 80247FD0 1440003D */ bnez $v0, .L802480C8 +/* 1768B4 80247FD4 00000000 */ nop +/* 1768B8 80247FD8 0C098D0D */ jal func_80263434 +/* 1768BC 80247FDC 00000000 */ nop +/* 1768C0 80247FE0 14400039 */ bnez $v0, .L802480C8 +/* 1768C4 80247FE4 00000000 */ nop +/* 1768C8 80247FE8 0C09A75B */ jal get_actor +/* 1768CC 80247FEC 86A40428 */ lh $a0, 0x428($s5) +/* 1768D0 80247FF0 0040802D */ daddu $s0, $v0, $zero +/* 1768D4 80247FF4 12000010 */ beqz $s0, .L80248038 +/* 1768D8 80247FF8 24020003 */ addiu $v0, $zero, 3 +/* 1768DC 80247FFC 8E0201C8 */ lw $v0, 0x1c8($s0) +/* 1768E0 80248000 1040000C */ beqz $v0, .L80248034 +/* 1768E4 80248004 2405000A */ addiu $a1, $zero, 0xa +/* 1768E8 80248008 24060020 */ addiu $a2, $zero, 0x20 +/* 1768EC 8024800C 0040202D */ daddu $a0, $v0, $zero +/* 1768F0 80248010 24020035 */ addiu $v0, $zero, 0x35 +/* 1768F4 80248014 0C0B0CF8 */ jal start_script +/* 1768F8 80248018 A20201F0 */ sb $v0, 0x1f0($s0) +/* 1768FC 8024801C 0040202D */ daddu $a0, $v0, $zero +/* 176900 80248020 AE0401D8 */ sw $a0, 0x1d8($s0) +/* 176904 80248024 8C820144 */ lw $v0, 0x144($a0) +/* 176908 80248028 86030192 */ lh $v1, 0x192($s0) +/* 17690C 8024802C AE0201E8 */ sw $v0, 0x1e8($s0) +/* 176910 80248030 AC830148 */ sw $v1, 0x148($a0) +.L80248034: +/* 176914 80248034 24020003 */ addiu $v0, $zero, 3 +.L80248038: +/* 176918 80248038 3C01800E */ lui $at, 0x800e +/* 17691C 8024803C AC22C4DC */ sw $v0, -0x3b24($at) +/* 176920 80248040 08092032 */ j func_802480C8 +/* 176924 80248044 00000000 */ nop + +.L80248048: +/* 176928 80248048 0260882D */ daddu $s1, $s3, $zero +/* 17692C 8024804C 0280902D */ daddu $s2, $s4, $zero +.L80248050: +/* 176930 80248050 8E5000E0 */ lw $s0, 0xe0($s2) +/* 176934 80248054 5200000B */ beql $s0, $zero, .L80248084 +/* 176938 80248058 26310001 */ addiu $s1, $s1, 1 +/* 17693C 8024805C 8E0201D8 */ lw $v0, 0x1d8($s0) +/* 176940 80248060 50400008 */ beql $v0, $zero, .L80248084 +/* 176944 80248064 26310001 */ addiu $s1, $s1, 1 +/* 176948 80248068 8E0401E8 */ lw $a0, 0x1e8($s0) +/* 17694C 8024806C 0C0B1059 */ jal does_script_exist +/* 176950 80248070 00000000 */ nop +/* 176954 80248074 50400002 */ beql $v0, $zero, .L80248080 +/* 176958 80248078 AE0001D8 */ sw $zero, 0x1d8($s0) +/* 17695C 8024807C 24130001 */ addiu $s3, $zero, 1 +.L80248080: +/* 176960 80248080 26310001 */ addiu $s1, $s1, 1 +.L80248084: +/* 176964 80248084 2A220018 */ slti $v0, $s1, 0x18 +/* 176968 80248088 1440FFF1 */ bnez $v0, .L80248050 +/* 17696C 8024808C 26520004 */ addiu $s2, $s2, 4 +/* 176970 80248090 1660000D */ bnez $s3, .L802480C8 +/* 176974 80248094 00000000 */ nop +/* 176978 80248098 8EA201D4 */ lw $v0, 0x1d4($s5) +/* 17697C 8024809C 50400007 */ beql $v0, $zero, .L802480BC +/* 176980 802480A0 AEA001D4 */ sw $zero, 0x1d4($s5) +/* 176984 802480A4 8EA401E4 */ lw $a0, 0x1e4($s5) +/* 176988 802480A8 0C0B1059 */ jal does_script_exist +/* 17698C 802480AC 00000000 */ nop +/* 176990 802480B0 14400005 */ bnez $v0, .L802480C8 +/* 176994 802480B4 00000000 */ nop +/* 176998 802480B8 AEA001D4 */ sw $zero, 0x1d4($s5) +.L802480BC: +/* 17699C 802480BC 24040005 */ addiu $a0, $zero, 5 +.L802480C0: +/* 1769A0 802480C0 0C090464 */ jal func_80241190 +/* 1769A4 802480C4 00000000 */ nop +func_802480C8: +.L802480C8: +/* 1769A8 802480C8 8FBF002C */ lw $ra, 0x2c($sp) +/* 1769AC 802480CC 8FB60028 */ lw $s6, 0x28($sp) +/* 1769B0 802480D0 8FB50024 */ lw $s5, 0x24($sp) +/* 1769B4 802480D4 8FB40020 */ lw $s4, 0x20($sp) +/* 1769B8 802480D8 8FB3001C */ lw $s3, 0x1c($sp) +/* 1769BC 802480DC 8FB20018 */ lw $s2, 0x18($sp) +/* 1769C0 802480E0 8FB10014 */ lw $s1, 0x14($sp) +/* 1769C4 802480E4 8FB00010 */ lw $s0, 0x10($sp) +/* 1769C8 802480E8 03E00008 */ jr $ra +/* 1769CC 802480EC 27BD0030 */ addiu $sp, $sp, 0x30 + +func_802480F0: +/* 1769D0 802480F0 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 1769D4 802480F4 3C038028 */ lui $v1, 0x8028 +/* 1769D8 802480F8 846309F6 */ lh $v1, 0x9f6($v1) +/* 1769DC 802480FC 2402FFFF */ addiu $v0, $zero, -1 +/* 1769E0 80248100 14620020 */ bne $v1, $v0, .L80248184 +/* 1769E4 80248104 AFBF0010 */ sw $ra, 0x10($sp) +/* 1769E8 80248108 3C02802A */ lui $v0, 0x802a +/* 1769EC 8024810C 8C42F254 */ lw $v0, -0xdac($v0) +/* 1769F0 80248110 1040001C */ beqz $v0, .L80248184 +/* 1769F4 80248114 00000000 */ nop +/* 1769F8 80248118 3C048028 */ lui $a0, 0x8028 +/* 1769FC 8024811C 24840A30 */ addiu $a0, $a0, 0xa30 +/* 176A00 80248120 8C830000 */ lw $v1, ($a0) +/* 176A04 80248124 14600004 */ bnez $v1, .L80248138 +/* 176A08 80248128 00000000 */ nop +/* 176A0C 8024812C 3C05BF80 */ lui $a1, 0xbf80 +/* 176A10 80248130 0809205F */ j func_8024817C +func_80248134: +/* 176A14 80248134 240400FF */ addiu $a0, $zero, 0xff + +func_80248138: +.L80248138: +/* 176A18 80248138 3C028007 */ lui $v0, 0x8007 +/* 176A1C 8024813C 8C42419C */ lw $v0, 0x419c($v0) +/* 176A20 80248140 904200AA */ lbu $v0, 0xaa($v0) +func_80248144: +/* 176A24 80248144 30420001 */ andi $v0, $v0, 1 +/* 176A28 80248148 14400002 */ bnez $v0, .L80248154 +/* 176A2C 8024814C 2462FFCE */ addiu $v0, $v1, -0x32 +/* 176A30 80248150 2462FFEC */ addiu $v0, $v1, -0x14 +.L80248154: +/* 176A34 80248154 AC820000 */ sw $v0, ($a0) +/* 176A38 80248158 3C038028 */ lui $v1, 0x8028 +/* 176A3C 8024815C 24630A30 */ addiu $v1, $v1, 0xa30 +/* 176A40 80248160 8C620000 */ lw $v0, ($v1) +/* 176A44 80248164 04420001 */ bltzl $v0, .L8024816C +/* 176A48 80248168 AC600000 */ sw $zero, ($v1) +.L8024816C: +/* 176A4C 8024816C C4600000 */ lwc1 $f0, ($v1) +/* 176A50 80248170 46800020 */ cvt.s.w $f0, $f0 +/* 176A54 80248174 44050000 */ mfc1 $a1, $f0 +/* 176A58 80248178 0000202D */ daddu $a0, $zero, $zero +func_8024817C: +/* 176A5C 8024817C 0C04DF62 */ jal func_80137D88 +/* 176A60 80248180 00000000 */ nop +.L80248184: +/* 176A64 80248184 8FBF0010 */ lw $ra, 0x10($sp) +/* 176A68 80248188 03E00008 */ jr $ra +/* 176A6C 8024818C 27BD0018 */ addiu $sp, $sp, 0x18 + +func_80248190: +/* 176A70 80248190 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* 176A74 80248194 AFB50024 */ sw $s5, 0x24($sp) +/* 176A78 80248198 3C15800E */ lui $s5, 0x800e +/* 176A7C 8024819C 26B5C070 */ addiu $s5, $s5, -0x3f90 +/* 176A80 802481A0 AFB20018 */ sw $s2, 0x18($sp) +/* 176A84 802481A4 3C12800E */ lui $s2, 0x800e +/* 176A88 802481A8 2652C4DC */ addiu $s2, $s2, -0x3b24 +/* 176A8C 802481AC AFB10014 */ sw $s1, 0x14($sp) +/* 176A90 802481B0 24110001 */ addiu $s1, $zero, 1 +/* 176A94 802481B4 AFBF0028 */ sw $ra, 0x28($sp) +/* 176A98 802481B8 AFB40020 */ sw $s4, 0x20($sp) +/* 176A9C 802481BC AFB3001C */ sw $s3, 0x1c($sp) +/* 176AA0 802481C0 AFB00010 */ sw $s0, 0x10($sp) +/* 176AA4 802481C4 8EB000D8 */ lw $s0, 0xd8($s5) +/* 176AA8 802481C8 8E430000 */ lw $v1, ($s2) +/* 176AAC 802481CC 8EB400DC */ lw $s4, 0xdc($s5) +/* 176AB0 802481D0 1071003E */ beq $v1, $s1, .L802482CC +/* 176AB4 802481D4 28620002 */ slti $v0, $v1, 2 +/* 176AB8 802481D8 50400005 */ beql $v0, $zero, .L802481F0 +/* 176ABC 802481DC 24020002 */ addiu $v0, $zero, 2 +/* 176AC0 802481E0 10600009 */ beqz $v1, .L80248208 +/* 176AC4 802481E4 24040002 */ addiu $a0, $zero, 2 +/* 176AC8 802481E8 08092176 */ j func_802485D8 +/* 176ACC 802481EC 00000000 */ nop + +.L802481F0: +/* 176AD0 802481F0 10620068 */ beq $v1, $v0, .L80248394 +/* 176AD4 802481F4 24020003 */ addiu $v0, $zero, 3 +/* 176AD8 802481F8 106200E1 */ beq $v1, $v0, .L80248580 +/* 176ADC 802481FC 0000982D */ daddu $s3, $zero, $zero +/* 176AE0 80248200 08092176 */ j func_802485D8 +/* 176AE4 80248204 00000000 */ nop + +.L80248208: +/* 176AE8 80248208 8E830008 */ lw $v1, 8($s4) +/* 176AEC 8024820C 3C028011 */ lui $v0, 0x8011 +/* 176AF0 80248210 2442F290 */ addiu $v0, $v0, -0xd70 +/* 176AF4 80248214 3C01802A */ lui $at, 0x802a +/* 176AF8 80248218 AC20F254 */ sw $zero, -0xdac($at) +/* 176AFC 8024821C 80450012 */ lb $a1, 0x12($v0) +/* 176B00 80248220 90630006 */ lbu $v1, 6($v1) +/* 176B04 80248224 10A40005 */ beq $a1, $a0, .L8024823C +/* 176B08 80248228 24020003 */ addiu $v0, $zero, 3 +/* 176B0C 8024822C 10A20006 */ beq $a1, $v0, .L80248248 +/* 176B10 80248230 24020005 */ addiu $v0, $zero, 5 +/* 176B14 80248234 0809209D */ j func_80248274 +/* 176B18 80248238 00000000 */ nop + +.L8024823C: +/* 176B1C 8024823C 24020005 */ addiu $v0, $zero, 5 +/* 176B20 80248240 08092093 */ j func_8024824C +/* 176B24 80248244 24630089 */ addiu $v1, $v1, 0x89 + +.L80248248: +/* 176B28 80248248 2463008F */ addiu $v1, $v1, 0x8f +func_8024824C: +/* 176B2C 8024824C A2A20178 */ sb $v0, 0x178($s5) +/* 176B30 80248250 00031080 */ sll $v0, $v1, 2 +/* 176B34 80248254 00431021 */ addu $v0, $v0, $v1 +/* 176B38 80248258 00021080 */ sll $v0, $v0, 2 +/* 176B3C 8024825C A6A0017A */ sh $zero, 0x17a($s5) +/* 176B40 80248260 A6A3017C */ sh $v1, 0x17c($s5) +/* 176B44 80248264 3C018009 */ lui $at, 0x8009 +/* 176B48 80248268 00220821 */ addu $at, $at, $v0 +/* 176B4C 8024826C 8C22F064 */ lw $v0, -0xf9c($at) +/* 176B50 80248270 AEA20184 */ sw $v0, 0x184($s5) +func_80248274: +/* 176B54 80248274 0C09A75B */ jal get_actor +/* 176B58 80248278 24040200 */ addiu $a0, $zero, 0x200 +/* 176B5C 8024827C 0040802D */ daddu $s0, $v0, $zero +/* 176B60 80248280 8E0201C8 */ lw $v0, 0x1c8($s0) +func_80248284: +/* 176B64 80248284 1040000C */ beqz $v0, .L802482B8 +/* 176B68 80248288 2405000A */ addiu $a1, $zero, 0xa +/* 176B6C 8024828C 24060020 */ addiu $a2, $zero, 0x20 +/* 176B70 80248290 0040202D */ daddu $a0, $v0, $zero +/* 176B74 80248294 24020038 */ addiu $v0, $zero, 0x38 +/* 176B78 80248298 0C0B0CF8 */ jal start_script +/* 176B7C 8024829C A20201F0 */ sb $v0, 0x1f0($s0) +/* 176B80 802482A0 0040202D */ daddu $a0, $v0, $zero +/* 176B84 802482A4 AE0401D8 */ sw $a0, 0x1d8($s0) +/* 176B88 802482A8 8C820144 */ lw $v0, 0x144($a0) +/* 176B8C 802482AC 86030192 */ lh $v1, 0x192($s0) +/* 176B90 802482B0 AE0201E8 */ sw $v0, 0x1e8($s0) +/* 176B94 802482B4 AC830148 */ sw $v1, 0x148($a0) +.L802482B8: +/* 176B98 802482B8 24020001 */ addiu $v0, $zero, 1 +/* 176B9C 802482BC 3C01800E */ lui $at, 0x800e +/* 176BA0 802482C0 AC22C4DC */ sw $v0, -0x3b24($at) +/* 176BA4 802482C4 08092176 */ j func_802485D8 +/* 176BA8 802482C8 00000000 */ nop + +.L802482CC: +/* 176BAC 802482CC 0C098C0B */ jal player_create_target_list +/* 176BB0 802482D0 0280202D */ daddu $a0, $s4, $zero +/* 176BB4 802482D4 8283040D */ lb $v1, 0x40d($s4) +/* 176BB8 802482D8 00031080 */ sll $v0, $v1, 2 +/* 176BBC 802482DC 00431021 */ addu $v0, $v0, $v1 +/* 176BC0 802482E0 00021080 */ sll $v0, $v0, 2 +/* 176BC4 802482E4 2442022C */ addiu $v0, $v0, 0x22c +/* 176BC8 802482E8 02821021 */ addu $v0, $s4, $v0 +/* 176BCC 802482EC 94430000 */ lhu $v1, ($v0) +/* 176BD0 802482F0 A6830428 */ sh $v1, 0x428($s4) +/* 176BD4 802482F4 90420003 */ lbu $v0, 3($v0) +/* 176BD8 802482F8 A2820426 */ sb $v0, 0x426($s4) +/* 176BDC 802482FC 8EA40000 */ lw $a0, ($s5) +/* 176BE0 80248300 2402FFFD */ addiu $v0, $zero, -3 +/* 176BE4 80248304 00822024 */ and $a0, $a0, $v0 +/* 176BE8 80248308 8EA20004 */ lw $v0, 4($s5) +/* 176BEC 8024830C 3C030100 */ lui $v1, 0x100 +/* 176BF0 80248310 A2A0008C */ sb $zero, 0x8c($s5) +/* 176BF4 80248314 A6A00180 */ sh $zero, 0x180($s5) +/* 176BF8 80248318 A2A0019A */ sb $zero, 0x19a($s5) +/* 176BFC 8024831C AEA40000 */ sw $a0, ($s5) +/* 176C00 80248320 00431025 */ or $v0, $v0, $v1 +/* 176C04 80248324 AEA20004 */ sw $v0, 4($s5) +/* 176C08 80248328 3C020008 */ lui $v0, 8 +/* 176C0C 8024832C 00822025 */ or $a0, $a0, $v0 +/* 176C10 80248330 0C03A6D5 */ jal increment_status_menu_disabled +/* 176C14 80248334 AEA40000 */ sw $a0, ($s5) +/* 176C18 80248338 0C093903 */ jal func_8024E40C +/* 176C1C 8024833C 2404000A */ addiu $a0, $zero, 0xa +/* 176C20 80248340 0C09390F */ jal cam_target_actor +/* 176C24 80248344 24040100 */ addiu $a0, $zero, 0x100 +/* 176C28 80248348 0C098F18 */ jal func_80263C60 +/* 176C2C 8024834C 00000000 */ nop +/* 176C30 80248350 2405000A */ addiu $a1, $zero, 0xa +/* 176C34 80248354 A2B101A7 */ sb $s1, 0x1a7($s5) +/* 176C38 80248358 8E8401C4 */ lw $a0, 0x1c4($s4) +/* 176C3C 8024835C 0C0B0CF8 */ jal start_script +/* 176C40 80248360 0000302D */ daddu $a2, $zero, $zero +/* 176C44 80248364 0040202D */ daddu $a0, $v0, $zero +/* 176C48 80248368 AE8401D4 */ sw $a0, 0x1d4($s4) +/* 176C4C 8024836C 8C830144 */ lw $v1, 0x144($a0) +/* 176C50 80248370 24020003 */ addiu $v0, $zero, 3 +/* 176C54 80248374 3C01802A */ lui $at, 0x802a +/* 176C58 80248378 AC22F248 */ sw $v0, -0xdb8($at) +/* 176C5C 8024837C 24020002 */ addiu $v0, $zero, 2 +/* 176C60 80248380 AE420000 */ sw $v0, ($s2) +/* 176C64 80248384 24020100 */ addiu $v0, $zero, 0x100 +/* 176C68 80248388 AE8301E4 */ sw $v1, 0x1e4($s4) +/* 176C6C 8024838C 08092176 */ j func_802485D8 +/* 176C70 80248390 AC820148 */ sw $v0, 0x148($a0) + +.L80248394: +/* 176C74 80248394 3C03802A */ lui $v1, 0x802a +/* 176C78 80248398 2463F248 */ addiu $v1, $v1, -0xdb8 +/* 176C7C 8024839C 8C620000 */ lw $v0, ($v1) +/* 176C80 802483A0 10400003 */ beqz $v0, .L802483B0 +/* 176C84 802483A4 2442FFFF */ addiu $v0, $v0, -1 +/* 176C88 802483A8 080920EE */ j func_802483B8 +/* 176C8C 802483AC AC620000 */ sw $v0, ($v1) + +.L802483B0: +/* 176C90 802483B0 3C01802A */ lui $at, 0x802a +/* 176C94 802483B4 AC31F254 */ sw $s1, -0xdac($at) +func_802483B8: +/* 176C98 802483B8 8E8201D4 */ lw $v0, 0x1d4($s4) +/* 176C9C 802483BC 10400005 */ beqz $v0, .L802483D4 +/* 176CA0 802483C0 00000000 */ nop +/* 176CA4 802483C4 0C0B1059 */ jal does_script_exist +/* 176CA8 802483C8 8E8401E4 */ lw $a0, 0x1e4($s4) +/* 176CAC 802483CC 14400082 */ bnez $v0, .L802485D8 +/* 176CB0 802483D0 00000000 */ nop +.L802483D4: +/* 176CB4 802483D4 8E8201D8 */ lw $v0, 0x1d8($s4) +/* 176CB8 802483D8 10400006 */ beqz $v0, .L802483F4 +/* 176CBC 802483DC AE8001D4 */ sw $zero, 0x1d4($s4) +/* 176CC0 802483E0 8E8401E8 */ lw $a0, 0x1e8($s4) +/* 176CC4 802483E4 0C0B1059 */ jal does_script_exist +/* 176CC8 802483E8 00000000 */ nop +/* 176CCC 802483EC 1440007A */ bnez $v0, .L802485D8 +/* 176CD0 802483F0 00000000 */ nop +.L802483F4: +/* 176CD4 802483F4 AE8001D8 */ sw $zero, 0x1d8($s4) +/* 176CD8 802483F8 8E0201D8 */ lw $v0, 0x1d8($s0) +/* 176CDC 802483FC 50400007 */ beql $v0, $zero, .L8024841C +/* 176CE0 80248400 AE0001D8 */ sw $zero, 0x1d8($s0) +/* 176CE4 80248404 8E0401E8 */ lw $a0, 0x1e8($s0) +/* 176CE8 80248408 0C0B1059 */ jal does_script_exist +/* 176CEC 8024840C 00000000 */ nop +/* 176CF0 80248410 14400071 */ bnez $v0, .L802485D8 +/* 176CF4 80248414 00000000 */ nop +/* 176CF8 80248418 AE0001D8 */ sw $zero, 0x1d8($s0) +.L8024841C: +/* 176CFC 8024841C 0000982D */ daddu $s3, $zero, $zero +/* 176D00 80248420 0260882D */ daddu $s1, $s3, $zero +/* 176D04 80248424 02A0902D */ daddu $s2, $s5, $zero +.L80248428: +/* 176D08 80248428 8E5000E0 */ lw $s0, 0xe0($s2) +/* 176D0C 8024842C 5200000B */ beql $s0, $zero, .L8024845C +/* 176D10 80248430 26310001 */ addiu $s1, $s1, 1 +/* 176D14 80248434 8E0201D4 */ lw $v0, 0x1d4($s0) +/* 176D18 80248438 50400008 */ beql $v0, $zero, .L8024845C +/* 176D1C 8024843C 26310001 */ addiu $s1, $s1, 1 +/* 176D20 80248440 8E0401E4 */ lw $a0, 0x1e4($s0) +/* 176D24 80248444 0C0B1059 */ jal does_script_exist +/* 176D28 80248448 00000000 */ nop +/* 176D2C 8024844C 50400002 */ beql $v0, $zero, .L80248458 +/* 176D30 80248450 AE0001D4 */ sw $zero, 0x1d4($s0) +/* 176D34 80248454 24130001 */ addiu $s3, $zero, 1 +.L80248458: +/* 176D38 80248458 26310001 */ addiu $s1, $s1, 1 +.L8024845C: +/* 176D3C 8024845C 2A220018 */ slti $v0, $s1, 0x18 +/* 176D40 80248460 1440FFF1 */ bnez $v0, .L80248428 +/* 176D44 80248464 26520004 */ addiu $s2, $s2, 4 +/* 176D48 80248468 1660005B */ bnez $s3, .L802485D8 +/* 176D4C 8024846C 0000882D */ daddu $s1, $zero, $zero +/* 176D50 80248470 02A0902D */ daddu $s2, $s5, $zero +.L80248474: +/* 176D54 80248474 8E5000E0 */ lw $s0, 0xe0($s2) +/* 176D58 80248478 5200000B */ beql $s0, $zero, .L802484A8 +/* 176D5C 8024847C 26310001 */ addiu $s1, $s1, 1 +/* 176D60 80248480 8E0201D8 */ lw $v0, 0x1d8($s0) +/* 176D64 80248484 50400008 */ beql $v0, $zero, .L802484A8 +/* 176D68 80248488 26310001 */ addiu $s1, $s1, 1 +/* 176D6C 8024848C 8E0401E8 */ lw $a0, 0x1e8($s0) +/* 176D70 80248490 0C0B1059 */ jal does_script_exist +/* 176D74 80248494 00000000 */ nop +/* 176D78 80248498 50400002 */ beql $v0, $zero, .L802484A4 +/* 176D7C 8024849C AE0001D8 */ sw $zero, 0x1d8($s0) +/* 176D80 802484A0 24130001 */ addiu $s3, $zero, 1 +.L802484A4: +/* 176D84 802484A4 26310001 */ addiu $s1, $s1, 1 +.L802484A8: +/* 176D88 802484A8 2A220018 */ slti $v0, $s1, 0x18 +/* 176D8C 802484AC 1440FFF1 */ bnez $v0, .L80248474 +/* 176D90 802484B0 26520004 */ addiu $s2, $s2, 4 +/* 176D94 802484B4 16600048 */ bnez $s3, .L802485D8 +/* 176D98 802484B8 0000882D */ daddu $s1, $zero, $zero +/* 176D9C 802484BC 3C04FFF7 */ lui $a0, 0xfff7 +/* 176DA0 802484C0 3484FFFF */ ori $a0, $a0, 0xffff +/* 176DA4 802484C4 02A0182D */ daddu $v1, $s5, $zero +.L802484C8: +/* 176DA8 802484C8 8C7000E0 */ lw $s0, 0xe0($v1) +/* 176DAC 802484CC 12000004 */ beqz $s0, .L802484E0 +/* 176DB0 802484D0 26310001 */ addiu $s1, $s1, 1 +/* 176DB4 802484D4 8E020000 */ lw $v0, ($s0) +/* 176DB8 802484D8 00441024 */ and $v0, $v0, $a0 +/* 176DBC 802484DC AE020000 */ sw $v0, ($s0) +.L802484E0: +/* 176DC0 802484E0 2A220018 */ slti $v0, $s1, 0x18 +/* 176DC4 802484E4 1440FFF8 */ bnez $v0, .L802484C8 +/* 176DC8 802484E8 24630004 */ addiu $v1, $v1, 4 +/* 176DCC 802484EC 82A2008C */ lb $v0, 0x8c($s5) +/* 176DD0 802484F0 14400039 */ bnez $v0, .L802485D8 +/* 176DD4 802484F4 00000000 */ nop +/* 176DD8 802484F8 0C03A6CC */ jal decrement_status_menu_disabled +/* 176DDC 802484FC 00000000 */ nop +/* 176DE0 80248500 0C098D19 */ jal func_80263464 +/* 176DE4 80248504 00000000 */ nop +/* 176DE8 80248508 14400033 */ bnez $v0, .L802485D8 +/* 176DEC 8024850C 00000000 */ nop +/* 176DF0 80248510 0C098D0D */ jal func_80263434 +/* 176DF4 80248514 00000000 */ nop +/* 176DF8 80248518 1440002F */ bnez $v0, .L802485D8 +/* 176DFC 8024851C 00000000 */ nop +func_80248520: +/* 176E00 80248520 0C09A75B */ jal get_actor +/* 176E04 80248524 86840428 */ lh $a0, 0x428($s4) +/* 176E08 80248528 0040802D */ daddu $s0, $v0, $zero +/* 176E0C 8024852C 12000010 */ beqz $s0, .L80248570 +/* 176E10 80248530 24020003 */ addiu $v0, $zero, 3 +/* 176E14 80248534 8E0201C8 */ lw $v0, 0x1c8($s0) +/* 176E18 80248538 1040000C */ beqz $v0, .L8024856C +/* 176E1C 8024853C 2405000A */ addiu $a1, $zero, 0xa +/* 176E20 80248540 24060020 */ addiu $a2, $zero, 0x20 +/* 176E24 80248544 0040202D */ daddu $a0, $v0, $zero +/* 176E28 80248548 24020035 */ addiu $v0, $zero, 0x35 +/* 176E2C 8024854C 0C0B0CF8 */ jal start_script +/* 176E30 80248550 A20201F0 */ sb $v0, 0x1f0($s0) +/* 176E34 80248554 0040202D */ daddu $a0, $v0, $zero +/* 176E38 80248558 AE0401D8 */ sw $a0, 0x1d8($s0) +/* 176E3C 8024855C 8C820144 */ lw $v0, 0x144($a0) +/* 176E40 80248560 86030192 */ lh $v1, 0x192($s0) +/* 176E44 80248564 AE0201E8 */ sw $v0, 0x1e8($s0) +/* 176E48 80248568 AC830148 */ sw $v1, 0x148($a0) +.L8024856C: +/* 176E4C 8024856C 24020003 */ addiu $v0, $zero, 3 +.L80248570: +/* 176E50 80248570 3C01800E */ lui $at, 0x800e +/* 176E54 80248574 AC22C4DC */ sw $v0, -0x3b24($at) +/* 176E58 80248578 08092176 */ j func_802485D8 +/* 176E5C 8024857C 00000000 */ nop + +.L80248580: +/* 176E60 80248580 0260882D */ daddu $s1, $s3, $zero +/* 176E64 80248584 02A0902D */ daddu $s2, $s5, $zero +.L80248588: +/* 176E68 80248588 8E5000E0 */ lw $s0, 0xe0($s2) +/* 176E6C 8024858C 5200000B */ beql $s0, $zero, .L802485BC +/* 176E70 80248590 26310001 */ addiu $s1, $s1, 1 +/* 176E74 80248594 8E0201D8 */ lw $v0, 0x1d8($s0) +/* 176E78 80248598 50400008 */ beql $v0, $zero, .L802485BC +/* 176E7C 8024859C 26310001 */ addiu $s1, $s1, 1 +/* 176E80 802485A0 8E0401E8 */ lw $a0, 0x1e8($s0) +/* 176E84 802485A4 0C0B1059 */ jal does_script_exist +/* 176E88 802485A8 00000000 */ nop +/* 176E8C 802485AC 50400002 */ beql $v0, $zero, .L802485B8 +/* 176E90 802485B0 AE0001D8 */ sw $zero, 0x1d8($s0) +/* 176E94 802485B4 24130001 */ addiu $s3, $zero, 1 +.L802485B8: +/* 176E98 802485B8 26310001 */ addiu $s1, $s1, 1 +.L802485BC: +/* 176E9C 802485BC 2A220018 */ slti $v0, $s1, 0x18 +/* 176EA0 802485C0 1440FFF1 */ bnez $v0, .L80248588 +/* 176EA4 802485C4 26520004 */ addiu $s2, $s2, 4 +/* 176EA8 802485C8 16600003 */ bnez $s3, .L802485D8 +/* 176EAC 802485CC 00000000 */ nop +/* 176EB0 802485D0 0C090464 */ jal func_80241190 +/* 176EB4 802485D4 24040005 */ addiu $a0, $zero, 5 +func_802485D8: +.L802485D8: +/* 176EB8 802485D8 8FBF0028 */ lw $ra, 0x28($sp) +/* 176EBC 802485DC 8FB50024 */ lw $s5, 0x24($sp) +/* 176EC0 802485E0 8FB40020 */ lw $s4, 0x20($sp) +/* 176EC4 802485E4 8FB3001C */ lw $s3, 0x1c($sp) +/* 176EC8 802485E8 8FB20018 */ lw $s2, 0x18($sp) +/* 176ECC 802485EC 8FB10014 */ lw $s1, 0x14($sp) +/* 176ED0 802485F0 8FB00010 */ lw $s0, 0x10($sp) +func_802485F4: +/* 176ED4 802485F4 03E00008 */ jr $ra +/* 176ED8 802485F8 27BD0030 */ addiu $sp, $sp, 0x30 + +func_802485FC: +/* 176EDC 802485FC 3C02802A */ lui $v0, 0x802a +/* 176EE0 80248600 8C42F254 */ lw $v0, -0xdac($v0) +/* 176EE4 80248604 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 176EE8 80248608 10400012 */ beqz $v0, .L80248654 +/* 176EEC 8024860C AFBF0010 */ sw $ra, 0x10($sp) +/* 176EF0 80248610 3C038028 */ lui $v1, 0x8028 +/* 176EF4 80248614 24630A30 */ addiu $v1, $v1, 0xa30 +/* 176EF8 80248618 8C620000 */ lw $v0, ($v1) +/* 176EFC 8024861C 14400004 */ bnez $v0, .L80248630 +/* 176F00 80248620 2442FFEC */ addiu $v0, $v0, -0x14 +/* 176F04 80248624 3C05BF80 */ lui $a1, 0xbf80 +/* 176F08 80248628 08092193 */ j func_8024864C +/* 176F0C 8024862C 240400FF */ addiu $a0, $zero, 0xff + +.L80248630: +/* 176F10 80248630 04410002 */ bgez $v0, .L8024863C +/* 176F14 80248634 AC620000 */ sw $v0, ($v1) +/* 176F18 80248638 AC600000 */ sw $zero, ($v1) +.L8024863C: +/* 176F1C 8024863C C4600000 */ lwc1 $f0, ($v1) +/* 176F20 80248640 46800020 */ cvt.s.w $f0, $f0 +/* 176F24 80248644 44050000 */ mfc1 $a1, $f0 +/* 176F28 80248648 0000202D */ daddu $a0, $zero, $zero +func_8024864C: +/* 176F2C 8024864C 0C04DF62 */ jal func_80137D88 +/* 176F30 80248650 00000000 */ nop +.L80248654: +/* 176F34 80248654 8FBF0010 */ lw $ra, 0x10($sp) +/* 176F38 80248658 03E00008 */ jr $ra +/* 176F3C 8024865C 27BD0018 */ addiu $sp, $sp, 0x18 + +func_80248660: +/* 176F40 80248660 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 176F44 80248664 3C058011 */ lui $a1, 0x8011 +/* 176F48 80248668 24A5F290 */ addiu $a1, $a1, -0xd70 +/* 176F4C 8024866C AFB3001C */ sw $s3, 0x1c($sp) +/* 176F50 80248670 3C13800E */ lui $s3, 0x800e +/* 176F54 80248674 2673C070 */ addiu $s3, $s3, -0x3f90 +/* 176F58 80248678 AFBF0024 */ sw $ra, 0x24($sp) +/* 176F5C 8024867C AFB40020 */ sw $s4, 0x20($sp) +/* 176F60 80248680 AFB20018 */ sw $s2, 0x18($sp) +/* 176F64 80248684 AFB10014 */ sw $s1, 0x14($sp) +/* 176F68 80248688 AFB00010 */ sw $s0, 0x10($sp) +/* 176F6C 8024868C 8E7200D8 */ lw $s2, 0xd8($s3) +/* 176F70 80248690 3C03800E */ lui $v1, 0x800e +/* 176F74 80248694 8C63C4DC */ lw $v1, -0x3b24($v1) +/* 176F78 80248698 8E7100DC */ lw $s1, 0xdc($s3) +/* 176F7C 8024869C 10600005 */ beqz $v1, .L802486B4 +/* 176F80 802486A0 24020002 */ addiu $v0, $zero, 2 +/* 176F84 802486A4 1062008A */ beq $v1, $v0, .L802488D0 +/* 176F88 802486A8 00000000 */ nop +/* 176F8C 802486AC 080922A1 */ j func_80248A84 +/* 176F90 802486B0 00000000 */ nop + +.L802486B4: +/* 176F94 802486B4 94A2029E */ lhu $v0, 0x29e($a1) +/* 176F98 802486B8 3C04F7FF */ lui $a0, 0xf7ff +/* 176F9C 802486BC A260008C */ sb $zero, 0x8c($s3) +/* 176FA0 802486C0 A6600180 */ sh $zero, 0x180($s3) +/* 176FA4 802486C4 A260019A */ sb $zero, 0x19a($s3) +/* 176FA8 802486C8 24420001 */ addiu $v0, $v0, 1 +/* 176FAC 802486CC A4A2029E */ sh $v0, 0x29e($a1) +/* 176FB0 802486D0 8E620000 */ lw $v0, ($s3) +/* 176FB4 802486D4 2403FFFD */ addiu $v1, $zero, -3 +/* 176FB8 802486D8 00431024 */ and $v0, $v0, $v1 +/* 176FBC 802486DC AE620000 */ sw $v0, ($s3) +/* 176FC0 802486E0 8E420000 */ lw $v0, ($s2) +/* 176FC4 802486E4 3484FFFF */ ori $a0, $a0, 0xffff +/* 176FC8 802486E8 3C01802A */ lui $at, 0x802a +/* 176FCC 802486EC AC20F254 */ sw $zero, -0xdac($at) +/* 176FD0 802486F0 00441024 */ and $v0, $v0, $a0 +/* 176FD4 802486F4 12200004 */ beqz $s1, .L80248708 +/* 176FD8 802486F8 AE420000 */ sw $v0, ($s2) +/* 176FDC 802486FC 8E220000 */ lw $v0, ($s1) +/* 176FE0 80248700 00441024 */ and $v0, $v0, $a0 +/* 176FE4 80248704 AE220000 */ sw $v0, ($s1) +.L80248708: +/* 176FE8 80248708 3C030100 */ lui $v1, 0x100 +/* 176FEC 8024870C 34634000 */ ori $v1, $v1, 0x4000 +/* 176FF0 80248710 0000502D */ daddu $t2, $zero, $zero +/* 176FF4 80248714 0140882D */ daddu $s1, $t2, $zero +/* 176FF8 80248718 0260282D */ daddu $a1, $s3, $zero +/* 176FFC 8024871C 8E620004 */ lw $v0, 4($s3) +/* 177000 80248720 0260202D */ daddu $a0, $s3, $zero +/* 177004 80248724 00431025 */ or $v0, $v0, $v1 +/* 177008 80248728 AE620004 */ sw $v0, 4($s3) +.L8024872C: +/* 17700C 8024872C 8CB000E0 */ lw $s0, 0xe0($a1) +/* 177010 80248730 52000006 */ beql $s0, $zero, .L8024874C +/* 177014 80248734 26310001 */ addiu $s1, $s1, 1 +/* 177018 80248738 36220200 */ ori $v0, $s1, 0x200 +/* 17701C 8024873C A4820140 */ sh $v0, 0x140($a0) +/* 177020 80248740 24840002 */ addiu $a0, $a0, 2 +/* 177024 80248744 254A0001 */ addiu $t2, $t2, 1 +/* 177028 80248748 26310001 */ addiu $s1, $s1, 1 +.L8024874C: +/* 17702C 8024874C 2A220018 */ slti $v0, $s1, 0x18 +/* 177030 80248750 1440FFF6 */ bnez $v0, .L8024872C +/* 177034 80248754 24A50004 */ addiu $a1, $a1, 4 +/* 177038 80248758 A26A0171 */ sb $t2, 0x171($s3) +/* 17703C 8024875C 0000882D */ daddu $s1, $zero, $zero +/* 177040 80248760 2542FFFF */ addiu $v0, $t2, -1 +/* 177044 80248764 18400022 */ blez $v0, .L802487F0 +/* 177048 80248768 266C0140 */ addiu $t4, $s3, 0x140 +/* 17704C 8024876C 0040682D */ daddu $t5, $v0, $zero +/* 177050 80248770 0180582D */ daddu $t3, $t4, $zero +.L80248774: +/* 177054 80248774 26270001 */ addiu $a3, $s1, 1 +/* 177058 80248778 00EA102A */ slt $v0, $a3, $t2 +/* 17705C 8024877C 50400019 */ beql $v0, $zero, .L802487E4 +/* 177060 80248780 26310001 */ addiu $s1, $s1, 1 +/* 177064 80248784 0160482D */ daddu $t1, $t3, $zero +/* 177068 80248788 00071040 */ sll $v0, $a3, 1 +/* 17706C 8024878C 004C3021 */ addu $a2, $v0, $t4 +.L80248790: +/* 177070 80248790 95280000 */ lhu $t0, ($t1) +/* 177074 80248794 94C50000 */ lhu $a1, ($a2) +/* 177078 80248798 310300FF */ andi $v1, $t0, 0xff +/* 17707C 8024879C 00031880 */ sll $v1, $v1, 2 +/* 177080 802487A0 02631821 */ addu $v1, $s3, $v1 +/* 177084 802487A4 30A200FF */ andi $v0, $a1, 0xff +/* 177088 802487A8 00021080 */ sll $v0, $v0, 2 +/* 17708C 802487AC 02621021 */ addu $v0, $s3, $v0 +/* 177090 802487B0 8C6300E0 */ lw $v1, 0xe0($v1) +/* 177094 802487B4 8C4400E0 */ lw $a0, 0xe0($v0) +/* 177098 802487B8 806201F1 */ lb $v0, 0x1f1($v1) +/* 17709C 802487BC 808301F1 */ lb $v1, 0x1f1($a0) +/* 1770A0 802487C0 0043102A */ slt $v0, $v0, $v1 +/* 1770A4 802487C4 10400003 */ beqz $v0, .L802487D4 +/* 1770A8 802487C8 24E70001 */ addiu $a3, $a3, 1 +/* 1770AC 802487CC A5250000 */ sh $a1, ($t1) +/* 1770B0 802487D0 A4C80000 */ sh $t0, ($a2) +.L802487D4: +/* 1770B4 802487D4 00EA102A */ slt $v0, $a3, $t2 +/* 1770B8 802487D8 1440FFED */ bnez $v0, .L80248790 +/* 1770BC 802487DC 24C60002 */ addiu $a2, $a2, 2 +/* 1770C0 802487E0 26310001 */ addiu $s1, $s1, 1 +.L802487E4: +/* 1770C4 802487E4 022D102A */ slt $v0, $s1, $t5 +/* 1770C8 802487E8 1440FFE2 */ bnez $v0, .L80248774 +/* 1770CC 802487EC 256B0002 */ addiu $t3, $t3, 2 +.L802487F0: +/* 1770D0 802487F0 A2600170 */ sb $zero, 0x170($s3) +/* 1770D4 802487F4 0000282D */ daddu $a1, $zero, $zero +/* 1770D8 802487F8 3C030020 */ lui $v1, 0x20 +/* 1770DC 802487FC 34634000 */ ori $v1, $v1, 0x4000 +.L80248800: +/* 1770E0 80248800 00051040 */ sll $v0, $a1, 1 +func_80248804: +/* 1770E4 80248804 02621021 */ addu $v0, $s3, $v0 +/* 1770E8 80248808 90420141 */ lbu $v0, 0x141($v0) +/* 1770EC 8024880C 00021080 */ sll $v0, $v0, 2 +/* 1770F0 80248810 02621021 */ addu $v0, $s3, $v0 +/* 1770F4 80248814 8C5000E0 */ lw $s0, 0xe0($v0) +/* 1770F8 80248818 12000005 */ beqz $s0, .L80248830 +/* 1770FC 8024881C 00000000 */ nop +/* 177100 80248820 8E020000 */ lw $v0, ($s0) +/* 177104 80248824 00431024 */ and $v0, $v0, $v1 +/* 177108 80248828 10400008 */ beqz $v0, .L8024884C +/* 17710C 8024882C 00051040 */ sll $v0, $a1, 1 +.L80248830: +/* 177110 80248830 82620171 */ lb $v0, 0x171($s3) +/* 177114 80248834 24A50001 */ addiu $a1, $a1, 1 +/* 177118 80248838 00A2102A */ slt $v0, $a1, $v0 +/* 17711C 8024883C 5040FFF0 */ beql $v0, $zero, .L80248800 +/* 177120 80248840 0000282D */ daddu $a1, $zero, $zero +/* 177124 80248844 08092201 */ j func_80248804 +/* 177128 80248848 00051040 */ sll $v0, $a1, 1 + +.L8024884C: +/* 17712C 8024884C 02621021 */ addu $v0, $s3, $v0 +/* 177130 80248850 94430140 */ lhu $v1, 0x140($v0) +/* 177134 80248854 82620171 */ lb $v0, 0x171($s3) +/* 177138 80248858 24A50001 */ addiu $a1, $a1, 1 +/* 17713C 8024885C AE700174 */ sw $s0, 0x174($s3) +/* 177140 80248860 00A2102A */ slt $v0, $a1, $v0 +/* 177144 80248864 14400002 */ bnez $v0, .L80248870 +/* 177148 80248868 A6630172 */ sh $v1, 0x172($s3) +/* 17714C 8024886C 0000282D */ daddu $a1, $zero, $zero +.L80248870: +/* 177150 80248870 86640172 */ lh $a0, 0x172($s3) +/* 177154 80248874 0C09390F */ jal cam_target_actor +/* 177158 80248878 A2650170 */ sb $a1, 0x170($s3) +/* 17715C 8024887C 8E700174 */ lw $s0, 0x174($s3) +/* 177160 80248880 0C098F18 */ jal func_80263C60 +/* 177164 80248884 00000000 */ nop +/* 177168 80248888 24020001 */ addiu $v0, $zero, 1 +/* 17716C 8024888C 2405000A */ addiu $a1, $zero, 0xa +/* 177170 80248890 A26201A7 */ sb $v0, 0x1a7($s3) +/* 177174 80248894 8E0401C4 */ lw $a0, 0x1c4($s0) +/* 177178 80248898 0C0B0CF8 */ jal start_script +/* 17717C 8024889C 0000302D */ daddu $a2, $zero, $zero +/* 177180 802488A0 AE0201D4 */ sw $v0, 0x1d4($s0) +/* 177184 802488A4 8C440144 */ lw $a0, 0x144($v0) +/* 177188 802488A8 24030003 */ addiu $v1, $zero, 3 +/* 17718C 802488AC 3C01802A */ lui $at, 0x802a +/* 177190 802488B0 AC23F248 */ sw $v1, -0xdb8($at) +/* 177194 802488B4 AE0401E4 */ sw $a0, 0x1e4($s0) +/* 177198 802488B8 86640172 */ lh $a0, 0x172($s3) +/* 17719C 802488BC 24030002 */ addiu $v1, $zero, 2 +func_802488C0: +/* 1771A0 802488C0 3C01800E */ lui $at, 0x800e +/* 1771A4 802488C4 AC23C4DC */ sw $v1, -0x3b24($at) +/* 1771A8 802488C8 080922A1 */ j func_80248A84 +/* 1771AC 802488CC AC440148 */ sw $a0, 0x148($v0) + +.L802488D0: +/* 1771B0 802488D0 3C03802A */ lui $v1, 0x802a +/* 1771B4 802488D4 2463F248 */ addiu $v1, $v1, -0xdb8 +/* 1771B8 802488D8 8C620000 */ lw $v0, ($v1) +/* 1771BC 802488DC 10400003 */ beqz $v0, .L802488EC +/* 1771C0 802488E0 2442FFFF */ addiu $v0, $v0, -1 +/* 1771C4 802488E4 0809223E */ j func_802488F8 +/* 1771C8 802488E8 AC620000 */ sw $v0, ($v1) + +.L802488EC: +/* 1771CC 802488EC 24020001 */ addiu $v0, $zero, 1 +/* 1771D0 802488F0 3C01802A */ lui $at, 0x802a +/* 1771D4 802488F4 AC22F254 */ sw $v0, -0xdac($at) +func_802488F8: +/* 1771D8 802488F8 8E700174 */ lw $s0, 0x174($s3) +/* 1771DC 802488FC 8E0201D4 */ lw $v0, 0x1d4($s0) +/* 1771E0 80248900 50400007 */ beql $v0, $zero, .L80248920 +/* 1771E4 80248904 AE0001D4 */ sw $zero, 0x1d4($s0) +/* 1771E8 80248908 8E0401E4 */ lw $a0, 0x1e4($s0) +/* 1771EC 8024890C 0C0B1059 */ jal does_script_exist +/* 1771F0 80248910 00000000 */ nop +/* 1771F4 80248914 1440005B */ bnez $v0, .L80248A84 +/* 1771F8 80248918 00000000 */ nop +/* 1771FC 8024891C AE0001D4 */ sw $zero, 0x1d4($s0) +.L80248920: +/* 177200 80248920 8E4201D8 */ lw $v0, 0x1d8($s2) +/* 177204 80248924 10400005 */ beqz $v0, .L8024893C +/* 177208 80248928 00000000 */ nop +/* 17720C 8024892C 0C0B1059 */ jal does_script_exist +/* 177210 80248930 8E4401E8 */ lw $a0, 0x1e8($s2) +/* 177214 80248934 14400053 */ bnez $v0, .L80248A84 +/* 177218 80248938 00000000 */ nop +.L8024893C: +/* 17721C 8024893C 1220000A */ beqz $s1, .L80248968 +/* 177220 80248940 AE4001D8 */ sw $zero, 0x1d8($s2) +/* 177224 80248944 8E2201D8 */ lw $v0, 0x1d8($s1) +/* 177228 80248948 50400007 */ beql $v0, $zero, .L80248968 +/* 17722C 8024894C AE2001D8 */ sw $zero, 0x1d8($s1) +/* 177230 80248950 8E2401E8 */ lw $a0, 0x1e8($s1) +/* 177234 80248954 0C0B1059 */ jal does_script_exist +/* 177238 80248958 00000000 */ nop +/* 17723C 8024895C 14400049 */ bnez $v0, .L80248A84 +/* 177240 80248960 00000000 */ nop +/* 177244 80248964 AE2001D8 */ sw $zero, 0x1d8($s1) +.L80248968: +/* 177248 80248968 0000A02D */ daddu $s4, $zero, $zero +/* 17724C 8024896C 0280882D */ daddu $s1, $s4, $zero +/* 177250 80248970 0260902D */ daddu $s2, $s3, $zero +.L80248974: +/* 177254 80248974 8E5000E0 */ lw $s0, 0xe0($s2) +/* 177258 80248978 5200000B */ beql $s0, $zero, .L802489A8 +/* 17725C 8024897C 26310001 */ addiu $s1, $s1, 1 +/* 177260 80248980 8E0201D4 */ lw $v0, 0x1d4($s0) +/* 177264 80248984 50400008 */ beql $v0, $zero, .L802489A8 +/* 177268 80248988 26310001 */ addiu $s1, $s1, 1 +/* 17726C 8024898C 8E0401E4 */ lw $a0, 0x1e4($s0) +/* 177270 80248990 0C0B1059 */ jal does_script_exist +/* 177274 80248994 00000000 */ nop +/* 177278 80248998 50400002 */ beql $v0, $zero, .L802489A4 +/* 17727C 8024899C AE0001D4 */ sw $zero, 0x1d4($s0) +/* 177280 802489A0 24140001 */ addiu $s4, $zero, 1 +.L802489A4: +/* 177284 802489A4 26310001 */ addiu $s1, $s1, 1 +.L802489A8: +/* 177288 802489A8 2A220018 */ slti $v0, $s1, 0x18 +/* 17728C 802489AC 1440FFF1 */ bnez $v0, .L80248974 +/* 177290 802489B0 26520004 */ addiu $s2, $s2, 4 +/* 177294 802489B4 16800033 */ bnez $s4, .L80248A84 +/* 177298 802489B8 0000882D */ daddu $s1, $zero, $zero +/* 17729C 802489BC 0260902D */ daddu $s2, $s3, $zero +.L802489C0: +/* 1772A0 802489C0 8E5000E0 */ lw $s0, 0xe0($s2) +/* 1772A4 802489C4 5200000B */ beql $s0, $zero, .L802489F4 +func_802489C8: +/* 1772A8 802489C8 26310001 */ addiu $s1, $s1, 1 +/* 1772AC 802489CC 8E0201D8 */ lw $v0, 0x1d8($s0) +/* 1772B0 802489D0 50400008 */ beql $v0, $zero, .L802489F4 +/* 1772B4 802489D4 26310001 */ addiu $s1, $s1, 1 +/* 1772B8 802489D8 8E0401E8 */ lw $a0, 0x1e8($s0) +/* 1772BC 802489DC 0C0B1059 */ jal does_script_exist +/* 1772C0 802489E0 00000000 */ nop +/* 1772C4 802489E4 50400002 */ beql $v0, $zero, .L802489F0 +/* 1772C8 802489E8 AE0001D8 */ sw $zero, 0x1d8($s0) +/* 1772CC 802489EC 24140001 */ addiu $s4, $zero, 1 +.L802489F0: +/* 1772D0 802489F0 26310001 */ addiu $s1, $s1, 1 +.L802489F4: +/* 1772D4 802489F4 2A220018 */ slti $v0, $s1, 0x18 +/* 1772D8 802489F8 1440FFF1 */ bnez $v0, .L802489C0 +/* 1772DC 802489FC 26520004 */ addiu $s2, $s2, 4 +/* 1772E0 80248A00 16800020 */ bnez $s4, .L80248A84 +/* 1772E4 80248A04 0000882D */ daddu $s1, $zero, $zero +/* 1772E8 80248A08 3C06FFF7 */ lui $a2, 0xfff7 +/* 1772EC 80248A0C 34C6FFFF */ ori $a2, $a2, 0xffff +/* 1772F0 80248A10 0260282D */ daddu $a1, $s3, $zero +/* 1772F4 80248A14 3C02800E */ lui $v0, 0x800e +/* 1772F8 80248A18 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 1772FC 80248A1C 8C430004 */ lw $v1, 4($v0) +/* 177300 80248A20 2404BFFF */ addiu $a0, $zero, -0x4001 +/* 177304 80248A24 00641824 */ and $v1, $v1, $a0 +/* 177308 80248A28 AC430004 */ sw $v1, 4($v0) +.L80248A2C: +/* 17730C 80248A2C 8CB000E0 */ lw $s0, 0xe0($a1) +/* 177310 80248A30 12000004 */ beqz $s0, .L80248A44 +/* 177314 80248A34 26310001 */ addiu $s1, $s1, 1 +/* 177318 80248A38 8E020000 */ lw $v0, ($s0) +/* 17731C 80248A3C 00461024 */ and $v0, $v0, $a2 +/* 177320 80248A40 AE020000 */ sw $v0, ($s0) +.L80248A44: +/* 177324 80248A44 2A220018 */ slti $v0, $s1, 0x18 +/* 177328 80248A48 1440FFF8 */ bnez $v0, .L80248A2C +/* 17732C 80248A4C 24A50004 */ addiu $a1, $a1, 4 +/* 177330 80248A50 8262008C */ lb $v0, 0x8c($s3) +/* 177334 80248A54 1440000B */ bnez $v0, .L80248A84 +/* 177338 80248A58 00000000 */ nop +/* 17733C 80248A5C 0C098D19 */ jal func_80263464 +/* 177340 80248A60 00000000 */ nop +/* 177344 80248A64 14400007 */ bnez $v0, .L80248A84 +/* 177348 80248A68 00000000 */ nop +/* 17734C 80248A6C 0C098D0D */ jal func_80263434 +/* 177350 80248A70 00000000 */ nop +/* 177354 80248A74 14400003 */ bnez $v0, .L80248A84 +/* 177358 80248A78 00000000 */ nop +/* 17735C 80248A7C 0C090464 */ jal func_80241190 +/* 177360 80248A80 24040005 */ addiu $a0, $zero, 5 +func_80248A84: +.L80248A84: +/* 177364 80248A84 8FBF0024 */ lw $ra, 0x24($sp) +/* 177368 80248A88 8FB40020 */ lw $s4, 0x20($sp) +/* 17736C 80248A8C 8FB3001C */ lw $s3, 0x1c($sp) +/* 177370 80248A90 8FB20018 */ lw $s2, 0x18($sp) +/* 177374 80248A94 8FB10014 */ lw $s1, 0x14($sp) +/* 177378 80248A98 8FB00010 */ lw $s0, 0x10($sp) +/* 17737C 80248A9C 03E00008 */ jr $ra +/* 177380 80248AA0 27BD0028 */ addiu $sp, $sp, 0x28 + +func_80248AA4: +/* 177384 80248AA4 3C02802A */ lui $v0, 0x802a +/* 177388 80248AA8 8C42F254 */ lw $v0, -0xdac($v0) +/* 17738C 80248AAC 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 177390 80248AB0 10400012 */ beqz $v0, .L80248AFC +/* 177394 80248AB4 AFBF0010 */ sw $ra, 0x10($sp) +/* 177398 80248AB8 3C038028 */ lui $v1, 0x8028 +/* 17739C 80248ABC 24630A30 */ addiu $v1, $v1, 0xa30 +/* 1773A0 80248AC0 8C620000 */ lw $v0, ($v1) +/* 1773A4 80248AC4 14400004 */ bnez $v0, .L80248AD8 +/* 1773A8 80248AC8 2442FFEC */ addiu $v0, $v0, -0x14 +/* 1773AC 80248ACC 3C05BF80 */ lui $a1, 0xbf80 +/* 1773B0 80248AD0 080922BD */ j func_80248AF4 +/* 1773B4 80248AD4 240400FF */ addiu $a0, $zero, 0xff + +.L80248AD8: +/* 1773B8 80248AD8 04410002 */ bgez $v0, .L80248AE4 +/* 1773BC 80248ADC AC620000 */ sw $v0, ($v1) +/* 1773C0 80248AE0 AC600000 */ sw $zero, ($v1) +.L80248AE4: +/* 1773C4 80248AE4 C4600000 */ lwc1 $f0, ($v1) +/* 1773C8 80248AE8 46800020 */ cvt.s.w $f0, $f0 +/* 1773CC 80248AEC 44050000 */ mfc1 $a1, $f0 +/* 1773D0 80248AF0 0000202D */ daddu $a0, $zero, $zero +func_80248AF4: +/* 1773D4 80248AF4 0C04DF62 */ jal func_80137D88 +/* 1773D8 80248AF8 00000000 */ nop +.L80248AFC: +/* 1773DC 80248AFC 8FBF0010 */ lw $ra, 0x10($sp) +/* 1773E0 80248B00 03E00008 */ jr $ra +/* 1773E4 80248B04 27BD0018 */ addiu $sp, $sp, 0x18 + +func_80248B08: +/* 1773E8 80248B08 3C03800E */ lui $v1, 0x800e +/* 1773EC 80248B0C 8C63C4DC */ lw $v1, -0x3b24($v1) +/* 1773F0 80248B10 3C06800E */ lui $a2, 0x800e +/* 1773F4 80248B14 8CC6C4FC */ lw $a2, -0x3b04($a2) +/* 1773F8 80248B18 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 1773FC 80248B1C AFB20018 */ sw $s2, 0x18($sp) +/* 177400 80248B20 3C12800E */ lui $s2, 0x800e +/* 177404 80248B24 2652C070 */ addiu $s2, $s2, -0x3f90 +/* 177408 80248B28 AFBF001C */ sw $ra, 0x1c($sp) +/* 17740C 80248B2C AFB10014 */ sw $s1, 0x14($sp) +/* 177410 80248B30 2C620005 */ sltiu $v0, $v1, 5 +/* 177414 80248B34 1040008A */ beqz $v0, .L80248D60 +/* 177418 80248B38 AFB00010 */ sw $s0, 0x10($sp) +/* 17741C 80248B3C 00031080 */ sll $v0, $v1, 2 +/* 177420 80248B40 3C01802A */ lui $at, 0x802a +/* 177424 80248B44 00220821 */ addu $at, $at, $v0 +/* 177428 80248B48 8C22CBE0 */ lw $v0, -0x3420($at) +/* 17742C 80248B4C 00400008 */ jr $v0 +/* 177430 80248B50 00000000 */ nop +/* 177434 80248B54 3C038028 */ lui $v1, 0x8028 +/* 177438 80248B58 846309F6 */ lh $v1, 0x9f6($v1) +/* 17743C 80248B5C 2402FFFF */ addiu $v0, $zero, -1 +/* 177440 80248B60 3C018028 */ lui $at, 0x8028 +/* 177444 80248B64 AC200A30 */ sw $zero, 0xa30($at) +/* 177448 80248B68 1462000A */ bne $v1, $v0, .L80248B94 +/* 17744C 80248B6C 24020001 */ addiu $v0, $zero, 1 +func_80248B70: +/* 177450 80248B70 3C048028 */ lui $a0, 0x8028 +/* 177454 80248B74 248409F8 */ addiu $a0, $a0, 0x9f8 +/* 177458 80248B78 84820000 */ lh $v0, ($a0) +/* 17745C 80248B7C 94830000 */ lhu $v1, ($a0) +/* 177460 80248B80 10400003 */ beqz $v0, .L80248B90 +/* 177464 80248B84 2462FFFF */ addiu $v0, $v1, -1 +/* 177468 80248B88 08092358 */ j func_80248D60 +/* 17746C 80248B8C A4820000 */ sh $v0, ($a0) + +.L80248B90: +/* 177470 80248B90 24020001 */ addiu $v0, $zero, 1 +.L80248B94: +/* 177474 80248B94 3C01800E */ lui $at, 0x800e +/* 177478 80248B98 AC22C4DC */ sw $v0, -0x3b24($at) +/* 17747C 80248B9C 08092358 */ j func_80248D60 +/* 177480 80248BA0 00000000 */ nop + +/* 177484 80248BA4 3C038028 */ lui $v1, 0x8028 +/* 177488 80248BA8 846309F6 */ lh $v1, 0x9f6($v1) +/* 17748C 80248BAC 2402FFFF */ addiu $v0, $zero, -1 +/* 177490 80248BB0 10620005 */ beq $v1, $v0, .L80248BC8 +/* 177494 80248BB4 240200FF */ addiu $v0, $zero, 0xff +/* 177498 80248BB8 14620069 */ bne $v1, $v0, .L80248D60 +/* 17749C 80248BBC 24020002 */ addiu $v0, $zero, 2 +/* 1774A0 80248BC0 080922F9 */ j func_80248BE4 +/* 1774A4 80248BC4 00000000 */ nop + +.L80248BC8: +/* 1774A8 80248BC8 3C038028 */ lui $v1, 0x8028 +func_80248BCC: +/* 1774AC 80248BCC 24630A30 */ addiu $v1, $v1, 0xa30 +/* 1774B0 80248BD0 8C620000 */ lw $v0, ($v1) +/* 1774B4 80248BD4 240400FF */ addiu $a0, $zero, 0xff +/* 1774B8 80248BD8 14440006 */ bne $v0, $a0, .L80248BF4 +/* 1774BC 80248BDC 24420032 */ addiu $v0, $v0, 0x32 +/* 1774C0 80248BE0 24020002 */ addiu $v0, $zero, 2 +func_80248BE4: +/* 1774C4 80248BE4 3C01800E */ lui $at, 0x800e +/* 1774C8 80248BE8 AC22C4DC */ sw $v0, -0x3b24($at) +/* 1774CC 80248BEC 08092358 */ j func_80248D60 +/* 1774D0 80248BF0 00000000 */ nop + +.L80248BF4: +/* 1774D4 80248BF4 AC620000 */ sw $v0, ($v1) +/* 1774D8 80248BF8 28420100 */ slti $v0, $v0, 0x100 +/* 1774DC 80248BFC 50400058 */ beql $v0, $zero, .L80248D60 +/* 1774E0 80248C00 AC640000 */ sw $a0, ($v1) +/* 1774E4 80248C04 08092358 */ j func_80248D60 +/* 1774E8 80248C08 00000000 */ nop + +/* 1774EC 80248C0C 240200FF */ addiu $v0, $zero, 0xff +/* 1774F0 80248C10 3C04800E */ lui $a0, 0x800e +/* 1774F4 80248C14 2484C070 */ addiu $a0, $a0, -0x3f90 +/* 1774F8 80248C18 2403FFFE */ addiu $v1, $zero, -2 +/* 1774FC 80248C1C 3C018028 */ lui $at, 0x8028 +/* 177500 80248C20 AC220A30 */ sw $v0, 0xa30($at) +/* 177504 80248C24 8C820000 */ lw $v0, ($a0) +/* 177508 80248C28 3C05800E */ lui $a1, 0x800e +/* 17750C 80248C2C 8CA5C064 */ lw $a1, -0x3f9c($a1) +/* 177510 80248C30 00431024 */ and $v0, $v0, $v1 +/* 177514 80248C34 14A00004 */ bnez $a1, .L80248C48 +/* 177518 80248C38 AC820000 */ sw $v0, ($a0) +/* 17751C 80248C3C 8CC4000C */ lw $a0, 0xc($a2) +/* 177520 80248C40 08092313 */ j func_80248C4C +/* 177524 80248C44 00000000 */ nop + +.L80248C48: +/* 177528 80248C48 8CA40004 */ lw $a0, 4($a1) +func_80248C4C: +/* 17752C 80248C4C 8C840010 */ lw $a0, 0x10($a0) +/* 177530 80248C50 14800006 */ bnez $a0, .L80248C6C +/* 177534 80248C54 2405000A */ addiu $a1, $zero, 0xa +/* 177538 80248C58 24020004 */ addiu $v0, $zero, 4 +/* 17753C 80248C5C 3C01800E */ lui $at, 0x800e +/* 177540 80248C60 AC22C4DC */ sw $v0, -0x3b24($at) +/* 177544 80248C64 08092358 */ j func_80248D60 +/* 177548 80248C68 00000000 */ nop + +.L80248C6C: +/* 17754C 80248C6C 0C0B0CF8 */ jal start_script +/* 177550 80248C70 0000302D */ daddu $a2, $zero, $zero +/* 177554 80248C74 AE4200BC */ sw $v0, 0xbc($s2) +/* 177558 80248C78 8C430144 */ lw $v1, 0x144($v0) +/* 17755C 80248C7C 24020003 */ addiu $v0, $zero, 3 +/* 177560 80248C80 3C01800E */ lui $at, 0x800e +/* 177564 80248C84 AC22C4DC */ sw $v0, -0x3b24($at) +/* 177568 80248C88 08092358 */ j func_80248D60 +/* 17756C 80248C8C AE4300C0 */ sw $v1, 0xc0($s2) + +/* 177570 80248C90 8E4400C0 */ lw $a0, 0xc0($s2) +/* 177574 80248C94 0C0B1059 */ jal does_script_exist +/* 177578 80248C98 00000000 */ nop +/* 17757C 80248C9C 14400030 */ bnez $v0, .L80248D60 +/* 177580 80248CA0 24020004 */ addiu $v0, $zero, 4 +/* 177584 80248CA4 3C01800E */ lui $at, 0x800e +/* 177588 80248CA8 AC22C4DC */ sw $v0, -0x3b24($at) +/* 17758C 80248CAC 0C0B1045 */ jal kill_all_scripts +/* 177590 80248CB0 0000882D */ daddu $s1, $zero, $zero +/* 177594 80248CB4 0240802D */ daddu $s0, $s2, $zero +.L80248CB8: +/* 177598 80248CB8 8E0400E0 */ lw $a0, 0xe0($s0) +/* 17759C 80248CBC 10800003 */ beqz $a0, .L80248CCC +/* 1775A0 80248CC0 26310001 */ addiu $s1, $s1, 1 +/* 1775A4 80248CC4 0C0902EF */ jal delete_actor +/* 1775A8 80248CC8 00000000 */ nop +func_80248CCC: +.L80248CCC: +/* 1775AC 80248CCC 2A220018 */ slti $v0, $s1, 0x18 +func_80248CD0: +/* 1775B0 80248CD0 1440FFF9 */ bnez $v0, .L80248CB8 +/* 1775B4 80248CD4 26100004 */ addiu $s0, $s0, 4 +/* 1775B8 80248CD8 8E4400DC */ lw $a0, 0xdc($s2) +/* 1775BC 80248CDC 10800003 */ beqz $a0, .L80248CEC +/* 1775C0 80248CE0 00000000 */ nop +/* 1775C4 80248CE4 0C0902EF */ jal delete_actor +/* 1775C8 80248CE8 00000000 */ nop +.L80248CEC: +/* 1775CC 80248CEC 0C09035A */ jal delete_player_actor +/* 1775D0 80248CF0 8E4400D8 */ lw $a0, 0xd8($s2) +/* 1775D4 80248CF4 0C016938 */ jal remove_all_effects +/* 1775D8 80248CF8 00000000 */ nop +/* 1775DC 80248CFC 0C051FB1 */ jal func_80147EC4 +/* 1775E0 80248D00 0000202D */ daddu $a0, $zero, $zero +/* 1775E4 80248D04 3C02800E */ lui $v0, 0x800e +/* 1775E8 80248D08 8C42C074 */ lw $v0, -0x3f8c($v0) +/* 1775EC 80248D0C 30420040 */ andi $v0, $v0, 0x40 +/* 1775F0 80248D10 10400003 */ beqz $v0, .L80248D20 +/* 1775F4 80248D14 00000000 */ nop +/* 1775F8 80248D18 0C03A6CC */ jal decrement_status_menu_disabled +/* 1775FC 80248D1C 00000000 */ nop +.L80248D20: +/* 177600 80248D20 3C038028 */ lui $v1, 0x8028 +/* 177604 80248D24 846309F6 */ lh $v1, 0x9f6($v1) +/* 177608 80248D28 2402FFFF */ addiu $v0, $zero, -1 +/* 17760C 80248D2C 10620004 */ beq $v1, $v0, .L80248D40 +/* 177610 80248D30 24020012 */ addiu $v0, $zero, 0x12 +/* 177614 80248D34 3C038007 */ lui $v1, 0x8007 +/* 177618 80248D38 8C63419C */ lw $v1, 0x419c($v1) +/* 17761C 80248D3C A0620072 */ sb $v0, 0x72($v1) +func_80248D40: +.L80248D40: +/* 177620 80248D40 0C090464 */ jal func_80241190 +/* 177624 80248D44 0000202D */ daddu $a0, $zero, $zero +/* 177628 80248D48 3C02800E */ lui $v0, 0x800e +/* 17762C 80248D4C 8C42C068 */ lw $v0, -0x3f98($v0) +/* 177630 80248D50 3C01800E */ lui $at, 0x800e +/* 177634 80248D54 AC22C4D0 */ sw $v0, -0x3b30($at) +/* 177638 80248D58 0C00CD3C */ jal set_game_mode +/* 17763C 80248D5C 24040009 */ addiu $a0, $zero, 9 +func_80248D60: +.L80248D60: +/* 177640 80248D60 8FBF001C */ lw $ra, 0x1c($sp) +/* 177644 80248D64 8FB20018 */ lw $s2, 0x18($sp) +/* 177648 80248D68 8FB10014 */ lw $s1, 0x14($sp) +/* 17764C 80248D6C 8FB00010 */ lw $s0, 0x10($sp) +/* 177650 80248D70 03E00008 */ jr $ra +/* 177654 80248D74 27BD0020 */ addiu $sp, $sp, 0x20 + +func_80248D78: +/* 177658 80248D78 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 17765C 80248D7C 3C038028 */ lui $v1, 0x8028 +/* 177660 80248D80 846309F6 */ lh $v1, 0x9f6($v1) +/* 177664 80248D84 2402FFFF */ addiu $v0, $zero, -1 +/* 177668 80248D88 1462000C */ bne $v1, $v0, .L80248DBC +/* 17766C 80248D8C AFBF0010 */ sw $ra, 0x10($sp) +/* 177670 80248D90 0000202D */ daddu $a0, $zero, $zero +func_80248D94: +/* 177674 80248D94 0080282D */ daddu $a1, $a0, $zero +/* 177678 80248D98 0080302D */ daddu $a2, $a0, $zero +/* 17767C 80248D9C 0C04DF84 */ jal func_80137E10 +/* 177680 80248DA0 0080382D */ daddu $a3, $a0, $zero +/* 177684 80248DA4 3C018028 */ lui $at, 0x8028 +/* 177688 80248DA8 C4200A30 */ lwc1 $f0, 0xa30($at) +/* 17768C 80248DAC 46800020 */ cvt.s.w $f0, $f0 +/* 177690 80248DB0 44050000 */ mfc1 $a1, $f0 +/* 177694 80248DB4 0C04DF62 */ jal func_80137D88 +/* 177698 80248DB8 0000202D */ daddu $a0, $zero, $zero +.L80248DBC: +/* 17769C 80248DBC 8FBF0010 */ lw $ra, 0x10($sp) +/* 1776A0 80248DC0 03E00008 */ jr $ra +/* 1776A4 80248DC4 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 1776A8 80248DC8 00000000 */ nop +/* 1776AC 80248DCC 00000000 */ nop +/* 1776B0 80248DD0 24020001 */ addiu $v0, $zero, 1 +/* 1776B4 80248DD4 3C01802A */ lui $at, 0x802a +/* 1776B8 80248DD8 A022F29C */ sb $v0, -0xd64($at) +/* 1776BC 80248DDC 03E00008 */ jr $ra +/* 1776C0 80248DE0 0000102D */ daddu $v0, $zero, $zero + +/* 1776C4 80248DE4 27BDFF88 */ addiu $sp, $sp, -0x78 +/* 1776C8 80248DE8 AFB1003C */ sw $s1, 0x3c($sp) +/* 1776CC 80248DEC 00A0882D */ daddu $s1, $a1, $zero +/* 1776D0 80248DF0 AFB00038 */ sw $s0, 0x38($sp) +/* 1776D4 80248DF4 3C10800B */ lui $s0, 0x800b +/* 1776D8 80248DF8 261022D8 */ addiu $s0, $s0, 0x22d8 +/* 1776DC 80248DFC 3C02802A */ lui $v0, 0x802a +/* 1776E0 80248E00 9442F27C */ lhu $v0, -0xd84($v0) +/* 1776E4 80248E04 3C04800E */ lui $a0, 0x800e +/* 1776E8 80248E08 2484C070 */ addiu $a0, $a0, -0x3f90 +/* 1776EC 80248E0C AFBF0040 */ sw $ra, 0x40($sp) +/* 1776F0 80248E10 F7BE0070 */ sdc1 $f30, 0x70($sp) +/* 1776F4 80248E14 F7BC0068 */ sdc1 $f28, 0x68($sp) +/* 1776F8 80248E18 F7BA0060 */ sdc1 $f26, 0x60($sp) +/* 1776FC 80248E1C F7B80058 */ sdc1 $f24, 0x58($sp) +/* 177700 80248E20 F7B60050 */ sdc1 $f22, 0x50($sp) +/* 177704 80248E24 F7B40048 */ sdc1 $f20, 0x48($sp) +/* 177708 80248E28 30430700 */ andi $v1, $v0, 0x700 +/* 17770C 80248E2C 304500FF */ andi $a1, $v0, 0xff +/* 177710 80248E30 24020100 */ addiu $v0, $zero, 0x100 +/* 177714 80248E34 10620065 */ beq $v1, $v0, .L80248FCC +/* 177718 80248E38 28620101 */ slti $v0, $v1, 0x101 +/* 17771C 80248E3C 10400005 */ beqz $v0, .L80248E54 +/* 177720 80248E40 24020200 */ addiu $v0, $zero, 0x200 +/* 177724 80248E44 10600007 */ beqz $v1, .L80248E64 +/* 177728 80248E48 0000102D */ daddu $v0, $zero, $zero +/* 17772C 80248E4C 080925F6 */ j func_802497D8 +/* 177730 80248E50 00000000 */ nop + +.L80248E54: +/* 177734 80248E54 106200B8 */ beq $v1, $v0, .L80249138 +/* 177738 80248E58 0000102D */ daddu $v0, $zero, $zero +/* 17773C 80248E5C 080925F6 */ j func_802497D8 +/* 177740 80248E60 00000000 */ nop + +.L80248E64: +/* 177744 80248E64 8C8400D8 */ lw $a0, 0xd8($a0) +/* 177748 80248E68 1080025B */ beqz $a0, .L802497D8 +/* 17774C 80248E6C 00000000 */ nop +/* 177750 80248E70 C4980144 */ lwc1 $f24, 0x144($a0) +/* 177754 80248E74 90830191 */ lbu $v1, 0x191($a0) +/* 177758 80248E78 C490014C */ lwc1 $f16, 0x14c($a0) +/* 17775C 80248E7C 00031042 */ srl $v0, $v1, 1 +/* 177760 80248E80 44820000 */ mtc1 $v0, $f0 +/* 177764 80248E84 00000000 */ nop +/* 177768 80248E88 46800020 */ cvt.s.w $f0, $f0 +/* 17776C 80248E8C E7B00018 */ swc1 $f16, 0x18($sp) +/* 177770 80248E90 C4820148 */ lwc1 $f2, 0x148($a0) +/* 177774 80248E94 00031082 */ srl $v0, $v1, 2 +/* 177778 80248E98 46001080 */ add.s $f2, $f2, $f0 +/* 17777C 80248E9C 44820000 */ mtc1 $v0, $f0 +/* 177780 80248EA0 00000000 */ nop +/* 177784 80248EA4 46800020 */ cvt.s.w $f0, $f0 +/* 177788 80248EA8 90820190 */ lbu $v0, 0x190($a0) +/* 17778C 80248EAC 46001500 */ add.s $f20, $f2, $f0 +/* 177790 80248EB0 4483D000 */ mtc1 $v1, $f26 +func_80248EB4: +/* 177794 80248EB4 00000000 */ nop +/* 177798 80248EB8 4680D6A0 */ cvt.s.w $f26, $f26 +/* 17779C 80248EBC 4482B000 */ mtc1 $v0, $f22 +/* 1777A0 80248EC0 00000000 */ nop +/* 1777A4 80248EC4 4680B5A0 */ cvt.s.w $f22, $f22 +/* 1777A8 80248EC8 4616D000 */ add.s $f0, $f26, $f22 +/* 1777AC 80248ECC 3C013F00 */ lui $at, 0x3f00 +/* 1777B0 80248ED0 4481E000 */ mtc1 $at, $f28 +/* 1777B4 80248ED4 00000000 */ nop +/* 1777B8 80248ED8 461C0002 */ mul.s $f0, $f0, $f28 +/* 1777BC 80248EDC 00000000 */ nop +/* 1777C0 80248EE0 84840428 */ lh $a0, 0x428($a0) +/* 1777C4 80248EE4 0C09A75B */ jal get_actor +/* 1777C8 80248EE8 E7A0002C */ swc1 $f0, 0x2c($sp) +/* 1777CC 80248EEC 0040202D */ daddu $a0, $v0, $zero +/* 1777D0 80248EF0 10800239 */ beqz $a0, .L802497D8 +/* 1777D4 80248EF4 0000102D */ daddu $v0, $zero, $zero +/* 1777D8 80248EF8 90830191 */ lbu $v1, 0x191($a0) +/* 1777DC 80248EFC C4820148 */ lwc1 $f2, 0x148($a0) +/* 1777E0 80248F00 00031042 */ srl $v0, $v1, 1 +/* 1777E4 80248F04 44820000 */ mtc1 $v0, $f0 +/* 1777E8 80248F08 00000000 */ nop +/* 1777EC 80248F0C 46800020 */ cvt.s.w $f0, $f0 +/* 1777F0 80248F10 46001080 */ add.s $f2, $f2, $f0 +/* 1777F4 80248F14 00031082 */ srl $v0, $v1, 2 +/* 1777F8 80248F18 44820000 */ mtc1 $v0, $f0 +/* 1777FC 80248F1C 00000000 */ nop +/* 177800 80248F20 46800020 */ cvt.s.w $f0, $f0 +/* 177804 80248F24 46001080 */ add.s $f2, $f2, $f0 +/* 177808 80248F28 E7A20024 */ swc1 $f2, 0x24($sp) +/* 17780C 80248F2C C4920144 */ lwc1 $f18, 0x144($a0) +/* 177810 80248F30 E7B20020 */ swc1 $f18, 0x20($sp) +/* 177814 80248F34 C490014C */ lwc1 $f16, 0x14c($a0) +/* 177818 80248F38 E7B00028 */ swc1 $f16, 0x28($sp) +/* 17781C 80248F3C 90820190 */ lbu $v0, 0x190($a0) +/* 177820 80248F40 46189001 */ sub.s $f0, $f18, $f24 +/* 177824 80248F44 00621821 */ addu $v1, $v1, $v0 +/* 177828 80248F48 00031843 */ sra $v1, $v1, 1 +/* 17782C 80248F4C 461C0002 */ mul.s $f0, $f0, $f28 +/* 177830 80248F50 00000000 */ nop +/* 177834 80248F54 44839000 */ mtc1 $v1, $f18 +/* 177838 80248F58 00000000 */ nop +/* 17783C 80248F5C 468094A0 */ cvt.s.w $f18, $f18 +/* 177840 80248F60 3C03802A */ lui $v1, 0x802a +/* 177844 80248F64 8063F2A2 */ lb $v1, -0xd5e($v1) +/* 177848 80248F68 E7B20030 */ swc1 $f18, 0x30($sp) +/* 17784C 80248F6C 0460000B */ bltz $v1, .L80248F9C +/* 177850 80248F70 4600C780 */ add.s $f30, $f24, $f0 +/* 177854 80248F74 506000C6 */ beql $v1, $zero, .L80249290 +/* 177858 80248F78 4600A706 */ mov.s $f28, $f20 +/* 17785C 80248F7C 4602A001 */ sub.s $f0, $f20, $f2 +/* 177860 80248F80 461C0082 */ mul.s $f2, $f0, $f28 +/* 177864 80248F84 00000000 */ nop +/* 177868 80248F88 C7B00024 */ lwc1 $f16, 0x24($sp) +/* 17786C 80248F8C 3C0140C0 */ lui $at, 0x40c0 +/* 177870 80248F90 44812000 */ mtc1 $at, $f4 +/* 177874 80248F94 0809249D */ j func_80249274 +/* 177878 80248F98 46028080 */ add.s $f2, $f16, $f2 + +func_80248F9C: +.L80248F9C: +/* 17787C 80248F9C 2402FFFF */ addiu $v0, $zero, -1 +/* 177880 80248FA0 106200BA */ beq $v1, $v0, .L8024928C +/* 177884 80248FA4 00000000 */ nop +/* 177888 80248FA8 C7B20024 */ lwc1 $f18, 0x24($sp) +/* 17788C 80248FAC 46149001 */ sub.s $f0, $f18, $f20 +/* 177890 80248FB0 3C013E80 */ lui $at, 0x3e80 +/* 177894 80248FB4 44811000 */ mtc1 $at, $f2 +/* 177898 80248FB8 00000000 */ nop +/* 17789C 80248FBC 46020002 */ mul.s $f0, $f0, $f2 +/* 1778A0 80248FC0 00000000 */ nop +/* 1778A4 80248FC4 080924A4 */ j func_80249290 +/* 1778A8 80248FC8 4600A700 */ add.s $f28, $f20, $f0 + +.L80248FCC: +/* 1778AC 80248FCC 8C8400DC */ lw $a0, 0xdc($a0) +/* 1778B0 80248FD0 10800201 */ beqz $a0, .L802497D8 +/* 1778B4 80248FD4 0000102D */ daddu $v0, $zero, $zero +/* 1778B8 80248FD8 C4980144 */ lwc1 $f24, 0x144($a0) +/* 1778BC 80248FDC 90830191 */ lbu $v1, 0x191($a0) +/* 1778C0 80248FE0 C490014C */ lwc1 $f16, 0x14c($a0) +/* 1778C4 80248FE4 00031042 */ srl $v0, $v1, 1 +/* 1778C8 80248FE8 44820000 */ mtc1 $v0, $f0 +/* 1778CC 80248FEC 00000000 */ nop +/* 1778D0 80248FF0 46800020 */ cvt.s.w $f0, $f0 +/* 1778D4 80248FF4 E7B00018 */ swc1 $f16, 0x18($sp) +/* 1778D8 80248FF8 C4820148 */ lwc1 $f2, 0x148($a0) +/* 1778DC 80248FFC 00031082 */ srl $v0, $v1, 2 +/* 1778E0 80249000 46001080 */ add.s $f2, $f2, $f0 +/* 1778E4 80249004 44820000 */ mtc1 $v0, $f0 +func_80249008: +/* 1778E8 80249008 00000000 */ nop +/* 1778EC 8024900C 46800020 */ cvt.s.w $f0, $f0 +/* 1778F0 80249010 90820190 */ lbu $v0, 0x190($a0) +/* 1778F4 80249014 46001500 */ add.s $f20, $f2, $f0 +/* 1778F8 80249018 4483D000 */ mtc1 $v1, $f26 +/* 1778FC 8024901C 00000000 */ nop +/* 177900 80249020 4680D6A0 */ cvt.s.w $f26, $f26 +/* 177904 80249024 4482B000 */ mtc1 $v0, $f22 +/* 177908 80249028 00000000 */ nop +/* 17790C 8024902C 4680B5A0 */ cvt.s.w $f22, $f22 +/* 177910 80249030 4616D000 */ add.s $f0, $f26, $f22 +func_80249034: +/* 177914 80249034 3C013F00 */ lui $at, 0x3f00 +/* 177918 80249038 4481E000 */ mtc1 $at, $f28 +/* 17791C 8024903C 00000000 */ nop +/* 177920 80249040 461C0002 */ mul.s $f0, $f0, $f28 +/* 177924 80249044 00000000 */ nop +/* 177928 80249048 84840428 */ lh $a0, 0x428($a0) +/* 17792C 8024904C 0C09A75B */ jal get_actor +/* 177930 80249050 E7A0002C */ swc1 $f0, 0x2c($sp) +/* 177934 80249054 0040202D */ daddu $a0, $v0, $zero +/* 177938 80249058 108001DF */ beqz $a0, .L802497D8 +/* 17793C 8024905C 0000102D */ daddu $v0, $zero, $zero +/* 177940 80249060 90830191 */ lbu $v1, 0x191($a0) +/* 177944 80249064 C4820148 */ lwc1 $f2, 0x148($a0) +/* 177948 80249068 00031042 */ srl $v0, $v1, 1 +/* 17794C 8024906C 44820000 */ mtc1 $v0, $f0 +/* 177950 80249070 00000000 */ nop +/* 177954 80249074 46800020 */ cvt.s.w $f0, $f0 +/* 177958 80249078 46001080 */ add.s $f2, $f2, $f0 +/* 17795C 8024907C 00031082 */ srl $v0, $v1, 2 +/* 177960 80249080 44820000 */ mtc1 $v0, $f0 +/* 177964 80249084 00000000 */ nop +/* 177968 80249088 46800020 */ cvt.s.w $f0, $f0 +/* 17796C 8024908C 46001080 */ add.s $f2, $f2, $f0 +/* 177970 80249090 E7A20024 */ swc1 $f2, 0x24($sp) +/* 177974 80249094 C4920144 */ lwc1 $f18, 0x144($a0) +/* 177978 80249098 E7B20020 */ swc1 $f18, 0x20($sp) +/* 17797C 8024909C C490014C */ lwc1 $f16, 0x14c($a0) +/* 177980 802490A0 46189001 */ sub.s $f0, $f18, $f24 +/* 177984 802490A4 E7B00028 */ swc1 $f16, 0x28($sp) +/* 177988 802490A8 90820190 */ lbu $v0, 0x190($a0) +/* 17798C 802490AC 00621821 */ addu $v1, $v1, $v0 +/* 177990 802490B0 461C0002 */ mul.s $f0, $f0, $f28 +/* 177994 802490B4 00000000 */ nop +/* 177998 802490B8 00031843 */ sra $v1, $v1, 1 +/* 17799C 802490BC 3C02802A */ lui $v0, 0x802a +/* 1779A0 802490C0 8042F2A2 */ lb $v0, -0xd5e($v0) +/* 1779A4 802490C4 44839000 */ mtc1 $v1, $f18 +/* 1779A8 802490C8 00000000 */ nop +/* 1779AC 802490CC 468094A0 */ cvt.s.w $f18, $f18 +/* 1779B0 802490D0 E7B20030 */ swc1 $f18, 0x30($sp) +/* 1779B4 802490D4 0440000D */ bltz $v0, .L8024910C +/* 1779B8 802490D8 4600C780 */ add.s $f30, $f24, $f0 +/* 1779BC 802490DC 5040000C */ beql $v0, $zero, .L80249110 +/* 1779C0 802490E0 4600A706 */ mov.s $f28, $f20 +/* 1779C4 802490E4 4602A001 */ sub.s $f0, $f20, $f2 +/* 1779C8 802490E8 461C0082 */ mul.s $f2, $f0, $f28 +/* 1779CC 802490EC 00000000 */ nop +/* 1779D0 802490F0 C7B00024 */ lwc1 $f16, 0x24($sp) +/* 1779D4 802490F4 3C0140C0 */ lui $at, 0x40c0 +/* 1779D8 802490F8 44812000 */ mtc1 $at, $f4 +/* 1779DC 802490FC 46028080 */ add.s $f2, $f16, $f2 +/* 1779E0 80249100 46040003 */ div.s $f0, $f0, $f4 +/* 1779E4 80249104 08092444 */ j func_80249110 +/* 1779E8 80249108 46001700 */ add.s $f28, $f2, $f0 + +.L8024910C: +/* 1779EC 8024910C C7BC0024 */ lwc1 $f28, 0x24($sp) +func_80249110: +.L80249110: +/* 1779F0 80249110 C7B20028 */ lwc1 $f18, 0x28($sp) +/* 1779F4 80249114 C7B00018 */ lwc1 $f16, 0x18($sp) +/* 1779F8 80249118 46109001 */ sub.s $f0, $f18, $f16 +/* 1779FC 8024911C 3C013F00 */ lui $at, 0x3f00 +/* 177A00 80249120 44811000 */ mtc1 $at, $f2 +/* 177A04 80249124 00000000 */ nop +/* 177A08 80249128 46020002 */ mul.s $f0, $f0, $f2 +/* 177A0C 8024912C 00000000 */ nop +/* 177A10 80249130 080924AD */ j func_802492B4 +/* 177A14 80249134 46008000 */ add.s $f0, $f16, $f0 + +.L80249138: +/* 177A18 80249138 00051080 */ sll $v0, $a1, 2 +/* 177A1C 8024913C 00441021 */ addu $v0, $v0, $a0 +/* 177A20 80249140 8C4400E0 */ lw $a0, 0xe0($v0) +/* 177A24 80249144 108001A4 */ beqz $a0, .L802497D8 +/* 177A28 80249148 0000102D */ daddu $v0, $zero, $zero +/* 177A2C 8024914C C4980144 */ lwc1 $f24, 0x144($a0) +/* 177A30 80249150 90830191 */ lbu $v1, 0x191($a0) +/* 177A34 80249154 C492014C */ lwc1 $f18, 0x14c($a0) +/* 177A38 80249158 00031042 */ srl $v0, $v1, 1 +/* 177A3C 8024915C 44820000 */ mtc1 $v0, $f0 +/* 177A40 80249160 00000000 */ nop +/* 177A44 80249164 46800020 */ cvt.s.w $f0, $f0 +/* 177A48 80249168 E7B20018 */ swc1 $f18, 0x18($sp) +/* 177A4C 8024916C C4820148 */ lwc1 $f2, 0x148($a0) +/* 177A50 80249170 00031082 */ srl $v0, $v1, 2 +/* 177A54 80249174 46001080 */ add.s $f2, $f2, $f0 +/* 177A58 80249178 44820000 */ mtc1 $v0, $f0 +/* 177A5C 8024917C 00000000 */ nop +/* 177A60 80249180 46800020 */ cvt.s.w $f0, $f0 +/* 177A64 80249184 90820190 */ lbu $v0, 0x190($a0) +/* 177A68 80249188 46001500 */ add.s $f20, $f2, $f0 +/* 177A6C 8024918C 4483D000 */ mtc1 $v1, $f26 +/* 177A70 80249190 00000000 */ nop +/* 177A74 80249194 4680D6A0 */ cvt.s.w $f26, $f26 +/* 177A78 80249198 4482B000 */ mtc1 $v0, $f22 +/* 177A7C 8024919C 00000000 */ nop +/* 177A80 802491A0 4680B5A0 */ cvt.s.w $f22, $f22 +/* 177A84 802491A4 4616D000 */ add.s $f0, $f26, $f22 +/* 177A88 802491A8 3C013F00 */ lui $at, 0x3f00 +/* 177A8C 802491AC 4481E000 */ mtc1 $at, $f28 +/* 177A90 802491B0 00000000 */ nop +/* 177A94 802491B4 461C0002 */ mul.s $f0, $f0, $f28 +/* 177A98 802491B8 00000000 */ nop +/* 177A9C 802491BC 84840428 */ lh $a0, 0x428($a0) +/* 177AA0 802491C0 0C09A75B */ jal get_actor +/* 177AA4 802491C4 E7A0002C */ swc1 $f0, 0x2c($sp) +/* 177AA8 802491C8 0040202D */ daddu $a0, $v0, $zero +/* 177AAC 802491CC 10800182 */ beqz $a0, .L802497D8 +/* 177AB0 802491D0 0000102D */ daddu $v0, $zero, $zero +/* 177AB4 802491D4 90830191 */ lbu $v1, 0x191($a0) +/* 177AB8 802491D8 C4820148 */ lwc1 $f2, 0x148($a0) +/* 177ABC 802491DC 00031042 */ srl $v0, $v1, 1 +/* 177AC0 802491E0 44820000 */ mtc1 $v0, $f0 +/* 177AC4 802491E4 00000000 */ nop +/* 177AC8 802491E8 46800020 */ cvt.s.w $f0, $f0 +/* 177ACC 802491EC 46001080 */ add.s $f2, $f2, $f0 +/* 177AD0 802491F0 00031082 */ srl $v0, $v1, 2 +/* 177AD4 802491F4 44820000 */ mtc1 $v0, $f0 +/* 177AD8 802491F8 00000000 */ nop +/* 177ADC 802491FC 46800020 */ cvt.s.w $f0, $f0 +/* 177AE0 80249200 46001080 */ add.s $f2, $f2, $f0 +/* 177AE4 80249204 E7A20024 */ swc1 $f2, 0x24($sp) +/* 177AE8 80249208 C4900144 */ lwc1 $f16, 0x144($a0) +/* 177AEC 8024920C E7B00020 */ swc1 $f16, 0x20($sp) +/* 177AF0 80249210 C492014C */ lwc1 $f18, 0x14c($a0) +/* 177AF4 80249214 E7B20028 */ swc1 $f18, 0x28($sp) +/* 177AF8 80249218 90820190 */ lbu $v0, 0x190($a0) +/* 177AFC 8024921C 46188001 */ sub.s $f0, $f16, $f24 +/* 177B00 80249220 00621821 */ addu $v1, $v1, $v0 +/* 177B04 80249224 00031843 */ sra $v1, $v1, 1 +/* 177B08 80249228 461C0002 */ mul.s $f0, $f0, $f28 +/* 177B0C 8024922C 00000000 */ nop +/* 177B10 80249230 44838000 */ mtc1 $v1, $f16 +/* 177B14 80249234 00000000 */ nop +/* 177B18 80249238 46808420 */ cvt.s.w $f16, $f16 +/* 177B1C 8024923C 3C03802A */ lui $v1, 0x802a +/* 177B20 80249240 8063F2A2 */ lb $v1, -0xd5e($v1) +/* 177B24 80249244 E7B00030 */ swc1 $f16, 0x30($sp) +/* 177B28 80249248 0460000D */ bltz $v1, .L80249280 +/* 177B2C 8024924C 4600C780 */ add.s $f30, $f24, $f0 +/* 177B30 80249250 5060000F */ beql $v1, $zero, .L80249290 +/* 177B34 80249254 4600A706 */ mov.s $f28, $f20 +/* 177B38 80249258 4602A001 */ sub.s $f0, $f20, $f2 +/* 177B3C 8024925C 461C0082 */ mul.s $f2, $f0, $f28 +/* 177B40 80249260 00000000 */ nop +/* 177B44 80249264 C7B20024 */ lwc1 $f18, 0x24($sp) +/* 177B48 80249268 3C0140C0 */ lui $at, 0x40c0 +/* 177B4C 8024926C 44812000 */ mtc1 $at, $f4 +/* 177B50 80249270 46029080 */ add.s $f2, $f18, $f2 +func_80249274: +/* 177B54 80249274 46040003 */ div.s $f0, $f0, $f4 +/* 177B58 80249278 080924A4 */ j func_80249290 +/* 177B5C 8024927C 46001700 */ add.s $f28, $f2, $f0 + +.L80249280: +/* 177B60 80249280 2402FFFF */ addiu $v0, $zero, -1 +/* 177B64 80249284 14620002 */ bne $v1, $v0, .L80249290 +/* 177B68 80249288 4600A706 */ mov.s $f28, $f20 +func_8024928C: +.L8024928C: +/* 177B6C 8024928C C7BC0024 */ lwc1 $f28, 0x24($sp) +func_80249290: +.L80249290: +/* 177B70 80249290 C7B00028 */ lwc1 $f16, 0x28($sp) +/* 177B74 80249294 C7B20018 */ lwc1 $f18, 0x18($sp) +/* 177B78 80249298 46128001 */ sub.s $f0, $f16, $f18 +/* 177B7C 8024929C 3C013F00 */ lui $at, 0x3f00 +/* 177B80 802492A0 44811000 */ mtc1 $at, $f2 +/* 177B84 802492A4 00000000 */ nop +/* 177B88 802492A8 46020002 */ mul.s $f0, $f0, $f2 +/* 177B8C 802492AC 00000000 */ nop +/* 177B90 802492B0 46009000 */ add.s $f0, $f18, $f0 +func_802492B4: +/* 177B94 802492B4 E7A0001C */ swc1 $f0, 0x1c($sp) +/* 177B98 802492B8 3C02802A */ lui $v0, 0x802a +/* 177B9C 802492BC 8042F2A6 */ lb $v0, -0xd5a($v0) +/* 177BA0 802492C0 10400029 */ beqz $v0, .L80249368 +/* 177BA4 802492C4 00000000 */ nop +/* 177BA8 802492C8 3C01802A */ lui $at, 0x802a +/* 177BAC 802492CC C422F28C */ lwc1 $f2, -0xd74($at) +/* 177BB0 802492D0 3C0143FA */ lui $at, 0x43fa +/* 177BB4 802492D4 44810000 */ mtc1 $at, $f0 +/* 177BB8 802492D8 00000000 */ nop +/* 177BBC 802492DC 46020001 */ sub.s $f0, $f0, $f2 +/* 177BC0 802492E0 3C01802A */ lui $at, 0x802a +func_802492E4: +/* 177BC4 802492E4 D422CC00 */ ldc1 $f2, -0x3400($at) +/* 177BC8 802492E8 46000021 */ cvt.d.s $f0, $f0 +/* 177BCC 802492EC 46220002 */ mul.d $f0, $f0, $f2 +/* 177BD0 802492F0 00000000 */ nop +/* 177BD4 802492F4 3C01403E */ lui $at, 0x403e +/* 177BD8 802492F8 44811800 */ mtc1 $at, $f3 +/* 177BDC 802492FC 44801000 */ mtc1 $zero, $f2 +/* 177BE0 80249300 00000000 */ nop +/* 177BE4 80249304 46220000 */ add.d $f0, $f0, $f2 +/* 177BE8 80249308 46200120 */ cvt.s.d $f4, $f0 +/* 177BEC 8024930C 46002007 */ neg.s $f0, $f4 +func_80249310: +/* 177BF0 80249310 4600F03C */ c.lt.s $f30, $f0 +/* 177BF4 80249314 00000000 */ nop +/* 177BF8 80249318 45000008 */ bc1f .L8024933C +/* 177BFC 8024931C 00000000 */ nop +/* 177C00 80249320 461E0001 */ sub.s $f0, $f0, $f30 +/* 177C04 80249324 3C013F00 */ lui $at, 0x3f00 +/* 177C08 80249328 44811000 */ mtc1 $at, $f2 +/* 177C0C 8024932C 00000000 */ nop +/* 177C10 80249330 46020002 */ mul.s $f0, $f0, $f2 +/* 177C14 80249334 00000000 */ nop +/* 177C18 80249338 4600F780 */ add.s $f30, $f30, $f0 +.L8024933C: +/* 177C1C 8024933C 461E203C */ c.lt.s $f4, $f30 +/* 177C20 80249340 00000000 */ nop +/* 177C24 80249344 45000008 */ bc1f .L80249368 +/* 177C28 80249348 00000000 */ nop +/* 177C2C 8024934C 461E2001 */ sub.s $f0, $f4, $f30 +/* 177C30 80249350 3C013F00 */ lui $at, 0x3f00 +/* 177C34 80249354 44811000 */ mtc1 $at, $f2 +/* 177C38 80249358 00000000 */ nop +/* 177C3C 8024935C 46020002 */ mul.s $f0, $f0, $f2 +/* 177C40 80249360 00000000 */ nop +/* 177C44 80249364 4600F780 */ add.s $f30, $f30, $f0 +.L80249368: +/* 177C48 80249368 12200055 */ beqz $s1, .L802494C0 +/* 177C4C 8024936C 00000000 */ nop +/* 177C50 80249370 3C0141C0 */ lui $at, 0x41c0 +/* 177C54 80249374 44810000 */ mtc1 $at, $f0 +/* 177C58 80249378 00000000 */ nop +/* 177C5C 8024937C 4600B581 */ sub.s $f22, $f22, $f0 +func_80249380: +/* 177C60 80249380 4600D681 */ sub.s $f26, $f26, $f0 +/* 177C64 80249384 44800000 */ mtc1 $zero, $f0 +/* 177C68 80249388 00000000 */ nop +/* 177C6C 8024938C 4600B03C */ c.lt.s $f22, $f0 +/* 177C70 80249390 00000000 */ nop +/* 177C74 80249394 45030001 */ bc1tl .L8024939C +/* 177C78 80249398 46000586 */ mov.s $f22, $f0 +.L8024939C: +/* 177C7C 8024939C 4600D03C */ c.lt.s $f26, $f0 +/* 177C80 802493A0 00000000 */ nop +/* 177C84 802493A4 45030001 */ bc1tl .L802493AC +/* 177C88 802493A8 46000686 */ mov.s $f26, $f0 +.L802493AC: +/* 177C8C 802493AC 3C03802A */ lui $v1, 0x802a +/* 177C90 802493B0 2463F280 */ addiu $v1, $v1, -0xd80 +/* 177C94 802493B4 84620000 */ lh $v0, ($v1) +/* 177C98 802493B8 461AB080 */ add.s $f2, $f22, $f26 +/* 177C9C 802493BC 44820000 */ mtc1 $v0, $f0 +/* 177CA0 802493C0 00000000 */ nop +/* 177CA4 802493C4 46800020 */ cvt.s.w $f0, $f0 +/* 177CA8 802493C8 46020000 */ add.s $f0, $f0, $f2 +/* 177CAC 802493CC 3C02802A */ lui $v0, 0x802a +/* 177CB0 802493D0 8042F2A4 */ lb $v0, -0xd5c($v0) +/* 177CB4 802493D4 4600040D */ trunc.w.s $f16, $f0 +/* 177CB8 802493D8 44048000 */ mfc1 $a0, $f16 +/* 177CBC 802493DC 10400010 */ beqz $v0, .L80249420 +/* 177CC0 802493E0 A4640000 */ sh $a0, ($v1) +/* 177CC4 802493E4 E61E0054 */ swc1 $f30, 0x54($s0) +/* 177CC8 802493E8 E61C0058 */ swc1 $f28, 0x58($s0) +/* 177CCC 802493EC C7B0001C */ lwc1 $f16, 0x1c($sp) +/* 177CD0 802493F0 3C02802A */ lui $v0, 0x802a +/* 177CD4 802493F4 8442F286 */ lh $v0, -0xd7a($v0) +/* 177CD8 802493F8 3C03802A */ lui $v1, 0x802a +/* 177CDC 802493FC 9463F282 */ lhu $v1, -0xd7e($v1) +/* 177CE0 80249400 A604001E */ sh $a0, 0x1e($s0) +/* 177CE4 80249404 3C04802A */ lui $a0, 0x802a +/* 177CE8 80249408 9484F284 */ lhu $a0, -0xd7c($a0) +/* 177CEC 8024940C 00021200 */ sll $v0, $v0, 8 +/* 177CF0 80249410 E610005C */ swc1 $f16, 0x5c($s0) +/* 177CF4 80249414 A6020026 */ sh $v0, 0x26($s0) +/* 177CF8 80249418 A6030024 */ sh $v1, 0x24($s0) +/* 177CFC 8024941C A6040022 */ sh $a0, 0x22($s0) +.L80249420: +/* 177D00 80249420 8602001E */ lh $v0, 0x1e($s0) +/* 177D04 80249424 86040026 */ lh $a0, 0x26($s0) +/* 177D08 80249428 86030024 */ lh $v1, 0x24($s0) +/* 177D0C 8024942C 44820000 */ mtc1 $v0, $f0 +/* 177D10 80249430 00000000 */ nop +/* 177D14 80249434 46800020 */ cvt.s.w $f0, $f0 +/* 177D18 80249438 86020022 */ lh $v0, 0x22($s0) +/* 177D1C 8024943C 3C01802A */ lui $at, 0x802a +/* 177D20 80249440 E420F28C */ swc1 $f0, -0xd74($at) +/* 177D24 80249444 44820000 */ mtc1 $v0, $f0 +/* 177D28 80249448 00000000 */ nop +/* 177D2C 8024944C 46800020 */ cvt.s.w $f0, $f0 +/* 177D30 80249450 3C01802A */ lui $at, 0x802a +/* 177D34 80249454 E420F294 */ swc1 $f0, -0xd6c($at) +/* 177D38 80249458 44830000 */ mtc1 $v1, $f0 +/* 177D3C 8024945C 00000000 */ nop +/* 177D40 80249460 46800020 */ cvt.s.w $f0, $f0 +/* 177D44 80249464 3C01802A */ lui $at, 0x802a +/* 177D48 80249468 E420F290 */ swc1 $f0, -0xd70($at) +/* 177D4C 8024946C 04820001 */ bltzl $a0, .L80249474 +/* 177D50 80249470 248400FF */ addiu $a0, $a0, 0xff +.L80249474: +/* 177D54 80249474 00041203 */ sra $v0, $a0, 8 +/* 177D58 80249478 C6020054 */ lwc1 $f2, 0x54($s0) +/* 177D5C 8024947C C6040058 */ lwc1 $f4, 0x58($s0) +/* 177D60 80249480 C606005C */ lwc1 $f6, 0x5c($s0) +/* 177D64 80249484 3C03802A */ lui $v1, 0x802a +/* 177D68 80249488 9463F29E */ lhu $v1, -0xd62($v1) +/* 177D6C 8024948C 44820000 */ mtc1 $v0, $f0 +/* 177D70 80249490 00000000 */ nop +/* 177D74 80249494 46800020 */ cvt.s.w $f0, $f0 +/* 177D78 80249498 3C01802A */ lui $at, 0x802a +/* 177D7C 8024949C E420F298 */ swc1 $f0, -0xd68($at) +/* 177D80 802494A0 3C01802A */ lui $at, 0x802a +/* 177D84 802494A4 E422F2A8 */ swc1 $f2, -0xd58($at) +/* 177D88 802494A8 3C01802A */ lui $at, 0x802a +/* 177D8C 802494AC E424F2AC */ swc1 $f4, -0xd54($at) +/* 177D90 802494B0 3C01802A */ lui $at, 0x802a +/* 177D94 802494B4 E426F2B0 */ swc1 $f6, -0xd50($at) +/* 177D98 802494B8 3C01802A */ lui $at, 0x802a +/* 177D9C 802494BC A423F2A0 */ sh $v1, -0xd60($at) +.L802494C0: +/* 177DA0 802494C0 3C02802A */ lui $v0, 0x802a +/* 177DA4 802494C4 8042F2A5 */ lb $v0, -0xd5b($v0) +/* 177DA8 802494C8 14400027 */ bnez $v0, .L80249568 +/* 177DAC 802494CC 00000000 */ nop +/* 177DB0 802494D0 3C02802A */ lui $v0, 0x802a +/* 177DB4 802494D4 8442F29E */ lh $v0, -0xd62($v0) +/* 177DB8 802494D8 3C03802A */ lui $v1, 0x802a +/* 177DBC 802494DC 8463F2A0 */ lh $v1, -0xd60($v1) +/* 177DC0 802494E0 3C013F80 */ lui $at, 0x3f80 +/* 177DC4 802494E4 4481C000 */ mtc1 $at, $f24 +/* 177DC8 802494E8 4482D000 */ mtc1 $v0, $f26 +/* 177DCC 802494EC 00000000 */ nop +/* 177DD0 802494F0 4680D6A0 */ cvt.s.w $f26, $f26 +/* 177DD4 802494F4 44830000 */ mtc1 $v1, $f0 +/* 177DD8 802494F8 00000000 */ nop +/* 177DDC 802494FC 46800020 */ cvt.s.w $f0, $f0 +/* 177DE0 80249500 4600D683 */ div.s $f26, $f26, $f0 +/* 177DE4 80249504 461AC301 */ sub.s $f12, $f24, $f26 +/* 177DE8 80249508 3C014049 */ lui $at, 0x4049 +/* 177DEC 8024950C 34210FD0 */ ori $at, $at, 0xfd0 +/* 177DF0 80249510 4481B000 */ mtc1 $at, $f22 +/* 177DF4 80249514 00000000 */ nop +/* 177DF8 80249518 46166302 */ mul.s $f12, $f12, $f22 +/* 177DFC 8024951C 00000000 */ nop +/* 177E00 80249520 3C013F00 */ lui $at, 0x3f00 +/* 177E04 80249524 4481A000 */ mtc1 $at, $f20 +/* 177E08 80249528 00000000 */ nop +/* 177E0C 8024952C 46146302 */ mul.s $f12, $f12, $f20 +/* 177E10 80249530 0C00A85B */ jal sin_rad +/* 177E14 80249534 00000000 */ nop +/* 177E18 80249538 46160002 */ mul.s $f0, $f0, $f22 +/* 177E1C 8024953C 00000000 */ nop +/* 177E20 80249540 46140302 */ mul.s $f12, $f0, $f20 +/* 177E24 80249544 0C00A85B */ jal sin_rad +/* 177E28 80249548 00000000 */ nop +/* 177E2C 8024954C 46160002 */ mul.s $f0, $f0, $f22 +/* 177E30 80249550 00000000 */ nop +/* 177E34 80249554 46140302 */ mul.s $f12, $f0, $f20 +/* 177E38 80249558 0C00A85B */ jal sin_rad +/* 177E3C 8024955C 00000000 */ nop +/* 177E40 80249560 08092565 */ j func_80249594 +/* 177E44 80249564 4600C681 */ sub.s $f26, $f24, $f0 + +.L80249568: +/* 177E48 80249568 3C02802A */ lui $v0, 0x802a +/* 177E4C 8024956C 8442F29E */ lh $v0, -0xd62($v0) +/* 177E50 80249570 3C03802A */ lui $v1, 0x802a +/* 177E54 80249574 8463F2A0 */ lh $v1, -0xd60($v1) +/* 177E58 80249578 4482D000 */ mtc1 $v0, $f26 +/* 177E5C 8024957C 00000000 */ nop +/* 177E60 80249580 4680D6A0 */ cvt.s.w $f26, $f26 +/* 177E64 80249584 44830000 */ mtc1 $v1, $f0 +/* 177E68 80249588 00000000 */ nop +/* 177E6C 8024958C 46800020 */ cvt.s.w $f0, $f0 +/* 177E70 80249590 4600D683 */ div.s $f26, $f26, $f0 +func_80249594: +/* 177E74 80249594 3C01802A */ lui $at, 0x802a +/* 177E78 80249598 C426F2A8 */ lwc1 $f6, -0xd58($at) +/* 177E7C 8024959C 461A3182 */ mul.s $f6, $f6, $f26 +/* 177E80 802495A0 00000000 */ nop +/* 177E84 802495A4 3C01802A */ lui $at, 0x802a +/* 177E88 802495A8 C428F2AC */ lwc1 $f8, -0xd54($at) +/* 177E8C 802495AC 461A4202 */ mul.s $f8, $f8, $f26 +/* 177E90 802495B0 00000000 */ nop +/* 177E94 802495B4 3C01802A */ lui $at, 0x802a +/* 177E98 802495B8 C424F2B0 */ lwc1 $f4, -0xd50($at) +/* 177E9C 802495BC 461A2102 */ mul.s $f4, $f4, $f26 +/* 177EA0 802495C0 00000000 */ nop +/* 177EA4 802495C4 3C01802A */ lui $at, 0x802a +/* 177EA8 802495C8 C422F298 */ lwc1 $f2, -0xd68($at) +/* 177EAC 802495CC 461A1082 */ mul.s $f2, $f2, $f26 +/* 177EB0 802495D0 00000000 */ nop +/* 177EB4 802495D4 3C013F80 */ lui $at, 0x3f80 +/* 177EB8 802495D8 4481B000 */ mtc1 $at, $f22 +/* 177EBC 802495DC 00000000 */ nop +/* 177EC0 802495E0 461AB581 */ sub.s $f22, $f22, $f26 +/* 177EC4 802495E4 4616F302 */ mul.s $f12, $f30, $f22 +/* 177EC8 802495E8 00000000 */ nop +/* 177ECC 802495EC 4616E382 */ mul.s $f14, $f28, $f22 +/* 177ED0 802495F0 00000000 */ nop +/* 177ED4 802495F4 3C02802A */ lui $v0, 0x802a +/* 177ED8 802495F8 8442F286 */ lh $v0, -0xd7a($v0) +/* 177EDC 802495FC 44820000 */ mtc1 $v0, $f0 +/* 177EE0 80249600 00000000 */ nop +/* 177EE4 80249604 46800020 */ cvt.s.w $f0, $f0 +/* 177EE8 80249608 46160002 */ mul.s $f0, $f0, $f22 +/* 177EEC 8024960C 00000000 */ nop +/* 177EF0 80249610 C7B2001C */ lwc1 $f18, 0x1c($sp) +/* 177EF4 80249614 46169282 */ mul.s $f10, $f18, $f22 +/* 177EF8 80249618 00000000 */ nop +func_8024961C: +/* 177EFC 8024961C 46001080 */ add.s $f2, $f2, $f0 +/* 177F00 80249620 C6180054 */ lwc1 $f24, 0x54($s0) +/* 177F04 80249624 C6140058 */ lwc1 $f20, 0x58($s0) +/* 177F08 80249628 460C3180 */ add.s $f6, $f6, $f12 +/* 177F0C 8024962C C610005C */ lwc1 $f16, 0x5c($s0) +/* 177F10 80249630 4406F000 */ mfc1 $a2, $f30 +/* 177F14 80249634 460A2100 */ add.s $f4, $f4, $f10 +/* 177F18 80249638 44079000 */ mfc1 $a3, $f18 +/* 177F1C 8024963C 3C014380 */ lui $at, 0x4380 +/* 177F20 80249640 44810000 */ mtc1 $at, $f0 +/* 177F24 80249644 460E4200 */ add.s $f8, $f8, $f14 +/* 177F28 80249648 E7B00018 */ swc1 $f16, 0x18($sp) +/* 177F2C 8024964C E6060054 */ swc1 $f6, 0x54($s0) +/* 177F30 80249650 46001082 */ mul.s $f2, $f2, $f0 +/* 177F34 80249654 00000000 */ nop +/* 177F38 80249658 46003306 */ mov.s $f12, $f6 +/* 177F3C 8024965C E604005C */ swc1 $f4, 0x5c($s0) +/* 177F40 80249660 46002386 */ mov.s $f14, $f4 +/* 177F44 80249664 E6080058 */ swc1 $f8, 0x58($s0) +/* 177F48 80249668 4600148D */ trunc.w.s $f18, $f2 +/* 177F4C 8024966C 44029000 */ mfc1 $v0, $f18 +/* 177F50 80249670 0C00A7B5 */ jal dist2D +/* 177F54 80249674 A6020026 */ sh $v0, 0x26($s0) +/* 177F58 80249678 4600C306 */ mov.s $f12, $f24 +/* 177F5C 8024967C C7B0002C */ lwc1 $f16, 0x2c($sp) +/* 177F60 80249680 C7B20030 */ lwc1 $f18, 0x30($sp) +/* 177F64 80249684 4600A386 */ mov.s $f14, $f20 +/* 177F68 80249688 46128080 */ add.s $f2, $f16, $f18 +/* 177F6C 8024968C 3C013E00 */ lui $at, 0x3e00 +/* 177F70 80249690 44812000 */ mtc1 $at, $f4 +/* 177F74 80249694 8FA60018 */ lw $a2, 0x18($sp) +/* 177F78 80249698 46041082 */ mul.s $f2, $f2, $f4 +/* 177F7C 8024969C 00000000 */ nop +/* 177F80 802496A0 8FA70020 */ lw $a3, 0x20($sp) +/* 177F84 802496A4 C7B00024 */ lwc1 $f16, 0x24($sp) +/* 177F88 802496A8 C7B20028 */ lwc1 $f18, 0x28($sp) +/* 177F8C 802496AC 3C014280 */ lui $at, 0x4280 +/* 177F90 802496B0 44812000 */ mtc1 $at, $f4 +/* 177F94 802496B4 46020500 */ add.s $f20, $f0, $f2 +/* 177F98 802496B8 E7B00010 */ swc1 $f16, 0x10($sp) +/* 177F9C 802496BC E7B20014 */ swc1 $f18, 0x14($sp) +/* 177FA0 802496C0 0C00A7CB */ jal dist3D +/* 177FA4 802496C4 4604A501 */ sub.s $f20, $f20, $f4 +/* 177FA8 802496C8 3C013F00 */ lui $at, 0x3f00 +/* 177FAC 802496CC 44811000 */ mtc1 $at, $f2 +/* 177FB0 802496D0 00000000 */ nop +/* 177FB4 802496D4 46020002 */ mul.s $f0, $f0, $f2 +/* 177FB8 802496D8 00000000 */ nop +/* 177FBC 802496DC 3C01802A */ lui $at, 0x802a +/* 177FC0 802496E0 C42AF28C */ lwc1 $f10, -0xd74($at) +/* 177FC4 802496E4 461A5282 */ mul.s $f10, $f10, $f26 +/* 177FC8 802496E8 00000000 */ nop +/* 177FCC 802496EC 3C01802A */ lui $at, 0x802a +/* 177FD0 802496F0 C428F290 */ lwc1 $f8, -0xd70($at) +/* 177FD4 802496F4 461A4202 */ mul.s $f8, $f8, $f26 +/* 177FD8 802496F8 00000000 */ nop +/* 177FDC 802496FC 3C01802A */ lui $at, 0x802a +/* 177FE0 80249700 C424F294 */ lwc1 $f4, -0xd6c($at) +/* 177FE4 80249704 3C02802A */ lui $v0, 0x802a +/* 177FE8 80249708 8442F280 */ lh $v0, -0xd80($v0) +/* 177FEC 8024970C 461A2102 */ mul.s $f4, $f4, $f26 +/* 177FF0 80249710 00000000 */ nop +/* 177FF4 80249714 44821000 */ mtc1 $v0, $f2 +/* 177FF8 80249718 00000000 */ nop +/* 177FFC 8024971C 468010A0 */ cvt.s.w $f2, $f2 +/* 178000 80249720 3C02802A */ lui $v0, 0x802a +/* 178004 80249724 8442F282 */ lh $v0, -0xd7e($v0) +/* 178008 80249728 44823000 */ mtc1 $v0, $f6 +/* 17800C 8024972C 00000000 */ nop +/* 178010 80249730 468031A0 */ cvt.s.w $f6, $f6 +/* 178014 80249734 46163182 */ mul.s $f6, $f6, $f22 +/* 178018 80249738 00000000 */ nop +/* 17801C 8024973C 46141080 */ add.s $f2, $f2, $f20 +/* 178020 80249740 3C02802A */ lui $v0, 0x802a +/* 178024 80249744 8442F284 */ lh $v0, -0xd7c($v0) +/* 178028 80249748 46001080 */ add.s $f2, $f2, $f0 +/* 17802C 8024974C 44820000 */ mtc1 $v0, $f0 +/* 178030 80249750 00000000 */ nop +/* 178034 80249754 46800020 */ cvt.s.w $f0, $f0 +/* 178038 80249758 46160002 */ mul.s $f0, $f0, $f22 +/* 17803C 8024975C 00000000 */ nop +/* 178040 80249760 46161082 */ mul.s $f2, $f2, $f22 +/* 178044 80249764 00000000 */ nop +/* 178048 80249768 46064200 */ add.s $f8, $f8, $f6 +/* 17804C 8024976C 3C04802A */ lui $a0, 0x802a +/* 178050 80249770 2484F29E */ addiu $a0, $a0, -0xd62 +/* 178054 80249774 46002100 */ add.s $f4, $f4, $f0 +/* 178058 80249778 4600440D */ trunc.w.s $f16, $f8 +/* 17805C 8024977C 44028000 */ mfc1 $v0, $f16 +/* 178060 80249780 00000000 */ nop +/* 178064 80249784 A6020024 */ sh $v0, 0x24($s0) +/* 178068 80249788 46025280 */ add.s $f10, $f10, $f2 +/* 17806C 8024978C 4600240D */ trunc.w.s $f16, $f4 +/* 178070 80249790 44028000 */ mfc1 $v0, $f16 +/* 178074 80249794 00000000 */ nop +/* 178078 80249798 A6020022 */ sh $v0, 0x22($s0) +/* 17807C 8024979C 4600540D */ trunc.w.s $f16, $f10 +/* 178080 802497A0 44028000 */ mfc1 $v0, $f16 +/* 178084 802497A4 00000000 */ nop +/* 178088 802497A8 A602001E */ sh $v0, 0x1e($s0) +func_802497AC: +/* 17808C 802497AC 84820000 */ lh $v0, ($a0) +/* 178090 802497B0 94830000 */ lhu $v1, ($a0) +/* 178094 802497B4 14400006 */ bnez $v0, .L802497D0 +/* 178098 802497B8 2462FFFF */ addiu $v0, $v1, -1 +/* 17809C 802497BC 24020001 */ addiu $v0, $zero, 1 +/* 1780A0 802497C0 3C01802A */ lui $at, 0x802a +/* 1780A4 802497C4 A022F29C */ sb $v0, -0xd64($at) +/* 1780A8 802497C8 080925F6 */ j func_802497D8 +/* 1780AC 802497CC 0000102D */ daddu $v0, $zero, $zero + +.L802497D0: +/* 1780B0 802497D0 A4820000 */ sh $v0, ($a0) +/* 1780B4 802497D4 0000102D */ daddu $v0, $zero, $zero +func_802497D8: +.L802497D8: +/* 1780B8 802497D8 8FBF0040 */ lw $ra, 0x40($sp) +/* 1780BC 802497DC 8FB1003C */ lw $s1, 0x3c($sp) +/* 1780C0 802497E0 8FB00038 */ lw $s0, 0x38($sp) +/* 1780C4 802497E4 D7BE0070 */ ldc1 $f30, 0x70($sp) +/* 1780C8 802497E8 D7BC0068 */ ldc1 $f28, 0x68($sp) +/* 1780CC 802497EC D7BA0060 */ ldc1 $f26, 0x60($sp) +/* 1780D0 802497F0 D7B80058 */ ldc1 $f24, 0x58($sp) +/* 1780D4 802497F4 D7B60050 */ ldc1 $f22, 0x50($sp) +/* 1780D8 802497F8 D7B40048 */ ldc1 $f20, 0x48($sp) +/* 1780DC 802497FC 03E00008 */ jr $ra +/* 1780E0 80249800 27BD0078 */ addiu $sp, $sp, 0x78 + +/* 1780E4 80249804 27BDFF88 */ addiu $sp, $sp, -0x78 +/* 1780E8 80249808 AFB1003C */ sw $s1, 0x3c($sp) +/* 1780EC 8024980C 00A0882D */ daddu $s1, $a1, $zero +/* 1780F0 80249810 AFB00038 */ sw $s0, 0x38($sp) +/* 1780F4 80249814 3C10800B */ lui $s0, 0x800b +/* 1780F8 80249818 261022D8 */ addiu $s0, $s0, 0x22d8 +/* 1780FC 8024981C 3C02802A */ lui $v0, 0x802a +/* 178100 80249820 9442F27C */ lhu $v0, -0xd84($v0) +/* 178104 80249824 3C04800E */ lui $a0, 0x800e +/* 178108 80249828 2484C070 */ addiu $a0, $a0, -0x3f90 +/* 17810C 8024982C AFBF0040 */ sw $ra, 0x40($sp) +/* 178110 80249830 F7BE0070 */ sdc1 $f30, 0x70($sp) +/* 178114 80249834 F7BC0068 */ sdc1 $f28, 0x68($sp) +/* 178118 80249838 F7BA0060 */ sdc1 $f26, 0x60($sp) +/* 17811C 8024983C F7B80058 */ sdc1 $f24, 0x58($sp) +/* 178120 80249840 F7B60050 */ sdc1 $f22, 0x50($sp) +/* 178124 80249844 F7B40048 */ sdc1 $f20, 0x48($sp) +/* 178128 80249848 30430700 */ andi $v1, $v0, 0x700 +/* 17812C 8024984C 304500FF */ andi $a1, $v0, 0xff +/* 178130 80249850 24020100 */ addiu $v0, $zero, 0x100 +/* 178134 80249854 10620065 */ beq $v1, $v0, .L802499EC +/* 178138 80249858 28620101 */ slti $v0, $v1, 0x101 +/* 17813C 8024985C 10400005 */ beqz $v0, .L80249874 +/* 178140 80249860 24020200 */ addiu $v0, $zero, 0x200 +/* 178144 80249864 10600007 */ beqz $v1, .L80249884 +/* 178148 80249868 0000102D */ daddu $v0, $zero, $zero +/* 17814C 8024986C 0809287A */ j func_8024A1E8 +/* 178150 80249870 00000000 */ nop + +.L80249874: +/* 178154 80249874 106200B8 */ beq $v1, $v0, .L80249B58 +/* 178158 80249878 0000102D */ daddu $v0, $zero, $zero +/* 17815C 8024987C 0809287A */ j func_8024A1E8 +/* 178160 80249880 00000000 */ nop + +.L80249884: +/* 178164 80249884 8C8400D8 */ lw $a0, 0xd8($a0) +/* 178168 80249888 10800257 */ beqz $a0, .L8024A1E8 +/* 17816C 8024988C 00000000 */ nop +/* 178170 80249890 C4980144 */ lwc1 $f24, 0x144($a0) +/* 178174 80249894 90830191 */ lbu $v1, 0x191($a0) +/* 178178 80249898 C490014C */ lwc1 $f16, 0x14c($a0) +/* 17817C 8024989C 00031042 */ srl $v0, $v1, 1 +/* 178180 802498A0 44820000 */ mtc1 $v0, $f0 +/* 178184 802498A4 00000000 */ nop +/* 178188 802498A8 46800020 */ cvt.s.w $f0, $f0 +/* 17818C 802498AC E7B00018 */ swc1 $f16, 0x18($sp) +/* 178190 802498B0 C4820148 */ lwc1 $f2, 0x148($a0) +/* 178194 802498B4 00031082 */ srl $v0, $v1, 2 +/* 178198 802498B8 46001080 */ add.s $f2, $f2, $f0 +/* 17819C 802498BC 44820000 */ mtc1 $v0, $f0 +/* 1781A0 802498C0 00000000 */ nop +/* 1781A4 802498C4 46800020 */ cvt.s.w $f0, $f0 +/* 1781A8 802498C8 90820190 */ lbu $v0, 0x190($a0) +/* 1781AC 802498CC 46001500 */ add.s $f20, $f2, $f0 +/* 1781B0 802498D0 4483D000 */ mtc1 $v1, $f26 +/* 1781B4 802498D4 00000000 */ nop +/* 1781B8 802498D8 4680D6A0 */ cvt.s.w $f26, $f26 +/* 1781BC 802498DC 4482B000 */ mtc1 $v0, $f22 +/* 1781C0 802498E0 00000000 */ nop +/* 1781C4 802498E4 4680B5A0 */ cvt.s.w $f22, $f22 +/* 1781C8 802498E8 4616D000 */ add.s $f0, $f26, $f22 +/* 1781CC 802498EC 3C013F00 */ lui $at, 0x3f00 +/* 1781D0 802498F0 4481E000 */ mtc1 $at, $f28 +/* 1781D4 802498F4 00000000 */ nop +/* 1781D8 802498F8 461C0002 */ mul.s $f0, $f0, $f28 +/* 1781DC 802498FC 00000000 */ nop +/* 1781E0 80249900 84840428 */ lh $a0, 0x428($a0) +/* 1781E4 80249904 0C09A75B */ jal get_actor +/* 1781E8 80249908 E7A0002C */ swc1 $f0, 0x2c($sp) +/* 1781EC 8024990C 0040202D */ daddu $a0, $v0, $zero +/* 1781F0 80249910 10800235 */ beqz $a0, .L8024A1E8 +/* 1781F4 80249914 0000102D */ daddu $v0, $zero, $zero +/* 1781F8 80249918 90830191 */ lbu $v1, 0x191($a0) +/* 1781FC 8024991C C4820148 */ lwc1 $f2, 0x148($a0) +/* 178200 80249920 00031042 */ srl $v0, $v1, 1 +/* 178204 80249924 44820000 */ mtc1 $v0, $f0 +/* 178208 80249928 00000000 */ nop +/* 17820C 8024992C 46800020 */ cvt.s.w $f0, $f0 +/* 178210 80249930 46001080 */ add.s $f2, $f2, $f0 +/* 178214 80249934 00031082 */ srl $v0, $v1, 2 +/* 178218 80249938 44820000 */ mtc1 $v0, $f0 +/* 17821C 8024993C 00000000 */ nop +/* 178220 80249940 46800020 */ cvt.s.w $f0, $f0 +/* 178224 80249944 46001080 */ add.s $f2, $f2, $f0 +/* 178228 80249948 E7A20024 */ swc1 $f2, 0x24($sp) +func_8024994C: +/* 17822C 8024994C C4920144 */ lwc1 $f18, 0x144($a0) +func_80249950: +/* 178230 80249950 E7B20020 */ swc1 $f18, 0x20($sp) +func_80249954: +/* 178234 80249954 C490014C */ lwc1 $f16, 0x14c($a0) +/* 178238 80249958 E7B00028 */ swc1 $f16, 0x28($sp) +/* 17823C 8024995C 90820190 */ lbu $v0, 0x190($a0) +/* 178240 80249960 46189001 */ sub.s $f0, $f18, $f24 +/* 178244 80249964 00621821 */ addu $v1, $v1, $v0 +/* 178248 80249968 00031843 */ sra $v1, $v1, 1 +/* 17824C 8024996C 461C0002 */ mul.s $f0, $f0, $f28 +/* 178250 80249970 00000000 */ nop +/* 178254 80249974 44839000 */ mtc1 $v1, $f18 +/* 178258 80249978 00000000 */ nop +func_8024997C: +/* 17825C 8024997C 468094A0 */ cvt.s.w $f18, $f18 +/* 178260 80249980 3C03802A */ lui $v1, 0x802a +/* 178264 80249984 8063F2A2 */ lb $v1, -0xd5e($v1) +/* 178268 80249988 E7B20030 */ swc1 $f18, 0x30($sp) +/* 17826C 8024998C 0460000B */ bltz $v1, .L802499BC +/* 178270 80249990 4600C780 */ add.s $f30, $f24, $f0 +/* 178274 80249994 506000C6 */ beql $v1, $zero, .L80249CB0 +/* 178278 80249998 4600A706 */ mov.s $f28, $f20 +/* 17827C 8024999C 4602A001 */ sub.s $f0, $f20, $f2 +/* 178280 802499A0 461C0082 */ mul.s $f2, $f0, $f28 +/* 178284 802499A4 00000000 */ nop +/* 178288 802499A8 C7B00024 */ lwc1 $f16, 0x24($sp) +/* 17828C 802499AC 3C0140C0 */ lui $at, 0x40c0 +/* 178290 802499B0 44812000 */ mtc1 $at, $f4 +/* 178294 802499B4 08092725 */ j func_80249C94 +/* 178298 802499B8 46028080 */ add.s $f2, $f16, $f2 + +.L802499BC: +/* 17829C 802499BC 2402FFFF */ addiu $v0, $zero, -1 +/* 1782A0 802499C0 106200BA */ beq $v1, $v0, .L80249CAC +/* 1782A4 802499C4 00000000 */ nop +/* 1782A8 802499C8 C7B20024 */ lwc1 $f18, 0x24($sp) +/* 1782AC 802499CC 46149001 */ sub.s $f0, $f18, $f20 +/* 1782B0 802499D0 3C013E80 */ lui $at, 0x3e80 +/* 1782B4 802499D4 44811000 */ mtc1 $at, $f2 +/* 1782B8 802499D8 00000000 */ nop +/* 1782BC 802499DC 46020002 */ mul.s $f0, $f0, $f2 +/* 1782C0 802499E0 00000000 */ nop +/* 1782C4 802499E4 0809272C */ j func_80249CB0 +/* 1782C8 802499E8 4600A700 */ add.s $f28, $f20, $f0 + +.L802499EC: +/* 1782CC 802499EC 8C8400DC */ lw $a0, 0xdc($a0) +/* 1782D0 802499F0 108001FD */ beqz $a0, .L8024A1E8 +/* 1782D4 802499F4 0000102D */ daddu $v0, $zero, $zero +/* 1782D8 802499F8 C4980144 */ lwc1 $f24, 0x144($a0) +/* 1782DC 802499FC 90830191 */ lbu $v1, 0x191($a0) +/* 1782E0 80249A00 C490014C */ lwc1 $f16, 0x14c($a0) +/* 1782E4 80249A04 00031042 */ srl $v0, $v1, 1 +/* 1782E8 80249A08 44820000 */ mtc1 $v0, $f0 +/* 1782EC 80249A0C 00000000 */ nop +/* 1782F0 80249A10 46800020 */ cvt.s.w $f0, $f0 +/* 1782F4 80249A14 E7B00018 */ swc1 $f16, 0x18($sp) +/* 1782F8 80249A18 C4820148 */ lwc1 $f2, 0x148($a0) +/* 1782FC 80249A1C 00031082 */ srl $v0, $v1, 2 +/* 178300 80249A20 46001080 */ add.s $f2, $f2, $f0 +/* 178304 80249A24 44820000 */ mtc1 $v0, $f0 +/* 178308 80249A28 00000000 */ nop +/* 17830C 80249A2C 46800020 */ cvt.s.w $f0, $f0 +/* 178310 80249A30 90820190 */ lbu $v0, 0x190($a0) +/* 178314 80249A34 46001500 */ add.s $f20, $f2, $f0 +/* 178318 80249A38 4483D000 */ mtc1 $v1, $f26 +/* 17831C 80249A3C 00000000 */ nop +/* 178320 80249A40 4680D6A0 */ cvt.s.w $f26, $f26 +/* 178324 80249A44 4482B000 */ mtc1 $v0, $f22 +/* 178328 80249A48 00000000 */ nop +/* 17832C 80249A4C 4680B5A0 */ cvt.s.w $f22, $f22 +/* 178330 80249A50 4616D000 */ add.s $f0, $f26, $f22 +/* 178334 80249A54 3C013F00 */ lui $at, 0x3f00 +/* 178338 80249A58 4481E000 */ mtc1 $at, $f28 +/* 17833C 80249A5C 00000000 */ nop +/* 178340 80249A60 461C0002 */ mul.s $f0, $f0, $f28 +/* 178344 80249A64 00000000 */ nop +/* 178348 80249A68 84840428 */ lh $a0, 0x428($a0) +/* 17834C 80249A6C 0C09A75B */ jal get_actor +/* 178350 80249A70 E7A0002C */ swc1 $f0, 0x2c($sp) +/* 178354 80249A74 0040202D */ daddu $a0, $v0, $zero +/* 178358 80249A78 108001DB */ beqz $a0, .L8024A1E8 +func_80249A7C: +/* 17835C 80249A7C 0000102D */ daddu $v0, $zero, $zero +/* 178360 80249A80 90830191 */ lbu $v1, 0x191($a0) +/* 178364 80249A84 C4820148 */ lwc1 $f2, 0x148($a0) +/* 178368 80249A88 00031042 */ srl $v0, $v1, 1 +/* 17836C 80249A8C 44820000 */ mtc1 $v0, $f0 +/* 178370 80249A90 00000000 */ nop +/* 178374 80249A94 46800020 */ cvt.s.w $f0, $f0 +/* 178378 80249A98 46001080 */ add.s $f2, $f2, $f0 +/* 17837C 80249A9C 00031082 */ srl $v0, $v1, 2 +/* 178380 80249AA0 44820000 */ mtc1 $v0, $f0 +func_80249AA4: +/* 178384 80249AA4 00000000 */ nop +/* 178388 80249AA8 46800020 */ cvt.s.w $f0, $f0 +/* 17838C 80249AAC 46001080 */ add.s $f2, $f2, $f0 +/* 178390 80249AB0 E7A20024 */ swc1 $f2, 0x24($sp) +/* 178394 80249AB4 C4920144 */ lwc1 $f18, 0x144($a0) +func_80249AB8: +/* 178398 80249AB8 E7B20020 */ swc1 $f18, 0x20($sp) +/* 17839C 80249ABC C490014C */ lwc1 $f16, 0x14c($a0) +/* 1783A0 80249AC0 46189001 */ sub.s $f0, $f18, $f24 +/* 1783A4 80249AC4 E7B00028 */ swc1 $f16, 0x28($sp) +/* 1783A8 80249AC8 90820190 */ lbu $v0, 0x190($a0) +/* 1783AC 80249ACC 00621821 */ addu $v1, $v1, $v0 +/* 1783B0 80249AD0 461C0002 */ mul.s $f0, $f0, $f28 +/* 1783B4 80249AD4 00000000 */ nop +/* 1783B8 80249AD8 00031843 */ sra $v1, $v1, 1 +/* 1783BC 80249ADC 3C02802A */ lui $v0, 0x802a +/* 1783C0 80249AE0 8042F2A2 */ lb $v0, -0xd5e($v0) +/* 1783C4 80249AE4 44839000 */ mtc1 $v1, $f18 +/* 1783C8 80249AE8 00000000 */ nop +/* 1783CC 80249AEC 468094A0 */ cvt.s.w $f18, $f18 +/* 1783D0 80249AF0 E7B20030 */ swc1 $f18, 0x30($sp) +/* 1783D4 80249AF4 0440000D */ bltz $v0, .L80249B2C +/* 1783D8 80249AF8 4600C780 */ add.s $f30, $f24, $f0 +/* 1783DC 80249AFC 5040000C */ beql $v0, $zero, .L80249B30 +/* 1783E0 80249B00 4600A706 */ mov.s $f28, $f20 +/* 1783E4 80249B04 4602A001 */ sub.s $f0, $f20, $f2 +/* 1783E8 80249B08 461C0082 */ mul.s $f2, $f0, $f28 +/* 1783EC 80249B0C 00000000 */ nop +/* 1783F0 80249B10 C7B00024 */ lwc1 $f16, 0x24($sp) +/* 1783F4 80249B14 3C0140C0 */ lui $at, 0x40c0 +/* 1783F8 80249B18 44812000 */ mtc1 $at, $f4 +/* 1783FC 80249B1C 46028080 */ add.s $f2, $f16, $f2 +/* 178400 80249B20 46040003 */ div.s $f0, $f0, $f4 +/* 178404 80249B24 080926CC */ j func_80249B30 +/* 178408 80249B28 46001700 */ add.s $f28, $f2, $f0 + +.L80249B2C: +/* 17840C 80249B2C C7BC0024 */ lwc1 $f28, 0x24($sp) +func_80249B30: +.L80249B30: +/* 178410 80249B30 C7B20028 */ lwc1 $f18, 0x28($sp) +/* 178414 80249B34 C7B00018 */ lwc1 $f16, 0x18($sp) +/* 178418 80249B38 46109001 */ sub.s $f0, $f18, $f16 +/* 17841C 80249B3C 3C013F00 */ lui $at, 0x3f00 +/* 178420 80249B40 44811000 */ mtc1 $at, $f2 +/* 178424 80249B44 00000000 */ nop +/* 178428 80249B48 46020002 */ mul.s $f0, $f0, $f2 +/* 17842C 80249B4C 00000000 */ nop +/* 178430 80249B50 08092735 */ j func_80249CD4 +/* 178434 80249B54 46008000 */ add.s $f0, $f16, $f0 + +.L80249B58: +/* 178438 80249B58 00051080 */ sll $v0, $a1, 2 +/* 17843C 80249B5C 00441021 */ addu $v0, $v0, $a0 +/* 178440 80249B60 8C4400E0 */ lw $a0, 0xe0($v0) +/* 178444 80249B64 108001A0 */ beqz $a0, .L8024A1E8 +/* 178448 80249B68 0000102D */ daddu $v0, $zero, $zero +/* 17844C 80249B6C C4980144 */ lwc1 $f24, 0x144($a0) +/* 178450 80249B70 90830191 */ lbu $v1, 0x191($a0) +/* 178454 80249B74 C492014C */ lwc1 $f18, 0x14c($a0) +/* 178458 80249B78 00031042 */ srl $v0, $v1, 1 +/* 17845C 80249B7C 44820000 */ mtc1 $v0, $f0 +/* 178460 80249B80 00000000 */ nop +/* 178464 80249B84 46800020 */ cvt.s.w $f0, $f0 +/* 178468 80249B88 E7B20018 */ swc1 $f18, 0x18($sp) +/* 17846C 80249B8C C4820148 */ lwc1 $f2, 0x148($a0) +/* 178470 80249B90 00031082 */ srl $v0, $v1, 2 +/* 178474 80249B94 46001080 */ add.s $f2, $f2, $f0 +/* 178478 80249B98 44820000 */ mtc1 $v0, $f0 +/* 17847C 80249B9C 00000000 */ nop +/* 178480 80249BA0 46800020 */ cvt.s.w $f0, $f0 +/* 178484 80249BA4 90820190 */ lbu $v0, 0x190($a0) +/* 178488 80249BA8 46001500 */ add.s $f20, $f2, $f0 +/* 17848C 80249BAC 4483D000 */ mtc1 $v1, $f26 +/* 178490 80249BB0 00000000 */ nop +/* 178494 80249BB4 4680D6A0 */ cvt.s.w $f26, $f26 +/* 178498 80249BB8 4482B000 */ mtc1 $v0, $f22 +/* 17849C 80249BBC 00000000 */ nop +/* 1784A0 80249BC0 4680B5A0 */ cvt.s.w $f22, $f22 +/* 1784A4 80249BC4 4616D000 */ add.s $f0, $f26, $f22 +/* 1784A8 80249BC8 3C013F00 */ lui $at, 0x3f00 +/* 1784AC 80249BCC 4481E000 */ mtc1 $at, $f28 +/* 1784B0 80249BD0 00000000 */ nop +/* 1784B4 80249BD4 461C0002 */ mul.s $f0, $f0, $f28 +/* 1784B8 80249BD8 00000000 */ nop +/* 1784BC 80249BDC 84840428 */ lh $a0, 0x428($a0) +/* 1784C0 80249BE0 0C09A75B */ jal get_actor +/* 1784C4 80249BE4 E7A0002C */ swc1 $f0, 0x2c($sp) +/* 1784C8 80249BE8 0040202D */ daddu $a0, $v0, $zero +/* 1784CC 80249BEC 1080017E */ beqz $a0, .L8024A1E8 +/* 1784D0 80249BF0 0000102D */ daddu $v0, $zero, $zero +/* 1784D4 80249BF4 90830191 */ lbu $v1, 0x191($a0) +/* 1784D8 80249BF8 C4820148 */ lwc1 $f2, 0x148($a0) +/* 1784DC 80249BFC 00031042 */ srl $v0, $v1, 1 +/* 1784E0 80249C00 44820000 */ mtc1 $v0, $f0 +/* 1784E4 80249C04 00000000 */ nop +/* 1784E8 80249C08 46800020 */ cvt.s.w $f0, $f0 +/* 1784EC 80249C0C 46001080 */ add.s $f2, $f2, $f0 +/* 1784F0 80249C10 00031082 */ srl $v0, $v1, 2 +/* 1784F4 80249C14 44820000 */ mtc1 $v0, $f0 +/* 1784F8 80249C18 00000000 */ nop +/* 1784FC 80249C1C 46800020 */ cvt.s.w $f0, $f0 +/* 178500 80249C20 46001080 */ add.s $f2, $f2, $f0 +/* 178504 80249C24 E7A20024 */ swc1 $f2, 0x24($sp) +/* 178508 80249C28 C4900144 */ lwc1 $f16, 0x144($a0) +/* 17850C 80249C2C E7B00020 */ swc1 $f16, 0x20($sp) +/* 178510 80249C30 C492014C */ lwc1 $f18, 0x14c($a0) +/* 178514 80249C34 E7B20028 */ swc1 $f18, 0x28($sp) +/* 178518 80249C38 90820190 */ lbu $v0, 0x190($a0) +/* 17851C 80249C3C 46188001 */ sub.s $f0, $f16, $f24 +/* 178520 80249C40 00621821 */ addu $v1, $v1, $v0 +/* 178524 80249C44 00031843 */ sra $v1, $v1, 1 +/* 178528 80249C48 461C0002 */ mul.s $f0, $f0, $f28 +/* 17852C 80249C4C 00000000 */ nop +/* 178530 80249C50 44838000 */ mtc1 $v1, $f16 +/* 178534 80249C54 00000000 */ nop +/* 178538 80249C58 46808420 */ cvt.s.w $f16, $f16 +/* 17853C 80249C5C 3C03802A */ lui $v1, 0x802a +/* 178540 80249C60 8063F2A2 */ lb $v1, -0xd5e($v1) +/* 178544 80249C64 E7B00030 */ swc1 $f16, 0x30($sp) +/* 178548 80249C68 0460000D */ bltz $v1, .L80249CA0 +/* 17854C 80249C6C 4600C780 */ add.s $f30, $f24, $f0 +/* 178550 80249C70 5060000F */ beql $v1, $zero, .L80249CB0 +/* 178554 80249C74 4600A706 */ mov.s $f28, $f20 +/* 178558 80249C78 4602A001 */ sub.s $f0, $f20, $f2 +/* 17855C 80249C7C 461C0082 */ mul.s $f2, $f0, $f28 +/* 178560 80249C80 00000000 */ nop +/* 178564 80249C84 C7B20024 */ lwc1 $f18, 0x24($sp) +/* 178568 80249C88 3C0140C0 */ lui $at, 0x40c0 +/* 17856C 80249C8C 44812000 */ mtc1 $at, $f4 +/* 178570 80249C90 46029080 */ add.s $f2, $f18, $f2 +func_80249C94: +/* 178574 80249C94 46040003 */ div.s $f0, $f0, $f4 +/* 178578 80249C98 0809272C */ j func_80249CB0 +/* 17857C 80249C9C 46001700 */ add.s $f28, $f2, $f0 + +.L80249CA0: +/* 178580 80249CA0 2402FFFF */ addiu $v0, $zero, -1 +/* 178584 80249CA4 14620002 */ bne $v1, $v0, .L80249CB0 +/* 178588 80249CA8 4600A706 */ mov.s $f28, $f20 +.L80249CAC: +/* 17858C 80249CAC C7BC0024 */ lwc1 $f28, 0x24($sp) +func_80249CB0: +.L80249CB0: +/* 178590 80249CB0 C7B00028 */ lwc1 $f16, 0x28($sp) +/* 178594 80249CB4 C7B20018 */ lwc1 $f18, 0x18($sp) +/* 178598 80249CB8 46128001 */ sub.s $f0, $f16, $f18 +/* 17859C 80249CBC 3C013F00 */ lui $at, 0x3f00 +/* 1785A0 80249CC0 44811000 */ mtc1 $at, $f2 +/* 1785A4 80249CC4 00000000 */ nop +/* 1785A8 80249CC8 46020002 */ mul.s $f0, $f0, $f2 +/* 1785AC 80249CCC 00000000 */ nop +/* 1785B0 80249CD0 46009000 */ add.s $f0, $f18, $f0 +func_80249CD4: +/* 1785B4 80249CD4 E7A0001C */ swc1 $f0, 0x1c($sp) +/* 1785B8 80249CD8 3C02802A */ lui $v0, 0x802a +/* 1785BC 80249CDC 8042F2A6 */ lb $v0, -0xd5a($v0) +/* 1785C0 80249CE0 10400029 */ beqz $v0, .L80249D88 +/* 1785C4 80249CE4 00000000 */ nop +/* 1785C8 80249CE8 3C01802A */ lui $at, 0x802a +/* 1785CC 80249CEC C422F28C */ lwc1 $f2, -0xd74($at) +/* 1785D0 80249CF0 3C0143FA */ lui $at, 0x43fa +/* 1785D4 80249CF4 44810000 */ mtc1 $at, $f0 +/* 1785D8 80249CF8 00000000 */ nop +/* 1785DC 80249CFC 46020001 */ sub.s $f0, $f0, $f2 +/* 1785E0 80249D00 3C01802A */ lui $at, 0x802a +/* 1785E4 80249D04 D422CC08 */ ldc1 $f2, -0x33f8($at) +/* 1785E8 80249D08 46000021 */ cvt.d.s $f0, $f0 +/* 1785EC 80249D0C 46220002 */ mul.d $f0, $f0, $f2 +/* 1785F0 80249D10 00000000 */ nop +/* 1785F4 80249D14 3C01403E */ lui $at, 0x403e +/* 1785F8 80249D18 44811800 */ mtc1 $at, $f3 +/* 1785FC 80249D1C 44801000 */ mtc1 $zero, $f2 +/* 178600 80249D20 00000000 */ nop +/* 178604 80249D24 46220000 */ add.d $f0, $f0, $f2 +/* 178608 80249D28 46200120 */ cvt.s.d $f4, $f0 +/* 17860C 80249D2C 46002007 */ neg.s $f0, $f4 +/* 178610 80249D30 4600F03C */ c.lt.s $f30, $f0 +/* 178614 80249D34 00000000 */ nop +/* 178618 80249D38 45000008 */ bc1f .L80249D5C +/* 17861C 80249D3C 00000000 */ nop +/* 178620 80249D40 461E0001 */ sub.s $f0, $f0, $f30 +/* 178624 80249D44 3C013F00 */ lui $at, 0x3f00 +/* 178628 80249D48 44811000 */ mtc1 $at, $f2 +/* 17862C 80249D4C 00000000 */ nop +/* 178630 80249D50 46020002 */ mul.s $f0, $f0, $f2 +/* 178634 80249D54 00000000 */ nop +/* 178638 80249D58 4600F780 */ add.s $f30, $f30, $f0 +.L80249D5C: +/* 17863C 80249D5C 461E203C */ c.lt.s $f4, $f30 +/* 178640 80249D60 00000000 */ nop +/* 178644 80249D64 45000008 */ bc1f .L80249D88 +/* 178648 80249D68 00000000 */ nop +/* 17864C 80249D6C 461E2001 */ sub.s $f0, $f4, $f30 +/* 178650 80249D70 3C013F00 */ lui $at, 0x3f00 +/* 178654 80249D74 44811000 */ mtc1 $at, $f2 +/* 178658 80249D78 00000000 */ nop +/* 17865C 80249D7C 46020002 */ mul.s $f0, $f0, $f2 +/* 178660 80249D80 00000000 */ nop +/* 178664 80249D84 4600F780 */ add.s $f30, $f30, $f0 +.L80249D88: +/* 178668 80249D88 12200055 */ beqz $s1, .L80249EE0 +/* 17866C 80249D8C 00000000 */ nop +/* 178670 80249D90 3C0141C0 */ lui $at, 0x41c0 +/* 178674 80249D94 44810000 */ mtc1 $at, $f0 +/* 178678 80249D98 00000000 */ nop +/* 17867C 80249D9C 4600B581 */ sub.s $f22, $f22, $f0 +/* 178680 80249DA0 4600D681 */ sub.s $f26, $f26, $f0 +/* 178684 80249DA4 44800000 */ mtc1 $zero, $f0 +/* 178688 80249DA8 00000000 */ nop +/* 17868C 80249DAC 4600B03C */ c.lt.s $f22, $f0 +/* 178690 80249DB0 00000000 */ nop +/* 178694 80249DB4 45030001 */ bc1tl .L80249DBC +/* 178698 80249DB8 46000586 */ mov.s $f22, $f0 +.L80249DBC: +/* 17869C 80249DBC 4600D03C */ c.lt.s $f26, $f0 +/* 1786A0 80249DC0 00000000 */ nop +/* 1786A4 80249DC4 45030001 */ bc1tl .L80249DCC +/* 1786A8 80249DC8 46000686 */ mov.s $f26, $f0 +.L80249DCC: +/* 1786AC 80249DCC 3C03802A */ lui $v1, 0x802a +/* 1786B0 80249DD0 2463F280 */ addiu $v1, $v1, -0xd80 +/* 1786B4 80249DD4 84620000 */ lh $v0, ($v1) +/* 1786B8 80249DD8 461AB080 */ add.s $f2, $f22, $f26 +/* 1786BC 80249DDC 44820000 */ mtc1 $v0, $f0 +/* 1786C0 80249DE0 00000000 */ nop +/* 1786C4 80249DE4 46800020 */ cvt.s.w $f0, $f0 +/* 1786C8 80249DE8 46020000 */ add.s $f0, $f0, $f2 +/* 1786CC 80249DEC 3C02802A */ lui $v0, 0x802a +/* 1786D0 80249DF0 8042F2A4 */ lb $v0, -0xd5c($v0) +/* 1786D4 80249DF4 4600040D */ trunc.w.s $f16, $f0 +/* 1786D8 80249DF8 44048000 */ mfc1 $a0, $f16 +/* 1786DC 80249DFC 10400010 */ beqz $v0, .L80249E40 +/* 1786E0 80249E00 A4640000 */ sh $a0, ($v1) +/* 1786E4 80249E04 E61E0054 */ swc1 $f30, 0x54($s0) +/* 1786E8 80249E08 E61C0058 */ swc1 $f28, 0x58($s0) +/* 1786EC 80249E0C C7B0001C */ lwc1 $f16, 0x1c($sp) +/* 1786F0 80249E10 3C02802A */ lui $v0, 0x802a +/* 1786F4 80249E14 8442F286 */ lh $v0, -0xd7a($v0) +/* 1786F8 80249E18 3C03802A */ lui $v1, 0x802a +/* 1786FC 80249E1C 9463F282 */ lhu $v1, -0xd7e($v1) +/* 178700 80249E20 A604001E */ sh $a0, 0x1e($s0) +/* 178704 80249E24 3C04802A */ lui $a0, 0x802a +/* 178708 80249E28 9484F284 */ lhu $a0, -0xd7c($a0) +/* 17870C 80249E2C 00021200 */ sll $v0, $v0, 8 +/* 178710 80249E30 E610005C */ swc1 $f16, 0x5c($s0) +/* 178714 80249E34 A6020026 */ sh $v0, 0x26($s0) +/* 178718 80249E38 A6030024 */ sh $v1, 0x24($s0) +/* 17871C 80249E3C A6040022 */ sh $a0, 0x22($s0) +.L80249E40: +/* 178720 80249E40 8602001E */ lh $v0, 0x1e($s0) +/* 178724 80249E44 86040026 */ lh $a0, 0x26($s0) +/* 178728 80249E48 86030024 */ lh $v1, 0x24($s0) +/* 17872C 80249E4C 44820000 */ mtc1 $v0, $f0 +/* 178730 80249E50 00000000 */ nop +/* 178734 80249E54 46800020 */ cvt.s.w $f0, $f0 +/* 178738 80249E58 86020022 */ lh $v0, 0x22($s0) +/* 17873C 80249E5C 3C01802A */ lui $at, 0x802a +/* 178740 80249E60 E420F28C */ swc1 $f0, -0xd74($at) +/* 178744 80249E64 44820000 */ mtc1 $v0, $f0 +/* 178748 80249E68 00000000 */ nop +/* 17874C 80249E6C 46800020 */ cvt.s.w $f0, $f0 +/* 178750 80249E70 3C01802A */ lui $at, 0x802a +/* 178754 80249E74 E420F294 */ swc1 $f0, -0xd6c($at) +/* 178758 80249E78 44830000 */ mtc1 $v1, $f0 +/* 17875C 80249E7C 00000000 */ nop +/* 178760 80249E80 46800020 */ cvt.s.w $f0, $f0 +/* 178764 80249E84 3C01802A */ lui $at, 0x802a +/* 178768 80249E88 E420F290 */ swc1 $f0, -0xd70($at) +/* 17876C 80249E8C 04820001 */ bltzl $a0, .L80249E94 +/* 178770 80249E90 248400FF */ addiu $a0, $a0, 0xff +.L80249E94: +/* 178774 80249E94 00041203 */ sra $v0, $a0, 8 +/* 178778 80249E98 C6020054 */ lwc1 $f2, 0x54($s0) +/* 17877C 80249E9C C6040058 */ lwc1 $f4, 0x58($s0) +/* 178780 80249EA0 C606005C */ lwc1 $f6, 0x5c($s0) +/* 178784 80249EA4 3C03802A */ lui $v1, 0x802a +/* 178788 80249EA8 9463F29E */ lhu $v1, -0xd62($v1) +/* 17878C 80249EAC 44820000 */ mtc1 $v0, $f0 +/* 178790 80249EB0 00000000 */ nop +/* 178794 80249EB4 46800020 */ cvt.s.w $f0, $f0 +/* 178798 80249EB8 3C01802A */ lui $at, 0x802a +/* 17879C 80249EBC E420F298 */ swc1 $f0, -0xd68($at) +/* 1787A0 80249EC0 3C01802A */ lui $at, 0x802a +/* 1787A4 80249EC4 E422F2A8 */ swc1 $f2, -0xd58($at) +/* 1787A8 80249EC8 3C01802A */ lui $at, 0x802a +/* 1787AC 80249ECC E424F2AC */ swc1 $f4, -0xd54($at) +/* 1787B0 80249ED0 3C01802A */ lui $at, 0x802a +/* 1787B4 80249ED4 E426F2B0 */ swc1 $f6, -0xd50($at) +/* 1787B8 80249ED8 3C01802A */ lui $at, 0x802a +/* 1787BC 80249EDC A423F2A0 */ sh $v1, -0xd60($at) +.L80249EE0: +/* 1787C0 80249EE0 3C02802A */ lui $v0, 0x802a +/* 1787C4 80249EE4 8042F2A5 */ lb $v0, -0xd5b($v0) +/* 1787C8 80249EE8 14400027 */ bnez $v0, .L80249F88 +/* 1787CC 80249EEC 00000000 */ nop +/* 1787D0 80249EF0 3C02802A */ lui $v0, 0x802a +/* 1787D4 80249EF4 8442F29E */ lh $v0, -0xd62($v0) +/* 1787D8 80249EF8 3C03802A */ lui $v1, 0x802a +/* 1787DC 80249EFC 8463F2A0 */ lh $v1, -0xd60($v1) +/* 1787E0 80249F00 3C013F80 */ lui $at, 0x3f80 +/* 1787E4 80249F04 4481C000 */ mtc1 $at, $f24 +/* 1787E8 80249F08 4482D000 */ mtc1 $v0, $f26 +/* 1787EC 80249F0C 00000000 */ nop +/* 1787F0 80249F10 4680D6A0 */ cvt.s.w $f26, $f26 +/* 1787F4 80249F14 44830000 */ mtc1 $v1, $f0 +/* 1787F8 80249F18 00000000 */ nop +/* 1787FC 80249F1C 46800020 */ cvt.s.w $f0, $f0 +/* 178800 80249F20 4600D683 */ div.s $f26, $f26, $f0 +/* 178804 80249F24 461AC301 */ sub.s $f12, $f24, $f26 +/* 178808 80249F28 3C014049 */ lui $at, 0x4049 +/* 17880C 80249F2C 34210FD0 */ ori $at, $at, 0xfd0 +/* 178810 80249F30 4481B000 */ mtc1 $at, $f22 +/* 178814 80249F34 00000000 */ nop +/* 178818 80249F38 46166302 */ mul.s $f12, $f12, $f22 +/* 17881C 80249F3C 00000000 */ nop +/* 178820 80249F40 3C013F00 */ lui $at, 0x3f00 +/* 178824 80249F44 4481A000 */ mtc1 $at, $f20 +/* 178828 80249F48 00000000 */ nop +/* 17882C 80249F4C 46146302 */ mul.s $f12, $f12, $f20 +/* 178830 80249F50 0C00A85B */ jal sin_rad +/* 178834 80249F54 00000000 */ nop +/* 178838 80249F58 46160002 */ mul.s $f0, $f0, $f22 +/* 17883C 80249F5C 00000000 */ nop +/* 178840 80249F60 46140302 */ mul.s $f12, $f0, $f20 +/* 178844 80249F64 0C00A85B */ jal sin_rad +/* 178848 80249F68 00000000 */ nop +/* 17884C 80249F6C 46160002 */ mul.s $f0, $f0, $f22 +/* 178850 80249F70 00000000 */ nop +/* 178854 80249F74 46140302 */ mul.s $f12, $f0, $f20 +/* 178858 80249F78 0C00A85B */ jal sin_rad +/* 17885C 80249F7C 00000000 */ nop +/* 178860 80249F80 080927ED */ j func_80249FB4 +/* 178864 80249F84 4600C681 */ sub.s $f26, $f24, $f0 + +.L80249F88: +/* 178868 80249F88 3C02802A */ lui $v0, 0x802a +/* 17886C 80249F8C 8442F29E */ lh $v0, -0xd62($v0) +/* 178870 80249F90 3C03802A */ lui $v1, 0x802a +/* 178874 80249F94 8463F2A0 */ lh $v1, -0xd60($v1) +/* 178878 80249F98 4482D000 */ mtc1 $v0, $f26 +/* 17887C 80249F9C 00000000 */ nop +/* 178880 80249FA0 4680D6A0 */ cvt.s.w $f26, $f26 +/* 178884 80249FA4 44830000 */ mtc1 $v1, $f0 +/* 178888 80249FA8 00000000 */ nop +/* 17888C 80249FAC 46800020 */ cvt.s.w $f0, $f0 +/* 178890 80249FB0 4600D683 */ div.s $f26, $f26, $f0 +func_80249FB4: +/* 178894 80249FB4 3C01802A */ lui $at, 0x802a +/* 178898 80249FB8 C426F2A8 */ lwc1 $f6, -0xd58($at) +/* 17889C 80249FBC 461A3182 */ mul.s $f6, $f6, $f26 +/* 1788A0 80249FC0 00000000 */ nop +/* 1788A4 80249FC4 3C01802A */ lui $at, 0x802a +/* 1788A8 80249FC8 C428F2AC */ lwc1 $f8, -0xd54($at) +/* 1788AC 80249FCC 461A4202 */ mul.s $f8, $f8, $f26 +/* 1788B0 80249FD0 00000000 */ nop +/* 1788B4 80249FD4 3C01802A */ lui $at, 0x802a +/* 1788B8 80249FD8 C424F2B0 */ lwc1 $f4, -0xd50($at) +/* 1788BC 80249FDC 461A2102 */ mul.s $f4, $f4, $f26 +/* 1788C0 80249FE0 00000000 */ nop +/* 1788C4 80249FE4 3C01802A */ lui $at, 0x802a +/* 1788C8 80249FE8 C422F298 */ lwc1 $f2, -0xd68($at) +/* 1788CC 80249FEC 461A1082 */ mul.s $f2, $f2, $f26 +/* 1788D0 80249FF0 00000000 */ nop +/* 1788D4 80249FF4 3C013F80 */ lui $at, 0x3f80 +/* 1788D8 80249FF8 4481B000 */ mtc1 $at, $f22 +/* 1788DC 80249FFC 00000000 */ nop +/* 1788E0 8024A000 461AB581 */ sub.s $f22, $f22, $f26 +/* 1788E4 8024A004 4616F302 */ mul.s $f12, $f30, $f22 +/* 1788E8 8024A008 00000000 */ nop +/* 1788EC 8024A00C 4616E382 */ mul.s $f14, $f28, $f22 +/* 1788F0 8024A010 00000000 */ nop +/* 1788F4 8024A014 3C02802A */ lui $v0, 0x802a +/* 1788F8 8024A018 8442F286 */ lh $v0, -0xd7a($v0) +/* 1788FC 8024A01C 44820000 */ mtc1 $v0, $f0 +/* 178900 8024A020 00000000 */ nop +/* 178904 8024A024 46800020 */ cvt.s.w $f0, $f0 +/* 178908 8024A028 46160002 */ mul.s $f0, $f0, $f22 +/* 17890C 8024A02C 00000000 */ nop +/* 178910 8024A030 C7B2001C */ lwc1 $f18, 0x1c($sp) +/* 178914 8024A034 46169282 */ mul.s $f10, $f18, $f22 +/* 178918 8024A038 00000000 */ nop +/* 17891C 8024A03C 46001080 */ add.s $f2, $f2, $f0 +/* 178920 8024A040 C6180054 */ lwc1 $f24, 0x54($s0) +/* 178924 8024A044 C6140058 */ lwc1 $f20, 0x58($s0) +/* 178928 8024A048 460C3180 */ add.s $f6, $f6, $f12 +/* 17892C 8024A04C C610005C */ lwc1 $f16, 0x5c($s0) +/* 178930 8024A050 4406F000 */ mfc1 $a2, $f30 +/* 178934 8024A054 460A2100 */ add.s $f4, $f4, $f10 +/* 178938 8024A058 44079000 */ mfc1 $a3, $f18 +/* 17893C 8024A05C 3C014380 */ lui $at, 0x4380 +/* 178940 8024A060 44810000 */ mtc1 $at, $f0 +/* 178944 8024A064 460E4200 */ add.s $f8, $f8, $f14 +/* 178948 8024A068 E7B00018 */ swc1 $f16, 0x18($sp) +/* 17894C 8024A06C E6060054 */ swc1 $f6, 0x54($s0) +/* 178950 8024A070 46001082 */ mul.s $f2, $f2, $f0 +/* 178954 8024A074 00000000 */ nop +/* 178958 8024A078 46003306 */ mov.s $f12, $f6 +/* 17895C 8024A07C E604005C */ swc1 $f4, 0x5c($s0) +/* 178960 8024A080 46002386 */ mov.s $f14, $f4 +/* 178964 8024A084 E6080058 */ swc1 $f8, 0x58($s0) +/* 178968 8024A088 4600148D */ trunc.w.s $f18, $f2 +/* 17896C 8024A08C 44029000 */ mfc1 $v0, $f18 +/* 178970 8024A090 0C00A7B5 */ jal dist2D +/* 178974 8024A094 A6020026 */ sh $v0, 0x26($s0) +/* 178978 8024A098 4600A386 */ mov.s $f14, $f20 +/* 17897C 8024A09C 8FA60018 */ lw $a2, 0x18($sp) +/* 178980 8024A0A0 C7B0002C */ lwc1 $f16, 0x2c($sp) +/* 178984 8024A0A4 8FA70020 */ lw $a3, 0x20($sp) +/* 178988 8024A0A8 C7B20030 */ lwc1 $f18, 0x30($sp) +/* 17898C 8024A0AC 46100500 */ add.s $f20, $f0, $f16 +/* 178990 8024A0B0 3C014280 */ lui $at, 0x4280 +/* 178994 8024A0B4 44810000 */ mtc1 $at, $f0 +/* 178998 8024A0B8 C7B00024 */ lwc1 $f16, 0x24($sp) +/* 17899C 8024A0BC 4612A500 */ add.s $f20, $f20, $f18 +/* 1789A0 8024A0C0 C7B20028 */ lwc1 $f18, 0x28($sp) +/* 1789A4 8024A0C4 4600C306 */ mov.s $f12, $f24 +/* 1789A8 8024A0C8 E7B00010 */ swc1 $f16, 0x10($sp) +/* 1789AC 8024A0CC E7B20014 */ swc1 $f18, 0x14($sp) +/* 1789B0 8024A0D0 0C00A7CB */ jal dist3D +/* 1789B4 8024A0D4 4600A501 */ sub.s $f20, $f20, $f0 +/* 1789B8 8024A0D8 3C013F00 */ lui $at, 0x3f00 +/* 1789BC 8024A0DC 44811000 */ mtc1 $at, $f2 +/* 1789C0 8024A0E0 00000000 */ nop +/* 1789C4 8024A0E4 46020002 */ mul.s $f0, $f0, $f2 +/* 1789C8 8024A0E8 00000000 */ nop +/* 1789CC 8024A0EC 3C01802A */ lui $at, 0x802a +/* 1789D0 8024A0F0 C42AF28C */ lwc1 $f10, -0xd74($at) +/* 1789D4 8024A0F4 461A5282 */ mul.s $f10, $f10, $f26 +/* 1789D8 8024A0F8 00000000 */ nop +/* 1789DC 8024A0FC 3C01802A */ lui $at, 0x802a +/* 1789E0 8024A100 C428F290 */ lwc1 $f8, -0xd70($at) +/* 1789E4 8024A104 461A4202 */ mul.s $f8, $f8, $f26 +/* 1789E8 8024A108 00000000 */ nop +/* 1789EC 8024A10C 3C01802A */ lui $at, 0x802a +/* 1789F0 8024A110 C424F294 */ lwc1 $f4, -0xd6c($at) +/* 1789F4 8024A114 3C02802A */ lui $v0, 0x802a +/* 1789F8 8024A118 8442F280 */ lh $v0, -0xd80($v0) +/* 1789FC 8024A11C 461A2102 */ mul.s $f4, $f4, $f26 +/* 178A00 8024A120 00000000 */ nop +/* 178A04 8024A124 44821000 */ mtc1 $v0, $f2 +/* 178A08 8024A128 00000000 */ nop +/* 178A0C 8024A12C 468010A0 */ cvt.s.w $f2, $f2 +/* 178A10 8024A130 3C02802A */ lui $v0, 0x802a +/* 178A14 8024A134 8442F282 */ lh $v0, -0xd7e($v0) +/* 178A18 8024A138 44823000 */ mtc1 $v0, $f6 +/* 178A1C 8024A13C 00000000 */ nop +/* 178A20 8024A140 468031A0 */ cvt.s.w $f6, $f6 +/* 178A24 8024A144 46163182 */ mul.s $f6, $f6, $f22 +/* 178A28 8024A148 00000000 */ nop +/* 178A2C 8024A14C 46141080 */ add.s $f2, $f2, $f20 +/* 178A30 8024A150 3C02802A */ lui $v0, 0x802a +/* 178A34 8024A154 8442F284 */ lh $v0, -0xd7c($v0) +/* 178A38 8024A158 46001080 */ add.s $f2, $f2, $f0 +/* 178A3C 8024A15C 44820000 */ mtc1 $v0, $f0 +/* 178A40 8024A160 00000000 */ nop +/* 178A44 8024A164 46800020 */ cvt.s.w $f0, $f0 +/* 178A48 8024A168 46160002 */ mul.s $f0, $f0, $f22 +/* 178A4C 8024A16C 00000000 */ nop +/* 178A50 8024A170 46161082 */ mul.s $f2, $f2, $f22 +/* 178A54 8024A174 00000000 */ nop +/* 178A58 8024A178 46064200 */ add.s $f8, $f8, $f6 +/* 178A5C 8024A17C 3C04802A */ lui $a0, 0x802a +/* 178A60 8024A180 2484F29E */ addiu $a0, $a0, -0xd62 +/* 178A64 8024A184 46002100 */ add.s $f4, $f4, $f0 +/* 178A68 8024A188 4600440D */ trunc.w.s $f16, $f8 +/* 178A6C 8024A18C 44028000 */ mfc1 $v0, $f16 +/* 178A70 8024A190 00000000 */ nop +/* 178A74 8024A194 A6020024 */ sh $v0, 0x24($s0) +/* 178A78 8024A198 46025280 */ add.s $f10, $f10, $f2 +/* 178A7C 8024A19C 4600240D */ trunc.w.s $f16, $f4 +/* 178A80 8024A1A0 44028000 */ mfc1 $v0, $f16 +/* 178A84 8024A1A4 00000000 */ nop +/* 178A88 8024A1A8 A6020022 */ sh $v0, 0x22($s0) +/* 178A8C 8024A1AC 4600540D */ trunc.w.s $f16, $f10 +/* 178A90 8024A1B0 44028000 */ mfc1 $v0, $f16 +/* 178A94 8024A1B4 00000000 */ nop +/* 178A98 8024A1B8 A602001E */ sh $v0, 0x1e($s0) +/* 178A9C 8024A1BC 84820000 */ lh $v0, ($a0) +/* 178AA0 8024A1C0 94830000 */ lhu $v1, ($a0) +/* 178AA4 8024A1C4 14400006 */ bnez $v0, .L8024A1E0 +/* 178AA8 8024A1C8 2462FFFF */ addiu $v0, $v1, -1 +/* 178AAC 8024A1CC 24020001 */ addiu $v0, $zero, 1 +/* 178AB0 8024A1D0 3C01802A */ lui $at, 0x802a +/* 178AB4 8024A1D4 A022F29C */ sb $v0, -0xd64($at) +/* 178AB8 8024A1D8 0809287A */ j func_8024A1E8 +/* 178ABC 8024A1DC 0000102D */ daddu $v0, $zero, $zero + +.L8024A1E0: +/* 178AC0 8024A1E0 A4820000 */ sh $v0, ($a0) +/* 178AC4 8024A1E4 0000102D */ daddu $v0, $zero, $zero +func_8024A1E8: +.L8024A1E8: +/* 178AC8 8024A1E8 8FBF0040 */ lw $ra, 0x40($sp) +/* 178ACC 8024A1EC 8FB1003C */ lw $s1, 0x3c($sp) +/* 178AD0 8024A1F0 8FB00038 */ lw $s0, 0x38($sp) +/* 178AD4 8024A1F4 D7BE0070 */ ldc1 $f30, 0x70($sp) +/* 178AD8 8024A1F8 D7BC0068 */ ldc1 $f28, 0x68($sp) +/* 178ADC 8024A1FC D7BA0060 */ ldc1 $f26, 0x60($sp) +/* 178AE0 8024A200 D7B80058 */ ldc1 $f24, 0x58($sp) +/* 178AE4 8024A204 D7B60050 */ ldc1 $f22, 0x50($sp) +/* 178AE8 8024A208 D7B40048 */ ldc1 $f20, 0x48($sp) +/* 178AEC 8024A20C 03E00008 */ jr $ra +/* 178AF0 8024A210 27BD0078 */ addiu $sp, $sp, 0x78 + +/* 178AF4 8024A214 27BDFFA0 */ addiu $sp, $sp, -0x60 +/* 178AF8 8024A218 AFB20028 */ sw $s2, 0x28($sp) +/* 178AFC 8024A21C 00A0902D */ daddu $s2, $a1, $zero +/* 178B00 8024A220 AFB10024 */ sw $s1, 0x24($sp) +/* 178B04 8024A224 3C11800B */ lui $s1, 0x800b +/* 178B08 8024A228 263122D8 */ addiu $s1, $s1, 0x22d8 +/* 178B0C 8024A22C 3C02802A */ lui $v0, 0x802a +/* 178B10 8024A230 9442F27C */ lhu $v0, -0xd84($v0) +/* 178B14 8024A234 3C04800E */ lui $a0, 0x800e +/* 178B18 8024A238 2484C070 */ addiu $a0, $a0, -0x3f90 +/* 178B1C 8024A23C AFBF002C */ sw $ra, 0x2c($sp) +/* 178B20 8024A240 AFB00020 */ sw $s0, 0x20($sp) +/* 178B24 8024A244 F7BE0058 */ sdc1 $f30, 0x58($sp) +/* 178B28 8024A248 F7BC0050 */ sdc1 $f28, 0x50($sp) +/* 178B2C 8024A24C F7BA0048 */ sdc1 $f26, 0x48($sp) +/* 178B30 8024A250 F7B80040 */ sdc1 $f24, 0x40($sp) +/* 178B34 8024A254 F7B60038 */ sdc1 $f22, 0x38($sp) +/* 178B38 8024A258 F7B40030 */ sdc1 $f20, 0x30($sp) +/* 178B3C 8024A25C 30430700 */ andi $v1, $v0, 0x700 +/* 178B40 8024A260 304500FF */ andi $a1, $v0, 0xff +/* 178B44 8024A264 24020100 */ addiu $v0, $zero, 0x100 +/* 178B48 8024A268 10620044 */ beq $v1, $v0, .L8024A37C +/* 178B4C 8024A26C 28620101 */ slti $v0, $v1, 0x101 +/* 178B50 8024A270 10400005 */ beqz $v0, .L8024A288 +/* 178B54 8024A274 24020200 */ addiu $v0, $zero, 0x200 +/* 178B58 8024A278 10600007 */ beqz $v1, .L8024A298 +/* 178B5C 8024A27C 24020002 */ addiu $v0, $zero, 2 +/* 178B60 8024A280 08092A58 */ j func_8024A960 +/* 178B64 8024A284 00000000 */ nop + +.L8024A288: +/* 178B68 8024A288 1062003F */ beq $v1, $v0, .L8024A388 +/* 178B6C 8024A28C 24020002 */ addiu $v0, $zero, 2 +/* 178B70 8024A290 08092A58 */ j func_8024A960 +/* 178B74 8024A294 00000000 */ nop + +.L8024A298: +/* 178B78 8024A298 8C8500D8 */ lw $a1, 0xd8($a0) +func_8024A29C: +/* 178B7C 8024A29C 10A001B0 */ beqz $a1, .L8024A960 +/* 178B80 8024A2A0 0000102D */ daddu $v0, $zero, $zero +/* 178B84 8024A2A4 C4BA0144 */ lwc1 $f26, 0x144($a1) +/* 178B88 8024A2A8 C4B6014C */ lwc1 $f22, 0x14c($a1) +/* 178B8C 8024A2AC 84A40428 */ lh $a0, 0x428($a1) +/* 178B90 8024A2B0 90A20191 */ lbu $v0, 0x191($a1) +/* 178B94 8024A2B4 90A30190 */ lbu $v1, 0x190($a1) +/* 178B98 8024A2B8 C4A20148 */ lwc1 $f2, 0x148($a1) +/* 178B9C 8024A2BC 4482F000 */ mtc1 $v0, $f30 +/* 178BA0 8024A2C0 00000000 */ nop +/* 178BA4 8024A2C4 4680F7A0 */ cvt.s.w $f30, $f30 +/* 178BA8 8024A2C8 4483A000 */ mtc1 $v1, $f20 +/* 178BAC 8024A2CC 00000000 */ nop +/* 178BB0 8024A2D0 4680A520 */ cvt.s.w $f20, $f20 +/* 178BB4 8024A2D4 00021842 */ srl $v1, $v0, 1 +/* 178BB8 8024A2D8 44830000 */ mtc1 $v1, $f0 +/* 178BBC 8024A2DC 00000000 */ nop +/* 178BC0 8024A2E0 46800020 */ cvt.s.w $f0, $f0 +/* 178BC4 8024A2E4 46001080 */ add.s $f2, $f2, $f0 +/* 178BC8 8024A2E8 00021082 */ srl $v0, $v0, 2 +/* 178BCC 8024A2EC 44820000 */ mtc1 $v0, $f0 +/* 178BD0 8024A2F0 00000000 */ nop +/* 178BD4 8024A2F4 46800020 */ cvt.s.w $f0, $f0 +/* 178BD8 8024A2F8 0C09A75B */ jal get_actor +/* 178BDC 8024A2FC 46001600 */ add.s $f24, $f2, $f0 +/* 178BE0 8024A300 0040802D */ daddu $s0, $v0, $zero +/* 178BE4 8024A304 12000196 */ beqz $s0, .L8024A960 +/* 178BE8 8024A308 0000102D */ daddu $v0, $zero, $zero +/* 178BEC 8024A30C C6040144 */ lwc1 $f4, 0x144($s0) +/* 178BF0 8024A310 461A2101 */ sub.s $f4, $f4, $f26 +/* 178BF4 8024A314 3C013F00 */ lui $at, 0x3f00 +/* 178BF8 8024A318 44815000 */ mtc1 $at, $f10 +/* 178BFC 8024A31C 00000000 */ nop +/* 178C00 8024A320 460A2102 */ mul.s $f4, $f4, $f10 +/* 178C04 8024A324 00000000 */ nop +/* 178C08 8024A328 92020191 */ lbu $v0, 0x191($s0) +/* 178C0C 8024A32C C6020148 */ lwc1 $f2, 0x148($s0) +/* 178C10 8024A330 00021842 */ srl $v1, $v0, 1 +/* 178C14 8024A334 44830000 */ mtc1 $v1, $f0 +/* 178C18 8024A338 00000000 */ nop +/* 178C1C 8024A33C 46800020 */ cvt.s.w $f0, $f0 +/* 178C20 8024A340 46001080 */ add.s $f2, $f2, $f0 +/* 178C24 8024A344 00021082 */ srl $v0, $v0, 2 +/* 178C28 8024A348 44820000 */ mtc1 $v0, $f0 +/* 178C2C 8024A34C 00000000 */ nop +/* 178C30 8024A350 46800020 */ cvt.s.w $f0, $f0 +/* 178C34 8024A354 46001180 */ add.s $f6, $f2, $f0 +/* 178C38 8024A358 C608014C */ lwc1 $f8, 0x14c($s0) +/* 178C3C 8024A35C 3C02802A */ lui $v0, 0x802a +/* 178C40 8024A360 8042F2A2 */ lb $v0, -0xd5e($v0) +/* 178C44 8024A364 0440004E */ bltz $v0, .L8024A4A0 +/* 178C48 8024A368 4604D680 */ add.s $f26, $f26, $f4 +/* 178C4C 8024A36C 54400044 */ bnezl $v0, .L8024A480 +/* 178C50 8024A370 4606C001 */ sub.s $f0, $f24, $f6 +/* 178C54 8024A374 08092929 */ j func_8024A4A4 +/* 178C58 8024A378 4600C706 */ mov.s $f28, $f24 + +.L8024A37C: +/* 178C5C 8024A37C 8C8500DC */ lw $a1, 0xdc($a0) +/* 178C60 8024A380 080928A7 */ j func_8024A29C +/* 178C64 8024A384 00000000 */ nop + +.L8024A388: +/* 178C68 8024A388 00051080 */ sll $v0, $a1, 2 +/* 178C6C 8024A38C 00441021 */ addu $v0, $v0, $a0 +/* 178C70 8024A390 8C5000E0 */ lw $s0, 0xe0($v0) +/* 178C74 8024A394 12000172 */ beqz $s0, .L8024A960 +/* 178C78 8024A398 0000102D */ daddu $v0, $zero, $zero +/* 178C7C 8024A39C 3C05802A */ lui $a1, 0x802a +/* 178C80 8024A3A0 84A5F27E */ lh $a1, -0xd82($a1) +/* 178C84 8024A3A4 0C099117 */ jal get_actor_part +/* 178C88 8024A3A8 0200202D */ daddu $a0, $s0, $zero +/* 178C8C 8024A3AC C45A002C */ lwc1 $f26, 0x2c($v0) +/* 178C90 8024A3B0 C4560034 */ lwc1 $f22, 0x34($v0) +/* 178C94 8024A3B4 86040428 */ lh $a0, 0x428($s0) +/* 178C98 8024A3B8 90430073 */ lbu $v1, 0x73($v0) +/* 178C9C 8024A3BC 90450072 */ lbu $a1, 0x72($v0) +/* 178CA0 8024A3C0 C4420030 */ lwc1 $f2, 0x30($v0) +/* 178CA4 8024A3C4 4483F000 */ mtc1 $v1, $f30 +/* 178CA8 8024A3C8 00000000 */ nop +/* 178CAC 8024A3CC 4680F7A0 */ cvt.s.w $f30, $f30 +/* 178CB0 8024A3D0 4485A000 */ mtc1 $a1, $f20 +/* 178CB4 8024A3D4 00000000 */ nop +/* 178CB8 8024A3D8 4680A520 */ cvt.s.w $f20, $f20 +/* 178CBC 8024A3DC 00032842 */ srl $a1, $v1, 1 +/* 178CC0 8024A3E0 44850000 */ mtc1 $a1, $f0 +/* 178CC4 8024A3E4 00000000 */ nop +/* 178CC8 8024A3E8 46800020 */ cvt.s.w $f0, $f0 +/* 178CCC 8024A3EC 46001080 */ add.s $f2, $f2, $f0 +/* 178CD0 8024A3F0 00031882 */ srl $v1, $v1, 2 +/* 178CD4 8024A3F4 44830000 */ mtc1 $v1, $f0 +/* 178CD8 8024A3F8 00000000 */ nop +/* 178CDC 8024A3FC 46800020 */ cvt.s.w $f0, $f0 +/* 178CE0 8024A400 0C09A75B */ jal get_actor +/* 178CE4 8024A404 46001600 */ add.s $f24, $f2, $f0 +/* 178CE8 8024A408 0040802D */ daddu $s0, $v0, $zero +/* 178CEC 8024A40C 12000154 */ beqz $s0, .L8024A960 +/* 178CF0 8024A410 0000102D */ daddu $v0, $zero, $zero +/* 178CF4 8024A414 C6040144 */ lwc1 $f4, 0x144($s0) +/* 178CF8 8024A418 461A2101 */ sub.s $f4, $f4, $f26 +/* 178CFC 8024A41C 3C013F00 */ lui $at, 0x3f00 +/* 178D00 8024A420 44815000 */ mtc1 $at, $f10 +/* 178D04 8024A424 00000000 */ nop +/* 178D08 8024A428 460A2102 */ mul.s $f4, $f4, $f10 +/* 178D0C 8024A42C 00000000 */ nop +/* 178D10 8024A430 92020191 */ lbu $v0, 0x191($s0) +/* 178D14 8024A434 C6020148 */ lwc1 $f2, 0x148($s0) +/* 178D18 8024A438 00021842 */ srl $v1, $v0, 1 +/* 178D1C 8024A43C 44830000 */ mtc1 $v1, $f0 +/* 178D20 8024A440 00000000 */ nop +/* 178D24 8024A444 46800020 */ cvt.s.w $f0, $f0 +/* 178D28 8024A448 46001080 */ add.s $f2, $f2, $f0 +/* 178D2C 8024A44C 00021082 */ srl $v0, $v0, 2 +/* 178D30 8024A450 44820000 */ mtc1 $v0, $f0 +/* 178D34 8024A454 00000000 */ nop +/* 178D38 8024A458 46800020 */ cvt.s.w $f0, $f0 +/* 178D3C 8024A45C 46001180 */ add.s $f6, $f2, $f0 +/* 178D40 8024A460 C608014C */ lwc1 $f8, 0x14c($s0) +/* 178D44 8024A464 3C02802A */ lui $v0, 0x802a +/* 178D48 8024A468 8042F2A2 */ lb $v0, -0xd5e($v0) +/* 178D4C 8024A46C 0440000C */ bltz $v0, .L8024A4A0 +/* 178D50 8024A470 4604D680 */ add.s $f26, $f26, $f4 +/* 178D54 8024A474 1040000B */ beqz $v0, .L8024A4A4 +/* 178D58 8024A478 4600C706 */ mov.s $f28, $f24 +/* 178D5C 8024A47C 4606C001 */ sub.s $f0, $f24, $f6 +.L8024A480: +/* 178D60 8024A480 460A0082 */ mul.s $f2, $f0, $f10 +/* 178D64 8024A484 00000000 */ nop +/* 178D68 8024A488 3C0140C0 */ lui $at, 0x40c0 +/* 178D6C 8024A48C 44812000 */ mtc1 $at, $f4 +/* 178D70 8024A490 46023080 */ add.s $f2, $f6, $f2 +/* 178D74 8024A494 46040003 */ div.s $f0, $f0, $f4 +/* 178D78 8024A498 08092929 */ j func_8024A4A4 +/* 178D7C 8024A49C 46001700 */ add.s $f28, $f2, $f0 + +.L8024A4A0: +/* 178D80 8024A4A0 C63C0058 */ lwc1 $f28, 0x58($s1) +func_8024A4A4: +.L8024A4A4: +/* 178D84 8024A4A4 46164001 */ sub.s $f0, $f8, $f22 +/* 178D88 8024A4A8 3C013F00 */ lui $at, 0x3f00 +/* 178D8C 8024A4AC 44811000 */ mtc1 $at, $f2 +/* 178D90 8024A4B0 00000000 */ nop +/* 178D94 8024A4B4 46020002 */ mul.s $f0, $f0, $f2 +/* 178D98 8024A4B8 00000000 */ nop +/* 178D9C 8024A4BC 4600B580 */ add.s $f22, $f22, $f0 +/* 178DA0 8024A4C0 E7B60010 */ swc1 $f22, 0x10($sp) +/* 178DA4 8024A4C4 3C02802A */ lui $v0, 0x802a +/* 178DA8 8024A4C8 8042F2A6 */ lb $v0, -0xd5a($v0) +/* 178DAC 8024A4CC 10400029 */ beqz $v0, .L8024A574 +/* 178DB0 8024A4D0 00000000 */ nop +/* 178DB4 8024A4D4 3C01802A */ lui $at, 0x802a +/* 178DB8 8024A4D8 C422F28C */ lwc1 $f2, -0xd74($at) +/* 178DBC 8024A4DC 3C0143FA */ lui $at, 0x43fa +/* 178DC0 8024A4E0 44810000 */ mtc1 $at, $f0 +/* 178DC4 8024A4E4 00000000 */ nop +/* 178DC8 8024A4E8 46020001 */ sub.s $f0, $f0, $f2 +/* 178DCC 8024A4EC 3C01802A */ lui $at, 0x802a +/* 178DD0 8024A4F0 D422CC10 */ ldc1 $f2, -0x33f0($at) +/* 178DD4 8024A4F4 46000021 */ cvt.d.s $f0, $f0 +/* 178DD8 8024A4F8 46220002 */ mul.d $f0, $f0, $f2 +/* 178DDC 8024A4FC 00000000 */ nop +/* 178DE0 8024A500 3C01403E */ lui $at, 0x403e +/* 178DE4 8024A504 44811800 */ mtc1 $at, $f3 +/* 178DE8 8024A508 44801000 */ mtc1 $zero, $f2 +/* 178DEC 8024A50C 00000000 */ nop +/* 178DF0 8024A510 46220000 */ add.d $f0, $f0, $f2 +/* 178DF4 8024A514 46200120 */ cvt.s.d $f4, $f0 +/* 178DF8 8024A518 46002007 */ neg.s $f0, $f4 +/* 178DFC 8024A51C 4600D03C */ c.lt.s $f26, $f0 +/* 178E00 8024A520 00000000 */ nop +/* 178E04 8024A524 45000008 */ bc1f .L8024A548 +/* 178E08 8024A528 00000000 */ nop +/* 178E0C 8024A52C 461A0001 */ sub.s $f0, $f0, $f26 +/* 178E10 8024A530 3C013F00 */ lui $at, 0x3f00 +/* 178E14 8024A534 44811000 */ mtc1 $at, $f2 +/* 178E18 8024A538 00000000 */ nop +/* 178E1C 8024A53C 46020002 */ mul.s $f0, $f0, $f2 +/* 178E20 8024A540 00000000 */ nop +/* 178E24 8024A544 4600D680 */ add.s $f26, $f26, $f0 +.L8024A548: +/* 178E28 8024A548 461A203C */ c.lt.s $f4, $f26 +/* 178E2C 8024A54C 00000000 */ nop +/* 178E30 8024A550 45000008 */ bc1f .L8024A574 +/* 178E34 8024A554 00000000 */ nop +/* 178E38 8024A558 461A2001 */ sub.s $f0, $f4, $f26 +/* 178E3C 8024A55C 3C013F00 */ lui $at, 0x3f00 +/* 178E40 8024A560 44811000 */ mtc1 $at, $f2 +/* 178E44 8024A564 00000000 */ nop +/* 178E48 8024A568 46020002 */ mul.s $f0, $f0, $f2 +/* 178E4C 8024A56C 00000000 */ nop +/* 178E50 8024A570 4600D680 */ add.s $f26, $f26, $f0 +.L8024A574: +/* 178E54 8024A574 12400055 */ beqz $s2, .L8024A6CC +/* 178E58 8024A578 00000000 */ nop +/* 178E5C 8024A57C 3C0141C0 */ lui $at, 0x41c0 +/* 178E60 8024A580 44810000 */ mtc1 $at, $f0 +/* 178E64 8024A584 00000000 */ nop +/* 178E68 8024A588 4600A501 */ sub.s $f20, $f20, $f0 +/* 178E6C 8024A58C 4600F781 */ sub.s $f30, $f30, $f0 +/* 178E70 8024A590 44800000 */ mtc1 $zero, $f0 +/* 178E74 8024A594 00000000 */ nop +/* 178E78 8024A598 4600A03C */ c.lt.s $f20, $f0 +/* 178E7C 8024A59C 00000000 */ nop +/* 178E80 8024A5A0 45030001 */ bc1tl .L8024A5A8 +/* 178E84 8024A5A4 46000506 */ mov.s $f20, $f0 +.L8024A5A8: +/* 178E88 8024A5A8 4600F03C */ c.lt.s $f30, $f0 +/* 178E8C 8024A5AC 00000000 */ nop +/* 178E90 8024A5B0 45030001 */ bc1tl .L8024A5B8 +/* 178E94 8024A5B4 46000786 */ mov.s $f30, $f0 +.L8024A5B8: +/* 178E98 8024A5B8 3C03802A */ lui $v1, 0x802a +/* 178E9C 8024A5BC 2463F280 */ addiu $v1, $v1, -0xd80 +/* 178EA0 8024A5C0 84620000 */ lh $v0, ($v1) +/* 178EA4 8024A5C4 461EA080 */ add.s $f2, $f20, $f30 +/* 178EA8 8024A5C8 44820000 */ mtc1 $v0, $f0 +/* 178EAC 8024A5CC 00000000 */ nop +/* 178EB0 8024A5D0 46800020 */ cvt.s.w $f0, $f0 +/* 178EB4 8024A5D4 46020000 */ add.s $f0, $f0, $f2 +/* 178EB8 8024A5D8 3C02802A */ lui $v0, 0x802a +/* 178EBC 8024A5DC 8042F2A4 */ lb $v0, -0xd5c($v0) +/* 178EC0 8024A5E0 4600038D */ trunc.w.s $f14, $f0 +/* 178EC4 8024A5E4 44047000 */ mfc1 $a0, $f14 +/* 178EC8 8024A5E8 10400010 */ beqz $v0, .L8024A62C +/* 178ECC 8024A5EC A4640000 */ sh $a0, ($v1) +/* 178ED0 8024A5F0 E63A0054 */ swc1 $f26, 0x54($s1) +/* 178ED4 8024A5F4 E63C0058 */ swc1 $f28, 0x58($s1) +/* 178ED8 8024A5F8 C7AE0010 */ lwc1 $f14, 0x10($sp) +/* 178EDC 8024A5FC 3C02802A */ lui $v0, 0x802a +/* 178EE0 8024A600 8442F286 */ lh $v0, -0xd7a($v0) +/* 178EE4 8024A604 3C03802A */ lui $v1, 0x802a +/* 178EE8 8024A608 9463F282 */ lhu $v1, -0xd7e($v1) +/* 178EEC 8024A60C A624001E */ sh $a0, 0x1e($s1) +/* 178EF0 8024A610 3C04802A */ lui $a0, 0x802a +/* 178EF4 8024A614 9484F284 */ lhu $a0, -0xd7c($a0) +/* 178EF8 8024A618 00021200 */ sll $v0, $v0, 8 +/* 178EFC 8024A61C E62E005C */ swc1 $f14, 0x5c($s1) +/* 178F00 8024A620 A6220026 */ sh $v0, 0x26($s1) +/* 178F04 8024A624 A6230024 */ sh $v1, 0x24($s1) +/* 178F08 8024A628 A6240022 */ sh $a0, 0x22($s1) +.L8024A62C: +/* 178F0C 8024A62C 8622001E */ lh $v0, 0x1e($s1) +/* 178F10 8024A630 86240026 */ lh $a0, 0x26($s1) +/* 178F14 8024A634 86230024 */ lh $v1, 0x24($s1) +/* 178F18 8024A638 44820000 */ mtc1 $v0, $f0 +/* 178F1C 8024A63C 00000000 */ nop +/* 178F20 8024A640 46800020 */ cvt.s.w $f0, $f0 +/* 178F24 8024A644 86220022 */ lh $v0, 0x22($s1) +/* 178F28 8024A648 3C01802A */ lui $at, 0x802a +/* 178F2C 8024A64C E420F28C */ swc1 $f0, -0xd74($at) +/* 178F30 8024A650 44820000 */ mtc1 $v0, $f0 +/* 178F34 8024A654 00000000 */ nop +/* 178F38 8024A658 46800020 */ cvt.s.w $f0, $f0 +/* 178F3C 8024A65C 3C01802A */ lui $at, 0x802a +/* 178F40 8024A660 E420F294 */ swc1 $f0, -0xd6c($at) +/* 178F44 8024A664 44830000 */ mtc1 $v1, $f0 +/* 178F48 8024A668 00000000 */ nop +/* 178F4C 8024A66C 46800020 */ cvt.s.w $f0, $f0 +/* 178F50 8024A670 3C01802A */ lui $at, 0x802a +/* 178F54 8024A674 E420F290 */ swc1 $f0, -0xd70($at) +/* 178F58 8024A678 04820001 */ bltzl $a0, .L8024A680 +/* 178F5C 8024A67C 248400FF */ addiu $a0, $a0, 0xff +.L8024A680: +/* 178F60 8024A680 00041203 */ sra $v0, $a0, 8 +/* 178F64 8024A684 C6220054 */ lwc1 $f2, 0x54($s1) +/* 178F68 8024A688 C6240058 */ lwc1 $f4, 0x58($s1) +/* 178F6C 8024A68C C626005C */ lwc1 $f6, 0x5c($s1) +/* 178F70 8024A690 3C03802A */ lui $v1, 0x802a +/* 178F74 8024A694 9463F29E */ lhu $v1, -0xd62($v1) +/* 178F78 8024A698 44820000 */ mtc1 $v0, $f0 +/* 178F7C 8024A69C 00000000 */ nop +/* 178F80 8024A6A0 46800020 */ cvt.s.w $f0, $f0 +/* 178F84 8024A6A4 3C01802A */ lui $at, 0x802a +/* 178F88 8024A6A8 E420F298 */ swc1 $f0, -0xd68($at) +/* 178F8C 8024A6AC 3C01802A */ lui $at, 0x802a +/* 178F90 8024A6B0 E422F2A8 */ swc1 $f2, -0xd58($at) +/* 178F94 8024A6B4 3C01802A */ lui $at, 0x802a +/* 178F98 8024A6B8 E424F2AC */ swc1 $f4, -0xd54($at) +/* 178F9C 8024A6BC 3C01802A */ lui $at, 0x802a +/* 178FA0 8024A6C0 E426F2B0 */ swc1 $f6, -0xd50($at) +/* 178FA4 8024A6C4 3C01802A */ lui $at, 0x802a +/* 178FA8 8024A6C8 A423F2A0 */ sh $v1, -0xd60($at) +.L8024A6CC: +/* 178FAC 8024A6CC 3C02802A */ lui $v0, 0x802a +/* 178FB0 8024A6D0 8042F2A5 */ lb $v0, -0xd5b($v0) +/* 178FB4 8024A6D4 14400027 */ bnez $v0, .L8024A774 +/* 178FB8 8024A6D8 00000000 */ nop +/* 178FBC 8024A6DC 3C02802A */ lui $v0, 0x802a +/* 178FC0 8024A6E0 8442F29E */ lh $v0, -0xd62($v0) +/* 178FC4 8024A6E4 3C03802A */ lui $v1, 0x802a +/* 178FC8 8024A6E8 8463F2A0 */ lh $v1, -0xd60($v1) +/* 178FCC 8024A6EC 3C013F80 */ lui $at, 0x3f80 +/* 178FD0 8024A6F0 4481C000 */ mtc1 $at, $f24 +/* 178FD4 8024A6F4 44822000 */ mtc1 $v0, $f4 +/* 178FD8 8024A6F8 00000000 */ nop +/* 178FDC 8024A6FC 46802120 */ cvt.s.w $f4, $f4 +/* 178FE0 8024A700 44830000 */ mtc1 $v1, $f0 +/* 178FE4 8024A704 00000000 */ nop +/* 178FE8 8024A708 46800020 */ cvt.s.w $f0, $f0 +/* 178FEC 8024A70C 46002103 */ div.s $f4, $f4, $f0 +/* 178FF0 8024A710 4604C301 */ sub.s $f12, $f24, $f4 +/* 178FF4 8024A714 3C014049 */ lui $at, 0x4049 +/* 178FF8 8024A718 34210FD0 */ ori $at, $at, 0xfd0 +/* 178FFC 8024A71C 4481B000 */ mtc1 $at, $f22 +/* 179000 8024A720 00000000 */ nop +/* 179004 8024A724 46166302 */ mul.s $f12, $f12, $f22 +/* 179008 8024A728 00000000 */ nop +/* 17900C 8024A72C 3C013F00 */ lui $at, 0x3f00 +/* 179010 8024A730 4481A000 */ mtc1 $at, $f20 +/* 179014 8024A734 00000000 */ nop +/* 179018 8024A738 46146302 */ mul.s $f12, $f12, $f20 +/* 17901C 8024A73C 0C00A85B */ jal sin_rad +/* 179020 8024A740 00000000 */ nop +/* 179024 8024A744 46160002 */ mul.s $f0, $f0, $f22 +/* 179028 8024A748 00000000 */ nop +/* 17902C 8024A74C 46140302 */ mul.s $f12, $f0, $f20 +/* 179030 8024A750 0C00A85B */ jal sin_rad +/* 179034 8024A754 00000000 */ nop +/* 179038 8024A758 46160002 */ mul.s $f0, $f0, $f22 +/* 17903C 8024A75C 00000000 */ nop +/* 179040 8024A760 46140302 */ mul.s $f12, $f0, $f20 +/* 179044 8024A764 0C00A85B */ jal sin_rad +/* 179048 8024A768 00000000 */ nop +/* 17904C 8024A76C 080929E8 */ j func_8024A7A0 +/* 179050 8024A770 4600C101 */ sub.s $f4, $f24, $f0 + +.L8024A774: +/* 179054 8024A774 3C02802A */ lui $v0, 0x802a +/* 179058 8024A778 8442F29E */ lh $v0, -0xd62($v0) +/* 17905C 8024A77C 3C03802A */ lui $v1, 0x802a +/* 179060 8024A780 8463F2A0 */ lh $v1, -0xd60($v1) +/* 179064 8024A784 44822000 */ mtc1 $v0, $f4 +/* 179068 8024A788 00000000 */ nop +/* 17906C 8024A78C 46802120 */ cvt.s.w $f4, $f4 +/* 179070 8024A790 44830000 */ mtc1 $v1, $f0 +/* 179074 8024A794 00000000 */ nop +/* 179078 8024A798 46800020 */ cvt.s.w $f0, $f0 +/* 17907C 8024A79C 46002103 */ div.s $f4, $f4, $f0 +func_8024A7A0: +/* 179080 8024A7A0 3C01802A */ lui $at, 0x802a +/* 179084 8024A7A4 C434F2A8 */ lwc1 $f20, -0xd58($at) +/* 179088 8024A7A8 4604A502 */ mul.s $f20, $f20, $f4 +/* 17908C 8024A7AC 00000000 */ nop +/* 179090 8024A7B0 3C01802A */ lui $at, 0x802a +/* 179094 8024A7B4 C432F2AC */ lwc1 $f18, -0xd54($at) +/* 179098 8024A7B8 46049482 */ mul.s $f18, $f18, $f4 +/* 17909C 8024A7BC 00000000 */ nop +/* 1790A0 8024A7C0 3C01802A */ lui $at, 0x802a +/* 1790A4 8024A7C4 C430F2B0 */ lwc1 $f16, -0xd50($at) +/* 1790A8 8024A7C8 46048402 */ mul.s $f16, $f16, $f4 +/* 1790AC 8024A7CC 00000000 */ nop +/* 1790B0 8024A7D0 3C01802A */ lui $at, 0x802a +/* 1790B4 8024A7D4 C426F298 */ lwc1 $f6, -0xd68($at) +/* 1790B8 8024A7D8 46043182 */ mul.s $f6, $f6, $f4 +/* 1790BC 8024A7DC 00000000 */ nop +/* 1790C0 8024A7E0 3C01802A */ lui $at, 0x802a +/* 1790C4 8024A7E4 C42CF28C */ lwc1 $f12, -0xd74($at) +/* 1790C8 8024A7E8 46046302 */ mul.s $f12, $f12, $f4 +/* 1790CC 8024A7EC 00000000 */ nop +/* 1790D0 8024A7F0 3C01802A */ lui $at, 0x802a +/* 1790D4 8024A7F4 C428F290 */ lwc1 $f8, -0xd70($at) +/* 1790D8 8024A7F8 46044202 */ mul.s $f8, $f8, $f4 +/* 1790DC 8024A7FC 00000000 */ nop +/* 1790E0 8024A800 3C013F80 */ lui $at, 0x3f80 +/* 1790E4 8024A804 44811000 */ mtc1 $at, $f2 +/* 1790E8 8024A808 00000000 */ nop +/* 1790EC 8024A80C 46041081 */ sub.s $f2, $f2, $f4 +/* 1790F0 8024A810 4602D682 */ mul.s $f26, $f26, $f2 +/* 1790F4 8024A814 00000000 */ nop +/* 1790F8 8024A818 4602E602 */ mul.s $f24, $f28, $f2 +/* 1790FC 8024A81C 00000000 */ nop +/* 179100 8024A820 3C02802A */ lui $v0, 0x802a +/* 179104 8024A824 8442F286 */ lh $v0, -0xd7a($v0) +/* 179108 8024A828 44820000 */ mtc1 $v0, $f0 +/* 17910C 8024A82C 00000000 */ nop +/* 179110 8024A830 46800020 */ cvt.s.w $f0, $f0 +/* 179114 8024A834 46020002 */ mul.s $f0, $f0, $f2 +/* 179118 8024A838 00000000 */ nop +/* 17911C 8024A83C C7AE0010 */ lwc1 $f14, 0x10($sp) +/* 179120 8024A840 46027582 */ mul.s $f22, $f14, $f2 +/* 179124 8024A844 00000000 */ nop +/* 179128 8024A848 3C02802A */ lui $v0, 0x802a +/* 17912C 8024A84C 8442F280 */ lh $v0, -0xd80($v0) +/* 179130 8024A850 44827000 */ mtc1 $v0, $f14 +/* 179134 8024A854 00000000 */ nop +/* 179138 8024A858 468073A0 */ cvt.s.w $f14, $f14 +/* 17913C 8024A85C 46027382 */ mul.s $f14, $f14, $f2 +/* 179140 8024A860 00000000 */ nop +/* 179144 8024A864 3C02802A */ lui $v0, 0x802a +/* 179148 8024A868 8442F282 */ lh $v0, -0xd7e($v0) +/* 17914C 8024A86C 44825000 */ mtc1 $v0, $f10 +/* 179150 8024A870 00000000 */ nop +/* 179154 8024A874 468052A0 */ cvt.s.w $f10, $f10 +/* 179158 8024A878 46025282 */ mul.s $f10, $f10, $f2 +/* 17915C 8024A87C 00000000 */ nop +/* 179160 8024A880 46003180 */ add.s $f6, $f6, $f0 +/* 179164 8024A884 3C014380 */ lui $at, 0x4380 +/* 179168 8024A888 44810000 */ mtc1 $at, $f0 +/* 17916C 8024A88C 00000000 */ nop +/* 179170 8024A890 46003182 */ mul.s $f6, $f6, $f0 +/* 179174 8024A894 00000000 */ nop +/* 179178 8024A898 3C01802A */ lui $at, 0x802a +/* 17917C 8024A89C C420F294 */ lwc1 $f0, -0xd6c($at) +/* 179180 8024A8A0 46040002 */ mul.s $f0, $f0, $f4 +/* 179184 8024A8A4 00000000 */ nop +/* 179188 8024A8A8 461AA500 */ add.s $f20, $f20, $f26 +/* 17918C 8024A8AC 46189480 */ add.s $f18, $f18, $f24 +/* 179190 8024A8B0 46168400 */ add.s $f16, $f16, $f22 +/* 179194 8024A8B4 3C02802A */ lui $v0, 0x802a +/* 179198 8024A8B8 8442F284 */ lh $v0, -0xd7c($v0) +/* 17919C 8024A8BC 460A4200 */ add.s $f8, $f8, $f10 +/* 1791A0 8024A8C0 E7AE0018 */ swc1 $f14, 0x18($sp) +/* 1791A4 8024A8C4 E6340054 */ swc1 $f20, 0x54($s1) +/* 1791A8 8024A8C8 460E6300 */ add.s $f12, $f12, $f14 +/* 1791AC 8024A8CC 3C04802A */ lui $a0, 0x802a +/* 1791B0 8024A8D0 2484F29E */ addiu $a0, $a0, -0xd62 +/* 1791B4 8024A8D4 44822000 */ mtc1 $v0, $f4 +/* 1791B8 8024A8D8 00000000 */ nop +/* 1791BC 8024A8DC 46802120 */ cvt.s.w $f4, $f4 +/* 1791C0 8024A8E0 46022102 */ mul.s $f4, $f4, $f2 +/* 1791C4 8024A8E4 00000000 */ nop +/* 1791C8 8024A8E8 E6320058 */ swc1 $f18, 0x58($s1) +/* 1791CC 8024A8EC E630005C */ swc1 $f16, 0x5c($s1) +/* 1791D0 8024A8F0 4600638D */ trunc.w.s $f14, $f12 +/* 1791D4 8024A8F4 44027000 */ mfc1 $v0, $f14 +/* 1791D8 8024A8F8 00000000 */ nop +/* 1791DC 8024A8FC A622001E */ sh $v0, 0x1e($s1) +/* 1791E0 8024A900 46040000 */ add.s $f0, $f0, $f4 +/* 1791E4 8024A904 4600438D */ trunc.w.s $f14, $f8 +/* 1791E8 8024A908 44027000 */ mfc1 $v0, $f14 +/* 1791EC 8024A90C 00000000 */ nop +/* 1791F0 8024A910 A6220024 */ sh $v0, 0x24($s1) +/* 1791F4 8024A914 4600038D */ trunc.w.s $f14, $f0 +/* 1791F8 8024A918 44027000 */ mfc1 $v0, $f14 +/* 1791FC 8024A91C 00000000 */ nop +/* 179200 8024A920 A6220022 */ sh $v0, 0x22($s1) +/* 179204 8024A924 4600338D */ trunc.w.s $f14, $f6 +/* 179208 8024A928 44027000 */ mfc1 $v0, $f14 +/* 17920C 8024A92C 00000000 */ nop +/* 179210 8024A930 A6220026 */ sh $v0, 0x26($s1) +/* 179214 8024A934 84820000 */ lh $v0, ($a0) +/* 179218 8024A938 94830000 */ lhu $v1, ($a0) +/* 17921C 8024A93C 14400006 */ bnez $v0, .L8024A958 +/* 179220 8024A940 2462FFFF */ addiu $v0, $v1, -1 +/* 179224 8024A944 24020001 */ addiu $v0, $zero, 1 +/* 179228 8024A948 3C01802A */ lui $at, 0x802a +/* 17922C 8024A94C A022F29C */ sb $v0, -0xd64($at) +/* 179230 8024A950 08092A58 */ j func_8024A960 +/* 179234 8024A954 0000102D */ daddu $v0, $zero, $zero + +.L8024A958: +/* 179238 8024A958 A4820000 */ sh $v0, ($a0) +/* 17923C 8024A95C 0000102D */ daddu $v0, $zero, $zero +func_8024A960: +.L8024A960: +/* 179240 8024A960 8FBF002C */ lw $ra, 0x2c($sp) +/* 179244 8024A964 8FB20028 */ lw $s2, 0x28($sp) +/* 179248 8024A968 8FB10024 */ lw $s1, 0x24($sp) +/* 17924C 8024A96C 8FB00020 */ lw $s0, 0x20($sp) +/* 179250 8024A970 D7BE0058 */ ldc1 $f30, 0x58($sp) +/* 179254 8024A974 D7BC0050 */ ldc1 $f28, 0x50($sp) +/* 179258 8024A978 D7BA0048 */ ldc1 $f26, 0x48($sp) +/* 17925C 8024A97C D7B80040 */ ldc1 $f24, 0x40($sp) +/* 179260 8024A980 D7B60038 */ ldc1 $f22, 0x38($sp) +/* 179264 8024A984 D7B40030 */ ldc1 $f20, 0x30($sp) +/* 179268 8024A988 03E00008 */ jr $ra +/* 17926C 8024A98C 27BD0060 */ addiu $sp, $sp, 0x60 + +/* 179270 8024A990 27BDFFA8 */ addiu $sp, $sp, -0x58 +/* 179274 8024A994 AFB00020 */ sw $s0, 0x20($sp) +/* 179278 8024A998 3C10800B */ lui $s0, 0x800b +/* 17927C 8024A99C 261022D8 */ addiu $s0, $s0, 0x22d8 +/* 179280 8024A9A0 3C02802A */ lui $v0, 0x802a +/* 179284 8024A9A4 9442F27C */ lhu $v0, -0xd84($v0) +/* 179288 8024A9A8 3C04800E */ lui $a0, 0x800e +/* 17928C 8024A9AC 2484C070 */ addiu $a0, $a0, -0x3f90 +/* 179290 8024A9B0 AFBF0024 */ sw $ra, 0x24($sp) +/* 179294 8024A9B4 F7BE0050 */ sdc1 $f30, 0x50($sp) +/* 179298 8024A9B8 F7BC0048 */ sdc1 $f28, 0x48($sp) +/* 17929C 8024A9BC F7BA0040 */ sdc1 $f26, 0x40($sp) +/* 1792A0 8024A9C0 F7B80038 */ sdc1 $f24, 0x38($sp) +/* 1792A4 8024A9C4 F7B60030 */ sdc1 $f22, 0x30($sp) +/* 1792A8 8024A9C8 F7B40028 */ sdc1 $f20, 0x28($sp) +/* 1792AC 8024A9CC 30430700 */ andi $v1, $v0, 0x700 +/* 1792B0 8024A9D0 304600FF */ andi $a2, $v0, 0xff +/* 1792B4 8024A9D4 24020100 */ addiu $v0, $zero, 0x100 +/* 1792B8 8024A9D8 1062002B */ beq $v1, $v0, .L8024AA88 +/* 1792BC 8024A9DC 28620101 */ slti $v0, $v1, 0x101 +/* 1792C0 8024A9E0 10400005 */ beqz $v0, .L8024A9F8 +/* 1792C4 8024A9E4 24020200 */ addiu $v0, $zero, 0x200 +/* 1792C8 8024A9E8 10600007 */ beqz $v1, .L8024AA08 +/* 1792CC 8024A9EC 24020002 */ addiu $v0, $zero, 2 +/* 1792D0 8024A9F0 08092BEF */ j func_8024AFBC +/* 1792D4 8024A9F4 00000000 */ nop + +.L8024A9F8: +/* 1792D8 8024A9F8 10620026 */ beq $v1, $v0, .L8024AA94 +/* 1792DC 8024A9FC 24020002 */ addiu $v0, $zero, 2 +/* 1792E0 8024AA00 08092BEF */ j func_8024AFBC +/* 1792E4 8024AA04 00000000 */ nop + +.L8024AA08: +/* 1792E8 8024AA08 8C8400D8 */ lw $a0, 0xd8($a0) +/* 1792EC 8024AA0C 14800005 */ bnez $a0, .L8024AA24 +/* 1792F0 8024AA10 00000000 */ nop +.L8024AA14: +/* 1792F4 8024AA14 0C093903 */ jal func_8024E40C +/* 1792F8 8024AA18 24040002 */ addiu $a0, $zero, 2 +/* 1792FC 8024AA1C 08092BEF */ j func_8024AFBC +/* 179300 8024AA20 0000102D */ daddu $v0, $zero, $zero + +.L8024AA24: +/* 179304 8024AA24 3C028011 */ lui $v0, 0x8011 +/* 179308 8024AA28 2442EFC8 */ addiu $v0, $v0, -0x1038 +/* 17930C 8024AA2C 944200B0 */ lhu $v0, 0xb0($v0) +/* 179310 8024AA30 C4820148 */ lwc1 $f2, 0x148($a0) +/* 179314 8024AA34 00021400 */ sll $v0, $v0, 0x10 +/* 179318 8024AA38 00021C03 */ sra $v1, $v0, 0x10 +/* 17931C 8024AA3C 000217C2 */ srl $v0, $v0, 0x1f +/* 179320 8024AA40 00621821 */ addu $v1, $v1, $v0 +/* 179324 8024AA44 00031843 */ sra $v1, $v1, 1 +/* 179328 8024AA48 44830000 */ mtc1 $v1, $f0 +/* 17932C 8024AA4C 00000000 */ nop +/* 179330 8024AA50 46800020 */ cvt.s.w $f0, $f0 +/* 179334 8024AA54 46001080 */ add.s $f2, $f2, $f0 +/* 179338 8024AA58 C49A0144 */ lwc1 $f26, 0x144($a0) +/* 17933C 8024AA5C E7A20010 */ swc1 $f2, 0x10($sp) +/* 179340 8024AA60 90820191 */ lbu $v0, 0x191($a0) +/* 179344 8024AA64 90830190 */ lbu $v1, 0x190($a0) +/* 179348 8024AA68 44824000 */ mtc1 $v0, $f8 +/* 17934C 8024AA6C 00000000 */ nop +/* 179350 8024AA70 46804220 */ cvt.s.w $f8, $f8 +/* 179354 8024AA74 44833000 */ mtc1 $v1, $f6 +/* 179358 8024AA78 00000000 */ nop +/* 17935C 8024AA7C 468031A0 */ cvt.s.w $f6, $f6 +/* 179360 8024AA80 08092ABB */ j func_8024AAEC +/* 179364 8024AA84 46064080 */ add.s $f2, $f8, $f6 + +.L8024AA88: +/* 179368 8024AA88 8C8400DC */ lw $a0, 0xdc($a0) +/* 17936C 8024AA8C 08092AA8 */ j func_8024AAA0 +/* 179370 8024AA90 00000000 */ nop + +.L8024AA94: +/* 179374 8024AA94 00061080 */ sll $v0, $a2, 2 +/* 179378 8024AA98 00441021 */ addu $v0, $v0, $a0 +/* 17937C 8024AA9C 8C4400E0 */ lw $a0, 0xe0($v0) +func_8024AAA0: +/* 179380 8024AAA0 1080FFDC */ beqz $a0, .L8024AA14 +/* 179384 8024AAA4 00000000 */ nop +/* 179388 8024AAA8 90830191 */ lbu $v1, 0x191($a0) +/* 17938C 8024AAAC C4820148 */ lwc1 $f2, 0x148($a0) +/* 179390 8024AAB0 00031042 */ srl $v0, $v1, 1 +/* 179394 8024AAB4 44820000 */ mtc1 $v0, $f0 +/* 179398 8024AAB8 00000000 */ nop +/* 17939C 8024AABC 46800020 */ cvt.s.w $f0, $f0 +/* 1793A0 8024AAC0 46001080 */ add.s $f2, $f2, $f0 +/* 1793A4 8024AAC4 C49A0144 */ lwc1 $f26, 0x144($a0) +/* 1793A8 8024AAC8 E7A20010 */ swc1 $f2, 0x10($sp) +/* 1793AC 8024AACC 90820190 */ lbu $v0, 0x190($a0) +/* 1793B0 8024AAD0 44834000 */ mtc1 $v1, $f8 +/* 1793B4 8024AAD4 00000000 */ nop +/* 1793B8 8024AAD8 46804220 */ cvt.s.w $f8, $f8 +/* 1793BC 8024AADC 44823000 */ mtc1 $v0, $f6 +/* 1793C0 8024AAE0 00000000 */ nop +/* 1793C4 8024AAE4 468031A0 */ cvt.s.w $f6, $f6 +/* 1793C8 8024AAE8 46064080 */ add.s $f2, $f8, $f6 +func_8024AAEC: +/* 1793CC 8024AAEC 3C013F00 */ lui $at, 0x3f00 +/* 1793D0 8024AAF0 44810000 */ mtc1 $at, $f0 +/* 1793D4 8024AAF4 C49C014C */ lwc1 $f28, 0x14c($a0) +/* 1793D8 8024AAF8 46001782 */ mul.s $f30, $f2, $f0 +/* 1793DC 8024AAFC 00000000 */ nop +/* 1793E0 8024AB00 3C02802A */ lui $v0, 0x802a +/* 1793E4 8024AB04 8042F2A6 */ lb $v0, -0xd5a($v0) +/* 1793E8 8024AB08 10400029 */ beqz $v0, .L8024ABB0 +/* 1793EC 8024AB0C 00000000 */ nop +/* 1793F0 8024AB10 3C01802A */ lui $at, 0x802a +/* 1793F4 8024AB14 C422F28C */ lwc1 $f2, -0xd74($at) +/* 1793F8 8024AB18 3C0143FA */ lui $at, 0x43fa +/* 1793FC 8024AB1C 44810000 */ mtc1 $at, $f0 +/* 179400 8024AB20 00000000 */ nop +/* 179404 8024AB24 46020001 */ sub.s $f0, $f0, $f2 +/* 179408 8024AB28 3C01802A */ lui $at, 0x802a +/* 17940C 8024AB2C D422CC18 */ ldc1 $f2, -0x33e8($at) +/* 179410 8024AB30 46000021 */ cvt.d.s $f0, $f0 +/* 179414 8024AB34 46220002 */ mul.d $f0, $f0, $f2 +/* 179418 8024AB38 00000000 */ nop +/* 17941C 8024AB3C 3C01403E */ lui $at, 0x403e +/* 179420 8024AB40 44811800 */ mtc1 $at, $f3 +/* 179424 8024AB44 44801000 */ mtc1 $zero, $f2 +/* 179428 8024AB48 00000000 */ nop +/* 17942C 8024AB4C 46220000 */ add.d $f0, $f0, $f2 +/* 179430 8024AB50 46200120 */ cvt.s.d $f4, $f0 +/* 179434 8024AB54 46002007 */ neg.s $f0, $f4 +/* 179438 8024AB58 4600D03C */ c.lt.s $f26, $f0 +/* 17943C 8024AB5C 00000000 */ nop +/* 179440 8024AB60 45000008 */ bc1f .L8024AB84 +/* 179444 8024AB64 00000000 */ nop +/* 179448 8024AB68 461A0001 */ sub.s $f0, $f0, $f26 +/* 17944C 8024AB6C 3C013F00 */ lui $at, 0x3f00 +/* 179450 8024AB70 44811000 */ mtc1 $at, $f2 +/* 179454 8024AB74 00000000 */ nop +/* 179458 8024AB78 46020002 */ mul.s $f0, $f0, $f2 +/* 17945C 8024AB7C 00000000 */ nop +/* 179460 8024AB80 4600D680 */ add.s $f26, $f26, $f0 +.L8024AB84: +/* 179464 8024AB84 461A203C */ c.lt.s $f4, $f26 +/* 179468 8024AB88 00000000 */ nop +/* 17946C 8024AB8C 45000008 */ bc1f .L8024ABB0 +/* 179470 8024AB90 00000000 */ nop +/* 179474 8024AB94 461A2001 */ sub.s $f0, $f4, $f26 +/* 179478 8024AB98 3C013F00 */ lui $at, 0x3f00 +/* 17947C 8024AB9C 44811000 */ mtc1 $at, $f2 +/* 179480 8024ABA0 00000000 */ nop +/* 179484 8024ABA4 46020002 */ mul.s $f0, $f0, $f2 +/* 179488 8024ABA8 00000000 */ nop +/* 17948C 8024ABAC 4600D680 */ add.s $f26, $f26, $f0 +.L8024ABB0: +/* 179490 8024ABB0 10A00043 */ beqz $a1, .L8024ACC0 +/* 179494 8024ABB4 00000000 */ nop +/* 179498 8024ABB8 3C0141C0 */ lui $at, 0x41c0 +/* 17949C 8024ABBC 44810000 */ mtc1 $at, $f0 +/* 1794A0 8024ABC0 00000000 */ nop +/* 1794A4 8024ABC4 46003181 */ sub.s $f6, $f6, $f0 +/* 1794A8 8024ABC8 46004201 */ sub.s $f8, $f8, $f0 +/* 1794AC 8024ABCC 44800000 */ mtc1 $zero, $f0 +/* 1794B0 8024ABD0 00000000 */ nop +/* 1794B4 8024ABD4 4600303C */ c.lt.s $f6, $f0 +/* 1794B8 8024ABD8 00000000 */ nop +/* 1794BC 8024ABDC 45030001 */ bc1tl .L8024ABE4 +/* 1794C0 8024ABE0 46000186 */ mov.s $f6, $f0 +.L8024ABE4: +/* 1794C4 8024ABE4 4600403C */ c.lt.s $f8, $f0 +/* 1794C8 8024ABE8 00000000 */ nop +/* 1794CC 8024ABEC 45030001 */ bc1tl .L8024ABF4 +/* 1794D0 8024ABF0 46000206 */ mov.s $f8, $f0 +.L8024ABF4: +/* 1794D4 8024ABF4 86040026 */ lh $a0, 0x26($s0) +/* 1794D8 8024ABF8 8602001E */ lh $v0, 0x1e($s0) +/* 1794DC 8024ABFC 86030022 */ lh $v1, 0x22($s0) +/* 1794E0 8024AC00 44820000 */ mtc1 $v0, $f0 +/* 1794E4 8024AC04 00000000 */ nop +/* 1794E8 8024AC08 46800020 */ cvt.s.w $f0, $f0 +/* 1794EC 8024AC0C 3C01802A */ lui $at, 0x802a +/* 1794F0 8024AC10 E420F28C */ swc1 $f0, -0xd74($at) +/* 1794F4 8024AC14 44830000 */ mtc1 $v1, $f0 +/* 1794F8 8024AC18 00000000 */ nop +/* 1794FC 8024AC1C 46800020 */ cvt.s.w $f0, $f0 +/* 179500 8024AC20 3C03802A */ lui $v1, 0x802a +/* 179504 8024AC24 2463F280 */ addiu $v1, $v1, -0xd80 +/* 179508 8024AC28 3C01802A */ lui $at, 0x802a +/* 17950C 8024AC2C E420F294 */ swc1 $f0, -0xd6c($at) +/* 179510 8024AC30 84620000 */ lh $v0, ($v1) +/* 179514 8024AC34 46083000 */ add.s $f0, $f6, $f8 +/* 179518 8024AC38 44821000 */ mtc1 $v0, $f2 +/* 17951C 8024AC3C 00000000 */ nop +/* 179520 8024AC40 468010A0 */ cvt.s.w $f2, $f2 +/* 179524 8024AC44 86020024 */ lh $v0, 0x24($s0) +/* 179528 8024AC48 46001080 */ add.s $f2, $f2, $f0 +/* 17952C 8024AC4C 44820000 */ mtc1 $v0, $f0 +/* 179530 8024AC50 00000000 */ nop +/* 179534 8024AC54 46800020 */ cvt.s.w $f0, $f0 +/* 179538 8024AC58 3C01802A */ lui $at, 0x802a +/* 17953C 8024AC5C E420F290 */ swc1 $f0, -0xd70($at) +/* 179540 8024AC60 4600148D */ trunc.w.s $f18, $f2 +/* 179544 8024AC64 44029000 */ mfc1 $v0, $f18 +/* 179548 8024AC68 04810002 */ bgez $a0, .L8024AC74 +/* 17954C 8024AC6C A4620000 */ sh $v0, ($v1) +/* 179550 8024AC70 248400FF */ addiu $a0, $a0, 0xff +.L8024AC74: +/* 179554 8024AC74 00041203 */ sra $v0, $a0, 8 +/* 179558 8024AC78 C6020054 */ lwc1 $f2, 0x54($s0) +/* 17955C 8024AC7C C6040058 */ lwc1 $f4, 0x58($s0) +/* 179560 8024AC80 C606005C */ lwc1 $f6, 0x5c($s0) +/* 179564 8024AC84 3C03802A */ lui $v1, 0x802a +/* 179568 8024AC88 9463F29E */ lhu $v1, -0xd62($v1) +/* 17956C 8024AC8C 44820000 */ mtc1 $v0, $f0 +/* 179570 8024AC90 00000000 */ nop +/* 179574 8024AC94 46800020 */ cvt.s.w $f0, $f0 +/* 179578 8024AC98 3C01802A */ lui $at, 0x802a +/* 17957C 8024AC9C E420F298 */ swc1 $f0, -0xd68($at) +/* 179580 8024ACA0 3C01802A */ lui $at, 0x802a +/* 179584 8024ACA4 E422F2A8 */ swc1 $f2, -0xd58($at) +/* 179588 8024ACA8 3C01802A */ lui $at, 0x802a +/* 17958C 8024ACAC E424F2AC */ swc1 $f4, -0xd54($at) +/* 179590 8024ACB0 3C01802A */ lui $at, 0x802a +/* 179594 8024ACB4 E426F2B0 */ swc1 $f6, -0xd50($at) +/* 179598 8024ACB8 3C01802A */ lui $at, 0x802a +/* 17959C 8024ACBC A423F2A0 */ sh $v1, -0xd60($at) +.L8024ACC0: +/* 1795A0 8024ACC0 3C02802A */ lui $v0, 0x802a +/* 1795A4 8024ACC4 8042F2A5 */ lb $v0, -0xd5b($v0) +/* 1795A8 8024ACC8 14400027 */ bnez $v0, .L8024AD68 +/* 1795AC 8024ACCC 00000000 */ nop +/* 1795B0 8024ACD0 3C02802A */ lui $v0, 0x802a +/* 1795B4 8024ACD4 8442F29E */ lh $v0, -0xd62($v0) +/* 1795B8 8024ACD8 3C03802A */ lui $v1, 0x802a +/* 1795BC 8024ACDC 8463F2A0 */ lh $v1, -0xd60($v1) +/* 1795C0 8024ACE0 3C013F80 */ lui $at, 0x3f80 +/* 1795C4 8024ACE4 4481C000 */ mtc1 $at, $f24 +/* 1795C8 8024ACE8 4482A000 */ mtc1 $v0, $f20 +/* 1795CC 8024ACEC 00000000 */ nop +/* 1795D0 8024ACF0 4680A520 */ cvt.s.w $f20, $f20 +/* 1795D4 8024ACF4 44830000 */ mtc1 $v1, $f0 +/* 1795D8 8024ACF8 00000000 */ nop +/* 1795DC 8024ACFC 46800020 */ cvt.s.w $f0, $f0 +/* 1795E0 8024AD00 4600A503 */ div.s $f20, $f20, $f0 +/* 1795E4 8024AD04 4614C301 */ sub.s $f12, $f24, $f20 +/* 1795E8 8024AD08 3C014049 */ lui $at, 0x4049 +/* 1795EC 8024AD0C 34210FD0 */ ori $at, $at, 0xfd0 +/* 1795F0 8024AD10 4481B000 */ mtc1 $at, $f22 +/* 1795F4 8024AD14 00000000 */ nop +/* 1795F8 8024AD18 46166302 */ mul.s $f12, $f12, $f22 +/* 1795FC 8024AD1C 00000000 */ nop +/* 179600 8024AD20 3C013F00 */ lui $at, 0x3f00 +/* 179604 8024AD24 4481A000 */ mtc1 $at, $f20 +/* 179608 8024AD28 00000000 */ nop +/* 17960C 8024AD2C 46146302 */ mul.s $f12, $f12, $f20 +/* 179610 8024AD30 0C00A85B */ jal sin_rad +/* 179614 8024AD34 00000000 */ nop +/* 179618 8024AD38 46160002 */ mul.s $f0, $f0, $f22 +/* 17961C 8024AD3C 00000000 */ nop +/* 179620 8024AD40 46140302 */ mul.s $f12, $f0, $f20 +/* 179624 8024AD44 0C00A85B */ jal sin_rad +/* 179628 8024AD48 00000000 */ nop +/* 17962C 8024AD4C 46160002 */ mul.s $f0, $f0, $f22 +/* 179630 8024AD50 00000000 */ nop +/* 179634 8024AD54 46140302 */ mul.s $f12, $f0, $f20 +/* 179638 8024AD58 0C00A85B */ jal sin_rad +/* 17963C 8024AD5C 00000000 */ nop +/* 179640 8024AD60 08092B65 */ j func_8024AD94 +/* 179644 8024AD64 4600C501 */ sub.s $f20, $f24, $f0 + +.L8024AD68: +/* 179648 8024AD68 3C02802A */ lui $v0, 0x802a +/* 17964C 8024AD6C 8442F29E */ lh $v0, -0xd62($v0) +/* 179650 8024AD70 3C03802A */ lui $v1, 0x802a +/* 179654 8024AD74 8463F2A0 */ lh $v1, -0xd60($v1) +/* 179658 8024AD78 4482A000 */ mtc1 $v0, $f20 +/* 17965C 8024AD7C 00000000 */ nop +/* 179660 8024AD80 4680A520 */ cvt.s.w $f20, $f20 +/* 179664 8024AD84 44830000 */ mtc1 $v1, $f0 +/* 179668 8024AD88 00000000 */ nop +/* 17966C 8024AD8C 46800020 */ cvt.s.w $f0, $f0 +/* 179670 8024AD90 4600A503 */ div.s $f20, $f20, $f0 +func_8024AD94: +/* 179674 8024AD94 3C02802A */ lui $v0, 0x802a +/* 179678 8024AD98 8042F2A3 */ lb $v0, -0xd5d($v0) +/* 17967C 8024AD9C 10400013 */ beqz $v0, .L8024ADEC +/* 179680 8024ADA0 00000000 */ nop +/* 179684 8024ADA4 3C01802A */ lui $at, 0x802a +/* 179688 8024ADA8 C424F2A8 */ lwc1 $f4, -0xd58($at) +/* 17968C 8024ADAC 46142102 */ mul.s $f4, $f4, $f20 +/* 179690 8024ADB0 00000000 */ nop +/* 179694 8024ADB4 3C02802A */ lui $v0, 0x802a +/* 179698 8024ADB8 8042F2A7 */ lb $v0, -0xd59($v0) +/* 17969C 8024ADBC 44821000 */ mtc1 $v0, $f2 +/* 1796A0 8024ADC0 00000000 */ nop +/* 1796A4 8024ADC4 468010A0 */ cvt.s.w $f2, $f2 +/* 1796A8 8024ADC8 4602D080 */ add.s $f2, $f26, $f2 +/* 1796AC 8024ADCC 3C013F80 */ lui $at, 0x3f80 +/* 1796B0 8024ADD0 44810000 */ mtc1 $at, $f0 +/* 1796B4 8024ADD4 00000000 */ nop +/* 1796B8 8024ADD8 46140001 */ sub.s $f0, $f0, $f20 +/* 1796BC 8024ADDC 46001082 */ mul.s $f2, $f2, $f0 +/* 1796C0 8024ADE0 00000000 */ nop +/* 1796C4 8024ADE4 46022100 */ add.s $f4, $f4, $f2 +/* 1796C8 8024ADE8 E6040054 */ swc1 $f4, 0x54($s0) +.L8024ADEC: +/* 1796CC 8024ADEC 3C02802A */ lui $v0, 0x802a +/* 1796D0 8024ADF0 8042F2A2 */ lb $v0, -0xd5e($v0) +/* 1796D4 8024ADF4 1040000E */ beqz $v0, .L8024AE30 +/* 1796D8 8024ADF8 00000000 */ nop +/* 1796DC 8024ADFC 3C01802A */ lui $at, 0x802a +/* 1796E0 8024AE00 C422F2AC */ lwc1 $f2, -0xd54($at) +/* 1796E4 8024AE04 46141082 */ mul.s $f2, $f2, $f20 +/* 1796E8 8024AE08 00000000 */ nop +/* 1796EC 8024AE0C 3C013F80 */ lui $at, 0x3f80 +/* 1796F0 8024AE10 44810000 */ mtc1 $at, $f0 +/* 1796F4 8024AE14 00000000 */ nop +/* 1796F8 8024AE18 46140001 */ sub.s $f0, $f0, $f20 +/* 1796FC 8024AE1C C7B20010 */ lwc1 $f18, 0x10($sp) +/* 179700 8024AE20 46009002 */ mul.s $f0, $f18, $f0 +/* 179704 8024AE24 00000000 */ nop +/* 179708 8024AE28 46001080 */ add.s $f2, $f2, $f0 +/* 17970C 8024AE2C E6020058 */ swc1 $f2, 0x58($s0) +.L8024AE30: +/* 179710 8024AE30 3C01802A */ lui $at, 0x802a +/* 179714 8024AE34 C430F2B0 */ lwc1 $f16, -0xd50($at) +/* 179718 8024AE38 46148402 */ mul.s $f16, $f16, $f20 +/* 17971C 8024AE3C 00000000 */ nop +/* 179720 8024AE40 3C01802A */ lui $at, 0x802a +/* 179724 8024AE44 C42CF298 */ lwc1 $f12, -0xd68($at) +/* 179728 8024AE48 46146302 */ mul.s $f12, $f12, $f20 +/* 17972C 8024AE4C 00000000 */ nop +/* 179730 8024AE50 3C01802A */ lui $at, 0x802a +/* 179734 8024AE54 C42EF28C */ lwc1 $f14, -0xd74($at) +/* 179738 8024AE58 46147382 */ mul.s $f14, $f14, $f20 +/* 17973C 8024AE5C 00000000 */ nop +/* 179740 8024AE60 3C01802A */ lui $at, 0x802a +/* 179744 8024AE64 C428F290 */ lwc1 $f8, -0xd70($at) +/* 179748 8024AE68 46144202 */ mul.s $f8, $f8, $f20 +/* 17974C 8024AE6C 00000000 */ nop +/* 179750 8024AE70 3C01802A */ lui $at, 0x802a +/* 179754 8024AE74 C426F294 */ lwc1 $f6, -0xd6c($at) +/* 179758 8024AE78 46143182 */ mul.s $f6, $f6, $f20 +/* 17975C 8024AE7C 00000000 */ nop +/* 179760 8024AE80 3C013F80 */ lui $at, 0x3f80 +/* 179764 8024AE84 44812000 */ mtc1 $at, $f4 +/* 179768 8024AE88 3C02802A */ lui $v0, 0x802a +/* 17976C 8024AE8C 8442F286 */ lh $v0, -0xd7a($v0) +/* 179770 8024AE90 46142101 */ sub.s $f4, $f4, $f20 +/* 179774 8024AE94 44820000 */ mtc1 $v0, $f0 +/* 179778 8024AE98 00000000 */ nop +/* 17977C 8024AE9C 46800020 */ cvt.s.w $f0, $f0 +/* 179780 8024AEA0 46040002 */ mul.s $f0, $f0, $f4 +/* 179784 8024AEA4 00000000 */ nop +/* 179788 8024AEA8 3C02802A */ lui $v0, 0x802a +/* 17978C 8024AEAC 8442F280 */ lh $v0, -0xd80($v0) +/* 179790 8024AEB0 4604E702 */ mul.s $f28, $f28, $f4 +/* 179794 8024AEB4 00000000 */ nop +/* 179798 8024AEB8 44825000 */ mtc1 $v0, $f10 +/* 17979C 8024AEBC 00000000 */ nop +/* 1797A0 8024AEC0 468052A0 */ cvt.s.w $f10, $f10 +/* 1797A4 8024AEC4 3C02802A */ lui $v0, 0x802a +/* 1797A8 8024AEC8 8442F282 */ lh $v0, -0xd7e($v0) +/* 1797AC 8024AECC 44821000 */ mtc1 $v0, $f2 +/* 1797B0 8024AED0 00000000 */ nop +/* 1797B4 8024AED4 468010A0 */ cvt.s.w $f2, $f2 +/* 1797B8 8024AED8 46041082 */ mul.s $f2, $f2, $f4 +/* 1797BC 8024AEDC 00000000 */ nop +/* 1797C0 8024AEE0 46006300 */ add.s $f12, $f12, $f0 +/* 1797C4 8024AEE4 3C014380 */ lui $at, 0x4380 +/* 1797C8 8024AEE8 44810000 */ mtc1 $at, $f0 +/* 1797CC 8024AEEC 00000000 */ nop +/* 1797D0 8024AEF0 46006302 */ mul.s $f12, $f12, $f0 +/* 1797D4 8024AEF4 00000000 */ nop +/* 1797D8 8024AEF8 3C014200 */ lui $at, 0x4200 +/* 1797DC 8024AEFC 44810000 */ mtc1 $at, $f0 +/* 1797E0 8024AF00 00000000 */ nop +/* 1797E4 8024AF04 4600F001 */ sub.s $f0, $f30, $f0 +/* 1797E8 8024AF08 3C02802A */ lui $v0, 0x802a +/* 1797EC 8024AF0C 8442F284 */ lh $v0, -0xd7c($v0) +/* 1797F0 8024AF10 46005280 */ add.s $f10, $f10, $f0 +/* 1797F4 8024AF14 44820000 */ mtc1 $v0, $f0 +/* 1797F8 8024AF18 00000000 */ nop +/* 1797FC 8024AF1C 46800020 */ cvt.s.w $f0, $f0 +/* 179800 8024AF20 46040002 */ mul.s $f0, $f0, $f4 +/* 179804 8024AF24 00000000 */ nop +/* 179808 8024AF28 46045282 */ mul.s $f10, $f10, $f4 +/* 17980C 8024AF2C 00000000 */ nop +/* 179810 8024AF30 E7BC0018 */ swc1 $f28, 0x18($sp) +/* 179814 8024AF34 461C8400 */ add.s $f16, $f16, $f28 +/* 179818 8024AF38 46024200 */ add.s $f8, $f8, $f2 +/* 17981C 8024AF3C 3C04802A */ lui $a0, 0x802a +/* 179820 8024AF40 2484F29E */ addiu $a0, $a0, -0xd62 +/* 179824 8024AF44 E610005C */ swc1 $f16, 0x5c($s0) +/* 179828 8024AF48 46003180 */ add.s $f6, $f6, $f0 +/* 17982C 8024AF4C 4600448D */ trunc.w.s $f18, $f8 +/* 179830 8024AF50 44029000 */ mfc1 $v0, $f18 +/* 179834 8024AF54 00000000 */ nop +/* 179838 8024AF58 A6020024 */ sh $v0, 0x24($s0) +/* 17983C 8024AF5C 460A7380 */ add.s $f14, $f14, $f10 +/* 179840 8024AF60 4600348D */ trunc.w.s $f18, $f6 +/* 179844 8024AF64 44029000 */ mfc1 $v0, $f18 +/* 179848 8024AF68 00000000 */ nop +/* 17984C 8024AF6C A6020022 */ sh $v0, 0x22($s0) +/* 179850 8024AF70 4600748D */ trunc.w.s $f18, $f14 +/* 179854 8024AF74 44029000 */ mfc1 $v0, $f18 +/* 179858 8024AF78 00000000 */ nop +/* 17985C 8024AF7C A602001E */ sh $v0, 0x1e($s0) +/* 179860 8024AF80 4600648D */ trunc.w.s $f18, $f12 +/* 179864 8024AF84 44029000 */ mfc1 $v0, $f18 +/* 179868 8024AF88 00000000 */ nop +/* 17986C 8024AF8C A6020026 */ sh $v0, 0x26($s0) +/* 179870 8024AF90 84820000 */ lh $v0, ($a0) +/* 179874 8024AF94 94830000 */ lhu $v1, ($a0) +/* 179878 8024AF98 14400006 */ bnez $v0, .L8024AFB4 +/* 17987C 8024AF9C 2462FFFF */ addiu $v0, $v1, -1 +/* 179880 8024AFA0 24020001 */ addiu $v0, $zero, 1 +/* 179884 8024AFA4 3C01802A */ lui $at, 0x802a +/* 179888 8024AFA8 A022F29C */ sb $v0, -0xd64($at) +/* 17988C 8024AFAC 08092BEF */ j func_8024AFBC +/* 179890 8024AFB0 0000102D */ daddu $v0, $zero, $zero + +.L8024AFB4: +/* 179894 8024AFB4 A4820000 */ sh $v0, ($a0) +/* 179898 8024AFB8 0000102D */ daddu $v0, $zero, $zero +func_8024AFBC: +/* 17989C 8024AFBC 8FBF0024 */ lw $ra, 0x24($sp) +/* 1798A0 8024AFC0 8FB00020 */ lw $s0, 0x20($sp) +/* 1798A4 8024AFC4 D7BE0050 */ ldc1 $f30, 0x50($sp) +/* 1798A8 8024AFC8 D7BC0048 */ ldc1 $f28, 0x48($sp) +/* 1798AC 8024AFCC D7BA0040 */ ldc1 $f26, 0x40($sp) +/* 1798B0 8024AFD0 D7B80038 */ ldc1 $f24, 0x38($sp) +/* 1798B4 8024AFD4 D7B60030 */ ldc1 $f22, 0x30($sp) +/* 1798B8 8024AFD8 D7B40028 */ ldc1 $f20, 0x28($sp) +/* 1798BC 8024AFDC 03E00008 */ jr $ra +/* 1798C0 8024AFE0 27BD0058 */ addiu $sp, $sp, 0x58 + +/* 1798C4 8024AFE4 27BDFFA8 */ addiu $sp, $sp, -0x58 +/* 1798C8 8024AFE8 AFB00020 */ sw $s0, 0x20($sp) +/* 1798CC 8024AFEC 3C10800B */ lui $s0, 0x800b +/* 1798D0 8024AFF0 261022D8 */ addiu $s0, $s0, 0x22d8 +/* 1798D4 8024AFF4 3C02802A */ lui $v0, 0x802a +/* 1798D8 8024AFF8 9442F27C */ lhu $v0, -0xd84($v0) +/* 1798DC 8024AFFC 3C04800E */ lui $a0, 0x800e +/* 1798E0 8024B000 2484C070 */ addiu $a0, $a0, -0x3f90 +/* 1798E4 8024B004 AFBF0024 */ sw $ra, 0x24($sp) +/* 1798E8 8024B008 F7BE0050 */ sdc1 $f30, 0x50($sp) +/* 1798EC 8024B00C F7BC0048 */ sdc1 $f28, 0x48($sp) +/* 1798F0 8024B010 F7BA0040 */ sdc1 $f26, 0x40($sp) +/* 1798F4 8024B014 F7B80038 */ sdc1 $f24, 0x38($sp) +/* 1798F8 8024B018 F7B60030 */ sdc1 $f22, 0x30($sp) +/* 1798FC 8024B01C F7B40028 */ sdc1 $f20, 0x28($sp) +/* 179900 8024B020 30430700 */ andi $v1, $v0, 0x700 +/* 179904 8024B024 304600FF */ andi $a2, $v0, 0xff +/* 179908 8024B028 24020100 */ addiu $v0, $zero, 0x100 +/* 17990C 8024B02C 10620026 */ beq $v1, $v0, .L8024B0C8 +/* 179910 8024B030 28620101 */ slti $v0, $v1, 0x101 +/* 179914 8024B034 10400005 */ beqz $v0, .L8024B04C +/* 179918 8024B038 24020200 */ addiu $v0, $zero, 0x200 +/* 17991C 8024B03C 10600007 */ beqz $v1, .L8024B05C +/* 179920 8024B040 24020002 */ addiu $v0, $zero, 2 +/* 179924 8024B044 08092D75 */ j func_8024B5D4 +/* 179928 8024B048 00000000 */ nop + +.L8024B04C: +/* 17992C 8024B04C 10620021 */ beq $v1, $v0, .L8024B0D4 +/* 179930 8024B050 24020002 */ addiu $v0, $zero, 2 +/* 179934 8024B054 08092D75 */ j func_8024B5D4 +/* 179938 8024B058 00000000 */ nop + +.L8024B05C: +/* 17993C 8024B05C 8C8400D8 */ lw $a0, 0xd8($a0) +/* 179940 8024B060 1080015C */ beqz $a0, .L8024B5D4 +/* 179944 8024B064 0000102D */ daddu $v0, $zero, $zero +/* 179948 8024B068 C49E001C */ lwc1 $f30, 0x1c($a0) +/* 17994C 8024B06C C4860144 */ lwc1 $f6, 0x144($a0) +/* 179950 8024B070 C49A0018 */ lwc1 $f26, 0x18($a0) +/* 179954 8024B074 E7BE0018 */ swc1 $f30, 0x18($sp) +/* 179958 8024B078 90830191 */ lbu $v1, 0x191($a0) +/* 17995C 8024B07C 90820190 */ lbu $v0, 0x190($a0) +/* 179960 8024B080 C49E0020 */ lwc1 $f30, 0x20($a0) +/* 179964 8024B084 00621821 */ addu $v1, $v1, $v0 +/* 179968 8024B088 00031843 */ sra $v1, $v1, 1 +/* 17996C 8024B08C 3C028011 */ lui $v0, 0x8011 +/* 179970 8024B090 2442EFC8 */ addiu $v0, $v0, -0x1038 +/* 179974 8024B094 E7BE0010 */ swc1 $f30, 0x10($sp) +/* 179978 8024B098 944200B0 */ lhu $v0, 0xb0($v0) +/* 17997C 8024B09C 4483F000 */ mtc1 $v1, $f30 +/* 179980 8024B0A0 00000000 */ nop +/* 179984 8024B0A4 4680F7A0 */ cvt.s.w $f30, $f30 +/* 179988 8024B0A8 E7BE0014 */ swc1 $f30, 0x14($sp) +/* 17998C 8024B0AC C4820148 */ lwc1 $f2, 0x148($a0) +/* 179990 8024B0B0 00021400 */ sll $v0, $v0, 0x10 +/* 179994 8024B0B4 00021C03 */ sra $v1, $v0, 0x10 +/* 179998 8024B0B8 000217C2 */ srl $v0, $v0, 0x1f +/* 17999C 8024B0BC 00621821 */ addu $v1, $v1, $v0 +/* 1799A0 8024B0C0 08092C4A */ j func_8024B128 +/* 1799A4 8024B0C4 00031843 */ sra $v1, $v1, 1 + +.L8024B0C8: +/* 1799A8 8024B0C8 8C8400DC */ lw $a0, 0xdc($a0) +/* 1799AC 8024B0CC 08092C38 */ j func_8024B0E0 +/* 1799B0 8024B0D0 00000000 */ nop + +.L8024B0D4: +/* 1799B4 8024B0D4 00061080 */ sll $v0, $a2, 2 +/* 1799B8 8024B0D8 00441021 */ addu $v0, $v0, $a0 +/* 1799BC 8024B0DC 8C4400E0 */ lw $a0, 0xe0($v0) +func_8024B0E0: +/* 1799C0 8024B0E0 1080013C */ beqz $a0, .L8024B5D4 +/* 1799C4 8024B0E4 0000102D */ daddu $v0, $zero, $zero +/* 1799C8 8024B0E8 C49E001C */ lwc1 $f30, 0x1c($a0) +/* 1799CC 8024B0EC C4860144 */ lwc1 $f6, 0x144($a0) +/* 1799D0 8024B0F0 C49A0018 */ lwc1 $f26, 0x18($a0) +/* 1799D4 8024B0F4 E7BE0018 */ swc1 $f30, 0x18($sp) +/* 1799D8 8024B0F8 90830191 */ lbu $v1, 0x191($a0) +/* 1799DC 8024B0FC 90820190 */ lbu $v0, 0x190($a0) +/* 1799E0 8024B100 C49E0020 */ lwc1 $f30, 0x20($a0) +/* 1799E4 8024B104 00621021 */ addu $v0, $v1, $v0 +/* 1799E8 8024B108 00021043 */ sra $v0, $v0, 1 +/* 1799EC 8024B10C E7BE0010 */ swc1 $f30, 0x10($sp) +/* 1799F0 8024B110 4482F000 */ mtc1 $v0, $f30 +/* 1799F4 8024B114 00000000 */ nop +/* 1799F8 8024B118 4680F7A0 */ cvt.s.w $f30, $f30 +/* 1799FC 8024B11C 00031842 */ srl $v1, $v1, 1 +/* 179A00 8024B120 E7BE0014 */ swc1 $f30, 0x14($sp) +/* 179A04 8024B124 C4820148 */ lwc1 $f2, 0x148($a0) +func_8024B128: +/* 179A08 8024B128 44830000 */ mtc1 $v1, $f0 +/* 179A0C 8024B12C 00000000 */ nop +/* 179A10 8024B130 46800020 */ cvt.s.w $f0, $f0 +/* 179A14 8024B134 3C02802A */ lui $v0, 0x802a +/* 179A18 8024B138 8042F2A2 */ lb $v0, -0xd5e($v0) +/* 179A1C 8024B13C 1040000F */ beqz $v0, .L8024B17C +/* 179A20 8024B140 46001000 */ add.s $f0, $f2, $f0 +/* 179A24 8024B144 C7BE0018 */ lwc1 $f30, 0x18($sp) +/* 179A28 8024B148 461E0001 */ sub.s $f0, $f0, $f30 +/* 179A2C 8024B14C 3C013F00 */ lui $at, 0x3f00 +/* 179A30 8024B150 44811000 */ mtc1 $at, $f2 +/* 179A34 8024B154 00000000 */ nop +/* 179A38 8024B158 46020082 */ mul.s $f2, $f0, $f2 +/* 179A3C 8024B15C 00000000 */ nop +/* 179A40 8024B160 3C0140C0 */ lui $at, 0x40c0 +/* 179A44 8024B164 44812000 */ mtc1 $at, $f4 +/* 179A48 8024B168 00000000 */ nop +/* 179A4C 8024B16C 46040003 */ div.s $f0, $f0, $f4 +/* 179A50 8024B170 46001080 */ add.s $f2, $f2, $f0 +/* 179A54 8024B174 4602F780 */ add.s $f30, $f30, $f2 +/* 179A58 8024B178 E7BE0018 */ swc1 $f30, 0x18($sp) +.L8024B17C: +/* 179A5C 8024B17C 3C02802A */ lui $v0, 0x802a +/* 179A60 8024B180 8042F2A3 */ lb $v0, -0xd5d($v0) +/* 179A64 8024B184 10400012 */ beqz $v0, .L8024B1D0 +/* 179A68 8024B188 00000000 */ nop +/* 179A6C 8024B18C 461A3001 */ sub.s $f0, $f6, $f26 +/* 179A70 8024B190 3C013F00 */ lui $at, 0x3f00 +/* 179A74 8024B194 44811000 */ mtc1 $at, $f2 +/* 179A78 8024B198 00000000 */ nop +/* 179A7C 8024B19C 46020002 */ mul.s $f0, $f0, $f2 +/* 179A80 8024B1A0 00000000 */ nop +/* 179A84 8024B1A4 4600D680 */ add.s $f26, $f26, $f0 +/* 179A88 8024B1A8 3C014296 */ lui $at, 0x4296 +/* 179A8C 8024B1AC 44810000 */ mtc1 $at, $f0 +/* 179A90 8024B1B0 00000000 */ nop +/* 179A94 8024B1B4 461A003C */ c.lt.s $f0, $f26 +/* 179A98 8024B1B8 00000000 */ nop +/* 179A9C 8024B1BC 45000004 */ bc1f .L8024B1D0 +/* 179AA0 8024B1C0 00000000 */ nop +/* 179AA4 8024B1C4 461A0001 */ sub.s $f0, $f0, $f26 +/* 179AA8 8024B1C8 46000005 */ abs.s $f0, $f0 +/* 179AAC 8024B1CC 4600D681 */ sub.s $f26, $f26, $f0 +.L8024B1D0: +/* 179AB0 8024B1D0 3C02802A */ lui $v0, 0x802a +/* 179AB4 8024B1D4 8042F2A6 */ lb $v0, -0xd5a($v0) +/* 179AB8 8024B1D8 10400029 */ beqz $v0, .L8024B280 +/* 179ABC 8024B1DC 00000000 */ nop +/* 179AC0 8024B1E0 3C01802A */ lui $at, 0x802a +/* 179AC4 8024B1E4 C422F28C */ lwc1 $f2, -0xd74($at) +/* 179AC8 8024B1E8 3C0143FA */ lui $at, 0x43fa +/* 179ACC 8024B1EC 44810000 */ mtc1 $at, $f0 +/* 179AD0 8024B1F0 00000000 */ nop +/* 179AD4 8024B1F4 46020001 */ sub.s $f0, $f0, $f2 +/* 179AD8 8024B1F8 3C01802A */ lui $at, 0x802a +/* 179ADC 8024B1FC D422CC20 */ ldc1 $f2, -0x33e0($at) +/* 179AE0 8024B200 46000021 */ cvt.d.s $f0, $f0 +/* 179AE4 8024B204 46220002 */ mul.d $f0, $f0, $f2 +/* 179AE8 8024B208 00000000 */ nop +/* 179AEC 8024B20C 3C01403E */ lui $at, 0x403e +/* 179AF0 8024B210 44811800 */ mtc1 $at, $f3 +/* 179AF4 8024B214 44801000 */ mtc1 $zero, $f2 +/* 179AF8 8024B218 00000000 */ nop +/* 179AFC 8024B21C 46220000 */ add.d $f0, $f0, $f2 +/* 179B00 8024B220 46200120 */ cvt.s.d $f4, $f0 +/* 179B04 8024B224 46002007 */ neg.s $f0, $f4 +/* 179B08 8024B228 4600D03C */ c.lt.s $f26, $f0 +/* 179B0C 8024B22C 00000000 */ nop +/* 179B10 8024B230 45000008 */ bc1f .L8024B254 +/* 179B14 8024B234 00000000 */ nop +/* 179B18 8024B238 461A0001 */ sub.s $f0, $f0, $f26 +/* 179B1C 8024B23C 3C013F00 */ lui $at, 0x3f00 +/* 179B20 8024B240 44811000 */ mtc1 $at, $f2 +/* 179B24 8024B244 00000000 */ nop +/* 179B28 8024B248 46020002 */ mul.s $f0, $f0, $f2 +/* 179B2C 8024B24C 00000000 */ nop +/* 179B30 8024B250 4600D680 */ add.s $f26, $f26, $f0 +.L8024B254: +/* 179B34 8024B254 461A203C */ c.lt.s $f4, $f26 +/* 179B38 8024B258 00000000 */ nop +/* 179B3C 8024B25C 45000008 */ bc1f .L8024B280 +/* 179B40 8024B260 00000000 */ nop +/* 179B44 8024B264 461A2001 */ sub.s $f0, $f4, $f26 +/* 179B48 8024B268 3C013F00 */ lui $at, 0x3f00 +/* 179B4C 8024B26C 44811000 */ mtc1 $at, $f2 +/* 179B50 8024B270 00000000 */ nop +/* 179B54 8024B274 46020002 */ mul.s $f0, $f0, $f2 +/* 179B58 8024B278 00000000 */ nop +/* 179B5C 8024B27C 4600D680 */ add.s $f26, $f26, $f0 +.L8024B280: +/* 179B60 8024B280 10A00029 */ beqz $a1, .L8024B328 +/* 179B64 8024B284 00000000 */ nop +/* 179B68 8024B288 8602001E */ lh $v0, 0x1e($s0) +/* 179B6C 8024B28C 86040026 */ lh $a0, 0x26($s0) +/* 179B70 8024B290 86030024 */ lh $v1, 0x24($s0) +/* 179B74 8024B294 44820000 */ mtc1 $v0, $f0 +/* 179B78 8024B298 00000000 */ nop +/* 179B7C 8024B29C 46800020 */ cvt.s.w $f0, $f0 +/* 179B80 8024B2A0 86020022 */ lh $v0, 0x22($s0) +/* 179B84 8024B2A4 3C01802A */ lui $at, 0x802a +/* 179B88 8024B2A8 E420F28C */ swc1 $f0, -0xd74($at) +/* 179B8C 8024B2AC 44820000 */ mtc1 $v0, $f0 +/* 179B90 8024B2B0 00000000 */ nop +/* 179B94 8024B2B4 46800020 */ cvt.s.w $f0, $f0 +/* 179B98 8024B2B8 3C01802A */ lui $at, 0x802a +/* 179B9C 8024B2BC E420F294 */ swc1 $f0, -0xd6c($at) +/* 179BA0 8024B2C0 44830000 */ mtc1 $v1, $f0 +/* 179BA4 8024B2C4 00000000 */ nop +/* 179BA8 8024B2C8 46800020 */ cvt.s.w $f0, $f0 +/* 179BAC 8024B2CC 3C01802A */ lui $at, 0x802a +/* 179BB0 8024B2D0 E420F290 */ swc1 $f0, -0xd70($at) +/* 179BB4 8024B2D4 04820001 */ bltzl $a0, .L8024B2DC +/* 179BB8 8024B2D8 248400FF */ addiu $a0, $a0, 0xff +.L8024B2DC: +/* 179BBC 8024B2DC 00041203 */ sra $v0, $a0, 8 +/* 179BC0 8024B2E0 C6020054 */ lwc1 $f2, 0x54($s0) +/* 179BC4 8024B2E4 C6040058 */ lwc1 $f4, 0x58($s0) +/* 179BC8 8024B2E8 C606005C */ lwc1 $f6, 0x5c($s0) +/* 179BCC 8024B2EC 3C03802A */ lui $v1, 0x802a +/* 179BD0 8024B2F0 9463F29E */ lhu $v1, -0xd62($v1) +/* 179BD4 8024B2F4 44820000 */ mtc1 $v0, $f0 +/* 179BD8 8024B2F8 00000000 */ nop +/* 179BDC 8024B2FC 46800020 */ cvt.s.w $f0, $f0 +/* 179BE0 8024B300 3C01802A */ lui $at, 0x802a +/* 179BE4 8024B304 E420F298 */ swc1 $f0, -0xd68($at) +/* 179BE8 8024B308 3C01802A */ lui $at, 0x802a +/* 179BEC 8024B30C E422F2A8 */ swc1 $f2, -0xd58($at) +/* 179BF0 8024B310 3C01802A */ lui $at, 0x802a +/* 179BF4 8024B314 E424F2AC */ swc1 $f4, -0xd54($at) +/* 179BF8 8024B318 3C01802A */ lui $at, 0x802a +/* 179BFC 8024B31C E426F2B0 */ swc1 $f6, -0xd50($at) +/* 179C00 8024B320 3C01802A */ lui $at, 0x802a +/* 179C04 8024B324 A423F2A0 */ sh $v1, -0xd60($at) +.L8024B328: +/* 179C08 8024B328 3C02802A */ lui $v0, 0x802a +/* 179C0C 8024B32C 8042F2A5 */ lb $v0, -0xd5b($v0) +/* 179C10 8024B330 14400027 */ bnez $v0, .L8024B3D0 +/* 179C14 8024B334 00000000 */ nop +/* 179C18 8024B338 3C02802A */ lui $v0, 0x802a +/* 179C1C 8024B33C 8442F29E */ lh $v0, -0xd62($v0) +/* 179C20 8024B340 3C03802A */ lui $v1, 0x802a +/* 179C24 8024B344 8463F2A0 */ lh $v1, -0xd60($v1) +/* 179C28 8024B348 3C013F80 */ lui $at, 0x3f80 +/* 179C2C 8024B34C 4481C000 */ mtc1 $at, $f24 +/* 179C30 8024B350 4482E000 */ mtc1 $v0, $f28 +/* 179C34 8024B354 00000000 */ nop +/* 179C38 8024B358 4680E720 */ cvt.s.w $f28, $f28 +/* 179C3C 8024B35C 44830000 */ mtc1 $v1, $f0 +/* 179C40 8024B360 00000000 */ nop +/* 179C44 8024B364 46800020 */ cvt.s.w $f0, $f0 +/* 179C48 8024B368 4600E703 */ div.s $f28, $f28, $f0 +/* 179C4C 8024B36C 461CC301 */ sub.s $f12, $f24, $f28 +/* 179C50 8024B370 3C014049 */ lui $at, 0x4049 +/* 179C54 8024B374 34210FD0 */ ori $at, $at, 0xfd0 +/* 179C58 8024B378 4481B000 */ mtc1 $at, $f22 +/* 179C5C 8024B37C 00000000 */ nop +/* 179C60 8024B380 46166302 */ mul.s $f12, $f12, $f22 +/* 179C64 8024B384 00000000 */ nop +/* 179C68 8024B388 3C013F00 */ lui $at, 0x3f00 +/* 179C6C 8024B38C 4481A000 */ mtc1 $at, $f20 +/* 179C70 8024B390 00000000 */ nop +/* 179C74 8024B394 46146302 */ mul.s $f12, $f12, $f20 +/* 179C78 8024B398 0C00A85B */ jal sin_rad +/* 179C7C 8024B39C 00000000 */ nop +/* 179C80 8024B3A0 46160002 */ mul.s $f0, $f0, $f22 +/* 179C84 8024B3A4 00000000 */ nop +/* 179C88 8024B3A8 46140302 */ mul.s $f12, $f0, $f20 +/* 179C8C 8024B3AC 0C00A85B */ jal sin_rad +/* 179C90 8024B3B0 00000000 */ nop +/* 179C94 8024B3B4 46160002 */ mul.s $f0, $f0, $f22 +/* 179C98 8024B3B8 00000000 */ nop +/* 179C9C 8024B3BC 46140302 */ mul.s $f12, $f0, $f20 +/* 179CA0 8024B3C0 0C00A85B */ jal sin_rad +/* 179CA4 8024B3C4 00000000 */ nop +/* 179CA8 8024B3C8 08092CFF */ j func_8024B3FC +/* 179CAC 8024B3CC 4600C701 */ sub.s $f28, $f24, $f0 + +.L8024B3D0: +/* 179CB0 8024B3D0 3C02802A */ lui $v0, 0x802a +/* 179CB4 8024B3D4 8442F29E */ lh $v0, -0xd62($v0) +/* 179CB8 8024B3D8 3C03802A */ lui $v1, 0x802a +/* 179CBC 8024B3DC 8463F2A0 */ lh $v1, -0xd60($v1) +/* 179CC0 8024B3E0 4482E000 */ mtc1 $v0, $f28 +/* 179CC4 8024B3E4 00000000 */ nop +/* 179CC8 8024B3E8 4680E720 */ cvt.s.w $f28, $f28 +/* 179CCC 8024B3EC 44830000 */ mtc1 $v1, $f0 +/* 179CD0 8024B3F0 00000000 */ nop +/* 179CD4 8024B3F4 46800020 */ cvt.s.w $f0, $f0 +/* 179CD8 8024B3F8 4600E703 */ div.s $f28, $f28, $f0 +func_8024B3FC: +/* 179CDC 8024B3FC 3C01802A */ lui $at, 0x802a +/* 179CE0 8024B400 C434F2A8 */ lwc1 $f20, -0xd58($at) +/* 179CE4 8024B404 461CA502 */ mul.s $f20, $f20, $f28 +/* 179CE8 8024B408 00000000 */ nop +/* 179CEC 8024B40C 3C01802A */ lui $at, 0x802a +/* 179CF0 8024B410 C432F2AC */ lwc1 $f18, -0xd54($at) +/* 179CF4 8024B414 461C9482 */ mul.s $f18, $f18, $f28 +/* 179CF8 8024B418 00000000 */ nop +/* 179CFC 8024B41C 3C01802A */ lui $at, 0x802a +/* 179D00 8024B420 C430F2B0 */ lwc1 $f16, -0xd50($at) +/* 179D04 8024B424 461C8402 */ mul.s $f16, $f16, $f28 +/* 179D08 8024B428 00000000 */ nop +/* 179D0C 8024B42C 3C01802A */ lui $at, 0x802a +/* 179D10 8024B430 C42AF298 */ lwc1 $f10, -0xd68($at) +/* 179D14 8024B434 461C5282 */ mul.s $f10, $f10, $f28 +/* 179D18 8024B438 00000000 */ nop +/* 179D1C 8024B43C 3C01802A */ lui $at, 0x802a +/* 179D20 8024B440 C42EF28C */ lwc1 $f14, -0xd74($at) +/* 179D24 8024B444 461C7382 */ mul.s $f14, $f14, $f28 +/* 179D28 8024B448 00000000 */ nop +/* 179D2C 8024B44C 3C01802A */ lui $at, 0x802a +/* 179D30 8024B450 C428F290 */ lwc1 $f8, -0xd70($at) +/* 179D34 8024B454 461C4202 */ mul.s $f8, $f8, $f28 +/* 179D38 8024B458 00000000 */ nop +/* 179D3C 8024B45C 3C01802A */ lui $at, 0x802a +/* 179D40 8024B460 C424F294 */ lwc1 $f4, -0xd6c($at) +/* 179D44 8024B464 461C2102 */ mul.s $f4, $f4, $f28 +/* 179D48 8024B468 00000000 */ nop +/* 179D4C 8024B46C 3C013F80 */ lui $at, 0x3f80 +/* 179D50 8024B470 44811000 */ mtc1 $at, $f2 +/* 179D54 8024B474 00000000 */ nop +/* 179D58 8024B478 461C1081 */ sub.s $f2, $f2, $f28 +/* 179D5C 8024B47C 4602D682 */ mul.s $f26, $f26, $f2 +/* 179D60 8024B480 00000000 */ nop +/* 179D64 8024B484 C7BE0018 */ lwc1 $f30, 0x18($sp) +/* 179D68 8024B488 4602F602 */ mul.s $f24, $f30, $f2 +/* 179D6C 8024B48C 00000000 */ nop +/* 179D70 8024B490 3C02802A */ lui $v0, 0x802a +/* 179D74 8024B494 8442F286 */ lh $v0, -0xd7a($v0) +/* 179D78 8024B498 44820000 */ mtc1 $v0, $f0 +/* 179D7C 8024B49C 00000000 */ nop +/* 179D80 8024B4A0 46800020 */ cvt.s.w $f0, $f0 +/* 179D84 8024B4A4 3C02802A */ lui $v0, 0x802a +/* 179D88 8024B4A8 8442F280 */ lh $v0, -0xd80($v0) +/* 179D8C 8024B4AC 46020002 */ mul.s $f0, $f0, $f2 +/* 179D90 8024B4B0 00000000 */ nop +/* 179D94 8024B4B4 44826000 */ mtc1 $v0, $f12 +/* 179D98 8024B4B8 00000000 */ nop +/* 179D9C 8024B4BC 46806320 */ cvt.s.w $f12, $f12 +/* 179DA0 8024B4C0 3C02802A */ lui $v0, 0x802a +/* 179DA4 8024B4C4 8442F282 */ lh $v0, -0xd7e($v0) +/* 179DA8 8024B4C8 44823000 */ mtc1 $v0, $f6 +/* 179DAC 8024B4CC 00000000 */ nop +/* 179DB0 8024B4D0 468031A0 */ cvt.s.w $f6, $f6 +/* 179DB4 8024B4D4 46023182 */ mul.s $f6, $f6, $f2 +/* 179DB8 8024B4D8 00000000 */ nop +/* 179DBC 8024B4DC C7BE0010 */ lwc1 $f30, 0x10($sp) +/* 179DC0 8024B4E0 4602F582 */ mul.s $f22, $f30, $f2 +/* 179DC4 8024B4E4 00000000 */ nop +/* 179DC8 8024B4E8 46005280 */ add.s $f10, $f10, $f0 +/* 179DCC 8024B4EC 3C014380 */ lui $at, 0x4380 +/* 179DD0 8024B4F0 44810000 */ mtc1 $at, $f0 +/* 179DD4 8024B4F4 00000000 */ nop +/* 179DD8 8024B4F8 46005282 */ mul.s $f10, $f10, $f0 +/* 179DDC 8024B4FC 00000000 */ nop +/* 179DE0 8024B500 C7BE0014 */ lwc1 $f30, 0x14($sp) +/* 179DE4 8024B504 3C014200 */ lui $at, 0x4200 +/* 179DE8 8024B508 44810000 */ mtc1 $at, $f0 +/* 179DEC 8024B50C 00000000 */ nop +/* 179DF0 8024B510 4600F001 */ sub.s $f0, $f30, $f0 +/* 179DF4 8024B514 3C02802A */ lui $v0, 0x802a +/* 179DF8 8024B518 8442F284 */ lh $v0, -0xd7c($v0) +/* 179DFC 8024B51C 46006300 */ add.s $f12, $f12, $f0 +/* 179E00 8024B520 44820000 */ mtc1 $v0, $f0 +/* 179E04 8024B524 00000000 */ nop +/* 179E08 8024B528 46800020 */ cvt.s.w $f0, $f0 +/* 179E0C 8024B52C 46020002 */ mul.s $f0, $f0, $f2 +/* 179E10 8024B530 00000000 */ nop +/* 179E14 8024B534 46026302 */ mul.s $f12, $f12, $f2 +/* 179E18 8024B538 00000000 */ nop +/* 179E1C 8024B53C 461AA500 */ add.s $f20, $f20, $f26 +/* 179E20 8024B540 46189480 */ add.s $f18, $f18, $f24 +/* 179E24 8024B544 46064200 */ add.s $f8, $f8, $f6 +/* 179E28 8024B548 3C04802A */ lui $a0, 0x802a +/* 179E2C 8024B54C 2484F29E */ addiu $a0, $a0, -0xd62 +/* 179E30 8024B550 46168400 */ add.s $f16, $f16, $f22 +/* 179E34 8024B554 E6140054 */ swc1 $f20, 0x54($s0) +/* 179E38 8024B558 E6120058 */ swc1 $f18, 0x58($s0) +/* 179E3C 8024B55C E610005C */ swc1 $f16, 0x5c($s0) +/* 179E40 8024B560 46002100 */ add.s $f4, $f4, $f0 +/* 179E44 8024B564 4600478D */ trunc.w.s $f30, $f8 +/* 179E48 8024B568 4402F000 */ mfc1 $v0, $f30 +/* 179E4C 8024B56C 00000000 */ nop +/* 179E50 8024B570 A6020024 */ sh $v0, 0x24($s0) +/* 179E54 8024B574 460C7380 */ add.s $f14, $f14, $f12 +/* 179E58 8024B578 4600278D */ trunc.w.s $f30, $f4 +/* 179E5C 8024B57C 4402F000 */ mfc1 $v0, $f30 +/* 179E60 8024B580 00000000 */ nop +/* 179E64 8024B584 A6020022 */ sh $v0, 0x22($s0) +/* 179E68 8024B588 4600778D */ trunc.w.s $f30, $f14 +/* 179E6C 8024B58C 4402F000 */ mfc1 $v0, $f30 +/* 179E70 8024B590 00000000 */ nop +/* 179E74 8024B594 A602001E */ sh $v0, 0x1e($s0) +/* 179E78 8024B598 4600578D */ trunc.w.s $f30, $f10 +/* 179E7C 8024B59C 4402F000 */ mfc1 $v0, $f30 +/* 179E80 8024B5A0 00000000 */ nop +/* 179E84 8024B5A4 A6020026 */ sh $v0, 0x26($s0) +/* 179E88 8024B5A8 84820000 */ lh $v0, ($a0) +/* 179E8C 8024B5AC 94830000 */ lhu $v1, ($a0) +/* 179E90 8024B5B0 14400006 */ bnez $v0, .L8024B5CC +/* 179E94 8024B5B4 2462FFFF */ addiu $v0, $v1, -1 +/* 179E98 8024B5B8 24020001 */ addiu $v0, $zero, 1 +/* 179E9C 8024B5BC 3C01802A */ lui $at, 0x802a +/* 179EA0 8024B5C0 A022F29C */ sb $v0, -0xd64($at) +/* 179EA4 8024B5C4 08092D75 */ j func_8024B5D4 +/* 179EA8 8024B5C8 0000102D */ daddu $v0, $zero, $zero + +.L8024B5CC: +/* 179EAC 8024B5CC A4820000 */ sh $v0, ($a0) +/* 179EB0 8024B5D0 0000102D */ daddu $v0, $zero, $zero +func_8024B5D4: +.L8024B5D4: +/* 179EB4 8024B5D4 8FBF0024 */ lw $ra, 0x24($sp) +/* 179EB8 8024B5D8 8FB00020 */ lw $s0, 0x20($sp) +/* 179EBC 8024B5DC D7BE0050 */ ldc1 $f30, 0x50($sp) +/* 179EC0 8024B5E0 D7BC0048 */ ldc1 $f28, 0x48($sp) +/* 179EC4 8024B5E4 D7BA0040 */ ldc1 $f26, 0x40($sp) +/* 179EC8 8024B5E8 D7B80038 */ ldc1 $f24, 0x38($sp) +/* 179ECC 8024B5EC D7B60030 */ ldc1 $f22, 0x30($sp) +/* 179ED0 8024B5F0 D7B40028 */ ldc1 $f20, 0x28($sp) +/* 179ED4 8024B5F4 03E00008 */ jr $ra +/* 179ED8 8024B5F8 27BD0058 */ addiu $sp, $sp, 0x58 + +/* 179EDC 8024B5FC 27BDFFB0 */ addiu $sp, $sp, -0x50 +/* 179EE0 8024B600 F7BA0038 */ sdc1 $f26, 0x38($sp) +/* 179EE4 8024B604 3C01802A */ lui $at, 0x802a +/* 179EE8 8024B608 C43AF270 */ lwc1 $f26, -0xd90($at) +/* 179EEC 8024B60C F7BC0040 */ sdc1 $f28, 0x40($sp) +/* 179EF0 8024B610 3C01802A */ lui $at, 0x802a +/* 179EF4 8024B614 C43CF274 */ lwc1 $f28, -0xd8c($at) +/* 179EF8 8024B618 F7BE0048 */ sdc1 $f30, 0x48($sp) +/* 179EFC 8024B61C 3C01802A */ lui $at, 0x802a +/* 179F00 8024B620 C43EF278 */ lwc1 $f30, -0xd88($at) +/* 179F04 8024B624 AFB00018 */ sw $s0, 0x18($sp) +/* 179F08 8024B628 3C10800B */ lui $s0, 0x800b +/* 179F0C 8024B62C 261022D8 */ addiu $s0, $s0, 0x22d8 +/* 179F10 8024B630 AFBF001C */ sw $ra, 0x1c($sp) +/* 179F14 8024B634 F7B80030 */ sdc1 $f24, 0x30($sp) +/* 179F18 8024B638 F7B60028 */ sdc1 $f22, 0x28($sp) +/* 179F1C 8024B63C F7B40020 */ sdc1 $f20, 0x20($sp) +/* 179F20 8024B640 10A00029 */ beqz $a1, .L8024B6E8 +/* 179F24 8024B644 E7BC0010 */ swc1 $f28, 0x10($sp) +/* 179F28 8024B648 8602001E */ lh $v0, 0x1e($s0) +/* 179F2C 8024B64C 86040026 */ lh $a0, 0x26($s0) +/* 179F30 8024B650 86030024 */ lh $v1, 0x24($s0) +/* 179F34 8024B654 44820000 */ mtc1 $v0, $f0 +/* 179F38 8024B658 00000000 */ nop +/* 179F3C 8024B65C 46800020 */ cvt.s.w $f0, $f0 +/* 179F40 8024B660 86020022 */ lh $v0, 0x22($s0) +/* 179F44 8024B664 3C01802A */ lui $at, 0x802a +/* 179F48 8024B668 E420F28C */ swc1 $f0, -0xd74($at) +/* 179F4C 8024B66C 44820000 */ mtc1 $v0, $f0 +/* 179F50 8024B670 00000000 */ nop +/* 179F54 8024B674 46800020 */ cvt.s.w $f0, $f0 +/* 179F58 8024B678 3C01802A */ lui $at, 0x802a +/* 179F5C 8024B67C E420F294 */ swc1 $f0, -0xd6c($at) +/* 179F60 8024B680 44830000 */ mtc1 $v1, $f0 +/* 179F64 8024B684 00000000 */ nop +/* 179F68 8024B688 46800020 */ cvt.s.w $f0, $f0 +/* 179F6C 8024B68C 3C01802A */ lui $at, 0x802a +/* 179F70 8024B690 E420F290 */ swc1 $f0, -0xd70($at) +/* 179F74 8024B694 04820001 */ bltzl $a0, .L8024B69C +/* 179F78 8024B698 248400FF */ addiu $a0, $a0, 0xff +.L8024B69C: +/* 179F7C 8024B69C 00041203 */ sra $v0, $a0, 8 +/* 179F80 8024B6A0 C6020054 */ lwc1 $f2, 0x54($s0) +/* 179F84 8024B6A4 C6040058 */ lwc1 $f4, 0x58($s0) +/* 179F88 8024B6A8 C606005C */ lwc1 $f6, 0x5c($s0) +/* 179F8C 8024B6AC 3C03802A */ lui $v1, 0x802a +/* 179F90 8024B6B0 9463F29E */ lhu $v1, -0xd62($v1) +/* 179F94 8024B6B4 44820000 */ mtc1 $v0, $f0 +/* 179F98 8024B6B8 00000000 */ nop +/* 179F9C 8024B6BC 46800020 */ cvt.s.w $f0, $f0 +/* 179FA0 8024B6C0 3C01802A */ lui $at, 0x802a +/* 179FA4 8024B6C4 E420F298 */ swc1 $f0, -0xd68($at) +/* 179FA8 8024B6C8 3C01802A */ lui $at, 0x802a +/* 179FAC 8024B6CC E422F2A8 */ swc1 $f2, -0xd58($at) +/* 179FB0 8024B6D0 3C01802A */ lui $at, 0x802a +/* 179FB4 8024B6D4 E424F2AC */ swc1 $f4, -0xd54($at) +/* 179FB8 8024B6D8 3C01802A */ lui $at, 0x802a +/* 179FBC 8024B6DC E426F2B0 */ swc1 $f6, -0xd50($at) +/* 179FC0 8024B6E0 3C01802A */ lui $at, 0x802a +/* 179FC4 8024B6E4 A423F2A0 */ sh $v1, -0xd60($at) +.L8024B6E8: +/* 179FC8 8024B6E8 3C02802A */ lui $v0, 0x802a +/* 179FCC 8024B6EC 8042F2A5 */ lb $v0, -0xd5b($v0) +/* 179FD0 8024B6F0 14400027 */ bnez $v0, .L8024B790 +/* 179FD4 8024B6F4 00000000 */ nop +/* 179FD8 8024B6F8 3C02802A */ lui $v0, 0x802a +/* 179FDC 8024B6FC 8442F29E */ lh $v0, -0xd62($v0) +/* 179FE0 8024B700 3C03802A */ lui $v1, 0x802a +/* 179FE4 8024B704 8463F2A0 */ lh $v1, -0xd60($v1) +/* 179FE8 8024B708 3C013F80 */ lui $at, 0x3f80 +/* 179FEC 8024B70C 4481C000 */ mtc1 $at, $f24 +/* 179FF0 8024B710 44822000 */ mtc1 $v0, $f4 +/* 179FF4 8024B714 00000000 */ nop +/* 179FF8 8024B718 46802120 */ cvt.s.w $f4, $f4 +/* 179FFC 8024B71C 44830000 */ mtc1 $v1, $f0 +/* 17A000 8024B720 00000000 */ nop +/* 17A004 8024B724 46800020 */ cvt.s.w $f0, $f0 +/* 17A008 8024B728 46002103 */ div.s $f4, $f4, $f0 +/* 17A00C 8024B72C 4604C301 */ sub.s $f12, $f24, $f4 +/* 17A010 8024B730 3C014049 */ lui $at, 0x4049 +/* 17A014 8024B734 34210FD0 */ ori $at, $at, 0xfd0 +/* 17A018 8024B738 4481B000 */ mtc1 $at, $f22 +/* 17A01C 8024B73C 00000000 */ nop +/* 17A020 8024B740 46166302 */ mul.s $f12, $f12, $f22 +/* 17A024 8024B744 00000000 */ nop +/* 17A028 8024B748 3C013F00 */ lui $at, 0x3f00 +/* 17A02C 8024B74C 4481A000 */ mtc1 $at, $f20 +/* 17A030 8024B750 00000000 */ nop +/* 17A034 8024B754 46146302 */ mul.s $f12, $f12, $f20 +/* 17A038 8024B758 0C00A85B */ jal sin_rad +/* 17A03C 8024B75C 00000000 */ nop +/* 17A040 8024B760 46160002 */ mul.s $f0, $f0, $f22 +/* 17A044 8024B764 00000000 */ nop +/* 17A048 8024B768 46140302 */ mul.s $f12, $f0, $f20 +/* 17A04C 8024B76C 0C00A85B */ jal sin_rad +/* 17A050 8024B770 00000000 */ nop +/* 17A054 8024B774 46160002 */ mul.s $f0, $f0, $f22 +/* 17A058 8024B778 00000000 */ nop +/* 17A05C 8024B77C 46140302 */ mul.s $f12, $f0, $f20 +/* 17A060 8024B780 0C00A85B */ jal sin_rad +/* 17A064 8024B784 00000000 */ nop +/* 17A068 8024B788 08092DEF */ j func_8024B7BC +/* 17A06C 8024B78C 4600C101 */ sub.s $f4, $f24, $f0 + +.L8024B790: +/* 17A070 8024B790 3C02802A */ lui $v0, 0x802a +/* 17A074 8024B794 8442F29E */ lh $v0, -0xd62($v0) +/* 17A078 8024B798 3C03802A */ lui $v1, 0x802a +/* 17A07C 8024B79C 8463F2A0 */ lh $v1, -0xd60($v1) +/* 17A080 8024B7A0 44822000 */ mtc1 $v0, $f4 +/* 17A084 8024B7A4 00000000 */ nop +/* 17A088 8024B7A8 46802120 */ cvt.s.w $f4, $f4 +/* 17A08C 8024B7AC 44830000 */ mtc1 $v1, $f0 +/* 17A090 8024B7B0 00000000 */ nop +/* 17A094 8024B7B4 46800020 */ cvt.s.w $f0, $f0 +/* 17A098 8024B7B8 46002103 */ div.s $f4, $f4, $f0 +func_8024B7BC: +/* 17A09C 8024B7BC 3C01802A */ lui $at, 0x802a +/* 17A0A0 8024B7C0 C434F2A8 */ lwc1 $f20, -0xd58($at) +/* 17A0A4 8024B7C4 4604A502 */ mul.s $f20, $f20, $f4 +/* 17A0A8 8024B7C8 00000000 */ nop +/* 17A0AC 8024B7CC 3C01802A */ lui $at, 0x802a +/* 17A0B0 8024B7D0 C432F2AC */ lwc1 $f18, -0xd54($at) +/* 17A0B4 8024B7D4 46049482 */ mul.s $f18, $f18, $f4 +/* 17A0B8 8024B7D8 00000000 */ nop +/* 17A0BC 8024B7DC 3C01802A */ lui $at, 0x802a +/* 17A0C0 8024B7E0 C430F2B0 */ lwc1 $f16, -0xd50($at) +/* 17A0C4 8024B7E4 46048402 */ mul.s $f16, $f16, $f4 +/* 17A0C8 8024B7E8 00000000 */ nop +/* 17A0CC 8024B7EC 3C01802A */ lui $at, 0x802a +/* 17A0D0 8024B7F0 C426F298 */ lwc1 $f6, -0xd68($at) +/* 17A0D4 8024B7F4 46043182 */ mul.s $f6, $f6, $f4 +/* 17A0D8 8024B7F8 00000000 */ nop +/* 17A0DC 8024B7FC 3C01802A */ lui $at, 0x802a +/* 17A0E0 8024B800 C42CF28C */ lwc1 $f12, -0xd74($at) +/* 17A0E4 8024B804 46046302 */ mul.s $f12, $f12, $f4 +/* 17A0E8 8024B808 00000000 */ nop +/* 17A0EC 8024B80C 3C01802A */ lui $at, 0x802a +/* 17A0F0 8024B810 C428F290 */ lwc1 $f8, -0xd70($at) +/* 17A0F4 8024B814 46044202 */ mul.s $f8, $f8, $f4 +/* 17A0F8 8024B818 00000000 */ nop +/* 17A0FC 8024B81C 3C013F80 */ lui $at, 0x3f80 +/* 17A100 8024B820 44811000 */ mtc1 $at, $f2 +/* 17A104 8024B824 00000000 */ nop +/* 17A108 8024B828 46041081 */ sub.s $f2, $f2, $f4 +/* 17A10C 8024B82C 4602D682 */ mul.s $f26, $f26, $f2 +/* 17A110 8024B830 00000000 */ nop +/* 17A114 8024B834 C7BC0010 */ lwc1 $f28, 0x10($sp) +/* 17A118 8024B838 4602E602 */ mul.s $f24, $f28, $f2 +/* 17A11C 8024B83C 00000000 */ nop +/* 17A120 8024B840 3C02802A */ lui $v0, 0x802a +/* 17A124 8024B844 8442F286 */ lh $v0, -0xd7a($v0) +/* 17A128 8024B848 44820000 */ mtc1 $v0, $f0 +/* 17A12C 8024B84C 00000000 */ nop +/* 17A130 8024B850 46800020 */ cvt.s.w $f0, $f0 +/* 17A134 8024B854 46020002 */ mul.s $f0, $f0, $f2 +/* 17A138 8024B858 00000000 */ nop +/* 17A13C 8024B85C 4602F582 */ mul.s $f22, $f30, $f2 +/* 17A140 8024B860 00000000 */ nop +/* 17A144 8024B864 3C02802A */ lui $v0, 0x802a +/* 17A148 8024B868 8442F280 */ lh $v0, -0xd80($v0) +/* 17A14C 8024B86C 44827000 */ mtc1 $v0, $f14 +/* 17A150 8024B870 00000000 */ nop +/* 17A154 8024B874 468073A0 */ cvt.s.w $f14, $f14 +/* 17A158 8024B878 46027382 */ mul.s $f14, $f14, $f2 +/* 17A15C 8024B87C 00000000 */ nop +/* 17A160 8024B880 3C02802A */ lui $v0, 0x802a +/* 17A164 8024B884 8442F282 */ lh $v0, -0xd7e($v0) +/* 17A168 8024B888 44825000 */ mtc1 $v0, $f10 +/* 17A16C 8024B88C 00000000 */ nop +/* 17A170 8024B890 468052A0 */ cvt.s.w $f10, $f10 +/* 17A174 8024B894 46025282 */ mul.s $f10, $f10, $f2 +/* 17A178 8024B898 00000000 */ nop +/* 17A17C 8024B89C 46003180 */ add.s $f6, $f6, $f0 +/* 17A180 8024B8A0 3C014380 */ lui $at, 0x4380 +/* 17A184 8024B8A4 44810000 */ mtc1 $at, $f0 +/* 17A188 8024B8A8 00000000 */ nop +/* 17A18C 8024B8AC 46003182 */ mul.s $f6, $f6, $f0 +/* 17A190 8024B8B0 00000000 */ nop +/* 17A194 8024B8B4 3C01802A */ lui $at, 0x802a +/* 17A198 8024B8B8 C420F294 */ lwc1 $f0, -0xd6c($at) +/* 17A19C 8024B8BC 46040002 */ mul.s $f0, $f0, $f4 +/* 17A1A0 8024B8C0 00000000 */ nop +/* 17A1A4 8024B8C4 461AA500 */ add.s $f20, $f20, $f26 +/* 17A1A8 8024B8C8 46189480 */ add.s $f18, $f18, $f24 +/* 17A1AC 8024B8CC 46168400 */ add.s $f16, $f16, $f22 +/* 17A1B0 8024B8D0 460E6300 */ add.s $f12, $f12, $f14 +/* 17A1B4 8024B8D4 3C04802A */ lui $a0, 0x802a +/* 17A1B8 8024B8D8 2484F29E */ addiu $a0, $a0, -0xd62 +/* 17A1BC 8024B8DC 3C02802A */ lui $v0, 0x802a +/* 17A1C0 8024B8E0 8442F284 */ lh $v0, -0xd7c($v0) +/* 17A1C4 8024B8E4 460A4200 */ add.s $f8, $f8, $f10 +/* 17A1C8 8024B8E8 E6140054 */ swc1 $f20, 0x54($s0) +/* 17A1CC 8024B8EC 44822000 */ mtc1 $v0, $f4 +/* 17A1D0 8024B8F0 00000000 */ nop +/* 17A1D4 8024B8F4 46802120 */ cvt.s.w $f4, $f4 +/* 17A1D8 8024B8F8 46022102 */ mul.s $f4, $f4, $f2 +/* 17A1DC 8024B8FC 00000000 */ nop +/* 17A1E0 8024B900 E6120058 */ swc1 $f18, 0x58($s0) +/* 17A1E4 8024B904 E610005C */ swc1 $f16, 0x5c($s0) +/* 17A1E8 8024B908 4600670D */ trunc.w.s $f28, $f12 +/* 17A1EC 8024B90C 4402E000 */ mfc1 $v0, $f28 +/* 17A1F0 8024B910 00000000 */ nop +/* 17A1F4 8024B914 A602001E */ sh $v0, 0x1e($s0) +/* 17A1F8 8024B918 46040000 */ add.s $f0, $f0, $f4 +/* 17A1FC 8024B91C 4600470D */ trunc.w.s $f28, $f8 +/* 17A200 8024B920 4402E000 */ mfc1 $v0, $f28 +/* 17A204 8024B924 00000000 */ nop +/* 17A208 8024B928 A6020024 */ sh $v0, 0x24($s0) +/* 17A20C 8024B92C 4600070D */ trunc.w.s $f28, $f0 +/* 17A210 8024B930 4402E000 */ mfc1 $v0, $f28 +/* 17A214 8024B934 00000000 */ nop +/* 17A218 8024B938 A6020022 */ sh $v0, 0x22($s0) +/* 17A21C 8024B93C 4600370D */ trunc.w.s $f28, $f6 +/* 17A220 8024B940 4402E000 */ mfc1 $v0, $f28 +/* 17A224 8024B944 00000000 */ nop +/* 17A228 8024B948 A6020026 */ sh $v0, 0x26($s0) +/* 17A22C 8024B94C 84820000 */ lh $v0, ($a0) +/* 17A230 8024B950 94830000 */ lhu $v1, ($a0) +/* 17A234 8024B954 14400006 */ bnez $v0, .L8024B970 +/* 17A238 8024B958 2462FFFF */ addiu $v0, $v1, -1 +/* 17A23C 8024B95C 24020001 */ addiu $v0, $zero, 1 +/* 17A240 8024B960 3C01802A */ lui $at, 0x802a +/* 17A244 8024B964 A022F29C */ sb $v0, -0xd64($at) +/* 17A248 8024B968 08092E5D */ j func_8024B974 +/* 17A24C 8024B96C 00000000 */ nop + +.L8024B970: +/* 17A250 8024B970 A4820000 */ sh $v0, ($a0) +func_8024B974: +/* 17A254 8024B974 8FBF001C */ lw $ra, 0x1c($sp) +/* 17A258 8024B978 8FB00018 */ lw $s0, 0x18($sp) +/* 17A25C 8024B97C D7BE0048 */ ldc1 $f30, 0x48($sp) +/* 17A260 8024B980 D7BC0040 */ ldc1 $f28, 0x40($sp) +/* 17A264 8024B984 D7BA0038 */ ldc1 $f26, 0x38($sp) +/* 17A268 8024B988 D7B80030 */ ldc1 $f24, 0x30($sp) +/* 17A26C 8024B98C D7B60028 */ ldc1 $f22, 0x28($sp) +/* 17A270 8024B990 D7B40020 */ ldc1 $f20, 0x20($sp) +/* 17A274 8024B994 0000102D */ daddu $v0, $zero, $zero +/* 17A278 8024B998 03E00008 */ jr $ra +/* 17A27C 8024B99C 27BD0050 */ addiu $sp, $sp, 0x50 + +/* 17A280 8024B9A0 27BDFFB0 */ addiu $sp, $sp, -0x50 +/* 17A284 8024B9A4 AFB00018 */ sw $s0, 0x18($sp) +/* 17A288 8024B9A8 3C10800B */ lui $s0, 0x800b +/* 17A28C 8024B9AC 261022D8 */ addiu $s0, $s0, 0x22d8 +/* 17A290 8024B9B0 AFBF001C */ sw $ra, 0x1c($sp) +/* 17A294 8024B9B4 F7BE0048 */ sdc1 $f30, 0x48($sp) +/* 17A298 8024B9B8 F7BC0040 */ sdc1 $f28, 0x40($sp) +/* 17A29C 8024B9BC F7BA0038 */ sdc1 $f26, 0x38($sp) +/* 17A2A0 8024B9C0 F7B80030 */ sdc1 $f24, 0x30($sp) +/* 17A2A4 8024B9C4 F7B60028 */ sdc1 $f22, 0x28($sp) +/* 17A2A8 8024B9C8 F7B40020 */ sdc1 $f20, 0x20($sp) +/* 17A2AC 8024B9CC 10A00046 */ beqz $a1, .L8024BAE8 +/* 17A2B0 8024B9D0 24030008 */ addiu $v1, $zero, 8 +/* 17A2B4 8024B9D4 3C014270 */ lui $at, 0x4270 +/* 17A2B8 8024B9D8 44811000 */ mtc1 $at, $f2 +/* 17A2BC 8024B9DC 3C04802A */ lui $a0, 0x802a +/* 17A2C0 8024B9E0 2484F270 */ addiu $a0, $a0, -0xd90 +/* 17A2C4 8024B9E4 AC800000 */ sw $zero, ($a0) +/* 17A2C8 8024B9E8 3C02802A */ lui $v0, 0x802a +/* 17A2CC 8024B9EC 8042F2A4 */ lb $v0, -0xd5c($v0) +/* 17A2D0 8024B9F0 3C01802A */ lui $at, 0x802a +/* 17A2D4 8024B9F4 AC20F278 */ sw $zero, -0xd88($at) +/* 17A2D8 8024B9F8 3C01802A */ lui $at, 0x802a +/* 17A2DC 8024B9FC A420F282 */ sh $zero, -0xd7e($at) +/* 17A2E0 8024BA00 3C01802A */ lui $at, 0x802a +/* 17A2E4 8024BA04 A423F284 */ sh $v1, -0xd7c($at) +/* 17A2E8 8024BA08 3C01802A */ lui $at, 0x802a +/* 17A2EC 8024BA0C A420F286 */ sh $zero, -0xd7a($at) +/* 17A2F0 8024BA10 3C01802A */ lui $at, 0x802a +/* 17A2F4 8024BA14 E422F274 */ swc1 $f2, -0xd8c($at) +/* 17A2F8 8024BA18 1040000B */ beqz $v0, .L8024BA48 +/* 17A2FC 8024BA1C 00000000 */ nop +/* 17A300 8024BA20 C4800000 */ lwc1 $f0, ($a0) +/* 17A304 8024BA24 3C02802A */ lui $v0, 0x802a +/* 17A308 8024BA28 9442F280 */ lhu $v0, -0xd80($v0) +/* 17A30C 8024BA2C E6020058 */ swc1 $f2, 0x58($s0) +/* 17A310 8024BA30 A6000026 */ sh $zero, 0x26($s0) +/* 17A314 8024BA34 A6000024 */ sh $zero, 0x24($s0) +/* 17A318 8024BA38 A6030022 */ sh $v1, 0x22($s0) +/* 17A31C 8024BA3C E6000054 */ swc1 $f0, 0x54($s0) +/* 17A320 8024BA40 E600005C */ swc1 $f0, 0x5c($s0) +/* 17A324 8024BA44 A602001E */ sh $v0, 0x1e($s0) +.L8024BA48: +/* 17A328 8024BA48 8602001E */ lh $v0, 0x1e($s0) +/* 17A32C 8024BA4C 86040026 */ lh $a0, 0x26($s0) +/* 17A330 8024BA50 86030024 */ lh $v1, 0x24($s0) +/* 17A334 8024BA54 44820000 */ mtc1 $v0, $f0 +/* 17A338 8024BA58 00000000 */ nop +/* 17A33C 8024BA5C 46800020 */ cvt.s.w $f0, $f0 +/* 17A340 8024BA60 86020022 */ lh $v0, 0x22($s0) +/* 17A344 8024BA64 3C01802A */ lui $at, 0x802a +/* 17A348 8024BA68 E420F28C */ swc1 $f0, -0xd74($at) +/* 17A34C 8024BA6C 44820000 */ mtc1 $v0, $f0 +/* 17A350 8024BA70 00000000 */ nop +/* 17A354 8024BA74 46800020 */ cvt.s.w $f0, $f0 +/* 17A358 8024BA78 3C01802A */ lui $at, 0x802a +/* 17A35C 8024BA7C E420F294 */ swc1 $f0, -0xd6c($at) +/* 17A360 8024BA80 44830000 */ mtc1 $v1, $f0 +/* 17A364 8024BA84 00000000 */ nop +/* 17A368 8024BA88 46800020 */ cvt.s.w $f0, $f0 +/* 17A36C 8024BA8C 3C01802A */ lui $at, 0x802a +/* 17A370 8024BA90 E420F290 */ swc1 $f0, -0xd70($at) +/* 17A374 8024BA94 04820001 */ bltzl $a0, .L8024BA9C +/* 17A378 8024BA98 248400FF */ addiu $a0, $a0, 0xff +.L8024BA9C: +/* 17A37C 8024BA9C 00041203 */ sra $v0, $a0, 8 +/* 17A380 8024BAA0 C6020054 */ lwc1 $f2, 0x54($s0) +/* 17A384 8024BAA4 C6040058 */ lwc1 $f4, 0x58($s0) +/* 17A388 8024BAA8 C606005C */ lwc1 $f6, 0x5c($s0) +/* 17A38C 8024BAAC 3C03802A */ lui $v1, 0x802a +/* 17A390 8024BAB0 9463F29E */ lhu $v1, -0xd62($v1) +/* 17A394 8024BAB4 44820000 */ mtc1 $v0, $f0 +/* 17A398 8024BAB8 00000000 */ nop +/* 17A39C 8024BABC 46800020 */ cvt.s.w $f0, $f0 +/* 17A3A0 8024BAC0 3C01802A */ lui $at, 0x802a +/* 17A3A4 8024BAC4 E420F298 */ swc1 $f0, -0xd68($at) +/* 17A3A8 8024BAC8 3C01802A */ lui $at, 0x802a +/* 17A3AC 8024BACC E422F2A8 */ swc1 $f2, -0xd58($at) +/* 17A3B0 8024BAD0 3C01802A */ lui $at, 0x802a +/* 17A3B4 8024BAD4 E424F2AC */ swc1 $f4, -0xd54($at) +/* 17A3B8 8024BAD8 3C01802A */ lui $at, 0x802a +/* 17A3BC 8024BADC E426F2B0 */ swc1 $f6, -0xd50($at) +/* 17A3C0 8024BAE0 3C01802A */ lui $at, 0x802a +/* 17A3C4 8024BAE4 A423F2A0 */ sh $v1, -0xd60($at) +.L8024BAE8: +/* 17A3C8 8024BAE8 3C01802A */ lui $at, 0x802a +/* 17A3CC 8024BAEC C43CF274 */ lwc1 $f28, -0xd8c($at) +/* 17A3D0 8024BAF0 3C01802A */ lui $at, 0x802a +/* 17A3D4 8024BAF4 C43AF270 */ lwc1 $f26, -0xd90($at) +/* 17A3D8 8024BAF8 3C02802A */ lui $v0, 0x802a +/* 17A3DC 8024BAFC 8042F2A5 */ lb $v0, -0xd5b($v0) +/* 17A3E0 8024BB00 3C01802A */ lui $at, 0x802a +/* 17A3E4 8024BB04 C43EF278 */ lwc1 $f30, -0xd88($at) +/* 17A3E8 8024BB08 14400022 */ bnez $v0, .L8024BB94 +/* 17A3EC 8024BB0C E7BC0010 */ swc1 $f28, 0x10($sp) +/* 17A3F0 8024BB10 3C02802A */ lui $v0, 0x802a +/* 17A3F4 8024BB14 8442F29E */ lh $v0, -0xd62($v0) +/* 17A3F8 8024BB18 3C03802A */ lui $v1, 0x802a +/* 17A3FC 8024BB1C 8463F2A0 */ lh $v1, -0xd60($v1) +/* 17A400 8024BB20 3C013F80 */ lui $at, 0x3f80 +/* 17A404 8024BB24 4481C000 */ mtc1 $at, $f24 +/* 17A408 8024BB28 44822000 */ mtc1 $v0, $f4 +/* 17A40C 8024BB2C 00000000 */ nop +/* 17A410 8024BB30 46802120 */ cvt.s.w $f4, $f4 +/* 17A414 8024BB34 44830000 */ mtc1 $v1, $f0 +/* 17A418 8024BB38 00000000 */ nop +/* 17A41C 8024BB3C 46800020 */ cvt.s.w $f0, $f0 +/* 17A420 8024BB40 46002103 */ div.s $f4, $f4, $f0 +/* 17A424 8024BB44 4604C301 */ sub.s $f12, $f24, $f4 +/* 17A428 8024BB48 3C014049 */ lui $at, 0x4049 +/* 17A42C 8024BB4C 34210FD0 */ ori $at, $at, 0xfd0 +/* 17A430 8024BB50 4481B000 */ mtc1 $at, $f22 +/* 17A434 8024BB54 00000000 */ nop +/* 17A438 8024BB58 46166302 */ mul.s $f12, $f12, $f22 +/* 17A43C 8024BB5C 00000000 */ nop +/* 17A440 8024BB60 3C013F00 */ lui $at, 0x3f00 +/* 17A444 8024BB64 4481A000 */ mtc1 $at, $f20 +/* 17A448 8024BB68 00000000 */ nop +/* 17A44C 8024BB6C 46146302 */ mul.s $f12, $f12, $f20 +/* 17A450 8024BB70 0C00A85B */ jal sin_rad +/* 17A454 8024BB74 00000000 */ nop +/* 17A458 8024BB78 46160002 */ mul.s $f0, $f0, $f22 +/* 17A45C 8024BB7C 00000000 */ nop +/* 17A460 8024BB80 46140302 */ mul.s $f12, $f0, $f20 +/* 17A464 8024BB84 0C00A85B */ jal sin_rad +/* 17A468 8024BB88 00000000 */ nop +/* 17A46C 8024BB8C 08092EF0 */ j func_8024BBC0 +/* 17A470 8024BB90 4600C101 */ sub.s $f4, $f24, $f0 + +.L8024BB94: +/* 17A474 8024BB94 3C02802A */ lui $v0, 0x802a +/* 17A478 8024BB98 8442F29E */ lh $v0, -0xd62($v0) +/* 17A47C 8024BB9C 3C03802A */ lui $v1, 0x802a +/* 17A480 8024BBA0 8463F2A0 */ lh $v1, -0xd60($v1) +/* 17A484 8024BBA4 44822000 */ mtc1 $v0, $f4 +/* 17A488 8024BBA8 00000000 */ nop +/* 17A48C 8024BBAC 46802120 */ cvt.s.w $f4, $f4 +/* 17A490 8024BBB0 44830000 */ mtc1 $v1, $f0 +/* 17A494 8024BBB4 00000000 */ nop +/* 17A498 8024BBB8 46800020 */ cvt.s.w $f0, $f0 +/* 17A49C 8024BBBC 46002103 */ div.s $f4, $f4, $f0 +func_8024BBC0: +/* 17A4A0 8024BBC0 3C01802A */ lui $at, 0x802a +/* 17A4A4 8024BBC4 C434F2A8 */ lwc1 $f20, -0xd58($at) +/* 17A4A8 8024BBC8 4604A502 */ mul.s $f20, $f20, $f4 +/* 17A4AC 8024BBCC 00000000 */ nop +/* 17A4B0 8024BBD0 3C01802A */ lui $at, 0x802a +/* 17A4B4 8024BBD4 C432F2AC */ lwc1 $f18, -0xd54($at) +/* 17A4B8 8024BBD8 46049482 */ mul.s $f18, $f18, $f4 +/* 17A4BC 8024BBDC 00000000 */ nop +/* 17A4C0 8024BBE0 3C01802A */ lui $at, 0x802a +/* 17A4C4 8024BBE4 C430F2B0 */ lwc1 $f16, -0xd50($at) +/* 17A4C8 8024BBE8 46048402 */ mul.s $f16, $f16, $f4 +/* 17A4CC 8024BBEC 00000000 */ nop +/* 17A4D0 8024BBF0 3C01802A */ lui $at, 0x802a +/* 17A4D4 8024BBF4 C426F298 */ lwc1 $f6, -0xd68($at) +/* 17A4D8 8024BBF8 46043182 */ mul.s $f6, $f6, $f4 +/* 17A4DC 8024BBFC 00000000 */ nop +/* 17A4E0 8024BC00 3C01802A */ lui $at, 0x802a +/* 17A4E4 8024BC04 C42CF28C */ lwc1 $f12, -0xd74($at) +/* 17A4E8 8024BC08 46046302 */ mul.s $f12, $f12, $f4 +/* 17A4EC 8024BC0C 00000000 */ nop +/* 17A4F0 8024BC10 3C01802A */ lui $at, 0x802a +/* 17A4F4 8024BC14 C428F290 */ lwc1 $f8, -0xd70($at) +/* 17A4F8 8024BC18 46044202 */ mul.s $f8, $f8, $f4 +/* 17A4FC 8024BC1C 00000000 */ nop +/* 17A500 8024BC20 3C013F80 */ lui $at, 0x3f80 +/* 17A504 8024BC24 44811000 */ mtc1 $at, $f2 +/* 17A508 8024BC28 00000000 */ nop +/* 17A50C 8024BC2C 46041081 */ sub.s $f2, $f2, $f4 +/* 17A510 8024BC30 4602D682 */ mul.s $f26, $f26, $f2 +/* 17A514 8024BC34 00000000 */ nop +/* 17A518 8024BC38 C7BC0010 */ lwc1 $f28, 0x10($sp) +/* 17A51C 8024BC3C 4602E602 */ mul.s $f24, $f28, $f2 +/* 17A520 8024BC40 00000000 */ nop +/* 17A524 8024BC44 3C02802A */ lui $v0, 0x802a +/* 17A528 8024BC48 8442F286 */ lh $v0, -0xd7a($v0) +/* 17A52C 8024BC4C 44820000 */ mtc1 $v0, $f0 +/* 17A530 8024BC50 00000000 */ nop +/* 17A534 8024BC54 46800020 */ cvt.s.w $f0, $f0 +/* 17A538 8024BC58 46020002 */ mul.s $f0, $f0, $f2 +/* 17A53C 8024BC5C 00000000 */ nop +/* 17A540 8024BC60 4602F582 */ mul.s $f22, $f30, $f2 +/* 17A544 8024BC64 00000000 */ nop +/* 17A548 8024BC68 3C02802A */ lui $v0, 0x802a +/* 17A54C 8024BC6C 8442F280 */ lh $v0, -0xd80($v0) +/* 17A550 8024BC70 44827000 */ mtc1 $v0, $f14 +/* 17A554 8024BC74 00000000 */ nop +/* 17A558 8024BC78 468073A0 */ cvt.s.w $f14, $f14 +/* 17A55C 8024BC7C 46027382 */ mul.s $f14, $f14, $f2 +/* 17A560 8024BC80 00000000 */ nop +/* 17A564 8024BC84 3C02802A */ lui $v0, 0x802a +/* 17A568 8024BC88 8442F282 */ lh $v0, -0xd7e($v0) +/* 17A56C 8024BC8C 44825000 */ mtc1 $v0, $f10 +/* 17A570 8024BC90 00000000 */ nop +/* 17A574 8024BC94 468052A0 */ cvt.s.w $f10, $f10 +/* 17A578 8024BC98 46025282 */ mul.s $f10, $f10, $f2 +/* 17A57C 8024BC9C 00000000 */ nop +/* 17A580 8024BCA0 46003180 */ add.s $f6, $f6, $f0 +/* 17A584 8024BCA4 3C014380 */ lui $at, 0x4380 +/* 17A588 8024BCA8 44810000 */ mtc1 $at, $f0 +/* 17A58C 8024BCAC 00000000 */ nop +/* 17A590 8024BCB0 46003182 */ mul.s $f6, $f6, $f0 +/* 17A594 8024BCB4 00000000 */ nop +/* 17A598 8024BCB8 3C01802A */ lui $at, 0x802a +/* 17A59C 8024BCBC C420F294 */ lwc1 $f0, -0xd6c($at) +/* 17A5A0 8024BCC0 46040002 */ mul.s $f0, $f0, $f4 +/* 17A5A4 8024BCC4 00000000 */ nop +/* 17A5A8 8024BCC8 461AA500 */ add.s $f20, $f20, $f26 +/* 17A5AC 8024BCCC 46189480 */ add.s $f18, $f18, $f24 +/* 17A5B0 8024BCD0 46168400 */ add.s $f16, $f16, $f22 +/* 17A5B4 8024BCD4 460E6300 */ add.s $f12, $f12, $f14 +/* 17A5B8 8024BCD8 3C04802A */ lui $a0, 0x802a +/* 17A5BC 8024BCDC 2484F29E */ addiu $a0, $a0, -0xd62 +/* 17A5C0 8024BCE0 3C02802A */ lui $v0, 0x802a +/* 17A5C4 8024BCE4 8442F284 */ lh $v0, -0xd7c($v0) +/* 17A5C8 8024BCE8 460A4200 */ add.s $f8, $f8, $f10 +/* 17A5CC 8024BCEC E6140054 */ swc1 $f20, 0x54($s0) +/* 17A5D0 8024BCF0 44822000 */ mtc1 $v0, $f4 +/* 17A5D4 8024BCF4 00000000 */ nop +/* 17A5D8 8024BCF8 46802120 */ cvt.s.w $f4, $f4 +/* 17A5DC 8024BCFC 46022102 */ mul.s $f4, $f4, $f2 +/* 17A5E0 8024BD00 00000000 */ nop +/* 17A5E4 8024BD04 E6120058 */ swc1 $f18, 0x58($s0) +/* 17A5E8 8024BD08 E610005C */ swc1 $f16, 0x5c($s0) +/* 17A5EC 8024BD0C 4600670D */ trunc.w.s $f28, $f12 +/* 17A5F0 8024BD10 4402E000 */ mfc1 $v0, $f28 +/* 17A5F4 8024BD14 00000000 */ nop +/* 17A5F8 8024BD18 A602001E */ sh $v0, 0x1e($s0) +/* 17A5FC 8024BD1C 46040000 */ add.s $f0, $f0, $f4 +/* 17A600 8024BD20 4600470D */ trunc.w.s $f28, $f8 +/* 17A604 8024BD24 4402E000 */ mfc1 $v0, $f28 +/* 17A608 8024BD28 00000000 */ nop +/* 17A60C 8024BD2C A6020024 */ sh $v0, 0x24($s0) +/* 17A610 8024BD30 4600070D */ trunc.w.s $f28, $f0 +/* 17A614 8024BD34 4402E000 */ mfc1 $v0, $f28 +/* 17A618 8024BD38 00000000 */ nop +/* 17A61C 8024BD3C A6020022 */ sh $v0, 0x22($s0) +/* 17A620 8024BD40 4600370D */ trunc.w.s $f28, $f6 +/* 17A624 8024BD44 4402E000 */ mfc1 $v0, $f28 +/* 17A628 8024BD48 00000000 */ nop +/* 17A62C 8024BD4C A6020026 */ sh $v0, 0x26($s0) +/* 17A630 8024BD50 84820000 */ lh $v0, ($a0) +/* 17A634 8024BD54 94830000 */ lhu $v1, ($a0) +/* 17A638 8024BD58 14400006 */ bnez $v0, .L8024BD74 +/* 17A63C 8024BD5C 2462FFFF */ addiu $v0, $v1, -1 +/* 17A640 8024BD60 24020001 */ addiu $v0, $zero, 1 +/* 17A644 8024BD64 3C01802A */ lui $at, 0x802a +/* 17A648 8024BD68 A022F29C */ sb $v0, -0xd64($at) +/* 17A64C 8024BD6C 08092F5E */ j func_8024BD78 +/* 17A650 8024BD70 00000000 */ nop + +.L8024BD74: +/* 17A654 8024BD74 A4820000 */ sh $v0, ($a0) +func_8024BD78: +/* 17A658 8024BD78 8FBF001C */ lw $ra, 0x1c($sp) +/* 17A65C 8024BD7C 8FB00018 */ lw $s0, 0x18($sp) +/* 17A660 8024BD80 D7BE0048 */ ldc1 $f30, 0x48($sp) +/* 17A664 8024BD84 D7BC0040 */ ldc1 $f28, 0x40($sp) +/* 17A668 8024BD88 D7BA0038 */ ldc1 $f26, 0x38($sp) +/* 17A66C 8024BD8C D7B80030 */ ldc1 $f24, 0x30($sp) +/* 17A670 8024BD90 D7B60028 */ ldc1 $f22, 0x28($sp) +/* 17A674 8024BD94 D7B40020 */ ldc1 $f20, 0x20($sp) +/* 17A678 8024BD98 0000102D */ daddu $v0, $zero, $zero +/* 17A67C 8024BD9C 03E00008 */ jr $ra +/* 17A680 8024BDA0 27BD0050 */ addiu $sp, $sp, 0x50 + +/* 17A684 8024BDA4 27BDFFB0 */ addiu $sp, $sp, -0x50 +/* 17A688 8024BDA8 AFB00018 */ sw $s0, 0x18($sp) +/* 17A68C 8024BDAC 3C10800B */ lui $s0, 0x800b +/* 17A690 8024BDB0 261022D8 */ addiu $s0, $s0, 0x22d8 +/* 17A694 8024BDB4 AFBF001C */ sw $ra, 0x1c($sp) +/* 17A698 8024BDB8 F7BE0048 */ sdc1 $f30, 0x48($sp) +/* 17A69C 8024BDBC F7BC0040 */ sdc1 $f28, 0x40($sp) +/* 17A6A0 8024BDC0 F7BA0038 */ sdc1 $f26, 0x38($sp) +/* 17A6A4 8024BDC4 F7B80030 */ sdc1 $f24, 0x30($sp) +/* 17A6A8 8024BDC8 F7B60028 */ sdc1 $f22, 0x28($sp) +/* 17A6AC 8024BDCC F7B40020 */ sdc1 $f20, 0x20($sp) +/* 17A6B0 8024BDD0 10A00037 */ beqz $a1, .L8024BEB0 +/* 17A6B4 8024BDD4 24020008 */ addiu $v0, $zero, 8 +/* 17A6B8 8024BDD8 86040026 */ lh $a0, 0x26($s0) +/* 17A6BC 8024BDDC 3C01420C */ lui $at, 0x420c +/* 17A6C0 8024BDE0 44810000 */ mtc1 $at, $f0 +/* 17A6C4 8024BDE4 3C014270 */ lui $at, 0x4270 +/* 17A6C8 8024BDE8 44811000 */ mtc1 $at, $f2 +/* 17A6CC 8024BDEC 8603001E */ lh $v1, 0x1e($s0) +/* 17A6D0 8024BDF0 3C01802A */ lui $at, 0x802a +/* 17A6D4 8024BDF4 A422F284 */ sh $v0, -0xd7c($at) +/* 17A6D8 8024BDF8 86020022 */ lh $v0, 0x22($s0) +/* 17A6DC 8024BDFC 3C01802A */ lui $at, 0x802a +/* 17A6E0 8024BE00 E420F270 */ swc1 $f0, -0xd90($at) +/* 17A6E4 8024BE04 44830000 */ mtc1 $v1, $f0 +/* 17A6E8 8024BE08 00000000 */ nop +/* 17A6EC 8024BE0C 46800020 */ cvt.s.w $f0, $f0 +/* 17A6F0 8024BE10 86030024 */ lh $v1, 0x24($s0) +/* 17A6F4 8024BE14 3C01802A */ lui $at, 0x802a +/* 17A6F8 8024BE18 AC20F278 */ sw $zero, -0xd88($at) +/* 17A6FC 8024BE1C 3C01802A */ lui $at, 0x802a +/* 17A700 8024BE20 A420F282 */ sh $zero, -0xd7e($at) +/* 17A704 8024BE24 3C01802A */ lui $at, 0x802a +/* 17A708 8024BE28 E420F28C */ swc1 $f0, -0xd74($at) +/* 17A70C 8024BE2C 44820000 */ mtc1 $v0, $f0 +/* 17A710 8024BE30 00000000 */ nop +/* 17A714 8024BE34 46800020 */ cvt.s.w $f0, $f0 +/* 17A718 8024BE38 3C01802A */ lui $at, 0x802a +/* 17A71C 8024BE3C E422F274 */ swc1 $f2, -0xd8c($at) +/* 17A720 8024BE40 3C01802A */ lui $at, 0x802a +/* 17A724 8024BE44 E420F294 */ swc1 $f0, -0xd6c($at) +/* 17A728 8024BE48 44830000 */ mtc1 $v1, $f0 +/* 17A72C 8024BE4C 00000000 */ nop +/* 17A730 8024BE50 46800020 */ cvt.s.w $f0, $f0 +/* 17A734 8024BE54 3C01802A */ lui $at, 0x802a +/* 17A738 8024BE58 E420F290 */ swc1 $f0, -0xd70($at) +/* 17A73C 8024BE5C 04820001 */ bltzl $a0, .L8024BE64 +/* 17A740 8024BE60 248400FF */ addiu $a0, $a0, 0xff +.L8024BE64: +/* 17A744 8024BE64 00041203 */ sra $v0, $a0, 8 +/* 17A748 8024BE68 C6020054 */ lwc1 $f2, 0x54($s0) +/* 17A74C 8024BE6C C6040058 */ lwc1 $f4, 0x58($s0) +/* 17A750 8024BE70 C606005C */ lwc1 $f6, 0x5c($s0) +/* 17A754 8024BE74 3C03802A */ lui $v1, 0x802a +/* 17A758 8024BE78 9463F29E */ lhu $v1, -0xd62($v1) +/* 17A75C 8024BE7C 44820000 */ mtc1 $v0, $f0 +/* 17A760 8024BE80 00000000 */ nop +/* 17A764 8024BE84 46800020 */ cvt.s.w $f0, $f0 +/* 17A768 8024BE88 3C01802A */ lui $at, 0x802a +/* 17A76C 8024BE8C E420F298 */ swc1 $f0, -0xd68($at) +/* 17A770 8024BE90 3C01802A */ lui $at, 0x802a +/* 17A774 8024BE94 E422F2A8 */ swc1 $f2, -0xd58($at) +/* 17A778 8024BE98 3C01802A */ lui $at, 0x802a +/* 17A77C 8024BE9C E424F2AC */ swc1 $f4, -0xd54($at) +/* 17A780 8024BEA0 3C01802A */ lui $at, 0x802a +/* 17A784 8024BEA4 E426F2B0 */ swc1 $f6, -0xd50($at) +/* 17A788 8024BEA8 3C01802A */ lui $at, 0x802a +/* 17A78C 8024BEAC A423F2A0 */ sh $v1, -0xd60($at) +.L8024BEB0: +/* 17A790 8024BEB0 3C01802A */ lui $at, 0x802a +/* 17A794 8024BEB4 C43CF274 */ lwc1 $f28, -0xd8c($at) +/* 17A798 8024BEB8 3C01802A */ lui $at, 0x802a +/* 17A79C 8024BEBC C43AF270 */ lwc1 $f26, -0xd90($at) +/* 17A7A0 8024BEC0 3C02802A */ lui $v0, 0x802a +/* 17A7A4 8024BEC4 8042F2A5 */ lb $v0, -0xd5b($v0) +/* 17A7A8 8024BEC8 3C01802A */ lui $at, 0x802a +/* 17A7AC 8024BECC C43EF278 */ lwc1 $f30, -0xd88($at) +/* 17A7B0 8024BED0 14400027 */ bnez $v0, .L8024BF70 +/* 17A7B4 8024BED4 E7BC0010 */ swc1 $f28, 0x10($sp) +/* 17A7B8 8024BED8 3C02802A */ lui $v0, 0x802a +/* 17A7BC 8024BEDC 8442F29E */ lh $v0, -0xd62($v0) +/* 17A7C0 8024BEE0 3C03802A */ lui $v1, 0x802a +/* 17A7C4 8024BEE4 8463F2A0 */ lh $v1, -0xd60($v1) +/* 17A7C8 8024BEE8 3C013F80 */ lui $at, 0x3f80 +/* 17A7CC 8024BEEC 4481C000 */ mtc1 $at, $f24 +/* 17A7D0 8024BEF0 44822000 */ mtc1 $v0, $f4 +/* 17A7D4 8024BEF4 00000000 */ nop +/* 17A7D8 8024BEF8 46802120 */ cvt.s.w $f4, $f4 +/* 17A7DC 8024BEFC 44830000 */ mtc1 $v1, $f0 +/* 17A7E0 8024BF00 00000000 */ nop +/* 17A7E4 8024BF04 46800020 */ cvt.s.w $f0, $f0 +/* 17A7E8 8024BF08 46002103 */ div.s $f4, $f4, $f0 +/* 17A7EC 8024BF0C 4604C301 */ sub.s $f12, $f24, $f4 +/* 17A7F0 8024BF10 3C014049 */ lui $at, 0x4049 +/* 17A7F4 8024BF14 34210FD0 */ ori $at, $at, 0xfd0 +/* 17A7F8 8024BF18 4481B000 */ mtc1 $at, $f22 +/* 17A7FC 8024BF1C 00000000 */ nop +/* 17A800 8024BF20 46166302 */ mul.s $f12, $f12, $f22 +/* 17A804 8024BF24 00000000 */ nop +/* 17A808 8024BF28 3C013F00 */ lui $at, 0x3f00 +/* 17A80C 8024BF2C 4481A000 */ mtc1 $at, $f20 +/* 17A810 8024BF30 00000000 */ nop +/* 17A814 8024BF34 46146302 */ mul.s $f12, $f12, $f20 +/* 17A818 8024BF38 0C00A85B */ jal sin_rad +/* 17A81C 8024BF3C 00000000 */ nop +/* 17A820 8024BF40 46160002 */ mul.s $f0, $f0, $f22 +/* 17A824 8024BF44 00000000 */ nop +/* 17A828 8024BF48 46140302 */ mul.s $f12, $f0, $f20 +/* 17A82C 8024BF4C 0C00A85B */ jal sin_rad +/* 17A830 8024BF50 00000000 */ nop +/* 17A834 8024BF54 46160002 */ mul.s $f0, $f0, $f22 +/* 17A838 8024BF58 00000000 */ nop +/* 17A83C 8024BF5C 46140302 */ mul.s $f12, $f0, $f20 +/* 17A840 8024BF60 0C00A85B */ jal sin_rad +/* 17A844 8024BF64 00000000 */ nop +/* 17A848 8024BF68 08092FE7 */ j func_8024BF9C +/* 17A84C 8024BF6C 4600C101 */ sub.s $f4, $f24, $f0 + +.L8024BF70: +/* 17A850 8024BF70 3C02802A */ lui $v0, 0x802a +/* 17A854 8024BF74 8442F29E */ lh $v0, -0xd62($v0) +/* 17A858 8024BF78 3C03802A */ lui $v1, 0x802a +/* 17A85C 8024BF7C 8463F2A0 */ lh $v1, -0xd60($v1) +/* 17A860 8024BF80 44822000 */ mtc1 $v0, $f4 +/* 17A864 8024BF84 00000000 */ nop +/* 17A868 8024BF88 46802120 */ cvt.s.w $f4, $f4 +/* 17A86C 8024BF8C 44830000 */ mtc1 $v1, $f0 +/* 17A870 8024BF90 00000000 */ nop +/* 17A874 8024BF94 46800020 */ cvt.s.w $f0, $f0 +/* 17A878 8024BF98 46002103 */ div.s $f4, $f4, $f0 +func_8024BF9C: +/* 17A87C 8024BF9C 3C01802A */ lui $at, 0x802a +/* 17A880 8024BFA0 C434F2A8 */ lwc1 $f20, -0xd58($at) +/* 17A884 8024BFA4 4604A502 */ mul.s $f20, $f20, $f4 +/* 17A888 8024BFA8 00000000 */ nop +/* 17A88C 8024BFAC 3C01802A */ lui $at, 0x802a +/* 17A890 8024BFB0 C432F2AC */ lwc1 $f18, -0xd54($at) +/* 17A894 8024BFB4 46049482 */ mul.s $f18, $f18, $f4 +/* 17A898 8024BFB8 00000000 */ nop +/* 17A89C 8024BFBC 3C01802A */ lui $at, 0x802a +/* 17A8A0 8024BFC0 C430F2B0 */ lwc1 $f16, -0xd50($at) +/* 17A8A4 8024BFC4 46048402 */ mul.s $f16, $f16, $f4 +/* 17A8A8 8024BFC8 00000000 */ nop +/* 17A8AC 8024BFCC 3C01802A */ lui $at, 0x802a +/* 17A8B0 8024BFD0 C426F298 */ lwc1 $f6, -0xd68($at) +/* 17A8B4 8024BFD4 46043182 */ mul.s $f6, $f6, $f4 +/* 17A8B8 8024BFD8 00000000 */ nop +/* 17A8BC 8024BFDC 3C01802A */ lui $at, 0x802a +/* 17A8C0 8024BFE0 C42CF28C */ lwc1 $f12, -0xd74($at) +/* 17A8C4 8024BFE4 46046302 */ mul.s $f12, $f12, $f4 +/* 17A8C8 8024BFE8 00000000 */ nop +/* 17A8CC 8024BFEC 3C01802A */ lui $at, 0x802a +/* 17A8D0 8024BFF0 C428F290 */ lwc1 $f8, -0xd70($at) +/* 17A8D4 8024BFF4 46044202 */ mul.s $f8, $f8, $f4 +/* 17A8D8 8024BFF8 00000000 */ nop +/* 17A8DC 8024BFFC 3C013F80 */ lui $at, 0x3f80 +/* 17A8E0 8024C000 44811000 */ mtc1 $at, $f2 +/* 17A8E4 8024C004 00000000 */ nop +/* 17A8E8 8024C008 46041081 */ sub.s $f2, $f2, $f4 +/* 17A8EC 8024C00C 4602D682 */ mul.s $f26, $f26, $f2 +/* 17A8F0 8024C010 00000000 */ nop +/* 17A8F4 8024C014 C7BC0010 */ lwc1 $f28, 0x10($sp) +/* 17A8F8 8024C018 4602E602 */ mul.s $f24, $f28, $f2 +/* 17A8FC 8024C01C 00000000 */ nop +/* 17A900 8024C020 3C02802A */ lui $v0, 0x802a +/* 17A904 8024C024 8442F286 */ lh $v0, -0xd7a($v0) +/* 17A908 8024C028 44820000 */ mtc1 $v0, $f0 +/* 17A90C 8024C02C 00000000 */ nop +/* 17A910 8024C030 46800020 */ cvt.s.w $f0, $f0 +/* 17A914 8024C034 46020002 */ mul.s $f0, $f0, $f2 +/* 17A918 8024C038 00000000 */ nop +/* 17A91C 8024C03C 4602F582 */ mul.s $f22, $f30, $f2 +/* 17A920 8024C040 00000000 */ nop +/* 17A924 8024C044 3C02802A */ lui $v0, 0x802a +/* 17A928 8024C048 8442F280 */ lh $v0, -0xd80($v0) +/* 17A92C 8024C04C 44827000 */ mtc1 $v0, $f14 +/* 17A930 8024C050 00000000 */ nop +/* 17A934 8024C054 468073A0 */ cvt.s.w $f14, $f14 +/* 17A938 8024C058 46027382 */ mul.s $f14, $f14, $f2 +/* 17A93C 8024C05C 00000000 */ nop +/* 17A940 8024C060 3C02802A */ lui $v0, 0x802a +/* 17A944 8024C064 8442F282 */ lh $v0, -0xd7e($v0) +/* 17A948 8024C068 44825000 */ mtc1 $v0, $f10 +/* 17A94C 8024C06C 00000000 */ nop +/* 17A950 8024C070 468052A0 */ cvt.s.w $f10, $f10 +/* 17A954 8024C074 46025282 */ mul.s $f10, $f10, $f2 +/* 17A958 8024C078 00000000 */ nop +/* 17A95C 8024C07C 46003180 */ add.s $f6, $f6, $f0 +/* 17A960 8024C080 3C014380 */ lui $at, 0x4380 +/* 17A964 8024C084 44810000 */ mtc1 $at, $f0 +/* 17A968 8024C088 00000000 */ nop +/* 17A96C 8024C08C 46003182 */ mul.s $f6, $f6, $f0 +/* 17A970 8024C090 00000000 */ nop +/* 17A974 8024C094 3C01802A */ lui $at, 0x802a +/* 17A978 8024C098 C420F294 */ lwc1 $f0, -0xd6c($at) +/* 17A97C 8024C09C 46040002 */ mul.s $f0, $f0, $f4 +/* 17A980 8024C0A0 00000000 */ nop +/* 17A984 8024C0A4 461AA500 */ add.s $f20, $f20, $f26 +/* 17A988 8024C0A8 46189480 */ add.s $f18, $f18, $f24 +/* 17A98C 8024C0AC 46168400 */ add.s $f16, $f16, $f22 +/* 17A990 8024C0B0 460E6300 */ add.s $f12, $f12, $f14 +/* 17A994 8024C0B4 3C04802A */ lui $a0, 0x802a +/* 17A998 8024C0B8 2484F29E */ addiu $a0, $a0, -0xd62 +/* 17A99C 8024C0BC 3C02802A */ lui $v0, 0x802a +/* 17A9A0 8024C0C0 8442F284 */ lh $v0, -0xd7c($v0) +/* 17A9A4 8024C0C4 460A4200 */ add.s $f8, $f8, $f10 +/* 17A9A8 8024C0C8 E6140054 */ swc1 $f20, 0x54($s0) +/* 17A9AC 8024C0CC 44822000 */ mtc1 $v0, $f4 +/* 17A9B0 8024C0D0 00000000 */ nop +/* 17A9B4 8024C0D4 46802120 */ cvt.s.w $f4, $f4 +/* 17A9B8 8024C0D8 46022102 */ mul.s $f4, $f4, $f2 +/* 17A9BC 8024C0DC 00000000 */ nop +/* 17A9C0 8024C0E0 E6120058 */ swc1 $f18, 0x58($s0) +/* 17A9C4 8024C0E4 E610005C */ swc1 $f16, 0x5c($s0) +/* 17A9C8 8024C0E8 4600670D */ trunc.w.s $f28, $f12 +/* 17A9CC 8024C0EC 4402E000 */ mfc1 $v0, $f28 +/* 17A9D0 8024C0F0 00000000 */ nop +/* 17A9D4 8024C0F4 A602001E */ sh $v0, 0x1e($s0) +/* 17A9D8 8024C0F8 46040000 */ add.s $f0, $f0, $f4 +/* 17A9DC 8024C0FC 4600470D */ trunc.w.s $f28, $f8 +/* 17A9E0 8024C100 4402E000 */ mfc1 $v0, $f28 +/* 17A9E4 8024C104 00000000 */ nop +/* 17A9E8 8024C108 A6020024 */ sh $v0, 0x24($s0) +/* 17A9EC 8024C10C 4600070D */ trunc.w.s $f28, $f0 +/* 17A9F0 8024C110 4402E000 */ mfc1 $v0, $f28 +/* 17A9F4 8024C114 00000000 */ nop +/* 17A9F8 8024C118 A6020022 */ sh $v0, 0x22($s0) +/* 17A9FC 8024C11C 4600370D */ trunc.w.s $f28, $f6 +/* 17AA00 8024C120 4402E000 */ mfc1 $v0, $f28 +/* 17AA04 8024C124 00000000 */ nop +/* 17AA08 8024C128 A6020026 */ sh $v0, 0x26($s0) +/* 17AA0C 8024C12C 84820000 */ lh $v0, ($a0) +/* 17AA10 8024C130 94830000 */ lhu $v1, ($a0) +/* 17AA14 8024C134 14400006 */ bnez $v0, .L8024C150 +/* 17AA18 8024C138 2462FFFF */ addiu $v0, $v1, -1 +/* 17AA1C 8024C13C 24020001 */ addiu $v0, $zero, 1 +/* 17AA20 8024C140 3C01802A */ lui $at, 0x802a +/* 17AA24 8024C144 A022F29C */ sb $v0, -0xd64($at) +/* 17AA28 8024C148 08093055 */ j func_8024C154 +/* 17AA2C 8024C14C 00000000 */ nop + +.L8024C150: +/* 17AA30 8024C150 A4820000 */ sh $v0, ($a0) +func_8024C154: +/* 17AA34 8024C154 8FBF001C */ lw $ra, 0x1c($sp) +/* 17AA38 8024C158 8FB00018 */ lw $s0, 0x18($sp) +/* 17AA3C 8024C15C D7BE0048 */ ldc1 $f30, 0x48($sp) +/* 17AA40 8024C160 D7BC0040 */ ldc1 $f28, 0x40($sp) +/* 17AA44 8024C164 D7BA0038 */ ldc1 $f26, 0x38($sp) +/* 17AA48 8024C168 D7B80030 */ ldc1 $f24, 0x30($sp) +/* 17AA4C 8024C16C D7B60028 */ ldc1 $f22, 0x28($sp) +/* 17AA50 8024C170 D7B40020 */ ldc1 $f20, 0x20($sp) +/* 17AA54 8024C174 0000102D */ daddu $v0, $zero, $zero +/* 17AA58 8024C178 03E00008 */ jr $ra +/* 17AA5C 8024C17C 27BD0050 */ addiu $sp, $sp, 0x50 + +/* 17AA60 8024C180 27BDFFB0 */ addiu $sp, $sp, -0x50 +/* 17AA64 8024C184 AFB00018 */ sw $s0, 0x18($sp) +/* 17AA68 8024C188 3C10800B */ lui $s0, 0x800b +/* 17AA6C 8024C18C 261022D8 */ addiu $s0, $s0, 0x22d8 +/* 17AA70 8024C190 AFBF001C */ sw $ra, 0x1c($sp) +/* 17AA74 8024C194 F7BE0048 */ sdc1 $f30, 0x48($sp) +/* 17AA78 8024C198 F7BC0040 */ sdc1 $f28, 0x40($sp) +/* 17AA7C 8024C19C F7BA0038 */ sdc1 $f26, 0x38($sp) +/* 17AA80 8024C1A0 F7B80030 */ sdc1 $f24, 0x30($sp) +/* 17AA84 8024C1A4 F7B60028 */ sdc1 $f22, 0x28($sp) +/* 17AA88 8024C1A8 10A0003D */ beqz $a1, .L8024C2A0 +/* 17AA8C 8024C1AC F7B40020 */ sdc1 $f20, 0x20($sp) +/* 17AA90 8024C1B0 3C01420C */ lui $at, 0x420c +/* 17AA94 8024C1B4 44810000 */ mtc1 $at, $f0 +/* 17AA98 8024C1B8 C6060058 */ lwc1 $f6, 0x58($s0) +/* 17AA9C 8024C1BC 3C01802A */ lui $at, 0x802a +/* 17AAA0 8024C1C0 E420F270 */ swc1 $f0, -0xd90($at) +/* 17AAA4 8024C1C4 3C014270 */ lui $at, 0x4270 +/* 17AAA8 8024C1C8 44810000 */ mtc1 $at, $f0 +/* 17AAAC 8024C1CC 3C02802A */ lui $v0, 0x802a +/* 17AAB0 8024C1D0 2442F274 */ addiu $v0, $v0, -0xd8c +/* 17AAB4 8024C1D4 4600303C */ c.lt.s $f6, $f0 +/* 17AAB8 8024C1D8 00000000 */ nop +/* 17AABC 8024C1DC 45000002 */ bc1f .L8024C1E8 +/* 17AAC0 8024C1E0 E4460000 */ swc1 $f6, ($v0) +/* 17AAC4 8024C1E4 E4400000 */ swc1 $f0, ($v0) +.L8024C1E8: +/* 17AAC8 8024C1E8 86040026 */ lh $a0, 0x26($s0) +/* 17AACC 8024C1EC 8603001E */ lh $v1, 0x1e($s0) +/* 17AAD0 8024C1F0 24020008 */ addiu $v0, $zero, 8 +/* 17AAD4 8024C1F4 3C01802A */ lui $at, 0x802a +/* 17AAD8 8024C1F8 A422F284 */ sh $v0, -0xd7c($at) +/* 17AADC 8024C1FC 86020022 */ lh $v0, 0x22($s0) +/* 17AAE0 8024C200 44830000 */ mtc1 $v1, $f0 +/* 17AAE4 8024C204 00000000 */ nop +/* 17AAE8 8024C208 46800020 */ cvt.s.w $f0, $f0 +/* 17AAEC 8024C20C 86030024 */ lh $v1, 0x24($s0) +/* 17AAF0 8024C210 3C01802A */ lui $at, 0x802a +/* 17AAF4 8024C214 AC20F278 */ sw $zero, -0xd88($at) +/* 17AAF8 8024C218 3C01802A */ lui $at, 0x802a +/* 17AAFC 8024C21C A420F282 */ sh $zero, -0xd7e($at) +/* 17AB00 8024C220 3C01802A */ lui $at, 0x802a +/* 17AB04 8024C224 E420F28C */ swc1 $f0, -0xd74($at) +/* 17AB08 8024C228 44820000 */ mtc1 $v0, $f0 +/* 17AB0C 8024C22C 00000000 */ nop +/* 17AB10 8024C230 46800020 */ cvt.s.w $f0, $f0 +/* 17AB14 8024C234 3C01802A */ lui $at, 0x802a +/* 17AB18 8024C238 E420F294 */ swc1 $f0, -0xd6c($at) +/* 17AB1C 8024C23C 44830000 */ mtc1 $v1, $f0 +/* 17AB20 8024C240 00000000 */ nop +/* 17AB24 8024C244 46800020 */ cvt.s.w $f0, $f0 +/* 17AB28 8024C248 3C01802A */ lui $at, 0x802a +/* 17AB2C 8024C24C E420F290 */ swc1 $f0, -0xd70($at) +/* 17AB30 8024C250 04820001 */ bltzl $a0, .L8024C258 +/* 17AB34 8024C254 248400FF */ addiu $a0, $a0, 0xff +.L8024C258: +/* 17AB38 8024C258 00041203 */ sra $v0, $a0, 8 +/* 17AB3C 8024C25C C6020054 */ lwc1 $f2, 0x54($s0) +/* 17AB40 8024C260 C604005C */ lwc1 $f4, 0x5c($s0) +/* 17AB44 8024C264 3C03802A */ lui $v1, 0x802a +/* 17AB48 8024C268 9463F29E */ lhu $v1, -0xd62($v1) +/* 17AB4C 8024C26C 44820000 */ mtc1 $v0, $f0 +/* 17AB50 8024C270 00000000 */ nop +/* 17AB54 8024C274 46800020 */ cvt.s.w $f0, $f0 +/* 17AB58 8024C278 3C01802A */ lui $at, 0x802a +/* 17AB5C 8024C27C E420F298 */ swc1 $f0, -0xd68($at) +/* 17AB60 8024C280 3C01802A */ lui $at, 0x802a +/* 17AB64 8024C284 E426F2AC */ swc1 $f6, -0xd54($at) +/* 17AB68 8024C288 3C01802A */ lui $at, 0x802a +/* 17AB6C 8024C28C E422F2A8 */ swc1 $f2, -0xd58($at) +/* 17AB70 8024C290 3C01802A */ lui $at, 0x802a +/* 17AB74 8024C294 E424F2B0 */ swc1 $f4, -0xd50($at) +/* 17AB78 8024C298 3C01802A */ lui $at, 0x802a +/* 17AB7C 8024C29C A423F2A0 */ sh $v1, -0xd60($at) +.L8024C2A0: +/* 17AB80 8024C2A0 3C01802A */ lui $at, 0x802a +/* 17AB84 8024C2A4 C43CF274 */ lwc1 $f28, -0xd8c($at) +/* 17AB88 8024C2A8 3C01802A */ lui $at, 0x802a +/* 17AB8C 8024C2AC C43AF270 */ lwc1 $f26, -0xd90($at) +/* 17AB90 8024C2B0 3C02802A */ lui $v0, 0x802a +/* 17AB94 8024C2B4 8042F2A5 */ lb $v0, -0xd5b($v0) +/* 17AB98 8024C2B8 3C01802A */ lui $at, 0x802a +/* 17AB9C 8024C2BC C43EF278 */ lwc1 $f30, -0xd88($at) +/* 17ABA0 8024C2C0 14400027 */ bnez $v0, .L8024C360 +/* 17ABA4 8024C2C4 E7BC0010 */ swc1 $f28, 0x10($sp) +/* 17ABA8 8024C2C8 3C02802A */ lui $v0, 0x802a +/* 17ABAC 8024C2CC 8442F29E */ lh $v0, -0xd62($v0) +/* 17ABB0 8024C2D0 3C03802A */ lui $v1, 0x802a +/* 17ABB4 8024C2D4 8463F2A0 */ lh $v1, -0xd60($v1) +/* 17ABB8 8024C2D8 3C013F80 */ lui $at, 0x3f80 +/* 17ABBC 8024C2DC 4481C000 */ mtc1 $at, $f24 +/* 17ABC0 8024C2E0 44822000 */ mtc1 $v0, $f4 +/* 17ABC4 8024C2E4 00000000 */ nop +/* 17ABC8 8024C2E8 46802120 */ cvt.s.w $f4, $f4 +/* 17ABCC 8024C2EC 44830000 */ mtc1 $v1, $f0 +/* 17ABD0 8024C2F0 00000000 */ nop +/* 17ABD4 8024C2F4 46800020 */ cvt.s.w $f0, $f0 +/* 17ABD8 8024C2F8 46002103 */ div.s $f4, $f4, $f0 +/* 17ABDC 8024C2FC 4604C301 */ sub.s $f12, $f24, $f4 +/* 17ABE0 8024C300 3C014049 */ lui $at, 0x4049 +/* 17ABE4 8024C304 34210FD0 */ ori $at, $at, 0xfd0 +/* 17ABE8 8024C308 4481B000 */ mtc1 $at, $f22 +/* 17ABEC 8024C30C 00000000 */ nop +/* 17ABF0 8024C310 46166302 */ mul.s $f12, $f12, $f22 +/* 17ABF4 8024C314 00000000 */ nop +/* 17ABF8 8024C318 3C013F00 */ lui $at, 0x3f00 +/* 17ABFC 8024C31C 4481A000 */ mtc1 $at, $f20 +/* 17AC00 8024C320 00000000 */ nop +/* 17AC04 8024C324 46146302 */ mul.s $f12, $f12, $f20 +/* 17AC08 8024C328 0C00A85B */ jal sin_rad +/* 17AC0C 8024C32C 00000000 */ nop +/* 17AC10 8024C330 46160002 */ mul.s $f0, $f0, $f22 +/* 17AC14 8024C334 00000000 */ nop +/* 17AC18 8024C338 46140302 */ mul.s $f12, $f0, $f20 +/* 17AC1C 8024C33C 0C00A85B */ jal sin_rad +/* 17AC20 8024C340 00000000 */ nop +/* 17AC24 8024C344 46160002 */ mul.s $f0, $f0, $f22 +/* 17AC28 8024C348 00000000 */ nop +/* 17AC2C 8024C34C 46140302 */ mul.s $f12, $f0, $f20 +/* 17AC30 8024C350 0C00A85B */ jal sin_rad +/* 17AC34 8024C354 00000000 */ nop +/* 17AC38 8024C358 080930E3 */ j func_8024C38C +/* 17AC3C 8024C35C 4600C101 */ sub.s $f4, $f24, $f0 + +.L8024C360: +/* 17AC40 8024C360 3C02802A */ lui $v0, 0x802a +/* 17AC44 8024C364 8442F29E */ lh $v0, -0xd62($v0) +/* 17AC48 8024C368 3C03802A */ lui $v1, 0x802a +/* 17AC4C 8024C36C 8463F2A0 */ lh $v1, -0xd60($v1) +/* 17AC50 8024C370 44822000 */ mtc1 $v0, $f4 +/* 17AC54 8024C374 00000000 */ nop +/* 17AC58 8024C378 46802120 */ cvt.s.w $f4, $f4 +/* 17AC5C 8024C37C 44830000 */ mtc1 $v1, $f0 +/* 17AC60 8024C380 00000000 */ nop +/* 17AC64 8024C384 46800020 */ cvt.s.w $f0, $f0 +/* 17AC68 8024C388 46002103 */ div.s $f4, $f4, $f0 +func_8024C38C: +/* 17AC6C 8024C38C 3C01802A */ lui $at, 0x802a +/* 17AC70 8024C390 C434F2A8 */ lwc1 $f20, -0xd58($at) +/* 17AC74 8024C394 4604A502 */ mul.s $f20, $f20, $f4 +/* 17AC78 8024C398 00000000 */ nop +/* 17AC7C 8024C39C 3C01802A */ lui $at, 0x802a +/* 17AC80 8024C3A0 C432F2AC */ lwc1 $f18, -0xd54($at) +/* 17AC84 8024C3A4 46049482 */ mul.s $f18, $f18, $f4 +/* 17AC88 8024C3A8 00000000 */ nop +/* 17AC8C 8024C3AC 3C01802A */ lui $at, 0x802a +/* 17AC90 8024C3B0 C430F2B0 */ lwc1 $f16, -0xd50($at) +/* 17AC94 8024C3B4 46048402 */ mul.s $f16, $f16, $f4 +/* 17AC98 8024C3B8 00000000 */ nop +/* 17AC9C 8024C3BC 3C01802A */ lui $at, 0x802a +/* 17ACA0 8024C3C0 C426F298 */ lwc1 $f6, -0xd68($at) +/* 17ACA4 8024C3C4 46043182 */ mul.s $f6, $f6, $f4 +/* 17ACA8 8024C3C8 00000000 */ nop +/* 17ACAC 8024C3CC 3C01802A */ lui $at, 0x802a +/* 17ACB0 8024C3D0 C42CF28C */ lwc1 $f12, -0xd74($at) +/* 17ACB4 8024C3D4 46046302 */ mul.s $f12, $f12, $f4 +/* 17ACB8 8024C3D8 00000000 */ nop +/* 17ACBC 8024C3DC 3C01802A */ lui $at, 0x802a +/* 17ACC0 8024C3E0 C428F290 */ lwc1 $f8, -0xd70($at) +/* 17ACC4 8024C3E4 46044202 */ mul.s $f8, $f8, $f4 +/* 17ACC8 8024C3E8 00000000 */ nop +/* 17ACCC 8024C3EC 3C013F80 */ lui $at, 0x3f80 +/* 17ACD0 8024C3F0 44811000 */ mtc1 $at, $f2 +/* 17ACD4 8024C3F4 00000000 */ nop +/* 17ACD8 8024C3F8 46041081 */ sub.s $f2, $f2, $f4 +/* 17ACDC 8024C3FC 4602D682 */ mul.s $f26, $f26, $f2 +/* 17ACE0 8024C400 00000000 */ nop +/* 17ACE4 8024C404 C7BC0010 */ lwc1 $f28, 0x10($sp) +/* 17ACE8 8024C408 4602E602 */ mul.s $f24, $f28, $f2 +/* 17ACEC 8024C40C 00000000 */ nop +/* 17ACF0 8024C410 3C02802A */ lui $v0, 0x802a +/* 17ACF4 8024C414 8442F286 */ lh $v0, -0xd7a($v0) +/* 17ACF8 8024C418 44820000 */ mtc1 $v0, $f0 +/* 17ACFC 8024C41C 00000000 */ nop +/* 17AD00 8024C420 46800020 */ cvt.s.w $f0, $f0 +/* 17AD04 8024C424 46020002 */ mul.s $f0, $f0, $f2 +/* 17AD08 8024C428 00000000 */ nop +/* 17AD0C 8024C42C 4602F582 */ mul.s $f22, $f30, $f2 +/* 17AD10 8024C430 00000000 */ nop +/* 17AD14 8024C434 3C02802A */ lui $v0, 0x802a +/* 17AD18 8024C438 8442F280 */ lh $v0, -0xd80($v0) +/* 17AD1C 8024C43C 44827000 */ mtc1 $v0, $f14 +/* 17AD20 8024C440 00000000 */ nop +/* 17AD24 8024C444 468073A0 */ cvt.s.w $f14, $f14 +/* 17AD28 8024C448 46027382 */ mul.s $f14, $f14, $f2 +/* 17AD2C 8024C44C 00000000 */ nop +/* 17AD30 8024C450 3C02802A */ lui $v0, 0x802a +/* 17AD34 8024C454 8442F282 */ lh $v0, -0xd7e($v0) +/* 17AD38 8024C458 44825000 */ mtc1 $v0, $f10 +/* 17AD3C 8024C45C 00000000 */ nop +/* 17AD40 8024C460 468052A0 */ cvt.s.w $f10, $f10 +/* 17AD44 8024C464 46025282 */ mul.s $f10, $f10, $f2 +/* 17AD48 8024C468 00000000 */ nop +/* 17AD4C 8024C46C 46003180 */ add.s $f6, $f6, $f0 +/* 17AD50 8024C470 3C014380 */ lui $at, 0x4380 +/* 17AD54 8024C474 44810000 */ mtc1 $at, $f0 +/* 17AD58 8024C478 00000000 */ nop +/* 17AD5C 8024C47C 46003182 */ mul.s $f6, $f6, $f0 +/* 17AD60 8024C480 00000000 */ nop +/* 17AD64 8024C484 3C01802A */ lui $at, 0x802a +/* 17AD68 8024C488 C420F294 */ lwc1 $f0, -0xd6c($at) +/* 17AD6C 8024C48C 46040002 */ mul.s $f0, $f0, $f4 +/* 17AD70 8024C490 00000000 */ nop +/* 17AD74 8024C494 461AA500 */ add.s $f20, $f20, $f26 +/* 17AD78 8024C498 46189480 */ add.s $f18, $f18, $f24 +/* 17AD7C 8024C49C 46168400 */ add.s $f16, $f16, $f22 +/* 17AD80 8024C4A0 460E6300 */ add.s $f12, $f12, $f14 +/* 17AD84 8024C4A4 3C04802A */ lui $a0, 0x802a +/* 17AD88 8024C4A8 2484F29E */ addiu $a0, $a0, -0xd62 +/* 17AD8C 8024C4AC 3C02802A */ lui $v0, 0x802a +/* 17AD90 8024C4B0 8442F284 */ lh $v0, -0xd7c($v0) +/* 17AD94 8024C4B4 460A4200 */ add.s $f8, $f8, $f10 +/* 17AD98 8024C4B8 E6140054 */ swc1 $f20, 0x54($s0) +/* 17AD9C 8024C4BC 44822000 */ mtc1 $v0, $f4 +/* 17ADA0 8024C4C0 00000000 */ nop +/* 17ADA4 8024C4C4 46802120 */ cvt.s.w $f4, $f4 +/* 17ADA8 8024C4C8 46022102 */ mul.s $f4, $f4, $f2 +/* 17ADAC 8024C4CC 00000000 */ nop +/* 17ADB0 8024C4D0 E6120058 */ swc1 $f18, 0x58($s0) +/* 17ADB4 8024C4D4 E610005C */ swc1 $f16, 0x5c($s0) +/* 17ADB8 8024C4D8 4600670D */ trunc.w.s $f28, $f12 +/* 17ADBC 8024C4DC 4402E000 */ mfc1 $v0, $f28 +/* 17ADC0 8024C4E0 00000000 */ nop +/* 17ADC4 8024C4E4 A602001E */ sh $v0, 0x1e($s0) +/* 17ADC8 8024C4E8 46040000 */ add.s $f0, $f0, $f4 +/* 17ADCC 8024C4EC 4600470D */ trunc.w.s $f28, $f8 +/* 17ADD0 8024C4F0 4402E000 */ mfc1 $v0, $f28 +/* 17ADD4 8024C4F4 00000000 */ nop +/* 17ADD8 8024C4F8 A6020024 */ sh $v0, 0x24($s0) +/* 17ADDC 8024C4FC 4600070D */ trunc.w.s $f28, $f0 +/* 17ADE0 8024C500 4402E000 */ mfc1 $v0, $f28 +/* 17ADE4 8024C504 00000000 */ nop +/* 17ADE8 8024C508 A6020022 */ sh $v0, 0x22($s0) +/* 17ADEC 8024C50C 4600370D */ trunc.w.s $f28, $f6 +/* 17ADF0 8024C510 4402E000 */ mfc1 $v0, $f28 +/* 17ADF4 8024C514 00000000 */ nop +/* 17ADF8 8024C518 A6020026 */ sh $v0, 0x26($s0) +/* 17ADFC 8024C51C 84820000 */ lh $v0, ($a0) +/* 17AE00 8024C520 94830000 */ lhu $v1, ($a0) +/* 17AE04 8024C524 14400006 */ bnez $v0, .L8024C540 +/* 17AE08 8024C528 2462FFFF */ addiu $v0, $v1, -1 +/* 17AE0C 8024C52C 24020001 */ addiu $v0, $zero, 1 +/* 17AE10 8024C530 3C01802A */ lui $at, 0x802a +/* 17AE14 8024C534 A022F29C */ sb $v0, -0xd64($at) +/* 17AE18 8024C538 08093151 */ j func_8024C544 +/* 17AE1C 8024C53C 00000000 */ nop + +.L8024C540: +/* 17AE20 8024C540 A4820000 */ sh $v0, ($a0) +func_8024C544: +/* 17AE24 8024C544 8FBF001C */ lw $ra, 0x1c($sp) +/* 17AE28 8024C548 8FB00018 */ lw $s0, 0x18($sp) +/* 17AE2C 8024C54C D7BE0048 */ ldc1 $f30, 0x48($sp) +/* 17AE30 8024C550 D7BC0040 */ ldc1 $f28, 0x40($sp) +/* 17AE34 8024C554 D7BA0038 */ ldc1 $f26, 0x38($sp) +/* 17AE38 8024C558 D7B80030 */ ldc1 $f24, 0x30($sp) +/* 17AE3C 8024C55C D7B60028 */ ldc1 $f22, 0x28($sp) +/* 17AE40 8024C560 D7B40020 */ ldc1 $f20, 0x20($sp) +/* 17AE44 8024C564 0000102D */ daddu $v0, $zero, $zero +/* 17AE48 8024C568 03E00008 */ jr $ra +/* 17AE4C 8024C56C 27BD0050 */ addiu $sp, $sp, 0x50 + +/* 17AE50 8024C570 27BDFFB0 */ addiu $sp, $sp, -0x50 +/* 17AE54 8024C574 AFB00018 */ sw $s0, 0x18($sp) +/* 17AE58 8024C578 3C10800B */ lui $s0, 0x800b +/* 17AE5C 8024C57C 261022D8 */ addiu $s0, $s0, 0x22d8 +/* 17AE60 8024C580 AFBF001C */ sw $ra, 0x1c($sp) +/* 17AE64 8024C584 F7BE0048 */ sdc1 $f30, 0x48($sp) +/* 17AE68 8024C588 F7BC0040 */ sdc1 $f28, 0x40($sp) +/* 17AE6C 8024C58C F7BA0038 */ sdc1 $f26, 0x38($sp) +/* 17AE70 8024C590 F7B80030 */ sdc1 $f24, 0x30($sp) +/* 17AE74 8024C594 F7B60028 */ sdc1 $f22, 0x28($sp) +/* 17AE78 8024C598 10A00036 */ beqz $a1, .L8024C674 +/* 17AE7C 8024C59C F7B40020 */ sdc1 $f20, 0x20($sp) +/* 17AE80 8024C5A0 3C02802A */ lui $v0, 0x802a +/* 17AE84 8024C5A4 8042F2A4 */ lb $v0, -0xd5c($v0) +/* 17AE88 8024C5A8 1040000A */ beqz $v0, .L8024C5D4 +/* 17AE8C 8024C5AC 00000000 */ nop +/* 17AE90 8024C5B0 C6000054 */ lwc1 $f0, 0x54($s0) +/* 17AE94 8024C5B4 C6020058 */ lwc1 $f2, 0x58($s0) +/* 17AE98 8024C5B8 C604005C */ lwc1 $f4, 0x5c($s0) +/* 17AE9C 8024C5BC 3C01802A */ lui $at, 0x802a +/* 17AEA0 8024C5C0 E420F270 */ swc1 $f0, -0xd90($at) +/* 17AEA4 8024C5C4 3C01802A */ lui $at, 0x802a +/* 17AEA8 8024C5C8 E422F274 */ swc1 $f2, -0xd8c($at) +/* 17AEAC 8024C5CC 3C01802A */ lui $at, 0x802a +/* 17AEB0 8024C5D0 E424F278 */ swc1 $f4, -0xd88($at) +.L8024C5D4: +/* 17AEB4 8024C5D4 8602001E */ lh $v0, 0x1e($s0) +/* 17AEB8 8024C5D8 86040026 */ lh $a0, 0x26($s0) +/* 17AEBC 8024C5DC 86030024 */ lh $v1, 0x24($s0) +/* 17AEC0 8024C5E0 44820000 */ mtc1 $v0, $f0 +/* 17AEC4 8024C5E4 00000000 */ nop +/* 17AEC8 8024C5E8 46800020 */ cvt.s.w $f0, $f0 +/* 17AECC 8024C5EC 86020022 */ lh $v0, 0x22($s0) +/* 17AED0 8024C5F0 3C01802A */ lui $at, 0x802a +/* 17AED4 8024C5F4 E420F28C */ swc1 $f0, -0xd74($at) +/* 17AED8 8024C5F8 44820000 */ mtc1 $v0, $f0 +/* 17AEDC 8024C5FC 00000000 */ nop +/* 17AEE0 8024C600 46800020 */ cvt.s.w $f0, $f0 +/* 17AEE4 8024C604 3C01802A */ lui $at, 0x802a +/* 17AEE8 8024C608 E420F294 */ swc1 $f0, -0xd6c($at) +/* 17AEEC 8024C60C 44830000 */ mtc1 $v1, $f0 +/* 17AEF0 8024C610 00000000 */ nop +/* 17AEF4 8024C614 46800020 */ cvt.s.w $f0, $f0 +/* 17AEF8 8024C618 3C01802A */ lui $at, 0x802a +/* 17AEFC 8024C61C E420F290 */ swc1 $f0, -0xd70($at) +/* 17AF00 8024C620 04820001 */ bltzl $a0, .L8024C628 +/* 17AF04 8024C624 248400FF */ addiu $a0, $a0, 0xff +.L8024C628: +/* 17AF08 8024C628 00041203 */ sra $v0, $a0, 8 +/* 17AF0C 8024C62C C6020054 */ lwc1 $f2, 0x54($s0) +/* 17AF10 8024C630 C6040058 */ lwc1 $f4, 0x58($s0) +/* 17AF14 8024C634 C606005C */ lwc1 $f6, 0x5c($s0) +/* 17AF18 8024C638 3C03802A */ lui $v1, 0x802a +/* 17AF1C 8024C63C 9463F29E */ lhu $v1, -0xd62($v1) +/* 17AF20 8024C640 44820000 */ mtc1 $v0, $f0 +/* 17AF24 8024C644 00000000 */ nop +/* 17AF28 8024C648 46800020 */ cvt.s.w $f0, $f0 +/* 17AF2C 8024C64C 3C01802A */ lui $at, 0x802a +/* 17AF30 8024C650 E420F298 */ swc1 $f0, -0xd68($at) +/* 17AF34 8024C654 3C01802A */ lui $at, 0x802a +/* 17AF38 8024C658 E422F2A8 */ swc1 $f2, -0xd58($at) +/* 17AF3C 8024C65C 3C01802A */ lui $at, 0x802a +/* 17AF40 8024C660 E424F2AC */ swc1 $f4, -0xd54($at) +/* 17AF44 8024C664 3C01802A */ lui $at, 0x802a +/* 17AF48 8024C668 E426F2B0 */ swc1 $f6, -0xd50($at) +/* 17AF4C 8024C66C 3C01802A */ lui $at, 0x802a +/* 17AF50 8024C670 A423F2A0 */ sh $v1, -0xd60($at) +.L8024C674: +/* 17AF54 8024C674 3C01802A */ lui $at, 0x802a +/* 17AF58 8024C678 C43CF274 */ lwc1 $f28, -0xd8c($at) +/* 17AF5C 8024C67C 3C01802A */ lui $at, 0x802a +/* 17AF60 8024C680 C43AF270 */ lwc1 $f26, -0xd90($at) +/* 17AF64 8024C684 3C02802A */ lui $v0, 0x802a +/* 17AF68 8024C688 8042F2A5 */ lb $v0, -0xd5b($v0) +/* 17AF6C 8024C68C 3C01802A */ lui $at, 0x802a +/* 17AF70 8024C690 C43EF278 */ lwc1 $f30, -0xd88($at) +/* 17AF74 8024C694 14400027 */ bnez $v0, .L8024C734 +/* 17AF78 8024C698 E7BC0010 */ swc1 $f28, 0x10($sp) +/* 17AF7C 8024C69C 3C02802A */ lui $v0, 0x802a +/* 17AF80 8024C6A0 8442F29E */ lh $v0, -0xd62($v0) +/* 17AF84 8024C6A4 3C03802A */ lui $v1, 0x802a +/* 17AF88 8024C6A8 8463F2A0 */ lh $v1, -0xd60($v1) +/* 17AF8C 8024C6AC 3C013F80 */ lui $at, 0x3f80 +/* 17AF90 8024C6B0 4481C000 */ mtc1 $at, $f24 +/* 17AF94 8024C6B4 44822000 */ mtc1 $v0, $f4 +/* 17AF98 8024C6B8 00000000 */ nop +/* 17AF9C 8024C6BC 46802120 */ cvt.s.w $f4, $f4 +/* 17AFA0 8024C6C0 44830000 */ mtc1 $v1, $f0 +/* 17AFA4 8024C6C4 00000000 */ nop +/* 17AFA8 8024C6C8 46800020 */ cvt.s.w $f0, $f0 +/* 17AFAC 8024C6CC 46002103 */ div.s $f4, $f4, $f0 +/* 17AFB0 8024C6D0 4604C301 */ sub.s $f12, $f24, $f4 +/* 17AFB4 8024C6D4 3C014049 */ lui $at, 0x4049 +/* 17AFB8 8024C6D8 34210FD0 */ ori $at, $at, 0xfd0 +/* 17AFBC 8024C6DC 4481B000 */ mtc1 $at, $f22 +/* 17AFC0 8024C6E0 00000000 */ nop +/* 17AFC4 8024C6E4 46166302 */ mul.s $f12, $f12, $f22 +/* 17AFC8 8024C6E8 00000000 */ nop +/* 17AFCC 8024C6EC 3C013F00 */ lui $at, 0x3f00 +/* 17AFD0 8024C6F0 4481A000 */ mtc1 $at, $f20 +/* 17AFD4 8024C6F4 00000000 */ nop +/* 17AFD8 8024C6F8 46146302 */ mul.s $f12, $f12, $f20 +/* 17AFDC 8024C6FC 0C00A85B */ jal sin_rad +/* 17AFE0 8024C700 00000000 */ nop +/* 17AFE4 8024C704 46160002 */ mul.s $f0, $f0, $f22 +/* 17AFE8 8024C708 00000000 */ nop +/* 17AFEC 8024C70C 46140302 */ mul.s $f12, $f0, $f20 +/* 17AFF0 8024C710 0C00A85B */ jal sin_rad +/* 17AFF4 8024C714 00000000 */ nop +/* 17AFF8 8024C718 46160002 */ mul.s $f0, $f0, $f22 +/* 17AFFC 8024C71C 00000000 */ nop +/* 17B000 8024C720 46140302 */ mul.s $f12, $f0, $f20 +/* 17B004 8024C724 0C00A85B */ jal sin_rad +/* 17B008 8024C728 00000000 */ nop +/* 17B00C 8024C72C 080931D8 */ j func_8024C760 +/* 17B010 8024C730 4600C101 */ sub.s $f4, $f24, $f0 + +.L8024C734: +/* 17B014 8024C734 3C02802A */ lui $v0, 0x802a +/* 17B018 8024C738 8442F29E */ lh $v0, -0xd62($v0) +/* 17B01C 8024C73C 3C03802A */ lui $v1, 0x802a +/* 17B020 8024C740 8463F2A0 */ lh $v1, -0xd60($v1) +/* 17B024 8024C744 44822000 */ mtc1 $v0, $f4 +/* 17B028 8024C748 00000000 */ nop +/* 17B02C 8024C74C 46802120 */ cvt.s.w $f4, $f4 +/* 17B030 8024C750 44830000 */ mtc1 $v1, $f0 +/* 17B034 8024C754 00000000 */ nop +/* 17B038 8024C758 46800020 */ cvt.s.w $f0, $f0 +/* 17B03C 8024C75C 46002103 */ div.s $f4, $f4, $f0 +func_8024C760: +/* 17B040 8024C760 3C01802A */ lui $at, 0x802a +/* 17B044 8024C764 C434F2A8 */ lwc1 $f20, -0xd58($at) +/* 17B048 8024C768 4604A502 */ mul.s $f20, $f20, $f4 +/* 17B04C 8024C76C 00000000 */ nop +/* 17B050 8024C770 3C01802A */ lui $at, 0x802a +/* 17B054 8024C774 C432F2AC */ lwc1 $f18, -0xd54($at) +/* 17B058 8024C778 46049482 */ mul.s $f18, $f18, $f4 +/* 17B05C 8024C77C 00000000 */ nop +/* 17B060 8024C780 3C01802A */ lui $at, 0x802a +/* 17B064 8024C784 C430F2B0 */ lwc1 $f16, -0xd50($at) +/* 17B068 8024C788 46048402 */ mul.s $f16, $f16, $f4 +/* 17B06C 8024C78C 00000000 */ nop +/* 17B070 8024C790 3C01802A */ lui $at, 0x802a +/* 17B074 8024C794 C426F298 */ lwc1 $f6, -0xd68($at) +/* 17B078 8024C798 46043182 */ mul.s $f6, $f6, $f4 +/* 17B07C 8024C79C 00000000 */ nop +/* 17B080 8024C7A0 3C01802A */ lui $at, 0x802a +/* 17B084 8024C7A4 C42CF28C */ lwc1 $f12, -0xd74($at) +/* 17B088 8024C7A8 46046302 */ mul.s $f12, $f12, $f4 +/* 17B08C 8024C7AC 00000000 */ nop +/* 17B090 8024C7B0 3C01802A */ lui $at, 0x802a +/* 17B094 8024C7B4 C428F290 */ lwc1 $f8, -0xd70($at) +/* 17B098 8024C7B8 46044202 */ mul.s $f8, $f8, $f4 +/* 17B09C 8024C7BC 00000000 */ nop +/* 17B0A0 8024C7C0 3C013F80 */ lui $at, 0x3f80 +/* 17B0A4 8024C7C4 44811000 */ mtc1 $at, $f2 +/* 17B0A8 8024C7C8 00000000 */ nop +/* 17B0AC 8024C7CC 46041081 */ sub.s $f2, $f2, $f4 +/* 17B0B0 8024C7D0 4602D682 */ mul.s $f26, $f26, $f2 +/* 17B0B4 8024C7D4 00000000 */ nop +/* 17B0B8 8024C7D8 C7BC0010 */ lwc1 $f28, 0x10($sp) +/* 17B0BC 8024C7DC 4602E602 */ mul.s $f24, $f28, $f2 +/* 17B0C0 8024C7E0 00000000 */ nop +/* 17B0C4 8024C7E4 3C02802A */ lui $v0, 0x802a +/* 17B0C8 8024C7E8 8442F286 */ lh $v0, -0xd7a($v0) +/* 17B0CC 8024C7EC 44820000 */ mtc1 $v0, $f0 +/* 17B0D0 8024C7F0 00000000 */ nop +/* 17B0D4 8024C7F4 46800020 */ cvt.s.w $f0, $f0 +/* 17B0D8 8024C7F8 46020002 */ mul.s $f0, $f0, $f2 +/* 17B0DC 8024C7FC 00000000 */ nop +/* 17B0E0 8024C800 4602F582 */ mul.s $f22, $f30, $f2 +/* 17B0E4 8024C804 00000000 */ nop +/* 17B0E8 8024C808 3C02802A */ lui $v0, 0x802a +/* 17B0EC 8024C80C 8442F280 */ lh $v0, -0xd80($v0) +/* 17B0F0 8024C810 44827000 */ mtc1 $v0, $f14 +/* 17B0F4 8024C814 00000000 */ nop +/* 17B0F8 8024C818 468073A0 */ cvt.s.w $f14, $f14 +/* 17B0FC 8024C81C 46027382 */ mul.s $f14, $f14, $f2 +/* 17B100 8024C820 00000000 */ nop +/* 17B104 8024C824 3C02802A */ lui $v0, 0x802a +/* 17B108 8024C828 8442F282 */ lh $v0, -0xd7e($v0) +/* 17B10C 8024C82C 44825000 */ mtc1 $v0, $f10 +/* 17B110 8024C830 00000000 */ nop +/* 17B114 8024C834 468052A0 */ cvt.s.w $f10, $f10 +/* 17B118 8024C838 46025282 */ mul.s $f10, $f10, $f2 +/* 17B11C 8024C83C 00000000 */ nop +/* 17B120 8024C840 46003180 */ add.s $f6, $f6, $f0 +/* 17B124 8024C844 3C014380 */ lui $at, 0x4380 +/* 17B128 8024C848 44810000 */ mtc1 $at, $f0 +/* 17B12C 8024C84C 00000000 */ nop +/* 17B130 8024C850 46003182 */ mul.s $f6, $f6, $f0 +/* 17B134 8024C854 00000000 */ nop +/* 17B138 8024C858 3C01802A */ lui $at, 0x802a +/* 17B13C 8024C85C C420F294 */ lwc1 $f0, -0xd6c($at) +/* 17B140 8024C860 46040002 */ mul.s $f0, $f0, $f4 +/* 17B144 8024C864 00000000 */ nop +/* 17B148 8024C868 461AA500 */ add.s $f20, $f20, $f26 +/* 17B14C 8024C86C 46189480 */ add.s $f18, $f18, $f24 +/* 17B150 8024C870 46168400 */ add.s $f16, $f16, $f22 +/* 17B154 8024C874 460E6300 */ add.s $f12, $f12, $f14 +/* 17B158 8024C878 3C04802A */ lui $a0, 0x802a +/* 17B15C 8024C87C 2484F29E */ addiu $a0, $a0, -0xd62 +/* 17B160 8024C880 3C02802A */ lui $v0, 0x802a +/* 17B164 8024C884 8442F284 */ lh $v0, -0xd7c($v0) +/* 17B168 8024C888 460A4200 */ add.s $f8, $f8, $f10 +/* 17B16C 8024C88C E6140054 */ swc1 $f20, 0x54($s0) +/* 17B170 8024C890 44822000 */ mtc1 $v0, $f4 +/* 17B174 8024C894 00000000 */ nop +/* 17B178 8024C898 46802120 */ cvt.s.w $f4, $f4 +/* 17B17C 8024C89C 46022102 */ mul.s $f4, $f4, $f2 +/* 17B180 8024C8A0 00000000 */ nop +/* 17B184 8024C8A4 E6120058 */ swc1 $f18, 0x58($s0) +/* 17B188 8024C8A8 E610005C */ swc1 $f16, 0x5c($s0) +/* 17B18C 8024C8AC 4600670D */ trunc.w.s $f28, $f12 +/* 17B190 8024C8B0 4402E000 */ mfc1 $v0, $f28 +/* 17B194 8024C8B4 00000000 */ nop +/* 17B198 8024C8B8 A602001E */ sh $v0, 0x1e($s0) +/* 17B19C 8024C8BC 46040000 */ add.s $f0, $f0, $f4 +/* 17B1A0 8024C8C0 4600470D */ trunc.w.s $f28, $f8 +/* 17B1A4 8024C8C4 4402E000 */ mfc1 $v0, $f28 +/* 17B1A8 8024C8C8 00000000 */ nop +/* 17B1AC 8024C8CC A6020024 */ sh $v0, 0x24($s0) +/* 17B1B0 8024C8D0 4600070D */ trunc.w.s $f28, $f0 +/* 17B1B4 8024C8D4 4402E000 */ mfc1 $v0, $f28 +/* 17B1B8 8024C8D8 00000000 */ nop +/* 17B1BC 8024C8DC A6020022 */ sh $v0, 0x22($s0) +/* 17B1C0 8024C8E0 4600370D */ trunc.w.s $f28, $f6 +/* 17B1C4 8024C8E4 4402E000 */ mfc1 $v0, $f28 +/* 17B1C8 8024C8E8 00000000 */ nop +/* 17B1CC 8024C8EC A6020026 */ sh $v0, 0x26($s0) +/* 17B1D0 8024C8F0 84820000 */ lh $v0, ($a0) +/* 17B1D4 8024C8F4 94830000 */ lhu $v1, ($a0) +/* 17B1D8 8024C8F8 14400006 */ bnez $v0, .L8024C914 +/* 17B1DC 8024C8FC 2462FFFF */ addiu $v0, $v1, -1 +/* 17B1E0 8024C900 24020001 */ addiu $v0, $zero, 1 +/* 17B1E4 8024C904 3C01802A */ lui $at, 0x802a +/* 17B1E8 8024C908 A022F29C */ sb $v0, -0xd64($at) +/* 17B1EC 8024C90C 08093246 */ j func_8024C918 +/* 17B1F0 8024C910 00000000 */ nop + +.L8024C914: +/* 17B1F4 8024C914 A4820000 */ sh $v0, ($a0) +func_8024C918: +/* 17B1F8 8024C918 8FBF001C */ lw $ra, 0x1c($sp) +/* 17B1FC 8024C91C 8FB00018 */ lw $s0, 0x18($sp) +/* 17B200 8024C920 D7BE0048 */ ldc1 $f30, 0x48($sp) +/* 17B204 8024C924 D7BC0040 */ ldc1 $f28, 0x40($sp) +/* 17B208 8024C928 D7BA0038 */ ldc1 $f26, 0x38($sp) +/* 17B20C 8024C92C D7B80030 */ ldc1 $f24, 0x30($sp) +/* 17B210 8024C930 D7B60028 */ ldc1 $f22, 0x28($sp) +/* 17B214 8024C934 D7B40020 */ ldc1 $f20, 0x20($sp) +/* 17B218 8024C938 0000102D */ daddu $v0, $zero, $zero +/* 17B21C 8024C93C 03E00008 */ jr $ra +/* 17B220 8024C940 27BD0050 */ addiu $sp, $sp, 0x50 + +/* 17B224 8024C944 27BDFFC0 */ addiu $sp, $sp, -0x40 +/* 17B228 8024C948 AFB00030 */ sw $s0, 0x30($sp) +/* 17B22C 8024C94C 3C10800B */ lui $s0, 0x800b +/* 17B230 8024C950 261022D8 */ addiu $s0, $s0, 0x22d8 +/* 17B234 8024C954 3C06800E */ lui $a2, 0x800e +/* 17B238 8024C958 24C6C070 */ addiu $a2, $a2, -0x3f90 +/* 17B23C 8024C95C AFBF0034 */ sw $ra, 0x34($sp) +/* 17B240 8024C960 10A0001C */ beqz $a1, .L8024C9D4 +/* 17B244 8024C964 F7B40038 */ sdc1 $f20, 0x38($sp) +/* 17B248 8024C968 C6000054 */ lwc1 $f0, 0x54($s0) +/* 17B24C 8024C96C C6020058 */ lwc1 $f2, 0x58($s0) +/* 17B250 8024C970 C604005C */ lwc1 $f4, 0x5c($s0) +/* 17B254 8024C974 8602001E */ lh $v0, 0x1e($s0) +/* 17B258 8024C978 86030022 */ lh $v1, 0x22($s0) +/* 17B25C 8024C97C 3C01802A */ lui $at, 0x802a +/* 17B260 8024C980 E420F270 */ swc1 $f0, -0xd90($at) +/* 17B264 8024C984 44820000 */ mtc1 $v0, $f0 +/* 17B268 8024C988 00000000 */ nop +/* 17B26C 8024C98C 46800020 */ cvt.s.w $f0, $f0 +/* 17B270 8024C990 86020024 */ lh $v0, 0x24($s0) +/* 17B274 8024C994 3C01802A */ lui $at, 0x802a +/* 17B278 8024C998 E422F274 */ swc1 $f2, -0xd8c($at) +/* 17B27C 8024C99C 3C01802A */ lui $at, 0x802a +/* 17B280 8024C9A0 E424F278 */ swc1 $f4, -0xd88($at) +/* 17B284 8024C9A4 3C01802A */ lui $at, 0x802a +/* 17B288 8024C9A8 E420F288 */ swc1 $f0, -0xd78($at) +/* 17B28C 8024C9AC 44820000 */ mtc1 $v0, $f0 +/* 17B290 8024C9B0 00000000 */ nop +/* 17B294 8024C9B4 46800020 */ cvt.s.w $f0, $f0 +/* 17B298 8024C9B8 3C01802A */ lui $at, 0x802a +/* 17B29C 8024C9BC E420F290 */ swc1 $f0, -0xd70($at) +/* 17B2A0 8024C9C0 44830000 */ mtc1 $v1, $f0 +/* 17B2A4 8024C9C4 00000000 */ nop +/* 17B2A8 8024C9C8 46800020 */ cvt.s.w $f0, $f0 +/* 17B2AC 8024C9CC 3C01802A */ lui $at, 0x802a +/* 17B2B0 8024C9D0 E420F294 */ swc1 $f0, -0xd6c($at) +.L8024C9D4: +/* 17B2B4 8024C9D4 3C02802A */ lui $v0, 0x802a +/* 17B2B8 8024C9D8 9442F27C */ lhu $v0, -0xd84($v0) +/* 17B2BC 8024C9DC 4480A000 */ mtc1 $zero, $f20 +/* 17B2C0 8024C9E0 30430700 */ andi $v1, $v0, 0x700 +/* 17B2C4 8024C9E4 304400FF */ andi $a0, $v0, 0xff +/* 17B2C8 8024C9E8 24020100 */ addiu $v0, $zero, 0x100 +/* 17B2CC 8024C9EC 1062001C */ beq $v1, $v0, .L8024CA60 +/* 17B2D0 8024C9F0 28620101 */ slti $v0, $v1, 0x101 +/* 17B2D4 8024C9F4 50400005 */ beql $v0, $zero, .L8024CA0C +/* 17B2D8 8024C9F8 24020200 */ addiu $v0, $zero, 0x200 +/* 17B2DC 8024C9FC 10600007 */ beqz $v1, .L8024CA1C +/* 17B2E0 8024CA00 27A20020 */ addiu $v0, $sp, 0x20 +/* 17B2E4 8024CA04 080932A3 */ j func_8024CA8C +/* 17B2E8 8024CA08 AFA20010 */ sw $v0, 0x10($sp) + +.L8024CA0C: +/* 17B2EC 8024CA0C 10620017 */ beq $v1, $v0, .L8024CA6C +/* 17B2F0 8024CA10 27A20020 */ addiu $v0, $sp, 0x20 +/* 17B2F4 8024CA14 080932A3 */ j func_8024CA8C +/* 17B2F8 8024CA18 AFA20010 */ sw $v0, 0x10($sp) + +.L8024CA1C: +/* 17B2FC 8024CA1C 8CC400D8 */ lw $a0, 0xd8($a2) +/* 17B300 8024CA20 1080004C */ beqz $a0, .L8024CB54 +/* 17B304 8024CA24 0000102D */ daddu $v0, $zero, $zero +/* 17B308 8024CA28 3C028011 */ lui $v0, 0x8011 +/* 17B30C 8024CA2C 2442EFC8 */ addiu $v0, $v0, -0x1038 +/* 17B310 8024CA30 944200B0 */ lhu $v0, 0xb0($v0) +/* 17B314 8024CA34 C4820148 */ lwc1 $f2, 0x148($a0) +/* 17B318 8024CA38 00021400 */ sll $v0, $v0, 0x10 +/* 17B31C 8024CA3C 00021C03 */ sra $v1, $v0, 0x10 +/* 17B320 8024CA40 000217C2 */ srl $v0, $v0, 0x1f +/* 17B324 8024CA44 00621821 */ addu $v1, $v1, $v0 +/* 17B328 8024CA48 00031843 */ sra $v1, $v1, 1 +/* 17B32C 8024CA4C 44830000 */ mtc1 $v1, $f0 +/* 17B330 8024CA50 00000000 */ nop +/* 17B334 8024CA54 46800020 */ cvt.s.w $f0, $f0 +/* 17B338 8024CA58 080932A1 */ j func_8024CA84 +/* 17B33C 8024CA5C 46001500 */ add.s $f20, $f2, $f0 + +.L8024CA60: +/* 17B340 8024CA60 8CC600DC */ lw $a2, 0xdc($a2) +/* 17B344 8024CA64 0809329E */ j func_8024CA78 +/* 17B348 8024CA68 00000000 */ nop + +.L8024CA6C: +/* 17B34C 8024CA6C 00041080 */ sll $v0, $a0, 2 +/* 17B350 8024CA70 00461021 */ addu $v0, $v0, $a2 +/* 17B354 8024CA74 8C4600E0 */ lw $a2, 0xe0($v0) +func_8024CA78: +/* 17B358 8024CA78 10C00036 */ beqz $a2, .L8024CB54 +/* 17B35C 8024CA7C 0000102D */ daddu $v0, $zero, $zero +/* 17B360 8024CA80 C4D40148 */ lwc1 $f20, 0x148($a2) +func_8024CA84: +/* 17B364 8024CA84 27A20020 */ addiu $v0, $sp, 0x20 +/* 17B368 8024CA88 AFA20010 */ sw $v0, 0x10($sp) +func_8024CA8C: +/* 17B36C 8024CA8C 27A20024 */ addiu $v0, $sp, 0x24 +/* 17B370 8024CA90 AFA20014 */ sw $v0, 0x14($sp) +/* 17B374 8024CA94 27A20028 */ addiu $v0, $sp, 0x28 +/* 17B378 8024CA98 3C05802A */ lui $a1, 0x802a +/* 17B37C 8024CA9C 8CA5F270 */ lw $a1, -0xd90($a1) +/* 17B380 8024CAA0 4406A000 */ mfc1 $a2, $f20 +/* 17B384 8024CAA4 3C07802A */ lui $a3, 0x802a +/* 17B388 8024CAA8 8CE7F278 */ lw $a3, -0xd88($a3) +/* 17B38C 8024CAAC 24040001 */ addiu $a0, $zero, 1 +/* 17B390 8024CAB0 0C00B94E */ jal get_screen_coords +/* 17B394 8024CAB4 AFA20018 */ sw $v0, 0x18($sp) +/* 17B398 8024CAB8 8FA20024 */ lw $v0, 0x24($sp) +/* 17B39C 8024CABC 28420064 */ slti $v0, $v0, 0x64 +/* 17B3A0 8024CAC0 10400005 */ beqz $v0, .L8024CAD8 +/* 17B3A4 8024CAC4 00000000 */ nop +/* 17B3A8 8024CAC8 3C0141C8 */ lui $at, 0x41c8 +/* 17B3AC 8024CACC 44810000 */ mtc1 $at, $f0 +/* 17B3B0 8024CAD0 00000000 */ nop +/* 17B3B4 8024CAD4 4600A500 */ add.s $f20, $f20, $f0 +.L8024CAD8: +/* 17B3B8 8024CAD8 3C01802A */ lui $at, 0x802a +/* 17B3BC 8024CADC C420F274 */ lwc1 $f0, -0xd8c($at) +/* 17B3C0 8024CAE0 4600A03C */ c.lt.s $f20, $f0 +/* 17B3C4 8024CAE4 00000000 */ nop +/* 17B3C8 8024CAE8 45030001 */ bc1tl .L8024CAF0 +/* 17B3CC 8024CAEC 46000506 */ mov.s $f20, $f0 +.L8024CAF0: +/* 17B3D0 8024CAF0 C6060058 */ lwc1 $f6, 0x58($s0) +/* 17B3D4 8024CAF4 4606A101 */ sub.s $f4, $f20, $f6 +/* 17B3D8 8024CAF8 3C01802A */ lui $at, 0x802a +/* 17B3DC 8024CAFC D422CC28 */ ldc1 $f2, -0x33d8($at) +/* 17B3E0 8024CB00 46002005 */ abs.s $f0, $f4 +/* 17B3E4 8024CB04 46000021 */ cvt.d.s $f0, $f0 +/* 17B3E8 8024CB08 4622003C */ c.lt.d $f0, $f2 +/* 17B3EC 8024CB0C 00000000 */ nop +/* 17B3F0 8024CB10 45000009 */ bc1f .L8024CB38 +/* 17B3F4 8024CB14 00000000 */ nop +/* 17B3F8 8024CB18 44800000 */ mtc1 $zero, $f0 +/* 17B3FC 8024CB1C 00000000 */ nop +/* 17B400 8024CB20 46002032 */ c.eq.s $f4, $f0 +/* 17B404 8024CB24 00000000 */ nop +/* 17B408 8024CB28 45020009 */ bc1fl .L8024CB50 +/* 17B40C 8024CB2C E6140058 */ swc1 $f20, 0x58($s0) +/* 17B410 8024CB30 080932D5 */ j func_8024CB54 +/* 17B414 8024CB34 0000102D */ daddu $v0, $zero, $zero + +.L8024CB38: +/* 17B418 8024CB38 3C0140A0 */ lui $at, 0x40a0 +/* 17B41C 8024CB3C 44810000 */ mtc1 $at, $f0 +/* 17B420 8024CB40 00000000 */ nop +/* 17B424 8024CB44 46002003 */ div.s $f0, $f4, $f0 +/* 17B428 8024CB48 46003000 */ add.s $f0, $f6, $f0 +/* 17B42C 8024CB4C E6000058 */ swc1 $f0, 0x58($s0) +.L8024CB50: +/* 17B430 8024CB50 0000102D */ daddu $v0, $zero, $zero +func_8024CB54: +.L8024CB54: +/* 17B434 8024CB54 8FBF0034 */ lw $ra, 0x34($sp) +/* 17B438 8024CB58 8FB00030 */ lw $s0, 0x30($sp) +/* 17B43C 8024CB5C D7B40038 */ ldc1 $f20, 0x38($sp) +/* 17B440 8024CB60 03E00008 */ jr $ra +/* 17B444 8024CB64 27BD0040 */ addiu $sp, $sp, 0x40 + +/* 17B448 8024CB68 27BDFFB0 */ addiu $sp, $sp, -0x50 +/* 17B44C 8024CB6C AFB00030 */ sw $s0, 0x30($sp) +/* 17B450 8024CB70 3C10800B */ lui $s0, 0x800b +/* 17B454 8024CB74 261022D8 */ addiu $s0, $s0, 0x22d8 +/* 17B458 8024CB78 3C02802A */ lui $v0, 0x802a +/* 17B45C 8024CB7C 9442F27C */ lhu $v0, -0xd84($v0) +/* 17B460 8024CB80 3C04800E */ lui $a0, 0x800e +/* 17B464 8024CB84 2484C070 */ addiu $a0, $a0, -0x3f90 +/* 17B468 8024CB88 AFBF0034 */ sw $ra, 0x34($sp) +/* 17B46C 8024CB8C F7B80048 */ sdc1 $f24, 0x48($sp) +/* 17B470 8024CB90 F7B60040 */ sdc1 $f22, 0x40($sp) +/* 17B474 8024CB94 F7B40038 */ sdc1 $f20, 0x38($sp) +/* 17B478 8024CB98 30430700 */ andi $v1, $v0, 0x700 +/* 17B47C 8024CB9C 304600FF */ andi $a2, $v0, 0xff +/* 17B480 8024CBA0 24020100 */ addiu $v0, $zero, 0x100 +/* 17B484 8024CBA4 10620018 */ beq $v1, $v0, .L8024CC08 +/* 17B488 8024CBA8 28620101 */ slti $v0, $v1, 0x101 +/* 17B48C 8024CBAC 10400019 */ beqz $v0, .L8024CC14 +/* 17B490 8024CBB0 00061080 */ sll $v0, $a2, 2 +/* 17B494 8024CBB4 14600018 */ bnez $v1, .L8024CC18 +/* 17B498 8024CBB8 00821021 */ addu $v0, $a0, $v0 +/* 17B49C 8024CBBC 8C8400D8 */ lw $a0, 0xd8($a0) +/* 17B4A0 8024CBC0 108000AF */ beqz $a0, .L8024CE80 +/* 17B4A4 8024CBC4 0000102D */ daddu $v0, $zero, $zero +/* 17B4A8 8024CBC8 3C028011 */ lui $v0, 0x8011 +/* 17B4AC 8024CBCC 2442EFC8 */ addiu $v0, $v0, -0x1038 +/* 17B4B0 8024CBD0 C4940144 */ lwc1 $f20, 0x144($a0) +/* 17B4B4 8024CBD4 944200B0 */ lhu $v0, 0xb0($v0) +/* 17B4B8 8024CBD8 C498014C */ lwc1 $f24, 0x14c($a0) +/* 17B4BC 8024CBDC C4820148 */ lwc1 $f2, 0x148($a0) +/* 17B4C0 8024CBE0 00021400 */ sll $v0, $v0, 0x10 +/* 17B4C4 8024CBE4 00021C03 */ sra $v1, $v0, 0x10 +/* 17B4C8 8024CBE8 000217C2 */ srl $v0, $v0, 0x1f +/* 17B4CC 8024CBEC 00621821 */ addu $v1, $v1, $v0 +/* 17B4D0 8024CBF0 00031843 */ sra $v1, $v1, 1 +/* 17B4D4 8024CBF4 44830000 */ mtc1 $v1, $f0 +/* 17B4D8 8024CBF8 00000000 */ nop +/* 17B4DC 8024CBFC 46800020 */ cvt.s.w $f0, $f0 +/* 17B4E0 8024CC00 0809330C */ j func_8024CC30 +/* 17B4E4 8024CC04 46001580 */ add.s $f22, $f2, $f0 + +.L8024CC08: +/* 17B4E8 8024CC08 8C8200DC */ lw $v0, 0xdc($a0) +/* 17B4EC 8024CC0C 08093307 */ j func_8024CC1C +/* 17B4F0 8024CC10 00000000 */ nop + +.L8024CC14: +/* 17B4F4 8024CC14 00821021 */ addu $v0, $a0, $v0 +.L8024CC18: +/* 17B4F8 8024CC18 8C4200E0 */ lw $v0, 0xe0($v0) +func_8024CC1C: +/* 17B4FC 8024CC1C 50400098 */ beql $v0, $zero, .L8024CE80 +/* 17B500 8024CC20 0000102D */ daddu $v0, $zero, $zero +/* 17B504 8024CC24 C4540144 */ lwc1 $f20, 0x144($v0) +/* 17B508 8024CC28 C4560148 */ lwc1 $f22, 0x148($v0) +/* 17B50C 8024CC2C C458014C */ lwc1 $f24, 0x14c($v0) +func_8024CC30: +/* 17B510 8024CC30 10A0001D */ beqz $a1, .L8024CCA8 +/* 17B514 8024CC34 27A20020 */ addiu $v0, $sp, 0x20 +/* 17B518 8024CC38 C6000054 */ lwc1 $f0, 0x54($s0) +/* 17B51C 8024CC3C C6020058 */ lwc1 $f2, 0x58($s0) +/* 17B520 8024CC40 C604005C */ lwc1 $f4, 0x5c($s0) +/* 17B524 8024CC44 8602001E */ lh $v0, 0x1e($s0) +/* 17B528 8024CC48 86030022 */ lh $v1, 0x22($s0) +/* 17B52C 8024CC4C 3C01802A */ lui $at, 0x802a +/* 17B530 8024CC50 E420F270 */ swc1 $f0, -0xd90($at) +/* 17B534 8024CC54 44820000 */ mtc1 $v0, $f0 +/* 17B538 8024CC58 00000000 */ nop +/* 17B53C 8024CC5C 46800020 */ cvt.s.w $f0, $f0 +/* 17B540 8024CC60 86020024 */ lh $v0, 0x24($s0) +/* 17B544 8024CC64 3C01802A */ lui $at, 0x802a +/* 17B548 8024CC68 E422F274 */ swc1 $f2, -0xd8c($at) +/* 17B54C 8024CC6C 3C01802A */ lui $at, 0x802a +/* 17B550 8024CC70 E424F278 */ swc1 $f4, -0xd88($at) +/* 17B554 8024CC74 3C01802A */ lui $at, 0x802a +/* 17B558 8024CC78 E420F288 */ swc1 $f0, -0xd78($at) +/* 17B55C 8024CC7C 44820000 */ mtc1 $v0, $f0 +/* 17B560 8024CC80 00000000 */ nop +/* 17B564 8024CC84 46800020 */ cvt.s.w $f0, $f0 +/* 17B568 8024CC88 3C01802A */ lui $at, 0x802a +/* 17B56C 8024CC8C E420F290 */ swc1 $f0, -0xd70($at) +/* 17B570 8024CC90 44830000 */ mtc1 $v1, $f0 +/* 17B574 8024CC94 00000000 */ nop +/* 17B578 8024CC98 46800020 */ cvt.s.w $f0, $f0 +/* 17B57C 8024CC9C 3C01802A */ lui $at, 0x802a +/* 17B580 8024CCA0 E420F294 */ swc1 $f0, -0xd6c($at) +/* 17B584 8024CCA4 27A20020 */ addiu $v0, $sp, 0x20 +.L8024CCA8: +/* 17B588 8024CCA8 AFA20010 */ sw $v0, 0x10($sp) +/* 17B58C 8024CCAC 27A20024 */ addiu $v0, $sp, 0x24 +/* 17B590 8024CCB0 AFA20014 */ sw $v0, 0x14($sp) +/* 17B594 8024CCB4 27A20028 */ addiu $v0, $sp, 0x28 +/* 17B598 8024CCB8 4405A000 */ mfc1 $a1, $f20 +/* 17B59C 8024CCBC 4406B000 */ mfc1 $a2, $f22 +/* 17B5A0 8024CCC0 4407C000 */ mfc1 $a3, $f24 +/* 17B5A4 8024CCC4 24040001 */ addiu $a0, $zero, 1 +/* 17B5A8 8024CCC8 0C00B94E */ jal get_screen_coords +/* 17B5AC 8024CCCC AFA20018 */ sw $v0, 0x18($sp) +/* 17B5B0 8024CCD0 8FA20024 */ lw $v0, 0x24($sp) +/* 17B5B4 8024CCD4 28420064 */ slti $v0, $v0, 0x64 +/* 17B5B8 8024CCD8 10400005 */ beqz $v0, .L8024CCF0 +/* 17B5BC 8024CCDC 00000000 */ nop +/* 17B5C0 8024CCE0 3C0141C8 */ lui $at, 0x41c8 +/* 17B5C4 8024CCE4 44810000 */ mtc1 $at, $f0 +/* 17B5C8 8024CCE8 00000000 */ nop +/* 17B5CC 8024CCEC 4600B580 */ add.s $f22, $f22, $f0 +.L8024CCF0: +/* 17B5D0 8024CCF0 3C01802A */ lui $at, 0x802a +/* 17B5D4 8024CCF4 C420F274 */ lwc1 $f0, -0xd8c($at) +/* 17B5D8 8024CCF8 4600B03C */ c.lt.s $f22, $f0 +/* 17B5DC 8024CCFC 00000000 */ nop +/* 17B5E0 8024CD00 45030001 */ bc1tl .L8024CD08 +/* 17B5E4 8024CD04 46000586 */ mov.s $f22, $f0 +.L8024CD08: +/* 17B5E8 8024CD08 8FA30020 */ lw $v1, 0x20($sp) +/* 17B5EC 8024CD0C 28620064 */ slti $v0, $v1, 0x64 +/* 17B5F0 8024CD10 10400005 */ beqz $v0, .L8024CD28 +/* 17B5F4 8024CD14 00000000 */ nop +/* 17B5F8 8024CD18 3C0141C8 */ lui $at, 0x41c8 +/* 17B5FC 8024CD1C 44810000 */ mtc1 $at, $f0 +/* 17B600 8024CD20 00000000 */ nop +/* 17B604 8024CD24 4600A501 */ sub.s $f20, $f20, $f0 +.L8024CD28: +/* 17B608 8024CD28 3C01802A */ lui $at, 0x802a +/* 17B60C 8024CD2C C420F270 */ lwc1 $f0, -0xd90($at) +/* 17B610 8024CD30 4600A03C */ c.lt.s $f20, $f0 +/* 17B614 8024CD34 00000000 */ nop +/* 17B618 8024CD38 45030001 */ bc1tl .L8024CD40 +/* 17B61C 8024CD3C 46000506 */ mov.s $f20, $f0 +.L8024CD40: +/* 17B620 8024CD40 286200DD */ slti $v0, $v1, 0xdd +/* 17B624 8024CD44 14400005 */ bnez $v0, .L8024CD5C +/* 17B628 8024CD48 00000000 */ nop +/* 17B62C 8024CD4C 3C0141C8 */ lui $at, 0x41c8 +/* 17B630 8024CD50 44810000 */ mtc1 $at, $f0 +/* 17B634 8024CD54 00000000 */ nop +/* 17B638 8024CD58 4600A500 */ add.s $f20, $f20, $f0 +.L8024CD5C: +/* 17B63C 8024CD5C C6060054 */ lwc1 $f6, 0x54($s0) +/* 17B640 8024CD60 4606A101 */ sub.s $f4, $f20, $f6 +/* 17B644 8024CD64 3C01802A */ lui $at, 0x802a +/* 17B648 8024CD68 D422CC30 */ ldc1 $f2, -0x33d0($at) +/* 17B64C 8024CD6C 46002005 */ abs.s $f0, $f4 +/* 17B650 8024CD70 46000021 */ cvt.d.s $f0, $f0 +/* 17B654 8024CD74 4622003C */ c.lt.d $f0, $f2 +/* 17B658 8024CD78 00000000 */ nop +/* 17B65C 8024CD7C 45000009 */ bc1f .L8024CDA4 +/* 17B660 8024CD80 00000000 */ nop +/* 17B664 8024CD84 44800000 */ mtc1 $zero, $f0 +/* 17B668 8024CD88 00000000 */ nop +/* 17B66C 8024CD8C 46002032 */ c.eq.s $f4, $f0 +/* 17B670 8024CD90 00000000 */ nop +/* 17B674 8024CD94 45020009 */ bc1fl .L8024CDBC +/* 17B678 8024CD98 E6140054 */ swc1 $f20, 0x54($s0) +/* 17B67C 8024CD9C 0809336F */ j func_8024CDBC +/* 17B680 8024CDA0 00000000 */ nop + +.L8024CDA4: +/* 17B684 8024CDA4 3C0140A0 */ lui $at, 0x40a0 +/* 17B688 8024CDA8 44810000 */ mtc1 $at, $f0 +/* 17B68C 8024CDAC 00000000 */ nop +/* 17B690 8024CDB0 46002003 */ div.s $f0, $f4, $f0 +/* 17B694 8024CDB4 46003000 */ add.s $f0, $f6, $f0 +/* 17B698 8024CDB8 E6000054 */ swc1 $f0, 0x54($s0) +func_8024CDBC: +.L8024CDBC: +/* 17B69C 8024CDBC C6060058 */ lwc1 $f6, 0x58($s0) +/* 17B6A0 8024CDC0 4606B101 */ sub.s $f4, $f22, $f6 +/* 17B6A4 8024CDC4 3C01802A */ lui $at, 0x802a +/* 17B6A8 8024CDC8 D422CC38 */ ldc1 $f2, -0x33c8($at) +/* 17B6AC 8024CDCC 46002005 */ abs.s $f0, $f4 +/* 17B6B0 8024CDD0 46000021 */ cvt.d.s $f0, $f0 +/* 17B6B4 8024CDD4 4622003C */ c.lt.d $f0, $f2 +/* 17B6B8 8024CDD8 00000000 */ nop +/* 17B6BC 8024CDDC 45000009 */ bc1f .L8024CE04 +/* 17B6C0 8024CDE0 00000000 */ nop +/* 17B6C4 8024CDE4 44800000 */ mtc1 $zero, $f0 +/* 17B6C8 8024CDE8 00000000 */ nop +/* 17B6CC 8024CDEC 46002032 */ c.eq.s $f4, $f0 +/* 17B6D0 8024CDF0 00000000 */ nop +/* 17B6D4 8024CDF4 45020009 */ bc1fl .L8024CE1C +/* 17B6D8 8024CDF8 E6160058 */ swc1 $f22, 0x58($s0) +/* 17B6DC 8024CDFC 08093387 */ j func_8024CE1C +/* 17B6E0 8024CE00 00000000 */ nop + +.L8024CE04: +/* 17B6E4 8024CE04 3C0140A0 */ lui $at, 0x40a0 +/* 17B6E8 8024CE08 44810000 */ mtc1 $at, $f0 +/* 17B6EC 8024CE0C 00000000 */ nop +/* 17B6F0 8024CE10 46002003 */ div.s $f0, $f4, $f0 +/* 17B6F4 8024CE14 46003000 */ add.s $f0, $f6, $f0 +/* 17B6F8 8024CE18 E6000058 */ swc1 $f0, 0x58($s0) +func_8024CE1C: +.L8024CE1C: +/* 17B6FC 8024CE1C C606005C */ lwc1 $f6, 0x5c($s0) +/* 17B700 8024CE20 4606C101 */ sub.s $f4, $f24, $f6 +/* 17B704 8024CE24 3C01802A */ lui $at, 0x802a +/* 17B708 8024CE28 D422CC40 */ ldc1 $f2, -0x33c0($at) +/* 17B70C 8024CE2C 46002005 */ abs.s $f0, $f4 +/* 17B710 8024CE30 46000021 */ cvt.d.s $f0, $f0 +/* 17B714 8024CE34 4622003C */ c.lt.d $f0, $f2 +/* 17B718 8024CE38 00000000 */ nop +/* 17B71C 8024CE3C 45000009 */ bc1f .L8024CE64 +/* 17B720 8024CE40 00000000 */ nop +/* 17B724 8024CE44 44800000 */ mtc1 $zero, $f0 +/* 17B728 8024CE48 00000000 */ nop +/* 17B72C 8024CE4C 46002032 */ c.eq.s $f4, $f0 +/* 17B730 8024CE50 00000000 */ nop +/* 17B734 8024CE54 45020009 */ bc1fl .L8024CE7C +/* 17B738 8024CE58 E618005C */ swc1 $f24, 0x5c($s0) +/* 17B73C 8024CE5C 080933A0 */ j func_8024CE80 +/* 17B740 8024CE60 0000102D */ daddu $v0, $zero, $zero + +.L8024CE64: +/* 17B744 8024CE64 3C0140A0 */ lui $at, 0x40a0 +/* 17B748 8024CE68 44810000 */ mtc1 $at, $f0 +/* 17B74C 8024CE6C 00000000 */ nop +/* 17B750 8024CE70 46002003 */ div.s $f0, $f4, $f0 +/* 17B754 8024CE74 46003000 */ add.s $f0, $f6, $f0 +/* 17B758 8024CE78 E600005C */ swc1 $f0, 0x5c($s0) +.L8024CE7C: +/* 17B75C 8024CE7C 0000102D */ daddu $v0, $zero, $zero +func_8024CE80: +.L8024CE80: +/* 17B760 8024CE80 8FBF0034 */ lw $ra, 0x34($sp) +/* 17B764 8024CE84 8FB00030 */ lw $s0, 0x30($sp) +/* 17B768 8024CE88 D7B80048 */ ldc1 $f24, 0x48($sp) +/* 17B76C 8024CE8C D7B60040 */ ldc1 $f22, 0x40($sp) +/* 17B770 8024CE90 D7B40038 */ ldc1 $f20, 0x38($sp) +/* 17B774 8024CE94 03E00008 */ jr $ra +/* 17B778 8024CE98 27BD0050 */ addiu $sp, $sp, 0x50 + +/* 17B77C 8024CE9C 24020008 */ addiu $v0, $zero, 8 +/* 17B780 8024CEA0 3C01802A */ lui $at, 0x802a +/* 17B784 8024CEA4 A422F284 */ sh $v0, -0xd7c($at) +/* 17B788 8024CEA8 3C02800B */ lui $v0, 0x800b +/* 17B78C 8024CEAC 244222D8 */ addiu $v0, $v0, 0x22d8 +/* 17B790 8024CEB0 8443001C */ lh $v1, 0x1c($v0) +/* 17B794 8024CEB4 8444001E */ lh $a0, 0x1e($v0) +/* 17B798 8024CEB8 A4400024 */ sh $zero, 0x24($v0) +/* 17B79C 8024CEBC A4400026 */ sh $zero, 0x26($v0) +/* 17B7A0 8024CEC0 84420022 */ lh $v0, 0x22($v0) +/* 17B7A4 8024CEC4 44801000 */ mtc1 $zero, $f2 +/* 17B7A8 8024CEC8 3C01802A */ lui $at, 0x802a +/* 17B7AC 8024CECC A420F286 */ sh $zero, -0xd7a($at) +/* 17B7B0 8024CED0 3C01802A */ lui $at, 0x802a +/* 17B7B4 8024CED4 A420F282 */ sh $zero, -0xd7e($at) +/* 17B7B8 8024CED8 3C018028 */ lui $at, 0x8028 +/* 17B7BC 8024CEDC A0200CE0 */ sb $zero, 0xce0($at) +/* 17B7C0 8024CEE0 44830000 */ mtc1 $v1, $f0 +/* 17B7C4 8024CEE4 00000000 */ nop +/* 17B7C8 8024CEE8 46800020 */ cvt.s.w $f0, $f0 +/* 17B7CC 8024CEEC 3C01802A */ lui $at, 0x802a +/* 17B7D0 8024CEF0 E420F288 */ swc1 $f0, -0xd78($at) +/* 17B7D4 8024CEF4 44840000 */ mtc1 $a0, $f0 +/* 17B7D8 8024CEF8 00000000 */ nop +/* 17B7DC 8024CEFC 46800020 */ cvt.s.w $f0, $f0 +/* 17B7E0 8024CF00 3C01802A */ lui $at, 0x802a +/* 17B7E4 8024CF04 E420F28C */ swc1 $f0, -0xd74($at) +/* 17B7E8 8024CF08 44820000 */ mtc1 $v0, $f0 +/* 17B7EC 8024CF0C 00000000 */ nop +/* 17B7F0 8024CF10 46800020 */ cvt.s.w $f0, $f0 +/* 17B7F4 8024CF14 3C01802A */ lui $at, 0x802a +/* 17B7F8 8024CF18 E420F294 */ swc1 $f0, -0xd6c($at) +/* 17B7FC 8024CF1C 3C01802A */ lui $at, 0x802a +/* 17B800 8024CF20 E422F290 */ swc1 $f2, -0xd70($at) +/* 17B804 8024CF24 3C01802A */ lui $at, 0x802a +/* 17B808 8024CF28 E422F298 */ swc1 $f2, -0xd68($at) +/* 17B80C 8024CF2C 03E00008 */ jr $ra +/* 17B810 8024CF30 24020002 */ addiu $v0, $zero, 2 + +use_cam_preset: +/* 17B814 8024CF34 3C028028 */ lui $v0, 0x8028 +/* 17B818 8024CF38 80420CE0 */ lb $v0, 0xce0($v0) +/* 17B81C 8024CF3C 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 17B820 8024CF40 AFB10014 */ sw $s1, 0x14($sp) +/* 17B824 8024CF44 0080882D */ daddu $s1, $a0, $zero +/* 17B828 8024CF48 AFB00010 */ sw $s0, 0x10($sp) +/* 17B82C 8024CF4C 0000802D */ daddu $s0, $zero, $zero +/* 17B830 8024CF50 AFB20018 */ sw $s2, 0x18($sp) +/* 17B834 8024CF54 3C12800E */ lui $s2, 0x800e +/* 17B838 8024CF58 2652C070 */ addiu $s2, $s2, -0x3f90 +/* 17B83C 8024CF5C 14400518 */ bnez $v0, .L8024E3C0 +/* 17B840 8024CF60 AFBF001C */ sw $ra, 0x1c($sp) +/* 17B844 8024CF64 24020001 */ addiu $v0, $zero, 1 +/* 17B848 8024CF68 3C01802A */ lui $at, 0x802a +/* 17B84C 8024CF6C A022F2A6 */ sb $v0, -0xd5a($at) +/* 17B850 8024CF70 2E22004A */ sltiu $v0, $s1, 0x4a +/* 17B854 8024CF74 3C01802A */ lui $at, 0x802a +/* 17B858 8024CF78 A020F2A2 */ sb $zero, -0xd5e($at) +/* 17B85C 8024CF7C 3C01802A */ lui $at, 0x802a +/* 17B860 8024CF80 A020F2A3 */ sb $zero, -0xd5d($at) +/* 17B864 8024CF84 3C01802A */ lui $at, 0x802a +/* 17B868 8024CF88 A020F2A5 */ sb $zero, -0xd5b($at) +/* 17B86C 8024CF8C 3C01802A */ lui $at, 0x802a +/* 17B870 8024CF90 A020F2A7 */ sb $zero, -0xd59($at) +/* 17B874 8024CF94 104004F7 */ beqz $v0, .L8024E374 +/* 17B878 8024CF98 00111080 */ sll $v0, $s1, 2 +/* 17B87C 8024CF9C 3C01802A */ lui $at, 0x802a +/* 17B880 8024CFA0 00220821 */ addu $at, $at, $v0 +/* 17B884 8024CFA4 8C22CC48 */ lw $v0, -0x33b8($at) +/* 17B888 8024CFA8 00400008 */ jr $v0 +/* 17B88C 8024CFAC 00000000 */ nop +/* 17B890 8024CFB0 3C108028 */ lui $s0, 0x8028 +/* 17B894 8024CFB4 080938DD */ j func_8024E374 +/* 17B898 8024CFB8 26100E54 */ addiu $s0, $s0, 0xe54 + +/* 17B89C 8024CFBC 3C108028 */ lui $s0, 0x8028 +/* 17B8A0 8024CFC0 080938DD */ j func_8024E374 +/* 17B8A4 8024CFC4 26100CE8 */ addiu $s0, $s0, 0xce8 + +/* 17B8A8 8024CFC8 3C028028 */ lui $v0, 0x8028 +/* 17B8AC 8024CFCC 8C420CE4 */ lw $v0, 0xce4($v0) +/* 17B8B0 8024CFD0 105104FB */ beq $v0, $s1, .L8024E3C0 +/* 17B8B4 8024CFD4 240201F4 */ addiu $v0, $zero, 0x1f4 +/* 17B8B8 8024CFD8 3C108028 */ lui $s0, 0x8028 +/* 17B8BC 8024CFDC 26100DAC */ addiu $s0, $s0, 0xdac +/* 17B8C0 8024CFE0 3C01802A */ lui $at, 0x802a +/* 17B8C4 8024CFE4 A422F280 */ sh $v0, -0xd80($at) +/* 17B8C8 8024CFE8 2402001E */ addiu $v0, $zero, 0x1e +/* 17B8CC 8024CFEC 3C01802A */ lui $at, 0x802a +/* 17B8D0 8024CFF0 A422F29E */ sh $v0, -0xd62($at) +/* 17B8D4 8024CFF4 080938DD */ j func_8024E374 +/* 17B8D8 8024CFF8 00000000 */ nop + +/* 17B8DC 8024CFFC 3C028028 */ lui $v0, 0x8028 +/* 17B8E0 8024D000 8C420CE4 */ lw $v0, 0xce4($v0) +/* 17B8E4 8024D004 105104EE */ beq $v0, $s1, .L8024E3C0 +/* 17B8E8 8024D008 240201E0 */ addiu $v0, $zero, 0x1e0 +/* 17B8EC 8024D00C 3C108028 */ lui $s0, 0x8028 +/* 17B8F0 8024D010 26100DC8 */ addiu $s0, $s0, 0xdc8 +/* 17B8F4 8024D014 3C01802A */ lui $at, 0x802a +/* 17B8F8 8024D018 A422F280 */ sh $v0, -0xd80($at) +/* 17B8FC 8024D01C 080934CC */ j func_8024D330 +/* 17B900 8024D020 24020014 */ addiu $v0, $zero, 0x14 + +/* 17B904 8024D024 3C028028 */ lui $v0, 0x8028 +/* 17B908 8024D028 8C420CE4 */ lw $v0, 0xce4($v0) +/* 17B90C 8024D02C 105104E4 */ beq $v0, $s1, .L8024E3C0 +/* 17B910 8024D030 240201F4 */ addiu $v0, $zero, 0x1f4 +/* 17B914 8024D034 3C108028 */ lui $s0, 0x8028 +/* 17B918 8024D038 26100DE4 */ addiu $s0, $s0, 0xde4 +/* 17B91C 8024D03C 3C01802A */ lui $at, 0x802a +/* 17B920 8024D040 A422F280 */ sh $v0, -0xd80($at) +/* 17B924 8024D044 080934CC */ j func_8024D330 +/* 17B928 8024D048 2402000A */ addiu $v0, $zero, 0xa + +/* 17B92C 8024D04C 3C108028 */ lui $s0, 0x8028 +/* 17B930 8024D050 26100D04 */ addiu $s0, $s0, 0xd04 +/* 17B934 8024D054 2402012C */ addiu $v0, $zero, 0x12c +/* 17B938 8024D058 3C01802A */ lui $at, 0x802a +/* 17B93C 8024D05C A422F280 */ sh $v0, -0xd80($at) +/* 17B940 8024D060 24020014 */ addiu $v0, $zero, 0x14 +/* 17B944 8024D064 3C01802A */ lui $at, 0x802a +/* 17B948 8024D068 A422F29E */ sh $v0, -0xd62($at) +/* 17B94C 8024D06C 080938D9 */ j func_8024E364 +/* 17B950 8024D070 24020001 */ addiu $v0, $zero, 1 + +/* 17B954 8024D074 3C108028 */ lui $s0, 0x8028 +/* 17B958 8024D078 26100D3C */ addiu $s0, $s0, 0xd3c +/* 17B95C 8024D07C 2402012C */ addiu $v0, $zero, 0x12c +/* 17B960 8024D080 3C01802A */ lui $at, 0x802a +/* 17B964 8024D084 A422F280 */ sh $v0, -0xd80($at) +/* 17B968 8024D088 24020014 */ addiu $v0, $zero, 0x14 +/* 17B96C 8024D08C 3C01802A */ lui $at, 0x802a +/* 17B970 8024D090 A422F29E */ sh $v0, -0xd62($at) +/* 17B974 8024D094 080938D9 */ j func_8024E364 +/* 17B978 8024D098 24020001 */ addiu $v0, $zero, 1 + +/* 17B97C 8024D09C 3C108028 */ lui $s0, 0x8028 +/* 17B980 8024D0A0 26100D74 */ addiu $s0, $s0, 0xd74 +/* 17B984 8024D0A4 2402012C */ addiu $v0, $zero, 0x12c +/* 17B988 8024D0A8 3C01802A */ lui $at, 0x802a +/* 17B98C 8024D0AC A422F280 */ sh $v0, -0xd80($at) +/* 17B990 8024D0B0 24020014 */ addiu $v0, $zero, 0x14 +/* 17B994 8024D0B4 3C01802A */ lui $at, 0x802a +/* 17B998 8024D0B8 A422F29E */ sh $v0, -0xd62($at) +/* 17B99C 8024D0BC 080938DD */ j func_8024E374 +/* 17B9A0 8024D0C0 00000000 */ nop + +/* 17B9A4 8024D0C4 3C108028 */ lui $s0, 0x8028 +/* 17B9A8 8024D0C8 26100D58 */ addiu $s0, $s0, 0xd58 +/* 17B9AC 8024D0CC 2402012C */ addiu $v0, $zero, 0x12c +/* 17B9B0 8024D0D0 3C01802A */ lui $at, 0x802a +/* 17B9B4 8024D0D4 A422F280 */ sh $v0, -0xd80($at) +/* 17B9B8 8024D0D8 24020014 */ addiu $v0, $zero, 0x14 +/* 17B9BC 8024D0DC 3C01802A */ lui $at, 0x802a +/* 17B9C0 8024D0E0 A422F29E */ sh $v0, -0xd62($at) +/* 17B9C4 8024D0E4 080938D9 */ j func_8024E364 +/* 17B9C8 8024D0E8 24020001 */ addiu $v0, $zero, 1 + +/* 17B9CC 8024D0EC 3C02802A */ lui $v0, 0x802a +/* 17B9D0 8024D0F0 8C42F2B4 */ lw $v0, -0xd4c($v0) +/* 17B9D4 8024D0F4 3C048028 */ lui $a0, 0x8028 +/* 17B9D8 8024D0F8 24840DAC */ addiu $a0, $a0, 0xdac +/* 17B9DC 8024D0FC 104404B0 */ beq $v0, $a0, .L8024E3C0 +/* 17B9E0 8024D100 240201F4 */ addiu $v0, $zero, 0x1f4 +/* 17B9E4 8024D104 3C01802A */ lui $at, 0x802a +/* 17B9E8 8024D108 A422F280 */ sh $v0, -0xd80($at) +/* 17B9EC 8024D10C 24020078 */ addiu $v0, $zero, 0x78 +/* 17B9F0 8024D110 3C01802A */ lui $at, 0x802a +/* 17B9F4 8024D114 A422F29E */ sh $v0, -0xd62($at) +/* 17B9F8 8024D118 080938DD */ j func_8024E374 +/* 17B9FC 8024D11C 0080802D */ daddu $s0, $a0, $zero + +/* 17BA00 8024D120 3C108028 */ lui $s0, 0x8028 +/* 17BA04 8024D124 26100D04 */ addiu $s0, $s0, 0xd04 +/* 17BA08 8024D128 240200C8 */ addiu $v0, $zero, 0xc8 +/* 17BA0C 8024D12C 3C01802A */ lui $at, 0x802a +/* 17BA10 8024D130 A422F280 */ sh $v0, -0xd80($at) +/* 17BA14 8024D134 24020008 */ addiu $v0, $zero, 8 +/* 17BA18 8024D138 3C01802A */ lui $at, 0x802a +/* 17BA1C 8024D13C A422F284 */ sh $v0, -0xd7c($at) +/* 17BA20 8024D140 24020014 */ addiu $v0, $zero, 0x14 +/* 17BA24 8024D144 3C01802A */ lui $at, 0x802a +/* 17BA28 8024D148 A422F29E */ sh $v0, -0xd62($at) +/* 17BA2C 8024D14C 080938D4 */ j func_8024E350 +/* 17BA30 8024D150 2402000F */ addiu $v0, $zero, 0xf + +/* 17BA34 8024D154 3C108028 */ lui $s0, 0x8028 +/* 17BA38 8024D158 26100D04 */ addiu $s0, $s0, 0xd04 +/* 17BA3C 8024D15C 2402012C */ addiu $v0, $zero, 0x12c +/* 17BA40 8024D160 3C01802A */ lui $at, 0x802a +/* 17BA44 8024D164 A422F280 */ sh $v0, -0xd80($at) +/* 17BA48 8024D168 24020008 */ addiu $v0, $zero, 8 +/* 17BA4C 8024D16C 3C01802A */ lui $at, 0x802a +/* 17BA50 8024D170 A422F284 */ sh $v0, -0xd7c($at) +/* 17BA54 8024D174 080938D1 */ j func_8024E344 +/* 17BA58 8024D178 24020014 */ addiu $v0, $zero, 0x14 + +/* 17BA5C 8024D17C 3C108028 */ lui $s0, 0x8028 +/* 17BA60 8024D180 26100D04 */ addiu $s0, $s0, 0xd04 +/* 17BA64 8024D184 24020190 */ addiu $v0, $zero, 0x190 +/* 17BA68 8024D188 3C01802A */ lui $at, 0x802a +/* 17BA6C 8024D18C A422F280 */ sh $v0, -0xd80($at) +/* 17BA70 8024D190 24020008 */ addiu $v0, $zero, 8 +/* 17BA74 8024D194 3C01802A */ lui $at, 0x802a +/* 17BA78 8024D198 A422F284 */ sh $v0, -0xd7c($at) +/* 17BA7C 8024D19C 24020014 */ addiu $v0, $zero, 0x14 +/* 17BA80 8024D1A0 3C01802A */ lui $at, 0x802a +/* 17BA84 8024D1A4 A422F29E */ sh $v0, -0xd62($at) +/* 17BA88 8024D1A8 080938D4 */ j func_8024E350 +/* 17BA8C 8024D1AC 2402001E */ addiu $v0, $zero, 0x1e + +/* 17BA90 8024D1B0 3C108028 */ lui $s0, 0x8028 +/* 17BA94 8024D1B4 26100D58 */ addiu $s0, $s0, 0xd58 +/* 17BA98 8024D1B8 240200C8 */ addiu $v0, $zero, 0xc8 +/* 17BA9C 8024D1BC 3C01802A */ lui $at, 0x802a +/* 17BAA0 8024D1C0 A422F280 */ sh $v0, -0xd80($at) +/* 17BAA4 8024D1C4 24020008 */ addiu $v0, $zero, 8 +/* 17BAA8 8024D1C8 3C01802A */ lui $at, 0x802a +/* 17BAAC 8024D1CC A422F284 */ sh $v0, -0xd7c($at) +/* 17BAB0 8024D1D0 24020014 */ addiu $v0, $zero, 0x14 +/* 17BAB4 8024D1D4 3C01802A */ lui $at, 0x802a +/* 17BAB8 8024D1D8 A422F29E */ sh $v0, -0xd62($at) +/* 17BABC 8024D1DC 080938D4 */ j func_8024E350 +/* 17BAC0 8024D1E0 2402000F */ addiu $v0, $zero, 0xf + +/* 17BAC4 8024D1E4 3C108028 */ lui $s0, 0x8028 +/* 17BAC8 8024D1E8 26100D58 */ addiu $s0, $s0, 0xd58 +/* 17BACC 8024D1EC 2402012C */ addiu $v0, $zero, 0x12c +/* 17BAD0 8024D1F0 3C01802A */ lui $at, 0x802a +/* 17BAD4 8024D1F4 A422F280 */ sh $v0, -0xd80($at) +/* 17BAD8 8024D1F8 24020008 */ addiu $v0, $zero, 8 +/* 17BADC 8024D1FC 3C01802A */ lui $at, 0x802a +/* 17BAE0 8024D200 A422F284 */ sh $v0, -0xd7c($at) +/* 17BAE4 8024D204 080938D1 */ j func_8024E344 +/* 17BAE8 8024D208 24020014 */ addiu $v0, $zero, 0x14 + +/* 17BAEC 8024D20C 3C108028 */ lui $s0, 0x8028 +/* 17BAF0 8024D210 26100D58 */ addiu $s0, $s0, 0xd58 +/* 17BAF4 8024D214 24020190 */ addiu $v0, $zero, 0x190 +/* 17BAF8 8024D218 3C01802A */ lui $at, 0x802a +/* 17BAFC 8024D21C A422F280 */ sh $v0, -0xd80($at) +/* 17BB00 8024D220 24020008 */ addiu $v0, $zero, 8 +/* 17BB04 8024D224 3C01802A */ lui $at, 0x802a +/* 17BB08 8024D228 A422F284 */ sh $v0, -0xd7c($at) +/* 17BB0C 8024D22C 24020014 */ addiu $v0, $zero, 0x14 +/* 17BB10 8024D230 3C01802A */ lui $at, 0x802a +/* 17BB14 8024D234 A422F29E */ sh $v0, -0xd62($at) +/* 17BB18 8024D238 080938D4 */ j func_8024E350 +/* 17BB1C 8024D23C 2402001E */ addiu $v0, $zero, 0x1e + +/* 17BB20 8024D240 3C108028 */ lui $s0, 0x8028 +/* 17BB24 8024D244 26100D74 */ addiu $s0, $s0, 0xd74 +/* 17BB28 8024D248 2402010B */ addiu $v0, $zero, 0x10b +/* 17BB2C 8024D24C 3C01802A */ lui $at, 0x802a +/* 17BB30 8024D250 A422F280 */ sh $v0, -0xd80($at) +/* 17BB34 8024D254 24020008 */ addiu $v0, $zero, 8 +/* 17BB38 8024D258 3C01802A */ lui $at, 0x802a +/* 17BB3C 8024D25C A422F284 */ sh $v0, -0xd7c($at) +/* 17BB40 8024D260 24020014 */ addiu $v0, $zero, 0x14 +/* 17BB44 8024D264 3C01802A */ lui $at, 0x802a +/* 17BB48 8024D268 A422F29E */ sh $v0, -0xd62($at) +/* 17BB4C 8024D26C 24020017 */ addiu $v0, $zero, 0x17 +/* 17BB50 8024D270 3C01802A */ lui $at, 0x802a +/* 17BB54 8024D274 A420F282 */ sh $zero, -0xd7e($at) +/* 17BB58 8024D278 3C01802A */ lui $at, 0x802a +/* 17BB5C 8024D27C A422F286 */ sh $v0, -0xd7a($at) +/* 17BB60 8024D280 080938DD */ j func_8024E374 +/* 17BB64 8024D284 00000000 */ nop + +/* 17BB68 8024D288 3C108028 */ lui $s0, 0x8028 +/* 17BB6C 8024D28C 26100D74 */ addiu $s0, $s0, 0xd74 +/* 17BB70 8024D290 2402012C */ addiu $v0, $zero, 0x12c +/* 17BB74 8024D294 24030008 */ addiu $v1, $zero, 8 +/* 17BB78 8024D298 3C01802A */ lui $at, 0x802a +/* 17BB7C 8024D29C A422F280 */ sh $v0, -0xd80($at) +/* 17BB80 8024D2A0 24020014 */ addiu $v0, $zero, 0x14 +/* 17BB84 8024D2A4 3C01802A */ lui $at, 0x802a +/* 17BB88 8024D2A8 A420F282 */ sh $zero, -0xd7e($at) +/* 17BB8C 8024D2AC 3C01802A */ lui $at, 0x802a +/* 17BB90 8024D2B0 A423F284 */ sh $v1, -0xd7c($at) +/* 17BB94 8024D2B4 3C01802A */ lui $at, 0x802a +/* 17BB98 8024D2B8 A422F29E */ sh $v0, -0xd62($at) +/* 17BB9C 8024D2BC 3C01802A */ lui $at, 0x802a +/* 17BBA0 8024D2C0 A423F286 */ sh $v1, -0xd7a($at) +/* 17BBA4 8024D2C4 080938DD */ j func_8024E374 +/* 17BBA8 8024D2C8 00000000 */ nop + +/* 17BBAC 8024D2CC 3C108028 */ lui $s0, 0x8028 +/* 17BBB0 8024D2D0 26100D74 */ addiu $s0, $s0, 0xd74 +/* 17BBB4 8024D2D4 24020190 */ addiu $v0, $zero, 0x190 +/* 17BBB8 8024D2D8 3C01802A */ lui $at, 0x802a +/* 17BBBC 8024D2DC A422F280 */ sh $v0, -0xd80($at) +/* 17BBC0 8024D2E0 24020008 */ addiu $v0, $zero, 8 +/* 17BBC4 8024D2E4 3C01802A */ lui $at, 0x802a +/* 17BBC8 8024D2E8 A422F284 */ sh $v0, -0xd7c($at) +/* 17BBCC 8024D2EC 3C01802A */ lui $at, 0x802a +/* 17BBD0 8024D2F0 A420F282 */ sh $zero, -0xd7e($at) +/* 17BBD4 8024D2F4 080934CC */ j func_8024D330 +/* 17BBD8 8024D2F8 24020014 */ addiu $v0, $zero, 0x14 + +/* 17BBDC 8024D2FC 24020014 */ addiu $v0, $zero, 0x14 +/* 17BBE0 8024D300 3C01802A */ lui $at, 0x802a +/* 17BBE4 8024D304 A422F29E */ sh $v0, -0xd62($at) +/* 17BBE8 8024D308 3C108028 */ lui $s0, 0x8028 +/* 17BBEC 8024D30C 080938DD */ j func_8024E374 +/* 17BBF0 8024D310 26100E00 */ addiu $s0, $s0, 0xe00 + +/* 17BBF4 8024D314 3C108028 */ lui $s0, 0x8028 +/* 17BBF8 8024D318 26100E1C */ addiu $s0, $s0, 0xe1c +/* 17BBFC 8024D31C 080934CC */ j func_8024D330 +/* 17BC00 8024D320 24020014 */ addiu $v0, $zero, 0x14 + +/* 17BC04 8024D324 3C108028 */ lui $s0, 0x8028 +/* 17BC08 8024D328 26100E38 */ addiu $s0, $s0, 0xe38 +/* 17BC0C 8024D32C 24020014 */ addiu $v0, $zero, 0x14 +func_8024D330: +/* 17BC10 8024D330 3C01802A */ lui $at, 0x802a +/* 17BC14 8024D334 A422F29E */ sh $v0, -0xd62($at) +/* 17BC18 8024D338 3C01802A */ lui $at, 0x802a +/* 17BC1C 8024D33C A420F286 */ sh $zero, -0xd7a($at) +/* 17BC20 8024D340 080938DD */ j func_8024E374 +/* 17BC24 8024D344 00000000 */ nop + +/* 17BC28 8024D348 3C108028 */ lui $s0, 0x8028 +/* 17BC2C 8024D34C 26100E00 */ addiu $s0, $s0, 0xe00 +/* 17BC30 8024D350 3C01C2A0 */ lui $at, 0xc2a0 +/* 17BC34 8024D354 44816000 */ mtc1 $at, $f12 +/* 17BC38 8024D358 44800000 */ mtc1 $zero, $f0 +/* 17BC3C 8024D35C 2402010A */ addiu $v0, $zero, 0x10a +/* 17BC40 8024D360 3C01802A */ lui $at, 0x802a +/* 17BC44 8024D364 A422F280 */ sh $v0, -0xd80($at) +/* 17BC48 8024D368 44060000 */ mfc1 $a2, $f0 +/* 17BC4C 8024D36C 24020008 */ addiu $v0, $zero, 8 +/* 17BC50 8024D370 3C01802A */ lui $at, 0x802a +/* 17BC54 8024D374 A422F284 */ sh $v0, -0xd7c($at) +/* 17BC58 8024D378 44867000 */ mtc1 $a2, $f14 +/* 17BC5C 8024D37C 24020028 */ addiu $v0, $zero, 0x28 +/* 17BC60 8024D380 3C01802A */ lui $at, 0x802a +/* 17BC64 8024D384 A420F282 */ sh $zero, -0xd7e($at) +/* 17BC68 8024D388 3C01802A */ lui $at, 0x802a +/* 17BC6C 8024D38C A422F286 */ sh $v0, -0xd7a($at) +/* 17BC70 8024D390 0C093948 */ jal set_cam_target_pos +/* 17BC74 8024D394 00000000 */ nop +/* 17BC78 8024D398 24020014 */ addiu $v0, $zero, 0x14 +/* 17BC7C 8024D39C 3C01802A */ lui $at, 0x802a +/* 17BC80 8024D3A0 A422F29E */ sh $v0, -0xd62($at) +/* 17BC84 8024D3A4 3C01802A */ lui $at, 0x802a +/* 17BC88 8024D3A8 A420F27C */ sh $zero, -0xd84($at) +/* 17BC8C 8024D3AC 080938DD */ j func_8024E374 +/* 17BC90 8024D3B0 00000000 */ nop + +/* 17BC94 8024D3B4 3C108028 */ lui $s0, 0x8028 +/* 17BC98 8024D3B8 26100D58 */ addiu $s0, $s0, 0xd58 +/* 17BC9C 8024D3BC 240200FA */ addiu $v0, $zero, 0xfa +/* 17BCA0 8024D3C0 3C01802A */ lui $at, 0x802a +/* 17BCA4 8024D3C4 A422F280 */ sh $v0, -0xd80($at) +/* 17BCA8 8024D3C8 24020008 */ addiu $v0, $zero, 8 +/* 17BCAC 8024D3CC 3C01802A */ lui $at, 0x802a +/* 17BCB0 8024D3D0 A422F284 */ sh $v0, -0xd7c($at) +/* 17BCB4 8024D3D4 24020014 */ addiu $v0, $zero, 0x14 +/* 17BCB8 8024D3D8 3C01802A */ lui $at, 0x802a +/* 17BCBC 8024D3DC A422F29E */ sh $v0, -0xd62($at) +/* 17BCC0 8024D3E0 2402000E */ addiu $v0, $zero, 0xe +/* 17BCC4 8024D3E4 3C01802A */ lui $at, 0x802a +/* 17BCC8 8024D3E8 A422F286 */ sh $v0, -0xd7a($at) +/* 17BCCC 8024D3EC 24020001 */ addiu $v0, $zero, 1 +/* 17BCD0 8024D3F0 3C01802A */ lui $at, 0x802a +/* 17BCD4 8024D3F4 A420F282 */ sh $zero, -0xd7e($at) +/* 17BCD8 8024D3F8 3C01802A */ lui $at, 0x802a +/* 17BCDC 8024D3FC A022F2A2 */ sb $v0, -0xd5e($at) +/* 17BCE0 8024D400 3C01802A */ lui $at, 0x802a +/* 17BCE4 8024D404 A022F2A3 */ sb $v0, -0xd5d($at) +/* 17BCE8 8024D408 3C01802A */ lui $at, 0x802a +/* 17BCEC 8024D40C A020F2A6 */ sb $zero, -0xd5a($at) +/* 17BCF0 8024D410 3C01802A */ lui $at, 0x802a +/* 17BCF4 8024D414 A420F27C */ sh $zero, -0xd84($at) +/* 17BCF8 8024D418 3C018028 */ lui $at, 0x8028 +/* 17BCFC 8024D41C 080938DD */ j func_8024E374 +/* 17BD00 8024D420 A0220CE0 */ sb $v0, 0xce0($at) + +/* 17BD04 8024D424 3C108028 */ lui $s0, 0x8028 +/* 17BD08 8024D428 26100E00 */ addiu $s0, $s0, 0xe00 +/* 17BD0C 8024D42C 3C01C2BE */ lui $at, 0xc2be +/* 17BD10 8024D430 44816000 */ mtc1 $at, $f12 +/* 17BD14 8024D434 3C014190 */ lui $at, 0x4190 +/* 17BD18 8024D438 44817000 */ mtc1 $at, $f14 +/* 17BD1C 8024D43C 3C064120 */ lui $a2, 0x4120 +/* 17BD20 8024D440 240200FF */ addiu $v0, $zero, 0xff +/* 17BD24 8024D444 3C01802A */ lui $at, 0x802a +/* 17BD28 8024D448 A422F280 */ sh $v0, -0xd80($at) +/* 17BD2C 8024D44C 24020008 */ addiu $v0, $zero, 8 +/* 17BD30 8024D450 3C01802A */ lui $at, 0x802a +/* 17BD34 8024D454 A422F284 */ sh $v0, -0xd7c($at) +/* 17BD38 8024D458 24020014 */ addiu $v0, $zero, 0x14 +/* 17BD3C 8024D45C 3C01802A */ lui $at, 0x802a +/* 17BD40 8024D460 A422F29E */ sh $v0, -0xd62($at) +/* 17BD44 8024D464 2402001D */ addiu $v0, $zero, 0x1d +/* 17BD48 8024D468 3C01802A */ lui $at, 0x802a +/* 17BD4C 8024D46C A420F282 */ sh $zero, -0xd7e($at) +/* 17BD50 8024D470 3C01802A */ lui $at, 0x802a +/* 17BD54 8024D474 A422F286 */ sh $v0, -0xd7a($at) +/* 17BD58 8024D478 3C01802A */ lui $at, 0x802a +/* 17BD5C 8024D47C A020F2A2 */ sb $zero, -0xd5e($at) +/* 17BD60 8024D480 3C01802A */ lui $at, 0x802a +/* 17BD64 8024D484 A020F2A3 */ sb $zero, -0xd5d($at) +/* 17BD68 8024D488 0C093948 */ jal set_cam_target_pos +/* 17BD6C 8024D48C 00000000 */ nop +/* 17BD70 8024D490 3C01802A */ lui $at, 0x802a +/* 17BD74 8024D494 A420F27C */ sh $zero, -0xd84($at) +/* 17BD78 8024D498 080938DD */ j func_8024E374 +/* 17BD7C 8024D49C 00000000 */ nop + +/* 17BD80 8024D4A0 3C108028 */ lui $s0, 0x8028 +/* 17BD84 8024D4A4 26100E00 */ addiu $s0, $s0, 0xe00 +/* 17BD88 8024D4A8 240200E6 */ addiu $v0, $zero, 0xe6 +/* 17BD8C 8024D4AC 3C01802A */ lui $at, 0x802a +/* 17BD90 8024D4B0 A422F280 */ sh $v0, -0xd80($at) +/* 17BD94 8024D4B4 24020008 */ addiu $v0, $zero, 8 +/* 17BD98 8024D4B8 3C01802A */ lui $at, 0x802a +/* 17BD9C 8024D4BC A422F284 */ sh $v0, -0xd7c($at) +/* 17BDA0 8024D4C0 24020014 */ addiu $v0, $zero, 0x14 +/* 17BDA4 8024D4C4 3C01802A */ lui $at, 0x802a +/* 17BDA8 8024D4C8 A420F282 */ sh $zero, -0xd7e($at) +/* 17BDAC 8024D4CC 3C01802A */ lui $at, 0x802a +/* 17BDB0 8024D4D0 A422F29E */ sh $v0, -0xd62($at) +/* 17BDB4 8024D4D4 3C01802A */ lui $at, 0x802a +/* 17BDB8 8024D4D8 A420F286 */ sh $zero, -0xd7a($at) +/* 17BDBC 8024D4DC 3C01802A */ lui $at, 0x802a +/* 17BDC0 8024D4E0 A420F27C */ sh $zero, -0xd84($at) +/* 17BDC4 8024D4E4 080938DD */ j func_8024E374 +/* 17BDC8 8024D4E8 00000000 */ nop + +/* 17BDCC 8024D4EC 3C108028 */ lui $s0, 0x8028 +/* 17BDD0 8024D4F0 26100D20 */ addiu $s0, $s0, 0xd20 +/* 17BDD4 8024D4F4 24020136 */ addiu $v0, $zero, 0x136 +/* 17BDD8 8024D4F8 3C01802A */ lui $at, 0x802a +/* 17BDDC 8024D4FC A422F280 */ sh $v0, -0xd80($at) +/* 17BDE0 8024D500 24020008 */ addiu $v0, $zero, 8 +/* 17BDE4 8024D504 3C01802A */ lui $at, 0x802a +/* 17BDE8 8024D508 A422F284 */ sh $v0, -0xd7c($at) +/* 17BDEC 8024D50C 2402001E */ addiu $v0, $zero, 0x1e +/* 17BDF0 8024D510 3C01802A */ lui $at, 0x802a +/* 17BDF4 8024D514 A422F29E */ sh $v0, -0xd62($at) +/* 17BDF8 8024D518 24020010 */ addiu $v0, $zero, 0x10 +/* 17BDFC 8024D51C 3C01802A */ lui $at, 0x802a +/* 17BE00 8024D520 A422F286 */ sh $v0, -0xd7a($at) +/* 17BE04 8024D524 24020001 */ addiu $v0, $zero, 1 +/* 17BE08 8024D528 3C01802A */ lui $at, 0x802a +/* 17BE0C 8024D52C A420F282 */ sh $zero, -0xd7e($at) +/* 17BE10 8024D530 3C01802A */ lui $at, 0x802a +/* 17BE14 8024D534 A420F27C */ sh $zero, -0xd84($at) +/* 17BE18 8024D538 3C01802A */ lui $at, 0x802a +/* 17BE1C 8024D53C A022F2A2 */ sb $v0, -0xd5e($at) +/* 17BE20 8024D540 0809369A */ j func_8024DA68 +/* 17BE24 8024D544 00000000 */ nop + +/* 17BE28 8024D548 3C108028 */ lui $s0, 0x8028 +/* 17BE2C 8024D54C 26100D20 */ addiu $s0, $s0, 0xd20 +/* 17BE30 8024D550 24020140 */ addiu $v0, $zero, 0x140 +/* 17BE34 8024D554 3C01802A */ lui $at, 0x802a +/* 17BE38 8024D558 A422F280 */ sh $v0, -0xd80($at) +/* 17BE3C 8024D55C 24020008 */ addiu $v0, $zero, 8 +/* 17BE40 8024D560 3C01802A */ lui $at, 0x802a +/* 17BE44 8024D564 A422F284 */ sh $v0, -0xd7c($at) +/* 17BE48 8024D568 24020005 */ addiu $v0, $zero, 5 +/* 17BE4C 8024D56C 3C01802A */ lui $at, 0x802a +/* 17BE50 8024D570 A422F29E */ sh $v0, -0xd62($at) +/* 17BE54 8024D574 24020001 */ addiu $v0, $zero, 1 +/* 17BE58 8024D578 3C01802A */ lui $at, 0x802a +/* 17BE5C 8024D57C A420F282 */ sh $zero, -0xd7e($at) +/* 17BE60 8024D580 3C01802A */ lui $at, 0x802a +/* 17BE64 8024D584 A420F286 */ sh $zero, -0xd7a($at) +/* 17BE68 8024D588 3C01802A */ lui $at, 0x802a +/* 17BE6C 8024D58C A022F2A2 */ sb $v0, -0xd5e($at) +/* 17BE70 8024D590 3C01802A */ lui $at, 0x802a +/* 17BE74 8024D594 A020F2A3 */ sb $zero, -0xd5d($at) +/* 17BE78 8024D598 08093659 */ j func_8024D964 +/* 17BE7C 8024D59C 00000000 */ nop + +/* 17BE80 8024D5A0 3C108028 */ lui $s0, 0x8028 +/* 17BE84 8024D5A4 26100D20 */ addiu $s0, $s0, 0xd20 +/* 17BE88 8024D5A8 24020154 */ addiu $v0, $zero, 0x154 +/* 17BE8C 8024D5AC 3C01802A */ lui $at, 0x802a +/* 17BE90 8024D5B0 A422F280 */ sh $v0, -0xd80($at) +/* 17BE94 8024D5B4 24020008 */ addiu $v0, $zero, 8 +/* 17BE98 8024D5B8 3C01802A */ lui $at, 0x802a +/* 17BE9C 8024D5BC A422F284 */ sh $v0, -0xd7c($at) +/* 17BEA0 8024D5C0 24020005 */ addiu $v0, $zero, 5 +/* 17BEA4 8024D5C4 3C01802A */ lui $at, 0x802a +/* 17BEA8 8024D5C8 A422F29E */ sh $v0, -0xd62($at) +/* 17BEAC 8024D5CC 3C01802A */ lui $at, 0x802a +/* 17BEB0 8024D5D0 A420F282 */ sh $zero, -0xd7e($at) +/* 17BEB4 8024D5D4 3C01802A */ lui $at, 0x802a +/* 17BEB8 8024D5D8 A420F286 */ sh $zero, -0xd7a($at) +/* 17BEBC 8024D5DC 080935C6 */ j func_8024D718 +/* 17BEC0 8024D5E0 24020001 */ addiu $v0, $zero, 1 + +/* 17BEC4 8024D5E4 3C108028 */ lui $s0, 0x8028 +/* 17BEC8 8024D5E8 26100D58 */ addiu $s0, $s0, 0xd58 +/* 17BECC 8024D5EC 2402012C */ addiu $v0, $zero, 0x12c +/* 17BED0 8024D5F0 3C01802A */ lui $at, 0x802a +/* 17BED4 8024D5F4 A422F280 */ sh $v0, -0xd80($at) +/* 17BED8 8024D5F8 24020008 */ addiu $v0, $zero, 8 +/* 17BEDC 8024D5FC 3C01802A */ lui $at, 0x802a +/* 17BEE0 8024D600 A422F284 */ sh $v0, -0xd7c($at) +/* 17BEE4 8024D604 2402000F */ addiu $v0, $zero, 0xf +/* 17BEE8 8024D608 3C01802A */ lui $at, 0x802a +/* 17BEEC 8024D60C A422F29E */ sh $v0, -0xd62($at) +/* 17BEF0 8024D610 2402FFE0 */ addiu $v0, $zero, -0x20 +/* 17BEF4 8024D614 3C01802A */ lui $at, 0x802a +/* 17BEF8 8024D618 A422F286 */ sh $v0, -0xd7a($at) +/* 17BEFC 8024D61C 24020014 */ addiu $v0, $zero, 0x14 +/* 17BF00 8024D620 3C01802A */ lui $at, 0x802a +/* 17BF04 8024D624 A022F2A7 */ sb $v0, -0xd59($at) +/* 17BF08 8024D628 24020001 */ addiu $v0, $zero, 1 +/* 17BF0C 8024D62C 3C01802A */ lui $at, 0x802a +/* 17BF10 8024D630 A420F282 */ sh $zero, -0xd7e($at) +/* 17BF14 8024D634 3C01802A */ lui $at, 0x802a +/* 17BF18 8024D638 A022F2A2 */ sb $v0, -0xd5e($at) +/* 17BF1C 8024D63C 3C01802A */ lui $at, 0x802a +/* 17BF20 8024D640 A022F2A3 */ sb $v0, -0xd5d($at) +/* 17BF24 8024D644 3C01802A */ lui $at, 0x802a +/* 17BF28 8024D648 A420F27C */ sh $zero, -0xd84($at) +/* 17BF2C 8024D64C 080938DD */ j func_8024E374 +/* 17BF30 8024D650 00000000 */ nop + +/* 17BF34 8024D654 3C108028 */ lui $s0, 0x8028 +/* 17BF38 8024D658 26100D90 */ addiu $s0, $s0, 0xd90 +/* 17BF3C 8024D65C 3C01C282 */ lui $at, 0xc282 +/* 17BF40 8024D660 44810000 */ mtc1 $at, $f0 +/* 17BF44 8024D664 3C0141F0 */ lui $at, 0x41f0 +/* 17BF48 8024D668 44811000 */ mtc1 $at, $f2 +/* 17BF4C 8024D66C 2402012C */ addiu $v0, $zero, 0x12c +/* 17BF50 8024D670 3C01802A */ lui $at, 0x802a +/* 17BF54 8024D674 A422F280 */ sh $v0, -0xd80($at) +/* 17BF58 8024D678 24020008 */ addiu $v0, $zero, 8 +/* 17BF5C 8024D67C 3C01802A */ lui $at, 0x802a +/* 17BF60 8024D680 A422F284 */ sh $v0, -0xd7c($at) +/* 17BF64 8024D684 2402000A */ addiu $v0, $zero, 0xa +/* 17BF68 8024D688 3C01802A */ lui $at, 0x802a +/* 17BF6C 8024D68C A420F282 */ sh $zero, -0xd7e($at) +/* 17BF70 8024D690 3C01802A */ lui $at, 0x802a +/* 17BF74 8024D694 A422F29E */ sh $v0, -0xd62($at) +/* 17BF78 8024D698 08093825 */ j func_8024E094 +/* 17BF7C 8024D69C 00000000 */ nop + +/* 17BF80 8024D6A0 3C108028 */ lui $s0, 0x8028 +/* 17BF84 8024D6A4 26100D58 */ addiu $s0, $s0, 0xd58 +/* 17BF88 8024D6A8 240200DC */ addiu $v0, $zero, 0xdc +/* 17BF8C 8024D6AC 3C01802A */ lui $at, 0x802a +/* 17BF90 8024D6B0 A422F280 */ sh $v0, -0xd80($at) +/* 17BF94 8024D6B4 24020008 */ addiu $v0, $zero, 8 +/* 17BF98 8024D6B8 3C01802A */ lui $at, 0x802a +/* 17BF9C 8024D6BC A422F284 */ sh $v0, -0xd7c($at) +/* 17BFA0 8024D6C0 2402001E */ addiu $v0, $zero, 0x1e +/* 17BFA4 8024D6C4 3C01802A */ lui $at, 0x802a +/* 17BFA8 8024D6C8 A422F29E */ sh $v0, -0xd62($at) +/* 17BFAC 8024D6CC 08093650 */ j func_8024D940 +/* 17BFB0 8024D6D0 24020018 */ addiu $v0, $zero, 0x18 + +/* 17BFB4 8024D6D4 3C108028 */ lui $s0, 0x8028 +/* 17BFB8 8024D6D8 26100D20 */ addiu $s0, $s0, 0xd20 +/* 17BFBC 8024D6DC 24020118 */ addiu $v0, $zero, 0x118 +/* 17BFC0 8024D6E0 3C01802A */ lui $at, 0x802a +/* 17BFC4 8024D6E4 A422F280 */ sh $v0, -0xd80($at) +/* 17BFC8 8024D6E8 24020008 */ addiu $v0, $zero, 8 +/* 17BFCC 8024D6EC 3C01802A */ lui $at, 0x802a +/* 17BFD0 8024D6F0 A422F284 */ sh $v0, -0xd7c($at) +/* 17BFD4 8024D6F4 2402001E */ addiu $v0, $zero, 0x1e +/* 17BFD8 8024D6F8 3C01802A */ lui $at, 0x802a +/* 17BFDC 8024D6FC A422F29E */ sh $v0, -0xd62($at) +/* 17BFE0 8024D700 2402FFFC */ addiu $v0, $zero, -4 +/* 17BFE4 8024D704 3C01802A */ lui $at, 0x802a +/* 17BFE8 8024D708 A422F286 */ sh $v0, -0xd7a($at) +/* 17BFEC 8024D70C 24020001 */ addiu $v0, $zero, 1 +/* 17BFF0 8024D710 3C01802A */ lui $at, 0x802a +/* 17BFF4 8024D714 A420F282 */ sh $zero, -0xd7e($at) +func_8024D718: +/* 17BFF8 8024D718 3C01802A */ lui $at, 0x802a +/* 17BFFC 8024D71C A022F2A2 */ sb $v0, -0xd5e($at) +/* 17C000 8024D720 3C01802A */ lui $at, 0x802a +/* 17C004 8024D724 A020F2A3 */ sb $zero, -0xd5d($at) +/* 17C008 8024D728 3C01802A */ lui $at, 0x802a +/* 17C00C 8024D72C A420F27C */ sh $zero, -0xd84($at) +/* 17C010 8024D730 3C01802A */ lui $at, 0x802a +/* 17C014 8024D734 A020F2A6 */ sb $zero, -0xd5a($at) +/* 17C018 8024D738 080938DD */ j func_8024E374 +/* 17C01C 8024D73C 00000000 */ nop + +/* 17C020 8024D740 3C108028 */ lui $s0, 0x8028 +/* 17C024 8024D744 26100D20 */ addiu $s0, $s0, 0xd20 +/* 17C028 8024D748 2402017C */ addiu $v0, $zero, 0x17c +/* 17C02C 8024D74C 3C01802A */ lui $at, 0x802a +/* 17C030 8024D750 A422F280 */ sh $v0, -0xd80($at) +/* 17C034 8024D754 24020008 */ addiu $v0, $zero, 8 +/* 17C038 8024D758 3C01802A */ lui $at, 0x802a +/* 17C03C 8024D75C A422F284 */ sh $v0, -0xd7c($at) +/* 17C040 8024D760 2402003C */ addiu $v0, $zero, 0x3c +/* 17C044 8024D764 3C01802A */ lui $at, 0x802a +/* 17C048 8024D768 A422F29E */ sh $v0, -0xd62($at) +/* 17C04C 8024D76C 24020001 */ addiu $v0, $zero, 1 +/* 17C050 8024D770 3C01802A */ lui $at, 0x802a +/* 17C054 8024D774 A420F282 */ sh $zero, -0xd7e($at) +/* 17C058 8024D778 3C01802A */ lui $at, 0x802a +/* 17C05C 8024D77C A420F286 */ sh $zero, -0xd7a($at) +/* 17C060 8024D780 3C01802A */ lui $at, 0x802a +/* 17C064 8024D784 A022F2A2 */ sb $v0, -0xd5e($at) +/* 17C068 8024D788 3C01802A */ lui $at, 0x802a +/* 17C06C 8024D78C A020F2A3 */ sb $zero, -0xd5d($at) +/* 17C070 8024D790 3C01802A */ lui $at, 0x802a +/* 17C074 8024D794 A022F2A5 */ sb $v0, -0xd5b($at) +/* 17C078 8024D798 08093659 */ j func_8024D964 +/* 17C07C 8024D79C 00000000 */ nop + +/* 17C080 8024D7A0 3C108028 */ lui $s0, 0x8028 +/* 17C084 8024D7A4 26100D20 */ addiu $s0, $s0, 0xd20 +/* 17C088 8024D7A8 24020140 */ addiu $v0, $zero, 0x140 +/* 17C08C 8024D7AC 3C01802A */ lui $at, 0x802a +/* 17C090 8024D7B0 A422F280 */ sh $v0, -0xd80($at) +/* 17C094 8024D7B4 24020008 */ addiu $v0, $zero, 8 +/* 17C098 8024D7B8 3C01802A */ lui $at, 0x802a +/* 17C09C 8024D7BC A422F284 */ sh $v0, -0xd7c($at) +/* 17C0A0 8024D7C0 2402001E */ addiu $v0, $zero, 0x1e +/* 17C0A4 8024D7C4 3C01802A */ lui $at, 0x802a +/* 17C0A8 8024D7C8 A422F29E */ sh $v0, -0xd62($at) +/* 17C0AC 8024D7CC 2402FFFC */ addiu $v0, $zero, -4 +/* 17C0B0 8024D7D0 3C01802A */ lui $at, 0x802a +/* 17C0B4 8024D7D4 A422F286 */ sh $v0, -0xd7a($at) +/* 17C0B8 8024D7D8 24020001 */ addiu $v0, $zero, 1 +/* 17C0BC 8024D7DC 3C01802A */ lui $at, 0x802a +/* 17C0C0 8024D7E0 A420F282 */ sh $zero, -0xd7e($at) +/* 17C0C4 8024D7E4 3C01802A */ lui $at, 0x802a +/* 17C0C8 8024D7E8 A022F2A2 */ sb $v0, -0xd5e($at) +/* 17C0CC 8024D7EC 3C01802A */ lui $at, 0x802a +/* 17C0D0 8024D7F0 A020F2A3 */ sb $zero, -0xd5d($at) +/* 17C0D4 8024D7F4 08093659 */ j func_8024D964 +/* 17C0D8 8024D7F8 00000000 */ nop + +/* 17C0DC 8024D7FC 3C108028 */ lui $s0, 0x8028 +/* 17C0E0 8024D800 26100D20 */ addiu $s0, $s0, 0xd20 +/* 17C0E4 8024D804 2402012C */ addiu $v0, $zero, 0x12c +/* 17C0E8 8024D808 3C01802A */ lui $at, 0x802a +/* 17C0EC 8024D80C A422F280 */ sh $v0, -0xd80($at) +/* 17C0F0 8024D810 24020008 */ addiu $v0, $zero, 8 +/* 17C0F4 8024D814 3C01802A */ lui $at, 0x802a +/* 17C0F8 8024D818 A422F284 */ sh $v0, -0xd7c($at) +/* 17C0FC 8024D81C 2402003C */ addiu $v0, $zero, 0x3c +/* 17C100 8024D820 3C01802A */ lui $at, 0x802a +/* 17C104 8024D824 A422F29E */ sh $v0, -0xd62($at) +/* 17C108 8024D828 24020001 */ addiu $v0, $zero, 1 +/* 17C10C 8024D82C 3C01802A */ lui $at, 0x802a +/* 17C110 8024D830 A420F282 */ sh $zero, -0xd7e($at) +/* 17C114 8024D834 3C01802A */ lui $at, 0x802a +/* 17C118 8024D838 A420F286 */ sh $zero, -0xd7a($at) +/* 17C11C 8024D83C 3C01802A */ lui $at, 0x802a +/* 17C120 8024D840 A022F2A2 */ sb $v0, -0xd5e($at) +/* 17C124 8024D844 3C01802A */ lui $at, 0x802a +/* 17C128 8024D848 A020F2A3 */ sb $zero, -0xd5d($at) +/* 17C12C 8024D84C 3C01802A */ lui $at, 0x802a +/* 17C130 8024D850 A022F2A5 */ sb $v0, -0xd5b($at) +/* 17C134 8024D854 08093659 */ j func_8024D964 +/* 17C138 8024D858 00000000 */ nop + +/* 17C13C 8024D85C 3C108028 */ lui $s0, 0x8028 +/* 17C140 8024D860 26100D20 */ addiu $s0, $s0, 0xd20 +/* 17C144 8024D864 24020140 */ addiu $v0, $zero, 0x140 +/* 17C148 8024D868 3C01802A */ lui $at, 0x802a +/* 17C14C 8024D86C A422F280 */ sh $v0, -0xd80($at) +/* 17C150 8024D870 24020008 */ addiu $v0, $zero, 8 +/* 17C154 8024D874 3C01802A */ lui $at, 0x802a +/* 17C158 8024D878 A422F284 */ sh $v0, -0xd7c($at) +/* 17C15C 8024D87C 2402001E */ addiu $v0, $zero, 0x1e +/* 17C160 8024D880 3C01802A */ lui $at, 0x802a +/* 17C164 8024D884 A422F29E */ sh $v0, -0xd62($at) +/* 17C168 8024D888 2402FFFC */ addiu $v0, $zero, -4 +/* 17C16C 8024D88C 3C01802A */ lui $at, 0x802a +/* 17C170 8024D890 A422F286 */ sh $v0, -0xd7a($at) +/* 17C174 8024D894 24020001 */ addiu $v0, $zero, 1 +/* 17C178 8024D898 3C01802A */ lui $at, 0x802a +/* 17C17C 8024D89C A420F282 */ sh $zero, -0xd7e($at) +/* 17C180 8024D8A0 3C01802A */ lui $at, 0x802a +/* 17C184 8024D8A4 A022F2A2 */ sb $v0, -0xd5e($at) +/* 17C188 8024D8A8 3C01802A */ lui $at, 0x802a +/* 17C18C 8024D8AC A020F2A3 */ sb $zero, -0xd5d($at) +/* 17C190 8024D8B0 08093659 */ j func_8024D964 +/* 17C194 8024D8B4 00000000 */ nop + +/* 17C198 8024D8B8 3C108028 */ lui $s0, 0x8028 +/* 17C19C 8024D8BC 26100D20 */ addiu $s0, $s0, 0xd20 +/* 17C1A0 8024D8C0 24020140 */ addiu $v0, $zero, 0x140 +/* 17C1A4 8024D8C4 3C01802A */ lui $at, 0x802a +/* 17C1A8 8024D8C8 A422F280 */ sh $v0, -0xd80($at) +/* 17C1AC 8024D8CC 24020008 */ addiu $v0, $zero, 8 +/* 17C1B0 8024D8D0 3C01802A */ lui $at, 0x802a +/* 17C1B4 8024D8D4 A422F284 */ sh $v0, -0xd7c($at) +/* 17C1B8 8024D8D8 2402001E */ addiu $v0, $zero, 0x1e +/* 17C1BC 8024D8DC 3C01802A */ lui $at, 0x802a +/* 17C1C0 8024D8E0 A422F29E */ sh $v0, -0xd62($at) +/* 17C1C4 8024D8E4 24020001 */ addiu $v0, $zero, 1 +/* 17C1C8 8024D8E8 3C01802A */ lui $at, 0x802a +/* 17C1CC 8024D8EC A420F282 */ sh $zero, -0xd7e($at) +/* 17C1D0 8024D8F0 3C01802A */ lui $at, 0x802a +/* 17C1D4 8024D8F4 A420F286 */ sh $zero, -0xd7a($at) +/* 17C1D8 8024D8F8 3C01802A */ lui $at, 0x802a +/* 17C1DC 8024D8FC A022F2A2 */ sb $v0, -0xd5e($at) +/* 17C1E0 8024D900 3C01802A */ lui $at, 0x802a +/* 17C1E4 8024D904 A020F2A3 */ sb $zero, -0xd5d($at) +/* 17C1E8 8024D908 08093659 */ j func_8024D964 +/* 17C1EC 8024D90C 00000000 */ nop + +/* 17C1F0 8024D910 3C108028 */ lui $s0, 0x8028 +/* 17C1F4 8024D914 26100D20 */ addiu $s0, $s0, 0xd20 +/* 17C1F8 8024D918 24020168 */ addiu $v0, $zero, 0x168 +/* 17C1FC 8024D91C 3C01802A */ lui $at, 0x802a +/* 17C200 8024D920 A422F280 */ sh $v0, -0xd80($at) +/* 17C204 8024D924 24020008 */ addiu $v0, $zero, 8 +/* 17C208 8024D928 3C01802A */ lui $at, 0x802a +/* 17C20C 8024D92C A422F284 */ sh $v0, -0xd7c($at) +/* 17C210 8024D930 24020014 */ addiu $v0, $zero, 0x14 +/* 17C214 8024D934 3C01802A */ lui $at, 0x802a +/* 17C218 8024D938 A422F29E */ sh $v0, -0xd62($at) +/* 17C21C 8024D93C 2402FFFC */ addiu $v0, $zero, -4 +func_8024D940: +/* 17C220 8024D940 3C01802A */ lui $at, 0x802a +/* 17C224 8024D944 A422F286 */ sh $v0, -0xd7a($at) +/* 17C228 8024D948 24020001 */ addiu $v0, $zero, 1 +/* 17C22C 8024D94C 3C01802A */ lui $at, 0x802a +/* 17C230 8024D950 A420F282 */ sh $zero, -0xd7e($at) +/* 17C234 8024D954 3C01802A */ lui $at, 0x802a +/* 17C238 8024D958 A022F2A2 */ sb $v0, -0xd5e($at) +/* 17C23C 8024D95C 3C01802A */ lui $at, 0x802a +/* 17C240 8024D960 A022F2A3 */ sb $v0, -0xd5d($at) +func_8024D964: +/* 17C244 8024D964 3C01802A */ lui $at, 0x802a +/* 17C248 8024D968 A020F2A6 */ sb $zero, -0xd5a($at) +/* 17C24C 8024D96C 3C01802A */ lui $at, 0x802a +/* 17C250 8024D970 A420F27C */ sh $zero, -0xd84($at) +/* 17C254 8024D974 080938DD */ j func_8024E374 +/* 17C258 8024D978 00000000 */ nop + +/* 17C25C 8024D97C 3C10802A */ lui $s0, 0x802a +/* 17C260 8024D980 8E10F2B4 */ lw $s0, -0xd4c($s0) +/* 17C264 8024D984 240200C8 */ addiu $v0, $zero, 0xc8 +/* 17C268 8024D988 3C01802A */ lui $at, 0x802a +/* 17C26C 8024D98C A422F280 */ sh $v0, -0xd80($at) +/* 17C270 8024D990 24020007 */ addiu $v0, $zero, 7 +/* 17C274 8024D994 3C01802A */ lui $at, 0x802a +/* 17C278 8024D998 A422F29E */ sh $v0, -0xd62($at) +/* 17C27C 8024D99C 3C01802A */ lui $at, 0x802a +/* 17C280 8024D9A0 A422F2A0 */ sh $v0, -0xd60($at) +/* 17C284 8024D9A4 3C01802A */ lui $at, 0x802a +/* 17C288 8024D9A8 A020F29C */ sb $zero, -0xd64($at) +/* 17C28C 8024D9AC 3C01802A */ lui $at, 0x802a +/* 17C290 8024D9B0 A020F2A6 */ sb $zero, -0xd5a($at) +/* 17C294 8024D9B4 080938DD */ j func_8024E374 +/* 17C298 8024D9B8 00000000 */ nop + +/* 17C29C 8024D9BC 3C108028 */ lui $s0, 0x8028 +/* 17C2A0 8024D9C0 26100D20 */ addiu $s0, $s0, 0xd20 +/* 17C2A4 8024D9C4 240200D6 */ addiu $v0, $zero, 0xd6 +/* 17C2A8 8024D9C8 3C01802A */ lui $at, 0x802a +/* 17C2AC 8024D9CC A422F280 */ sh $v0, -0xd80($at) +/* 17C2B0 8024D9D0 24020008 */ addiu $v0, $zero, 8 +/* 17C2B4 8024D9D4 3C01802A */ lui $at, 0x802a +/* 17C2B8 8024D9D8 A422F284 */ sh $v0, -0xd7c($at) +/* 17C2BC 8024D9DC 24020014 */ addiu $v0, $zero, 0x14 +/* 17C2C0 8024D9E0 3C01802A */ lui $at, 0x802a +/* 17C2C4 8024D9E4 A422F29E */ sh $v0, -0xd62($at) +/* 17C2C8 8024D9E8 24020010 */ addiu $v0, $zero, 0x10 +/* 17C2CC 8024D9EC 3C01802A */ lui $at, 0x802a +/* 17C2D0 8024D9F0 A422F286 */ sh $v0, -0xd7a($at) +/* 17C2D4 8024D9F4 2402FFFE */ addiu $v0, $zero, -2 +/* 17C2D8 8024D9F8 3C01802A */ lui $at, 0x802a +/* 17C2DC 8024D9FC A022F2A2 */ sb $v0, -0xd5e($at) +/* 17C2E0 8024DA00 3C01802A */ lui $at, 0x802a +/* 17C2E4 8024DA04 A420F282 */ sh $zero, -0xd7e($at) +/* 17C2E8 8024DA08 3C01802A */ lui $at, 0x802a +/* 17C2EC 8024DA0C A420F27C */ sh $zero, -0xd84($at) +/* 17C2F0 8024DA10 0809369A */ j func_8024DA68 +/* 17C2F4 8024DA14 24020001 */ addiu $v0, $zero, 1 + +/* 17C2F8 8024DA18 3C108028 */ lui $s0, 0x8028 +/* 17C2FC 8024DA1C 26100D20 */ addiu $s0, $s0, 0xd20 +/* 17C300 8024DA20 2402012C */ addiu $v0, $zero, 0x12c +/* 17C304 8024DA24 3C01802A */ lui $at, 0x802a +/* 17C308 8024DA28 A422F280 */ sh $v0, -0xd80($at) +/* 17C30C 8024DA2C 24020008 */ addiu $v0, $zero, 8 +/* 17C310 8024DA30 3C01802A */ lui $at, 0x802a +/* 17C314 8024DA34 A422F284 */ sh $v0, -0xd7c($at) +/* 17C318 8024DA38 3C01802A */ lui $at, 0x802a +/* 17C31C 8024DA3C A422F29E */ sh $v0, -0xd62($at) +/* 17C320 8024DA40 24020010 */ addiu $v0, $zero, 0x10 +/* 17C324 8024DA44 3C01802A */ lui $at, 0x802a +/* 17C328 8024DA48 A422F286 */ sh $v0, -0xd7a($at) +/* 17C32C 8024DA4C 24020001 */ addiu $v0, $zero, 1 +/* 17C330 8024DA50 3C01802A */ lui $at, 0x802a +/* 17C334 8024DA54 A420F282 */ sh $zero, -0xd7e($at) +/* 17C338 8024DA58 3C01802A */ lui $at, 0x802a +/* 17C33C 8024DA5C A420F27C */ sh $zero, -0xd84($at) +/* 17C340 8024DA60 3C01802A */ lui $at, 0x802a +/* 17C344 8024DA64 A020F2A2 */ sb $zero, -0xd5e($at) +func_8024DA68: +/* 17C348 8024DA68 3C01802A */ lui $at, 0x802a +/* 17C34C 8024DA6C A022F2A3 */ sb $v0, -0xd5d($at) +/* 17C350 8024DA70 3C01802A */ lui $at, 0x802a +/* 17C354 8024DA74 A020F2A6 */ sb $zero, -0xd5a($at) +/* 17C358 8024DA78 080938DD */ j func_8024E374 +/* 17C35C 8024DA7C 00000000 */ nop + +/* 17C360 8024DA80 3C108028 */ lui $s0, 0x8028 +/* 17C364 8024DA84 26100D90 */ addiu $s0, $s0, 0xd90 +/* 17C368 8024DA88 3C014270 */ lui $at, 0x4270 +/* 17C36C 8024DA8C 44810000 */ mtc1 $at, $f0 +/* 17C370 8024DA90 3C014220 */ lui $at, 0x4220 +/* 17C374 8024DA94 44811000 */ mtc1 $at, $f2 +/* 17C378 8024DA98 240201AE */ addiu $v0, $zero, 0x1ae +/* 17C37C 8024DA9C 3C01802A */ lui $at, 0x802a +/* 17C380 8024DAA0 A422F280 */ sh $v0, -0xd80($at) +/* 17C384 8024DAA4 24020008 */ addiu $v0, $zero, 8 +/* 17C388 8024DAA8 3C01802A */ lui $at, 0x802a +/* 17C38C 8024DAAC A422F284 */ sh $v0, -0xd7c($at) +/* 17C390 8024DAB0 2402000A */ addiu $v0, $zero, 0xa +/* 17C394 8024DAB4 3C01802A */ lui $at, 0x802a +/* 17C398 8024DAB8 A422F29E */ sh $v0, -0xd62($at) +/* 17C39C 8024DABC 24020010 */ addiu $v0, $zero, 0x10 +/* 17C3A0 8024DAC0 3C01802A */ lui $at, 0x802a +/* 17C3A4 8024DAC4 A420F282 */ sh $zero, -0xd7e($at) +/* 17C3A8 8024DAC8 3C01802A */ lui $at, 0x802a +/* 17C3AC 8024DACC A422F286 */ sh $v0, -0xd7a($at) +/* 17C3B0 8024DAD0 3C01802A */ lui $at, 0x802a +/* 17C3B4 8024DAD4 A420F27C */ sh $zero, -0xd84($at) +/* 17C3B8 8024DAD8 08093827 */ j func_8024E09C +/* 17C3BC 8024DADC 00000000 */ nop + +/* 17C3C0 8024DAE0 3C108028 */ lui $s0, 0x8028 +/* 17C3C4 8024DAE4 26100D90 */ addiu $s0, $s0, 0xd90 +/* 17C3C8 8024DAE8 3C014270 */ lui $at, 0x4270 +/* 17C3CC 8024DAEC 44810000 */ mtc1 $at, $f0 +/* 17C3D0 8024DAF0 3C014220 */ lui $at, 0x4220 +/* 17C3D4 8024DAF4 44811000 */ mtc1 $at, $f2 +/* 17C3D8 8024DAF8 240201CC */ addiu $v0, $zero, 0x1cc +/* 17C3DC 8024DAFC 3C01802A */ lui $at, 0x802a +/* 17C3E0 8024DB00 A422F280 */ sh $v0, -0xd80($at) +/* 17C3E4 8024DB04 24020008 */ addiu $v0, $zero, 8 +/* 17C3E8 8024DB08 3C01802A */ lui $at, 0x802a +/* 17C3EC 8024DB0C A422F284 */ sh $v0, -0xd7c($at) +/* 17C3F0 8024DB10 2402000A */ addiu $v0, $zero, 0xa +/* 17C3F4 8024DB14 3C01802A */ lui $at, 0x802a +/* 17C3F8 8024DB18 A422F29E */ sh $v0, -0xd62($at) +/* 17C3FC 8024DB1C 2402001B */ addiu $v0, $zero, 0x1b +/* 17C400 8024DB20 3C01802A */ lui $at, 0x802a +/* 17C404 8024DB24 A420F282 */ sh $zero, -0xd7e($at) +/* 17C408 8024DB28 3C01802A */ lui $at, 0x802a +/* 17C40C 8024DB2C A422F286 */ sh $v0, -0xd7a($at) +/* 17C410 8024DB30 3C01802A */ lui $at, 0x802a +/* 17C414 8024DB34 A420F27C */ sh $zero, -0xd84($at) +/* 17C418 8024DB38 3C01802A */ lui $at, 0x802a +/* 17C41C 8024DB3C A020F2A2 */ sb $zero, -0xd5e($at) +/* 17C420 8024DB40 0809382B */ j func_8024E0AC +/* 17C424 8024DB44 00000000 */ nop + +/* 17C428 8024DB48 3C108028 */ lui $s0, 0x8028 +/* 17C42C 8024DB4C 26100E00 */ addiu $s0, $s0, 0xe00 +/* 17C430 8024DB50 3C01C28C */ lui $at, 0xc28c +/* 17C434 8024DB54 44816000 */ mtc1 $at, $f12 +/* 17C438 8024DB58 44800000 */ mtc1 $zero, $f0 +/* 17C43C 8024DB5C 24020186 */ addiu $v0, $zero, 0x186 +/* 17C440 8024DB60 3C01802A */ lui $at, 0x802a +/* 17C444 8024DB64 A422F280 */ sh $v0, -0xd80($at) +/* 17C448 8024DB68 44060000 */ mfc1 $a2, $f0 +/* 17C44C 8024DB6C 24020008 */ addiu $v0, $zero, 8 +/* 17C450 8024DB70 3C01802A */ lui $at, 0x802a +/* 17C454 8024DB74 A422F284 */ sh $v0, -0xd7c($at) +/* 17C458 8024DB78 44867000 */ mtc1 $a2, $f14 +/* 17C45C 8024DB7C 2402002D */ addiu $v0, $zero, 0x2d +/* 17C460 8024DB80 3C01802A */ lui $at, 0x802a +/* 17C464 8024DB84 A420F282 */ sh $zero, -0xd7e($at) +/* 17C468 8024DB88 3C01802A */ lui $at, 0x802a +/* 17C46C 8024DB8C A422F286 */ sh $v0, -0xd7a($at) +/* 17C470 8024DB90 0C093948 */ jal set_cam_target_pos +/* 17C474 8024DB94 00000000 */ nop +/* 17C478 8024DB98 08093710 */ j func_8024DC40 +/* 17C47C 8024DB9C 2402000A */ addiu $v0, $zero, 0xa + +/* 17C480 8024DBA0 3C108028 */ lui $s0, 0x8028 +/* 17C484 8024DBA4 26100E00 */ addiu $s0, $s0, 0xe00 +/* 17C488 8024DBA8 44806000 */ mtc1 $zero, $f12 +/* 17C48C 8024DBAC 240201F4 */ addiu $v0, $zero, 0x1f4 +/* 17C490 8024DBB0 3C01802A */ lui $at, 0x802a +/* 17C494 8024DBB4 A422F280 */ sh $v0, -0xd80($at) +/* 17C498 8024DBB8 24020008 */ addiu $v0, $zero, 8 +/* 17C49C 8024DBBC 3C01802A */ lui $at, 0x802a +/* 17C4A0 8024DBC0 A422F284 */ sh $v0, -0xd7c($at) +/* 17C4A4 8024DBC4 2402002D */ addiu $v0, $zero, 0x2d +/* 17C4A8 8024DBC8 3C01802A */ lui $at, 0x802a +/* 17C4AC 8024DBCC A420F282 */ sh $zero, -0xd7e($at) +/* 17C4B0 8024DBD0 3C01802A */ lui $at, 0x802a +/* 17C4B4 8024DBD4 A422F286 */ sh $v0, -0xd7a($at) +/* 17C4B8 8024DBD8 44066000 */ mfc1 $a2, $f12 +/* 17C4BC 8024DBDC 0C093948 */ jal set_cam_target_pos +/* 17C4C0 8024DBE0 46006386 */ mov.s $f14, $f12 +/* 17C4C4 8024DBE4 08093710 */ j func_8024DC40 +/* 17C4C8 8024DBE8 24020028 */ addiu $v0, $zero, 0x28 + +/* 17C4CC 8024DBEC 3C108028 */ lui $s0, 0x8028 +/* 17C4D0 8024DBF0 26100E00 */ addiu $s0, $s0, 0xe00 +/* 17C4D4 8024DBF4 3C01C248 */ lui $at, 0xc248 +/* 17C4D8 8024DBF8 44816000 */ mtc1 $at, $f12 +/* 17C4DC 8024DBFC 44800000 */ mtc1 $zero, $f0 +/* 17C4E0 8024DC00 2402012C */ addiu $v0, $zero, 0x12c +/* 17C4E4 8024DC04 3C01802A */ lui $at, 0x802a +/* 17C4E8 8024DC08 A422F280 */ sh $v0, -0xd80($at) +/* 17C4EC 8024DC0C 44060000 */ mfc1 $a2, $f0 +/* 17C4F0 8024DC10 24020008 */ addiu $v0, $zero, 8 +/* 17C4F4 8024DC14 3C01802A */ lui $at, 0x802a +/* 17C4F8 8024DC18 A422F284 */ sh $v0, -0xd7c($at) +/* 17C4FC 8024DC1C 44867000 */ mtc1 $a2, $f14 +/* 17C500 8024DC20 2402002D */ addiu $v0, $zero, 0x2d +/* 17C504 8024DC24 3C01802A */ lui $at, 0x802a +/* 17C508 8024DC28 A420F282 */ sh $zero, -0xd7e($at) +/* 17C50C 8024DC2C 3C01802A */ lui $at, 0x802a +/* 17C510 8024DC30 A422F286 */ sh $v0, -0xd7a($at) +/* 17C514 8024DC34 0C093948 */ jal set_cam_target_pos +/* 17C518 8024DC38 00000000 */ nop +/* 17C51C 8024DC3C 24020014 */ addiu $v0, $zero, 0x14 +func_8024DC40: +/* 17C520 8024DC40 3C01802A */ lui $at, 0x802a +/* 17C524 8024DC44 A422F29E */ sh $v0, -0xd62($at) +/* 17C528 8024DC48 3C01802A */ lui $at, 0x802a +/* 17C52C 8024DC4C A020F2A6 */ sb $zero, -0xd5a($at) +/* 17C530 8024DC50 080938DD */ j func_8024E374 +/* 17C534 8024DC54 00000000 */ nop + +/* 17C538 8024DC58 3C108028 */ lui $s0, 0x8028 +/* 17C53C 8024DC5C 26100D90 */ addiu $s0, $s0, 0xd90 +/* 17C540 8024DC60 3C01C296 */ lui $at, 0xc296 +/* 17C544 8024DC64 44810000 */ mtc1 $at, $f0 +/* 17C548 8024DC68 3C014316 */ lui $at, 0x4316 +/* 17C54C 8024DC6C 44811000 */ mtc1 $at, $f2 +/* 17C550 8024DC70 240200A6 */ addiu $v0, $zero, 0xa6 +/* 17C554 8024DC74 3C01802A */ lui $at, 0x802a +/* 17C558 8024DC78 A422F280 */ sh $v0, -0xd80($at) +/* 17C55C 8024DC7C 24020008 */ addiu $v0, $zero, 8 +/* 17C560 8024DC80 3C01802A */ lui $at, 0x802a +/* 17C564 8024DC84 A422F284 */ sh $v0, -0xd7c($at) +/* 17C568 8024DC88 24020001 */ addiu $v0, $zero, 1 +/* 17C56C 8024DC8C 3C01802A */ lui $at, 0x802a +/* 17C570 8024DC90 A422F29E */ sh $v0, -0xd62($at) +/* 17C574 8024DC94 08093823 */ j func_8024E08C +/* 17C578 8024DC98 24020011 */ addiu $v0, $zero, 0x11 + +/* 17C57C 8024DC9C 3C108028 */ lui $s0, 0x8028 +/* 17C580 8024DCA0 26100D20 */ addiu $s0, $s0, 0xd20 +/* 17C584 8024DCA4 24020136 */ addiu $v0, $zero, 0x136 +/* 17C588 8024DCA8 3C01802A */ lui $at, 0x802a +/* 17C58C 8024DCAC A422F280 */ sh $v0, -0xd80($at) +/* 17C590 8024DCB0 24020008 */ addiu $v0, $zero, 8 +/* 17C594 8024DCB4 3C01802A */ lui $at, 0x802a +/* 17C598 8024DCB8 A422F284 */ sh $v0, -0xd7c($at) +/* 17C59C 8024DCBC 2402001E */ addiu $v0, $zero, 0x1e +/* 17C5A0 8024DCC0 3C01802A */ lui $at, 0x802a +/* 17C5A4 8024DCC4 A422F29E */ sh $v0, -0xd62($at) +/* 17C5A8 8024DCC8 24020010 */ addiu $v0, $zero, 0x10 +/* 17C5AC 8024DCCC 3C01802A */ lui $at, 0x802a +/* 17C5B0 8024DCD0 A422F286 */ sh $v0, -0xd7a($at) +/* 17C5B4 8024DCD4 24020001 */ addiu $v0, $zero, 1 +/* 17C5B8 8024DCD8 3C01802A */ lui $at, 0x802a +/* 17C5BC 8024DCDC A022F2A2 */ sb $v0, -0xd5e($at) +/* 17C5C0 8024DCE0 3C01802A */ lui $at, 0x802a +/* 17C5C4 8024DCE4 A022F2A3 */ sb $v0, -0xd5d($at) +/* 17C5C8 8024DCE8 08093849 */ j func_8024E124 +/* 17C5CC 8024DCEC 24020100 */ addiu $v0, $zero, 0x100 + +/* 17C5D0 8024DCF0 3C108028 */ lui $s0, 0x8028 +/* 17C5D4 8024DCF4 26100D20 */ addiu $s0, $s0, 0xd20 +/* 17C5D8 8024DCF8 240200FA */ addiu $v0, $zero, 0xfa +/* 17C5DC 8024DCFC 3C01802A */ lui $at, 0x802a +/* 17C5E0 8024DD00 A422F280 */ sh $v0, -0xd80($at) +/* 17C5E4 8024DD04 24020008 */ addiu $v0, $zero, 8 +/* 17C5E8 8024DD08 3C01802A */ lui $at, 0x802a +/* 17C5EC 8024DD0C A422F284 */ sh $v0, -0xd7c($at) +/* 17C5F0 8024DD10 24020078 */ addiu $v0, $zero, 0x78 +/* 17C5F4 8024DD14 3C01802A */ lui $at, 0x802a +/* 17C5F8 8024DD18 A422F29E */ sh $v0, -0xd62($at) +/* 17C5FC 8024DD1C 24020010 */ addiu $v0, $zero, 0x10 +/* 17C600 8024DD20 3C01802A */ lui $at, 0x802a +/* 17C604 8024DD24 A422F286 */ sh $v0, -0xd7a($at) +/* 17C608 8024DD28 24020001 */ addiu $v0, $zero, 1 +/* 17C60C 8024DD2C 3C01802A */ lui $at, 0x802a +/* 17C610 8024DD30 A022F2A2 */ sb $v0, -0xd5e($at) +/* 17C614 8024DD34 3C01802A */ lui $at, 0x802a +/* 17C618 8024DD38 A022F2A3 */ sb $v0, -0xd5d($at) +/* 17C61C 8024DD3C 3C01802A */ lui $at, 0x802a +/* 17C620 8024DD40 A022F2A5 */ sb $v0, -0xd5b($at) +/* 17C624 8024DD44 080937CF */ j func_8024DF3C +/* 17C628 8024DD48 24020100 */ addiu $v0, $zero, 0x100 + +/* 17C62C 8024DD4C 3C108028 */ lui $s0, 0x8028 +/* 17C630 8024DD50 26100D58 */ addiu $s0, $s0, 0xd58 +/* 17C634 8024DD54 2402012C */ addiu $v0, $zero, 0x12c +/* 17C638 8024DD58 3C01802A */ lui $at, 0x802a +/* 17C63C 8024DD5C A422F280 */ sh $v0, -0xd80($at) +/* 17C640 8024DD60 24020008 */ addiu $v0, $zero, 8 +/* 17C644 8024DD64 3C01802A */ lui $at, 0x802a +/* 17C648 8024DD68 A422F284 */ sh $v0, -0xd7c($at) +/* 17C64C 8024DD6C 24020078 */ addiu $v0, $zero, 0x78 +/* 17C650 8024DD70 3C01802A */ lui $at, 0x802a +/* 17C654 8024DD74 A422F29E */ sh $v0, -0xd62($at) +/* 17C658 8024DD78 24020010 */ addiu $v0, $zero, 0x10 +/* 17C65C 8024DD7C 3C01802A */ lui $at, 0x802a +/* 17C660 8024DD80 A422F286 */ sh $v0, -0xd7a($at) +/* 17C664 8024DD84 24020001 */ addiu $v0, $zero, 1 +/* 17C668 8024DD88 3C01802A */ lui $at, 0x802a +/* 17C66C 8024DD8C A022F2A2 */ sb $v0, -0xd5e($at) +/* 17C670 8024DD90 3C01802A */ lui $at, 0x802a +/* 17C674 8024DD94 A022F2A3 */ sb $v0, -0xd5d($at) +/* 17C678 8024DD98 3C01802A */ lui $at, 0x802a +/* 17C67C 8024DD9C A022F2A5 */ sb $v0, -0xd5b($at) +/* 17C680 8024DDA0 080937CF */ j func_8024DF3C +/* 17C684 8024DDA4 24020100 */ addiu $v0, $zero, 0x100 + +/* 17C688 8024DDA8 3C108028 */ lui $s0, 0x8028 +/* 17C68C 8024DDAC 26100D20 */ addiu $s0, $s0, 0xd20 +/* 17C690 8024DDB0 24020140 */ addiu $v0, $zero, 0x140 +/* 17C694 8024DDB4 3C01802A */ lui $at, 0x802a +/* 17C698 8024DDB8 A422F280 */ sh $v0, -0xd80($at) +/* 17C69C 8024DDBC 24020008 */ addiu $v0, $zero, 8 +/* 17C6A0 8024DDC0 3C01802A */ lui $at, 0x802a +/* 17C6A4 8024DDC4 A422F284 */ sh $v0, -0xd7c($at) +/* 17C6A8 8024DDC8 24020005 */ addiu $v0, $zero, 5 +/* 17C6AC 8024DDCC 3C01802A */ lui $at, 0x802a +/* 17C6B0 8024DDD0 A422F29E */ sh $v0, -0xd62($at) +/* 17C6B4 8024DDD4 24020001 */ addiu $v0, $zero, 1 +/* 17C6B8 8024DDD8 3C01802A */ lui $at, 0x802a +/* 17C6BC 8024DDDC A022F2A2 */ sb $v0, -0xd5e($at) +/* 17C6C0 8024DDE0 3C01802A */ lui $at, 0x802a +/* 17C6C4 8024DDE4 A420F282 */ sh $zero, -0xd7e($at) +/* 17C6C8 8024DDE8 3C01802A */ lui $at, 0x802a +/* 17C6CC 8024DDEC A420F286 */ sh $zero, -0xd7a($at) +/* 17C6D0 8024DDF0 3C01802A */ lui $at, 0x802a +/* 17C6D4 8024DDF4 A020F2A3 */ sb $zero, -0xd5d($at) +/* 17C6D8 8024DDF8 0809384B */ j func_8024E12C +/* 17C6DC 8024DDFC 24020100 */ addiu $v0, $zero, 0x100 + +/* 17C6E0 8024DE00 3C108028 */ lui $s0, 0x8028 +/* 17C6E4 8024DE04 26100DC8 */ addiu $s0, $s0, 0xdc8 +/* 17C6E8 8024DE08 24020032 */ addiu $v0, $zero, 0x32 +/* 17C6EC 8024DE0C 3C01802A */ lui $at, 0x802a +/* 17C6F0 8024DE10 A422F29E */ sh $v0, -0xd62($at) +/* 17C6F4 8024DE14 240201F4 */ addiu $v0, $zero, 0x1f4 +/* 17C6F8 8024DE18 3C01802A */ lui $at, 0x802a +/* 17C6FC 8024DE1C A422F280 */ sh $v0, -0xd80($at) +/* 17C700 8024DE20 3C01802A */ lui $at, 0x802a +/* 17C704 8024DE24 A420F286 */ sh $zero, -0xd7a($at) +/* 17C708 8024DE28 080938DD */ j func_8024E374 +/* 17C70C 8024DE2C 00000000 */ nop + +/* 17C710 8024DE30 3C108028 */ lui $s0, 0x8028 +/* 17C714 8024DE34 26100D20 */ addiu $s0, $s0, 0xd20 +/* 17C718 8024DE38 24020118 */ addiu $v0, $zero, 0x118 +/* 17C71C 8024DE3C 3C01802A */ lui $at, 0x802a +/* 17C720 8024DE40 A422F280 */ sh $v0, -0xd80($at) +/* 17C724 8024DE44 24020008 */ addiu $v0, $zero, 8 +/* 17C728 8024DE48 3C01802A */ lui $at, 0x802a +/* 17C72C 8024DE4C A422F284 */ sh $v0, -0xd7c($at) +/* 17C730 8024DE50 2402001E */ addiu $v0, $zero, 0x1e +/* 17C734 8024DE54 3C01802A */ lui $at, 0x802a +/* 17C738 8024DE58 A422F29E */ sh $v0, -0xd62($at) +/* 17C73C 8024DE5C 2402FFFC */ addiu $v0, $zero, -4 +/* 17C740 8024DE60 3C01802A */ lui $at, 0x802a +/* 17C744 8024DE64 A422F286 */ sh $v0, -0xd7a($at) +/* 17C748 8024DE68 24020001 */ addiu $v0, $zero, 1 +/* 17C74C 8024DE6C 3C01802A */ lui $at, 0x802a +/* 17C750 8024DE70 A022F2A2 */ sb $v0, -0xd5e($at) +/* 17C754 8024DE74 3C01802A */ lui $at, 0x802a +/* 17C758 8024DE78 A420F282 */ sh $zero, -0xd7e($at) +/* 17C75C 8024DE7C 3C01802A */ lui $at, 0x802a +/* 17C760 8024DE80 A020F2A3 */ sb $zero, -0xd5d($at) +/* 17C764 8024DE84 080937D1 */ j func_8024DF44 +/* 17C768 8024DE88 24020100 */ addiu $v0, $zero, 0x100 + +/* 17C76C 8024DE8C 3C108028 */ lui $s0, 0x8028 +/* 17C770 8024DE90 26100D20 */ addiu $s0, $s0, 0xd20 +/* 17C774 8024DE94 2402017C */ addiu $v0, $zero, 0x17c +/* 17C778 8024DE98 3C01802A */ lui $at, 0x802a +/* 17C77C 8024DE9C A422F280 */ sh $v0, -0xd80($at) +/* 17C780 8024DEA0 24020008 */ addiu $v0, $zero, 8 +/* 17C784 8024DEA4 3C01802A */ lui $at, 0x802a +/* 17C788 8024DEA8 A422F284 */ sh $v0, -0xd7c($at) +/* 17C78C 8024DEAC 2402003C */ addiu $v0, $zero, 0x3c +/* 17C790 8024DEB0 3C01802A */ lui $at, 0x802a +/* 17C794 8024DEB4 A422F29E */ sh $v0, -0xd62($at) +/* 17C798 8024DEB8 24020001 */ addiu $v0, $zero, 1 +/* 17C79C 8024DEBC 3C01802A */ lui $at, 0x802a +/* 17C7A0 8024DEC0 A022F2A2 */ sb $v0, -0xd5e($at) +/* 17C7A4 8024DEC4 3C01802A */ lui $at, 0x802a +/* 17C7A8 8024DEC8 A022F2A5 */ sb $v0, -0xd5b($at) +/* 17C7AC 8024DECC 3C01802A */ lui $at, 0x802a +/* 17C7B0 8024DED0 A420F282 */ sh $zero, -0xd7e($at) +/* 17C7B4 8024DED4 3C01802A */ lui $at, 0x802a +/* 17C7B8 8024DED8 A420F286 */ sh $zero, -0xd7a($at) +/* 17C7BC 8024DEDC 3C01802A */ lui $at, 0x802a +/* 17C7C0 8024DEE0 A020F2A3 */ sb $zero, -0xd5d($at) +/* 17C7C4 8024DEE4 080937D1 */ j func_8024DF44 +/* 17C7C8 8024DEE8 24020100 */ addiu $v0, $zero, 0x100 + +/* 17C7CC 8024DEEC 3C108028 */ lui $s0, 0x8028 +/* 17C7D0 8024DEF0 26100D58 */ addiu $s0, $s0, 0xd58 +/* 17C7D4 8024DEF4 240200DC */ addiu $v0, $zero, 0xdc +/* 17C7D8 8024DEF8 3C01802A */ lui $at, 0x802a +/* 17C7DC 8024DEFC A422F280 */ sh $v0, -0xd80($at) +/* 17C7E0 8024DF00 24020008 */ addiu $v0, $zero, 8 +/* 17C7E4 8024DF04 3C01802A */ lui $at, 0x802a +/* 17C7E8 8024DF08 A422F284 */ sh $v0, -0xd7c($at) +/* 17C7EC 8024DF0C 2402001E */ addiu $v0, $zero, 0x1e +/* 17C7F0 8024DF10 3C01802A */ lui $at, 0x802a +/* 17C7F4 8024DF14 A422F29E */ sh $v0, -0xd62($at) +/* 17C7F8 8024DF18 24020018 */ addiu $v0, $zero, 0x18 +/* 17C7FC 8024DF1C 3C01802A */ lui $at, 0x802a +/* 17C800 8024DF20 A422F286 */ sh $v0, -0xd7a($at) +/* 17C804 8024DF24 24020001 */ addiu $v0, $zero, 1 +/* 17C808 8024DF28 3C01802A */ lui $at, 0x802a +/* 17C80C 8024DF2C A022F2A2 */ sb $v0, -0xd5e($at) +/* 17C810 8024DF30 3C01802A */ lui $at, 0x802a +/* 17C814 8024DF34 A022F2A3 */ sb $v0, -0xd5d($at) +/* 17C818 8024DF38 24020100 */ addiu $v0, $zero, 0x100 +func_8024DF3C: +/* 17C81C 8024DF3C 3C01802A */ lui $at, 0x802a +/* 17C820 8024DF40 A420F282 */ sh $zero, -0xd7e($at) +func_8024DF44: +/* 17C824 8024DF44 3C01802A */ lui $at, 0x802a +/* 17C828 8024DF48 A020F2A6 */ sb $zero, -0xd5a($at) +/* 17C82C 8024DF4C 3C01802A */ lui $at, 0x802a +/* 17C830 8024DF50 A422F27C */ sh $v0, -0xd84($at) +/* 17C834 8024DF54 080938DD */ j func_8024E374 +/* 17C838 8024DF58 00000000 */ nop + +/* 17C83C 8024DF5C 3C108028 */ lui $s0, 0x8028 +/* 17C840 8024DF60 26100D90 */ addiu $s0, $s0, 0xd90 +/* 17C844 8024DF64 3C01C2BE */ lui $at, 0xc2be +/* 17C848 8024DF68 44810000 */ mtc1 $at, $f0 +/* 17C84C 8024DF6C 3C0141B0 */ lui $at, 0x41b0 +/* 17C850 8024DF70 44811000 */ mtc1 $at, $f2 +/* 17C854 8024DF74 240200D2 */ addiu $v0, $zero, 0xd2 +/* 17C858 8024DF78 3C01802A */ lui $at, 0x802a +/* 17C85C 8024DF7C A422F280 */ sh $v0, -0xd80($at) +/* 17C860 8024DF80 24020008 */ addiu $v0, $zero, 8 +/* 17C864 8024DF84 3C01802A */ lui $at, 0x802a +/* 17C868 8024DF88 A422F284 */ sh $v0, -0xd7c($at) +/* 17C86C 8024DF8C 08093820 */ j func_8024E080 +/* 17C870 8024DF90 24020014 */ addiu $v0, $zero, 0x14 + +/* 17C874 8024DF94 3C108028 */ lui $s0, 0x8028 +/* 17C878 8024DF98 26100D20 */ addiu $s0, $s0, 0xd20 +/* 17C87C 8024DF9C 24020140 */ addiu $v0, $zero, 0x140 +/* 17C880 8024DFA0 3C01802A */ lui $at, 0x802a +/* 17C884 8024DFA4 A422F280 */ sh $v0, -0xd80($at) +/* 17C888 8024DFA8 24020008 */ addiu $v0, $zero, 8 +/* 17C88C 8024DFAC 3C01802A */ lui $at, 0x802a +/* 17C890 8024DFB0 A422F284 */ sh $v0, -0xd7c($at) +/* 17C894 8024DFB4 2402001E */ addiu $v0, $zero, 0x1e +/* 17C898 8024DFB8 3C01802A */ lui $at, 0x802a +/* 17C89C 8024DFBC A422F29E */ sh $v0, -0xd62($at) +/* 17C8A0 8024DFC0 2402FFFC */ addiu $v0, $zero, -4 +/* 17C8A4 8024DFC4 3C01802A */ lui $at, 0x802a +/* 17C8A8 8024DFC8 A422F286 */ sh $v0, -0xd7a($at) +/* 17C8AC 8024DFCC 24020001 */ addiu $v0, $zero, 1 +/* 17C8B0 8024DFD0 3C01802A */ lui $at, 0x802a +/* 17C8B4 8024DFD4 A022F2A2 */ sb $v0, -0xd5e($at) +/* 17C8B8 8024DFD8 3C01802A */ lui $at, 0x802a +/* 17C8BC 8024DFDC A420F282 */ sh $zero, -0xd7e($at) +/* 17C8C0 8024DFE0 0809380D */ j func_8024E034 +/* 17C8C4 8024DFE4 24020100 */ addiu $v0, $zero, 0x100 + +/* 17C8C8 8024DFE8 3C108028 */ lui $s0, 0x8028 +/* 17C8CC 8024DFEC 26100D20 */ addiu $s0, $s0, 0xd20 +/* 17C8D0 8024DFF0 24020140 */ addiu $v0, $zero, 0x140 +/* 17C8D4 8024DFF4 3C01802A */ lui $at, 0x802a +/* 17C8D8 8024DFF8 A422F280 */ sh $v0, -0xd80($at) +/* 17C8DC 8024DFFC 24020008 */ addiu $v0, $zero, 8 +/* 17C8E0 8024E000 3C01802A */ lui $at, 0x802a +/* 17C8E4 8024E004 A422F284 */ sh $v0, -0xd7c($at) +/* 17C8E8 8024E008 2402001E */ addiu $v0, $zero, 0x1e +/* 17C8EC 8024E00C 3C01802A */ lui $at, 0x802a +/* 17C8F0 8024E010 A422F29E */ sh $v0, -0xd62($at) +/* 17C8F4 8024E014 24020001 */ addiu $v0, $zero, 1 +/* 17C8F8 8024E018 3C01802A */ lui $at, 0x802a +/* 17C8FC 8024E01C A022F2A2 */ sb $v0, -0xd5e($at) +/* 17C900 8024E020 24020100 */ addiu $v0, $zero, 0x100 +/* 17C904 8024E024 3C01802A */ lui $at, 0x802a +/* 17C908 8024E028 A420F282 */ sh $zero, -0xd7e($at) +/* 17C90C 8024E02C 3C01802A */ lui $at, 0x802a +/* 17C910 8024E030 A420F286 */ sh $zero, -0xd7a($at) +func_8024E034: +/* 17C914 8024E034 3C01802A */ lui $at, 0x802a +/* 17C918 8024E038 A020F2A3 */ sb $zero, -0xd5d($at) +/* 17C91C 8024E03C 3C01802A */ lui $at, 0x802a +/* 17C920 8024E040 A422F27C */ sh $v0, -0xd84($at) +/* 17C924 8024E044 080938DD */ j func_8024E374 +/* 17C928 8024E048 00000000 */ nop + +/* 17C92C 8024E04C 3C108028 */ lui $s0, 0x8028 +/* 17C930 8024E050 26100D90 */ addiu $s0, $s0, 0xd90 +/* 17C934 8024E054 3C0141C8 */ lui $at, 0x41c8 +/* 17C938 8024E058 44810000 */ mtc1 $at, $f0 +/* 17C93C 8024E05C 3C014270 */ lui $at, 0x4270 +/* 17C940 8024E060 44811000 */ mtc1 $at, $f2 +/* 17C944 8024E064 24020190 */ addiu $v0, $zero, 0x190 +/* 17C948 8024E068 3C01802A */ lui $at, 0x802a +/* 17C94C 8024E06C A422F280 */ sh $v0, -0xd80($at) +/* 17C950 8024E070 24020008 */ addiu $v0, $zero, 8 +/* 17C954 8024E074 3C01802A */ lui $at, 0x802a +/* 17C958 8024E078 A422F284 */ sh $v0, -0xd7c($at) +/* 17C95C 8024E07C 2402001E */ addiu $v0, $zero, 0x1e +func_8024E080: +/* 17C960 8024E080 3C01802A */ lui $at, 0x802a +/* 17C964 8024E084 A422F29E */ sh $v0, -0xd62($at) +/* 17C968 8024E088 2402000A */ addiu $v0, $zero, 0xa +func_8024E08C: +/* 17C96C 8024E08C 3C01802A */ lui $at, 0x802a +/* 17C970 8024E090 A420F282 */ sh $zero, -0xd7e($at) +func_8024E094: +/* 17C974 8024E094 3C01802A */ lui $at, 0x802a +/* 17C978 8024E098 A422F286 */ sh $v0, -0xd7a($at) +func_8024E09C: +/* 17C97C 8024E09C 3C01802A */ lui $at, 0x802a +/* 17C980 8024E0A0 A020F2A2 */ sb $zero, -0xd5e($at) +/* 17C984 8024E0A4 3C01802A */ lui $at, 0x802a +/* 17C988 8024E0A8 A020F2A3 */ sb $zero, -0xd5d($at) +func_8024E0AC: +/* 17C98C 8024E0AC 3C01802A */ lui $at, 0x802a +/* 17C990 8024E0B0 AC20F278 */ sw $zero, -0xd88($at) +/* 17C994 8024E0B4 3C01802A */ lui $at, 0x802a +/* 17C998 8024E0B8 E420F270 */ swc1 $f0, -0xd90($at) +/* 17C99C 8024E0BC 3C01802A */ lui $at, 0x802a +/* 17C9A0 8024E0C0 E422F274 */ swc1 $f2, -0xd8c($at) +/* 17C9A4 8024E0C4 080938DD */ j func_8024E374 +/* 17C9A8 8024E0C8 00000000 */ nop + +/* 17C9AC 8024E0CC 3C108028 */ lui $s0, 0x8028 +/* 17C9B0 8024E0D0 26100D58 */ addiu $s0, $s0, 0xd58 +/* 17C9B4 8024E0D4 240200C8 */ addiu $v0, $zero, 0xc8 +/* 17C9B8 8024E0D8 3C01802A */ lui $at, 0x802a +/* 17C9BC 8024E0DC A422F280 */ sh $v0, -0xd80($at) +/* 17C9C0 8024E0E0 24020008 */ addiu $v0, $zero, 8 +/* 17C9C4 8024E0E4 3C01802A */ lui $at, 0x802a +/* 17C9C8 8024E0E8 A422F284 */ sh $v0, -0xd7c($at) +/* 17C9CC 8024E0EC 2402003C */ addiu $v0, $zero, 0x3c +/* 17C9D0 8024E0F0 3C01802A */ lui $at, 0x802a +/* 17C9D4 8024E0F4 A422F29E */ sh $v0, -0xd62($at) +/* 17C9D8 8024E0F8 2402000B */ addiu $v0, $zero, 0xb +/* 17C9DC 8024E0FC 3C01802A */ lui $at, 0x802a +/* 17C9E0 8024E100 A422F286 */ sh $v0, -0xd7a($at) +/* 17C9E4 8024E104 24020001 */ addiu $v0, $zero, 1 +/* 17C9E8 8024E108 3C01802A */ lui $at, 0x802a +/* 17C9EC 8024E10C A022F2A2 */ sb $v0, -0xd5e($at) +/* 17C9F0 8024E110 3C01802A */ lui $at, 0x802a +/* 17C9F4 8024E114 A022F2A3 */ sb $v0, -0xd5d($at) +/* 17C9F8 8024E118 3C01802A */ lui $at, 0x802a +/* 17C9FC 8024E11C A022F2A5 */ sb $v0, -0xd5b($at) +/* 17CA00 8024E120 24020100 */ addiu $v0, $zero, 0x100 +func_8024E124: +/* 17CA04 8024E124 3C01802A */ lui $at, 0x802a +/* 17CA08 8024E128 A420F282 */ sh $zero, -0xd7e($at) +func_8024E12C: +/* 17CA0C 8024E12C 3C01802A */ lui $at, 0x802a +/* 17CA10 8024E130 A422F27C */ sh $v0, -0xd84($at) +/* 17CA14 8024E134 3C01802A */ lui $at, 0x802a +/* 17CA18 8024E138 A020F2A6 */ sb $zero, -0xd5a($at) +/* 17CA1C 8024E13C 080938DD */ j func_8024E374 +/* 17CA20 8024E140 00000000 */ nop + +/* 17CA24 8024E144 3C108028 */ lui $s0, 0x8028 +/* 17CA28 8024E148 26100D58 */ addiu $s0, $s0, 0xd58 +/* 17CA2C 8024E14C 2402012C */ addiu $v0, $zero, 0x12c +/* 17CA30 8024E150 3C01802A */ lui $at, 0x802a +/* 17CA34 8024E154 A422F280 */ sh $v0, -0xd80($at) +/* 17CA38 8024E158 24020008 */ addiu $v0, $zero, 8 +/* 17CA3C 8024E15C 3C01802A */ lui $at, 0x802a +/* 17CA40 8024E160 A422F284 */ sh $v0, -0xd7c($at) +/* 17CA44 8024E164 3C01802A */ lui $at, 0x802a +/* 17CA48 8024E168 A422F29E */ sh $v0, -0xd62($at) +/* 17CA4C 8024E16C 24020010 */ addiu $v0, $zero, 0x10 +/* 17CA50 8024E170 3C01802A */ lui $at, 0x802a +/* 17CA54 8024E174 A422F286 */ sh $v0, -0xd7a($at) +/* 17CA58 8024E178 24020100 */ addiu $v0, $zero, 0x100 +/* 17CA5C 8024E17C 3C01802A */ lui $at, 0x802a +/* 17CA60 8024E180 A420F282 */ sh $zero, -0xd7e($at) +/* 17CA64 8024E184 3C01802A */ lui $at, 0x802a +/* 17CA68 8024E188 A422F27C */ sh $v0, -0xd84($at) +/* 17CA6C 8024E18C 3C01802A */ lui $at, 0x802a +/* 17CA70 8024E190 A020F2A2 */ sb $zero, -0xd5e($at) +/* 17CA74 8024E194 3C01802A */ lui $at, 0x802a +/* 17CA78 8024E198 A020F2A3 */ sb $zero, -0xd5d($at) +/* 17CA7C 8024E19C 080938DD */ j func_8024E374 +/* 17CA80 8024E1A0 00000000 */ nop + +/* 17CA84 8024E1A4 3C108028 */ lui $s0, 0x8028 +/* 17CA88 8024E1A8 26100D58 */ addiu $s0, $s0, 0xd58 +/* 17CA8C 8024E1AC 2402012C */ addiu $v0, $zero, 0x12c +/* 17CA90 8024E1B0 3C01802A */ lui $at, 0x802a +/* 17CA94 8024E1B4 A422F280 */ sh $v0, -0xd80($at) +/* 17CA98 8024E1B8 24020008 */ addiu $v0, $zero, 8 +/* 17CA9C 8024E1BC 3C01802A */ lui $at, 0x802a +/* 17CAA0 8024E1C0 A422F284 */ sh $v0, -0xd7c($at) +/* 17CAA4 8024E1C4 2402000F */ addiu $v0, $zero, 0xf +/* 17CAA8 8024E1C8 3C01802A */ lui $at, 0x802a +/* 17CAAC 8024E1CC A422F29E */ sh $v0, -0xd62($at) +/* 17CAB0 8024E1D0 2402FFE0 */ addiu $v0, $zero, -0x20 +/* 17CAB4 8024E1D4 3C01802A */ lui $at, 0x802a +/* 17CAB8 8024E1D8 A422F286 */ sh $v0, -0xd7a($at) +/* 17CABC 8024E1DC 24020014 */ addiu $v0, $zero, 0x14 +/* 17CAC0 8024E1E0 3C01802A */ lui $at, 0x802a +/* 17CAC4 8024E1E4 A022F2A7 */ sb $v0, -0xd59($at) +/* 17CAC8 8024E1E8 24020001 */ addiu $v0, $zero, 1 +/* 17CACC 8024E1EC 3C01802A */ lui $at, 0x802a +/* 17CAD0 8024E1F0 A022F2A2 */ sb $v0, -0xd5e($at) +/* 17CAD4 8024E1F4 3C01802A */ lui $at, 0x802a +/* 17CAD8 8024E1F8 A022F2A3 */ sb $v0, -0xd5d($at) +/* 17CADC 8024E1FC 24020100 */ addiu $v0, $zero, 0x100 +/* 17CAE0 8024E200 3C01802A */ lui $at, 0x802a +/* 17CAE4 8024E204 A420F282 */ sh $zero, -0xd7e($at) +/* 17CAE8 8024E208 3C01802A */ lui $at, 0x802a +/* 17CAEC 8024E20C A422F27C */ sh $v0, -0xd84($at) +/* 17CAF0 8024E210 080938DD */ j func_8024E374 +/* 17CAF4 8024E214 00000000 */ nop + +/* 17CAF8 8024E218 3C108028 */ lui $s0, 0x8028 +/* 17CAFC 8024E21C 26100D04 */ addiu $s0, $s0, 0xd04 +/* 17CB00 8024E220 24020190 */ addiu $v0, $zero, 0x190 +/* 17CB04 8024E224 3C01802A */ lui $at, 0x802a +/* 17CB08 8024E228 A422F280 */ sh $v0, -0xd80($at) +/* 17CB0C 8024E22C 24020008 */ addiu $v0, $zero, 8 +/* 17CB10 8024E230 3C01802A */ lui $at, 0x802a +/* 17CB14 8024E234 A422F284 */ sh $v0, -0xd7c($at) +/* 17CB18 8024E238 24020014 */ addiu $v0, $zero, 0x14 +/* 17CB1C 8024E23C 3C01802A */ lui $at, 0x802a +/* 17CB20 8024E240 A422F29E */ sh $v0, -0xd62($at) +/* 17CB24 8024E244 080938D4 */ j func_8024E350 +/* 17CB28 8024E248 2402001B */ addiu $v0, $zero, 0x1b + +/* 17CB2C 8024E24C 3C108028 */ lui $s0, 0x8028 +/* 17CB30 8024E250 26100D04 */ addiu $s0, $s0, 0xd04 +/* 17CB34 8024E254 24020166 */ addiu $v0, $zero, 0x166 +/* 17CB38 8024E258 3C01802A */ lui $at, 0x802a +/* 17CB3C 8024E25C A422F280 */ sh $v0, -0xd80($at) +/* 17CB40 8024E260 24020008 */ addiu $v0, $zero, 8 +/* 17CB44 8024E264 3C01802A */ lui $at, 0x802a +/* 17CB48 8024E268 A422F284 */ sh $v0, -0xd7c($at) +/* 17CB4C 8024E26C 080938B0 */ j func_8024E2C0 +/* 17CB50 8024E270 2402000A */ addiu $v0, $zero, 0xa + +/* 17CB54 8024E274 3C108028 */ lui $s0, 0x8028 +/* 17CB58 8024E278 26100DAC */ addiu $s0, $s0, 0xdac +/* 17CB5C 8024E27C 24020032 */ addiu $v0, $zero, 0x32 +/* 17CB60 8024E280 3C01802A */ lui $at, 0x802a +/* 17CB64 8024E284 A422F29E */ sh $v0, -0xd62($at) +/* 17CB68 8024E288 240201F4 */ addiu $v0, $zero, 0x1f4 +/* 17CB6C 8024E28C 3C01802A */ lui $at, 0x802a +/* 17CB70 8024E290 A422F280 */ sh $v0, -0xd80($at) +/* 17CB74 8024E294 080938DD */ j func_8024E374 +/* 17CB78 8024E298 00000000 */ nop + +/* 17CB7C 8024E29C 3C108028 */ lui $s0, 0x8028 +/* 17CB80 8024E2A0 26100D04 */ addiu $s0, $s0, 0xd04 +/* 17CB84 8024E2A4 2402010B */ addiu $v0, $zero, 0x10b +/* 17CB88 8024E2A8 3C01802A */ lui $at, 0x802a +/* 17CB8C 8024E2AC A422F280 */ sh $v0, -0xd80($at) +/* 17CB90 8024E2B0 24020008 */ addiu $v0, $zero, 8 +/* 17CB94 8024E2B4 3C01802A */ lui $at, 0x802a +/* 17CB98 8024E2B8 A422F284 */ sh $v0, -0xd7c($at) +/* 17CB9C 8024E2BC 24020014 */ addiu $v0, $zero, 0x14 +func_8024E2C0: +/* 17CBA0 8024E2C0 3C01802A */ lui $at, 0x802a +/* 17CBA4 8024E2C4 A422F29E */ sh $v0, -0xd62($at) +/* 17CBA8 8024E2C8 24020010 */ addiu $v0, $zero, 0x10 +/* 17CBAC 8024E2CC 3C01802A */ lui $at, 0x802a +/* 17CBB0 8024E2D0 A422F286 */ sh $v0, -0xd7a($at) +/* 17CBB4 8024E2D4 24020001 */ addiu $v0, $zero, 1 +/* 17CBB8 8024E2D8 3C01802A */ lui $at, 0x802a +/* 17CBBC 8024E2DC A420F282 */ sh $zero, -0xd7e($at) +/* 17CBC0 8024E2E0 3C01802A */ lui $at, 0x802a +/* 17CBC4 8024E2E4 A022F2A2 */ sb $v0, -0xd5e($at) +/* 17CBC8 8024E2E8 3C01802A */ lui $at, 0x802a +/* 17CBCC 8024E2EC A020F2A3 */ sb $zero, -0xd5d($at) +/* 17CBD0 8024E2F0 080938DD */ j func_8024E374 +/* 17CBD4 8024E2F4 00000000 */ nop + +/* 17CBD8 8024E2F8 3C108028 */ lui $s0, 0x8028 +/* 17CBDC 8024E2FC 26100D04 */ addiu $s0, $s0, 0xd04 +/* 17CBE0 8024E300 240200D6 */ addiu $v0, $zero, 0xd6 +/* 17CBE4 8024E304 3C01802A */ lui $at, 0x802a +/* 17CBE8 8024E308 A422F280 */ sh $v0, -0xd80($at) +/* 17CBEC 8024E30C 24020008 */ addiu $v0, $zero, 8 +/* 17CBF0 8024E310 3C01802A */ lui $at, 0x802a +/* 17CBF4 8024E314 A422F284 */ sh $v0, -0xd7c($at) +/* 17CBF8 8024E318 080938D1 */ j func_8024E344 +/* 17CBFC 8024E31C 24020014 */ addiu $v0, $zero, 0x14 + +/* 17CC00 8024E320 3C108028 */ lui $s0, 0x8028 +/* 17CC04 8024E324 26100D04 */ addiu $s0, $s0, 0xd04 +/* 17CC08 8024E328 2402012C */ addiu $v0, $zero, 0x12c +/* 17CC0C 8024E32C 3C01802A */ lui $at, 0x802a +/* 17CC10 8024E330 A422F280 */ sh $v0, -0xd80($at) +/* 17CC14 8024E334 24020008 */ addiu $v0, $zero, 8 +/* 17CC18 8024E338 3C01802A */ lui $at, 0x802a +/* 17CC1C 8024E33C A422F284 */ sh $v0, -0xd7c($at) +/* 17CC20 8024E340 24020004 */ addiu $v0, $zero, 4 +func_8024E344: +/* 17CC24 8024E344 3C01802A */ lui $at, 0x802a +/* 17CC28 8024E348 A422F29E */ sh $v0, -0xd62($at) +/* 17CC2C 8024E34C 24020010 */ addiu $v0, $zero, 0x10 +func_8024E350: +/* 17CC30 8024E350 3C01802A */ lui $at, 0x802a +/* 17CC34 8024E354 A422F286 */ sh $v0, -0xd7a($at) +/* 17CC38 8024E358 24020001 */ addiu $v0, $zero, 1 +/* 17CC3C 8024E35C 3C01802A */ lui $at, 0x802a +/* 17CC40 8024E360 A420F282 */ sh $zero, -0xd7e($at) +func_8024E364: +/* 17CC44 8024E364 3C01802A */ lui $at, 0x802a +/* 17CC48 8024E368 A022F2A2 */ sb $v0, -0xd5e($at) +/* 17CC4C 8024E36C 3C01802A */ lui $at, 0x802a +/* 17CC50 8024E370 A022F2A3 */ sb $v0, -0xd5d($at) +func_8024E374: +.L8024E374: +/* 17CC54 8024E374 8E4200C4 */ lw $v0, 0xc4($s2) +/* 17CC58 8024E378 3C018028 */ lui $at, 0x8028 +/* 17CC5C 8024E37C AC310CE4 */ sw $s1, 0xce4($at) +/* 17CC60 8024E380 10400005 */ beqz $v0, .L8024E398 +/* 17CC64 8024E384 0200202D */ daddu $a0, $s0, $zero +/* 17CC68 8024E388 8E4400C8 */ lw $a0, 0xc8($s2) +/* 17CC6C 8024E38C 0C0B102B */ jal kill_script_by_ID +/* 17CC70 8024E390 00000000 */ nop +/* 17CC74 8024E394 0200202D */ daddu $a0, $s0, $zero +.L8024E398: +/* 17CC78 8024E398 24060020 */ addiu $a2, $zero, 0x20 +/* 17CC7C 8024E39C 3C01802A */ lui $at, 0x802a +/* 17CC80 8024E3A0 AC24F2B4 */ sw $a0, -0xd4c($at) +/* 17CC84 8024E3A4 0C0B0CF8 */ jal start_script +/* 17CC88 8024E3A8 2405000A */ addiu $a1, $zero, 0xa +/* 17CC8C 8024E3AC AE4200C4 */ sw $v0, 0xc4($s2) +/* 17CC90 8024E3B0 8C420144 */ lw $v0, 0x144($v0) +/* 17CC94 8024E3B4 3C01802A */ lui $at, 0x802a +/* 17CC98 8024E3B8 A020F29C */ sb $zero, -0xd64($at) +/* 17CC9C 8024E3BC AE4200C8 */ sw $v0, 0xc8($s2) +.L8024E3C0: +/* 17CCA0 8024E3C0 8FBF001C */ lw $ra, 0x1c($sp) +/* 17CCA4 8024E3C4 8FB20018 */ lw $s2, 0x18($sp) +/* 17CCA8 8024E3C8 8FB10014 */ lw $s1, 0x14($sp) +/* 17CCAC 8024E3CC 8FB00010 */ lw $s0, 0x10($sp) +/* 17CCB0 8024E3D0 03E00008 */ jr $ra +/* 17CCB4 8024E3D4 27BD0020 */ addiu $sp, $sp, 0x20 + +func_8024E3D8: +/* 17CCB8 8024E3D8 3C028028 */ lui $v0, 0x8028 +/* 17CCBC 8024E3DC 80420CE0 */ lb $v0, 0xce0($v0) +/* 17CCC0 8024E3E0 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 17CCC4 8024E3E4 14400006 */ bnez $v0, .L8024E400 +/* 17CCC8 8024E3E8 AFBF0010 */ sw $ra, 0x10($sp) +/* 17CCCC 8024E3EC 24020001 */ addiu $v0, $zero, 1 +/* 17CCD0 8024E3F0 3C01802A */ lui $at, 0x802a +/* 17CCD4 8024E3F4 A022F2A4 */ sb $v0, -0xd5c($at) +/* 17CCD8 8024E3F8 0C0933CD */ jal use_cam_preset +/* 17CCDC 8024E3FC 00000000 */ nop +.L8024E400: +/* 17CCE0 8024E400 8FBF0010 */ lw $ra, 0x10($sp) +/* 17CCE4 8024E404 03E00008 */ jr $ra +/* 17CCE8 8024E408 27BD0018 */ addiu $sp, $sp, 0x18 + +func_8024E40C: +/* 17CCEC 8024E40C 3C028028 */ lui $v0, 0x8028 +/* 17CCF0 8024E410 80420CE0 */ lb $v0, 0xce0($v0) +/* 17CCF4 8024E414 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 17CCF8 8024E418 14400005 */ bnez $v0, .L8024E430 +/* 17CCFC 8024E41C AFBF0010 */ sw $ra, 0x10($sp) +/* 17CD00 8024E420 3C01802A */ lui $at, 0x802a +/* 17CD04 8024E424 A020F2A4 */ sb $zero, -0xd5c($at) +/* 17CD08 8024E428 0C0933CD */ jal use_cam_preset +/* 17CD0C 8024E42C 00000000 */ nop +.L8024E430: +/* 17CD10 8024E430 8FBF0010 */ lw $ra, 0x10($sp) +/* 17CD14 8024E434 03E00008 */ jr $ra +/* 17CD18 8024E438 27BD0018 */ addiu $sp, $sp, 0x18 + +cam_target_actor: +/* 17CD1C 8024E43C 3C028028 */ lui $v0, 0x8028 +/* 17CD20 8024E440 80420CE0 */ lb $v0, 0xce0($v0) +/* 17CD24 8024E444 14400003 */ bnez $v0, .L8024E454 +/* 17CD28 8024E448 00000000 */ nop +/* 17CD2C 8024E44C 3C01802A */ lui $at, 0x802a +/* 17CD30 8024E450 A424F27C */ sh $a0, -0xd84($at) +.L8024E454: +/* 17CD34 8024E454 03E00008 */ jr $ra +/* 17CD38 8024E458 00000000 */ nop + +func_8024E45C: +/* 17CD3C 8024E45C 3C028028 */ lui $v0, 0x8028 +/* 17CD40 8024E460 80420CE0 */ lb $v0, 0xce0($v0) +/* 17CD44 8024E464 14400005 */ bnez $v0, .L8024E47C +/* 17CD48 8024E468 00000000 */ nop +/* 17CD4C 8024E46C 3C01802A */ lui $at, 0x802a +/* 17CD50 8024E470 A424F27C */ sh $a0, -0xd84($at) +/* 17CD54 8024E474 3C01802A */ lui $at, 0x802a +/* 17CD58 8024E478 A425F27E */ sh $a1, -0xd82($at) +.L8024E47C: +/* 17CD5C 8024E47C 03E00008 */ jr $ra +/* 17CD60 8024E480 00000000 */ nop + +func_8024E484: +/* 17CD64 8024E484 3C028028 */ lui $v0, 0x8028 +/* 17CD68 8024E488 80420CE0 */ lb $v0, 0xce0($v0) +/* 17CD6C 8024E48C 3C03800B */ lui $v1, 0x800b +/* 17CD70 8024E490 246322D8 */ addiu $v1, $v1, 0x22d8 +/* 17CD74 8024E494 1440000E */ bnez $v0, .L8024E4D0 +/* 17CD78 8024E498 00000000 */ nop +/* 17CD7C 8024E49C A464001C */ sh $a0, 0x1c($v1) +/* 17CD80 8024E4A0 A465001E */ sh $a1, 0x1e($v1) +/* 17CD84 8024E4A4 A4660020 */ sh $a2, 0x20($v1) +/* 17CD88 8024E4A8 A4670022 */ sh $a3, 0x22($v1) +/* 17CD8C 8024E4AC 8FA20010 */ lw $v0, 0x10($sp) +/* 17CD90 8024E4B0 A4620024 */ sh $v0, 0x24($v1) +/* 17CD94 8024E4B4 8FA20014 */ lw $v0, 0x14($sp) +/* 17CD98 8024E4B8 00021200 */ sll $v0, $v0, 8 +/* 17CD9C 8024E4BC A4620026 */ sh $v0, 0x26($v1) +/* 17CDA0 8024E4C0 8FA20018 */ lw $v0, 0x18($sp) +/* 17CDA4 8024E4C4 A4620028 */ sh $v0, 0x28($v1) +/* 17CDA8 8024E4C8 8FA2001C */ lw $v0, 0x1c($sp) +/* 17CDAC 8024E4CC A462002A */ sh $v0, 0x2a($v1) +.L8024E4D0: +/* 17CDB0 8024E4D0 03E00008 */ jr $ra +/* 17CDB4 8024E4D4 00000000 */ nop + +move_cam_over: +/* 17CDB8 8024E4D8 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 17CDBC 8024E4DC 3C028028 */ lui $v0, 0x8028 +/* 17CDC0 8024E4E0 80420CE0 */ lb $v0, 0xce0($v0) +/* 17CDC4 8024E4E4 0080182D */ daddu $v1, $a0, $zero +/* 17CDC8 8024E4E8 1440000A */ bnez $v0, .L8024E514 +/* 17CDCC 8024E4EC AFBF0010 */ sw $ra, 0x10($sp) +/* 17CDD0 8024E4F0 3C02800E */ lui $v0, 0x800e +/* 17CDD4 8024E4F4 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 17CDD8 8024E4F8 8C4400C4 */ lw $a0, 0xc4($v0) +/* 17CDDC 8024E4FC 3C01802A */ lui $at, 0x802a +/* 17CDE0 8024E500 A423F29E */ sh $v1, -0xd62($at) +/* 17CDE4 8024E504 10800003 */ beqz $a0, .L8024E514 +/* 17CDE8 8024E508 00000000 */ nop +/* 17CDEC 8024E50C 0C0B0F41 */ jal restart_script +/* 17CDF0 8024E510 00000000 */ nop +.L8024E514: +/* 17CDF4 8024E514 8FBF0010 */ lw $ra, 0x10($sp) +/* 17CDF8 8024E518 03E00008 */ jr $ra +/* 17CDFC 8024E51C 27BD0018 */ addiu $sp, $sp, 0x18 + +set_cam_target_pos: +/* 17CE00 8024E520 3C028028 */ lui $v0, 0x8028 +/* 17CE04 8024E524 80420CE0 */ lb $v0, 0xce0($v0) +/* 17CE08 8024E528 44860000 */ mtc1 $a2, $f0 +/* 17CE0C 8024E52C 14400007 */ bnez $v0, .L8024E54C +/* 17CE10 8024E530 00000000 */ nop +/* 17CE14 8024E534 3C01802A */ lui $at, 0x802a +/* 17CE18 8024E538 E42CF270 */ swc1 $f12, -0xd90($at) +/* 17CE1C 8024E53C 3C01802A */ lui $at, 0x802a +/* 17CE20 8024E540 E42EF274 */ swc1 $f14, -0xd8c($at) +/* 17CE24 8024E544 3C01802A */ lui $at, 0x802a +/* 17CE28 8024E548 E420F278 */ swc1 $f0, -0xd88($at) +.L8024E54C: +/* 17CE2C 8024E54C 03E00008 */ jr $ra +/* 17CE30 8024E550 00000000 */ nop + +/* 17CE34 8024E554 3C03800B */ lui $v1, 0x800b +/* 17CE38 8024E558 246322D8 */ addiu $v1, $v1, 0x22d8 +/* 17CE3C 8024E55C 3C028028 */ lui $v0, 0x8028 +/* 17CE40 8024E560 80420CE0 */ lb $v0, 0xce0($v0) +/* 17CE44 8024E564 44860000 */ mtc1 $a2, $f0 +/* 17CE48 8024E568 14400004 */ bnez $v0, .L8024E57C +/* 17CE4C 8024E56C 00000000 */ nop +/* 17CE50 8024E570 E46C0054 */ swc1 $f12, 0x54($v1) +/* 17CE54 8024E574 E46E0058 */ swc1 $f14, 0x58($v1) +/* 17CE58 8024E578 E460005C */ swc1 $f0, 0x5c($v1) +.L8024E57C: +/* 17CE5C 8024E57C 03E00008 */ jr $ra +/* 17CE60 8024E580 00000000 */ nop + +func_8024E584: +/* 17CE64 8024E584 3C02802A */ lui $v0, 0x802a +/* 17CE68 8024E588 8042F29C */ lb $v0, -0xd64($v0) +/* 17CE6C 8024E58C 03E00008 */ jr $ra +/* 17CE70 8024E590 00000000 */ nop + +set_cam_zoom: +/* 17CE74 8024E594 3C028028 */ lui $v0, 0x8028 +/* 17CE78 8024E598 80420CE0 */ lb $v0, 0xce0($v0) +/* 17CE7C 8024E59C 14400003 */ bnez $v0, .L8024E5AC +/* 17CE80 8024E5A0 00000000 */ nop +/* 17CE84 8024E5A4 3C01802A */ lui $at, 0x802a +/* 17CE88 8024E5A8 A424F280 */ sh $a0, -0xd80($at) +.L8024E5AC: +/* 17CE8C 8024E5AC 03E00008 */ jr $ra +/* 17CE90 8024E5B0 00000000 */ nop + +add_cam_zoom: +/* 17CE94 8024E5B4 3C028028 */ lui $v0, 0x8028 +/* 17CE98 8024E5B8 80420CE0 */ lb $v0, 0xce0($v0) +/* 17CE9C 8024E5BC 14400006 */ bnez $v0, .L8024E5D8 +/* 17CEA0 8024E5C0 00000000 */ nop +/* 17CEA4 8024E5C4 3C03802A */ lui $v1, 0x802a +/* 17CEA8 8024E5C8 2463F280 */ addiu $v1, $v1, -0xd80 +/* 17CEAC 8024E5CC 94620000 */ lhu $v0, ($v1) +/* 17CEB0 8024E5D0 00441021 */ addu $v0, $v0, $a0 +/* 17CEB4 8024E5D4 A4620000 */ sh $v0, ($v1) +.L8024E5D8: +/* 17CEB8 8024E5D8 03E00008 */ jr $ra +/* 17CEBC 8024E5DC 00000000 */ nop + +set_cam_zoffset: +/* 17CEC0 8024E5E0 3C028028 */ lui $v0, 0x8028 +/* 17CEC4 8024E5E4 80420CE0 */ lb $v0, 0xce0($v0) +/* 17CEC8 8024E5E8 14400003 */ bnez $v0, .L8024E5F8 +/* 17CECC 8024E5EC 00000000 */ nop +/* 17CED0 8024E5F0 3C01802A */ lui $at, 0x802a +/* 17CED4 8024E5F4 A424F286 */ sh $a0, -0xd7a($at) +.L8024E5F8: +/* 17CED8 8024E5F8 03E00008 */ jr $ra +/* 17CEDC 8024E5FC 00000000 */ nop + +unfreeze_cam: +/* 17CEE0 8024E600 3C018028 */ lui $at, 0x8028 +/* 17CEE4 8024E604 03E00008 */ jr $ra +/* 17CEE8 8024E608 A0200CE0 */ sb $zero, 0xce0($at) + +func_8024E60C: +/* 17CEEC 8024E60C 3C01802A */ lui $at, 0x802a +/* 17CEF0 8024E610 A020F2A6 */ sb $zero, -0xd5a($at) +/* 17CEF4 8024E614 03E00008 */ jr $ra +/* 17CEF8 8024E618 00000000 */ nop + +UseCamPreset: +/* 17CEFC 8024E61C 3C028028 */ lui $v0, 0x8028 +/* 17CF00 8024E620 80420CE0 */ lb $v0, 0xce0($v0) +/* 17CF04 8024E624 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 17CF08 8024E628 AFBF0010 */ sw $ra, 0x10($sp) +/* 17CF0C 8024E62C 8C85000C */ lw $a1, 0xc($a0) +/* 17CF10 8024E630 14400009 */ bnez $v0, .L8024E658 +/* 17CF14 8024E634 24020002 */ addiu $v0, $zero, 2 +/* 17CF18 8024E638 8CA50000 */ lw $a1, ($a1) +/* 17CF1C 8024E63C 0C0B1EAF */ jal get_variable +/* 17CF20 8024E640 00000000 */ nop +/* 17CF24 8024E644 3C01802A */ lui $at, 0x802a +/* 17CF28 8024E648 A020F2A4 */ sb $zero, -0xd5c($at) +/* 17CF2C 8024E64C 0C0933CD */ jal use_cam_preset +/* 17CF30 8024E650 0040202D */ daddu $a0, $v0, $zero +/* 17CF34 8024E654 24020002 */ addiu $v0, $zero, 2 +.L8024E658: +/* 17CF38 8024E658 8FBF0010 */ lw $ra, 0x10($sp) +/* 17CF3C 8024E65C 03E00008 */ jr $ra +/* 17CF40 8024E660 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 17CF44 8024E664 3C028028 */ lui $v0, 0x8028 +/* 17CF48 8024E668 80420CE0 */ lb $v0, 0xce0($v0) +/* 17CF4C 8024E66C 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 17CF50 8024E670 AFBF0010 */ sw $ra, 0x10($sp) +/* 17CF54 8024E674 8C85000C */ lw $a1, 0xc($a0) +/* 17CF58 8024E678 1440000B */ bnez $v0, .L8024E6A8 +/* 17CF5C 8024E67C 24020002 */ addiu $v0, $zero, 2 +/* 17CF60 8024E680 8CA50000 */ lw $a1, ($a1) +/* 17CF64 8024E684 0C0B1EAF */ jal get_variable +/* 17CF68 8024E688 00000000 */ nop +/* 17CF6C 8024E68C 0040202D */ daddu $a0, $v0, $zero +/* 17CF70 8024E690 24020001 */ addiu $v0, $zero, 1 +/* 17CF74 8024E694 3C01802A */ lui $at, 0x802a +/* 17CF78 8024E698 A022F2A4 */ sb $v0, -0xd5c($at) +/* 17CF7C 8024E69C 0C0933CD */ jal use_cam_preset +/* 17CF80 8024E6A0 00000000 */ nop +/* 17CF84 8024E6A4 24020002 */ addiu $v0, $zero, 2 +.L8024E6A8: +/* 17CF88 8024E6A8 8FBF0010 */ lw $ra, 0x10($sp) +/* 17CF8C 8024E6AC 03E00008 */ jr $ra +/* 17CF90 8024E6B0 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 17CF94 8024E6B4 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 17CF98 8024E6B8 AFB00010 */ sw $s0, 0x10($sp) +/* 17CF9C 8024E6BC 0080802D */ daddu $s0, $a0, $zero +/* 17CFA0 8024E6C0 3C028028 */ lui $v0, 0x8028 +/* 17CFA4 8024E6C4 80420CE0 */ lb $v0, 0xce0($v0) +/* 17CFA8 8024E6C8 00A0182D */ daddu $v1, $a1, $zero +/* 17CFAC 8024E6CC AFBF0014 */ sw $ra, 0x14($sp) +/* 17CFB0 8024E6D0 8E05000C */ lw $a1, 0xc($s0) +/* 17CFB4 8024E6D4 14400018 */ bnez $v0, .L8024E738 +/* 17CFB8 8024E6D8 24020002 */ addiu $v0, $zero, 2 +/* 17CFBC 8024E6DC 54600001 */ bnezl $v1, .L8024E6E4 +/* 17CFC0 8024E6E0 AE000070 */ sw $zero, 0x70($s0) +.L8024E6E4: +/* 17CFC4 8024E6E4 8E030070 */ lw $v1, 0x70($s0) +/* 17CFC8 8024E6E8 10600005 */ beqz $v1, .L8024E700 +/* 17CFCC 8024E6EC 24020001 */ addiu $v0, $zero, 1 +/* 17CFD0 8024E6F0 1062000B */ beq $v1, $v0, .L8024E720 +/* 17CFD4 8024E6F4 00000000 */ nop +/* 17CFD8 8024E6F8 080939CE */ j func_8024E738 +/* 17CFDC 8024E6FC 0000102D */ daddu $v0, $zero, $zero + +.L8024E700: +/* 17CFE0 8024E700 8CA50000 */ lw $a1, ($a1) +/* 17CFE4 8024E704 0C0B1EAF */ jal get_variable +/* 17CFE8 8024E708 0200202D */ daddu $a0, $s0, $zero +/* 17CFEC 8024E70C 0C093903 */ jal func_8024E40C +/* 17CFF0 8024E710 0040202D */ daddu $a0, $v0, $zero +/* 17CFF4 8024E714 24020001 */ addiu $v0, $zero, 1 +/* 17CFF8 8024E718 080939CD */ j func_8024E734 +/* 17CFFC 8024E71C AE020070 */ sw $v0, 0x70($s0) + +.L8024E720: +/* 17D000 8024E720 0C093961 */ jal func_8024E584 +/* 17D004 8024E724 00000000 */ nop +/* 17D008 8024E728 0040182D */ daddu $v1, $v0, $zero +/* 17D00C 8024E72C 14600002 */ bnez $v1, .L8024E738 +/* 17D010 8024E730 24020002 */ addiu $v0, $zero, 2 +func_8024E734: +/* 17D014 8024E734 0000102D */ daddu $v0, $zero, $zero +func_8024E738: +.L8024E738: +/* 17D018 8024E738 8FBF0014 */ lw $ra, 0x14($sp) +/* 17D01C 8024E73C 8FB00010 */ lw $s0, 0x10($sp) +/* 17D020 8024E740 03E00008 */ jr $ra +/* 17D024 8024E744 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 17D028 8024E748 3C028028 */ lui $v0, 0x8028 +/* 17D02C 8024E74C 80420CE0 */ lb $v0, 0xce0($v0) +/* 17D030 8024E750 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 17D034 8024E754 AFB20018 */ sw $s2, 0x18($sp) +/* 17D038 8024E758 0080902D */ daddu $s2, $a0, $zero +/* 17D03C 8024E75C AFB10014 */ sw $s1, 0x14($sp) +/* 17D040 8024E760 3C11800B */ lui $s1, 0x800b +/* 17D044 8024E764 263122D8 */ addiu $s1, $s1, 0x22d8 +/* 17D048 8024E768 AFBF001C */ sw $ra, 0x1c($sp) +/* 17D04C 8024E76C AFB00010 */ sw $s0, 0x10($sp) +/* 17D050 8024E770 8E50000C */ lw $s0, 0xc($s2) +/* 17D054 8024E774 14400024 */ bnez $v0, .L8024E808 +/* 17D058 8024E778 24020002 */ addiu $v0, $zero, 2 +/* 17D05C 8024E77C 8E050000 */ lw $a1, ($s0) +/* 17D060 8024E780 26100004 */ addiu $s0, $s0, 4 +/* 17D064 8024E784 0C0B1EAF */ jal get_variable +/* 17D068 8024E788 0240202D */ daddu $a0, $s2, $zero +/* 17D06C 8024E78C 0240202D */ daddu $a0, $s2, $zero +/* 17D070 8024E790 8E050000 */ lw $a1, ($s0) +/* 17D074 8024E794 0C0B1EAF */ jal get_variable +/* 17D078 8024E798 0040802D */ daddu $s0, $v0, $zero +/* 17D07C 8024E79C 0040182D */ daddu $v1, $v0, $zero +/* 17D080 8024E7A0 2610FFFF */ addiu $s0, $s0, -1 +/* 17D084 8024E7A4 2E020008 */ sltiu $v0, $s0, 8 +/* 17D088 8024E7A8 10400016 */ beqz $v0, .L8024E804 +/* 17D08C 8024E7AC 00101080 */ sll $v0, $s0, 2 +/* 17D090 8024E7B0 3C01802A */ lui $at, 0x802a +/* 17D094 8024E7B4 00220821 */ addu $at, $at, $v0 +/* 17D098 8024E7B8 8C22CD70 */ lw $v0, -0x3290($at) +/* 17D09C 8024E7BC 00400008 */ jr $v0 +/* 17D0A0 8024E7C0 00000000 */ nop +/* 17D0A4 8024E7C4 08093A01 */ j func_8024E804 +/* 17D0A8 8024E7C8 A623001C */ sh $v1, 0x1c($s1) + +/* 17D0AC 8024E7CC 08093A01 */ j func_8024E804 +/* 17D0B0 8024E7D0 A623001E */ sh $v1, 0x1e($s1) + +/* 17D0B4 8024E7D4 08093A01 */ j func_8024E804 +/* 17D0B8 8024E7D8 A6230020 */ sh $v1, 0x20($s1) + +/* 17D0BC 8024E7DC 08093A01 */ j func_8024E804 +/* 17D0C0 8024E7E0 A6230022 */ sh $v1, 0x22($s1) + +/* 17D0C4 8024E7E4 08093A01 */ j func_8024E804 +/* 17D0C8 8024E7E8 A6230024 */ sh $v1, 0x24($s1) + +/* 17D0CC 8024E7EC 00031200 */ sll $v0, $v1, 8 +/* 17D0D0 8024E7F0 08093A01 */ j func_8024E804 +/* 17D0D4 8024E7F4 A6220026 */ sh $v0, 0x26($s1) + +/* 17D0D8 8024E7F8 08093A01 */ j func_8024E804 +/* 17D0DC 8024E7FC A6230028 */ sh $v1, 0x28($s1) + +/* 17D0E0 8024E800 A623002A */ sh $v1, 0x2a($s1) +func_8024E804: +.L8024E804: +/* 17D0E4 8024E804 24020002 */ addiu $v0, $zero, 2 +.L8024E808: +/* 17D0E8 8024E808 8FBF001C */ lw $ra, 0x1c($sp) +/* 17D0EC 8024E80C 8FB20018 */ lw $s2, 0x18($sp) +/* 17D0F0 8024E810 8FB10014 */ lw $s1, 0x14($sp) +/* 17D0F4 8024E814 8FB00010 */ lw $s0, 0x10($sp) +/* 17D0F8 8024E818 03E00008 */ jr $ra +/* 17D0FC 8024E81C 27BD0020 */ addiu $sp, $sp, 0x20 + +/* 17D100 8024E820 3C028028 */ lui $v0, 0x8028 +/* 17D104 8024E824 80420CE0 */ lb $v0, 0xce0($v0) +/* 17D108 8024E828 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 17D10C 8024E82C AFB10014 */ sw $s1, 0x14($sp) +/* 17D110 8024E830 0080882D */ daddu $s1, $a0, $zero +/* 17D114 8024E834 AFB20018 */ sw $s2, 0x18($sp) +/* 17D118 8024E838 3C12800B */ lui $s2, 0x800b +/* 17D11C 8024E83C 265222D8 */ addiu $s2, $s2, 0x22d8 +/* 17D120 8024E840 AFBF001C */ sw $ra, 0x1c($sp) +/* 17D124 8024E844 AFB00010 */ sw $s0, 0x10($sp) +/* 17D128 8024E848 8E30000C */ lw $s0, 0xc($s1) +/* 17D12C 8024E84C 14400029 */ bnez $v0, .L8024E8F4 +/* 17D130 8024E850 24020002 */ addiu $v0, $zero, 2 +/* 17D134 8024E854 8E050000 */ lw $a1, ($s0) +/* 17D138 8024E858 0C0B1EAF */ jal get_variable +/* 17D13C 8024E85C 26100004 */ addiu $s0, $s0, 4 +/* 17D140 8024E860 A642001C */ sh $v0, 0x1c($s2) +/* 17D144 8024E864 8E050000 */ lw $a1, ($s0) +/* 17D148 8024E868 26100004 */ addiu $s0, $s0, 4 +/* 17D14C 8024E86C 0C0B1EAF */ jal get_variable +/* 17D150 8024E870 0220202D */ daddu $a0, $s1, $zero +/* 17D154 8024E874 A642001E */ sh $v0, 0x1e($s2) +/* 17D158 8024E878 8E050000 */ lw $a1, ($s0) +/* 17D15C 8024E87C 26100004 */ addiu $s0, $s0, 4 +/* 17D160 8024E880 0C0B1EAF */ jal get_variable +/* 17D164 8024E884 0220202D */ daddu $a0, $s1, $zero +/* 17D168 8024E888 A6420020 */ sh $v0, 0x20($s2) +/* 17D16C 8024E88C 8E050000 */ lw $a1, ($s0) +/* 17D170 8024E890 26100004 */ addiu $s0, $s0, 4 +/* 17D174 8024E894 0C0B1EAF */ jal get_variable +/* 17D178 8024E898 0220202D */ daddu $a0, $s1, $zero +/* 17D17C 8024E89C A6420022 */ sh $v0, 0x22($s2) +/* 17D180 8024E8A0 8E050000 */ lw $a1, ($s0) +/* 17D184 8024E8A4 26100004 */ addiu $s0, $s0, 4 +/* 17D188 8024E8A8 0C0B1EAF */ jal get_variable +/* 17D18C 8024E8AC 0220202D */ daddu $a0, $s1, $zero +/* 17D190 8024E8B0 A6420024 */ sh $v0, 0x24($s2) +/* 17D194 8024E8B4 8E050000 */ lw $a1, ($s0) +/* 17D198 8024E8B8 26100004 */ addiu $s0, $s0, 4 +/* 17D19C 8024E8BC 0C0B1EAF */ jal get_variable +/* 17D1A0 8024E8C0 0220202D */ daddu $a0, $s1, $zero +/* 17D1A4 8024E8C4 00021200 */ sll $v0, $v0, 8 +/* 17D1A8 8024E8C8 A6420026 */ sh $v0, 0x26($s2) +/* 17D1AC 8024E8CC 8E050000 */ lw $a1, ($s0) +/* 17D1B0 8024E8D0 26100004 */ addiu $s0, $s0, 4 +/* 17D1B4 8024E8D4 0C0B1EAF */ jal get_variable +/* 17D1B8 8024E8D8 0220202D */ daddu $a0, $s1, $zero +/* 17D1BC 8024E8DC A6420028 */ sh $v0, 0x28($s2) +/* 17D1C0 8024E8E0 8E050000 */ lw $a1, ($s0) +/* 17D1C4 8024E8E4 0C0B1EAF */ jal get_variable +/* 17D1C8 8024E8E8 0220202D */ daddu $a0, $s1, $zero +/* 17D1CC 8024E8EC A642002A */ sh $v0, 0x2a($s2) +/* 17D1D0 8024E8F0 24020002 */ addiu $v0, $zero, 2 +.L8024E8F4: +/* 17D1D4 8024E8F4 8FBF001C */ lw $ra, 0x1c($sp) +/* 17D1D8 8024E8F8 8FB20018 */ lw $s2, 0x18($sp) +/* 17D1DC 8024E8FC 8FB10014 */ lw $s1, 0x14($sp) +/* 17D1E0 8024E900 8FB00010 */ lw $s0, 0x10($sp) +/* 17D1E4 8024E904 03E00008 */ jr $ra +/* 17D1E8 8024E908 27BD0020 */ addiu $sp, $sp, 0x20 + +SetBattleCamTarget: +/* 17D1EC 8024E90C 3C028028 */ lui $v0, 0x8028 +/* 17D1F0 8024E910 80420CE0 */ lb $v0, 0xce0($v0) +/* 17D1F4 8024E914 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 17D1F8 8024E918 AFB10014 */ sw $s1, 0x14($sp) +/* 17D1FC 8024E91C 0080882D */ daddu $s1, $a0, $zero +/* 17D200 8024E920 AFBF0018 */ sw $ra, 0x18($sp) +/* 17D204 8024E924 AFB00010 */ sw $s0, 0x10($sp) +/* 17D208 8024E928 8E30000C */ lw $s0, 0xc($s1) +/* 17D20C 8024E92C 5440001B */ bnezl $v0, .L8024E99C +/* 17D210 8024E930 24020002 */ addiu $v0, $zero, 2 +/* 17D214 8024E934 8E050000 */ lw $a1, ($s0) +/* 17D218 8024E938 0C0B1EAF */ jal get_variable +/* 17D21C 8024E93C 26100004 */ addiu $s0, $s0, 4 +/* 17D220 8024E940 44820000 */ mtc1 $v0, $f0 +/* 17D224 8024E944 00000000 */ nop +/* 17D228 8024E948 46800020 */ cvt.s.w $f0, $f0 +/* 17D22C 8024E94C 3C01802A */ lui $at, 0x802a +/* 17D230 8024E950 E420F270 */ swc1 $f0, -0xd90($at) +/* 17D234 8024E954 8E050000 */ lw $a1, ($s0) +/* 17D238 8024E958 26100004 */ addiu $s0, $s0, 4 +/* 17D23C 8024E95C 0C0B1EAF */ jal get_variable +/* 17D240 8024E960 0220202D */ daddu $a0, $s1, $zero +/* 17D244 8024E964 44820000 */ mtc1 $v0, $f0 +/* 17D248 8024E968 00000000 */ nop +/* 17D24C 8024E96C 46800020 */ cvt.s.w $f0, $f0 +/* 17D250 8024E970 3C01802A */ lui $at, 0x802a +/* 17D254 8024E974 E420F274 */ swc1 $f0, -0xd8c($at) +/* 17D258 8024E978 8E050000 */ lw $a1, ($s0) +/* 17D25C 8024E97C 0C0B1EAF */ jal get_variable +/* 17D260 8024E980 0220202D */ daddu $a0, $s1, $zero +/* 17D264 8024E984 44820000 */ mtc1 $v0, $f0 +/* 17D268 8024E988 00000000 */ nop +/* 17D26C 8024E98C 46800020 */ cvt.s.w $f0, $f0 +/* 17D270 8024E990 3C01802A */ lui $at, 0x802a +/* 17D274 8024E994 E420F278 */ swc1 $f0, -0xd88($at) +/* 17D278 8024E998 24020002 */ addiu $v0, $zero, 2 +.L8024E99C: +/* 17D27C 8024E99C 8FBF0018 */ lw $ra, 0x18($sp) +/* 17D280 8024E9A0 8FB10014 */ lw $s1, 0x14($sp) +/* 17D284 8024E9A4 8FB00010 */ lw $s0, 0x10($sp) +/* 17D288 8024E9A8 03E00008 */ jr $ra +/* 17D28C 8024E9AC 27BD0020 */ addiu $sp, $sp, 0x20 + +/* 17D290 8024E9B0 3C028028 */ lui $v0, 0x8028 +/* 17D294 8024E9B4 80420CE0 */ lb $v0, 0xce0($v0) +/* 17D298 8024E9B8 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 17D29C 8024E9BC AFB10014 */ sw $s1, 0x14($sp) +/* 17D2A0 8024E9C0 0080882D */ daddu $s1, $a0, $zero +/* 17D2A4 8024E9C4 AFB20018 */ sw $s2, 0x18($sp) +/* 17D2A8 8024E9C8 3C12800B */ lui $s2, 0x800b +/* 17D2AC 8024E9CC 265222D8 */ addiu $s2, $s2, 0x22d8 +/* 17D2B0 8024E9D0 AFBF001C */ sw $ra, 0x1c($sp) +/* 17D2B4 8024E9D4 AFB00010 */ sw $s0, 0x10($sp) +/* 17D2B8 8024E9D8 8E30000C */ lw $s0, 0xc($s1) +/* 17D2BC 8024E9DC 14400018 */ bnez $v0, .L8024EA40 +/* 17D2C0 8024E9E0 24020002 */ addiu $v0, $zero, 2 +/* 17D2C4 8024E9E4 8E050000 */ lw $a1, ($s0) +/* 17D2C8 8024E9E8 0C0B1EAF */ jal get_variable +/* 17D2CC 8024E9EC 26100004 */ addiu $s0, $s0, 4 +/* 17D2D0 8024E9F0 44820000 */ mtc1 $v0, $f0 +/* 17D2D4 8024E9F4 00000000 */ nop +/* 17D2D8 8024E9F8 46800020 */ cvt.s.w $f0, $f0 +/* 17D2DC 8024E9FC E6400054 */ swc1 $f0, 0x54($s2) +/* 17D2E0 8024EA00 8E050000 */ lw $a1, ($s0) +/* 17D2E4 8024EA04 26100004 */ addiu $s0, $s0, 4 +/* 17D2E8 8024EA08 0C0B1EAF */ jal get_variable +/* 17D2EC 8024EA0C 0220202D */ daddu $a0, $s1, $zero +/* 17D2F0 8024EA10 44820000 */ mtc1 $v0, $f0 +/* 17D2F4 8024EA14 00000000 */ nop +/* 17D2F8 8024EA18 46800020 */ cvt.s.w $f0, $f0 +/* 17D2FC 8024EA1C E6400058 */ swc1 $f0, 0x58($s2) +/* 17D300 8024EA20 8E050000 */ lw $a1, ($s0) +/* 17D304 8024EA24 0C0B1EAF */ jal get_variable +/* 17D308 8024EA28 0220202D */ daddu $a0, $s1, $zero +/* 17D30C 8024EA2C 44820000 */ mtc1 $v0, $f0 +/* 17D310 8024EA30 00000000 */ nop +/* 17D314 8024EA34 46800020 */ cvt.s.w $f0, $f0 +/* 17D318 8024EA38 24020002 */ addiu $v0, $zero, 2 +/* 17D31C 8024EA3C E640005C */ swc1 $f0, 0x5c($s2) +.L8024EA40: +/* 17D320 8024EA40 8FBF001C */ lw $ra, 0x1c($sp) +/* 17D324 8024EA44 8FB20018 */ lw $s2, 0x18($sp) +/* 17D328 8024EA48 8FB10014 */ lw $s1, 0x14($sp) +/* 17D32C 8024EA4C 8FB00010 */ lw $s0, 0x10($sp) +/* 17D330 8024EA50 03E00008 */ jr $ra +/* 17D334 8024EA54 27BD0020 */ addiu $sp, $sp, 0x20 + +SetBattleCamOffsetZ: +/* 17D338 8024EA58 3C028028 */ lui $v0, 0x8028 +/* 17D33C 8024EA5C 80420CE0 */ lb $v0, 0xce0($v0) +/* 17D340 8024EA60 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 17D344 8024EA64 AFBF0010 */ sw $ra, 0x10($sp) +/* 17D348 8024EA68 8C85000C */ lw $a1, 0xc($a0) +/* 17D34C 8024EA6C 14400007 */ bnez $v0, .L8024EA8C +/* 17D350 8024EA70 24020002 */ addiu $v0, $zero, 2 +/* 17D354 8024EA74 8CA50000 */ lw $a1, ($a1) +/* 17D358 8024EA78 0C0B1EAF */ jal get_variable +/* 17D35C 8024EA7C 00000000 */ nop +/* 17D360 8024EA80 3C01802A */ lui $at, 0x802a +/* 17D364 8024EA84 A422F286 */ sh $v0, -0xd7a($at) +/* 17D368 8024EA88 24020002 */ addiu $v0, $zero, 2 +.L8024EA8C: +/* 17D36C 8024EA8C 8FBF0010 */ lw $ra, 0x10($sp) +/* 17D370 8024EA90 03E00008 */ jr $ra +/* 17D374 8024EA94 27BD0018 */ addiu $sp, $sp, 0x18 + +AddBattleCamOffsetZ: +/* 17D378 8024EA98 3C028028 */ lui $v0, 0x8028 +/* 17D37C 8024EA9C 80420CE0 */ lb $v0, 0xce0($v0) +/* 17D380 8024EAA0 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 17D384 8024EAA4 AFBF0010 */ sw $ra, 0x10($sp) +/* 17D388 8024EAA8 8C85000C */ lw $a1, 0xc($a0) +/* 17D38C 8024EAAC 1440000A */ bnez $v0, .L8024EAD8 +/* 17D390 8024EAB0 24020002 */ addiu $v0, $zero, 2 +/* 17D394 8024EAB4 8CA50000 */ lw $a1, ($a1) +/* 17D398 8024EAB8 0C0B1EAF */ jal get_variable +/* 17D39C 8024EABC 00000000 */ nop +/* 17D3A0 8024EAC0 3C04802A */ lui $a0, 0x802a +/* 17D3A4 8024EAC4 2484F286 */ addiu $a0, $a0, -0xd7a +/* 17D3A8 8024EAC8 94830000 */ lhu $v1, ($a0) +/* 17D3AC 8024EACC 00621821 */ addu $v1, $v1, $v0 +/* 17D3B0 8024EAD0 24020002 */ addiu $v0, $zero, 2 +/* 17D3B4 8024EAD4 A4830000 */ sh $v1, ($a0) +.L8024EAD8: +/* 17D3B8 8024EAD8 8FBF0010 */ lw $ra, 0x10($sp) +/* 17D3BC 8024EADC 03E00008 */ jr $ra +/* 17D3C0 8024EAE0 27BD0018 */ addiu $sp, $sp, 0x18 + +SetBattleCamYaw: +/* 17D3C4 8024EAE4 3C028028 */ lui $v0, 0x8028 +/* 17D3C8 8024EAE8 80420CE0 */ lb $v0, 0xce0($v0) +/* 17D3CC 8024EAEC 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 17D3D0 8024EAF0 AFBF0010 */ sw $ra, 0x10($sp) +/* 17D3D4 8024EAF4 8C85000C */ lw $a1, 0xc($a0) +/* 17D3D8 8024EAF8 14400007 */ bnez $v0, .L8024EB18 +/* 17D3DC 8024EAFC 24020002 */ addiu $v0, $zero, 2 +/* 17D3E0 8024EB00 8CA50000 */ lw $a1, ($a1) +/* 17D3E4 8024EB04 0C0B1EAF */ jal get_variable +/* 17D3E8 8024EB08 00000000 */ nop +/* 17D3EC 8024EB0C 3C01802A */ lui $at, 0x802a +/* 17D3F0 8024EB10 A422F282 */ sh $v0, -0xd7e($at) +/* 17D3F4 8024EB14 24020002 */ addiu $v0, $zero, 2 +.L8024EB18: +/* 17D3F8 8024EB18 8FBF0010 */ lw $ra, 0x10($sp) +/* 17D3FC 8024EB1C 03E00008 */ jr $ra +/* 17D400 8024EB20 27BD0018 */ addiu $sp, $sp, 0x18 + +BattleCamTargetActor: +/* 17D404 8024EB24 3C028028 */ lui $v0, 0x8028 +/* 17D408 8024EB28 80420CE0 */ lb $v0, 0xce0($v0) +/* 17D40C 8024EB2C 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 17D410 8024EB30 AFB00010 */ sw $s0, 0x10($sp) +/* 17D414 8024EB34 0080802D */ daddu $s0, $a0, $zero +/* 17D418 8024EB38 AFBF0014 */ sw $ra, 0x14($sp) +/* 17D41C 8024EB3C 8E05000C */ lw $a1, 0xc($s0) +/* 17D420 8024EB40 1440000C */ bnez $v0, .L8024EB74 +/* 17D424 8024EB44 24020002 */ addiu $v0, $zero, 2 +/* 17D428 8024EB48 8CA50000 */ lw $a1, ($a1) +/* 17D42C 8024EB4C 0C0B1EAF */ jal get_variable +/* 17D430 8024EB50 0200202D */ daddu $a0, $s0, $zero +/* 17D434 8024EB54 0040202D */ daddu $a0, $v0, $zero +/* 17D438 8024EB58 2402FF81 */ addiu $v0, $zero, -0x7f +/* 17D43C 8024EB5C 14820002 */ bne $a0, $v0, .L8024EB68 +/* 17D440 8024EB60 00000000 */ nop +/* 17D444 8024EB64 8E040148 */ lw $a0, 0x148($s0) +.L8024EB68: +/* 17D448 8024EB68 0C09390F */ jal cam_target_actor +/* 17D44C 8024EB6C 00000000 */ nop +/* 17D450 8024EB70 24020002 */ addiu $v0, $zero, 2 +.L8024EB74: +/* 17D454 8024EB74 8FBF0014 */ lw $ra, 0x14($sp) +/* 17D458 8024EB78 8FB00010 */ lw $s0, 0x10($sp) +/* 17D45C 8024EB7C 03E00008 */ jr $ra +/* 17D460 8024EB80 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 17D464 8024EB84 3C028028 */ lui $v0, 0x8028 +/* 17D468 8024EB88 80420CE0 */ lb $v0, 0xce0($v0) +/* 17D46C 8024EB8C 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 17D470 8024EB90 AFB20018 */ sw $s2, 0x18($sp) +/* 17D474 8024EB94 0080902D */ daddu $s2, $a0, $zero +/* 17D478 8024EB98 AFBF001C */ sw $ra, 0x1c($sp) +/* 17D47C 8024EB9C AFB10014 */ sw $s1, 0x14($sp) +/* 17D480 8024EBA0 AFB00010 */ sw $s0, 0x10($sp) +/* 17D484 8024EBA4 8E51000C */ lw $s1, 0xc($s2) +/* 17D488 8024EBA8 14400011 */ bnez $v0, .L8024EBF0 +/* 17D48C 8024EBAC 24020002 */ addiu $v0, $zero, 2 +/* 17D490 8024EBB0 8E250000 */ lw $a1, ($s1) +/* 17D494 8024EBB4 26310004 */ addiu $s1, $s1, 4 +/* 17D498 8024EBB8 0C0B1EAF */ jal get_variable +/* 17D49C 8024EBBC 0240202D */ daddu $a0, $s2, $zero +/* 17D4A0 8024EBC0 0040802D */ daddu $s0, $v0, $zero +/* 17D4A4 8024EBC4 2402FF81 */ addiu $v0, $zero, -0x7f +/* 17D4A8 8024EBC8 16020002 */ bne $s0, $v0, .L8024EBD4 +/* 17D4AC 8024EBCC 00000000 */ nop +/* 17D4B0 8024EBD0 8E500148 */ lw $s0, 0x148($s2) +.L8024EBD4: +/* 17D4B4 8024EBD4 8E250000 */ lw $a1, ($s1) +/* 17D4B8 8024EBD8 0C0B1EAF */ jal get_variable +/* 17D4BC 8024EBDC 0240202D */ daddu $a0, $s2, $zero +/* 17D4C0 8024EBE0 0200202D */ daddu $a0, $s0, $zero +/* 17D4C4 8024EBE4 0C093917 */ jal func_8024E45C +/* 17D4C8 8024EBE8 0040282D */ daddu $a1, $v0, $zero +/* 17D4CC 8024EBEC 24020002 */ addiu $v0, $zero, 2 +.L8024EBF0: +/* 17D4D0 8024EBF0 8FBF001C */ lw $ra, 0x1c($sp) +/* 17D4D4 8024EBF4 8FB20018 */ lw $s2, 0x18($sp) +/* 17D4D8 8024EBF8 8FB10014 */ lw $s1, 0x14($sp) +/* 17D4DC 8024EBFC 8FB00010 */ lw $s0, 0x10($sp) +/* 17D4E0 8024EC00 03E00008 */ jr $ra +/* 17D4E4 8024EC04 27BD0020 */ addiu $sp, $sp, 0x20 + +MoveBattleCamOver: +/* 17D4E8 8024EC08 3C028028 */ lui $v0, 0x8028 +/* 17D4EC 8024EC0C 80420CE0 */ lb $v0, 0xce0($v0) +/* 17D4F0 8024EC10 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 17D4F4 8024EC14 AFBF0010 */ sw $ra, 0x10($sp) +/* 17D4F8 8024EC18 8C85000C */ lw $a1, 0xc($a0) +/* 17D4FC 8024EC1C 14400010 */ bnez $v0, .L8024EC60 +/* 17D500 8024EC20 24020002 */ addiu $v0, $zero, 2 +/* 17D504 8024EC24 8CA50000 */ lw $a1, ($a1) +/* 17D508 8024EC28 0C0B1EAF */ jal get_variable +/* 17D50C 8024EC2C 00000000 */ nop +/* 17D510 8024EC30 3C03800E */ lui $v1, 0x800e +/* 17D514 8024EC34 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 17D518 8024EC38 8C6400C4 */ lw $a0, 0xc4($v1) +/* 17D51C 8024EC3C 3C01802A */ lui $at, 0x802a +/* 17D520 8024EC40 A422F29E */ sh $v0, -0xd62($at) +/* 17D524 8024EC44 3C018028 */ lui $at, 0x8028 +/* 17D528 8024EC48 AC200CE4 */ sw $zero, 0xce4($at) +/* 17D52C 8024EC4C 10800004 */ beqz $a0, .L8024EC60 +/* 17D530 8024EC50 24020002 */ addiu $v0, $zero, 2 +/* 17D534 8024EC54 0C0B0F41 */ jal restart_script +/* 17D538 8024EC58 00000000 */ nop +/* 17D53C 8024EC5C 24020002 */ addiu $v0, $zero, 2 +.L8024EC60: +/* 17D540 8024EC60 8FBF0010 */ lw $ra, 0x10($sp) +/* 17D544 8024EC64 03E00008 */ jr $ra +/* 17D548 8024EC68 27BD0018 */ addiu $sp, $sp, 0x18 + +SetBattleCamZoom: +/* 17D54C 8024EC6C 3C028028 */ lui $v0, 0x8028 +/* 17D550 8024EC70 80420CE0 */ lb $v0, 0xce0($v0) +/* 17D554 8024EC74 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 17D558 8024EC78 AFBF0010 */ sw $ra, 0x10($sp) +/* 17D55C 8024EC7C 8C85000C */ lw $a1, 0xc($a0) +/* 17D560 8024EC80 14400007 */ bnez $v0, .L8024ECA0 +/* 17D564 8024EC84 24020002 */ addiu $v0, $zero, 2 +/* 17D568 8024EC88 8CA50000 */ lw $a1, ($a1) +/* 17D56C 8024EC8C 0C0B1EAF */ jal get_variable +/* 17D570 8024EC90 00000000 */ nop +/* 17D574 8024EC94 3C01802A */ lui $at, 0x802a +/* 17D578 8024EC98 A422F280 */ sh $v0, -0xd80($at) +/* 17D57C 8024EC9C 24020002 */ addiu $v0, $zero, 2 +.L8024ECA0: +/* 17D580 8024ECA0 8FBF0010 */ lw $ra, 0x10($sp) +/* 17D584 8024ECA4 03E00008 */ jr $ra +/* 17D588 8024ECA8 27BD0018 */ addiu $sp, $sp, 0x18 + +AddBattleCamZoom: +/* 17D58C 8024ECAC 3C028028 */ lui $v0, 0x8028 +/* 17D590 8024ECB0 80420CE0 */ lb $v0, 0xce0($v0) +/* 17D594 8024ECB4 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 17D598 8024ECB8 AFBF0010 */ sw $ra, 0x10($sp) +/* 17D59C 8024ECBC 8C85000C */ lw $a1, 0xc($a0) +/* 17D5A0 8024ECC0 1440000A */ bnez $v0, .L8024ECEC +/* 17D5A4 8024ECC4 24020002 */ addiu $v0, $zero, 2 +/* 17D5A8 8024ECC8 8CA50000 */ lw $a1, ($a1) +/* 17D5AC 8024ECCC 0C0B1EAF */ jal get_variable +/* 17D5B0 8024ECD0 00000000 */ nop +/* 17D5B4 8024ECD4 3C04802A */ lui $a0, 0x802a +/* 17D5B8 8024ECD8 2484F280 */ addiu $a0, $a0, -0xd80 +/* 17D5BC 8024ECDC 94830000 */ lhu $v1, ($a0) +/* 17D5C0 8024ECE0 00621821 */ addu $v1, $v1, $v0 +/* 17D5C4 8024ECE4 24020002 */ addiu $v0, $zero, 2 +/* 17D5C8 8024ECE8 A4830000 */ sh $v1, ($a0) +.L8024ECEC: +/* 17D5CC 8024ECEC 8FBF0010 */ lw $ra, 0x10($sp) +/* 17D5D0 8024ECF0 03E00008 */ jr $ra +/* 17D5D4 8024ECF4 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 17D5D8 8024ECF8 3C028028 */ lui $v0, 0x8028 +/* 17D5DC 8024ECFC 80420CE0 */ lb $v0, 0xce0($v0) +/* 17D5E0 8024ED00 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 17D5E4 8024ED04 AFB10014 */ sw $s1, 0x14($sp) +/* 17D5E8 8024ED08 0080882D */ daddu $s1, $a0, $zero +/* 17D5EC 8024ED0C AFBF0018 */ sw $ra, 0x18($sp) +/* 17D5F0 8024ED10 AFB00010 */ sw $s0, 0x10($sp) +/* 17D5F4 8024ED14 8E30000C */ lw $s0, 0xc($s1) +/* 17D5F8 8024ED18 14400012 */ bnez $v0, .L8024ED64 +/* 17D5FC 8024ED1C 24020002 */ addiu $v0, $zero, 2 +/* 17D600 8024ED20 8E050000 */ lw $a1, ($s0) +/* 17D604 8024ED24 0C0B1EAF */ jal get_variable +/* 17D608 8024ED28 26100004 */ addiu $s0, $s0, 4 +/* 17D60C 8024ED2C 3C01802A */ lui $at, 0x802a +/* 17D610 8024ED30 A022F2A2 */ sb $v0, -0xd5e($at) +/* 17D614 8024ED34 8E050000 */ lw $a1, ($s0) +/* 17D618 8024ED38 26100004 */ addiu $s0, $s0, 4 +/* 17D61C 8024ED3C 0C0B1EAF */ jal get_variable +/* 17D620 8024ED40 0220202D */ daddu $a0, $s1, $zero +/* 17D624 8024ED44 3C01802A */ lui $at, 0x802a +/* 17D628 8024ED48 A022F2A3 */ sb $v0, -0xd5d($at) +/* 17D62C 8024ED4C 8E050000 */ lw $a1, ($s0) +/* 17D630 8024ED50 0C0B1EAF */ jal get_variable +/* 17D634 8024ED54 0220202D */ daddu $a0, $s1, $zero +/* 17D638 8024ED58 3C01802A */ lui $at, 0x802a +/* 17D63C 8024ED5C A022F2A5 */ sb $v0, -0xd5b($at) +/* 17D640 8024ED60 24020002 */ addiu $v0, $zero, 2 +.L8024ED64: +/* 17D644 8024ED64 8FBF0018 */ lw $ra, 0x18($sp) +/* 17D648 8024ED68 8FB10014 */ lw $s1, 0x14($sp) +/* 17D64C 8024ED6C 8FB00010 */ lw $s0, 0x10($sp) +/* 17D650 8024ED70 03E00008 */ jr $ra +/* 17D654 8024ED74 27BD0020 */ addiu $sp, $sp, 0x20 + +FreezeBattleCam: +/* 17D658 8024ED78 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 17D65C 8024ED7C AFBF0010 */ sw $ra, 0x10($sp) +/* 17D660 8024ED80 8C82000C */ lw $v0, 0xc($a0) +/* 17D664 8024ED84 0C0B1EAF */ jal get_variable +/* 17D668 8024ED88 8C450000 */ lw $a1, ($v0) +/* 17D66C 8024ED8C 8FBF0010 */ lw $ra, 0x10($sp) +/* 17D670 8024ED90 3C018028 */ lui $at, 0x8028 +/* 17D674 8024ED94 A0220CE0 */ sb $v0, 0xce0($at) +/* 17D678 8024ED98 24020002 */ addiu $v0, $zero, 2 +/* 17D67C 8024ED9C 03E00008 */ jr $ra +/* 17D680 8024EDA0 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 17D684 8024EDA4 3C01802A */ lui $at, 0x802a +/* 17D688 8024EDA8 A020F2A6 */ sb $zero, -0xd5a($at) +/* 17D68C 8024EDAC 03E00008 */ jr $ra +/* 17D690 8024EDB0 24020002 */ addiu $v0, $zero, 2 + +/* 17D694 8024EDB4 00000000 */ nop +/* 17D698 8024EDB8 00000000 */ nop +/* 17D69C 8024EDBC 00000000 */ nop +func_8024EDC0: +/* 17D6A0 8024EDC0 0000202D */ daddu $a0, $zero, $zero +/* 17D6A4 8024EDC4 3C03802A */ lui $v1, 0x802a +/* 17D6A8 8024EDC8 2463F2C0 */ addiu $v1, $v1, -0xd40 +.L8024EDCC: +/* 17D6AC 8024EDCC A4600010 */ sh $zero, 0x10($v1) +/* 17D6B0 8024EDD0 AC600018 */ sw $zero, 0x18($v1) +/* 17D6B4 8024EDD4 24840001 */ addiu $a0, $a0, 1 +/* 17D6B8 8024EDD8 28820020 */ slti $v0, $a0, 0x20 +/* 17D6BC 8024EDDC 1440FFFB */ bnez $v0, .L8024EDCC +/* 17D6C0 8024EDE0 2463001C */ addiu $v1, $v1, 0x1c +/* 17D6C4 8024EDE4 03E00008 */ jr $ra +/* 17D6C8 8024EDE8 00000000 */ nop + +/* 17D6CC 8024EDEC 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 17D6D0 8024EDF0 AFB10014 */ sw $s1, 0x14($sp) +/* 17D6D4 8024EDF4 0000882D */ daddu $s1, $zero, $zero +/* 17D6D8 8024EDF8 AFB00010 */ sw $s0, 0x10($sp) +/* 17D6DC 8024EDFC 3C10802A */ lui $s0, 0x802a +/* 17D6E0 8024EE00 2610F2C0 */ addiu $s0, $s0, -0xd40 +/* 17D6E4 8024EE04 AFBF0018 */ sw $ra, 0x18($sp) +.L8024EE08: +/* 17D6E8 8024EE08 8E040018 */ lw $a0, 0x18($s0) +/* 17D6EC 8024EE0C 50800005 */ beql $a0, $zero, .L8024EE24 +/* 17D6F0 8024EE10 A6000010 */ sh $zero, 0x10($s0) +/* 17D6F4 8024EE14 0C00AB4B */ jal heap_free +/* 17D6F8 8024EE18 00000000 */ nop +/* 17D6FC 8024EE1C AE000018 */ sw $zero, 0x18($s0) +/* 17D700 8024EE20 A6000010 */ sh $zero, 0x10($s0) +.L8024EE24: +/* 17D704 8024EE24 26310001 */ addiu $s1, $s1, 1 +/* 17D708 8024EE28 2A220020 */ slti $v0, $s1, 0x20 +/* 17D70C 8024EE2C 1440FFF6 */ bnez $v0, .L8024EE08 +/* 17D710 8024EE30 2610001C */ addiu $s0, $s0, 0x1c +/* 17D714 8024EE34 8FBF0018 */ lw $ra, 0x18($sp) +/* 17D718 8024EE38 8FB10014 */ lw $s1, 0x14($sp) +/* 17D71C 8024EE3C 8FB00010 */ lw $s0, 0x10($sp) +/* 17D720 8024EE40 03E00008 */ jr $ra +/* 17D724 8024EE44 27BD0020 */ addiu $sp, $sp, 0x20 + +func_8024EE48: +/* 17D728 8024EE48 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 17D72C 8024EE4C AFB10014 */ sw $s1, 0x14($sp) +/* 17D730 8024EE50 0000882D */ daddu $s1, $zero, $zero +/* 17D734 8024EE54 AFB00010 */ sw $s0, 0x10($sp) +/* 17D738 8024EE58 3C10802A */ lui $s0, 0x802a +/* 17D73C 8024EE5C 2610F2C0 */ addiu $s0, $s0, -0xd40 +/* 17D740 8024EE60 AFBF0018 */ sw $ra, 0x18($sp) +.L8024EE64: +/* 17D744 8024EE64 86020010 */ lh $v0, 0x10($s0) +/* 17D748 8024EE68 50400007 */ beql $v0, $zero, .L8024EE88 +/* 17D74C 8024EE6C 26310001 */ addiu $s1, $s1, 1 +/* 17D750 8024EE70 8E020004 */ lw $v0, 4($s0) +/* 17D754 8024EE74 50400004 */ beql $v0, $zero, .L8024EE88 +/* 17D758 8024EE78 26310001 */ addiu $s1, $s1, 1 +/* 17D75C 8024EE7C 0040F809 */ jalr $v0 +/* 17D760 8024EE80 0200202D */ daddu $a0, $s0, $zero +/* 17D764 8024EE84 26310001 */ addiu $s1, $s1, 1 +.L8024EE88: +/* 17D768 8024EE88 2A220020 */ slti $v0, $s1, 0x20 +/* 17D76C 8024EE8C 1440FFF5 */ bnez $v0, .L8024EE64 +/* 17D770 8024EE90 2610001C */ addiu $s0, $s0, 0x1c +/* 17D774 8024EE94 8FBF0018 */ lw $ra, 0x18($sp) +/* 17D778 8024EE98 8FB10014 */ lw $s1, 0x14($sp) +/* 17D77C 8024EE9C 8FB00010 */ lw $s0, 0x10($sp) +/* 17D780 8024EEA0 03E00008 */ jr $ra +/* 17D784 8024EEA4 27BD0020 */ addiu $sp, $sp, 0x20 + +func_8024EEA8: +/* 17D788 8024EEA8 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 17D78C 8024EEAC AFB10014 */ sw $s1, 0x14($sp) +/* 17D790 8024EEB0 0000882D */ daddu $s1, $zero, $zero +/* 17D794 8024EEB4 AFB00010 */ sw $s0, 0x10($sp) +/* 17D798 8024EEB8 3C10802A */ lui $s0, 0x802a +/* 17D79C 8024EEBC 2610F2C0 */ addiu $s0, $s0, -0xd40 +/* 17D7A0 8024EEC0 AFBF0018 */ sw $ra, 0x18($sp) +.L8024EEC4: +/* 17D7A4 8024EEC4 86020010 */ lh $v0, 0x10($s0) +/* 17D7A8 8024EEC8 50400007 */ beql $v0, $zero, .L8024EEE8 +/* 17D7AC 8024EECC 26310001 */ addiu $s1, $s1, 1 +/* 17D7B0 8024EED0 8E020008 */ lw $v0, 8($s0) +/* 17D7B4 8024EED4 50400004 */ beql $v0, $zero, .L8024EEE8 +/* 17D7B8 8024EED8 26310001 */ addiu $s1, $s1, 1 +/* 17D7BC 8024EEDC 0040F809 */ jalr $v0 +/* 17D7C0 8024EEE0 0200202D */ daddu $a0, $s0, $zero +/* 17D7C4 8024EEE4 26310001 */ addiu $s1, $s1, 1 +.L8024EEE8: +/* 17D7C8 8024EEE8 2A220020 */ slti $v0, $s1, 0x20 +/* 17D7CC 8024EEEC 1440FFF5 */ bnez $v0, .L8024EEC4 +/* 17D7D0 8024EEF0 2610001C */ addiu $s0, $s0, 0x1c +/* 17D7D4 8024EEF4 8FBF0018 */ lw $ra, 0x18($sp) +/* 17D7D8 8024EEF8 8FB10014 */ lw $s1, 0x14($sp) +/* 17D7DC 8024EEFC 8FB00010 */ lw $s0, 0x10($sp) +/* 17D7E0 8024EF00 03E00008 */ jr $ra +/* 17D7E4 8024EF04 27BD0020 */ addiu $sp, $sp, 0x20 + +func_8024EF08: +/* 17D7E8 8024EF08 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 17D7EC 8024EF0C AFB10014 */ sw $s1, 0x14($sp) +/* 17D7F0 8024EF10 0000882D */ daddu $s1, $zero, $zero +/* 17D7F4 8024EF14 AFB00010 */ sw $s0, 0x10($sp) +/* 17D7F8 8024EF18 3C10802A */ lui $s0, 0x802a +/* 17D7FC 8024EF1C 2610F2C0 */ addiu $s0, $s0, -0xd40 +/* 17D800 8024EF20 AFBF0018 */ sw $ra, 0x18($sp) +.L8024EF24: +/* 17D804 8024EF24 86020010 */ lh $v0, 0x10($s0) +/* 17D808 8024EF28 50400007 */ beql $v0, $zero, .L8024EF48 +/* 17D80C 8024EF2C 26310001 */ addiu $s1, $s1, 1 +/* 17D810 8024EF30 8E02000C */ lw $v0, 0xc($s0) +/* 17D814 8024EF34 50400004 */ beql $v0, $zero, .L8024EF48 +/* 17D818 8024EF38 26310001 */ addiu $s1, $s1, 1 +/* 17D81C 8024EF3C 0040F809 */ jalr $v0 +/* 17D820 8024EF40 0200202D */ daddu $a0, $s0, $zero +/* 17D824 8024EF44 26310001 */ addiu $s1, $s1, 1 +.L8024EF48: +/* 17D828 8024EF48 2A220020 */ slti $v0, $s1, 0x20 +/* 17D82C 8024EF4C 1440FFF5 */ bnez $v0, .L8024EF24 +/* 17D830 8024EF50 2610001C */ addiu $s0, $s0, 0x1c +/* 17D834 8024EF54 8FBF0018 */ lw $ra, 0x18($sp) +/* 17D838 8024EF58 8FB10014 */ lw $s1, 0x14($sp) +/* 17D83C 8024EF5C 8FB00010 */ lw $s0, 0x10($sp) +/* 17D840 8024EF60 03E00008 */ jr $ra +/* 17D844 8024EF64 27BD0020 */ addiu $sp, $sp, 0x20 + +create_popup: +/* 17D848 8024EF68 0000202D */ daddu $a0, $zero, $zero +/* 17D84C 8024EF6C 24050001 */ addiu $a1, $zero, 1 +/* 17D850 8024EF70 3C03802A */ lui $v1, 0x802a +/* 17D854 8024EF74 2463F2C0 */ addiu $v1, $v1, -0xd40 +.L8024EF78: +/* 17D858 8024EF78 84620010 */ lh $v0, 0x10($v1) +/* 17D85C 8024EF7C 14400004 */ bnez $v0, .L8024EF90 +/* 17D860 8024EF80 24840001 */ addiu $a0, $a0, 1 +/* 17D864 8024EF84 A4650010 */ sh $a1, 0x10($v1) +/* 17D868 8024EF88 03E00008 */ jr $ra +/* 17D86C 8024EF8C 0060102D */ daddu $v0, $v1, $zero + +.L8024EF90: +/* 17D870 8024EF90 28820020 */ slti $v0, $a0, 0x20 +/* 17D874 8024EF94 1440FFF8 */ bnez $v0, .L8024EF78 +/* 17D878 8024EF98 2463001C */ addiu $v1, $v1, 0x1c +/* 17D87C 8024EF9C 03E00008 */ jr $ra +/* 17D880 8024EFA0 0000102D */ daddu $v0, $zero, $zero + +func_8024EFA4: +/* 17D884 8024EFA4 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 17D888 8024EFA8 AFB00010 */ sw $s0, 0x10($sp) +/* 17D88C 8024EFAC 0080802D */ daddu $s0, $a0, $zero +/* 17D890 8024EFB0 AFBF0014 */ sw $ra, 0x14($sp) +/* 17D894 8024EFB4 8E040018 */ lw $a0, 0x18($s0) +/* 17D898 8024EFB8 50800005 */ beql $a0, $zero, .L8024EFD0 +/* 17D89C 8024EFBC A6000010 */ sh $zero, 0x10($s0) +/* 17D8A0 8024EFC0 0C00AB4B */ jal heap_free +/* 17D8A4 8024EFC4 00000000 */ nop +/* 17D8A8 8024EFC8 AE000018 */ sw $zero, 0x18($s0) +/* 17D8AC 8024EFCC A6000010 */ sh $zero, 0x10($s0) +.L8024EFD0: +/* 17D8B0 8024EFD0 8FBF0014 */ lw $ra, 0x14($sp) +/* 17D8B4 8024EFD4 8FB00010 */ lw $s0, 0x10($sp) +/* 17D8B8 8024EFD8 03E00008 */ jr $ra +/* 17D8BC 8024EFDC 27BD0018 */ addiu $sp, $sp, 0x18 + +func_8024EFE0: +/* 17D8C0 8024EFE0 27BDFF98 */ addiu $sp, $sp, -0x68 +/* 17D8C4 8024EFE4 F7BC0060 */ sdc1 $f28, 0x60($sp) +/* 17D8C8 8024EFE8 4486E000 */ mtc1 $a2, $f28 +/* 17D8CC 8024EFEC F7B60048 */ sdc1 $f22, 0x48($sp) +/* 17D8D0 8024EFF0 3C013F80 */ lui $at, 0x3f80 +/* 17D8D4 8024EFF4 4481B000 */ mtc1 $at, $f22 +/* 17D8D8 8024EFF8 AFB20020 */ sw $s2, 0x20($sp) +/* 17D8DC 8024EFFC 8FB2007C */ lw $s2, 0x7c($sp) +/* 17D8E0 8024F000 F7B80050 */ sdc1 $f24, 0x50($sp) +/* 17D8E4 8024F004 46006606 */ mov.s $f24, $f12 +/* 17D8E8 8024F008 F7BA0058 */ sdc1 $f26, 0x58($sp) +/* 17D8EC 8024F00C 46007686 */ mov.s $f26, $f14 +/* 17D8F0 8024F010 AFB5002C */ sw $s5, 0x2c($sp) +/* 17D8F4 8024F014 00E0A82D */ daddu $s5, $a3, $zero +/* 17D8F8 8024F018 AFB70034 */ sw $s7, 0x34($sp) +/* 17D8FC 8024F01C 0000B82D */ daddu $s7, $zero, $zero +/* 17D900 8024F020 AFB1001C */ sw $s1, 0x1c($sp) +/* 17D904 8024F024 3C11800E */ lui $s1, 0x800e +/* 17D908 8024F028 2631C070 */ addiu $s1, $s1, -0x3f90 +/* 17D90C 8024F02C AFBF003C */ sw $ra, 0x3c($sp) +/* 17D910 8024F030 AFBE0038 */ sw $fp, 0x38($sp) +/* 17D914 8024F034 AFB60030 */ sw $s6, 0x30($sp) +/* 17D918 8024F038 AFB40028 */ sw $s4, 0x28($sp) +/* 17D91C 8024F03C AFB30024 */ sw $s3, 0x24($sp) +/* 17D920 8024F040 AFB00018 */ sw $s0, 0x18($sp) +/* 17D924 8024F044 F7B40040 */ sdc1 $f20, 0x40($sp) +/* 17D928 8024F048 1EA00009 */ bgtz $s5, .L8024F070 +/* 17D92C 8024F04C 4600B506 */ mov.s $f20, $f22 +/* 17D930 8024F050 24150001 */ addiu $s5, $zero, 1 +/* 17D934 8024F054 02A0B82D */ daddu $s7, $s5, $zero +/* 17D938 8024F058 3C013ECC */ lui $at, 0x3ecc +/* 17D93C 8024F05C 3421CCCD */ ori $at, $at, 0xcccd +/* 17D940 8024F060 4481B000 */ mtc1 $at, $f22 +/* 17D944 8024F064 3C013F33 */ lui $at, 0x3f33 +/* 17D948 8024F068 34213333 */ ori $at, $at, 0x3333 +/* 17D94C 8024F06C 4481A000 */ mtc1 $at, $f20 +.L8024F070: +/* 17D950 8024F070 8E220000 */ lw $v0, ($s1) +/* 17D954 8024F074 30420240 */ andi $v0, $v0, 0x240 +/* 17D958 8024F078 10400004 */ beqz $v0, .L8024F08C +/* 17D95C 8024F07C 00000000 */ nop +/* 17D960 8024F080 4600B021 */ cvt.d.s $f0, $f22 +/* 17D964 8024F084 46200000 */ add.d $f0, $f0, $f0 +/* 17D968 8024F088 462005A0 */ cvt.s.d $f22, $f0 +.L8024F08C: +/* 17D96C 8024F08C 0C093BDA */ jal create_popup +/* 17D970 8024F090 00000000 */ nop +/* 17D974 8024F094 0040802D */ daddu $s0, $v0, $zero +/* 17D978 8024F098 120000AD */ beqz $s0, .L8024F350 +/* 17D97C 8024F09C 00000000 */ nop +/* 17D980 8024F0A0 06410003 */ bgez $s2, .L8024F0B0 +/* 17D984 8024F0A4 24140001 */ addiu $s4, $zero, 1 +/* 17D988 8024F0A8 00129023 */ negu $s2, $s2 +/* 17D98C 8024F0AC 2414FFFF */ addiu $s4, $zero, -1 +func_8024F0B0: +.L8024F0B0: +/* 17D990 8024F0B0 2A420006 */ slti $v0, $s2, 6 +/* 17D994 8024F0B4 14400003 */ bnez $v0, .L8024F0C4 +/* 17D998 8024F0B8 00152080 */ sll $a0, $s5, 2 +/* 17D99C 8024F0BC 08093C2C */ j func_8024F0B0 +/* 17D9A0 8024F0C0 2652FFFB */ addiu $s2, $s2, -5 + +.L8024F0C4: +/* 17D9A4 8024F0C4 00952021 */ addu $a0, $a0, $s5 +/* 17D9A8 8024F0C8 00042080 */ sll $a0, $a0, 2 +/* 17D9AC 8024F0CC 00952023 */ subu $a0, $a0, $s5 +/* 17D9B0 8024F0D0 00042080 */ sll $a0, $a0, 2 +/* 17D9B4 8024F0D4 3C028025 */ lui $v0, 0x8025 +/* 17D9B8 8024F0D8 2442F394 */ addiu $v0, $v0, -0xc6c +/* 17D9BC 8024F0DC A6200090 */ sh $zero, 0x90($s1) +/* 17D9C0 8024F0E0 AE020004 */ sw $v0, 4($s0) +/* 17D9C4 8024F0E4 3C028025 */ lui $v0, 0x8025 +/* 17D9C8 8024F0E8 2442F5AC */ addiu $v0, $v0, -0xa54 +/* 17D9CC 8024F0EC AE020008 */ sw $v0, 8($s0) +/* 17D9D0 8024F0F0 96020010 */ lhu $v0, 0x10($s0) +/* 17D9D4 8024F0F4 24030001 */ addiu $v1, $zero, 1 +/* 17D9D8 8024F0F8 AE000000 */ sw $zero, ($s0) +/* 17D9DC 8024F0FC AE00000C */ sw $zero, 0xc($s0) +/* 17D9E0 8024F100 A6030012 */ sh $v1, 0x12($s0) +/* 17D9E4 8024F104 34420010 */ ori $v0, $v0, 0x10 +/* 17D9E8 8024F108 0C00AB39 */ jal heap_malloc +/* 17D9EC 8024F10C A6020010 */ sh $v0, 0x10($s0) +/* 17D9F0 8024F110 0040982D */ daddu $s3, $v0, $zero +/* 17D9F4 8024F114 16600003 */ bnez $s3, .L8024F124 +/* 17D9F8 8024F118 AE130018 */ sw $s3, 0x18($s0) +func_8024F11C: +/* 17D9FC 8024F11C 08093C47 */ j func_8024F11C +/* 17DA00 8024F120 00000000 */ nop + +.L8024F124: +/* 17DA04 8024F124 1AA0008A */ blez $s5, .L8024F350 +/* 17DA08 8024F128 0000882D */ daddu $s1, $zero, $zero +/* 17DA0C 8024F12C 3C038028 */ lui $v1, 0x8028 +/* 17DA10 8024F130 24633744 */ addiu $v1, $v1, 0x3744 +/* 17DA14 8024F134 00151080 */ sll $v0, $s5, 2 +/* 17DA18 8024F138 00431021 */ addu $v0, $v0, $v1 +/* 17DA1C 8024F13C AFA20010 */ sw $v0, 0x10($sp) +/* 17DA20 8024F140 3C168028 */ lui $s6, 0x8028 +/* 17DA24 8024F144 26D635DC */ addiu $s6, $s6, 0x35dc +/* 17DA28 8024F148 001410C0 */ sll $v0, $s4, 3 +/* 17DA2C 8024F14C 00541023 */ subu $v0, $v0, $s4 +/* 17DA30 8024F150 00021080 */ sll $v0, $v0, 2 +/* 17DA34 8024F154 00541023 */ subu $v0, $v0, $s4 +/* 17DA38 8024F158 00021080 */ sll $v0, $v0, 2 +/* 17DA3C 8024F15C 0054F023 */ subu $fp, $v0, $s4 +/* 17DA40 8024F160 26700048 */ addiu $s0, $s3, 0x48 +.L8024F164: +/* 17DA44 8024F164 24020001 */ addiu $v0, $zero, 1 +/* 17DA48 8024F168 AE620000 */ sw $v0, ($s3) +/* 17DA4C 8024F16C 8FA80010 */ lw $t0, 0x10($sp) +/* 17DA50 8024F170 0C048338 */ jal func_80120CE0 +/* 17DA54 8024F174 8D040000 */ lw $a0, ($t0) +/* 17DA58 8024F178 0040202D */ daddu $a0, $v0, $zero +/* 17DA5C 8024F17C 24050020 */ addiu $a1, $zero, 0x20 +/* 17DA60 8024F180 0C048BBA */ jal func_80122EE8 +/* 17DA64 8024F184 AE04FFBC */ sw $a0, -0x44($s0) +/* 17DA68 8024F188 8E04FFBC */ lw $a0, -0x44($s0) +/* 17DA6C 8024F18C 3C068025 */ lui $a2, 0x8025 +/* 17DA70 8024F190 24C6F768 */ addiu $a2, $a2, -0x898 +/* 17DA74 8024F194 0C048BD9 */ jal func_80122F64 +/* 17DA78 8024F198 0260282D */ daddu $a1, $s3, $zero +/* 17DA7C 8024F19C 0240102D */ daddu $v0, $s2, $zero +/* 17DA80 8024F1A0 E618FFF0 */ swc1 $f24, -0x10($s0) +/* 17DA84 8024F1A4 E61AFFF4 */ swc1 $f26, -0xc($s0) +/* 17DA88 8024F1A8 06410002 */ bgez $s2, .L8024F1B4 +/* 17DA8C 8024F1AC E61CFFF8 */ swc1 $f28, -8($s0) +/* 17DA90 8024F1B0 26420007 */ addiu $v0, $s2, 7 +.L8024F1B4: +/* 17DA94 8024F1B4 000218C3 */ sra $v1, $v0, 3 +/* 17DA98 8024F1B8 000310C0 */ sll $v0, $v1, 3 +/* 17DA9C 8024F1BC 02421823 */ subu $v1, $s2, $v0 +/* 17DAA0 8024F1C0 00031040 */ sll $v0, $v1, 1 +/* 17DAA4 8024F1C4 00431021 */ addu $v0, $v0, $v1 +/* 17DAA8 8024F1C8 00022080 */ sll $a0, $v0, 2 +/* 17DAAC 8024F1CC 00962021 */ addu $a0, $a0, $s6 +/* 17DAB0 8024F1D0 C4800000 */ lwc1 $f0, ($a0) +/* 17DAB4 8024F1D4 46000021 */ cvt.d.s $f0, $f0 +/* 17DAB8 8024F1D8 46200000 */ add.d $f0, $f0, $f0 +/* 17DABC 8024F1DC 44941000 */ mtc1 $s4, $f2 +/* 17DAC0 8024F1E0 00000000 */ nop +/* 17DAC4 8024F1E4 468010A1 */ cvt.d.w $f2, $f2 +/* 17DAC8 8024F1E8 46220002 */ mul.d $f0, $f0, $f2 +/* 17DACC 8024F1EC 00000000 */ nop +/* 17DAD0 8024F1F0 4600A0A1 */ cvt.d.s $f2, $f20 +/* 17DAD4 8024F1F4 46220002 */ mul.d $f0, $f0, $f2 +/* 17DAD8 8024F1F8 00000000 */ nop +/* 17DADC 8024F1FC 24430001 */ addiu $v1, $v0, 1 +/* 17DAE0 8024F200 00031880 */ sll $v1, $v1, 2 +/* 17DAE4 8024F204 00761821 */ addu $v1, $v1, $s6 +/* 17DAE8 8024F208 46200020 */ cvt.s.d $f0, $f0 +/* 17DAEC 8024F20C E600FFCC */ swc1 $f0, -0x34($s0) +/* 17DAF0 8024F210 C4600000 */ lwc1 $f0, ($v1) +/* 17DAF4 8024F214 46000021 */ cvt.d.s $f0, $f0 +/* 17DAF8 8024F218 46200000 */ add.d $f0, $f0, $f0 +/* 17DAFC 8024F21C 46220002 */ mul.d $f0, $f0, $f2 +/* 17DB00 8024F220 00000000 */ nop +/* 17DB04 8024F224 24420002 */ addiu $v0, $v0, 2 +/* 17DB08 8024F228 00021080 */ sll $v0, $v0, 2 +/* 17DB0C 8024F22C 00561021 */ addu $v0, $v0, $s6 +/* 17DB10 8024F230 46200020 */ cvt.s.d $f0, $f0 +/* 17DB14 8024F234 E600FFD0 */ swc1 $f0, -0x30($s0) +/* 17DB18 8024F238 C4400000 */ lwc1 $f0, ($v0) +/* 17DB1C 8024F23C 46000021 */ cvt.d.s $f0, $f0 +/* 17DB20 8024F240 46200000 */ add.d $f0, $f0, $f0 +/* 17DB24 8024F244 46220002 */ mul.d $f0, $f0, $f2 +/* 17DB28 8024F248 00000000 */ nop +/* 17DB2C 8024F24C 46200020 */ cvt.s.d $f0, $f0 +/* 17DB30 8024F250 E600FFD4 */ swc1 $f0, -0x2c($s0) +/* 17DB34 8024F254 C4800000 */ lwc1 $f0, ($a0) +/* 17DB38 8024F258 44941000 */ mtc1 $s4, $f2 +/* 17DB3C 8024F25C 00000000 */ nop +/* 17DB40 8024F260 468010A0 */ cvt.s.w $f2, $f2 +/* 17DB44 8024F264 46020002 */ mul.s $f0, $f0, $f2 +/* 17DB48 8024F268 00000000 */ nop +/* 17DB4C 8024F26C 46140002 */ mul.s $f0, $f0, $f20 +/* 17DB50 8024F270 00000000 */ nop +/* 17DB54 8024F274 E600FFC0 */ swc1 $f0, -0x40($s0) +/* 17DB58 8024F278 C4600000 */ lwc1 $f0, ($v1) +/* 17DB5C 8024F27C 46140002 */ mul.s $f0, $f0, $f20 +/* 17DB60 8024F280 00000000 */ nop +/* 17DB64 8024F284 E600FFC4 */ swc1 $f0, -0x3c($s0) +/* 17DB68 8024F288 C4400000 */ lwc1 $f0, ($v0) +/* 17DB6C 8024F28C 46140002 */ mul.s $f0, $f0, $f20 +/* 17DB70 8024F290 00000000 */ nop +/* 17DB74 8024F294 26520001 */ addiu $s2, $s2, 1 +/* 17DB78 8024F298 0220102D */ daddu $v0, $s1, $zero +/* 17DB7C 8024F29C 06210002 */ bgez $s1, .L8024F2A8 +/* 17DB80 8024F2A0 E600FFC8 */ swc1 $f0, -0x38($s0) +/* 17DB84 8024F2A4 26220007 */ addiu $v0, $s1, 7 +.L8024F2A8: +/* 17DB88 8024F2A8 000218C3 */ sra $v1, $v0, 3 +/* 17DB8C 8024F2AC 000310C0 */ sll $v0, $v1, 3 +/* 17DB90 8024F2B0 02221823 */ subu $v1, $s1, $v0 +/* 17DB94 8024F2B4 00031040 */ sll $v0, $v1, 1 +/* 17DB98 8024F2B8 00431021 */ addu $v0, $v0, $v1 +/* 17DB9C 8024F2BC 00021080 */ sll $v0, $v0, 2 +/* 17DBA0 8024F2C0 3C088028 */ lui $t0, 0x8028 +/* 17DBA4 8024F2C4 25083690 */ addiu $t0, $t0, 0x3690 +/* 17DBA8 8024F2C8 00481021 */ addu $v0, $v0, $t0 +/* 17DBAC 8024F2CC C4420000 */ lwc1 $f2, ($v0) +/* 17DBB0 8024F2D0 46161082 */ mul.s $f2, $f2, $f22 +/* 17DBB4 8024F2D4 00000000 */ nop +/* 17DBB8 8024F2D8 3C014334 */ lui $at, 0x4334 +/* 17DBBC 8024F2DC 44816000 */ mtc1 $at, $f12 +/* 17DBC0 8024F2E0 449E0000 */ mtc1 $fp, $f0 +/* 17DBC4 8024F2E4 00000000 */ nop +/* 17DBC8 8024F2E8 46800020 */ cvt.s.w $f0, $f0 +/* 17DBCC 8024F2EC AE00FFE0 */ sw $zero, -0x20($s0) +/* 17DBD0 8024F2F0 E600FFE4 */ swc1 $f0, -0x1c($s0) +/* 17DBD4 8024F2F4 E602FFEC */ swc1 $f2, -0x14($s0) +/* 17DBD8 8024F2F8 3C01800B */ lui $at, 0x800b +/* 17DBDC 8024F2FC C4202344 */ lwc1 $f0, 0x2344($at) +/* 17DBE0 8024F300 0C00A6C9 */ jal clamp_angle +/* 17DBE4 8024F304 46006301 */ sub.s $f12, $f12, $f0 +/* 17DBE8 8024F308 2402000E */ addiu $v0, $zero, 0xe +/* 17DBEC 8024F30C E600FFE8 */ swc1 $f0, -0x18($s0) +/* 17DBF0 8024F310 AE02FFD8 */ sw $v0, -0x28($s0) +/* 17DBF4 8024F314 8FA80078 */ lw $t0, 0x78($sp) +/* 17DBF8 8024F318 240200F0 */ addiu $v0, $zero, 0xf0 +/* 17DBFC 8024F31C AE02FFFC */ sw $v0, -4($s0) +/* 17DC00 8024F320 12E00003 */ beqz $s7, .L8024F330 +/* 17DC04 8024F324 AE08FFDC */ sw $t0, -0x24($s0) +/* 17DC08 8024F328 2402000A */ addiu $v0, $zero, 0xa +/* 17DC0C 8024F32C AE02FFFC */ sw $v0, -4($s0) +.L8024F330: +/* 17DC10 8024F330 26310001 */ addiu $s1, $s1, 1 +/* 17DC14 8024F334 2673004C */ addiu $s3, $s3, 0x4c +/* 17DC18 8024F338 3C01437F */ lui $at, 0x437f +/* 17DC1C 8024F33C 44810000 */ mtc1 $at, $f0 +/* 17DC20 8024F340 0235102A */ slt $v0, $s1, $s5 +/* 17DC24 8024F344 E6000000 */ swc1 $f0, ($s0) +/* 17DC28 8024F348 1440FF86 */ bnez $v0, .L8024F164 +/* 17DC2C 8024F34C 2610004C */ addiu $s0, $s0, 0x4c +.L8024F350: +/* 17DC30 8024F350 8FBF003C */ lw $ra, 0x3c($sp) +/* 17DC34 8024F354 8FBE0038 */ lw $fp, 0x38($sp) +/* 17DC38 8024F358 8FB70034 */ lw $s7, 0x34($sp) +/* 17DC3C 8024F35C 8FB60030 */ lw $s6, 0x30($sp) +/* 17DC40 8024F360 8FB5002C */ lw $s5, 0x2c($sp) +/* 17DC44 8024F364 8FB40028 */ lw $s4, 0x28($sp) +/* 17DC48 8024F368 8FB30024 */ lw $s3, 0x24($sp) +/* 17DC4C 8024F36C 8FB20020 */ lw $s2, 0x20($sp) +/* 17DC50 8024F370 8FB1001C */ lw $s1, 0x1c($sp) +/* 17DC54 8024F374 8FB00018 */ lw $s0, 0x18($sp) +/* 17DC58 8024F378 D7BC0060 */ ldc1 $f28, 0x60($sp) +/* 17DC5C 8024F37C D7BA0058 */ ldc1 $f26, 0x58($sp) +/* 17DC60 8024F380 D7B80050 */ ldc1 $f24, 0x50($sp) +/* 17DC64 8024F384 D7B60048 */ ldc1 $f22, 0x48($sp) +/* 17DC68 8024F388 D7B40040 */ ldc1 $f20, 0x40($sp) +/* 17DC6C 8024F38C 03E00008 */ jr $ra +/* 17DC70 8024F390 27BD0068 */ addiu $sp, $sp, 0x68 + +/* 17DC74 8024F394 27BDFFC8 */ addiu $sp, $sp, -0x38 +/* 17DC78 8024F398 AFB40020 */ sw $s4, 0x20($sp) +/* 17DC7C 8024F39C 0080A02D */ daddu $s4, $a0, $zero +/* 17DC80 8024F3A0 AFB3001C */ sw $s3, 0x1c($sp) +/* 17DC84 8024F3A4 0000982D */ daddu $s3, $zero, $zero +/* 17DC88 8024F3A8 AFB50024 */ sw $s5, 0x24($sp) +/* 17DC8C 8024F3AC AFBF0028 */ sw $ra, 0x28($sp) +/* 17DC90 8024F3B0 AFB20018 */ sw $s2, 0x18($sp) +/* 17DC94 8024F3B4 AFB10014 */ sw $s1, 0x14($sp) +/* 17DC98 8024F3B8 AFB00010 */ sw $s0, 0x10($sp) +/* 17DC9C 8024F3BC F7B40030 */ sdc1 $f20, 0x30($sp) +/* 17DCA0 8024F3C0 86820012 */ lh $v0, 0x12($s4) +/* 17DCA4 8024F3C4 8E920018 */ lw $s2, 0x18($s4) +/* 17DCA8 8024F3C8 18400067 */ blez $v0, .L8024F568 +/* 17DCAC 8024F3CC 0260A82D */ daddu $s5, $s3, $zero +/* 17DCB0 8024F3D0 3C013FE0 */ lui $at, 0x3fe0 +/* 17DCB4 8024F3D4 4481A800 */ mtc1 $at, $f21 +/* 17DCB8 8024F3D8 4480A000 */ mtc1 $zero, $f20 +/* 17DCBC 8024F3DC 26500044 */ addiu $s0, $s2, 0x44 +.L8024F3E0: +/* 17DCC0 8024F3E0 8E420000 */ lw $v0, ($s2) +/* 17DCC4 8024F3E4 5040005B */ beql $v0, $zero, .L8024F554 +/* 17DCC8 8024F3E8 26730001 */ addiu $s3, $s3, 1 +/* 17DCCC 8024F3EC 8E02FFE0 */ lw $v0, -0x20($s0) +/* 17DCD0 8024F3F0 8E11FFC0 */ lw $s1, -0x40($s0) +/* 17DCD4 8024F3F4 1040000B */ beqz $v0, .L8024F424 +/* 17DCD8 8024F3F8 24150001 */ addiu $s5, $zero, 1 +/* 17DCDC 8024F3FC 2442FFFF */ addiu $v0, $v0, -1 +/* 17DCE0 8024F400 14400004 */ bnez $v0, .L8024F414 +/* 17DCE4 8024F404 AE02FFE0 */ sw $v0, -0x20($s0) +/* 17DCE8 8024F408 0220202D */ daddu $a0, $s1, $zero +/* 17DCEC 8024F40C 0C048BC9 */ jal func_80122F24 +/* 17DCF0 8024F410 24050020 */ addiu $a1, $zero, 0x20 +.L8024F414: +/* 17DCF4 8024F414 0C0483C1 */ jal func_80120F04 +/* 17DCF8 8024F418 0220202D */ daddu $a0, $s1, $zero +/* 17DCFC 8024F41C 08093D5A */ j func_8024F568 +/* 17DD00 8024F420 00000000 */ nop + +.L8024F424: +/* 17DD04 8024F424 0C0483C1 */ jal func_80120F04 +/* 17DD08 8024F428 0220202D */ daddu $a0, $s1, $zero +/* 17DD0C 8024F42C 8E02FFDC */ lw $v0, -0x24($s0) +/* 17DD10 8024F430 0440000D */ bltz $v0, .L8024F468 +/* 17DD14 8024F434 00000000 */ nop +/* 17DD18 8024F438 C606FFF4 */ lwc1 $f6, -0xc($s0) +/* 17DD1C 8024F43C C600FFD0 */ lwc1 $f0, -0x30($s0) +/* 17DD20 8024F440 C604FFF8 */ lwc1 $f4, -8($s0) +/* 17DD24 8024F444 46003180 */ add.s $f6, $f6, $f0 +/* 17DD28 8024F448 C600FFD4 */ lwc1 $f0, -0x2c($s0) +/* 17DD2C 8024F44C C602FFFC */ lwc1 $f2, -4($s0) +/* 17DD30 8024F450 46002100 */ add.s $f4, $f4, $f0 +/* 17DD34 8024F454 C600FFD8 */ lwc1 $f0, -0x28($s0) +/* 17DD38 8024F458 46001080 */ add.s $f2, $f2, $f0 +/* 17DD3C 8024F45C E606FFF4 */ swc1 $f6, -0xc($s0) +/* 17DD40 8024F460 E604FFF8 */ swc1 $f4, -8($s0) +/* 17DD44 8024F464 E602FFFC */ swc1 $f2, -4($s0) +.L8024F468: +/* 17DD48 8024F468 3C01800B */ lui $at, 0x800b +/* 17DD4C 8024F46C C4202344 */ lwc1 $f0, 0x2344($at) +/* 17DD50 8024F470 3C014334 */ lui $at, 0x4334 +/* 17DD54 8024F474 44816000 */ mtc1 $at, $f12 +/* 17DD58 8024F478 0C00A6C9 */ jal clamp_angle +/* 17DD5C 8024F47C 46006301 */ sub.s $f12, $f12, $f0 +/* 17DD60 8024F480 C60CFFE4 */ lwc1 $f12, -0x1c($s0) +/* 17DD64 8024F484 C602FFE8 */ lwc1 $f2, -0x18($s0) +/* 17DD68 8024F488 46026300 */ add.s $f12, $f12, $f2 +/* 17DD6C 8024F48C E600FFEC */ swc1 $f0, -0x14($s0) +/* 17DD70 8024F490 0C00A6C9 */ jal clamp_angle +/* 17DD74 8024F494 E60CFFE4 */ swc1 $f12, -0x1c($s0) +/* 17DD78 8024F498 C602FFE8 */ lwc1 $f2, -0x18($s0) +/* 17DD7C 8024F49C 3C01802A */ lui $at, 0x802a +/* 17DD80 8024F4A0 D424CD90 */ ldc1 $f4, -0x3270($at) +/* 17DD84 8024F4A4 460010A1 */ cvt.d.s $f2, $f2 +/* 17DD88 8024F4A8 46241082 */ mul.d $f2, $f2, $f4 +/* 17DD8C 8024F4AC 00000000 */ nop +/* 17DD90 8024F4B0 8E02FFDC */ lw $v0, -0x24($s0) +/* 17DD94 8024F4B4 E600FFE4 */ swc1 $f0, -0x1c($s0) +/* 17DD98 8024F4B8 2842000A */ slti $v0, $v0, 0xa +/* 17DD9C 8024F4BC 462010A0 */ cvt.s.d $f2, $f2 +/* 17DDA0 8024F4C0 10400018 */ beqz $v0, .L8024F524 +/* 17DDA4 8024F4C4 E602FFE8 */ swc1 $f2, -0x18($s0) +/* 17DDA8 8024F4C8 C604FFC4 */ lwc1 $f4, -0x3c($s0) +/* 17DDAC 8024F4CC 46002121 */ cvt.d.s $f4, $f4 +/* 17DDB0 8024F4D0 46342102 */ mul.d $f4, $f4, $f20 +/* 17DDB4 8024F4D4 00000000 */ nop +/* 17DDB8 8024F4D8 C600FFCC */ lwc1 $f0, -0x34($s0) +/* 17DDBC 8024F4DC 46000021 */ cvt.d.s $f0, $f0 +/* 17DDC0 8024F4E0 46340002 */ mul.d $f0, $f0, $f20 +/* 17DDC4 8024F4E4 00000000 */ nop +/* 17DDC8 8024F4E8 C602FFC8 */ lwc1 $f2, -0x38($s0) +/* 17DDCC 8024F4EC 460010A1 */ cvt.d.s $f2, $f2 +/* 17DDD0 8024F4F0 46341082 */ mul.d $f2, $f2, $f20 +/* 17DDD4 8024F4F4 00000000 */ nop +/* 17DDD8 8024F4F8 46202120 */ cvt.s.d $f4, $f4 +/* 17DDDC 8024F4FC 46200020 */ cvt.s.d $f0, $f0 +/* 17DDE0 8024F500 E604FFC4 */ swc1 $f4, -0x3c($s0) +/* 17DDE4 8024F504 E600FFCC */ swc1 $f0, -0x34($s0) +/* 17DDE8 8024F508 46002006 */ mov.s $f0, $f4 +/* 17DDEC 8024F50C C604FFCC */ lwc1 $f4, -0x34($s0) +/* 17DDF0 8024F510 462010A0 */ cvt.s.d $f2, $f2 +/* 17DDF4 8024F514 E602FFC8 */ swc1 $f2, -0x38($s0) +/* 17DDF8 8024F518 E600FFD0 */ swc1 $f0, -0x30($s0) +/* 17DDFC 8024F51C E602FFD4 */ swc1 $f2, -0x2c($s0) +/* 17DE00 8024F520 E604FFD8 */ swc1 $f4, -0x28($s0) +.L8024F524: +/* 17DE04 8024F524 8E02FFDC */ lw $v0, -0x24($s0) +/* 17DE08 8024F528 2442FFFF */ addiu $v0, $v0, -1 +/* 17DE0C 8024F52C 04410008 */ bgez $v0, .L8024F550 +/* 17DE10 8024F530 AE02FFDC */ sw $v0, -0x24($s0) +/* 17DE14 8024F534 8E020000 */ lw $v0, ($s0) +/* 17DE18 8024F538 2442FFFF */ addiu $v0, $v0, -1 +/* 17DE1C 8024F53C 04410004 */ bgez $v0, .L8024F550 +/* 17DE20 8024F540 AE020000 */ sw $v0, ($s0) +/* 17DE24 8024F544 0C048B7F */ jal func_80122DFC +/* 17DE28 8024F548 0220202D */ daddu $a0, $s1, $zero +/* 17DE2C 8024F54C AE400000 */ sw $zero, ($s2) +.L8024F550: +/* 17DE30 8024F550 26730001 */ addiu $s3, $s3, 1 +.L8024F554: +/* 17DE34 8024F554 2610004C */ addiu $s0, $s0, 0x4c +/* 17DE38 8024F558 86820012 */ lh $v0, 0x12($s4) +/* 17DE3C 8024F55C 0262102A */ slt $v0, $s3, $v0 +/* 17DE40 8024F560 1440FF9F */ bnez $v0, .L8024F3E0 +/* 17DE44 8024F564 2652004C */ addiu $s2, $s2, 0x4c +func_8024F568: +.L8024F568: +/* 17DE48 8024F568 16A00006 */ bnez $s5, .L8024F584 +/* 17DE4C 8024F56C 00000000 */ nop +/* 17DE50 8024F570 0C00AB4B */ jal heap_free +/* 17DE54 8024F574 8E840018 */ lw $a0, 0x18($s4) +/* 17DE58 8024F578 0280202D */ daddu $a0, $s4, $zero +/* 17DE5C 8024F57C 0C093BE9 */ jal func_8024EFA4 +/* 17DE60 8024F580 AC800018 */ sw $zero, 0x18($a0) +.L8024F584: +/* 17DE64 8024F584 8FBF0028 */ lw $ra, 0x28($sp) +/* 17DE68 8024F588 8FB50024 */ lw $s5, 0x24($sp) +/* 17DE6C 8024F58C 8FB40020 */ lw $s4, 0x20($sp) +/* 17DE70 8024F590 8FB3001C */ lw $s3, 0x1c($sp) +/* 17DE74 8024F594 8FB20018 */ lw $s2, 0x18($sp) +/* 17DE78 8024F598 8FB10014 */ lw $s1, 0x14($sp) +/* 17DE7C 8024F59C 8FB00010 */ lw $s0, 0x10($sp) +/* 17DE80 8024F5A0 D7B40030 */ ldc1 $f20, 0x30($sp) +/* 17DE84 8024F5A4 03E00008 */ jr $ra +/* 17DE88 8024F5A8 27BD0038 */ addiu $sp, $sp, 0x38 + +/* 17DE8C 8024F5AC 27BDFD60 */ addiu $sp, $sp, -0x2a0 +/* 17DE90 8024F5B0 AFB40278 */ sw $s4, 0x278($sp) +/* 17DE94 8024F5B4 AFBF028C */ sw $ra, 0x28c($sp) +/* 17DE98 8024F5B8 AFBE0288 */ sw $fp, 0x288($sp) +/* 17DE9C 8024F5BC AFB70284 */ sw $s7, 0x284($sp) +/* 17DEA0 8024F5C0 AFB60280 */ sw $s6, 0x280($sp) +/* 17DEA4 8024F5C4 AFB5027C */ sw $s5, 0x27c($sp) +/* 17DEA8 8024F5C8 AFB30274 */ sw $s3, 0x274($sp) +/* 17DEAC 8024F5CC AFB20270 */ sw $s2, 0x270($sp) +/* 17DEB0 8024F5D0 AFB1026C */ sw $s1, 0x26c($sp) +/* 17DEB4 8024F5D4 AFB00268 */ sw $s0, 0x268($sp) +/* 17DEB8 8024F5D8 F7B60298 */ sdc1 $f22, 0x298($sp) +/* 17DEBC 8024F5DC F7B40290 */ sdc1 $f20, 0x290($sp) +/* 17DEC0 8024F5E0 AFA40258 */ sw $a0, 0x258($sp) +/* 17DEC4 8024F5E4 84820012 */ lh $v0, 0x12($a0) +/* 17DEC8 8024F5E8 8C930018 */ lw $s3, 0x18($a0) +/* 17DECC 8024F5EC 18400050 */ blez $v0, .L8024F730 +/* 17DED0 8024F5F0 0000A02D */ daddu $s4, $zero, $zero +/* 17DED4 8024F5F4 27A30058 */ addiu $v1, $sp, 0x58 +/* 17DED8 8024F5F8 AFA3025C */ sw $v1, 0x25c($sp) +/* 17DEDC 8024F5FC 27A30098 */ addiu $v1, $sp, 0x98 +/* 17DEE0 8024F600 AFA30260 */ sw $v1, 0x260($sp) +/* 17DEE4 8024F604 27A300D8 */ addiu $v1, $sp, 0xd8 +/* 17DEE8 8024F608 27BE01D8 */ addiu $fp, $sp, 0x1d8 +/* 17DEEC 8024F60C 27B20158 */ addiu $s2, $sp, 0x158 +/* 17DEF0 8024F610 27B70118 */ addiu $s7, $sp, 0x118 +/* 17DEF4 8024F614 27B60198 */ addiu $s6, $sp, 0x198 +/* 17DEF8 8024F618 27B50218 */ addiu $s5, $sp, 0x218 +/* 17DEFC 8024F61C 4480A000 */ mtc1 $zero, $f20 +/* 17DF00 8024F620 3C013F80 */ lui $at, 0x3f80 +/* 17DF04 8024F624 4481B000 */ mtc1 $at, $f22 +/* 17DF08 8024F628 26710034 */ addiu $s1, $s3, 0x34 +/* 17DF0C 8024F62C AFA30264 */ sw $v1, 0x264($sp) +.L8024F630: +/* 17DF10 8024F630 8E620000 */ lw $v0, ($s3) +/* 17DF14 8024F634 50400038 */ beql $v0, $zero, .L8024F718 +/* 17DF18 8024F638 26940001 */ addiu $s4, $s4, 1 +/* 17DF1C 8024F63C 8E22FFF0 */ lw $v0, -0x10($s1) +/* 17DF20 8024F640 1440003B */ bnez $v0, .L8024F730 +/* 17DF24 8024F644 00000000 */ nop +/* 17DF28 8024F648 8E250004 */ lw $a1, 4($s1) +/* 17DF2C 8024F64C 8E260008 */ lw $a2, 8($s1) +/* 17DF30 8024F650 8E27000C */ lw $a3, 0xc($s1) +/* 17DF34 8024F654 8E30FFD0 */ lw $s0, -0x30($s1) +/* 17DF38 8024F658 0C019E40 */ jal guTranslateF +/* 17DF3C 8024F65C 27A40018 */ addiu $a0, $sp, 0x18 +/* 17DF40 8024F660 4405A000 */ mfc1 $a1, $f20 +/* 17DF44 8024F664 4406B000 */ mfc1 $a2, $f22 +/* 17DF48 8024F668 4407A000 */ mfc1 $a3, $f20 +/* 17DF4C 8024F66C 8FA4025C */ lw $a0, 0x25c($sp) +/* 17DF50 8024F670 0C019EC8 */ jal guRotateF +/* 17DF54 8024F674 E7B40010 */ swc1 $f20, 0x10($sp) +/* 17DF58 8024F678 E7B40010 */ swc1 $f20, 0x10($sp) +/* 17DF5C 8024F67C 8E25FFFC */ lw $a1, -4($s1) +/* 17DF60 8024F680 4406A000 */ mfc1 $a2, $f20 +/* 17DF64 8024F684 4407B000 */ mfc1 $a3, $f22 +/* 17DF68 8024F688 8FA40260 */ lw $a0, 0x260($sp) +/* 17DF6C 8024F68C 0C019EC8 */ jal guRotateF +/* 17DF70 8024F690 26940001 */ addiu $s4, $s4, 1 +/* 17DF74 8024F694 E7B60010 */ swc1 $f22, 0x10($sp) +/* 17DF78 8024F698 8E25FFF4 */ lw $a1, -0xc($s1) +/* 17DF7C 8024F69C 4406A000 */ mfc1 $a2, $f20 +/* 17DF80 8024F6A0 4407A000 */ mfc1 $a3, $f20 +/* 17DF84 8024F6A4 0C019EC8 */ jal guRotateF +/* 17DF88 8024F6A8 8FA40264 */ lw $a0, 0x264($sp) +/* 17DF8C 8024F6AC 8E250000 */ lw $a1, ($s1) +/* 17DF90 8024F6B0 03C0202D */ daddu $a0, $fp, $zero +/* 17DF94 8024F6B4 00A0302D */ daddu $a2, $a1, $zero +/* 17DF98 8024F6B8 0C019DF0 */ jal guScaleF +/* 17DF9C 8024F6BC 00A0382D */ daddu $a3, $a1, $zero +/* 17DFA0 8024F6C0 8FA40264 */ lw $a0, 0x264($sp) +/* 17DFA4 8024F6C4 8FA5025C */ lw $a1, 0x25c($sp) +/* 17DFA8 8024F6C8 0C019D80 */ jal guMtxCatF +/* 17DFAC 8024F6CC 0240302D */ daddu $a2, $s2, $zero +/* 17DFB0 8024F6D0 0240202D */ daddu $a0, $s2, $zero +/* 17DFB4 8024F6D4 8FA50260 */ lw $a1, 0x260($sp) +/* 17DFB8 8024F6D8 0C019D80 */ jal guMtxCatF +/* 17DFBC 8024F6DC 02E0302D */ daddu $a2, $s7, $zero +/* 17DFC0 8024F6E0 03C0202D */ daddu $a0, $fp, $zero +/* 17DFC4 8024F6E4 02E0282D */ daddu $a1, $s7, $zero +/* 17DFC8 8024F6E8 0C019D80 */ jal guMtxCatF +/* 17DFCC 8024F6EC 0240302D */ daddu $a2, $s2, $zero +/* 17DFD0 8024F6F0 0240202D */ daddu $a0, $s2, $zero +/* 17DFD4 8024F6F4 27A50018 */ addiu $a1, $sp, 0x18 +/* 17DFD8 8024F6F8 0C019D80 */ jal guMtxCatF +/* 17DFDC 8024F6FC 02C0302D */ daddu $a2, $s6, $zero +/* 17DFE0 8024F700 02C0202D */ daddu $a0, $s6, $zero +/* 17DFE4 8024F704 0C019D40 */ jal guMtxF2L +/* 17DFE8 8024F708 02A0282D */ daddu $a1, $s5, $zero +/* 17DFEC 8024F70C 0200202D */ daddu $a0, $s0, $zero +/* 17DFF0 8024F710 0C04873A */ jal func_80121CE8 +/* 17DFF4 8024F714 02A0282D */ daddu $a1, $s5, $zero +.L8024F718: +/* 17DFF8 8024F718 8FA30258 */ lw $v1, 0x258($sp) +/* 17DFFC 8024F71C 2631004C */ addiu $s1, $s1, 0x4c +/* 17E000 8024F720 84620012 */ lh $v0, 0x12($v1) +/* 17E004 8024F724 0282102A */ slt $v0, $s4, $v0 +/* 17E008 8024F728 1440FFC1 */ bnez $v0, .L8024F630 +/* 17E00C 8024F72C 2673004C */ addiu $s3, $s3, 0x4c +.L8024F730: +/* 17E010 8024F730 8FBF028C */ lw $ra, 0x28c($sp) +/* 17E014 8024F734 8FBE0288 */ lw $fp, 0x288($sp) +/* 17E018 8024F738 8FB70284 */ lw $s7, 0x284($sp) +/* 17E01C 8024F73C 8FB60280 */ lw $s6, 0x280($sp) +/* 17E020 8024F740 8FB5027C */ lw $s5, 0x27c($sp) +/* 17E024 8024F744 8FB40278 */ lw $s4, 0x278($sp) +/* 17E028 8024F748 8FB30274 */ lw $s3, 0x274($sp) +/* 17E02C 8024F74C 8FB20270 */ lw $s2, 0x270($sp) +/* 17E030 8024F750 8FB1026C */ lw $s1, 0x26c($sp) +/* 17E034 8024F754 8FB00268 */ lw $s0, 0x268($sp) +/* 17E038 8024F758 D7B60298 */ ldc1 $f22, 0x298($sp) +/* 17E03C 8024F75C D7B40290 */ ldc1 $f20, 0x290($sp) +/* 17E040 8024F760 03E00008 */ jr $ra +/* 17E044 8024F764 27BD02A0 */ addiu $sp, $sp, 0x2a0 + +/* 17E048 8024F768 8C870044 */ lw $a3, 0x44($a0) +/* 17E04C 8024F76C 28E2000B */ slti $v0, $a3, 0xb +/* 17E050 8024F770 50400001 */ beql $v0, $zero, .L8024F778 +/* 17E054 8024F774 2407000A */ addiu $a3, $zero, 0xa +.L8024F778: +/* 17E058 8024F778 3C056666 */ lui $a1, 0x6666 +/* 17E05C 8024F77C 3C04800A */ lui $a0, 0x800a +/* 17E060 8024F780 2484A66C */ addiu $a0, $a0, -0x5994 +/* 17E064 8024F784 34A56667 */ ori $a1, $a1, 0x6667 +/* 17E068 8024F788 00071A00 */ sll $v1, $a3, 8 +/* 17E06C 8024F78C 00671823 */ subu $v1, $v1, $a3 +/* 17E070 8024F790 00650018 */ mult $v1, $a1 +/* 17E074 8024F794 8C820000 */ lw $v0, ($a0) +/* 17E078 8024F798 00031FC3 */ sra $v1, $v1, 0x1f +/* 17E07C 8024F79C 0040302D */ daddu $a2, $v0, $zero +/* 17E080 8024F7A0 24420008 */ addiu $v0, $v0, 8 +/* 17E084 8024F7A4 AC820000 */ sw $v0, ($a0) +/* 17E088 8024F7A8 3C02FA00 */ lui $v0, 0xfa00 +/* 17E08C 8024F7AC ACC20000 */ sw $v0, ($a2) +/* 17E090 8024F7B0 00004010 */ mfhi $t0 +/* 17E094 8024F7B4 00081083 */ sra $v0, $t0, 2 +/* 17E098 8024F7B8 00431023 */ subu $v0, $v0, $v1 +/* 17E09C 8024F7BC 304200FF */ andi $v0, $v0, 0xff +/* 17E0A0 8024F7C0 03E00008 */ jr $ra +/* 17E0A4 8024F7C4 ACC20004 */ sw $v0, 4($a2) + +func_8024F7C8: +/* 17E0A8 8024F7C8 0000382D */ daddu $a3, $zero, $zero +/* 17E0AC 8024F7CC 24090001 */ addiu $t1, $zero, 1 +/* 17E0B0 8024F7D0 24080014 */ addiu $t0, $zero, 0x14 +/* 17E0B4 8024F7D4 3C06802A */ lui $a2, 0x802a +/* 17E0B8 8024F7D8 24C6F2C0 */ addiu $a2, $a2, -0xd40 +.L8024F7DC: +/* 17E0BC 8024F7DC 84C20010 */ lh $v0, 0x10($a2) +/* 17E0C0 8024F7E0 94C30010 */ lhu $v1, 0x10($a2) +/* 17E0C4 8024F7E4 10400013 */ beqz $v0, .L8024F834 +/* 17E0C8 8024F7E8 30620010 */ andi $v0, $v1, 0x10 +/* 17E0CC 8024F7EC 50400012 */ beql $v0, $zero, .L8024F838 +/* 17E0D0 8024F7F0 24E70001 */ addiu $a3, $a3, 1 +/* 17E0D4 8024F7F4 84C20012 */ lh $v0, 0x12($a2) +/* 17E0D8 8024F7F8 8CC40018 */ lw $a0, 0x18($a2) +/* 17E0DC 8024F7FC 1840000D */ blez $v0, .L8024F834 +/* 17E0E0 8024F800 0000282D */ daddu $a1, $zero, $zero +/* 17E0E4 8024F804 24830044 */ addiu $v1, $a0, 0x44 +.L8024F808: +/* 17E0E8 8024F808 8C820000 */ lw $v0, ($a0) +/* 17E0EC 8024F80C 10400004 */ beqz $v0, .L8024F820 +/* 17E0F0 8024F810 24A50001 */ addiu $a1, $a1, 1 +/* 17E0F4 8024F814 AC60FFE0 */ sw $zero, -0x20($v1) +/* 17E0F8 8024F818 AC69FFDC */ sw $t1, -0x24($v1) +/* 17E0FC 8024F81C AC680000 */ sw $t0, ($v1) +.L8024F820: +/* 17E100 8024F820 2463004C */ addiu $v1, $v1, 0x4c +/* 17E104 8024F824 84C20012 */ lh $v0, 0x12($a2) +/* 17E108 8024F828 00A2102A */ slt $v0, $a1, $v0 +/* 17E10C 8024F82C 1440FFF6 */ bnez $v0, .L8024F808 +/* 17E110 8024F830 2484004C */ addiu $a0, $a0, 0x4c +.L8024F834: +/* 17E114 8024F834 24E70001 */ addiu $a3, $a3, 1 +.L8024F838: +/* 17E118 8024F838 28E20020 */ slti $v0, $a3, 0x20 +/* 17E11C 8024F83C 1440FFE7 */ bnez $v0, .L8024F7DC +/* 17E120 8024F840 24C6001C */ addiu $a2, $a2, 0x1c +/* 17E124 8024F844 03E00008 */ jr $ra +/* 17E128 8024F848 00000000 */ nop + +/* 17E12C 8024F84C 27BDFFC8 */ addiu $sp, $sp, -0x38 +/* 17E130 8024F850 AFB1001C */ sw $s1, 0x1c($sp) +/* 17E134 8024F854 0080882D */ daddu $s1, $a0, $zero +/* 17E138 8024F858 AFBF0030 */ sw $ra, 0x30($sp) +/* 17E13C 8024F85C AFB5002C */ sw $s5, 0x2c($sp) +/* 17E140 8024F860 AFB40028 */ sw $s4, 0x28($sp) +/* 17E144 8024F864 AFB30024 */ sw $s3, 0x24($sp) +/* 17E148 8024F868 AFB20020 */ sw $s2, 0x20($sp) +/* 17E14C 8024F86C AFB00018 */ sw $s0, 0x18($sp) +/* 17E150 8024F870 8E30000C */ lw $s0, 0xc($s1) +/* 17E154 8024F874 8E050000 */ lw $a1, ($s0) +/* 17E158 8024F878 0C0B1EAF */ jal get_variable +/* 17E15C 8024F87C 26100004 */ addiu $s0, $s0, 4 +/* 17E160 8024F880 8E050000 */ lw $a1, ($s0) +/* 17E164 8024F884 26100004 */ addiu $s0, $s0, 4 +/* 17E168 8024F888 0220202D */ daddu $a0, $s1, $zero +/* 17E16C 8024F88C 0C0B1EAF */ jal get_variable +/* 17E170 8024F890 0040A82D */ daddu $s5, $v0, $zero +/* 17E174 8024F894 8E050000 */ lw $a1, ($s0) +/* 17E178 8024F898 26100004 */ addiu $s0, $s0, 4 +/* 17E17C 8024F89C 0220202D */ daddu $a0, $s1, $zero +/* 17E180 8024F8A0 0C0B1EAF */ jal get_variable +/* 17E184 8024F8A4 0040A02D */ daddu $s4, $v0, $zero +/* 17E188 8024F8A8 8E050000 */ lw $a1, ($s0) +/* 17E18C 8024F8AC 26100004 */ addiu $s0, $s0, 4 +/* 17E190 8024F8B0 0220202D */ daddu $a0, $s1, $zero +/* 17E194 8024F8B4 0C0B1EAF */ jal get_variable +/* 17E198 8024F8B8 0040982D */ daddu $s3, $v0, $zero +/* 17E19C 8024F8BC 8E050000 */ lw $a1, ($s0) +/* 17E1A0 8024F8C0 26100004 */ addiu $s0, $s0, 4 +/* 17E1A4 8024F8C4 0220202D */ daddu $a0, $s1, $zero +/* 17E1A8 8024F8C8 0C0B1EAF */ jal get_variable +/* 17E1AC 8024F8CC 0040902D */ daddu $s2, $v0, $zero +/* 17E1B0 8024F8D0 0220202D */ daddu $a0, $s1, $zero +/* 17E1B4 8024F8D4 8E050000 */ lw $a1, ($s0) +/* 17E1B8 8024F8D8 0C0B1EAF */ jal get_variable +/* 17E1BC 8024F8DC 0040802D */ daddu $s0, $v0, $zero +/* 17E1C0 8024F8E0 44956000 */ mtc1 $s5, $f12 +/* 17E1C4 8024F8E4 00000000 */ nop +/* 17E1C8 8024F8E8 46806320 */ cvt.s.w $f12, $f12 +/* 17E1CC 8024F8EC 44947000 */ mtc1 $s4, $f14 +/* 17E1D0 8024F8F0 00000000 */ nop +/* 17E1D4 8024F8F4 468073A0 */ cvt.s.w $f14, $f14 +/* 17E1D8 8024F8F8 44930000 */ mtc1 $s3, $f0 +/* 17E1DC 8024F8FC 00000000 */ nop +/* 17E1E0 8024F900 46800020 */ cvt.s.w $f0, $f0 +/* 17E1E4 8024F904 44060000 */ mfc1 $a2, $f0 +/* 17E1E8 8024F908 0240382D */ daddu $a3, $s2, $zero +/* 17E1EC 8024F90C AFB00010 */ sw $s0, 0x10($sp) +/* 17E1F0 8024F910 0C093BF8 */ jal func_8024EFE0 +/* 17E1F4 8024F914 AFA20014 */ sw $v0, 0x14($sp) +/* 17E1F8 8024F918 8FBF0030 */ lw $ra, 0x30($sp) +/* 17E1FC 8024F91C 8FB5002C */ lw $s5, 0x2c($sp) +/* 17E200 8024F920 8FB40028 */ lw $s4, 0x28($sp) +/* 17E204 8024F924 8FB30024 */ lw $s3, 0x24($sp) +/* 17E208 8024F928 8FB20020 */ lw $s2, 0x20($sp) +/* 17E20C 8024F92C 8FB1001C */ lw $s1, 0x1c($sp) +/* 17E210 8024F930 8FB00018 */ lw $s0, 0x18($sp) +/* 17E214 8024F934 24020002 */ addiu $v0, $zero, 2 +/* 17E218 8024F938 03E00008 */ jr $ra +/* 17E21C 8024F93C 27BD0038 */ addiu $sp, $sp, 0x38 + +/* 17E220 8024F940 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 17E224 8024F944 AFBF0010 */ sw $ra, 0x10($sp) +/* 17E228 8024F948 0C093DF2 */ jal func_8024F7C8 +/* 17E22C 8024F94C 00000000 */ nop +/* 17E230 8024F950 8FBF0010 */ lw $ra, 0x10($sp) +/* 17E234 8024F954 24020002 */ addiu $v0, $zero, 2 +/* 17E238 8024F958 03E00008 */ jr $ra +/* 17E23C 8024F95C 27BD0018 */ addiu $sp, $sp, 0x18 + +show_battle_message: +/* 17E240 8024F960 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 17E244 8024F964 AFB00010 */ sw $s0, 0x10($sp) +/* 17E248 8024F968 0080802D */ daddu $s0, $a0, $zero +/* 17E24C 8024F96C AFB10014 */ sw $s1, 0x14($sp) +/* 17E250 8024F970 AFBF0018 */ sw $ra, 0x18($sp) +/* 17E254 8024F974 0C093BDA */ jal create_popup +/* 17E258 8024F978 00A0882D */ daddu $s1, $a1, $zero +/* 17E25C 8024F97C 0040182D */ daddu $v1, $v0, $zero +/* 17E260 8024F980 1060001B */ beqz $v1, .L8024F9F0 +/* 17E264 8024F984 00000000 */ nop +/* 17E268 8024F988 3C028025 */ lui $v0, 0x8025 +/* 17E26C 8024F98C 2442FB3C */ addiu $v0, $v0, -0x4c4 +/* 17E270 8024F990 AC620004 */ sw $v0, 4($v1) +/* 17E274 8024F994 3C028025 */ lui $v0, 0x8025 +/* 17E278 8024F998 24420EA4 */ addiu $v0, $v0, 0xea4 +/* 17E27C 8024F99C AC62000C */ sw $v0, 0xc($v1) +/* 17E280 8024F9A0 24020001 */ addiu $v0, $zero, 1 +/* 17E284 8024F9A4 AC600000 */ sw $zero, ($v1) +/* 17E288 8024F9A8 AC600008 */ sw $zero, 8($v1) +/* 17E28C 8024F9AC A4700012 */ sh $s0, 0x12($v1) +/* 17E290 8024F9B0 A4710014 */ sh $s1, 0x14($v1) +/* 17E294 8024F9B4 A0600016 */ sb $zero, 0x16($v1) +/* 17E298 8024F9B8 A0620017 */ sb $v0, 0x17($v1) +/* 17E29C 8024F9BC AC600018 */ sw $zero, 0x18($v1) +/* 17E2A0 8024F9C0 3C01802A */ lui $at, 0x802a +/* 17E2A4 8024F9C4 A420F640 */ sh $zero, -0x9c0($at) +/* 17E2A8 8024F9C8 3C018028 */ lui $at, 0x8028 +/* 17E2AC 8024F9CC AC2338F8 */ sw $v1, 0x38f8($at) +/* 17E2B0 8024F9D0 3C01802A */ lui $at, 0x802a +/* 17E2B4 8024F9D4 A420F64A */ sh $zero, -0x9b6($at) +/* 17E2B8 8024F9D8 3C01802A */ lui $at, 0x802a +/* 17E2BC 8024F9DC A420F64C */ sh $zero, -0x9b4($at) +/* 17E2C0 8024F9E0 3C01802A */ lui $at, 0x802a +/* 17E2C4 8024F9E4 A420F64E */ sh $zero, -0x9b2($at) +/* 17E2C8 8024F9E8 3C01802A */ lui $at, 0x802a +/* 17E2CC 8024F9EC A420F650 */ sh $zero, -0x9b0($at) +.L8024F9F0: +/* 17E2D0 8024F9F0 8FBF0018 */ lw $ra, 0x18($sp) +/* 17E2D4 8024F9F4 8FB10014 */ lw $s1, 0x14($sp) +/* 17E2D8 8024F9F8 8FB00010 */ lw $s0, 0x10($sp) +/* 17E2DC 8024F9FC 03E00008 */ jr $ra +/* 17E2E0 8024FA00 27BD0020 */ addiu $sp, $sp, 0x20 + +show_variable_battle_message: +/* 17E2E4 8024FA04 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 17E2E8 8024FA08 AFB00010 */ sw $s0, 0x10($sp) +/* 17E2EC 8024FA0C 0080802D */ daddu $s0, $a0, $zero +/* 17E2F0 8024FA10 AFB10014 */ sw $s1, 0x14($sp) +/* 17E2F4 8024FA14 00A0882D */ daddu $s1, $a1, $zero +/* 17E2F8 8024FA18 AFB20018 */ sw $s2, 0x18($sp) +/* 17E2FC 8024FA1C AFBF001C */ sw $ra, 0x1c($sp) +/* 17E300 8024FA20 0C093BDA */ jal create_popup +/* 17E304 8024FA24 00C0902D */ daddu $s2, $a2, $zero +/* 17E308 8024FA28 0040182D */ daddu $v1, $v0, $zero +/* 17E30C 8024FA2C 1060001B */ beqz $v1, .L8024FA9C +/* 17E310 8024FA30 00000000 */ nop +/* 17E314 8024FA34 3C028025 */ lui $v0, 0x8025 +/* 17E318 8024FA38 2442FB3C */ addiu $v0, $v0, -0x4c4 +/* 17E31C 8024FA3C AC620004 */ sw $v0, 4($v1) +/* 17E320 8024FA40 3C028025 */ lui $v0, 0x8025 +/* 17E324 8024FA44 24420EA4 */ addiu $v0, $v0, 0xea4 +/* 17E328 8024FA48 AC62000C */ sw $v0, 0xc($v1) +/* 17E32C 8024FA4C 24020001 */ addiu $v0, $zero, 1 +/* 17E330 8024FA50 AC600000 */ sw $zero, ($v1) +/* 17E334 8024FA54 AC600008 */ sw $zero, 8($v1) +/* 17E338 8024FA58 A4700012 */ sh $s0, 0x12($v1) +/* 17E33C 8024FA5C A4710014 */ sh $s1, 0x14($v1) +/* 17E340 8024FA60 A0600016 */ sb $zero, 0x16($v1) +/* 17E344 8024FA64 A0620017 */ sb $v0, 0x17($v1) +/* 17E348 8024FA68 AC600018 */ sw $zero, 0x18($v1) +/* 17E34C 8024FA6C 3C01802A */ lui $at, 0x802a +/* 17E350 8024FA70 A432F640 */ sh $s2, -0x9c0($at) +/* 17E354 8024FA74 3C018028 */ lui $at, 0x8028 +/* 17E358 8024FA78 AC2338F8 */ sw $v1, 0x38f8($at) +/* 17E35C 8024FA7C 3C01802A */ lui $at, 0x802a +/* 17E360 8024FA80 A420F64A */ sh $zero, -0x9b6($at) +/* 17E364 8024FA84 3C01802A */ lui $at, 0x802a +/* 17E368 8024FA88 A420F64C */ sh $zero, -0x9b4($at) +/* 17E36C 8024FA8C 3C01802A */ lui $at, 0x802a +/* 17E370 8024FA90 A420F64E */ sh $zero, -0x9b2($at) +/* 17E374 8024FA94 3C01802A */ lui $at, 0x802a +/* 17E378 8024FA98 A420F650 */ sh $zero, -0x9b0($at) +.L8024FA9C: +/* 17E37C 8024FA9C 8FBF001C */ lw $ra, 0x1c($sp) +/* 17E380 8024FAA0 8FB20018 */ lw $s2, 0x18($sp) +/* 17E384 8024FAA4 8FB10014 */ lw $s1, 0x14($sp) +/* 17E388 8024FAA8 8FB00010 */ lw $s0, 0x10($sp) +/* 17E38C 8024FAAC 03E00008 */ jr $ra +/* 17E390 8024FAB0 27BD0020 */ addiu $sp, $sp, 0x20 + +is_popup_displayed: +/* 17E394 8024FAB4 3C028028 */ lui $v0, 0x8028 +/* 17E398 8024FAB8 8C4238F8 */ lw $v0, 0x38f8($v0) +/* 17E39C 8024FABC 03E00008 */ jr $ra +/* 17E3A0 8024FAC0 0002102B */ sltu $v0, $zero, $v0 + +set_popup_duration: +/* 17E3A4 8024FAC4 3C02802A */ lui $v0, 0x802a +/* 17E3A8 8024FAC8 8442F64A */ lh $v0, -0x9b6($v0) +/* 17E3AC 8024FACC 3C038028 */ lui $v1, 0x8028 +/* 17E3B0 8024FAD0 10400003 */ beqz $v0, .L8024FAE0 +/* 17E3B4 8024FAD4 8C6338F8 */ lw $v1, 0x38f8($v1) +/* 17E3B8 8024FAD8 54600001 */ bnezl $v1, .L8024FAE0 +/* 17E3BC 8024FADC A4640014 */ sh $a0, 0x14($v1) +.L8024FAE0: +/* 17E3C0 8024FAE0 03E00008 */ jr $ra +/* 17E3C4 8024FAE4 00000000 */ nop + +func_8024FAE8: +/* 17E3C8 8024FAE8 24020001 */ addiu $v0, $zero, 1 +/* 17E3CC 8024FAEC 3C01802A */ lui $at, 0x802a +/* 17E3D0 8024FAF0 A422F64C */ sh $v0, -0x9b4($at) +/* 17E3D4 8024FAF4 03E00008 */ jr $ra +/* 17E3D8 8024FAF8 00000000 */ nop + +func_8024FAFC: +/* 17E3DC 8024FAFC 3C01802A */ lui $at, 0x802a +/* 17E3E0 8024FB00 A420F64C */ sh $zero, -0x9b4($at) +/* 17E3E4 8024FB04 03E00008 */ jr $ra +/* 17E3E8 8024FB08 00000000 */ nop + +close_action_command_instruction_popup: +/* 17E3EC 8024FB0C 3C038028 */ lui $v1, 0x8028 +/* 17E3F0 8024FB10 8C6338F8 */ lw $v1, 0x38f8($v1) +/* 17E3F4 8024FB14 10600007 */ beqz $v1, .L8024FB34 +/* 17E3F8 8024FB18 00000000 */ nop +/* 17E3FC 8024FB1C 84640012 */ lh $a0, 0x12($v1) +/* 17E400 8024FB20 28820043 */ slti $v0, $a0, 0x43 +/* 17E404 8024FB24 10400003 */ beqz $v0, .L8024FB34 +/* 17E408 8024FB28 2882002E */ slti $v0, $a0, 0x2e +/* 17E40C 8024FB2C 50400001 */ beql $v0, $zero, .L8024FB34 +/* 17E410 8024FB30 A4600014 */ sh $zero, 0x14($v1) +.L8024FB34: +/* 17E414 8024FB34 03E00008 */ jr $ra +/* 17E418 8024FB38 00000000 */ nop + +/* 17E41C 8024FB3C 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 17E420 8024FB40 AFB10014 */ sw $s1, 0x14($sp) +/* 17E424 8024FB44 0080882D */ daddu $s1, $a0, $zero +/* 17E428 8024FB48 AFB20018 */ sw $s2, 0x18($sp) +/* 17E42C 8024FB4C AFBF001C */ sw $ra, 0x1c($sp) +/* 17E430 8024FB50 AFB00010 */ sw $s0, 0x10($sp) +/* 17E434 8024FB54 86230012 */ lh $v1, 0x12($s1) +/* 17E438 8024FB58 3C04800E */ lui $a0, 0x800e +/* 17E43C 8024FB5C 2484C070 */ addiu $a0, $a0, -0x3f90 +/* 17E440 8024FB60 2C620055 */ sltiu $v0, $v1, 0x55 +/* 17E444 8024FB64 1040031D */ beqz $v0, .L802507DC +/* 17E448 8024FB68 0000902D */ daddu $s2, $zero, $zero +/* 17E44C 8024FB6C 00031080 */ sll $v0, $v1, 2 +/* 17E450 8024FB70 3C01802A */ lui $at, 0x802a +/* 17E454 8024FB74 00220821 */ addu $at, $at, $v0 +/* 17E458 8024FB78 8C22CD98 */ lw $v0, -0x3268($at) +/* 17E45C 8024FB7C 00400008 */ jr $v0 +/* 17E460 8024FB80 00000000 */ nop +/* 17E464 8024FB84 82230016 */ lb $v1, 0x16($s1) +/* 17E468 8024FB88 2C620005 */ sltiu $v0, $v1, 5 +/* 17E46C 8024FB8C 10400313 */ beqz $v0, .L802507DC +/* 17E470 8024FB90 00031080 */ sll $v0, $v1, 2 +/* 17E474 8024FB94 3C01802A */ lui $at, 0x802a +/* 17E478 8024FB98 00220821 */ addu $at, $at, $v0 +/* 17E47C 8024FB9C 8C22CEF0 */ lw $v0, -0x3110($at) +/* 17E480 8024FBA0 00400008 */ jr $v0 +/* 17E484 8024FBA4 00000000 */ nop +/* 17E488 8024FBA8 8C820214 */ lw $v0, 0x214($a0) +/* 17E48C 8024FBAC 3042C000 */ andi $v0, $v0, 0xc000 +/* 17E490 8024FBB0 544002B8 */ bnezl $v0, .L80250694 +/* 17E494 8024FBB4 A6200014 */ sh $zero, 0x14($s1) +/* 17E498 8024FBB8 080941A5 */ j func_80250694 +/* 17E49C 8024FBBC 00000000 */ nop + +/* 17E4A0 8024FBC0 3C03802A */ lui $v1, 0x802a +/* 17E4A4 8024FBC4 2463F64A */ addiu $v1, $v1, -0x9b6 +/* 17E4A8 8024FBC8 80840083 */ lb $a0, 0x83($a0) +/* 17E4AC 8024FBCC 24020001 */ addiu $v0, $zero, 1 +/* 17E4B0 8024FBD0 14800004 */ bnez $a0, .L8024FBE4 +/* 17E4B4 8024FBD4 A4620000 */ sh $v0, ($v1) +/* 17E4B8 8024FBD8 A4600000 */ sh $zero, ($v1) +/* 17E4BC 8024FBDC 080941F7 */ j func_802507DC +/* 17E4C0 8024FBE0 24120001 */ addiu $s2, $zero, 1 + +.L8024FBE4: +/* 17E4C4 8024FBE4 82230016 */ lb $v1, 0x16($s1) +/* 17E4C8 8024FBE8 24020001 */ addiu $v0, $zero, 1 +/* 17E4CC 8024FBEC 1062016A */ beq $v1, $v0, .L80250198 +/* 17E4D0 8024FBF0 28620002 */ slti $v0, $v1, 2 +/* 17E4D4 8024FBF4 50400005 */ beql $v0, $zero, .L8024FC0C +/* 17E4D8 8024FBF8 24020002 */ addiu $v0, $zero, 2 +/* 17E4DC 8024FBFC 10600007 */ beqz $v1, .L8024FC1C +/* 17E4E0 8024FC00 3C04FFFE */ lui $a0, 0xfffe +/* 17E4E4 8024FC04 080941F7 */ j func_802507DC +/* 17E4E8 8024FC08 00000000 */ nop + +.L8024FC0C: +/* 17E4EC 8024FC0C 10620231 */ beq $v1, $v0, .L802504D4 +/* 17E4F0 8024FC10 00000000 */ nop +/* 17E4F4 8024FC14 080941F7 */ j func_802507DC +/* 17E4F8 8024FC18 00000000 */ nop + +.L8024FC1C: +/* 17E4FC 8024FC1C 3C03800E */ lui $v1, 0x800e +/* 17E500 8024FC20 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 17E504 8024FC24 8C620000 */ lw $v0, ($v1) +/* 17E508 8024FC28 3484FFFF */ ori $a0, $a0, 0xffff +/* 17E50C 8024FC2C 34424000 */ ori $v0, $v0, 0x4000 +/* 17E510 8024FC30 00441024 */ and $v0, $v0, $a0 +/* 17E514 8024FC34 AC620000 */ sw $v0, ($v1) +/* 17E518 8024FC38 96220012 */ lhu $v0, 0x12($s1) +/* 17E51C 8024FC3C 2442FFD2 */ addiu $v0, $v0, -0x2e +/* 17E520 8024FC40 00021400 */ sll $v0, $v0, 0x10 +/* 17E524 8024FC44 00021C03 */ sra $v1, $v0, 0x10 +/* 17E528 8024FC48 2C620015 */ sltiu $v0, $v1, 0x15 +/* 17E52C 8024FC4C 104002D6 */ beqz $v0, .L802507A8 +/* 17E530 8024FC50 00031080 */ sll $v0, $v1, 2 +/* 17E534 8024FC54 3C01802A */ lui $at, 0x802a +/* 17E538 8024FC58 00220821 */ addu $at, $at, $v0 +/* 17E53C 8024FC5C 8C22CF08 */ lw $v0, -0x30f8($at) +/* 17E540 8024FC60 00400008 */ jr $v0 +/* 17E544 8024FC64 00000000 */ nop +/* 17E548 8024FC68 3C048011 */ lui $a0, 0x8011 +/* 17E54C 8024FC6C 24848E1C */ addiu $a0, $a0, -0x71e4 +/* 17E550 8024FC70 08094060 */ j func_80250180 +/* 17E554 8024FC74 00000000 */ nop + +/* 17E558 8024FC78 3C048011 */ lui $a0, 0x8011 +/* 17E55C 8024FC7C 24848E1C */ addiu $a0, $a0, -0x71e4 +/* 17E560 8024FC80 0C050529 */ jal create_icon +/* 17E564 8024FC84 00000000 */ nop +/* 17E568 8024FC88 00022400 */ sll $a0, $v0, 0x10 +/* 17E56C 8024FC8C 00042403 */ sra $a0, $a0, 0x10 +/* 17E570 8024FC90 34058080 */ ori $a1, $zero, 0x8080 +/* 17E574 8024FC94 3C10802A */ lui $s0, 0x802a +/* 17E578 8024FC98 2610F642 */ addiu $s0, $s0, -0x9be +/* 17E57C 8024FC9C 0C051280 */ jal set_icon_flags +/* 17E580 8024FCA0 A6020000 */ sh $v0, ($s0) +/* 17E584 8024FCA4 2405FF9C */ addiu $a1, $zero, -0x64 +/* 17E588 8024FCA8 86040000 */ lh $a0, ($s0) +/* 17E58C 8024FCAC 0C051261 */ jal set_icon_render_pos +/* 17E590 8024FCB0 00A0302D */ daddu $a2, $a1, $zero +/* 17E594 8024FCB4 3C048029 */ lui $a0, 0x8029 +/* 17E598 8024FCB8 24842788 */ addiu $a0, $a0, 0x2788 +/* 17E59C 8024FCBC 0C050529 */ jal create_icon +/* 17E5A0 8024FCC0 00000000 */ nop +/* 17E5A4 8024FCC4 00022400 */ sll $a0, $v0, 0x10 +/* 17E5A8 8024FCC8 00042403 */ sra $a0, $a0, 0x10 +/* 17E5AC 8024FCCC 3C10802A */ lui $s0, 0x802a +/* 17E5B0 8024FCD0 2610F644 */ addiu $s0, $s0, -0x9bc +/* 17E5B4 8024FCD4 080941E3 */ j func_8025078C +/* 17E5B8 8024FCD8 24050080 */ addiu $a1, $zero, 0x80 + +/* 17E5BC 8024FCDC 3C048011 */ lui $a0, 0x8011 +/* 17E5C0 8024FCE0 24848E1C */ addiu $a0, $a0, -0x71e4 +/* 17E5C4 8024FCE4 0C050529 */ jal create_icon +/* 17E5C8 8024FCE8 00000000 */ nop +/* 17E5CC 8024FCEC 00022400 */ sll $a0, $v0, 0x10 +/* 17E5D0 8024FCF0 00042403 */ sra $a0, $a0, 0x10 +/* 17E5D4 8024FCF4 34058080 */ ori $a1, $zero, 0x8080 +/* 17E5D8 8024FCF8 3C10802A */ lui $s0, 0x802a +/* 17E5DC 8024FCFC 2610F642 */ addiu $s0, $s0, -0x9be +/* 17E5E0 8024FD00 0C051280 */ jal set_icon_flags +/* 17E5E4 8024FD04 A6020000 */ sh $v0, ($s0) +/* 17E5E8 8024FD08 2405FF9C */ addiu $a1, $zero, -0x64 +/* 17E5EC 8024FD0C 86040000 */ lh $a0, ($s0) +/* 17E5F0 8024FD10 0C051261 */ jal set_icon_render_pos +/* 17E5F4 8024FD14 00A0302D */ daddu $a2, $a1, $zero +/* 17E5F8 8024FD18 3C048029 */ lui $a0, 0x8029 +/* 17E5FC 8024FD1C 248436D4 */ addiu $a0, $a0, 0x36d4 +/* 17E600 8024FD20 0C050529 */ jal create_icon +/* 17E604 8024FD24 00000000 */ nop +/* 17E608 8024FD28 00022400 */ sll $a0, $v0, 0x10 +/* 17E60C 8024FD2C 00042403 */ sra $a0, $a0, 0x10 +/* 17E610 8024FD30 3C10802A */ lui $s0, 0x802a +/* 17E614 8024FD34 2610F644 */ addiu $s0, $s0, -0x9bc +/* 17E618 8024FD38 08094044 */ j func_80250110 +/* 17E61C 8024FD3C 34058080 */ ori $a1, $zero, 0x8080 + +/* 17E620 8024FD40 3C048029 */ lui $a0, 0x8029 +/* 17E624 8024FD44 2484259C */ addiu $a0, $a0, 0x259c +/* 17E628 8024FD48 0C050529 */ jal create_icon +/* 17E62C 8024FD4C 00000000 */ nop +/* 17E630 8024FD50 00022400 */ sll $a0, $v0, 0x10 +/* 17E634 8024FD54 00042403 */ sra $a0, $a0, 0x10 +/* 17E638 8024FD58 34058080 */ ori $a1, $zero, 0x8080 +/* 17E63C 8024FD5C 3C10802A */ lui $s0, 0x802a +/* 17E640 8024FD60 2610F642 */ addiu $s0, $s0, -0x9be +/* 17E644 8024FD64 0C051280 */ jal set_icon_flags +/* 17E648 8024FD68 A6020000 */ sh $v0, ($s0) +/* 17E64C 8024FD6C 2405FF9C */ addiu $a1, $zero, -0x64 +/* 17E650 8024FD70 86040000 */ lh $a0, ($s0) +/* 17E654 8024FD74 0C051261 */ jal set_icon_render_pos +/* 17E658 8024FD78 00A0302D */ daddu $a2, $a1, $zero +/* 17E65C 8024FD7C 3C048029 */ lui $a0, 0x8029 +/* 17E660 8024FD80 24842630 */ addiu $a0, $a0, 0x2630 +/* 17E664 8024FD84 0C050529 */ jal create_icon +/* 17E668 8024FD88 00000000 */ nop +/* 17E66C 8024FD8C 00022400 */ sll $a0, $v0, 0x10 +/* 17E670 8024FD90 00042403 */ sra $a0, $a0, 0x10 +/* 17E674 8024FD94 24050080 */ addiu $a1, $zero, 0x80 +/* 17E678 8024FD98 3C10802A */ lui $s0, 0x802a +/* 17E67C 8024FD9C 2610F644 */ addiu $s0, $s0, -0x9bc +/* 17E680 8024FDA0 0C051280 */ jal set_icon_flags +/* 17E684 8024FDA4 A6020000 */ sh $v0, ($s0) +/* 17E688 8024FDA8 2405FF9C */ addiu $a1, $zero, -0x64 +/* 17E68C 8024FDAC 86040000 */ lh $a0, ($s0) +/* 17E690 8024FDB0 0C051261 */ jal set_icon_render_pos +/* 17E694 8024FDB4 00A0302D */ daddu $a2, $a1, $zero +/* 17E698 8024FDB8 3C048029 */ lui $a0, 0x8029 +/* 17E69C 8024FDBC 24842438 */ addiu $a0, $a0, 0x2438 +/* 17E6A0 8024FDC0 0C050529 */ jal create_icon +/* 17E6A4 8024FDC4 00000000 */ nop +/* 17E6A8 8024FDC8 00022400 */ sll $a0, $v0, 0x10 +/* 17E6AC 8024FDCC 00042403 */ sra $a0, $a0, 0x10 +/* 17E6B0 8024FDD0 24050080 */ addiu $a1, $zero, 0x80 +/* 17E6B4 8024FDD4 3C10802A */ lui $s0, 0x802a +/* 17E6B8 8024FDD8 2610F646 */ addiu $s0, $s0, -0x9ba +/* 17E6BC 8024FDDC 0C051280 */ jal set_icon_flags +/* 17E6C0 8024FDE0 A6020000 */ sh $v0, ($s0) +/* 17E6C4 8024FDE4 2405FF9C */ addiu $a1, $zero, -0x64 +/* 17E6C8 8024FDE8 86040000 */ lh $a0, ($s0) +/* 17E6CC 8024FDEC 0C051261 */ jal set_icon_render_pos +/* 17E6D0 8024FDF0 00A0302D */ daddu $a2, $a1, $zero +/* 17E6D4 8024FDF4 3C048029 */ lui $a0, 0x8029 +/* 17E6D8 8024FDF8 248424CC */ addiu $a0, $a0, 0x24cc +/* 17E6DC 8024FDFC 0C050529 */ jal create_icon +/* 17E6E0 8024FE00 00000000 */ nop +/* 17E6E4 8024FE04 00022400 */ sll $a0, $v0, 0x10 +/* 17E6E8 8024FE08 00042403 */ sra $a0, $a0, 0x10 +/* 17E6EC 8024FE0C 3C10802A */ lui $s0, 0x802a +/* 17E6F0 8024FE10 2610F648 */ addiu $s0, $s0, -0x9b8 +/* 17E6F4 8024FE14 080941E3 */ j func_8025078C +/* 17E6F8 8024FE18 24050080 */ addiu $a1, $zero, 0x80 + +/* 17E6FC 8024FE1C 3C048011 */ lui $a0, 0x8011 +/* 17E700 8024FE20 24848E1C */ addiu $a0, $a0, -0x71e4 +/* 17E704 8024FE24 08094060 */ j func_80250180 +/* 17E708 8024FE28 00000000 */ nop + +/* 17E70C 8024FE2C 3C048011 */ lui $a0, 0x8011 +/* 17E710 8024FE30 24848B28 */ addiu $a0, $a0, -0x74d8 +/* 17E714 8024FE34 0C050529 */ jal create_icon +/* 17E718 8024FE38 00000000 */ nop +/* 17E71C 8024FE3C 00022400 */ sll $a0, $v0, 0x10 +/* 17E720 8024FE40 00042403 */ sra $a0, $a0, 0x10 +/* 17E724 8024FE44 34058080 */ ori $a1, $zero, 0x8080 +/* 17E728 8024FE48 3C10802A */ lui $s0, 0x802a +/* 17E72C 8024FE4C 2610F642 */ addiu $s0, $s0, -0x9be +/* 17E730 8024FE50 0C051280 */ jal set_icon_flags +/* 17E734 8024FE54 A6020000 */ sh $v0, ($s0) +/* 17E738 8024FE58 2405FF9C */ addiu $a1, $zero, -0x64 +/* 17E73C 8024FE5C 86040000 */ lh $a0, ($s0) +/* 17E740 8024FE60 0C051261 */ jal set_icon_render_pos +/* 17E744 8024FE64 00A0302D */ daddu $a2, $a1, $zero +/* 17E748 8024FE68 3C048029 */ lui $a0, 0x8029 +/* 17E74C 8024FE6C 2484231C */ addiu $a0, $a0, 0x231c +/* 17E750 8024FE70 0C050529 */ jal create_icon +/* 17E754 8024FE74 00000000 */ nop +/* 17E758 8024FE78 00022400 */ sll $a0, $v0, 0x10 +/* 17E75C 8024FE7C 00042403 */ sra $a0, $a0, 0x10 +/* 17E760 8024FE80 34058080 */ ori $a1, $zero, 0x8080 +/* 17E764 8024FE84 3C10802A */ lui $s0, 0x802a +/* 17E768 8024FE88 2610F644 */ addiu $s0, $s0, -0x9bc +/* 17E76C 8024FE8C 0C051280 */ jal set_icon_flags +/* 17E770 8024FE90 A6020000 */ sh $v0, ($s0) +/* 17E774 8024FE94 2405FF9C */ addiu $a1, $zero, -0x64 +/* 17E778 8024FE98 86040000 */ lh $a0, ($s0) +/* 17E77C 8024FE9C 0C051261 */ jal set_icon_render_pos +/* 17E780 8024FEA0 00A0302D */ daddu $a2, $a1, $zero +/* 17E784 8024FEA4 3C048029 */ lui $a0, 0x8029 +/* 17E788 8024FEA8 24842630 */ addiu $a0, $a0, 0x2630 +/* 17E78C 8024FEAC 0C050529 */ jal create_icon +/* 17E790 8024FEB0 00000000 */ nop +/* 17E794 8024FEB4 00022400 */ sll $a0, $v0, 0x10 +/* 17E798 8024FEB8 00042403 */ sra $a0, $a0, 0x10 +/* 17E79C 8024FEBC 3C10802A */ lui $s0, 0x802a +/* 17E7A0 8024FEC0 2610F646 */ addiu $s0, $s0, -0x9ba +/* 17E7A4 8024FEC4 080941E3 */ j func_8025078C +/* 17E7A8 8024FEC8 34058080 */ ori $a1, $zero, 0x8080 + +/* 17E7AC 8024FECC 3C048011 */ lui $a0, 0x8011 +/* 17E7B0 8024FED0 24848E1C */ addiu $a0, $a0, -0x71e4 +/* 17E7B4 8024FED4 08094060 */ j func_80250180 +/* 17E7B8 8024FED8 00000000 */ nop + +/* 17E7BC 8024FEDC 3C048029 */ lui $a0, 0x8029 +/* 17E7C0 8024FEE0 24842788 */ addiu $a0, $a0, 0x2788 +/* 17E7C4 8024FEE4 0C050529 */ jal create_icon +/* 17E7C8 8024FEE8 00000000 */ nop +/* 17E7CC 8024FEEC 00022400 */ sll $a0, $v0, 0x10 +/* 17E7D0 8024FEF0 00042403 */ sra $a0, $a0, 0x10 +/* 17E7D4 8024FEF4 24050080 */ addiu $a1, $zero, 0x80 +/* 17E7D8 8024FEF8 3C10802A */ lui $s0, 0x802a +/* 17E7DC 8024FEFC 2610F642 */ addiu $s0, $s0, -0x9be +/* 17E7E0 8024FF00 0C051280 */ jal set_icon_flags +/* 17E7E4 8024FF04 A6020000 */ sh $v0, ($s0) +/* 17E7E8 8024FF08 2405FF9C */ addiu $a1, $zero, -0x64 +/* 17E7EC 8024FF0C 86040000 */ lh $a0, ($s0) +/* 17E7F0 8024FF10 0C051261 */ jal set_icon_render_pos +/* 17E7F4 8024FF14 00A0302D */ daddu $a2, $a1, $zero +/* 17E7F8 8024FF18 3C048011 */ lui $a0, 0x8011 +/* 17E7FC 8024FF1C 24848B28 */ addiu $a0, $a0, -0x74d8 +/* 17E800 8024FF20 0C050529 */ jal create_icon +/* 17E804 8024FF24 00000000 */ nop +/* 17E808 8024FF28 00022400 */ sll $a0, $v0, 0x10 +/* 17E80C 8024FF2C 00042403 */ sra $a0, $a0, 0x10 +/* 17E810 8024FF30 3C10802A */ lui $s0, 0x802a +/* 17E814 8024FF34 2610F644 */ addiu $s0, $s0, -0x9bc +/* 17E818 8024FF38 080941E3 */ j func_8025078C +/* 17E81C 8024FF3C 34058080 */ ori $a1, $zero, 0x8080 + +/* 17E820 8024FF40 3C048011 */ lui $a0, 0x8011 +/* 17E824 8024FF44 24848B28 */ addiu $a0, $a0, -0x74d8 +/* 17E828 8024FF48 0C050529 */ jal create_icon +/* 17E82C 8024FF4C 00000000 */ nop +/* 17E830 8024FF50 00022400 */ sll $a0, $v0, 0x10 +/* 17E834 8024FF54 00042403 */ sra $a0, $a0, 0x10 +/* 17E838 8024FF58 34058080 */ ori $a1, $zero, 0x8080 +/* 17E83C 8024FF5C 3C10802A */ lui $s0, 0x802a +/* 17E840 8024FF60 2610F642 */ addiu $s0, $s0, -0x9be +/* 17E844 8024FF64 0C051280 */ jal set_icon_flags +/* 17E848 8024FF68 A6020000 */ sh $v0, ($s0) +/* 17E84C 8024FF6C 2405FF9C */ addiu $a1, $zero, -0x64 +/* 17E850 8024FF70 86040000 */ lh $a0, ($s0) +/* 17E854 8024FF74 0C051261 */ jal set_icon_render_pos +/* 17E858 8024FF78 00A0302D */ daddu $a2, $a1, $zero +/* 17E85C 8024FF7C 3C048029 */ lui $a0, 0x8029 +/* 17E860 8024FF80 2484231C */ addiu $a0, $a0, 0x231c +/* 17E864 8024FF84 0C050529 */ jal create_icon +/* 17E868 8024FF88 00000000 */ nop +/* 17E86C 8024FF8C 86040000 */ lh $a0, ($s0) +/* 17E870 8024FF90 3C01802A */ lui $at, 0x802a +/* 17E874 8024FF94 A422F644 */ sh $v0, -0x9bc($at) +/* 17E878 8024FF98 080941E4 */ j func_80250790 +/* 17E87C 8024FF9C 34058080 */ ori $a1, $zero, 0x8080 + +/* 17E880 8024FFA0 3C048011 */ lui $a0, 0x8011 +/* 17E884 8024FFA4 24848B28 */ addiu $a0, $a0, -0x74d8 +/* 17E888 8024FFA8 0C050529 */ jal create_icon +/* 17E88C 8024FFAC 00000000 */ nop +/* 17E890 8024FFB0 00022400 */ sll $a0, $v0, 0x10 +/* 17E894 8024FFB4 00042403 */ sra $a0, $a0, 0x10 +/* 17E898 8024FFB8 34058080 */ ori $a1, $zero, 0x8080 +/* 17E89C 8024FFBC 3C10802A */ lui $s0, 0x802a +/* 17E8A0 8024FFC0 2610F642 */ addiu $s0, $s0, -0x9be +/* 17E8A4 8024FFC4 0C051280 */ jal set_icon_flags +/* 17E8A8 8024FFC8 A6020000 */ sh $v0, ($s0) +/* 17E8AC 8024FFCC 2405FF9C */ addiu $a1, $zero, -0x64 +/* 17E8B0 8024FFD0 86040000 */ lh $a0, ($s0) +/* 17E8B4 8024FFD4 0C051261 */ jal set_icon_render_pos +/* 17E8B8 8024FFD8 00A0302D */ daddu $a2, $a1, $zero +/* 17E8BC 8024FFDC 3C048029 */ lui $a0, 0x8029 +/* 17E8C0 8024FFE0 2484231C */ addiu $a0, $a0, 0x231c +/* 17E8C4 8024FFE4 0C050529 */ jal create_icon +/* 17E8C8 8024FFE8 00000000 */ nop +/* 17E8CC 8024FFEC 00022400 */ sll $a0, $v0, 0x10 +/* 17E8D0 8024FFF0 00042403 */ sra $a0, $a0, 0x10 +/* 17E8D4 8024FFF4 3C10802A */ lui $s0, 0x802a +/* 17E8D8 8024FFF8 2610F644 */ addiu $s0, $s0, -0x9bc +/* 17E8DC 8024FFFC 080941E3 */ j func_8025078C +/* 17E8E0 80250000 34058080 */ ori $a1, $zero, 0x8080 + +/* 17E8E4 80250004 3C048029 */ lui $a0, 0x8029 +/* 17E8E8 80250008 24842788 */ addiu $a0, $a0, 0x2788 +/* 17E8EC 8025000C 0C050529 */ jal create_icon +/* 17E8F0 80250010 00000000 */ nop +/* 17E8F4 80250014 00022400 */ sll $a0, $v0, 0x10 +/* 17E8F8 80250018 00042403 */ sra $a0, $a0, 0x10 +/* 17E8FC 8025001C 24050080 */ addiu $a1, $zero, 0x80 +/* 17E900 80250020 3C10802A */ lui $s0, 0x802a +/* 17E904 80250024 2610F642 */ addiu $s0, $s0, -0x9be +/* 17E908 80250028 0C051280 */ jal set_icon_flags +/* 17E90C 8025002C A6020000 */ sh $v0, ($s0) +/* 17E910 80250030 2405FF9C */ addiu $a1, $zero, -0x64 +/* 17E914 80250034 86040000 */ lh $a0, ($s0) +/* 17E918 80250038 0C051261 */ jal set_icon_render_pos +/* 17E91C 8025003C 00A0302D */ daddu $a2, $a1, $zero +/* 17E920 80250040 3C048011 */ lui $a0, 0x8011 +/* 17E924 80250044 24848B54 */ addiu $a0, $a0, -0x74ac +/* 17E928 80250048 0C050529 */ jal create_icon +/* 17E92C 8025004C 00000000 */ nop +/* 17E930 80250050 00022400 */ sll $a0, $v0, 0x10 +/* 17E934 80250054 00042403 */ sra $a0, $a0, 0x10 +/* 17E938 80250058 3C10802A */ lui $s0, 0x802a +/* 17E93C 8025005C 2610F644 */ addiu $s0, $s0, -0x9bc +/* 17E940 80250060 080941E3 */ j func_8025078C +/* 17E944 80250064 34058080 */ ori $a1, $zero, 0x8080 + +/* 17E948 80250068 3C048011 */ lui $a0, 0x8011 +/* 17E94C 8025006C 24848E1C */ addiu $a0, $a0, -0x71e4 +/* 17E950 80250070 0C050529 */ jal create_icon +/* 17E954 80250074 00000000 */ nop +/* 17E958 80250078 00022400 */ sll $a0, $v0, 0x10 +/* 17E95C 8025007C 00042403 */ sra $a0, $a0, 0x10 +/* 17E960 80250080 34058080 */ ori $a1, $zero, 0x8080 +/* 17E964 80250084 3C10802A */ lui $s0, 0x802a +/* 17E968 80250088 2610F642 */ addiu $s0, $s0, -0x9be +/* 17E96C 8025008C 0C051280 */ jal set_icon_flags +/* 17E970 80250090 A6020000 */ sh $v0, ($s0) +/* 17E974 80250094 2405FF9C */ addiu $a1, $zero, -0x64 +/* 17E978 80250098 86040000 */ lh $a0, ($s0) +/* 17E97C 8025009C 0C051261 */ jal set_icon_render_pos +/* 17E980 802500A0 00A0302D */ daddu $a2, $a1, $zero +/* 17E984 802500A4 3C048029 */ lui $a0, 0x8029 +/* 17E988 802500A8 248436D4 */ addiu $a0, $a0, 0x36d4 +/* 17E98C 802500AC 0C050529 */ jal create_icon +/* 17E990 802500B0 00000000 */ nop +/* 17E994 802500B4 00022400 */ sll $a0, $v0, 0x10 +/* 17E998 802500B8 00042403 */ sra $a0, $a0, 0x10 +/* 17E99C 802500BC 34058080 */ ori $a1, $zero, 0x8080 +/* 17E9A0 802500C0 3C10802A */ lui $s0, 0x802a +/* 17E9A4 802500C4 2610F644 */ addiu $s0, $s0, -0x9bc +/* 17E9A8 802500C8 0C051280 */ jal set_icon_flags +/* 17E9AC 802500CC A6020000 */ sh $v0, ($s0) +/* 17E9B0 802500D0 2405FF9C */ addiu $a1, $zero, -0x64 +/* 17E9B4 802500D4 86040000 */ lh $a0, ($s0) +/* 17E9B8 802500D8 0C051261 */ jal set_icon_render_pos +/* 17E9BC 802500DC 00A0302D */ daddu $a2, $a1, $zero +/* 17E9C0 802500E0 86040000 */ lh $a0, ($s0) +/* 17E9C4 802500E4 0C0513F6 */ jal func_80144FD8 +/* 17E9C8 802500E8 00000000 */ nop +/* 17E9CC 802500EC 3C048029 */ lui $a0, 0x8029 +/* 17E9D0 802500F0 2484369C */ addiu $a0, $a0, 0x369c +/* 17E9D4 802500F4 0C050529 */ jal create_icon +/* 17E9D8 802500F8 00000000 */ nop +/* 17E9DC 802500FC 00022400 */ sll $a0, $v0, 0x10 +/* 17E9E0 80250100 00042403 */ sra $a0, $a0, 0x10 +/* 17E9E4 80250104 34058080 */ ori $a1, $zero, 0x8080 +/* 17E9E8 80250108 3C10802A */ lui $s0, 0x802a +/* 17E9EC 8025010C 2610F646 */ addiu $s0, $s0, -0x9ba +func_80250110: +/* 17E9F0 80250110 0C051280 */ jal set_icon_flags +/* 17E9F4 80250114 A6020000 */ sh $v0, ($s0) +/* 17E9F8 80250118 2405FF9C */ addiu $a1, $zero, -0x64 +/* 17E9FC 8025011C 86040000 */ lh $a0, ($s0) +/* 17EA00 80250120 0C051261 */ jal set_icon_render_pos +/* 17EA04 80250124 00A0302D */ daddu $a2, $a1, $zero +/* 17EA08 80250128 86040000 */ lh $a0, ($s0) +/* 17EA0C 8025012C 0C0513F6 */ jal func_80144FD8 +/* 17EA10 80250130 00000000 */ nop +/* 17EA14 80250134 080941EB */ j func_802507AC +/* 17EA18 80250138 24020001 */ addiu $v0, $zero, 1 + +/* 17EA1C 8025013C 3C048011 */ lui $a0, 0x8011 +/* 17EA20 80250140 24848B28 */ addiu $a0, $a0, -0x74d8 +/* 17EA24 80250144 0C050529 */ jal create_icon +/* 17EA28 80250148 00000000 */ nop +/* 17EA2C 8025014C 00022400 */ sll $a0, $v0, 0x10 +/* 17EA30 80250150 00042403 */ sra $a0, $a0, 0x10 +/* 17EA34 80250154 34058080 */ ori $a1, $zero, 0x8080 +/* 17EA38 80250158 3C10802A */ lui $s0, 0x802a +/* 17EA3C 8025015C 2610F642 */ addiu $s0, $s0, -0x9be +/* 17EA40 80250160 0C051280 */ jal set_icon_flags +/* 17EA44 80250164 A6020000 */ sh $v0, ($s0) +/* 17EA48 80250168 2405FF9C */ addiu $a1, $zero, -0x64 +/* 17EA4C 8025016C 86040000 */ lh $a0, ($s0) +/* 17EA50 80250170 0C051261 */ jal set_icon_render_pos +/* 17EA54 80250174 00A0302D */ daddu $a2, $a1, $zero +/* 17EA58 80250178 3C048011 */ lui $a0, 0x8011 +/* 17EA5C 8025017C 24848B28 */ addiu $a0, $a0, -0x74d8 +func_80250180: +/* 17EA60 80250180 0C050529 */ jal create_icon +/* 17EA64 80250184 00000000 */ nop +/* 17EA68 80250188 00022400 */ sll $a0, $v0, 0x10 +/* 17EA6C 8025018C 00042403 */ sra $a0, $a0, 0x10 +/* 17EA70 80250190 080941E1 */ j func_80250784 +/* 17EA74 80250194 34058080 */ ori $a1, $zero, 0x8080 + +.L80250198: +/* 17EA78 80250198 3C06800E */ lui $a2, 0x800e +/* 17EA7C 8025019C 24C6C070 */ addiu $a2, $a2, -0x3f90 +/* 17EA80 802501A0 8CC30000 */ lw $v1, ($a2) +/* 17EA84 802501A4 3C020001 */ lui $v0, 1 +/* 17EA88 802501A8 00621024 */ and $v0, $v1, $v0 +/* 17EA8C 802501AC 1040000A */ beqz $v0, .L802501D8 +/* 17EA90 802501B0 24050007 */ addiu $a1, $zero, 7 +/* 17EA94 802501B4 24040009 */ addiu $a0, $zero, 9 +/* 17EA98 802501B8 2402BFFF */ addiu $v0, $zero, -0x4001 +/* 17EA9C 802501BC 00621024 */ and $v0, $v1, $v0 +/* 17EAA0 802501C0 0C051F9F */ jal func_80147E7C +/* 17EAA4 802501C4 ACC20000 */ sw $v0, ($a2) +/* 17EAA8 802501C8 24020002 */ addiu $v0, $zero, 2 +/* 17EAAC 802501CC A6200014 */ sh $zero, 0x14($s1) +/* 17EAB0 802501D0 080941F7 */ j func_802507DC +/* 17EAB4 802501D4 A2220016 */ sb $v0, 0x16($s1) + +.L802501D8: +/* 17EAB8 802501D8 30624000 */ andi $v0, $v1, 0x4000 +/* 17EABC 802501DC 1440017F */ bnez $v0, .L802507DC +/* 17EAC0 802501E0 24020002 */ addiu $v0, $zero, 2 +/* 17EAC4 802501E4 1082017D */ beq $a0, $v0, .L802507DC +/* 17EAC8 802501E8 24040009 */ addiu $a0, $zero, 9 +/* 17EACC 802501EC 0C051F9F */ jal func_80147E7C +/* 17EAD0 802501F0 24050007 */ addiu $a1, $zero, 7 +/* 17EAD4 802501F4 96220012 */ lhu $v0, 0x12($s1) +/* 17EAD8 802501F8 2442FFD2 */ addiu $v0, $v0, -0x2e +/* 17EADC 802501FC 00021400 */ sll $v0, $v0, 0x10 +/* 17EAE0 80250200 00021C03 */ sra $v1, $v0, 0x10 +/* 17EAE4 80250204 2C620015 */ sltiu $v0, $v1, 0x15 +/* 17EAE8 80250208 104000AC */ beqz $v0, .L802504BC +/* 17EAEC 8025020C 00031080 */ sll $v0, $v1, 2 +/* 17EAF0 80250210 3C01802A */ lui $at, 0x802a +/* 17EAF4 80250214 00220821 */ addu $at, $at, $v0 +/* 17EAF8 80250218 8C22CF60 */ lw $v0, -0x30a0($at) +/* 17EAFC 8025021C 00400008 */ jr $v0 +/* 17EB00 80250220 00000000 */ nop +/* 17EB04 80250224 3C04802A */ lui $a0, 0x802a +/* 17EB08 80250228 8484F642 */ lh $a0, -0x9be($a0) +/* 17EB0C 8025022C 3C058011 */ lui $a1, 0x8011 +/* 17EB10 80250230 24A58B80 */ addiu $a1, $a1, -0x7480 +/* 17EB14 80250234 0809412D */ j func_802504B4 +/* 17EB18 80250238 00000000 */ nop + +/* 17EB1C 8025023C 3C04802A */ lui $a0, 0x802a +/* 17EB20 80250240 8484F642 */ lh $a0, -0x9be($a0) +/* 17EB24 80250244 3C058011 */ lui $a1, 0x8011 +/* 17EB28 80250248 24A58F30 */ addiu $a1, $a1, -0x70d0 +/* 17EB2C 8025024C 0809412D */ j func_802504B4 +/* 17EB30 80250250 00000000 */ nop + +/* 17EB34 80250254 3C04802A */ lui $a0, 0x802a +/* 17EB38 80250258 8484F642 */ lh $a0, -0x9be($a0) +/* 17EB3C 8025025C 3C058011 */ lui $a1, 0x8011 +/* 17EB40 80250260 24A58F90 */ addiu $a1, $a1, -0x7070 +/* 17EB44 80250264 0C0511FF */ jal set_menu_icon_script +/* 17EB48 80250268 00000000 */ nop +/* 17EB4C 8025026C 3C04802A */ lui $a0, 0x802a +/* 17EB50 80250270 8484F644 */ lh $a0, -0x9bc($a0) +/* 17EB54 80250274 3C058029 */ lui $a1, 0x8029 +/* 17EB58 80250278 24A527B4 */ addiu $a1, $a1, 0x27b4 +/* 17EB5C 8025027C 0809412D */ j func_802504B4 +/* 17EB60 80250280 00000000 */ nop + +/* 17EB64 80250284 3C04802A */ lui $a0, 0x802a +/* 17EB68 80250288 8484F642 */ lh $a0, -0x9be($a0) +/* 17EB6C 8025028C 3C058011 */ lui $a1, 0x8011 +/* 17EB70 80250290 24A58F90 */ addiu $a1, $a1, -0x7070 +/* 17EB74 80250294 0C0511FF */ jal set_menu_icon_script +/* 17EB78 80250298 00000000 */ nop +/* 17EB7C 8025029C 3C04802A */ lui $a0, 0x802a +/* 17EB80 802502A0 8484F644 */ lh $a0, -0x9bc($a0) +/* 17EB84 802502A4 3C058029 */ lui $a1, 0x8029 +/* 17EB88 802502A8 24A536D4 */ addiu $a1, $a1, 0x36d4 +/* 17EB8C 802502AC 0809412D */ j func_802504B4 +/* 17EB90 802502B0 00000000 */ nop + +/* 17EB94 802502B4 3C04802A */ lui $a0, 0x802a +/* 17EB98 802502B8 8484F642 */ lh $a0, -0x9be($a0) +/* 17EB9C 802502BC 3C058029 */ lui $a1, 0x8029 +/* 17EBA0 802502C0 24A525F4 */ addiu $a1, $a1, 0x25f4 +/* 17EBA4 802502C4 0C0511FF */ jal set_menu_icon_script +/* 17EBA8 802502C8 00000000 */ nop +/* 17EBAC 802502CC 3C04802A */ lui $a0, 0x802a +/* 17EBB0 802502D0 8484F644 */ lh $a0, -0x9bc($a0) +/* 17EBB4 802502D4 3C058029 */ lui $a1, 0x8029 +/* 17EBB8 802502D8 24A52688 */ addiu $a1, $a1, 0x2688 +/* 17EBBC 802502DC 0C0511FF */ jal set_menu_icon_script +/* 17EBC0 802502E0 00000000 */ nop +/* 17EBC4 802502E4 3C04802A */ lui $a0, 0x802a +/* 17EBC8 802502E8 8484F646 */ lh $a0, -0x9ba($a0) +/* 17EBCC 802502EC 3C058029 */ lui $a1, 0x8029 +/* 17EBD0 802502F0 24A52490 */ addiu $a1, $a1, 0x2490 +/* 17EBD4 802502F4 0C0511FF */ jal set_menu_icon_script +/* 17EBD8 802502F8 00000000 */ nop +/* 17EBDC 802502FC 3C04802A */ lui $a0, 0x802a +/* 17EBE0 80250300 8484F648 */ lh $a0, -0x9b8($a0) +/* 17EBE4 80250304 3C058029 */ lui $a1, 0x8029 +/* 17EBE8 80250308 24A52524 */ addiu $a1, $a1, 0x2524 +/* 17EBEC 8025030C 0809412D */ j func_802504B4 +/* 17EBF0 80250310 00000000 */ nop + +/* 17EBF4 80250314 3C04802A */ lui $a0, 0x802a +/* 17EBF8 80250318 8484F642 */ lh $a0, -0x9be($a0) +/* 17EBFC 8025031C 3C058011 */ lui $a1, 0x8011 +/* 17EC00 80250320 24A58E80 */ addiu $a1, $a1, -0x7180 +/* 17EC04 80250324 0809412D */ j func_802504B4 +/* 17EC08 80250328 00000000 */ nop + +/* 17EC0C 8025032C 3C04802A */ lui $a0, 0x802a +/* 17EC10 80250330 8484F642 */ lh $a0, -0x9be($a0) +/* 17EC14 80250334 3C058011 */ lui $a1, 0x8011 +/* 17EC18 80250338 24A58BBC */ addiu $a1, $a1, -0x7444 +/* 17EC1C 8025033C 0C0511FF */ jal set_menu_icon_script +/* 17EC20 80250340 00000000 */ nop +/* 17EC24 80250344 3C04802A */ lui $a0, 0x802a +/* 17EC28 80250348 8484F644 */ lh $a0, -0x9bc($a0) +/* 17EC2C 8025034C 3C058029 */ lui $a1, 0x8029 +/* 17EC30 80250350 24A523B0 */ addiu $a1, $a1, 0x23b0 +/* 17EC34 80250354 0C0511FF */ jal set_menu_icon_script +/* 17EC38 80250358 00000000 */ nop +/* 17EC3C 8025035C 3C04802A */ lui $a0, 0x802a +/* 17EC40 80250360 8484F646 */ lh $a0, -0x9ba($a0) +/* 17EC44 80250364 3C058029 */ lui $a1, 0x8029 +/* 17EC48 80250368 24A526C4 */ addiu $a1, $a1, 0x26c4 +/* 17EC4C 8025036C 0809412D */ j func_802504B4 +/* 17EC50 80250370 00000000 */ nop + +/* 17EC54 80250374 3C04802A */ lui $a0, 0x802a +/* 17EC58 80250378 8484F642 */ lh $a0, -0x9be($a0) +/* 17EC5C 8025037C 3C058011 */ lui $a1, 0x8011 +/* 17EC60 80250380 24A58D6C */ addiu $a1, $a1, -0x7294 +/* 17EC64 80250384 0809412D */ j func_802504B4 +/* 17EC68 80250388 00000000 */ nop + +/* 17EC6C 8025038C 3C04802A */ lui $a0, 0x802a +/* 17EC70 80250390 8484F642 */ lh $a0, -0x9be($a0) +/* 17EC74 80250394 3C058029 */ lui $a1, 0x8029 +/* 17EC78 80250398 24A527B4 */ addiu $a1, $a1, 0x27b4 +/* 17EC7C 8025039C 0C0511FF */ jal set_menu_icon_script +/* 17EC80 802503A0 00000000 */ nop +/* 17EC84 802503A4 3C04802A */ lui $a0, 0x802a +/* 17EC88 802503A8 8484F644 */ lh $a0, -0x9bc($a0) +/* 17EC8C 802503AC 3C058011 */ lui $a1, 0x8011 +/* 17EC90 802503B0 24A58B80 */ addiu $a1, $a1, -0x7480 +/* 17EC94 802503B4 0809412D */ j func_802504B4 +/* 17EC98 802503B8 00000000 */ nop + +/* 17EC9C 802503BC 3C04802A */ lui $a0, 0x802a +/* 17ECA0 802503C0 8484F642 */ lh $a0, -0x9be($a0) +/* 17ECA4 802503C4 3C058011 */ lui $a1, 0x8011 +/* 17ECA8 802503C8 24A58B80 */ addiu $a1, $a1, -0x7480 +/* 17ECAC 802503CC 0C0511FF */ jal set_menu_icon_script +/* 17ECB0 802503D0 00000000 */ nop +/* 17ECB4 802503D4 3C04802A */ lui $a0, 0x802a +/* 17ECB8 802503D8 8484F644 */ lh $a0, -0x9bc($a0) +/* 17ECBC 802503DC 3C058029 */ lui $a1, 0x8029 +/* 17ECC0 802503E0 24A523FC */ addiu $a1, $a1, 0x23fc +/* 17ECC4 802503E4 0809412D */ j func_802504B4 +/* 17ECC8 802503E8 00000000 */ nop + +/* 17ECCC 802503EC 3C04802A */ lui $a0, 0x802a +/* 17ECD0 802503F0 8484F642 */ lh $a0, -0x9be($a0) +/* 17ECD4 802503F4 3C058011 */ lui $a1, 0x8011 +/* 17ECD8 802503F8 24A58B80 */ addiu $a1, $a1, -0x7480 +/* 17ECDC 802503FC 0C0511FF */ jal set_menu_icon_script +/* 17ECE0 80250400 00000000 */ nop +/* 17ECE4 80250404 3C04802A */ lui $a0, 0x802a +/* 17ECE8 80250408 8484F644 */ lh $a0, -0x9bc($a0) +/* 17ECEC 8025040C 3C058029 */ lui $a1, 0x8029 +/* 17ECF0 80250410 24A52374 */ addiu $a1, $a1, 0x2374 +/* 17ECF4 80250414 0809412D */ j func_802504B4 +/* 17ECF8 80250418 00000000 */ nop + +/* 17ECFC 8025041C 3C04802A */ lui $a0, 0x802a +/* 17ED00 80250420 8484F642 */ lh $a0, -0x9be($a0) +/* 17ED04 80250424 3C058011 */ lui $a1, 0x8011 +/* 17ED08 80250428 24A58B80 */ addiu $a1, $a1, -0x7480 +/* 17ED0C 8025042C 0809412D */ j func_802504B4 +/* 17ED10 80250430 00000000 */ nop + +/* 17ED14 80250434 3C04802A */ lui $a0, 0x802a +/* 17ED18 80250438 8484F642 */ lh $a0, -0x9be($a0) +/* 17ED1C 8025043C 3C058029 */ lui $a1, 0x8029 +/* 17ED20 80250440 24A527B4 */ addiu $a1, $a1, 0x27b4 +/* 17ED24 80250444 0C0511FF */ jal set_menu_icon_script +/* 17ED28 80250448 00000000 */ nop +/* 17ED2C 8025044C 3C04802A */ lui $a0, 0x802a +/* 17ED30 80250450 8484F644 */ lh $a0, -0x9bc($a0) +/* 17ED34 80250454 0809412B */ j func_802504AC +/* 17ED38 80250458 00000000 */ nop + +/* 17ED3C 8025045C 3C04802A */ lui $a0, 0x802a +/* 17ED40 80250460 8484F642 */ lh $a0, -0x9be($a0) +/* 17ED44 80250464 3C058011 */ lui $a1, 0x8011 +/* 17ED48 80250468 24A591E4 */ addiu $a1, $a1, -0x6e1c +/* 17ED4C 8025046C 0809412D */ j func_802504B4 +/* 17ED50 80250470 00000000 */ nop + +/* 17ED54 80250474 3C04802A */ lui $a0, 0x802a +/* 17ED58 80250478 8484F642 */ lh $a0, -0x9be($a0) +/* 17ED5C 8025047C 3C058011 */ lui $a1, 0x8011 +/* 17ED60 80250480 24A58B80 */ addiu $a1, $a1, -0x7480 +/* 17ED64 80250484 0809412D */ j func_802504B4 +/* 17ED68 80250488 00000000 */ nop + +/* 17ED6C 8025048C 3C04802A */ lui $a0, 0x802a +/* 17ED70 80250490 8484F642 */ lh $a0, -0x9be($a0) +/* 17ED74 80250494 3C058011 */ lui $a1, 0x8011 +/* 17ED78 80250498 24A58BBC */ addiu $a1, $a1, -0x7444 +/* 17ED7C 8025049C 0C0511FF */ jal set_menu_icon_script +/* 17ED80 802504A0 00000000 */ nop +/* 17ED84 802504A4 3C04802A */ lui $a0, 0x802a +/* 17ED88 802504A8 8484F642 */ lh $a0, -0x9be($a0) +func_802504AC: +/* 17ED8C 802504AC 3C058011 */ lui $a1, 0x8011 +/* 17ED90 802504B0 24A58BBC */ addiu $a1, $a1, -0x7444 +func_802504B4: +/* 17ED94 802504B4 0C0511FF */ jal set_menu_icon_script +/* 17ED98 802504B8 00000000 */ nop +.L802504BC: +/* 17ED9C 802504BC 86230014 */ lh $v1, 0x14($s1) +/* 17EDA0 802504C0 2402FFFF */ addiu $v0, $zero, -1 +/* 17EDA4 802504C4 1062006C */ beq $v1, $v0, .L80250678 +/* 17EDA8 802504C8 2402001E */ addiu $v0, $zero, 0x1e +/* 17EDAC 802504CC 0809419E */ j func_80250678 +/* 17EDB0 802504D0 A6220014 */ sh $v0, 0x14($s1) + +.L802504D4: +/* 17EDB4 802504D4 14830006 */ bne $a0, $v1, .L802504F0 +/* 17EDB8 802504D8 3C030001 */ lui $v1, 1 +/* 17EDBC 802504DC 3C02800E */ lui $v0, 0x800e +/* 17EDC0 802504E0 8C42C070 */ lw $v0, -0x3f90($v0) +/* 17EDC4 802504E4 00431024 */ and $v0, $v0, $v1 +/* 17EDC8 802504E8 104000BC */ beqz $v0, .L802507DC +/* 17EDCC 802504EC 00000000 */ nop +.L802504F0: +/* 17EDD0 802504F0 3C04802A */ lui $a0, 0x802a +/* 17EDD4 802504F4 2484F64E */ addiu $a0, $a0, -0x9b2 +/* 17EDD8 802504F8 84820000 */ lh $v0, ($a0) +/* 17EDDC 802504FC 94830000 */ lhu $v1, ($a0) +/* 17EDE0 80250500 284200C0 */ slti $v0, $v0, 0xc0 +/* 17EDE4 80250504 1040000C */ beqz $v0, .L80250538 +/* 17EDE8 80250508 00000000 */ nop +/* 17EDEC 8025050C 3C02802A */ lui $v0, 0x802a +/* 17EDF0 80250510 8442F64C */ lh $v0, -0x9b4($v0) +/* 17EDF4 80250514 144000B1 */ bnez $v0, .L802507DC +/* 17EDF8 80250518 2462000A */ addiu $v0, $v1, 0xa +/* 17EDFC 8025051C A4820000 */ sh $v0, ($a0) +/* 17EE00 80250520 00021400 */ sll $v0, $v0, 0x10 +/* 17EE04 80250524 00021403 */ sra $v0, $v0, 0x10 +/* 17EE08 80250528 284200C1 */ slti $v0, $v0, 0xc1 +/* 17EE0C 8025052C 14400002 */ bnez $v0, .L80250538 +/* 17EE10 80250530 240200C0 */ addiu $v0, $zero, 0xc0 +/* 17EE14 80250534 A4820000 */ sh $v0, ($a0) +.L80250538: +/* 17EE18 80250538 3C02802A */ lui $v0, 0x802a +/* 17EE1C 8025053C 9442F64E */ lhu $v0, -0x9b2($v0) +/* 17EE20 80250540 3C03802A */ lui $v1, 0x802a +/* 17EE24 80250544 9463F650 */ lhu $v1, -0x9b0($v1) +/* 17EE28 80250548 00431021 */ addu $v0, $v0, $v1 +/* 17EE2C 8025054C 3C018016 */ lui $at, 0x8016 +/* 17EE30 80250550 A4229E7E */ sh $v0, -0x6182($at) +/* 17EE34 80250554 2402FFFF */ addiu $v0, $zero, -1 +/* 17EE38 80250558 86240014 */ lh $a0, 0x14($s1) +/* 17EE3C 8025055C 1082009F */ beq $a0, $v0, .L802507DC +/* 17EE40 80250560 96230014 */ lhu $v1, 0x14($s1) +/* 17EE44 80250564 10800003 */ beqz $a0, .L80250574 +/* 17EE48 80250568 00621021 */ addu $v0, $v1, $v0 +/* 17EE4C 8025056C 080941F7 */ j func_802507DC +/* 17EE50 80250570 A6220014 */ sh $v0, 0x14($s1) + +.L80250574: +/* 17EE54 80250574 96220012 */ lhu $v0, 0x12($s1) +/* 17EE58 80250578 2442FFD2 */ addiu $v0, $v0, -0x2e +/* 17EE5C 8025057C 00021400 */ sll $v0, $v0, 0x10 +/* 17EE60 80250580 00021C03 */ sra $v1, $v0, 0x10 +/* 17EE64 80250584 2C620015 */ sltiu $v0, $v1, 0x15 +/* 17EE68 80250588 1040002E */ beqz $v0, .L80250644 +/* 17EE6C 8025058C 00031080 */ sll $v0, $v1, 2 +/* 17EE70 80250590 3C01802A */ lui $at, 0x802a +/* 17EE74 80250594 00220821 */ addu $at, $at, $v0 +/* 17EE78 80250598 8C22CFB8 */ lw $v0, -0x3048($at) +/* 17EE7C 8025059C 00400008 */ jr $v0 +/* 17EE80 802505A0 00000000 */ nop +/* 17EE84 802505A4 3C04802A */ lui $a0, 0x802a +/* 17EE88 802505A8 8484F642 */ lh $a0, -0x9be($a0) +/* 17EE8C 802505AC 0809418F */ j func_8025063C +/* 17EE90 802505B0 00000000 */ nop + +/* 17EE94 802505B4 3C04802A */ lui $a0, 0x802a +/* 17EE98 802505B8 8484F642 */ lh $a0, -0x9be($a0) +/* 17EE9C 802505BC 0C05123D */ jal free_icon +/* 17EEA0 802505C0 00000000 */ nop +/* 17EEA4 802505C4 3C04802A */ lui $a0, 0x802a +/* 17EEA8 802505C8 8484F644 */ lh $a0, -0x9bc($a0) +/* 17EEAC 802505CC 0809418F */ j func_8025063C +/* 17EEB0 802505D0 00000000 */ nop + +/* 17EEB4 802505D4 3C04802A */ lui $a0, 0x802a +/* 17EEB8 802505D8 8484F642 */ lh $a0, -0x9be($a0) +/* 17EEBC 802505DC 0C05123D */ jal free_icon +/* 17EEC0 802505E0 00000000 */ nop +/* 17EEC4 802505E4 3C04802A */ lui $a0, 0x802a +/* 17EEC8 802505E8 8484F644 */ lh $a0, -0x9bc($a0) +/* 17EECC 802505EC 0C05123D */ jal free_icon +/* 17EED0 802505F0 00000000 */ nop +/* 17EED4 802505F4 3C04802A */ lui $a0, 0x802a +/* 17EED8 802505F8 8484F646 */ lh $a0, -0x9ba($a0) +/* 17EEDC 802505FC 0809418F */ j func_8025063C +/* 17EEE0 80250600 00000000 */ nop + +/* 17EEE4 80250604 3C04802A */ lui $a0, 0x802a +/* 17EEE8 80250608 8484F642 */ lh $a0, -0x9be($a0) +/* 17EEEC 8025060C 0C05123D */ jal free_icon +/* 17EEF0 80250610 00000000 */ nop +/* 17EEF4 80250614 3C04802A */ lui $a0, 0x802a +/* 17EEF8 80250618 8484F644 */ lh $a0, -0x9bc($a0) +/* 17EEFC 8025061C 0C05123D */ jal free_icon +/* 17EF00 80250620 00000000 */ nop +/* 17EF04 80250624 3C04802A */ lui $a0, 0x802a +/* 17EF08 80250628 8484F646 */ lh $a0, -0x9ba($a0) +/* 17EF0C 8025062C 0C05123D */ jal free_icon +/* 17EF10 80250630 00000000 */ nop +/* 17EF14 80250634 3C04802A */ lui $a0, 0x802a +/* 17EF18 80250638 8484F648 */ lh $a0, -0x9b8($a0) +func_8025063C: +/* 17EF1C 8025063C 0C05123D */ jal free_icon +/* 17EF20 80250640 00000000 */ nop +.L80250644: +/* 17EF24 80250644 3C01802A */ lui $at, 0x802a +/* 17EF28 80250648 A420F64A */ sh $zero, -0x9b6($at) +/* 17EF2C 8025064C 080941F7 */ j func_802507DC +/* 17EF30 80250650 24120001 */ addiu $s2, $zero, 1 + +/* 17EF34 80250654 82230016 */ lb $v1, 0x16($s1) +/* 17EF38 80250658 2C620005 */ sltiu $v0, $v1, 5 +/* 17EF3C 8025065C 1040005F */ beqz $v0, .L802507DC +/* 17EF40 80250660 00031080 */ sll $v0, $v1, 2 +/* 17EF44 80250664 3C01802A */ lui $at, 0x802a +/* 17EF48 80250668 00220821 */ addu $at, $at, $v0 +/* 17EF4C 8025066C 8C22D010 */ lw $v0, -0x2ff0($at) +/* 17EF50 80250670 00400008 */ jr $v0 +/* 17EF54 80250674 00000000 */ nop +func_80250678: +.L80250678: +/* 17EF58 80250678 24020002 */ addiu $v0, $zero, 2 +/* 17EF5C 8025067C 080941F7 */ j func_802507DC +/* 17EF60 80250680 A2220016 */ sb $v0, 0x16($s1) + +/* 17EF64 80250684 8C820214 */ lw $v0, 0x214($a0) +/* 17EF68 80250688 3042C000 */ andi $v0, $v0, 0xc000 +/* 17EF6C 8025068C 54400001 */ bnezl $v0, .L80250694 +/* 17EF70 80250690 A6200014 */ sh $zero, 0x14($s1) +func_80250694: +.L80250694: +/* 17EF74 80250694 86220014 */ lh $v0, 0x14($s1) +/* 17EF78 80250698 96230014 */ lhu $v1, 0x14($s1) +/* 17EF7C 8025069C 14400049 */ bnez $v0, .L802507C4 +/* 17EF80 802506A0 2462FFFF */ addiu $v0, $v1, -1 +/* 17EF84 802506A4 24020003 */ addiu $v0, $zero, 3 +/* 17EF88 802506A8 080941F7 */ j func_802507DC +/* 17EF8C 802506AC A2220016 */ sb $v0, 0x16($s1) + +/* 17EF90 802506B0 24020004 */ addiu $v0, $zero, 4 +/* 17EF94 802506B4 080941F7 */ j func_802507DC +/* 17EF98 802506B8 A2220016 */ sb $v0, 0x16($s1) + +/* 17EF9C 802506BC 82230016 */ lb $v1, 0x16($s1) +/* 17EFA0 802506C0 10600005 */ beqz $v1, .L802506D8 +/* 17EFA4 802506C4 24020001 */ addiu $v0, $zero, 1 +/* 17EFA8 802506C8 1062003A */ beq $v1, $v0, .L802507B4 +/* 17EFAC 802506CC 00000000 */ nop +/* 17EFB0 802506D0 080941F7 */ j func_802507DC +/* 17EFB4 802506D4 00000000 */ nop + +.L802506D8: +/* 17EFB8 802506D8 96220012 */ lhu $v0, 0x12($s1) +/* 17EFBC 802506DC 2442FFB7 */ addiu $v0, $v0, -0x49 +/* 17EFC0 802506E0 00021400 */ sll $v0, $v0, 0x10 +/* 17EFC4 802506E4 00021C03 */ sra $v1, $v0, 0x10 +/* 17EFC8 802506E8 2C620007 */ sltiu $v0, $v1, 7 +/* 17EFCC 802506EC 1040002E */ beqz $v0, .L802507A8 +/* 17EFD0 802506F0 00031080 */ sll $v0, $v1, 2 +/* 17EFD4 802506F4 3C01802A */ lui $at, 0x802a +/* 17EFD8 802506F8 00220821 */ addu $at, $at, $v0 +/* 17EFDC 802506FC 8C22D028 */ lw $v0, -0x2fd8($at) +/* 17EFE0 80250700 00400008 */ jr $v0 +/* 17EFE4 80250704 00000000 */ nop +/* 17EFE8 80250708 3C048008 */ lui $a0, 0x8008 +/* 17EFEC 8025070C 248406A0 */ addiu $a0, $a0, 0x6a0 +/* 17EFF0 80250710 080941DC */ j func_80250770 +/* 17EFF4 80250714 00000000 */ nop + +/* 17EFF8 80250718 3C048008 */ lui $a0, 0x8008 +/* 17EFFC 8025071C 248406D0 */ addiu $a0, $a0, 0x6d0 +/* 17F000 80250720 080941DC */ j func_80250770 +/* 17F004 80250724 00000000 */ nop + +/* 17F008 80250728 3C048008 */ lui $a0, 0x8008 +/* 17F00C 8025072C 24840700 */ addiu $a0, $a0, 0x700 +/* 17F010 80250730 080941DC */ j func_80250770 +/* 17F014 80250734 00000000 */ nop + +/* 17F018 80250738 3C048008 */ lui $a0, 0x8008 +/* 17F01C 8025073C 24840730 */ addiu $a0, $a0, 0x730 +/* 17F020 80250740 080941DC */ j func_80250770 +/* 17F024 80250744 00000000 */ nop + +/* 17F028 80250748 3C048008 */ lui $a0, 0x8008 +/* 17F02C 8025074C 24840760 */ addiu $a0, $a0, 0x760 +/* 17F030 80250750 080941DC */ j func_80250770 +/* 17F034 80250754 00000000 */ nop + +/* 17F038 80250758 3C048008 */ lui $a0, 0x8008 +/* 17F03C 8025075C 24840790 */ addiu $a0, $a0, 0x790 +/* 17F040 80250760 080941DC */ j func_80250770 +/* 17F044 80250764 00000000 */ nop + +/* 17F048 80250768 3C048008 */ lui $a0, 0x8008 +/* 17F04C 8025076C 248407C0 */ addiu $a0, $a0, 0x7c0 +func_80250770: +/* 17F050 80250770 0C050529 */ jal create_icon +/* 17F054 80250774 00000000 */ nop +/* 17F058 80250778 00022400 */ sll $a0, $v0, 0x10 +/* 17F05C 8025077C 00042403 */ sra $a0, $a0, 0x10 +/* 17F060 80250780 24050080 */ addiu $a1, $zero, 0x80 +func_80250784: +/* 17F064 80250784 3C10802A */ lui $s0, 0x802a +/* 17F068 80250788 2610F642 */ addiu $s0, $s0, -0x9be +func_8025078C: +/* 17F06C 8025078C A6020000 */ sh $v0, ($s0) +func_80250790: +/* 17F070 80250790 0C051280 */ jal set_icon_flags +/* 17F074 80250794 00000000 */ nop +/* 17F078 80250798 2405FF9C */ addiu $a1, $zero, -0x64 +/* 17F07C 8025079C 86040000 */ lh $a0, ($s0) +/* 17F080 802507A0 0C051261 */ jal set_icon_render_pos +/* 17F084 802507A4 00A0302D */ daddu $a2, $a1, $zero +.L802507A8: +/* 17F088 802507A8 24020001 */ addiu $v0, $zero, 1 +func_802507AC: +/* 17F08C 802507AC 080941F7 */ j func_802507DC +/* 17F090 802507B0 A2220016 */ sb $v0, 0x16($s1) + +.L802507B4: +/* 17F094 802507B4 86220014 */ lh $v0, 0x14($s1) +/* 17F098 802507B8 96230014 */ lhu $v1, 0x14($s1) +/* 17F09C 802507BC 10400003 */ beqz $v0, .L802507CC +/* 17F0A0 802507C0 2462FFFF */ addiu $v0, $v1, -1 +.L802507C4: +/* 17F0A4 802507C4 080941F7 */ j func_802507DC +/* 17F0A8 802507C8 A6220014 */ sh $v0, 0x14($s1) + +.L802507CC: +/* 17F0AC 802507CC 3C04802A */ lui $a0, 0x802a +/* 17F0B0 802507D0 8484F642 */ lh $a0, -0x9be($a0) +/* 17F0B4 802507D4 0C05123D */ jal free_icon +/* 17F0B8 802507D8 24120001 */ addiu $s2, $zero, 1 +func_802507DC: +.L802507DC: +/* 17F0BC 802507DC 12400008 */ beqz $s2, .L80250800 +/* 17F0C0 802507E0 00000000 */ nop +/* 17F0C4 802507E4 24040009 */ addiu $a0, $zero, 9 +/* 17F0C8 802507E8 0C051F9F */ jal func_80147E7C +/* 17F0CC 802507EC 24050002 */ addiu $a1, $zero, 2 +/* 17F0D0 802507F0 3C018028 */ lui $at, 0x8028 +/* 17F0D4 802507F4 AC2038F8 */ sw $zero, 0x38f8($at) +/* 17F0D8 802507F8 0C093BE9 */ jal func_8024EFA4 +/* 17F0DC 802507FC 0220202D */ daddu $a0, $s1, $zero +.L80250800: +/* 17F0E0 80250800 8FBF001C */ lw $ra, 0x1c($sp) +/* 17F0E4 80250804 8FB20018 */ lw $s2, 0x18($sp) +/* 17F0E8 80250808 8FB10014 */ lw $s1, 0x14($sp) +/* 17F0EC 8025080C 8FB00010 */ lw $s0, 0x10($sp) +/* 17F0F0 80250810 03E00008 */ jr $ra +/* 17F0F4 80250814 27BD0020 */ addiu $sp, $sp, 0x20 + +/* 17F0F8 80250818 27BDFFC8 */ addiu $sp, $sp, -0x38 +/* 17F0FC 8025081C AFB20020 */ sw $s2, 0x20($sp) +/* 17F100 80250820 24B2000F */ addiu $s2, $a1, 0xf +/* 17F104 80250824 AFB30024 */ sw $s3, 0x24($sp) +/* 17F108 80250828 0080982D */ daddu $s3, $a0, $zero +/* 17F10C 8025082C AFBF002C */ sw $ra, 0x2c($sp) +/* 17F110 80250830 AFB40028 */ sw $s4, 0x28($sp) +/* 17F114 80250834 AFB1001C */ sw $s1, 0x1c($sp) +/* 17F118 80250838 AFB00018 */ sw $s0, 0x18($sp) +/* 17F11C 8025083C F7B40030 */ sdc1 $f20, 0x30($sp) +/* 17F120 80250840 86630012 */ lh $v1, 0x12($s3) +/* 17F124 80250844 2C620055 */ sltiu $v0, $v1, 0x55 +/* 17F128 80250848 1040018D */ beqz $v0, .L80250E80 +/* 17F12C 8025084C 24D10006 */ addiu $s1, $a2, 6 +/* 17F130 80250850 00031080 */ sll $v0, $v1, 2 +/* 17F134 80250854 3C01802A */ lui $at, 0x802a +/* 17F138 80250858 00220821 */ addu $at, $at, $v0 +/* 17F13C 8025085C 8C22D048 */ lw $v0, -0x2fb8($at) +/* 17F140 80250860 00400008 */ jr $v0 +/* 17F144 80250864 00000000 */ nop +/* 17F148 80250868 86620012 */ lh $v0, 0x12($s3) +/* 17F14C 8025086C 00021080 */ sll $v0, $v0, 2 +/* 17F150 80250870 3C108028 */ lui $s0, 0x8028 +/* 17F154 80250874 02028021 */ addu $s0, $s0, $v0 +/* 17F158 80250878 8E103770 */ lw $s0, 0x3770($s0) +/* 17F15C 8025087C 0C04992C */ jal func_801264B0 +/* 17F160 80250880 0200202D */ daddu $a0, $s0, $zero +/* 17F164 80250884 2443FFFF */ addiu $v1, $v0, -1 +/* 17F168 80250888 0200202D */ daddu $a0, $s0, $zero +/* 17F16C 8025088C 0240282D */ daddu $a1, $s2, $zero +/* 17F170 80250890 240700FF */ addiu $a3, $zero, 0xff +/* 17F174 80250894 00031040 */ sll $v0, $v1, 1 +/* 17F178 80250898 3C068028 */ lui $a2, 0x8028 +/* 17F17C 8025089C 00C23021 */ addu $a2, $a2, $v0 +/* 17F180 802508A0 84C635D4 */ lh $a2, 0x35d4($a2) +/* 17F184 802508A4 2402000F */ addiu $v0, $zero, 0xf +/* 17F188 802508A8 AFA20010 */ sw $v0, 0x10($sp) +/* 17F18C 802508AC AFA00014 */ sw $zero, 0x14($sp) +/* 17F190 802508B0 0C04993B */ jal draw_string +/* 17F194 802508B4 02263021 */ addu $a2, $s1, $a2 +/* 17F198 802508B8 080943A0 */ j func_80250E80 +/* 17F19C 802508BC 00000000 */ nop + +/* 17F1A0 802508C0 86620012 */ lh $v0, 0x12($s3) +/* 17F1A4 802508C4 00021080 */ sll $v0, $v0, 2 +/* 17F1A8 802508C8 3C108028 */ lui $s0, 0x8028 +/* 17F1AC 802508CC 02028021 */ addu $s0, $s0, $v0 +/* 17F1B0 802508D0 8E103770 */ lw $s0, 0x3770($s0) +/* 17F1B4 802508D4 0C04992C */ jal func_801264B0 +/* 17F1B8 802508D8 0200202D */ daddu $a0, $s0, $zero +/* 17F1BC 802508DC 2443FFFF */ addiu $v1, $v0, -1 +/* 17F1C0 802508E0 0000282D */ daddu $a1, $zero, $zero +/* 17F1C4 802508E4 00031040 */ sll $v0, $v1, 1 +/* 17F1C8 802508E8 3C018028 */ lui $at, 0x8028 +/* 17F1CC 802508EC 00220821 */ addu $at, $at, $v0 +/* 17F1D0 802508F0 842235D4 */ lh $v0, 0x35d4($at) +/* 17F1D4 802508F4 3C04802A */ lui $a0, 0x802a +/* 17F1D8 802508F8 8484F640 */ lh $a0, -0x9c0($a0) +/* 17F1DC 802508FC 0C0496FA */ jal set_message_value +/* 17F1E0 80250900 02228821 */ addu $s1, $s1, $v0 +/* 17F1E4 80250904 08094259 */ j func_80250964 +/* 17F1E8 80250908 0200202D */ daddu $a0, $s0, $zero + +/* 17F1EC 8025090C 86620012 */ lh $v0, 0x12($s3) +/* 17F1F0 80250910 00021080 */ sll $v0, $v0, 2 +/* 17F1F4 80250914 3C108028 */ lui $s0, 0x8028 +/* 17F1F8 80250918 02028021 */ addu $s0, $s0, $v0 +/* 17F1FC 8025091C 8E103770 */ lw $s0, 0x3770($s0) +/* 17F200 80250920 0C04992C */ jal func_801264B0 +/* 17F204 80250924 0200202D */ daddu $a0, $s0, $zero +/* 17F208 80250928 2443FFFF */ addiu $v1, $v0, -1 +/* 17F20C 8025092C 0000282D */ daddu $a1, $zero, $zero +/* 17F210 80250930 00031840 */ sll $v1, $v1, 1 +/* 17F214 80250934 3C02802A */ lui $v0, 0x802a +/* 17F218 80250938 8442F640 */ lh $v0, -0x9c0($v0) +/* 17F21C 8025093C 3C018028 */ lui $at, 0x8028 +/* 17F220 80250940 00230821 */ addu $at, $at, $v1 +/* 17F224 80250944 842335D4 */ lh $v1, 0x35d4($at) +/* 17F228 80250948 00021080 */ sll $v0, $v0, 2 +/* 17F22C 8025094C 3C048028 */ lui $a0, 0x8028 +/* 17F230 80250950 00822021 */ addu $a0, $a0, $v0 +/* 17F234 80250954 8C8438C4 */ lw $a0, 0x38c4($a0) +/* 17F238 80250958 0C0496CF */ jal set_message_string +/* 17F23C 8025095C 02238821 */ addu $s1, $s1, $v1 +/* 17F240 80250960 0200202D */ daddu $a0, $s0, $zero +func_80250964: +/* 17F244 80250964 0240282D */ daddu $a1, $s2, $zero +/* 17F248 80250968 0220302D */ daddu $a2, $s1, $zero +/* 17F24C 8025096C 240700FF */ addiu $a3, $zero, 0xff +/* 17F250 80250970 2402000F */ addiu $v0, $zero, 0xf +/* 17F254 80250974 AFA20010 */ sw $v0, 0x10($sp) +/* 17F258 80250978 0C04993B */ jal draw_string +/* 17F25C 8025097C AFA00014 */ sw $zero, 0x14($sp) +/* 17F260 80250980 080943A0 */ j func_80250E80 +/* 17F264 80250984 00000000 */ nop + +/* 17F268 80250988 2645001D */ addiu $a1, $s2, 0x1d +/* 17F26C 8025098C 26260006 */ addiu $a2, $s1, 6 +/* 17F270 80250990 86620012 */ lh $v0, 0x12($s3) +/* 17F274 80250994 240700FF */ addiu $a3, $zero, 0xff +/* 17F278 80250998 00021080 */ sll $v0, $v0, 2 +/* 17F27C 8025099C 3C108028 */ lui $s0, 0x8028 +/* 17F280 802509A0 02028021 */ addu $s0, $s0, $v0 +/* 17F284 802509A4 8E103770 */ lw $s0, 0x3770($s0) +/* 17F288 802509A8 2402000F */ addiu $v0, $zero, 0xf +/* 17F28C 802509AC AFA20010 */ sw $v0, 0x10($sp) +/* 17F290 802509B0 AFA00014 */ sw $zero, 0x14($sp) +/* 17F294 802509B4 0C04993B */ jal draw_string +/* 17F298 802509B8 0200202D */ daddu $a0, $s0, $zero +/* 17F29C 802509BC 2645000D */ addiu $a1, $s2, 0xd +/* 17F2A0 802509C0 3C10802A */ lui $s0, 0x802a +/* 17F2A4 802509C4 2610F642 */ addiu $s0, $s0, -0x9be +/* 17F2A8 802509C8 86040000 */ lh $a0, ($s0) +/* 17F2AC 802509CC 0C051261 */ jal set_icon_render_pos +/* 17F2B0 802509D0 2626000E */ addiu $a2, $s1, 0xe +/* 17F2B4 802509D4 0809439D */ j func_80250E74 +/* 17F2B8 802509D8 00000000 */ nop + +/* 17F2BC 802509DC 82620016 */ lb $v0, 0x16($s3) +/* 17F2C0 802509E0 28420002 */ slti $v0, $v0, 2 +/* 17F2C4 802509E4 10400002 */ beqz $v0, .L802509F0 +/* 17F2C8 802509E8 241400FF */ addiu $s4, $zero, 0xff +/* 17F2CC 802509EC 241400A0 */ addiu $s4, $zero, 0xa0 +.L802509F0: +/* 17F2D0 802509F0 86630012 */ lh $v1, 0x12($s3) +/* 17F2D4 802509F4 2402003B */ addiu $v0, $zero, 0x3b +/* 17F2D8 802509F8 50620001 */ beql $v1, $v0, .L80250A00 +/* 17F2DC 802509FC 241400FF */ addiu $s4, $zero, 0xff +.L80250A00: +/* 17F2E0 80250A00 2652FFF5 */ addiu $s2, $s2, -0xb +/* 17F2E4 80250A04 00031080 */ sll $v0, $v1, 2 +/* 17F2E8 80250A08 3C108028 */ lui $s0, 0x8028 +/* 17F2EC 80250A0C 02028021 */ addu $s0, $s0, $v0 +/* 17F2F0 80250A10 8E103770 */ lw $s0, 0x3770($s0) +/* 17F2F4 80250A14 2631FFFA */ addiu $s1, $s1, -6 +/* 17F2F8 80250A18 0C04992C */ jal func_801264B0 +/* 17F2FC 80250A1C 0200202D */ daddu $a0, $s0, $zero +/* 17F300 80250A20 2443FFFF */ addiu $v1, $v0, -1 +/* 17F304 80250A24 0200202D */ daddu $a0, $s0, $zero +/* 17F308 80250A28 2645000B */ addiu $a1, $s2, 0xb +/* 17F30C 80250A2C 0280382D */ daddu $a3, $s4, $zero +/* 17F310 80250A30 00031040 */ sll $v0, $v1, 1 +/* 17F314 80250A34 3C038028 */ lui $v1, 0x8028 +/* 17F318 80250A38 00621821 */ addu $v1, $v1, $v0 +/* 17F31C 80250A3C 846335D4 */ lh $v1, 0x35d4($v1) +/* 17F320 80250A40 2402000F */ addiu $v0, $zero, 0xf +/* 17F324 80250A44 AFA20010 */ sw $v0, 0x10($sp) +/* 17F328 80250A48 AFA00014 */ sw $zero, 0x14($sp) +/* 17F32C 80250A4C 02238821 */ addu $s1, $s1, $v1 +/* 17F330 80250A50 0C04993B */ jal draw_string +/* 17F334 80250A54 26260006 */ addiu $a2, $s1, 6 +/* 17F338 80250A58 96620012 */ lhu $v0, 0x12($s3) +/* 17F33C 80250A5C 2442FFD2 */ addiu $v0, $v0, -0x2e +/* 17F340 80250A60 00021400 */ sll $v0, $v0, 0x10 +/* 17F344 80250A64 00021C03 */ sra $v1, $v0, 0x10 +/* 17F348 80250A68 2C620014 */ sltiu $v0, $v1, 0x14 +/* 17F34C 80250A6C 10400104 */ beqz $v0, .L80250E80 +/* 17F350 80250A70 00031080 */ sll $v0, $v1, 2 +/* 17F354 80250A74 3C01802A */ lui $at, 0x802a +/* 17F358 80250A78 00220821 */ addu $at, $at, $v0 +/* 17F35C 80250A7C 8C22D1A0 */ lw $v0, -0x2e60($at) +/* 17F360 80250A80 00400008 */ jr $v0 +/* 17F364 80250A84 00000000 */ nop +/* 17F368 80250A88 26450041 */ addiu $a1, $s2, 0x41 +/* 17F36C 80250A8C 3C10802A */ lui $s0, 0x802a +/* 17F370 80250A90 2610F642 */ addiu $s0, $s0, -0x9be +/* 17F374 80250A94 86040000 */ lh $a0, ($s0) +/* 17F378 80250A98 08094394 */ j func_80250E50 +/* 17F37C 80250A9C 2626000E */ addiu $a2, $s1, 0xe + +/* 17F380 80250AA0 26450037 */ addiu $a1, $s2, 0x37 +/* 17F384 80250AA4 3C10802A */ lui $s0, 0x802a +/* 17F388 80250AA8 2610F642 */ addiu $s0, $s0, -0x9be +/* 17F38C 80250AAC 86040000 */ lh $a0, ($s0) +/* 17F390 80250AB0 0C051261 */ jal set_icon_render_pos +/* 17F394 80250AB4 2626000E */ addiu $a2, $s1, 0xe +/* 17F398 80250AB8 86040000 */ lh $a0, ($s0) +/* 17F39C 80250ABC 3C053F19 */ lui $a1, 0x3f19 +/* 17F3A0 80250AC0 0C051308 */ jal func_80144C20 +/* 17F3A4 80250AC4 34A5999A */ ori $a1, $a1, 0x999a +/* 17F3A8 80250AC8 86040000 */ lh $a0, ($s0) +/* 17F3AC 80250ACC 0C0513AC */ jal func_80144EB0 +/* 17F3B0 80250AD0 0280282D */ daddu $a1, $s4, $zero +/* 17F3B4 80250AD4 86040000 */ lh $a0, ($s0) +/* 17F3B8 80250AD8 0C0511EA */ jal draw_icon_0 +/* 17F3BC 80250ADC 00000000 */ nop +/* 17F3C0 80250AE0 26450049 */ addiu $a1, $s2, 0x49 +/* 17F3C4 80250AE4 3C10802A */ lui $s0, 0x802a +/* 17F3C8 80250AE8 2610F644 */ addiu $s0, $s0, -0x9bc +/* 17F3CC 80250AEC 86040000 */ lh $a0, ($s0) +/* 17F3D0 80250AF0 0C051261 */ jal set_icon_render_pos +/* 17F3D4 80250AF4 2626001F */ addiu $a2, $s1, 0x1f +/* 17F3D8 80250AF8 0809439A */ j func_80250E68 +/* 17F3DC 80250AFC 00000000 */ nop + +/* 17F3E0 80250B00 26450040 */ addiu $a1, $s2, 0x40 +/* 17F3E4 80250B04 3C10802A */ lui $s0, 0x802a +/* 17F3E8 80250B08 2610F642 */ addiu $s0, $s0, -0x9be +/* 17F3EC 80250B0C 86040000 */ lh $a0, ($s0) +/* 17F3F0 80250B10 08094394 */ j func_80250E50 +/* 17F3F4 80250B14 2626000E */ addiu $a2, $s1, 0xe + +/* 17F3F8 80250B18 26450043 */ addiu $a1, $s2, 0x43 +/* 17F3FC 80250B1C 3C10802A */ lui $s0, 0x802a +/* 17F400 80250B20 2610F642 */ addiu $s0, $s0, -0x9be +/* 17F404 80250B24 86040000 */ lh $a0, ($s0) +/* 17F408 80250B28 08094394 */ j func_80250E50 +/* 17F40C 80250B2C 2626000E */ addiu $a2, $s1, 0xe + +/* 17F410 80250B30 26450038 */ addiu $a1, $s2, 0x38 +/* 17F414 80250B34 3C10802A */ lui $s0, 0x802a +/* 17F418 80250B38 2610F642 */ addiu $s0, $s0, -0x9be +/* 17F41C 80250B3C 86040000 */ lh $a0, ($s0) +/* 17F420 80250B40 0C051261 */ jal set_icon_render_pos +/* 17F424 80250B44 2626000E */ addiu $a2, $s1, 0xe +/* 17F428 80250B48 86040000 */ lh $a0, ($s0) +/* 17F42C 80250B4C 3C053F19 */ lui $a1, 0x3f19 +/* 17F430 80250B50 08094398 */ j func_80250E60 +/* 17F434 80250B54 34A5999A */ ori $a1, $a1, 0x999a + +/* 17F438 80250B58 26450041 */ addiu $a1, $s2, 0x41 +/* 17F43C 80250B5C 3C10802A */ lui $s0, 0x802a +/* 17F440 80250B60 2610F642 */ addiu $s0, $s0, -0x9be +/* 17F444 80250B64 86040000 */ lh $a0, ($s0) +/* 17F448 80250B68 0C051261 */ jal set_icon_render_pos +/* 17F44C 80250B6C 2626000D */ addiu $a2, $s1, 0xd +/* 17F450 80250B70 86040000 */ lh $a0, ($s0) +/* 17F454 80250B74 3C053F19 */ lui $a1, 0x3f19 +/* 17F458 80250B78 0C051308 */ jal func_80144C20 +/* 17F45C 80250B7C 34A5999A */ ori $a1, $a1, 0x999a +/* 17F460 80250B80 86040000 */ lh $a0, ($s0) +/* 17F464 80250B84 0C0513AC */ jal func_80144EB0 +/* 17F468 80250B88 0280282D */ daddu $a1, $s4, $zero +/* 17F46C 80250B8C 86040000 */ lh $a0, ($s0) +/* 17F470 80250B90 0C0511EA */ jal draw_icon_0 +/* 17F474 80250B94 00000000 */ nop +/* 17F478 80250B98 26450092 */ addiu $a1, $s2, 0x92 +/* 17F47C 80250B9C 3C10802A */ lui $s0, 0x802a +/* 17F480 80250BA0 2610F644 */ addiu $s0, $s0, -0x9bc +/* 17F484 80250BA4 86040000 */ lh $a0, ($s0) +/* 17F488 80250BA8 08094381 */ j func_80250E04 +/* 17F48C 80250BAC 26260020 */ addiu $a2, $s1, 0x20 + +/* 17F490 80250BB0 26450056 */ addiu $a1, $s2, 0x56 +/* 17F494 80250BB4 3C10802A */ lui $s0, 0x802a +/* 17F498 80250BB8 2610F642 */ addiu $s0, $s0, -0x9be +/* 17F49C 80250BBC 2631000D */ addiu $s1, $s1, 0xd +/* 17F4A0 80250BC0 86040000 */ lh $a0, ($s0) +/* 17F4A4 80250BC4 0C051261 */ jal set_icon_render_pos +/* 17F4A8 80250BC8 0220302D */ daddu $a2, $s1, $zero +/* 17F4AC 80250BCC 3C013F00 */ lui $at, 0x3f00 +/* 17F4B0 80250BD0 4481A000 */ mtc1 $at, $f20 +/* 17F4B4 80250BD4 86040000 */ lh $a0, ($s0) +/* 17F4B8 80250BD8 4405A000 */ mfc1 $a1, $f20 +/* 17F4BC 80250BDC 0C051308 */ jal func_80144C20 +/* 17F4C0 80250BE0 00000000 */ nop +/* 17F4C4 80250BE4 86040000 */ lh $a0, ($s0) +/* 17F4C8 80250BE8 0C0513AC */ jal func_80144EB0 +/* 17F4CC 80250BEC 0280282D */ daddu $a1, $s4, $zero +/* 17F4D0 80250BF0 86040000 */ lh $a0, ($s0) +/* 17F4D4 80250BF4 0C0511EA */ jal draw_icon_0 +/* 17F4D8 80250BF8 00000000 */ nop +/* 17F4DC 80250BFC 26450040 */ addiu $a1, $s2, 0x40 +/* 17F4E0 80250C00 3C10802A */ lui $s0, 0x802a +/* 17F4E4 80250C04 2610F644 */ addiu $s0, $s0, -0x9bc +/* 17F4E8 80250C08 86040000 */ lh $a0, ($s0) +/* 17F4EC 80250C0C 0C051261 */ jal set_icon_render_pos +/* 17F4F0 80250C10 0220302D */ daddu $a2, $s1, $zero +/* 17F4F4 80250C14 86040000 */ lh $a0, ($s0) +/* 17F4F8 80250C18 4405A000 */ mfc1 $a1, $f20 +/* 17F4FC 80250C1C 0C051308 */ jal func_80144C20 +/* 17F500 80250C20 00000000 */ nop +/* 17F504 80250C24 86040000 */ lh $a0, ($s0) +/* 17F508 80250C28 0C0513AC */ jal func_80144EB0 +/* 17F50C 80250C2C 0280282D */ daddu $a1, $s4, $zero +/* 17F510 80250C30 86040000 */ lh $a0, ($s0) +/* 17F514 80250C34 0C0511EA */ jal draw_icon_0 +/* 17F518 80250C38 00000000 */ nop +/* 17F51C 80250C3C 2645006C */ addiu $a1, $s2, 0x6c +/* 17F520 80250C40 3C10802A */ lui $s0, 0x802a +/* 17F524 80250C44 2610F646 */ addiu $s0, $s0, -0x9ba +/* 17F528 80250C48 86040000 */ lh $a0, ($s0) +/* 17F52C 80250C4C 08094394 */ j func_80250E50 +/* 17F530 80250C50 0220302D */ daddu $a2, $s1, $zero + +/* 17F534 80250C54 26450069 */ addiu $a1, $s2, 0x69 +/* 17F538 80250C58 3C10802A */ lui $s0, 0x802a +/* 17F53C 80250C5C 2610F642 */ addiu $s0, $s0, -0x9be +/* 17F540 80250C60 86040000 */ lh $a0, ($s0) +/* 17F544 80250C64 0C051261 */ jal set_icon_render_pos +/* 17F548 80250C68 2626000D */ addiu $a2, $s1, 0xd +/* 17F54C 80250C6C 86040000 */ lh $a0, ($s0) +/* 17F550 80250C70 0C0513AC */ jal func_80144EB0 +/* 17F554 80250C74 0280282D */ daddu $a1, $s4, $zero +/* 17F558 80250C78 86040000 */ lh $a0, ($s0) +/* 17F55C 80250C7C 0C0511EA */ jal draw_icon_0 +/* 17F560 80250C80 00000000 */ nop +/* 17F564 80250C84 26450041 */ addiu $a1, $s2, 0x41 +/* 17F568 80250C88 3C10802A */ lui $s0, 0x802a +/* 17F56C 80250C8C 2610F644 */ addiu $s0, $s0, -0x9bc +/* 17F570 80250C90 86040000 */ lh $a0, ($s0) +/* 17F574 80250C94 08094394 */ j func_80250E50 +/* 17F578 80250C98 2626000E */ addiu $a2, $s1, 0xe + +/* 17F57C 80250C9C 2645003F */ addiu $a1, $s2, 0x3f +/* 17F580 80250CA0 3C10802A */ lui $s0, 0x802a +/* 17F584 80250CA4 2610F642 */ addiu $s0, $s0, -0x9be +/* 17F588 80250CA8 2631000E */ addiu $s1, $s1, 0xe +/* 17F58C 80250CAC 86040000 */ lh $a0, ($s0) +/* 17F590 80250CB0 0C051261 */ jal set_icon_render_pos +/* 17F594 80250CB4 0220302D */ daddu $a2, $s1, $zero +/* 17F598 80250CB8 3C013F00 */ lui $at, 0x3f00 +/* 17F59C 80250CBC 4481A000 */ mtc1 $at, $f20 +/* 17F5A0 80250CC0 86040000 */ lh $a0, ($s0) +/* 17F5A4 80250CC4 4405A000 */ mfc1 $a1, $f20 +/* 17F5A8 80250CC8 0C051308 */ jal func_80144C20 +/* 17F5AC 80250CCC 00000000 */ nop +/* 17F5B0 80250CD0 86040000 */ lh $a0, ($s0) +/* 17F5B4 80250CD4 0C0513AC */ jal func_80144EB0 +/* 17F5B8 80250CD8 0280282D */ daddu $a1, $s4, $zero +/* 17F5BC 80250CDC 86040000 */ lh $a0, ($s0) +/* 17F5C0 80250CE0 0C0511EA */ jal draw_icon_0 +/* 17F5C4 80250CE4 00000000 */ nop +/* 17F5C8 80250CE8 26450054 */ addiu $a1, $s2, 0x54 +/* 17F5CC 80250CEC 3C10802A */ lui $s0, 0x802a +/* 17F5D0 80250CF0 2610F644 */ addiu $s0, $s0, -0x9bc +/* 17F5D4 80250CF4 86040000 */ lh $a0, ($s0) +/* 17F5D8 80250CF8 08094394 */ j func_80250E50 +/* 17F5DC 80250CFC 0220302D */ daddu $a2, $s1, $zero + +/* 17F5E0 80250D00 2645007C */ addiu $a1, $s2, 0x7c +/* 17F5E4 80250D04 3C10802A */ lui $s0, 0x802a +/* 17F5E8 80250D08 2610F642 */ addiu $s0, $s0, -0x9be +/* 17F5EC 80250D0C 86040000 */ lh $a0, ($s0) +/* 17F5F0 80250D10 08094394 */ j func_80250E50 +/* 17F5F4 80250D14 2626000E */ addiu $a2, $s1, 0xe + +/* 17F5F8 80250D18 26450038 */ addiu $a1, $s2, 0x38 +/* 17F5FC 80250D1C 3C10802A */ lui $s0, 0x802a +/* 17F600 80250D20 2610F642 */ addiu $s0, $s0, -0x9be +/* 17F604 80250D24 86040000 */ lh $a0, ($s0) +/* 17F608 80250D28 0C051261 */ jal set_icon_render_pos +/* 17F60C 80250D2C 2626001F */ addiu $a2, $s1, 0x1f +/* 17F610 80250D30 86040000 */ lh $a0, ($s0) +/* 17F614 80250D34 0C0513AC */ jal func_80144EB0 +/* 17F618 80250D38 0280282D */ daddu $a1, $s4, $zero +/* 17F61C 80250D3C 86040000 */ lh $a0, ($s0) +/* 17F620 80250D40 0C0511EA */ jal draw_icon_0 +/* 17F624 80250D44 00000000 */ nop +/* 17F628 80250D48 26450035 */ addiu $a1, $s2, 0x35 +/* 17F62C 80250D4C 3C10802A */ lui $s0, 0x802a +/* 17F630 80250D50 2610F644 */ addiu $s0, $s0, -0x9bc +/* 17F634 80250D54 86040000 */ lh $a0, ($s0) +/* 17F638 80250D58 08094394 */ j func_80250E50 +/* 17F63C 80250D5C 2626000E */ addiu $a2, $s1, 0xe + +/* 17F640 80250D60 2645006B */ addiu $a1, $s2, 0x6b +/* 17F644 80250D64 3C10802A */ lui $s0, 0x802a +/* 17F648 80250D68 2610F642 */ addiu $s0, $s0, -0x9be +/* 17F64C 80250D6C 86040000 */ lh $a0, ($s0) +/* 17F650 80250D70 0C051261 */ jal set_icon_render_pos +/* 17F654 80250D74 2626000D */ addiu $a2, $s1, 0xd +/* 17F658 80250D78 86040000 */ lh $a0, ($s0) +/* 17F65C 80250D7C 3C053F19 */ lui $a1, 0x3f19 +/* 17F660 80250D80 34A5999A */ ori $a1, $a1, 0x999a +/* 17F664 80250D84 0C051308 */ jal func_80144C20 +/* 17F668 80250D88 2631000F */ addiu $s1, $s1, 0xf +/* 17F66C 80250D8C 86040000 */ lh $a0, ($s0) +/* 17F670 80250D90 0C0513AC */ jal func_80144EB0 +/* 17F674 80250D94 0280282D */ daddu $a1, $s4, $zero +/* 17F678 80250D98 86040000 */ lh $a0, ($s0) +/* 17F67C 80250D9C 0C0511EA */ jal draw_icon_0 +/* 17F680 80250DA0 00000000 */ nop +/* 17F684 80250DA4 264500D2 */ addiu $a1, $s2, 0xd2 +/* 17F688 80250DA8 3C10802A */ lui $s0, 0x802a +/* 17F68C 80250DAC 2610F644 */ addiu $s0, $s0, -0x9bc +/* 17F690 80250DB0 86040000 */ lh $a0, ($s0) +/* 17F694 80250DB4 0C051261 */ jal set_icon_render_pos +/* 17F698 80250DB8 0220302D */ daddu $a2, $s1, $zero +/* 17F69C 80250DBC 3C013F4C */ lui $at, 0x3f4c +/* 17F6A0 80250DC0 3421CCCD */ ori $at, $at, 0xcccd +/* 17F6A4 80250DC4 4481A000 */ mtc1 $at, $f20 +/* 17F6A8 80250DC8 86040000 */ lh $a0, ($s0) +/* 17F6AC 80250DCC 4405A000 */ mfc1 $a1, $f20 +/* 17F6B0 80250DD0 0C051308 */ jal func_80144C20 +/* 17F6B4 80250DD4 00000000 */ nop +/* 17F6B8 80250DD8 86040000 */ lh $a0, ($s0) +/* 17F6BC 80250DDC 0C0513AC */ jal func_80144EB0 +/* 17F6C0 80250DE0 0280282D */ daddu $a1, $s4, $zero +/* 17F6C4 80250DE4 86040000 */ lh $a0, ($s0) +/* 17F6C8 80250DE8 0C051086 */ jal func_80144218 +/* 17F6CC 80250DEC 00000000 */ nop +/* 17F6D0 80250DF0 26450038 */ addiu $a1, $s2, 0x38 +/* 17F6D4 80250DF4 3C10802A */ lui $s0, 0x802a +/* 17F6D8 80250DF8 2610F646 */ addiu $s0, $s0, -0x9ba +/* 17F6DC 80250DFC 86040000 */ lh $a0, ($s0) +/* 17F6E0 80250E00 0220302D */ daddu $a2, $s1, $zero +func_80250E04: +/* 17F6E4 80250E04 0C051261 */ jal set_icon_render_pos +/* 17F6E8 80250E08 00000000 */ nop +/* 17F6EC 80250E0C 86040000 */ lh $a0, ($s0) +/* 17F6F0 80250E10 3C053F4C */ lui $a1, 0x3f4c +/* 17F6F4 80250E14 0C051308 */ jal func_80144C20 +/* 17F6F8 80250E18 34A5CCCD */ ori $a1, $a1, 0xcccd +/* 17F6FC 80250E1C 86040000 */ lh $a0, ($s0) +/* 17F700 80250E20 0C0513AC */ jal func_80144EB0 +/* 17F704 80250E24 0280282D */ daddu $a1, $s4, $zero +/* 17F708 80250E28 86040000 */ lh $a0, ($s0) +/* 17F70C 80250E2C 0C051086 */ jal func_80144218 +/* 17F710 80250E30 00000000 */ nop +/* 17F714 80250E34 080943A0 */ j func_80250E80 +/* 17F718 80250E38 00000000 */ nop + +/* 17F71C 80250E3C 26450040 */ addiu $a1, $s2, 0x40 +/* 17F720 80250E40 3C10802A */ lui $s0, 0x802a +/* 17F724 80250E44 2610F642 */ addiu $s0, $s0, -0x9be +/* 17F728 80250E48 86040000 */ lh $a0, ($s0) +/* 17F72C 80250E4C 2626000D */ addiu $a2, $s1, 0xd +func_80250E50: +/* 17F730 80250E50 0C051261 */ jal set_icon_render_pos +/* 17F734 80250E54 00000000 */ nop +/* 17F738 80250E58 86040000 */ lh $a0, ($s0) +/* 17F73C 80250E5C 3C053F00 */ lui $a1, 0x3f00 +func_80250E60: +/* 17F740 80250E60 0C051308 */ jal func_80144C20 +/* 17F744 80250E64 00000000 */ nop +func_80250E68: +/* 17F748 80250E68 86040000 */ lh $a0, ($s0) +/* 17F74C 80250E6C 0C0513AC */ jal func_80144EB0 +/* 17F750 80250E70 0280282D */ daddu $a1, $s4, $zero +func_80250E74: +/* 17F754 80250E74 86040000 */ lh $a0, ($s0) +/* 17F758 80250E78 0C0511EA */ jal draw_icon_0 +/* 17F75C 80250E7C 00000000 */ nop +func_80250E80: +.L80250E80: +/* 17F760 80250E80 8FBF002C */ lw $ra, 0x2c($sp) +/* 17F764 80250E84 8FB40028 */ lw $s4, 0x28($sp) +/* 17F768 80250E88 8FB30024 */ lw $s3, 0x24($sp) +/* 17F76C 80250E8C 8FB20020 */ lw $s2, 0x20($sp) +/* 17F770 80250E90 8FB1001C */ lw $s1, 0x1c($sp) +/* 17F774 80250E94 8FB00018 */ lw $s0, 0x18($sp) +/* 17F778 80250E98 D7B40030 */ ldc1 $f20, 0x30($sp) +/* 17F77C 80250E9C 03E00008 */ jr $ra +/* 17F780 80250EA0 27BD0038 */ addiu $sp, $sp, 0x38 + +show_message_popup: +/* 17F784 80250EA4 27BDFFC0 */ addiu $sp, $sp, -0x40 +/* 17F788 80250EA8 AFB30034 */ sw $s3, 0x34($sp) +/* 17F78C 80250EAC 0080982D */ daddu $s3, $a0, $zero +/* 17F790 80250EB0 AFBF003C */ sw $ra, 0x3c($sp) +/* 17F794 80250EB4 AFB40038 */ sw $s4, 0x38($sp) +/* 17F798 80250EB8 AFB20030 */ sw $s2, 0x30($sp) +/* 17F79C 80250EBC AFB1002C */ sw $s1, 0x2c($sp) +/* 17F7A0 80250EC0 AFB00028 */ sw $s0, 0x28($sp) +/* 17F7A4 80250EC4 86630012 */ lh $v1, 0x12($s3) +/* 17F7A8 80250EC8 2C620055 */ sltiu $v0, $v1, 0x55 +/* 17F7AC 80250ECC 104000F1 */ beqz $v0, .L80251294 +/* 17F7B0 80250ED0 24140050 */ addiu $s4, $zero, 0x50 +/* 17F7B4 80250ED4 00031080 */ sll $v0, $v1, 2 +/* 17F7B8 80250ED8 3C01802A */ lui $at, 0x802a +/* 17F7BC 80250EDC 00220821 */ addu $at, $at, $v0 +/* 17F7C0 80250EE0 8C22D1F0 */ lw $v0, -0x2e10($at) +/* 17F7C4 80250EE4 00400008 */ jr $v0 +/* 17F7C8 80250EE8 00000000 */ nop +/* 17F7CC 80250EEC 82620017 */ lb $v0, 0x17($s3) +/* 17F7D0 80250EF0 104000E8 */ beqz $v0, .L80251294 +/* 17F7D4 80250EF4 0000282D */ daddu $a1, $zero, $zero +/* 17F7D8 80250EF8 86620012 */ lh $v0, 0x12($s3) +/* 17F7DC 80250EFC A2600017 */ sb $zero, 0x17($s3) +/* 17F7E0 80250F00 00021080 */ sll $v0, $v0, 2 +/* 17F7E4 80250F04 3C108028 */ lui $s0, 0x8028 +/* 17F7E8 80250F08 02028021 */ addu $s0, $s0, $v0 +/* 17F7EC 80250F0C 8E103770 */ lw $s0, 0x3770($s0) +/* 17F7F0 80250F10 0C04991D */ jal get_string_width +/* 17F7F4 80250F14 0200202D */ daddu $a0, $s0, $zero +/* 17F7F8 80250F18 2447001E */ addiu $a3, $v0, 0x1e +/* 17F7FC 80250F1C 000717C2 */ srl $v0, $a3, 0x1f +/* 17F800 80250F20 00E21021 */ addu $v0, $a3, $v0 +/* 17F804 80250F24 00021043 */ sra $v0, $v0, 1 +/* 17F808 80250F28 240300A0 */ addiu $v1, $zero, 0xa0 +/* 17F80C 80250F2C 00628823 */ subu $s1, $v1, $v0 +/* 17F810 80250F30 00E0902D */ daddu $s2, $a3, $zero +/* 17F814 80250F34 0C04992C */ jal func_801264B0 +/* 17F818 80250F38 0200202D */ daddu $a0, $s0, $zero +/* 17F81C 80250F3C 2442FFFF */ addiu $v0, $v0, -1 +/* 17F820 80250F40 24040009 */ addiu $a0, $zero, 9 +/* 17F824 80250F44 0220282D */ daddu $a1, $s1, $zero +/* 17F828 80250F48 0280302D */ daddu $a2, $s4, $zero +/* 17F82C 80250F4C 00021040 */ sll $v0, $v0, 1 +/* 17F830 80250F50 0240382D */ daddu $a3, $s2, $zero +/* 17F834 80250F54 3C088028 */ lui $t0, 0x8028 +/* 17F838 80250F58 01024021 */ addu $t0, $t0, $v0 +/* 17F83C 80250F5C 850835D0 */ lh $t0, 0x35d0($t0) +/* 17F840 80250F60 3C028025 */ lui $v0, 0x8025 +/* 17F844 80250F64 24420818 */ addiu $v0, $v0, 0x818 +/* 17F848 80250F68 AFA20018 */ sw $v0, 0x18($sp) +/* 17F84C 80250F6C 2402FFFF */ addiu $v0, $zero, -1 +/* 17F850 80250F70 AFA00014 */ sw $zero, 0x14($sp) +/* 17F854 80250F74 AFB3001C */ sw $s3, 0x1c($sp) +/* 17F858 80250F78 AFA20020 */ sw $v0, 0x20($sp) +/* 17F85C 80250F7C 0C051F32 */ jal func_80147CC8 +/* 17F860 80250F80 AFA80010 */ sw $t0, 0x10($sp) +/* 17F864 80250F84 24040009 */ addiu $a0, $zero, 9 +/* 17F868 80250F88 080944A3 */ j func_8025128C +/* 17F86C 80250F8C 24050001 */ addiu $a1, $zero, 1 + +/* 17F870 80250F90 82620017 */ lb $v0, 0x17($s3) +/* 17F874 80250F94 104000BF */ beqz $v0, .L80251294 +/* 17F878 80250F98 00000000 */ nop +/* 17F87C 80250F9C 86620012 */ lh $v0, 0x12($s3) +/* 17F880 80250FA0 A2600017 */ sb $zero, 0x17($s3) +/* 17F884 80250FA4 00021080 */ sll $v0, $v0, 2 +/* 17F888 80250FA8 3C048028 */ lui $a0, 0x8028 +/* 17F88C 80250FAC 00822021 */ addu $a0, $a0, $v0 +/* 17F890 80250FB0 8C843770 */ lw $a0, 0x3770($a0) +/* 17F894 80250FB4 0C04991D */ jal get_string_width +/* 17F898 80250FB8 0000282D */ daddu $a1, $zero, $zero +/* 17F89C 80250FBC 24470037 */ addiu $a3, $v0, 0x37 +/* 17F8A0 80250FC0 24080028 */ addiu $t0, $zero, 0x28 +/* 17F8A4 80250FC4 24040009 */ addiu $a0, $zero, 9 +/* 17F8A8 80250FC8 00072FC2 */ srl $a1, $a3, 0x1f +/* 17F8AC 80250FCC 00E52821 */ addu $a1, $a3, $a1 +/* 17F8B0 80250FD0 00052843 */ sra $a1, $a1, 1 +/* 17F8B4 80250FD4 240200A0 */ addiu $v0, $zero, 0xa0 +/* 17F8B8 80250FD8 00452823 */ subu $a1, $v0, $a1 +/* 17F8BC 80250FDC 0280302D */ daddu $a2, $s4, $zero +/* 17F8C0 80250FE0 3C028025 */ lui $v0, 0x8025 +/* 17F8C4 80250FE4 24420818 */ addiu $v0, $v0, 0x818 +/* 17F8C8 80250FE8 AFA20018 */ sw $v0, 0x18($sp) +/* 17F8CC 80250FEC 2402FFFF */ addiu $v0, $zero, -1 +/* 17F8D0 80250FF0 AFA80010 */ sw $t0, 0x10($sp) +/* 17F8D4 80250FF4 AFA00014 */ sw $zero, 0x14($sp) +/* 17F8D8 80250FF8 AFB3001C */ sw $s3, 0x1c($sp) +/* 17F8DC 80250FFC 0C051F32 */ jal func_80147CC8 +/* 17F8E0 80251000 AFA20020 */ sw $v0, 0x20($sp) +/* 17F8E4 80251004 24040009 */ addiu $a0, $zero, 9 +/* 17F8E8 80251008 080944A3 */ j func_8025128C +/* 17F8EC 8025100C 24050001 */ addiu $a1, $zero, 1 + +/* 17F8F0 80251010 82620017 */ lb $v0, 0x17($s3) +/* 17F8F4 80251014 1040009F */ beqz $v0, .L80251294 +/* 17F8F8 80251018 00000000 */ nop +/* 17F8FC 8025101C 86620012 */ lh $v0, 0x12($s3) +/* 17F900 80251020 A2600017 */ sb $zero, 0x17($s3) +/* 17F904 80251024 3C04802A */ lui $a0, 0x802a +/* 17F908 80251028 8484F640 */ lh $a0, -0x9c0($a0) +/* 17F90C 8025102C 00021080 */ sll $v0, $v0, 2 +/* 17F910 80251030 3C108028 */ lui $s0, 0x8028 +/* 17F914 80251034 02028021 */ addu $s0, $s0, $v0 +/* 17F918 80251038 8E103770 */ lw $s0, 0x3770($s0) +/* 17F91C 8025103C 0C0496FA */ jal set_message_value +/* 17F920 80251040 0000282D */ daddu $a1, $zero, $zero +/* 17F924 80251044 0000282D */ daddu $a1, $zero, $zero +/* 17F928 80251048 0C04991D */ jal get_string_width +/* 17F92C 8025104C 0200202D */ daddu $a0, $s0, $zero +/* 17F930 80251050 2447001F */ addiu $a3, $v0, 0x1f +/* 17F934 80251054 000717C2 */ srl $v0, $a3, 0x1f +/* 17F938 80251058 00E21021 */ addu $v0, $a3, $v0 +/* 17F93C 8025105C 00021043 */ sra $v0, $v0, 1 +/* 17F940 80251060 240300A0 */ addiu $v1, $zero, 0xa0 +/* 17F944 80251064 00628823 */ subu $s1, $v1, $v0 +/* 17F948 80251068 00E0902D */ daddu $s2, $a3, $zero +/* 17F94C 8025106C 0C04992C */ jal func_801264B0 +/* 17F950 80251070 0200202D */ daddu $a0, $s0, $zero +/* 17F954 80251074 2442FFFF */ addiu $v0, $v0, -1 +/* 17F958 80251078 24040009 */ addiu $a0, $zero, 9 +/* 17F95C 8025107C 0220282D */ daddu $a1, $s1, $zero +/* 17F960 80251080 0280302D */ daddu $a2, $s4, $zero +/* 17F964 80251084 00021040 */ sll $v0, $v0, 1 +/* 17F968 80251088 0240382D */ daddu $a3, $s2, $zero +/* 17F96C 8025108C 3C088028 */ lui $t0, 0x8028 +/* 17F970 80251090 01024021 */ addu $t0, $t0, $v0 +/* 17F974 80251094 850835D0 */ lh $t0, 0x35d0($t0) +/* 17F978 80251098 3C028025 */ lui $v0, 0x8025 +/* 17F97C 8025109C 24420818 */ addiu $v0, $v0, 0x818 +/* 17F980 802510A0 AFA20018 */ sw $v0, 0x18($sp) +/* 17F984 802510A4 2402FFFF */ addiu $v0, $zero, -1 +/* 17F988 802510A8 AFA00014 */ sw $zero, 0x14($sp) +/* 17F98C 802510AC AFB3001C */ sw $s3, 0x1c($sp) +/* 17F990 802510B0 AFA20020 */ sw $v0, 0x20($sp) +/* 17F994 802510B4 0C051F32 */ jal func_80147CC8 +/* 17F998 802510B8 AFA80010 */ sw $t0, 0x10($sp) +/* 17F99C 802510BC 24040009 */ addiu $a0, $zero, 9 +/* 17F9A0 802510C0 080944A3 */ j func_8025128C +/* 17F9A4 802510C4 24050001 */ addiu $a1, $zero, 1 + +/* 17F9A8 802510C8 82620017 */ lb $v0, 0x17($s3) +/* 17F9AC 802510CC 10400071 */ beqz $v0, .L80251294 +/* 17F9B0 802510D0 00000000 */ nop +/* 17F9B4 802510D4 A2600017 */ sb $zero, 0x17($s3) +/* 17F9B8 802510D8 3C03802A */ lui $v1, 0x802a +/* 17F9BC 802510DC 8463F640 */ lh $v1, -0x9c0($v1) +/* 17F9C0 802510E0 86620012 */ lh $v0, 0x12($s3) +/* 17F9C4 802510E4 00031880 */ sll $v1, $v1, 2 +/* 17F9C8 802510E8 00021080 */ sll $v0, $v0, 2 +/* 17F9CC 802510EC 3C048028 */ lui $a0, 0x8028 +/* 17F9D0 802510F0 00832021 */ addu $a0, $a0, $v1 +/* 17F9D4 802510F4 8C8438C4 */ lw $a0, 0x38c4($a0) +/* 17F9D8 802510F8 3C108028 */ lui $s0, 0x8028 +/* 17F9DC 802510FC 02028021 */ addu $s0, $s0, $v0 +/* 17F9E0 80251100 8E103770 */ lw $s0, 0x3770($s0) +/* 17F9E4 80251104 0C0496CF */ jal set_message_string +/* 17F9E8 80251108 0000282D */ daddu $a1, $zero, $zero +/* 17F9EC 8025110C 0200202D */ daddu $a0, $s0, $zero +/* 17F9F0 80251110 0C04991D */ jal get_string_width +/* 17F9F4 80251114 0000282D */ daddu $a1, $zero, $zero +/* 17F9F8 80251118 2447001F */ addiu $a3, $v0, 0x1f +/* 17F9FC 8025111C 000717C2 */ srl $v0, $a3, 0x1f +/* 17FA00 80251120 00E21021 */ addu $v0, $a3, $v0 +/* 17FA04 80251124 00021043 */ sra $v0, $v0, 1 +/* 17FA08 80251128 240300A0 */ addiu $v1, $zero, 0xa0 +/* 17FA0C 8025112C 00628823 */ subu $s1, $v1, $v0 +/* 17FA10 80251130 00E0902D */ daddu $s2, $a3, $zero +/* 17FA14 80251134 0C04992C */ jal func_801264B0 +/* 17FA18 80251138 0200202D */ daddu $a0, $s0, $zero +/* 17FA1C 8025113C 2442FFFF */ addiu $v0, $v0, -1 +/* 17FA20 80251140 24040009 */ addiu $a0, $zero, 9 +/* 17FA24 80251144 0220282D */ daddu $a1, $s1, $zero +/* 17FA28 80251148 0280302D */ daddu $a2, $s4, $zero +/* 17FA2C 8025114C 00021040 */ sll $v0, $v0, 1 +/* 17FA30 80251150 0240382D */ daddu $a3, $s2, $zero +/* 17FA34 80251154 3C088028 */ lui $t0, 0x8028 +/* 17FA38 80251158 01024021 */ addu $t0, $t0, $v0 +/* 17FA3C 8025115C 850835D0 */ lh $t0, 0x35d0($t0) +/* 17FA40 80251160 3C028025 */ lui $v0, 0x8025 +/* 17FA44 80251164 24420818 */ addiu $v0, $v0, 0x818 +/* 17FA48 80251168 AFA20018 */ sw $v0, 0x18($sp) +/* 17FA4C 8025116C 2402FFFF */ addiu $v0, $zero, -1 +/* 17FA50 80251170 AFA00014 */ sw $zero, 0x14($sp) +/* 17FA54 80251174 AFB3001C */ sw $s3, 0x1c($sp) +/* 17FA58 80251178 AFA20020 */ sw $v0, 0x20($sp) +/* 17FA5C 8025117C 0C051F32 */ jal func_80147CC8 +/* 17FA60 80251180 AFA80010 */ sw $t0, 0x10($sp) +/* 17FA64 80251184 24040009 */ addiu $a0, $zero, 9 +/* 17FA68 80251188 080944A3 */ j func_8025128C +/* 17FA6C 8025118C 24050001 */ addiu $a1, $zero, 1 + +/* 17FA70 80251190 82620017 */ lb $v0, 0x17($s3) +/* 17FA74 80251194 1040003F */ beqz $v0, .L80251294 +/* 17FA78 80251198 0000282D */ daddu $a1, $zero, $zero +/* 17FA7C 8025119C 86620012 */ lh $v0, 0x12($s3) +/* 17FA80 802511A0 A2600017 */ sb $zero, 0x17($s3) +/* 17FA84 802511A4 00021080 */ sll $v0, $v0, 2 +/* 17FA88 802511A8 3C108028 */ lui $s0, 0x8028 +/* 17FA8C 802511AC 02028021 */ addu $s0, $s0, $v0 +/* 17FA90 802511B0 8E103770 */ lw $s0, 0x3770($s0) +/* 17FA94 802511B4 241400C0 */ addiu $s4, $zero, 0xc0 +/* 17FA98 802511B8 0C04991D */ jal get_string_width +/* 17FA9C 802511BC 0200202D */ daddu $a0, $s0, $zero +/* 17FAA0 802511C0 2447001F */ addiu $a3, $v0, 0x1f +/* 17FAA4 802511C4 000717C2 */ srl $v0, $a3, 0x1f +/* 17FAA8 802511C8 00E21021 */ addu $v0, $a3, $v0 +/* 17FAAC 802511CC 00021043 */ sra $v0, $v0, 1 +/* 17FAB0 802511D0 240300A0 */ addiu $v1, $zero, 0xa0 +/* 17FAB4 802511D4 00628823 */ subu $s1, $v1, $v0 +/* 17FAB8 802511D8 00E0902D */ daddu $s2, $a3, $zero +/* 17FABC 802511DC 0C04992C */ jal func_801264B0 +/* 17FAC0 802511E0 0200202D */ daddu $a0, $s0, $zero +/* 17FAC4 802511E4 2442FFFF */ addiu $v0, $v0, -1 +/* 17FAC8 802511E8 00021840 */ sll $v1, $v0, 1 +/* 17FACC 802511EC 2410003B */ addiu $s0, $zero, 0x3b +/* 17FAD0 802511F0 86620012 */ lh $v0, 0x12($s3) +/* 17FAD4 802511F4 3C088028 */ lui $t0, 0x8028 +/* 17FAD8 802511F8 01034021 */ addu $t0, $t0, $v1 +/* 17FADC 802511FC 850835D0 */ lh $t0, 0x35d0($t0) +/* 17FAE0 80251200 14500005 */ bne $v0, $s0, .L80251218 +/* 17FAE4 80251204 24040009 */ addiu $a0, $zero, 9 +/* 17FAE8 80251208 24140078 */ addiu $s4, $zero, 0x78 +/* 17FAEC 8025120C 24020001 */ addiu $v0, $zero, 1 +/* 17FAF0 80251210 3C01802A */ lui $at, 0x802a +/* 17FAF4 80251214 A422F64C */ sh $v0, -0x9b4($at) +.L80251218: +/* 17FAF8 80251218 0220282D */ daddu $a1, $s1, $zero +/* 17FAFC 8025121C 0240382D */ daddu $a3, $s2, $zero +/* 17FB00 80251220 3C018028 */ lui $at, 0x8028 +/* 17FB04 80251224 00230821 */ addu $at, $at, $v1 +/* 17FB08 80251228 942335D8 */ lhu $v1, 0x35d8($at) +/* 17FB0C 8025122C 3C028025 */ lui $v0, 0x8025 +/* 17FB10 80251230 24420818 */ addiu $v0, $v0, 0x818 +/* 17FB14 80251234 AFA20018 */ sw $v0, 0x18($sp) +/* 17FB18 80251238 2402FFFF */ addiu $v0, $zero, -1 +/* 17FB1C 8025123C AFA20020 */ sw $v0, 0x20($sp) +/* 17FB20 80251240 00141400 */ sll $v0, $s4, 0x10 +/* 17FB24 80251244 00021403 */ sra $v0, $v0, 0x10 +/* 17FB28 80251248 3C01802A */ lui $at, 0x802a +/* 17FB2C 8025124C A434F64E */ sh $s4, -0x9b2($at) +/* 17FB30 80251250 AFA80010 */ sw $t0, 0x10($sp) +/* 17FB34 80251254 AFA00014 */ sw $zero, 0x14($sp) +/* 17FB38 80251258 AFB3001C */ sw $s3, 0x1c($sp) +/* 17FB3C 8025125C 00033400 */ sll $a2, $v1, 0x10 +/* 17FB40 80251260 00063403 */ sra $a2, $a2, 0x10 +/* 17FB44 80251264 3C01802A */ lui $at, 0x802a +/* 17FB48 80251268 A423F650 */ sh $v1, -0x9b0($at) +/* 17FB4C 8025126C 0C051F32 */ jal func_80147CC8 +/* 17FB50 80251270 00463021 */ addu $a2, $v0, $a2 +/* 17FB54 80251274 86620012 */ lh $v0, 0x12($s3) +/* 17FB58 80251278 14500003 */ bne $v0, $s0, .L80251288 +/* 17FB5C 8025127C 24040009 */ addiu $a0, $zero, 9 +/* 17FB60 80251280 080944A3 */ j func_8025128C +/* 17FB64 80251284 24050001 */ addiu $a1, $zero, 1 + +.L80251288: +/* 17FB68 80251288 24050008 */ addiu $a1, $zero, 8 +func_8025128C: +/* 17FB6C 8025128C 0C051F9F */ jal func_80147E7C +/* 17FB70 80251290 00000000 */ nop +.L80251294: +/* 17FB74 80251294 8FBF003C */ lw $ra, 0x3c($sp) +/* 17FB78 80251298 8FB40038 */ lw $s4, 0x38($sp) +/* 17FB7C 8025129C 8FB30034 */ lw $s3, 0x34($sp) +/* 17FB80 802512A0 8FB20030 */ lw $s2, 0x30($sp) +/* 17FB84 802512A4 8FB1002C */ lw $s1, 0x2c($sp) +/* 17FB88 802512A8 8FB00028 */ lw $s0, 0x28($sp) +/* 17FB8C 802512AC 03E00008 */ jr $ra +/* 17FB90 802512B0 27BD0040 */ addiu $sp, $sp, 0x40 + +ShowMessageBox: +/* 17FB94 802512B4 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 17FB98 802512B8 AFB10014 */ sw $s1, 0x14($sp) +/* 17FB9C 802512BC 0080882D */ daddu $s1, $a0, $zero +/* 17FBA0 802512C0 AFBF0018 */ sw $ra, 0x18($sp) +/* 17FBA4 802512C4 AFB00010 */ sw $s0, 0x10($sp) +/* 17FBA8 802512C8 8E30000C */ lw $s0, 0xc($s1) +/* 17FBAC 802512CC 8E050000 */ lw $a1, ($s0) +/* 17FBB0 802512D0 0C0B1EAF */ jal get_variable +/* 17FBB4 802512D4 26100004 */ addiu $s0, $s0, 4 +/* 17FBB8 802512D8 0220202D */ daddu $a0, $s1, $zero +/* 17FBBC 802512DC 8E050000 */ lw $a1, ($s0) +/* 17FBC0 802512E0 0C0B1EAF */ jal get_variable +/* 17FBC4 802512E4 0040802D */ daddu $s0, $v0, $zero +/* 17FBC8 802512E8 0200202D */ daddu $a0, $s0, $zero +/* 17FBCC 802512EC 0C093E58 */ jal show_battle_message +/* 17FBD0 802512F0 0040282D */ daddu $a1, $v0, $zero +/* 17FBD4 802512F4 8FBF0018 */ lw $ra, 0x18($sp) +/* 17FBD8 802512F8 8FB10014 */ lw $s1, 0x14($sp) +/* 17FBDC 802512FC 8FB00010 */ lw $s0, 0x10($sp) +/* 17FBE0 80251300 24020002 */ addiu $v0, $zero, 2 +/* 17FBE4 80251304 03E00008 */ jr $ra +/* 17FBE8 80251308 27BD0020 */ addiu $sp, $sp, 0x20 + +ShowVariableMessageBox: +/* 17FBEC 8025130C 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 17FBF0 80251310 AFB10014 */ sw $s1, 0x14($sp) +/* 17FBF4 80251314 0080882D */ daddu $s1, $a0, $zero +/* 17FBF8 80251318 AFBF001C */ sw $ra, 0x1c($sp) +/* 17FBFC 8025131C AFB20018 */ sw $s2, 0x18($sp) +/* 17FC00 80251320 AFB00010 */ sw $s0, 0x10($sp) +/* 17FC04 80251324 8E30000C */ lw $s0, 0xc($s1) +/* 17FC08 80251328 8E050000 */ lw $a1, ($s0) +/* 17FC0C 8025132C 0C0B1EAF */ jal get_variable +/* 17FC10 80251330 26100004 */ addiu $s0, $s0, 4 +/* 17FC14 80251334 8E050000 */ lw $a1, ($s0) +/* 17FC18 80251338 26100004 */ addiu $s0, $s0, 4 +/* 17FC1C 8025133C 0220202D */ daddu $a0, $s1, $zero +/* 17FC20 80251340 0C0B1EAF */ jal get_variable +/* 17FC24 80251344 0040902D */ daddu $s2, $v0, $zero +/* 17FC28 80251348 0220202D */ daddu $a0, $s1, $zero +/* 17FC2C 8025134C 8E050000 */ lw $a1, ($s0) +/* 17FC30 80251350 0C0B1EAF */ jal get_variable +/* 17FC34 80251354 0040802D */ daddu $s0, $v0, $zero +/* 17FC38 80251358 0240202D */ daddu $a0, $s2, $zero +/* 17FC3C 8025135C 0200282D */ daddu $a1, $s0, $zero +/* 17FC40 80251360 0C093E81 */ jal show_variable_battle_message +/* 17FC44 80251364 0040302D */ daddu $a2, $v0, $zero +/* 17FC48 80251368 8FBF001C */ lw $ra, 0x1c($sp) +/* 17FC4C 8025136C 8FB20018 */ lw $s2, 0x18($sp) +/* 17FC50 80251370 8FB10014 */ lw $s1, 0x14($sp) +/* 17FC54 80251374 8FB00010 */ lw $s0, 0x10($sp) +/* 17FC58 80251378 24020002 */ addiu $v0, $zero, 2 +/* 17FC5C 8025137C 03E00008 */ jr $ra +/* 17FC60 80251380 27BD0020 */ addiu $sp, $sp, 0x20 + +IsMessageBoxDisplayed: +/* 17FC64 80251384 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 17FC68 80251388 AFB00010 */ sw $s0, 0x10($sp) +/* 17FC6C 8025138C 0080802D */ daddu $s0, $a0, $zero +/* 17FC70 80251390 AFBF0018 */ sw $ra, 0x18($sp) +/* 17FC74 80251394 AFB10014 */ sw $s1, 0x14($sp) +/* 17FC78 80251398 8E02000C */ lw $v0, 0xc($s0) +/* 17FC7C 8025139C 0C093EAD */ jal is_popup_displayed +/* 17FC80 802513A0 8C510000 */ lw $s1, ($v0) +/* 17FC84 802513A4 0200202D */ daddu $a0, $s0, $zero +/* 17FC88 802513A8 0040302D */ daddu $a2, $v0, $zero +/* 17FC8C 802513AC 0C0B2026 */ jal set_variable +/* 17FC90 802513B0 0220282D */ daddu $a1, $s1, $zero +/* 17FC94 802513B4 8FBF0018 */ lw $ra, 0x18($sp) +/* 17FC98 802513B8 8FB10014 */ lw $s1, 0x14($sp) +/* 17FC9C 802513BC 8FB00010 */ lw $s0, 0x10($sp) +/* 17FCA0 802513C0 24020002 */ addiu $v0, $zero, 2 +/* 17FCA4 802513C4 03E00008 */ jr $ra +/* 17FCA8 802513C8 27BD0020 */ addiu $sp, $sp, 0x20 + +WaitForMessageBoxDone: +/* 17FCAC 802513CC 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 17FCB0 802513D0 AFBF0010 */ sw $ra, 0x10($sp) +/* 17FCB4 802513D4 0C093EAD */ jal is_popup_displayed +/* 17FCB8 802513D8 00000000 */ nop +/* 17FCBC 802513DC 2C420001 */ sltiu $v0, $v0, 1 +/* 17FCC0 802513E0 8FBF0010 */ lw $ra, 0x10($sp) +/* 17FCC4 802513E4 00021040 */ sll $v0, $v0, 1 +/* 17FCC8 802513E8 03E00008 */ jr $ra +/* 17FCCC 802513EC 27BD0018 */ addiu $sp, $sp, 0x18 + +ForceCloseMessageBox: +/* 17FCD0 802513F0 3C028028 */ lui $v0, 0x8028 +/* 17FCD4 802513F4 8C4238F8 */ lw $v0, 0x38f8($v0) +/* 17FCD8 802513F8 54400001 */ bnezl $v0, .L80251400 +/* 17FCDC 802513FC A4400014 */ sh $zero, 0x14($v0) +.L80251400: +/* 17FCE0 80251400 03E00008 */ jr $ra +/* 17FCE4 80251404 24020002 */ addiu $v0, $zero, 2 + +SetMessageBoxDuration: +/* 17FCE8 80251408 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 17FCEC 8025140C AFBF0010 */ sw $ra, 0x10($sp) +/* 17FCF0 80251410 8C82000C */ lw $v0, 0xc($a0) +/* 17FCF4 80251414 0C0B1EAF */ jal get_variable +/* 17FCF8 80251418 8C450000 */ lw $a1, ($v0) +/* 17FCFC 8025141C 0C093EB1 */ jal set_popup_duration +/* 17FD00 80251420 0040202D */ daddu $a0, $v0, $zero +/* 17FD04 80251424 8FBF0010 */ lw $ra, 0x10($sp) +/* 17FD08 80251428 24020002 */ addiu $v0, $zero, 2 +/* 17FD0C 8025142C 03E00008 */ jr $ra +/* 17FD10 80251430 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 17FD14 80251434 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 17FD18 80251438 AFBF0010 */ sw $ra, 0x10($sp) +/* 17FD1C 8025143C 0C093EBA */ jal func_8024FAE8 +/* 17FD20 80251440 00000000 */ nop +/* 17FD24 80251444 8FBF0010 */ lw $ra, 0x10($sp) +/* 17FD28 80251448 24020002 */ addiu $v0, $zero, 2 +/* 17FD2C 8025144C 03E00008 */ jr $ra +/* 17FD30 80251450 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 17FD34 80251454 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 17FD38 80251458 AFBF0010 */ sw $ra, 0x10($sp) +/* 17FD3C 8025145C 0C093EBF */ jal func_8024FAFC +/* 17FD40 80251460 00000000 */ nop +/* 17FD44 80251464 8FBF0010 */ lw $ra, 0x10($sp) +/* 17FD48 80251468 24020002 */ addiu $v0, $zero, 2 +/* 17FD4C 8025146C 03E00008 */ jr $ra +/* 17FD50 80251470 27BD0018 */ addiu $sp, $sp, 0x18 + +func_80251474: +/* 17FD54 80251474 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* 17FD58 80251478 AFB1001C */ sw $s1, 0x1c($sp) +/* 17FD5C 8025147C 0080882D */ daddu $s1, $a0, $zero +/* 17FD60 80251480 AFBF0028 */ sw $ra, 0x28($sp) +/* 17FD64 80251484 AFB30024 */ sw $s3, 0x24($sp) +/* 17FD68 80251488 AFB20020 */ sw $s2, 0x20($sp) +/* 17FD6C 8025148C AFB00018 */ sw $s0, 0x18($sp) +/* 17FD70 80251490 8E3001F4 */ lw $s0, 0x1f4($s1) +/* 17FD74 80251494 12000044 */ beqz $s0, .L802515A8 +/* 17FD78 80251498 3C134000 */ lui $s3, 0x4000 +/* 17FD7C 8025149C 3C12CCCC */ lui $s2, 0xcccc +/* 17FD80 802514A0 3652CCCD */ ori $s2, $s2, 0xcccd +.L802514A4: +/* 17FD84 802514A4 8E030000 */ lw $v1, ($s0) +/* 17FD88 802514A8 30620001 */ andi $v0, $v1, 1 +/* 17FD8C 802514AC 1440003B */ bnez $v0, .L8025159C +/* 17FD90 802514B0 00000000 */ nop +/* 17FD94 802514B4 8E020094 */ lw $v0, 0x94($s0) +/* 17FD98 802514B8 10400038 */ beqz $v0, .L8025159C +/* 17FD9C 802514BC 00731024 */ and $v0, $v1, $s3 +/* 17FDA0 802514C0 14400036 */ bnez $v0, .L8025159C +/* 17FDA4 802514C4 00000000 */ nop +/* 17FDA8 802514C8 92250191 */ lbu $a1, 0x191($s1) +/* 17FDAC 802514CC 92030072 */ lbu $v1, 0x72($s0) +/* 17FDB0 802514D0 00B20019 */ multu $a1, $s2 +/* 17FDB4 802514D4 C6200188 */ lwc1 $f0, 0x188($s1) +/* 17FDB8 802514D8 00031082 */ srl $v0, $v1, 2 +/* 17FDBC 802514DC 00621821 */ addu $v1, $v1, $v0 +/* 17FDC0 802514E0 44833000 */ mtc1 $v1, $f6 +/* 17FDC4 802514E4 00000000 */ nop +/* 17FDC8 802514E8 468031A0 */ cvt.s.w $f6, $f6 +/* 17FDCC 802514EC 46003182 */ mul.s $f6, $f6, $f0 +/* 17FDD0 802514F0 00000000 */ nop +/* 17FDD4 802514F4 92020073 */ lbu $v0, 0x73($s0) +/* 17FDD8 802514F8 2442FFFE */ addiu $v0, $v0, -2 +/* 17FDDC 802514FC 44822000 */ mtc1 $v0, $f4 +/* 17FDE0 80251500 00000000 */ nop +/* 17FDE4 80251504 46802120 */ cvt.s.w $f4, $f4 +/* 17FDE8 80251508 46002102 */ mul.s $f4, $f4, $f0 +/* 17FDEC 8025150C 00000000 */ nop +/* 17FDF0 80251510 C602005C */ lwc1 $f2, 0x5c($s0) +/* 17FDF4 80251514 00004010 */ mfhi $t0 +/* 17FDF8 80251518 000810C2 */ srl $v0, $t0, 3 +/* 17FDFC 8025151C 304200FF */ andi $v0, $v0, 0xff +/* 17FE00 80251520 44820000 */ mtc1 $v0, $f0 +/* 17FE04 80251524 00000000 */ nop +/* 17FE08 80251528 46800020 */ cvt.s.w $f0, $f0 +/* 17FE0C 8025152C 4600320D */ trunc.w.s $f8, $f6 +/* 17FE10 80251530 44034000 */ mfc1 $v1, $f8 +/* 17FE14 80251534 8E220000 */ lw $v0, ($s1) +/* 17FE18 80251538 C6060060 */ lwc1 $f6, 0x60($s0) +/* 17FE1C 8025153C 4600220D */ trunc.w.s $f8, $f4 +/* 17FE20 80251540 44044000 */ mfc1 $a0, $f8 +/* 17FE24 80251544 30428000 */ andi $v0, $v0, 0x8000 +/* 17FE28 80251548 C6040058 */ lwc1 $f4, 0x58($s0) +/* 17FE2C 8025154C 10400006 */ beqz $v0, .L80251568 +/* 17FE30 80251550 46001080 */ add.s $f2, $f2, $f0 +/* 17FE34 80251554 00051042 */ srl $v0, $a1, 1 +/* 17FE38 80251558 44820000 */ mtc1 $v0, $f0 +/* 17FE3C 8025155C 00000000 */ nop +/* 17FE40 80251560 46800020 */ cvt.s.w $f0, $f0 +/* 17FE44 80251564 46001081 */ sub.s $f2, $f2, $f0 +.L80251568: +/* 17FE48 80251568 44830000 */ mtc1 $v1, $f0 +/* 17FE4C 8025156C 00000000 */ nop +/* 17FE50 80251570 46800020 */ cvt.s.w $f0, $f0 +/* 17FE54 80251574 E7A00010 */ swc1 $f0, 0x10($sp) +/* 17FE58 80251578 44840000 */ mtc1 $a0, $f0 +/* 17FE5C 8025157C 00000000 */ nop +/* 17FE60 80251580 46800020 */ cvt.s.w $f0, $f0 +/* 17FE64 80251584 44052000 */ mfc1 $a1, $f4 +/* 17FE68 80251588 44061000 */ mfc1 $a2, $f2 +/* 17FE6C 8025158C 44073000 */ mfc1 $a3, $f6 +/* 17FE70 80251590 0000202D */ daddu $a0, $zero, $zero +/* 17FE74 80251594 0C01C514 */ jal func_80071450 +/* 17FE78 80251598 E7A00014 */ swc1 $f0, 0x14($sp) +.L8025159C: +/* 17FE7C 8025159C 8E10000C */ lw $s0, 0xc($s0) +/* 17FE80 802515A0 1600FFC0 */ bnez $s0, .L802514A4 +/* 17FE84 802515A4 00000000 */ nop +.L802515A8: +/* 17FE88 802515A8 8FBF0028 */ lw $ra, 0x28($sp) +/* 17FE8C 802515AC 8FB30024 */ lw $s3, 0x24($sp) +/* 17FE90 802515B0 8FB20020 */ lw $s2, 0x20($sp) +/* 17FE94 802515B4 8FB1001C */ lw $s1, 0x1c($sp) +/* 17FE98 802515B8 8FB00018 */ lw $s0, 0x18($sp) +/* 17FE9C 802515BC 03E00008 */ jr $ra +/* 17FEA0 802515C0 27BD0030 */ addiu $sp, $sp, 0x30 + +/* 17FEA4 802515C4 00000000 */ nop +/* 17FEA8 802515C8 00000000 */ nop +/* 17FEAC 802515CC 00000000 */ nop +calc_item_check_hit: +/* 17FEB0 802515D0 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* 17FEB4 802515D4 AFB30024 */ sw $s3, 0x24($sp) +/* 17FEB8 802515D8 3C13800E */ lui $s3, 0x800e +/* 17FEBC 802515DC 2673C070 */ addiu $s3, $s3, -0x3f90 +/* 17FEC0 802515E0 AFBF0028 */ sw $ra, 0x28($sp) +/* 17FEC4 802515E4 AFB20020 */ sw $s2, 0x20($sp) +/* 17FEC8 802515E8 AFB1001C */ sw $s1, 0x1c($sp) +/* 17FECC 802515EC AFB00018 */ sw $s0, 0x18($sp) +/* 17FED0 802515F0 8E6500D8 */ lw $a1, 0xd8($s3) +/* 17FED4 802515F4 966301A0 */ lhu $v1, 0x1a0($s3) +/* 17FED8 802515F8 866401A0 */ lh $a0, 0x1a0($s3) +/* 17FEDC 802515FC 926201A2 */ lbu $v0, 0x1a2($s3) +/* 17FEE0 80251600 827201A2 */ lb $s2, 0x1a2($s3) +/* 17FEE4 80251604 24B1000C */ addiu $s1, $a1, 0xc +/* 17FEE8 80251608 A66301A4 */ sh $v1, 0x1a4($s3) +/* 17FEEC 8025160C 0C09A75B */ jal get_actor +/* 17FEF0 80251610 A26201A6 */ sb $v0, 0x1a6($s3) +/* 17FEF4 80251614 0040802D */ daddu $s0, $v0, $zero +/* 17FEF8 80251618 1200002B */ beqz $s0, .L802516C8 +/* 17FEFC 8025161C 0200202D */ daddu $a0, $s0, $zero +/* 17FF00 80251620 0C099117 */ jal get_actor_part +/* 17FF04 80251624 0240282D */ daddu $a1, $s2, $zero +/* 17FF08 80251628 14400003 */ bnez $v0, .L80251638 +/* 17FF0C 8025162C 00000000 */ nop +func_80251630: +/* 17FF10 80251630 0809458C */ j func_80251630 +/* 17FF14 80251634 00000000 */ nop + +.L80251638: +/* 17FF18 80251638 8C44007C */ lw $a0, 0x7c($v0) +/* 17FF1C 8025163C 30820020 */ andi $v0, $a0, 0x20 +/* 17FF20 80251640 14400022 */ bnez $v0, .L802516CC +/* 17FF24 80251644 24020006 */ addiu $v0, $zero, 6 +/* 17FF28 80251648 82030218 */ lb $v1, 0x218($s0) +/* 17FF2C 8025164C 2402000E */ addiu $v0, $zero, 0xe +/* 17FF30 80251650 14620003 */ bne $v1, $v0, .L80251660 +/* 17FF34 80251654 2402000C */ addiu $v0, $zero, 0xc +/* 17FF38 80251658 080945B3 */ j func_802516CC +/* 17FF3C 8025165C 24020006 */ addiu $v0, $zero, 6 + +.L80251660: +/* 17FF40 80251660 82030214 */ lb $v1, 0x214($s0) +/* 17FF44 80251664 1462000A */ bne $v1, $v0, .L80251690 +/* 17FF48 80251668 00000000 */ nop +/* 17FF4C 8025166C C6200014 */ lwc1 $f0, 0x14($s1) +/* 17FF50 80251670 2404010C */ addiu $a0, $zero, 0x10c +/* 17FF54 80251674 E7A00010 */ swc1 $f0, 0x10($sp) +/* 17FF58 80251678 8E26000C */ lw $a2, 0xc($s1) +/* 17FF5C 8025167C 8E270010 */ lw $a3, 0x10($s1) +/* 17FF60 80251680 0C052757 */ jal play_sound_at_position +/* 17FF64 80251684 0000282D */ daddu $a1, $zero, $zero +/* 17FF68 80251688 080945B3 */ j func_802516CC +/* 17FF6C 8025168C 24020008 */ addiu $v0, $zero, 8 + +.L80251690: +/* 17FF70 80251690 8E620188 */ lw $v0, 0x188($s3) +/* 17FF74 80251694 30420080 */ andi $v0, $v0, 0x80 +/* 17FF78 80251698 1040000B */ beqz $v0, .L802516C8 +/* 17FF7C 8025169C 30820010 */ andi $v0, $a0, 0x10 +/* 17FF80 802516A0 10400009 */ beqz $v0, .L802516C8 +/* 17FF84 802516A4 240400E9 */ addiu $a0, $zero, 0xe9 +/* 17FF88 802516A8 C6200014 */ lwc1 $f0, 0x14($s1) +/* 17FF8C 802516AC E7A00010 */ swc1 $f0, 0x10($sp) +/* 17FF90 802516B0 8E26000C */ lw $a2, 0xc($s1) +/* 17FF94 802516B4 8E270010 */ lw $a3, 0x10($s1) +/* 17FF98 802516B8 0C052757 */ jal play_sound_at_position +/* 17FF9C 802516BC 0000282D */ daddu $a1, $zero, $zero +/* 17FFA0 802516C0 080945B3 */ j func_802516CC +/* 17FFA4 802516C4 24020004 */ addiu $v0, $zero, 4 + +.L802516C8: +/* 17FFA8 802516C8 0000102D */ daddu $v0, $zero, $zero +func_802516CC: +.L802516CC: +/* 17FFAC 802516CC 8FBF0028 */ lw $ra, 0x28($sp) +/* 17FFB0 802516D0 8FB30024 */ lw $s3, 0x24($sp) +/* 17FFB4 802516D4 8FB20020 */ lw $s2, 0x20($sp) +/* 17FFB8 802516D8 8FB1001C */ lw $s1, 0x1c($sp) +/* 17FFBC 802516DC 8FB00018 */ lw $s0, 0x18($sp) +/* 17FFC0 802516E0 03E00008 */ jr $ra +/* 17FFC4 802516E4 27BD0030 */ addiu $sp, $sp, 0x30 + +calc_item_damage_enemy: +/* 17FFC8 802516E8 27BDFFA8 */ addiu $sp, $sp, -0x58 +/* 17FFCC 802516EC AFB40040 */ sw $s4, 0x40($sp) +/* 17FFD0 802516F0 3C14800E */ lui $s4, 0x800e +/* 17FFD4 802516F4 2694C070 */ addiu $s4, $s4, -0x3f90 +/* 17FFD8 802516F8 AFBF0054 */ sw $ra, 0x54($sp) +/* 17FFDC 802516FC AFBE0050 */ sw $fp, 0x50($sp) +/* 17FFE0 80251700 AFB7004C */ sw $s7, 0x4c($sp) +/* 17FFE4 80251704 AFB60048 */ sw $s6, 0x48($sp) +/* 17FFE8 80251708 AFB50044 */ sw $s5, 0x44($sp) +/* 17FFEC 8025170C AFB3003C */ sw $s3, 0x3c($sp) +/* 17FFF0 80251710 AFB20038 */ sw $s2, 0x38($sp) +/* 17FFF4 80251714 AFB10034 */ sw $s1, 0x34($sp) +/* 17FFF8 80251718 AFB00030 */ sw $s0, 0x30($sp) +/* 17FFFC 8025171C AFA0001C */ sw $zero, 0x1c($sp) +/* 180000 80251720 AFA00024 */ sw $zero, 0x24($sp) +/* 180004 80251724 AFA00028 */ sw $zero, 0x28($sp) +/* 180008 80251728 AFA0002C */ sw $zero, 0x2c($sp) +/* 18000C 8025172C 8E9600D8 */ lw $s6, 0xd8($s4) +/* 180010 80251730 968201A0 */ lhu $v0, 0x1a0($s4) +/* 180014 80251734 869101A0 */ lh $s1, 0x1a0($s4) +/* 180018 80251738 928301A2 */ lbu $v1, 0x1a2($s4) +/* 18001C 8025173C 8E9200DC */ lw $s2, 0xdc($s4) +/* 180020 80251740 829001A2 */ lb $s0, 0x1a2($s4) +/* 180024 80251744 0000A82D */ daddu $s5, $zero, $zero +/* 180028 80251748 A2800199 */ sb $zero, 0x199($s4) +/* 18002C 8025174C A6800180 */ sh $zero, 0x180($s4) +/* 180030 80251750 96C50192 */ lhu $a1, 0x192($s6) +/* 180034 80251754 0220202D */ daddu $a0, $s1, $zero +/* 180038 80251758 A68201A4 */ sh $v0, 0x1a4($s4) +/* 18003C 8025175C A28301A6 */ sb $v1, 0x1a6($s4) +/* 180040 80251760 0C09A75B */ jal get_actor +/* 180044 80251764 A68501A8 */ sh $a1, 0x1a8($s4) +/* 180048 80251768 0040982D */ daddu $s3, $v0, $zero +/* 18004C 8025176C 16600003 */ bnez $s3, .L8025177C +/* 180050 80251770 0260202D */ daddu $a0, $s3, $zero +/* 180054 80251774 080949BE */ j func_802526F8 +/* 180058 80251778 02A0102D */ daddu $v0, $s5, $zero + +.L8025177C: +/* 18005C 8025177C 0C099117 */ jal get_actor_part +/* 180060 80251780 0200282D */ daddu $a1, $s0, $zero +/* 180064 80251784 0040B82D */ daddu $s7, $v0, $zero +/* 180068 80251788 56E00003 */ bnezl $s7, .L80251798 +/* 18006C 8025178C 32310700 */ andi $s1, $s1, 0x700 +func_80251790: +/* 180070 80251790 080945E4 */ j func_80251790 +/* 180074 80251794 00000000 */ nop + +.L80251798: +/* 180078 80251798 A66001F8 */ sh $zero, 0x1f8($s3) +/* 18007C 8025179C 3C02800E */ lui $v0, 0x800e +/* 180080 802517A0 8C42C070 */ lw $v0, -0x3f90($v0) +/* 180084 802517A4 3C030008 */ lui $v1, 8 +/* 180088 802517A8 00431024 */ and $v0, $v0, $v1 +/* 18008C 802517AC 14400003 */ bnez $v0, .L802517BC +/* 180090 802517B0 AFB10020 */ sw $s1, 0x20($sp) +/* 180094 802517B4 080945F0 */ j func_802517C0 +/* 180098 802517B8 26D1000C */ addiu $s1, $s6, 0xc + +.L802517BC: +/* 18009C 802517BC 2651000C */ addiu $s1, $s2, 0xc +func_802517C0: +/* 1800A0 802517C0 8E820188 */ lw $v0, 0x188($s4) +/* 1800A4 802517C4 30420002 */ andi $v0, $v0, 2 +/* 1800A8 802517C8 10400010 */ beqz $v0, .L8025180C +/* 1800AC 802517CC 0000202D */ daddu $a0, $zero, $zero +/* 1800B0 802517D0 C6240014 */ lwc1 $f4, 0x14($s1) +/* 1800B4 802517D4 3C0140A0 */ lui $at, 0x40a0 +/* 1800B8 802517D8 44810000 */ mtc1 $at, $f0 +/* 1800BC 802517DC 3C013F80 */ lui $at, 0x3f80 +/* 1800C0 802517E0 44811000 */ mtc1 $at, $f2 +/* 1800C4 802517E4 24020018 */ addiu $v0, $zero, 0x18 +/* 1800C8 802517E8 AFA20014 */ sw $v0, 0x14($sp) +/* 1800CC 802517EC 46002100 */ add.s $f4, $f4, $f0 +/* 1800D0 802517F0 E7A20010 */ swc1 $f2, 0x10($sp) +/* 1800D4 802517F4 8E25000C */ lw $a1, 0xc($s1) +/* 1800D8 802517F8 8E260010 */ lw $a2, 0x10($s1) +/* 1800DC 802517FC 44072000 */ mfc1 $a3, $f4 +/* 1800E0 80251800 24080001 */ addiu $t0, $zero, 1 +/* 1800E4 80251804 0C01C184 */ jal func_80070610 +/* 1800E8 80251808 AFA80024 */ sw $t0, 0x24($sp) +.L8025180C: +/* 1800EC 8025180C 8E820188 */ lw $v0, 0x188($s4) +/* 1800F0 80251810 30420020 */ andi $v0, $v0, 0x20 +/* 1800F4 80251814 10400005 */ beqz $v0, .L8025182C +/* 1800F8 80251818 00000000 */ nop +/* 1800FC 8025181C 0C09451D */ jal func_80251474 +/* 180100 80251820 0260202D */ daddu $a0, $s3, $zero +/* 180104 80251824 24080001 */ addiu $t0, $zero, 1 +/* 180108 80251828 AFA80028 */ sw $t0, 0x28($sp) +.L8025182C: +/* 18010C 8025182C 8E820188 */ lw $v0, 0x188($s4) +/* 180110 80251830 30420004 */ andi $v0, $v0, 4 +/* 180114 80251834 1040000E */ beqz $v0, .L80251870 +/* 180118 80251838 24020018 */ addiu $v0, $zero, 0x18 +/* 18011C 8025183C C6240014 */ lwc1 $f4, 0x14($s1) +/* 180120 80251840 3C0140A0 */ lui $at, 0x40a0 +/* 180124 80251844 44810000 */ mtc1 $at, $f0 +/* 180128 80251848 3C013F80 */ lui $at, 0x3f80 +/* 18012C 8025184C 44811000 */ mtc1 $at, $f2 +/* 180130 80251850 AFA20014 */ sw $v0, 0x14($sp) +/* 180134 80251854 46002100 */ add.s $f4, $f4, $f0 +/* 180138 80251858 E7A20010 */ swc1 $f2, 0x10($sp) +/* 18013C 8025185C 8E25000C */ lw $a1, 0xc($s1) +/* 180140 80251860 8E260010 */ lw $a2, 0x10($s1) +/* 180144 80251864 44072000 */ mfc1 $a3, $f4 +/* 180148 80251868 0C01C70C */ jal func_80071C30 +/* 18014C 8025186C 0000202D */ daddu $a0, $zero, $zero +.L80251870: +/* 180150 80251870 8E820188 */ lw $v0, 0x188($s4) +/* 180154 80251874 30420008 */ andi $v0, $v0, 8 +/* 180158 80251878 1040000C */ beqz $v0, .L802518AC +/* 18015C 8025187C 0000202D */ daddu $a0, $zero, $zero +/* 180160 80251880 C6220014 */ lwc1 $f2, 0x14($s1) +/* 180164 80251884 3C0140A0 */ lui $at, 0x40a0 +/* 180168 80251888 44810000 */ mtc1 $at, $f0 +/* 18016C 8025188C 00000000 */ nop +/* 180170 80251890 46001080 */ add.s $f2, $f2, $f0 +/* 180174 80251894 8E25000C */ lw $a1, 0xc($s1) +/* 180178 80251898 8E260010 */ lw $a2, 0x10($s1) +/* 18017C 8025189C 44071000 */ mfc1 $a3, $f2 +/* 180180 802518A0 24080001 */ addiu $t0, $zero, 1 +/* 180184 802518A4 0C01C2A4 */ jal func_80070A90 +/* 180188 802518A8 AFA8002C */ sw $t0, 0x2c($sp) +.L802518AC: +/* 18018C 802518AC 8E850188 */ lw $a1, 0x188($s4) +/* 180190 802518B0 3C020040 */ lui $v0, 0x40 +/* 180194 802518B4 00A21024 */ and $v0, $a1, $v0 +/* 180198 802518B8 1440000F */ bnez $v0, .L802518F8 +/* 18019C 802518BC 00000000 */ nop +/* 1801A0 802518C0 8EE4007C */ lw $a0, 0x7c($s7) +/* 1801A4 802518C4 30820020 */ andi $v0, $a0, 0x20 +/* 1801A8 802518C8 1440038B */ bnez $v0, .L802526F8 +/* 1801AC 802518CC 24020006 */ addiu $v0, $zero, 6 +/* 1801B0 802518D0 82630218 */ lb $v1, 0x218($s3) +/* 1801B4 802518D4 2402000E */ addiu $v0, $zero, 0xe +/* 1801B8 802518D8 10620005 */ beq $v1, $v0, .L802518F0 +/* 1801BC 802518DC 30820800 */ andi $v0, $a0, 0x800 +/* 1801C0 802518E0 10400005 */ beqz $v0, .L802518F8 +/* 1801C4 802518E4 30A20800 */ andi $v0, $a1, 0x800 +/* 1801C8 802518E8 14400003 */ bnez $v0, .L802518F8 +/* 1801CC 802518EC 00000000 */ nop +.L802518F0: +/* 1801D0 802518F0 080949BE */ j func_802526F8 +/* 1801D4 802518F4 24020006 */ addiu $v0, $zero, 6 + +.L802518F8: +/* 1801D8 802518F8 82630214 */ lb $v1, 0x214($s3) +/* 1801DC 802518FC 2402000C */ addiu $v0, $zero, 0xc +/* 1801E0 80251900 1462001B */ bne $v1, $v0, .L80251970 +/* 1801E4 80251904 3C03000C */ lui $v1, 0xc +/* 1801E8 80251908 C6200014 */ lwc1 $f0, 0x14($s1) +/* 1801EC 8025190C 2404010C */ addiu $a0, $zero, 0x10c +/* 1801F0 80251910 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1801F4 80251914 8E26000C */ lw $a2, 0xc($s1) +/* 1801F8 80251918 8E270010 */ lw $a3, 0x10($s1) +/* 1801FC 8025191C 0C052757 */ jal play_sound_at_position +/* 180200 80251920 0000282D */ daddu $a1, $zero, $zero +/* 180204 80251924 24020001 */ addiu $v0, $zero, 1 +/* 180208 80251928 AFA20010 */ sw $v0, 0x10($sp) +/* 18020C 8025192C AFA20014 */ sw $v0, 0x14($sp) +/* 180210 80251930 C62C000C */ lwc1 $f12, 0xc($s1) +/* 180214 80251934 C62E0010 */ lwc1 $f14, 0x10($s1) +/* 180218 80251938 8E260014 */ lw $a2, 0x14($s1) +/* 18021C 8025193C 0C093BF8 */ jal func_8024EFE0 +/* 180220 80251940 0000382D */ daddu $a3, $zero, $zero +/* 180224 80251944 AFA00010 */ sw $zero, 0x10($sp) +/* 180228 80251948 C62C000C */ lwc1 $f12, 0xc($s1) +/* 18022C 8025194C C62E0010 */ lwc1 $f14, 0x10($s1) +/* 180230 80251950 8E260014 */ lw $a2, 0x14($s1) +/* 180234 80251954 0C09996B */ jal show_damage_popup +/* 180238 80251958 0000382D */ daddu $a3, $zero, $zero +/* 18023C 8025195C 3C02800E */ lui $v0, 0x800e +/* 180240 80251960 8C42C070 */ lw $v0, -0x3f90($v0) +/* 180244 80251964 30420240 */ andi $v0, $v0, 0x240 +/* 180248 80251968 080949BE */ j func_802526F8 +/* 18024C 8025196C 0002102B */ sltu $v0, $zero, $v0 + +.L80251970: +/* 180250 80251970 8EE20080 */ lw $v0, 0x80($s7) +/* 180254 80251974 8E840188 */ lw $a0, 0x188($s4) +/* 180258 80251978 00441024 */ and $v0, $v0, $a0 +/* 18025C 8025197C 0002102B */ sltu $v0, $zero, $v0 +/* 180260 80251980 AFA20018 */ sw $v0, 0x18($sp) +/* 180264 80251984 8EE2007C */ lw $v0, 0x7c($s7) +/* 180268 80251988 00431024 */ and $v0, $v0, $v1 +/* 18026C 8025198C 10400004 */ beqz $v0, .L802519A0 +/* 180270 80251990 3C02F7FF */ lui $v0, 0xf7ff +/* 180274 80251994 3442FFFF */ ori $v0, $v0, 0xffff +/* 180278 80251998 00821024 */ and $v0, $a0, $v0 +/* 18027C 8025199C AE820188 */ sw $v0, 0x188($s4) +.L802519A0: +/* 180280 802519A0 8EE50078 */ lw $a1, 0x78($s7) +/* 180284 802519A4 8E860188 */ lw $a2, 0x188($s4) +/* 180288 802519A8 0C0998AF */ jal get_defense +/* 18028C 802519AC 0260202D */ daddu $a0, $s3, $zero +/* 180290 802519B0 0040802D */ daddu $s0, $v0, $zero +/* 180294 802519B4 8E820188 */ lw $v0, 0x188($s4) +/* 180298 802519B8 3C030800 */ lui $v1, 0x800 +/* 18029C 802519BC 00431024 */ and $v0, $v0, $v1 +/* 1802A0 802519C0 14400003 */ bnez $v0, .L802519D0 +/* 1802A4 802519C4 00000000 */ nop +/* 1802A8 802519C8 82620222 */ lb $v0, 0x222($s3) +/* 1802AC 802519CC 02028021 */ addu $s0, $s0, $v0 +.L802519D0: +/* 1802B0 802519D0 8684017E */ lh $a0, 0x17e($s4) +/* 1802B4 802519D4 28820064 */ slti $v0, $a0, 0x64 +/* 1802B8 802519D8 50400001 */ beql $v0, $zero, .L802519E0 +/* 1802BC 802519DC 24040063 */ addiu $a0, $zero, 0x63 +.L802519E0: +/* 1802C0 802519E0 58800001 */ blezl $a0, .L802519E8 +/* 1802C4 802519E4 0000802D */ daddu $s0, $zero, $zero +.L802519E8: +/* 1802C8 802519E8 00902023 */ subu $a0, $a0, $s0 +/* 1802CC 802519EC 1C800014 */ bgtz $a0, .L80251A40 +/* 1802D0 802519F0 A66001FA */ sh $zero, 0x1fa($s3) +/* 1802D4 802519F4 A66001FA */ sh $zero, 0x1fa($s3) +/* 1802D8 802519F8 8E820188 */ lw $v0, 0x188($s4) +/* 1802DC 802519FC 3C034000 */ lui $v1, 0x4000 +/* 1802E0 80251A00 00431024 */ and $v0, $v0, $v1 +/* 1802E4 80251A04 1440000B */ bnez $v0, .L80251A34 +/* 1802E8 80251A08 241E0002 */ addiu $fp, $zero, 2 +/* 1802EC 80251A0C 24120017 */ addiu $s2, $zero, 0x17 +/* 1802F0 80251A10 C6200014 */ lwc1 $f0, 0x14($s1) +/* 1802F4 80251A14 2404010C */ addiu $a0, $zero, 0x10c +/* 1802F8 80251A18 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1802FC 80251A1C 8E26000C */ lw $a2, 0xc($s1) +/* 180300 80251A20 8E270010 */ lw $a3, 0x10($s1) +/* 180304 80251A24 0C052757 */ jal play_sound_at_position +/* 180308 80251A28 0000282D */ daddu $a1, $zero, $zero +/* 18030C 80251A2C 080946B0 */ j func_80251AC0 +/* 180310 80251A30 A6800180 */ sh $zero, 0x180($s4) + +.L80251A34: +/* 180314 80251A34 24120017 */ addiu $s2, $zero, 0x17 +/* 180318 80251A38 080946B0 */ j func_80251AC0 +/* 18031C 80251A3C A6800180 */ sh $zero, 0x180($s4) + +.L80251A40: +/* 180320 80251A40 24120009 */ addiu $s2, $zero, 9 +/* 180324 80251A44 966201FC */ lhu $v0, 0x1fc($s3) +/* 180328 80251A48 966301FA */ lhu $v1, 0x1fa($s3) +/* 18032C 80251A4C 00441021 */ addu $v0, $v0, $a0 +/* 180330 80251A50 00641823 */ subu $v1, $v1, $a0 +/* 180334 80251A54 A66201FC */ sh $v0, 0x1fc($s3) +/* 180338 80251A58 A66301FA */ sh $v1, 0x1fa($s3) +/* 18033C 80251A5C A6800180 */ sh $zero, 0x180($s4) +/* 180340 80251A60 8EE20000 */ lw $v0, ($s7) +/* 180344 80251A64 30422000 */ andi $v0, $v0, 0x2000 +/* 180348 80251A68 14400010 */ bnez $v0, .L80251AAC +/* 18034C 80251A6C 0000F02D */ daddu $fp, $zero, $zero +/* 180350 80251A70 8FA80018 */ lw $t0, 0x18($sp) +/* 180354 80251A74 1500000D */ bnez $t0, .L80251AAC +/* 180358 80251A78 00000000 */ nop +/* 18035C 80251A7C 8EE20004 */ lw $v0, 4($s7) +/* 180360 80251A80 30420004 */ andi $v0, $v0, 4 +/* 180364 80251A84 14400009 */ bnez $v0, .L80251AAC +/* 180368 80251A88 00000000 */ nop +/* 18036C 80251A8C 926201B8 */ lbu $v0, 0x1b8($s3) +/* 180370 80251A90 00441023 */ subu $v0, $v0, $a0 +/* 180374 80251A94 A26201B8 */ sb $v0, 0x1b8($s3) +/* 180378 80251A98 00021600 */ sll $v0, $v0, 0x18 +/* 18037C 80251A9C 1C400003 */ bgtz $v0, .L80251AAC +/* 180380 80251AA0 00000000 */ nop +/* 180384 80251AA4 A26001B8 */ sb $zero, 0x1b8($s3) +/* 180388 80251AA8 24120020 */ addiu $s2, $zero, 0x20 +.L80251AAC: +/* 18038C 80251AAC 96820180 */ lhu $v0, 0x180($s4) +/* 180390 80251AB0 00441021 */ addu $v0, $v0, $a0 +/* 180394 80251AB4 A6820180 */ sh $v0, 0x180($s4) +/* 180398 80251AB8 A66201F8 */ sh $v0, 0x1f8($s3) +/* 18039C 80251ABC A66001FA */ sh $zero, 0x1fa($s3) +func_80251AC0: +/* 1803A0 80251AC0 8EE20000 */ lw $v0, ($s7) +/* 1803A4 80251AC4 30422000 */ andi $v0, $v0, 0x2000 +/* 1803A8 80251AC8 10400015 */ beqz $v0, .L80251B20 +/* 1803AC 80251ACC 0260202D */ daddu $a0, $s3, $zero +/* 1803B0 80251AD0 0C09DC58 */ jal dispatch_event_actor +/* 1803B4 80251AD4 0240282D */ daddu $a1, $s2, $zero +/* 1803B8 80251AD8 24020001 */ addiu $v0, $zero, 1 +/* 1803BC 80251ADC AFA20010 */ sw $v0, 0x10($sp) +/* 1803C0 80251AE0 24020003 */ addiu $v0, $zero, 3 +/* 1803C4 80251AE4 AFA20014 */ sw $v0, 0x14($sp) +/* 1803C8 80251AE8 C62C000C */ lwc1 $f12, 0xc($s1) +/* 1803CC 80251AEC C62E0010 */ lwc1 $f14, 0x10($s1) +/* 1803D0 80251AF0 8E260014 */ lw $a2, 0x14($s1) +/* 1803D4 80251AF4 0C093BF8 */ jal func_8024EFE0 +/* 1803D8 80251AF8 0000382D */ daddu $a3, $zero, $zero +/* 1803DC 80251AFC C6200014 */ lwc1 $f0, 0x14($s1) +/* 1803E0 80251B00 2404010C */ addiu $a0, $zero, 0x10c +/* 1803E4 80251B04 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1803E8 80251B08 8E26000C */ lw $a2, 0xc($s1) +/* 1803EC 80251B0C 8E270010 */ lw $a3, 0x10($s1) +/* 1803F0 80251B10 0C052757 */ jal play_sound_at_position +/* 1803F4 80251B14 0000282D */ daddu $a1, $zero, $zero +/* 1803F8 80251B18 080949BE */ j func_802526F8 +/* 1803FC 80251B1C 24020002 */ addiu $v0, $zero, 2 + +.L80251B20: +/* 180400 80251B20 8E820188 */ lw $v0, 0x188($s4) +/* 180404 80251B24 30422000 */ andi $v0, $v0, 0x2000 +/* 180408 80251B28 10400004 */ beqz $v0, .L80251B3C +/* 18040C 80251B2C 00000000 */ nop +/* 180410 80251B30 A6800180 */ sh $zero, 0x180($s4) +/* 180414 80251B34 24120020 */ addiu $s2, $zero, 0x20 +/* 180418 80251B38 0000F02D */ daddu $fp, $zero, $zero +.L80251B3C: +/* 18041C 80251B3C 3C02800E */ lui $v0, 0x800e +/* 180420 80251B40 8C42C070 */ lw $v0, -0x3f90($v0) +/* 180424 80251B44 30420020 */ andi $v0, $v0, 0x20 +/* 180428 80251B48 1040000D */ beqz $v0, .L80251B80 +/* 18042C 80251B4C 24020009 */ addiu $v0, $zero, 9 +/* 180430 80251B50 52420001 */ beql $s2, $v0, .L80251B58 +/* 180434 80251B54 2412000A */ addiu $s2, $zero, 0xa +.L80251B58: +/* 180438 80251B58 24020017 */ addiu $v0, $zero, 0x17 +/* 18043C 80251B5C 52420001 */ beql $s2, $v0, .L80251B64 +/* 180440 80251B60 24120019 */ addiu $s2, $zero, 0x19 +.L80251B64: +/* 180444 80251B64 826201B8 */ lb $v0, 0x1b8($s3) +/* 180448 80251B68 1C400008 */ bgtz $v0, .L80251B8C +/* 18044C 80251B6C 24020019 */ addiu $v0, $zero, 0x19 +/* 180450 80251B70 52420006 */ beql $s2, $v0, .L80251B8C +/* 180454 80251B74 24120020 */ addiu $s2, $zero, 0x20 +/* 180458 80251B78 080946E3 */ j func_80251B8C +/* 18045C 80251B7C 00000000 */ nop + +.L80251B80: +/* 180460 80251B80 24020020 */ addiu $v0, $zero, 0x20 +/* 180464 80251B84 52420001 */ beql $s2, $v0, .L80251B8C +/* 180468 80251B88 24120009 */ addiu $s2, $zero, 9 +func_80251B8C: +.L80251B8C: +/* 18046C 80251B8C 3C02800E */ lui $v0, 0x800e +/* 180470 80251B90 8C42C070 */ lw $v0, -0x3f90($v0) +/* 180474 80251B94 30420020 */ andi $v0, $v0, 0x20 +/* 180478 80251B98 10400014 */ beqz $v0, .L80251BEC +/* 18047C 80251B9C 3C040040 */ lui $a0, 0x40 +/* 180480 80251BA0 8E820188 */ lw $v0, 0x188($s4) +/* 180484 80251BA4 00441024 */ and $v0, $v0, $a0 +/* 180488 80251BA8 10400039 */ beqz $v0, .L80251C90 +/* 18048C 80251BAC 3C020004 */ lui $v0, 4 +/* 180490 80251BB0 8EE3007C */ lw $v1, 0x7c($s7) +/* 180494 80251BB4 00621024 */ and $v0, $v1, $v0 +/* 180498 80251BB8 10400003 */ beqz $v0, .L80251BC8 +/* 18049C 80251BBC 24120019 */ addiu $s2, $zero, 0x19 +/* 1804A0 80251BC0 24120013 */ addiu $s2, $zero, 0x13 +/* 1804A4 80251BC4 24150001 */ addiu $s5, $zero, 1 +.L80251BC8: +/* 1804A8 80251BC8 00641024 */ and $v0, $v1, $a0 +/* 1804AC 80251BCC 10400003 */ beqz $v0, .L80251BDC +/* 1804B0 80251BD0 3C020008 */ lui $v0, 8 +/* 1804B4 80251BD4 24120013 */ addiu $s2, $zero, 0x13 +/* 1804B8 80251BD8 24150001 */ addiu $s5, $zero, 1 +.L80251BDC: +/* 1804BC 80251BDC 00621024 */ and $v0, $v1, $v0 +/* 1804C0 80251BE0 54400001 */ bnezl $v0, .L80251BE8 +/* 1804C4 80251BE4 2412001D */ addiu $s2, $zero, 0x1d +.L80251BE8: +/* 1804C8 80251BE8 0000F02D */ daddu $fp, $zero, $zero +.L80251BEC: +/* 1804CC 80251BEC 8E820188 */ lw $v0, 0x188($s4) +/* 1804D0 80251BF0 3C030040 */ lui $v1, 0x40 +/* 1804D4 80251BF4 00431024 */ and $v0, $v0, $v1 +/* 1804D8 80251BF8 10400025 */ beqz $v0, .L80251C90 +/* 1804DC 80251BFC 00000000 */ nop +/* 1804E0 80251C00 3C02800E */ lui $v0, 0x800e +/* 1804E4 80251C04 8C42C070 */ lw $v0, -0x3f90($v0) +/* 1804E8 80251C08 30420020 */ andi $v0, $v0, 0x20 +/* 1804EC 80251C0C 104000F4 */ beqz $v0, .L80251FE0 +/* 1804F0 80251C10 00000000 */ nop +/* 1804F4 80251C14 82620221 */ lb $v0, 0x221($s3) +/* 1804F8 80251C18 1C40000A */ bgtz $v0, .L80251C44 +/* 1804FC 80251C1C 00000000 */ nop +/* 180500 80251C20 82620222 */ lb $v0, 0x222($s3) +/* 180504 80251C24 1C400007 */ bgtz $v0, .L80251C44 +/* 180508 80251C28 00000000 */ nop +/* 18050C 80251C2C 82620212 */ lb $v0, 0x212($s3) +/* 180510 80251C30 54400006 */ bnezl $v0, .L80251C4C +/* 180514 80251C34 2412000A */ addiu $s2, $zero, 0xa +/* 180518 80251C38 82620218 */ lb $v0, 0x218($s3) +/* 18051C 80251C3C 10400014 */ beqz $v0, .L80251C90 +/* 180520 80251C40 00000000 */ nop +.L80251C44: +/* 180524 80251C44 82620212 */ lb $v0, 0x212($s3) +/* 180528 80251C48 2412000A */ addiu $s2, $zero, 0xa +.L80251C4C: +/* 18052C 80251C4C A2600221 */ sb $zero, 0x221($s3) +/* 180530 80251C50 A2600222 */ sb $zero, 0x222($s3) +/* 180534 80251C54 10400005 */ beqz $v0, .L80251C6C +/* 180538 80251C58 A2600220 */ sb $zero, 0x220($s3) +/* 18053C 80251C5C 86640436 */ lh $a0, 0x436($s3) +/* 180540 80251C60 A2600212 */ sb $zero, 0x212($s3) +/* 180544 80251C64 0C011E68 */ jal func_800479A0 +/* 180548 80251C68 A2600213 */ sb $zero, 0x213($s3) +.L80251C6C: +/* 18054C 80251C6C 82620218 */ lb $v0, 0x218($s3) +/* 180550 80251C70 10400006 */ beqz $v0, .L80251C8C +/* 180554 80251C74 24150001 */ addiu $s5, $zero, 1 +/* 180558 80251C78 86640436 */ lh $a0, 0x436($s3) +/* 18055C 80251C7C A2600218 */ sb $zero, 0x218($s3) +/* 180560 80251C80 0C011EAA */ jal func_80047AA8 +/* 180564 80251C84 A2600219 */ sb $zero, 0x219($s3) +/* 180568 80251C88 24150001 */ addiu $s5, $zero, 1 +.L80251C8C: +/* 18056C 80251C8C 0000F02D */ daddu $fp, $zero, $zero +.L80251C90: +/* 180570 80251C90 3C02800E */ lui $v0, 0x800e +/* 180574 80251C94 8C42C070 */ lw $v0, -0x3f90($v0) +/* 180578 80251C98 30420020 */ andi $v0, $v0, 0x20 +/* 18057C 80251C9C 104000D0 */ beqz $v0, .L80251FE0 +/* 180580 80251CA0 3C030080 */ lui $v1, 0x80 +/* 180584 80251CA4 8E820188 */ lw $v0, 0x188($s4) +/* 180588 80251CA8 00431024 */ and $v0, $v0, $v1 +/* 18058C 80251CAC 1040000D */ beqz $v0, .L80251CE4 +/* 180590 80251CB0 3C020004 */ lui $v0, 4 +/* 180594 80251CB4 8EE3007C */ lw $v1, 0x7c($s7) +/* 180598 80251CB8 00621024 */ and $v0, $v1, $v0 +/* 18059C 80251CBC 10400003 */ beqz $v0, .L80251CCC +/* 1805A0 80251CC0 24120019 */ addiu $s2, $zero, 0x19 +/* 1805A4 80251CC4 24120014 */ addiu $s2, $zero, 0x14 +/* 1805A8 80251CC8 24150001 */ addiu $s5, $zero, 1 +.L80251CCC: +/* 1805AC 80251CCC 3C020008 */ lui $v0, 8 +/* 1805B0 80251CD0 00621024 */ and $v0, $v1, $v0 +/* 1805B4 80251CD4 10400003 */ beqz $v0, .L80251CE4 +/* 1805B8 80251CD8 00000000 */ nop +/* 1805BC 80251CDC 24120014 */ addiu $s2, $zero, 0x14 +/* 1805C0 80251CE0 24150001 */ addiu $s5, $zero, 1 +.L80251CE4: +/* 1805C4 80251CE4 3C02800E */ lui $v0, 0x800e +/* 1805C8 80251CE8 8C42C070 */ lw $v0, -0x3f90($v0) +/* 1805CC 80251CEC 30420020 */ andi $v0, $v0, 0x20 +/* 1805D0 80251CF0 104000BB */ beqz $v0, .L80251FE0 +/* 1805D4 80251CF4 3C030400 */ lui $v1, 0x400 +/* 1805D8 80251CF8 8E820188 */ lw $v0, 0x188($s4) +/* 1805DC 80251CFC 00431024 */ and $v0, $v0, $v1 +/* 1805E0 80251D00 10400006 */ beqz $v0, .L80251D1C +/* 1805E4 80251D04 2402000A */ addiu $v0, $zero, 0xa +/* 1805E8 80251D08 52420001 */ beql $s2, $v0, .L80251D10 +/* 1805EC 80251D0C 2412000B */ addiu $s2, $zero, 0xb +.L80251D10: +/* 1805F0 80251D10 24020020 */ addiu $v0, $zero, 0x20 +/* 1805F4 80251D14 52420001 */ beql $s2, $v0, .L80251D1C +/* 1805F8 80251D18 24120021 */ addiu $s2, $zero, 0x21 +.L80251D1C: +/* 1805FC 80251D1C 3C02800E */ lui $v0, 0x800e +/* 180600 80251D20 8C42C070 */ lw $v0, -0x3f90($v0) +/* 180604 80251D24 30420020 */ andi $v0, $v0, 0x20 +/* 180608 80251D28 104000AD */ beqz $v0, .L80251FE0 +/* 18060C 80251D2C 00000000 */ nop +/* 180610 80251D30 8E820188 */ lw $v0, 0x188($s4) +/* 180614 80251D34 30420480 */ andi $v0, $v0, 0x480 +/* 180618 80251D38 1040000A */ beqz $v0, .L80251D64 +/* 18061C 80251D3C 00000000 */ nop +/* 180620 80251D40 8EE2007C */ lw $v0, 0x7c($s7) +/* 180624 80251D44 30424000 */ andi $v0, $v0, 0x4000 +/* 180628 80251D48 10400006 */ beqz $v0, .L80251D64 +/* 18062C 80251D4C 2402000A */ addiu $v0, $zero, 0xa +/* 180630 80251D50 52420001 */ beql $s2, $v0, .L80251D58 +/* 180634 80251D54 2412000C */ addiu $s2, $zero, 0xc +.L80251D58: +/* 180638 80251D58 24020019 */ addiu $v0, $zero, 0x19 +/* 18063C 80251D5C 52420001 */ beql $s2, $v0, .L80251D64 +/* 180640 80251D60 2412000C */ addiu $s2, $zero, 0xc +.L80251D64: +/* 180644 80251D64 3C02800E */ lui $v0, 0x800e +/* 180648 80251D68 8C42C070 */ lw $v0, -0x3f90($v0) +/* 18064C 80251D6C 30420020 */ andi $v0, $v0, 0x20 +/* 180650 80251D70 1040009B */ beqz $v0, .L80251FE0 +/* 180654 80251D74 00000000 */ nop +/* 180658 80251D78 8E820188 */ lw $v0, 0x188($s4) +/* 18065C 80251D7C 30420400 */ andi $v0, $v0, 0x400 +/* 180660 80251D80 1040000A */ beqz $v0, .L80251DAC +/* 180664 80251D84 3C030080 */ lui $v1, 0x80 +/* 180668 80251D88 8EE2007C */ lw $v0, 0x7c($s7) +/* 18066C 80251D8C 00431024 */ and $v0, $v0, $v1 +/* 180670 80251D90 10400006 */ beqz $v0, .L80251DAC +/* 180674 80251D94 2402000A */ addiu $v0, $zero, 0xa +/* 180678 80251D98 52420001 */ beql $s2, $v0, .L80251DA0 +/* 18067C 80251D9C 2412000C */ addiu $s2, $zero, 0xc +.L80251DA0: +/* 180680 80251DA0 24020019 */ addiu $v0, $zero, 0x19 +/* 180684 80251DA4 52420001 */ beql $s2, $v0, .L80251DAC +/* 180688 80251DA8 2412000C */ addiu $s2, $zero, 0xc +.L80251DAC: +/* 18068C 80251DAC 3C02800E */ lui $v0, 0x800e +/* 180690 80251DB0 8C42C070 */ lw $v0, -0x3f90($v0) +/* 180694 80251DB4 30420020 */ andi $v0, $v0, 0x20 +/* 180698 80251DB8 10400089 */ beqz $v0, .L80251FE0 +/* 18069C 80251DBC 00000000 */ nop +/* 1806A0 80251DC0 8E820188 */ lw $v0, 0x188($s4) +/* 1806A4 80251DC4 30420C80 */ andi $v0, $v0, 0xc80 +/* 1806A8 80251DC8 1040000A */ beqz $v0, .L80251DF4 +/* 1806AC 80251DCC 00000000 */ nop +/* 1806B0 80251DD0 8EE2007C */ lw $v0, 0x7c($s7) +/* 1806B4 80251DD4 30421000 */ andi $v0, $v0, 0x1000 +/* 1806B8 80251DD8 10400006 */ beqz $v0, .L80251DF4 +/* 1806BC 80251DDC 2402000A */ addiu $v0, $zero, 0xa +/* 1806C0 80251DE0 52420001 */ beql $s2, $v0, .L80251DE8 +/* 1806C4 80251DE4 2412000D */ addiu $s2, $zero, 0xd +.L80251DE8: +/* 1806C8 80251DE8 24020019 */ addiu $v0, $zero, 0x19 +/* 1806CC 80251DEC 52420001 */ beql $s2, $v0, .L80251DF4 +/* 1806D0 80251DF0 2412000D */ addiu $s2, $zero, 0xd +.L80251DF4: +/* 1806D4 80251DF4 3C02800E */ lui $v0, 0x800e +/* 1806D8 80251DF8 8C42C070 */ lw $v0, -0x3f90($v0) +/* 1806DC 80251DFC 30420020 */ andi $v0, $v0, 0x20 +/* 1806E0 80251E00 10400077 */ beqz $v0, .L80251FE0 +/* 1806E4 80251E04 00000000 */ nop +/* 1806E8 80251E08 8E820188 */ lw $v0, 0x188($s4) +/* 1806EC 80251E0C 30420002 */ andi $v0, $v0, 2 +/* 1806F0 80251E10 10400008 */ beqz $v0, .L80251E34 +/* 1806F4 80251E14 2402000A */ addiu $v0, $zero, 0xa +/* 1806F8 80251E18 52420001 */ beql $s2, $v0, .L80251E20 +/* 1806FC 80251E1C 2412000E */ addiu $s2, $zero, 0xe +.L80251E20: +/* 180700 80251E20 24020020 */ addiu $v0, $zero, 0x20 +/* 180704 80251E24 52420001 */ beql $s2, $v0, .L80251E2C +/* 180708 80251E28 24120024 */ addiu $s2, $zero, 0x24 +.L80251E2C: +/* 18070C 80251E2C 24080001 */ addiu $t0, $zero, 1 +/* 180710 80251E30 AFA80024 */ sw $t0, 0x24($sp) +.L80251E34: +/* 180714 80251E34 3C02800E */ lui $v0, 0x800e +/* 180718 80251E38 8C42C070 */ lw $v0, -0x3f90($v0) +/* 18071C 80251E3C 30420020 */ andi $v0, $v0, 0x20 +/* 180720 80251E40 10400067 */ beqz $v0, .L80251FE0 +/* 180724 80251E44 00000000 */ nop +/* 180728 80251E48 86820180 */ lh $v0, 0x180($s4) +/* 18072C 80251E4C 04400064 */ bltz $v0, .L80251FE0 +/* 180730 80251E50 24020020 */ addiu $v0, $zero, 0x20 +/* 180734 80251E54 12420062 */ beq $s2, $v0, .L80251FE0 +/* 180738 80251E58 24020021 */ addiu $v0, $zero, 0x21 +/* 18073C 80251E5C 12420060 */ beq $s2, $v0, .L80251FE0 +/* 180740 80251E60 24020022 */ addiu $v0, $zero, 0x22 +/* 180744 80251E64 1242005E */ beq $s2, $v0, .L80251FE0 +/* 180748 80251E68 3C030008 */ lui $v1, 8 +/* 18074C 80251E6C 8E820190 */ lw $v0, 0x190($s4) +/* 180750 80251E70 00431024 */ and $v0, $v0, $v1 +/* 180754 80251E74 10400006 */ beqz $v0, .L80251E90 +/* 180758 80251E78 0260202D */ daddu $a0, $s3, $zero +/* 18075C 80251E7C 2405000A */ addiu $a1, $zero, 0xa +/* 180760 80251E80 0C099ADE */ jal try_inflict_status +/* 180764 80251E84 24060027 */ addiu $a2, $zero, 0x27 +/* 180768 80251E88 54400001 */ bnezl $v0, .L80251E90 +/* 18076C 80251E8C 24150001 */ addiu $s5, $zero, 1 +.L80251E90: +/* 180770 80251E90 8E820190 */ lw $v0, 0x190($s4) +/* 180774 80251E94 3C030002 */ lui $v1, 2 +/* 180778 80251E98 00431024 */ and $v0, $v0, $v1 +/* 18077C 80251E9C 10400006 */ beqz $v0, .L80251EB8 +/* 180780 80251EA0 0260202D */ daddu $a0, $s3, $zero +/* 180784 80251EA4 24050009 */ addiu $a1, $zero, 9 +/* 180788 80251EA8 0C099ADE */ jal try_inflict_status +/* 18078C 80251EAC 24060025 */ addiu $a2, $zero, 0x25 +/* 180790 80251EB0 54400001 */ bnezl $v0, .L80251EB8 +/* 180794 80251EB4 24150001 */ addiu $s5, $zero, 1 +.L80251EB8: +/* 180798 80251EB8 8E820190 */ lw $v0, 0x190($s4) +/* 18079C 80251EBC 3C030010 */ lui $v1, 0x10 +/* 1807A0 80251EC0 00431024 */ and $v0, $v0, $v1 +/* 1807A4 80251EC4 10400006 */ beqz $v0, .L80251EE0 +/* 1807A8 80251EC8 0260202D */ daddu $a0, $s3, $zero +/* 1807AC 80251ECC 2405000C */ addiu $a1, $zero, 0xc +/* 1807B0 80251ED0 0C099ADE */ jal try_inflict_status +/* 1807B4 80251ED4 24060028 */ addiu $a2, $zero, 0x28 +/* 1807B8 80251ED8 54400001 */ bnezl $v0, .L80251EE0 +/* 1807BC 80251EDC 24150001 */ addiu $s5, $zero, 1 +.L80251EE0: +/* 1807C0 80251EE0 8E820190 */ lw $v0, 0x190($s4) +/* 1807C4 80251EE4 30421000 */ andi $v0, $v0, 0x1000 +/* 1807C8 80251EE8 10400006 */ beqz $v0, .L80251F04 +/* 1807CC 80251EEC 0260202D */ daddu $a0, $s3, $zero +/* 1807D0 80251EF0 24050006 */ addiu $a1, $zero, 6 +/* 1807D4 80251EF4 0C099ADE */ jal try_inflict_status +/* 1807D8 80251EF8 24060020 */ addiu $a2, $zero, 0x20 +/* 1807DC 80251EFC 54400001 */ bnezl $v0, .L80251F04 +/* 1807E0 80251F00 24150001 */ addiu $s5, $zero, 1 +.L80251F04: +/* 1807E4 80251F04 8E820190 */ lw $v0, 0x190($s4) +/* 1807E8 80251F08 3C030020 */ lui $v1, 0x20 +/* 1807EC 80251F0C 00431024 */ and $v0, $v0, $v1 +/* 1807F0 80251F10 10400006 */ beqz $v0, .L80251F2C +/* 1807F4 80251F14 0260202D */ daddu $a0, $s3, $zero +/* 1807F8 80251F18 24050008 */ addiu $a1, $zero, 8 +/* 1807FC 80251F1C 0C099ADE */ jal try_inflict_status +/* 180800 80251F20 24060029 */ addiu $a2, $zero, 0x29 +/* 180804 80251F24 54400001 */ bnezl $v0, .L80251F2C +/* 180808 80251F28 24150001 */ addiu $s5, $zero, 1 +.L80251F2C: +/* 18080C 80251F2C 8E820190 */ lw $v0, 0x190($s4) +/* 180810 80251F30 30422000 */ andi $v0, $v0, 0x2000 +/* 180814 80251F34 10400006 */ beqz $v0, .L80251F50 +/* 180818 80251F38 0260202D */ daddu $a0, $s3, $zero +/* 18081C 80251F3C 2405000B */ addiu $a1, $zero, 0xb +/* 180820 80251F40 0C099ADE */ jal try_inflict_status +/* 180824 80251F44 24060021 */ addiu $a2, $zero, 0x21 +/* 180828 80251F48 54400001 */ bnezl $v0, .L80251F50 +/* 18082C 80251F4C 24150001 */ addiu $s5, $zero, 1 +.L80251F50: +/* 180830 80251F50 8E820190 */ lw $v0, 0x190($s4) +/* 180834 80251F54 30428000 */ andi $v0, $v0, 0x8000 +/* 180838 80251F58 10400006 */ beqz $v0, .L80251F74 +/* 18083C 80251F5C 0260202D */ daddu $a0, $s3, $zero +/* 180840 80251F60 24050003 */ addiu $a1, $zero, 3 +/* 180844 80251F64 0C099ADE */ jal try_inflict_status +/* 180848 80251F68 24060023 */ addiu $a2, $zero, 0x23 +/* 18084C 80251F6C 54400001 */ bnezl $v0, .L80251F74 +/* 180850 80251F70 24150001 */ addiu $s5, $zero, 1 +.L80251F74: +/* 180854 80251F74 8E820190 */ lw $v0, 0x190($s4) +/* 180858 80251F78 3C030001 */ lui $v1, 1 +/* 18085C 80251F7C 00431024 */ and $v0, $v0, $v1 +/* 180860 80251F80 10400006 */ beqz $v0, .L80251F9C +/* 180864 80251F84 0260202D */ daddu $a0, $s3, $zero +/* 180868 80251F88 24050005 */ addiu $a1, $zero, 5 +/* 18086C 80251F8C 0C099ADE */ jal try_inflict_status +/* 180870 80251F90 24060026 */ addiu $a2, $zero, 0x26 +/* 180874 80251F94 54400001 */ bnezl $v0, .L80251F9C +/* 180878 80251F98 24150001 */ addiu $s5, $zero, 1 +.L80251F9C: +/* 18087C 80251F9C 8E820190 */ lw $v0, 0x190($s4) +/* 180880 80251FA0 3C030004 */ lui $v1, 4 +/* 180884 80251FA4 00431024 */ and $v0, $v0, $v1 +/* 180888 80251FA8 10400006 */ beqz $v0, .L80251FC4 +/* 18088C 80251FAC 0260202D */ daddu $a0, $s3, $zero +/* 180890 80251FB0 24050004 */ addiu $a1, $zero, 4 +/* 180894 80251FB4 0C099ADE */ jal try_inflict_status +/* 180898 80251FB8 24060024 */ addiu $a2, $zero, 0x24 +/* 18089C 80251FBC 54400001 */ bnezl $v0, .L80251FC4 +/* 1808A0 80251FC0 24150001 */ addiu $s5, $zero, 1 +.L80251FC4: +/* 1808A4 80251FC4 12A00006 */ beqz $s5, .L80251FE0 +/* 1808A8 80251FC8 24020017 */ addiu $v0, $zero, 0x17 +/* 1808AC 80251FCC 52420001 */ beql $s2, $v0, .L80251FD4 +/* 1808B0 80251FD0 24120009 */ addiu $s2, $zero, 9 +.L80251FD4: +/* 1808B4 80251FD4 24020019 */ addiu $v0, $zero, 0x19 +/* 1808B8 80251FD8 52420001 */ beql $s2, $v0, .L80251FE0 +/* 1808BC 80251FDC 2412000A */ addiu $s2, $zero, 0xa +.L80251FE0: +/* 1808C0 80251FE0 8E620008 */ lw $v0, 8($s3) +/* 1808C4 80251FE4 92830194 */ lbu $v1, 0x194($s4) +/* 1808C8 80251FE8 9050001B */ lbu $s0, 0x1b($v0) +/* 1808CC 80251FEC 00700018 */ mult $v1, $s0 +/* 1808D0 80251FF0 00001812 */ mflo $v1 +/* 1808D4 80251FF4 3C0251EB */ lui $v0, 0x51eb +/* 1808D8 80251FF8 3442851F */ ori $v0, $v0, 0x851f +/* 1808DC 80251FFC 00620018 */ mult $v1, $v0 +/* 1808E0 80252000 3C16800E */ lui $s6, 0x800e +/* 1808E4 80252004 26D6C070 */ addiu $s6, $s6, -0x3f90 +/* 1808E8 80252008 8EC20000 */ lw $v0, ($s6) +/* 1808EC 8025200C 00031FC3 */ sra $v1, $v1, 0x1f +/* 1808F0 80252010 30420020 */ andi $v0, $v0, 0x20 +/* 1808F4 80252014 00004810 */ mfhi $t1 +/* 1808F8 80252018 00092143 */ sra $a0, $t1, 5 +/* 1808FC 8025201C 10400027 */ beqz $v0, .L802520BC +/* 180900 80252020 00838023 */ subu $s0, $a0, $v1 +/* 180904 80252024 8E820188 */ lw $v0, 0x188($s4) +/* 180908 80252028 30421000 */ andi $v0, $v0, 0x1000 +/* 18090C 8025202C 50400024 */ beql $v0, $zero, .L802520C0 +/* 180910 80252030 A2950199 */ sb $s5, 0x199($s4) +/* 180914 80252034 0C00A67F */ jal rand_int +/* 180918 80252038 24040063 */ addiu $a0, $zero, 0x63 +/* 18091C 8025203C 0050102A */ slt $v0, $v0, $s0 +/* 180920 80252040 1040001D */ beqz $v0, .L802520B8 +/* 180924 80252044 24120019 */ addiu $s2, $zero, 0x19 +/* 180928 80252048 92620210 */ lbu $v0, 0x210($s3) +/* 18092C 8025204C 2442FFFD */ addiu $v0, $v0, -3 +/* 180930 80252050 2C420006 */ sltiu $v0, $v0, 6 +/* 180934 80252054 14400019 */ bnez $v0, .L802520BC +/* 180938 80252058 241E0002 */ addiu $fp, $zero, 2 +/* 18093C 8025205C 8E620000 */ lw $v0, ($s3) +/* 180940 80252060 30420400 */ andi $v0, $v0, 0x400 +/* 180944 80252064 14400015 */ bnez $v0, .L802520BC +/* 180948 80252068 00000000 */ nop +/* 18094C 8025206C 24120039 */ addiu $s2, $zero, 0x39 +/* 180950 80252070 0000F02D */ daddu $fp, $zero, $zero +/* 180954 80252074 8EC20000 */ lw $v0, ($s6) +/* 180958 80252078 24080001 */ addiu $t0, $zero, 1 +/* 18095C 8025207C AFA8001C */ sw $t0, 0x1c($sp) +/* 180960 80252080 00521025 */ or $v0, $v0, $s2 +/* 180964 80252084 AEC20000 */ sw $v0, ($s6) +/* 180968 80252088 C6200014 */ lwc1 $f0, 0x14($s1) +/* 18096C 8025208C 24040231 */ addiu $a0, $zero, 0x231 +/* 180970 80252090 E7A00010 */ swc1 $f0, 0x10($sp) +/* 180974 80252094 8E26000C */ lw $a2, 0xc($s1) +/* 180978 80252098 8E270010 */ lw $a3, 0x10($s1) +/* 18097C 8025209C 0C052757 */ jal play_sound_at_position +/* 180980 802520A0 03C0282D */ daddu $a1, $fp, $zero +/* 180984 802520A4 8EC20000 */ lw $v0, ($s6) +/* 180988 802520A8 24150001 */ addiu $s5, $zero, 1 +/* 18098C 802520AC 34420040 */ ori $v0, $v0, 0x40 +/* 180990 802520B0 0809482F */ j func_802520BC +/* 180994 802520B4 AEC20000 */ sw $v0, ($s6) + +.L802520B8: +/* 180998 802520B8 241E0002 */ addiu $fp, $zero, 2 +func_802520BC: +.L802520BC: +/* 18099C 802520BC A2950199 */ sb $s5, 0x199($s4) +.L802520C0: +/* 1809A0 802520C0 8FA8001C */ lw $t0, 0x1c($sp) +/* 1809A4 802520C4 11000006 */ beqz $t0, .L802520E0 +/* 1809A8 802520C8 00000000 */ nop +/* 1809AC 802520CC 3C02800E */ lui $v0, 0x800e +/* 1809B0 802520D0 8C42C070 */ lw $v0, -0x3f90($v0) +/* 1809B4 802520D4 30420240 */ andi $v0, $v0, 0x240 +/* 1809B8 802520D8 14400008 */ bnez $v0, .L802520FC +/* 1809BC 802520DC 00000000 */ nop +.L802520E0: +/* 1809C0 802520E0 3C03800E */ lui $v1, 0x800e +/* 1809C4 802520E4 8C63C070 */ lw $v1, -0x3f90($v1) +/* 1809C8 802520E8 30620240 */ andi $v0, $v1, 0x240 +/* 1809CC 802520EC 10400027 */ beqz $v0, .L8025218C +/* 1809D0 802520F0 30620080 */ andi $v0, $v1, 0x80 +/* 1809D4 802520F4 14400025 */ bnez $v0, .L8025218C +/* 1809D8 802520F8 00000000 */ nop +.L802520FC: +/* 1809DC 802520FC 86820180 */ lh $v0, 0x180($s4) +/* 1809E0 80252100 1840000B */ blez $v0, .L80252130 +/* 1809E4 80252104 00000000 */ nop +/* 1809E8 80252108 C6200014 */ lwc1 $f0, 0x14($s1) +/* 1809EC 8025210C 24040231 */ addiu $a0, $zero, 0x231 +/* 1809F0 80252110 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1809F4 80252114 8E26000C */ lw $a2, 0xc($s1) +/* 1809F8 80252118 8E270010 */ lw $a3, 0x10($s1) +/* 1809FC 8025211C 0C052757 */ jal play_sound_at_position +/* 180A00 80252120 0000282D */ daddu $a1, $zero, $zero +/* 180A04 80252124 86820180 */ lh $v0, 0x180($s4) +/* 180A08 80252128 1C400009 */ bgtz $v0, .L80252150 +/* 180A0C 8025212C 00000000 */ nop +.L80252130: +/* 180A10 80252130 8E820188 */ lw $v0, 0x188($s4) +/* 180A14 80252134 3C034000 */ lui $v1, 0x4000 +/* 180A18 80252138 00431024 */ and $v0, $v0, $v1 +/* 180A1C 8025213C 10400013 */ beqz $v0, .L8025218C +/* 180A20 80252140 00000000 */ nop +/* 180A24 80252144 8FA8001C */ lw $t0, 0x1c($sp) +/* 180A28 80252148 11000010 */ beqz $t0, .L8025218C +/* 180A2C 8025214C 00000000 */ nop +.L80252150: +/* 180A30 80252150 3C02800E */ lui $v0, 0x800e +/* 180A34 80252154 8C42C070 */ lw $v0, -0x3f90($v0) +/* 180A38 80252158 30420040 */ andi $v0, $v0, 0x40 +/* 180A3C 8025215C 10400004 */ beqz $v0, .L80252170 +/* 180A40 80252160 0000202D */ daddu $a0, $zero, $zero +/* 180A44 80252164 C6200014 */ lwc1 $f0, 0x14($s1) +/* 180A48 80252168 0809485F */ j func_8025217C +/* 180A4C 8025216C E7A00010 */ swc1 $f0, 0x10($sp) + +.L80252170: +/* 180A50 80252170 C6200014 */ lwc1 $f0, 0x14($s1) +/* 180A54 80252174 24040003 */ addiu $a0, $zero, 3 +/* 180A58 80252178 E7A00010 */ swc1 $f0, 0x10($sp) +func_8025217C: +/* 180A5C 8025217C 8E26000C */ lw $a2, 0xc($s1) +/* 180A60 80252180 8E270010 */ lw $a3, 0x10($s1) +/* 180A64 80252184 0C0999FC */ jal func_802667F0 +/* 180A68 80252188 0260282D */ daddu $a1, $s3, $zero +.L8025218C: +/* 180A6C 8025218C 3C10800E */ lui $s0, 0x800e +/* 180A70 80252190 2610C070 */ addiu $s0, $s0, -0x3f90 +/* 180A74 80252194 8E020000 */ lw $v0, ($s0) +/* 180A78 80252198 30420020 */ andi $v0, $v0, 0x20 +/* 180A7C 8025219C 10400004 */ beqz $v0, .L802521B0 +/* 180A80 802521A0 0260202D */ daddu $a0, $s3, $zero +/* 180A84 802521A4 0C099A5C */ jal func_80266970 +/* 180A88 802521A8 0260202D */ daddu $a0, $s3, $zero +/* 180A8C 802521AC 0260202D */ daddu $a0, $s3, $zero +.L802521B0: +/* 180A90 802521B0 0C09DC58 */ jal dispatch_event_actor +/* 180A94 802521B4 0240282D */ daddu $a1, $s2, $zero +/* 180A98 802521B8 8FA80020 */ lw $t0, 0x20($sp) +/* 180A9C 802521BC 24020100 */ addiu $v0, $zero, 0x100 +/* 180AA0 802521C0 1502000A */ bne $t0, $v0, .L802521EC +/* 180AA4 802521C4 00000000 */ nop +/* 180AA8 802521C8 86860180 */ lh $a2, 0x180($s4) +/* 180AAC 802521CC 18C00007 */ blez $a2, .L802521EC +/* 180AB0 802521D0 00000000 */ nop +/* 180AB4 802521D4 8E020000 */ lw $v0, ($s0) +/* 180AB8 802521D8 30420020 */ andi $v0, $v0, 0x20 +/* 180ABC 802521DC 10400003 */ beqz $v0, .L802521EC +/* 180AC0 802521E0 0260202D */ daddu $a0, $s3, $zero +/* 180AC4 802521E4 0C0997D0 */ jal inflict_status +/* 180AC8 802521E8 2405000D */ addiu $a1, $zero, 0xd +.L802521EC: +/* 180ACC 802521EC 8E620000 */ lw $v0, ($s3) +/* 180AD0 802521F0 3C030200 */ lui $v1, 0x200 +/* 180AD4 802521F4 00431024 */ and $v0, $v0, $v1 +/* 180AD8 802521F8 14400030 */ bnez $v0, .L802522BC +/* 180ADC 802521FC 00000000 */ nop +/* 180AE0 80252200 86870180 */ lh $a3, 0x180($s4) +/* 180AE4 80252204 14E00010 */ bnez $a3, .L80252248 +/* 180AE8 80252208 00000000 */ nop +/* 180AEC 8025220C 8FA8001C */ lw $t0, 0x1c($sp) +/* 180AF0 80252210 1500002A */ bnez $t0, .L802522BC +/* 180AF4 80252214 00000000 */ nop +/* 180AF8 80252218 16A00028 */ bnez $s5, .L802522BC +/* 180AFC 8025221C 24020001 */ addiu $v0, $zero, 1 +/* 180B00 80252220 AFA20010 */ sw $v0, 0x10($sp) +/* 180B04 80252224 24020003 */ addiu $v0, $zero, 3 +/* 180B08 80252228 AFA20014 */ sw $v0, 0x14($sp) +/* 180B0C 8025222C C62C000C */ lwc1 $f12, 0xc($s1) +/* 180B10 80252230 C62E0010 */ lwc1 $f14, 0x10($s1) +/* 180B14 80252234 8E260014 */ lw $a2, 0x14($s1) +/* 180B18 80252238 0C093BF8 */ jal func_8024EFE0 +/* 180B1C 8025223C 0000382D */ daddu $a3, $zero, $zero +/* 180B20 80252240 080948AF */ j func_802522BC +/* 180B24 80252244 00000000 */ nop + +.L80252248: +/* 180B28 80252248 8FA80018 */ lw $t0, 0x18($sp) +/* 180B2C 8025224C 1500001B */ bnez $t0, .L802522BC +/* 180B30 80252250 3C032000 */ lui $v1, 0x2000 +/* 180B34 80252254 8E820188 */ lw $v0, 0x188($s4) +/* 180B38 80252258 34630040 */ ori $v1, $v1, 0x40 +/* 180B3C 8025225C 00431024 */ and $v0, $v0, $v1 +/* 180B40 80252260 10400007 */ beqz $v0, .L80252280 +/* 180B44 80252264 AFA00010 */ sw $zero, 0x10($sp) +/* 180B48 80252268 C62C000C */ lwc1 $f12, 0xc($s1) +/* 180B4C 8025226C C62E0010 */ lwc1 $f14, 0x10($s1) +/* 180B50 80252270 0C09996B */ jal show_damage_popup +/* 180B54 80252274 8E260014 */ lw $a2, 0x14($s1) +/* 180B58 80252278 080948A4 */ j func_80252290 +/* 180B5C 8025227C 00000000 */ nop + +.L80252280: +/* 180B60 80252280 C62C000C */ lwc1 $f12, 0xc($s1) +/* 180B64 80252284 C62E0010 */ lwc1 $f14, 0x10($s1) +/* 180B68 80252288 0C099937 */ jal func_802664DC +/* 180B6C 8025228C 8E260014 */ lw $a2, 0x14($s1) +func_80252290: +/* 180B70 80252290 8EE20004 */ lw $v0, 4($s7) +/* 180B74 80252294 30420004 */ andi $v0, $v0, 4 +/* 180B78 80252298 14400008 */ bnez $v0, .L802522BC +/* 180B7C 8025229C 00000000 */ nop +/* 180B80 802522A0 86820180 */ lh $v0, 0x180($s4) +/* 180B84 802522A4 AFA20010 */ sw $v0, 0x10($sp) +/* 180B88 802522A8 8E25000C */ lw $a1, 0xc($s1) +/* 180B8C 802522AC 8E260010 */ lw $a2, 0x10($s1) +/* 180B90 802522B0 8E270014 */ lw $a3, 0x14($s1) +/* 180B94 802522B4 0C0999B9 */ jal func_802666E4 +/* 180B98 802522B8 0260202D */ daddu $a0, $s3, $zero +func_802522BC: +.L802522BC: +/* 180B9C 802522BC 86820180 */ lh $v0, 0x180($s4) +/* 180BA0 802522C0 18400022 */ blez $v0, .L8025234C +/* 180BA4 802522C4 00000000 */ nop +/* 180BA8 802522C8 8FA80018 */ lw $t0, 0x18($sp) +/* 180BAC 802522CC 1500001D */ bnez $t0, .L80252344 +/* 180BB0 802522D0 0260202D */ daddu $a0, $s3, $zero +/* 180BB4 802522D4 0C099C06 */ jal func_80267018 +/* 180BB8 802522D8 24050001 */ addiu $a1, $zero, 1 +/* 180BBC 802522DC 8FA80024 */ lw $t0, 0x24($sp) +/* 180BC0 802522E0 11000004 */ beqz $t0, .L802522F4 +/* 180BC4 802522E4 240400EA */ addiu $a0, $zero, 0xea +/* 180BC8 802522E8 C6200014 */ lwc1 $f0, 0x14($s1) +/* 180BCC 802522EC 080948CC */ j func_80252330 +/* 180BD0 802522F0 E7A00010 */ swc1 $f0, 0x10($sp) + +.L802522F4: +/* 180BD4 802522F4 8FA80028 */ lw $t0, 0x28($sp) +/* 180BD8 802522F8 11000004 */ beqz $t0, .L8025230C +/* 180BDC 802522FC 2404037B */ addiu $a0, $zero, 0x37b +/* 180BE0 80252300 C6200014 */ lwc1 $f0, 0x14($s1) +/* 180BE4 80252304 080948CC */ j func_80252330 +/* 180BE8 80252308 E7A00010 */ swc1 $f0, 0x10($sp) + +.L8025230C: +/* 180BEC 8025230C 8FA8002C */ lw $t0, 0x2c($sp) +/* 180BF0 80252310 11000004 */ beqz $t0, .L80252324 +/* 180BF4 80252314 240400EB */ addiu $a0, $zero, 0xeb +/* 180BF8 80252318 C6200014 */ lwc1 $f0, 0x14($s1) +/* 180BFC 8025231C 080948CC */ j func_80252330 +/* 180C00 80252320 E7A00010 */ swc1 $f0, 0x10($sp) + +.L80252324: +/* 180C04 80252324 C6200014 */ lwc1 $f0, 0x14($s1) +/* 180C08 80252328 240400E9 */ addiu $a0, $zero, 0xe9 +/* 180C0C 8025232C E7A00010 */ swc1 $f0, 0x10($sp) +func_80252330: +/* 180C10 80252330 8E26000C */ lw $a2, 0xc($s1) +/* 180C14 80252334 8E270010 */ lw $a3, 0x10($s1) +/* 180C18 80252338 0C052757 */ jal play_sound_at_position +/* 180C1C 8025233C 0000282D */ daddu $a1, $zero, $zero +/* 180C20 80252340 86820180 */ lh $v0, 0x180($s4) +.L80252344: +/* 180C24 80252344 1C400003 */ bgtz $v0, .L80252354 +/* 180C28 80252348 00000000 */ nop +.L8025234C: +/* 180C2C 8025234C 12A00005 */ beqz $s5, .L80252364 +/* 180C30 80252350 00000000 */ nop +.L80252354: +/* 180C34 80252354 8EE20000 */ lw $v0, ($s7) +/* 180C38 80252358 30422000 */ andi $v0, $v0, 0x2000 +/* 180C3C 8025235C 10400008 */ beqz $v0, .L80252380 +/* 180C40 80252360 00000000 */ nop +.L80252364: +/* 180C44 80252364 C6200014 */ lwc1 $f0, 0x14($s1) +/* 180C48 80252368 2404010C */ addiu $a0, $zero, 0x10c +/* 180C4C 8025236C E7A00010 */ swc1 $f0, 0x10($sp) +/* 180C50 80252370 8E26000C */ lw $a2, 0xc($s1) +/* 180C54 80252374 8E270010 */ lw $a3, 0x10($s1) +/* 180C58 80252378 0C052757 */ jal play_sound_at_position +/* 180C5C 8025237C 0000282D */ daddu $a1, $zero, $zero +.L80252380: +/* 180C60 80252380 8E820190 */ lw $v0, 0x190($s4) +/* 180C64 80252384 30421000 */ andi $v0, $v0, 0x1000 +/* 180C68 80252388 10400018 */ beqz $v0, .L802523EC +/* 180C6C 8025238C 00000000 */ nop +/* 180C70 80252390 12A00016 */ beqz $s5, .L802523EC +/* 180C74 80252394 00000000 */ nop +/* 180C78 80252398 3C048029 */ lui $a0, 0x8029 +/* 180C7C 8025239C 248445E0 */ addiu $a0, $a0, 0x45e0 +/* 180C80 802523A0 2405000A */ addiu $a1, $zero, 0xa +/* 180C84 802523A4 0C0B0CF8 */ jal start_script +/* 180C88 802523A8 0000302D */ daddu $a2, $zero, $zero +/* 180C8C 802523AC C620000C */ lwc1 $f0, 0xc($s1) +/* 180C90 802523B0 4600018D */ trunc.w.s $f6, $f0 +/* 180C94 802523B4 E4460084 */ swc1 $f6, 0x84($v0) +/* 180C98 802523B8 C6200010 */ lwc1 $f0, 0x10($s1) +/* 180C9C 802523BC 4600018D */ trunc.w.s $f6, $f0 +/* 180CA0 802523C0 E4460088 */ swc1 $f6, 0x88($v0) +/* 180CA4 802523C4 C6200014 */ lwc1 $f0, 0x14($s1) +/* 180CA8 802523C8 4600018D */ trunc.w.s $f6, $f0 +/* 180CAC 802523CC E446008C */ swc1 $f6, 0x8c($v0) +/* 180CB0 802523D0 C6200014 */ lwc1 $f0, 0x14($s1) +/* 180CB4 802523D4 24042031 */ addiu $a0, $zero, 0x2031 +/* 180CB8 802523D8 E7A00010 */ swc1 $f0, 0x10($sp) +/* 180CBC 802523DC 8E26000C */ lw $a2, 0xc($s1) +/* 180CC0 802523E0 8E270010 */ lw $a3, 0x10($s1) +/* 180CC4 802523E4 0C052757 */ jal play_sound_at_position +/* 180CC8 802523E8 0000282D */ daddu $a1, $zero, $zero +.L802523EC: +/* 180CCC 802523EC 8E820190 */ lw $v0, 0x190($s4) +/* 180CD0 802523F0 3C030004 */ lui $v1, 4 +/* 180CD4 802523F4 00431024 */ and $v0, $v0, $v1 +/* 180CD8 802523F8 10400018 */ beqz $v0, .L8025245C +/* 180CDC 802523FC 00000000 */ nop +/* 180CE0 80252400 12A00016 */ beqz $s5, .L8025245C +/* 180CE4 80252404 00000000 */ nop +/* 180CE8 80252408 3C048029 */ lui $a0, 0x8029 +/* 180CEC 8025240C 248445FC */ addiu $a0, $a0, 0x45fc +/* 180CF0 80252410 2405000A */ addiu $a1, $zero, 0xa +/* 180CF4 80252414 0C0B0CF8 */ jal start_script +/* 180CF8 80252418 0000302D */ daddu $a2, $zero, $zero +/* 180CFC 8025241C C620000C */ lwc1 $f0, 0xc($s1) +/* 180D00 80252420 4600018D */ trunc.w.s $f6, $f0 +/* 180D04 80252424 E4460084 */ swc1 $f6, 0x84($v0) +/* 180D08 80252428 C6200010 */ lwc1 $f0, 0x10($s1) +/* 180D0C 8025242C 4600018D */ trunc.w.s $f6, $f0 +/* 180D10 80252430 E4460088 */ swc1 $f6, 0x88($v0) +/* 180D14 80252434 C6200014 */ lwc1 $f0, 0x14($s1) +/* 180D18 80252438 4600018D */ trunc.w.s $f6, $f0 +/* 180D1C 8025243C E446008C */ swc1 $f6, 0x8c($v0) +/* 180D20 80252440 C6200014 */ lwc1 $f0, 0x14($s1) +/* 180D24 80252444 24042032 */ addiu $a0, $zero, 0x2032 +/* 180D28 80252448 E7A00010 */ swc1 $f0, 0x10($sp) +/* 180D2C 8025244C 8E26000C */ lw $a2, 0xc($s1) +/* 180D30 80252450 8E270010 */ lw $a3, 0x10($s1) +/* 180D34 80252454 0C052757 */ jal play_sound_at_position +/* 180D38 80252458 0000282D */ daddu $a1, $zero, $zero +.L8025245C: +/* 180D3C 8025245C 8E820190 */ lw $v0, 0x190($s4) +/* 180D40 80252460 3C030001 */ lui $v1, 1 +/* 180D44 80252464 00431024 */ and $v0, $v0, $v1 +/* 180D48 80252468 10400018 */ beqz $v0, .L802524CC +/* 180D4C 8025246C 00000000 */ nop +/* 180D50 80252470 12A00016 */ beqz $s5, .L802524CC +/* 180D54 80252474 00000000 */ nop +/* 180D58 80252478 3C048029 */ lui $a0, 0x8029 +/* 180D5C 8025247C 24844618 */ addiu $a0, $a0, 0x4618 +/* 180D60 80252480 2405000A */ addiu $a1, $zero, 0xa +/* 180D64 80252484 0C0B0CF8 */ jal start_script +/* 180D68 80252488 0000302D */ daddu $a2, $zero, $zero +/* 180D6C 8025248C C620000C */ lwc1 $f0, 0xc($s1) +/* 180D70 80252490 4600018D */ trunc.w.s $f6, $f0 +/* 180D74 80252494 E4460084 */ swc1 $f6, 0x84($v0) +/* 180D78 80252498 C6200010 */ lwc1 $f0, 0x10($s1) +/* 180D7C 8025249C 4600018D */ trunc.w.s $f6, $f0 +/* 180D80 802524A0 E4460088 */ swc1 $f6, 0x88($v0) +/* 180D84 802524A4 C6200014 */ lwc1 $f0, 0x14($s1) +/* 180D88 802524A8 4600018D */ trunc.w.s $f6, $f0 +/* 180D8C 802524AC E446008C */ swc1 $f6, 0x8c($v0) +/* 180D90 802524B0 C6200014 */ lwc1 $f0, 0x14($s1) +/* 180D94 802524B4 24042032 */ addiu $a0, $zero, 0x2032 +/* 180D98 802524B8 E7A00010 */ swc1 $f0, 0x10($sp) +/* 180D9C 802524BC 8E26000C */ lw $a2, 0xc($s1) +/* 180DA0 802524C0 8E270010 */ lw $a3, 0x10($s1) +/* 180DA4 802524C4 0C052757 */ jal play_sound_at_position +/* 180DA8 802524C8 0000282D */ daddu $a1, $zero, $zero +.L802524CC: +/* 180DAC 802524CC 8E820190 */ lw $v0, 0x190($s4) +/* 180DB0 802524D0 3C030002 */ lui $v1, 2 +/* 180DB4 802524D4 00431024 */ and $v0, $v0, $v1 +/* 180DB8 802524D8 10400018 */ beqz $v0, .L8025253C +/* 180DBC 802524DC 00000000 */ nop +/* 180DC0 802524E0 12A00016 */ beqz $s5, .L8025253C +/* 180DC4 802524E4 00000000 */ nop +/* 180DC8 802524E8 3C048029 */ lui $a0, 0x8029 +/* 180DCC 802524EC 24844634 */ addiu $a0, $a0, 0x4634 +/* 180DD0 802524F0 2405000A */ addiu $a1, $zero, 0xa +/* 180DD4 802524F4 0C0B0CF8 */ jal start_script +/* 180DD8 802524F8 0000302D */ daddu $a2, $zero, $zero +/* 180DDC 802524FC C620000C */ lwc1 $f0, 0xc($s1) +/* 180DE0 80252500 4600018D */ trunc.w.s $f6, $f0 +/* 180DE4 80252504 E4460084 */ swc1 $f6, 0x84($v0) +/* 180DE8 80252508 C6200010 */ lwc1 $f0, 0x10($s1) +/* 180DEC 8025250C 4600018D */ trunc.w.s $f6, $f0 +/* 180DF0 80252510 E4460088 */ swc1 $f6, 0x88($v0) +/* 180DF4 80252514 C6200014 */ lwc1 $f0, 0x14($s1) +/* 180DF8 80252518 4600018D */ trunc.w.s $f6, $f0 +/* 180DFC 8025251C E446008C */ swc1 $f6, 0x8c($v0) +/* 180E00 80252520 C6200014 */ lwc1 $f0, 0x14($s1) +/* 180E04 80252524 24042032 */ addiu $a0, $zero, 0x2032 +/* 180E08 80252528 E7A00010 */ swc1 $f0, 0x10($sp) +/* 180E0C 8025252C 8E26000C */ lw $a2, 0xc($s1) +/* 180E10 80252530 8E270010 */ lw $a3, 0x10($s1) +/* 180E14 80252534 0C052757 */ jal play_sound_at_position +/* 180E18 80252538 0000282D */ daddu $a1, $zero, $zero +.L8025253C: +/* 180E1C 8025253C 8E820190 */ lw $v0, 0x190($s4) +/* 180E20 80252540 3C030020 */ lui $v1, 0x20 +/* 180E24 80252544 00431024 */ and $v0, $v0, $v1 +/* 180E28 80252548 10400018 */ beqz $v0, .L802525AC +/* 180E2C 8025254C 00000000 */ nop +/* 180E30 80252550 12A00016 */ beqz $s5, .L802525AC +/* 180E34 80252554 00000000 */ nop +/* 180E38 80252558 3C048029 */ lui $a0, 0x8029 +/* 180E3C 8025255C 24844650 */ addiu $a0, $a0, 0x4650 +/* 180E40 80252560 2405000A */ addiu $a1, $zero, 0xa +/* 180E44 80252564 0C0B0CF8 */ jal start_script +/* 180E48 80252568 0000302D */ daddu $a2, $zero, $zero +/* 180E4C 8025256C C620000C */ lwc1 $f0, 0xc($s1) +/* 180E50 80252570 4600018D */ trunc.w.s $f6, $f0 +/* 180E54 80252574 E4460084 */ swc1 $f6, 0x84($v0) +/* 180E58 80252578 C6200010 */ lwc1 $f0, 0x10($s1) +/* 180E5C 8025257C 4600018D */ trunc.w.s $f6, $f0 +/* 180E60 80252580 E4460088 */ swc1 $f6, 0x88($v0) +/* 180E64 80252584 C6200014 */ lwc1 $f0, 0x14($s1) +/* 180E68 80252588 4600018D */ trunc.w.s $f6, $f0 +/* 180E6C 8025258C E446008C */ swc1 $f6, 0x8c($v0) +/* 180E70 80252590 C6200014 */ lwc1 $f0, 0x14($s1) +/* 180E74 80252594 24042032 */ addiu $a0, $zero, 0x2032 +/* 180E78 80252598 E7A00010 */ swc1 $f0, 0x10($sp) +/* 180E7C 8025259C 8E26000C */ lw $a2, 0xc($s1) +/* 180E80 802525A0 8E270010 */ lw $a3, 0x10($s1) +/* 180E84 802525A4 0C052757 */ jal play_sound_at_position +/* 180E88 802525A8 0000282D */ daddu $a1, $zero, $zero +.L802525AC: +/* 180E8C 802525AC 8E820190 */ lw $v0, 0x190($s4) +/* 180E90 802525B0 30424000 */ andi $v0, $v0, 0x4000 +/* 180E94 802525B4 10400019 */ beqz $v0, .L8025261C +/* 180E98 802525B8 00000000 */ nop +/* 180E9C 802525BC 12A00017 */ beqz $s5, .L8025261C +/* 180EA0 802525C0 00000000 */ nop +/* 180EA4 802525C4 3C048029 */ lui $a0, 0x8029 +/* 180EA8 802525C8 2484466C */ addiu $a0, $a0, 0x466c +/* 180EAC 802525CC 2405000A */ addiu $a1, $zero, 0xa +/* 180EB0 802525D0 0C0B0CF8 */ jal start_script +/* 180EB4 802525D4 0000302D */ daddu $a2, $zero, $zero +/* 180EB8 802525D8 C620000C */ lwc1 $f0, 0xc($s1) +/* 180EBC 802525DC 4600018D */ trunc.w.s $f6, $f0 +/* 180EC0 802525E0 E4460084 */ swc1 $f6, 0x84($v0) +/* 180EC4 802525E4 C6200010 */ lwc1 $f0, 0x10($s1) +/* 180EC8 802525E8 4600018D */ trunc.w.s $f6, $f0 +/* 180ECC 802525EC E4460088 */ swc1 $f6, 0x88($v0) +/* 180ED0 802525F0 C6200014 */ lwc1 $f0, 0x14($s1) +/* 180ED4 802525F4 AC530090 */ sw $s3, 0x90($v0) +/* 180ED8 802525F8 4600018D */ trunc.w.s $f6, $f0 +/* 180EDC 802525FC E446008C */ swc1 $f6, 0x8c($v0) +/* 180EE0 80252600 C6200014 */ lwc1 $f0, 0x14($s1) +/* 180EE4 80252604 24042032 */ addiu $a0, $zero, 0x2032 +/* 180EE8 80252608 E7A00010 */ swc1 $f0, 0x10($sp) +/* 180EEC 8025260C 8E26000C */ lw $a2, 0xc($s1) +/* 180EF0 80252610 8E270010 */ lw $a3, 0x10($s1) +/* 180EF4 80252614 0C052757 */ jal play_sound_at_position +/* 180EF8 80252618 0000282D */ daddu $a1, $zero, $zero +.L8025261C: +/* 180EFC 8025261C 8E820190 */ lw $v0, 0x190($s4) +/* 180F00 80252620 3C030008 */ lui $v1, 8 +/* 180F04 80252624 00431024 */ and $v0, $v0, $v1 +/* 180F08 80252628 10400019 */ beqz $v0, .L80252690 +/* 180F0C 8025262C 00000000 */ nop +/* 180F10 80252630 12A00017 */ beqz $s5, .L80252690 +/* 180F14 80252634 00000000 */ nop +/* 180F18 80252638 3C048029 */ lui $a0, 0x8029 +/* 180F1C 8025263C 248446B8 */ addiu $a0, $a0, 0x46b8 +/* 180F20 80252640 2405000A */ addiu $a1, $zero, 0xa +/* 180F24 80252644 0C0B0CF8 */ jal start_script +/* 180F28 80252648 0000302D */ daddu $a2, $zero, $zero +/* 180F2C 8025264C C620000C */ lwc1 $f0, 0xc($s1) +/* 180F30 80252650 4600018D */ trunc.w.s $f6, $f0 +/* 180F34 80252654 E4460084 */ swc1 $f6, 0x84($v0) +/* 180F38 80252658 C6200010 */ lwc1 $f0, 0x10($s1) +/* 180F3C 8025265C 4600018D */ trunc.w.s $f6, $f0 +/* 180F40 80252660 E4460088 */ swc1 $f6, 0x88($v0) +/* 180F44 80252664 C6200014 */ lwc1 $f0, 0x14($s1) +/* 180F48 80252668 AC530090 */ sw $s3, 0x90($v0) +/* 180F4C 8025266C 4600018D */ trunc.w.s $f6, $f0 +/* 180F50 80252670 E446008C */ swc1 $f6, 0x8c($v0) +/* 180F54 80252674 C6200014 */ lwc1 $f0, 0x14($s1) +/* 180F58 80252678 24042032 */ addiu $a0, $zero, 0x2032 +/* 180F5C 8025267C E7A00010 */ swc1 $f0, 0x10($sp) +/* 180F60 80252680 8E26000C */ lw $a2, 0xc($s1) +/* 180F64 80252684 8E270010 */ lw $a3, 0x10($s1) +/* 180F68 80252688 0C052757 */ jal play_sound_at_position +/* 180F6C 8025268C 0000282D */ daddu $a1, $zero, $zero +.L80252690: +/* 180F70 80252690 8E820188 */ lw $v0, 0x188($s4) +/* 180F74 80252694 30420040 */ andi $v0, $v0, 0x40 +/* 180F78 80252698 1040000A */ beqz $v0, .L802526C4 +/* 180F7C 8025269C 24020093 */ addiu $v0, $zero, 0x93 +/* 180F80 802526A0 92630136 */ lbu $v1, 0x136($s3) +/* 180F84 802526A4 14620007 */ bne $v1, $v0, .L802526C4 +/* 180F88 802526A8 24040165 */ addiu $a0, $zero, 0x165 +/* 180F8C 802526AC C6200014 */ lwc1 $f0, 0x14($s1) +/* 180F90 802526B0 E7A00010 */ swc1 $f0, 0x10($sp) +/* 180F94 802526B4 8E26000C */ lw $a2, 0xc($s1) +/* 180F98 802526B8 8E270010 */ lw $a3, 0x10($s1) +/* 180F9C 802526BC 0C052757 */ jal play_sound_at_position +/* 180FA0 802526C0 0000282D */ daddu $a1, $zero, $zero +.L802526C4: +/* 180FA4 802526C4 0C099AB7 */ jal func_80266ADC +/* 180FA8 802526C8 0260202D */ daddu $a0, $s3, $zero +/* 180FAC 802526CC 3C02800E */ lui $v0, 0x800e +/* 180FB0 802526D0 8C42C070 */ lw $v0, -0x3f90($v0) +/* 180FB4 802526D4 30420240 */ andi $v0, $v0, 0x240 +/* 180FB8 802526D8 10400007 */ beqz $v0, .L802526F8 +/* 180FBC 802526DC 03C0102D */ daddu $v0, $fp, $zero +/* 180FC0 802526E0 53C00001 */ beql $fp, $zero, .L802526E8 +/* 180FC4 802526E4 241E0001 */ addiu $fp, $zero, 1 +.L802526E8: +/* 180FC8 802526E8 24020002 */ addiu $v0, $zero, 2 +/* 180FCC 802526EC 53C20001 */ beql $fp, $v0, .L802526F4 +/* 180FD0 802526F0 241E0003 */ addiu $fp, $zero, 3 +.L802526F4: +/* 180FD4 802526F4 03C0102D */ daddu $v0, $fp, $zero +func_802526F8: +.L802526F8: +/* 180FD8 802526F8 8FBF0054 */ lw $ra, 0x54($sp) +/* 180FDC 802526FC 8FBE0050 */ lw $fp, 0x50($sp) +/* 180FE0 80252700 8FB7004C */ lw $s7, 0x4c($sp) +/* 180FE4 80252704 8FB60048 */ lw $s6, 0x48($sp) +/* 180FE8 80252708 8FB50044 */ lw $s5, 0x44($sp) +/* 180FEC 8025270C 8FB40040 */ lw $s4, 0x40($sp) +/* 180FF0 80252710 8FB3003C */ lw $s3, 0x3c($sp) +/* 180FF4 80252714 8FB20038 */ lw $s2, 0x38($sp) +/* 180FF8 80252718 8FB10034 */ lw $s1, 0x34($sp) +/* 180FFC 8025271C 8FB00030 */ lw $s0, 0x30($sp) +/* 181000 80252720 03E00008 */ jr $ra +/* 181004 80252724 27BD0058 */ addiu $sp, $sp, 0x58 + +ItemDamageEnemy: +/* 181008 80252728 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 18100C 8025272C AFB20018 */ sw $s2, 0x18($sp) +/* 181010 80252730 0080902D */ daddu $s2, $a0, $zero +/* 181014 80252734 AFBF0020 */ sw $ra, 0x20($sp) +/* 181018 80252738 AFB3001C */ sw $s3, 0x1c($sp) +/* 18101C 8025273C AFB10014 */ sw $s1, 0x14($sp) +/* 181020 80252740 AFB00010 */ sw $s0, 0x10($sp) +/* 181024 80252744 8E50000C */ lw $s0, 0xc($s2) +/* 181028 80252748 3C11800E */ lui $s1, 0x800e +/* 18102C 8025274C 2631C070 */ addiu $s1, $s1, -0x3f90 +/* 181030 80252750 8E130000 */ lw $s3, ($s0) +/* 181034 80252754 26100004 */ addiu $s0, $s0, 4 +/* 181038 80252758 8E020000 */ lw $v0, ($s0) +/* 18103C 8025275C 26100004 */ addiu $s0, $s0, 4 +/* 181040 80252760 AE20018C */ sw $zero, 0x18c($s1) +/* 181044 80252764 AE220188 */ sw $v0, 0x188($s1) +/* 181048 80252768 8E020000 */ lw $v0, ($s0) +/* 18104C 8025276C 26100004 */ addiu $s0, $s0, 4 +/* 181050 80252770 AE220190 */ sw $v0, 0x190($s1) +/* 181054 80252774 8E050000 */ lw $a1, ($s0) +/* 181058 80252778 0C0B1EAF */ jal get_variable +/* 18105C 8025277C 26100004 */ addiu $s0, $s0, 4 +/* 181060 80252780 A622017E */ sh $v0, 0x17e($s1) +/* 181064 80252784 8E100000 */ lw $s0, ($s0) +/* 181068 80252788 24020030 */ addiu $v0, $zero, 0x30 +/* 18106C 8025278C 32030030 */ andi $v1, $s0, 0x30 +/* 181070 80252790 54620004 */ bnel $v1, $v0, .L802527A4 +/* 181074 80252794 32020010 */ andi $v0, $s0, 0x10 +/* 181078 80252798 8E220000 */ lw $v0, ($s1) +/* 18107C 8025279C 080949F9 */ j func_802527E4 +/* 181080 802527A0 34420030 */ ori $v0, $v0, 0x30 + +.L802527A4: +/* 181084 802527A4 10400004 */ beqz $v0, .L802527B8 +/* 181088 802527A8 2403FFDF */ addiu $v1, $zero, -0x21 +/* 18108C 802527AC 8E220000 */ lw $v0, ($s1) +/* 181090 802527B0 080949F8 */ j func_802527E0 +/* 181094 802527B4 34420010 */ ori $v0, $v0, 0x10 + +.L802527B8: +/* 181098 802527B8 32020020 */ andi $v0, $s0, 0x20 +/* 18109C 802527BC 10400005 */ beqz $v0, .L802527D4 +/* 1810A0 802527C0 2403FFEF */ addiu $v1, $zero, -0x11 +/* 1810A4 802527C4 8E220000 */ lw $v0, ($s1) +/* 1810A8 802527C8 00431024 */ and $v0, $v0, $v1 +/* 1810AC 802527CC 080949F9 */ j func_802527E4 +/* 1810B0 802527D0 34420020 */ ori $v0, $v0, 0x20 + +.L802527D4: +/* 1810B4 802527D4 8E220000 */ lw $v0, ($s1) +/* 1810B8 802527D8 00431024 */ and $v0, $v0, $v1 +/* 1810BC 802527DC 2403FFDF */ addiu $v1, $zero, -0x21 +func_802527E0: +/* 1810C0 802527E0 00431024 */ and $v0, $v0, $v1 +func_802527E4: +/* 1810C4 802527E4 AE220000 */ sw $v0, ($s1) +/* 1810C8 802527E8 32020040 */ andi $v0, $s0, 0x40 +/* 1810CC 802527EC 10400007 */ beqz $v0, .L8025280C +/* 1810D0 802527F0 2404FFBF */ addiu $a0, $zero, -0x41 +/* 1810D4 802527F4 3C03800E */ lui $v1, 0x800e +/* 1810D8 802527F8 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 1810DC 802527FC 8C620000 */ lw $v0, ($v1) +/* 1810E0 80252800 34420040 */ ori $v0, $v0, 0x40 +/* 1810E4 80252804 08094A08 */ j func_80252820 +/* 1810E8 80252808 AC620000 */ sw $v0, ($v1) + +.L8025280C: +/* 1810EC 8025280C 3C02800E */ lui $v0, 0x800e +/* 1810F0 80252810 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 1810F4 80252814 8C430000 */ lw $v1, ($v0) +/* 1810F8 80252818 00641824 */ and $v1, $v1, $a0 +/* 1810FC 8025281C AC430000 */ sw $v1, ($v0) +func_80252820: +/* 181100 80252820 32020200 */ andi $v0, $s0, 0x200 +/* 181104 80252824 10400007 */ beqz $v0, .L80252844 +/* 181108 80252828 2404FDFF */ addiu $a0, $zero, -0x201 +/* 18110C 8025282C 3C03800E */ lui $v1, 0x800e +/* 181110 80252830 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 181114 80252834 8C620000 */ lw $v0, ($v1) +/* 181118 80252838 34420200 */ ori $v0, $v0, 0x200 +/* 18111C 8025283C 08094A16 */ j func_80252858 +/* 181120 80252840 AC620000 */ sw $v0, ($v1) + +.L80252844: +/* 181124 80252844 3C02800E */ lui $v0, 0x800e +/* 181128 80252848 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 18112C 8025284C 8C430000 */ lw $v1, ($v0) +/* 181130 80252850 00641824 */ and $v1, $v1, $a0 +/* 181134 80252854 AC430000 */ sw $v1, ($v0) +func_80252858: +/* 181138 80252858 32020080 */ andi $v0, $s0, 0x80 +/* 18113C 8025285C 10400007 */ beqz $v0, .L8025287C +/* 181140 80252860 2404FF7F */ addiu $a0, $zero, -0x81 +/* 181144 80252864 3C03800E */ lui $v1, 0x800e +/* 181148 80252868 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 18114C 8025286C 8C620000 */ lw $v0, ($v1) +/* 181150 80252870 34420080 */ ori $v0, $v0, 0x80 +/* 181154 80252874 08094A24 */ j func_80252890 +/* 181158 80252878 AC620000 */ sw $v0, ($v1) + +.L8025287C: +/* 18115C 8025287C 3C02800E */ lui $v0, 0x800e +/* 181160 80252880 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 181164 80252884 8C430000 */ lw $v1, ($v0) +/* 181168 80252888 00641824 */ and $v1, $v1, $a0 +/* 18116C 8025288C AC430000 */ sw $v1, ($v0) +func_80252890: +/* 181170 80252890 0C09A75B */ jal get_actor +/* 181174 80252894 8E440148 */ lw $a0, 0x148($s2) +/* 181178 80252898 94430428 */ lhu $v1, 0x428($v0) +/* 18117C 8025289C A62301A0 */ sh $v1, 0x1a0($s1) +/* 181180 802528A0 92230193 */ lbu $v1, 0x193($s1) +/* 181184 802528A4 90420426 */ lbu $v0, 0x426($v0) +/* 181188 802528A8 A2230194 */ sb $v1, 0x194($s1) +/* 18118C 802528AC 306300FF */ andi $v1, $v1, 0xff +/* 181190 802528B0 A22201A2 */ sb $v0, 0x1a2($s1) +/* 181194 802528B4 240200FF */ addiu $v0, $zero, 0xff +/* 181198 802528B8 50620001 */ beql $v1, $v0, .L802528C0 +/* 18119C 802528BC A2200194 */ sb $zero, 0x194($s1) +.L802528C0: +/* 1811A0 802528C0 8E220190 */ lw $v0, 0x190($s1) +/* 1811A4 802528C4 30420F00 */ andi $v0, $v0, 0xf00 +/* 1811A8 802528C8 00021203 */ sra $v0, $v0, 8 +/* 1811AC 802528CC 0C0945BA */ jal calc_item_damage_enemy +/* 1811B0 802528D0 A2220195 */ sb $v0, 0x195($s1) +/* 1811B4 802528D4 0440000B */ bltz $v0, .L80252904 +/* 1811B8 802528D8 0240202D */ daddu $a0, $s2, $zero +/* 1811BC 802528DC 0260282D */ daddu $a1, $s3, $zero +/* 1811C0 802528E0 0C0B2026 */ jal set_variable +/* 1811C4 802528E4 0040302D */ daddu $a2, $v0, $zero +/* 1811C8 802528E8 0C0B1069 */ jal does_script_exist_by_ref +/* 1811CC 802528EC 0240202D */ daddu $a0, $s2, $zero +/* 1811D0 802528F0 0040182D */ daddu $v1, $v0, $zero +/* 1811D4 802528F4 10600004 */ beqz $v1, .L80252908 +/* 1811D8 802528F8 240200FF */ addiu $v0, $zero, 0xff +/* 1811DC 802528FC 08094A42 */ j func_80252908 +/* 1811E0 80252900 24020002 */ addiu $v0, $zero, 2 + +.L80252904: +/* 1811E4 80252904 240200FF */ addiu $v0, $zero, 0xff +func_80252908: +.L80252908: +/* 1811E8 80252908 8FBF0020 */ lw $ra, 0x20($sp) +/* 1811EC 8025290C 8FB3001C */ lw $s3, 0x1c($sp) +/* 1811F0 80252910 8FB20018 */ lw $s2, 0x18($sp) +/* 1811F4 80252914 8FB10014 */ lw $s1, 0x14($sp) +/* 1811F8 80252918 8FB00010 */ lw $s0, 0x10($sp) +/* 1811FC 8025291C 03E00008 */ jr $ra +/* 181200 80252920 27BD0028 */ addiu $sp, $sp, 0x28 + +ItemAfflictEnemy: +/* 181204 80252924 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 181208 80252928 AFB20018 */ sw $s2, 0x18($sp) +/* 18120C 8025292C 0080902D */ daddu $s2, $a0, $zero +/* 181210 80252930 AFBF0020 */ sw $ra, 0x20($sp) +/* 181214 80252934 AFB3001C */ sw $s3, 0x1c($sp) +/* 181218 80252938 AFB10014 */ sw $s1, 0x14($sp) +/* 18121C 8025293C AFB00010 */ sw $s0, 0x10($sp) +/* 181220 80252940 8E50000C */ lw $s0, 0xc($s2) +/* 181224 80252944 3C11800E */ lui $s1, 0x800e +/* 181228 80252948 2631C070 */ addiu $s1, $s1, -0x3f90 +/* 18122C 8025294C 8E130000 */ lw $s3, ($s0) +/* 181230 80252950 26100004 */ addiu $s0, $s0, 4 +/* 181234 80252954 8E020000 */ lw $v0, ($s0) +/* 181238 80252958 26100004 */ addiu $s0, $s0, 4 +/* 18123C 8025295C AE20018C */ sw $zero, 0x18c($s1) +/* 181240 80252960 AE220188 */ sw $v0, 0x188($s1) +/* 181244 80252964 8E020000 */ lw $v0, ($s0) +/* 181248 80252968 26100004 */ addiu $s0, $s0, 4 +/* 18124C 8025296C AE220190 */ sw $v0, 0x190($s1) +/* 181250 80252970 8E050000 */ lw $a1, ($s0) +/* 181254 80252974 0C0B1EAF */ jal get_variable +/* 181258 80252978 26100004 */ addiu $s0, $s0, 4 +/* 18125C 8025297C 8E230190 */ lw $v1, 0x190($s1) +/* 181260 80252980 0240202D */ daddu $a0, $s2, $zero +/* 181264 80252984 00621825 */ or $v1, $v1, $v0 +/* 181268 80252988 AE230190 */ sw $v1, 0x190($s1) +/* 18126C 8025298C 8E050000 */ lw $a1, ($s0) +/* 181270 80252990 0C0B1EAF */ jal get_variable +/* 181274 80252994 26100004 */ addiu $s0, $s0, 4 +/* 181278 80252998 A622017E */ sh $v0, 0x17e($s1) +/* 18127C 8025299C 8E100000 */ lw $s0, ($s0) +/* 181280 802529A0 24020030 */ addiu $v0, $zero, 0x30 +/* 181284 802529A4 32030030 */ andi $v1, $s0, 0x30 +/* 181288 802529A8 54620004 */ bnel $v1, $v0, .L802529BC +/* 18128C 802529AC 32020010 */ andi $v0, $s0, 0x10 +/* 181290 802529B0 8E220000 */ lw $v0, ($s1) +/* 181294 802529B4 08094A7F */ j func_802529FC +/* 181298 802529B8 34420030 */ ori $v0, $v0, 0x30 + +.L802529BC: +/* 18129C 802529BC 10400004 */ beqz $v0, .L802529D0 +/* 1812A0 802529C0 2403FFDF */ addiu $v1, $zero, -0x21 +/* 1812A4 802529C4 8E220000 */ lw $v0, ($s1) +/* 1812A8 802529C8 08094A7E */ j func_802529F8 +/* 1812AC 802529CC 34420010 */ ori $v0, $v0, 0x10 + +.L802529D0: +/* 1812B0 802529D0 32020020 */ andi $v0, $s0, 0x20 +/* 1812B4 802529D4 10400005 */ beqz $v0, .L802529EC +/* 1812B8 802529D8 2403FFEF */ addiu $v1, $zero, -0x11 +/* 1812BC 802529DC 8E220000 */ lw $v0, ($s1) +/* 1812C0 802529E0 00431024 */ and $v0, $v0, $v1 +/* 1812C4 802529E4 08094A7F */ j func_802529FC +/* 1812C8 802529E8 34420020 */ ori $v0, $v0, 0x20 + +.L802529EC: +/* 1812CC 802529EC 8E220000 */ lw $v0, ($s1) +/* 1812D0 802529F0 00431024 */ and $v0, $v0, $v1 +/* 1812D4 802529F4 2403FFDF */ addiu $v1, $zero, -0x21 +func_802529F8: +/* 1812D8 802529F8 00431024 */ and $v0, $v0, $v1 +func_802529FC: +/* 1812DC 802529FC AE220000 */ sw $v0, ($s1) +/* 1812E0 80252A00 32020040 */ andi $v0, $s0, 0x40 +/* 1812E4 80252A04 10400007 */ beqz $v0, .L80252A24 +/* 1812E8 80252A08 2404FFBF */ addiu $a0, $zero, -0x41 +/* 1812EC 80252A0C 3C03800E */ lui $v1, 0x800e +/* 1812F0 80252A10 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 1812F4 80252A14 8C620000 */ lw $v0, ($v1) +/* 1812F8 80252A18 34420040 */ ori $v0, $v0, 0x40 +/* 1812FC 80252A1C 08094A8E */ j func_80252A38 +/* 181300 80252A20 AC620000 */ sw $v0, ($v1) + +.L80252A24: +/* 181304 80252A24 3C02800E */ lui $v0, 0x800e +/* 181308 80252A28 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 18130C 80252A2C 8C430000 */ lw $v1, ($v0) +/* 181310 80252A30 00641824 */ and $v1, $v1, $a0 +/* 181314 80252A34 AC430000 */ sw $v1, ($v0) +func_80252A38: +/* 181318 80252A38 32020200 */ andi $v0, $s0, 0x200 +/* 18131C 80252A3C 10400007 */ beqz $v0, .L80252A5C +/* 181320 80252A40 2404FDFF */ addiu $a0, $zero, -0x201 +/* 181324 80252A44 3C03800E */ lui $v1, 0x800e +/* 181328 80252A48 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 18132C 80252A4C 8C620000 */ lw $v0, ($v1) +/* 181330 80252A50 34420200 */ ori $v0, $v0, 0x200 +/* 181334 80252A54 08094A9C */ j func_80252A70 +/* 181338 80252A58 AC620000 */ sw $v0, ($v1) + +.L80252A5C: +/* 18133C 80252A5C 3C02800E */ lui $v0, 0x800e +/* 181340 80252A60 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 181344 80252A64 8C430000 */ lw $v1, ($v0) +/* 181348 80252A68 00641824 */ and $v1, $v1, $a0 +/* 18134C 80252A6C AC430000 */ sw $v1, ($v0) +func_80252A70: +/* 181350 80252A70 32020080 */ andi $v0, $s0, 0x80 +/* 181354 80252A74 10400007 */ beqz $v0, .L80252A94 +/* 181358 80252A78 2404FF7F */ addiu $a0, $zero, -0x81 +/* 18135C 80252A7C 3C03800E */ lui $v1, 0x800e +/* 181360 80252A80 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 181364 80252A84 8C620000 */ lw $v0, ($v1) +/* 181368 80252A88 34420080 */ ori $v0, $v0, 0x80 +/* 18136C 80252A8C 08094AAA */ j func_80252AA8 +/* 181370 80252A90 AC620000 */ sw $v0, ($v1) + +.L80252A94: +/* 181374 80252A94 3C02800E */ lui $v0, 0x800e +/* 181378 80252A98 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 18137C 80252A9C 8C430000 */ lw $v1, ($v0) +/* 181380 80252AA0 00641824 */ and $v1, $v1, $a0 +/* 181384 80252AA4 AC430000 */ sw $v1, ($v0) +func_80252AA8: +/* 181388 80252AA8 0C09A75B */ jal get_actor +/* 18138C 80252AAC 8E440148 */ lw $a0, 0x148($s2) +/* 181390 80252AB0 94430428 */ lhu $v1, 0x428($v0) +/* 181394 80252AB4 A62301A0 */ sh $v1, 0x1a0($s1) +/* 181398 80252AB8 92230193 */ lbu $v1, 0x193($s1) +/* 18139C 80252ABC 90420426 */ lbu $v0, 0x426($v0) +/* 1813A0 80252AC0 A2230194 */ sb $v1, 0x194($s1) +/* 1813A4 80252AC4 306300FF */ andi $v1, $v1, 0xff +/* 1813A8 80252AC8 A22201A2 */ sb $v0, 0x1a2($s1) +/* 1813AC 80252ACC 240200FF */ addiu $v0, $zero, 0xff +/* 1813B0 80252AD0 50620001 */ beql $v1, $v0, .L80252AD8 +/* 1813B4 80252AD4 A2200194 */ sb $zero, 0x194($s1) +.L80252AD8: +/* 1813B8 80252AD8 8E220190 */ lw $v0, 0x190($s1) +/* 1813BC 80252ADC 30420F00 */ andi $v0, $v0, 0xf00 +/* 1813C0 80252AE0 00021203 */ sra $v0, $v0, 8 +/* 1813C4 80252AE4 0C0945BA */ jal calc_item_damage_enemy +/* 1813C8 80252AE8 A2220195 */ sb $v0, 0x195($s1) +/* 1813CC 80252AEC 0440000B */ bltz $v0, .L80252B1C +/* 1813D0 80252AF0 0240202D */ daddu $a0, $s2, $zero +/* 1813D4 80252AF4 0260282D */ daddu $a1, $s3, $zero +/* 1813D8 80252AF8 0C0B2026 */ jal set_variable +/* 1813DC 80252AFC 0040302D */ daddu $a2, $v0, $zero +/* 1813E0 80252B00 0C0B1069 */ jal does_script_exist_by_ref +/* 1813E4 80252B04 0240202D */ daddu $a0, $s2, $zero +/* 1813E8 80252B08 0040182D */ daddu $v1, $v0, $zero +/* 1813EC 80252B0C 10600004 */ beqz $v1, .L80252B20 +/* 1813F0 80252B10 240200FF */ addiu $v0, $zero, 0xff +/* 1813F4 80252B14 08094AC8 */ j func_80252B20 +/* 1813F8 80252B18 24020002 */ addiu $v0, $zero, 2 + +.L80252B1C: +/* 1813FC 80252B1C 240200FF */ addiu $v0, $zero, 0xff +func_80252B20: +.L80252B20: +/* 181400 80252B20 8FBF0020 */ lw $ra, 0x20($sp) +/* 181404 80252B24 8FB3001C */ lw $s3, 0x1c($sp) +/* 181408 80252B28 8FB20018 */ lw $s2, 0x18($sp) +/* 18140C 80252B2C 8FB10014 */ lw $s1, 0x14($sp) +/* 181410 80252B30 8FB00010 */ lw $s0, 0x10($sp) +/* 181414 80252B34 03E00008 */ jr $ra +/* 181418 80252B38 27BD0028 */ addiu $sp, $sp, 0x28 + +/* 18141C 80252B3C 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 181420 80252B40 AFB20018 */ sw $s2, 0x18($sp) +/* 181424 80252B44 0080902D */ daddu $s2, $a0, $zero +/* 181428 80252B48 AFBF0020 */ sw $ra, 0x20($sp) +/* 18142C 80252B4C AFB3001C */ sw $s3, 0x1c($sp) +/* 181430 80252B50 AFB10014 */ sw $s1, 0x14($sp) +/* 181434 80252B54 AFB00010 */ sw $s0, 0x10($sp) +/* 181438 80252B58 8E50000C */ lw $s0, 0xc($s2) +/* 18143C 80252B5C 3C11800E */ lui $s1, 0x800e +/* 181440 80252B60 2631C070 */ addiu $s1, $s1, -0x3f90 +/* 181444 80252B64 8E130000 */ lw $s3, ($s0) +/* 181448 80252B68 26100004 */ addiu $s0, $s0, 4 +/* 18144C 80252B6C 8E020000 */ lw $v0, ($s0) +/* 181450 80252B70 26100004 */ addiu $s0, $s0, 4 +/* 181454 80252B74 AE20018C */ sw $zero, 0x18c($s1) +/* 181458 80252B78 AE220188 */ sw $v0, 0x188($s1) +/* 18145C 80252B7C 8E050000 */ lw $a1, ($s0) +/* 181460 80252B80 0C0B1EAF */ jal get_variable +/* 181464 80252B84 26100004 */ addiu $s0, $s0, 4 +/* 181468 80252B88 AE220190 */ sw $v0, 0x190($s1) +/* 18146C 80252B8C 8E050000 */ lw $a1, ($s0) +/* 181470 80252B90 26100004 */ addiu $s0, $s0, 4 +/* 181474 80252B94 0C0B1EAF */ jal get_variable +/* 181478 80252B98 0240202D */ daddu $a0, $s2, $zero +/* 18147C 80252B9C A622017E */ sh $v0, 0x17e($s1) +/* 181480 80252BA0 8E100000 */ lw $s0, ($s0) +/* 181484 80252BA4 24020030 */ addiu $v0, $zero, 0x30 +/* 181488 80252BA8 32030030 */ andi $v1, $s0, 0x30 +/* 18148C 80252BAC 54620004 */ bnel $v1, $v0, .L80252BC0 +/* 181490 80252BB0 32020010 */ andi $v0, $s0, 0x10 +/* 181494 80252BB4 8E220000 */ lw $v0, ($s1) +/* 181498 80252BB8 08094B00 */ j func_80252C00 +/* 18149C 80252BBC 34420030 */ ori $v0, $v0, 0x30 + +.L80252BC0: +/* 1814A0 80252BC0 10400004 */ beqz $v0, .L80252BD4 +/* 1814A4 80252BC4 2403FFDF */ addiu $v1, $zero, -0x21 +/* 1814A8 80252BC8 8E220000 */ lw $v0, ($s1) +/* 1814AC 80252BCC 08094AFF */ j func_80252BFC +/* 1814B0 80252BD0 34420010 */ ori $v0, $v0, 0x10 + +.L80252BD4: +/* 1814B4 80252BD4 32020020 */ andi $v0, $s0, 0x20 +/* 1814B8 80252BD8 10400005 */ beqz $v0, .L80252BF0 +/* 1814BC 80252BDC 2403FFEF */ addiu $v1, $zero, -0x11 +/* 1814C0 80252BE0 8E220000 */ lw $v0, ($s1) +/* 1814C4 80252BE4 00431024 */ and $v0, $v0, $v1 +/* 1814C8 80252BE8 08094B00 */ j func_80252C00 +/* 1814CC 80252BEC 34420020 */ ori $v0, $v0, 0x20 + +.L80252BF0: +/* 1814D0 80252BF0 8E220000 */ lw $v0, ($s1) +/* 1814D4 80252BF4 00431024 */ and $v0, $v0, $v1 +/* 1814D8 80252BF8 2403FFDF */ addiu $v1, $zero, -0x21 +func_80252BFC: +/* 1814DC 80252BFC 00431024 */ and $v0, $v0, $v1 +func_80252C00: +/* 1814E0 80252C00 AE220000 */ sw $v0, ($s1) +/* 1814E4 80252C04 32020040 */ andi $v0, $s0, 0x40 +/* 1814E8 80252C08 10400007 */ beqz $v0, .L80252C28 +/* 1814EC 80252C0C 2404FFBF */ addiu $a0, $zero, -0x41 +/* 1814F0 80252C10 3C03800E */ lui $v1, 0x800e +/* 1814F4 80252C14 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 1814F8 80252C18 8C620000 */ lw $v0, ($v1) +/* 1814FC 80252C1C 34420040 */ ori $v0, $v0, 0x40 +/* 181500 80252C20 08094B0F */ j func_80252C3C +/* 181504 80252C24 AC620000 */ sw $v0, ($v1) + +.L80252C28: +/* 181508 80252C28 3C02800E */ lui $v0, 0x800e +/* 18150C 80252C2C 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 181510 80252C30 8C430000 */ lw $v1, ($v0) +/* 181514 80252C34 00641824 */ and $v1, $v1, $a0 +/* 181518 80252C38 AC430000 */ sw $v1, ($v0) +func_80252C3C: +/* 18151C 80252C3C 32020200 */ andi $v0, $s0, 0x200 +/* 181520 80252C40 10400007 */ beqz $v0, .L80252C60 +/* 181524 80252C44 2404FDFF */ addiu $a0, $zero, -0x201 +/* 181528 80252C48 3C03800E */ lui $v1, 0x800e +/* 18152C 80252C4C 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 181530 80252C50 8C620000 */ lw $v0, ($v1) +/* 181534 80252C54 34420200 */ ori $v0, $v0, 0x200 +/* 181538 80252C58 08094B1D */ j func_80252C74 +/* 18153C 80252C5C AC620000 */ sw $v0, ($v1) + +.L80252C60: +/* 181540 80252C60 3C02800E */ lui $v0, 0x800e +/* 181544 80252C64 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 181548 80252C68 8C430000 */ lw $v1, ($v0) +/* 18154C 80252C6C 00641824 */ and $v1, $v1, $a0 +/* 181550 80252C70 AC430000 */ sw $v1, ($v0) +func_80252C74: +/* 181554 80252C74 32020080 */ andi $v0, $s0, 0x80 +/* 181558 80252C78 10400007 */ beqz $v0, .L80252C98 +/* 18155C 80252C7C 2404FF7F */ addiu $a0, $zero, -0x81 +/* 181560 80252C80 3C03800E */ lui $v1, 0x800e +/* 181564 80252C84 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 181568 80252C88 8C620000 */ lw $v0, ($v1) +/* 18156C 80252C8C 34420080 */ ori $v0, $v0, 0x80 +/* 181570 80252C90 08094B2B */ j func_80252CAC +/* 181574 80252C94 AC620000 */ sw $v0, ($v1) + +.L80252C98: +/* 181578 80252C98 3C02800E */ lui $v0, 0x800e +/* 18157C 80252C9C 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 181580 80252CA0 8C430000 */ lw $v1, ($v0) +/* 181584 80252CA4 00641824 */ and $v1, $v1, $a0 +/* 181588 80252CA8 AC430000 */ sw $v1, ($v0) +func_80252CAC: +/* 18158C 80252CAC 0C09A75B */ jal get_actor +/* 181590 80252CB0 8E440148 */ lw $a0, 0x148($s2) +/* 181594 80252CB4 94430428 */ lhu $v1, 0x428($v0) +/* 181598 80252CB8 A62301A0 */ sh $v1, 0x1a0($s1) +/* 18159C 80252CBC 92230193 */ lbu $v1, 0x193($s1) +/* 1815A0 80252CC0 90420426 */ lbu $v0, 0x426($v0) +/* 1815A4 80252CC4 A2230194 */ sb $v1, 0x194($s1) +/* 1815A8 80252CC8 306300FF */ andi $v1, $v1, 0xff +/* 1815AC 80252CCC A22201A2 */ sb $v0, 0x1a2($s1) +/* 1815B0 80252CD0 240200FF */ addiu $v0, $zero, 0xff +/* 1815B4 80252CD4 50620001 */ beql $v1, $v0, .L80252CDC +/* 1815B8 80252CD8 A2200194 */ sb $zero, 0x194($s1) +.L80252CDC: +/* 1815BC 80252CDC 8E220190 */ lw $v0, 0x190($s1) +/* 1815C0 80252CE0 30420F00 */ andi $v0, $v0, 0xf00 +/* 1815C4 80252CE4 00021203 */ sra $v0, $v0, 8 +/* 1815C8 80252CE8 0C0945BA */ jal calc_item_damage_enemy +/* 1815CC 80252CEC A2220195 */ sb $v0, 0x195($s1) +/* 1815D0 80252CF0 0440000B */ bltz $v0, .L80252D20 +/* 1815D4 80252CF4 0240202D */ daddu $a0, $s2, $zero +/* 1815D8 80252CF8 0260282D */ daddu $a1, $s3, $zero +/* 1815DC 80252CFC 0C0B2026 */ jal set_variable +/* 1815E0 80252D00 0040302D */ daddu $a2, $v0, $zero +/* 1815E4 80252D04 0C0B1069 */ jal does_script_exist_by_ref +/* 1815E8 80252D08 0240202D */ daddu $a0, $s2, $zero +/* 1815EC 80252D0C 0040182D */ daddu $v1, $v0, $zero +/* 1815F0 80252D10 10600004 */ beqz $v1, .L80252D24 +/* 1815F4 80252D14 240200FF */ addiu $v0, $zero, 0xff +/* 1815F8 80252D18 08094B49 */ j func_80252D24 +/* 1815FC 80252D1C 24020002 */ addiu $v0, $zero, 2 + +.L80252D20: +/* 181600 80252D20 240200FF */ addiu $v0, $zero, 0xff +func_80252D24: +.L80252D24: +/* 181604 80252D24 8FBF0020 */ lw $ra, 0x20($sp) +/* 181608 80252D28 8FB3001C */ lw $s3, 0x1c($sp) +/* 18160C 80252D2C 8FB20018 */ lw $s2, 0x18($sp) +/* 181610 80252D30 8FB10014 */ lw $s1, 0x14($sp) +/* 181614 80252D34 8FB00010 */ lw $s0, 0x10($sp) +/* 181618 80252D38 03E00008 */ jr $ra +/* 18161C 80252D3C 27BD0028 */ addiu $sp, $sp, 0x28 + +ItemCheckHit: +/* 181620 80252D40 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 181624 80252D44 AFB20018 */ sw $s2, 0x18($sp) +/* 181628 80252D48 0080902D */ daddu $s2, $a0, $zero +/* 18162C 80252D4C AFBF0020 */ sw $ra, 0x20($sp) +/* 181630 80252D50 AFB3001C */ sw $s3, 0x1c($sp) +/* 181634 80252D54 AFB10014 */ sw $s1, 0x14($sp) +/* 181638 80252D58 AFB00010 */ sw $s0, 0x10($sp) +/* 18163C 80252D5C 8E50000C */ lw $s0, 0xc($s2) +/* 181640 80252D60 3C11800E */ lui $s1, 0x800e +/* 181644 80252D64 2631C070 */ addiu $s1, $s1, -0x3f90 +/* 181648 80252D68 8E130000 */ lw $s3, ($s0) +/* 18164C 80252D6C 26100004 */ addiu $s0, $s0, 4 +/* 181650 80252D70 8E020000 */ lw $v0, ($s0) +/* 181654 80252D74 26100004 */ addiu $s0, $s0, 4 +/* 181658 80252D78 AE20018C */ sw $zero, 0x18c($s1) +/* 18165C 80252D7C AE220188 */ sw $v0, 0x188($s1) +/* 181660 80252D80 8E020000 */ lw $v0, ($s0) +/* 181664 80252D84 26100004 */ addiu $s0, $s0, 4 +/* 181668 80252D88 AE220190 */ sw $v0, 0x190($s1) +/* 18166C 80252D8C 8E050000 */ lw $a1, ($s0) +/* 181670 80252D90 0C0B1EAF */ jal get_variable +/* 181674 80252D94 26100004 */ addiu $s0, $s0, 4 +/* 181678 80252D98 A622017E */ sh $v0, 0x17e($s1) +/* 18167C 80252D9C 8E100000 */ lw $s0, ($s0) +/* 181680 80252DA0 24020030 */ addiu $v0, $zero, 0x30 +/* 181684 80252DA4 32030030 */ andi $v1, $s0, 0x30 +/* 181688 80252DA8 54620004 */ bnel $v1, $v0, .L80252DBC +/* 18168C 80252DAC 32020010 */ andi $v0, $s0, 0x10 +/* 181690 80252DB0 8E220000 */ lw $v0, ($s1) +/* 181694 80252DB4 08094B7F */ j func_80252DFC +/* 181698 80252DB8 34420030 */ ori $v0, $v0, 0x30 + +.L80252DBC: +/* 18169C 80252DBC 10400004 */ beqz $v0, .L80252DD0 +/* 1816A0 80252DC0 2403FFDF */ addiu $v1, $zero, -0x21 +/* 1816A4 80252DC4 8E220000 */ lw $v0, ($s1) +/* 1816A8 80252DC8 08094B7E */ j func_80252DF8 +/* 1816AC 80252DCC 34420010 */ ori $v0, $v0, 0x10 + +.L80252DD0: +/* 1816B0 80252DD0 32020020 */ andi $v0, $s0, 0x20 +/* 1816B4 80252DD4 10400005 */ beqz $v0, .L80252DEC +/* 1816B8 80252DD8 2403FFEF */ addiu $v1, $zero, -0x11 +/* 1816BC 80252DDC 8E220000 */ lw $v0, ($s1) +/* 1816C0 80252DE0 00431024 */ and $v0, $v0, $v1 +/* 1816C4 80252DE4 08094B7F */ j func_80252DFC +/* 1816C8 80252DE8 34420020 */ ori $v0, $v0, 0x20 + +.L80252DEC: +/* 1816CC 80252DEC 8E220000 */ lw $v0, ($s1) +/* 1816D0 80252DF0 00431024 */ and $v0, $v0, $v1 +/* 1816D4 80252DF4 2403FFDF */ addiu $v1, $zero, -0x21 +func_80252DF8: +/* 1816D8 80252DF8 00431024 */ and $v0, $v0, $v1 +func_80252DFC: +/* 1816DC 80252DFC AE220000 */ sw $v0, ($s1) +/* 1816E0 80252E00 32020040 */ andi $v0, $s0, 0x40 +/* 1816E4 80252E04 10400007 */ beqz $v0, .L80252E24 +/* 1816E8 80252E08 2404FFBF */ addiu $a0, $zero, -0x41 +/* 1816EC 80252E0C 3C03800E */ lui $v1, 0x800e +/* 1816F0 80252E10 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 1816F4 80252E14 8C620000 */ lw $v0, ($v1) +/* 1816F8 80252E18 34420040 */ ori $v0, $v0, 0x40 +/* 1816FC 80252E1C 08094B8E */ j func_80252E38 +/* 181700 80252E20 AC620000 */ sw $v0, ($v1) + +.L80252E24: +/* 181704 80252E24 3C02800E */ lui $v0, 0x800e +/* 181708 80252E28 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 18170C 80252E2C 8C430000 */ lw $v1, ($v0) +/* 181710 80252E30 00641824 */ and $v1, $v1, $a0 +/* 181714 80252E34 AC430000 */ sw $v1, ($v0) +func_80252E38: +/* 181718 80252E38 32020200 */ andi $v0, $s0, 0x200 +/* 18171C 80252E3C 10400007 */ beqz $v0, .L80252E5C +/* 181720 80252E40 2404FDFF */ addiu $a0, $zero, -0x201 +/* 181724 80252E44 3C03800E */ lui $v1, 0x800e +/* 181728 80252E48 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 18172C 80252E4C 8C620000 */ lw $v0, ($v1) +/* 181730 80252E50 34420200 */ ori $v0, $v0, 0x200 +/* 181734 80252E54 08094B9C */ j func_80252E70 +/* 181738 80252E58 AC620000 */ sw $v0, ($v1) + +.L80252E5C: +/* 18173C 80252E5C 3C02800E */ lui $v0, 0x800e +/* 181740 80252E60 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 181744 80252E64 8C430000 */ lw $v1, ($v0) +/* 181748 80252E68 00641824 */ and $v1, $v1, $a0 +/* 18174C 80252E6C AC430000 */ sw $v1, ($v0) +func_80252E70: +/* 181750 80252E70 32020080 */ andi $v0, $s0, 0x80 +/* 181754 80252E74 10400007 */ beqz $v0, .L80252E94 +/* 181758 80252E78 2404FF7F */ addiu $a0, $zero, -0x81 +/* 18175C 80252E7C 3C03800E */ lui $v1, 0x800e +/* 181760 80252E80 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 181764 80252E84 8C620000 */ lw $v0, ($v1) +/* 181768 80252E88 34420080 */ ori $v0, $v0, 0x80 +/* 18176C 80252E8C 08094BAA */ j func_80252EA8 +/* 181770 80252E90 AC620000 */ sw $v0, ($v1) + +.L80252E94: +/* 181774 80252E94 3C02800E */ lui $v0, 0x800e +/* 181778 80252E98 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 18177C 80252E9C 8C430000 */ lw $v1, ($v0) +/* 181780 80252EA0 00641824 */ and $v1, $v1, $a0 +/* 181784 80252EA4 AC430000 */ sw $v1, ($v0) +func_80252EA8: +/* 181788 80252EA8 0C09A75B */ jal get_actor +/* 18178C 80252EAC 8E440148 */ lw $a0, 0x148($s2) +/* 181790 80252EB0 94430428 */ lhu $v1, 0x428($v0) +/* 181794 80252EB4 A62301A0 */ sh $v1, 0x1a0($s1) +/* 181798 80252EB8 92230193 */ lbu $v1, 0x193($s1) +/* 18179C 80252EBC 90420426 */ lbu $v0, 0x426($v0) +/* 1817A0 80252EC0 A2230194 */ sb $v1, 0x194($s1) +/* 1817A4 80252EC4 306300FF */ andi $v1, $v1, 0xff +/* 1817A8 80252EC8 A22201A2 */ sb $v0, 0x1a2($s1) +/* 1817AC 80252ECC 240200FF */ addiu $v0, $zero, 0xff +/* 1817B0 80252ED0 50620001 */ beql $v1, $v0, .L80252ED8 +/* 1817B4 80252ED4 A2200194 */ sb $zero, 0x194($s1) +.L80252ED8: +/* 1817B8 80252ED8 8E220190 */ lw $v0, 0x190($s1) +/* 1817BC 80252EDC 30420F00 */ andi $v0, $v0, 0xf00 +/* 1817C0 80252EE0 00021203 */ sra $v0, $v0, 8 +/* 1817C4 80252EE4 0C094574 */ jal calc_item_check_hit +/* 1817C8 80252EE8 A2220195 */ sb $v0, 0x195($s1) +/* 1817CC 80252EEC 04400006 */ bltz $v0, .L80252F08 +/* 1817D0 80252EF0 0240202D */ daddu $a0, $s2, $zero +/* 1817D4 80252EF4 0260282D */ daddu $a1, $s3, $zero +/* 1817D8 80252EF8 0C0B2026 */ jal set_variable +/* 1817DC 80252EFC 0040302D */ daddu $a2, $v0, $zero +/* 1817E0 80252F00 08094BC3 */ j func_80252F0C +/* 1817E4 80252F04 24020002 */ addiu $v0, $zero, 2 + +.L80252F08: +/* 1817E8 80252F08 240200FF */ addiu $v0, $zero, 0xff +func_80252F0C: +/* 1817EC 80252F0C 8FBF0020 */ lw $ra, 0x20($sp) +/* 1817F0 80252F10 8FB3001C */ lw $s3, 0x1c($sp) +/* 1817F4 80252F14 8FB20018 */ lw $s2, 0x18($sp) +/* 1817F8 80252F18 8FB10014 */ lw $s1, 0x14($sp) +/* 1817FC 80252F1C 8FB00010 */ lw $s0, 0x10($sp) +/* 181800 80252F20 03E00008 */ jr $ra +/* 181804 80252F24 27BD0028 */ addiu $sp, $sp, 0x28 + +/* 181808 80252F28 00000000 */ nop +/* 18180C 80252F2C 00000000 */ nop +ActorSpeak: +/* 181810 80252F30 27BDFFB8 */ addiu $sp, $sp, -0x48 +/* 181814 80252F34 AFB3003C */ sw $s3, 0x3c($sp) +/* 181818 80252F38 0080982D */ daddu $s3, $a0, $zero +/* 18181C 80252F3C AFBF0044 */ sw $ra, 0x44($sp) +/* 181820 80252F40 AFB40040 */ sw $s4, 0x40($sp) +/* 181824 80252F44 AFB20038 */ sw $s2, 0x38($sp) +/* 181828 80252F48 AFB10034 */ sw $s1, 0x34($sp) +/* 18182C 80252F4C AFB00030 */ sw $s0, 0x30($sp) +/* 181830 80252F50 10A00075 */ beqz $a1, .L80253128 +/* 181834 80252F54 8E71000C */ lw $s1, 0xc($s3) +/* 181838 80252F58 8E250000 */ lw $a1, ($s1) +/* 18183C 80252F5C 0C0B1EAF */ jal get_variable +/* 181840 80252F60 26310004 */ addiu $s1, $s1, 4 +/* 181844 80252F64 8E250000 */ lw $a1, ($s1) +/* 181848 80252F68 26310004 */ addiu $s1, $s1, 4 +/* 18184C 80252F6C 0260202D */ daddu $a0, $s3, $zero +/* 181850 80252F70 0C0B1EAF */ jal get_variable +/* 181854 80252F74 0040802D */ daddu $s0, $v0, $zero +/* 181858 80252F78 0040902D */ daddu $s2, $v0, $zero +/* 18185C 80252F7C 8E250000 */ lw $a1, ($s1) +/* 181860 80252F80 26310004 */ addiu $s1, $s1, 4 +/* 181864 80252F84 0C0B1EAF */ jal get_variable +/* 181868 80252F88 0260202D */ daddu $a0, $s3, $zero +/* 18186C 80252F8C 8E250000 */ lw $a1, ($s1) +/* 181870 80252F90 26310004 */ addiu $s1, $s1, 4 +/* 181874 80252F94 0260202D */ daddu $a0, $s3, $zero +/* 181878 80252F98 0C0B1EAF */ jal get_variable +/* 18187C 80252F9C 0040A02D */ daddu $s4, $v0, $zero +/* 181880 80252FA0 3C01802A */ lui $at, 0x802a +/* 181884 80252FA4 AC22FA6C */ sw $v0, -0x594($at) +/* 181888 80252FA8 8E250000 */ lw $a1, ($s1) +/* 18188C 80252FAC 0C0B1EAF */ jal get_variable +/* 181890 80252FB0 0260202D */ daddu $a0, $s3, $zero +/* 181894 80252FB4 3C01802A */ lui $at, 0x802a +/* 181898 80252FB8 AC22FA70 */ sw $v0, -0x590($at) +/* 18189C 80252FBC 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1818A0 80252FC0 16420002 */ bne $s2, $v0, .L80252FCC +/* 1818A4 80252FC4 00000000 */ nop +/* 1818A8 80252FC8 8E720148 */ lw $s2, 0x148($s3) +.L80252FCC: +/* 1818AC 80252FCC 0C09A75B */ jal get_actor +/* 1818B0 80252FD0 0240202D */ daddu $a0, $s2, $zero +/* 1818B4 80252FD4 0040882D */ daddu $s1, $v0, $zero +/* 1818B8 80252FD8 0220202D */ daddu $a0, $s1, $zero +/* 1818BC 80252FDC 0C099117 */ jal get_actor_part +/* 1818C0 80252FE0 0280282D */ daddu $a1, $s4, $zero +/* 1818C4 80252FE4 0040902D */ daddu $s2, $v0, $zero +/* 1818C8 80252FE8 86230150 */ lh $v1, 0x150($s1) +/* 1818CC 80252FEC C6200144 */ lwc1 $f0, 0x144($s1) +/* 1818D0 80252FF0 8E220000 */ lw $v0, ($s1) +/* 1818D4 80252FF4 3C01802A */ lui $at, 0x802a +/* 1818D8 80252FF8 AC31FA74 */ sw $s1, -0x58c($at) +/* 1818DC 80252FFC 3C01802A */ lui $at, 0x802a +/* 1818E0 80253000 AC32FA78 */ sw $s2, -0x588($at) +/* 1818E4 80253004 44831000 */ mtc1 $v1, $f2 +/* 1818E8 80253008 00000000 */ nop +/* 1818EC 8025300C 468010A0 */ cvt.s.w $f2, $f2 +/* 1818F0 80253010 30428000 */ andi $v0, $v0, 0x8000 +/* 1818F4 80253014 1440000D */ bnez $v0, .L8025304C +/* 1818F8 80253018 46020100 */ add.s $f4, $f0, $f2 +/* 1818FC 8025301C 86220152 */ lh $v0, 0x152($s1) +/* 181900 80253020 C6200148 */ lwc1 $f0, 0x148($s1) +/* 181904 80253024 44821000 */ mtc1 $v0, $f2 +/* 181908 80253028 00000000 */ nop +/* 18190C 8025302C 468010A0 */ cvt.s.w $f2, $f2 +/* 181910 80253030 92220191 */ lbu $v0, 0x191($s1) +/* 181914 80253034 46020000 */ add.s $f0, $f0, $f2 +/* 181918 80253038 44821000 */ mtc1 $v0, $f2 +/* 18191C 8025303C 00000000 */ nop +/* 181920 80253040 468010A0 */ cvt.s.w $f2, $f2 +/* 181924 80253044 08094C1F */ j func_8025307C +/* 181928 80253048 46001000 */ add.s $f0, $f2, $f0 + +.L8025304C: +/* 18192C 8025304C 86220152 */ lh $v0, 0x152($s1) +/* 181930 80253050 C6220148 */ lwc1 $f2, 0x148($s1) +/* 181934 80253054 44820000 */ mtc1 $v0, $f0 +/* 181938 80253058 00000000 */ nop +/* 18193C 8025305C 46800020 */ cvt.s.w $f0, $f0 +/* 181940 80253060 92220191 */ lbu $v0, 0x191($s1) +/* 181944 80253064 46001080 */ add.s $f2, $f2, $f0 +/* 181948 80253068 00021042 */ srl $v0, $v0, 1 +/* 18194C 8025306C 44820000 */ mtc1 $v0, $f0 +/* 181950 80253070 00000000 */ nop +/* 181954 80253074 46800020 */ cvt.s.w $f0, $f0 +/* 181958 80253078 46001000 */ add.s $f0, $f2, $f0 +func_8025307C: +/* 18195C 8025307C 24040001 */ addiu $a0, $zero, 1 +/* 181960 80253080 44052000 */ mfc1 $a1, $f4 +/* 181964 80253084 44060000 */ mfc1 $a2, $f0 +/* 181968 80253088 86230154 */ lh $v1, 0x154($s1) +/* 18196C 8025308C C622014C */ lwc1 $f2, 0x14c($s1) +/* 181970 80253090 27A20020 */ addiu $v0, $sp, 0x20 +/* 181974 80253094 AFA20010 */ sw $v0, 0x10($sp) +/* 181978 80253098 44830000 */ mtc1 $v1, $f0 +/* 18197C 8025309C 00000000 */ nop +/* 181980 802530A0 46800020 */ cvt.s.w $f0, $f0 +/* 181984 802530A4 46001080 */ add.s $f2, $f2, $f0 +/* 181988 802530A8 27A20024 */ addiu $v0, $sp, 0x24 +/* 18198C 802530AC AFA20014 */ sw $v0, 0x14($sp) +/* 181990 802530B0 44071000 */ mfc1 $a3, $f2 +/* 181994 802530B4 27A20028 */ addiu $v0, $sp, 0x28 +/* 181998 802530B8 0C00B94E */ jal get_screen_coords +/* 18199C 802530BC AFA20018 */ sw $v0, 0x18($sp) +/* 1819A0 802530C0 0200202D */ daddu $a0, $s0, $zero +/* 1819A4 802530C4 3C05802A */ lui $a1, 0x802a +/* 1819A8 802530C8 24A5FA68 */ addiu $a1, $a1, -0x598 +/* 1819AC 802530CC 0C049640 */ jal load_string +/* 1819B0 802530D0 ACA00000 */ sw $zero, ($a1) +/* 1819B4 802530D4 8FA50020 */ lw $a1, 0x20($sp) +/* 1819B8 802530D8 8FA60024 */ lw $a2, 0x24($sp) +/* 1819BC 802530DC 0040202D */ daddu $a0, $v0, $zero +/* 1819C0 802530E0 3C01802A */ lui $at, 0x802a +/* 1819C4 802530E4 AC24FA60 */ sw $a0, -0x5a0($at) +/* 1819C8 802530E8 0C0496AE */ jal clamp_printer_coords +/* 1819CC 802530EC 00000000 */ nop +/* 1819D0 802530F0 3C03800A */ lui $v1, 0x800a +/* 1819D4 802530F4 2463A650 */ addiu $v1, $v1, -0x59b0 +/* 1819D8 802530F8 AE600070 */ sw $zero, 0x70($s3) +/* 1819DC 802530FC 8C620000 */ lw $v0, ($v1) +/* 1819E0 80253100 3C06802A */ lui $a2, 0x802a +/* 1819E4 80253104 8CC6FA6C */ lw $a2, -0x594($a2) +/* 1819E8 80253108 34420010 */ ori $v0, $v0, 0x10 +/* 1819EC 8025310C 04C00004 */ bltz $a2, .L80253120 +/* 1819F0 80253110 AC620000 */ sw $v0, ($v1) +/* 1819F4 80253114 0220202D */ daddu $a0, $s1, $zero +/* 1819F8 80253118 0C098F82 */ jal func_80263E08 +/* 1819FC 8025311C 0240282D */ daddu $a1, $s2, $zero +.L80253120: +/* 181A00 80253120 0C03A6D5 */ jal increment_status_menu_disabled +/* 181A04 80253124 00000000 */ nop +.L80253128: +/* 181A08 80253128 8E620070 */ lw $v0, 0x70($s3) +/* 181A0C 8025312C 14400060 */ bnez $v0, .L802532B0 +/* 181A10 80253130 0000102D */ daddu $v0, $zero, $zero +/* 181A14 80253134 3C11802A */ lui $s1, 0x802a +/* 181A18 80253138 8E31FA74 */ lw $s1, -0x58c($s1) +/* 181A1C 8025313C 3C12802A */ lui $s2, 0x802a +/* 181A20 80253140 8E52FA78 */ lw $s2, -0x588($s2) +/* 181A24 80253144 86220150 */ lh $v0, 0x150($s1) +/* 181A28 80253148 C6200144 */ lwc1 $f0, 0x144($s1) +/* 181A2C 8025314C 44821000 */ mtc1 $v0, $f2 +/* 181A30 80253150 00000000 */ nop +/* 181A34 80253154 468010A0 */ cvt.s.w $f2, $f2 +/* 181A38 80253158 8E220000 */ lw $v0, ($s1) +/* 181A3C 8025315C 30428000 */ andi $v0, $v0, 0x8000 +/* 181A40 80253160 1440000D */ bnez $v0, .L80253198 +/* 181A44 80253164 46020100 */ add.s $f4, $f0, $f2 +/* 181A48 80253168 86220152 */ lh $v0, 0x152($s1) +/* 181A4C 8025316C C6200148 */ lwc1 $f0, 0x148($s1) +/* 181A50 80253170 44821000 */ mtc1 $v0, $f2 +/* 181A54 80253174 00000000 */ nop +/* 181A58 80253178 468010A0 */ cvt.s.w $f2, $f2 +/* 181A5C 8025317C 92220191 */ lbu $v0, 0x191($s1) +/* 181A60 80253180 46020000 */ add.s $f0, $f0, $f2 +/* 181A64 80253184 44821000 */ mtc1 $v0, $f2 +/* 181A68 80253188 00000000 */ nop +/* 181A6C 8025318C 468010A0 */ cvt.s.w $f2, $f2 +/* 181A70 80253190 08094C72 */ j func_802531C8 +/* 181A74 80253194 46001000 */ add.s $f0, $f2, $f0 + +.L80253198: +/* 181A78 80253198 86220152 */ lh $v0, 0x152($s1) +/* 181A7C 8025319C C6220148 */ lwc1 $f2, 0x148($s1) +/* 181A80 802531A0 44820000 */ mtc1 $v0, $f0 +/* 181A84 802531A4 00000000 */ nop +/* 181A88 802531A8 46800020 */ cvt.s.w $f0, $f0 +/* 181A8C 802531AC 92220191 */ lbu $v0, 0x191($s1) +/* 181A90 802531B0 46001080 */ add.s $f2, $f2, $f0 +/* 181A94 802531B4 00021042 */ srl $v0, $v0, 1 +/* 181A98 802531B8 44820000 */ mtc1 $v0, $f0 +/* 181A9C 802531BC 00000000 */ nop +/* 181AA0 802531C0 46800020 */ cvt.s.w $f0, $f0 +/* 181AA4 802531C4 46001000 */ add.s $f0, $f2, $f0 +func_802531C8: +/* 181AA8 802531C8 24040001 */ addiu $a0, $zero, 1 +/* 181AAC 802531CC 44052000 */ mfc1 $a1, $f4 +/* 181AB0 802531D0 44060000 */ mfc1 $a2, $f0 +/* 181AB4 802531D4 86230154 */ lh $v1, 0x154($s1) +/* 181AB8 802531D8 C622014C */ lwc1 $f2, 0x14c($s1) +/* 181ABC 802531DC 27A20020 */ addiu $v0, $sp, 0x20 +/* 181AC0 802531E0 AFA20010 */ sw $v0, 0x10($sp) +/* 181AC4 802531E4 44830000 */ mtc1 $v1, $f0 +/* 181AC8 802531E8 00000000 */ nop +/* 181ACC 802531EC 46800020 */ cvt.s.w $f0, $f0 +/* 181AD0 802531F0 46001080 */ add.s $f2, $f2, $f0 +/* 181AD4 802531F4 27A20024 */ addiu $v0, $sp, 0x24 +/* 181AD8 802531F8 AFA20014 */ sw $v0, 0x14($sp) +/* 181ADC 802531FC 44071000 */ mfc1 $a3, $f2 +/* 181AE0 80253200 27A20028 */ addiu $v0, $sp, 0x28 +/* 181AE4 80253204 0C00B94E */ jal get_screen_coords +/* 181AE8 80253208 AFA20018 */ sw $v0, 0x18($sp) +/* 181AEC 8025320C 3C10802A */ lui $s0, 0x802a +/* 181AF0 80253210 2610FA60 */ addiu $s0, $s0, -0x5a0 +/* 181AF4 80253214 8E040000 */ lw $a0, ($s0) +/* 181AF8 80253218 8FA50020 */ lw $a1, 0x20($sp) +/* 181AFC 8025321C 0C0496AE */ jal clamp_printer_coords +/* 181B00 80253220 8FA60024 */ lw $a2, 0x24($sp) +/* 181B04 80253224 8E020000 */ lw $v0, ($s0) +/* 181B08 80253228 8C4304FC */ lw $v1, 0x4fc($v0) +/* 181B0C 8025322C 30620040 */ andi $v0, $v1, 0x40 +/* 181B10 80253230 10400005 */ beqz $v0, .L80253248 +/* 181B14 80253234 30620080 */ andi $v0, $v1, 0x80 +/* 181B18 80253238 0C03A6CC */ jal decrement_status_menu_disabled +/* 181B1C 8025323C 00000000 */ nop +/* 181B20 80253240 08094CAC */ j func_802532B0 +/* 181B24 80253244 24020001 */ addiu $v0, $zero, 1 + +.L80253248: +/* 181B28 80253248 10400005 */ beqz $v0, .L80253260 +/* 181B2C 8025324C 00000000 */ nop +/* 181B30 80253250 3C06802A */ lui $a2, 0x802a +/* 181B34 80253254 8CC6FA6C */ lw $a2, -0x594($a2) +/* 181B38 80253258 08094C9A */ j func_80253268 +/* 181B3C 8025325C 00000000 */ nop + +.L80253260: +/* 181B40 80253260 3C06802A */ lui $a2, 0x802a +/* 181B44 80253264 8CC6FA70 */ lw $a2, -0x590($a2) +func_80253268: +/* 181B48 80253268 04C00003 */ bltz $a2, .L80253278 +/* 181B4C 8025326C 0220202D */ daddu $a0, $s1, $zero +/* 181B50 80253270 0C098F82 */ jal func_80263E08 +/* 181B54 80253274 0240282D */ daddu $a1, $s2, $zero +.L80253278: +/* 181B58 80253278 3C03802A */ lui $v1, 0x802a +/* 181B5C 8025327C 8C63FA68 */ lw $v1, -0x598($v1) +/* 181B60 80253280 24020001 */ addiu $v0, $zero, 1 +/* 181B64 80253284 1462000A */ bne $v1, $v0, .L802532B0 +/* 181B68 80253288 0000102D */ daddu $v0, $zero, $zero +/* 181B6C 8025328C 0C03A6CC */ jal decrement_status_menu_disabled +/* 181B70 80253290 00000000 */ nop +/* 181B74 80253294 24020001 */ addiu $v0, $zero, 1 +/* 181B78 80253298 3C03800A */ lui $v1, 0x800a +/* 181B7C 8025329C 2463A650 */ addiu $v1, $v1, -0x59b0 +/* 181B80 802532A0 8C640000 */ lw $a0, ($v1) +/* 181B84 802532A4 2405FFEF */ addiu $a1, $zero, -0x11 +/* 181B88 802532A8 00852024 */ and $a0, $a0, $a1 +/* 181B8C 802532AC AC640000 */ sw $a0, ($v1) +func_802532B0: +.L802532B0: +/* 181B90 802532B0 8FBF0044 */ lw $ra, 0x44($sp) +/* 181B94 802532B4 8FB40040 */ lw $s4, 0x40($sp) +/* 181B98 802532B8 8FB3003C */ lw $s3, 0x3c($sp) +/* 181B9C 802532BC 8FB20038 */ lw $s2, 0x38($sp) +/* 181BA0 802532C0 8FB10034 */ lw $s1, 0x34($sp) +/* 181BA4 802532C4 8FB00030 */ lw $s0, 0x30($sp) +/* 181BA8 802532C8 03E00008 */ jr $ra +/* 181BAC 802532CC 27BD0048 */ addiu $sp, $sp, 0x48 + +EndActorSpeech: +/* 181BB0 802532D0 27BDFFB8 */ addiu $sp, $sp, -0x48 +/* 181BB4 802532D4 AFB20038 */ sw $s2, 0x38($sp) +/* 181BB8 802532D8 0080902D */ daddu $s2, $a0, $zero +/* 181BBC 802532DC AFBF0040 */ sw $ra, 0x40($sp) +/* 181BC0 802532E0 AFB3003C */ sw $s3, 0x3c($sp) +/* 181BC4 802532E4 AFB10034 */ sw $s1, 0x34($sp) +/* 181BC8 802532E8 AFB00030 */ sw $s0, 0x30($sp) +/* 181BCC 802532EC 10A00029 */ beqz $a1, .L80253394 +/* 181BD0 802532F0 8E50000C */ lw $s0, 0xc($s2) +/* 181BD4 802532F4 8E050000 */ lw $a1, ($s0) +/* 181BD8 802532F8 0C0B1EAF */ jal get_variable +/* 181BDC 802532FC 26100004 */ addiu $s0, $s0, 4 +/* 181BE0 80253300 0040882D */ daddu $s1, $v0, $zero +/* 181BE4 80253304 8E050000 */ lw $a1, ($s0) +/* 181BE8 80253308 26100004 */ addiu $s0, $s0, 4 +/* 181BEC 8025330C 0C0B1EAF */ jal get_variable +/* 181BF0 80253310 0240202D */ daddu $a0, $s2, $zero +/* 181BF4 80253314 8E050000 */ lw $a1, ($s0) +/* 181BF8 80253318 26100004 */ addiu $s0, $s0, 4 +/* 181BFC 8025331C 0240202D */ daddu $a0, $s2, $zero +/* 181C00 80253320 0C0B1EAF */ jal get_variable +/* 181C04 80253324 0040982D */ daddu $s3, $v0, $zero +/* 181C08 80253328 3C01802A */ lui $at, 0x802a +/* 181C0C 8025332C AC22FA6C */ sw $v0, -0x594($at) +/* 181C10 80253330 8E050000 */ lw $a1, ($s0) +/* 181C14 80253334 0C0B1EAF */ jal get_variable +/* 181C18 80253338 0240202D */ daddu $a0, $s2, $zero +/* 181C1C 8025333C 3C01802A */ lui $at, 0x802a +/* 181C20 80253340 AC22FA70 */ sw $v0, -0x590($at) +/* 181C24 80253344 2402FF81 */ addiu $v0, $zero, -0x7f +/* 181C28 80253348 16220002 */ bne $s1, $v0, .L80253354 +/* 181C2C 8025334C 00000000 */ nop +/* 181C30 80253350 8E510148 */ lw $s1, 0x148($s2) +.L80253354: +/* 181C34 80253354 0C09A75B */ jal get_actor +/* 181C38 80253358 0220202D */ daddu $a0, $s1, $zero +/* 181C3C 8025335C 0040882D */ daddu $s1, $v0, $zero +/* 181C40 80253360 0220202D */ daddu $a0, $s1, $zero +/* 181C44 80253364 0C099117 */ jal get_actor_part +/* 181C48 80253368 0260282D */ daddu $a1, $s3, $zero +/* 181C4C 8025336C 3C04802A */ lui $a0, 0x802a +/* 181C50 80253370 8C84FA60 */ lw $a0, -0x5a0($a0) +/* 181C54 80253374 3C01802A */ lui $at, 0x802a +/* 181C58 80253378 AC31FA74 */ sw $s1, -0x58c($at) +/* 181C5C 8025337C 3C01802A */ lui $at, 0x802a +/* 181C60 80253380 AC22FA78 */ sw $v0, -0x588($at) +/* 181C64 80253384 0C04971C */ jal close_message +/* 181C68 80253388 00000000 */ nop +/* 181C6C 8025338C 0C03A6D5 */ jal increment_status_menu_disabled +/* 181C70 80253390 AE400070 */ sw $zero, 0x70($s2) +.L80253394: +/* 181C74 80253394 8E420070 */ lw $v0, 0x70($s2) +/* 181C78 80253398 14400060 */ bnez $v0, .L8025351C +/* 181C7C 8025339C 0000102D */ daddu $v0, $zero, $zero +/* 181C80 802533A0 3C11802A */ lui $s1, 0x802a +/* 181C84 802533A4 8E31FA74 */ lw $s1, -0x58c($s1) +/* 181C88 802533A8 3C12802A */ lui $s2, 0x802a +/* 181C8C 802533AC 8E52FA78 */ lw $s2, -0x588($s2) +/* 181C90 802533B0 86220150 */ lh $v0, 0x150($s1) +/* 181C94 802533B4 C6200144 */ lwc1 $f0, 0x144($s1) +/* 181C98 802533B8 44821000 */ mtc1 $v0, $f2 +/* 181C9C 802533BC 00000000 */ nop +/* 181CA0 802533C0 468010A0 */ cvt.s.w $f2, $f2 +/* 181CA4 802533C4 8E220000 */ lw $v0, ($s1) +/* 181CA8 802533C8 30428000 */ andi $v0, $v0, 0x8000 +/* 181CAC 802533CC 1440000D */ bnez $v0, .L80253404 +/* 181CB0 802533D0 46020100 */ add.s $f4, $f0, $f2 +/* 181CB4 802533D4 86220152 */ lh $v0, 0x152($s1) +/* 181CB8 802533D8 C6200148 */ lwc1 $f0, 0x148($s1) +/* 181CBC 802533DC 44821000 */ mtc1 $v0, $f2 +/* 181CC0 802533E0 00000000 */ nop +/* 181CC4 802533E4 468010A0 */ cvt.s.w $f2, $f2 +/* 181CC8 802533E8 92220191 */ lbu $v0, 0x191($s1) +/* 181CCC 802533EC 46020000 */ add.s $f0, $f0, $f2 +/* 181CD0 802533F0 44821000 */ mtc1 $v0, $f2 +/* 181CD4 802533F4 00000000 */ nop +/* 181CD8 802533F8 468010A0 */ cvt.s.w $f2, $f2 +/* 181CDC 802533FC 08094D0D */ j func_80253434 +/* 181CE0 80253400 46001000 */ add.s $f0, $f2, $f0 + +.L80253404: +/* 181CE4 80253404 86220152 */ lh $v0, 0x152($s1) +/* 181CE8 80253408 C6220148 */ lwc1 $f2, 0x148($s1) +/* 181CEC 8025340C 44820000 */ mtc1 $v0, $f0 +/* 181CF0 80253410 00000000 */ nop +/* 181CF4 80253414 46800020 */ cvt.s.w $f0, $f0 +/* 181CF8 80253418 92220191 */ lbu $v0, 0x191($s1) +/* 181CFC 8025341C 46001080 */ add.s $f2, $f2, $f0 +/* 181D00 80253420 00021042 */ srl $v0, $v0, 1 +/* 181D04 80253424 44820000 */ mtc1 $v0, $f0 +/* 181D08 80253428 00000000 */ nop +/* 181D0C 8025342C 46800020 */ cvt.s.w $f0, $f0 +/* 181D10 80253430 46001000 */ add.s $f0, $f2, $f0 +func_80253434: +/* 181D14 80253434 24040001 */ addiu $a0, $zero, 1 +/* 181D18 80253438 44052000 */ mfc1 $a1, $f4 +/* 181D1C 8025343C 44060000 */ mfc1 $a2, $f0 +/* 181D20 80253440 86230154 */ lh $v1, 0x154($s1) +/* 181D24 80253444 C622014C */ lwc1 $f2, 0x14c($s1) +/* 181D28 80253448 27A20020 */ addiu $v0, $sp, 0x20 +/* 181D2C 8025344C AFA20010 */ sw $v0, 0x10($sp) +/* 181D30 80253450 44830000 */ mtc1 $v1, $f0 +/* 181D34 80253454 00000000 */ nop +/* 181D38 80253458 46800020 */ cvt.s.w $f0, $f0 +/* 181D3C 8025345C 46001080 */ add.s $f2, $f2, $f0 +/* 181D40 80253460 27A20024 */ addiu $v0, $sp, 0x24 +/* 181D44 80253464 AFA20014 */ sw $v0, 0x14($sp) +/* 181D48 80253468 44071000 */ mfc1 $a3, $f2 +/* 181D4C 8025346C 27A20028 */ addiu $v0, $sp, 0x28 +/* 181D50 80253470 0C00B94E */ jal get_screen_coords +/* 181D54 80253474 AFA20018 */ sw $v0, 0x18($sp) +/* 181D58 80253478 3C10802A */ lui $s0, 0x802a +/* 181D5C 8025347C 2610FA60 */ addiu $s0, $s0, -0x5a0 +/* 181D60 80253480 8E040000 */ lw $a0, ($s0) +/* 181D64 80253484 8FA50020 */ lw $a1, 0x20($sp) +/* 181D68 80253488 0C0496AE */ jal clamp_printer_coords +/* 181D6C 8025348C 8FA60024 */ lw $a2, 0x24($sp) +/* 181D70 80253490 8E020000 */ lw $v0, ($s0) +/* 181D74 80253494 8C4304FC */ lw $v1, 0x4fc($v0) +/* 181D78 80253498 30620040 */ andi $v0, $v1, 0x40 +/* 181D7C 8025349C 10400005 */ beqz $v0, .L802534B4 +/* 181D80 802534A0 30620080 */ andi $v0, $v1, 0x80 +/* 181D84 802534A4 0C03A6CC */ jal decrement_status_menu_disabled +/* 181D88 802534A8 00000000 */ nop +/* 181D8C 802534AC 08094D47 */ j func_8025351C +/* 181D90 802534B0 24020001 */ addiu $v0, $zero, 1 + +.L802534B4: +/* 181D94 802534B4 10400005 */ beqz $v0, .L802534CC +/* 181D98 802534B8 00000000 */ nop +/* 181D9C 802534BC 3C06802A */ lui $a2, 0x802a +/* 181DA0 802534C0 8CC6FA6C */ lw $a2, -0x594($a2) +/* 181DA4 802534C4 08094D35 */ j func_802534D4 +/* 181DA8 802534C8 00000000 */ nop + +.L802534CC: +/* 181DAC 802534CC 3C06802A */ lui $a2, 0x802a +/* 181DB0 802534D0 8CC6FA70 */ lw $a2, -0x590($a2) +func_802534D4: +/* 181DB4 802534D4 04C00003 */ bltz $a2, .L802534E4 +/* 181DB8 802534D8 0220202D */ daddu $a0, $s1, $zero +/* 181DBC 802534DC 0C098F82 */ jal func_80263E08 +/* 181DC0 802534E0 0240282D */ daddu $a1, $s2, $zero +.L802534E4: +/* 181DC4 802534E4 3C03802A */ lui $v1, 0x802a +/* 181DC8 802534E8 8C63FA68 */ lw $v1, -0x598($v1) +/* 181DCC 802534EC 24020001 */ addiu $v0, $zero, 1 +/* 181DD0 802534F0 1462000A */ bne $v1, $v0, .L8025351C +/* 181DD4 802534F4 0000102D */ daddu $v0, $zero, $zero +/* 181DD8 802534F8 0C03A6CC */ jal decrement_status_menu_disabled +/* 181DDC 802534FC 00000000 */ nop +/* 181DE0 80253500 24020001 */ addiu $v0, $zero, 1 +/* 181DE4 80253504 3C03800A */ lui $v1, 0x800a +/* 181DE8 80253508 2463A650 */ addiu $v1, $v1, -0x59b0 +/* 181DEC 8025350C 8C640000 */ lw $a0, ($v1) +/* 181DF0 80253510 2405FFEF */ addiu $a1, $zero, -0x11 +/* 181DF4 80253514 00852024 */ and $a0, $a0, $a1 +/* 181DF8 80253518 AC640000 */ sw $a0, ($v1) +func_8025351C: +.L8025351C: +/* 181DFC 8025351C 8FBF0040 */ lw $ra, 0x40($sp) +/* 181E00 80253520 8FB3003C */ lw $s3, 0x3c($sp) +/* 181E04 80253524 8FB20038 */ lw $s2, 0x38($sp) +/* 181E08 80253528 8FB10034 */ lw $s1, 0x34($sp) +/* 181E0C 8025352C 8FB00030 */ lw $s0, 0x30($sp) +/* 181E10 80253530 03E00008 */ jr $ra +/* 181E14 80253534 27BD0048 */ addiu $sp, $sp, 0x48 + +ShowBattleChoice: +/* 181E18 80253538 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 181E1C 8025353C AFB00010 */ sw $s0, 0x10($sp) +/* 181E20 80253540 0080802D */ daddu $s0, $a0, $zero +/* 181E24 80253544 AFBF0014 */ sw $ra, 0x14($sp) +/* 181E28 80253548 10A00009 */ beqz $a1, .L80253570 +/* 181E2C 8025354C 8E02000C */ lw $v0, 0xc($s0) +/* 181E30 80253550 0C0B1EAF */ jal get_variable +/* 181E34 80253554 8C450000 */ lw $a1, ($v0) +/* 181E38 80253558 0040202D */ daddu $a0, $v0, $zero +/* 181E3C 8025355C 26050074 */ addiu $a1, $s0, 0x74 +/* 181E40 80253560 0C049640 */ jal load_string +/* 181E44 80253564 AE000074 */ sw $zero, 0x74($s0) +/* 181E48 80253568 3C01802A */ lui $at, 0x802a +/* 181E4C 8025356C AC22FA64 */ sw $v0, -0x59c($at) +.L80253570: +/* 181E50 80253570 8E030074 */ lw $v1, 0x74($s0) +/* 181E54 80253574 24020001 */ addiu $v0, $zero, 1 +/* 181E58 80253578 1462000A */ bne $v1, $v0, .L802535A4 +/* 181E5C 8025357C 0000102D */ daddu $v0, $zero, $zero +/* 181E60 80253580 3C02802A */ lui $v0, 0x802a +/* 181E64 80253584 8C42FA64 */ lw $v0, -0x59c($v0) +/* 181E68 80253588 3C04802A */ lui $a0, 0x802a +/* 181E6C 8025358C 8C84FA60 */ lw $a0, -0x5a0($a0) +/* 181E70 80253590 904304E8 */ lbu $v1, 0x4e8($v0) +/* 181E74 80253594 24020001 */ addiu $v0, $zero, 1 +/* 181E78 80253598 A08304E8 */ sb $v1, 0x4e8($a0) +/* 181E7C 8025359C 306300FF */ andi $v1, $v1, 0xff +/* 181E80 802535A0 AE030084 */ sw $v1, 0x84($s0) +.L802535A4: +/* 181E84 802535A4 8FBF0014 */ lw $ra, 0x14($sp) +/* 181E88 802535A8 8FB00010 */ lw $s0, 0x10($sp) +/* 181E8C 802535AC 03E00008 */ jr $ra +/* 181E90 802535B0 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 181E94 802535B4 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 181E98 802535B8 AFBF0010 */ sw $ra, 0x10($sp) +/* 181E9C 802535BC 8C82000C */ lw $v0, 0xc($a0) +/* 181EA0 802535C0 0C0B1EAF */ jal get_variable +/* 181EA4 802535C4 8C450000 */ lw $a1, ($v0) +/* 181EA8 802535C8 10400005 */ beqz $v0, .L802535E0 +/* 181EAC 802535CC 00000000 */ nop +/* 181EB0 802535D0 0C03A6CC */ jal decrement_status_menu_disabled +/* 181EB4 802535D4 00000000 */ nop +/* 181EB8 802535D8 08094D7A */ j func_802535E8 +/* 181EBC 802535DC 00000000 */ nop + +.L802535E0: +/* 181EC0 802535E0 0C03A6D5 */ jal increment_status_menu_disabled +/* 181EC4 802535E4 00000000 */ nop +func_802535E8: +/* 181EC8 802535E8 8FBF0010 */ lw $ra, 0x10($sp) +/* 181ECC 802535EC 24020002 */ addiu $v0, $zero, 2 +/* 181ED0 802535F0 03E00008 */ jr $ra +/* 181ED4 802535F4 27BD0018 */ addiu $sp, $sp, 0x18 + +OverrideBattleDmaDest: +/* 181ED8 802535F8 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 181EDC 802535FC AFBF0010 */ sw $ra, 0x10($sp) +/* 181EE0 80253600 8C82000C */ lw $v0, 0xc($a0) +/* 181EE4 80253604 0C0B1EAF */ jal get_variable +/* 181EE8 80253608 8C450000 */ lw $a1, ($v0) +/* 181EEC 8025360C 8FBF0010 */ lw $ra, 0x10($sp) +/* 181EF0 80253610 3C018028 */ lui $at, 0x8028 +/* 181EF4 80253614 AC224000 */ sw $v0, 0x4000($at) +/* 181EF8 80253618 24020002 */ addiu $v0, $zero, 2 +/* 181EFC 8025361C 03E00008 */ jr $ra +/* 181F00 80253620 27BD0018 */ addiu $sp, $sp, 0x18 + +LoadBattleDmaData: +/* 181F04 80253624 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 181F08 80253628 AFBF0010 */ sw $ra, 0x10($sp) +/* 181F0C 8025362C 8C82000C */ lw $v0, 0xc($a0) +/* 181F10 80253630 0C0B1EAF */ jal get_variable +/* 181F14 80253634 8C450000 */ lw $a1, ($v0) +/* 181F18 80253638 00021840 */ sll $v1, $v0, 1 +/* 181F1C 8025363C 3C04800E */ lui $a0, 0x800e +/* 181F20 80253640 9084C4EA */ lbu $a0, -0x3b16($a0) +/* 181F24 80253644 00621821 */ addu $v1, $v1, $v0 +/* 181F28 80253648 00042140 */ sll $a0, $a0, 5 +/* 181F2C 8025364C 3C028009 */ lui $v0, 0x8009 +/* 181F30 80253650 00441021 */ addu $v0, $v0, $a0 +/* 181F34 80253654 8C425A4C */ lw $v0, 0x5a4c($v0) +/* 181F38 80253658 00031880 */ sll $v1, $v1, 2 +/* 181F3C 8025365C 00431021 */ addu $v0, $v0, $v1 +/* 181F40 80253660 5040000E */ beql $v0, $zero, .L8025369C +/* 181F44 80253664 24020002 */ addiu $v0, $zero, 2 +/* 181F48 80253668 3C068028 */ lui $a2, 0x8028 +/* 181F4C 8025366C 8CC64000 */ lw $a2, 0x4000($a2) +/* 181F50 80253670 14C00005 */ bnez $a2, .L80253688 +/* 181F54 80253674 00000000 */ nop +/* 181F58 80253678 8C440000 */ lw $a0, ($v0) +/* 181F5C 8025367C 8C450004 */ lw $a1, 4($v0) +/* 181F60 80253680 08094DA4 */ j func_80253690 +/* 181F64 80253684 8C460008 */ lw $a2, 8($v0) + +.L80253688: +/* 181F68 80253688 8C440000 */ lw $a0, ($v0) +/* 181F6C 8025368C 8C450004 */ lw $a1, 4($v0) +func_80253690: +/* 181F70 80253690 0C00A5CF */ jal dma_copy +/* 181F74 80253694 00000000 */ nop +/* 181F78 80253698 24020002 */ addiu $v0, $zero, 2 +.L8025369C: +/* 181F7C 8025369C 8FBF0010 */ lw $ra, 0x10($sp) +/* 181F80 802536A0 03E00008 */ jr $ra +/* 181F84 802536A4 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 181F88 802536A8 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 181F8C 802536AC AFBF0018 */ sw $ra, 0x18($sp) +/* 181F90 802536B0 AFB10014 */ sw $s1, 0x14($sp) +/* 181F94 802536B4 AFB00010 */ sw $s0, 0x10($sp) +/* 181F98 802536B8 8C82000C */ lw $v0, 0xc($a0) +/* 181F9C 802536BC 3C10800E */ lui $s0, 0x800e +/* 181FA0 802536C0 2610C070 */ addiu $s0, $s0, -0x3f90 +/* 181FA4 802536C4 8C450000 */ lw $a1, ($v0) +/* 181FA8 802536C8 0C0B1EAF */ jal get_variable +/* 181FAC 802536CC 0200882D */ daddu $s1, $s0, $zero +/* 181FB0 802536D0 1040000A */ beqz $v0, .L802536FC +/* 181FB4 802536D4 2403FF7F */ addiu $v1, $zero, -0x81 +/* 181FB8 802536D8 3C02800A */ lui $v0, 0x800a +/* 181FBC 802536DC 2442A650 */ addiu $v0, $v0, -0x59b0 +/* 181FC0 802536E0 92030092 */ lbu $v1, 0x92($s0) +/* 181FC4 802536E4 8C440000 */ lw $a0, ($v0) +/* 181FC8 802536E8 34630001 */ ori $v1, $v1, 1 +/* 181FCC 802536EC 34840080 */ ori $a0, $a0, 0x80 +/* 181FD0 802536F0 A2030092 */ sb $v1, 0x92($s0) +/* 181FD4 802536F4 08094DC7 */ j func_8025371C +/* 181FD8 802536F8 AC440000 */ sw $a0, ($v0) + +.L802536FC: +/* 181FDC 802536FC 92220092 */ lbu $v0, 0x92($s1) +/* 181FE0 80253700 3C04800A */ lui $a0, 0x800a +/* 181FE4 80253704 2484A650 */ addiu $a0, $a0, -0x59b0 +/* 181FE8 80253708 304200FE */ andi $v0, $v0, 0xfe +/* 181FEC 8025370C A2220092 */ sb $v0, 0x92($s1) +/* 181FF0 80253710 8C820000 */ lw $v0, ($a0) +/* 181FF4 80253714 00431024 */ and $v0, $v0, $v1 +/* 181FF8 80253718 AC820000 */ sw $v0, ($a0) +func_8025371C: +/* 181FFC 8025371C 8FBF0018 */ lw $ra, 0x18($sp) +/* 182000 80253720 8FB10014 */ lw $s1, 0x14($sp) +/* 182004 80253724 8FB00010 */ lw $s0, 0x10($sp) +/* 182008 80253728 24020002 */ addiu $v0, $zero, 2 +/* 18200C 8025372C 03E00008 */ jr $ra +/* 182010 80253730 27BD0020 */ addiu $sp, $sp, 0x20 + +/* 182014 80253734 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 182018 80253738 AFBF0014 */ sw $ra, 0x14($sp) +/* 18201C 8025373C AFB00010 */ sw $s0, 0x10($sp) +/* 182020 80253740 8C82000C */ lw $v0, 0xc($a0) +/* 182024 80253744 0C0B1EAF */ jal get_variable +/* 182028 80253748 8C450000 */ lw $a1, ($v0) +/* 18202C 8025374C 3C10800E */ lui $s0, 0x800e +/* 182030 80253750 2610C070 */ addiu $s0, $s0, -0x3f90 +/* 182034 80253754 0040182D */ daddu $v1, $v0, $zero +/* 182038 80253758 24040001 */ addiu $a0, $zero, 1 +/* 18203C 8025375C 10640012 */ beq $v1, $a0, .L802537A8 +/* 182040 80253760 28620002 */ slti $v0, $v1, 2 +/* 182044 80253764 10400005 */ beqz $v0, .L8025377C +/* 182048 80253768 24020002 */ addiu $v0, $zero, 2 +/* 18204C 8025376C 10600009 */ beqz $v1, .L80253794 +/* 182050 80253770 2402FFFF */ addiu $v0, $zero, -1 +/* 182054 80253774 08094DEB */ j func_802537AC +/* 182058 80253778 00000000 */ nop + +.L8025377C: +/* 18205C 8025377C 10620007 */ beq $v1, $v0, .L8025379C +/* 182060 80253780 24020003 */ addiu $v0, $zero, 3 +/* 182064 80253784 50620009 */ beql $v1, $v0, .L802537AC +/* 182068 80253788 A2040432 */ sb $a0, 0x432($s0) +/* 18206C 8025378C 08094DEB */ j func_802537AC +/* 182070 80253790 00000000 */ nop + +.L80253794: +/* 182074 80253794 08094DEB */ j func_802537AC +/* 182078 80253798 A2020432 */ sb $v0, 0x432($s0) + +.L8025379C: +/* 18207C 8025379C 2402FFFE */ addiu $v0, $zero, -2 +/* 182080 802537A0 08094DEB */ j func_802537AC +/* 182084 802537A4 A2020432 */ sb $v0, 0x432($s0) + +.L802537A8: +/* 182088 802537A8 A2040432 */ sb $a0, 0x432($s0) +func_802537AC: +.L802537AC: +/* 18208C 802537AC 8FBF0014 */ lw $ra, 0x14($sp) +/* 182090 802537B0 8FB00010 */ lw $s0, 0x10($sp) +/* 182094 802537B4 24020002 */ addiu $v0, $zero, 2 +/* 182098 802537B8 03E00008 */ jr $ra +/* 18209C 802537BC 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 1820A0 802537C0 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* 1820A4 802537C4 AFB1001C */ sw $s1, 0x1c($sp) +/* 1820A8 802537C8 0080882D */ daddu $s1, $a0, $zero +/* 1820AC 802537CC AFBF0028 */ sw $ra, 0x28($sp) +/* 1820B0 802537D0 AFB30024 */ sw $s3, 0x24($sp) +/* 1820B4 802537D4 AFB20020 */ sw $s2, 0x20($sp) +/* 1820B8 802537D8 AFB00018 */ sw $s0, 0x18($sp) +/* 1820BC 802537DC 8E22000C */ lw $v0, 0xc($s1) +/* 1820C0 802537E0 8C520000 */ lw $s2, ($v0) +/* 1820C4 802537E4 8C530004 */ lw $s3, 4($v0) +/* 1820C8 802537E8 24040001 */ addiu $a0, $zero, 1 +/* 1820CC 802537EC 27A50010 */ addiu $a1, $sp, 0x10 +/* 1820D0 802537F0 0C04DF70 */ jal func_80137DC0 +/* 1820D4 802537F4 27A60014 */ addiu $a2, $sp, 0x14 +/* 1820D8 802537F8 C7A20014 */ lwc1 $f2, 0x14($sp) +/* 1820DC 802537FC 3C014300 */ lui $at, 0x4300 +/* 1820E0 80253800 44810000 */ mtc1 $at, $f0 +/* 1820E4 80253804 00000000 */ nop +/* 1820E8 80253808 4600103C */ c.lt.s $f2, $f0 +/* 1820EC 8025380C 00000000 */ nop +/* 1820F0 80253810 45000002 */ bc1f .L8025381C +/* 1820F4 80253814 24100001 */ addiu $s0, $zero, 1 +/* 1820F8 80253818 0000802D */ daddu $s0, $zero, $zero +.L8025381C: +/* 1820FC 8025381C 0220202D */ daddu $a0, $s1, $zero +/* 182100 80253820 0240282D */ daddu $a1, $s2, $zero +/* 182104 80253824 0C0B2026 */ jal set_variable +/* 182108 80253828 24060001 */ addiu $a2, $zero, 1 +/* 18210C 8025382C 0220202D */ daddu $a0, $s1, $zero +/* 182110 80253830 0260282D */ daddu $a1, $s3, $zero +/* 182114 80253834 0C0B2026 */ jal set_variable +/* 182118 80253838 0200302D */ daddu $a2, $s0, $zero +/* 18211C 8025383C 8FBF0028 */ lw $ra, 0x28($sp) +/* 182120 80253840 8FB30024 */ lw $s3, 0x24($sp) +/* 182124 80253844 8FB20020 */ lw $s2, 0x20($sp) +/* 182128 80253848 8FB1001C */ lw $s1, 0x1c($sp) +/* 18212C 8025384C 8FB00018 */ lw $s0, 0x18($sp) +/* 182130 80253850 24020002 */ addiu $v0, $zero, 2 +/* 182134 80253854 03E00008 */ jr $ra +/* 182138 80253858 27BD0030 */ addiu $sp, $sp, 0x30 + +PlaySoundAtActor: +/* 18213C 8025385C 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 182140 80253860 AFB1001C */ sw $s1, 0x1c($sp) +/* 182144 80253864 0080882D */ daddu $s1, $a0, $zero +/* 182148 80253868 AFBF0020 */ sw $ra, 0x20($sp) +/* 18214C 8025386C AFB00018 */ sw $s0, 0x18($sp) +/* 182150 80253870 8E30000C */ lw $s0, 0xc($s1) +/* 182154 80253874 8E050000 */ lw $a1, ($s0) +/* 182158 80253878 0C0B1EAF */ jal get_variable +/* 18215C 8025387C 26100004 */ addiu $s0, $s0, 4 +/* 182160 80253880 0040202D */ daddu $a0, $v0, $zero +/* 182164 80253884 2402FF81 */ addiu $v0, $zero, -0x7f +/* 182168 80253888 14820002 */ bne $a0, $v0, .L80253894 +/* 18216C 8025388C 8E100000 */ lw $s0, ($s0) +/* 182170 80253890 8E240148 */ lw $a0, 0x148($s1) +.L80253894: +/* 182174 80253894 0C09A75B */ jal get_actor +/* 182178 80253898 00000000 */ nop +/* 18217C 8025389C C440014C */ lwc1 $f0, 0x14c($v0) +/* 182180 802538A0 0200202D */ daddu $a0, $s0, $zero +/* 182184 802538A4 E7A00010 */ swc1 $f0, 0x10($sp) +/* 182188 802538A8 8C460144 */ lw $a2, 0x144($v0) +/* 18218C 802538AC 8C470148 */ lw $a3, 0x148($v0) +/* 182190 802538B0 0C052757 */ jal play_sound_at_position +/* 182194 802538B4 0000282D */ daddu $a1, $zero, $zero +/* 182198 802538B8 8FBF0020 */ lw $ra, 0x20($sp) +/* 18219C 802538BC 8FB1001C */ lw $s1, 0x1c($sp) +/* 1821A0 802538C0 8FB00018 */ lw $s0, 0x18($sp) +/* 1821A4 802538C4 24020002 */ addiu $v0, $zero, 2 +/* 1821A8 802538C8 03E00008 */ jr $ra +/* 1821AC 802538CC 27BD0028 */ addiu $sp, $sp, 0x28 + +PlaySoundAtPart: +/* 1821B0 802538D0 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* 1821B4 802538D4 AFB20020 */ sw $s2, 0x20($sp) +/* 1821B8 802538D8 0080902D */ daddu $s2, $a0, $zero +/* 1821BC 802538DC AFBF0028 */ sw $ra, 0x28($sp) +/* 1821C0 802538E0 AFB30024 */ sw $s3, 0x24($sp) +/* 1821C4 802538E4 AFB1001C */ sw $s1, 0x1c($sp) +/* 1821C8 802538E8 AFB00018 */ sw $s0, 0x18($sp) +/* 1821CC 802538EC 8E50000C */ lw $s0, 0xc($s2) +/* 1821D0 802538F0 8E050000 */ lw $a1, ($s0) +/* 1821D4 802538F4 0C0B1EAF */ jal get_variable +/* 1821D8 802538F8 26100004 */ addiu $s0, $s0, 4 +/* 1821DC 802538FC 0040882D */ daddu $s1, $v0, $zero +/* 1821E0 80253900 8E050000 */ lw $a1, ($s0) +/* 1821E4 80253904 26100004 */ addiu $s0, $s0, 4 +/* 1821E8 80253908 0C0B1EAF */ jal get_variable +/* 1821EC 8025390C 0240202D */ daddu $a0, $s2, $zero +/* 1821F0 80253910 0040982D */ daddu $s3, $v0, $zero +/* 1821F4 80253914 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1821F8 80253918 16220002 */ bne $s1, $v0, .L80253924 +/* 1821FC 8025391C 8E100000 */ lw $s0, ($s0) +/* 182200 80253920 8E510148 */ lw $s1, 0x148($s2) +.L80253924: +/* 182204 80253924 0C09A75B */ jal get_actor +/* 182208 80253928 0220202D */ daddu $a0, $s1, $zero +/* 18220C 8025392C 0040202D */ daddu $a0, $v0, $zero +/* 182210 80253930 0C099117 */ jal get_actor_part +/* 182214 80253934 0260282D */ daddu $a1, $s3, $zero +/* 182218 80253938 C4400060 */ lwc1 $f0, 0x60($v0) +/* 18221C 8025393C 0200202D */ daddu $a0, $s0, $zero +/* 182220 80253940 E7A00010 */ swc1 $f0, 0x10($sp) +/* 182224 80253944 8C460058 */ lw $a2, 0x58($v0) +/* 182228 80253948 8C47005C */ lw $a3, 0x5c($v0) +/* 18222C 8025394C 0C052757 */ jal play_sound_at_position +/* 182230 80253950 0000282D */ daddu $a1, $zero, $zero +/* 182234 80253954 8FBF0028 */ lw $ra, 0x28($sp) +/* 182238 80253958 8FB30024 */ lw $s3, 0x24($sp) +/* 18223C 8025395C 8FB20020 */ lw $s2, 0x20($sp) +/* 182240 80253960 8FB1001C */ lw $s1, 0x1c($sp) +/* 182244 80253964 8FB00018 */ lw $s0, 0x18($sp) +/* 182248 80253968 24020002 */ addiu $v0, $zero, 2 +/* 18224C 8025396C 03E00008 */ jr $ra +/* 182250 80253970 27BD0030 */ addiu $sp, $sp, 0x30 + +/* 182254 80253974 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* 182258 80253978 AFB20020 */ sw $s2, 0x20($sp) +/* 18225C 8025397C 0080902D */ daddu $s2, $a0, $zero +/* 182260 80253980 AFBF0028 */ sw $ra, 0x28($sp) +/* 182264 80253984 AFB30024 */ sw $s3, 0x24($sp) +/* 182268 80253988 AFB1001C */ sw $s1, 0x1c($sp) +/* 18226C 8025398C AFB00018 */ sw $s0, 0x18($sp) +/* 182270 80253990 8E50000C */ lw $s0, 0xc($s2) +/* 182274 80253994 8E050000 */ lw $a1, ($s0) +/* 182278 80253998 0C0B1EAF */ jal get_variable +/* 18227C 8025399C 26100004 */ addiu $s0, $s0, 4 +/* 182280 802539A0 0040882D */ daddu $s1, $v0, $zero +/* 182284 802539A4 8E050000 */ lw $a1, ($s0) +/* 182288 802539A8 26100004 */ addiu $s0, $s0, 4 +/* 18228C 802539AC 0C0B1EAF */ jal get_variable +/* 182290 802539B0 0240202D */ daddu $a0, $s2, $zero +/* 182294 802539B4 0040982D */ daddu $s3, $v0, $zero +/* 182298 802539B8 2402FF81 */ addiu $v0, $zero, -0x7f +/* 18229C 802539BC 16220002 */ bne $s1, $v0, .L802539C8 +/* 1822A0 802539C0 8E100000 */ lw $s0, ($s0) +/* 1822A4 802539C4 8E510148 */ lw $s1, 0x148($s2) +.L802539C8: +/* 1822A8 802539C8 0C09A75B */ jal get_actor +/* 1822AC 802539CC 0220202D */ daddu $a0, $s1, $zero +/* 1822B0 802539D0 00131880 */ sll $v1, $s3, 2 +/* 1822B4 802539D4 00431821 */ addu $v1, $v0, $v1 +/* 1822B8 802539D8 AC700438 */ sw $s0, 0x438($v1) +/* 1822BC 802539DC C440014C */ lwc1 $f0, 0x14c($v0) +/* 1822C0 802539E0 0200202D */ daddu $a0, $s0, $zero +/* 1822C4 802539E4 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1822C8 802539E8 8C460144 */ lw $a2, 0x144($v0) +/* 1822CC 802539EC 8C470148 */ lw $a3, 0x148($v0) +/* 1822D0 802539F0 0C052757 */ jal play_sound_at_position +/* 1822D4 802539F4 0000282D */ daddu $a1, $zero, $zero +/* 1822D8 802539F8 8FBF0028 */ lw $ra, 0x28($sp) +/* 1822DC 802539FC 8FB30024 */ lw $s3, 0x24($sp) +/* 1822E0 80253A00 8FB20020 */ lw $s2, 0x20($sp) +/* 1822E4 80253A04 8FB1001C */ lw $s1, 0x1c($sp) +/* 1822E8 80253A08 8FB00018 */ lw $s0, 0x18($sp) +/* 1822EC 80253A0C 24020002 */ addiu $v0, $zero, 2 +/* 1822F0 80253A10 03E00008 */ jr $ra +/* 1822F4 80253A14 27BD0030 */ addiu $sp, $sp, 0x30 + +/* 1822F8 80253A18 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 1822FC 80253A1C AFB20018 */ sw $s2, 0x18($sp) +/* 182300 80253A20 0080902D */ daddu $s2, $a0, $zero +/* 182304 80253A24 AFBF001C */ sw $ra, 0x1c($sp) +/* 182308 80253A28 AFB10014 */ sw $s1, 0x14($sp) +/* 18230C 80253A2C AFB00010 */ sw $s0, 0x10($sp) +/* 182310 80253A30 8E50000C */ lw $s0, 0xc($s2) +/* 182314 80253A34 8E050000 */ lw $a1, ($s0) +/* 182318 80253A38 0C0B1EAF */ jal get_variable +/* 18231C 80253A3C 26100004 */ addiu $s0, $s0, 4 +/* 182320 80253A40 0040882D */ daddu $s1, $v0, $zero +/* 182324 80253A44 8E050000 */ lw $a1, ($s0) +/* 182328 80253A48 0C0B1EAF */ jal get_variable +/* 18232C 80253A4C 0240202D */ daddu $a0, $s2, $zero +/* 182330 80253A50 0040802D */ daddu $s0, $v0, $zero +/* 182334 80253A54 2402FF81 */ addiu $v0, $zero, -0x7f +/* 182338 80253A58 16220002 */ bne $s1, $v0, .L80253A64 +/* 18233C 80253A5C 00000000 */ nop +/* 182340 80253A60 8E510148 */ lw $s1, 0x148($s2) +.L80253A64: +/* 182344 80253A64 0C09A75B */ jal get_actor +/* 182348 80253A68 0220202D */ daddu $a0, $s1, $zero +/* 18234C 80253A6C 00101880 */ sll $v1, $s0, 2 +/* 182350 80253A70 00438021 */ addu $s0, $v0, $v1 +/* 182354 80253A74 8E040438 */ lw $a0, 0x438($s0) +/* 182358 80253A78 10800005 */ beqz $a0, .L80253A90 +/* 18235C 80253A7C 24020002 */ addiu $v0, $zero, 2 +/* 182360 80253A80 0C05271B */ jal stop_sound +/* 182364 80253A84 00000000 */ nop +/* 182368 80253A88 AE000438 */ sw $zero, 0x438($s0) +/* 18236C 80253A8C 24020002 */ addiu $v0, $zero, 2 +.L80253A90: +/* 182370 80253A90 8FBF001C */ lw $ra, 0x1c($sp) +/* 182374 80253A94 8FB20018 */ lw $s2, 0x18($sp) +/* 182378 80253A98 8FB10014 */ lw $s1, 0x14($sp) +/* 18237C 80253A9C 8FB00010 */ lw $s0, 0x10($sp) +/* 182380 80253AA0 03E00008 */ jr $ra +/* 182384 80253AA4 27BD0020 */ addiu $sp, $sp, 0x20 + +SetForegroundModelsVisibleUnchecked: +/* 182388 80253AA8 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 18238C 80253AAC AFBF0010 */ sw $ra, 0x10($sp) +/* 182390 80253AB0 8C82000C */ lw $v0, 0xc($a0) +/* 182394 80253AB4 0C0B1EAF */ jal get_variable +/* 182398 80253AB8 8C450000 */ lw $a1, ($v0) +/* 18239C 80253ABC 10400005 */ beqz $v0, .L80253AD4 +/* 1823A0 80253AC0 00000000 */ nop +/* 1823A4 80253AC4 0C099F12 */ jal show_foreground_models_unchecked +/* 1823A8 80253AC8 00000000 */ nop +/* 1823AC 80253ACC 08094EB7 */ j func_80253ADC +/* 1823B0 80253AD0 00000000 */ nop + +.L80253AD4: +/* 1823B4 80253AD4 0C099EF7 */ jal hide_foreground_models_unchecked +/* 1823B8 80253AD8 00000000 */ nop +func_80253ADC: +/* 1823BC 80253ADC 8FBF0010 */ lw $ra, 0x10($sp) +/* 1823C0 80253AE0 24020002 */ addiu $v0, $zero, 2 +/* 1823C4 80253AE4 03E00008 */ jr $ra +/* 1823C8 80253AE8 27BD0018 */ addiu $sp, $sp, 0x18 + +SetForegroundModelsVisible: +/* 1823CC 80253AEC 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 1823D0 80253AF0 AFBF0010 */ sw $ra, 0x10($sp) +/* 1823D4 80253AF4 8C82000C */ lw $v0, 0xc($a0) +/* 1823D8 80253AF8 0C0B1EAF */ jal get_variable +/* 1823DC 80253AFC 8C450000 */ lw $a1, ($v0) +/* 1823E0 80253B00 10400005 */ beqz $v0, .L80253B18 +/* 1823E4 80253B04 00000000 */ nop +/* 1823E8 80253B08 0C099F4A */ jal show_foreground_models +/* 1823EC 80253B0C 00000000 */ nop +/* 1823F0 80253B10 08094EC8 */ j func_80253B20 +/* 1823F4 80253B14 00000000 */ nop + +.L80253B18: +/* 1823F8 80253B18 0C099F2D */ jal hide_foreground_models +/* 1823FC 80253B1C 00000000 */ nop +func_80253B20: +/* 182400 80253B20 8FBF0010 */ lw $ra, 0x10($sp) +/* 182404 80253B24 24020002 */ addiu $v0, $zero, 2 +/* 182408 80253B28 03E00008 */ jr $ra +/* 18240C 80253B2C 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 182410 80253B30 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 182414 80253B34 AFB00010 */ sw $s0, 0x10($sp) +/* 182418 80253B38 0080802D */ daddu $s0, $a0, $zero +/* 18241C 80253B3C AFBF001C */ sw $ra, 0x1c($sp) +/* 182420 80253B40 AFB20018 */ sw $s2, 0x18($sp) +/* 182424 80253B44 AFB10014 */ sw $s1, 0x14($sp) +/* 182428 80253B48 8E02000C */ lw $v0, 0xc($s0) +/* 18242C 80253B4C 8C510000 */ lw $s1, ($v0) +/* 182430 80253B50 24420004 */ addiu $v0, $v0, 4 +/* 182434 80253B54 8C450004 */ lw $a1, 4($v0) +/* 182438 80253B58 0C0B1EAF */ jal get_variable +/* 18243C 80253B5C 8C520000 */ lw $s2, ($v0) +/* 182440 80253B60 0200202D */ daddu $a0, $s0, $zero +/* 182444 80253B64 0220282D */ daddu $a1, $s1, $zero +/* 182448 80253B68 00021200 */ sll $v0, $v0, 8 +/* 18244C 80253B6C 344200FE */ ori $v0, $v0, 0xfe +/* 182450 80253B70 0C0B2026 */ jal set_variable +/* 182454 80253B74 02423025 */ or $a2, $s2, $v0 +/* 182458 80253B78 8FBF001C */ lw $ra, 0x1c($sp) +/* 18245C 80253B7C 8FB20018 */ lw $s2, 0x18($sp) +/* 182460 80253B80 8FB10014 */ lw $s1, 0x14($sp) +/* 182464 80253B84 8FB00010 */ lw $s0, 0x10($sp) +/* 182468 80253B88 24020002 */ addiu $v0, $zero, 2 +/* 18246C 80253B8C 03E00008 */ jr $ra +/* 182470 80253B90 27BD0020 */ addiu $sp, $sp, 0x20 + +MakeStatusField: +/* 182474 80253B94 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 182478 80253B98 AFB10014 */ sw $s1, 0x14($sp) +/* 18247C 80253B9C 0080882D */ daddu $s1, $a0, $zero +/* 182480 80253BA0 AFBF0020 */ sw $ra, 0x20($sp) +/* 182484 80253BA4 AFB3001C */ sw $s3, 0x1c($sp) +/* 182488 80253BA8 AFB20018 */ sw $s2, 0x18($sp) +/* 18248C 80253BAC AFB00010 */ sw $s0, 0x10($sp) +/* 182490 80253BB0 8E30000C */ lw $s0, 0xc($s1) +/* 182494 80253BB4 8E130000 */ lw $s3, ($s0) +/* 182498 80253BB8 26100004 */ addiu $s0, $s0, 4 +/* 18249C 80253BBC 8E120000 */ lw $s2, ($s0) +/* 1824A0 80253BC0 26100004 */ addiu $s0, $s0, 4 +/* 1824A4 80253BC4 8E050000 */ lw $a1, ($s0) +/* 1824A8 80253BC8 0C0B1EAF */ jal get_variable +/* 1824AC 80253BCC 26100004 */ addiu $s0, $s0, 4 +/* 1824B0 80253BD0 0220202D */ daddu $a0, $s1, $zero +/* 1824B4 80253BD4 8E050000 */ lw $a1, ($s0) +/* 1824B8 80253BD8 0C0B1EAF */ jal get_variable +/* 1824BC 80253BDC 0040802D */ daddu $s0, $v0, $zero +/* 1824C0 80253BE0 0220202D */ daddu $a0, $s1, $zero +/* 1824C4 80253BE4 0260282D */ daddu $a1, $s3, $zero +/* 1824C8 80253BE8 00021200 */ sll $v0, $v0, 8 +/* 1824CC 80253BEC 3C038000 */ lui $v1, 0x8000 +/* 1824D0 80253BF0 00431025 */ or $v0, $v0, $v1 +/* 1824D4 80253BF4 02429025 */ or $s2, $s2, $v0 +/* 1824D8 80253BF8 0C0B2026 */ jal set_variable +/* 1824DC 80253BFC 02503025 */ or $a2, $s2, $s0 +/* 1824E0 80253C00 8FBF0020 */ lw $ra, 0x20($sp) +/* 1824E4 80253C04 8FB3001C */ lw $s3, 0x1c($sp) +/* 1824E8 80253C08 8FB20018 */ lw $s2, 0x18($sp) +/* 1824EC 80253C0C 8FB10014 */ lw $s1, 0x14($sp) +/* 1824F0 80253C10 8FB00010 */ lw $s0, 0x10($sp) +/* 1824F4 80253C14 24020002 */ addiu $v0, $zero, 2 +/* 1824F8 80253C18 03E00008 */ jr $ra +/* 1824FC 80253C1C 27BD0028 */ addiu $sp, $sp, 0x28 + +is_actor_hp_bar_visible: +/* 182500 80253C20 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 182504 80253C24 AFB00010 */ sw $s0, 0x10($sp) +/* 182508 80253C28 0080802D */ daddu $s0, $a0, $zero +/* 18250C 80253C2C AFBF0014 */ sw $ra, 0x14($sp) +/* 182510 80253C30 0C03A752 */ jal is_ability_active +/* 182514 80253C34 24040036 */ addiu $a0, $zero, 0x36 +/* 182518 80253C38 14400014 */ bnez $v0, .L80253C8C +/* 18251C 80253C3C 24020001 */ addiu $v0, $zero, 1 +/* 182520 80253C40 92040136 */ lbu $a0, 0x136($s0) +/* 182524 80253C44 000420C2 */ srl $a0, $a0, 3 +/* 182528 80253C48 0C05154E */ jal get_global_byte +/* 18252C 80253C4C 2484016D */ addiu $a0, $a0, 0x16d +/* 182530 80253C50 8E030000 */ lw $v1, ($s0) +/* 182534 80253C54 30631000 */ andi $v1, $v1, 0x1000 +/* 182538 80253C58 10600008 */ beqz $v1, .L80253C7C +/* 18253C 80253C5C 0040202D */ daddu $a0, $v0, $zero +/* 182540 80253C60 92020136 */ lbu $v0, 0x136($s0) +/* 182544 80253C64 3C03800E */ lui $v1, 0x800e +/* 182548 80253C68 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 18254C 80253C6C 000210C2 */ srl $v0, $v0, 3 +/* 182550 80253C70 00431021 */ addu $v0, $v0, $v1 +/* 182554 80253C74 90420440 */ lbu $v0, 0x440($v0) +/* 182558 80253C78 00822025 */ or $a0, $a0, $v0 +.L80253C7C: +/* 18255C 80253C7C 92020136 */ lbu $v0, 0x136($s0) +/* 182560 80253C80 30420007 */ andi $v0, $v0, 7 +/* 182564 80253C84 00441007 */ srav $v0, $a0, $v0 +/* 182568 80253C88 30420001 */ andi $v0, $v0, 1 +.L80253C8C: +/* 18256C 80253C8C 8FBF0014 */ lw $ra, 0x14($sp) +/* 182570 80253C90 8FB00010 */ lw $s0, 0x10($sp) +/* 182574 80253C94 03E00008 */ jr $ra +/* 182578 80253C98 27BD0018 */ addiu $sp, $sp, 0x18 + +is_actortype_hpbar_visible: +/* 18257C 80253C9C 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 182580 80253CA0 AFB10014 */ sw $s1, 0x14($sp) +/* 182584 80253CA4 0080882D */ daddu $s1, $a0, $zero +/* 182588 80253CA8 24040036 */ addiu $a0, $zero, 0x36 +/* 18258C 80253CAC AFBF0018 */ sw $ra, 0x18($sp) +/* 182590 80253CB0 0C03A752 */ jal is_ability_active +/* 182594 80253CB4 AFB00010 */ sw $s0, 0x10($sp) +/* 182598 80253CB8 14400010 */ bnez $v0, .L80253CFC +/* 18259C 80253CBC 24020001 */ addiu $v0, $zero, 1 +/* 1825A0 80253CC0 06210002 */ bgez $s1, .L80253CCC +/* 1825A4 80253CC4 0220802D */ daddu $s0, $s1, $zero +/* 1825A8 80253CC8 26300007 */ addiu $s0, $s1, 7 +.L80253CCC: +/* 1825AC 80253CCC 001080C3 */ sra $s0, $s0, 3 +/* 1825B0 80253CD0 0C05154E */ jal get_global_byte +/* 1825B4 80253CD4 2604016D */ addiu $a0, $s0, 0x16d +/* 1825B8 80253CD8 3C03800E */ lui $v1, 0x800e +/* 1825BC 80253CDC 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 1825C0 80253CE0 02031821 */ addu $v1, $s0, $v1 +/* 1825C4 80253CE4 90630440 */ lbu $v1, 0x440($v1) +/* 1825C8 80253CE8 001080C0 */ sll $s0, $s0, 3 +/* 1825CC 80253CEC 02308023 */ subu $s0, $s1, $s0 +/* 1825D0 80253CF0 00431025 */ or $v0, $v0, $v1 +/* 1825D4 80253CF4 02021007 */ srav $v0, $v0, $s0 +/* 1825D8 80253CF8 30420001 */ andi $v0, $v0, 1 +.L80253CFC: +/* 1825DC 80253CFC 8FBF0018 */ lw $ra, 0x18($sp) +/* 1825E0 80253D00 8FB10014 */ lw $s1, 0x14($sp) +/* 1825E4 80253D04 8FB00010 */ lw $s0, 0x10($sp) +/* 1825E8 80253D08 03E00008 */ jr $ra +/* 1825EC 80253D0C 27BD0020 */ addiu $sp, $sp, 0x20 + +save_tattle_flags: +/* 1825F0 80253D10 27BDFFC8 */ addiu $sp, $sp, -0x38 +/* 1825F4 80253D14 AFB40020 */ sw $s4, 0x20($sp) +/* 1825F8 80253D18 0080A02D */ daddu $s4, $a0, $zero +/* 1825FC 80253D1C AFB7002C */ sw $s7, 0x2c($sp) +/* 182600 80253D20 3C17800E */ lui $s7, 0x800e +/* 182604 80253D24 26F7C070 */ addiu $s7, $s7, -0x3f90 +/* 182608 80253D28 240600FF */ addiu $a2, $zero, 0xff +/* 18260C 80253D2C AFB60028 */ sw $s6, 0x28($sp) +/* 182610 80253D30 24160001 */ addiu $s6, $zero, 1 +/* 182614 80253D34 3C058028 */ lui $a1, 0x8028 +/* 182618 80253D38 24A54044 */ addiu $a1, $a1, 0x4044 +/* 18261C 80253D3C AFBF0030 */ sw $ra, 0x30($sp) +/* 182620 80253D40 AFB50024 */ sw $s5, 0x24($sp) +/* 182624 80253D44 AFB3001C */ sw $s3, 0x1c($sp) +/* 182628 80253D48 AFB20018 */ sw $s2, 0x18($sp) +/* 18262C 80253D4C AFB10014 */ sw $s1, 0x14($sp) +/* 182630 80253D50 AFB00010 */ sw $s0, 0x10($sp) +func_80253D54: +/* 182634 80253D54 8CA40000 */ lw $a0, ($a1) +/* 182638 80253D58 10800029 */ beqz $a0, .L80253E00 +/* 18263C 80253D5C 00000000 */ nop +/* 182640 80253D60 90820000 */ lbu $v0, ($a0) +/* 182644 80253D64 10460024 */ beq $v0, $a2, .L80253DF8 +/* 182648 80253D68 0080182D */ daddu $v1, $a0, $zero +.L80253D6C: +/* 18264C 80253D6C 90620000 */ lbu $v0, ($v1) +/* 182650 80253D70 5682001E */ bnel $s4, $v0, .L80253DEC +/* 182654 80253D74 24630001 */ addiu $v1, $v1, 1 +/* 182658 80253D78 90820000 */ lbu $v0, ($a0) +/* 18265C 80253D7C 10460033 */ beq $v0, $a2, .L80253E4C +/* 182660 80253D80 241500FF */ addiu $s5, $zero, 0xff +/* 182664 80253D84 0080982D */ daddu $s3, $a0, $zero +func_80253D88: +/* 182668 80253D88 92740000 */ lbu $s4, ($s3) +/* 18266C 80253D8C 06810002 */ bgez $s4, .L80253D98 +/* 182670 80253D90 0280802D */ daddu $s0, $s4, $zero +/* 182674 80253D94 26900007 */ addiu $s0, $s4, 7 +.L80253D98: +/* 182678 80253D98 001080C3 */ sra $s0, $s0, 3 +/* 18267C 80253D9C 2611016D */ addiu $s1, $s0, 0x16d +/* 182680 80253DA0 0C05154E */ jal get_global_byte +/* 182684 80253DA4 0220202D */ daddu $a0, $s1, $zero +/* 182688 80253DA8 001018C0 */ sll $v1, $s0, 3 +/* 18268C 80253DAC 02831823 */ subu $v1, $s4, $v1 +/* 182690 80253DB0 00761804 */ sllv $v1, $s6, $v1 +/* 182694 80253DB4 00439025 */ or $s2, $v0, $v1 +/* 182698 80253DB8 0220202D */ daddu $a0, $s1, $zero +/* 18269C 80253DBC 0C051548 */ jal set_global_byte +/* 1826A0 80253DC0 0240282D */ daddu $a1, $s2, $zero +/* 1826A4 80253DC4 02F08021 */ addu $s0, $s7, $s0 +/* 1826A8 80253DC8 92020440 */ lbu $v0, 0x440($s0) +/* 1826AC 80253DCC 26730001 */ addiu $s3, $s3, 1 +/* 1826B0 80253DD0 00521025 */ or $v0, $v0, $s2 +/* 1826B4 80253DD4 A2020440 */ sb $v0, 0x440($s0) +/* 1826B8 80253DD8 92620000 */ lbu $v0, ($s3) +/* 1826BC 80253DDC 1055001B */ beq $v0, $s5, .L80253E4C +/* 1826C0 80253DE0 00000000 */ nop +/* 1826C4 80253DE4 08094F62 */ j func_80253D88 +/* 1826C8 80253DE8 00000000 */ nop + +.L80253DEC: +/* 1826CC 80253DEC 90620000 */ lbu $v0, ($v1) +/* 1826D0 80253DF0 1446FFDE */ bne $v0, $a2, .L80253D6C +/* 1826D4 80253DF4 00000000 */ nop +.L80253DF8: +/* 1826D8 80253DF8 08094F55 */ j func_80253D54 +/* 1826DC 80253DFC 24A50004 */ addiu $a1, $a1, 4 + +.L80253E00: +/* 1826E0 80253E00 06810002 */ bgez $s4, .L80253E0C +/* 1826E4 80253E04 0280202D */ daddu $a0, $s4, $zero +/* 1826E8 80253E08 26840007 */ addiu $a0, $s4, 7 +.L80253E0C: +/* 1826EC 80253E0C 000488C3 */ sra $s1, $a0, 3 +/* 1826F0 80253E10 2630016D */ addiu $s0, $s1, 0x16d +/* 1826F4 80253E14 0C05154E */ jal get_global_byte +/* 1826F8 80253E18 0200202D */ daddu $a0, $s0, $zero +/* 1826FC 80253E1C 001120C0 */ sll $a0, $s1, 3 +/* 182700 80253E20 02842023 */ subu $a0, $s4, $a0 +/* 182704 80253E24 24030001 */ addiu $v1, $zero, 1 +/* 182708 80253E28 00831804 */ sllv $v1, $v1, $a0 +/* 18270C 80253E2C 00439025 */ or $s2, $v0, $v1 +/* 182710 80253E30 0200202D */ daddu $a0, $s0, $zero +/* 182714 80253E34 0C051548 */ jal set_global_byte +/* 182718 80253E38 0240282D */ daddu $a1, $s2, $zero +/* 18271C 80253E3C 02F11821 */ addu $v1, $s7, $s1 +/* 182720 80253E40 90620440 */ lbu $v0, 0x440($v1) +/* 182724 80253E44 00521025 */ or $v0, $v0, $s2 +/* 182728 80253E48 A0620440 */ sb $v0, 0x440($v1) +.L80253E4C: +/* 18272C 80253E4C 8FBF0030 */ lw $ra, 0x30($sp) +/* 182730 80253E50 8FB7002C */ lw $s7, 0x2c($sp) +/* 182734 80253E54 8FB60028 */ lw $s6, 0x28($sp) +/* 182738 80253E58 8FB50024 */ lw $s5, 0x24($sp) +/* 18273C 80253E5C 8FB40020 */ lw $s4, 0x20($sp) +/* 182740 80253E60 8FB3001C */ lw $s3, 0x1c($sp) +/* 182744 80253E64 8FB20018 */ lw $s2, 0x18($sp) +/* 182748 80253E68 8FB10014 */ lw $s1, 0x14($sp) +/* 18274C 80253E6C 8FB00010 */ lw $s0, 0x10($sp) +/* 182750 80253E70 03E00008 */ jr $ra +/* 182754 80253E74 27BD0038 */ addiu $sp, $sp, 0x38 + +load_tattle_flags: +/* 182758 80253E78 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* 18275C 80253E7C AFB20018 */ sw $s2, 0x18($sp) +/* 182760 80253E80 0080902D */ daddu $s2, $a0, $zero +/* 182764 80253E84 AFB50024 */ sw $s5, 0x24($sp) +/* 182768 80253E88 3C15800E */ lui $s5, 0x800e +/* 18276C 80253E8C 26B5C070 */ addiu $s5, $s5, -0x3f90 +/* 182770 80253E90 240600FF */ addiu $a2, $zero, 0xff +/* 182774 80253E94 AFB40020 */ sw $s4, 0x20($sp) +/* 182778 80253E98 24140001 */ addiu $s4, $zero, 1 +/* 18277C 80253E9C 3C058028 */ lui $a1, 0x8028 +/* 182780 80253EA0 24A54044 */ addiu $a1, $a1, 0x4044 +/* 182784 80253EA4 AFBF0028 */ sw $ra, 0x28($sp) +/* 182788 80253EA8 AFB3001C */ sw $s3, 0x1c($sp) +/* 18278C 80253EAC AFB10014 */ sw $s1, 0x14($sp) +/* 182790 80253EB0 AFB00010 */ sw $s0, 0x10($sp) +func_80253EB4: +/* 182794 80253EB4 8CA40000 */ lw $a0, ($a1) +/* 182798 80253EB8 10800025 */ beqz $a0, .L80253F50 +/* 18279C 80253EBC 00000000 */ nop +/* 1827A0 80253EC0 90820000 */ lbu $v0, ($a0) +/* 1827A4 80253EC4 10460020 */ beq $v0, $a2, .L80253F48 +/* 1827A8 80253EC8 0080182D */ daddu $v1, $a0, $zero +.L80253ECC: +/* 1827AC 80253ECC 90620000 */ lbu $v0, ($v1) +/* 1827B0 80253ED0 5642001A */ bnel $s2, $v0, .L80253F3C +/* 1827B4 80253ED4 24630001 */ addiu $v1, $v1, 1 +/* 1827B8 80253ED8 90820000 */ lbu $v0, ($a0) +/* 1827BC 80253EDC 1046002B */ beq $v0, $a2, .L80253F8C +/* 1827C0 80253EE0 241300FF */ addiu $s3, $zero, 0xff +/* 1827C4 80253EE4 0080882D */ daddu $s1, $a0, $zero +func_80253EE8: +/* 1827C8 80253EE8 92320000 */ lbu $s2, ($s1) +/* 1827CC 80253EEC 06410002 */ bgez $s2, .L80253EF8 +/* 1827D0 80253EF0 0240802D */ daddu $s0, $s2, $zero +/* 1827D4 80253EF4 26500007 */ addiu $s0, $s2, 7 +.L80253EF8: +/* 1827D8 80253EF8 001080C3 */ sra $s0, $s0, 3 +/* 1827DC 80253EFC 0C05154E */ jal get_global_byte +/* 1827E0 80253F00 2604016D */ addiu $a0, $s0, 0x16d +/* 1827E4 80253F04 001018C0 */ sll $v1, $s0, 3 +/* 1827E8 80253F08 02431823 */ subu $v1, $s2, $v1 +/* 1827EC 80253F0C 00741804 */ sllv $v1, $s4, $v1 +/* 1827F0 80253F10 00432025 */ or $a0, $v0, $v1 +/* 1827F4 80253F14 02B08021 */ addu $s0, $s5, $s0 +/* 1827F8 80253F18 92020440 */ lbu $v0, 0x440($s0) +/* 1827FC 80253F1C 26310001 */ addiu $s1, $s1, 1 +/* 182800 80253F20 00441025 */ or $v0, $v0, $a0 +/* 182804 80253F24 A2020440 */ sb $v0, 0x440($s0) +/* 182808 80253F28 92220000 */ lbu $v0, ($s1) +/* 18280C 80253F2C 10530017 */ beq $v0, $s3, .L80253F8C +/* 182810 80253F30 00000000 */ nop +/* 182814 80253F34 08094FBA */ j func_80253EE8 +/* 182818 80253F38 00000000 */ nop + +.L80253F3C: +/* 18281C 80253F3C 90620000 */ lbu $v0, ($v1) +/* 182820 80253F40 1446FFE2 */ bne $v0, $a2, .L80253ECC +/* 182824 80253F44 00000000 */ nop +.L80253F48: +/* 182828 80253F48 08094FAD */ j func_80253EB4 +/* 18282C 80253F4C 24A50004 */ addiu $a1, $a1, 4 + +.L80253F50: +/* 182830 80253F50 06410002 */ bgez $s2, .L80253F5C +/* 182834 80253F54 0240202D */ daddu $a0, $s2, $zero +/* 182838 80253F58 26440007 */ addiu $a0, $s2, 7 +.L80253F5C: +/* 18283C 80253F5C 000480C3 */ sra $s0, $a0, 3 +/* 182840 80253F60 0C05154E */ jal get_global_byte +/* 182844 80253F64 2604016D */ addiu $a0, $s0, 0x16d +/* 182848 80253F68 001020C0 */ sll $a0, $s0, 3 +/* 18284C 80253F6C 02442023 */ subu $a0, $s2, $a0 +/* 182850 80253F70 24030001 */ addiu $v1, $zero, 1 +/* 182854 80253F74 00831804 */ sllv $v1, $v1, $a0 +/* 182858 80253F78 00432025 */ or $a0, $v0, $v1 +/* 18285C 80253F7C 02B01821 */ addu $v1, $s5, $s0 +/* 182860 80253F80 90620440 */ lbu $v0, 0x440($v1) +/* 182864 80253F84 00441025 */ or $v0, $v0, $a0 +/* 182868 80253F88 A0620440 */ sb $v0, 0x440($v1) +.L80253F8C: +/* 18286C 80253F8C 8FBF0028 */ lw $ra, 0x28($sp) +/* 182870 80253F90 8FB50024 */ lw $s5, 0x24($sp) +/* 182874 80253F94 8FB40020 */ lw $s4, 0x20($sp) +/* 182878 80253F98 8FB3001C */ lw $s3, 0x1c($sp) +/* 18287C 80253F9C 8FB20018 */ lw $s2, 0x18($sp) +/* 182880 80253FA0 8FB10014 */ lw $s1, 0x14($sp) +/* 182884 80253FA4 8FB00010 */ lw $s0, 0x10($sp) +/* 182888 80253FA8 03E00008 */ jr $ra +/* 18288C 80253FAC 27BD0030 */ addiu $sp, $sp, 0x30 + +/* 182890 80253FB0 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 182894 80253FB4 24020003 */ addiu $v0, $zero, 3 +/* 182898 80253FB8 AFBF0010 */ sw $ra, 0x10($sp) +/* 18289C 80253FBC 3C01800B */ lui $at, 0x800b +/* 1828A0 80253FC0 A0220F19 */ sb $v0, 0xf19($at) +/* 1828A4 80253FC4 0C090464 */ jal func_80241190 +/* 1828A8 80253FC8 24040020 */ addiu $a0, $zero, 0x20 +/* 1828AC 80253FCC 8FBF0010 */ lw $ra, 0x10($sp) +/* 1828B0 80253FD0 24020002 */ addiu $v0, $zero, 2 +/* 1828B4 80253FD4 03E00008 */ jr $ra +/* 1828B8 80253FD8 27BD0018 */ addiu $sp, $sp, 0x18 + +MultiplyByActorScale: +/* 1828BC 80253FDC 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 1828C0 80253FE0 AFB10014 */ sw $s1, 0x14($sp) +/* 1828C4 80253FE4 0080882D */ daddu $s1, $a0, $zero +/* 1828C8 80253FE8 AFBF001C */ sw $ra, 0x1c($sp) +/* 1828CC 80253FEC AFB20018 */ sw $s2, 0x18($sp) +/* 1828D0 80253FF0 AFB00010 */ sw $s0, 0x10($sp) +/* 1828D4 80253FF4 8E240148 */ lw $a0, 0x148($s1) +/* 1828D8 80253FF8 0C09A75B */ jal get_actor +/* 1828DC 80253FFC 8E32000C */ lw $s2, 0xc($s1) +/* 1828E0 80254000 0220202D */ daddu $a0, $s1, $zero +/* 1828E4 80254004 8E450000 */ lw $a1, ($s2) +/* 1828E8 80254008 0C0B210B */ jal get_float_variable +/* 1828EC 8025400C 0040802D */ daddu $s0, $v0, $zero +/* 1828F0 80254010 C6020188 */ lwc1 $f2, 0x188($s0) +/* 1828F4 80254014 46020002 */ mul.s $f0, $f0, $f2 +/* 1828F8 80254018 00000000 */ nop +/* 1828FC 8025401C 8E450000 */ lw $a1, ($s2) +/* 182900 80254020 44060000 */ mfc1 $a2, $f0 +/* 182904 80254024 0C0B2190 */ jal set_float_variable +/* 182908 80254028 0220202D */ daddu $a0, $s1, $zero +/* 18290C 8025402C 8FBF001C */ lw $ra, 0x1c($sp) +/* 182910 80254030 8FB20018 */ lw $s2, 0x18($sp) +/* 182914 80254034 8FB10014 */ lw $s1, 0x14($sp) +/* 182918 80254038 8FB00010 */ lw $s0, 0x10($sp) +/* 18291C 8025403C 24020002 */ addiu $v0, $zero, 2 +/* 182920 80254040 03E00008 */ jr $ra +/* 182924 80254044 27BD0020 */ addiu $sp, $sp, 0x20 + +MultiplyVec2ByActorScale: +/* 182928 80254048 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 18292C 8025404C AFB00010 */ sw $s0, 0x10($sp) +/* 182930 80254050 0080802D */ daddu $s0, $a0, $zero +/* 182934 80254054 AFBF001C */ sw $ra, 0x1c($sp) +/* 182938 80254058 AFB20018 */ sw $s2, 0x18($sp) +/* 18293C 8025405C AFB10014 */ sw $s1, 0x14($sp) +/* 182940 80254060 8E040148 */ lw $a0, 0x148($s0) +/* 182944 80254064 0C09A75B */ jal get_actor +/* 182948 80254068 8E11000C */ lw $s1, 0xc($s0) +/* 18294C 8025406C 0200202D */ daddu $a0, $s0, $zero +/* 182950 80254070 8E250000 */ lw $a1, ($s1) +/* 182954 80254074 0C0B210B */ jal get_float_variable +/* 182958 80254078 0040902D */ daddu $s2, $v0, $zero +/* 18295C 8025407C C6420188 */ lwc1 $f2, 0x188($s2) +/* 182960 80254080 46020002 */ mul.s $f0, $f0, $f2 +/* 182964 80254084 00000000 */ nop +/* 182968 80254088 8E250000 */ lw $a1, ($s1) +/* 18296C 8025408C 44060000 */ mfc1 $a2, $f0 +/* 182970 80254090 0C0B2190 */ jal set_float_variable +/* 182974 80254094 0200202D */ daddu $a0, $s0, $zero +/* 182978 80254098 8E250004 */ lw $a1, 4($s1) +/* 18297C 8025409C 0C0B210B */ jal get_float_variable +/* 182980 802540A0 0200202D */ daddu $a0, $s0, $zero +/* 182984 802540A4 C6420188 */ lwc1 $f2, 0x188($s2) +/* 182988 802540A8 46020002 */ mul.s $f0, $f0, $f2 +/* 18298C 802540AC 00000000 */ nop +/* 182990 802540B0 8E250004 */ lw $a1, 4($s1) +/* 182994 802540B4 44060000 */ mfc1 $a2, $f0 +/* 182998 802540B8 0C0B2190 */ jal set_float_variable +/* 18299C 802540BC 0200202D */ daddu $a0, $s0, $zero +/* 1829A0 802540C0 8FBF001C */ lw $ra, 0x1c($sp) +/* 1829A4 802540C4 8FB20018 */ lw $s2, 0x18($sp) +/* 1829A8 802540C8 8FB10014 */ lw $s1, 0x14($sp) +/* 1829AC 802540CC 8FB00010 */ lw $s0, 0x10($sp) +/* 1829B0 802540D0 24020002 */ addiu $v0, $zero, 2 +/* 1829B4 802540D4 03E00008 */ jr $ra +/* 1829B8 802540D8 27BD0020 */ addiu $sp, $sp, 0x20 + +MultiplyVec3ByActorScale: +/* 1829BC 802540DC 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 1829C0 802540E0 AFB00010 */ sw $s0, 0x10($sp) +/* 1829C4 802540E4 0080802D */ daddu $s0, $a0, $zero +/* 1829C8 802540E8 AFBF001C */ sw $ra, 0x1c($sp) +/* 1829CC 802540EC AFB20018 */ sw $s2, 0x18($sp) +/* 1829D0 802540F0 AFB10014 */ sw $s1, 0x14($sp) +/* 1829D4 802540F4 8E040148 */ lw $a0, 0x148($s0) +/* 1829D8 802540F8 0C09A75B */ jal get_actor +/* 1829DC 802540FC 8E11000C */ lw $s1, 0xc($s0) +/* 1829E0 80254100 0200202D */ daddu $a0, $s0, $zero +/* 1829E4 80254104 8E250000 */ lw $a1, ($s1) +/* 1829E8 80254108 0C0B210B */ jal get_float_variable +/* 1829EC 8025410C 0040902D */ daddu $s2, $v0, $zero +/* 1829F0 80254110 C6420188 */ lwc1 $f2, 0x188($s2) +/* 1829F4 80254114 46020002 */ mul.s $f0, $f0, $f2 +/* 1829F8 80254118 00000000 */ nop +/* 1829FC 8025411C 8E250000 */ lw $a1, ($s1) +/* 182A00 80254120 44060000 */ mfc1 $a2, $f0 +/* 182A04 80254124 0C0B2190 */ jal set_float_variable +/* 182A08 80254128 0200202D */ daddu $a0, $s0, $zero +/* 182A0C 8025412C 8E250004 */ lw $a1, 4($s1) +/* 182A10 80254130 0C0B210B */ jal get_float_variable +/* 182A14 80254134 0200202D */ daddu $a0, $s0, $zero +/* 182A18 80254138 C6420188 */ lwc1 $f2, 0x188($s2) +/* 182A1C 8025413C 46020002 */ mul.s $f0, $f0, $f2 +/* 182A20 80254140 00000000 */ nop +/* 182A24 80254144 8E250004 */ lw $a1, 4($s1) +/* 182A28 80254148 44060000 */ mfc1 $a2, $f0 +/* 182A2C 8025414C 0C0B2190 */ jal set_float_variable +/* 182A30 80254150 0200202D */ daddu $a0, $s0, $zero +/* 182A34 80254154 8E250008 */ lw $a1, 8($s1) +/* 182A38 80254158 0C0B210B */ jal get_float_variable +/* 182A3C 8025415C 0200202D */ daddu $a0, $s0, $zero +/* 182A40 80254160 C6420188 */ lwc1 $f2, 0x188($s2) +/* 182A44 80254164 46020002 */ mul.s $f0, $f0, $f2 +/* 182A48 80254168 00000000 */ nop +/* 182A4C 8025416C 8E250008 */ lw $a1, 8($s1) +/* 182A50 80254170 44060000 */ mfc1 $a2, $f0 +/* 182A54 80254174 0C0B2190 */ jal set_float_variable +/* 182A58 80254178 0200202D */ daddu $a0, $s0, $zero +/* 182A5C 8025417C 8FBF001C */ lw $ra, 0x1c($sp) +/* 182A60 80254180 8FB20018 */ lw $s2, 0x18($sp) +/* 182A64 80254184 8FB10014 */ lw $s1, 0x14($sp) +/* 182A68 80254188 8FB00010 */ lw $s0, 0x10($sp) +/* 182A6C 8025418C 24020002 */ addiu $v0, $zero, 2 +/* 182A70 80254190 03E00008 */ jr $ra +/* 182A74 80254194 27BD0020 */ addiu $sp, $sp, 0x20 + +ApplyShrinkFromOwner: +/* 182A78 80254198 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 182A7C 8025419C AFB10014 */ sw $s1, 0x14($sp) +/* 182A80 802541A0 0080882D */ daddu $s1, $a0, $zero +/* 182A84 802541A4 AFBF001C */ sw $ra, 0x1c($sp) +/* 182A88 802541A8 AFB20018 */ sw $s2, 0x18($sp) +/* 182A8C 802541AC AFB00010 */ sw $s0, 0x10($sp) +/* 182A90 802541B0 8E240148 */ lw $a0, 0x148($s1) +/* 182A94 802541B4 0C09A75B */ jal get_actor +/* 182A98 802541B8 8E32000C */ lw $s2, 0xc($s1) +/* 182A9C 802541BC 0220202D */ daddu $a0, $s1, $zero +/* 182AA0 802541C0 8E450000 */ lw $a1, ($s2) +/* 182AA4 802541C4 0C0B1EAF */ jal get_variable +/* 182AA8 802541C8 0040802D */ daddu $s0, $v0, $zero +/* 182AAC 802541CC 0040302D */ daddu $a2, $v0, $zero +/* 182AB0 802541D0 82030210 */ lb $v1, 0x210($s0) +/* 182AB4 802541D4 2402000A */ addiu $v0, $zero, 0xa +/* 182AB8 802541D8 14620005 */ bne $v1, $v0, .L802541F0 +/* 182ABC 802541DC 00000000 */ nop +/* 182AC0 802541E0 18C00003 */ blez $a2, .L802541F0 +/* 182AC4 802541E4 000617C2 */ srl $v0, $a2, 0x1f +/* 182AC8 802541E8 00C21021 */ addu $v0, $a2, $v0 +/* 182ACC 802541EC 00023043 */ sra $a2, $v0, 1 +.L802541F0: +/* 182AD0 802541F0 8E450000 */ lw $a1, ($s2) +/* 182AD4 802541F4 0C0B2026 */ jal set_variable +/* 182AD8 802541F8 0220202D */ daddu $a0, $s1, $zero +/* 182ADC 802541FC 8FBF001C */ lw $ra, 0x1c($sp) +/* 182AE0 80254200 8FB20018 */ lw $s2, 0x18($sp) +/* 182AE4 80254204 8FB10014 */ lw $s1, 0x14($sp) +/* 182AE8 80254208 8FB00010 */ lw $s0, 0x10($sp) +/* 182AEC 8025420C 24020002 */ addiu $v0, $zero, 2 +/* 182AF0 80254210 03E00008 */ jr $ra +/* 182AF4 80254214 27BD0020 */ addiu $sp, $sp, 0x20 + +StartRumble: +/* 182AF8 80254218 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 182AFC 8025421C AFBF0010 */ sw $ra, 0x10($sp) +/* 182B00 80254220 8C82000C */ lw $v0, 0xc($a0) +/* 182B04 80254224 0C0B1EAF */ jal get_variable +/* 182B08 80254228 8C450000 */ lw $a1, ($v0) +/* 182B0C 8025422C 0C099F7D */ jal start_rumble_type +/* 182B10 80254230 0040202D */ daddu $a0, $v0, $zero +/* 182B14 80254234 8FBF0010 */ lw $ra, 0x10($sp) +/* 182B18 80254238 24020002 */ addiu $v0, $zero, 2 +/* 182B1C 8025423C 03E00008 */ jr $ra +/* 182B20 80254240 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 182B24 80254244 00000000 */ nop +/* 182B28 80254248 00000000 */ nop +/* 182B2C 8025424C 00000000 */ nop +func_80254250: +/* 182B30 80254250 3C03800E */ lui $v1, 0x800e +/* 182B34 80254254 8463C1F0 */ lh $v1, -0x3e10($v1) +/* 182B38 80254258 28620003 */ slti $v0, $v1, 3 +/* 182B3C 8025425C 14400008 */ bnez $v0, .L80254280 +/* 182B40 80254260 0000202D */ daddu $a0, $zero, $zero +/* 182B44 80254264 28620005 */ slti $v0, $v1, 5 +/* 182B48 80254268 14400005 */ bnez $v0, .L80254280 +/* 182B4C 8025426C 24040001 */ addiu $a0, $zero, 1 +/* 182B50 80254270 28620009 */ slti $v0, $v1, 9 +/* 182B54 80254274 10400002 */ beqz $v0, .L80254280 +/* 182B58 80254278 24040003 */ addiu $a0, $zero, 3 +/* 182B5C 8025427C 24040002 */ addiu $a0, $zero, 2 +.L80254280: +/* 182B60 80254280 03E00008 */ jr $ra +/* 182B64 80254284 0080102D */ daddu $v0, $a0, $zero + +mtx_mirror_y: +/* 182B68 80254288 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 182B6C 8025428C AFB00010 */ sw $s0, 0x10($sp) +/* 182B70 80254290 AFBF0014 */ sw $ra, 0x14($sp) +/* 182B74 80254294 0C019D28 */ jal guMtxIdentF +/* 182B78 80254298 0080802D */ daddu $s0, $a0, $zero +/* 182B7C 8025429C 3C013F80 */ lui $at, 0x3f80 +/* 182B80 802542A0 44810000 */ mtc1 $at, $f0 +/* 182B84 802542A4 3C01BF80 */ lui $at, 0xbf80 +/* 182B88 802542A8 44811000 */ mtc1 $at, $f2 +/* 182B8C 802542AC E6000000 */ swc1 $f0, ($s0) +/* 182B90 802542B0 E6020014 */ swc1 $f2, 0x14($s0) +/* 182B94 802542B4 E6000028 */ swc1 $f0, 0x28($s0) +/* 182B98 802542B8 E600003C */ swc1 $f0, 0x3c($s0) +/* 182B9C 802542BC 8FBF0014 */ lw $ra, 0x14($sp) +/* 182BA0 802542C0 8FB00010 */ lw $s0, 0x10($sp) +/* 182BA4 802542C4 03E00008 */ jr $ra +/* 182BA8 802542C8 27BD0018 */ addiu $sp, $sp, 0x18 + +enable_actor_blur: +/* 182BAC 802542CC 27BDFFB8 */ addiu $sp, $sp, -0x48 +/* 182BB0 802542D0 AFB3001C */ sw $s3, 0x1c($sp) +/* 182BB4 802542D4 0080982D */ daddu $s3, $a0, $zero +/* 182BB8 802542D8 AFBF0030 */ sw $ra, 0x30($sp) +/* 182BBC 802542DC AFB7002C */ sw $s7, 0x2c($sp) +/* 182BC0 802542E0 AFB60028 */ sw $s6, 0x28($sp) +/* 182BC4 802542E4 AFB50024 */ sw $s5, 0x24($sp) +/* 182BC8 802542E8 AFB40020 */ sw $s4, 0x20($sp) +/* 182BCC 802542EC AFB20018 */ sw $s2, 0x18($sp) +/* 182BD0 802542F0 AFB10014 */ sw $s1, 0x14($sp) +/* 182BD4 802542F4 AFB00010 */ sw $s0, 0x10($sp) +/* 182BD8 802542F8 F7B60040 */ sdc1 $f22, 0x40($sp) +/* 182BDC 802542FC F7B40038 */ sdc1 $f20, 0x38($sp) +/* 182BE0 80254300 8E7201F4 */ lw $s2, 0x1f4($s3) +/* 182BE4 80254304 8E4300C0 */ lw $v1, 0xc0($s2) +/* 182BE8 80254308 906207DB */ lbu $v0, 0x7db($v1) +/* 182BEC 8025430C 0000A82D */ daddu $s5, $zero, $zero +/* 182BF0 80254310 A06008AC */ sb $zero, 0x8ac($v1) +/* 182BF4 80254314 24420001 */ addiu $v0, $v0, 1 +/* 182BF8 80254318 A06207DB */ sb $v0, 0x7db($v1) +/* 182BFC 8025431C 3C031000 */ lui $v1, 0x1000 +/* 182C00 80254320 8E7201F4 */ lw $s2, 0x1f4($s3) +/* 182C04 80254324 8E620000 */ lw $v0, ($s3) +/* 182C08 80254328 827701F3 */ lb $s7, 0x1f3($s3) +/* 182C0C 8025432C 00431025 */ or $v0, $v0, $v1 +/* 182C10 80254330 1AE0007D */ blez $s7, .L80254528 +/* 182C14 80254334 AE620000 */ sw $v0, ($s3) +/* 182C18 80254338 3C168000 */ lui $s6, 0x8000 +/* 182C1C 8025433C 3C013F00 */ lui $at, 0x3f00 +/* 182C20 80254340 4481B000 */ mtc1 $at, $f22 +/* 182C24 80254344 3C014F00 */ lui $at, 0x4f00 +/* 182C28 80254348 4481A000 */ mtc1 $at, $f20 +.L8025434C: +/* 182C2C 8025434C 8E420094 */ lw $v0, 0x94($s2) +/* 182C30 80254350 10400070 */ beqz $v0, .L80254514 +/* 182C34 80254354 00000000 */ nop +/* 182C38 80254358 8E420000 */ lw $v0, ($s2) +/* 182C3C 8025435C 30420002 */ andi $v0, $v0, 2 +/* 182C40 80254360 1440006C */ bnez $v0, .L80254514 +/* 182C44 80254364 00000000 */ nop +/* 182C48 80254368 8E4300C0 */ lw $v1, 0xc0($s2) +/* 182C4C 8025436C 0000A02D */ daddu $s4, $zero, $zero +/* 182C50 80254370 0060802D */ daddu $s0, $v1, $zero +/* 182C54 80254374 0060882D */ daddu $s1, $v1, $zero +/* 182C58 80254378 A20007D8 */ sb $zero, 0x7d8($s0) +/* 182C5C 8025437C A20007D9 */ sb $zero, 0x7d9($s0) +.L80254380: +/* 182C60 80254380 C6400058 */ lwc1 $f0, 0x58($s2) +/* 182C64 80254384 4600010D */ trunc.w.s $f4, $f0 +/* 182C68 80254388 44022000 */ mfc1 $v0, $f4 +/* 182C6C 8025438C 00000000 */ nop +/* 182C70 80254390 A60207FC */ sh $v0, 0x7fc($s0) +/* 182C74 80254394 C640005C */ lwc1 $f0, 0x5c($s2) +/* 182C78 80254398 4600010D */ trunc.w.s $f4, $f0 +/* 182C7C 8025439C 44022000 */ mfc1 $v0, $f4 +/* 182C80 802543A0 00000000 */ nop +/* 182C84 802543A4 A602081C */ sh $v0, 0x81c($s0) +/* 182C88 802543A8 C6400060 */ lwc1 $f0, 0x60($s2) +/* 182C8C 802543AC 4600010D */ trunc.w.s $f4, $f0 +/* 182C90 802543B0 44022000 */ mfc1 $v0, $f4 +/* 182C94 802543B4 00000000 */ nop +/* 182C98 802543B8 A602083C */ sh $v0, 0x83c($s0) +/* 182C9C 802543BC C660018C */ lwc1 $f0, 0x18c($s3) +/* 182CA0 802543C0 4600010D */ trunc.w.s $f4, $f0 +/* 182CA4 802543C4 44022000 */ mfc1 $v0, $f4 +/* 182CA8 802543C8 00000000 */ nop +/* 182CAC 802543CC A60207DC */ sh $v0, 0x7dc($s0) +/* 182CB0 802543D0 86620168 */ lh $v0, 0x168($s3) +/* 182CB4 802543D4 C6620188 */ lwc1 $f2, 0x188($s3) +/* 182CB8 802543D8 44820000 */ mtc1 $v0, $f0 +/* 182CBC 802543DC 00000000 */ nop +/* 182CC0 802543E0 46800020 */ cvt.s.w $f0, $f0 +/* 182CC4 802543E4 46020002 */ mul.s $f0, $f0, $f2 +/* 182CC8 802543E8 00000000 */ nop +/* 182CCC 802543EC 4600010D */ trunc.w.s $f4, $f0 +/* 182CD0 802543F0 44022000 */ mfc1 $v0, $f4 +/* 182CD4 802543F4 00000000 */ nop +/* 182CD8 802543F8 A222085C */ sb $v0, 0x85c($s1) +/* 182CDC 802543FC 8662016A */ lh $v0, 0x16a($s3) +/* 182CE0 80254400 C6620188 */ lwc1 $f2, 0x188($s3) +/* 182CE4 80254404 44820000 */ mtc1 $v0, $f0 +/* 182CE8 80254408 00000000 */ nop +/* 182CEC 8025440C 46800020 */ cvt.s.w $f0, $f0 +/* 182CF0 80254410 46020002 */ mul.s $f0, $f0, $f2 +/* 182CF4 80254414 00000000 */ nop +/* 182CF8 80254418 4600010D */ trunc.w.s $f4, $f0 +/* 182CFC 8025441C 44022000 */ mfc1 $v0, $f4 +/* 182D00 80254420 00000000 */ nop +/* 182D04 80254424 A222086C */ sb $v0, 0x86c($s1) +/* 182D08 80254428 0C00A6C9 */ jal clamp_angle +/* 182D0C 8025442C C66C015C */ lwc1 $f12, 0x15c($s3) +/* 182D10 80254430 46160002 */ mul.s $f0, $f0, $f22 +/* 182D14 80254434 00000000 */ nop +/* 182D18 80254438 4600A03E */ c.le.s $f20, $f0 +/* 182D1C 8025443C 00000000 */ nop +/* 182D20 80254440 45010005 */ bc1t .L80254458 +/* 182D24 80254444 2623087C */ addiu $v1, $s1, 0x87c +/* 182D28 80254448 4600010D */ trunc.w.s $f4, $f0 +/* 182D2C 8025444C 44022000 */ mfc1 $v0, $f4 +/* 182D30 80254450 0809511C */ j func_80254470 +/* 182D34 80254454 A0620000 */ sb $v0, ($v1) + +.L80254458: +/* 182D38 80254458 46140001 */ sub.s $f0, $f0, $f20 +/* 182D3C 8025445C 4600010D */ trunc.w.s $f4, $f0 +/* 182D40 80254460 44022000 */ mfc1 $v0, $f4 +/* 182D44 80254464 00000000 */ nop +/* 182D48 80254468 00561025 */ or $v0, $v0, $s6 +/* 182D4C 8025446C A0620000 */ sb $v0, ($v1) +func_80254470: +/* 182D50 80254470 0C00A6C9 */ jal clamp_angle +/* 182D54 80254474 C66C0160 */ lwc1 $f12, 0x160($s3) +/* 182D58 80254478 46160002 */ mul.s $f0, $f0, $f22 +/* 182D5C 8025447C 00000000 */ nop +/* 182D60 80254480 4600A03E */ c.le.s $f20, $f0 +/* 182D64 80254484 00000000 */ nop +/* 182D68 80254488 45010005 */ bc1t .L802544A0 +/* 182D6C 8025448C 2623088C */ addiu $v1, $s1, 0x88c +/* 182D70 80254490 4600010D */ trunc.w.s $f4, $f0 +/* 182D74 80254494 44022000 */ mfc1 $v0, $f4 +/* 182D78 80254498 0809512E */ j func_802544B8 +/* 182D7C 8025449C A0620000 */ sb $v0, ($v1) + +.L802544A0: +/* 182D80 802544A0 46140001 */ sub.s $f0, $f0, $f20 +/* 182D84 802544A4 4600010D */ trunc.w.s $f4, $f0 +/* 182D88 802544A8 44022000 */ mfc1 $v0, $f4 +/* 182D8C 802544AC 00000000 */ nop +/* 182D90 802544B0 00561025 */ or $v0, $v0, $s6 +/* 182D94 802544B4 A0620000 */ sb $v0, ($v1) +func_802544B8: +/* 182D98 802544B8 0C00A6C9 */ jal clamp_angle +/* 182D9C 802544BC C66C0164 */ lwc1 $f12, 0x164($s3) +/* 182DA0 802544C0 46160002 */ mul.s $f0, $f0, $f22 +/* 182DA4 802544C4 00000000 */ nop +/* 182DA8 802544C8 4600A03E */ c.le.s $f20, $f0 +/* 182DAC 802544CC 00000000 */ nop +/* 182DB0 802544D0 45010005 */ bc1t .L802544E8 +/* 182DB4 802544D4 2623089C */ addiu $v1, $s1, 0x89c +/* 182DB8 802544D8 4600010D */ trunc.w.s $f4, $f0 +/* 182DBC 802544DC 44022000 */ mfc1 $v0, $f4 +/* 182DC0 802544E0 08095140 */ j func_80254500 +/* 182DC4 802544E4 A0620000 */ sb $v0, ($v1) + +.L802544E8: +/* 182DC8 802544E8 46140001 */ sub.s $f0, $f0, $f20 +/* 182DCC 802544EC 4600010D */ trunc.w.s $f4, $f0 +/* 182DD0 802544F0 44022000 */ mfc1 $v0, $f4 +/* 182DD4 802544F4 00000000 */ nop +/* 182DD8 802544F8 00561025 */ or $v0, $v0, $s6 +/* 182DDC 802544FC A0620000 */ sb $v0, ($v1) +func_80254500: +/* 182DE0 80254500 26310001 */ addiu $s1, $s1, 1 +/* 182DE4 80254504 26940001 */ addiu $s4, $s4, 1 +/* 182DE8 80254508 2A820010 */ slti $v0, $s4, 0x10 +/* 182DEC 8025450C 1440FF9C */ bnez $v0, .L80254380 +/* 182DF0 80254510 26100002 */ addiu $s0, $s0, 2 +.L80254514: +/* 182DF4 80254514 8E52000C */ lw $s2, 0xc($s2) +/* 182DF8 80254518 26B50001 */ addiu $s5, $s5, 1 +/* 182DFC 8025451C 02B7102A */ slt $v0, $s5, $s7 +/* 182E00 80254520 1440FF8A */ bnez $v0, .L8025434C +/* 182E04 80254524 00000000 */ nop +.L80254528: +/* 182E08 80254528 8FBF0030 */ lw $ra, 0x30($sp) +/* 182E0C 8025452C 8FB7002C */ lw $s7, 0x2c($sp) +/* 182E10 80254530 8FB60028 */ lw $s6, 0x28($sp) +/* 182E14 80254534 8FB50024 */ lw $s5, 0x24($sp) +/* 182E18 80254538 8FB40020 */ lw $s4, 0x20($sp) +/* 182E1C 8025453C 8FB3001C */ lw $s3, 0x1c($sp) +/* 182E20 80254540 8FB20018 */ lw $s2, 0x18($sp) +/* 182E24 80254544 8FB10014 */ lw $s1, 0x14($sp) +/* 182E28 80254548 8FB00010 */ lw $s0, 0x10($sp) +/* 182E2C 8025454C D7B60040 */ ldc1 $f22, 0x40($sp) +/* 182E30 80254550 D7B40038 */ ldc1 $f20, 0x38($sp) +/* 182E34 80254554 03E00008 */ jr $ra +/* 182E38 80254558 27BD0048 */ addiu $sp, $sp, 0x48 + +disable_actor_blur: +/* 182E3C 8025455C 8C8301F4 */ lw $v1, 0x1f4($a0) +/* 182E40 80254560 8C620094 */ lw $v0, 0x94($v1) +/* 182E44 80254564 1040000F */ beqz $v0, .L802545A4 +/* 182E48 80254568 00000000 */ nop +/* 182E4C 8025456C 8C620000 */ lw $v0, ($v1) +/* 182E50 80254570 30420002 */ andi $v0, $v0, 2 +/* 182E54 80254574 1440000B */ bnez $v0, .L802545A4 +/* 182E58 80254578 00000000 */ nop +/* 182E5C 8025457C 8C6400C0 */ lw $a0, 0xc0($v1) +/* 182E60 80254580 808207DB */ lb $v0, 0x7db($a0) +/* 182E64 80254584 908307DB */ lbu $v1, 0x7db($a0) +/* 182E68 80254588 10400006 */ beqz $v0, .L802545A4 +/* 182E6C 8025458C 2462FFFF */ addiu $v0, $v1, -1 +/* 182E70 80254590 A08207DB */ sb $v0, 0x7db($a0) +/* 182E74 80254594 00021600 */ sll $v0, $v0, 0x18 +/* 182E78 80254598 14400002 */ bnez $v0, .L802545A4 +/* 182E7C 8025459C 24020014 */ addiu $v0, $zero, 0x14 +/* 182E80 802545A0 A08208AC */ sb $v0, 0x8ac($a0) +.L802545A4: +/* 182E84 802545A4 03E00008 */ jr $ra +/* 182E88 802545A8 00000000 */ nop + +func_802545AC: +/* 182E8C 802545AC 8C8301F4 */ lw $v1, 0x1f4($a0) +/* 182E90 802545B0 8C620094 */ lw $v0, 0x94($v1) +/* 182E94 802545B4 10400014 */ beqz $v0, .L80254608 +/* 182E98 802545B8 00000000 */ nop +/* 182E9C 802545BC 8C620000 */ lw $v0, ($v1) +/* 182EA0 802545C0 30420002 */ andi $v0, $v0, 2 +/* 182EA4 802545C4 14400010 */ bnez $v0, .L80254608 +/* 182EA8 802545C8 00000000 */ nop +/* 182EAC 802545CC 8C6500C0 */ lw $a1, 0xc0($v1) +/* 182EB0 802545D0 80A207DB */ lb $v0, 0x7db($a1) +/* 182EB4 802545D4 90A307DB */ lbu $v1, 0x7db($a1) +/* 182EB8 802545D8 1040000B */ beqz $v0, .L80254608 +/* 182EBC 802545DC 2462FFFF */ addiu $v0, $v1, -1 +/* 182EC0 802545E0 A0A207DB */ sb $v0, 0x7db($a1) +/* 182EC4 802545E4 00021600 */ sll $v0, $v0, 0x18 +/* 182EC8 802545E8 14400007 */ bnez $v0, .L80254608 +/* 182ECC 802545EC 3C02EFFF */ lui $v0, 0xefff +/* 182ED0 802545F0 8C830000 */ lw $v1, ($a0) +/* 182ED4 802545F4 3442FFFF */ ori $v0, $v0, 0xffff +/* 182ED8 802545F8 00621824 */ and $v1, $v1, $v0 +/* 182EDC 802545FC 24020001 */ addiu $v0, $zero, 1 +/* 182EE0 80254600 AC830000 */ sw $v1, ($a0) +/* 182EE4 80254604 A0A208AC */ sb $v0, 0x8ac($a1) +.L80254608: +/* 182EE8 80254608 03E00008 */ jr $ra +/* 182EEC 8025460C 00000000 */ nop + +func_80254610: +/* 182EF0 80254610 8C8301F4 */ lw $v1, 0x1f4($a0) +/* 182EF4 80254614 8C620094 */ lw $v0, 0x94($v1) +/* 182EF8 80254618 10400008 */ beqz $v0, .L8025463C +/* 182EFC 8025461C 00000000 */ nop +/* 182F00 80254620 8C620000 */ lw $v0, ($v1) +/* 182F04 80254624 30420002 */ andi $v0, $v0, 2 +/* 182F08 80254628 14400004 */ bnez $v0, .L8025463C +/* 182F0C 8025462C 24020014 */ addiu $v0, $zero, 0x14 +/* 182F10 80254630 8C6300C0 */ lw $v1, 0xc0($v1) +/* 182F14 80254634 A06007DB */ sb $zero, 0x7db($v1) +/* 182F18 80254638 A06208AC */ sb $v0, 0x8ac($v1) +.L8025463C: +/* 182F1C 8025463C 03E00008 */ jr $ra +/* 182F20 80254640 00000000 */ nop + +enable_partner_blur: +/* 182F24 80254644 3C04800E */ lui $a0, 0x800e +/* 182F28 80254648 8C84C14C */ lw $a0, -0x3eb4($a0) +/* 182F2C 8025464C 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 182F30 80254650 AFBF0010 */ sw $ra, 0x10($sp) +/* 182F34 80254654 0C0950B3 */ jal enable_actor_blur +/* 182F38 80254658 00000000 */ nop +/* 182F3C 8025465C 8FBF0010 */ lw $ra, 0x10($sp) +/* 182F40 80254660 03E00008 */ jr $ra +/* 182F44 80254664 27BD0018 */ addiu $sp, $sp, 0x18 + +disable_partner_blur: +/* 182F48 80254668 3C04800E */ lui $a0, 0x800e +/* 182F4C 8025466C 8C84C14C */ lw $a0, -0x3eb4($a0) +/* 182F50 80254670 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 182F54 80254674 AFBF0010 */ sw $ra, 0x10($sp) +/* 182F58 80254678 0C095157 */ jal disable_actor_blur +/* 182F5C 8025467C 00000000 */ nop +/* 182F60 80254680 8FBF0010 */ lw $ra, 0x10($sp) +/* 182F64 80254684 03E00008 */ jr $ra +/* 182F68 80254688 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 182F6C 8025468C 3C04800E */ lui $a0, 0x800e +/* 182F70 80254690 8C84C14C */ lw $a0, -0x3eb4($a0) +/* 182F74 80254694 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 182F78 80254698 AFBF0010 */ sw $ra, 0x10($sp) +/* 182F7C 8025469C 0C09516B */ jal func_802545AC +/* 182F80 802546A0 00000000 */ nop +/* 182F84 802546A4 8FBF0010 */ lw $ra, 0x10($sp) +/* 182F88 802546A8 03E00008 */ jr $ra +/* 182F8C 802546AC 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 182F90 802546B0 3C04800E */ lui $a0, 0x800e +/* 182F94 802546B4 8C84C14C */ lw $a0, -0x3eb4($a0) +/* 182F98 802546B8 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 182F9C 802546BC AFBF0010 */ sw $ra, 0x10($sp) +/* 182FA0 802546C0 0C095184 */ jal func_80254610 +/* 182FA4 802546C4 00000000 */ nop +/* 182FA8 802546C8 8FBF0010 */ lw $ra, 0x10($sp) +/* 182FAC 802546CC 03E00008 */ jr $ra +/* 182FB0 802546D0 27BD0018 */ addiu $sp, $sp, 0x18 + +enable_player_blur: +/* 182FB4 802546D4 27BDFFC0 */ addiu $sp, $sp, -0x40 +/* 182FB8 802546D8 AFB10014 */ sw $s1, 0x14($sp) +/* 182FBC 802546DC 3C11800E */ lui $s1, 0x800e +/* 182FC0 802546E0 8E31C148 */ lw $s1, -0x3eb8($s1) +/* 182FC4 802546E4 AFB40020 */ sw $s4, 0x20($sp) +/* 182FC8 802546E8 0000A02D */ daddu $s4, $zero, $zero +/* 182FCC 802546EC AFB50024 */ sw $s5, 0x24($sp) +/* 182FD0 802546F0 3C158000 */ lui $s5, 0x8000 +/* 182FD4 802546F4 AFBF0028 */ sw $ra, 0x28($sp) +/* 182FD8 802546F8 AFB3001C */ sw $s3, 0x1c($sp) +/* 182FDC 802546FC AFB20018 */ sw $s2, 0x18($sp) +/* 182FE0 80254700 AFB00010 */ sw $s0, 0x10($sp) +/* 182FE4 80254704 F7B60038 */ sdc1 $f22, 0x38($sp) +/* 182FE8 80254708 F7B40030 */ sdc1 $f20, 0x30($sp) +/* 182FEC 8025470C 8E3301F4 */ lw $s3, 0x1f4($s1) +/* 182FF0 80254710 3C013F00 */ lui $at, 0x3f00 +/* 182FF4 80254714 4481B000 */ mtc1 $at, $f22 +/* 182FF8 80254718 8E6200C0 */ lw $v0, 0xc0($s3) +/* 182FFC 8025471C 3C014F00 */ lui $at, 0x4f00 +/* 183000 80254720 4481A000 */ mtc1 $at, $f20 +/* 183004 80254724 0040802D */ daddu $s0, $v0, $zero +/* 183008 80254728 920207DB */ lbu $v0, 0x7db($s0) +/* 18300C 8025472C 3C031000 */ lui $v1, 0x1000 +/* 183010 80254730 A20008AC */ sb $zero, 0x8ac($s0) +/* 183014 80254734 24420001 */ addiu $v0, $v0, 1 +/* 183018 80254738 A20207DB */ sb $v0, 0x7db($s0) +/* 18301C 8025473C 8E220000 */ lw $v0, ($s1) +/* 183020 80254740 0200902D */ daddu $s2, $s0, $zero +/* 183024 80254744 00431025 */ or $v0, $v0, $v1 +/* 183028 80254748 AE220000 */ sw $v0, ($s1) +/* 18302C 8025474C A20007D8 */ sb $zero, 0x7d8($s0) +/* 183030 80254750 A20007D9 */ sb $zero, 0x7d9($s0) +.L80254754: +/* 183034 80254754 C6600058 */ lwc1 $f0, 0x58($s3) +/* 183038 80254758 4600010D */ trunc.w.s $f4, $f0 +/* 18303C 8025475C 44022000 */ mfc1 $v0, $f4 +/* 183040 80254760 00000000 */ nop +/* 183044 80254764 A60207FC */ sh $v0, 0x7fc($s0) +/* 183048 80254768 C660005C */ lwc1 $f0, 0x5c($s3) +/* 18304C 8025476C 4600010D */ trunc.w.s $f4, $f0 +/* 183050 80254770 44022000 */ mfc1 $v0, $f4 +/* 183054 80254774 00000000 */ nop +/* 183058 80254778 A602081C */ sh $v0, 0x81c($s0) +/* 18305C 8025477C C6600060 */ lwc1 $f0, 0x60($s3) +/* 183060 80254780 4600010D */ trunc.w.s $f4, $f0 +/* 183064 80254784 44022000 */ mfc1 $v0, $f4 +/* 183068 80254788 00000000 */ nop +/* 18306C 8025478C A602083C */ sh $v0, 0x83c($s0) +/* 183070 80254790 C620018C */ lwc1 $f0, 0x18c($s1) +/* 183074 80254794 4600010D */ trunc.w.s $f4, $f0 +/* 183078 80254798 44022000 */ mfc1 $v0, $f4 +/* 18307C 8025479C 00000000 */ nop +/* 183080 802547A0 A60207DC */ sh $v0, 0x7dc($s0) +/* 183084 802547A4 86220168 */ lh $v0, 0x168($s1) +/* 183088 802547A8 C6220188 */ lwc1 $f2, 0x188($s1) +/* 18308C 802547AC 44820000 */ mtc1 $v0, $f0 +/* 183090 802547B0 00000000 */ nop +/* 183094 802547B4 46800020 */ cvt.s.w $f0, $f0 +/* 183098 802547B8 46020002 */ mul.s $f0, $f0, $f2 +/* 18309C 802547BC 00000000 */ nop +/* 1830A0 802547C0 4600010D */ trunc.w.s $f4, $f0 +/* 1830A4 802547C4 44022000 */ mfc1 $v0, $f4 +/* 1830A8 802547C8 00000000 */ nop +/* 1830AC 802547CC A242085C */ sb $v0, 0x85c($s2) +/* 1830B0 802547D0 8622016A */ lh $v0, 0x16a($s1) +/* 1830B4 802547D4 C6220188 */ lwc1 $f2, 0x188($s1) +/* 1830B8 802547D8 44820000 */ mtc1 $v0, $f0 +/* 1830BC 802547DC 00000000 */ nop +/* 1830C0 802547E0 46800020 */ cvt.s.w $f0, $f0 +/* 1830C4 802547E4 46020002 */ mul.s $f0, $f0, $f2 +/* 1830C8 802547E8 00000000 */ nop +/* 1830CC 802547EC 4600010D */ trunc.w.s $f4, $f0 +/* 1830D0 802547F0 44022000 */ mfc1 $v0, $f4 +/* 1830D4 802547F4 00000000 */ nop +/* 1830D8 802547F8 A242086C */ sb $v0, 0x86c($s2) +/* 1830DC 802547FC 0C00A6C9 */ jal clamp_angle +/* 1830E0 80254800 C62C015C */ lwc1 $f12, 0x15c($s1) +/* 1830E4 80254804 46160002 */ mul.s $f0, $f0, $f22 +/* 1830E8 80254808 00000000 */ nop +/* 1830EC 8025480C 4600A03E */ c.le.s $f20, $f0 +/* 1830F0 80254810 00000000 */ nop +/* 1830F4 80254814 45010005 */ bc1t .L8025482C +/* 1830F8 80254818 2643087C */ addiu $v1, $s2, 0x87c +/* 1830FC 8025481C 4600010D */ trunc.w.s $f4, $f0 +/* 183100 80254820 44022000 */ mfc1 $v0, $f4 +/* 183104 80254824 08095211 */ j func_80254844 +/* 183108 80254828 A0620000 */ sb $v0, ($v1) + +.L8025482C: +/* 18310C 8025482C 46140001 */ sub.s $f0, $f0, $f20 +/* 183110 80254830 4600010D */ trunc.w.s $f4, $f0 +/* 183114 80254834 44022000 */ mfc1 $v0, $f4 +/* 183118 80254838 00000000 */ nop +/* 18311C 8025483C 00551025 */ or $v0, $v0, $s5 +/* 183120 80254840 A0620000 */ sb $v0, ($v1) +func_80254844: +/* 183124 80254844 0C00A6C9 */ jal clamp_angle +/* 183128 80254848 C62C0160 */ lwc1 $f12, 0x160($s1) +/* 18312C 8025484C 46160002 */ mul.s $f0, $f0, $f22 +/* 183130 80254850 00000000 */ nop +/* 183134 80254854 4600A03E */ c.le.s $f20, $f0 +/* 183138 80254858 00000000 */ nop +/* 18313C 8025485C 45010005 */ bc1t .L80254874 +/* 183140 80254860 2643088C */ addiu $v1, $s2, 0x88c +/* 183144 80254864 4600010D */ trunc.w.s $f4, $f0 +/* 183148 80254868 44022000 */ mfc1 $v0, $f4 +/* 18314C 8025486C 08095223 */ j func_8025488C +/* 183150 80254870 A0620000 */ sb $v0, ($v1) + +.L80254874: +/* 183154 80254874 46140001 */ sub.s $f0, $f0, $f20 +/* 183158 80254878 4600010D */ trunc.w.s $f4, $f0 +/* 18315C 8025487C 44022000 */ mfc1 $v0, $f4 +/* 183160 80254880 00000000 */ nop +/* 183164 80254884 00551025 */ or $v0, $v0, $s5 +/* 183168 80254888 A0620000 */ sb $v0, ($v1) +func_8025488C: +/* 18316C 8025488C 0C00A6C9 */ jal clamp_angle +/* 183170 80254890 C62C0164 */ lwc1 $f12, 0x164($s1) +/* 183174 80254894 46160002 */ mul.s $f0, $f0, $f22 +/* 183178 80254898 00000000 */ nop +/* 18317C 8025489C 4600A03E */ c.le.s $f20, $f0 +/* 183180 802548A0 00000000 */ nop +/* 183184 802548A4 45010005 */ bc1t .L802548BC +/* 183188 802548A8 2643089C */ addiu $v1, $s2, 0x89c +/* 18318C 802548AC 4600010D */ trunc.w.s $f4, $f0 +/* 183190 802548B0 44022000 */ mfc1 $v0, $f4 +/* 183194 802548B4 08095235 */ j func_802548D4 +/* 183198 802548B8 A0620000 */ sb $v0, ($v1) + +.L802548BC: +/* 18319C 802548BC 46140001 */ sub.s $f0, $f0, $f20 +/* 1831A0 802548C0 4600010D */ trunc.w.s $f4, $f0 +/* 1831A4 802548C4 44022000 */ mfc1 $v0, $f4 +/* 1831A8 802548C8 00000000 */ nop +/* 1831AC 802548CC 00551025 */ or $v0, $v0, $s5 +/* 1831B0 802548D0 A0620000 */ sb $v0, ($v1) +func_802548D4: +/* 1831B4 802548D4 26520001 */ addiu $s2, $s2, 1 +/* 1831B8 802548D8 26940001 */ addiu $s4, $s4, 1 +/* 1831BC 802548DC 2A820010 */ slti $v0, $s4, 0x10 +/* 1831C0 802548E0 1440FF9C */ bnez $v0, .L80254754 +/* 1831C4 802548E4 26100002 */ addiu $s0, $s0, 2 +/* 1831C8 802548E8 8FBF0028 */ lw $ra, 0x28($sp) +/* 1831CC 802548EC 8FB50024 */ lw $s5, 0x24($sp) +/* 1831D0 802548F0 8FB40020 */ lw $s4, 0x20($sp) +/* 1831D4 802548F4 8FB3001C */ lw $s3, 0x1c($sp) +/* 1831D8 802548F8 8FB20018 */ lw $s2, 0x18($sp) +/* 1831DC 802548FC 8FB10014 */ lw $s1, 0x14($sp) +/* 1831E0 80254900 8FB00010 */ lw $s0, 0x10($sp) +/* 1831E4 80254904 D7B60038 */ ldc1 $f22, 0x38($sp) +/* 1831E8 80254908 D7B40030 */ ldc1 $f20, 0x30($sp) +/* 1831EC 8025490C 03E00008 */ jr $ra +/* 1831F0 80254910 27BD0040 */ addiu $sp, $sp, 0x40 + +disable_player_blur: +/* 1831F4 80254914 3C02800E */ lui $v0, 0x800e +/* 1831F8 80254918 8C42C148 */ lw $v0, -0x3eb8($v0) +/* 1831FC 8025491C 8C4201F4 */ lw $v0, 0x1f4($v0) +/* 183200 80254920 8C4400C0 */ lw $a0, 0xc0($v0) +/* 183204 80254924 808207DB */ lb $v0, 0x7db($a0) +/* 183208 80254928 908307DB */ lbu $v1, 0x7db($a0) +/* 18320C 8025492C 10400006 */ beqz $v0, .L80254948 +/* 183210 80254930 2462FFFF */ addiu $v0, $v1, -1 +/* 183214 80254934 A08207DB */ sb $v0, 0x7db($a0) +/* 183218 80254938 00021600 */ sll $v0, $v0, 0x18 +/* 18321C 8025493C 14400002 */ bnez $v0, .L80254948 +/* 183220 80254940 24020014 */ addiu $v0, $zero, 0x14 +/* 183224 80254944 A08208AC */ sb $v0, 0x8ac($a0) +.L80254948: +/* 183228 80254948 03E00008 */ jr $ra +/* 18322C 8025494C 00000000 */ nop + +func_80254950: +/* 183230 80254950 3C04800E */ lui $a0, 0x800e +/* 183234 80254954 8C84C148 */ lw $a0, -0x3eb8($a0) +/* 183238 80254958 8C8201F4 */ lw $v0, 0x1f4($a0) +/* 18323C 8025495C 8C4500C0 */ lw $a1, 0xc0($v0) +/* 183240 80254960 80A207DB */ lb $v0, 0x7db($a1) +/* 183244 80254964 90A307DB */ lbu $v1, 0x7db($a1) +/* 183248 80254968 1040000B */ beqz $v0, .L80254998 +/* 18324C 8025496C 2462FFFF */ addiu $v0, $v1, -1 +/* 183250 80254970 A0A207DB */ sb $v0, 0x7db($a1) +/* 183254 80254974 00021600 */ sll $v0, $v0, 0x18 +/* 183258 80254978 14400007 */ bnez $v0, .L80254998 +/* 18325C 8025497C 3C02EFFF */ lui $v0, 0xefff +/* 183260 80254980 8C830000 */ lw $v1, ($a0) +/* 183264 80254984 3442FFFF */ ori $v0, $v0, 0xffff +/* 183268 80254988 00621824 */ and $v1, $v1, $v0 +/* 18326C 8025498C 24020001 */ addiu $v0, $zero, 1 +/* 183270 80254990 AC830000 */ sw $v1, ($a0) +/* 183274 80254994 A0A208AC */ sb $v0, 0x8ac($a1) +.L80254998: +/* 183278 80254998 03E00008 */ jr $ra +/* 18327C 8025499C 00000000 */ nop + +func_802549A0: +/* 183280 802549A0 3C02800E */ lui $v0, 0x800e +/* 183284 802549A4 8C42C148 */ lw $v0, -0x3eb8($v0) +/* 183288 802549A8 8C4201F4 */ lw $v0, 0x1f4($v0) +/* 18328C 802549AC 8C4300C0 */ lw $v1, 0xc0($v0) +/* 183290 802549B0 24020014 */ addiu $v0, $zero, 0x14 +/* 183294 802549B4 A06007DB */ sb $zero, 0x7db($v1) +/* 183298 802549B8 03E00008 */ jr $ra +/* 18329C 802549BC A06208AC */ sb $v0, 0x8ac($v1) + +func_802549C0: +/* 1832A0 802549C0 3C05EFFF */ lui $a1, 0xefff +/* 1832A4 802549C4 3C03800E */ lui $v1, 0x800e +/* 1832A8 802549C8 8C63C148 */ lw $v1, -0x3eb8($v1) +/* 1832AC 802549CC 34A5FFFF */ ori $a1, $a1, 0xffff +/* 1832B0 802549D0 8C6401F4 */ lw $a0, 0x1f4($v1) +/* 1832B4 802549D4 8C620000 */ lw $v0, ($v1) +/* 1832B8 802549D8 8C8400C0 */ lw $a0, 0xc0($a0) +/* 1832BC 802549DC 00451024 */ and $v0, $v0, $a1 +/* 1832C0 802549E0 AC620000 */ sw $v0, ($v1) +/* 1832C4 802549E4 24020001 */ addiu $v0, $zero, 1 +/* 1832C8 802549E8 A08007DB */ sb $zero, 0x7db($a0) +/* 1832CC 802549EC 03E00008 */ jr $ra +/* 1832D0 802549F0 A08208AC */ sb $v0, 0x8ac($a0) + +func_802549F4: +/* 1832D4 802549F4 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 1832D8 802549F8 AFB20018 */ sw $s2, 0x18($sp) +/* 1832DC 802549FC 0080902D */ daddu $s2, $a0, $zero +/* 1832E0 80254A00 AFBF0020 */ sw $ra, 0x20($sp) +/* 1832E4 80254A04 AFB3001C */ sw $s3, 0x1c($sp) +/* 1832E8 80254A08 AFB10014 */ sw $s1, 0x14($sp) +/* 1832EC 80254A0C AFB00010 */ sw $s0, 0x10($sp) +/* 1832F0 80254A10 8E4401F4 */ lw $a0, 0x1f4($s2) +/* 1832F4 80254A14 8C820000 */ lw $v0, ($a0) +/* 1832F8 80254A18 8C9300C0 */ lw $s3, 0xc0($a0) +/* 1832FC 80254A1C 30420001 */ andi $v0, $v0, 1 +/* 183300 80254A20 14400084 */ bnez $v0, .L80254C34 +/* 183304 80254A24 00000000 */ nop +/* 183308 80254A28 8C820094 */ lw $v0, 0x94($a0) +/* 18330C 80254A2C 10400081 */ beqz $v0, .L80254C34 +/* 183310 80254A30 00000000 */ nop +/* 183314 80254A34 827107D9 */ lb $s1, 0x7d9($s3) +/* 183318 80254A38 C4800058 */ lwc1 $f0, 0x58($a0) +/* 18331C 80254A3C 00111840 */ sll $v1, $s1, 1 +/* 183320 80254A40 02631821 */ addu $v1, $s3, $v1 +/* 183324 80254A44 4600010D */ trunc.w.s $f4, $f0 +/* 183328 80254A48 44022000 */ mfc1 $v0, $f4 +/* 18332C 80254A4C 00000000 */ nop +/* 183330 80254A50 A46207FC */ sh $v0, 0x7fc($v1) +/* 183334 80254A54 C480005C */ lwc1 $f0, 0x5c($a0) +/* 183338 80254A58 4600010D */ trunc.w.s $f4, $f0 +/* 18333C 80254A5C 44022000 */ mfc1 $v0, $f4 +/* 183340 80254A60 00000000 */ nop +/* 183344 80254A64 A462081C */ sh $v0, 0x81c($v1) +/* 183348 80254A68 C4800060 */ lwc1 $f0, 0x60($a0) +/* 18334C 80254A6C 4600010D */ trunc.w.s $f4, $f0 +/* 183350 80254A70 44022000 */ mfc1 $v0, $f4 +/* 183354 80254A74 00000000 */ nop +/* 183358 80254A78 A462083C */ sh $v0, 0x83c($v1) +/* 18335C 80254A7C C640018C */ lwc1 $f0, 0x18c($s2) +/* 183360 80254A80 4600010D */ trunc.w.s $f4, $f0 +/* 183364 80254A84 44022000 */ mfc1 $v0, $f4 +/* 183368 80254A88 00000000 */ nop +/* 18336C 80254A8C A46207DC */ sh $v0, 0x7dc($v1) +/* 183370 80254A90 86420168 */ lh $v0, 0x168($s2) +/* 183374 80254A94 C6420188 */ lwc1 $f2, 0x188($s2) +/* 183378 80254A98 44820000 */ mtc1 $v0, $f0 +/* 18337C 80254A9C 00000000 */ nop +/* 183380 80254AA0 46800020 */ cvt.s.w $f0, $f0 +/* 183384 80254AA4 46020002 */ mul.s $f0, $f0, $f2 +/* 183388 80254AA8 00000000 */ nop +/* 18338C 80254AAC 02718021 */ addu $s0, $s3, $s1 +/* 183390 80254AB0 4600010D */ trunc.w.s $f4, $f0 +/* 183394 80254AB4 44022000 */ mfc1 $v0, $f4 +/* 183398 80254AB8 00000000 */ nop +/* 18339C 80254ABC A202085C */ sb $v0, 0x85c($s0) +/* 1833A0 80254AC0 8642016A */ lh $v0, 0x16a($s2) +/* 1833A4 80254AC4 C6420188 */ lwc1 $f2, 0x188($s2) +/* 1833A8 80254AC8 44820000 */ mtc1 $v0, $f0 +/* 1833AC 80254ACC 00000000 */ nop +/* 1833B0 80254AD0 46800020 */ cvt.s.w $f0, $f0 +/* 1833B4 80254AD4 46020002 */ mul.s $f0, $f0, $f2 +/* 1833B8 80254AD8 00000000 */ nop +/* 1833BC 80254ADC 4600010D */ trunc.w.s $f4, $f0 +/* 1833C0 80254AE0 44022000 */ mfc1 $v0, $f4 +/* 1833C4 80254AE4 00000000 */ nop +/* 1833C8 80254AE8 A202086C */ sb $v0, 0x86c($s0) +/* 1833CC 80254AEC C64C015C */ lwc1 $f12, 0x15c($s2) +/* 1833D0 80254AF0 0C00A6C9 */ jal clamp_angle +/* 1833D4 80254AF4 2610087C */ addiu $s0, $s0, 0x87c +/* 1833D8 80254AF8 3C013F00 */ lui $at, 0x3f00 +/* 1833DC 80254AFC 44811000 */ mtc1 $at, $f2 +/* 1833E0 80254B00 00000000 */ nop +/* 1833E4 80254B04 46020002 */ mul.s $f0, $f0, $f2 +/* 1833E8 80254B08 00000000 */ nop +/* 1833EC 80254B0C 3C014F00 */ lui $at, 0x4f00 +/* 1833F0 80254B10 44811000 */ mtc1 $at, $f2 +/* 1833F4 80254B14 00000000 */ nop +/* 1833F8 80254B18 4600103E */ c.le.s $f2, $f0 +/* 1833FC 80254B1C 00000000 */ nop +/* 183400 80254B20 45030005 */ bc1tl .L80254B38 +/* 183404 80254B24 46020001 */ sub.s $f0, $f0, $f2 +/* 183408 80254B28 4600010D */ trunc.w.s $f4, $f0 +/* 18340C 80254B2C 44032000 */ mfc1 $v1, $f4 +/* 183410 80254B30 080952D4 */ j func_80254B50 +/* 183414 80254B34 A2030000 */ sb $v1, ($s0) + +.L80254B38: +/* 183418 80254B38 3C028000 */ lui $v0, 0x8000 +/* 18341C 80254B3C 4600010D */ trunc.w.s $f4, $f0 +/* 183420 80254B40 44032000 */ mfc1 $v1, $f4 +/* 183424 80254B44 00000000 */ nop +/* 183428 80254B48 00621825 */ or $v1, $v1, $v0 +/* 18342C 80254B4C A2030000 */ sb $v1, ($s0) +func_80254B50: +/* 183430 80254B50 0C00A6C9 */ jal clamp_angle +/* 183434 80254B54 C64C0160 */ lwc1 $f12, 0x160($s2) +/* 183438 80254B58 3C013F00 */ lui $at, 0x3f00 +/* 18343C 80254B5C 44811000 */ mtc1 $at, $f2 +/* 183440 80254B60 00000000 */ nop +/* 183444 80254B64 46020002 */ mul.s $f0, $f0, $f2 +/* 183448 80254B68 00000000 */ nop +/* 18344C 80254B6C 02711021 */ addu $v0, $s3, $s1 +/* 183450 80254B70 3C014F00 */ lui $at, 0x4f00 +/* 183454 80254B74 44811000 */ mtc1 $at, $f2 +/* 183458 80254B78 00000000 */ nop +/* 18345C 80254B7C 4600103E */ c.le.s $f2, $f0 +/* 183460 80254B80 00000000 */ nop +/* 183464 80254B84 45010005 */ bc1t .L80254B9C +/* 183468 80254B88 2444088C */ addiu $a0, $v0, 0x88c +/* 18346C 80254B8C 4600010D */ trunc.w.s $f4, $f0 +/* 183470 80254B90 44032000 */ mfc1 $v1, $f4 +/* 183474 80254B94 080952EE */ j func_80254BB8 +/* 183478 80254B98 A0830000 */ sb $v1, ($a0) + +.L80254B9C: +/* 18347C 80254B9C 46020001 */ sub.s $f0, $f0, $f2 +/* 183480 80254BA0 3C028000 */ lui $v0, 0x8000 +/* 183484 80254BA4 4600010D */ trunc.w.s $f4, $f0 +/* 183488 80254BA8 44032000 */ mfc1 $v1, $f4 +/* 18348C 80254BAC 00000000 */ nop +/* 183490 80254BB0 00621825 */ or $v1, $v1, $v0 +/* 183494 80254BB4 A0830000 */ sb $v1, ($a0) +func_80254BB8: +/* 183498 80254BB8 0C00A6C9 */ jal clamp_angle +/* 18349C 80254BBC C64C0164 */ lwc1 $f12, 0x164($s2) +/* 1834A0 80254BC0 3C013F00 */ lui $at, 0x3f00 +/* 1834A4 80254BC4 44811000 */ mtc1 $at, $f2 +/* 1834A8 80254BC8 00000000 */ nop +/* 1834AC 80254BCC 46020002 */ mul.s $f0, $f0, $f2 +/* 1834B0 80254BD0 00000000 */ nop +/* 1834B4 80254BD4 02711021 */ addu $v0, $s3, $s1 +/* 1834B8 80254BD8 3C014F00 */ lui $at, 0x4f00 +/* 1834BC 80254BDC 44811000 */ mtc1 $at, $f2 +/* 1834C0 80254BE0 00000000 */ nop +/* 1834C4 80254BE4 4600103E */ c.le.s $f2, $f0 +/* 1834C8 80254BE8 00000000 */ nop +/* 1834CC 80254BEC 45010005 */ bc1t .L80254C04 +/* 1834D0 80254BF0 2444089C */ addiu $a0, $v0, 0x89c +/* 1834D4 80254BF4 4600010D */ trunc.w.s $f4, $f0 +/* 1834D8 80254BF8 44032000 */ mfc1 $v1, $f4 +/* 1834DC 80254BFC 08095308 */ j func_80254C20 +/* 1834E0 80254C00 A0830000 */ sb $v1, ($a0) + +.L80254C04: +/* 1834E4 80254C04 46020001 */ sub.s $f0, $f0, $f2 +/* 1834E8 80254C08 3C028000 */ lui $v0, 0x8000 +/* 1834EC 80254C0C 4600010D */ trunc.w.s $f4, $f0 +/* 1834F0 80254C10 44032000 */ mfc1 $v1, $f4 +/* 1834F4 80254C14 00000000 */ nop +/* 1834F8 80254C18 00621825 */ or $v1, $v1, $v0 +/* 1834FC 80254C1C A0830000 */ sb $v1, ($a0) +func_80254C20: +/* 183500 80254C20 26310001 */ addiu $s1, $s1, 1 +/* 183504 80254C24 2A220010 */ slti $v0, $s1, 0x10 +/* 183508 80254C28 50400001 */ beql $v0, $zero, .L80254C30 +/* 18350C 80254C2C 0000882D */ daddu $s1, $zero, $zero +.L80254C30: +/* 183510 80254C30 A27107D9 */ sb $s1, 0x7d9($s3) +.L80254C34: +/* 183514 80254C34 8FBF0020 */ lw $ra, 0x20($sp) +/* 183518 80254C38 8FB3001C */ lw $s3, 0x1c($sp) +/* 18351C 80254C3C 8FB20018 */ lw $s2, 0x18($sp) +/* 183520 80254C40 8FB10014 */ lw $s1, 0x14($sp) +/* 183524 80254C44 8FB00010 */ lw $s0, 0x10($sp) +/* 183528 80254C48 03E00008 */ jr $ra +/* 18352C 80254C4C 27BD0028 */ addiu $sp, $sp, 0x28 + +/* 183530 80254C50 27BDFCE8 */ addiu $sp, $sp, -0x318 +/* 183534 80254C54 AFBF02E4 */ sw $ra, 0x2e4($sp) +/* 183538 80254C58 AFBE02E0 */ sw $fp, 0x2e0($sp) +/* 18353C 80254C5C AFB702DC */ sw $s7, 0x2dc($sp) +/* 183540 80254C60 AFB602D8 */ sw $s6, 0x2d8($sp) +/* 183544 80254C64 AFB502D4 */ sw $s5, 0x2d4($sp) +/* 183548 80254C68 AFB402D0 */ sw $s4, 0x2d0($sp) +/* 18354C 80254C6C AFB302CC */ sw $s3, 0x2cc($sp) +/* 183550 80254C70 AFB202C8 */ sw $s2, 0x2c8($sp) +/* 183554 80254C74 AFB102C4 */ sw $s1, 0x2c4($sp) +/* 183558 80254C78 AFB002C0 */ sw $s0, 0x2c0($sp) +/* 18355C 80254C7C F7BE0310 */ sdc1 $f30, 0x310($sp) +/* 183560 80254C80 F7BC0308 */ sdc1 $f28, 0x308($sp) +/* 183564 80254C84 F7BA0300 */ sdc1 $f26, 0x300($sp) +/* 183568 80254C88 F7B802F8 */ sdc1 $f24, 0x2f8($sp) +/* 18356C 80254C8C F7B602F0 */ sdc1 $f22, 0x2f0($sp) +/* 183570 80254C90 F7B402E8 */ sdc1 $f20, 0x2e8($sp) +/* 183574 80254C94 AFA40318 */ sw $a0, 0x318($sp) +/* 183578 80254C98 8C9201F4 */ lw $s2, 0x1f4($a0) +/* 18357C 80254C9C 8E5700C0 */ lw $s7, 0xc0($s2) +/* 183580 80254CA0 82E208AC */ lb $v0, 0x8ac($s7) +/* 183584 80254CA4 92E308AC */ lbu $v1, 0x8ac($s7) +/* 183588 80254CA8 1040000B */ beqz $v0, .L80254CD8 +/* 18358C 80254CAC 2462FFFF */ addiu $v0, $v1, -1 +/* 183590 80254CB0 A2E208AC */ sb $v0, 0x8ac($s7) +/* 183594 80254CB4 00021600 */ sll $v0, $v0, 0x18 +/* 183598 80254CB8 14400007 */ bnez $v0, .L80254CD8 +/* 18359C 80254CBC 3C03EFFF */ lui $v1, 0xefff +/* 1835A0 80254CC0 8FA80318 */ lw $t0, 0x318($sp) +/* 1835A4 80254CC4 8D020000 */ lw $v0, ($t0) +/* 1835A8 80254CC8 3463FFFF */ ori $v1, $v1, 0xffff +/* 1835AC 80254CCC 00431024 */ and $v0, $v0, $v1 +/* 1835B0 80254CD0 0809541D */ j func_80255074 +/* 1835B4 80254CD4 AD020000 */ sw $v0, ($t0) + +.L80254CD8: +/* 1835B8 80254CD8 8E420000 */ lw $v0, ($s2) +/* 1835BC 80254CDC 30420001 */ andi $v0, $v0, 1 +/* 1835C0 80254CE0 144000E4 */ bnez $v0, .L80255074 +/* 1835C4 80254CE4 00000000 */ nop +/* 1835C8 80254CE8 8E420094 */ lw $v0, 0x94($s2) +/* 1835CC 80254CEC 104000E1 */ beqz $v0, .L80255074 +/* 1835D0 80254CF0 27A801D8 */ addiu $t0, $sp, 0x1d8 +/* 1835D4 80254CF4 AFA802A4 */ sw $t0, 0x2a4($sp) +/* 1835D8 80254CF8 27A80158 */ addiu $t0, $sp, 0x158 +/* 1835DC 80254CFC AFA802A8 */ sw $t0, 0x2a8($sp) +/* 1835E0 80254D00 27A80198 */ addiu $t0, $sp, 0x198 +/* 1835E4 80254D04 AFA802AC */ sw $t0, 0x2ac($sp) +/* 1835E8 80254D08 27A80058 */ addiu $t0, $sp, 0x58 +/* 1835EC 80254D0C AFA802B0 */ sw $t0, 0x2b0($sp) +/* 1835F0 80254D10 27A80098 */ addiu $t0, $sp, 0x98 +/* 1835F4 80254D14 27B50218 */ addiu $s5, $sp, 0x218 +/* 1835F8 80254D18 AFA802B4 */ sw $t0, 0x2b4($sp) +/* 1835FC 80254D1C 27A800D8 */ addiu $t0, $sp, 0xd8 +/* 183600 80254D20 AFA802B8 */ sw $t0, 0x2b8($sp) +/* 183604 80254D24 27A80118 */ addiu $t0, $sp, 0x118 +/* 183608 80254D28 27BE0258 */ addiu $fp, $sp, 0x258 +/* 18360C 80254D2C AFA00298 */ sw $zero, 0x298($sp) +/* 183610 80254D30 AFA0029C */ sw $zero, 0x29c($sp) +/* 183614 80254D34 AFA802BC */ sw $t0, 0x2bc($sp) +/* 183618 80254D38 82F307D9 */ lb $s3, 0x7d9($s7) +/* 18361C 80254D3C 4480A000 */ mtc1 $zero, $f20 +/* 183620 80254D40 3C013F80 */ lui $at, 0x3f80 +/* 183624 80254D44 4481F000 */ mtc1 $at, $f30 +/* 183628 80254D48 3C01802A */ lui $at, 0x802a +/* 18362C 80254D4C D43CD350 */ ldc1 $f28, -0x2cb0($at) +func_80254D50: +/* 183630 80254D50 8FA80298 */ lw $t0, 0x298($sp) +/* 183634 80254D54 2673FFFF */ addiu $s3, $s3, -1 +.L80254D58: +/* 183638 80254D58 25080001 */ addiu $t0, $t0, 1 +/* 18363C 80254D5C 06610002 */ bgez $s3, .L80254D68 +/* 183640 80254D60 AFA80298 */ sw $t0, 0x298($sp) +/* 183644 80254D64 2413000F */ addiu $s3, $zero, 0xf +.L80254D68: +/* 183648 80254D68 82E207D9 */ lb $v0, 0x7d9($s7) +/* 18364C 80254D6C 126200C1 */ beq $s3, $v0, .L80255074 +/* 183650 80254D70 00000000 */ nop +/* 183654 80254D74 8FA80298 */ lw $t0, 0x298($sp) +/* 183658 80254D78 29020003 */ slti $v0, $t0, 3 +/* 18365C 80254D7C 5440FFF6 */ bnezl $v0, .L80254D58 +/* 183660 80254D80 2673FFFF */ addiu $s3, $s3, -1 +/* 183664 80254D84 8FA8029C */ lw $t0, 0x29c($sp) +/* 183668 80254D88 AFA00298 */ sw $zero, 0x298($sp) +/* 18366C 80254D8C 82E207DA */ lb $v0, 0x7da($s7) +/* 183670 80254D90 25080001 */ addiu $t0, $t0, 1 +/* 183674 80254D94 0048102A */ slt $v0, $v0, $t0 +/* 183678 80254D98 144000B6 */ bnez $v0, .L80255074 +/* 18367C 80254D9C AFA8029C */ sw $t0, 0x29c($sp) +/* 183680 80254DA0 24160078 */ addiu $s6, $zero, 0x78 +/* 183684 80254DA4 00132840 */ sll $a1, $s3, 1 +/* 183688 80254DA8 02E52821 */ addu $a1, $s7, $a1 +/* 18368C 80254DAC 02F32021 */ addu $a0, $s7, $s3 +/* 183690 80254DB0 84A207FC */ lh $v0, 0x7fc($a1) +/* 183694 80254DB4 84A3081C */ lh $v1, 0x81c($a1) +/* 183698 80254DB8 44821000 */ mtc1 $v0, $f2 +/* 18369C 80254DBC 00000000 */ nop +/* 1836A0 80254DC0 468010A0 */ cvt.s.w $f2, $f2 +/* 1836A4 80254DC4 44832000 */ mtc1 $v1, $f4 +/* 1836A8 80254DC8 00000000 */ nop +/* 1836AC 80254DCC 46802120 */ cvt.s.w $f4, $f4 +/* 1836B0 80254DD0 84A3083C */ lh $v1, 0x83c($a1) +/* 1836B4 80254DD4 9082087C */ lbu $v0, 0x87c($a0) +/* 1836B8 80254DD8 84A507DC */ lh $a1, 0x7dc($a1) +/* 1836BC 80254DDC 44830000 */ mtc1 $v1, $f0 +/* 1836C0 80254DE0 00000000 */ nop +/* 1836C4 80254DE4 46800020 */ cvt.s.w $f0, $f0 +/* 1836C8 80254DE8 00021040 */ sll $v0, $v0, 1 +/* 1836CC 80254DEC 4482B000 */ mtc1 $v0, $f22 +/* 1836D0 80254DF0 00000000 */ nop +/* 1836D4 80254DF4 4680B5A0 */ cvt.s.w $f22, $f22 +/* 1836D8 80254DF8 9083088C */ lbu $v1, 0x88c($a0) +/* 1836DC 80254DFC 9082089C */ lbu $v0, 0x89c($a0) +/* 1836E0 80254E00 00031840 */ sll $v1, $v1, 1 +/* 1836E4 80254E04 4483C000 */ mtc1 $v1, $f24 +/* 1836E8 80254E08 00000000 */ nop +/* 1836EC 80254E0C 4680C620 */ cvt.s.w $f24, $f24 +/* 1836F0 80254E10 00021040 */ sll $v0, $v0, 1 +/* 1836F4 80254E14 86430098 */ lh $v1, 0x98($s2) +/* 1836F8 80254E18 4482D000 */ mtc1 $v0, $f26 +/* 1836FC 80254E1C 00000000 */ nop +/* 183700 80254E20 4680D6A0 */ cvt.s.w $f26, $f26 +/* 183704 80254E24 AFA502A0 */ sw $a1, 0x2a0($sp) +/* 183708 80254E28 8090085C */ lb $s0, 0x85c($a0) +/* 18370C 80254E2C 8091086C */ lb $s1, 0x86c($a0) +/* 183710 80254E30 28620032 */ slti $v0, $v1, 0x32 +/* 183714 80254E34 10400004 */ beqz $v0, .L80254E48 +/* 183718 80254E38 24140014 */ addiu $s4, $zero, 0x14 +/* 18371C 80254E3C 24160032 */ addiu $s6, $zero, 0x32 +/* 183720 80254E40 0809539C */ j func_80254E70 +/* 183724 80254E44 24140008 */ addiu $s4, $zero, 8 + +.L80254E48: +/* 183728 80254E48 28620064 */ slti $v0, $v1, 0x64 +/* 18372C 80254E4C 10400004 */ beqz $v0, .L80254E60 +/* 183730 80254E50 28620096 */ slti $v0, $v1, 0x96 +/* 183734 80254E54 24160046 */ addiu $s6, $zero, 0x46 +/* 183738 80254E58 0809539C */ j func_80254E70 +/* 18373C 80254E5C 2414000A */ addiu $s4, $zero, 0xa + +.L80254E60: +/* 183740 80254E60 10400003 */ beqz $v0, .L80254E70 +/* 183744 80254E64 00000000 */ nop +/* 183748 80254E68 24160064 */ addiu $s6, $zero, 0x64 +/* 18374C 80254E6C 2414000F */ addiu $s4, $zero, 0xf +func_80254E70: +.L80254E70: +/* 183750 80254E70 44051000 */ mfc1 $a1, $f2 +/* 183754 80254E74 44062000 */ mfc1 $a2, $f4 +/* 183758 80254E78 44070000 */ mfc1 $a3, $f0 +/* 18375C 80254E7C 0C019E40 */ jal guTranslateF +/* 183760 80254E80 8FA402A4 */ lw $a0, 0x2a4($sp) +/* 183764 80254E84 00101023 */ negu $v0, $s0 +/* 183768 80254E88 44824000 */ mtc1 $v0, $f8 +/* 18376C 80254E8C 00000000 */ nop +/* 183770 80254E90 46804220 */ cvt.s.w $f8, $f8 +/* 183774 80254E94 00111023 */ negu $v0, $s1 +/* 183778 80254E98 44054000 */ mfc1 $a1, $f8 +/* 18377C 80254E9C 44824000 */ mtc1 $v0, $f8 +/* 183780 80254EA0 00000000 */ nop +/* 183784 80254EA4 46804220 */ cvt.s.w $f8, $f8 +/* 183788 80254EA8 8FA402A8 */ lw $a0, 0x2a8($sp) +/* 18378C 80254EAC 4407A000 */ mfc1 $a3, $f20 +/* 183790 80254EB0 44064000 */ mfc1 $a2, $f8 +/* 183794 80254EB4 0C019E40 */ jal guTranslateF +/* 183798 80254EB8 00000000 */ nop +/* 18379C 80254EBC 44904000 */ mtc1 $s0, $f8 +/* 1837A0 80254EC0 00000000 */ nop +/* 1837A4 80254EC4 46804220 */ cvt.s.w $f8, $f8 +/* 1837A8 80254EC8 44054000 */ mfc1 $a1, $f8 +/* 1837AC 80254ECC 44914000 */ mtc1 $s1, $f8 +/* 1837B0 80254ED0 00000000 */ nop +/* 1837B4 80254ED4 46804220 */ cvt.s.w $f8, $f8 +/* 1837B8 80254ED8 8FA402AC */ lw $a0, 0x2ac($sp) +/* 1837BC 80254EDC 4407A000 */ mfc1 $a3, $f20 +/* 1837C0 80254EE0 44064000 */ mfc1 $a2, $f8 +/* 1837C4 80254EE4 0C019E40 */ jal guTranslateF +/* 1837C8 80254EE8 00000000 */ nop +/* 1837CC 80254EEC 4405B000 */ mfc1 $a1, $f22 +/* 1837D0 80254EF0 4406F000 */ mfc1 $a2, $f30 +/* 1837D4 80254EF4 4407A000 */ mfc1 $a3, $f20 +/* 1837D8 80254EF8 27A40018 */ addiu $a0, $sp, 0x18 +/* 1837DC 80254EFC 0C019EC8 */ jal guRotateF +/* 1837E0 80254F00 E7B40010 */ swc1 $f20, 0x10($sp) +/* 1837E4 80254F04 4405C000 */ mfc1 $a1, $f24 +/* 1837E8 80254F08 4406A000 */ mfc1 $a2, $f20 +/* 1837EC 80254F0C 4407F000 */ mfc1 $a3, $f30 +/* 1837F0 80254F10 8FA402B0 */ lw $a0, 0x2b0($sp) +/* 1837F4 80254F14 0C019EC8 */ jal guRotateF +/* 1837F8 80254F18 E7B40010 */ swc1 $f20, 0x10($sp) +/* 1837FC 80254F1C 4405D000 */ mfc1 $a1, $f26 +/* 183800 80254F20 4406A000 */ mfc1 $a2, $f20 +/* 183804 80254F24 4407A000 */ mfc1 $a3, $f20 +/* 183808 80254F28 8FA402B4 */ lw $a0, 0x2b4($sp) +/* 18380C 80254F2C 0C019EC8 */ jal guRotateF +/* 183810 80254F30 E7BE0010 */ swc1 $f30, 0x10($sp) +/* 183814 80254F34 27A40018 */ addiu $a0, $sp, 0x18 +/* 183818 80254F38 8FA502B0 */ lw $a1, 0x2b0($sp) +/* 18381C 80254F3C 0C019D80 */ jal guMtxCatF +/* 183820 80254F40 02A0302D */ daddu $a2, $s5, $zero +/* 183824 80254F44 8FA502B4 */ lw $a1, 0x2b4($sp) +/* 183828 80254F48 8FA602B8 */ lw $a2, 0x2b8($sp) +/* 18382C 80254F4C 0C019D80 */ jal guMtxCatF +/* 183830 80254F50 02A0202D */ daddu $a0, $s5, $zero +/* 183834 80254F54 8FA80318 */ lw $t0, 0x318($sp) +/* 183838 80254F58 C5060170 */ lwc1 $f6, 0x170($t0) +/* 18383C 80254F5C 460031A1 */ cvt.d.s $f6, $f6 +/* 183840 80254F60 463C3182 */ mul.d $f6, $f6, $f28 +/* 183844 80254F64 00000000 */ nop +/* 183848 80254F68 C5040174 */ lwc1 $f4, 0x174($t0) +/* 18384C 80254F6C 46002121 */ cvt.d.s $f4, $f4 +/* 183850 80254F70 463C2102 */ mul.d $f4, $f4, $f28 +/* 183854 80254F74 00000000 */ nop +/* 183858 80254F78 C5020178 */ lwc1 $f2, 0x178($t0) +/* 18385C 80254F7C 460010A1 */ cvt.d.s $f2, $f2 +/* 183860 80254F80 463C1082 */ mul.d $f2, $f2, $f28 +/* 183864 80254F84 00000000 */ nop +/* 183868 80254F88 C5000188 */ lwc1 $f0, 0x188($t0) +/* 18386C 80254F8C 46000021 */ cvt.d.s $f0, $f0 +/* 183870 80254F90 46203182 */ mul.d $f6, $f6, $f0 +/* 183874 80254F94 00000000 */ nop +/* 183878 80254F98 46202102 */ mul.d $f4, $f4, $f0 +/* 18387C 80254F9C 00000000 */ nop +/* 183880 80254FA0 82420074 */ lb $v0, 0x74($s2) +/* 183884 80254FA4 44820000 */ mtc1 $v0, $f0 +/* 183888 80254FA8 00000000 */ nop +/* 18388C 80254FAC 46800021 */ cvt.d.w $f0, $f0 +/* 183890 80254FB0 46202102 */ mul.d $f4, $f4, $f0 +/* 183894 80254FB4 00000000 */ nop +/* 183898 80254FB8 8FA402BC */ lw $a0, 0x2bc($sp) +/* 18389C 80254FBC 462010A0 */ cvt.s.d $f2, $f2 +/* 1838A0 80254FC0 44071000 */ mfc1 $a3, $f2 +/* 1838A4 80254FC4 462031A0 */ cvt.s.d $f6, $f6 +/* 1838A8 80254FC8 44053000 */ mfc1 $a1, $f6 +/* 1838AC 80254FCC 46202120 */ cvt.s.d $f4, $f4 +/* 1838B0 80254FD0 44062000 */ mfc1 $a2, $f4 +/* 1838B4 80254FD4 0C019DF0 */ jal guScaleF +/* 1838B8 80254FD8 00000000 */ nop +/* 1838BC 80254FDC 8FA402BC */ lw $a0, 0x2bc($sp) +/* 1838C0 80254FE0 8FA502A8 */ lw $a1, 0x2a8($sp) +/* 1838C4 80254FE4 0C019D80 */ jal guMtxCatF +/* 1838C8 80254FE8 03C0302D */ daddu $a2, $fp, $zero +/* 1838CC 80254FEC 03C0202D */ daddu $a0, $fp, $zero +/* 1838D0 80254FF0 8FA502B8 */ lw $a1, 0x2b8($sp) +/* 1838D4 80254FF4 0C019D80 */ jal guMtxCatF +/* 1838D8 80254FF8 02A0302D */ daddu $a2, $s5, $zero +/* 1838DC 80254FFC 02A0202D */ daddu $a0, $s5, $zero +/* 1838E0 80255000 8FA502AC */ lw $a1, 0x2ac($sp) +/* 1838E4 80255004 0C019D80 */ jal guMtxCatF +/* 1838E8 80255008 03C0302D */ daddu $a2, $fp, $zero +/* 1838EC 8025500C 03C0202D */ daddu $a0, $fp, $zero +/* 1838F0 80255010 8FA502A4 */ lw $a1, 0x2a4($sp) +/* 1838F4 80255014 0C019D80 */ jal guMtxCatF +/* 1838F8 80255018 02A0302D */ daddu $a2, $s5, $zero +/* 1838FC 8025501C 8FA8029C */ lw $t0, 0x29c($sp) +/* 183900 80255020 01140018 */ mult $t0, $s4 +/* 183904 80255024 86500098 */ lh $s0, 0x98($s2) +/* 183908 80255028 00004012 */ mflo $t0 +/* 18390C 8025502C 02C81023 */ subu $v0, $s6, $t0 +/* 183910 80255030 A6420098 */ sh $v0, 0x98($s2) +/* 183914 80255034 8FA802A0 */ lw $t0, 0x2a0($sp) +/* 183918 80255038 250200B4 */ addiu $v0, $t0, 0xb4 +/* 18391C 8025503C 44826000 */ mtc1 $v0, $f12 +/* 183920 80255040 00000000 */ nop +/* 183924 80255044 0C00A6C9 */ jal clamp_angle +/* 183928 80255048 46806320 */ cvt.s.w $f12, $f12 +/* 18392C 8025504C 0000202D */ daddu $a0, $zero, $zero +/* 183930 80255050 0240282D */ daddu $a1, $s2, $zero +/* 183934 80255054 4600020D */ trunc.w.s $f8, $f0 +/* 183938 80255058 44064000 */ mfc1 $a2, $f8 +/* 18393C 8025505C 02A0382D */ daddu $a3, $s5, $zero +/* 183940 80255060 24020001 */ addiu $v0, $zero, 1 +/* 183944 80255064 0C09647B */ jal func_802591EC +/* 183948 80255068 AFA20010 */ sw $v0, 0x10($sp) +/* 18394C 8025506C 08095354 */ j func_80254D50 +/* 183950 80255070 A6500098 */ sh $s0, 0x98($s2) + +func_80255074: +.L80255074: +/* 183954 80255074 8FBF02E4 */ lw $ra, 0x2e4($sp) +/* 183958 80255078 8FBE02E0 */ lw $fp, 0x2e0($sp) +/* 18395C 8025507C 8FB702DC */ lw $s7, 0x2dc($sp) +/* 183960 80255080 8FB602D8 */ lw $s6, 0x2d8($sp) +/* 183964 80255084 8FB502D4 */ lw $s5, 0x2d4($sp) +/* 183968 80255088 8FB402D0 */ lw $s4, 0x2d0($sp) +/* 18396C 8025508C 8FB302CC */ lw $s3, 0x2cc($sp) +/* 183970 80255090 8FB202C8 */ lw $s2, 0x2c8($sp) +/* 183974 80255094 8FB102C4 */ lw $s1, 0x2c4($sp) +/* 183978 80255098 8FB002C0 */ lw $s0, 0x2c0($sp) +/* 18397C 8025509C D7BE0310 */ ldc1 $f30, 0x310($sp) +/* 183980 802550A0 D7BC0308 */ ldc1 $f28, 0x308($sp) +/* 183984 802550A4 D7BA0300 */ ldc1 $f26, 0x300($sp) +/* 183988 802550A8 D7B802F8 */ ldc1 $f24, 0x2f8($sp) +/* 18398C 802550AC D7B602F0 */ ldc1 $f22, 0x2f0($sp) +/* 183990 802550B0 D7B402E8 */ ldc1 $f20, 0x2e8($sp) +/* 183994 802550B4 03E00008 */ jr $ra +/* 183998 802550B8 27BD0318 */ addiu $sp, $sp, 0x318 + +func_802550BC: +/* 18399C 802550BC 27BDFFB8 */ addiu $sp, $sp, -0x48 +/* 1839A0 802550C0 AFB50024 */ sw $s5, 0x24($sp) +/* 1839A4 802550C4 00A0A82D */ daddu $s5, $a1, $zero +/* 1839A8 802550C8 AFB40020 */ sw $s4, 0x20($sp) +/* 1839AC 802550CC AFBF0030 */ sw $ra, 0x30($sp) +/* 1839B0 802550D0 AFB7002C */ sw $s7, 0x2c($sp) +/* 1839B4 802550D4 AFB60028 */ sw $s6, 0x28($sp) +/* 1839B8 802550D8 AFB3001C */ sw $s3, 0x1c($sp) +/* 1839BC 802550DC AFB20018 */ sw $s2, 0x18($sp) +/* 1839C0 802550E0 AFB10014 */ sw $s1, 0x14($sp) +/* 1839C4 802550E4 AFB00010 */ sw $s0, 0x10($sp) +/* 1839C8 802550E8 F7B60040 */ sdc1 $f22, 0x40($sp) +/* 1839CC 802550EC F7B40038 */ sdc1 $f20, 0x38($sp) +/* 1839D0 802550F0 82B601F3 */ lb $s6, 0x1f3($s5) +/* 1839D4 802550F4 8EB201F4 */ lw $s2, 0x1f4($s5) +/* 1839D8 802550F8 1AC0006F */ blez $s6, .L802552B8 +/* 1839DC 802550FC 0000A02D */ daddu $s4, $zero, $zero +/* 1839E0 80255100 3C178000 */ lui $s7, 0x8000 +/* 1839E4 80255104 3C013F00 */ lui $at, 0x3f00 +/* 1839E8 80255108 4481B000 */ mtc1 $at, $f22 +/* 1839EC 8025510C 3C014F00 */ lui $at, 0x4f00 +/* 1839F0 80255110 4481A000 */ mtc1 $at, $f20 +.L80255114: +/* 1839F4 80255114 8E430000 */ lw $v1, ($s2) +/* 1839F8 80255118 30620001 */ andi $v0, $v1, 1 +/* 1839FC 8025511C 14400006 */ bnez $v0, .L80255138 +/* 183A00 80255120 00000000 */ nop +/* 183A04 80255124 8E420094 */ lw $v0, 0x94($s2) +/* 183A08 80255128 10400003 */ beqz $v0, .L80255138 +/* 183A0C 8025512C 30620002 */ andi $v0, $v1, 2 +/* 183A10 80255130 10400004 */ beqz $v0, .L80255144 +/* 183A14 80255134 00000000 */ nop +.L80255138: +/* 183A18 80255138 8E52000C */ lw $s2, 0xc($s2) +/* 183A1C 8025513C 080954AB */ j func_802552AC +/* 183A20 80255140 26940001 */ addiu $s4, $s4, 1 + +.L80255144: +/* 183A24 80255144 8E5300C0 */ lw $s3, 0xc0($s2) +/* 183A28 80255148 C6400058 */ lwc1 $f0, 0x58($s2) +/* 183A2C 8025514C 827107D9 */ lb $s1, 0x7d9($s3) +/* 183A30 80255150 4600008D */ trunc.w.s $f2, $f0 +/* 183A34 80255154 44021000 */ mfc1 $v0, $f2 +/* 183A38 80255158 00111840 */ sll $v1, $s1, 1 +/* 183A3C 8025515C 02631821 */ addu $v1, $s3, $v1 +/* 183A40 80255160 A46207FC */ sh $v0, 0x7fc($v1) +/* 183A44 80255164 C640005C */ lwc1 $f0, 0x5c($s2) +/* 183A48 80255168 4600008D */ trunc.w.s $f2, $f0 +/* 183A4C 8025516C 44021000 */ mfc1 $v0, $f2 +/* 183A50 80255170 00000000 */ nop +/* 183A54 80255174 A462081C */ sh $v0, 0x81c($v1) +/* 183A58 80255178 C6400060 */ lwc1 $f0, 0x60($s2) +/* 183A5C 8025517C 4600008D */ trunc.w.s $f2, $f0 +/* 183A60 80255180 44021000 */ mfc1 $v0, $f2 +/* 183A64 80255184 00000000 */ nop +/* 183A68 80255188 A462083C */ sh $v0, 0x83c($v1) +/* 183A6C 8025518C C6A0018C */ lwc1 $f0, 0x18c($s5) +/* 183A70 80255190 4600008D */ trunc.w.s $f2, $f0 +/* 183A74 80255194 44021000 */ mfc1 $v0, $f2 +/* 183A78 80255198 00000000 */ nop +/* 183A7C 8025519C A46207DC */ sh $v0, 0x7dc($v1) +/* 183A80 802551A0 92A20169 */ lbu $v0, 0x169($s5) +/* 183A84 802551A4 02718021 */ addu $s0, $s3, $s1 +/* 183A88 802551A8 A202085C */ sb $v0, 0x85c($s0) +/* 183A8C 802551AC 92A2016B */ lbu $v0, 0x16b($s5) +/* 183A90 802551B0 A202086C */ sb $v0, 0x86c($s0) +/* 183A94 802551B4 C6AC015C */ lwc1 $f12, 0x15c($s5) +/* 183A98 802551B8 0C00A6C9 */ jal clamp_angle +/* 183A9C 802551BC 2610087C */ addiu $s0, $s0, 0x87c +/* 183AA0 802551C0 46160002 */ mul.s $f0, $f0, $f22 +/* 183AA4 802551C4 00000000 */ nop +/* 183AA8 802551C8 4600A03E */ c.le.s $f20, $f0 +/* 183AAC 802551CC 00000000 */ nop +/* 183AB0 802551D0 45030005 */ bc1tl .L802551E8 +/* 183AB4 802551D4 46140001 */ sub.s $f0, $f0, $f20 +/* 183AB8 802551D8 4600008D */ trunc.w.s $f2, $f0 +/* 183ABC 802551DC 44021000 */ mfc1 $v0, $f2 +/* 183AC0 802551E0 0809547F */ j func_802551FC +/* 183AC4 802551E4 A2020000 */ sb $v0, ($s0) + +.L802551E8: +/* 183AC8 802551E8 4600008D */ trunc.w.s $f2, $f0 +/* 183ACC 802551EC 44021000 */ mfc1 $v0, $f2 +/* 183AD0 802551F0 00000000 */ nop +/* 183AD4 802551F4 00571025 */ or $v0, $v0, $s7 +/* 183AD8 802551F8 A2020000 */ sb $v0, ($s0) +func_802551FC: +/* 183ADC 802551FC 0C00A6C9 */ jal clamp_angle +/* 183AE0 80255200 C6AC0160 */ lwc1 $f12, 0x160($s5) +/* 183AE4 80255204 46160002 */ mul.s $f0, $f0, $f22 +/* 183AE8 80255208 00000000 */ nop +/* 183AEC 8025520C 02711021 */ addu $v0, $s3, $s1 +/* 183AF0 80255210 4600A03E */ c.le.s $f20, $f0 +/* 183AF4 80255214 00000000 */ nop +/* 183AF8 80255218 45010005 */ bc1t .L80255230 +/* 183AFC 8025521C 2442088C */ addiu $v0, $v0, 0x88c +/* 183B00 80255220 4600008D */ trunc.w.s $f2, $f0 +/* 183B04 80255224 44031000 */ mfc1 $v1, $f2 +/* 183B08 80255228 08095492 */ j func_80255248 +/* 183B0C 8025522C A0430000 */ sb $v1, ($v0) + +.L80255230: +/* 183B10 80255230 46140001 */ sub.s $f0, $f0, $f20 +/* 183B14 80255234 4600008D */ trunc.w.s $f2, $f0 +/* 183B18 80255238 44031000 */ mfc1 $v1, $f2 +/* 183B1C 8025523C 00000000 */ nop +/* 183B20 80255240 00771825 */ or $v1, $v1, $s7 +/* 183B24 80255244 A0430000 */ sb $v1, ($v0) +func_80255248: +/* 183B28 80255248 0C00A6C9 */ jal clamp_angle +/* 183B2C 8025524C C6AC0164 */ lwc1 $f12, 0x164($s5) +/* 183B30 80255250 46160002 */ mul.s $f0, $f0, $f22 +/* 183B34 80255254 00000000 */ nop +/* 183B38 80255258 02711021 */ addu $v0, $s3, $s1 +/* 183B3C 8025525C 4600A03E */ c.le.s $f20, $f0 +/* 183B40 80255260 00000000 */ nop +/* 183B44 80255264 45010005 */ bc1t .L8025527C +/* 183B48 80255268 2442089C */ addiu $v0, $v0, 0x89c +/* 183B4C 8025526C 4600008D */ trunc.w.s $f2, $f0 +/* 183B50 80255270 44031000 */ mfc1 $v1, $f2 +/* 183B54 80255274 080954A5 */ j func_80255294 +/* 183B58 80255278 A0430000 */ sb $v1, ($v0) + +.L8025527C: +/* 183B5C 8025527C 46140001 */ sub.s $f0, $f0, $f20 +/* 183B60 80255280 4600008D */ trunc.w.s $f2, $f0 +/* 183B64 80255284 44031000 */ mfc1 $v1, $f2 +/* 183B68 80255288 00000000 */ nop +/* 183B6C 8025528C 00771825 */ or $v1, $v1, $s7 +/* 183B70 80255290 A0430000 */ sb $v1, ($v0) +func_80255294: +/* 183B74 80255294 26310001 */ addiu $s1, $s1, 1 +/* 183B78 80255298 2A220010 */ slti $v0, $s1, 0x10 +/* 183B7C 8025529C 50400001 */ beql $v0, $zero, .L802552A4 +/* 183B80 802552A0 0000882D */ daddu $s1, $zero, $zero +.L802552A4: +/* 183B84 802552A4 A27107D9 */ sb $s1, 0x7d9($s3) +/* 183B88 802552A8 26940001 */ addiu $s4, $s4, 1 +func_802552AC: +/* 183B8C 802552AC 0296102A */ slt $v0, $s4, $s6 +/* 183B90 802552B0 1440FF98 */ bnez $v0, .L80255114 +/* 183B94 802552B4 00000000 */ nop +.L802552B8: +/* 183B98 802552B8 8FBF0030 */ lw $ra, 0x30($sp) +/* 183B9C 802552BC 8FB7002C */ lw $s7, 0x2c($sp) +/* 183BA0 802552C0 8FB60028 */ lw $s6, 0x28($sp) +/* 183BA4 802552C4 8FB50024 */ lw $s5, 0x24($sp) +/* 183BA8 802552C8 8FB40020 */ lw $s4, 0x20($sp) +/* 183BAC 802552CC 8FB3001C */ lw $s3, 0x1c($sp) +/* 183BB0 802552D0 8FB20018 */ lw $s2, 0x18($sp) +/* 183BB4 802552D4 8FB10014 */ lw $s1, 0x14($sp) +/* 183BB8 802552D8 8FB00010 */ lw $s0, 0x10($sp) +/* 183BBC 802552DC D7B60040 */ ldc1 $f22, 0x40($sp) +/* 183BC0 802552E0 D7B40038 */ ldc1 $f20, 0x38($sp) +/* 183BC4 802552E4 03E00008 */ jr $ra +/* 183BC8 802552E8 27BD0048 */ addiu $sp, $sp, 0x48 + +func_802552EC: +/* 183BCC 802552EC 27BDFC68 */ addiu $sp, $sp, -0x398 +/* 183BD0 802552F0 F7B60370 */ sdc1 $f22, 0x370($sp) +/* 183BD4 802552F4 4480B000 */ mtc1 $zero, $f22 +/* 183BD8 802552F8 F7B80378 */ sdc1 $f24, 0x378($sp) +/* 183BDC 802552FC 3C013F80 */ lui $at, 0x3f80 +/* 183BE0 80255300 4481C000 */ mtc1 $at, $f24 +/* 183BE4 80255304 00A0402D */ daddu $t0, $a1, $zero +/* 183BE8 80255308 AFBF0364 */ sw $ra, 0x364($sp) +/* 183BEC 8025530C AFBE0360 */ sw $fp, 0x360($sp) +/* 183BF0 80255310 AFB7035C */ sw $s7, 0x35c($sp) +/* 183BF4 80255314 AFB60358 */ sw $s6, 0x358($sp) +/* 183BF8 80255318 AFB50354 */ sw $s5, 0x354($sp) +/* 183BFC 8025531C AFB40350 */ sw $s4, 0x350($sp) +/* 183C00 80255320 AFB3034C */ sw $s3, 0x34c($sp) +/* 183C04 80255324 AFB20348 */ sw $s2, 0x348($sp) +/* 183C08 80255328 AFB10344 */ sw $s1, 0x344($sp) +/* 183C0C 8025532C AFB00340 */ sw $s0, 0x340($sp) +/* 183C10 80255330 F7BE0390 */ sdc1 $f30, 0x390($sp) +/* 183C14 80255334 F7BC0388 */ sdc1 $f28, 0x388($sp) +/* 183C18 80255338 F7BA0380 */ sdc1 $f26, 0x380($sp) +/* 183C1C 8025533C F7B40368 */ sdc1 $f20, 0x368($sp) +/* 183C20 80255340 AFA40398 */ sw $a0, 0x398($sp) +/* 183C24 80255344 AFA5039C */ sw $a1, 0x39c($sp) +/* 183C28 80255348 E7B60010 */ swc1 $f22, 0x10($sp) +/* 183C2C 8025534C 8D05015C */ lw $a1, 0x15c($t0) +/* 183C30 80255350 4406C000 */ mfc1 $a2, $f24 +/* 183C34 80255354 4407B000 */ mfc1 $a3, $f22 +/* 183C38 80255358 0C019EC8 */ jal guRotateF +/* 183C3C 8025535C 27A40018 */ addiu $a0, $sp, 0x18 +/* 183C40 80255360 8FA9039C */ lw $t1, 0x39c($sp) +/* 183C44 80255364 4406B000 */ mfc1 $a2, $f22 +/* 183C48 80255368 4407C000 */ mfc1 $a3, $f24 +/* 183C4C 8025536C 27B50058 */ addiu $s5, $sp, 0x58 +/* 183C50 80255370 E7B60010 */ swc1 $f22, 0x10($sp) +/* 183C54 80255374 8D250160 */ lw $a1, 0x160($t1) +/* 183C58 80255378 0C019EC8 */ jal guRotateF +/* 183C5C 8025537C 02A0202D */ daddu $a0, $s5, $zero +/* 183C60 80255380 8FA8039C */ lw $t0, 0x39c($sp) +/* 183C64 80255384 4406B000 */ mfc1 $a2, $f22 +/* 183C68 80255388 4407B000 */ mfc1 $a3, $f22 +/* 183C6C 8025538C 27B40098 */ addiu $s4, $sp, 0x98 +/* 183C70 80255390 E7B80010 */ swc1 $f24, 0x10($sp) +/* 183C74 80255394 8D050164 */ lw $a1, 0x164($t0) +/* 183C78 80255398 0C019EC8 */ jal guRotateF +/* 183C7C 8025539C 0280202D */ daddu $a0, $s4, $zero +/* 183C80 802553A0 27A40018 */ addiu $a0, $sp, 0x18 +/* 183C84 802553A4 02A0282D */ daddu $a1, $s5, $zero +/* 183C88 802553A8 27B30198 */ addiu $s3, $sp, 0x198 +/* 183C8C 802553AC 0C019D80 */ jal guMtxCatF +/* 183C90 802553B0 0260302D */ daddu $a2, $s3, $zero +/* 183C94 802553B4 0260202D */ daddu $a0, $s3, $zero +/* 183C98 802553B8 0280282D */ daddu $a1, $s4, $zero +/* 183C9C 802553BC 27B100D8 */ addiu $s1, $sp, 0xd8 +/* 183CA0 802553C0 0C019D80 */ jal guMtxCatF +/* 183CA4 802553C4 0220302D */ daddu $a2, $s1, $zero +/* 183CA8 802553C8 8FA9039C */ lw $t1, 0x39c($sp) +/* 183CAC 802553CC C5240170 */ lwc1 $f4, 0x170($t1) +/* 183CB0 802553D0 3C01802A */ lui $at, 0x802a +/* 183CB4 802553D4 D434D358 */ ldc1 $f20, -0x2ca8($at) +/* 183CB8 802553D8 46002121 */ cvt.d.s $f4, $f4 +/* 183CBC 802553DC 46342102 */ mul.d $f4, $f4, $f20 +/* 183CC0 802553E0 00000000 */ nop +/* 183CC4 802553E4 C5200174 */ lwc1 $f0, 0x174($t1) +/* 183CC8 802553E8 46000021 */ cvt.d.s $f0, $f0 +/* 183CCC 802553EC 46340002 */ mul.d $f0, $f0, $f20 +/* 183CD0 802553F0 00000000 */ nop +/* 183CD4 802553F4 C5220178 */ lwc1 $f2, 0x178($t1) +/* 183CD8 802553F8 460010A1 */ cvt.d.s $f2, $f2 +/* 183CDC 802553FC 46341082 */ mul.d $f2, $f2, $f20 +/* 183CE0 80255400 00000000 */ nop +/* 183CE4 80255404 C5260188 */ lwc1 $f6, 0x188($t1) +/* 183CE8 80255408 460031A1 */ cvt.d.s $f6, $f6 +/* 183CEC 8025540C 46262102 */ mul.d $f4, $f4, $f6 +/* 183CF0 80255410 00000000 */ nop +/* 183CF4 80255414 46260002 */ mul.d $f0, $f0, $f6 +/* 183CF8 80255418 00000000 */ nop +/* 183CFC 8025541C 27B00118 */ addiu $s0, $sp, 0x118 +/* 183D00 80255420 462010A0 */ cvt.s.d $f2, $f2 +/* 183D04 80255424 44071000 */ mfc1 $a3, $f2 +/* 183D08 80255428 46202120 */ cvt.s.d $f4, $f4 +/* 183D0C 8025542C 46200020 */ cvt.s.d $f0, $f0 +/* 183D10 80255430 44052000 */ mfc1 $a1, $f4 +/* 183D14 80255434 44060000 */ mfc1 $a2, $f0 +/* 183D18 80255438 0200202D */ daddu $a0, $s0, $zero +/* 183D1C 8025543C 0C019DF0 */ jal guScaleF +/* 183D20 80255440 AFA0031C */ sw $zero, 0x31c($sp) +/* 183D24 80255444 0200202D */ daddu $a0, $s0, $zero +/* 183D28 80255448 0220282D */ daddu $a1, $s1, $zero +/* 183D2C 8025544C 0C019D80 */ jal guMtxCatF +/* 183D30 80255450 27A60298 */ addiu $a2, $sp, 0x298 +/* 183D34 80255454 8FA8039C */ lw $t0, 0x39c($sp) +/* 183D38 80255458 8FA9039C */ lw $t1, 0x39c($sp) +/* 183D3C 8025545C 810801F3 */ lb $t0, 0x1f3($t0) +/* 183D40 80255460 AFA80318 */ sw $t0, 0x318($sp) +/* 183D44 80255464 8D3201F4 */ lw $s2, 0x1f4($t1) +/* 183D48 80255468 19000122 */ blez $t0, .L802558F4 +/* 183D4C 8025546C 4600B506 */ mov.s $f20, $f22 +/* 183D50 80255470 0260B82D */ daddu $s7, $s3, $zero +/* 183D54 80255474 AFB50330 */ sw $s5, 0x330($sp) +/* 183D58 80255478 AFB40334 */ sw $s4, 0x334($sp) +.L8025547C: +/* 183D5C 8025547C 8E420094 */ lw $v0, 0x94($s2) +/* 183D60 80255480 10400013 */ beqz $v0, .L802554D0 +/* 183D64 80255484 00000000 */ nop +/* 183D68 80255488 8E420000 */ lw $v0, ($s2) +/* 183D6C 8025548C 30420002 */ andi $v0, $v0, 2 +/* 183D70 80255490 1440000F */ bnez $v0, .L802554D0 +/* 183D74 80255494 00000000 */ nop +/* 183D78 80255498 8E5500C0 */ lw $s5, 0xc0($s2) +/* 183D7C 8025549C 82A208AC */ lb $v0, 0x8ac($s5) +/* 183D80 802554A0 92A308AC */ lbu $v1, 0x8ac($s5) +/* 183D84 802554A4 1040000C */ beqz $v0, .L802554D8 +/* 183D88 802554A8 2462FFFF */ addiu $v0, $v1, -1 +/* 183D8C 802554AC A2A208AC */ sb $v0, 0x8ac($s5) +/* 183D90 802554B0 00021600 */ sll $v0, $v0, 0x18 +/* 183D94 802554B4 14400008 */ bnez $v0, .L802554D8 +/* 183D98 802554B8 3C03EFFF */ lui $v1, 0xefff +/* 183D9C 802554BC 8FA8039C */ lw $t0, 0x39c($sp) +/* 183DA0 802554C0 8D020000 */ lw $v0, ($t0) +/* 183DA4 802554C4 3463FFFF */ ori $v1, $v1, 0xffff +/* 183DA8 802554C8 00431024 */ and $v0, $v0, $v1 +/* 183DAC 802554CC AD020000 */ sw $v0, ($t0) +.L802554D0: +/* 183DB0 802554D0 08095637 */ j func_802558DC +/* 183DB4 802554D4 8E52000C */ lw $s2, 0xc($s2) + +.L802554D8: +/* 183DB8 802554D8 8E430000 */ lw $v1, ($s2) +/* 183DBC 802554DC 30620001 */ andi $v0, $v1, 1 +/* 183DC0 802554E0 1440FFFB */ bnez $v0, .L802554D0 +/* 183DC4 802554E4 3C020010 */ lui $v0, 0x10 +/* 183DC8 802554E8 00621024 */ and $v0, $v1, $v0 +/* 183DCC 802554EC 10400019 */ beqz $v0, .L80255554 +/* 183DD0 802554F0 27A800D8 */ addiu $t0, $sp, 0xd8 +/* 183DD4 802554F4 8FA9039C */ lw $t1, 0x39c($sp) +/* 183DD8 802554F8 C5240170 */ lwc1 $f4, 0x170($t1) +/* 183DDC 802554FC 3C01802A */ lui $at, 0x802a +/* 183DE0 80255500 D428D360 */ ldc1 $f8, -0x2ca0($at) +/* 183DE4 80255504 46002121 */ cvt.d.s $f4, $f4 +/* 183DE8 80255508 46282102 */ mul.d $f4, $f4, $f8 +/* 183DEC 8025550C 00000000 */ nop +/* 183DF0 80255510 C5220174 */ lwc1 $f2, 0x174($t1) +/* 183DF4 80255514 460010A1 */ cvt.d.s $f2, $f2 +/* 183DF8 80255518 46281082 */ mul.d $f2, $f2, $f8 +/* 183DFC 8025551C 00000000 */ nop +/* 183E00 80255520 C5200178 */ lwc1 $f0, 0x178($t1) +/* 183E04 80255524 46000021 */ cvt.d.s $f0, $f0 +/* 183E08 80255528 46280002 */ mul.d $f0, $f0, $f8 +/* 183E0C 8025552C 00000000 */ nop +/* 183E10 80255530 46202120 */ cvt.s.d $f4, $f4 +/* 183E14 80255534 462010A0 */ cvt.s.d $f2, $f2 +/* 183E18 80255538 46200020 */ cvt.s.d $f0, $f0 +/* 183E1C 8025553C 44052000 */ mfc1 $a1, $f4 +/* 183E20 80255540 44061000 */ mfc1 $a2, $f2 +/* 183E24 80255544 44070000 */ mfc1 $a3, $f0 +/* 183E28 80255548 0C019DF0 */ jal guScaleF +/* 183E2C 8025554C 27A402D8 */ addiu $a0, $sp, 0x2d8 +/* 183E30 80255550 27A800D8 */ addiu $t0, $sp, 0xd8 +.L80255554: +/* 183E34 80255554 27A90118 */ addiu $t1, $sp, 0x118 +/* 183E38 80255558 82B407D9 */ lb $s4, 0x7d9($s5) +/* 183E3C 8025555C 27B301D8 */ addiu $s3, $sp, 0x1d8 +/* 183E40 80255560 AFA00320 */ sw $zero, 0x320($sp) +/* 183E44 80255564 AFA00324 */ sw $zero, 0x324($sp) +/* 183E48 80255568 AFA80338 */ sw $t0, 0x338($sp) +/* 183E4C 8025556C AFA9033C */ sw $t1, 0x33c($sp) +func_80255570: +.L80255570: +/* 183E50 80255570 8FA80320 */ lw $t0, 0x320($sp) +/* 183E54 80255574 2694FFFF */ addiu $s4, $s4, -1 +/* 183E58 80255578 25080001 */ addiu $t0, $t0, 1 +/* 183E5C 8025557C 06810002 */ bgez $s4, .L80255588 +/* 183E60 80255580 AFA80320 */ sw $t0, 0x320($sp) +/* 183E64 80255584 2414000F */ addiu $s4, $zero, 0xf +.L80255588: +/* 183E68 80255588 82A207D9 */ lb $v0, 0x7d9($s5) +/* 183E6C 8025558C 128200D3 */ beq $s4, $v0, .L802558DC +/* 183E70 80255590 00000000 */ nop +/* 183E74 80255594 8FA90320 */ lw $t1, 0x320($sp) +/* 183E78 80255598 29220003 */ slti $v0, $t1, 3 +/* 183E7C 8025559C 1440FFF4 */ bnez $v0, .L80255570 +/* 183E80 802555A0 00000000 */ nop +/* 183E84 802555A4 8FA80324 */ lw $t0, 0x324($sp) +/* 183E88 802555A8 AFA00320 */ sw $zero, 0x320($sp) +/* 183E8C 802555AC 82A207DA */ lb $v0, 0x7da($s5) +/* 183E90 802555B0 25080001 */ addiu $t0, $t0, 1 +/* 183E94 802555B4 0048102A */ slt $v0, $v0, $t0 +/* 183E98 802555B8 144000C8 */ bnez $v0, .L802558DC +/* 183E9C 802555BC AFA80324 */ sw $t0, 0x324($sp) +/* 183EA0 802555C0 241E0078 */ addiu $fp, $zero, 0x78 +/* 183EA4 802555C4 00142840 */ sll $a1, $s4, 1 +/* 183EA8 802555C8 02A52821 */ addu $a1, $s5, $a1 +/* 183EAC 802555CC 02B42021 */ addu $a0, $s5, $s4 +/* 183EB0 802555D0 84A207FC */ lh $v0, 0x7fc($a1) +/* 183EB4 802555D4 84A3081C */ lh $v1, 0x81c($a1) +/* 183EB8 802555D8 4482D000 */ mtc1 $v0, $f26 +/* 183EBC 802555DC 00000000 */ nop +/* 183EC0 802555E0 4680D6A0 */ cvt.s.w $f26, $f26 +/* 183EC4 802555E4 4483E000 */ mtc1 $v1, $f28 +/* 183EC8 802555E8 00000000 */ nop +/* 183ECC 802555EC 4680E720 */ cvt.s.w $f28, $f28 +/* 183ED0 802555F0 84A3083C */ lh $v1, 0x83c($a1) +/* 183ED4 802555F4 9082087C */ lbu $v0, 0x87c($a0) +/* 183ED8 802555F8 4483B000 */ mtc1 $v1, $f22 +/* 183EDC 802555FC 00000000 */ nop +/* 183EE0 80255600 4680B5A0 */ cvt.s.w $f22, $f22 +/* 183EE4 80255604 00021040 */ sll $v0, $v0, 1 +/* 183EE8 80255608 4482C000 */ mtc1 $v0, $f24 +/* 183EEC 8025560C 00000000 */ nop +/* 183EF0 80255610 4680C620 */ cvt.s.w $f24, $f24 +/* 183EF4 80255614 9083088C */ lbu $v1, 0x88c($a0) +/* 183EF8 80255618 9082089C */ lbu $v0, 0x89c($a0) +/* 183EFC 8025561C 00031840 */ sll $v1, $v1, 1 +/* 183F00 80255620 4483F000 */ mtc1 $v1, $f30 +/* 183F04 80255624 00000000 */ nop +/* 183F08 80255628 4680F7A0 */ cvt.s.w $f30, $f30 +/* 183F0C 8025562C 00021040 */ sll $v0, $v0, 1 +/* 183F10 80255630 86430098 */ lh $v1, 0x98($s2) +/* 183F14 80255634 44824000 */ mtc1 $v0, $f8 +/* 183F18 80255638 00000000 */ nop +/* 183F1C 8025563C 46804220 */ cvt.s.w $f8, $f8 +/* 183F20 80255640 E7A80328 */ swc1 $f8, 0x328($sp) +/* 183F24 80255644 84A507DC */ lh $a1, 0x7dc($a1) +/* 183F28 80255648 28620032 */ slti $v0, $v1, 0x32 +/* 183F2C 8025564C AFA5032C */ sw $a1, 0x32c($sp) +/* 183F30 80255650 8090085C */ lb $s0, 0x85c($a0) +/* 183F34 80255654 8091086C */ lb $s1, 0x86c($a0) +/* 183F38 80255658 10400004 */ beqz $v0, .L8025566C +/* 183F3C 8025565C 24160014 */ addiu $s6, $zero, 0x14 +/* 183F40 80255660 241E0032 */ addiu $fp, $zero, 0x32 +/* 183F44 80255664 080955A5 */ j func_80255694 +/* 183F48 80255668 24160008 */ addiu $s6, $zero, 8 + +.L8025566C: +/* 183F4C 8025566C 28620064 */ slti $v0, $v1, 0x64 +/* 183F50 80255670 10400004 */ beqz $v0, .L80255684 +/* 183F54 80255674 28620096 */ slti $v0, $v1, 0x96 +/* 183F58 80255678 241E0046 */ addiu $fp, $zero, 0x46 +/* 183F5C 8025567C 080955A5 */ j func_80255694 +/* 183F60 80255680 2416000A */ addiu $s6, $zero, 0xa + +.L80255684: +/* 183F64 80255684 10400003 */ beqz $v0, .L80255694 +/* 183F68 80255688 00000000 */ nop +/* 183F6C 8025568C 241E0064 */ addiu $fp, $zero, 0x64 +/* 183F70 80255690 2416000F */ addiu $s6, $zero, 0xf +func_80255694: +.L80255694: +/* 183F74 80255694 8FA8039C */ lw $t0, 0x39c($sp) +/* 183F78 80255698 8D020000 */ lw $v0, ($t0) +/* 183F7C 8025569C 30420800 */ andi $v0, $v0, 0x800 +/* 183F80 802556A0 14400015 */ bnez $v0, .L802556F8 +/* 183F84 802556A4 00101023 */ negu $v0, $s0 +/* 183F88 802556A8 44824000 */ mtc1 $v0, $f8 +/* 183F8C 802556AC 00000000 */ nop +/* 183F90 802556B0 46804220 */ cvt.s.w $f8, $f8 +/* 183F94 802556B4 00111023 */ negu $v0, $s1 +/* 183F98 802556B8 44054000 */ mfc1 $a1, $f8 +/* 183F9C 802556BC 44824000 */ mtc1 $v0, $f8 +/* 183FA0 802556C0 00000000 */ nop +/* 183FA4 802556C4 46804220 */ cvt.s.w $f8, $f8 +/* 183FA8 802556C8 4407A000 */ mfc1 $a3, $f20 +/* 183FAC 802556CC 44064000 */ mfc1 $a2, $f8 +/* 183FB0 802556D0 0C019E40 */ jal guTranslateF +/* 183FB4 802556D4 27A40218 */ addiu $a0, $sp, 0x218 +/* 183FB8 802556D8 44904000 */ mtc1 $s0, $f8 +/* 183FBC 802556DC 00000000 */ nop +/* 183FC0 802556E0 46804220 */ cvt.s.w $f8, $f8 +/* 183FC4 802556E4 44054000 */ mfc1 $a1, $f8 +/* 183FC8 802556E8 44914000 */ mtc1 $s1, $f8 +/* 183FCC 802556EC 00000000 */ nop +/* 183FD0 802556F0 080955D1 */ j func_80255744 +/* 183FD4 802556F4 46804220 */ cvt.s.w $f8, $f8 + +.L802556F8: +/* 183FD8 802556F8 44824000 */ mtc1 $v0, $f8 +/* 183FDC 802556FC 00000000 */ nop +/* 183FE0 80255700 46804220 */ cvt.s.w $f8, $f8 +/* 183FE4 80255704 44054000 */ mfc1 $a1, $f8 +/* 183FE8 80255708 44914000 */ mtc1 $s1, $f8 +/* 183FEC 8025570C 00000000 */ nop +/* 183FF0 80255710 46804220 */ cvt.s.w $f8, $f8 +/* 183FF4 80255714 4407A000 */ mfc1 $a3, $f20 +/* 183FF8 80255718 44064000 */ mfc1 $a2, $f8 +/* 183FFC 8025571C 0C019E40 */ jal guTranslateF +/* 184000 80255720 27A40218 */ addiu $a0, $sp, 0x218 +/* 184004 80255724 44904000 */ mtc1 $s0, $f8 +/* 184008 80255728 00000000 */ nop +/* 18400C 8025572C 46804220 */ cvt.s.w $f8, $f8 +/* 184010 80255730 00111023 */ negu $v0, $s1 +/* 184014 80255734 44054000 */ mfc1 $a1, $f8 +/* 184018 80255738 44824000 */ mtc1 $v0, $f8 +/* 18401C 8025573C 00000000 */ nop +/* 184020 80255740 46804220 */ cvt.s.w $f8, $f8 +func_80255744: +/* 184024 80255744 4407A000 */ mfc1 $a3, $f20 +/* 184028 80255748 44064000 */ mfc1 $a2, $f8 +/* 18402C 8025574C 0C019E40 */ jal guTranslateF +/* 184030 80255750 27A40258 */ addiu $a0, $sp, 0x258 +/* 184034 80255754 4405D000 */ mfc1 $a1, $f26 +/* 184038 80255758 4406E000 */ mfc1 $a2, $f28 +/* 18403C 8025575C 4407B000 */ mfc1 $a3, $f22 +/* 184040 80255760 0C019E40 */ jal guTranslateF +/* 184044 80255764 27A40158 */ addiu $a0, $sp, 0x158 +/* 184048 80255768 4405C000 */ mfc1 $a1, $f24 +/* 18404C 8025576C 3C063F80 */ lui $a2, 0x3f80 +/* 184050 80255770 4407A000 */ mfc1 $a3, $f20 +/* 184054 80255774 27A40018 */ addiu $a0, $sp, 0x18 +/* 184058 80255778 0C019EC8 */ jal guRotateF +/* 18405C 8025577C E7B40010 */ swc1 $f20, 0x10($sp) +/* 184060 80255780 4405F000 */ mfc1 $a1, $f30 +/* 184064 80255784 4406A000 */ mfc1 $a2, $f20 +/* 184068 80255788 3C073F80 */ lui $a3, 0x3f80 +/* 18406C 8025578C 8FA40330 */ lw $a0, 0x330($sp) +/* 184070 80255790 0C019EC8 */ jal guRotateF +/* 184074 80255794 E7B40010 */ swc1 $f20, 0x10($sp) +/* 184078 80255798 3C013F80 */ lui $at, 0x3f80 +/* 18407C 8025579C 44814000 */ mtc1 $at, $f8 +/* 184080 802557A0 8FA50328 */ lw $a1, 0x328($sp) +/* 184084 802557A4 4406A000 */ mfc1 $a2, $f20 +/* 184088 802557A8 4407A000 */ mfc1 $a3, $f20 +/* 18408C 802557AC 8FA40334 */ lw $a0, 0x334($sp) +/* 184090 802557B0 0C019EC8 */ jal guRotateF +/* 184094 802557B4 E7A80010 */ swc1 $f8, 0x10($sp) +/* 184098 802557B8 27A50018 */ addiu $a1, $sp, 0x18 +/* 18409C 802557BC 8FA40330 */ lw $a0, 0x330($sp) +/* 1840A0 802557C0 0C019D80 */ jal guMtxCatF +/* 1840A4 802557C4 02E0302D */ daddu $a2, $s7, $zero +/* 1840A8 802557C8 8FA50334 */ lw $a1, 0x334($sp) +/* 1840AC 802557CC 8FA60338 */ lw $a2, 0x338($sp) +/* 1840B0 802557D0 0C019D80 */ jal guMtxCatF +/* 1840B4 802557D4 02E0202D */ daddu $a0, $s7, $zero +/* 1840B8 802557D8 82420074 */ lb $v0, 0x74($s2) +/* 1840BC 802557DC C6420050 */ lwc1 $f2, 0x50($s2) +/* 1840C0 802557E0 44820000 */ mtc1 $v0, $f0 +/* 1840C4 802557E4 00000000 */ nop +/* 1840C8 802557E8 46800020 */ cvt.s.w $f0, $f0 +/* 1840CC 802557EC 46001082 */ mul.s $f2, $f2, $f0 +/* 1840D0 802557F0 00000000 */ nop +/* 1840D4 802557F4 8E45004C */ lw $a1, 0x4c($s2) +/* 1840D8 802557F8 8E470054 */ lw $a3, 0x54($s2) +/* 1840DC 802557FC 8FA4033C */ lw $a0, 0x33c($sp) +/* 1840E0 80255800 44061000 */ mfc1 $a2, $f2 +/* 1840E4 80255804 0C019DF0 */ jal guScaleF +/* 1840E8 80255808 00000000 */ nop +/* 1840EC 8025580C 27A50218 */ addiu $a1, $sp, 0x218 +/* 1840F0 80255810 8FA4033C */ lw $a0, 0x33c($sp) +/* 1840F4 80255814 0C019D80 */ jal guMtxCatF +/* 1840F8 80255818 0260302D */ daddu $a2, $s3, $zero +/* 1840FC 8025581C 0260202D */ daddu $a0, $s3, $zero +/* 184100 80255820 8FA50338 */ lw $a1, 0x338($sp) +/* 184104 80255824 0C019D80 */ jal guMtxCatF +/* 184108 80255828 02E0302D */ daddu $a2, $s7, $zero +/* 18410C 8025582C 02E0202D */ daddu $a0, $s7, $zero +/* 184110 80255830 27A50258 */ addiu $a1, $sp, 0x258 +/* 184114 80255834 0C019D80 */ jal guMtxCatF +/* 184118 80255838 0260302D */ daddu $a2, $s3, $zero +/* 18411C 8025583C 8E420000 */ lw $v0, ($s2) +/* 184120 80255840 3C030010 */ lui $v1, 0x10 +/* 184124 80255844 00431024 */ and $v0, $v0, $v1 +/* 184128 80255848 14400003 */ bnez $v0, .L80255858 +/* 18412C 8025584C 0260202D */ daddu $a0, $s3, $zero +/* 184130 80255850 08095617 */ j func_8025585C +/* 184134 80255854 27A50298 */ addiu $a1, $sp, 0x298 + +.L80255858: +/* 184138 80255858 27A502D8 */ addiu $a1, $sp, 0x2d8 +func_8025585C: +/* 18413C 8025585C 0C019D80 */ jal guMtxCatF +/* 184140 80255860 02E0302D */ daddu $a2, $s7, $zero +/* 184144 80255864 27A40198 */ addiu $a0, $sp, 0x198 +/* 184148 80255868 27A50158 */ addiu $a1, $sp, 0x158 +/* 18414C 8025586C 0C019D80 */ jal guMtxCatF +/* 184150 80255870 0260302D */ daddu $a2, $s3, $zero +/* 184154 80255874 8FA80324 */ lw $t0, 0x324($sp) +/* 184158 80255878 01160018 */ mult $t0, $s6 +/* 18415C 8025587C 3C118000 */ lui $s1, 0x8000 +/* 184160 80255880 8FA80398 */ lw $t0, 0x398($sp) +/* 184164 80255884 00004812 */ mflo $t1 +/* 184168 80255888 15000004 */ bnez $t0, .L8025589C +/* 18416C 8025588C 03C98023 */ subu $s0, $fp, $t1 +/* 184170 80255890 8FA5032C */ lw $a1, 0x32c($sp) +/* 184174 80255894 08095630 */ j func_802558C0 +/* 184178 80255898 0200302D */ daddu $a2, $s0, $zero + +.L8025589C: +/* 18417C 8025589C 8FA9032C */ lw $t1, 0x32c($sp) +/* 184180 802558A0 252200B4 */ addiu $v0, $t1, 0xb4 +/* 184184 802558A4 44826000 */ mtc1 $v0, $f12 +/* 184188 802558A8 00000000 */ nop +/* 18418C 802558AC 0C00A6C9 */ jal clamp_angle +/* 184190 802558B0 46806320 */ cvt.s.w $f12, $f12 +/* 184194 802558B4 4600020D */ trunc.w.s $f8, $f0 +/* 184198 802558B8 44054000 */ mfc1 $a1, $f8 +/* 18419C 802558BC 0200302D */ daddu $a2, $s0, $zero +func_802558C0: +/* 1841A0 802558C0 8E440084 */ lw $a0, 0x84($s2) +/* 1841A4 802558C4 0000382D */ daddu $a3, $zero, $zero +/* 1841A8 802558C8 AFB30010 */ sw $s3, 0x10($sp) +/* 1841AC 802558CC 0C0B78F6 */ jal func_802DE3D8 +/* 1841B0 802558D0 00912025 */ or $a0, $a0, $s1 +/* 1841B4 802558D4 0809555C */ j func_80255570 +/* 1841B8 802558D8 00000000 */ nop + +func_802558DC: +.L802558DC: +/* 1841BC 802558DC 8FA9031C */ lw $t1, 0x31c($sp) +/* 1841C0 802558E0 8FA80318 */ lw $t0, 0x318($sp) +/* 1841C4 802558E4 25290001 */ addiu $t1, $t1, 1 +/* 1841C8 802558E8 0128102A */ slt $v0, $t1, $t0 +/* 1841CC 802558EC 1440FEE3 */ bnez $v0, .L8025547C +/* 1841D0 802558F0 AFA9031C */ sw $t1, 0x31c($sp) +.L802558F4: +/* 1841D4 802558F4 8FBF0364 */ lw $ra, 0x364($sp) +/* 1841D8 802558F8 8FBE0360 */ lw $fp, 0x360($sp) +/* 1841DC 802558FC 8FB7035C */ lw $s7, 0x35c($sp) +/* 1841E0 80255900 8FB60358 */ lw $s6, 0x358($sp) +/* 1841E4 80255904 8FB50354 */ lw $s5, 0x354($sp) +/* 1841E8 80255908 8FB40350 */ lw $s4, 0x350($sp) +/* 1841EC 8025590C 8FB3034C */ lw $s3, 0x34c($sp) +/* 1841F0 80255910 8FB20348 */ lw $s2, 0x348($sp) +/* 1841F4 80255914 8FB10344 */ lw $s1, 0x344($sp) +/* 1841F8 80255918 8FB00340 */ lw $s0, 0x340($sp) +/* 1841FC 8025591C D7BE0390 */ ldc1 $f30, 0x390($sp) +/* 184200 80255920 D7BC0388 */ ldc1 $f28, 0x388($sp) +/* 184204 80255924 D7BA0380 */ ldc1 $f26, 0x380($sp) +/* 184208 80255928 D7B80378 */ ldc1 $f24, 0x378($sp) +/* 18420C 8025592C D7B60370 */ ldc1 $f22, 0x370($sp) +/* 184210 80255930 D7B40368 */ ldc1 $f20, 0x368($sp) +/* 184214 80255934 03E00008 */ jr $ra +/* 184218 80255938 27BD0398 */ addiu $sp, $sp, 0x398 + +func_8025593C: +/* 18421C 8025593C 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 184220 80255940 0080282D */ daddu $a1, $a0, $zero +/* 184224 80255944 AFBF0010 */ sw $ra, 0x10($sp) +/* 184228 80255948 0C09542F */ jal func_802550BC +/* 18422C 8025594C 0000202D */ daddu $a0, $zero, $zero +/* 184230 80255950 8FBF0010 */ lw $ra, 0x10($sp) +/* 184234 80255954 03E00008 */ jr $ra +/* 184238 80255958 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 18423C 8025595C 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 184240 80255960 0080282D */ daddu $a1, $a0, $zero +/* 184244 80255964 AFBF0010 */ sw $ra, 0x10($sp) +/* 184248 80255968 0C0954BB */ jal func_802552EC +/* 18424C 8025596C 0000202D */ daddu $a0, $zero, $zero +/* 184250 80255970 8FBF0010 */ lw $ra, 0x10($sp) +/* 184254 80255974 03E00008 */ jr $ra +/* 184258 80255978 27BD0018 */ addiu $sp, $sp, 0x18 + +func_8025597C: +/* 18425C 8025597C 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 184260 80255980 0080282D */ daddu $a1, $a0, $zero +/* 184264 80255984 AFBF0010 */ sw $ra, 0x10($sp) +/* 184268 80255988 0C09542F */ jal func_802550BC +/* 18426C 8025598C 24040001 */ addiu $a0, $zero, 1 +/* 184270 80255990 8FBF0010 */ lw $ra, 0x10($sp) +/* 184274 80255994 03E00008 */ jr $ra +/* 184278 80255998 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 18427C 8025599C 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 184280 802559A0 0080282D */ daddu $a1, $a0, $zero +/* 184284 802559A4 AFBF0010 */ sw $ra, 0x10($sp) +/* 184288 802559A8 0C0954BB */ jal func_802552EC +/* 18428C 802559AC 24040001 */ addiu $a0, $zero, 1 +/* 184290 802559B0 8FBF0010 */ lw $ra, 0x10($sp) +/* 184294 802559B4 03E00008 */ jr $ra +/* 184298 802559B8 27BD0018 */ addiu $sp, $sp, 0x18 + +func_802559BC: +/* 18429C 802559BC 27BDFFA8 */ addiu $sp, $sp, -0x58 +/* 1842A0 802559C0 AFB00028 */ sw $s0, 0x28($sp) +/* 1842A4 802559C4 AFB20030 */ sw $s2, 0x30($sp) +/* 1842A8 802559C8 00A0902D */ daddu $s2, $a1, $zero +/* 1842AC 802559CC AFB5003C */ sw $s5, 0x3c($sp) +/* 1842B0 802559D0 3C15800B */ lui $s5, 0x800b +/* 1842B4 802559D4 26B522D8 */ addiu $s5, $s5, 0x22d8 +/* 1842B8 802559D8 AFBF0040 */ sw $ra, 0x40($sp) +/* 1842BC 802559DC AFB40038 */ sw $s4, 0x38($sp) +/* 1842C0 802559E0 AFB30034 */ sw $s3, 0x34($sp) +/* 1842C4 802559E4 AFB1002C */ sw $s1, 0x2c($sp) +/* 1842C8 802559E8 F7B60050 */ sdc1 $f22, 0x50($sp) +/* 1842CC 802559EC F7B40048 */ sdc1 $f20, 0x48($sp) +/* 1842D0 802559F0 1240014F */ beqz $s2, .L80255F30 +/* 1842D4 802559F4 0080802D */ daddu $s0, $a0, $zero +/* 1842D8 802559F8 8E44042C */ lw $a0, 0x42c($s2) +/* 1842DC 802559FC 0C044181 */ jal get_shadow_by_index +/* 1842E0 80255A00 00000000 */ nop +/* 1842E4 80255A04 0040882D */ daddu $s1, $v0, $zero +/* 1842E8 80255A08 8E220000 */ lw $v0, ($s1) +/* 1842EC 80255A0C 34420001 */ ori $v0, $v0, 1 +/* 1842F0 80255A10 AE220000 */ sw $v0, ($s1) +/* 1842F4 80255A14 8E430000 */ lw $v1, ($s2) +/* 1842F8 80255A18 30620001 */ andi $v0, $v1, 1 +/* 1842FC 80255A1C 14400144 */ bnez $v0, .L80255F30 +/* 184300 80255A20 3C021000 */ lui $v0, 0x1000 +/* 184304 80255A24 00621024 */ and $v0, $v1, $v0 +/* 184308 80255A28 10400009 */ beqz $v0, .L80255A50 +/* 18430C 80255A2C 00000000 */ nop +/* 184310 80255A30 16000005 */ bnez $s0, .L80255A48 +/* 184314 80255A34 00000000 */ nop +/* 184318 80255A38 0C09564F */ jal func_8025593C +/* 18431C 80255A3C 0240202D */ daddu $a0, $s2, $zero +/* 184320 80255A40 08095694 */ j func_80255A50 +/* 184324 80255A44 00000000 */ nop + +.L80255A48: +/* 184328 80255A48 0C09565F */ jal func_8025597C +/* 18432C 80255A4C 0240202D */ daddu $a0, $s2, $zero +func_80255A50: +.L80255A50: +/* 184330 80255A50 86420150 */ lh $v0, 0x150($s2) +/* 184334 80255A54 C6420144 */ lwc1 $f2, 0x144($s2) +/* 184338 80255A58 8E430000 */ lw $v1, ($s2) +/* 18433C 80255A5C 44820000 */ mtc1 $v0, $f0 +/* 184340 80255A60 00000000 */ nop +/* 184344 80255A64 46800020 */ cvt.s.w $f0, $f0 +/* 184348 80255A68 2402000D */ addiu $v0, $zero, 0xd +/* 18434C 80255A6C 46001080 */ add.s $f2, $f2, $f0 +/* 184350 80255A70 30630800 */ andi $v1, $v1, 0x800 +/* 184354 80255A74 A6420434 */ sh $v0, 0x434($s2) +/* 184358 80255A78 14600008 */ bnez $v1, .L80255A9C +/* 18435C 80255A7C E7A20018 */ swc1 $f2, 0x18($sp) +/* 184360 80255A80 86420152 */ lh $v0, 0x152($s2) +/* 184364 80255A84 C6400148 */ lwc1 $f0, 0x148($s2) +/* 184368 80255A88 44821000 */ mtc1 $v0, $f2 +/* 18436C 80255A8C 00000000 */ nop +/* 184370 80255A90 468010A0 */ cvt.s.w $f2, $f2 +/* 184374 80255A94 080956AD */ j func_80255AB4 +/* 184378 80255A98 46020000 */ add.s $f0, $f0, $f2 + +.L80255A9C: +/* 18437C 80255A9C 86420152 */ lh $v0, 0x152($s2) +/* 184380 80255AA0 C6400148 */ lwc1 $f0, 0x148($s2) +/* 184384 80255AA4 44821000 */ mtc1 $v0, $f2 +/* 184388 80255AA8 00000000 */ nop +/* 18438C 80255AAC 468010A0 */ cvt.s.w $f2, $f2 +/* 184390 80255AB0 46020001 */ sub.s $f0, $f0, $f2 +func_80255AB4: +/* 184394 80255AB4 E7A0001C */ swc1 $f0, 0x1c($sp) +/* 184398 80255AB8 86420154 */ lh $v0, 0x154($s2) +/* 18439C 80255ABC C642014C */ lwc1 $f2, 0x14c($s2) +/* 1843A0 80255AC0 44820000 */ mtc1 $v0, $f0 +/* 1843A4 80255AC4 00000000 */ nop +/* 1843A8 80255AC8 46800020 */ cvt.s.w $f0, $f0 +/* 1843AC 80255ACC 46001080 */ add.s $f2, $f2, $f0 +/* 1843B0 80255AD0 E7A20020 */ swc1 $f2, 0x20($sp) +/* 1843B4 80255AD4 825401F3 */ lb $s4, 0x1f3($s2) +/* 1843B8 80255AD8 8E5001F4 */ lw $s0, 0x1f4($s2) +/* 1843BC 80255ADC 1A8000B0 */ blez $s4, .L80255DA0 +/* 1843C0 80255AE0 0000982D */ daddu $s3, $zero, $zero +/* 1843C4 80255AE4 3C014028 */ lui $at, 0x4028 +/* 1843C8 80255AE8 4481B800 */ mtc1 $at, $f23 +/* 1843CC 80255AEC 4480B000 */ mtc1 $zero, $f22 +.L80255AF0: +/* 1843D0 80255AF0 8E020000 */ lw $v0, ($s0) +/* 1843D4 80255AF4 30420001 */ andi $v0, $v0, 1 +/* 1843D8 80255AF8 144000A4 */ bnez $v0, .L80255D8C +/* 1843DC 80255AFC 00000000 */ nop +/* 1843E0 80255B00 8E020094 */ lw $v0, 0x94($s0) +/* 1843E4 80255B04 104000A1 */ beqz $v0, .L80255D8C +/* 1843E8 80255B08 00000000 */ nop +/* 1843EC 80255B0C 8E040084 */ lw $a0, 0x84($s0) +/* 1843F0 80255B10 04800007 */ bltz $a0, .L80255B30 +/* 1843F4 80255B14 00000000 */ nop +/* 1843F8 80255B18 8E050088 */ lw $a1, 0x88($s0) +/* 1843FC 80255B1C 0C0B78AB */ jal func_802DE2AC +/* 184400 80255B20 8E060090 */ lw $a2, 0x90($s0) +/* 184404 80255B24 0C0B7972 */ jal func_802DE5C8 +/* 184408 80255B28 8E040084 */ lw $a0, 0x84($s0) +/* 18440C 80255B2C AE02008C */ sw $v0, 0x8c($s0) +.L80255B30: +/* 184410 80255B30 8E020000 */ lw $v0, ($s0) +/* 184414 80255B34 3C030010 */ lui $v1, 0x10 +/* 184418 80255B38 00431024 */ and $v0, $v0, $v1 +/* 18441C 80255B3C 14400031 */ bnez $v0, .L80255C04 +/* 184420 80255B40 00000000 */ nop +/* 184424 80255B44 86020014 */ lh $v0, 0x14($s0) +/* 184428 80255B48 C7A00018 */ lwc1 $f0, 0x18($sp) +/* 18442C 80255B4C 44821000 */ mtc1 $v0, $f2 +/* 184430 80255B50 00000000 */ nop +/* 184434 80255B54 468010A0 */ cvt.s.w $f2, $f2 +/* 184438 80255B58 8602001A */ lh $v0, 0x1a($s0) +/* 18443C 80255B5C 46020000 */ add.s $f0, $f0, $f2 +/* 184440 80255B60 44821000 */ mtc1 $v0, $f2 +/* 184444 80255B64 00000000 */ nop +/* 184448 80255B68 468010A0 */ cvt.s.w $f2, $f2 +/* 18444C 80255B6C 8E420000 */ lw $v0, ($s2) +/* 184450 80255B70 30420800 */ andi $v0, $v0, 0x800 +/* 184454 80255B74 1440000D */ bnez $v0, .L80255BAC +/* 184458 80255B78 46020180 */ add.s $f6, $f0, $f2 +/* 18445C 80255B7C 86020016 */ lh $v0, 0x16($s0) +/* 184460 80255B80 C7A2001C */ lwc1 $f2, 0x1c($sp) +/* 184464 80255B84 44820000 */ mtc1 $v0, $f0 +/* 184468 80255B88 00000000 */ nop +/* 18446C 80255B8C 46800020 */ cvt.s.w $f0, $f0 +/* 184470 80255B90 8602001C */ lh $v0, 0x1c($s0) +/* 184474 80255B94 46001080 */ add.s $f2, $f2, $f0 +/* 184478 80255B98 44820000 */ mtc1 $v0, $f0 +/* 18447C 80255B9C 00000000 */ nop +/* 184480 80255BA0 46800020 */ cvt.s.w $f0, $f0 +/* 184484 80255BA4 080956F6 */ j func_80255BD8 +/* 184488 80255BA8 46001100 */ add.s $f4, $f2, $f0 + +.L80255BAC: +/* 18448C 80255BAC 86020016 */ lh $v0, 0x16($s0) +/* 184490 80255BB0 C7A2001C */ lwc1 $f2, 0x1c($sp) +/* 184494 80255BB4 44820000 */ mtc1 $v0, $f0 +/* 184498 80255BB8 00000000 */ nop +/* 18449C 80255BBC 46800020 */ cvt.s.w $f0, $f0 +/* 1844A0 80255BC0 8602001C */ lh $v0, 0x1c($s0) +/* 1844A4 80255BC4 46001081 */ sub.s $f2, $f2, $f0 +/* 1844A8 80255BC8 44820000 */ mtc1 $v0, $f0 +/* 1844AC 80255BCC 00000000 */ nop +/* 1844B0 80255BD0 46800020 */ cvt.s.w $f0, $f0 +/* 1844B4 80255BD4 46001101 */ sub.s $f4, $f2, $f0 +func_80255BD8: +/* 1844B8 80255BD8 C640018C */ lwc1 $f0, 0x18c($s2) +/* 1844BC 80255BDC 86020018 */ lh $v0, 0x18($s0) +/* 1844C0 80255BE0 C7A20020 */ lwc1 $f2, 0x20($sp) +/* 1844C4 80255BE4 46000506 */ mov.s $f20, $f0 +/* 1844C8 80255BE8 44820000 */ mtc1 $v0, $f0 +/* 1844CC 80255BEC 00000000 */ nop +/* 1844D0 80255BF0 46800020 */ cvt.s.w $f0, $f0 +/* 1844D4 80255BF4 8602001E */ lh $v0, 0x1e($s0) +/* 1844D8 80255BF8 46001080 */ add.s $f2, $f2, $f0 +/* 1844DC 80255BFC 08095710 */ j func_80255C40 +/* 1844E0 80255C00 E6140064 */ swc1 $f20, 0x64($s0) + +.L80255C04: +/* 1844E4 80255C04 C6140064 */ lwc1 $f20, 0x64($s0) +/* 1844E8 80255C08 8602001A */ lh $v0, 0x1a($s0) +/* 1844EC 80255C0C C602002C */ lwc1 $f2, 0x2c($s0) +/* 1844F0 80255C10 44820000 */ mtc1 $v0, $f0 +/* 1844F4 80255C14 00000000 */ nop +/* 1844F8 80255C18 46800020 */ cvt.s.w $f0, $f0 +/* 1844FC 80255C1C 46001180 */ add.s $f6, $f2, $f0 +/* 184500 80255C20 8602001C */ lh $v0, 0x1c($s0) +/* 184504 80255C24 C6020030 */ lwc1 $f2, 0x30($s0) +/* 184508 80255C28 44820000 */ mtc1 $v0, $f0 +/* 18450C 80255C2C 00000000 */ nop +/* 184510 80255C30 46800020 */ cvt.s.w $f0, $f0 +/* 184514 80255C34 46001100 */ add.s $f4, $f2, $f0 +/* 184518 80255C38 8602001E */ lh $v0, 0x1e($s0) +/* 18451C 80255C3C C6020034 */ lwc1 $f2, 0x34($s0) +func_80255C40: +/* 184520 80255C40 44820000 */ mtc1 $v0, $f0 +/* 184524 80255C44 00000000 */ nop +/* 184528 80255C48 46800020 */ cvt.s.w $f0, $f0 +/* 18452C 80255C4C 46001080 */ add.s $f2, $f2, $f0 +/* 184530 80255C50 8E020000 */ lw $v0, ($s0) +/* 184534 80255C54 E6060058 */ swc1 $f6, 0x58($s0) +/* 184538 80255C58 E604005C */ swc1 $f4, 0x5c($s0) +/* 18453C 80255C5C 30420004 */ andi $v0, $v0, 4 +/* 184540 80255C60 14400041 */ bnez $v0, .L80255D68 +/* 184544 80255C64 E6020060 */ swc1 $f2, 0x60($s0) +/* 184548 80255C68 8E04009C */ lw $a0, 0x9c($s0) +/* 18454C 80255C6C 0C044181 */ jal get_shadow_by_index +/* 184550 80255C70 00000000 */ nop +/* 184554 80255C74 0040882D */ daddu $s1, $v0, $zero +/* 184558 80255C78 8E220000 */ lw $v0, ($s1) +/* 18455C 80255C7C 2403FFFE */ addiu $v1, $zero, -2 +/* 184560 80255C80 00431024 */ and $v0, $v0, $v1 +/* 184564 80255C84 AE220000 */ sw $v0, ($s1) +/* 184568 80255C88 8E420000 */ lw $v0, ($s2) +/* 18456C 80255C8C C6000058 */ lwc1 $f0, 0x58($s0) +/* 184570 80255C90 30420800 */ andi $v0, $v0, 0x800 +/* 184574 80255C94 14400005 */ bnez $v0, .L80255CAC +/* 184578 80255C98 E7A00018 */ swc1 $f0, 0x18($sp) +/* 18457C 80255C9C C600005C */ lwc1 $f0, 0x5c($s0) +/* 184580 80255CA0 46000021 */ cvt.d.s $f0, $f0 +/* 184584 80255CA4 0809572E */ j func_80255CB8 +/* 184588 80255CA8 46360000 */ add.d $f0, $f0, $f22 + +.L80255CAC: +/* 18458C 80255CAC C600005C */ lwc1 $f0, 0x5c($s0) +/* 184590 80255CB0 46000021 */ cvt.d.s $f0, $f0 +/* 184594 80255CB4 46360001 */ sub.d $f0, $f0, $f22 +func_80255CB8: +/* 184598 80255CB8 46200020 */ cvt.s.d $f0, $f0 +/* 18459C 80255CBC E7A0001C */ swc1 $f0, 0x1c($sp) +/* 1845A0 80255CC0 0000202D */ daddu $a0, $zero, $zero +/* 1845A4 80255CC4 27A50018 */ addiu $a1, $sp, 0x18 +/* 1845A8 80255CC8 27A6001C */ addiu $a2, $sp, 0x1c +/* 1845AC 80255CCC 27A70020 */ addiu $a3, $sp, 0x20 +/* 1845B0 80255CD0 C6000060 */ lwc1 $f0, 0x60($s0) +/* 1845B4 80255CD4 3C0146FF */ lui $at, 0x46ff +/* 1845B8 80255CD8 3421FE00 */ ori $at, $at, 0xfe00 +/* 1845BC 80255CDC 44811000 */ mtc1 $at, $f2 +/* 1845C0 80255CE0 27A20024 */ addiu $v0, $sp, 0x24 +/* 1845C4 80255CE4 E7A00020 */ swc1 $f0, 0x20($sp) +/* 1845C8 80255CE8 E7A20024 */ swc1 $f2, 0x24($sp) +/* 1845CC 80255CEC 0C0372DF */ jal func_800DCB7C +/* 1845D0 80255CF0 AFA20010 */ sw $v0, 0x10($sp) +/* 1845D4 80255CF4 C7A20024 */ lwc1 $f2, 0x24($sp) +/* 1845D8 80255CF8 3C014348 */ lui $at, 0x4348 +/* 1845DC 80255CFC 44810000 */ mtc1 $at, $f0 +/* 1845E0 80255D00 00000000 */ nop +/* 1845E4 80255D04 4602003C */ c.lt.s $f0, $f2 +/* 1845E8 80255D08 00000000 */ nop +/* 1845EC 80255D0C 45000004 */ bc1f .L80255D20 +/* 1845F0 80255D10 00000000 */ nop +/* 1845F4 80255D14 8E220000 */ lw $v0, ($s1) +/* 1845F8 80255D18 34420001 */ ori $v0, $v0, 1 +/* 1845FC 80255D1C AE220000 */ sw $v0, ($s1) +.L80255D20: +/* 184600 80255D20 C7A00018 */ lwc1 $f0, 0x18($sp) +/* 184604 80255D24 C7A2001C */ lwc1 $f2, 0x1c($sp) +/* 184608 80255D28 C7A40020 */ lwc1 $f4, 0x20($sp) +/* 18460C 80255D2C E6200010 */ swc1 $f0, 0x10($s1) +/* 184610 80255D30 E6220014 */ swc1 $f2, 0x14($s1) +/* 184614 80255D34 E6240018 */ swc1 $f4, 0x18($s1) +/* 184618 80255D38 C6AC006C */ lwc1 $f12, 0x6c($s5) +/* 18461C 80255D3C 0C00A6C9 */ jal clamp_angle +/* 184620 80255D40 460CA301 */ sub.s $f12, $f20, $f12 +/* 184624 80255D44 8FA50024 */ lw $a1, 0x24($sp) +/* 184628 80255D48 0220202D */ daddu $a0, $s1, $zero +/* 18462C 80255D4C 0C044A17 */ jal set_standard_shadow_scale +/* 184630 80255D50 E620002C */ swc1 $f0, 0x2c($s1) +/* 184634 80255D54 C620001C */ lwc1 $f0, 0x1c($s1) +/* 184638 80255D58 C60200A0 */ lwc1 $f2, 0xa0($s0) +/* 18463C 80255D5C 46020002 */ mul.s $f0, $f0, $f2 +/* 184640 80255D60 00000000 */ nop +/* 184644 80255D64 E620001C */ swc1 $f0, 0x1c($s1) +.L80255D68: +/* 184648 80255D68 86020098 */ lh $v0, 0x98($s0) +/* 18464C 80255D6C 284200FF */ slti $v0, $v0, 0xff +/* 184650 80255D70 14400005 */ bnez $v0, .L80255D88 +/* 184654 80255D74 24020022 */ addiu $v0, $zero, 0x22 +/* 184658 80255D78 8E020000 */ lw $v0, ($s0) +/* 18465C 80255D7C 30420100 */ andi $v0, $v0, 0x100 +/* 184660 80255D80 10400002 */ beqz $v0, .L80255D8C +/* 184664 80255D84 24020022 */ addiu $v0, $zero, 0x22 +.L80255D88: +/* 184668 80255D88 A6420434 */ sh $v0, 0x434($s2) +.L80255D8C: +/* 18466C 80255D8C 8E10000C */ lw $s0, 0xc($s0) +/* 184670 80255D90 26730001 */ addiu $s3, $s3, 1 +/* 184674 80255D94 0274102A */ slt $v0, $s3, $s4 +/* 184678 80255D98 1440FF55 */ bnez $v0, .L80255AF0 +/* 18467C 80255D9C 00000000 */ nop +.L80255DA0: +/* 184680 80255DA0 0C044181 */ jal get_shadow_by_index +/* 184684 80255DA4 8E44042C */ lw $a0, 0x42c($s2) +/* 184688 80255DA8 8E430000 */ lw $v1, ($s2) +/* 18468C 80255DAC 30630004 */ andi $v1, $v1, 4 +/* 184690 80255DB0 14600005 */ bnez $v1, .L80255DC8 +/* 184694 80255DB4 0040882D */ daddu $s1, $v0, $zero +/* 184698 80255DB8 8E220000 */ lw $v0, ($s1) +/* 18469C 80255DBC 2403FFFE */ addiu $v1, $zero, -2 +/* 1846A0 80255DC0 00431024 */ and $v0, $v0, $v1 +/* 1846A4 80255DC4 AE220000 */ sw $v0, ($s1) +.L80255DC8: +/* 1846A8 80255DC8 86420150 */ lh $v0, 0x150($s2) +/* 1846AC 80255DCC C6400144 */ lwc1 $f0, 0x144($s2) +/* 1846B0 80255DD0 44821000 */ mtc1 $v0, $f2 +/* 1846B4 80255DD4 00000000 */ nop +/* 1846B8 80255DD8 468010A0 */ cvt.s.w $f2, $f2 +/* 1846BC 80255DDC 46020000 */ add.s $f0, $f0, $f2 +/* 1846C0 80255DE0 8E420000 */ lw $v0, ($s2) +/* 1846C4 80255DE4 30420800 */ andi $v0, $v0, 0x800 +/* 1846C8 80255DE8 14400008 */ bnez $v0, .L80255E0C +/* 1846CC 80255DEC E7A00018 */ swc1 $f0, 0x18($sp) +/* 1846D0 80255DF0 86420152 */ lh $v0, 0x152($s2) +/* 1846D4 80255DF4 C6400148 */ lwc1 $f0, 0x148($s2) +/* 1846D8 80255DF8 44821000 */ mtc1 $v0, $f2 +/* 1846DC 80255DFC 00000000 */ nop +/* 1846E0 80255E00 468010A0 */ cvt.s.w $f2, $f2 +/* 1846E4 80255E04 08095789 */ j func_80255E24 +/* 1846E8 80255E08 46020000 */ add.s $f0, $f0, $f2 + +.L80255E0C: +/* 1846EC 80255E0C 86420152 */ lh $v0, 0x152($s2) +/* 1846F0 80255E10 C6400148 */ lwc1 $f0, 0x148($s2) +/* 1846F4 80255E14 44821000 */ mtc1 $v0, $f2 +/* 1846F8 80255E18 00000000 */ nop +/* 1846FC 80255E1C 468010A0 */ cvt.s.w $f2, $f2 +/* 184700 80255E20 46020001 */ sub.s $f0, $f0, $f2 +func_80255E24: +/* 184704 80255E24 3C014028 */ lui $at, 0x4028 +/* 184708 80255E28 44811800 */ mtc1 $at, $f3 +/* 18470C 80255E2C 44801000 */ mtc1 $zero, $f2 +/* 184710 80255E30 46000021 */ cvt.d.s $f0, $f0 +/* 184714 80255E34 46220000 */ add.d $f0, $f0, $f2 +/* 184718 80255E38 46200020 */ cvt.s.d $f0, $f0 +/* 18471C 80255E3C E7A0001C */ swc1 $f0, 0x1c($sp) +/* 184720 80255E40 0000202D */ daddu $a0, $zero, $zero +/* 184724 80255E44 27A50018 */ addiu $a1, $sp, 0x18 +/* 184728 80255E48 27A6001C */ addiu $a2, $sp, 0x1c +/* 18472C 80255E4C 27A70020 */ addiu $a3, $sp, 0x20 +/* 184730 80255E50 86420154 */ lh $v0, 0x154($s2) +/* 184734 80255E54 C642014C */ lwc1 $f2, 0x14c($s2) +/* 184738 80255E58 44820000 */ mtc1 $v0, $f0 +/* 18473C 80255E5C 00000000 */ nop +/* 184740 80255E60 46800020 */ cvt.s.w $f0, $f0 +/* 184744 80255E64 46001080 */ add.s $f2, $f2, $f0 +/* 184748 80255E68 3C0146FF */ lui $at, 0x46ff +/* 18474C 80255E6C 3421FE00 */ ori $at, $at, 0xfe00 +/* 184750 80255E70 44810000 */ mtc1 $at, $f0 +/* 184754 80255E74 27A20024 */ addiu $v0, $sp, 0x24 +/* 184758 80255E78 E7A00024 */ swc1 $f0, 0x24($sp) +/* 18475C 80255E7C E7A20020 */ swc1 $f2, 0x20($sp) +/* 184760 80255E80 0C0372DF */ jal func_800DCB7C +/* 184764 80255E84 AFA20010 */ sw $v0, 0x10($sp) +/* 184768 80255E88 C7A20024 */ lwc1 $f2, 0x24($sp) +/* 18476C 80255E8C 3C014348 */ lui $at, 0x4348 +/* 184770 80255E90 44810000 */ mtc1 $at, $f0 +/* 184774 80255E94 00000000 */ nop +/* 184778 80255E98 4602003C */ c.lt.s $f0, $f2 +/* 18477C 80255E9C 00000000 */ nop +/* 184780 80255EA0 45000004 */ bc1f .L80255EB4 +/* 184784 80255EA4 00000000 */ nop +/* 184788 80255EA8 8E220000 */ lw $v0, ($s1) +/* 18478C 80255EAC 34420001 */ ori $v0, $v0, 1 +/* 184790 80255EB0 AE220000 */ sw $v0, ($s1) +.L80255EB4: +/* 184794 80255EB4 C7A00018 */ lwc1 $f0, 0x18($sp) +/* 184798 80255EB8 C7A2001C */ lwc1 $f2, 0x1c($sp) +/* 18479C 80255EBC E6200010 */ swc1 $f0, 0x10($s1) +/* 1847A0 80255EC0 E6220014 */ swc1 $f2, 0x14($s1) +/* 1847A4 80255EC4 92420136 */ lbu $v0, 0x136($s2) +/* 1847A8 80255EC8 00021080 */ sll $v0, $v0, 2 +/* 1847AC 80255ECC 3C018028 */ lui $at, 0x8028 +/* 1847B0 80255ED0 00220821 */ addu $at, $at, $v0 +/* 1847B4 80255ED4 80222EEB */ lb $v0, 0x2eeb($at) +/* 1847B8 80255ED8 C7A00020 */ lwc1 $f0, 0x20($sp) +/* 1847BC 80255EDC 44821000 */ mtc1 $v0, $f2 +/* 1847C0 80255EE0 00000000 */ nop +/* 1847C4 80255EE4 468010A0 */ cvt.s.w $f2, $f2 +/* 1847C8 80255EE8 46020000 */ add.s $f0, $f0, $f2 +/* 1847CC 80255EEC E6200018 */ swc1 $f0, 0x18($s1) +/* 1847D0 80255EF0 C640018C */ lwc1 $f0, 0x18c($s2) +/* 1847D4 80255EF4 C6AC006C */ lwc1 $f12, 0x6c($s5) +/* 1847D8 80255EF8 0C00A6C9 */ jal clamp_angle +/* 1847DC 80255EFC 460C0301 */ sub.s $f12, $f0, $f12 +/* 1847E0 80255F00 8FA50024 */ lw $a1, 0x24($sp) +/* 1847E4 80255F04 0220202D */ daddu $a0, $s1, $zero +/* 1847E8 80255F08 0C044A17 */ jal set_standard_shadow_scale +/* 1847EC 80255F0C E620002C */ swc1 $f0, 0x2c($s1) +/* 1847F0 80255F10 C6420430 */ lwc1 $f2, 0x430($s2) +/* 1847F4 80255F14 C6400188 */ lwc1 $f0, 0x188($s2) +/* 1847F8 80255F18 46001082 */ mul.s $f2, $f2, $f0 +/* 1847FC 80255F1C 00000000 */ nop +/* 184800 80255F20 C620001C */ lwc1 $f0, 0x1c($s1) +/* 184804 80255F24 46020002 */ mul.s $f0, $f0, $f2 +/* 184808 80255F28 00000000 */ nop +/* 18480C 80255F2C E620001C */ swc1 $f0, 0x1c($s1) +.L80255F30: +/* 184810 80255F30 8FBF0040 */ lw $ra, 0x40($sp) +/* 184814 80255F34 8FB5003C */ lw $s5, 0x3c($sp) +/* 184818 80255F38 8FB40038 */ lw $s4, 0x38($sp) +/* 18481C 80255F3C 8FB30034 */ lw $s3, 0x34($sp) +/* 184820 80255F40 8FB20030 */ lw $s2, 0x30($sp) +/* 184824 80255F44 8FB1002C */ lw $s1, 0x2c($sp) +/* 184828 80255F48 8FB00028 */ lw $s0, 0x28($sp) +/* 18482C 80255F4C D7B60050 */ ldc1 $f22, 0x50($sp) +/* 184830 80255F50 D7B40048 */ ldc1 $f20, 0x48($sp) +/* 184834 80255F54 03E00008 */ jr $ra +/* 184838 80255F58 27BD0058 */ addiu $sp, $sp, 0x58 + +func_80255F5C: +/* 18483C 80255F5C 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 184840 80255F60 AFB10014 */ sw $s1, 0x14($sp) +/* 184844 80255F64 0000882D */ daddu $s1, $zero, $zero +/* 184848 80255F68 AFB00010 */ sw $s0, 0x10($sp) +/* 18484C 80255F6C 3C10800E */ lui $s0, 0x800e +/* 184850 80255F70 2610C070 */ addiu $s0, $s0, -0x3f90 +/* 184854 80255F74 AFBF0018 */ sw $ra, 0x18($sp) +.L80255F78: +/* 184858 80255F78 8E0500E0 */ lw $a1, 0xe0($s0) +/* 18485C 80255F7C 26100004 */ addiu $s0, $s0, 4 +/* 184860 80255F80 26310001 */ addiu $s1, $s1, 1 +/* 184864 80255F84 0C09566F */ jal func_802559BC +/* 184868 80255F88 0000202D */ daddu $a0, $zero, $zero +/* 18486C 80255F8C 2A220018 */ slti $v0, $s1, 0x18 +/* 184870 80255F90 1440FFF9 */ bnez $v0, .L80255F78 +/* 184874 80255F94 00000000 */ nop +/* 184878 80255F98 8FBF0018 */ lw $ra, 0x18($sp) +/* 18487C 80255F9C 8FB10014 */ lw $s1, 0x14($sp) +/* 184880 80255FA0 8FB00010 */ lw $s0, 0x10($sp) +/* 184884 80255FA4 03E00008 */ jr $ra +/* 184888 80255FA8 27BD0020 */ addiu $sp, $sp, 0x20 + +func_80255FAC: +/* 18488C 80255FAC 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 184890 80255FB0 3C05800E */ lui $a1, 0x800e +/* 184894 80255FB4 8CA5C14C */ lw $a1, -0x3eb4($a1) +/* 184898 80255FB8 AFBF0010 */ sw $ra, 0x10($sp) +/* 18489C 80255FBC 0C09566F */ jal func_802559BC +/* 1848A0 80255FC0 24040001 */ addiu $a0, $zero, 1 +/* 1848A4 80255FC4 0C095EEB */ jal func_80257BAC +/* 1848A8 80255FC8 00000000 */ nop +/* 1848AC 80255FCC 8FBF0010 */ lw $ra, 0x10($sp) +/* 1848B0 80255FD0 03E00008 */ jr $ra +/* 1848B4 80255FD4 27BD0018 */ addiu $sp, $sp, 0x18 + +func_80255FD8: +/* 1848B8 80255FD8 03E00008 */ jr $ra +/* 1848BC 80255FDC 00000000 */ nop + +func_80255FE0: +/* 1848C0 80255FE0 27BDFC30 */ addiu $sp, $sp, -0x3d0 +/* 1848C4 80255FE4 3C03800E */ lui $v1, 0x800e +/* 1848C8 80255FE8 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 1848CC 80255FEC 0060102D */ daddu $v0, $v1, $zero +/* 1848D0 80255FF0 AFBF039C */ sw $ra, 0x39c($sp) +/* 1848D4 80255FF4 AFBE0398 */ sw $fp, 0x398($sp) +/* 1848D8 80255FF8 AFB70394 */ sw $s7, 0x394($sp) +/* 1848DC 80255FFC AFB60390 */ sw $s6, 0x390($sp) +/* 1848E0 80256000 AFB5038C */ sw $s5, 0x38c($sp) +/* 1848E4 80256004 AFB40388 */ sw $s4, 0x388($sp) +/* 1848E8 80256008 AFB30384 */ sw $s3, 0x384($sp) +/* 1848EC 8025600C AFB20380 */ sw $s2, 0x380($sp) +/* 1848F0 80256010 AFB1037C */ sw $s1, 0x37c($sp) +/* 1848F4 80256014 AFB00378 */ sw $s0, 0x378($sp) +/* 1848F8 80256018 F7BE03C8 */ sdc1 $f30, 0x3c8($sp) +/* 1848FC 8025601C F7BC03C0 */ sdc1 $f28, 0x3c0($sp) +/* 184900 80256020 F7BA03B8 */ sdc1 $f26, 0x3b8($sp) +/* 184904 80256024 F7B803B0 */ sdc1 $f24, 0x3b0($sp) +/* 184908 80256028 F7B603A8 */ sdc1 $f22, 0x3a8($sp) +/* 18490C 8025602C F7B403A0 */ sdc1 $f20, 0x3a0($sp) +/* 184910 80256030 14800005 */ bnez $a0, .L80256048 +/* 184914 80256034 AFA403D0 */ sw $a0, 0x3d0($sp) +/* 184918 80256038 00051080 */ sll $v0, $a1, 2 +/* 18491C 8025603C 00431021 */ addu $v0, $v0, $v1 +/* 184920 80256040 08095813 */ j func_8025604C +/* 184924 80256044 8C5200E0 */ lw $s2, 0xe0($v0) + +.L80256048: +/* 184928 80256048 8C5200DC */ lw $s2, 0xdc($v0) +func_8025604C: +/* 18492C 8025604C 86420150 */ lh $v0, 0x150($s2) +/* 184930 80256050 C6400144 */ lwc1 $f0, 0x144($s2) +/* 184934 80256054 44821000 */ mtc1 $v0, $f2 +/* 184938 80256058 00000000 */ nop +/* 18493C 8025605C 468010A0 */ cvt.s.w $f2, $f2 +/* 184940 80256060 46020000 */ add.s $f0, $f0, $f2 +/* 184944 80256064 8E420000 */ lw $v0, ($s2) +/* 184948 80256068 30420800 */ andi $v0, $v0, 0x800 +/* 18494C 8025606C 14400009 */ bnez $v0, .L80256094 +/* 184950 80256070 E7A00364 */ swc1 $f0, 0x364($sp) +/* 184954 80256074 86420152 */ lh $v0, 0x152($s2) +/* 184958 80256078 C6400148 */ lwc1 $f0, 0x148($s2) +/* 18495C 8025607C 44821000 */ mtc1 $v0, $f2 +/* 184960 80256080 00000000 */ nop +/* 184964 80256084 468010A0 */ cvt.s.w $f2, $f2 +/* 184968 80256088 8242019A */ lb $v0, 0x19a($s2) +/* 18496C 8025608C 0809582C */ j func_802560B0 +/* 184970 80256090 46020000 */ add.s $f0, $f0, $f2 + +.L80256094: +/* 184974 80256094 86420152 */ lh $v0, 0x152($s2) +/* 184978 80256098 C6400148 */ lwc1 $f0, 0x148($s2) +/* 18497C 8025609C 44821000 */ mtc1 $v0, $f2 +/* 184980 802560A0 00000000 */ nop +/* 184984 802560A4 468010A0 */ cvt.s.w $f2, $f2 +/* 184988 802560A8 8242019A */ lb $v0, 0x19a($s2) +/* 18498C 802560AC 46020001 */ sub.s $f0, $f0, $f2 +func_802560B0: +/* 184990 802560B0 44821000 */ mtc1 $v0, $f2 +/* 184994 802560B4 00000000 */ nop +/* 184998 802560B8 468010A0 */ cvt.s.w $f2, $f2 +/* 18499C 802560BC 46020780 */ add.s $f30, $f0, $f2 +/* 1849A0 802560C0 8E420008 */ lw $v0, 8($s2) +/* 1849A4 802560C4 82430194 */ lb $v1, 0x194($s2) +/* 1849A8 802560C8 80420024 */ lb $v0, 0x24($v0) +/* 1849AC 802560CC C6420188 */ lwc1 $f2, 0x188($s2) +/* 1849B0 802560D0 00431021 */ addu $v0, $v0, $v1 +/* 1849B4 802560D4 44820000 */ mtc1 $v0, $f0 +/* 1849B8 802560D8 00000000 */ nop +/* 1849BC 802560DC 46800020 */ cvt.s.w $f0, $f0 +/* 1849C0 802560E0 46020002 */ mul.s $f0, $f0, $f2 +/* 1849C4 802560E4 00000000 */ nop +/* 1849C8 802560E8 C7AA0364 */ lwc1 $f10, 0x364($sp) +/* 1849CC 802560EC 86440154 */ lh $a0, 0x154($s2) +/* 1849D0 802560F0 C644014C */ lwc1 $f4, 0x14c($s2) +/* 1849D4 802560F4 8E420440 */ lw $v0, 0x440($s2) +/* 1849D8 802560F8 46005000 */ add.s $f0, $f10, $f0 +/* 1849DC 802560FC 8C42000C */ lw $v0, 0xc($v0) +/* 1849E0 80256100 E4400008 */ swc1 $f0, 8($v0) +/* 1849E4 80256104 8E420008 */ lw $v0, 8($s2) +/* 1849E8 80256108 82430195 */ lb $v1, 0x195($s2) +/* 1849EC 8025610C 80420025 */ lb $v0, 0x25($v0) +/* 1849F0 80256110 C6420188 */ lwc1 $f2, 0x188($s2) +/* 1849F4 80256114 00431021 */ addu $v0, $v0, $v1 +/* 1849F8 80256118 44820000 */ mtc1 $v0, $f0 +/* 1849FC 8025611C 00000000 */ nop +/* 184A00 80256120 46800020 */ cvt.s.w $f0, $f0 +/* 184A04 80256124 46020002 */ mul.s $f0, $f0, $f2 +/* 184A08 80256128 00000000 */ nop +/* 184A0C 8025612C 8E420440 */ lw $v0, 0x440($s2) +/* 184A10 80256130 4600F000 */ add.s $f0, $f30, $f0 +/* 184A14 80256134 8C42000C */ lw $v0, 0xc($v0) +/* 184A18 80256138 E440000C */ swc1 $f0, 0xc($v0) +/* 184A1C 8025613C 44840000 */ mtc1 $a0, $f0 +/* 184A20 80256140 00000000 */ nop +/* 184A24 80256144 46800020 */ cvt.s.w $f0, $f0 +/* 184A28 80256148 46002100 */ add.s $f4, $f4, $f0 +/* 184A2C 8025614C 8E420440 */ lw $v0, 0x440($s2) +/* 184A30 80256150 E7A40368 */ swc1 $f4, 0x368($sp) +/* 184A34 80256154 8C42000C */ lw $v0, 0xc($v0) +/* 184A38 80256158 E4440010 */ swc1 $f4, 0x10($v0) +/* 184A3C 8025615C 3C02800E */ lui $v0, 0x800e +/* 184A40 80256160 8C42C070 */ lw $v0, -0x3f90($v0) +/* 184A44 80256164 30420004 */ andi $v0, $v0, 4 +/* 184A48 80256168 1440001C */ bnez $v0, .L802561DC +/* 184A4C 8025616C 3C030800 */ lui $v1, 0x800 +/* 184A50 80256170 8E420000 */ lw $v0, ($s2) +/* 184A54 80256174 00431024 */ and $v0, $v0, $v1 +/* 184A58 80256178 10400018 */ beqz $v0, .L802561DC +/* 184A5C 8025617C 00000000 */ nop +/* 184A60 80256180 8242021D */ lb $v0, 0x21d($s2) +/* 184A64 80256184 9244021D */ lbu $a0, 0x21d($s2) +/* 184A68 80256188 10400008 */ beqz $v0, .L802561AC +/* 184A6C 8025618C 2482FFFF */ addiu $v0, $a0, -1 +/* 184A70 80256190 8E430440 */ lw $v1, 0x440($s2) +/* 184A74 80256194 3C01C47A */ lui $at, 0xc47a +/* 184A78 80256198 44810000 */ mtc1 $at, $f0 +/* 184A7C 8025619C A242021D */ sb $v0, 0x21d($s2) +/* 184A80 802561A0 8C62000C */ lw $v0, 0xc($v1) +/* 184A84 802561A4 0809587E */ j func_802561F8 +/* 184A88 802561A8 E440000C */ swc1 $f0, 0xc($v0) + +.L802561AC: +/* 184A8C 802561AC C6400188 */ lwc1 $f0, 0x188($s2) +/* 184A90 802561B0 3C013FE8 */ lui $at, 0x3fe8 +/* 184A94 802561B4 44811800 */ mtc1 $at, $f3 +/* 184A98 802561B8 44801000 */ mtc1 $zero, $f2 +/* 184A9C 802561BC 46000021 */ cvt.d.s $f0, $f0 +/* 184AA0 802561C0 46220002 */ mul.d $f0, $f0, $f2 +/* 184AA4 802561C4 00000000 */ nop +/* 184AA8 802561C8 8E420440 */ lw $v0, 0x440($s2) +/* 184AAC 802561CC 8C42000C */ lw $v0, 0xc($v0) +/* 184AB0 802561D0 46200020 */ cvt.s.d $f0, $f0 +/* 184AB4 802561D4 0809587E */ j func_802561F8 +/* 184AB8 802561D8 E4400034 */ swc1 $f0, 0x34($v0) + +.L802561DC: +/* 184ABC 802561DC 8E420440 */ lw $v0, 0x440($s2) +/* 184AC0 802561E0 3C01C47A */ lui $at, 0xc47a +/* 184AC4 802561E4 44810000 */ mtc1 $at, $f0 +/* 184AC8 802561E8 8C42000C */ lw $v0, 0xc($v0) +/* 184ACC 802561EC E440000C */ swc1 $f0, 0xc($v0) +/* 184AD0 802561F0 2402000A */ addiu $v0, $zero, 0xa +/* 184AD4 802561F4 A242021D */ sb $v0, 0x21d($s2) +func_802561F8: +/* 184AD8 802561F8 82430210 */ lb $v1, 0x210($s2) +/* 184ADC 802561FC 24020007 */ addiu $v0, $zero, 7 +/* 184AE0 80256200 1462002C */ bne $v1, $v0, .L802562B4 +/* 184AE4 80256204 00000000 */ nop +/* 184AE8 80256208 8E440228 */ lw $a0, 0x228($s2) +/* 184AEC 8025620C 10800030 */ beqz $a0, .L802562D0 +/* 184AF0 80256210 00000000 */ nop +/* 184AF4 80256214 3C03800E */ lui $v1, 0x800e +/* 184AF8 80256218 8C63C070 */ lw $v1, -0x3f90($v1) +/* 184AFC 8025621C 30620008 */ andi $v0, $v1, 8 +/* 184B00 80256220 14400007 */ bnez $v0, .L80256240 +/* 184B04 80256224 30620004 */ andi $v0, $v1, 4 +/* 184B08 80256228 14400019 */ bnez $v0, .L80256290 +/* 184B0C 8025622C 3C030800 */ lui $v1, 0x800 +/* 184B10 80256230 8E420000 */ lw $v0, ($s2) +/* 184B14 80256234 00431024 */ and $v0, $v0, $v1 +/* 184B18 80256238 10400015 */ beqz $v0, .L80256290 +/* 184B1C 8025623C 00000000 */ nop +.L80256240: +/* 184B20 80256240 8C82000C */ lw $v0, 0xc($a0) +/* 184B24 80256244 C7AA0364 */ lwc1 $f10, 0x364($sp) +/* 184B28 80256248 E44A0004 */ swc1 $f10, 4($v0) +/* 184B2C 8025624C 8C82000C */ lw $v0, 0xc($a0) +/* 184B30 80256250 E45E0008 */ swc1 $f30, 8($v0) +/* 184B34 80256254 8C82000C */ lw $v0, 0xc($a0) +/* 184B38 80256258 C7AA0368 */ lwc1 $f10, 0x368($sp) +/* 184B3C 8025625C E44A000C */ swc1 $f10, 0xc($v0) +/* 184B40 80256260 92420191 */ lbu $v0, 0x191($s2) +/* 184B44 80256264 3C014038 */ lui $at, 0x4038 +/* 184B48 80256268 44811800 */ mtc1 $at, $f3 +/* 184B4C 8025626C 44801000 */ mtc1 $zero, $f2 +/* 184B50 80256270 44820000 */ mtc1 $v0, $f0 +/* 184B54 80256274 00000000 */ nop +/* 184B58 80256278 46800021 */ cvt.d.w $f0, $f0 +/* 184B5C 8025627C 46220003 */ div.d $f0, $f0, $f2 +/* 184B60 80256280 8C82000C */ lw $v0, 0xc($a0) +/* 184B64 80256284 46200020 */ cvt.s.d $f0, $f0 +/* 184B68 80256288 080958B4 */ j func_802562D0 +/* 184B6C 8025628C E4400020 */ swc1 $f0, 0x20($v0) + +.L80256290: +/* 184B70 80256290 8C82000C */ lw $v0, 0xc($a0) +/* 184B74 80256294 3C01C47A */ lui $at, 0xc47a +/* 184B78 80256298 44810000 */ mtc1 $at, $f0 +/* 184B7C 8025629C AC400004 */ sw $zero, 4($v0) +/* 184B80 802562A0 8C82000C */ lw $v0, 0xc($a0) +/* 184B84 802562A4 E4400008 */ swc1 $f0, 8($v0) +/* 184B88 802562A8 8C82000C */ lw $v0, 0xc($a0) +/* 184B8C 802562AC 080958B4 */ j func_802562D0 +/* 184B90 802562B0 AC40000C */ sw $zero, 0xc($v0) + +.L802562B4: +/* 184B94 802562B4 8E440228 */ lw $a0, 0x228($s2) +/* 184B98 802562B8 10800005 */ beqz $a0, .L802562D0 +/* 184B9C 802562BC 00000000 */ nop +/* 184BA0 802562C0 8C820000 */ lw $v0, ($a0) +/* 184BA4 802562C4 34420010 */ ori $v0, $v0, 0x10 +/* 184BA8 802562C8 AC820000 */ sw $v0, ($a0) +/* 184BAC 802562CC AE400228 */ sw $zero, 0x228($s2) +func_802562D0: +.L802562D0: +/* 184BB0 802562D0 8E420008 */ lw $v0, 8($s2) +/* 184BB4 802562D4 82430194 */ lb $v1, 0x194($s2) +/* 184BB8 802562D8 80420024 */ lb $v0, 0x24($v0) +/* 184BBC 802562DC C6420188 */ lwc1 $f2, 0x188($s2) +/* 184BC0 802562E0 00431021 */ addu $v0, $v0, $v1 +/* 184BC4 802562E4 44820000 */ mtc1 $v0, $f0 +/* 184BC8 802562E8 00000000 */ nop +/* 184BCC 802562EC 46800020 */ cvt.s.w $f0, $f0 +/* 184BD0 802562F0 46020002 */ mul.s $f0, $f0, $f2 +/* 184BD4 802562F4 00000000 */ nop +/* 184BD8 802562F8 86440436 */ lh $a0, 0x436($s2) +/* 184BDC 802562FC 4600028D */ trunc.w.s $f10, $f0 +/* 184BE0 80256300 E7AA0010 */ swc1 $f10, 0x10($sp) +/* 184BE4 80256304 8E420008 */ lw $v0, 8($s2) +/* 184BE8 80256308 82430195 */ lb $v1, 0x195($s2) +/* 184BEC 8025630C 80420025 */ lb $v0, 0x25($v0) +/* 184BF0 80256310 C6420188 */ lwc1 $f2, 0x188($s2) +/* 184BF4 80256314 00431021 */ addu $v0, $v0, $v1 +/* 184BF8 80256318 44820000 */ mtc1 $v0, $f0 +/* 184BFC 8025631C 00000000 */ nop +/* 184C00 80256320 46800020 */ cvt.s.w $f0, $f0 +/* 184C04 80256324 46020002 */ mul.s $f0, $f0, $f2 +/* 184C08 80256328 00000000 */ nop +/* 184C0C 8025632C 4600028D */ trunc.w.s $f10, $f0 +/* 184C10 80256330 E7AA0014 */ swc1 $f10, 0x14($sp) +/* 184C14 80256334 8E420008 */ lw $v0, 8($s2) +/* 184C18 80256338 82430196 */ lb $v1, 0x196($s2) +/* 184C1C 8025633C 80420026 */ lb $v0, 0x26($v0) +/* 184C20 80256340 C6420188 */ lwc1 $f2, 0x188($s2) +/* 184C24 80256344 00431021 */ addu $v0, $v0, $v1 +/* 184C28 80256348 44820000 */ mtc1 $v0, $f0 +/* 184C2C 8025634C 00000000 */ nop +/* 184C30 80256350 46800020 */ cvt.s.w $f0, $f0 +/* 184C34 80256354 46020002 */ mul.s $f0, $f0, $f2 +/* 184C38 80256358 00000000 */ nop +/* 184C3C 8025635C 4600028D */ trunc.w.s $f10, $f0 +/* 184C40 80256360 E7AA0018 */ swc1 $f10, 0x18($sp) +/* 184C44 80256364 8E420008 */ lw $v0, 8($s2) +/* 184C48 80256368 82430197 */ lb $v1, 0x197($s2) +/* 184C4C 8025636C 80420027 */ lb $v0, 0x27($v0) +/* 184C50 80256370 C6420188 */ lwc1 $f2, 0x188($s2) +/* 184C54 80256374 00431021 */ addu $v0, $v0, $v1 +/* 184C58 80256378 44820000 */ mtc1 $v0, $f0 +/* 184C5C 8025637C 00000000 */ nop +/* 184C60 80256380 46800020 */ cvt.s.w $f0, $f0 +/* 184C64 80256384 46020002 */ mul.s $f0, $f0, $f2 +/* 184C68 80256388 00000000 */ nop +/* 184C6C 8025638C 8FA50364 */ lw $a1, 0x364($sp) +/* 184C70 80256390 4406F000 */ mfc1 $a2, $f30 +/* 184C74 80256394 8FA70368 */ lw $a3, 0x368($sp) +/* 184C78 80256398 4600028D */ trunc.w.s $f10, $f0 +/* 184C7C 8025639C 0C011DE3 */ jal func_8004778C +/* 184C80 802563A0 E7AA001C */ swc1 $f10, 0x1c($sp) +/* 184C84 802563A4 8E420000 */ lw $v0, ($s2) +/* 184C88 802563A8 30420800 */ andi $v0, $v0, 0x800 +/* 184C8C 802563AC 14400010 */ bnez $v0, .L802563F0 +/* 184C90 802563B0 00000000 */ nop +/* 184C94 802563B4 92420191 */ lbu $v0, 0x191($s2) +/* 184C98 802563B8 080958FF */ j func_802563FC +/* 184C9C 802563BC C6440188 */ lwc1 $f4, 0x188($s2) + +.L802563C0: +/* 184CA0 802563C0 C6400188 */ lwc1 $f0, 0x188($s2) +/* 184CA4 802563C4 3C01802A */ lui $at, 0x802a +/* 184CA8 802563C8 D422D368 */ ldc1 $f2, -0x2c98($at) +/* 184CAC 802563CC 46000021 */ cvt.d.s $f0, $f0 +/* 184CB0 802563D0 46201081 */ sub.d $f2, $f2, $f0 +/* 184CB4 802563D4 3C014018 */ lui $at, 0x4018 +/* 184CB8 802563D8 44812800 */ mtc1 $at, $f5 +/* 184CBC 802563DC 44802000 */ mtc1 $zero, $f4 +/* 184CC0 802563E0 00000000 */ nop +/* 184CC4 802563E4 46241083 */ div.d $f2, $f2, $f4 +/* 184CC8 802563E8 08095921 */ j func_80256484 +/* 184CCC 802563EC 46220000 */ add.d $f0, $f0, $f2 + +.L802563F0: +/* 184CD0 802563F0 92420191 */ lbu $v0, 0x191($s2) +/* 184CD4 802563F4 C6440188 */ lwc1 $f4, 0x188($s2) +/* 184CD8 802563F8 00021023 */ negu $v0, $v0 +func_802563FC: +/* 184CDC 802563FC 44821000 */ mtc1 $v0, $f2 +/* 184CE0 80256400 00000000 */ nop +/* 184CE4 80256404 468010A0 */ cvt.s.w $f2, $f2 +/* 184CE8 80256408 46041082 */ mul.s $f2, $f2, $f4 +/* 184CEC 8025640C 00000000 */ nop +/* 184CF0 80256410 92420190 */ lbu $v0, 0x190($s2) +/* 184CF4 80256414 44820000 */ mtc1 $v0, $f0 +/* 184CF8 80256418 00000000 */ nop +/* 184CFC 8025641C 46800020 */ cvt.s.w $f0, $f0 +/* 184D00 80256420 46040002 */ mul.s $f0, $f0, $f4 +/* 184D04 80256424 00000000 */ nop +/* 184D08 80256428 86440436 */ lh $a0, 0x436($s2) +/* 184D0C 8025642C 4600128D */ trunc.w.s $f10, $f2 +/* 184D10 80256430 44055000 */ mfc1 $a1, $f10 +/* 184D14 80256434 4600028D */ trunc.w.s $f10, $f0 +/* 184D18 80256438 44065000 */ mfc1 $a2, $f10 +/* 184D1C 8025643C 0C011DFD */ jal func_800477F4 +/* 184D20 80256440 00000000 */ nop +/* 184D24 80256444 82430210 */ lb $v1, 0x210($s2) +/* 184D28 80256448 2402000A */ addiu $v0, $zero, 0xa +/* 184D2C 8025644C 1062FFDC */ beq $v1, $v0, .L802563C0 +/* 184D30 80256450 00000000 */ nop +/* 184D34 80256454 C6400188 */ lwc1 $f0, 0x188($s2) +/* 184D38 80256458 3C013FF0 */ lui $at, 0x3ff0 +/* 184D3C 8025645C 44812800 */ mtc1 $at, $f5 +/* 184D40 80256460 44802000 */ mtc1 $zero, $f4 +/* 184D44 80256464 46000021 */ cvt.d.s $f0, $f0 +/* 184D48 80256468 46202101 */ sub.d $f4, $f4, $f0 +/* 184D4C 8025646C 3C014018 */ lui $at, 0x4018 +/* 184D50 80256470 44811800 */ mtc1 $at, $f3 +/* 184D54 80256474 44801000 */ mtc1 $zero, $f2 +/* 184D58 80256478 00000000 */ nop +/* 184D5C 8025647C 46222103 */ div.d $f4, $f4, $f2 +/* 184D60 80256480 46240000 */ add.d $f0, $f0, $f4 +func_80256484: +/* 184D64 80256484 46200020 */ cvt.s.d $f0, $f0 +/* 184D68 80256488 E6400188 */ swc1 $f0, 0x188($s2) +/* 184D6C 8025648C 8E420000 */ lw $v0, ($s2) +/* 184D70 80256490 30420800 */ andi $v0, $v0, 0x800 +/* 184D74 80256494 14400025 */ bnez $v0, .L8025652C +/* 184D78 80256498 00000000 */ nop +/* 184D7C 8025649C 86420168 */ lh $v0, 0x168($s2) +/* 184D80 802564A0 C6420188 */ lwc1 $f2, 0x188($s2) +/* 184D84 802564A4 00021023 */ negu $v0, $v0 +/* 184D88 802564A8 44820000 */ mtc1 $v0, $f0 +/* 184D8C 802564AC 00000000 */ nop +/* 184D90 802564B0 46800020 */ cvt.s.w $f0, $f0 +/* 184D94 802564B4 46020002 */ mul.s $f0, $f0, $f2 +/* 184D98 802564B8 00000000 */ nop +/* 184D9C 802564BC 8642016A */ lh $v0, 0x16a($s2) +/* 184DA0 802564C0 00021023 */ negu $v0, $v0 +/* 184DA4 802564C4 44050000 */ mfc1 $a1, $f0 +/* 184DA8 802564C8 44820000 */ mtc1 $v0, $f0 +/* 184DAC 802564CC 00000000 */ nop +/* 184DB0 802564D0 46800020 */ cvt.s.w $f0, $f0 +/* 184DB4 802564D4 46020002 */ mul.s $f0, $f0, $f2 +/* 184DB8 802564D8 00000000 */ nop +/* 184DBC 802564DC 8642016C */ lh $v0, 0x16c($s2) +/* 184DC0 802564E0 00021023 */ negu $v0, $v0 +/* 184DC4 802564E4 44060000 */ mfc1 $a2, $f0 +/* 184DC8 802564E8 44820000 */ mtc1 $v0, $f0 +/* 184DCC 802564EC 00000000 */ nop +/* 184DD0 802564F0 46800020 */ cvt.s.w $f0, $f0 +/* 184DD4 802564F4 46020002 */ mul.s $f0, $f0, $f2 +/* 184DD8 802564F8 00000000 */ nop +/* 184DDC 802564FC 44070000 */ mfc1 $a3, $f0 +/* 184DE0 80256500 0C019E40 */ jal guTranslateF +/* 184DE4 80256504 27A401A0 */ addiu $a0, $sp, 0x1a0 +/* 184DE8 80256508 86420168 */ lh $v0, 0x168($s2) +/* 184DEC 8025650C C6420188 */ lwc1 $f2, 0x188($s2) +/* 184DF0 80256510 44820000 */ mtc1 $v0, $f0 +/* 184DF4 80256514 00000000 */ nop +/* 184DF8 80256518 46800020 */ cvt.s.w $f0, $f0 +/* 184DFC 8025651C 46020002 */ mul.s $f0, $f0, $f2 +/* 184E00 80256520 00000000 */ nop +/* 184E04 80256524 0809596E */ j func_802565B8 +/* 184E08 80256528 8642016A */ lh $v0, 0x16a($s2) + +.L8025652C: +/* 184E0C 8025652C 86420168 */ lh $v0, 0x168($s2) +/* 184E10 80256530 C6420188 */ lwc1 $f2, 0x188($s2) +/* 184E14 80256534 00021023 */ negu $v0, $v0 +/* 184E18 80256538 44820000 */ mtc1 $v0, $f0 +/* 184E1C 8025653C 00000000 */ nop +/* 184E20 80256540 46800020 */ cvt.s.w $f0, $f0 +/* 184E24 80256544 46020002 */ mul.s $f0, $f0, $f2 +/* 184E28 80256548 00000000 */ nop +/* 184E2C 8025654C 8642016A */ lh $v0, 0x16a($s2) +/* 184E30 80256550 44050000 */ mfc1 $a1, $f0 +/* 184E34 80256554 44820000 */ mtc1 $v0, $f0 +/* 184E38 80256558 00000000 */ nop +/* 184E3C 8025655C 46800020 */ cvt.s.w $f0, $f0 +/* 184E40 80256560 46020002 */ mul.s $f0, $f0, $f2 +/* 184E44 80256564 00000000 */ nop +/* 184E48 80256568 8642016C */ lh $v0, 0x16c($s2) +/* 184E4C 8025656C 00021023 */ negu $v0, $v0 +/* 184E50 80256570 44060000 */ mfc1 $a2, $f0 +/* 184E54 80256574 44820000 */ mtc1 $v0, $f0 +/* 184E58 80256578 00000000 */ nop +/* 184E5C 8025657C 46800020 */ cvt.s.w $f0, $f0 +/* 184E60 80256580 46020002 */ mul.s $f0, $f0, $f2 +/* 184E64 80256584 00000000 */ nop +/* 184E68 80256588 44070000 */ mfc1 $a3, $f0 +/* 184E6C 8025658C 0C019E40 */ jal guTranslateF +/* 184E70 80256590 27A401A0 */ addiu $a0, $sp, 0x1a0 +/* 184E74 80256594 86420168 */ lh $v0, 0x168($s2) +/* 184E78 80256598 C6420188 */ lwc1 $f2, 0x188($s2) +/* 184E7C 8025659C 44820000 */ mtc1 $v0, $f0 +/* 184E80 802565A0 00000000 */ nop +/* 184E84 802565A4 46800020 */ cvt.s.w $f0, $f0 +/* 184E88 802565A8 46020002 */ mul.s $f0, $f0, $f2 +/* 184E8C 802565AC 00000000 */ nop +/* 184E90 802565B0 8642016A */ lh $v0, 0x16a($s2) +/* 184E94 802565B4 00021023 */ negu $v0, $v0 +func_802565B8: +/* 184E98 802565B8 44050000 */ mfc1 $a1, $f0 +/* 184E9C 802565BC 44820000 */ mtc1 $v0, $f0 +/* 184EA0 802565C0 00000000 */ nop +/* 184EA4 802565C4 46800020 */ cvt.s.w $f0, $f0 +/* 184EA8 802565C8 46020002 */ mul.s $f0, $f0, $f2 +/* 184EAC 802565CC 00000000 */ nop +/* 184EB0 802565D0 8642016C */ lh $v0, 0x16c($s2) +/* 184EB4 802565D4 44060000 */ mfc1 $a2, $f0 +/* 184EB8 802565D8 44820000 */ mtc1 $v0, $f0 +/* 184EBC 802565DC 00000000 */ nop +/* 184EC0 802565E0 46800020 */ cvt.s.w $f0, $f0 +/* 184EC4 802565E4 46020002 */ mul.s $f0, $f0, $f2 +/* 184EC8 802565E8 00000000 */ nop +/* 184ECC 802565EC 44070000 */ mfc1 $a3, $f0 +/* 184ED0 802565F0 0C019E40 */ jal guTranslateF +/* 184ED4 802565F4 27A401E0 */ addiu $a0, $sp, 0x1e0 +/* 184ED8 802565F8 4480A000 */ mtc1 $zero, $f20 +/* 184EDC 802565FC 3C013F80 */ lui $at, 0x3f80 +/* 184EE0 80256600 4481B000 */ mtc1 $at, $f22 +/* 184EE4 80256604 E7B40010 */ swc1 $f20, 0x10($sp) +/* 184EE8 80256608 8E45015C */ lw $a1, 0x15c($s2) +/* 184EEC 8025660C 4406B000 */ mfc1 $a2, $f22 +/* 184EF0 80256610 4407A000 */ mfc1 $a3, $f20 +/* 184EF4 80256614 0C019EC8 */ jal guRotateF +/* 184EF8 80256618 27A40020 */ addiu $a0, $sp, 0x20 +/* 184EFC 8025661C 27B50060 */ addiu $s5, $sp, 0x60 +/* 184F00 80256620 E7B40010 */ swc1 $f20, 0x10($sp) +/* 184F04 80256624 8E450160 */ lw $a1, 0x160($s2) +/* 184F08 80256628 4406A000 */ mfc1 $a2, $f20 +/* 184F0C 8025662C 4407B000 */ mfc1 $a3, $f22 +/* 184F10 80256630 0C019EC8 */ jal guRotateF +/* 184F14 80256634 02A0202D */ daddu $a0, $s5, $zero +/* 184F18 80256638 27B000A0 */ addiu $s0, $sp, 0xa0 +/* 184F1C 8025663C E7B60010 */ swc1 $f22, 0x10($sp) +/* 184F20 80256640 8E450164 */ lw $a1, 0x164($s2) +/* 184F24 80256644 4406A000 */ mfc1 $a2, $f20 +/* 184F28 80256648 4407A000 */ mfc1 $a3, $f20 +/* 184F2C 8025664C 0C019EC8 */ jal guRotateF +/* 184F30 80256650 0200202D */ daddu $a0, $s0, $zero +/* 184F34 80256654 02A0202D */ daddu $a0, $s5, $zero +/* 184F38 80256658 27A50020 */ addiu $a1, $sp, 0x20 +/* 184F3C 8025665C 27B30260 */ addiu $s3, $sp, 0x260 +/* 184F40 80256660 0C019D80 */ jal guMtxCatF +/* 184F44 80256664 0260302D */ daddu $a2, $s3, $zero +/* 184F48 80256668 0260202D */ daddu $a0, $s3, $zero +/* 184F4C 8025666C 0200282D */ daddu $a1, $s0, $zero +/* 184F50 80256670 27B400E0 */ addiu $s4, $sp, 0xe0 +/* 184F54 80256674 0C019D80 */ jal guMtxCatF +/* 184F58 80256678 0280302D */ daddu $a2, $s4, $zero +/* 184F5C 8025667C C6440170 */ lwc1 $f4, 0x170($s2) +/* 184F60 80256680 3C01802A */ lui $at, 0x802a +/* 184F64 80256684 D428D370 */ ldc1 $f8, -0x2c90($at) +/* 184F68 80256688 46002121 */ cvt.d.s $f4, $f4 +/* 184F6C 8025668C 46282102 */ mul.d $f4, $f4, $f8 +/* 184F70 80256690 00000000 */ nop +/* 184F74 80256694 C6400174 */ lwc1 $f0, 0x174($s2) +/* 184F78 80256698 46000021 */ cvt.d.s $f0, $f0 +/* 184F7C 8025669C 46280002 */ mul.d $f0, $f0, $f8 +/* 184F80 802566A0 00000000 */ nop +/* 184F84 802566A4 C6420178 */ lwc1 $f2, 0x178($s2) +/* 184F88 802566A8 460010A1 */ cvt.d.s $f2, $f2 +/* 184F8C 802566AC 46281082 */ mul.d $f2, $f2, $f8 +/* 184F90 802566B0 00000000 */ nop +/* 184F94 802566B4 C6460188 */ lwc1 $f6, 0x188($s2) +/* 184F98 802566B8 460031A1 */ cvt.d.s $f6, $f6 +/* 184F9C 802566BC 46262102 */ mul.d $f4, $f4, $f6 +/* 184FA0 802566C0 00000000 */ nop +/* 184FA4 802566C4 46260002 */ mul.d $f0, $f0, $f6 +/* 184FA8 802566C8 00000000 */ nop +/* 184FAC 802566CC 27B00120 */ addiu $s0, $sp, 0x120 +/* 184FB0 802566D0 462010A0 */ cvt.s.d $f2, $f2 +/* 184FB4 802566D4 44071000 */ mfc1 $a3, $f2 +/* 184FB8 802566D8 46202120 */ cvt.s.d $f4, $f4 +/* 184FBC 802566DC 46200020 */ cvt.s.d $f0, $f0 +/* 184FC0 802566E0 44052000 */ mfc1 $a1, $f4 +/* 184FC4 802566E4 44060000 */ mfc1 $a2, $f0 +/* 184FC8 802566E8 0C019DF0 */ jal guScaleF +/* 184FCC 802566EC 0200202D */ daddu $a0, $s0, $zero +/* 184FD0 802566F0 27B10160 */ addiu $s1, $sp, 0x160 +/* 184FD4 802566F4 8E45017C */ lw $a1, 0x17c($s2) +/* 184FD8 802566F8 8E460180 */ lw $a2, 0x180($s2) +/* 184FDC 802566FC 8E470184 */ lw $a3, 0x184($s2) +/* 184FE0 80256700 0C019DF0 */ jal guScaleF +/* 184FE4 80256704 0220202D */ daddu $a0, $s1, $zero +/* 184FE8 80256708 27A401A0 */ addiu $a0, $sp, 0x1a0 +/* 184FEC 8025670C 0200282D */ daddu $a1, $s0, $zero +/* 184FF0 80256710 0C019D80 */ jal guMtxCatF +/* 184FF4 80256714 0260302D */ daddu $a2, $s3, $zero +/* 184FF8 80256718 0260202D */ daddu $a0, $s3, $zero +/* 184FFC 8025671C 0220282D */ daddu $a1, $s1, $zero +/* 185000 80256720 0C019D80 */ jal guMtxCatF +/* 185004 80256724 0200302D */ daddu $a2, $s0, $zero +/* 185008 80256728 0200202D */ daddu $a0, $s0, $zero +/* 18500C 8025672C 0280282D */ daddu $a1, $s4, $zero +/* 185010 80256730 27B002E0 */ addiu $s0, $sp, 0x2e0 +/* 185014 80256734 0C019D80 */ jal guMtxCatF +/* 185018 80256738 0200302D */ daddu $a2, $s0, $zero +/* 18501C 8025673C 0200202D */ daddu $a0, $s0, $zero +/* 185020 80256740 27A501E0 */ addiu $a1, $sp, 0x1e0 +/* 185024 80256744 0C019D80 */ jal guMtxCatF +/* 185028 80256748 27A602A0 */ addiu $a2, $sp, 0x2a0 +/* 18502C 8025674C 824801F3 */ lb $t0, 0x1f3($s2) +/* 185030 80256750 AFA80360 */ sw $t0, 0x360($sp) +/* 185034 80256754 8E5101F4 */ lw $s1, 0x1f4($s2) +/* 185038 80256758 19000293 */ blez $t0, .L802571A8 +/* 18503C 8025675C 0000B82D */ daddu $s7, $zero, $zero +/* 185040 80256760 4600A706 */ mov.s $f28, $f20 +/* 185044 80256764 0260B02D */ daddu $s6, $s3, $zero +/* 185048 80256768 AFB5036C */ sw $s5, 0x36c($sp) +/* 18504C 8025676C 0200A82D */ daddu $s5, $s0, $zero +/* 185050 80256770 AFB40370 */ sw $s4, 0x370($sp) +.L80256774: +/* 185054 80256774 8E220000 */ lw $v0, ($s1) +/* 185058 80256778 3C030010 */ lui $v1, 0x10 +/* 18505C 8025677C 00431024 */ and $v0, $v0, $v1 +/* 185060 80256780 14400033 */ bnez $v0, .L80256850 +/* 185064 80256784 27A40320 */ addiu $a0, $sp, 0x320 +/* 185068 80256788 86220014 */ lh $v0, 0x14($s1) +/* 18506C 8025678C C7AA0364 */ lwc1 $f10, 0x364($sp) +/* 185070 80256790 44820000 */ mtc1 $v0, $f0 +/* 185074 80256794 00000000 */ nop +/* 185078 80256798 46800020 */ cvt.s.w $f0, $f0 +/* 18507C 8025679C 8622001A */ lh $v0, 0x1a($s1) +/* 185080 802567A0 46005000 */ add.s $f0, $f10, $f0 +/* 185084 802567A4 44821000 */ mtc1 $v0, $f2 +/* 185088 802567A8 00000000 */ nop +/* 18508C 802567AC 468010A0 */ cvt.s.w $f2, $f2 +/* 185090 802567B0 8E420000 */ lw $v0, ($s2) +/* 185094 802567B4 30420800 */ andi $v0, $v0, 0x800 +/* 185098 802567B8 1440000C */ bnez $v0, .L802567EC +/* 18509C 802567BC 46020680 */ add.s $f26, $f0, $f2 +/* 1850A0 802567C0 86220016 */ lh $v0, 0x16($s1) +/* 1850A4 802567C4 44821000 */ mtc1 $v0, $f2 +/* 1850A8 802567C8 00000000 */ nop +/* 1850AC 802567CC 468010A0 */ cvt.s.w $f2, $f2 +/* 1850B0 802567D0 8622001C */ lh $v0, 0x1c($s1) +/* 1850B4 802567D4 4602F080 */ add.s $f2, $f30, $f2 +/* 1850B8 802567D8 44820000 */ mtc1 $v0, $f0 +/* 1850BC 802567DC 00000000 */ nop +/* 1850C0 802567E0 46800020 */ cvt.s.w $f0, $f0 +/* 1850C4 802567E4 08095A05 */ j func_80256814 +/* 1850C8 802567E8 46001500 */ add.s $f20, $f2, $f0 + +.L802567EC: +/* 1850CC 802567EC 86220016 */ lh $v0, 0x16($s1) +/* 1850D0 802567F0 44821000 */ mtc1 $v0, $f2 +/* 1850D4 802567F4 00000000 */ nop +/* 1850D8 802567F8 468010A0 */ cvt.s.w $f2, $f2 +/* 1850DC 802567FC 8622001C */ lh $v0, 0x1c($s1) +/* 1850E0 80256800 4602F081 */ sub.s $f2, $f30, $f2 +/* 1850E4 80256804 44820000 */ mtc1 $v0, $f0 +/* 1850E8 80256808 00000000 */ nop +/* 1850EC 8025680C 46800020 */ cvt.s.w $f0, $f0 +/* 1850F0 80256810 46001501 */ sub.s $f20, $f2, $f0 +func_80256814: +/* 1850F4 80256814 C640018C */ lwc1 $f0, 0x18c($s2) +/* 1850F8 80256818 86220018 */ lh $v0, 0x18($s1) +/* 1850FC 8025681C C7AA0368 */ lwc1 $f10, 0x368($sp) +/* 185100 80256820 46000606 */ mov.s $f24, $f0 +/* 185104 80256824 44821000 */ mtc1 $v0, $f2 +/* 185108 80256828 00000000 */ nop +/* 18510C 8025682C 468010A0 */ cvt.s.w $f2, $f2 +/* 185110 80256830 8622001E */ lh $v0, 0x1e($s1) +/* 185114 80256834 46025080 */ add.s $f2, $f10, $f2 +/* 185118 80256838 E6380064 */ swc1 $f24, 0x64($s1) +/* 18511C 8025683C 44820000 */ mtc1 $v0, $f0 +/* 185120 80256840 00000000 */ nop +/* 185124 80256844 46800020 */ cvt.s.w $f0, $f0 +/* 185128 80256848 08095A3C */ j func_802568F0 +/* 18512C 8025684C 46001580 */ add.s $f22, $f2, $f0 + +.L80256850: +/* 185130 80256850 C6480170 */ lwc1 $f8, 0x170($s2) +/* 185134 80256854 3C01802A */ lui $at, 0x802a +/* 185138 80256858 D420D378 */ ldc1 $f0, -0x2c88($at) +/* 18513C 8025685C 46004221 */ cvt.d.s $f8, $f8 +/* 185140 80256860 46204202 */ mul.d $f8, $f8, $f0 +/* 185144 80256864 00000000 */ nop +/* 185148 80256868 C6460174 */ lwc1 $f6, 0x174($s2) +/* 18514C 8025686C 460031A1 */ cvt.d.s $f6, $f6 +/* 185150 80256870 46203182 */ mul.d $f6, $f6, $f0 +/* 185154 80256874 00000000 */ nop +/* 185158 80256878 C6420178 */ lwc1 $f2, 0x178($s2) +/* 18515C 8025687C 460010A1 */ cvt.d.s $f2, $f2 +/* 185160 80256880 46201082 */ mul.d $f2, $f2, $f0 +/* 185164 80256884 00000000 */ nop +/* 185168 80256888 8622001A */ lh $v0, 0x1a($s1) +/* 18516C 8025688C C624002C */ lwc1 $f4, 0x2c($s1) +/* 185170 80256890 44820000 */ mtc1 $v0, $f0 +/* 185174 80256894 00000000 */ nop +/* 185178 80256898 46800020 */ cvt.s.w $f0, $f0 +/* 18517C 8025689C 46002680 */ add.s $f26, $f4, $f0 +/* 185180 802568A0 8622001C */ lh $v0, 0x1c($s1) +/* 185184 802568A4 C6240030 */ lwc1 $f4, 0x30($s1) +/* 185188 802568A8 44820000 */ mtc1 $v0, $f0 +/* 18518C 802568AC 00000000 */ nop +/* 185190 802568B0 46800020 */ cvt.s.w $f0, $f0 +/* 185194 802568B4 46002500 */ add.s $f20, $f4, $f0 +/* 185198 802568B8 8622001E */ lh $v0, 0x1e($s1) +/* 18519C 802568BC C6240034 */ lwc1 $f4, 0x34($s1) +/* 1851A0 802568C0 44820000 */ mtc1 $v0, $f0 +/* 1851A4 802568C4 00000000 */ nop +/* 1851A8 802568C8 46800020 */ cvt.s.w $f0, $f0 +/* 1851AC 802568CC 46204220 */ cvt.s.d $f8, $f8 +/* 1851B0 802568D0 462031A0 */ cvt.s.d $f6, $f6 +/* 1851B4 802568D4 462010A0 */ cvt.s.d $f2, $f2 +/* 1851B8 802568D8 44054000 */ mfc1 $a1, $f8 +/* 1851BC 802568DC 44063000 */ mfc1 $a2, $f6 +/* 1851C0 802568E0 44071000 */ mfc1 $a3, $f2 +/* 1851C4 802568E4 0C019DF0 */ jal guScaleF +/* 1851C8 802568E8 46002580 */ add.s $f22, $f4, $f0 +/* 1851CC 802568EC C6380064 */ lwc1 $f24, 0x64($s1) +func_802568F0: +/* 1851D0 802568F0 8E240000 */ lw $a0, ($s1) +/* 1851D4 802568F4 E63A0058 */ swc1 $f26, 0x58($s1) +/* 1851D8 802568F8 E634005C */ swc1 $f20, 0x5c($s1) +/* 1851DC 802568FC 30820001 */ andi $v0, $a0, 1 +/* 1851E0 80256900 14400223 */ bnez $v0, .L80257190 +/* 1851E4 80256904 E6360060 */ swc1 $f22, 0x60($s1) +/* 1851E8 80256908 8E220094 */ lw $v0, 0x94($s1) +/* 1851EC 8025690C 10400220 */ beqz $v0, .L80257190 +/* 1851F0 80256910 2402000E */ addiu $v0, $zero, 0xe +/* 1851F4 80256914 82430218 */ lb $v1, 0x218($s2) +/* 1851F8 80256918 14620003 */ bne $v1, $v0, .L80256928 +/* 1851FC 8025691C 2402FEFF */ addiu $v0, $zero, -0x101 +/* 185200 80256920 08095A4B */ j func_8025692C +/* 185204 80256924 34820100 */ ori $v0, $a0, 0x100 + +.L80256928: +/* 185208 80256928 00821024 */ and $v0, $a0, $v0 +func_8025692C: +/* 18520C 8025692C AE220000 */ sw $v0, ($s1) +/* 185210 80256930 0000982D */ daddu $s3, $zero, $zero +/* 185214 80256934 0260802D */ daddu $s0, $s3, $zero +/* 185218 80256938 8E3E0088 */ lw $fp, 0x88($s1) +/* 18521C 8025693C 8FA803D0 */ lw $t0, 0x3d0($sp) +/* 185220 80256940 11000027 */ beqz $t0, .L802569E0 +/* 185224 80256944 0260A02D */ daddu $s4, $s3, $zero +/* 185228 80256948 3C02800E */ lui $v0, 0x800e +/* 18522C 8025694C 8C42C074 */ lw $v0, -0x3f8c($v0) +/* 185230 80256950 24030004 */ addiu $v1, $zero, 4 +/* 185234 80256954 30420014 */ andi $v0, $v0, 0x14 +/* 185238 80256958 14430015 */ bne $v0, $v1, .L802569B0 +/* 18523C 8025695C 00000000 */ nop +/* 185240 80256960 82420216 */ lb $v0, 0x216($s2) +/* 185244 80256964 14400009 */ bnez $v0, .L8025698C +/* 185248 80256968 24050012 */ addiu $a1, $zero, 0x12 +/* 18524C 8025696C 8E240094 */ lw $a0, 0x94($s1) +/* 185250 80256970 0C09973A */ jal func_80265CE8 +/* 185254 80256974 24130001 */ addiu $s3, $zero, 1 +/* 185258 80256978 8E240084 */ lw $a0, 0x84($s1) +/* 18525C 8025697C 8E260090 */ lw $a2, 0x90($s1) +/* 185260 80256980 0040282D */ daddu $a1, $v0, $zero +/* 185264 80256984 0C0B78AB */ jal func_802DE2AC +/* 185268 80256988 AE250088 */ sw $a1, 0x88($s1) +.L8025698C: +/* 18526C 8025698C 0240202D */ daddu $a0, $s2, $zero +/* 185270 80256990 0C099B6B */ jal func_80266DAC +/* 185274 80256994 2405000C */ addiu $a1, $zero, 0xc +/* 185278 80256998 24100001 */ addiu $s0, $zero, 1 +/* 18527C 8025699C 0240202D */ daddu $a0, $s2, $zero +/* 185280 802569A0 0C099BBA */ jal func_80266EE8 +/* 185284 802569A4 0000282D */ daddu $a1, $zero, $zero +/* 185288 802569A8 0200A02D */ daddu $s4, $s0, $zero +/* 18528C 802569AC 8FA803D0 */ lw $t0, 0x3d0($sp) +.L802569B0: +/* 185290 802569B0 1100000B */ beqz $t0, .L802569E0 +/* 185294 802569B4 24020006 */ addiu $v0, $zero, 6 +/* 185298 802569B8 3C038011 */ lui $v1, 0x8011 +/* 18529C 802569BC 8063F2A2 */ lb $v1, -0xd5e($v1) +/* 1852A0 802569C0 14620007 */ bne $v1, $v0, .L802569E0 +/* 1852A4 802569C4 00000000 */ nop +/* 1852A8 802569C8 16000005 */ bnez $s0, .L802569E0 +/* 1852AC 802569CC 24100001 */ addiu $s0, $zero, 1 +/* 1852B0 802569D0 0240202D */ daddu $a0, $s2, $zero +/* 1852B4 802569D4 0C099B6B */ jal func_80266DAC +/* 1852B8 802569D8 24050009 */ addiu $a1, $zero, 9 +/* 1852BC 802569DC 24100001 */ addiu $s0, $zero, 1 +.L802569E0: +/* 1852C0 802569E0 82420220 */ lb $v0, 0x220($s2) +/* 1852C4 802569E4 10400007 */ beqz $v0, .L80256A04 +/* 1852C8 802569E8 00000000 */ nop +/* 1852CC 802569EC 16800005 */ bnez $s4, .L80256A04 +/* 1852D0 802569F0 24140001 */ addiu $s4, $zero, 1 +/* 1852D4 802569F4 0240202D */ daddu $a0, $s2, $zero +/* 1852D8 802569F8 0C099BBA */ jal func_80266EE8 +/* 1852DC 802569FC 2405000B */ addiu $a1, $zero, 0xb +/* 1852E0 80256A00 24140001 */ addiu $s4, $zero, 1 +.L80256A04: +/* 1852E4 80256A04 82430210 */ lb $v1, 0x210($s2) +/* 1852E8 80256A08 24020009 */ addiu $v0, $zero, 9 +/* 1852EC 80256A0C 14620009 */ bne $v1, $v0, .L80256A34 +/* 1852F0 80256A10 24020005 */ addiu $v0, $zero, 5 +/* 1852F4 80256A14 16000007 */ bnez $s0, .L80256A34 +/* 1852F8 80256A18 24100001 */ addiu $s0, $zero, 1 +/* 1852FC 80256A1C 0240202D */ daddu $a0, $s2, $zero +/* 185300 80256A20 0C099B6B */ jal func_80266DAC +/* 185304 80256A24 24050006 */ addiu $a1, $zero, 6 +/* 185308 80256A28 24100001 */ addiu $s0, $zero, 1 +/* 18530C 80256A2C 82430210 */ lb $v1, 0x210($s2) +/* 185310 80256A30 24020005 */ addiu $v0, $zero, 5 +.L80256A34: +/* 185314 80256A34 14620007 */ bne $v1, $v0, .L80256A54 +/* 185318 80256A38 00000000 */ nop +/* 18531C 80256A3C 16000005 */ bnez $s0, .L80256A54 +/* 185320 80256A40 24100001 */ addiu $s0, $zero, 1 +/* 185324 80256A44 0240202D */ daddu $a0, $s2, $zero +/* 185328 80256A48 0C099B6B */ jal func_80266DAC +/* 18532C 80256A4C 24050007 */ addiu $a1, $zero, 7 +/* 185330 80256A50 24100001 */ addiu $s0, $zero, 1 +.L80256A54: +/* 185334 80256A54 82430210 */ lb $v1, 0x210($s2) +/* 185338 80256A58 24020003 */ addiu $v0, $zero, 3 +/* 18533C 80256A5C 14620007 */ bne $v1, $v0, .L80256A7C +/* 185340 80256A60 00000000 */ nop +/* 185344 80256A64 16000005 */ bnez $s0, .L80256A7C +/* 185348 80256A68 24100001 */ addiu $s0, $zero, 1 +/* 18534C 80256A6C 0240202D */ daddu $a0, $s2, $zero +/* 185350 80256A70 0C099B6B */ jal func_80266DAC +/* 185354 80256A74 24050005 */ addiu $a1, $zero, 5 +/* 185358 80256A78 24100001 */ addiu $s0, $zero, 1 +.L80256A7C: +/* 18535C 80256A7C 82430212 */ lb $v1, 0x212($s2) +/* 185360 80256A80 2402000B */ addiu $v0, $zero, 0xb +/* 185364 80256A84 14620007 */ bne $v1, $v0, .L80256AA4 +/* 185368 80256A88 00000000 */ nop +/* 18536C 80256A8C 16000005 */ bnez $s0, .L80256AA4 +/* 185370 80256A90 24100001 */ addiu $s0, $zero, 1 +/* 185374 80256A94 0240202D */ daddu $a0, $s2, $zero +/* 185378 80256A98 0C099B6B */ jal func_80266DAC +/* 18537C 80256A9C 24050004 */ addiu $a1, $zero, 4 +/* 185380 80256AA0 24100001 */ addiu $s0, $zero, 1 +.L80256AA4: +/* 185384 80256AA4 16000007 */ bnez $s0, .L80256AC4 +/* 185388 80256AA8 3C030100 */ lui $v1, 0x100 +/* 18538C 80256AAC 8E220000 */ lw $v0, ($s1) +/* 185390 80256AB0 00431024 */ and $v0, $v0, $v1 +/* 185394 80256AB4 14400003 */ bnez $v0, .L80256AC4 +/* 185398 80256AB8 0240202D */ daddu $a0, $s2, $zero +/* 18539C 80256ABC 0C099B6B */ jal func_80266DAC +/* 1853A0 80256AC0 0000282D */ daddu $a1, $zero, $zero +.L80256AC4: +/* 1853A4 80256AC4 16800007 */ bnez $s4, .L80256AE4 +/* 1853A8 80256AC8 3C030100 */ lui $v1, 0x100 +/* 1853AC 80256ACC 8E220000 */ lw $v0, ($s1) +/* 1853B0 80256AD0 00431024 */ and $v0, $v0, $v1 +/* 1853B4 80256AD4 14400003 */ bnez $v0, .L80256AE4 +/* 1853B8 80256AD8 0240202D */ daddu $a0, $s2, $zero +/* 1853BC 80256ADC 0C099BBA */ jal func_80266EE8 +/* 1853C0 80256AE0 0000282D */ daddu $a1, $zero, $zero +.L80256AE4: +/* 1853C4 80256AE4 8E420000 */ lw $v0, ($s2) +/* 1853C8 80256AE8 3C030400 */ lui $v1, 0x400 +/* 1853CC 80256AEC 00431024 */ and $v0, $v0, $v1 +/* 1853D0 80256AF0 10400070 */ beqz $v0, .L80256CB4 +/* 1853D4 80256AF4 3C032000 */ lui $v1, 0x2000 +/* 1853D8 80256AF8 8E220000 */ lw $v0, ($s1) +/* 1853DC 80256AFC 00431024 */ and $v0, $v0, $v1 +/* 1853E0 80256B00 1440006C */ bnez $v0, .L80256CB4 +/* 1853E4 80256B04 24020007 */ addiu $v0, $zero, 7 +/* 1853E8 80256B08 82430210 */ lb $v1, 0x210($s2) +/* 1853EC 80256B0C 10620012 */ beq $v1, $v0, .L80256B58 +/* 1853F0 80256B10 00000000 */ nop +/* 1853F4 80256B14 2402000A */ addiu $v0, $zero, 0xa +/* 1853F8 80256B18 10620015 */ beq $v1, $v0, .L80256B70 +/* 1853FC 80256B1C 24020009 */ addiu $v0, $zero, 9 +/* 185400 80256B20 1062000D */ beq $v1, $v0, .L80256B58 +/* 185404 80256B24 00000000 */ nop +/* 185408 80256B28 24020004 */ addiu $v0, $zero, 4 +/* 18540C 80256B2C 1062000A */ beq $v1, $v0, .L80256B58 +/* 185410 80256B30 00000000 */ nop +/* 185414 80256B34 24020003 */ addiu $v0, $zero, 3 +/* 185418 80256B38 10620007 */ beq $v1, $v0, .L80256B58 +/* 18541C 80256B3C 00000000 */ nop +/* 185420 80256B40 24020006 */ addiu $v0, $zero, 6 +/* 185424 80256B44 10620004 */ beq $v1, $v0, .L80256B58 +/* 185428 80256B48 00000000 */ nop +/* 18542C 80256B4C 24020005 */ addiu $v0, $zero, 5 +/* 185430 80256B50 14620007 */ bne $v1, $v0, .L80256B70 +/* 185434 80256B54 00000000 */ nop +.L80256B58: +/* 185438 80256B58 16600005 */ bnez $s3, .L80256B70 +/* 18543C 80256B5C 0040282D */ daddu $a1, $v0, $zero +/* 185440 80256B60 8E240094 */ lw $a0, 0x94($s1) +/* 185444 80256B64 0C09973A */ jal func_80265CE8 +/* 185448 80256B68 24130001 */ addiu $s3, $zero, 1 +/* 18544C 80256B6C AE220088 */ sw $v0, 0x88($s1) +.L80256B70: +/* 185450 80256B70 82430212 */ lb $v1, 0x212($s2) +/* 185454 80256B74 2402000B */ addiu $v0, $zero, 0xb +/* 185458 80256B78 14620007 */ bne $v1, $v0, .L80256B98 +/* 18545C 80256B7C 00000000 */ nop +/* 185460 80256B80 16600005 */ bnez $s3, .L80256B98 +/* 185464 80256B84 0040282D */ daddu $a1, $v0, $zero +/* 185468 80256B88 8E240094 */ lw $a0, 0x94($s1) +/* 18546C 80256B8C 0C09973A */ jal func_80265CE8 +/* 185470 80256B90 24130001 */ addiu $s3, $zero, 1 +/* 185474 80256B94 AE220088 */ sw $v0, 0x88($s1) +.L80256B98: +/* 185478 80256B98 16600005 */ bnez $s3, .L80256BB0 +/* 18547C 80256B9C 00000000 */ nop +/* 185480 80256BA0 8E240094 */ lw $a0, 0x94($s1) +/* 185484 80256BA4 0C09973A */ jal func_80265CE8 +/* 185488 80256BA8 24050001 */ addiu $a1, $zero, 1 +/* 18548C 80256BAC AE220088 */ sw $v0, 0x88($s1) +.L80256BB0: +/* 185490 80256BB0 8FA803D0 */ lw $t0, 0x3d0($sp) +/* 185494 80256BB4 11000014 */ beqz $t0, .L80256C08 +/* 185498 80256BB8 2402000D */ addiu $v0, $zero, 0xd +/* 18549C 80256BBC 82430216 */ lb $v1, 0x216($s2) +/* 1854A0 80256BC0 14620004 */ bne $v1, $v0, .L80256BD4 +/* 1854A4 80256BC4 0040282D */ daddu $a1, $v0, $zero +/* 1854A8 80256BC8 8E240094 */ lw $a0, 0x94($s1) +/* 1854AC 80256BCC 08095AFF */ j func_80256BFC +/* 1854B0 80256BD0 24130001 */ addiu $s3, $zero, 1 + +.L80256BD4: +/* 1854B4 80256BD4 8E240094 */ lw $a0, 0x94($s1) +/* 1854B8 80256BD8 0C09973A */ jal func_80265CE8 +/* 1854BC 80256BDC 24050001 */ addiu $a1, $zero, 1 +/* 1854C0 80256BE0 0040802D */ daddu $s0, $v0, $zero +/* 1854C4 80256BE4 8E240094 */ lw $a0, 0x94($s1) +/* 1854C8 80256BE8 0C09973A */ jal func_80265CE8 +/* 1854CC 80256BEC 2405000D */ addiu $a1, $zero, 0xd +/* 1854D0 80256BF0 16020005 */ bne $s0, $v0, .L80256C08 +/* 1854D4 80256BF4 24050001 */ addiu $a1, $zero, 1 +/* 1854D8 80256BF8 8E240094 */ lw $a0, 0x94($s1) +func_80256BFC: +/* 1854DC 80256BFC 0C09973A */ jal func_80265CE8 +/* 1854E0 80256C00 00000000 */ nop +/* 1854E4 80256C04 AE220088 */ sw $v0, 0x88($s1) +.L80256C08: +/* 1854E8 80256C08 82430210 */ lb $v1, 0x210($s2) +/* 1854EC 80256C0C 24020008 */ addiu $v0, $zero, 8 +/* 1854F0 80256C10 14620019 */ bne $v1, $v0, .L80256C78 +/* 1854F4 80256C14 00000000 */ nop +/* 1854F8 80256C18 8E240094 */ lw $a0, 0x94($s1) +/* 1854FC 80256C1C 0C09973A */ jal func_80265CE8 +/* 185500 80256C20 0040282D */ daddu $a1, $v0, $zero +/* 185504 80256C24 AE220088 */ sw $v0, 0x88($s1) +/* 185508 80256C28 86440436 */ lh $a0, 0x436($s2) +/* 18550C 80256C2C 0C011E08 */ jal func_80047820 +/* 185510 80256C30 24050008 */ addiu $a1, $zero, 8 +/* 185514 80256C34 08095B2D */ j func_80256CB4 +/* 185518 80256C38 00000000 */ nop + +.L80256C3C: +/* 18551C 80256C3C 86440436 */ lh $a0, 0x436($s2) +/* 185520 80256C40 08095B44 */ j func_80256D10 +/* 185524 80256C44 24050009 */ addiu $a1, $zero, 9 + +.L80256C48: +/* 185528 80256C48 86440436 */ lh $a0, 0x436($s2) +/* 18552C 80256C4C 08095B44 */ j func_80256D10 +/* 185530 80256C50 24050004 */ addiu $a1, $zero, 4 + +.L80256C54: +/* 185534 80256C54 86440436 */ lh $a0, 0x436($s2) +/* 185538 80256C58 08095B44 */ j func_80256D10 +/* 18553C 80256C5C 24050006 */ addiu $a1, $zero, 6 + +.L80256C60: +/* 185540 80256C60 86440436 */ lh $a0, 0x436($s2) +/* 185544 80256C64 08095B44 */ j func_80256D10 +/* 185548 80256C68 24050005 */ addiu $a1, $zero, 5 + +.L80256C6C: +/* 18554C 80256C6C 86440436 */ lh $a0, 0x436($s2) +/* 185550 80256C70 08095B44 */ j func_80256D10 +/* 185554 80256C74 2405000A */ addiu $a1, $zero, 0xa + +.L80256C78: +/* 185558 80256C78 1660000E */ bnez $s3, .L80256CB4 +/* 18555C 80256C7C 00000000 */ nop +/* 185560 80256C80 8E240094 */ lw $a0, 0x94($s1) +/* 185564 80256C84 0C09973A */ jal func_80265CE8 +/* 185568 80256C88 24050001 */ addiu $a1, $zero, 1 +/* 18556C 80256C8C 0040802D */ daddu $s0, $v0, $zero +/* 185570 80256C90 8E240094 */ lw $a0, 0x94($s1) +/* 185574 80256C94 0C09973A */ jal func_80265CE8 +/* 185578 80256C98 24050008 */ addiu $a1, $zero, 8 +/* 18557C 80256C9C 16020005 */ bne $s0, $v0, .L80256CB4 +/* 185580 80256CA0 00000000 */ nop +/* 185584 80256CA4 8E240094 */ lw $a0, 0x94($s1) +/* 185588 80256CA8 0C09973A */ jal func_80265CE8 +/* 18558C 80256CAC 24050001 */ addiu $a1, $zero, 1 +/* 185590 80256CB0 AE220088 */ sw $v0, 0x88($s1) +func_80256CB4: +.L80256CB4: +/* 185594 80256CB4 3C02800E */ lui $v0, 0x800e +/* 185598 80256CB8 8C42C070 */ lw $v0, -0x3f90($v0) +/* 18559C 80256CBC 30420004 */ andi $v0, $v0, 4 +/* 1855A0 80256CC0 1440002E */ bnez $v0, .L80256D7C +/* 1855A4 80256CC4 3C030800 */ lui $v1, 0x800 +/* 1855A8 80256CC8 8E420000 */ lw $v0, ($s2) +/* 1855AC 80256CCC 00431024 */ and $v0, $v0, $v1 +/* 1855B0 80256CD0 1040002A */ beqz $v0, .L80256D7C +/* 1855B4 80256CD4 24020009 */ addiu $v0, $zero, 9 +/* 1855B8 80256CD8 82430210 */ lb $v1, 0x210($s2) +/* 1855BC 80256CDC 1062FFD7 */ beq $v1, $v0, .L80256C3C +/* 1855C0 80256CE0 24020004 */ addiu $v0, $zero, 4 +/* 1855C4 80256CE4 1062FFD8 */ beq $v1, $v0, .L80256C48 +/* 1855C8 80256CE8 24020006 */ addiu $v0, $zero, 6 +/* 1855CC 80256CEC 1062FFD9 */ beq $v1, $v0, .L80256C54 +/* 1855D0 80256CF0 24020005 */ addiu $v0, $zero, 5 +/* 1855D4 80256CF4 1062FFDA */ beq $v1, $v0, .L80256C60 +/* 1855D8 80256CF8 2402000A */ addiu $v0, $zero, 0xa +/* 1855DC 80256CFC 1062FFDB */ beq $v1, $v0, .L80256C6C +/* 1855E0 80256D00 24020007 */ addiu $v0, $zero, 7 +/* 1855E4 80256D04 14620004 */ bne $v1, $v0, .L80256D18 +/* 1855E8 80256D08 0040282D */ daddu $a1, $v0, $zero +/* 1855EC 80256D0C 86440436 */ lh $a0, 0x436($s2) +func_80256D10: +/* 1855F0 80256D10 0C011E08 */ jal func_80047820 +/* 1855F4 80256D14 00000000 */ nop +.L80256D18: +/* 1855F8 80256D18 82430212 */ lb $v1, 0x212($s2) +/* 1855FC 80256D1C 2402000B */ addiu $v0, $zero, 0xb +/* 185600 80256D20 14620004 */ bne $v1, $v0, .L80256D34 +/* 185604 80256D24 00000000 */ nop +/* 185608 80256D28 86440436 */ lh $a0, 0x436($s2) +/* 18560C 80256D2C 0C011E4A */ jal func_80047928 +/* 185610 80256D30 0040282D */ daddu $a1, $v0, $zero +.L80256D34: +/* 185614 80256D34 82430218 */ lb $v1, 0x218($s2) +/* 185618 80256D38 2402000E */ addiu $v0, $zero, 0xe +/* 18561C 80256D3C 10620005 */ beq $v1, $v0, .L80256D54 +/* 185620 80256D40 00000000 */ nop +/* 185624 80256D44 8E220000 */ lw $v0, ($s1) +/* 185628 80256D48 30420100 */ andi $v0, $v0, 0x100 +/* 18562C 80256D4C 10400004 */ beqz $v0, .L80256D60 +/* 185630 80256D50 00000000 */ nop +.L80256D54: +/* 185634 80256D54 86440436 */ lh $a0, 0x436($s2) +/* 185638 80256D58 0C011E8C */ jal func_80047A30 +/* 18563C 80256D5C 2405000E */ addiu $a1, $zero, 0xe +.L80256D60: +/* 185640 80256D60 82420223 */ lb $v0, 0x223($s2) +/* 185644 80256D64 1040000D */ beqz $v0, .L80256D9C +/* 185648 80256D68 00000000 */ nop +/* 18564C 80256D6C 0C011ECE */ jal func_80047B38 +/* 185650 80256D70 86440436 */ lh $a0, 0x436($s2) +/* 185654 80256D74 08095B67 */ j func_80256D9C +/* 185658 80256D78 00000000 */ nop + +.L80256D7C: +/* 18565C 80256D7C 0C011E3E */ jal func_800478F8 +/* 185660 80256D80 86440436 */ lh $a0, 0x436($s2) +/* 185664 80256D84 0C011E80 */ jal func_80047A00 +/* 185668 80256D88 86440436 */ lh $a0, 0x436($s2) +/* 18566C 80256D8C 0C011EC2 */ jal func_80047B08 +/* 185670 80256D90 86440436 */ lh $a0, 0x436($s2) +/* 185674 80256D94 0C011EF9 */ jal func_80047BE4 +/* 185678 80256D98 86440436 */ lh $a0, 0x436($s2) +func_80256D9C: +.L80256D9C: +/* 18567C 80256D9C 8E240084 */ lw $a0, 0x84($s1) +/* 185680 80256DA0 04800009 */ bltz $a0, .L80256DC8 +/* 185684 80256DA4 00000000 */ nop +/* 185688 80256DA8 8E250088 */ lw $a1, 0x88($s1) +/* 18568C 80256DAC 13C50006 */ beq $fp, $a1, .L80256DC8 +/* 185690 80256DB0 00000000 */ nop +/* 185694 80256DB4 0C0B78AB */ jal func_802DE2AC +/* 185698 80256DB8 8E260090 */ lw $a2, 0x90($s1) +/* 18569C 80256DBC 0C0B7972 */ jal func_802DE5C8 +/* 1856A0 80256DC0 8E240084 */ lw $a0, 0x84($s1) +/* 1856A4 80256DC4 AE22008C */ sw $v0, 0x8c($s1) +.L80256DC8: +/* 1856A8 80256DC8 8E420000 */ lw $v0, ($s2) +/* 1856AC 80256DCC 30420800 */ andi $v0, $v0, 0x800 +/* 1856B0 80256DD0 14400025 */ bnez $v0, .L80256E68 +/* 1856B4 80256DD4 00000000 */ nop +/* 1856B8 80256DD8 86220044 */ lh $v0, 0x44($s1) +/* 1856BC 80256DDC C6420188 */ lwc1 $f2, 0x188($s2) +/* 1856C0 80256DE0 00021023 */ negu $v0, $v0 +/* 1856C4 80256DE4 44820000 */ mtc1 $v0, $f0 +/* 1856C8 80256DE8 00000000 */ nop +/* 1856CC 80256DEC 46800020 */ cvt.s.w $f0, $f0 +/* 1856D0 80256DF0 46020002 */ mul.s $f0, $f0, $f2 +/* 1856D4 80256DF4 00000000 */ nop +/* 1856D8 80256DF8 86220046 */ lh $v0, 0x46($s1) +/* 1856DC 80256DFC 00021023 */ negu $v0, $v0 +/* 1856E0 80256E00 44050000 */ mfc1 $a1, $f0 +/* 1856E4 80256E04 44820000 */ mtc1 $v0, $f0 +/* 1856E8 80256E08 00000000 */ nop +/* 1856EC 80256E0C 46800020 */ cvt.s.w $f0, $f0 +/* 1856F0 80256E10 46020002 */ mul.s $f0, $f0, $f2 +/* 1856F4 80256E14 00000000 */ nop +/* 1856F8 80256E18 86220048 */ lh $v0, 0x48($s1) +/* 1856FC 80256E1C 00021023 */ negu $v0, $v0 +/* 185700 80256E20 44060000 */ mfc1 $a2, $f0 +/* 185704 80256E24 44820000 */ mtc1 $v0, $f0 +/* 185708 80256E28 00000000 */ nop +/* 18570C 80256E2C 46800020 */ cvt.s.w $f0, $f0 +/* 185710 80256E30 46020002 */ mul.s $f0, $f0, $f2 +/* 185714 80256E34 00000000 */ nop +/* 185718 80256E38 44070000 */ mfc1 $a3, $f0 +/* 18571C 80256E3C 0C019E40 */ jal guTranslateF +/* 185720 80256E40 27A401A0 */ addiu $a0, $sp, 0x1a0 +/* 185724 80256E44 86220044 */ lh $v0, 0x44($s1) +/* 185728 80256E48 C6420188 */ lwc1 $f2, 0x188($s2) +/* 18572C 80256E4C 44820000 */ mtc1 $v0, $f0 +/* 185730 80256E50 00000000 */ nop +/* 185734 80256E54 46800020 */ cvt.s.w $f0, $f0 +/* 185738 80256E58 46020002 */ mul.s $f0, $f0, $f2 +/* 18573C 80256E5C 00000000 */ nop +/* 185740 80256E60 08095BBD */ j func_80256EF4 +/* 185744 80256E64 86220046 */ lh $v0, 0x46($s1) + +.L80256E68: +/* 185748 80256E68 86220044 */ lh $v0, 0x44($s1) +/* 18574C 80256E6C C6420188 */ lwc1 $f2, 0x188($s2) +/* 185750 80256E70 00021023 */ negu $v0, $v0 +/* 185754 80256E74 44820000 */ mtc1 $v0, $f0 +/* 185758 80256E78 00000000 */ nop +/* 18575C 80256E7C 46800020 */ cvt.s.w $f0, $f0 +/* 185760 80256E80 46020002 */ mul.s $f0, $f0, $f2 +/* 185764 80256E84 00000000 */ nop +/* 185768 80256E88 86220046 */ lh $v0, 0x46($s1) +/* 18576C 80256E8C 44050000 */ mfc1 $a1, $f0 +/* 185770 80256E90 44820000 */ mtc1 $v0, $f0 +/* 185774 80256E94 00000000 */ nop +/* 185778 80256E98 46800020 */ cvt.s.w $f0, $f0 +/* 18577C 80256E9C 46020002 */ mul.s $f0, $f0, $f2 +/* 185780 80256EA0 00000000 */ nop +/* 185784 80256EA4 86220048 */ lh $v0, 0x48($s1) +/* 185788 80256EA8 00021023 */ negu $v0, $v0 +/* 18578C 80256EAC 44060000 */ mfc1 $a2, $f0 +/* 185790 80256EB0 44820000 */ mtc1 $v0, $f0 +/* 185794 80256EB4 00000000 */ nop +/* 185798 80256EB8 46800020 */ cvt.s.w $f0, $f0 +/* 18579C 80256EBC 46020002 */ mul.s $f0, $f0, $f2 +/* 1857A0 80256EC0 00000000 */ nop +/* 1857A4 80256EC4 44070000 */ mfc1 $a3, $f0 +/* 1857A8 80256EC8 0C019E40 */ jal guTranslateF +/* 1857AC 80256ECC 27A401A0 */ addiu $a0, $sp, 0x1a0 +/* 1857B0 80256ED0 86220044 */ lh $v0, 0x44($s1) +/* 1857B4 80256ED4 C6420188 */ lwc1 $f2, 0x188($s2) +/* 1857B8 80256ED8 44820000 */ mtc1 $v0, $f0 +/* 1857BC 80256EDC 00000000 */ nop +/* 1857C0 80256EE0 46800020 */ cvt.s.w $f0, $f0 +/* 1857C4 80256EE4 46020002 */ mul.s $f0, $f0, $f2 +/* 1857C8 80256EE8 00000000 */ nop +/* 1857CC 80256EEC 86220046 */ lh $v0, 0x46($s1) +/* 1857D0 80256EF0 00021023 */ negu $v0, $v0 +func_80256EF4: +/* 1857D4 80256EF4 44050000 */ mfc1 $a1, $f0 +/* 1857D8 80256EF8 44820000 */ mtc1 $v0, $f0 +/* 1857DC 80256EFC 00000000 */ nop +/* 1857E0 80256F00 46800020 */ cvt.s.w $f0, $f0 +/* 1857E4 80256F04 46020002 */ mul.s $f0, $f0, $f2 +/* 1857E8 80256F08 00000000 */ nop +/* 1857EC 80256F0C 86220048 */ lh $v0, 0x48($s1) +/* 1857F0 80256F10 44060000 */ mfc1 $a2, $f0 +/* 1857F4 80256F14 44820000 */ mtc1 $v0, $f0 +/* 1857F8 80256F18 00000000 */ nop +/* 1857FC 80256F1C 46800020 */ cvt.s.w $f0, $f0 +/* 185800 80256F20 46020002 */ mul.s $f0, $f0, $f2 +/* 185804 80256F24 00000000 */ nop +/* 185808 80256F28 44070000 */ mfc1 $a3, $f0 +/* 18580C 80256F2C 0C019E40 */ jal guTranslateF +/* 185810 80256F30 27A401E0 */ addiu $a0, $sp, 0x1e0 +/* 185814 80256F34 86220068 */ lh $v0, 0x68($s1) +/* 185818 80256F38 44820000 */ mtc1 $v0, $f0 +/* 18581C 80256F3C 00000000 */ nop +/* 185820 80256F40 46800020 */ cvt.s.w $f0, $f0 +/* 185824 80256F44 4600D000 */ add.s $f0, $f26, $f0 +/* 185828 80256F48 8622006A */ lh $v0, 0x6a($s1) +/* 18582C 80256F4C 44050000 */ mfc1 $a1, $f0 +/* 185830 80256F50 44820000 */ mtc1 $v0, $f0 +/* 185834 80256F54 00000000 */ nop +/* 185838 80256F58 46800020 */ cvt.s.w $f0, $f0 +/* 18583C 80256F5C 4600A000 */ add.s $f0, $f20, $f0 +/* 185840 80256F60 4407B000 */ mfc1 $a3, $f22 +/* 185844 80256F64 44060000 */ mfc1 $a2, $f0 +/* 185848 80256F68 0C019E40 */ jal guTranslateF +/* 18584C 80256F6C 27A40220 */ addiu $a0, $sp, 0x220 +/* 185850 80256F70 E7BC0010 */ swc1 $f28, 0x10($sp) +/* 185854 80256F74 8E250038 */ lw $a1, 0x38($s1) +/* 185858 80256F78 3C063F80 */ lui $a2, 0x3f80 +/* 18585C 80256F7C 4407E000 */ mfc1 $a3, $f28 +/* 185860 80256F80 0C019EC8 */ jal guRotateF +/* 185864 80256F84 27A40020 */ addiu $a0, $sp, 0x20 +/* 185868 80256F88 E7BC0010 */ swc1 $f28, 0x10($sp) +/* 18586C 80256F8C 8E25003C */ lw $a1, 0x3c($s1) +/* 185870 80256F90 4406E000 */ mfc1 $a2, $f28 +/* 185874 80256F94 3C073F80 */ lui $a3, 0x3f80 +/* 185878 80256F98 0C019EC8 */ jal guRotateF +/* 18587C 80256F9C 8FA4036C */ lw $a0, 0x36c($sp) +/* 185880 80256FA0 3C013F80 */ lui $at, 0x3f80 +/* 185884 80256FA4 44815000 */ mtc1 $at, $f10 +/* 185888 80256FA8 4406E000 */ mfc1 $a2, $f28 +/* 18588C 80256FAC 4407E000 */ mfc1 $a3, $f28 +/* 185890 80256FB0 27B000A0 */ addiu $s0, $sp, 0xa0 +/* 185894 80256FB4 E7AA0010 */ swc1 $f10, 0x10($sp) +/* 185898 80256FB8 8E250040 */ lw $a1, 0x40($s1) +/* 18589C 80256FBC 0C019EC8 */ jal guRotateF +/* 1858A0 80256FC0 0200202D */ daddu $a0, $s0, $zero +/* 1858A4 80256FC4 27A50020 */ addiu $a1, $sp, 0x20 +/* 1858A8 80256FC8 8FA4036C */ lw $a0, 0x36c($sp) +/* 1858AC 80256FCC 0C019D80 */ jal guMtxCatF +/* 1858B0 80256FD0 02C0302D */ daddu $a2, $s6, $zero +/* 1858B4 80256FD4 02C0202D */ daddu $a0, $s6, $zero +/* 1858B8 80256FD8 8FA60370 */ lw $a2, 0x370($sp) +/* 1858BC 80256FDC 0C019D80 */ jal guMtxCatF +/* 1858C0 80256FE0 0200282D */ daddu $a1, $s0, $zero +/* 1858C4 80256FE4 82220074 */ lb $v0, 0x74($s1) +/* 1858C8 80256FE8 C6220050 */ lwc1 $f2, 0x50($s1) +/* 1858CC 80256FEC 44820000 */ mtc1 $v0, $f0 +/* 1858D0 80256FF0 00000000 */ nop +/* 1858D4 80256FF4 46800020 */ cvt.s.w $f0, $f0 +/* 1858D8 80256FF8 46001082 */ mul.s $f2, $f2, $f0 +/* 1858DC 80256FFC 00000000 */ nop +/* 1858E0 80257000 27B00120 */ addiu $s0, $sp, 0x120 +/* 1858E4 80257004 8E25004C */ lw $a1, 0x4c($s1) +/* 1858E8 80257008 8E270054 */ lw $a3, 0x54($s1) +/* 1858EC 8025700C 44061000 */ mfc1 $a2, $f2 +/* 1858F0 80257010 0C019DF0 */ jal guScaleF +/* 1858F4 80257014 0200202D */ daddu $a0, $s0, $zero +/* 1858F8 80257018 0200202D */ daddu $a0, $s0, $zero +/* 1858FC 8025701C 27A501A0 */ addiu $a1, $sp, 0x1a0 +/* 185900 80257020 0C019D80 */ jal guMtxCatF +/* 185904 80257024 02A0302D */ daddu $a2, $s5, $zero +/* 185908 80257028 02A0202D */ daddu $a0, $s5, $zero +/* 18590C 8025702C 8FA50370 */ lw $a1, 0x370($sp) +/* 185910 80257030 0C019D80 */ jal guMtxCatF +/* 185914 80257034 02C0302D */ daddu $a2, $s6, $zero +/* 185918 80257038 02C0202D */ daddu $a0, $s6, $zero +/* 18591C 8025703C 27A501E0 */ addiu $a1, $sp, 0x1e0 +/* 185920 80257040 0C019D80 */ jal guMtxCatF +/* 185924 80257044 02A0302D */ daddu $a2, $s5, $zero +/* 185928 80257048 8E220000 */ lw $v0, ($s1) +/* 18592C 8025704C 3C030010 */ lui $v1, 0x10 +/* 185930 80257050 00431024 */ and $v0, $v0, $v1 +/* 185934 80257054 14400003 */ bnez $v0, .L80257064 +/* 185938 80257058 02A0202D */ daddu $a0, $s5, $zero +/* 18593C 8025705C 08095C1A */ j func_80257068 +/* 185940 80257060 27A502A0 */ addiu $a1, $sp, 0x2a0 + +.L80257064: +/* 185944 80257064 27A50320 */ addiu $a1, $sp, 0x320 +func_80257068: +/* 185948 80257068 0C019D80 */ jal guMtxCatF +/* 18594C 8025706C 02C0302D */ daddu $a2, $s6, $zero +/* 185950 80257070 27A40260 */ addiu $a0, $sp, 0x260 +/* 185954 80257074 27A50220 */ addiu $a1, $sp, 0x220 +/* 185958 80257078 0C019D80 */ jal guMtxCatF +/* 18595C 8025707C 02A0302D */ daddu $a2, $s5, $zero +/* 185960 80257080 86220068 */ lh $v0, 0x68($s1) +/* 185964 80257084 44821000 */ mtc1 $v0, $f2 +/* 185968 80257088 00000000 */ nop +/* 18596C 8025708C 468010A0 */ cvt.s.w $f2, $f2 +/* 185970 80257090 8622006A */ lh $v0, 0x6a($s1) +/* 185974 80257094 4602D080 */ add.s $f2, $f26, $f2 +/* 185978 80257098 44820000 */ mtc1 $v0, $f0 +/* 18597C 8025709C 00000000 */ nop +/* 185980 802570A0 46800020 */ cvt.s.w $f0, $f0 +/* 185984 802570A4 8E220084 */ lw $v0, 0x84($s1) +/* 185988 802570A8 4600A000 */ add.s $f0, $f20, $f0 +/* 18598C 802570AC E6360060 */ swc1 $f22, 0x60($s1) +/* 185990 802570B0 E6220058 */ swc1 $f2, 0x58($s1) +/* 185994 802570B4 04400036 */ bltz $v0, .L80257190 +/* 185998 802570B8 E620005C */ swc1 $f0, 0x5c($s1) +/* 18599C 802570BC 8FA803D0 */ lw $t0, 0x3d0($sp) +/* 1859A0 802570C0 15000013 */ bnez $t0, .L80257110 +/* 1859A4 802570C4 0220282D */ daddu $a1, $s1, $zero +/* 1859A8 802570C8 24040001 */ addiu $a0, $zero, 1 +/* 1859AC 802570CC 4600C28D */ trunc.w.s $f10, $f24 +/* 1859B0 802570D0 44105000 */ mfc1 $s0, $f10 +/* 1859B4 802570D4 00000000 */ nop +/* 1859B8 802570D8 0200302D */ daddu $a2, $s0, $zero +/* 1859BC 802570DC 0C097210 */ jal func_8025C840 +/* 1859C0 802570E0 0000382D */ daddu $a3, $zero, $zero +/* 1859C4 802570E4 24040001 */ addiu $a0, $zero, 1 +/* 1859C8 802570E8 0220282D */ daddu $a1, $s1, $zero +/* 1859CC 802570EC 0200302D */ daddu $a2, $s0, $zero +/* 1859D0 802570F0 0C097332 */ jal func_8025CCC8 +/* 1859D4 802570F4 0000382D */ daddu $a3, $zero, $zero +/* 1859D8 802570F8 AFA00010 */ sw $zero, 0x10($sp) +/* 1859DC 802570FC 24040001 */ addiu $a0, $zero, 1 +/* 1859E0 80257100 0220282D */ daddu $a1, $s1, $zero +/* 1859E4 80257104 0200302D */ daddu $a2, $s0, $zero +/* 1859E8 80257108 08095C60 */ j func_80257180 +/* 1859EC 8025710C 02A0382D */ daddu $a3, $s5, $zero + +.L80257110: +/* 1859F0 80257110 3C014334 */ lui $at, 0x4334 +/* 1859F4 80257114 4481A000 */ mtc1 $at, $f20 +/* 1859F8 80257118 00000000 */ nop +/* 1859FC 8025711C 4618A501 */ sub.s $f20, $f20, $f24 +/* 185A00 80257120 0C00A6C9 */ jal clamp_angle +/* 185A04 80257124 4600A306 */ mov.s $f12, $f20 +/* 185A08 80257128 24040001 */ addiu $a0, $zero, 1 +/* 185A0C 8025712C 0220282D */ daddu $a1, $s1, $zero +/* 185A10 80257130 4600028D */ trunc.w.s $f10, $f0 +/* 185A14 80257134 44065000 */ mfc1 $a2, $f10 +/* 185A18 80257138 0C097210 */ jal func_8025C840 +/* 185A1C 8025713C 0000382D */ daddu $a3, $zero, $zero +/* 185A20 80257140 0C00A6C9 */ jal clamp_angle +/* 185A24 80257144 4600A306 */ mov.s $f12, $f20 +/* 185A28 80257148 24040001 */ addiu $a0, $zero, 1 +/* 185A2C 8025714C 0220282D */ daddu $a1, $s1, $zero +/* 185A30 80257150 4600028D */ trunc.w.s $f10, $f0 +/* 185A34 80257154 44065000 */ mfc1 $a2, $f10 +/* 185A38 80257158 0C097332 */ jal func_8025CCC8 +/* 185A3C 8025715C 0000382D */ daddu $a3, $zero, $zero +/* 185A40 80257160 0C00A6C9 */ jal clamp_angle +/* 185A44 80257164 4600A306 */ mov.s $f12, $f20 +/* 185A48 80257168 24040001 */ addiu $a0, $zero, 1 +/* 185A4C 8025716C 0220282D */ daddu $a1, $s1, $zero +/* 185A50 80257170 4600028D */ trunc.w.s $f10, $f0 +/* 185A54 80257174 44065000 */ mfc1 $a2, $f10 +/* 185A58 80257178 02A0382D */ daddu $a3, $s5, $zero +/* 185A5C 8025717C AFA00010 */ sw $zero, 0x10($sp) +func_80257180: +/* 185A60 80257180 0C09647B */ jal func_802591EC +/* 185A64 80257184 00000000 */ nop +/* 185A68 80257188 0C0973B2 */ jal func_8025CEC8 +/* 185A6C 8025718C 0220202D */ daddu $a0, $s1, $zero +.L80257190: +/* 185A70 80257190 8E31000C */ lw $s1, 0xc($s1) +/* 185A74 80257194 8FA80360 */ lw $t0, 0x360($sp) +/* 185A78 80257198 26F70001 */ addiu $s7, $s7, 1 +/* 185A7C 8025719C 02E8102A */ slt $v0, $s7, $t0 +/* 185A80 802571A0 1440FD74 */ bnez $v0, .L80256774 +/* 185A84 802571A4 00000000 */ nop +.L802571A8: +/* 185A88 802571A8 8FBF039C */ lw $ra, 0x39c($sp) +/* 185A8C 802571AC 8FBE0398 */ lw $fp, 0x398($sp) +/* 185A90 802571B0 8FB70394 */ lw $s7, 0x394($sp) +/* 185A94 802571B4 8FB60390 */ lw $s6, 0x390($sp) +/* 185A98 802571B8 8FB5038C */ lw $s5, 0x38c($sp) +/* 185A9C 802571BC 8FB40388 */ lw $s4, 0x388($sp) +/* 185AA0 802571C0 8FB30384 */ lw $s3, 0x384($sp) +/* 185AA4 802571C4 8FB20380 */ lw $s2, 0x380($sp) +/* 185AA8 802571C8 8FB1037C */ lw $s1, 0x37c($sp) +/* 185AAC 802571CC 8FB00378 */ lw $s0, 0x378($sp) +/* 185AB0 802571D0 D7BE03C8 */ ldc1 $f30, 0x3c8($sp) +/* 185AB4 802571D4 D7BC03C0 */ ldc1 $f28, 0x3c0($sp) +/* 185AB8 802571D8 D7BA03B8 */ ldc1 $f26, 0x3b8($sp) +/* 185ABC 802571DC D7B803B0 */ ldc1 $f24, 0x3b0($sp) +/* 185AC0 802571E0 D7B603A8 */ ldc1 $f22, 0x3a8($sp) +/* 185AC4 802571E4 D7B403A0 */ ldc1 $f20, 0x3a0($sp) +/* 185AC8 802571E8 03E00008 */ jr $ra +/* 185ACC 802571EC 27BD03D0 */ addiu $sp, $sp, 0x3d0 + +func_802571F0: +/* 185AD0 802571F0 27BDFC38 */ addiu $sp, $sp, -0x3c8 +/* 185AD4 802571F4 AFB20378 */ sw $s2, 0x378($sp) +/* 185AD8 802571F8 00A0902D */ daddu $s2, $a1, $zero +/* 185ADC 802571FC AFBF0394 */ sw $ra, 0x394($sp) +/* 185AE0 80257200 AFBE0390 */ sw $fp, 0x390($sp) +/* 185AE4 80257204 AFB7038C */ sw $s7, 0x38c($sp) +/* 185AE8 80257208 AFB60388 */ sw $s6, 0x388($sp) +/* 185AEC 8025720C AFB50384 */ sw $s5, 0x384($sp) +/* 185AF0 80257210 AFB40380 */ sw $s4, 0x380($sp) +/* 185AF4 80257214 AFB3037C */ sw $s3, 0x37c($sp) +/* 185AF8 80257218 AFB10374 */ sw $s1, 0x374($sp) +/* 185AFC 8025721C AFB00370 */ sw $s0, 0x370($sp) +/* 185B00 80257220 F7BE03C0 */ sdc1 $f30, 0x3c0($sp) +/* 185B04 80257224 F7BC03B8 */ sdc1 $f28, 0x3b8($sp) +/* 185B08 80257228 F7BA03B0 */ sdc1 $f26, 0x3b0($sp) +/* 185B0C 8025722C F7B803A8 */ sdc1 $f24, 0x3a8($sp) +/* 185B10 80257230 F7B603A0 */ sdc1 $f22, 0x3a0($sp) +/* 185B14 80257234 F7B40398 */ sdc1 $f20, 0x398($sp) +/* 185B18 80257238 AFA403C8 */ sw $a0, 0x3c8($sp) +/* 185B1C 8025723C 86420150 */ lh $v0, 0x150($s2) +/* 185B20 80257240 C6400144 */ lwc1 $f0, 0x144($s2) +/* 185B24 80257244 44821000 */ mtc1 $v0, $f2 +/* 185B28 80257248 00000000 */ nop +/* 185B2C 8025724C 468010A0 */ cvt.s.w $f2, $f2 +/* 185B30 80257250 46020000 */ add.s $f0, $f0, $f2 +/* 185B34 80257254 8E420000 */ lw $v0, ($s2) +/* 185B38 80257258 30420800 */ andi $v0, $v0, 0x800 +/* 185B3C 8025725C 14400008 */ bnez $v0, .L80257280 +/* 185B40 80257260 E7A00358 */ swc1 $f0, 0x358($sp) +/* 185B44 80257264 86420152 */ lh $v0, 0x152($s2) +/* 185B48 80257268 C6420148 */ lwc1 $f2, 0x148($s2) +/* 185B4C 8025726C 44820000 */ mtc1 $v0, $f0 +/* 185B50 80257270 00000000 */ nop +/* 185B54 80257274 46800020 */ cvt.s.w $f0, $f0 +/* 185B58 80257278 08095CA6 */ j func_80257298 +/* 185B5C 8025727C 46001080 */ add.s $f2, $f2, $f0 + +.L80257280: +/* 185B60 80257280 86420152 */ lh $v0, 0x152($s2) +/* 185B64 80257284 C6420148 */ lwc1 $f2, 0x148($s2) +/* 185B68 80257288 44820000 */ mtc1 $v0, $f0 +/* 185B6C 8025728C 00000000 */ nop +/* 185B70 80257290 46800020 */ cvt.s.w $f0, $f0 +/* 185B74 80257294 46001081 */ sub.s $f2, $f2, $f0 +func_80257298: +/* 185B78 80257298 E7A2035C */ swc1 $f2, 0x35c($sp) +/* 185B7C 8025729C 86420154 */ lh $v0, 0x154($s2) +/* 185B80 802572A0 C642014C */ lwc1 $f2, 0x14c($s2) +/* 185B84 802572A4 44820000 */ mtc1 $v0, $f0 +/* 185B88 802572A8 00000000 */ nop +/* 185B8C 802572AC 46800020 */ cvt.s.w $f0, $f0 +/* 185B90 802572B0 46001080 */ add.s $f2, $f2, $f0 +/* 185B94 802572B4 3C0140A0 */ lui $at, 0x40a0 +/* 185B98 802572B8 44810000 */ mtc1 $at, $f0 +/* 185B9C 802572BC 8E420000 */ lw $v0, ($s2) +/* 185BA0 802572C0 46001081 */ sub.s $f2, $f2, $f0 +/* 185BA4 802572C4 30420800 */ andi $v0, $v0, 0x800 +/* 185BA8 802572C8 14400025 */ bnez $v0, .L80257360 +/* 185BAC 802572CC E7A20360 */ swc1 $f2, 0x360($sp) +/* 185BB0 802572D0 86420168 */ lh $v0, 0x168($s2) +/* 185BB4 802572D4 C6420188 */ lwc1 $f2, 0x188($s2) +/* 185BB8 802572D8 00021023 */ negu $v0, $v0 +/* 185BBC 802572DC 44820000 */ mtc1 $v0, $f0 +/* 185BC0 802572E0 00000000 */ nop +/* 185BC4 802572E4 46800020 */ cvt.s.w $f0, $f0 +/* 185BC8 802572E8 46020002 */ mul.s $f0, $f0, $f2 +/* 185BCC 802572EC 00000000 */ nop +/* 185BD0 802572F0 8642016A */ lh $v0, 0x16a($s2) +/* 185BD4 802572F4 00021023 */ negu $v0, $v0 +/* 185BD8 802572F8 44050000 */ mfc1 $a1, $f0 +/* 185BDC 802572FC 44820000 */ mtc1 $v0, $f0 +/* 185BE0 80257300 00000000 */ nop +/* 185BE4 80257304 46800020 */ cvt.s.w $f0, $f0 +/* 185BE8 80257308 46020002 */ mul.s $f0, $f0, $f2 +/* 185BEC 8025730C 00000000 */ nop +/* 185BF0 80257310 8642016C */ lh $v0, 0x16c($s2) +/* 185BF4 80257314 00021023 */ negu $v0, $v0 +/* 185BF8 80257318 44060000 */ mfc1 $a2, $f0 +/* 185BFC 8025731C 44820000 */ mtc1 $v0, $f0 +/* 185C00 80257320 00000000 */ nop +/* 185C04 80257324 46800020 */ cvt.s.w $f0, $f0 +/* 185C08 80257328 46020002 */ mul.s $f0, $f0, $f2 +/* 185C0C 8025732C 00000000 */ nop +/* 185C10 80257330 44070000 */ mfc1 $a3, $f0 +/* 185C14 80257334 0C019E40 */ jal guTranslateF +/* 185C18 80257338 27A40158 */ addiu $a0, $sp, 0x158 +/* 185C1C 8025733C 86420168 */ lh $v0, 0x168($s2) +/* 185C20 80257340 C6420188 */ lwc1 $f2, 0x188($s2) +/* 185C24 80257344 44820000 */ mtc1 $v0, $f0 +/* 185C28 80257348 00000000 */ nop +/* 185C2C 8025734C 46800020 */ cvt.s.w $f0, $f0 +/* 185C30 80257350 46020002 */ mul.s $f0, $f0, $f2 +/* 185C34 80257354 00000000 */ nop +/* 185C38 80257358 08095CFB */ j func_802573EC +/* 185C3C 8025735C 8642016A */ lh $v0, 0x16a($s2) + +.L80257360: +/* 185C40 80257360 86420168 */ lh $v0, 0x168($s2) +/* 185C44 80257364 C6420188 */ lwc1 $f2, 0x188($s2) +/* 185C48 80257368 00021023 */ negu $v0, $v0 +/* 185C4C 8025736C 44820000 */ mtc1 $v0, $f0 +/* 185C50 80257370 00000000 */ nop +/* 185C54 80257374 46800020 */ cvt.s.w $f0, $f0 +/* 185C58 80257378 46020002 */ mul.s $f0, $f0, $f2 +/* 185C5C 8025737C 00000000 */ nop +/* 185C60 80257380 8642016A */ lh $v0, 0x16a($s2) +/* 185C64 80257384 44050000 */ mfc1 $a1, $f0 +/* 185C68 80257388 44820000 */ mtc1 $v0, $f0 +/* 185C6C 8025738C 00000000 */ nop +/* 185C70 80257390 46800020 */ cvt.s.w $f0, $f0 +/* 185C74 80257394 46020002 */ mul.s $f0, $f0, $f2 +/* 185C78 80257398 00000000 */ nop +/* 185C7C 8025739C 8642016C */ lh $v0, 0x16c($s2) +/* 185C80 802573A0 00021023 */ negu $v0, $v0 +/* 185C84 802573A4 44060000 */ mfc1 $a2, $f0 +/* 185C88 802573A8 44820000 */ mtc1 $v0, $f0 +/* 185C8C 802573AC 00000000 */ nop +/* 185C90 802573B0 46800020 */ cvt.s.w $f0, $f0 +/* 185C94 802573B4 46020002 */ mul.s $f0, $f0, $f2 +/* 185C98 802573B8 00000000 */ nop +/* 185C9C 802573BC 44070000 */ mfc1 $a3, $f0 +/* 185CA0 802573C0 0C019E40 */ jal guTranslateF +/* 185CA4 802573C4 27A40158 */ addiu $a0, $sp, 0x158 +/* 185CA8 802573C8 86420168 */ lh $v0, 0x168($s2) +/* 185CAC 802573CC C6420188 */ lwc1 $f2, 0x188($s2) +/* 185CB0 802573D0 44820000 */ mtc1 $v0, $f0 +/* 185CB4 802573D4 00000000 */ nop +/* 185CB8 802573D8 46800020 */ cvt.s.w $f0, $f0 +/* 185CBC 802573DC 46020002 */ mul.s $f0, $f0, $f2 +/* 185CC0 802573E0 00000000 */ nop +/* 185CC4 802573E4 8642016A */ lh $v0, 0x16a($s2) +/* 185CC8 802573E8 00021023 */ negu $v0, $v0 +func_802573EC: +/* 185CCC 802573EC 44050000 */ mfc1 $a1, $f0 +/* 185CD0 802573F0 44820000 */ mtc1 $v0, $f0 +/* 185CD4 802573F4 00000000 */ nop +/* 185CD8 802573F8 46800020 */ cvt.s.w $f0, $f0 +/* 185CDC 802573FC 46020002 */ mul.s $f0, $f0, $f2 +/* 185CE0 80257400 00000000 */ nop +/* 185CE4 80257404 8642016C */ lh $v0, 0x16c($s2) +/* 185CE8 80257408 44060000 */ mfc1 $a2, $f0 +/* 185CEC 8025740C 44820000 */ mtc1 $v0, $f0 +/* 185CF0 80257410 00000000 */ nop +/* 185CF4 80257414 46800020 */ cvt.s.w $f0, $f0 +/* 185CF8 80257418 46020002 */ mul.s $f0, $f0, $f2 +/* 185CFC 8025741C 00000000 */ nop +/* 185D00 80257420 44070000 */ mfc1 $a3, $f0 +/* 185D04 80257424 0C019E40 */ jal guTranslateF +/* 185D08 80257428 27A40198 */ addiu $a0, $sp, 0x198 +/* 185D0C 8025742C 4480B000 */ mtc1 $zero, $f22 +/* 185D10 80257430 3C013F80 */ lui $at, 0x3f80 +/* 185D14 80257434 4481C000 */ mtc1 $at, $f24 +/* 185D18 80257438 E7B60010 */ swc1 $f22, 0x10($sp) +/* 185D1C 8025743C 8E45015C */ lw $a1, 0x15c($s2) +/* 185D20 80257440 4406C000 */ mfc1 $a2, $f24 +/* 185D24 80257444 4407B000 */ mfc1 $a3, $f22 +/* 185D28 80257448 0C019EC8 */ jal guRotateF +/* 185D2C 8025744C 27A40018 */ addiu $a0, $sp, 0x18 +/* 185D30 80257450 27B70058 */ addiu $s7, $sp, 0x58 +/* 185D34 80257454 E7B60010 */ swc1 $f22, 0x10($sp) +/* 185D38 80257458 8E450160 */ lw $a1, 0x160($s2) +/* 185D3C 8025745C 4406B000 */ mfc1 $a2, $f22 +/* 185D40 80257460 4407C000 */ mfc1 $a3, $f24 +/* 185D44 80257464 0C019EC8 */ jal guRotateF +/* 185D48 80257468 02E0202D */ daddu $a0, $s7, $zero +/* 185D4C 8025746C 27B60098 */ addiu $s6, $sp, 0x98 +/* 185D50 80257470 E7B80010 */ swc1 $f24, 0x10($sp) +/* 185D54 80257474 8E450164 */ lw $a1, 0x164($s2) +/* 185D58 80257478 4406B000 */ mfc1 $a2, $f22 +/* 185D5C 8025747C 4407B000 */ mfc1 $a3, $f22 +/* 185D60 80257480 0C019EC8 */ jal guRotateF +/* 185D64 80257484 02C0202D */ daddu $a0, $s6, $zero +/* 185D68 80257488 02E0202D */ daddu $a0, $s7, $zero +/* 185D6C 8025748C 27A50018 */ addiu $a1, $sp, 0x18 +/* 185D70 80257490 27B30218 */ addiu $s3, $sp, 0x218 +/* 185D74 80257494 0C019D80 */ jal guMtxCatF +/* 185D78 80257498 0260302D */ daddu $a2, $s3, $zero +/* 185D7C 8025749C 0260202D */ daddu $a0, $s3, $zero +/* 185D80 802574A0 02C0282D */ daddu $a1, $s6, $zero +/* 185D84 802574A4 27B500D8 */ addiu $s5, $sp, 0xd8 +/* 185D88 802574A8 0C019D80 */ jal guMtxCatF +/* 185D8C 802574AC 02A0302D */ daddu $a2, $s5, $zero +/* 185D90 802574B0 C6440170 */ lwc1 $f4, 0x170($s2) +/* 185D94 802574B4 3C01802A */ lui $at, 0x802a +/* 185D98 802574B8 D434D380 */ ldc1 $f20, -0x2c80($at) +/* 185D9C 802574BC 46002121 */ cvt.d.s $f4, $f4 +/* 185DA0 802574C0 46342102 */ mul.d $f4, $f4, $f20 +/* 185DA4 802574C4 00000000 */ nop +/* 185DA8 802574C8 C6400174 */ lwc1 $f0, 0x174($s2) +/* 185DAC 802574CC 46000021 */ cvt.d.s $f0, $f0 +/* 185DB0 802574D0 46340002 */ mul.d $f0, $f0, $f20 +/* 185DB4 802574D4 00000000 */ nop +/* 185DB8 802574D8 C6420178 */ lwc1 $f2, 0x178($s2) +/* 185DBC 802574DC 460010A1 */ cvt.d.s $f2, $f2 +/* 185DC0 802574E0 46341082 */ mul.d $f2, $f2, $f20 +/* 185DC4 802574E4 00000000 */ nop +/* 185DC8 802574E8 C6460188 */ lwc1 $f6, 0x188($s2) +/* 185DCC 802574EC 460031A1 */ cvt.d.s $f6, $f6 +/* 185DD0 802574F0 46262102 */ mul.d $f4, $f4, $f6 +/* 185DD4 802574F4 00000000 */ nop +/* 185DD8 802574F8 46260002 */ mul.d $f0, $f0, $f6 +/* 185DDC 802574FC 00000000 */ nop +/* 185DE0 80257500 27B40118 */ addiu $s4, $sp, 0x118 +/* 185DE4 80257504 462010A0 */ cvt.s.d $f2, $f2 +/* 185DE8 80257508 44071000 */ mfc1 $a3, $f2 +/* 185DEC 8025750C 46202120 */ cvt.s.d $f4, $f4 +/* 185DF0 80257510 46200020 */ cvt.s.d $f0, $f0 +/* 185DF4 80257514 44052000 */ mfc1 $a1, $f4 +/* 185DF8 80257518 44060000 */ mfc1 $a2, $f0 +/* 185DFC 8025751C 0C019DF0 */ jal guScaleF +/* 185E00 80257520 0280202D */ daddu $a0, $s4, $zero +/* 185E04 80257524 27A40158 */ addiu $a0, $sp, 0x158 +/* 185E08 80257528 0280282D */ daddu $a1, $s4, $zero +/* 185E0C 8025752C 0C019D80 */ jal guMtxCatF +/* 185E10 80257530 0260302D */ daddu $a2, $s3, $zero +/* 185E14 80257534 0260202D */ daddu $a0, $s3, $zero +/* 185E18 80257538 02A0282D */ daddu $a1, $s5, $zero +/* 185E1C 8025753C 27B00258 */ addiu $s0, $sp, 0x258 +/* 185E20 80257540 0C019D80 */ jal guMtxCatF +/* 185E24 80257544 0200302D */ daddu $a2, $s0, $zero +/* 185E28 80257548 0200202D */ daddu $a0, $s0, $zero +/* 185E2C 8025754C 27A50198 */ addiu $a1, $sp, 0x198 +/* 185E30 80257550 0C019D80 */ jal guMtxCatF +/* 185E34 80257554 27A602D8 */ addiu $a2, $sp, 0x2d8 +/* 185E38 80257558 824801F3 */ lb $t0, 0x1f3($s2) +/* 185E3C 8025755C AFA80364 */ sw $t0, 0x364($sp) +/* 185E40 80257560 8E5101F4 */ lw $s1, 0x1f4($s2) +/* 185E44 80257564 1900015E */ blez $t0, .L80257AE0 +/* 185E48 80257568 0000F02D */ daddu $fp, $zero, $zero +/* 185E4C 8025756C 4620A786 */ mov.d $f30, $f20 +/* 185E50 80257570 4600B706 */ mov.s $f28, $f22 +/* 185E54 80257574 AFB70368 */ sw $s7, 0x368($sp) +/* 185E58 80257578 02C0B82D */ daddu $s7, $s6, $zero +/* 185E5C 8025757C 02A0B02D */ daddu $s6, $s5, $zero +/* 185E60 80257580 0280A82D */ daddu $s5, $s4, $zero +/* 185E64 80257584 0200A02D */ daddu $s4, $s0, $zero +.L80257588: +/* 185E68 80257588 8E220000 */ lw $v0, ($s1) +/* 185E6C 8025758C 3C030010 */ lui $v1, 0x10 +/* 185E70 80257590 00431024 */ and $v0, $v0, $v1 +/* 185E74 80257594 14400035 */ bnez $v0, .L8025766C +/* 185E78 80257598 27A40318 */ addiu $a0, $sp, 0x318 +/* 185E7C 8025759C 86220014 */ lh $v0, 0x14($s1) +/* 185E80 802575A0 C7AA0358 */ lwc1 $f10, 0x358($sp) +/* 185E84 802575A4 44820000 */ mtc1 $v0, $f0 +/* 185E88 802575A8 00000000 */ nop +/* 185E8C 802575AC 46800020 */ cvt.s.w $f0, $f0 +/* 185E90 802575B0 8622001A */ lh $v0, 0x1a($s1) +/* 185E94 802575B4 46005000 */ add.s $f0, $f10, $f0 +/* 185E98 802575B8 44821000 */ mtc1 $v0, $f2 +/* 185E9C 802575BC 00000000 */ nop +/* 185EA0 802575C0 468010A0 */ cvt.s.w $f2, $f2 +/* 185EA4 802575C4 8E420000 */ lw $v0, ($s2) +/* 185EA8 802575C8 30420800 */ andi $v0, $v0, 0x800 +/* 185EAC 802575CC 1440000D */ bnez $v0, .L80257604 +/* 185EB0 802575D0 46020680 */ add.s $f26, $f0, $f2 +/* 185EB4 802575D4 86220016 */ lh $v0, 0x16($s1) +/* 185EB8 802575D8 C7AA035C */ lwc1 $f10, 0x35c($sp) +/* 185EBC 802575DC 44821000 */ mtc1 $v0, $f2 +/* 185EC0 802575E0 00000000 */ nop +/* 185EC4 802575E4 468010A0 */ cvt.s.w $f2, $f2 +/* 185EC8 802575E8 8622001C */ lh $v0, 0x1c($s1) +/* 185ECC 802575EC 46025080 */ add.s $f2, $f10, $f2 +/* 185ED0 802575F0 44820000 */ mtc1 $v0, $f0 +/* 185ED4 802575F4 00000000 */ nop +/* 185ED8 802575F8 46800020 */ cvt.s.w $f0, $f0 +/* 185EDC 802575FC 08095D8C */ j func_80257630 +/* 185EE0 80257600 46001500 */ add.s $f20, $f2, $f0 + +.L80257604: +/* 185EE4 80257604 86220016 */ lh $v0, 0x16($s1) +/* 185EE8 80257608 C7AA035C */ lwc1 $f10, 0x35c($sp) +/* 185EEC 8025760C 44821000 */ mtc1 $v0, $f2 +/* 185EF0 80257610 00000000 */ nop +/* 185EF4 80257614 468010A0 */ cvt.s.w $f2, $f2 +/* 185EF8 80257618 8622001C */ lh $v0, 0x1c($s1) +/* 185EFC 8025761C 46025081 */ sub.s $f2, $f10, $f2 +/* 185F00 80257620 44820000 */ mtc1 $v0, $f0 +/* 185F04 80257624 00000000 */ nop +/* 185F08 80257628 46800020 */ cvt.s.w $f0, $f0 +/* 185F0C 8025762C 46001501 */ sub.s $f20, $f2, $f0 +func_80257630: +/* 185F10 80257630 C640018C */ lwc1 $f0, 0x18c($s2) +/* 185F14 80257634 86220018 */ lh $v0, 0x18($s1) +/* 185F18 80257638 C7AA0360 */ lwc1 $f10, 0x360($sp) +/* 185F1C 8025763C 46000586 */ mov.s $f22, $f0 +/* 185F20 80257640 44821000 */ mtc1 $v0, $f2 +/* 185F24 80257644 00000000 */ nop +/* 185F28 80257648 468010A0 */ cvt.s.w $f2, $f2 +/* 185F2C 8025764C 8622001E */ lh $v0, 0x1e($s1) +/* 185F30 80257650 46025080 */ add.s $f2, $f10, $f2 +/* 185F34 80257654 E6360064 */ swc1 $f22, 0x64($s1) +/* 185F38 80257658 44820000 */ mtc1 $v0, $f0 +/* 185F3C 8025765C 00000000 */ nop +/* 185F40 80257660 46800020 */ cvt.s.w $f0, $f0 +/* 185F44 80257664 08095DC1 */ j func_80257704 +/* 185F48 80257668 46001600 */ add.s $f24, $f2, $f0 + +.L8025766C: +/* 185F4C 8025766C C6480170 */ lwc1 $f8, 0x170($s2) +/* 185F50 80257670 46004221 */ cvt.d.s $f8, $f8 +/* 185F54 80257674 463E4202 */ mul.d $f8, $f8, $f30 +/* 185F58 80257678 00000000 */ nop +/* 185F5C 8025767C C6460174 */ lwc1 $f6, 0x174($s2) +/* 185F60 80257680 460031A1 */ cvt.d.s $f6, $f6 +/* 185F64 80257684 463E3182 */ mul.d $f6, $f6, $f30 +/* 185F68 80257688 00000000 */ nop +/* 185F6C 8025768C C6420178 */ lwc1 $f2, 0x178($s2) +/* 185F70 80257690 460010A1 */ cvt.d.s $f2, $f2 +/* 185F74 80257694 463E1082 */ mul.d $f2, $f2, $f30 +/* 185F78 80257698 00000000 */ nop +/* 185F7C 8025769C 8622001A */ lh $v0, 0x1a($s1) +/* 185F80 802576A0 C624002C */ lwc1 $f4, 0x2c($s1) +/* 185F84 802576A4 44820000 */ mtc1 $v0, $f0 +/* 185F88 802576A8 00000000 */ nop +/* 185F8C 802576AC 46800020 */ cvt.s.w $f0, $f0 +/* 185F90 802576B0 46002680 */ add.s $f26, $f4, $f0 +/* 185F94 802576B4 8622001C */ lh $v0, 0x1c($s1) +/* 185F98 802576B8 C6240030 */ lwc1 $f4, 0x30($s1) +/* 185F9C 802576BC 44820000 */ mtc1 $v0, $f0 +/* 185FA0 802576C0 00000000 */ nop +/* 185FA4 802576C4 46800020 */ cvt.s.w $f0, $f0 +/* 185FA8 802576C8 46002500 */ add.s $f20, $f4, $f0 +/* 185FAC 802576CC 8622001E */ lh $v0, 0x1e($s1) +/* 185FB0 802576D0 C6240034 */ lwc1 $f4, 0x34($s1) +/* 185FB4 802576D4 44820000 */ mtc1 $v0, $f0 +/* 185FB8 802576D8 00000000 */ nop +/* 185FBC 802576DC 46800020 */ cvt.s.w $f0, $f0 +/* 185FC0 802576E0 46204220 */ cvt.s.d $f8, $f8 +/* 185FC4 802576E4 462031A0 */ cvt.s.d $f6, $f6 +/* 185FC8 802576E8 462010A0 */ cvt.s.d $f2, $f2 +/* 185FCC 802576EC 44054000 */ mfc1 $a1, $f8 +/* 185FD0 802576F0 44063000 */ mfc1 $a2, $f6 +/* 185FD4 802576F4 44071000 */ mfc1 $a3, $f2 +/* 185FD8 802576F8 0C019DF0 */ jal guScaleF +/* 185FDC 802576FC 46002600 */ add.s $f24, $f4, $f0 +/* 185FE0 80257700 C6360064 */ lwc1 $f22, 0x64($s1) +func_80257704: +/* 185FE4 80257704 8E220000 */ lw $v0, ($s1) +/* 185FE8 80257708 30420001 */ andi $v0, $v0, 1 +/* 185FEC 8025770C 144000EE */ bnez $v0, .L80257AC8 +/* 185FF0 80257710 00000000 */ nop +/* 185FF4 80257714 8E220094 */ lw $v0, 0x94($s1) +/* 185FF8 80257718 104000EB */ beqz $v0, .L80257AC8 +/* 185FFC 8025771C 00000000 */ nop +/* 186000 80257720 8E420000 */ lw $v0, ($s2) +/* 186004 80257724 30420800 */ andi $v0, $v0, 0x800 +/* 186008 80257728 14400025 */ bnez $v0, .L802577C0 +/* 18600C 8025772C 00000000 */ nop +/* 186010 80257730 86220044 */ lh $v0, 0x44($s1) +/* 186014 80257734 C6420188 */ lwc1 $f2, 0x188($s2) +/* 186018 80257738 00021023 */ negu $v0, $v0 +/* 18601C 8025773C 44820000 */ mtc1 $v0, $f0 +/* 186020 80257740 00000000 */ nop +/* 186024 80257744 46800020 */ cvt.s.w $f0, $f0 +/* 186028 80257748 46020002 */ mul.s $f0, $f0, $f2 +/* 18602C 8025774C 00000000 */ nop +/* 186030 80257750 86220046 */ lh $v0, 0x46($s1) +/* 186034 80257754 00021023 */ negu $v0, $v0 +/* 186038 80257758 44050000 */ mfc1 $a1, $f0 +/* 18603C 8025775C 44820000 */ mtc1 $v0, $f0 +/* 186040 80257760 00000000 */ nop +/* 186044 80257764 46800020 */ cvt.s.w $f0, $f0 +/* 186048 80257768 46020002 */ mul.s $f0, $f0, $f2 +/* 18604C 8025776C 00000000 */ nop +/* 186050 80257770 86220048 */ lh $v0, 0x48($s1) +/* 186054 80257774 00021023 */ negu $v0, $v0 +/* 186058 80257778 44060000 */ mfc1 $a2, $f0 +/* 18605C 8025777C 44820000 */ mtc1 $v0, $f0 +/* 186060 80257780 00000000 */ nop +/* 186064 80257784 46800020 */ cvt.s.w $f0, $f0 +/* 186068 80257788 46020002 */ mul.s $f0, $f0, $f2 +/* 18606C 8025778C 00000000 */ nop +/* 186070 80257790 44070000 */ mfc1 $a3, $f0 +/* 186074 80257794 0C019E40 */ jal guTranslateF +/* 186078 80257798 27A40158 */ addiu $a0, $sp, 0x158 +/* 18607C 8025779C 86220044 */ lh $v0, 0x44($s1) +/* 186080 802577A0 C6420188 */ lwc1 $f2, 0x188($s2) +/* 186084 802577A4 44820000 */ mtc1 $v0, $f0 +/* 186088 802577A8 00000000 */ nop +/* 18608C 802577AC 46800020 */ cvt.s.w $f0, $f0 +/* 186090 802577B0 46020002 */ mul.s $f0, $f0, $f2 +/* 186094 802577B4 00000000 */ nop +/* 186098 802577B8 08095E13 */ j func_8025784C +/* 18609C 802577BC 86220046 */ lh $v0, 0x46($s1) + +.L802577C0: +/* 1860A0 802577C0 86220044 */ lh $v0, 0x44($s1) +/* 1860A4 802577C4 C6420188 */ lwc1 $f2, 0x188($s2) +/* 1860A8 802577C8 00021023 */ negu $v0, $v0 +/* 1860AC 802577CC 44820000 */ mtc1 $v0, $f0 +/* 1860B0 802577D0 00000000 */ nop +/* 1860B4 802577D4 46800020 */ cvt.s.w $f0, $f0 +/* 1860B8 802577D8 46020002 */ mul.s $f0, $f0, $f2 +/* 1860BC 802577DC 00000000 */ nop +/* 1860C0 802577E0 86220046 */ lh $v0, 0x46($s1) +/* 1860C4 802577E4 44050000 */ mfc1 $a1, $f0 +/* 1860C8 802577E8 44820000 */ mtc1 $v0, $f0 +/* 1860CC 802577EC 00000000 */ nop +/* 1860D0 802577F0 46800020 */ cvt.s.w $f0, $f0 +/* 1860D4 802577F4 46020002 */ mul.s $f0, $f0, $f2 +/* 1860D8 802577F8 00000000 */ nop +/* 1860DC 802577FC 86220048 */ lh $v0, 0x48($s1) +/* 1860E0 80257800 00021023 */ negu $v0, $v0 +/* 1860E4 80257804 44060000 */ mfc1 $a2, $f0 +/* 1860E8 80257808 44820000 */ mtc1 $v0, $f0 +/* 1860EC 8025780C 00000000 */ nop +/* 1860F0 80257810 46800020 */ cvt.s.w $f0, $f0 +/* 1860F4 80257814 46020002 */ mul.s $f0, $f0, $f2 +/* 1860F8 80257818 00000000 */ nop +/* 1860FC 8025781C 44070000 */ mfc1 $a3, $f0 +/* 186100 80257820 0C019E40 */ jal guTranslateF +/* 186104 80257824 27A40158 */ addiu $a0, $sp, 0x158 +/* 186108 80257828 86220044 */ lh $v0, 0x44($s1) +/* 18610C 8025782C C6420188 */ lwc1 $f2, 0x188($s2) +/* 186110 80257830 44820000 */ mtc1 $v0, $f0 +/* 186114 80257834 00000000 */ nop +/* 186118 80257838 46800020 */ cvt.s.w $f0, $f0 +/* 18611C 8025783C 46020002 */ mul.s $f0, $f0, $f2 +/* 186120 80257840 00000000 */ nop +/* 186124 80257844 86220046 */ lh $v0, 0x46($s1) +/* 186128 80257848 00021023 */ negu $v0, $v0 +func_8025784C: +/* 18612C 8025784C 44050000 */ mfc1 $a1, $f0 +/* 186130 80257850 44820000 */ mtc1 $v0, $f0 +/* 186134 80257854 00000000 */ nop +/* 186138 80257858 46800020 */ cvt.s.w $f0, $f0 +/* 18613C 8025785C 46020002 */ mul.s $f0, $f0, $f2 +/* 186140 80257860 00000000 */ nop +/* 186144 80257864 86220048 */ lh $v0, 0x48($s1) +/* 186148 80257868 44060000 */ mfc1 $a2, $f0 +/* 18614C 8025786C 44820000 */ mtc1 $v0, $f0 +/* 186150 80257870 00000000 */ nop +/* 186154 80257874 46800020 */ cvt.s.w $f0, $f0 +/* 186158 80257878 46020002 */ mul.s $f0, $f0, $f2 +/* 18615C 8025787C 00000000 */ nop +/* 186160 80257880 44070000 */ mfc1 $a3, $f0 +/* 186164 80257884 0C019E40 */ jal guTranslateF +/* 186168 80257888 27A40198 */ addiu $a0, $sp, 0x198 +/* 18616C 8025788C 3C013F80 */ lui $at, 0x3f80 +/* 186170 80257890 44815000 */ mtc1 $at, $f10 +/* 186174 80257894 86220068 */ lh $v0, 0x68($s1) +/* 186178 80257898 460AC281 */ sub.s $f10, $f24, $f10 +/* 18617C 8025789C 44820000 */ mtc1 $v0, $f0 +/* 186180 802578A0 00000000 */ nop +/* 186184 802578A4 46800020 */ cvt.s.w $f0, $f0 +/* 186188 802578A8 4600D680 */ add.s $f26, $f26, $f0 +/* 18618C 802578AC 8622006A */ lh $v0, 0x6a($s1) +/* 186190 802578B0 44820000 */ mtc1 $v0, $f0 +/* 186194 802578B4 00000000 */ nop +/* 186198 802578B8 46800020 */ cvt.s.w $f0, $f0 +/* 18619C 802578BC 4600A500 */ add.s $f20, $f20, $f0 +/* 1861A0 802578C0 44075000 */ mfc1 $a3, $f10 +/* 1861A4 802578C4 4405D000 */ mfc1 $a1, $f26 +/* 1861A8 802578C8 4406A000 */ mfc1 $a2, $f20 +/* 1861AC 802578CC 0C019E40 */ jal guTranslateF +/* 1861B0 802578D0 27A401D8 */ addiu $a0, $sp, 0x1d8 +/* 1861B4 802578D4 E7BC0010 */ swc1 $f28, 0x10($sp) +/* 1861B8 802578D8 8E250038 */ lw $a1, 0x38($s1) +/* 1861BC 802578DC 3C063F80 */ lui $a2, 0x3f80 +/* 1861C0 802578E0 4407E000 */ mfc1 $a3, $f28 +/* 1861C4 802578E4 0C019EC8 */ jal guRotateF +/* 1861C8 802578E8 27A40018 */ addiu $a0, $sp, 0x18 +/* 1861CC 802578EC E7BC0010 */ swc1 $f28, 0x10($sp) +/* 1861D0 802578F0 8E25003C */ lw $a1, 0x3c($s1) +/* 1861D4 802578F4 4406E000 */ mfc1 $a2, $f28 +/* 1861D8 802578F8 3C073F80 */ lui $a3, 0x3f80 +/* 1861DC 802578FC 0C019EC8 */ jal guRotateF +/* 1861E0 80257900 8FA40368 */ lw $a0, 0x368($sp) +/* 1861E4 80257904 3C013F80 */ lui $at, 0x3f80 +/* 1861E8 80257908 44815000 */ mtc1 $at, $f10 +/* 1861EC 8025790C 4406E000 */ mfc1 $a2, $f28 +/* 1861F0 80257910 4407E000 */ mfc1 $a3, $f28 +/* 1861F4 80257914 E7AA0010 */ swc1 $f10, 0x10($sp) +/* 1861F8 80257918 8E250040 */ lw $a1, 0x40($s1) +/* 1861FC 8025791C 0C019EC8 */ jal guRotateF +/* 186200 80257920 02E0202D */ daddu $a0, $s7, $zero +/* 186204 80257924 27A50018 */ addiu $a1, $sp, 0x18 +/* 186208 80257928 8FA40368 */ lw $a0, 0x368($sp) +/* 18620C 8025792C 0C019D80 */ jal guMtxCatF +/* 186210 80257930 0260302D */ daddu $a2, $s3, $zero +/* 186214 80257934 0260202D */ daddu $a0, $s3, $zero +/* 186218 80257938 02E0282D */ daddu $a1, $s7, $zero +/* 18621C 8025793C 0C019D80 */ jal guMtxCatF +/* 186220 80257940 02C0302D */ daddu $a2, $s6, $zero +/* 186224 80257944 82220074 */ lb $v0, 0x74($s1) +/* 186228 80257948 C6220050 */ lwc1 $f2, 0x50($s1) +/* 18622C 8025794C 44820000 */ mtc1 $v0, $f0 +/* 186230 80257950 00000000 */ nop +/* 186234 80257954 46800020 */ cvt.s.w $f0, $f0 +/* 186238 80257958 46001082 */ mul.s $f2, $f2, $f0 +/* 18623C 8025795C 00000000 */ nop +/* 186240 80257960 8E25004C */ lw $a1, 0x4c($s1) +/* 186244 80257964 8E270054 */ lw $a3, 0x54($s1) +/* 186248 80257968 44061000 */ mfc1 $a2, $f2 +/* 18624C 8025796C 0C019DF0 */ jal guScaleF +/* 186250 80257970 02A0202D */ daddu $a0, $s5, $zero +/* 186254 80257974 0C0950A2 */ jal mtx_mirror_y +/* 186258 80257978 27A40298 */ addiu $a0, $sp, 0x298 +/* 18625C 8025797C 02A0202D */ daddu $a0, $s5, $zero +/* 186260 80257980 27A50158 */ addiu $a1, $sp, 0x158 +/* 186264 80257984 0C019D80 */ jal guMtxCatF +/* 186268 80257988 0260302D */ daddu $a2, $s3, $zero +/* 18626C 8025798C 0260202D */ daddu $a0, $s3, $zero +/* 186270 80257990 02C0282D */ daddu $a1, $s6, $zero +/* 186274 80257994 0C019D80 */ jal guMtxCatF +/* 186278 80257998 0280302D */ daddu $a2, $s4, $zero +/* 18627C 8025799C 0280202D */ daddu $a0, $s4, $zero +/* 186280 802579A0 27A50198 */ addiu $a1, $sp, 0x198 +/* 186284 802579A4 0C019D80 */ jal guMtxCatF +/* 186288 802579A8 0260302D */ daddu $a2, $s3, $zero +/* 18628C 802579AC 8E220000 */ lw $v0, ($s1) +/* 186290 802579B0 3C030010 */ lui $v1, 0x10 +/* 186294 802579B4 00431024 */ and $v0, $v0, $v1 +/* 186298 802579B8 14400003 */ bnez $v0, .L802579C8 +/* 18629C 802579BC 0260202D */ daddu $a0, $s3, $zero +/* 1862A0 802579C0 08095E73 */ j func_802579CC +/* 1862A4 802579C4 27A502D8 */ addiu $a1, $sp, 0x2d8 + +.L802579C8: +/* 1862A8 802579C8 27A50318 */ addiu $a1, $sp, 0x318 +func_802579CC: +/* 1862AC 802579CC 0C019D80 */ jal guMtxCatF +/* 1862B0 802579D0 0280302D */ daddu $a2, $s4, $zero +/* 1862B4 802579D4 0280202D */ daddu $a0, $s4, $zero +/* 1862B8 802579D8 27A501D8 */ addiu $a1, $sp, 0x1d8 +/* 1862BC 802579DC 0C019D80 */ jal guMtxCatF +/* 1862C0 802579E0 0260302D */ daddu $a2, $s3, $zero +/* 1862C4 802579E4 0260202D */ daddu $a0, $s3, $zero +/* 1862C8 802579E8 27A50298 */ addiu $a1, $sp, 0x298 +/* 1862CC 802579EC 0C019D80 */ jal guMtxCatF +/* 1862D0 802579F0 0280302D */ daddu $a2, $s4, $zero +/* 1862D4 802579F4 8FA803C8 */ lw $t0, 0x3c8($sp) +/* 1862D8 802579F8 15000014 */ bnez $t0, .L80257A4C +/* 1862DC 802579FC 24040001 */ addiu $a0, $zero, 1 +/* 1862E0 80257A00 0220282D */ daddu $a1, $s1, $zero +/* 1862E4 80257A04 4600B28D */ trunc.w.s $f10, $f22 +/* 1862E8 80257A08 44105000 */ mfc1 $s0, $f10 +/* 1862EC 80257A0C 00000000 */ nop +/* 1862F0 80257A10 0200302D */ daddu $a2, $s0, $zero +/* 1862F4 80257A14 0C097210 */ jal func_8025C840 +/* 1862F8 80257A18 0080382D */ daddu $a3, $a0, $zero +/* 1862FC 80257A1C 24040001 */ addiu $a0, $zero, 1 +/* 186300 80257A20 0220282D */ daddu $a1, $s1, $zero +/* 186304 80257A24 0200302D */ daddu $a2, $s0, $zero +/* 186308 80257A28 0C097332 */ jal func_8025CCC8 +/* 18630C 80257A2C 0080382D */ daddu $a3, $a0, $zero +/* 186310 80257A30 24020001 */ addiu $v0, $zero, 1 +/* 186314 80257A34 AFA20010 */ sw $v0, 0x10($sp) +/* 186318 80257A38 0040202D */ daddu $a0, $v0, $zero +/* 18631C 80257A3C 0220282D */ daddu $a1, $s1, $zero +/* 186320 80257A40 0200302D */ daddu $a2, $s0, $zero +/* 186324 80257A44 08095EB0 */ j func_80257AC0 +/* 186328 80257A48 0280382D */ daddu $a3, $s4, $zero + +.L80257A4C: +/* 18632C 80257A4C 3C014334 */ lui $at, 0x4334 +/* 186330 80257A50 4481A000 */ mtc1 $at, $f20 +/* 186334 80257A54 00000000 */ nop +/* 186338 80257A58 4614B500 */ add.s $f20, $f22, $f20 +/* 18633C 80257A5C 0C00A6C9 */ jal clamp_angle +/* 186340 80257A60 4600A306 */ mov.s $f12, $f20 +/* 186344 80257A64 24040001 */ addiu $a0, $zero, 1 +/* 186348 80257A68 0220282D */ daddu $a1, $s1, $zero +/* 18634C 80257A6C 4600028D */ trunc.w.s $f10, $f0 +/* 186350 80257A70 44065000 */ mfc1 $a2, $f10 +/* 186354 80257A74 0C097210 */ jal func_8025C840 +/* 186358 80257A78 0080382D */ daddu $a3, $a0, $zero +/* 18635C 80257A7C 0C00A6C9 */ jal clamp_angle +/* 186360 80257A80 4600A306 */ mov.s $f12, $f20 +/* 186364 80257A84 24040001 */ addiu $a0, $zero, 1 +/* 186368 80257A88 0220282D */ daddu $a1, $s1, $zero +/* 18636C 80257A8C 4600028D */ trunc.w.s $f10, $f0 +/* 186370 80257A90 44065000 */ mfc1 $a2, $f10 +/* 186374 80257A94 0C097332 */ jal func_8025CCC8 +/* 186378 80257A98 0080382D */ daddu $a3, $a0, $zero +/* 18637C 80257A9C 0C00A6C9 */ jal clamp_angle +/* 186380 80257AA0 4600A306 */ mov.s $f12, $f20 +/* 186384 80257AA4 24040001 */ addiu $a0, $zero, 1 +/* 186388 80257AA8 0220282D */ daddu $a1, $s1, $zero +/* 18638C 80257AAC 4600028D */ trunc.w.s $f10, $f0 +/* 186390 80257AB0 44065000 */ mfc1 $a2, $f10 +/* 186394 80257AB4 0280382D */ daddu $a3, $s4, $zero +/* 186398 80257AB8 0080102D */ daddu $v0, $a0, $zero +/* 18639C 80257ABC AFA20010 */ sw $v0, 0x10($sp) +func_80257AC0: +/* 1863A0 80257AC0 0C09647B */ jal func_802591EC +/* 1863A4 80257AC4 00000000 */ nop +.L80257AC8: +/* 1863A8 80257AC8 8E31000C */ lw $s1, 0xc($s1) +/* 1863AC 80257ACC 8FA80364 */ lw $t0, 0x364($sp) +/* 1863B0 80257AD0 27DE0001 */ addiu $fp, $fp, 1 +/* 1863B4 80257AD4 03C8102A */ slt $v0, $fp, $t0 +/* 1863B8 80257AD8 1440FEAB */ bnez $v0, .L80257588 +/* 1863BC 80257ADC 00000000 */ nop +.L80257AE0: +/* 1863C0 80257AE0 8FBF0394 */ lw $ra, 0x394($sp) +/* 1863C4 80257AE4 8FBE0390 */ lw $fp, 0x390($sp) +/* 1863C8 80257AE8 8FB7038C */ lw $s7, 0x38c($sp) +/* 1863CC 80257AEC 8FB60388 */ lw $s6, 0x388($sp) +/* 1863D0 80257AF0 8FB50384 */ lw $s5, 0x384($sp) +/* 1863D4 80257AF4 8FB40380 */ lw $s4, 0x380($sp) +/* 1863D8 80257AF8 8FB3037C */ lw $s3, 0x37c($sp) +/* 1863DC 80257AFC 8FB20378 */ lw $s2, 0x378($sp) +/* 1863E0 80257B00 8FB10374 */ lw $s1, 0x374($sp) +/* 1863E4 80257B04 8FB00370 */ lw $s0, 0x370($sp) +/* 1863E8 80257B08 D7BE03C0 */ ldc1 $f30, 0x3c0($sp) +/* 1863EC 80257B0C D7BC03B8 */ ldc1 $f28, 0x3b8($sp) +/* 1863F0 80257B10 D7BA03B0 */ ldc1 $f26, 0x3b0($sp) +/* 1863F4 80257B14 D7B803A8 */ ldc1 $f24, 0x3a8($sp) +/* 1863F8 80257B18 D7B603A0 */ ldc1 $f22, 0x3a0($sp) +/* 1863FC 80257B1C D7B40398 */ ldc1 $f20, 0x398($sp) +/* 186400 80257B20 03E00008 */ jr $ra +/* 186404 80257B24 27BD03C8 */ addiu $sp, $sp, 0x3c8 + +/* 186408 80257B28 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 18640C 80257B2C 0080282D */ daddu $a1, $a0, $zero +/* 186410 80257B30 AFBF0010 */ sw $ra, 0x10($sp) +/* 186414 80257B34 0C0957F8 */ jal func_80255FE0 +/* 186418 80257B38 0000202D */ daddu $a0, $zero, $zero +/* 18641C 80257B3C 8FBF0010 */ lw $ra, 0x10($sp) +/* 186420 80257B40 03E00008 */ jr $ra +/* 186424 80257B44 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 186428 80257B48 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 18642C 80257B4C 0080282D */ daddu $a1, $a0, $zero +/* 186430 80257B50 AFBF0010 */ sw $ra, 0x10($sp) +/* 186434 80257B54 0C0957F8 */ jal func_80255FE0 +/* 186438 80257B58 24040001 */ addiu $a0, $zero, 1 +/* 18643C 80257B5C 8FBF0010 */ lw $ra, 0x10($sp) +/* 186440 80257B60 03E00008 */ jr $ra +/* 186444 80257B64 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 186448 80257B68 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 18644C 80257B6C 0080282D */ daddu $a1, $a0, $zero +/* 186450 80257B70 AFBF0010 */ sw $ra, 0x10($sp) +/* 186454 80257B74 0C095C7C */ jal func_802571F0 +/* 186458 80257B78 0000202D */ daddu $a0, $zero, $zero +/* 18645C 80257B7C 8FBF0010 */ lw $ra, 0x10($sp) +/* 186460 80257B80 03E00008 */ jr $ra +/* 186464 80257B84 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 186468 80257B88 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 18646C 80257B8C 3C05800E */ lui $a1, 0x800e +/* 186470 80257B90 8CA5C14C */ lw $a1, -0x3eb4($a1) +/* 186474 80257B94 AFBF0010 */ sw $ra, 0x10($sp) +/* 186478 80257B98 0C095C7C */ jal func_802571F0 +/* 18647C 80257B9C 24040001 */ addiu $a0, $zero, 1 +/* 186480 80257BA0 8FBF0010 */ lw $ra, 0x10($sp) +/* 186484 80257BA4 03E00008 */ jr $ra +/* 186488 80257BA8 27BD0018 */ addiu $sp, $sp, 0x18 + +func_80257BAC: +/* 18648C 80257BAC 27BDFFC0 */ addiu $sp, $sp, -0x40 +/* 186490 80257BB0 3C02800E */ lui $v0, 0x800e +/* 186494 80257BB4 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 186498 80257BB8 AFBF0038 */ sw $ra, 0x38($sp) +/* 18649C 80257BBC AFB30034 */ sw $s3, 0x34($sp) +/* 1864A0 80257BC0 AFB20030 */ sw $s2, 0x30($sp) +/* 1864A4 80257BC4 AFB1002C */ sw $s1, 0x2c($sp) +/* 1864A8 80257BC8 AFB00028 */ sw $s0, 0x28($sp) +/* 1864AC 80257BCC 8C5000D8 */ lw $s0, 0xd8($v0) +/* 1864B0 80257BD0 8E1201F4 */ lw $s2, 0x1f4($s0) +/* 1864B4 80257BD4 0000202D */ daddu $a0, $zero, $zero +/* 1864B8 80257BD8 8E450088 */ lw $a1, 0x88($s2) +/* 1864BC 80257BDC 8E460090 */ lw $a2, 0x90($s2) +/* 1864C0 80257BE0 0C0B76A3 */ jal func_802DDA8C +/* 1864C4 80257BE4 0040982D */ daddu $s3, $v0, $zero +/* 1864C8 80257BE8 AE42008C */ sw $v0, 0x8c($s2) +/* 1864CC 80257BEC 8E020000 */ lw $v0, ($s0) +/* 1864D0 80257BF0 3C031000 */ lui $v1, 0x1000 +/* 1864D4 80257BF4 00431024 */ and $v0, $v0, $v1 +/* 1864D8 80257BF8 10400003 */ beqz $v0, .L80257C08 +/* 1864DC 80257BFC 00000000 */ nop +/* 1864E0 80257C00 0C09527D */ jal func_802549F4 +/* 1864E4 80257C04 0200202D */ daddu $a0, $s0, $zero +.L80257C08: +/* 1864E8 80257C08 8E04042C */ lw $a0, 0x42c($s0) +/* 1864EC 80257C0C 0C044181 */ jal get_shadow_by_index +/* 1864F0 80257C10 00000000 */ nop +/* 1864F4 80257C14 0040882D */ daddu $s1, $v0, $zero +/* 1864F8 80257C18 8E220000 */ lw $v0, ($s1) +/* 1864FC 80257C1C 2403FFFE */ addiu $v1, $zero, -2 +/* 186500 80257C20 00431024 */ and $v0, $v0, $v1 +/* 186504 80257C24 AE220000 */ sw $v0, ($s1) +/* 186508 80257C28 8262009A */ lb $v0, 0x9a($s3) +/* 18650C 80257C2C 14400002 */ bnez $v0, .L80257C38 +/* 186510 80257C30 24020028 */ addiu $v0, $zero, 0x28 +/* 186514 80257C34 24020080 */ addiu $v0, $zero, 0x80 +.L80257C38: +/* 186518 80257C38 A2220005 */ sb $v0, 5($s1) +/* 18651C 80257C3C 0000202D */ daddu $a0, $zero, $zero +/* 186520 80257C40 27A50018 */ addiu $a1, $sp, 0x18 +/* 186524 80257C44 27A6001C */ addiu $a2, $sp, 0x1c +/* 186528 80257C48 3C0146FF */ lui $at, 0x46ff +/* 18652C 80257C4C 3421FE00 */ ori $at, $at, 0xfe00 +/* 186530 80257C50 44810000 */ mtc1 $at, $f0 +/* 186534 80257C54 27A70020 */ addiu $a3, $sp, 0x20 +/* 186538 80257C58 E7A00024 */ swc1 $f0, 0x24($sp) +/* 18653C 80257C5C 86020150 */ lh $v0, 0x150($s0) +/* 186540 80257C60 C6060144 */ lwc1 $f6, 0x144($s0) +/* 186544 80257C64 C604014C */ lwc1 $f4, 0x14c($s0) +/* 186548 80257C68 44820000 */ mtc1 $v0, $f0 +/* 18654C 80257C6C 00000000 */ nop +/* 186550 80257C70 46800020 */ cvt.s.w $f0, $f0 +/* 186554 80257C74 46003180 */ add.s $f6, $f6, $f0 +/* 186558 80257C78 86020152 */ lh $v0, 0x152($s0) +/* 18655C 80257C7C C6000148 */ lwc1 $f0, 0x148($s0) +/* 186560 80257C80 44821000 */ mtc1 $v0, $f2 +/* 186564 80257C84 00000000 */ nop +/* 186568 80257C88 468010A0 */ cvt.s.w $f2, $f2 +/* 18656C 80257C8C 86020154 */ lh $v0, 0x154($s0) +/* 186570 80257C90 46020000 */ add.s $f0, $f0, $f2 +/* 186574 80257C94 44821000 */ mtc1 $v0, $f2 +/* 186578 80257C98 00000000 */ nop +/* 18657C 80257C9C 468010A0 */ cvt.s.w $f2, $f2 +/* 186580 80257CA0 27A20024 */ addiu $v0, $sp, 0x24 +/* 186584 80257CA4 46022100 */ add.s $f4, $f4, $f2 +/* 186588 80257CA8 3C014028 */ lui $at, 0x4028 +/* 18658C 80257CAC 44811800 */ mtc1 $at, $f3 +/* 186590 80257CB0 44801000 */ mtc1 $zero, $f2 +/* 186594 80257CB4 46000021 */ cvt.d.s $f0, $f0 +/* 186598 80257CB8 46220000 */ add.d $f0, $f0, $f2 +/* 18659C 80257CBC E7A60018 */ swc1 $f6, 0x18($sp) +/* 1865A0 80257CC0 E7A40020 */ swc1 $f4, 0x20($sp) +/* 1865A4 80257CC4 46200020 */ cvt.s.d $f0, $f0 +/* 1865A8 80257CC8 E7A0001C */ swc1 $f0, 0x1c($sp) +/* 1865AC 80257CCC 0C0372DF */ jal func_800DCB7C +/* 1865B0 80257CD0 AFA20010 */ sw $v0, 0x10($sp) +/* 1865B4 80257CD4 C7A20024 */ lwc1 $f2, 0x24($sp) +/* 1865B8 80257CD8 3C014348 */ lui $at, 0x4348 +/* 1865BC 80257CDC 44810000 */ mtc1 $at, $f0 +/* 1865C0 80257CE0 00000000 */ nop +/* 1865C4 80257CE4 4602003C */ c.lt.s $f0, $f2 +/* 1865C8 80257CE8 00000000 */ nop +/* 1865CC 80257CEC 45000004 */ bc1f .L80257D00 +/* 1865D0 80257CF0 00000000 */ nop +/* 1865D4 80257CF4 8E220000 */ lw $v0, ($s1) +/* 1865D8 80257CF8 34420001 */ ori $v0, $v0, 1 +/* 1865DC 80257CFC AE220000 */ sw $v0, ($s1) +.L80257D00: +/* 1865E0 80257D00 C7A00018 */ lwc1 $f0, 0x18($sp) +/* 1865E4 80257D04 C7A2001C */ lwc1 $f2, 0x1c($sp) +/* 1865E8 80257D08 C7A40020 */ lwc1 $f4, 0x20($sp) +/* 1865EC 80257D0C 3C02800B */ lui $v0, 0x800b +/* 1865F0 80257D10 244222D8 */ addiu $v0, $v0, 0x22d8 +/* 1865F4 80257D14 E6200010 */ swc1 $f0, 0x10($s1) +/* 1865F8 80257D18 E6220014 */ swc1 $f2, 0x14($s1) +/* 1865FC 80257D1C E6240018 */ swc1 $f4, 0x18($s1) +/* 186600 80257D20 C600018C */ lwc1 $f0, 0x18c($s0) +/* 186604 80257D24 C44C006C */ lwc1 $f12, 0x6c($v0) +/* 186608 80257D28 0C00A6C9 */ jal clamp_angle +/* 18660C 80257D2C 460C0301 */ sub.s $f12, $f0, $f12 +/* 186610 80257D30 8FA50024 */ lw $a1, 0x24($sp) +/* 186614 80257D34 0220202D */ daddu $a0, $s1, $zero +/* 186618 80257D38 0C044A17 */ jal set_standard_shadow_scale +/* 18661C 80257D3C E620002C */ swc1 $f0, 0x2c($s1) +/* 186620 80257D40 C6020430 */ lwc1 $f2, 0x430($s0) +/* 186624 80257D44 C6000188 */ lwc1 $f0, 0x188($s0) +/* 186628 80257D48 46001082 */ mul.s $f2, $f2, $f0 +/* 18662C 80257D4C 00000000 */ nop +/* 186630 80257D50 C620001C */ lwc1 $f0, 0x1c($s1) +/* 186634 80257D54 46020002 */ mul.s $f0, $f0, $f2 +/* 186638 80257D58 00000000 */ nop +/* 18663C 80257D5C E620001C */ swc1 $f0, 0x1c($s1) +/* 186640 80257D60 86420098 */ lh $v0, 0x98($s2) +/* 186644 80257D64 284200FF */ slti $v0, $v0, 0xff +/* 186648 80257D68 14400006 */ bnez $v0, .L80257D84 +/* 18664C 80257D6C 24020022 */ addiu $v0, $zero, 0x22 +/* 186650 80257D70 8E420000 */ lw $v0, ($s2) +/* 186654 80257D74 30420100 */ andi $v0, $v0, 0x100 +/* 186658 80257D78 14400002 */ bnez $v0, .L80257D84 +/* 18665C 80257D7C 24020022 */ addiu $v0, $zero, 0x22 +/* 186660 80257D80 2402000D */ addiu $v0, $zero, 0xd +.L80257D84: +/* 186664 80257D84 A6020434 */ sh $v0, 0x434($s0) +/* 186668 80257D88 8FBF0038 */ lw $ra, 0x38($sp) +/* 18666C 80257D8C 8FB30034 */ lw $s3, 0x34($sp) +/* 186670 80257D90 8FB20030 */ lw $s2, 0x30($sp) +/* 186674 80257D94 8FB1002C */ lw $s1, 0x2c($sp) +/* 186678 80257D98 8FB00028 */ lw $s0, 0x28($sp) +/* 18667C 80257D9C 03E00008 */ jr $ra +/* 186680 80257DA0 27BD0040 */ addiu $sp, $sp, 0x40 + +/* 186684 80257DA4 27BDFD18 */ addiu $sp, $sp, -0x2e8 +/* 186688 80257DA8 AFB402B0 */ sw $s4, 0x2b0($sp) +/* 18668C 80257DAC 3C14800E */ lui $s4, 0x800e +/* 186690 80257DB0 2694C070 */ addiu $s4, $s4, -0x3f90 +/* 186694 80257DB4 AFBF02C4 */ sw $ra, 0x2c4($sp) +/* 186698 80257DB8 AFBE02C0 */ sw $fp, 0x2c0($sp) +/* 18669C 80257DBC AFB702BC */ sw $s7, 0x2bc($sp) +/* 1866A0 80257DC0 AFB602B8 */ sw $s6, 0x2b8($sp) +/* 1866A4 80257DC4 AFB502B4 */ sw $s5, 0x2b4($sp) +/* 1866A8 80257DC8 AFB302AC */ sw $s3, 0x2ac($sp) +/* 1866AC 80257DCC AFB202A8 */ sw $s2, 0x2a8($sp) +/* 1866B0 80257DD0 AFB102A4 */ sw $s1, 0x2a4($sp) +/* 1866B4 80257DD4 AFB002A0 */ sw $s0, 0x2a0($sp) +/* 1866B8 80257DD8 F7BA02E0 */ sdc1 $f26, 0x2e0($sp) +/* 1866BC 80257DDC F7B802D8 */ sdc1 $f24, 0x2d8($sp) +/* 1866C0 80257DE0 F7B602D0 */ sdc1 $f22, 0x2d0($sp) +/* 1866C4 80257DE4 F7B402C8 */ sdc1 $f20, 0x2c8($sp) +/* 1866C8 80257DE8 8E9600D8 */ lw $s6, 0xd8($s4) +/* 1866CC 80257DEC 8E9000DC */ lw $s0, 0xdc($s4) +/* 1866D0 80257DF0 8ED701F4 */ lw $s7, 0x1f4($s6) +/* 1866D4 80257DF4 C6C8018C */ lwc1 $f8, 0x18c($s6) +/* 1866D8 80257DF8 86C40150 */ lh $a0, 0x150($s6) +/* 1866DC 80257DFC C6C60144 */ lwc1 $f6, 0x144($s6) +/* 1866E0 80257E00 86C50152 */ lh $a1, 0x152($s6) +/* 1866E4 80257E04 C6C40148 */ lwc1 $f4, 0x148($s6) +/* 1866E8 80257E08 82C6019A */ lb $a2, 0x19a($s6) +/* 1866EC 80257E0C 86C70154 */ lh $a3, 0x154($s6) +/* 1866F0 80257E10 C6CA014C */ lwc1 $f10, 0x14c($s6) +/* 1866F4 80257E14 E6E80064 */ swc1 $f8, 0x64($s7) +/* 1866F8 80257E18 8EC20008 */ lw $v0, 8($s6) +/* 1866FC 80257E1C 82C30194 */ lb $v1, 0x194($s6) +/* 186700 80257E20 80420024 */ lb $v0, 0x24($v0) +/* 186704 80257E24 C6C00188 */ lwc1 $f0, 0x188($s6) +/* 186708 80257E28 00431021 */ addu $v0, $v0, $v1 +/* 18670C 80257E2C 44821000 */ mtc1 $v0, $f2 +/* 186710 80257E30 00000000 */ nop +/* 186714 80257E34 468010A0 */ cvt.s.w $f2, $f2 +/* 186718 80257E38 46001082 */ mul.s $f2, $f2, $f0 +/* 18671C 80257E3C 00000000 */ nop +/* 186720 80257E40 44840000 */ mtc1 $a0, $f0 +/* 186724 80257E44 00000000 */ nop +/* 186728 80257E48 46800020 */ cvt.s.w $f0, $f0 +/* 18672C 80257E4C 46003500 */ add.s $f20, $f6, $f0 +/* 186730 80257E50 8EC20440 */ lw $v0, 0x440($s6) +/* 186734 80257E54 4602A080 */ add.s $f2, $f20, $f2 +/* 186738 80257E58 8C42000C */ lw $v0, 0xc($v0) +/* 18673C 80257E5C E4420008 */ swc1 $f2, 8($v0) +/* 186740 80257E60 8EC20008 */ lw $v0, 8($s6) +/* 186744 80257E64 82C30195 */ lb $v1, 0x195($s6) +/* 186748 80257E68 80420025 */ lb $v0, 0x25($v0) +/* 18674C 80257E6C C6C00188 */ lwc1 $f0, 0x188($s6) +/* 186750 80257E70 00431021 */ addu $v0, $v0, $v1 +/* 186754 80257E74 44821000 */ mtc1 $v0, $f2 +/* 186758 80257E78 00000000 */ nop +/* 18675C 80257E7C 468010A0 */ cvt.s.w $f2, $f2 +/* 186760 80257E80 46001082 */ mul.s $f2, $f2, $f0 +/* 186764 80257E84 00000000 */ nop +/* 186768 80257E88 44850000 */ mtc1 $a1, $f0 +/* 18676C 80257E8C 00000000 */ nop +/* 186770 80257E90 46800020 */ cvt.s.w $f0, $f0 +/* 186774 80257E94 46002100 */ add.s $f4, $f4, $f0 +/* 186778 80257E98 44860000 */ mtc1 $a2, $f0 +/* 18677C 80257E9C 00000000 */ nop +/* 186780 80257EA0 46800020 */ cvt.s.w $f0, $f0 +/* 186784 80257EA4 46002600 */ add.s $f24, $f4, $f0 +/* 186788 80257EA8 8EC20440 */ lw $v0, 0x440($s6) +/* 18678C 80257EAC 4602C080 */ add.s $f2, $f24, $f2 +/* 186790 80257EB0 8C42000C */ lw $v0, 0xc($v0) +/* 186794 80257EB4 44870000 */ mtc1 $a3, $f0 +/* 186798 80257EB8 00000000 */ nop +/* 18679C 80257EBC 46800020 */ cvt.s.w $f0, $f0 +/* 1867A0 80257EC0 E442000C */ swc1 $f2, 0xc($v0) +/* 1867A4 80257EC4 8EC20440 */ lw $v0, 0x440($s6) +/* 1867A8 80257EC8 46005580 */ add.s $f22, $f10, $f0 +/* 1867AC 80257ECC 8C42000C */ lw $v0, 0xc($v0) +/* 1867B0 80257ED0 3C118011 */ lui $s1, 0x8011 +/* 1867B4 80257ED4 2631F290 */ addiu $s1, $s1, -0xd70 +/* 1867B8 80257ED8 E4560010 */ swc1 $f22, 0x10($v0) +/* 1867BC 80257EDC 8E820000 */ lw $v0, ($s4) +/* 1867C0 80257EE0 30420004 */ andi $v0, $v0, 4 +/* 1867C4 80257EE4 1440001D */ bnez $v0, .L80257F5C +/* 1867C8 80257EE8 46004686 */ mov.s $f26, $f8 +/* 1867CC 80257EEC 8EC20000 */ lw $v0, ($s6) +/* 1867D0 80257EF0 3C030800 */ lui $v1, 0x800 +/* 1867D4 80257EF4 00431024 */ and $v0, $v0, $v1 +/* 1867D8 80257EF8 10400018 */ beqz $v0, .L80257F5C +/* 1867DC 80257EFC 00000000 */ nop +/* 1867E0 80257F00 82C2021D */ lb $v0, 0x21d($s6) +/* 1867E4 80257F04 92C4021D */ lbu $a0, 0x21d($s6) +/* 1867E8 80257F08 10400008 */ beqz $v0, .L80257F2C +/* 1867EC 80257F0C 2482FFFF */ addiu $v0, $a0, -1 +/* 1867F0 80257F10 8EC30440 */ lw $v1, 0x440($s6) +/* 1867F4 80257F14 3C01C47A */ lui $at, 0xc47a +/* 1867F8 80257F18 44810000 */ mtc1 $at, $f0 +/* 1867FC 80257F1C A2C2021D */ sb $v0, 0x21d($s6) +/* 186800 80257F20 8C62000C */ lw $v0, 0xc($v1) +/* 186804 80257F24 08095FDE */ j func_80257F78 +/* 186808 80257F28 E440000C */ swc1 $f0, 0xc($v0) + +.L80257F2C: +/* 18680C 80257F2C C6C00188 */ lwc1 $f0, 0x188($s6) +/* 186810 80257F30 3C013FE8 */ lui $at, 0x3fe8 +/* 186814 80257F34 44811800 */ mtc1 $at, $f3 +/* 186818 80257F38 44801000 */ mtc1 $zero, $f2 +/* 18681C 80257F3C 46000021 */ cvt.d.s $f0, $f0 +/* 186820 80257F40 46220002 */ mul.d $f0, $f0, $f2 +/* 186824 80257F44 00000000 */ nop +/* 186828 80257F48 8EC20440 */ lw $v0, 0x440($s6) +/* 18682C 80257F4C 8C42000C */ lw $v0, 0xc($v0) +/* 186830 80257F50 46200020 */ cvt.s.d $f0, $f0 +/* 186834 80257F54 08095FDE */ j func_80257F78 +/* 186838 80257F58 E4400034 */ swc1 $f0, 0x34($v0) + +.L80257F5C: +/* 18683C 80257F5C 8EC20440 */ lw $v0, 0x440($s6) +/* 186840 80257F60 3C01C47A */ lui $at, 0xc47a +/* 186844 80257F64 44810000 */ mtc1 $at, $f0 +/* 186848 80257F68 8C42000C */ lw $v0, 0xc($v0) +/* 18684C 80257F6C E440000C */ swc1 $f0, 0xc($v0) +/* 186850 80257F70 2402000A */ addiu $v0, $zero, 0xa +/* 186854 80257F74 A2C2021D */ sb $v0, 0x21d($s6) +func_80257F78: +/* 186858 80257F78 8282009D */ lb $v0, 0x9d($s4) +/* 18685C 80257F7C 1040001B */ beqz $v0, .L80257FEC +/* 186860 80257F80 00000000 */ nop +/* 186864 80257F84 3C03800E */ lui $v1, 0x800e +/* 186868 80257F88 8C63C070 */ lw $v1, -0x3f90($v1) +/* 18686C 80257F8C 30620008 */ andi $v0, $v1, 8 +/* 186870 80257F90 14400007 */ bnez $v0, .L80257FB0 +/* 186874 80257F94 30620004 */ andi $v0, $v1, 4 +/* 186878 80257F98 1440000B */ bnez $v0, .L80257FC8 +/* 18687C 80257F9C 3C030800 */ lui $v1, 0x800 +/* 186880 80257FA0 8EC20000 */ lw $v0, ($s6) +/* 186884 80257FA4 00431024 */ and $v0, $v0, $v1 +/* 186888 80257FA8 10400007 */ beqz $v0, .L80257FC8 +/* 18688C 80257FAC 00000000 */ nop +.L80257FB0: +/* 186890 80257FB0 8E8400A0 */ lw $a0, 0xa0($s4) +/* 186894 80257FB4 8C82000C */ lw $v0, 0xc($a0) +/* 186898 80257FB8 E4540004 */ swc1 $f20, 4($v0) +/* 18689C 80257FBC 8C82000C */ lw $v0, 0xc($a0) +/* 1868A0 80257FC0 08095FF9 */ j func_80257FE4 +/* 1868A4 80257FC4 E4580008 */ swc1 $f24, 8($v0) + +.L80257FC8: +/* 1868A8 80257FC8 8E8400A0 */ lw $a0, 0xa0($s4) +/* 1868AC 80257FCC 3C01C47A */ lui $at, 0xc47a +/* 1868B0 80257FD0 44810000 */ mtc1 $at, $f0 +/* 1868B4 80257FD4 8C82000C */ lw $v0, 0xc($a0) +/* 1868B8 80257FD8 E4540004 */ swc1 $f20, 4($v0) +/* 1868BC 80257FDC 8C82000C */ lw $v0, 0xc($a0) +/* 1868C0 80257FE0 E4400008 */ swc1 $f0, 8($v0) +func_80257FE4: +/* 1868C4 80257FE4 8C82000C */ lw $v0, 0xc($a0) +/* 1868C8 80257FE8 E456000C */ swc1 $f22, 0xc($v0) +.L80257FEC: +/* 1868CC 80257FEC 828200A4 */ lb $v0, 0xa4($s4) +/* 1868D0 80257FF0 10400020 */ beqz $v0, .L80258074 +/* 1868D4 80257FF4 00000000 */ nop +/* 1868D8 80257FF8 3C03800E */ lui $v1, 0x800e +/* 1868DC 80257FFC 8C63C070 */ lw $v1, -0x3f90($v1) +/* 1868E0 80258000 30620008 */ andi $v0, $v1, 8 +/* 1868E4 80258004 14400007 */ bnez $v0, .L80258024 +/* 1868E8 80258008 30620004 */ andi $v0, $v1, 4 +/* 1868EC 8025800C 14400010 */ bnez $v0, .L80258050 +/* 1868F0 80258010 3C030800 */ lui $v1, 0x800 +/* 1868F4 80258014 8EC20000 */ lw $v0, ($s6) +/* 1868F8 80258018 00431024 */ and $v0, $v0, $v1 +/* 1868FC 8025801C 1040000C */ beqz $v0, .L80258050 +/* 186900 80258020 00000000 */ nop +.L80258024: +/* 186904 80258024 8E8400A8 */ lw $a0, 0xa8($s4) +/* 186908 80258028 8C82000C */ lw $v0, 0xc($a0) +/* 18690C 8025802C E4540004 */ swc1 $f20, 4($v0) +/* 186910 80258030 8C82000C */ lw $v0, 0xc($a0) +/* 186914 80258034 E4580008 */ swc1 $f24, 8($v0) +/* 186918 80258038 8C82000C */ lw $v0, 0xc($a0) +/* 18691C 8025803C E456000C */ swc1 $f22, 0xc($v0) +/* 186920 80258040 8C82000C */ lw $v0, 0xc($a0) +/* 186924 80258044 C6C00188 */ lwc1 $f0, 0x188($s6) +/* 186928 80258048 0809601D */ j func_80258074 +/* 18692C 8025804C E4400010 */ swc1 $f0, 0x10($v0) + +.L80258050: +/* 186930 80258050 8E8400A8 */ lw $a0, 0xa8($s4) +/* 186934 80258054 3C01C47A */ lui $at, 0xc47a +/* 186938 80258058 44810000 */ mtc1 $at, $f0 +/* 18693C 8025805C 8C82000C */ lw $v0, 0xc($a0) +/* 186940 80258060 E4540004 */ swc1 $f20, 4($v0) +/* 186944 80258064 8C82000C */ lw $v0, 0xc($a0) +/* 186948 80258068 E4400008 */ swc1 $f0, 8($v0) +/* 18694C 8025806C 8C82000C */ lw $v0, 0xc($a0) +/* 186950 80258070 E456000C */ swc1 $f22, 0xc($v0) +func_80258074: +.L80258074: +/* 186954 80258074 82C30210 */ lb $v1, 0x210($s6) +/* 186958 80258078 24020007 */ addiu $v0, $zero, 7 +/* 18695C 8025807C 1462002E */ bne $v1, $v0, .L80258138 +/* 186960 80258080 00000000 */ nop +/* 186964 80258084 8EC40228 */ lw $a0, 0x228($s6) +/* 186968 80258088 10800022 */ beqz $a0, .L80258114 +/* 18696C 8025808C 00000000 */ nop +/* 186970 80258090 3C03800E */ lui $v1, 0x800e +/* 186974 80258094 8C63C070 */ lw $v1, -0x3f90($v1) +/* 186978 80258098 30620008 */ andi $v0, $v1, 8 +/* 18697C 8025809C 14400007 */ bnez $v0, .L802580BC +/* 186980 802580A0 30620004 */ andi $v0, $v1, 4 +/* 186984 802580A4 1440001B */ bnez $v0, .L80258114 +/* 186988 802580A8 3C030800 */ lui $v1, 0x800 +/* 18698C 802580AC 8EC20000 */ lw $v0, ($s6) +/* 186990 802580B0 00431024 */ and $v0, $v0, $v1 +/* 186994 802580B4 10400017 */ beqz $v0, .L80258114 +/* 186998 802580B8 00000000 */ nop +.L802580BC: +/* 18699C 802580BC 3C014100 */ lui $at, 0x4100 +/* 1869A0 802580C0 44810000 */ mtc1 $at, $f0 +/* 1869A4 802580C4 00000000 */ nop +/* 1869A8 802580C8 4600A001 */ sub.s $f0, $f20, $f0 +/* 1869AC 802580CC 8C82000C */ lw $v0, 0xc($a0) +/* 1869B0 802580D0 E4400004 */ swc1 $f0, 4($v0) +/* 1869B4 802580D4 8C82000C */ lw $v0, 0xc($a0) +/* 1869B8 802580D8 E4580008 */ swc1 $f24, 8($v0) +/* 1869BC 802580DC 8C82000C */ lw $v0, 0xc($a0) +/* 1869C0 802580E0 E456000C */ swc1 $f22, 0xc($v0) +/* 1869C4 802580E4 92C20191 */ lbu $v0, 0x191($s6) +/* 1869C8 802580E8 3C014038 */ lui $at, 0x4038 +/* 1869CC 802580EC 44811800 */ mtc1 $at, $f3 +/* 1869D0 802580F0 44801000 */ mtc1 $zero, $f2 +/* 1869D4 802580F4 44820000 */ mtc1 $v0, $f0 +/* 1869D8 802580F8 00000000 */ nop +/* 1869DC 802580FC 46800021 */ cvt.d.w $f0, $f0 +/* 1869E0 80258100 46220003 */ div.d $f0, $f0, $f2 +/* 1869E4 80258104 8C82000C */ lw $v0, 0xc($a0) +/* 1869E8 80258108 46200020 */ cvt.s.d $f0, $f0 +/* 1869EC 8025810C 08096055 */ j func_80258154 +/* 1869F0 80258110 E4400020 */ swc1 $f0, 0x20($v0) + +.L80258114: +/* 1869F4 80258114 8C82000C */ lw $v0, 0xc($a0) +/* 1869F8 80258118 3C01C47A */ lui $at, 0xc47a +/* 1869FC 8025811C 44810000 */ mtc1 $at, $f0 +/* 186A00 80258120 AC400004 */ sw $zero, 4($v0) +/* 186A04 80258124 8C82000C */ lw $v0, 0xc($a0) +/* 186A08 80258128 E4400008 */ swc1 $f0, 8($v0) +/* 186A0C 8025812C 8C82000C */ lw $v0, 0xc($a0) +/* 186A10 80258130 08096055 */ j func_80258154 +/* 186A14 80258134 AC40000C */ sw $zero, 0xc($v0) + +.L80258138: +/* 186A18 80258138 8EC40228 */ lw $a0, 0x228($s6) +/* 186A1C 8025813C 10800005 */ beqz $a0, .L80258154 +/* 186A20 80258140 00000000 */ nop +/* 186A24 80258144 8C820000 */ lw $v0, ($a0) +/* 186A28 80258148 34420010 */ ori $v0, $v0, 0x10 +/* 186A2C 8025814C AC820000 */ sw $v0, ($a0) +/* 186A30 80258150 AEC00228 */ sw $zero, 0x228($s6) +func_80258154: +.L80258154: +/* 186A34 80258154 3C04800E */ lui $a0, 0x800e +/* 186A38 80258158 2484C070 */ addiu $a0, $a0, -0x3f90 +/* 186A3C 8025815C 8C820004 */ lw $v0, 4($a0) +/* 186A40 80258160 3C030001 */ lui $v1, 1 +/* 186A44 80258164 00431024 */ and $v0, $v0, $v1 +/* 186A48 80258168 1440001A */ bnez $v0, .L802581D4 +/* 186A4C 8025816C 00000000 */ nop +/* 186A50 80258170 8C820000 */ lw $v0, ($a0) +/* 186A54 80258174 30420004 */ andi $v0, $v0, 4 +/* 186A58 80258178 14400016 */ bnez $v0, .L802581D4 +/* 186A5C 8025817C 3C030800 */ lui $v1, 0x800 +/* 186A60 80258180 8EC20000 */ lw $v0, ($s6) +/* 186A64 80258184 00431024 */ and $v0, $v0, $v1 +/* 186A68 80258188 10400012 */ beqz $v0, .L802581D4 +/* 186A6C 8025818C 00000000 */ nop +/* 186A70 80258190 8E82043C */ lw $v0, 0x43c($s4) +/* 186A74 80258194 8C43000C */ lw $v1, 0xc($v0) +/* 186A78 80258198 24020001 */ addiu $v0, $zero, 1 +/* 186A7C 8025819C 08096078 */ j func_802581E0 +/* 186A80 802581A0 A4620002 */ sh $v0, 2($v1) + +.L802581A4: +/* 186A84 802581A4 C6C00188 */ lwc1 $f0, 0x188($s6) +/* 186A88 802581A8 3C01802A */ lui $at, 0x802a +/* 186A8C 802581AC D422D388 */ ldc1 $f2, -0x2c78($at) +/* 186A90 802581B0 46000021 */ cvt.d.s $f0, $f0 +/* 186A94 802581B4 46201081 */ sub.d $f2, $f2, $f0 +/* 186A98 802581B8 3C014018 */ lui $at, 0x4018 +/* 186A9C 802581BC 44812800 */ mtc1 $at, $f5 +/* 186AA0 802581C0 44802000 */ mtc1 $zero, $f4 +/* 186AA4 802581C4 00000000 */ nop +/* 186AA8 802581C8 46241083 */ div.d $f2, $f2, $f4 +/* 186AAC 802581CC 08096088 */ j func_80258220 +/* 186AB0 802581D0 46220000 */ add.d $f0, $f0, $f2 + +.L802581D4: +/* 186AB4 802581D4 8E82043C */ lw $v0, 0x43c($s4) +/* 186AB8 802581D8 8C42000C */ lw $v0, 0xc($v0) +/* 186ABC 802581DC A4400002 */ sh $zero, 2($v0) +func_802581E0: +/* 186AC0 802581E0 82C30210 */ lb $v1, 0x210($s6) +/* 186AC4 802581E4 2402000A */ addiu $v0, $zero, 0xa +/* 186AC8 802581E8 1062FFEE */ beq $v1, $v0, .L802581A4 +/* 186ACC 802581EC 00000000 */ nop +/* 186AD0 802581F0 C6C00188 */ lwc1 $f0, 0x188($s6) +/* 186AD4 802581F4 3C013FF0 */ lui $at, 0x3ff0 +/* 186AD8 802581F8 44812800 */ mtc1 $at, $f5 +/* 186ADC 802581FC 44802000 */ mtc1 $zero, $f4 +/* 186AE0 80258200 46000021 */ cvt.d.s $f0, $f0 +/* 186AE4 80258204 46202101 */ sub.d $f4, $f4, $f0 +/* 186AE8 80258208 3C014018 */ lui $at, 0x4018 +/* 186AEC 8025820C 44811800 */ mtc1 $at, $f3 +/* 186AF0 80258210 44801000 */ mtc1 $zero, $f2 +/* 186AF4 80258214 00000000 */ nop +/* 186AF8 80258218 46222103 */ div.d $f4, $f4, $f2 +/* 186AFC 8025821C 46240000 */ add.d $f0, $f0, $f4 +func_80258220: +/* 186B00 80258220 46200020 */ cvt.s.d $f0, $f0 +/* 186B04 80258224 E6C00188 */ swc1 $f0, 0x188($s6) +/* 186B08 80258228 8EC20000 */ lw $v0, ($s6) +/* 186B0C 8025822C 3C030800 */ lui $v1, 0x800 +/* 186B10 80258230 00431024 */ and $v0, $v0, $v1 +/* 186B14 80258234 10400019 */ beqz $v0, .L8025829C +/* 186B18 80258238 00000000 */ nop +/* 186B1C 8025823C 82820096 */ lb $v0, 0x96($s4) +/* 186B20 80258240 18400007 */ blez $v0, .L80258260 +/* 186B24 80258244 00000000 */ nop +/* 186B28 80258248 0C011F4C */ jal func_80047D30 +/* 186B2C 8025824C 86C40436 */ lh $a0, 0x436($s6) +/* 186B30 80258250 0C011F29 */ jal func_80047CA4 +/* 186B34 80258254 86C40436 */ lh $a0, 0x436($s6) +/* 186B38 80258258 0809609A */ j func_80258268 +/* 186B3C 8025825C 00000000 */ nop + +.L80258260: +/* 186B40 80258260 0C011F70 */ jal func_80047DC0 +/* 186B44 80258264 86C40436 */ lh $a0, 0x436($s6) +func_80258268: +/* 186B48 80258268 82820097 */ lb $v0, 0x97($s4) +/* 186B4C 8025826C 18400007 */ blez $v0, .L8025828C +/* 186B50 80258270 00000000 */ nop +/* 186B54 80258274 0C011F05 */ jal func_80047C14 +/* 186B58 80258278 86C40436 */ lh $a0, 0x436($s6) +/* 186B5C 8025827C 0C011F70 */ jal func_80047DC0 +/* 186B60 80258280 86C40436 */ lh $a0, 0x436($s6) +/* 186B64 80258284 080960AB */ j func_802582AC +/* 186B68 80258288 00000000 */ nop + +.L8025828C: +/* 186B6C 8025828C 0C011F29 */ jal func_80047CA4 +/* 186B70 80258290 86C40436 */ lh $a0, 0x436($s6) +/* 186B74 80258294 080960AB */ j func_802582AC +/* 186B78 80258298 00000000 */ nop + +.L8025829C: +/* 186B7C 8025829C 0C011F40 */ jal func_80047D00 +/* 186B80 802582A0 86C40436 */ lh $a0, 0x436($s6) +/* 186B84 802582A4 0C011F87 */ jal func_80047E1C +/* 186B88 802582A8 86C40436 */ lh $a0, 0x436($s6) +func_802582AC: +/* 186B8C 802582AC 8EC20000 */ lw $v0, ($s6) +/* 186B90 802582B0 3C030800 */ lui $v1, 0x800 +/* 186B94 802582B4 00431024 */ and $v0, $v0, $v1 +/* 186B98 802582B8 1040001C */ beqz $v0, .L8025832C +/* 186B9C 802582BC 00000000 */ nop +/* 186BA0 802582C0 3C02800E */ lui $v0, 0x800e +/* 186BA4 802582C4 8C42C074 */ lw $v0, -0x3f8c($v0) +/* 186BA8 802582C8 30420040 */ andi $v0, $v0, 0x40 +/* 186BAC 802582CC 14400017 */ bnez $v0, .L8025832C +/* 186BB0 802582D0 00000000 */ nop +/* 186BB4 802582D4 82220002 */ lb $v0, 2($s1) +/* 186BB8 802582D8 28420002 */ slti $v0, $v0, 2 +/* 186BBC 802582DC 14400009 */ bnez $v0, .L80258304 +/* 186BC0 802582E0 00000000 */ nop +/* 186BC4 802582E4 0C01203D */ jal func_800480F4 +/* 186BC8 802582E8 86C40436 */ lh $a0, 0x436($s6) +/* 186BCC 802582EC 82220002 */ lb $v0, 2($s1) +/* 186BD0 802582F0 28420006 */ slti $v0, $v0, 6 +/* 186BD4 802582F4 14400007 */ bnez $v0, .L80258314 +/* 186BD8 802582F8 00000000 */ nop +/* 186BDC 802582FC 080960CD */ j func_80258334 +/* 186BE0 80258300 00000000 */ nop + +.L80258304: +/* 186BE4 80258304 0C012019 */ jal func_80048064 +/* 186BE8 80258308 86C40436 */ lh $a0, 0x436($s6) +/* 186BEC 8025830C 080960CD */ j func_80258334 +/* 186BF0 80258310 00000000 */ nop + +.L80258314: +/* 186BF4 80258314 0C01205C */ jal func_80048170 +/* 186BF8 80258318 86C40436 */ lh $a0, 0x436($s6) +/* 186BFC 8025831C 0C01203D */ jal func_800480F4 +/* 186C00 80258320 86C40436 */ lh $a0, 0x436($s6) +/* 186C04 80258324 080960CF */ j func_8025833C +/* 186C08 80258328 00000000 */ nop + +.L8025832C: +/* 186C0C 8025832C 0C01203D */ jal func_800480F4 +/* 186C10 80258330 86C40436 */ lh $a0, 0x436($s6) +func_80258334: +/* 186C14 80258334 0C012080 */ jal func_80048200 +/* 186C18 80258338 86C40436 */ lh $a0, 0x436($s6) +func_8025833C: +/* 186C1C 8025833C 82C30218 */ lb $v1, 0x218($s6) +/* 186C20 80258340 2402000E */ addiu $v0, $zero, 0xe +/* 186C24 80258344 1462000C */ bne $v1, $v0, .L80258378 +/* 186C28 80258348 2403FEFF */ addiu $v1, $zero, -0x101 +/* 186C2C 8025834C 8EE20000 */ lw $v0, ($s7) +/* 186C30 80258350 080960E0 */ j func_80258380 +/* 186C34 80258354 34420100 */ ori $v0, $v0, 0x100 + +.L80258358: +/* 186C38 80258358 0C099751 */ jal func_80265D44 +/* 186C3C 8025835C 24040008 */ addiu $a0, $zero, 8 +/* 186C40 80258360 AEE20088 */ sw $v0, 0x88($s7) +/* 186C44 80258364 86C40436 */ lh $a0, 0x436($s6) +/* 186C48 80258368 0C011E08 */ jal func_80047820 +/* 186C4C 8025836C 24050008 */ addiu $a1, $zero, 8 +/* 186C50 80258370 08096272 */ j func_802589C8 +/* 186C54 80258374 00000000 */ nop + +.L80258378: +/* 186C58 80258378 8EE20000 */ lw $v0, ($s7) +/* 186C5C 8025837C 00431024 */ and $v0, $v0, $v1 +func_80258380: +/* 186C60 80258380 AEE20000 */ sw $v0, ($s7) +/* 186C64 80258384 0000882D */ daddu $s1, $zero, $zero +/* 186C68 80258388 0220902D */ daddu $s2, $s1, $zero +/* 186C6C 8025838C 0220982D */ daddu $s3, $s1, $zero +/* 186C70 80258390 8EFE0088 */ lw $fp, 0x88($s7) +/* 186C74 80258394 3C02800E */ lui $v0, 0x800e +/* 186C78 80258398 8C42C074 */ lw $v0, -0x3f8c($v0) +/* 186C7C 8025839C 24030002 */ addiu $v1, $zero, 2 +/* 186C80 802583A0 3042000A */ andi $v0, $v0, 0xa +/* 186C84 802583A4 14430003 */ bne $v0, $v1, .L802583B4 +/* 186C88 802583A8 0220A82D */ daddu $s5, $s1, $zero +/* 186C8C 802583AC 16000004 */ bnez $s0, .L802583C0 +/* 186C90 802583B0 00000000 */ nop +.L802583B4: +/* 186C94 802583B4 8282009A */ lb $v0, 0x9a($s4) +/* 186C98 802583B8 18400047 */ blez $v0, .L802584D8 +/* 186C9C 802583BC 00000000 */ nop +.L802583C0: +/* 186CA0 802583C0 8EC20000 */ lw $v0, ($s6) +/* 186CA4 802583C4 3C032000 */ lui $v1, 0x2000 +/* 186CA8 802583C8 00431024 */ and $v0, $v0, $v1 +/* 186CAC 802583CC 14400042 */ bnez $v0, .L802584D8 +/* 186CB0 802583D0 00000000 */ nop +/* 186CB4 802583D4 12000005 */ beqz $s0, .L802583EC +/* 186CB8 802583D8 3C030020 */ lui $v1, 0x20 +/* 186CBC 802583DC 8E020000 */ lw $v0, ($s0) +/* 186CC0 802583E0 00431024 */ and $v0, $v0, $v1 +/* 186CC4 802583E4 1440003C */ bnez $v0, .L802584D8 +/* 186CC8 802583E8 00000000 */ nop +.L802583EC: +/* 186CCC 802583EC 3C04800E */ lui $a0, 0x800e +/* 186CD0 802583F0 8C84C074 */ lw $a0, -0x3f8c($a0) +/* 186CD4 802583F4 3C020010 */ lui $v0, 0x10 +/* 186CD8 802583F8 00821024 */ and $v0, $a0, $v0 +/* 186CDC 802583FC 14400036 */ bnez $v0, .L802584D8 +/* 186CE0 80258400 24020003 */ addiu $v0, $zero, 3 +/* 186CE4 80258404 82C30210 */ lb $v1, 0x210($s6) +/* 186CE8 80258408 10620027 */ beq $v1, $v0, .L802584A8 +/* 186CEC 8025840C 24020005 */ addiu $v0, $zero, 5 +/* 186CF0 80258410 10620025 */ beq $v1, $v0, .L802584A8 +/* 186CF4 80258414 24020007 */ addiu $v0, $zero, 7 +/* 186CF8 80258418 10620023 */ beq $v1, $v0, .L802584A8 +/* 186CFC 8025841C 24020008 */ addiu $v0, $zero, 8 +/* 186D00 80258420 10620021 */ beq $v1, $v0, .L802584A8 +/* 186D04 80258424 2402000E */ addiu $v0, $zero, 0xe +/* 186D08 80258428 82C30218 */ lb $v1, 0x218($s6) +/* 186D0C 8025842C 1062001D */ beq $v1, $v0, .L802584A4 +/* 186D10 80258430 2402000C */ addiu $v0, $zero, 0xc +/* 186D14 80258434 82C30214 */ lb $v1, 0x214($s6) +/* 186D18 80258438 1062001A */ beq $v1, $v0, .L802584A4 +/* 186D1C 8025843C 00000000 */ nop +/* 186D20 80258440 8282009A */ lb $v0, 0x9a($s4) +/* 186D24 80258444 1C400003 */ bgtz $v0, .L80258454 +/* 186D28 80258448 30820002 */ andi $v0, $a0, 2 +/* 186D2C 8025844C 10400015 */ beqz $v0, .L802584A4 +/* 186D30 80258450 00000000 */ nop +.L80258454: +/* 186D34 80258454 0C03A752 */ jal is_ability_active +/* 186D38 80258458 24040015 */ addiu $a0, $zero, 0x15 +/* 186D3C 8025845C 1440000A */ bnez $v0, .L80258488 +/* 186D40 80258460 24040013 */ addiu $a0, $zero, 0x13 +/* 186D44 80258464 82C30210 */ lb $v1, 0x210($s6) +/* 186D48 80258468 24020006 */ addiu $v0, $zero, 6 +/* 186D4C 8025846C 14620003 */ bne $v1, $v0, .L8025847C +/* 186D50 80258470 24020004 */ addiu $v0, $zero, 4 +/* 186D54 80258474 08096122 */ j func_80258488 +/* 186D58 80258478 24040015 */ addiu $a0, $zero, 0x15 + +.L8025847C: +/* 186D5C 8025847C 14620002 */ bne $v1, $v0, .L80258488 +/* 186D60 80258480 24040012 */ addiu $a0, $zero, 0x12 +/* 186D64 80258484 24040018 */ addiu $a0, $zero, 0x18 +func_80258488: +.L80258488: +/* 186D68 80258488 0C099751 */ jal func_80265D44 +/* 186D6C 8025848C 24110001 */ addiu $s1, $zero, 1 +/* 186D70 80258490 AEE20088 */ sw $v0, 0x88($s7) +/* 186D74 80258494 8EE50088 */ lw $a1, 0x88($s7) +/* 186D78 80258498 8EE60090 */ lw $a2, 0x90($s7) +/* 186D7C 8025849C 0C0B76A3 */ jal func_802DDA8C +/* 186D80 802584A0 0000202D */ daddu $a0, $zero, $zero +.L802584A4: +/* 186D84 802584A4 82C30210 */ lb $v1, 0x210($s6) +.L802584A8: +/* 186D88 802584A8 24020009 */ addiu $v0, $zero, 9 +/* 186D8C 802584AC 10620003 */ beq $v1, $v0, .L802584BC +/* 186D90 802584B0 02C0202D */ daddu $a0, $s6, $zero +/* 186D94 802584B4 08096130 */ j func_802584C0 +/* 186D98 802584B8 2405000C */ addiu $a1, $zero, 0xc + +.L802584BC: +/* 186D9C 802584BC 2405000D */ addiu $a1, $zero, 0xd +func_802584C0: +/* 186DA0 802584C0 0C099B6B */ jal func_80266DAC +/* 186DA4 802584C4 24120001 */ addiu $s2, $zero, 1 +/* 186DA8 802584C8 02C0202D */ daddu $a0, $s6, $zero +/* 186DAC 802584CC 0C099BBA */ jal func_80266EE8 +/* 186DB0 802584D0 0000282D */ daddu $a1, $zero, $zero +/* 186DB4 802584D4 0240982D */ daddu $s3, $s2, $zero +.L802584D8: +/* 186DB8 802584D8 82C30214 */ lb $v1, 0x214($s6) +/* 186DBC 802584DC 2402000C */ addiu $v0, $zero, 0xc +/* 186DC0 802584E0 1462001C */ bne $v1, $v0, .L80258554 +/* 186DC4 802584E4 00000000 */ nop +/* 186DC8 802584E8 0C099751 */ jal func_80265D44 +/* 186DCC 802584EC 0040202D */ daddu $a0, $v0, $zero +/* 186DD0 802584F0 0000202D */ daddu $a0, $zero, $zero +/* 186DD4 802584F4 0040282D */ daddu $a1, $v0, $zero +/* 186DD8 802584F8 8EE60090 */ lw $a2, 0x90($s7) +/* 186DDC 802584FC 24110001 */ addiu $s1, $zero, 1 +/* 186DE0 80258500 0C0B76A3 */ jal func_802DDA8C +/* 186DE4 80258504 AEE50088 */ sw $a1, 0x88($s7) +/* 186DE8 80258508 16400004 */ bnez $s2, .L8025851C +/* 186DEC 8025850C 02C0202D */ daddu $a0, $s6, $zero +/* 186DF0 80258510 0C099B6B */ jal func_80266DAC +/* 186DF4 80258514 0000282D */ daddu $a1, $zero, $zero +/* 186DF8 80258518 02C0202D */ daddu $a0, $s6, $zero +.L8025851C: +/* 186DFC 8025851C 0C099BBA */ jal func_80266EE8 +/* 186E00 80258520 0000282D */ daddu $a1, $zero, $zero +/* 186E04 80258524 86C40436 */ lh $a0, 0x436($s6) +/* 186E08 80258528 0C011E3E */ jal func_800478F8 +/* 186E0C 8025852C 24120001 */ addiu $s2, $zero, 1 +/* 186E10 80258530 86C40436 */ lh $a0, 0x436($s6) +/* 186E14 80258534 0C011E80 */ jal func_80047A00 +/* 186E18 80258538 0240982D */ daddu $s3, $s2, $zero +/* 186E1C 8025853C 86C40436 */ lh $a0, 0x436($s6) +/* 186E20 80258540 0C011EC2 */ jal func_80047B08 +/* 186E24 80258544 0240A82D */ daddu $s5, $s2, $zero +/* 186E28 80258548 86C40436 */ lh $a0, 0x436($s6) +/* 186E2C 8025854C 0C011EF9 */ jal func_80047BE4 +/* 186E30 80258550 00000000 */ nop +.L80258554: +/* 186E34 80258554 8EC20000 */ lw $v0, ($s6) +/* 186E38 80258558 3C030400 */ lui $v1, 0x400 +/* 186E3C 8025855C 00431024 */ and $v0, $v0, $v1 +/* 186E40 80258560 1040000B */ beqz $v0, .L80258590 +/* 186E44 80258564 00000000 */ nop +/* 186E48 80258568 16200009 */ bnez $s1, .L80258590 +/* 186E4C 8025856C 00000000 */ nop +/* 186E50 80258570 8EF00088 */ lw $s0, 0x88($s7) +/* 186E54 80258574 0C099751 */ jal func_80265D44 +/* 186E58 80258578 2404000C */ addiu $a0, $zero, 0xc +/* 186E5C 8025857C 16020004 */ bne $s0, $v0, .L80258590 +/* 186E60 80258580 00000000 */ nop +/* 186E64 80258584 0C099751 */ jal func_80265D44 +/* 186E68 80258588 24040001 */ addiu $a0, $zero, 1 +/* 186E6C 8025858C AEE20088 */ sw $v0, 0x88($s7) +.L80258590: +/* 186E70 80258590 0C03A752 */ jal is_ability_active +/* 186E74 80258594 24040015 */ addiu $a0, $zero, 0x15 +/* 186E78 80258598 10400007 */ beqz $v0, .L802585B8 +/* 186E7C 8025859C 00000000 */ nop +/* 186E80 802585A0 16400005 */ bnez $s2, .L802585B8 +/* 186E84 802585A4 24120001 */ addiu $s2, $zero, 1 +/* 186E88 802585A8 02C0202D */ daddu $a0, $s6, $zero +/* 186E8C 802585AC 0C099B6B */ jal func_80266DAC +/* 186E90 802585B0 24050008 */ addiu $a1, $zero, 8 +/* 186E94 802585B4 24120001 */ addiu $s2, $zero, 1 +.L802585B8: +/* 186E98 802585B8 82C30210 */ lb $v1, 0x210($s6) +/* 186E9C 802585BC 24020009 */ addiu $v0, $zero, 9 +/* 186EA0 802585C0 14620009 */ bne $v1, $v0, .L802585E8 +/* 186EA4 802585C4 24020005 */ addiu $v0, $zero, 5 +/* 186EA8 802585C8 16400007 */ bnez $s2, .L802585E8 +/* 186EAC 802585CC 24120001 */ addiu $s2, $zero, 1 +/* 186EB0 802585D0 02C0202D */ daddu $a0, $s6, $zero +/* 186EB4 802585D4 0C099B6B */ jal func_80266DAC +/* 186EB8 802585D8 24050006 */ addiu $a1, $zero, 6 +/* 186EBC 802585DC 24120001 */ addiu $s2, $zero, 1 +/* 186EC0 802585E0 82C30210 */ lb $v1, 0x210($s6) +/* 186EC4 802585E4 24020005 */ addiu $v0, $zero, 5 +.L802585E8: +/* 186EC8 802585E8 14620007 */ bne $v1, $v0, .L80258608 +/* 186ECC 802585EC 00000000 */ nop +/* 186ED0 802585F0 16400005 */ bnez $s2, .L80258608 +/* 186ED4 802585F4 24120001 */ addiu $s2, $zero, 1 +/* 186ED8 802585F8 02C0202D */ daddu $a0, $s6, $zero +/* 186EDC 802585FC 0C099B6B */ jal func_80266DAC +/* 186EE0 80258600 24050007 */ addiu $a1, $zero, 7 +/* 186EE4 80258604 24120001 */ addiu $s2, $zero, 1 +.L80258608: +/* 186EE8 80258608 82C30212 */ lb $v1, 0x212($s6) +/* 186EEC 8025860C 2402000B */ addiu $v0, $zero, 0xb +/* 186EF0 80258610 14620007 */ bne $v1, $v0, .L80258630 +/* 186EF4 80258614 00000000 */ nop +/* 186EF8 80258618 16400005 */ bnez $s2, .L80258630 +/* 186EFC 8025861C 24120001 */ addiu $s2, $zero, 1 +/* 186F00 80258620 02C0202D */ daddu $a0, $s6, $zero +/* 186F04 80258624 0C099B6B */ jal func_80266DAC +/* 186F08 80258628 24050004 */ addiu $a1, $zero, 4 +/* 186F0C 8025862C 24120001 */ addiu $s2, $zero, 1 +.L80258630: +/* 186F10 80258630 8282009B */ lb $v0, 0x9b($s4) +/* 186F14 80258634 10400007 */ beqz $v0, .L80258654 +/* 186F18 80258638 00000000 */ nop +/* 186F1C 8025863C 16600005 */ bnez $s3, .L80258654 +/* 186F20 80258640 24130001 */ addiu $s3, $zero, 1 +/* 186F24 80258644 02C0202D */ daddu $a0, $s6, $zero +/* 186F28 80258648 0C099BBA */ jal func_80266EE8 +/* 186F2C 8025864C 2405000B */ addiu $a1, $zero, 0xb +/* 186F30 80258650 24130001 */ addiu $s3, $zero, 1 +.L80258654: +/* 186F34 80258654 0C03A752 */ jal is_ability_active +/* 186F38 80258658 24040013 */ addiu $a0, $zero, 0x13 +/* 186F3C 8025865C 10400007 */ beqz $v0, .L8025867C +/* 186F40 80258660 00000000 */ nop +/* 186F44 80258664 16400005 */ bnez $s2, .L8025867C +/* 186F48 80258668 24120001 */ addiu $s2, $zero, 1 +/* 186F4C 8025866C 02C0202D */ daddu $a0, $s6, $zero +/* 186F50 80258670 0C099B6B */ jal func_80266DAC +/* 186F54 80258674 24050004 */ addiu $a1, $zero, 4 +/* 186F58 80258678 24120001 */ addiu $s2, $zero, 1 +.L8025867C: +/* 186F5C 8025867C 16400003 */ bnez $s2, .L8025868C +/* 186F60 80258680 02C0202D */ daddu $a0, $s6, $zero +/* 186F64 80258684 0C099B6B */ jal func_80266DAC +/* 186F68 80258688 0000282D */ daddu $a1, $zero, $zero +.L8025868C: +/* 186F6C 8025868C 16600003 */ bnez $s3, .L8025869C +/* 186F70 80258690 02C0202D */ daddu $a0, $s6, $zero +/* 186F74 80258694 0C099BBA */ jal func_80266EE8 +/* 186F78 80258698 0000282D */ daddu $a1, $zero, $zero +.L8025869C: +/* 186F7C 8025869C 8EC20000 */ lw $v0, ($s6) +/* 186F80 802586A0 3C030400 */ lui $v1, 0x400 +/* 186F84 802586A4 00431024 */ and $v0, $v0, $v1 +/* 186F88 802586A8 1040007D */ beqz $v0, .L802588A0 +/* 186F8C 802586AC 00000000 */ nop +/* 186F90 802586B0 8282008B */ lb $v0, 0x8b($s4) +/* 186F94 802586B4 10400015 */ beqz $v0, .L8025870C +/* 186F98 802586B8 00000000 */ nop +/* 186F9C 802586BC 0C099751 */ jal func_80265D44 +/* 186FA0 802586C0 24040019 */ addiu $a0, $zero, 0x19 +/* 186FA4 802586C4 AEE20088 */ sw $v0, 0x88($s7) +/* 186FA8 802586C8 080961CF */ j func_8025873C +/* 186FAC 802586CC 24110001 */ addiu $s1, $zero, 1 + +.L802586D0: +/* 186FB0 802586D0 86C40436 */ lh $a0, 0x436($s6) +/* 186FB4 802586D4 08096241 */ j func_80258904 +/* 186FB8 802586D8 24050009 */ addiu $a1, $zero, 9 + +.L802586DC: +/* 186FBC 802586DC 86C40436 */ lh $a0, 0x436($s6) +/* 186FC0 802586E0 08096241 */ j func_80258904 +/* 186FC4 802586E4 24050006 */ addiu $a1, $zero, 6 + +.L802586E8: +/* 186FC8 802586E8 86C40436 */ lh $a0, 0x436($s6) +/* 186FCC 802586EC 08096241 */ j func_80258904 +/* 186FD0 802586F0 24050005 */ addiu $a1, $zero, 5 + +.L802586F4: +/* 186FD4 802586F4 86C40436 */ lh $a0, 0x436($s6) +/* 186FD8 802586F8 08096241 */ j func_80258904 +/* 186FDC 802586FC 24050004 */ addiu $a1, $zero, 4 + +.L80258700: +/* 186FE0 80258700 86C40436 */ lh $a0, 0x436($s6) +/* 186FE4 80258704 08096241 */ j func_80258904 +/* 186FE8 80258708 2405000A */ addiu $a1, $zero, 0xa + +.L8025870C: +/* 186FEC 8025870C 1620000B */ bnez $s1, .L8025873C +/* 186FF0 80258710 00000000 */ nop +/* 186FF4 80258714 0C099751 */ jal func_80265D44 +/* 186FF8 80258718 24040001 */ addiu $a0, $zero, 1 +/* 186FFC 8025871C 0040802D */ daddu $s0, $v0, $zero +/* 187000 80258720 0C099751 */ jal func_80265D44 +/* 187004 80258724 24040019 */ addiu $a0, $zero, 0x19 +/* 187008 80258728 16020004 */ bne $s0, $v0, .L8025873C +/* 18700C 8025872C 00000000 */ nop +/* 187010 80258730 0C099751 */ jal func_80265D44 +/* 187014 80258734 24040001 */ addiu $a0, $zero, 1 +/* 187018 80258738 AEE20088 */ sw $v0, 0x88($s7) +func_8025873C: +.L8025873C: +/* 18701C 8025873C 82C30210 */ lb $v1, 0x210($s6) +/* 187020 80258740 24020007 */ addiu $v0, $zero, 7 +/* 187024 80258744 54620005 */ bnel $v1, $v0, .L8025875C +/* 187028 80258748 2402000A */ addiu $v0, $zero, 0xa +/* 18702C 8025874C 16200026 */ bnez $s1, .L802587E8 +/* 187030 80258750 0040202D */ daddu $a0, $v0, $zero +/* 187034 80258754 080961F7 */ j func_802587DC +/* 187038 80258758 00000000 */ nop + +.L8025875C: +/* 18703C 8025875C 10620022 */ beq $v1, $v0, .L802587E8 +/* 187040 80258760 24020009 */ addiu $v0, $zero, 9 +/* 187044 80258764 54620005 */ bnel $v1, $v0, .L8025877C +/* 187048 80258768 24020004 */ addiu $v0, $zero, 4 +/* 18704C 8025876C 1620001E */ bnez $s1, .L802587E8 +/* 187050 80258770 0040202D */ daddu $a0, $v0, $zero +/* 187054 80258774 080961F7 */ j func_802587DC +/* 187058 80258778 00000000 */ nop + +.L8025877C: +/* 18705C 8025877C 54620005 */ bnel $v1, $v0, .L80258794 +/* 187060 80258780 24020006 */ addiu $v0, $zero, 6 +/* 187064 80258784 16200018 */ bnez $s1, .L802587E8 +/* 187068 80258788 0040202D */ daddu $a0, $v0, $zero +/* 18706C 8025878C 080961F7 */ j func_802587DC +/* 187070 80258790 00000000 */ nop + +.L80258794: +/* 187074 80258794 54620005 */ bnel $v1, $v0, .L802587AC +/* 187078 80258798 24020005 */ addiu $v0, $zero, 5 +/* 18707C 8025879C 16200012 */ bnez $s1, .L802587E8 +/* 187080 802587A0 0040202D */ daddu $a0, $v0, $zero +/* 187084 802587A4 080961F7 */ j func_802587DC +/* 187088 802587A8 00000000 */ nop + +.L802587AC: +/* 18708C 802587AC 14620005 */ bne $v1, $v0, .L802587C4 +/* 187090 802587B0 02C0202D */ daddu $a0, $s6, $zero +/* 187094 802587B4 1620000C */ bnez $s1, .L802587E8 +/* 187098 802587B8 0040202D */ daddu $a0, $v0, $zero +/* 18709C 802587BC 080961F7 */ j func_802587DC +/* 1870A0 802587C0 00000000 */ nop + +.L802587C4: +/* 1870A4 802587C4 0C099CAB */ jal heroes_is_ability_active +/* 1870A8 802587C8 24050015 */ addiu $a1, $zero, 0x15 +/* 1870AC 802587CC 10400006 */ beqz $v0, .L802587E8 +/* 1870B0 802587D0 00000000 */ nop +/* 1870B4 802587D4 16200004 */ bnez $s1, .L802587E8 +/* 1870B8 802587D8 24040010 */ addiu $a0, $zero, 0x10 +func_802587DC: +/* 1870BC 802587DC 0C099751 */ jal func_80265D44 +/* 1870C0 802587E0 24110001 */ addiu $s1, $zero, 1 +/* 1870C4 802587E4 AEE20088 */ sw $v0, 0x88($s7) +.L802587E8: +/* 1870C8 802587E8 0C03A752 */ jal is_ability_active +/* 1870CC 802587EC 24040013 */ addiu $a0, $zero, 0x13 +/* 1870D0 802587F0 1040000C */ beqz $v0, .L80258824 +/* 1870D4 802587F4 2402000B */ addiu $v0, $zero, 0xb +/* 1870D8 802587F8 16200006 */ bnez $s1, .L80258814 +/* 1870DC 802587FC 2402000B */ addiu $v0, $zero, 0xb +/* 1870E0 80258800 0C099751 */ jal func_80265D44 +/* 1870E4 80258804 2404000B */ addiu $a0, $zero, 0xb +/* 1870E8 80258808 AEE20088 */ sw $v0, 0x88($s7) +/* 1870EC 8025880C 24110001 */ addiu $s1, $zero, 1 +/* 1870F0 80258810 2402000B */ addiu $v0, $zero, 0xb +.L80258814: +/* 1870F4 80258814 A2C20212 */ sb $v0, 0x212($s6) +/* 1870F8 80258818 2402007F */ addiu $v0, $zero, 0x7f +/* 1870FC 8025881C 08096212 */ j func_80258848 +/* 187100 80258820 A2C20213 */ sb $v0, 0x213($s6) + +.L80258824: +/* 187104 80258824 82C30212 */ lb $v1, 0x212($s6) +/* 187108 80258828 14620007 */ bne $v1, $v0, .L80258848 +/* 18710C 8025882C 00000000 */ nop +/* 187110 80258830 16200005 */ bnez $s1, .L80258848 +/* 187114 80258834 00000000 */ nop +/* 187118 80258838 0C099751 */ jal func_80265D44 +/* 18711C 8025883C 0040202D */ daddu $a0, $v0, $zero +/* 187120 80258840 AEE20088 */ sw $v0, 0x88($s7) +/* 187124 80258844 24110001 */ addiu $s1, $zero, 1 +func_80258848: +.L80258848: +/* 187128 80258848 82C30218 */ lb $v1, 0x218($s6) +/* 18712C 8025884C 2402000E */ addiu $v0, $zero, 0xe +/* 187130 80258850 10620005 */ beq $v1, $v0, .L80258868 +/* 187134 80258854 00000000 */ nop +/* 187138 80258858 8EE20000 */ lw $v0, ($s7) +/* 18713C 8025885C 30420100 */ andi $v0, $v0, 0x100 +/* 187140 80258860 1040000A */ beqz $v0, .L8025888C +/* 187144 80258864 00000000 */ nop +.L80258868: +/* 187148 80258868 16200005 */ bnez $s1, .L80258880 +/* 18714C 8025886C 00000000 */ nop +/* 187150 80258870 0C099751 */ jal func_80265D44 +/* 187154 80258874 2404000E */ addiu $a0, $zero, 0xe +/* 187158 80258878 AEE20088 */ sw $v0, 0x88($s7) +/* 18715C 8025887C 24110001 */ addiu $s1, $zero, 1 +.L80258880: +/* 187160 80258880 86C40436 */ lh $a0, 0x436($s6) +/* 187164 80258884 0C011E8C */ jal func_80047A30 +/* 187168 80258888 2405000E */ addiu $a1, $zero, 0xe +.L8025888C: +/* 18716C 8025888C 16200004 */ bnez $s1, .L802588A0 +/* 187170 80258890 00000000 */ nop +/* 187174 80258894 0C099751 */ jal func_80265D44 +/* 187178 80258898 24040001 */ addiu $a0, $zero, 1 +/* 18717C 8025889C AEE20088 */ sw $v0, 0x88($s7) +.L802588A0: +/* 187180 802588A0 3C02800E */ lui $v0, 0x800e +/* 187184 802588A4 8C42C070 */ lw $v0, -0x3f90($v0) +/* 187188 802588A8 30420004 */ andi $v0, $v0, 4 +/* 18718C 802588AC 14400030 */ bnez $v0, .L80258970 +/* 187190 802588B0 3C030800 */ lui $v1, 0x800 +/* 187194 802588B4 8EC20000 */ lw $v0, ($s6) +/* 187198 802588B8 00431024 */ and $v0, $v0, $v1 +/* 18719C 802588BC 1040002C */ beqz $v0, .L80258970 +/* 1871A0 802588C0 00000000 */ nop +/* 1871A4 802588C4 16A0001D */ bnez $s5, .L8025893C +/* 1871A8 802588C8 24020009 */ addiu $v0, $zero, 9 +/* 1871AC 802588CC 82C30210 */ lb $v1, 0x210($s6) +/* 1871B0 802588D0 1062FF7F */ beq $v1, $v0, .L802586D0 +/* 1871B4 802588D4 24020006 */ addiu $v0, $zero, 6 +/* 1871B8 802588D8 1062FF80 */ beq $v1, $v0, .L802586DC +/* 1871BC 802588DC 24020005 */ addiu $v0, $zero, 5 +/* 1871C0 802588E0 1062FF81 */ beq $v1, $v0, .L802586E8 +/* 1871C4 802588E4 24020004 */ addiu $v0, $zero, 4 +/* 1871C8 802588E8 1062FF82 */ beq $v1, $v0, .L802586F4 +/* 1871CC 802588EC 2402000A */ addiu $v0, $zero, 0xa +/* 1871D0 802588F0 1062FF83 */ beq $v1, $v0, .L80258700 +/* 1871D4 802588F4 24020007 */ addiu $v0, $zero, 7 +/* 1871D8 802588F8 14620004 */ bne $v1, $v0, .L8025890C +/* 1871DC 802588FC 0040282D */ daddu $a1, $v0, $zero +/* 1871E0 80258900 86C40436 */ lh $a0, 0x436($s6) +func_80258904: +/* 1871E4 80258904 0C011E08 */ jal func_80047820 +/* 1871E8 80258908 00000000 */ nop +.L8025890C: +/* 1871EC 8025890C 16A0000B */ bnez $s5, .L8025893C +/* 1871F0 80258910 00000000 */ nop +/* 1871F4 80258914 0C03A752 */ jal is_ability_active +/* 1871F8 80258918 24040013 */ addiu $a0, $zero, 0x13 +/* 1871FC 8025891C 14400004 */ bnez $v0, .L80258930 +/* 187200 80258920 2402000B */ addiu $v0, $zero, 0xb +/* 187204 80258924 82C30212 */ lb $v1, 0x212($s6) +/* 187208 80258928 14620004 */ bne $v1, $v0, .L8025893C +/* 18720C 8025892C 00000000 */ nop +.L80258930: +/* 187210 80258930 86C40436 */ lh $a0, 0x436($s6) +/* 187214 80258934 0C011E4A */ jal func_80047928 +/* 187218 80258938 2405000B */ addiu $a1, $zero, 0xb +.L8025893C: +/* 18721C 8025893C 82C30218 */ lb $v1, 0x218($s6) +/* 187220 80258940 2402000E */ addiu $v0, $zero, 0xe +/* 187224 80258944 10620005 */ beq $v1, $v0, .L8025895C +/* 187228 80258948 00000000 */ nop +/* 18722C 8025894C 8EE20000 */ lw $v0, ($s7) +/* 187230 80258950 30420100 */ andi $v0, $v0, 0x100 +/* 187234 80258954 1040000E */ beqz $v0, .L80258990 +/* 187238 80258958 00000000 */ nop +.L8025895C: +/* 18723C 8025895C 86C40436 */ lh $a0, 0x436($s6) +/* 187240 80258960 0C011E8C */ jal func_80047A30 +/* 187244 80258964 2405000E */ addiu $a1, $zero, 0xe +/* 187248 80258968 08096264 */ j func_80258990 +/* 18724C 8025896C 00000000 */ nop + +.L80258970: +/* 187250 80258970 0C011E3E */ jal func_800478F8 +/* 187254 80258974 86C40436 */ lh $a0, 0x436($s6) +/* 187258 80258978 0C011E80 */ jal func_80047A00 +/* 18725C 8025897C 86C40436 */ lh $a0, 0x436($s6) +/* 187260 80258980 0C011EC2 */ jal func_80047B08 +/* 187264 80258984 86C40436 */ lh $a0, 0x436($s6) +/* 187268 80258988 0C011EF9 */ jal func_80047BE4 +/* 18726C 8025898C 86C40436 */ lh $a0, 0x436($s6) +func_80258990: +.L80258990: +/* 187270 80258990 82C30210 */ lb $v1, 0x210($s6) +/* 187274 80258994 24020008 */ addiu $v0, $zero, 8 +/* 187278 80258998 1062FE6F */ beq $v1, $v0, .L80258358 +/* 18727C 8025899C 00000000 */ nop +/* 187280 802589A0 16200009 */ bnez $s1, .L802589C8 +/* 187284 802589A4 00000000 */ nop +/* 187288 802589A8 8EF00088 */ lw $s0, 0x88($s7) +/* 18728C 802589AC 0C099751 */ jal func_80265D44 +/* 187290 802589B0 0040202D */ daddu $a0, $v0, $zero +/* 187294 802589B4 16020004 */ bne $s0, $v0, .L802589C8 +/* 187298 802589B8 00000000 */ nop +/* 18729C 802589BC 0C099751 */ jal func_80265D44 +/* 1872A0 802589C0 24040001 */ addiu $a0, $zero, 1 +/* 1872A4 802589C4 AEE20088 */ sw $v0, 0x88($s7) +func_802589C8: +.L802589C8: +/* 1872A8 802589C8 8EC20008 */ lw $v0, 8($s6) +/* 1872AC 802589CC 80420024 */ lb $v0, 0x24($v0) +/* 1872B0 802589D0 C6C20188 */ lwc1 $f2, 0x188($s6) +/* 1872B4 802589D4 44820000 */ mtc1 $v0, $f0 +/* 1872B8 802589D8 00000000 */ nop +/* 1872BC 802589DC 46800020 */ cvt.s.w $f0, $f0 +/* 1872C0 802589E0 46020002 */ mul.s $f0, $f0, $f2 +/* 1872C4 802589E4 00000000 */ nop +/* 1872C8 802589E8 86C40436 */ lh $a0, 0x436($s6) +/* 1872CC 802589EC 4600038D */ trunc.w.s $f14, $f0 +/* 1872D0 802589F0 E7AE0010 */ swc1 $f14, 0x10($sp) +/* 1872D4 802589F4 8EC20008 */ lw $v0, 8($s6) +/* 1872D8 802589F8 80420025 */ lb $v0, 0x25($v0) +/* 1872DC 802589FC C6C20188 */ lwc1 $f2, 0x188($s6) +/* 1872E0 80258A00 44820000 */ mtc1 $v0, $f0 +/* 1872E4 80258A04 00000000 */ nop +/* 1872E8 80258A08 46800020 */ cvt.s.w $f0, $f0 +/* 1872EC 80258A0C 46020002 */ mul.s $f0, $f0, $f2 +/* 1872F0 80258A10 00000000 */ nop +/* 1872F4 80258A14 4600038D */ trunc.w.s $f14, $f0 +/* 1872F8 80258A18 E7AE0014 */ swc1 $f14, 0x14($sp) +/* 1872FC 80258A1C 8EC20008 */ lw $v0, 8($s6) +/* 187300 80258A20 80420026 */ lb $v0, 0x26($v0) +/* 187304 80258A24 C6C20188 */ lwc1 $f2, 0x188($s6) +/* 187308 80258A28 44820000 */ mtc1 $v0, $f0 +/* 18730C 80258A2C 00000000 */ nop +/* 187310 80258A30 46800020 */ cvt.s.w $f0, $f0 +/* 187314 80258A34 46020002 */ mul.s $f0, $f0, $f2 +/* 187318 80258A38 00000000 */ nop +/* 18731C 80258A3C 4600038D */ trunc.w.s $f14, $f0 +/* 187320 80258A40 E7AE0018 */ swc1 $f14, 0x18($sp) +/* 187324 80258A44 8EC20008 */ lw $v0, 8($s6) +/* 187328 80258A48 80420027 */ lb $v0, 0x27($v0) +/* 18732C 80258A4C C6C20188 */ lwc1 $f2, 0x188($s6) +/* 187330 80258A50 44820000 */ mtc1 $v0, $f0 +/* 187334 80258A54 00000000 */ nop +/* 187338 80258A58 46800020 */ cvt.s.w $f0, $f0 +/* 18733C 80258A5C 46020002 */ mul.s $f0, $f0, $f2 +/* 187340 80258A60 00000000 */ nop +/* 187344 80258A64 4405A000 */ mfc1 $a1, $f20 +/* 187348 80258A68 4406C000 */ mfc1 $a2, $f24 +/* 18734C 80258A6C 4407B000 */ mfc1 $a3, $f22 +/* 187350 80258A70 4600038D */ trunc.w.s $f14, $f0 +/* 187354 80258A74 0C011DE3 */ jal func_8004778C +/* 187358 80258A78 E7AE001C */ swc1 $f14, 0x1c($sp) +/* 18735C 80258A7C 92C20191 */ lbu $v0, 0x191($s6) +/* 187360 80258A80 C6C40188 */ lwc1 $f4, 0x188($s6) +/* 187364 80258A84 44821000 */ mtc1 $v0, $f2 +/* 187368 80258A88 00000000 */ nop +/* 18736C 80258A8C 468010A0 */ cvt.s.w $f2, $f2 +/* 187370 80258A90 46041082 */ mul.s $f2, $f2, $f4 +/* 187374 80258A94 00000000 */ nop +/* 187378 80258A98 92C20190 */ lbu $v0, 0x190($s6) +/* 18737C 80258A9C 44820000 */ mtc1 $v0, $f0 +/* 187380 80258AA0 00000000 */ nop +/* 187384 80258AA4 46800020 */ cvt.s.w $f0, $f0 +/* 187388 80258AA8 46040002 */ mul.s $f0, $f0, $f4 +/* 18738C 80258AAC 00000000 */ nop +/* 187390 80258AB0 86C40436 */ lh $a0, 0x436($s6) +/* 187394 80258AB4 4600138D */ trunc.w.s $f14, $f2 +/* 187398 80258AB8 44057000 */ mfc1 $a1, $f14 +/* 18739C 80258ABC 4600038D */ trunc.w.s $f14, $f0 +/* 1873A0 80258AC0 44067000 */ mfc1 $a2, $f14 +/* 1873A4 80258AC4 0C011DFD */ jal func_800477F4 +/* 1873A8 80258AC8 00000000 */ nop +/* 1873AC 80258ACC 86E20068 */ lh $v0, 0x68($s7) +/* 1873B0 80258AD0 44820000 */ mtc1 $v0, $f0 +/* 1873B4 80258AD4 00000000 */ nop +/* 1873B8 80258AD8 46800020 */ cvt.s.w $f0, $f0 +/* 1873BC 80258ADC 4600A500 */ add.s $f20, $f20, $f0 +/* 1873C0 80258AE0 86E2006A */ lh $v0, 0x6a($s7) +/* 1873C4 80258AE4 27B501E0 */ addiu $s5, $sp, 0x1e0 +/* 1873C8 80258AE8 44820000 */ mtc1 $v0, $f0 +/* 1873CC 80258AEC 00000000 */ nop +/* 1873D0 80258AF0 46800020 */ cvt.s.w $f0, $f0 +/* 1873D4 80258AF4 4600C600 */ add.s $f24, $f24, $f0 +/* 1873D8 80258AF8 4407B000 */ mfc1 $a3, $f22 +/* 1873DC 80258AFC 4405A000 */ mfc1 $a1, $f20 +/* 1873E0 80258B00 4406C000 */ mfc1 $a2, $f24 +/* 1873E4 80258B04 02A0202D */ daddu $a0, $s5, $zero +/* 1873E8 80258B08 AEE70060 */ sw $a3, 0x60($s7) +/* 1873EC 80258B0C AEE50058 */ sw $a1, 0x58($s7) +/* 1873F0 80258B10 0C019E40 */ jal guTranslateF +/* 1873F4 80258B14 AEE6005C */ sw $a2, 0x5c($s7) +/* 1873F8 80258B18 86C20168 */ lh $v0, 0x168($s6) +/* 1873FC 80258B1C C6C20188 */ lwc1 $f2, 0x188($s6) +/* 187400 80258B20 00021023 */ negu $v0, $v0 +/* 187404 80258B24 44820000 */ mtc1 $v0, $f0 +/* 187408 80258B28 00000000 */ nop +/* 18740C 80258B2C 46800020 */ cvt.s.w $f0, $f0 +/* 187410 80258B30 46020002 */ mul.s $f0, $f0, $f2 +/* 187414 80258B34 00000000 */ nop +/* 187418 80258B38 86C2016A */ lh $v0, 0x16a($s6) +/* 18741C 80258B3C 00021023 */ negu $v0, $v0 +/* 187420 80258B40 44050000 */ mfc1 $a1, $f0 +/* 187424 80258B44 44820000 */ mtc1 $v0, $f0 +/* 187428 80258B48 00000000 */ nop +/* 18742C 80258B4C 46800020 */ cvt.s.w $f0, $f0 +/* 187430 80258B50 46020002 */ mul.s $f0, $f0, $f2 +/* 187434 80258B54 00000000 */ nop +/* 187438 80258B58 86C2016C */ lh $v0, 0x16c($s6) +/* 18743C 80258B5C 00021023 */ negu $v0, $v0 +/* 187440 80258B60 44060000 */ mfc1 $a2, $f0 +/* 187444 80258B64 44820000 */ mtc1 $v0, $f0 +/* 187448 80258B68 00000000 */ nop +/* 18744C 80258B6C 46800020 */ cvt.s.w $f0, $f0 +/* 187450 80258B70 46020002 */ mul.s $f0, $f0, $f2 +/* 187454 80258B74 00000000 */ nop +/* 187458 80258B78 27B40160 */ addiu $s4, $sp, 0x160 +/* 18745C 80258B7C 44070000 */ mfc1 $a3, $f0 +/* 187460 80258B80 0C019E40 */ jal guTranslateF +/* 187464 80258B84 0280202D */ daddu $a0, $s4, $zero +/* 187468 80258B88 86C20168 */ lh $v0, 0x168($s6) +/* 18746C 80258B8C C6C20188 */ lwc1 $f2, 0x188($s6) +/* 187470 80258B90 44820000 */ mtc1 $v0, $f0 +/* 187474 80258B94 00000000 */ nop +/* 187478 80258B98 46800020 */ cvt.s.w $f0, $f0 +/* 18747C 80258B9C 46020002 */ mul.s $f0, $f0, $f2 +/* 187480 80258BA0 00000000 */ nop +/* 187484 80258BA4 86C2016A */ lh $v0, 0x16a($s6) +/* 187488 80258BA8 44050000 */ mfc1 $a1, $f0 +/* 18748C 80258BAC 44820000 */ mtc1 $v0, $f0 +/* 187490 80258BB0 00000000 */ nop +/* 187494 80258BB4 46800020 */ cvt.s.w $f0, $f0 +/* 187498 80258BB8 46020002 */ mul.s $f0, $f0, $f2 +/* 18749C 80258BBC 00000000 */ nop +/* 1874A0 80258BC0 86C2016C */ lh $v0, 0x16c($s6) +/* 1874A4 80258BC4 44060000 */ mfc1 $a2, $f0 +/* 1874A8 80258BC8 44820000 */ mtc1 $v0, $f0 +/* 1874AC 80258BCC 00000000 */ nop +/* 1874B0 80258BD0 46800020 */ cvt.s.w $f0, $f0 +/* 1874B4 80258BD4 46020002 */ mul.s $f0, $f0, $f2 +/* 1874B8 80258BD8 00000000 */ nop +/* 1874BC 80258BDC 27B301A0 */ addiu $s3, $sp, 0x1a0 +/* 1874C0 80258BE0 44070000 */ mfc1 $a3, $f0 +/* 1874C4 80258BE4 4480A000 */ mtc1 $zero, $f20 +/* 1874C8 80258BE8 0C019E40 */ jal guTranslateF +/* 1874CC 80258BEC 0260202D */ daddu $a0, $s3, $zero +/* 1874D0 80258BF0 3C013F80 */ lui $at, 0x3f80 +/* 1874D4 80258BF4 4481B000 */ mtc1 $at, $f22 +/* 1874D8 80258BF8 E7B40010 */ swc1 $f20, 0x10($sp) +/* 1874DC 80258BFC 8EC5015C */ lw $a1, 0x15c($s6) +/* 1874E0 80258C00 4407A000 */ mfc1 $a3, $f20 +/* 1874E4 80258C04 4406B000 */ mfc1 $a2, $f22 +/* 1874E8 80258C08 0C019EC8 */ jal guRotateF +/* 1874EC 80258C0C 27A40020 */ addiu $a0, $sp, 0x20 +/* 1874F0 80258C10 27B10060 */ addiu $s1, $sp, 0x60 +/* 1874F4 80258C14 E7B40010 */ swc1 $f20, 0x10($sp) +/* 1874F8 80258C18 8EC50160 */ lw $a1, 0x160($s6) +/* 1874FC 80258C1C 4406A000 */ mfc1 $a2, $f20 +/* 187500 80258C20 4407B000 */ mfc1 $a3, $f22 +/* 187504 80258C24 0C019EC8 */ jal guRotateF +/* 187508 80258C28 0220202D */ daddu $a0, $s1, $zero +/* 18750C 80258C2C 27B000A0 */ addiu $s0, $sp, 0xa0 +/* 187510 80258C30 4406A000 */ mfc1 $a2, $f20 +/* 187514 80258C34 0200202D */ daddu $a0, $s0, $zero +/* 187518 80258C38 E7B60010 */ swc1 $f22, 0x10($sp) +/* 18751C 80258C3C 8EC50164 */ lw $a1, 0x164($s6) +/* 187520 80258C40 0C019EC8 */ jal guRotateF +/* 187524 80258C44 00C0382D */ daddu $a3, $a2, $zero +/* 187528 80258C48 0220202D */ daddu $a0, $s1, $zero +/* 18752C 80258C4C 27A50020 */ addiu $a1, $sp, 0x20 +/* 187530 80258C50 27B10220 */ addiu $s1, $sp, 0x220 +/* 187534 80258C54 0C019D80 */ jal guMtxCatF +/* 187538 80258C58 0220302D */ daddu $a2, $s1, $zero +/* 18753C 80258C5C 0220202D */ daddu $a0, $s1, $zero +/* 187540 80258C60 0200282D */ daddu $a1, $s0, $zero +/* 187544 80258C64 27B200E0 */ addiu $s2, $sp, 0xe0 +/* 187548 80258C68 0C019D80 */ jal guMtxCatF +/* 18754C 80258C6C 0240302D */ daddu $a2, $s2, $zero +/* 187550 80258C70 C6C60170 */ lwc1 $f6, 0x170($s6) +/* 187554 80258C74 3C01802A */ lui $at, 0x802a +/* 187558 80258C78 D428D390 */ ldc1 $f8, -0x2c70($at) +/* 18755C 80258C7C 460031A1 */ cvt.d.s $f6, $f6 +/* 187560 80258C80 46283182 */ mul.d $f6, $f6, $f8 +/* 187564 80258C84 00000000 */ nop +/* 187568 80258C88 C6C20174 */ lwc1 $f2, 0x174($s6) +/* 18756C 80258C8C 460010A1 */ cvt.d.s $f2, $f2 +/* 187570 80258C90 46281082 */ mul.d $f2, $f2, $f8 +/* 187574 80258C94 00000000 */ nop +/* 187578 80258C98 C6C40178 */ lwc1 $f4, 0x178($s6) +/* 18757C 80258C9C 46002121 */ cvt.d.s $f4, $f4 +/* 187580 80258CA0 46282102 */ mul.d $f4, $f4, $f8 +/* 187584 80258CA4 00000000 */ nop +/* 187588 80258CA8 C6C00188 */ lwc1 $f0, 0x188($s6) +/* 18758C 80258CAC 46000021 */ cvt.d.s $f0, $f0 +/* 187590 80258CB0 46203182 */ mul.d $f6, $f6, $f0 +/* 187594 80258CB4 00000000 */ nop +/* 187598 80258CB8 46201082 */ mul.d $f2, $f2, $f0 +/* 18759C 80258CBC 00000000 */ nop +/* 1875A0 80258CC0 82E20074 */ lb $v0, 0x74($s7) +/* 1875A4 80258CC4 44820000 */ mtc1 $v0, $f0 +/* 1875A8 80258CC8 00000000 */ nop +/* 1875AC 80258CCC 46800021 */ cvt.d.w $f0, $f0 +/* 1875B0 80258CD0 46201082 */ mul.d $f2, $f2, $f0 +/* 1875B4 80258CD4 00000000 */ nop +/* 1875B8 80258CD8 27B00120 */ addiu $s0, $sp, 0x120 +/* 1875BC 80258CDC 46202120 */ cvt.s.d $f4, $f4 +/* 1875C0 80258CE0 44072000 */ mfc1 $a3, $f4 +/* 1875C4 80258CE4 462031A0 */ cvt.s.d $f6, $f6 +/* 1875C8 80258CE8 44053000 */ mfc1 $a1, $f6 +/* 1875CC 80258CEC 462010A0 */ cvt.s.d $f2, $f2 +/* 1875D0 80258CF0 44061000 */ mfc1 $a2, $f2 +/* 1875D4 80258CF4 0C019DF0 */ jal guScaleF +/* 1875D8 80258CF8 0200202D */ daddu $a0, $s0, $zero +/* 1875DC 80258CFC 0200202D */ daddu $a0, $s0, $zero +/* 1875E0 80258D00 0280282D */ daddu $a1, $s4, $zero +/* 1875E4 80258D04 0C019D80 */ jal guMtxCatF +/* 1875E8 80258D08 0220302D */ daddu $a2, $s1, $zero +/* 1875EC 80258D0C 0220202D */ daddu $a0, $s1, $zero +/* 1875F0 80258D10 0240282D */ daddu $a1, $s2, $zero +/* 1875F4 80258D14 27B00260 */ addiu $s0, $sp, 0x260 +/* 1875F8 80258D18 0C019D80 */ jal guMtxCatF +/* 1875FC 80258D1C 0200302D */ daddu $a2, $s0, $zero +/* 187600 80258D20 0200202D */ daddu $a0, $s0, $zero +/* 187604 80258D24 0260282D */ daddu $a1, $s3, $zero +/* 187608 80258D28 0C019D80 */ jal guMtxCatF +/* 18760C 80258D2C 0220302D */ daddu $a2, $s1, $zero +/* 187610 80258D30 0220202D */ daddu $a0, $s1, $zero +/* 187614 80258D34 02A0282D */ daddu $a1, $s5, $zero +/* 187618 80258D38 0C019D80 */ jal guMtxCatF +/* 18761C 80258D3C 0200302D */ daddu $a2, $s0, $zero +/* 187620 80258D40 8EE50088 */ lw $a1, 0x88($s7) +/* 187624 80258D44 13C50004 */ beq $fp, $a1, .L80258D58 +/* 187628 80258D48 00000000 */ nop +/* 18762C 80258D4C 8EE60090 */ lw $a2, 0x90($s7) +/* 187630 80258D50 0C0B76A3 */ jal func_802DDA8C +/* 187634 80258D54 0000202D */ daddu $a0, $zero, $zero +.L80258D58: +/* 187638 80258D58 3C014334 */ lui $at, 0x4334 +/* 18763C 80258D5C 4481A000 */ mtc1 $at, $f20 +/* 187640 80258D60 00000000 */ nop +/* 187644 80258D64 4614D500 */ add.s $f20, $f26, $f20 +/* 187648 80258D68 0C00A6C9 */ jal clamp_angle +/* 18764C 80258D6C 4600A306 */ mov.s $f12, $f20 +/* 187650 80258D70 0000202D */ daddu $a0, $zero, $zero +/* 187654 80258D74 02E0282D */ daddu $a1, $s7, $zero +/* 187658 80258D78 4600038D */ trunc.w.s $f14, $f0 +/* 18765C 80258D7C 44067000 */ mfc1 $a2, $f14 +/* 187660 80258D80 0C097210 */ jal func_8025C840 +/* 187664 80258D84 0080382D */ daddu $a3, $a0, $zero +/* 187668 80258D88 0C00A6C9 */ jal clamp_angle +/* 18766C 80258D8C 4600A306 */ mov.s $f12, $f20 +/* 187670 80258D90 0000202D */ daddu $a0, $zero, $zero +/* 187674 80258D94 02E0282D */ daddu $a1, $s7, $zero +/* 187678 80258D98 4600038D */ trunc.w.s $f14, $f0 +/* 18767C 80258D9C 44067000 */ mfc1 $a2, $f14 +/* 187680 80258DA0 0C097332 */ jal func_8025CCC8 +/* 187684 80258DA4 0080382D */ daddu $a3, $a0, $zero +/* 187688 80258DA8 0C00A6C9 */ jal clamp_angle +/* 18768C 80258DAC 4600A306 */ mov.s $f12, $f20 +/* 187690 80258DB0 0000202D */ daddu $a0, $zero, $zero +/* 187694 80258DB4 02E0282D */ daddu $a1, $s7, $zero +/* 187698 80258DB8 4600038D */ trunc.w.s $f14, $f0 +/* 18769C 80258DBC 44067000 */ mfc1 $a2, $f14 +/* 1876A0 80258DC0 0200382D */ daddu $a3, $s0, $zero +/* 1876A4 80258DC4 0C09647B */ jal func_802591EC +/* 1876A8 80258DC8 AFA00010 */ sw $zero, 0x10($sp) +/* 1876AC 80258DCC 0C0973B2 */ jal func_8025CEC8 +/* 1876B0 80258DD0 02E0202D */ daddu $a0, $s7, $zero +/* 1876B4 80258DD4 8FBF02C4 */ lw $ra, 0x2c4($sp) +/* 1876B8 80258DD8 8FBE02C0 */ lw $fp, 0x2c0($sp) +/* 1876BC 80258DDC 8FB702BC */ lw $s7, 0x2bc($sp) +/* 1876C0 80258DE0 8FB602B8 */ lw $s6, 0x2b8($sp) +/* 1876C4 80258DE4 8FB502B4 */ lw $s5, 0x2b4($sp) +/* 1876C8 80258DE8 8FB402B0 */ lw $s4, 0x2b0($sp) +/* 1876CC 80258DEC 8FB302AC */ lw $s3, 0x2ac($sp) +/* 1876D0 80258DF0 8FB202A8 */ lw $s2, 0x2a8($sp) +/* 1876D4 80258DF4 8FB102A4 */ lw $s1, 0x2a4($sp) +/* 1876D8 80258DF8 8FB002A0 */ lw $s0, 0x2a0($sp) +/* 1876DC 80258DFC D7BA02E0 */ ldc1 $f26, 0x2e0($sp) +/* 1876E0 80258E00 D7B802D8 */ ldc1 $f24, 0x2d8($sp) +/* 1876E4 80258E04 D7B602D0 */ ldc1 $f22, 0x2d0($sp) +/* 1876E8 80258E08 D7B402C8 */ ldc1 $f20, 0x2c8($sp) +/* 1876EC 80258E0C 03E00008 */ jr $ra +/* 1876F0 80258E10 27BD02E8 */ addiu $sp, $sp, 0x2e8 + +/* 1876F4 80258E14 27BDFCE8 */ addiu $sp, $sp, -0x318 +/* 1876F8 80258E18 AFB002D8 */ sw $s0, 0x2d8($sp) +/* 1876FC 80258E1C 3C10800E */ lui $s0, 0x800e +/* 187700 80258E20 8E10C148 */ lw $s0, -0x3eb8($s0) +/* 187704 80258E24 AFBF02F8 */ sw $ra, 0x2f8($sp) +/* 187708 80258E28 AFB702F4 */ sw $s7, 0x2f4($sp) +/* 18770C 80258E2C AFB602F0 */ sw $s6, 0x2f0($sp) +/* 187710 80258E30 AFB502EC */ sw $s5, 0x2ec($sp) +/* 187714 80258E34 AFB402E8 */ sw $s4, 0x2e8($sp) +/* 187718 80258E38 AFB302E4 */ sw $s3, 0x2e4($sp) +/* 18771C 80258E3C AFB202E0 */ sw $s2, 0x2e0($sp) +/* 187720 80258E40 AFB102DC */ sw $s1, 0x2dc($sp) +/* 187724 80258E44 F7B80310 */ sdc1 $f24, 0x310($sp) +/* 187728 80258E48 F7B60308 */ sdc1 $f22, 0x308($sp) +/* 18772C 80258E4C F7B40300 */ sdc1 $f20, 0x300($sp) +/* 187730 80258E50 86020150 */ lh $v0, 0x150($s0) +/* 187734 80258E54 C6040144 */ lwc1 $f4, 0x144($s0) +/* 187738 80258E58 C6020148 */ lwc1 $f2, 0x148($s0) +/* 18773C 80258E5C 44820000 */ mtc1 $v0, $f0 +/* 187740 80258E60 00000000 */ nop +/* 187744 80258E64 46800020 */ cvt.s.w $f0, $f0 +/* 187748 80258E68 46002100 */ add.s $f4, $f4, $f0 +/* 18774C 80258E6C 86020152 */ lh $v0, 0x152($s0) +/* 187750 80258E70 8E1301F4 */ lw $s3, 0x1f4($s0) +/* 187754 80258E74 44820000 */ mtc1 $v0, $f0 +/* 187758 80258E78 00000000 */ nop +/* 18775C 80258E7C 46800020 */ cvt.s.w $f0, $f0 +/* 187760 80258E80 46001080 */ add.s $f2, $f2, $f0 +/* 187764 80258E84 86620068 */ lh $v0, 0x68($s3) +/* 187768 80258E88 44820000 */ mtc1 $v0, $f0 +/* 18776C 80258E8C 00000000 */ nop +/* 187770 80258E90 46800020 */ cvt.s.w $f0, $f0 +/* 187774 80258E94 46002100 */ add.s $f4, $f4, $f0 +/* 187778 80258E98 8662006A */ lh $v0, 0x6a($s3) +/* 18777C 80258E9C 44820000 */ mtc1 $v0, $f0 +/* 187780 80258EA0 00000000 */ nop +/* 187784 80258EA4 46800020 */ cvt.s.w $f0, $f0 +/* 187788 80258EA8 46001080 */ add.s $f2, $f2, $f0 +/* 18778C 80258EAC 86020154 */ lh $v0, 0x154($s0) +/* 187790 80258EB0 C600014C */ lwc1 $f0, 0x14c($s0) +/* 187794 80258EB4 44061000 */ mfc1 $a2, $f2 +/* 187798 80258EB8 44821000 */ mtc1 $v0, $f2 +/* 18779C 80258EBC 00000000 */ nop +/* 1877A0 80258EC0 468010A0 */ cvt.s.w $f2, $f2 +/* 1877A4 80258EC4 46020000 */ add.s $f0, $f0, $f2 +/* 1877A8 80258EC8 3C0140A0 */ lui $at, 0x40a0 +/* 1877AC 80258ECC 44811000 */ mtc1 $at, $f2 +/* 1877B0 80258ED0 00000000 */ nop +/* 1877B4 80258ED4 46020001 */ sub.s $f0, $f0, $f2 +/* 1877B8 80258ED8 3C013F80 */ lui $at, 0x3f80 +/* 1877BC 80258EDC 4481B000 */ mtc1 $at, $f22 +/* 1877C0 80258EE0 27B701D8 */ addiu $s7, $sp, 0x1d8 +/* 1877C4 80258EE4 46160001 */ sub.s $f0, $f0, $f22 +/* 1877C8 80258EE8 C618018C */ lwc1 $f24, 0x18c($s0) +/* 1877CC 80258EEC 44052000 */ mfc1 $a1, $f4 +/* 1877D0 80258EF0 44070000 */ mfc1 $a3, $f0 +/* 1877D4 80258EF4 02E0202D */ daddu $a0, $s7, $zero +/* 1877D8 80258EF8 0C019E40 */ jal guTranslateF +/* 1877DC 80258EFC E6780064 */ swc1 $f24, 0x64($s3) +/* 1877E0 80258F00 86020168 */ lh $v0, 0x168($s0) +/* 1877E4 80258F04 C6020188 */ lwc1 $f2, 0x188($s0) +/* 1877E8 80258F08 00021023 */ negu $v0, $v0 +/* 1877EC 80258F0C 44820000 */ mtc1 $v0, $f0 +/* 1877F0 80258F10 00000000 */ nop +/* 1877F4 80258F14 46800020 */ cvt.s.w $f0, $f0 +/* 1877F8 80258F18 46020002 */ mul.s $f0, $f0, $f2 +/* 1877FC 80258F1C 00000000 */ nop +/* 187800 80258F20 8602016A */ lh $v0, 0x16a($s0) +/* 187804 80258F24 00021023 */ negu $v0, $v0 +/* 187808 80258F28 44050000 */ mfc1 $a1, $f0 +/* 18780C 80258F2C 44820000 */ mtc1 $v0, $f0 +/* 187810 80258F30 00000000 */ nop +/* 187814 80258F34 46800020 */ cvt.s.w $f0, $f0 +/* 187818 80258F38 46020002 */ mul.s $f0, $f0, $f2 +/* 18781C 80258F3C 00000000 */ nop +/* 187820 80258F40 8602016C */ lh $v0, 0x16c($s0) +/* 187824 80258F44 00021023 */ negu $v0, $v0 +/* 187828 80258F48 44060000 */ mfc1 $a2, $f0 +/* 18782C 80258F4C 44820000 */ mtc1 $v0, $f0 +/* 187830 80258F50 00000000 */ nop +/* 187834 80258F54 46800020 */ cvt.s.w $f0, $f0 +/* 187838 80258F58 46020002 */ mul.s $f0, $f0, $f2 +/* 18783C 80258F5C 00000000 */ nop +/* 187840 80258F60 27B60158 */ addiu $s6, $sp, 0x158 +/* 187844 80258F64 44070000 */ mfc1 $a3, $f0 +/* 187848 80258F68 0C019E40 */ jal guTranslateF +/* 18784C 80258F6C 02C0202D */ daddu $a0, $s6, $zero +/* 187850 80258F70 86020168 */ lh $v0, 0x168($s0) +/* 187854 80258F74 C6020188 */ lwc1 $f2, 0x188($s0) +/* 187858 80258F78 44820000 */ mtc1 $v0, $f0 +/* 18785C 80258F7C 00000000 */ nop +/* 187860 80258F80 46800020 */ cvt.s.w $f0, $f0 +/* 187864 80258F84 46020002 */ mul.s $f0, $f0, $f2 +/* 187868 80258F88 00000000 */ nop +/* 18786C 80258F8C 8602016A */ lh $v0, 0x16a($s0) +/* 187870 80258F90 44050000 */ mfc1 $a1, $f0 +/* 187874 80258F94 44820000 */ mtc1 $v0, $f0 +/* 187878 80258F98 00000000 */ nop +/* 18787C 80258F9C 46800020 */ cvt.s.w $f0, $f0 +/* 187880 80258FA0 46020002 */ mul.s $f0, $f0, $f2 +/* 187884 80258FA4 00000000 */ nop +/* 187888 80258FA8 8602016C */ lh $v0, 0x16c($s0) +/* 18788C 80258FAC 44060000 */ mfc1 $a2, $f0 +/* 187890 80258FB0 44820000 */ mtc1 $v0, $f0 +/* 187894 80258FB4 00000000 */ nop +/* 187898 80258FB8 46800020 */ cvt.s.w $f0, $f0 +/* 18789C 80258FBC 46020002 */ mul.s $f0, $f0, $f2 +/* 1878A0 80258FC0 00000000 */ nop +/* 1878A4 80258FC4 27B50198 */ addiu $s5, $sp, 0x198 +/* 1878A8 80258FC8 44070000 */ mfc1 $a3, $f0 +/* 1878AC 80258FCC 4480A000 */ mtc1 $zero, $f20 +/* 1878B0 80258FD0 0C019E40 */ jal guTranslateF +/* 1878B4 80258FD4 02A0202D */ daddu $a0, $s5, $zero +/* 1878B8 80258FD8 E7B40010 */ swc1 $f20, 0x10($sp) +/* 1878BC 80258FDC 8E05015C */ lw $a1, 0x15c($s0) +/* 1878C0 80258FE0 4406B000 */ mfc1 $a2, $f22 +/* 1878C4 80258FE4 4407A000 */ mfc1 $a3, $f20 +/* 1878C8 80258FE8 0C019EC8 */ jal guRotateF +/* 1878CC 80258FEC 27A40018 */ addiu $a0, $sp, 0x18 +/* 1878D0 80258FF0 27B10058 */ addiu $s1, $sp, 0x58 +/* 1878D4 80258FF4 E7B40010 */ swc1 $f20, 0x10($sp) +/* 1878D8 80258FF8 8E050160 */ lw $a1, 0x160($s0) +/* 1878DC 80258FFC 4406A000 */ mfc1 $a2, $f20 +/* 1878E0 80259000 4407B000 */ mfc1 $a3, $f22 +/* 1878E4 80259004 0C019EC8 */ jal guRotateF +/* 1878E8 80259008 0220202D */ daddu $a0, $s1, $zero +/* 1878EC 8025900C 27B20098 */ addiu $s2, $sp, 0x98 +/* 1878F0 80259010 4406A000 */ mfc1 $a2, $f20 +/* 1878F4 80259014 0240202D */ daddu $a0, $s2, $zero +/* 1878F8 80259018 E7B60010 */ swc1 $f22, 0x10($sp) +/* 1878FC 8025901C 8E050164 */ lw $a1, 0x164($s0) +/* 187900 80259020 0C019EC8 */ jal guRotateF +/* 187904 80259024 00C0382D */ daddu $a3, $a2, $zero +/* 187908 80259028 0220202D */ daddu $a0, $s1, $zero +/* 18790C 8025902C 27A50018 */ addiu $a1, $sp, 0x18 +/* 187910 80259030 27B10218 */ addiu $s1, $sp, 0x218 +/* 187914 80259034 0C019D80 */ jal guMtxCatF +/* 187918 80259038 0220302D */ daddu $a2, $s1, $zero +/* 18791C 8025903C 0220202D */ daddu $a0, $s1, $zero +/* 187920 80259040 0240282D */ daddu $a1, $s2, $zero +/* 187924 80259044 27B400D8 */ addiu $s4, $sp, 0xd8 +/* 187928 80259048 0C019D80 */ jal guMtxCatF +/* 18792C 8025904C 0280302D */ daddu $a2, $s4, $zero +/* 187930 80259050 C6060170 */ lwc1 $f6, 0x170($s0) +/* 187934 80259054 3C01802A */ lui $at, 0x802a +/* 187938 80259058 D428D398 */ ldc1 $f8, -0x2c68($at) +/* 18793C 8025905C 460031A1 */ cvt.d.s $f6, $f6 +/* 187940 80259060 46283182 */ mul.d $f6, $f6, $f8 +/* 187944 80259064 00000000 */ nop +/* 187948 80259068 C6020174 */ lwc1 $f2, 0x174($s0) +/* 18794C 8025906C 460010A1 */ cvt.d.s $f2, $f2 +/* 187950 80259070 46281082 */ mul.d $f2, $f2, $f8 +/* 187954 80259074 00000000 */ nop +/* 187958 80259078 C6040178 */ lwc1 $f4, 0x178($s0) +/* 18795C 8025907C 46002121 */ cvt.d.s $f4, $f4 +/* 187960 80259080 46282102 */ mul.d $f4, $f4, $f8 +/* 187964 80259084 00000000 */ nop +/* 187968 80259088 C6000188 */ lwc1 $f0, 0x188($s0) +/* 18796C 8025908C 46000021 */ cvt.d.s $f0, $f0 +/* 187970 80259090 46203182 */ mul.d $f6, $f6, $f0 +/* 187974 80259094 00000000 */ nop +/* 187978 80259098 46201082 */ mul.d $f2, $f2, $f0 +/* 18797C 8025909C 00000000 */ nop +/* 187980 802590A0 82620074 */ lb $v0, 0x74($s3) +/* 187984 802590A4 44820000 */ mtc1 $v0, $f0 +/* 187988 802590A8 00000000 */ nop +/* 18798C 802590AC 46800021 */ cvt.d.w $f0, $f0 +/* 187990 802590B0 46201082 */ mul.d $f2, $f2, $f0 +/* 187994 802590B4 00000000 */ nop +/* 187998 802590B8 27B00118 */ addiu $s0, $sp, 0x118 +/* 18799C 802590BC 46202120 */ cvt.s.d $f4, $f4 +/* 1879A0 802590C0 44072000 */ mfc1 $a3, $f4 +/* 1879A4 802590C4 462031A0 */ cvt.s.d $f6, $f6 +/* 1879A8 802590C8 44053000 */ mfc1 $a1, $f6 +/* 1879AC 802590CC 462010A0 */ cvt.s.d $f2, $f2 +/* 1879B0 802590D0 44061000 */ mfc1 $a2, $f2 +/* 1879B4 802590D4 0C019DF0 */ jal guScaleF +/* 1879B8 802590D8 0200202D */ daddu $a0, $s0, $zero +/* 1879BC 802590DC 27B20298 */ addiu $s2, $sp, 0x298 +/* 1879C0 802590E0 0C0950A2 */ jal mtx_mirror_y +/* 1879C4 802590E4 0240202D */ daddu $a0, $s2, $zero +/* 1879C8 802590E8 0200202D */ daddu $a0, $s0, $zero +/* 1879CC 802590EC 02C0282D */ daddu $a1, $s6, $zero +/* 1879D0 802590F0 0C019D80 */ jal guMtxCatF +/* 1879D4 802590F4 0220302D */ daddu $a2, $s1, $zero +/* 1879D8 802590F8 0220202D */ daddu $a0, $s1, $zero +/* 1879DC 802590FC 0280282D */ daddu $a1, $s4, $zero +/* 1879E0 80259100 0C019D80 */ jal guMtxCatF +/* 1879E4 80259104 0220302D */ daddu $a2, $s1, $zero +/* 1879E8 80259108 0220202D */ daddu $a0, $s1, $zero +/* 1879EC 8025910C 02A0282D */ daddu $a1, $s5, $zero +/* 1879F0 80259110 0C019D80 */ jal guMtxCatF +/* 1879F4 80259114 0220302D */ daddu $a2, $s1, $zero +/* 1879F8 80259118 0220202D */ daddu $a0, $s1, $zero +/* 1879FC 8025911C 02E0282D */ daddu $a1, $s7, $zero +/* 187A00 80259120 27B00258 */ addiu $s0, $sp, 0x258 +/* 187A04 80259124 0C019D80 */ jal guMtxCatF +/* 187A08 80259128 0200302D */ daddu $a2, $s0, $zero +/* 187A0C 8025912C 0200202D */ daddu $a0, $s0, $zero +/* 187A10 80259130 0240282D */ daddu $a1, $s2, $zero +/* 187A14 80259134 0C019D80 */ jal guMtxCatF +/* 187A18 80259138 0200302D */ daddu $a2, $s0, $zero +/* 187A1C 8025913C 3C014334 */ lui $at, 0x4334 +/* 187A20 80259140 44810000 */ mtc1 $at, $f0 +/* 187A24 80259144 00000000 */ nop +/* 187A28 80259148 4600C600 */ add.s $f24, $f24, $f0 +/* 187A2C 8025914C 0C00A6C9 */ jal clamp_angle +/* 187A30 80259150 4600C306 */ mov.s $f12, $f24 +/* 187A34 80259154 0000202D */ daddu $a0, $zero, $zero +/* 187A38 80259158 0260282D */ daddu $a1, $s3, $zero +/* 187A3C 8025915C 4600028D */ trunc.w.s $f10, $f0 +/* 187A40 80259160 44065000 */ mfc1 $a2, $f10 +/* 187A44 80259164 0C097210 */ jal func_8025C840 +/* 187A48 80259168 24070001 */ addiu $a3, $zero, 1 +/* 187A4C 8025916C 0C00A6C9 */ jal clamp_angle +/* 187A50 80259170 4600C306 */ mov.s $f12, $f24 +/* 187A54 80259174 0000202D */ daddu $a0, $zero, $zero +/* 187A58 80259178 0260282D */ daddu $a1, $s3, $zero +/* 187A5C 8025917C 4600028D */ trunc.w.s $f10, $f0 +/* 187A60 80259180 44065000 */ mfc1 $a2, $f10 +/* 187A64 80259184 0C097332 */ jal func_8025CCC8 +/* 187A68 80259188 24070001 */ addiu $a3, $zero, 1 +/* 187A6C 8025918C 0C00A6C9 */ jal clamp_angle +/* 187A70 80259190 4600C306 */ mov.s $f12, $f24 +/* 187A74 80259194 0000202D */ daddu $a0, $zero, $zero +/* 187A78 80259198 0260282D */ daddu $a1, $s3, $zero +/* 187A7C 8025919C 4600028D */ trunc.w.s $f10, $f0 +/* 187A80 802591A0 44065000 */ mfc1 $a2, $f10 +/* 187A84 802591A4 0200382D */ daddu $a3, $s0, $zero +/* 187A88 802591A8 24020001 */ addiu $v0, $zero, 1 +/* 187A8C 802591AC 0C09647B */ jal func_802591EC +/* 187A90 802591B0 AFA20010 */ sw $v0, 0x10($sp) +/* 187A94 802591B4 8FBF02F8 */ lw $ra, 0x2f8($sp) +/* 187A98 802591B8 8FB702F4 */ lw $s7, 0x2f4($sp) +/* 187A9C 802591BC 8FB602F0 */ lw $s6, 0x2f0($sp) +/* 187AA0 802591C0 8FB502EC */ lw $s5, 0x2ec($sp) +/* 187AA4 802591C4 8FB402E8 */ lw $s4, 0x2e8($sp) +/* 187AA8 802591C8 8FB302E4 */ lw $s3, 0x2e4($sp) +/* 187AAC 802591CC 8FB202E0 */ lw $s2, 0x2e0($sp) +/* 187AB0 802591D0 8FB102DC */ lw $s1, 0x2dc($sp) +/* 187AB4 802591D4 8FB002D8 */ lw $s0, 0x2d8($sp) +/* 187AB8 802591D8 D7B80310 */ ldc1 $f24, 0x310($sp) +/* 187ABC 802591DC D7B60308 */ ldc1 $f22, 0x308($sp) +/* 187AC0 802591E0 D7B40300 */ ldc1 $f20, 0x300($sp) +/* 187AC4 802591E4 03E00008 */ jr $ra +/* 187AC8 802591E8 27BD0318 */ addiu $sp, $sp, 0x318 + +func_802591EC: +/* 187ACC 802591EC 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 187AD0 802591F0 00A0482D */ daddu $t1, $a1, $zero +/* 187AD4 802591F4 00C0502D */ daddu $t2, $a2, $zero +/* 187AD8 802591F8 AFBF0018 */ sw $ra, 0x18($sp) +/* 187ADC 802591FC 8D250000 */ lw $a1, ($t1) +/* 187AE0 80259200 8FA80030 */ lw $t0, 0x30($sp) +/* 187AE4 80259204 30A20002 */ andi $v0, $a1, 2 +/* 187AE8 80259208 10400033 */ beqz $v0, .L802592D8 +/* 187AEC 8025920C 00E0582D */ daddu $t3, $a3, $zero +/* 187AF0 80259210 240600FF */ addiu $a2, $zero, 0xff +/* 187AF4 80259214 85230098 */ lh $v1, 0x98($t1) +/* 187AF8 80259218 0066102A */ slt $v0, $v1, $a2 +/* 187AFC 8025921C 10400003 */ beqz $v0, .L8025922C +/* 187B00 80259220 0000402D */ daddu $t0, $zero, $zero +/* 187B04 80259224 3C088000 */ lui $t0, 0x8000 +/* 187B08 80259228 0060302D */ daddu $a2, $v1, $zero +.L8025922C: +/* 187B0C 8025922C 30A20100 */ andi $v0, $a1, 0x100 +/* 187B10 80259230 1040000C */ beqz $v0, .L80259264 +/* 187B14 80259234 3C038080 */ lui $v1, 0x8080 +/* 187B18 80259238 34638081 */ ori $v1, $v1, 0x8081 +/* 187B1C 8025923C 00061100 */ sll $v0, $a2, 4 +/* 187B20 80259240 00461023 */ subu $v0, $v0, $a2 +/* 187B24 80259244 000210C0 */ sll $v0, $v0, 3 +/* 187B28 80259248 00430018 */ mult $v0, $v1 +/* 187B2C 8025924C 3C088000 */ lui $t0, 0x8000 +/* 187B30 80259250 00006010 */ mfhi $t4 +/* 187B34 80259254 01821821 */ addu $v1, $t4, $v0 +/* 187B38 80259258 000319C3 */ sra $v1, $v1, 7 +/* 187B3C 8025925C 000217C3 */ sra $v0, $v0, 0x1f +/* 187B40 80259260 00623023 */ subu $a2, $v1, $v0 +.L80259264: +/* 187B44 80259264 1480000D */ bnez $a0, .L8025929C +/* 187B48 80259268 240200FF */ addiu $v0, $zero, 0xff +/* 187B4C 8025926C 14C20005 */ bne $a2, $v0, .L80259284 +/* 187B50 80259270 AFAB0010 */ sw $t3, 0x10($sp) +/* 187B54 80259274 0000202D */ daddu $a0, $zero, $zero +/* 187B58 80259278 0140282D */ daddu $a1, $t2, $zero +/* 187B5C 8025927C 080964A3 */ j func_8025928C +/* 187B60 80259280 0080302D */ daddu $a2, $a0, $zero + +.L80259284: +/* 187B64 80259284 0100202D */ daddu $a0, $t0, $zero +/* 187B68 80259288 0140282D */ daddu $a1, $t2, $zero +func_8025928C: +/* 187B6C 8025928C 0C0B7710 */ jal render_sprite +/* 187B70 80259290 0000382D */ daddu $a3, $zero, $zero +/* 187B74 80259294 08096522 */ j func_80259488 +/* 187B78 80259298 0000102D */ daddu $v0, $zero, $zero + +.L8025929C: +/* 187B7C 8025929C 14C20006 */ bne $a2, $v0, .L802592B8 +/* 187B80 802592A0 0140282D */ daddu $a1, $t2, $zero +/* 187B84 802592A4 0000302D */ daddu $a2, $zero, $zero +/* 187B88 802592A8 AFAB0010 */ sw $t3, 0x10($sp) +/* 187B8C 802592AC 8D240084 */ lw $a0, 0x84($t1) +/* 187B90 802592B0 080964B2 */ j func_802592C8 +/* 187B94 802592B4 00C0382D */ daddu $a3, $a2, $zero + +.L802592B8: +/* 187B98 802592B8 8D240084 */ lw $a0, 0x84($t1) +/* 187B9C 802592BC 0000382D */ daddu $a3, $zero, $zero +/* 187BA0 802592C0 AFAB0010 */ sw $t3, 0x10($sp) +/* 187BA4 802592C4 00882025 */ or $a0, $a0, $t0 +func_802592C8: +/* 187BA8 802592C8 0C0B78F6 */ jal func_802DE3D8 +/* 187BAC 802592CC 00000000 */ nop +/* 187BB0 802592D0 08096522 */ j func_80259488 +/* 187BB4 802592D4 0000102D */ daddu $v0, $zero, $zero + +.L802592D8: +/* 187BB8 802592D8 8D2200C0 */ lw $v0, 0xc0($t1) +/* 187BBC 802592DC 804306C0 */ lb $v1, 0x6c0($v0) +/* 187BC0 802592E0 2C620011 */ sltiu $v0, $v1, 0x11 +/* 187BC4 802592E4 10400067 */ beqz $v0, .L80259484 +/* 187BC8 802592E8 00031080 */ sll $v0, $v1, 2 +/* 187BCC 802592EC 3C01802A */ lui $at, 0x802a +/* 187BD0 802592F0 00220821 */ addu $at, $at, $v0 +/* 187BD4 802592F4 8C22D3A0 */ lw $v0, -0x2c60($at) +/* 187BD8 802592F8 00400008 */ jr $v0 +/* 187BDC 802592FC 00000000 */ nop +/* 187BE0 80259300 AFA80010 */ sw $t0, 0x10($sp) +/* 187BE4 80259304 0120282D */ daddu $a1, $t1, $zero +/* 187BE8 80259308 0140302D */ daddu $a2, $t2, $zero +/* 187BEC 8025930C 0C096692 */ jal func_80259A48 +/* 187BF0 80259310 0160382D */ daddu $a3, $t3, $zero +/* 187BF4 80259314 08096522 */ j func_80259488 +/* 187BF8 80259318 0000102D */ daddu $v0, $zero, $zero + +/* 187BFC 8025931C AFA80010 */ sw $t0, 0x10($sp) +/* 187C00 80259320 0120282D */ daddu $a1, $t1, $zero +/* 187C04 80259324 0140302D */ daddu $a2, $t2, $zero +/* 187C08 80259328 0C0966AB */ jal func_80259AAC +/* 187C0C 8025932C 0160382D */ daddu $a3, $t3, $zero +/* 187C10 80259330 08096522 */ j func_80259488 +/* 187C14 80259334 0000102D */ daddu $v0, $zero, $zero + +/* 187C18 80259338 AFA80010 */ sw $t0, 0x10($sp) +/* 187C1C 8025933C 0120282D */ daddu $a1, $t1, $zero +/* 187C20 80259340 0140302D */ daddu $a2, $t2, $zero +/* 187C24 80259344 0C096767 */ jal func_80259D9C +/* 187C28 80259348 0160382D */ daddu $a3, $t3, $zero +/* 187C2C 8025934C 08096522 */ j func_80259488 +/* 187C30 80259350 0000102D */ daddu $v0, $zero, $zero + +/* 187C34 80259354 AFA80010 */ sw $t0, 0x10($sp) +/* 187C38 80259358 0120282D */ daddu $a1, $t1, $zero +/* 187C3C 8025935C 0140302D */ daddu $a2, $t2, $zero +/* 187C40 80259360 0C0968B1 */ jal func_8025A2C4 +/* 187C44 80259364 0160382D */ daddu $a3, $t3, $zero +/* 187C48 80259368 08096522 */ j func_80259488 +/* 187C4C 8025936C 0000102D */ daddu $v0, $zero, $zero + +/* 187C50 80259370 AFA80010 */ sw $t0, 0x10($sp) +/* 187C54 80259374 0120282D */ daddu $a1, $t1, $zero +/* 187C58 80259378 0140302D */ daddu $a2, $t2, $zero +/* 187C5C 8025937C 0C096943 */ jal func_8025A50C +/* 187C60 80259380 0160382D */ daddu $a3, $t3, $zero +/* 187C64 80259384 08096522 */ j func_80259488 +/* 187C68 80259388 0000102D */ daddu $v0, $zero, $zero + +/* 187C6C 8025938C AFA80010 */ sw $t0, 0x10($sp) +/* 187C70 80259390 0120282D */ daddu $a1, $t1, $zero +/* 187C74 80259394 0140302D */ daddu $a2, $t2, $zero +/* 187C78 80259398 0C0969D3 */ jal func_8025A74C +/* 187C7C 8025939C 0160382D */ daddu $a3, $t3, $zero +/* 187C80 802593A0 08096522 */ j func_80259488 +/* 187C84 802593A4 0000102D */ daddu $v0, $zero, $zero + +/* 187C88 802593A8 AFA80010 */ sw $t0, 0x10($sp) +/* 187C8C 802593AC 0120282D */ daddu $a1, $t1, $zero +/* 187C90 802593B0 0140302D */ daddu $a2, $t2, $zero +/* 187C94 802593B4 0C096AA0 */ jal func_8025AA80 +/* 187C98 802593B8 0160382D */ daddu $a3, $t3, $zero +/* 187C9C 802593BC 08096522 */ j func_80259488 +/* 187CA0 802593C0 0000102D */ daddu $v0, $zero, $zero + +/* 187CA4 802593C4 AFA80010 */ sw $t0, 0x10($sp) +/* 187CA8 802593C8 0120282D */ daddu $a1, $t1, $zero +/* 187CAC 802593CC 0140302D */ daddu $a2, $t2, $zero +/* 187CB0 802593D0 0C096B64 */ jal func_8025AD90 +/* 187CB4 802593D4 0160382D */ daddu $a3, $t3, $zero +/* 187CB8 802593D8 08096522 */ j func_80259488 +/* 187CBC 802593DC 0000102D */ daddu $v0, $zero, $zero + +/* 187CC0 802593E0 AFA80010 */ sw $t0, 0x10($sp) +/* 187CC4 802593E4 0120282D */ daddu $a1, $t1, $zero +/* 187CC8 802593E8 0140302D */ daddu $a2, $t2, $zero +/* 187CCC 802593EC 0C096C6A */ jal func_8025B1A8 +/* 187CD0 802593F0 0160382D */ daddu $a3, $t3, $zero +/* 187CD4 802593F4 08096522 */ j func_80259488 +/* 187CD8 802593F8 0000102D */ daddu $v0, $zero, $zero + +/* 187CDC 802593FC 0120282D */ daddu $a1, $t1, $zero +/* 187CE0 80259400 0140302D */ daddu $a2, $t2, $zero +/* 187CE4 80259404 0160382D */ daddu $a3, $t3, $zero +/* 187CE8 80259408 AFA80010 */ sw $t0, 0x10($sp) +/* 187CEC 8025940C 0C096D70 */ jal func_8025B5C0 +/* 187CF0 80259410 AFA00014 */ sw $zero, 0x14($sp) +/* 187CF4 80259414 08096522 */ j func_80259488 +/* 187CF8 80259418 0000102D */ daddu $v0, $zero, $zero + +/* 187CFC 8025941C 0120282D */ daddu $a1, $t1, $zero +/* 187D00 80259420 0140302D */ daddu $a2, $t2, $zero +/* 187D04 80259424 0160382D */ daddu $a3, $t3, $zero +/* 187D08 80259428 24020001 */ addiu $v0, $zero, 1 +/* 187D0C 8025942C AFA80010 */ sw $t0, 0x10($sp) +/* 187D10 80259430 0C096D70 */ jal func_8025B5C0 +/* 187D14 80259434 AFA20014 */ sw $v0, 0x14($sp) +/* 187D18 80259438 08096522 */ j func_80259488 +/* 187D1C 8025943C 0000102D */ daddu $v0, $zero, $zero + +/* 187D20 80259440 0120282D */ daddu $a1, $t1, $zero +/* 187D24 80259444 0140302D */ daddu $a2, $t2, $zero +/* 187D28 80259448 08096517 */ j func_8025945C +/* 187D2C 8025944C 0000382D */ daddu $a3, $zero, $zero + +/* 187D30 80259450 0120282D */ daddu $a1, $t1, $zero +/* 187D34 80259454 0140302D */ daddu $a2, $t2, $zero +/* 187D38 80259458 24070001 */ addiu $a3, $zero, 1 +func_8025945C: +/* 187D3C 8025945C AFAB0010 */ sw $t3, 0x10($sp) +/* 187D40 80259460 0C096EA8 */ jal func_8025BAA0 +/* 187D44 80259464 AFA80014 */ sw $t0, 0x14($sp) +/* 187D48 80259468 08096522 */ j func_80259488 +/* 187D4C 8025946C 0000102D */ daddu $v0, $zero, $zero + +/* 187D50 80259470 AFA80010 */ sw $t0, 0x10($sp) +/* 187D54 80259474 0120282D */ daddu $a1, $t1, $zero +/* 187D58 80259478 0140302D */ daddu $a2, $t2, $zero +/* 187D5C 8025947C 0C097048 */ jal func_8025C120 +/* 187D60 80259480 0160382D */ daddu $a3, $t3, $zero +.L80259484: +/* 187D64 80259484 0000102D */ daddu $v0, $zero, $zero +func_80259488: +/* 187D68 80259488 8FBF0018 */ lw $ra, 0x18($sp) +/* 187D6C 8025948C 03E00008 */ jr $ra +/* 187D70 80259490 27BD0020 */ addiu $sp, $sp, 0x20 + +func_80259494: +/* 187D74 80259494 8C8800C0 */ lw $t0, 0xc0($a0) +/* 187D78 80259498 810206CD */ lb $v0, 0x6cd($t0) +/* 187D7C 8025949C 18400019 */ blez $v0, .L80259504 +/* 187D80 802594A0 0000482D */ daddu $t1, $zero, $zero +/* 187D84 802594A4 24070360 */ addiu $a3, $zero, 0x360 +/* 187D88 802594A8 0100302D */ daddu $a2, $t0, $zero +.L802594AC: +/* 187D8C 802594AC 8CC206D4 */ lw $v0, 0x6d4($a2) +/* 187D90 802594B0 5040000F */ beql $v0, $zero, .L802594F0 +/* 187D94 802594B4 24E70020 */ addiu $a3, $a3, 0x20 +/* 187D98 802594B8 0040282D */ daddu $a1, $v0, $zero +/* 187D9C 802594BC 01072021 */ addu $a0, $t0, $a3 +/* 187DA0 802594C0 0000182D */ daddu $v1, $zero, $zero +.L802594C4: +/* 187DA4 802594C4 94A20000 */ lhu $v0, ($a1) +/* 187DA8 802594C8 24A50002 */ addiu $a1, $a1, 2 +/* 187DAC 802594CC 24630001 */ addiu $v1, $v1, 1 +/* 187DB0 802594D0 3442FFFE */ ori $v0, $v0, 0xfffe +/* 187DB4 802594D4 A4820000 */ sh $v0, ($a0) +/* 187DB8 802594D8 28620010 */ slti $v0, $v1, 0x10 +/* 187DBC 802594DC 1440FFF9 */ bnez $v0, .L802594C4 +/* 187DC0 802594E0 24840002 */ addiu $a0, $a0, 2 +/* 187DC4 802594E4 01071021 */ addu $v0, $t0, $a3 +/* 187DC8 802594E8 ACC2076C */ sw $v0, 0x76c($a2) +/* 187DCC 802594EC 24E70020 */ addiu $a3, $a3, 0x20 +.L802594F0: +/* 187DD0 802594F0 810206CD */ lb $v0, 0x6cd($t0) +/* 187DD4 802594F4 25290001 */ addiu $t1, $t1, 1 +/* 187DD8 802594F8 0122102A */ slt $v0, $t1, $v0 +/* 187DDC 802594FC 1440FFEB */ bnez $v0, .L802594AC +/* 187DE0 80259500 24C60004 */ addiu $a2, $a2, 4 +.L80259504: +/* 187DE4 80259504 03E00008 */ jr $ra +/* 187DE8 80259508 00000000 */ nop + +func_8025950C: +/* 187DEC 8025950C 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* 187DF0 80259510 AFB1001C */ sw $s1, 0x1c($sp) +/* 187DF4 80259514 0080882D */ daddu $s1, $a0, $zero +/* 187DF8 80259518 AFB20020 */ sw $s2, 0x20($sp) +/* 187DFC 8025951C 00A0902D */ daddu $s2, $a1, $zero +/* 187E00 80259520 AFB30024 */ sw $s3, 0x24($sp) +/* 187E04 80259524 00C0982D */ daddu $s3, $a2, $zero +/* 187E08 80259528 240600FF */ addiu $a2, $zero, 0xff +/* 187E0C 8025952C AFBF0028 */ sw $ra, 0x28($sp) +/* 187E10 80259530 AFB00018 */ sw $s0, 0x18($sp) +/* 187E14 80259534 86230098 */ lh $v1, 0x98($s1) +/* 187E18 80259538 8E3000C0 */ lw $s0, 0xc0($s1) +/* 187E1C 8025953C 0066102A */ slt $v0, $v1, $a2 +/* 187E20 80259540 10400003 */ beqz $v0, .L80259550 +/* 187E24 80259544 0000382D */ daddu $a3, $zero, $zero +/* 187E28 80259548 3C078000 */ lui $a3, 0x8000 +/* 187E2C 8025954C 0060302D */ daddu $a2, $v1, $zero +.L80259550: +/* 187E30 80259550 8E220000 */ lw $v0, ($s1) +/* 187E34 80259554 30420100 */ andi $v0, $v0, 0x100 +/* 187E38 80259558 1040000C */ beqz $v0, .L8025958C +/* 187E3C 8025955C 3C038080 */ lui $v1, 0x8080 +/* 187E40 80259560 34638081 */ ori $v1, $v1, 0x8081 +/* 187E44 80259564 00061100 */ sll $v0, $a2, 4 +/* 187E48 80259568 00461023 */ subu $v0, $v0, $a2 +/* 187E4C 8025956C 000210C0 */ sll $v0, $v0, 3 +/* 187E50 80259570 00430018 */ mult $v0, $v1 +/* 187E54 80259574 3C078000 */ lui $a3, 0x8000 +/* 187E58 80259578 00004010 */ mfhi $t0 +/* 187E5C 8025957C 01021821 */ addu $v1, $t0, $v0 +/* 187E60 80259580 000319C3 */ sra $v1, $v1, 7 +/* 187E64 80259584 000217C3 */ sra $v0, $v0, 0x1f +/* 187E68 80259588 00623023 */ subu $a2, $v1, $v0 +.L8025958C: +/* 187E6C 8025958C 92020768 */ lbu $v0, 0x768($s0) +/* 187E70 80259590 1040003F */ beqz $v0, .L80259690 +/* 187E74 80259594 0240282D */ daddu $a1, $s2, $zero +/* 187E78 80259598 96240088 */ lhu $a0, 0x88($s1) +/* 187E7C 8025959C 0C0B7A90 */ jal func_802DEA40 +/* 187E80 802595A0 00000000 */ nop +/* 187E84 802595A4 AE0206D0 */ sw $v0, 0x6d0($s0) +/* 187E88 802595A8 0040202D */ daddu $a0, $v0, $zero +/* 187E8C 802595AC A20006CD */ sb $zero, 0x6cd($s0) +/* 187E90 802595B0 8C830000 */ lw $v1, ($a0) +/* 187E94 802595B4 2402FFFF */ addiu $v0, $zero, -1 +/* 187E98 802595B8 1062000C */ beq $v1, $v0, .L802595EC +/* 187E9C 802595BC 00000000 */ nop +/* 187EA0 802595C0 0080182D */ daddu $v1, $a0, $zero +/* 187EA4 802595C4 0040202D */ daddu $a0, $v0, $zero +.L802595C8: +/* 187EA8 802595C8 920206CD */ lbu $v0, 0x6cd($s0) +/* 187EAC 802595CC 24420001 */ addiu $v0, $v0, 1 +/* 187EB0 802595D0 A20206CD */ sb $v0, 0x6cd($s0) +/* 187EB4 802595D4 00021600 */ sll $v0, $v0, 0x18 +/* 187EB8 802595D8 00021583 */ sra $v0, $v0, 0x16 +/* 187EBC 802595DC 00431021 */ addu $v0, $v0, $v1 +/* 187EC0 802595E0 8C420000 */ lw $v0, ($v0) +/* 187EC4 802595E4 1444FFF8 */ bne $v0, $a0, .L802595C8 +/* 187EC8 802595E8 00000000 */ nop +.L802595EC: +/* 187ECC 802595EC 820206CD */ lb $v0, 0x6cd($s0) +/* 187ED0 802595F0 18400016 */ blez $v0, .L8025964C +/* 187ED4 802595F4 0000302D */ daddu $a2, $zero, $zero +.L802595F8: +/* 187ED8 802595F8 8E0206D0 */ lw $v0, 0x6d0($s0) +/* 187EDC 802595FC 00061880 */ sll $v1, $a2, 2 +/* 187EE0 80259600 00621821 */ addu $v1, $v1, $v0 +/* 187EE4 80259604 00061140 */ sll $v0, $a2, 5 +/* 187EE8 80259608 8C630000 */ lw $v1, ($v1) +/* 187EEC 8025960C 10600009 */ beqz $v1, .L80259634 +/* 187EF0 80259610 02022821 */ addu $a1, $s0, $v0 +/* 187EF4 80259614 0000202D */ daddu $a0, $zero, $zero +.L80259618: +/* 187EF8 80259618 94620000 */ lhu $v0, ($v1) +/* 187EFC 8025961C 24630002 */ addiu $v1, $v1, 2 +/* 187F00 80259620 24840001 */ addiu $a0, $a0, 1 +/* 187F04 80259624 A4A20000 */ sh $v0, ($a1) +/* 187F08 80259628 28820010 */ slti $v0, $a0, 0x10 +/* 187F0C 8025962C 1440FFFA */ bnez $v0, .L80259618 +/* 187F10 80259630 24A50002 */ addiu $a1, $a1, 2 +.L80259634: +/* 187F14 80259634 820206CD */ lb $v0, 0x6cd($s0) +/* 187F18 80259638 24C60001 */ addiu $a2, $a2, 1 +/* 187F1C 8025963C 00C2102A */ slt $v0, $a2, $v0 +/* 187F20 80259640 1440FFED */ bnez $v0, .L802595F8 +/* 187F24 80259644 00000000 */ nop +/* 187F28 80259648 820206CD */ lb $v0, 0x6cd($s0) +.L8025964C: +/* 187F2C 8025964C 1840000A */ blez $v0, .L80259678 +/* 187F30 80259650 0000302D */ daddu $a2, $zero, $zero +/* 187F34 80259654 0200202D */ daddu $a0, $s0, $zero +/* 187F38 80259658 0200182D */ daddu $v1, $s0, $zero +.L8025965C: +/* 187F3C 8025965C AC6406D4 */ sw $a0, 0x6d4($v1) +/* 187F40 80259660 24840020 */ addiu $a0, $a0, 0x20 +/* 187F44 80259664 820206CD */ lb $v0, 0x6cd($s0) +/* 187F48 80259668 24C60001 */ addiu $a2, $a2, 1 +/* 187F4C 8025966C 00C2102A */ slt $v0, $a2, $v0 +/* 187F50 80259670 1440FFFA */ bnez $v0, .L8025965C +/* 187F54 80259674 24630004 */ addiu $v1, $v1, 4 +.L80259678: +/* 187F58 80259678 0220202D */ daddu $a0, $s1, $zero +/* 187F5C 8025967C 0240282D */ daddu $a1, $s2, $zero +/* 187F60 80259680 0C0965B0 */ jal func_802596C0 +/* 187F64 80259684 0260302D */ daddu $a2, $s3, $zero +/* 187F68 80259688 080965A9 */ j func_802596A4 +/* 187F6C 8025968C 00000000 */ nop + +.L80259690: +/* 187F70 80259690 8E240084 */ lw $a0, 0x84($s1) +/* 187F74 80259694 AFB30010 */ sw $s3, 0x10($sp) +/* 187F78 80259698 00872025 */ or $a0, $a0, $a3 +/* 187F7C 8025969C 0C0B78F6 */ jal func_802DE3D8 +/* 187F80 802596A0 0000382D */ daddu $a3, $zero, $zero +func_802596A4: +/* 187F84 802596A4 8FBF0028 */ lw $ra, 0x28($sp) +/* 187F88 802596A8 8FB30024 */ lw $s3, 0x24($sp) +/* 187F8C 802596AC 8FB20020 */ lw $s2, 0x20($sp) +/* 187F90 802596B0 8FB1001C */ lw $s1, 0x1c($sp) +/* 187F94 802596B4 8FB00018 */ lw $s0, 0x18($sp) +/* 187F98 802596B8 03E00008 */ jr $ra +/* 187F9C 802596BC 27BD0030 */ addiu $sp, $sp, 0x30 + +func_802596C0: +/* 187FA0 802596C0 27BDFFC8 */ addiu $sp, $sp, -0x38 +/* 187FA4 802596C4 AFB30024 */ sw $s3, 0x24($sp) +/* 187FA8 802596C8 0080982D */ daddu $s3, $a0, $zero +/* 187FAC 802596CC AFB40028 */ sw $s4, 0x28($sp) +/* 187FB0 802596D0 00A0A02D */ daddu $s4, $a1, $zero +/* 187FB4 802596D4 AFB5002C */ sw $s5, 0x2c($sp) +/* 187FB8 802596D8 00C0A82D */ daddu $s5, $a2, $zero +/* 187FBC 802596DC AFB00018 */ sw $s0, 0x18($sp) +/* 187FC0 802596E0 241000FF */ addiu $s0, $zero, 0xff +/* 187FC4 802596E4 AFB1001C */ sw $s1, 0x1c($sp) +/* 187FC8 802596E8 AFBF0030 */ sw $ra, 0x30($sp) +/* 187FCC 802596EC AFB20020 */ sw $s2, 0x20($sp) +/* 187FD0 802596F0 86630098 */ lh $v1, 0x98($s3) +/* 187FD4 802596F4 8E7200C0 */ lw $s2, 0xc0($s3) +/* 187FD8 802596F8 0070102A */ slt $v0, $v1, $s0 +/* 187FDC 802596FC 10400003 */ beqz $v0, .L8025970C +/* 187FE0 80259700 0000882D */ daddu $s1, $zero, $zero +/* 187FE4 80259704 3C118000 */ lui $s1, 0x8000 +/* 187FE8 80259708 0060802D */ daddu $s0, $v1, $zero +.L8025970C: +/* 187FEC 8025970C 8E620000 */ lw $v0, ($s3) +/* 187FF0 80259710 30420100 */ andi $v0, $v0, 0x100 +/* 187FF4 80259714 1040000C */ beqz $v0, .L80259748 +/* 187FF8 80259718 3C038080 */ lui $v1, 0x8080 +/* 187FFC 8025971C 34638081 */ ori $v1, $v1, 0x8081 +/* 188000 80259720 00101100 */ sll $v0, $s0, 4 +/* 188004 80259724 00501023 */ subu $v0, $v0, $s0 +/* 188008 80259728 000210C0 */ sll $v0, $v0, 3 +/* 18800C 8025972C 00430018 */ mult $v0, $v1 +/* 188010 80259730 3C118000 */ lui $s1, 0x8000 +/* 188014 80259734 00004010 */ mfhi $t0 +/* 188018 80259738 01021821 */ addu $v1, $t0, $v0 +/* 18801C 8025973C 000319C3 */ sra $v1, $v1, 7 +/* 188020 80259740 000217C3 */ sra $v0, $v0, 0x1f +/* 188024 80259744 00628023 */ subu $s0, $v1, $v0 +.L80259748: +/* 188028 80259748 92420768 */ lbu $v0, 0x768($s2) +/* 18802C 8025974C 10400007 */ beqz $v0, .L8025976C +/* 188030 80259750 0280282D */ daddu $a1, $s4, $zero +/* 188034 80259754 0C096525 */ jal func_80259494 +/* 188038 80259758 0260202D */ daddu $a0, $s3, $zero +/* 18803C 8025975C 0280282D */ daddu $a1, $s4, $zero +/* 188040 80259760 0200302D */ daddu $a2, $s0, $zero +/* 188044 80259764 080965DD */ j func_80259774 +/* 188048 80259768 2647076C */ addiu $a3, $s2, 0x76c + +.L8025976C: +/* 18804C 8025976C 0200302D */ daddu $a2, $s0, $zero +/* 188050 80259770 264706D4 */ addiu $a3, $s2, 0x6d4 +func_80259774: +/* 188054 80259774 3C042000 */ lui $a0, 0x2000 +/* 188058 80259778 8E620084 */ lw $v0, 0x84($s3) +/* 18805C 8025977C 02242025 */ or $a0, $s1, $a0 +/* 188060 80259780 AFB50010 */ sw $s5, 0x10($sp) +/* 188064 80259784 0C0B78F6 */ jal func_802DE3D8 +/* 188068 80259788 00442025 */ or $a0, $v0, $a0 +/* 18806C 8025978C 8FBF0030 */ lw $ra, 0x30($sp) +/* 188070 80259790 8FB5002C */ lw $s5, 0x2c($sp) +/* 188074 80259794 8FB40028 */ lw $s4, 0x28($sp) +/* 188078 80259798 8FB30024 */ lw $s3, 0x24($sp) +/* 18807C 8025979C 8FB20020 */ lw $s2, 0x20($sp) +/* 188080 802597A0 8FB1001C */ lw $s1, 0x1c($sp) +/* 188084 802597A4 8FB00018 */ lw $s0, 0x18($sp) +/* 188088 802597A8 03E00008 */ jr $ra +/* 18808C 802597AC 27BD0038 */ addiu $sp, $sp, 0x38 + +func_802597B0: +/* 188090 802597B0 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* 188094 802597B4 AFB1001C */ sw $s1, 0x1c($sp) +/* 188098 802597B8 0080882D */ daddu $s1, $a0, $zero +/* 18809C 802597BC AFB30024 */ sw $s3, 0x24($sp) +/* 1880A0 802597C0 00A0982D */ daddu $s3, $a1, $zero +/* 1880A4 802597C4 AFB20020 */ sw $s2, 0x20($sp) +/* 1880A8 802597C8 00C0902D */ daddu $s2, $a2, $zero +/* 1880AC 802597CC 240600FF */ addiu $a2, $zero, 0xff +/* 1880B0 802597D0 AFBF0028 */ sw $ra, 0x28($sp) +/* 1880B4 802597D4 AFB00018 */ sw $s0, 0x18($sp) +/* 1880B8 802597D8 86230098 */ lh $v1, 0x98($s1) +/* 1880BC 802597DC 8E3000C0 */ lw $s0, 0xc0($s1) +/* 1880C0 802597E0 0066102A */ slt $v0, $v1, $a2 +/* 1880C4 802597E4 10400003 */ beqz $v0, .L802597F4 +/* 1880C8 802597E8 0000202D */ daddu $a0, $zero, $zero +/* 1880CC 802597EC 3C048000 */ lui $a0, 0x8000 +/* 1880D0 802597F0 0060302D */ daddu $a2, $v1, $zero +.L802597F4: +/* 1880D4 802597F4 8E220000 */ lw $v0, ($s1) +/* 1880D8 802597F8 30420100 */ andi $v0, $v0, 0x100 +/* 1880DC 802597FC 1040000C */ beqz $v0, .L80259830 +/* 1880E0 80259800 3C038080 */ lui $v1, 0x8080 +/* 1880E4 80259804 34638081 */ ori $v1, $v1, 0x8081 +/* 1880E8 80259808 00061100 */ sll $v0, $a2, 4 +/* 1880EC 8025980C 00461023 */ subu $v0, $v0, $a2 +/* 1880F0 80259810 000210C0 */ sll $v0, $v0, 3 +/* 1880F4 80259814 00430018 */ mult $v0, $v1 +/* 1880F8 80259818 3C048000 */ lui $a0, 0x8000 +/* 1880FC 8025981C 00004010 */ mfhi $t0 +/* 188100 80259820 01021821 */ addu $v1, $t0, $v0 +/* 188104 80259824 000319C3 */ sra $v1, $v1, 7 +/* 188108 80259828 000217C3 */ sra $v0, $v0, 0x1f +/* 18810C 8025982C 00623023 */ subu $a2, $v1, $v0 +.L80259830: +/* 188110 80259830 92020768 */ lbu $v0, 0x768($s0) +/* 188114 80259834 5040003F */ beql $v0, $zero, .L80259934 +/* 188118 80259838 AFB20010 */ sw $s2, 0x10($sp) +/* 18811C 8025983C 96240088 */ lhu $a0, 0x88($s1) +/* 188120 80259840 0C0B7830 */ jal func_802DE0C0 +/* 188124 80259844 00000000 */ nop +/* 188128 80259848 AE0206D0 */ sw $v0, 0x6d0($s0) +/* 18812C 8025984C 0040202D */ daddu $a0, $v0, $zero +/* 188130 80259850 A20006CD */ sb $zero, 0x6cd($s0) +/* 188134 80259854 8C830000 */ lw $v1, ($a0) +/* 188138 80259858 2402FFFF */ addiu $v0, $zero, -1 +/* 18813C 8025985C 1062000C */ beq $v1, $v0, .L80259890 +/* 188140 80259860 00000000 */ nop +/* 188144 80259864 0080182D */ daddu $v1, $a0, $zero +/* 188148 80259868 0040202D */ daddu $a0, $v0, $zero +.L8025986C: +/* 18814C 8025986C 920206CD */ lbu $v0, 0x6cd($s0) +/* 188150 80259870 24420001 */ addiu $v0, $v0, 1 +/* 188154 80259874 A20206CD */ sb $v0, 0x6cd($s0) +/* 188158 80259878 00021600 */ sll $v0, $v0, 0x18 +/* 18815C 8025987C 00021583 */ sra $v0, $v0, 0x16 +/* 188160 80259880 00431021 */ addu $v0, $v0, $v1 +/* 188164 80259884 8C420000 */ lw $v0, ($v0) +/* 188168 80259888 1444FFF8 */ bne $v0, $a0, .L8025986C +/* 18816C 8025988C 00000000 */ nop +.L80259890: +/* 188170 80259890 820206CD */ lb $v0, 0x6cd($s0) +/* 188174 80259894 18400016 */ blez $v0, .L802598F0 +/* 188178 80259898 0000302D */ daddu $a2, $zero, $zero +.L8025989C: +/* 18817C 8025989C 8E0206D0 */ lw $v0, 0x6d0($s0) +/* 188180 802598A0 00061880 */ sll $v1, $a2, 2 +/* 188184 802598A4 00621821 */ addu $v1, $v1, $v0 +/* 188188 802598A8 00061140 */ sll $v0, $a2, 5 +/* 18818C 802598AC 8C630000 */ lw $v1, ($v1) +/* 188190 802598B0 10600009 */ beqz $v1, .L802598D8 +/* 188194 802598B4 02022821 */ addu $a1, $s0, $v0 +/* 188198 802598B8 0000202D */ daddu $a0, $zero, $zero +.L802598BC: +/* 18819C 802598BC 94620000 */ lhu $v0, ($v1) +/* 1881A0 802598C0 24630002 */ addiu $v1, $v1, 2 +/* 1881A4 802598C4 24840001 */ addiu $a0, $a0, 1 +/* 1881A8 802598C8 A4A20000 */ sh $v0, ($a1) +/* 1881AC 802598CC 28820010 */ slti $v0, $a0, 0x10 +/* 1881B0 802598D0 1440FFFA */ bnez $v0, .L802598BC +/* 1881B4 802598D4 24A50002 */ addiu $a1, $a1, 2 +.L802598D8: +/* 1881B8 802598D8 820206CD */ lb $v0, 0x6cd($s0) +/* 1881BC 802598DC 24C60001 */ addiu $a2, $a2, 1 +/* 1881C0 802598E0 00C2102A */ slt $v0, $a2, $v0 +/* 1881C4 802598E4 1440FFED */ bnez $v0, .L8025989C +/* 1881C8 802598E8 00000000 */ nop +/* 1881CC 802598EC 820206CD */ lb $v0, 0x6cd($s0) +.L802598F0: +/* 1881D0 802598F0 1840000A */ blez $v0, .L8025991C +/* 1881D4 802598F4 0000302D */ daddu $a2, $zero, $zero +/* 1881D8 802598F8 0200202D */ daddu $a0, $s0, $zero +/* 1881DC 802598FC 0200182D */ daddu $v1, $s0, $zero +.L80259900: +/* 1881E0 80259900 AC6406D4 */ sw $a0, 0x6d4($v1) +/* 1881E4 80259904 24840020 */ addiu $a0, $a0, 0x20 +/* 1881E8 80259908 820206CD */ lb $v0, 0x6cd($s0) +/* 1881EC 8025990C 24C60001 */ addiu $a2, $a2, 1 +/* 1881F0 80259910 00C2102A */ slt $v0, $a2, $v0 +/* 1881F4 80259914 1440FFFA */ bnez $v0, .L80259900 +/* 1881F8 80259918 24630004 */ addiu $v1, $v1, 4 +.L8025991C: +/* 1881FC 8025991C 0220202D */ daddu $a0, $s1, $zero +/* 188200 80259920 0260282D */ daddu $a1, $s3, $zero +/* 188204 80259924 0C096657 */ jal func_8025995C +/* 188208 80259928 0240302D */ daddu $a2, $s2, $zero +/* 18820C 8025992C 08096650 */ j func_80259940 +/* 188210 80259930 00000000 */ nop + +.L80259934: +/* 188214 80259934 0260282D */ daddu $a1, $s3, $zero +/* 188218 80259938 0C0B7710 */ jal render_sprite +/* 18821C 8025993C 0000382D */ daddu $a3, $zero, $zero +func_80259940: +/* 188220 80259940 8FBF0028 */ lw $ra, 0x28($sp) +/* 188224 80259944 8FB30024 */ lw $s3, 0x24($sp) +/* 188228 80259948 8FB20020 */ lw $s2, 0x20($sp) +/* 18822C 8025994C 8FB1001C */ lw $s1, 0x1c($sp) +/* 188230 80259950 8FB00018 */ lw $s0, 0x18($sp) +/* 188234 80259954 03E00008 */ jr $ra +/* 188238 80259958 27BD0030 */ addiu $sp, $sp, 0x30 + +func_8025995C: +/* 18823C 8025995C 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* 188240 80259960 AFB40028 */ sw $s4, 0x28($sp) +/* 188244 80259964 00A0A02D */ daddu $s4, $a1, $zero +/* 188248 80259968 AFB30024 */ sw $s3, 0x24($sp) +/* 18824C 8025996C 00C0982D */ daddu $s3, $a2, $zero +/* 188250 80259970 AFB1001C */ sw $s1, 0x1c($sp) +/* 188254 80259974 241100FF */ addiu $s1, $zero, 0xff +/* 188258 80259978 AFB00018 */ sw $s0, 0x18($sp) +/* 18825C 8025997C AFBF002C */ sw $ra, 0x2c($sp) +/* 188260 80259980 AFB20020 */ sw $s2, 0x20($sp) +/* 188264 80259984 84830098 */ lh $v1, 0x98($a0) +/* 188268 80259988 8C9200C0 */ lw $s2, 0xc0($a0) +/* 18826C 8025998C 0071102A */ slt $v0, $v1, $s1 +/* 188270 80259990 10400003 */ beqz $v0, .L802599A0 +/* 188274 80259994 0000802D */ daddu $s0, $zero, $zero +/* 188278 80259998 3C108000 */ lui $s0, 0x8000 +/* 18827C 8025999C 0060882D */ daddu $s1, $v1, $zero +.L802599A0: +/* 188280 802599A0 8C820000 */ lw $v0, ($a0) +/* 188284 802599A4 30420100 */ andi $v0, $v0, 0x100 +/* 188288 802599A8 1040000C */ beqz $v0, .L802599DC +/* 18828C 802599AC 3C038080 */ lui $v1, 0x8080 +/* 188290 802599B0 34638081 */ ori $v1, $v1, 0x8081 +/* 188294 802599B4 00111100 */ sll $v0, $s1, 4 +/* 188298 802599B8 00511023 */ subu $v0, $v0, $s1 +/* 18829C 802599BC 000210C0 */ sll $v0, $v0, 3 +/* 1882A0 802599C0 00430018 */ mult $v0, $v1 +/* 1882A4 802599C4 3C108000 */ lui $s0, 0x8000 +/* 1882A8 802599C8 00004010 */ mfhi $t0 +/* 1882AC 802599CC 01021821 */ addu $v1, $t0, $v0 +/* 1882B0 802599D0 000319C3 */ sra $v1, $v1, 7 +/* 1882B4 802599D4 000217C3 */ sra $v0, $v0, 0x1f +/* 1882B8 802599D8 00628823 */ subu $s1, $v1, $v0 +.L802599DC: +/* 1882BC 802599DC 92420768 */ lbu $v0, 0x768($s2) +/* 1882C0 802599E0 5040000A */ beql $v0, $zero, .L80259A0C +/* 1882C4 802599E4 AFB30010 */ sw $s3, 0x10($sp) +/* 1882C8 802599E8 0C096525 */ jal func_80259494 +/* 1882CC 802599EC 00000000 */ nop +/* 1882D0 802599F0 AFB30010 */ sw $s3, 0x10($sp) +/* 1882D4 802599F4 3C042000 */ lui $a0, 0x2000 +/* 1882D8 802599F8 02042025 */ or $a0, $s0, $a0 +/* 1882DC 802599FC 0280282D */ daddu $a1, $s4, $zero +/* 1882E0 80259A00 0220302D */ daddu $a2, $s1, $zero +/* 1882E4 80259A04 08096688 */ j func_80259A20 +/* 1882E8 80259A08 2647076C */ addiu $a3, $s2, 0x76c + +.L80259A0C: +/* 1882EC 80259A0C 3C042000 */ lui $a0, 0x2000 +/* 1882F0 80259A10 02042025 */ or $a0, $s0, $a0 +/* 1882F4 80259A14 0280282D */ daddu $a1, $s4, $zero +/* 1882F8 80259A18 0220302D */ daddu $a2, $s1, $zero +/* 1882FC 80259A1C 264706D4 */ addiu $a3, $s2, 0x6d4 +func_80259A20: +/* 188300 80259A20 0C0B7710 */ jal render_sprite +/* 188304 80259A24 00000000 */ nop +/* 188308 80259A28 8FBF002C */ lw $ra, 0x2c($sp) +/* 18830C 80259A2C 8FB40028 */ lw $s4, 0x28($sp) +/* 188310 80259A30 8FB30024 */ lw $s3, 0x24($sp) +/* 188314 80259A34 8FB20020 */ lw $s2, 0x20($sp) +/* 188318 80259A38 8FB1001C */ lw $s1, 0x1c($sp) +/* 18831C 80259A3C 8FB00018 */ lw $s0, 0x18($sp) +/* 188320 80259A40 03E00008 */ jr $ra +/* 188324 80259A44 27BD0030 */ addiu $sp, $sp, 0x30 + +func_80259A48: +/* 188328 80259A48 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 18832C 80259A4C 0080402D */ daddu $t0, $a0, $zero +/* 188330 80259A50 00A0202D */ daddu $a0, $a1, $zero +/* 188334 80259A54 AFBF0010 */ sw $ra, 0x10($sp) +/* 188338 80259A58 8C8300C0 */ lw $v1, 0xc0($a0) +/* 18833C 80259A5C 00C0282D */ daddu $a1, $a2, $zero +/* 188340 80259A60 806206C1 */ lb $v0, 0x6c1($v1) +/* 188344 80259A64 10400006 */ beqz $v0, .L80259A80 +/* 188348 80259A68 00E0302D */ daddu $a2, $a3, $zero +/* 18834C 80259A6C 24020001 */ addiu $v0, $zero, 1 +/* 188350 80259A70 A0820074 */ sb $v0, 0x74($a0) +/* 188354 80259A74 A4800068 */ sh $zero, 0x68($a0) +/* 188358 80259A78 A480006A */ sh $zero, 0x6a($a0) +/* 18835C 80259A7C A06006C1 */ sb $zero, 0x6c1($v1) +.L80259A80: +/* 188360 80259A80 15000005 */ bnez $t0, .L80259A98 +/* 188364 80259A84 00000000 */ nop +/* 188368 80259A88 0C0965EC */ jal func_802597B0 +/* 18836C 80259A8C 00000000 */ nop +/* 188370 80259A90 080966A8 */ j func_80259AA0 +/* 188374 80259A94 00000000 */ nop + +.L80259A98: +/* 188378 80259A98 0C096543 */ jal func_8025950C +/* 18837C 80259A9C 00000000 */ nop +func_80259AA0: +/* 188380 80259AA0 8FBF0010 */ lw $ra, 0x10($sp) +/* 188384 80259AA4 03E00008 */ jr $ra +/* 188388 80259AA8 27BD0018 */ addiu $sp, $sp, 0x18 + +func_80259AAC: +/* 18838C 80259AAC 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 188390 80259AB0 AFB20018 */ sw $s2, 0x18($sp) +/* 188394 80259AB4 0080902D */ daddu $s2, $a0, $zero +/* 188398 80259AB8 AFB10014 */ sw $s1, 0x14($sp) +/* 18839C 80259ABC 00A0882D */ daddu $s1, $a1, $zero +/* 1883A0 80259AC0 AFBF0024 */ sw $ra, 0x24($sp) +/* 1883A4 80259AC4 AFB40020 */ sw $s4, 0x20($sp) +/* 1883A8 80259AC8 AFB3001C */ sw $s3, 0x1c($sp) +/* 1883AC 80259ACC AFB00010 */ sw $s0, 0x10($sp) +/* 1883B0 80259AD0 8E3000C0 */ lw $s0, 0xc0($s1) +/* 1883B4 80259AD4 00C0982D */ daddu $s3, $a2, $zero +/* 1883B8 80259AD8 820206C1 */ lb $v0, 0x6c1($s0) +/* 1883BC 80259ADC 1040002E */ beqz $v0, .L80259B98 +/* 1883C0 80259AE0 00E0A02D */ daddu $s4, $a3, $zero +/* 1883C4 80259AE4 16400016 */ bnez $s2, .L80259B40 +/* 1883C8 80259AE8 00000000 */ nop +/* 1883CC 80259AEC 0C0B7830 */ jal func_802DE0C0 +/* 1883D0 80259AF0 96240088 */ lhu $a0, 0x88($s1) +/* 1883D4 80259AF4 AE0206D0 */ sw $v0, 0x6d0($s0) +/* 1883D8 80259AF8 0040202D */ daddu $a0, $v0, $zero +/* 1883DC 80259AFC A20006CD */ sb $zero, 0x6cd($s0) +/* 1883E0 80259B00 8C830000 */ lw $v1, ($a0) +/* 1883E4 80259B04 2402FFFF */ addiu $v0, $zero, -1 +/* 1883E8 80259B08 10620021 */ beq $v1, $v0, .L80259B90 +/* 1883EC 80259B0C 0080182D */ daddu $v1, $a0, $zero +/* 1883F0 80259B10 0040202D */ daddu $a0, $v0, $zero +.L80259B14: +/* 1883F4 80259B14 920206CD */ lbu $v0, 0x6cd($s0) +/* 1883F8 80259B18 24420001 */ addiu $v0, $v0, 1 +/* 1883FC 80259B1C A20206CD */ sb $v0, 0x6cd($s0) +/* 188400 80259B20 00021600 */ sll $v0, $v0, 0x18 +/* 188404 80259B24 00021583 */ sra $v0, $v0, 0x16 +/* 188408 80259B28 00431021 */ addu $v0, $v0, $v1 +/* 18840C 80259B2C 8C420000 */ lw $v0, ($v0) +/* 188410 80259B30 1444FFF8 */ bne $v0, $a0, .L80259B14 +/* 188414 80259B34 00000000 */ nop +/* 188418 80259B38 080966E5 */ j func_80259B94 +/* 18841C 80259B3C A20006C2 */ sb $zero, 0x6c2($s0) + +.L80259B40: +/* 188420 80259B40 96240088 */ lhu $a0, 0x88($s1) +/* 188424 80259B44 0C0B7A90 */ jal func_802DEA40 +/* 188428 80259B48 00000000 */ nop +/* 18842C 80259B4C AE0206D0 */ sw $v0, 0x6d0($s0) +/* 188430 80259B50 0040202D */ daddu $a0, $v0, $zero +/* 188434 80259B54 A20006CD */ sb $zero, 0x6cd($s0) +/* 188438 80259B58 8C830000 */ lw $v1, ($a0) +/* 18843C 80259B5C 2402FFFF */ addiu $v0, $zero, -1 +/* 188440 80259B60 1062000B */ beq $v1, $v0, .L80259B90 +/* 188444 80259B64 0080182D */ daddu $v1, $a0, $zero +/* 188448 80259B68 0040202D */ daddu $a0, $v0, $zero +.L80259B6C: +/* 18844C 80259B6C 920206CD */ lbu $v0, 0x6cd($s0) +/* 188450 80259B70 24420001 */ addiu $v0, $v0, 1 +/* 188454 80259B74 A20206CD */ sb $v0, 0x6cd($s0) +/* 188458 80259B78 00021600 */ sll $v0, $v0, 0x18 +/* 18845C 80259B7C 00021583 */ sra $v0, $v0, 0x16 +/* 188460 80259B80 00431021 */ addu $v0, $v0, $v1 +/* 188464 80259B84 8C420000 */ lw $v0, ($v0) +/* 188468 80259B88 1444FFF8 */ bne $v0, $a0, .L80259B6C +/* 18846C 80259B8C 00000000 */ nop +.L80259B90: +/* 188470 80259B90 A20006C2 */ sb $zero, 0x6c2($s0) +func_80259B94: +/* 188474 80259B94 A20006C1 */ sb $zero, 0x6c1($s0) +.L80259B98: +/* 188478 80259B98 820206CD */ lb $v0, 0x6cd($s0) +/* 18847C 80259B9C 18400067 */ blez $v0, .L80259D3C +/* 188480 80259BA0 0000502D */ daddu $t2, $zero, $zero +/* 188484 80259BA4 3C0B8000 */ lui $t3, 0x8000 +/* 188488 80259BA8 0200602D */ daddu $t4, $s0, $zero +/* 18848C 80259BAC 3C01802A */ lui $at, 0x802a +/* 188490 80259BB0 D428D3E8 */ ldc1 $f8, -0x2c18($at) +/* 188494 80259BB4 3C0141E0 */ lui $at, 0x41e0 +/* 188498 80259BB8 44811800 */ mtc1 $at, $f3 +/* 18849C 80259BBC 44801000 */ mtc1 $zero, $f2 +/* 1884A0 80259BC0 3C01802A */ lui $at, 0x802a +/* 1884A4 80259BC4 D426D3F0 */ ldc1 $f6, -0x2c10($at) +/* 1884A8 80259BC8 3C01802A */ lui $at, 0x802a +/* 1884AC 80259BCC D424D3F8 */ ldc1 $f4, -0x2c08($at) +.L80259BD0: +/* 1884B0 80259BD0 8E0206D0 */ lw $v0, 0x6d0($s0) +/* 1884B4 80259BD4 000A1880 */ sll $v1, $t2, 2 +/* 1884B8 80259BD8 00621821 */ addu $v1, $v1, $v0 +/* 1884BC 80259BDC 000A1140 */ sll $v0, $t2, 5 +/* 1884C0 80259BE0 8C670000 */ lw $a3, ($v1) +/* 1884C4 80259BE4 02024021 */ addu $t0, $s0, $v0 +/* 1884C8 80259BE8 10E0004F */ beqz $a3, .L80259D28 +/* 1884CC 80259BEC AD8806D4 */ sw $t0, 0x6d4($t4) +/* 1884D0 80259BF0 0000482D */ daddu $t1, $zero, $zero +.L80259BF4: +/* 1884D4 80259BF4 94E30000 */ lhu $v1, ($a3) +/* 1884D8 80259BF8 000312C2 */ srl $v0, $v1, 0xb +/* 1884DC 80259BFC 44820000 */ mtc1 $v0, $f0 +/* 1884E0 80259C00 00000000 */ nop +/* 1884E4 80259C04 46800021 */ cvt.d.w $f0, $f0 +/* 1884E8 80259C08 46280002 */ mul.d $f0, $f0, $f8 +/* 1884EC 80259C0C 00000000 */ nop +/* 1884F0 80259C10 90E40001 */ lbu $a0, 1($a3) +/* 1884F4 80259C14 24E70002 */ addiu $a3, $a3, 2 +/* 1884F8 80259C18 00031182 */ srl $v0, $v1, 6 +/* 1884FC 80259C1C 3042001F */ andi $v0, $v0, 0x1f +/* 188500 80259C20 00031842 */ srl $v1, $v1, 1 +/* 188504 80259C24 3066001F */ andi $a2, $v1, 0x1f +/* 188508 80259C28 4620103E */ c.le.d $f2, $f0 +/* 18850C 80259C2C 00000000 */ nop +/* 188510 80259C30 45010005 */ bc1t .L80259C48 +/* 188514 80259C34 30840001 */ andi $a0, $a0, 1 +/* 188518 80259C38 4620028D */ trunc.w.d $f10, $f0 +/* 18851C 80259C3C 44035000 */ mfc1 $v1, $f10 +/* 188520 80259C40 08096718 */ j func_80259C60 +/* 188524 80259C44 304200FF */ andi $v0, $v0, 0xff + +.L80259C48: +/* 188528 80259C48 46220001 */ sub.d $f0, $f0, $f2 +/* 18852C 80259C4C 4620028D */ trunc.w.d $f10, $f0 +/* 188530 80259C50 44035000 */ mfc1 $v1, $f10 +/* 188534 80259C54 00000000 */ nop +/* 188538 80259C58 006B1825 */ or $v1, $v1, $t3 +/* 18853C 80259C5C 304200FF */ andi $v0, $v0, 0xff +func_80259C60: +/* 188540 80259C60 44820000 */ mtc1 $v0, $f0 +/* 188544 80259C64 00000000 */ nop +/* 188548 80259C68 46800021 */ cvt.d.w $f0, $f0 +/* 18854C 80259C6C 46260002 */ mul.d $f0, $f0, $f6 +/* 188550 80259C70 00000000 */ nop +/* 188554 80259C74 4620103E */ c.le.d $f2, $f0 +/* 188558 80259C78 00000000 */ nop +/* 18855C 80259C7C 45030005 */ bc1tl .L80259C94 +/* 188560 80259C80 46220001 */ sub.d $f0, $f0, $f2 +/* 188564 80259C84 4620028D */ trunc.w.d $f10, $f0 +/* 188568 80259C88 44055000 */ mfc1 $a1, $f10 +/* 18856C 80259C8C 0809672A */ j func_80259CA8 +/* 188570 80259C90 30C200FF */ andi $v0, $a2, 0xff + +.L80259C94: +/* 188574 80259C94 4620028D */ trunc.w.d $f10, $f0 +/* 188578 80259C98 44055000 */ mfc1 $a1, $f10 +/* 18857C 80259C9C 00000000 */ nop +/* 188580 80259CA0 00AB2825 */ or $a1, $a1, $t3 +/* 188584 80259CA4 30C200FF */ andi $v0, $a2, 0xff +func_80259CA8: +/* 188588 80259CA8 44820000 */ mtc1 $v0, $f0 +/* 18858C 80259CAC 00000000 */ nop +/* 188590 80259CB0 46800021 */ cvt.d.w $f0, $f0 +/* 188594 80259CB4 46240002 */ mul.d $f0, $f0, $f4 +/* 188598 80259CB8 00000000 */ nop +/* 18859C 80259CBC 4620103E */ c.le.d $f2, $f0 +/* 1885A0 80259CC0 00000000 */ nop +/* 1885A4 80259CC4 45010005 */ bc1t .L80259CDC +/* 1885A8 80259CC8 00A0102D */ daddu $v0, $a1, $zero +/* 1885AC 80259CCC 4620028D */ trunc.w.d $f10, $f0 +/* 1885B0 80259CD0 44055000 */ mfc1 $a1, $f10 +/* 1885B4 80259CD4 0809673D */ j func_80259CF4 +/* 1885B8 80259CD8 306300FF */ andi $v1, $v1, 0xff + +.L80259CDC: +/* 1885BC 80259CDC 46220001 */ sub.d $f0, $f0, $f2 +/* 1885C0 80259CE0 4620028D */ trunc.w.d $f10, $f0 +/* 1885C4 80259CE4 44055000 */ mfc1 $a1, $f10 +/* 1885C8 80259CE8 00000000 */ nop +/* 1885CC 80259CEC 00AB2825 */ or $a1, $a1, $t3 +/* 1885D0 80259CF0 306300FF */ andi $v1, $v1, 0xff +func_80259CF4: +/* 1885D4 80259CF4 00031AC0 */ sll $v1, $v1, 0xb +/* 1885D8 80259CF8 304200FF */ andi $v0, $v0, 0xff +/* 1885DC 80259CFC 00021180 */ sll $v0, $v0, 6 +/* 1885E0 80259D00 00621825 */ or $v1, $v1, $v0 +/* 1885E4 80259D04 30A200FF */ andi $v0, $a1, 0xff +/* 1885E8 80259D08 00021040 */ sll $v0, $v0, 1 +/* 1885EC 80259D0C 00621825 */ or $v1, $v1, $v0 +/* 1885F0 80259D10 00831825 */ or $v1, $a0, $v1 +/* 1885F4 80259D14 A5030000 */ sh $v1, ($t0) +/* 1885F8 80259D18 25290001 */ addiu $t1, $t1, 1 +/* 1885FC 80259D1C 29220010 */ slti $v0, $t1, 0x10 +/* 188600 80259D20 1440FFB4 */ bnez $v0, .L80259BF4 +/* 188604 80259D24 25080002 */ addiu $t0, $t0, 2 +.L80259D28: +/* 188608 80259D28 820206CD */ lb $v0, 0x6cd($s0) +/* 18860C 80259D2C 254A0001 */ addiu $t2, $t2, 1 +/* 188610 80259D30 0142102A */ slt $v0, $t2, $v0 +/* 188614 80259D34 1440FFA6 */ bnez $v0, .L80259BD0 +/* 188618 80259D38 258C0004 */ addiu $t4, $t4, 4 +.L80259D3C: +/* 18861C 80259D3C 820306C2 */ lb $v1, 0x6c2($s0) +/* 188620 80259D40 28620002 */ slti $v0, $v1, 2 +/* 188624 80259D44 1040000D */ beqz $v0, .L80259D7C +/* 188628 80259D48 00000000 */ nop +/* 18862C 80259D4C 0460000B */ bltz $v1, .L80259D7C +/* 188630 80259D50 00000000 */ nop +/* 188634 80259D54 16400006 */ bnez $s2, .L80259D70 +/* 188638 80259D58 0220202D */ daddu $a0, $s1, $zero +/* 18863C 80259D5C 0260282D */ daddu $a1, $s3, $zero +/* 188640 80259D60 0C096657 */ jal func_8025995C +/* 188644 80259D64 0280302D */ daddu $a2, $s4, $zero +/* 188648 80259D68 0809675F */ j func_80259D7C +/* 18864C 80259D6C 00000000 */ nop + +.L80259D70: +/* 188650 80259D70 0260282D */ daddu $a1, $s3, $zero +/* 188654 80259D74 0C0965B0 */ jal func_802596C0 +/* 188658 80259D78 0280302D */ daddu $a2, $s4, $zero +func_80259D7C: +.L80259D7C: +/* 18865C 80259D7C 8FBF0024 */ lw $ra, 0x24($sp) +/* 188660 80259D80 8FB40020 */ lw $s4, 0x20($sp) +/* 188664 80259D84 8FB3001C */ lw $s3, 0x1c($sp) +/* 188668 80259D88 8FB20018 */ lw $s2, 0x18($sp) +/* 18866C 80259D8C 8FB10014 */ lw $s1, 0x14($sp) +/* 188670 80259D90 8FB00010 */ lw $s0, 0x10($sp) +/* 188674 80259D94 03E00008 */ jr $ra +/* 188678 80259D98 27BD0028 */ addiu $sp, $sp, 0x28 + +func_80259D9C: +/* 18867C 80259D9C 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* 188680 80259DA0 AFB20018 */ sw $s2, 0x18($sp) +/* 188684 80259DA4 0080902D */ daddu $s2, $a0, $zero +/* 188688 80259DA8 AFB10014 */ sw $s1, 0x14($sp) +/* 18868C 80259DAC 00A0882D */ daddu $s1, $a1, $zero +/* 188690 80259DB0 AFB3001C */ sw $s3, 0x1c($sp) +/* 188694 80259DB4 00C0982D */ daddu $s3, $a2, $zero +/* 188698 80259DB8 AFBF0028 */ sw $ra, 0x28($sp) +/* 18869C 80259DBC AFB50024 */ sw $s5, 0x24($sp) +/* 1886A0 80259DC0 AFB40020 */ sw $s4, 0x20($sp) +/* 1886A4 80259DC4 AFB00010 */ sw $s0, 0x10($sp) +/* 1886A8 80259DC8 8E3000C0 */ lw $s0, 0xc0($s1) +/* 1886AC 80259DCC 820206C1 */ lb $v0, 0x6c1($s0) +/* 1886B0 80259DD0 8FB50040 */ lw $s5, 0x40($sp) +/* 1886B4 80259DD4 1040004B */ beqz $v0, .L80259F04 +/* 1886B8 80259DD8 00E0A02D */ daddu $s4, $a3, $zero +/* 1886BC 80259DDC 16400016 */ bnez $s2, .L80259E38 +/* 1886C0 80259DE0 00000000 */ nop +/* 1886C4 80259DE4 0C0B7830 */ jal func_802DE0C0 +/* 1886C8 80259DE8 96240088 */ lhu $a0, 0x88($s1) +/* 1886CC 80259DEC AE0206D0 */ sw $v0, 0x6d0($s0) +/* 1886D0 80259DF0 0040202D */ daddu $a0, $v0, $zero +/* 1886D4 80259DF4 A20006CD */ sb $zero, 0x6cd($s0) +/* 1886D8 80259DF8 8C830000 */ lw $v1, ($a0) +/* 1886DC 80259DFC 2402FFFF */ addiu $v0, $zero, -1 +/* 1886E0 80259E00 1062000B */ beq $v1, $v0, .L80259E30 +/* 1886E4 80259E04 0080182D */ daddu $v1, $a0, $zero +/* 1886E8 80259E08 0040202D */ daddu $a0, $v0, $zero +.L80259E0C: +/* 1886EC 80259E0C 920206CD */ lbu $v0, 0x6cd($s0) +/* 1886F0 80259E10 24420001 */ addiu $v0, $v0, 1 +/* 1886F4 80259E14 A20206CD */ sb $v0, 0x6cd($s0) +/* 1886F8 80259E18 00021600 */ sll $v0, $v0, 0x18 +/* 1886FC 80259E1C 00021583 */ sra $v0, $v0, 0x16 +/* 188700 80259E20 00431021 */ addu $v0, $v0, $v1 +/* 188704 80259E24 8C420000 */ lw $v0, ($v0) +/* 188708 80259E28 1444FFF8 */ bne $v0, $a0, .L80259E0C +/* 18870C 80259E2C 00000000 */ nop +.L80259E30: +/* 188710 80259E30 080967A4 */ j func_80259E90 +/* 188714 80259E34 24020006 */ addiu $v0, $zero, 6 + +.L80259E38: +/* 188718 80259E38 96240088 */ lhu $a0, 0x88($s1) +/* 18871C 80259E3C 0C0B7A90 */ jal func_802DEA40 +/* 188720 80259E40 00000000 */ nop +/* 188724 80259E44 AE0206D0 */ sw $v0, 0x6d0($s0) +/* 188728 80259E48 0040202D */ daddu $a0, $v0, $zero +/* 18872C 80259E4C A20006CD */ sb $zero, 0x6cd($s0) +/* 188730 80259E50 8C830000 */ lw $v1, ($a0) +/* 188734 80259E54 2402FFFF */ addiu $v0, $zero, -1 +/* 188738 80259E58 1062000B */ beq $v1, $v0, .L80259E88 +/* 18873C 80259E5C 0080182D */ daddu $v1, $a0, $zero +/* 188740 80259E60 0040202D */ daddu $a0, $v0, $zero +.L80259E64: +/* 188744 80259E64 920206CD */ lbu $v0, 0x6cd($s0) +/* 188748 80259E68 24420001 */ addiu $v0, $v0, 1 +/* 18874C 80259E6C A20206CD */ sb $v0, 0x6cd($s0) +/* 188750 80259E70 00021600 */ sll $v0, $v0, 0x18 +/* 188754 80259E74 00021583 */ sra $v0, $v0, 0x16 +/* 188758 80259E78 00431021 */ addu $v0, $v0, $v1 +/* 18875C 80259E7C 8C420000 */ lw $v0, ($v0) +/* 188760 80259E80 1444FFF8 */ bne $v0, $a0, .L80259E64 +/* 188764 80259E84 00000000 */ nop +.L80259E88: +/* 188768 80259E88 0C0B7A9B */ jal func_802DEA6C +/* 18876C 80259E8C 96240088 */ lhu $a0, 0x88($s1) +func_80259E90: +/* 188770 80259E90 A20206CC */ sb $v0, 0x6cc($s0) +/* 188774 80259E94 820206CD */ lb $v0, 0x6cd($s0) +/* 188778 80259E98 18400015 */ blez $v0, .L80259EF0 +/* 18877C 80259E9C 0000482D */ daddu $t1, $zero, $zero +.L80259EA0: +/* 188780 80259EA0 8E0206D0 */ lw $v0, 0x6d0($s0) +/* 188784 80259EA4 00091880 */ sll $v1, $t1, 2 +/* 188788 80259EA8 00621821 */ addu $v1, $v1, $v0 +/* 18878C 80259EAC 00091140 */ sll $v0, $t1, 5 +/* 188790 80259EB0 8C660000 */ lw $a2, ($v1) +/* 188794 80259EB4 10C00009 */ beqz $a2, .L80259EDC +/* 188798 80259EB8 02024021 */ addu $t0, $s0, $v0 +/* 18879C 80259EBC 0000382D */ daddu $a3, $zero, $zero +.L80259EC0: +/* 1887A0 80259EC0 94C20000 */ lhu $v0, ($a2) +/* 1887A4 80259EC4 24C60002 */ addiu $a2, $a2, 2 +/* 1887A8 80259EC8 24E70001 */ addiu $a3, $a3, 1 +/* 1887AC 80259ECC A5020000 */ sh $v0, ($t0) +/* 1887B0 80259ED0 28E20010 */ slti $v0, $a3, 0x10 +/* 1887B4 80259ED4 1440FFFA */ bnez $v0, .L80259EC0 +/* 1887B8 80259ED8 25080002 */ addiu $t0, $t0, 2 +.L80259EDC: +/* 1887BC 80259EDC 820206CD */ lb $v0, 0x6cd($s0) +/* 1887C0 80259EE0 25290001 */ addiu $t1, $t1, 1 +/* 1887C4 80259EE4 0122102A */ slt $v0, $t1, $v0 +/* 1887C8 80259EE8 1440FFED */ bnez $v0, .L80259EA0 +/* 1887CC 80259EEC 00000000 */ nop +.L80259EF0: +/* 1887D0 80259EF0 2402FFFE */ addiu $v0, $zero, -2 +/* 1887D4 80259EF4 A20206C2 */ sb $v0, 0x6c2($s0) +/* 1887D8 80259EF8 A60006CA */ sh $zero, 0x6ca($s0) +/* 1887DC 80259EFC A20006C1 */ sb $zero, 0x6c1($s0) +/* 1887E0 80259F00 A60006C8 */ sh $zero, 0x6c8($s0) +.L80259F04: +/* 1887E4 80259F04 16A0001E */ bnez $s5, .L80259F80 +/* 1887E8 80259F08 00000000 */ nop +/* 1887EC 80259F0C 860206C8 */ lh $v0, 0x6c8($s0) +/* 1887F0 80259F10 14400013 */ bnez $v0, .L80259F60 +/* 1887F4 80259F14 00000000 */ nop +/* 1887F8 80259F18 920206C2 */ lbu $v0, 0x6c2($s0) +/* 1887FC 80259F1C 3C048028 */ lui $a0, 0x8028 +/* 188800 80259F20 24844080 */ addiu $a0, $a0, 0x4080 +/* 188804 80259F24 24420002 */ addiu $v0, $v0, 2 +/* 188808 80259F28 A20206C2 */ sb $v0, 0x6c2($s0) +/* 18880C 80259F2C 00021600 */ sll $v0, $v0, 0x18 +/* 188810 80259F30 00021603 */ sra $v0, $v0, 0x18 +/* 188814 80259F34 3C038028 */ lui $v1, 0x8028 +/* 188818 80259F38 00621821 */ addu $v1, $v1, $v0 +/* 18881C 80259F3C 90634080 */ lbu $v1, 0x4080($v1) +/* 188820 80259F40 240200FF */ addiu $v0, $zero, 0xff +/* 188824 80259F44 50620001 */ beql $v1, $v0, .L80259F4C +/* 188828 80259F48 A20006C2 */ sb $zero, 0x6c2($s0) +.L80259F4C: +/* 18882C 80259F4C 820206C2 */ lb $v0, 0x6c2($s0) +/* 188830 80259F50 00441021 */ addu $v0, $v0, $a0 +/* 188834 80259F54 90420001 */ lbu $v0, 1($v0) +/* 188838 80259F58 00021042 */ srl $v0, $v0, 1 +/* 18883C 80259F5C A60206C8 */ sh $v0, 0x6c8($s0) +.L80259F60: +/* 188840 80259F60 820306C2 */ lb $v1, 0x6c2($s0) +/* 188844 80259F64 960206C8 */ lhu $v0, 0x6c8($s0) +/* 188848 80259F68 3C018028 */ lui $at, 0x8028 +/* 18884C 80259F6C 00230821 */ addu $at, $at, $v1 +/* 188850 80259F70 90234080 */ lbu $v1, 0x4080($at) +/* 188854 80259F74 2442FFFF */ addiu $v0, $v0, -1 +/* 188858 80259F78 080967E4 */ j func_80259F90 +/* 18885C 80259F7C A60206C8 */ sh $v0, 0x6c8($s0) + +.L80259F80: +/* 188860 80259F80 820206C2 */ lb $v0, 0x6c2($s0) +/* 188864 80259F84 3C038028 */ lui $v1, 0x8028 +/* 188868 80259F88 00621821 */ addu $v1, $v1, $v0 +/* 18886C 80259F8C 90634080 */ lbu $v1, 0x4080($v1) +func_80259F90: +/* 188870 80259F90 24020001 */ addiu $v0, $zero, 1 +/* 188874 80259F94 10620024 */ beq $v1, $v0, .L8025A028 +/* 188878 80259F98 28620002 */ slti $v0, $v1, 2 +/* 18887C 80259F9C 10400005 */ beqz $v0, .L80259FB4 +/* 188880 80259FA0 24020002 */ addiu $v0, $zero, 2 +/* 188884 80259FA4 10600007 */ beqz $v1, .L80259FC4 +/* 188888 80259FA8 00000000 */ nop +/* 18888C 80259FAC 0809688D */ j func_8025A234 +/* 188890 80259FB0 00000000 */ nop + +.L80259FB4: +/* 188894 80259FB4 1062003C */ beq $v1, $v0, .L8025A0A8 +/* 188898 80259FB8 00000000 */ nop +/* 18889C 80259FBC 0809688D */ j func_8025A234 +/* 1888A0 80259FC0 00000000 */ nop + +.L80259FC4: +/* 1888A4 80259FC4 820206CC */ lb $v0, 0x6cc($s0) +/* 1888A8 80259FC8 1840009A */ blez $v0, .L8025A234 +/* 1888AC 80259FCC 0000482D */ daddu $t1, $zero, $zero +func_80259FD0: +/* 1888B0 80259FD0 8E0206D0 */ lw $v0, 0x6d0($s0) +/* 1888B4 80259FD4 00091880 */ sll $v1, $t1, 2 +/* 1888B8 80259FD8 00621821 */ addu $v1, $v1, $v0 +/* 1888BC 80259FDC 00091140 */ sll $v0, $t1, 5 +/* 1888C0 80259FE0 8C660000 */ lw $a2, ($v1) +/* 1888C4 80259FE4 10C00009 */ beqz $a2, .L8025A00C +/* 1888C8 80259FE8 02024021 */ addu $t0, $s0, $v0 +/* 1888CC 80259FEC 0000382D */ daddu $a3, $zero, $zero +.L80259FF0: +/* 1888D0 80259FF0 94C20000 */ lhu $v0, ($a2) +/* 1888D4 80259FF4 24C60002 */ addiu $a2, $a2, 2 +/* 1888D8 80259FF8 24E70001 */ addiu $a3, $a3, 1 +/* 1888DC 80259FFC A5020000 */ sh $v0, ($t0) +/* 1888E0 8025A000 28E20010 */ slti $v0, $a3, 0x10 +/* 1888E4 8025A004 1440FFFA */ bnez $v0, .L80259FF0 +/* 1888E8 8025A008 25080002 */ addiu $t0, $t0, 2 +.L8025A00C: +/* 1888EC 8025A00C 820206CC */ lb $v0, 0x6cc($s0) +/* 1888F0 8025A010 25290001 */ addiu $t1, $t1, 1 +/* 1888F4 8025A014 0122102A */ slt $v0, $t1, $v0 +/* 1888F8 8025A018 10400086 */ beqz $v0, .L8025A234 +/* 1888FC 8025A01C 00000000 */ nop +/* 188900 8025A020 080967F4 */ j func_80259FD0 +/* 188904 8025A024 00000000 */ nop + +.L8025A028: +/* 188908 8025A028 820206CC */ lb $v0, 0x6cc($s0) +/* 18890C 8025A02C 920306CC */ lbu $v1, 0x6cc($s0) +/* 188910 8025A030 18400080 */ blez $v0, .L8025A234 +/* 188914 8025A034 0000482D */ daddu $t1, $zero, $zero +/* 188918 8025A038 00031E00 */ sll $v1, $v1, 0x18 +.L8025A03C: +/* 18891C 8025A03C 00031E03 */ sra $v1, $v1, 0x18 +/* 188920 8025A040 00031040 */ sll $v0, $v1, 1 +/* 188924 8025A044 00431021 */ addu $v0, $v0, $v1 +/* 188928 8025A048 00491021 */ addu $v0, $v0, $t1 +/* 18892C 8025A04C 8E0306D0 */ lw $v1, 0x6d0($s0) +/* 188930 8025A050 00021080 */ sll $v0, $v0, 2 +/* 188934 8025A054 00431021 */ addu $v0, $v0, $v1 +/* 188938 8025A058 8C460000 */ lw $a2, ($v0) +/* 18893C 8025A05C 00091140 */ sll $v0, $t1, 5 +/* 188940 8025A060 10C00009 */ beqz $a2, .L8025A088 +/* 188944 8025A064 02024021 */ addu $t0, $s0, $v0 +/* 188948 8025A068 0000382D */ daddu $a3, $zero, $zero +.L8025A06C: +/* 18894C 8025A06C 94C20000 */ lhu $v0, ($a2) +/* 188950 8025A070 24C60002 */ addiu $a2, $a2, 2 +/* 188954 8025A074 24E70001 */ addiu $a3, $a3, 1 +/* 188958 8025A078 A5020000 */ sh $v0, ($t0) +/* 18895C 8025A07C 28E20010 */ slti $v0, $a3, 0x10 +/* 188960 8025A080 1440FFFA */ bnez $v0, .L8025A06C +/* 188964 8025A084 25080002 */ addiu $t0, $t0, 2 +.L8025A088: +/* 188968 8025A088 25290001 */ addiu $t1, $t1, 1 +/* 18896C 8025A08C 820206CC */ lb $v0, 0x6cc($s0) +/* 188970 8025A090 920306CC */ lbu $v1, 0x6cc($s0) +/* 188974 8025A094 0122102A */ slt $v0, $t1, $v0 +/* 188978 8025A098 1440FFE8 */ bnez $v0, .L8025A03C +/* 18897C 8025A09C 00031E00 */ sll $v1, $v1, 0x18 +/* 188980 8025A0A0 0809688D */ j func_8025A234 +/* 188984 8025A0A4 00000000 */ nop + +.L8025A0A8: +/* 188988 8025A0A8 820206CC */ lb $v0, 0x6cc($s0) +/* 18898C 8025A0AC 18400061 */ blez $v0, .L8025A234 +/* 188990 8025A0B0 0000482D */ daddu $t1, $zero, $zero +/* 188994 8025A0B4 3C0B8000 */ lui $t3, 0x8000 +/* 188998 8025A0B8 3C01802A */ lui $at, 0x802a +/* 18899C 8025A0BC D424D400 */ ldc1 $f4, -0x2c00($at) +/* 1889A0 8025A0C0 3C0141E0 */ lui $at, 0x41e0 +/* 1889A4 8025A0C4 44811800 */ mtc1 $at, $f3 +/* 1889A8 8025A0C8 44801000 */ mtc1 $zero, $f2 +.L8025A0CC: +/* 1889AC 8025A0CC 8E0206D0 */ lw $v0, 0x6d0($s0) +/* 1889B0 8025A0D0 00091880 */ sll $v1, $t1, 2 +/* 1889B4 8025A0D4 00621821 */ addu $v1, $v1, $v0 +/* 1889B8 8025A0D8 00091140 */ sll $v0, $t1, 5 +/* 1889BC 8025A0DC 8C660000 */ lw $a2, ($v1) +/* 1889C0 8025A0E0 10C0004F */ beqz $a2, .L8025A220 +/* 1889C4 8025A0E4 02024021 */ addu $t0, $s0, $v0 +/* 1889C8 8025A0E8 0000382D */ daddu $a3, $zero, $zero +.L8025A0EC: +/* 1889CC 8025A0EC 94C30000 */ lhu $v1, ($a2) +/* 1889D0 8025A0F0 000312C2 */ srl $v0, $v1, 0xb +/* 1889D4 8025A0F4 44820000 */ mtc1 $v0, $f0 +/* 1889D8 8025A0F8 00000000 */ nop +/* 1889DC 8025A0FC 46800021 */ cvt.d.w $f0, $f0 +/* 1889E0 8025A100 46240002 */ mul.d $f0, $f0, $f4 +/* 1889E4 8025A104 00000000 */ nop +/* 1889E8 8025A108 90C40001 */ lbu $a0, 1($a2) +/* 1889EC 8025A10C 24C60002 */ addiu $a2, $a2, 2 +/* 1889F0 8025A110 00031182 */ srl $v0, $v1, 6 +/* 1889F4 8025A114 3042001F */ andi $v0, $v0, 0x1f +/* 1889F8 8025A118 00031842 */ srl $v1, $v1, 1 +/* 1889FC 8025A11C 306A001F */ andi $t2, $v1, 0x1f +/* 188A00 8025A120 4620103E */ c.le.d $f2, $f0 +/* 188A04 8025A124 00000000 */ nop +/* 188A08 8025A128 45010005 */ bc1t .L8025A140 +/* 188A0C 8025A12C 30840001 */ andi $a0, $a0, 1 +/* 188A10 8025A130 4620018D */ trunc.w.d $f6, $f0 +/* 188A14 8025A134 44033000 */ mfc1 $v1, $f6 +/* 188A18 8025A138 08096856 */ j func_8025A158 +/* 188A1C 8025A13C 304200FF */ andi $v0, $v0, 0xff + +.L8025A140: +/* 188A20 8025A140 46220001 */ sub.d $f0, $f0, $f2 +/* 188A24 8025A144 4620018D */ trunc.w.d $f6, $f0 +/* 188A28 8025A148 44033000 */ mfc1 $v1, $f6 +/* 188A2C 8025A14C 00000000 */ nop +/* 188A30 8025A150 006B1825 */ or $v1, $v1, $t3 +/* 188A34 8025A154 304200FF */ andi $v0, $v0, 0xff +func_8025A158: +/* 188A38 8025A158 44820000 */ mtc1 $v0, $f0 +/* 188A3C 8025A15C 00000000 */ nop +/* 188A40 8025A160 46800021 */ cvt.d.w $f0, $f0 +/* 188A44 8025A164 46240002 */ mul.d $f0, $f0, $f4 +/* 188A48 8025A168 00000000 */ nop +/* 188A4C 8025A16C 4620103E */ c.le.d $f2, $f0 +/* 188A50 8025A170 00000000 */ nop +/* 188A54 8025A174 45030005 */ bc1tl .L8025A18C +/* 188A58 8025A178 46220001 */ sub.d $f0, $f0, $f2 +/* 188A5C 8025A17C 4620018D */ trunc.w.d $f6, $f0 +/* 188A60 8025A180 44053000 */ mfc1 $a1, $f6 +/* 188A64 8025A184 08096868 */ j func_8025A1A0 +/* 188A68 8025A188 314200FF */ andi $v0, $t2, 0xff + +.L8025A18C: +/* 188A6C 8025A18C 4620018D */ trunc.w.d $f6, $f0 +/* 188A70 8025A190 44053000 */ mfc1 $a1, $f6 +/* 188A74 8025A194 00000000 */ nop +/* 188A78 8025A198 00AB2825 */ or $a1, $a1, $t3 +/* 188A7C 8025A19C 314200FF */ andi $v0, $t2, 0xff +func_8025A1A0: +/* 188A80 8025A1A0 44820000 */ mtc1 $v0, $f0 +/* 188A84 8025A1A4 00000000 */ nop +/* 188A88 8025A1A8 46800021 */ cvt.d.w $f0, $f0 +/* 188A8C 8025A1AC 46240002 */ mul.d $f0, $f0, $f4 +/* 188A90 8025A1B0 00000000 */ nop +/* 188A94 8025A1B4 4620103E */ c.le.d $f2, $f0 +/* 188A98 8025A1B8 00000000 */ nop +/* 188A9C 8025A1BC 45010005 */ bc1t .L8025A1D4 +/* 188AA0 8025A1C0 00A0102D */ daddu $v0, $a1, $zero +/* 188AA4 8025A1C4 4620018D */ trunc.w.d $f6, $f0 +/* 188AA8 8025A1C8 44053000 */ mfc1 $a1, $f6 +/* 188AAC 8025A1CC 0809687B */ j func_8025A1EC +/* 188AB0 8025A1D0 306300FF */ andi $v1, $v1, 0xff + +.L8025A1D4: +/* 188AB4 8025A1D4 46220001 */ sub.d $f0, $f0, $f2 +/* 188AB8 8025A1D8 4620018D */ trunc.w.d $f6, $f0 +/* 188ABC 8025A1DC 44053000 */ mfc1 $a1, $f6 +/* 188AC0 8025A1E0 00000000 */ nop +/* 188AC4 8025A1E4 00AB2825 */ or $a1, $a1, $t3 +/* 188AC8 8025A1E8 306300FF */ andi $v1, $v1, 0xff +func_8025A1EC: +/* 188ACC 8025A1EC 00031AC0 */ sll $v1, $v1, 0xb +/* 188AD0 8025A1F0 304200FF */ andi $v0, $v0, 0xff +/* 188AD4 8025A1F4 00021180 */ sll $v0, $v0, 6 +/* 188AD8 8025A1F8 00621825 */ or $v1, $v1, $v0 +/* 188ADC 8025A1FC 30A200FF */ andi $v0, $a1, 0xff +/* 188AE0 8025A200 00021040 */ sll $v0, $v0, 1 +/* 188AE4 8025A204 00621825 */ or $v1, $v1, $v0 +/* 188AE8 8025A208 00831825 */ or $v1, $a0, $v1 +/* 188AEC 8025A20C A5030000 */ sh $v1, ($t0) +/* 188AF0 8025A210 24E70001 */ addiu $a3, $a3, 1 +/* 188AF4 8025A214 28E20010 */ slti $v0, $a3, 0x10 +/* 188AF8 8025A218 1440FFB4 */ bnez $v0, .L8025A0EC +/* 188AFC 8025A21C 25080002 */ addiu $t0, $t0, 2 +.L8025A220: +/* 188B00 8025A220 820206CC */ lb $v0, 0x6cc($s0) +/* 188B04 8025A224 25290001 */ addiu $t1, $t1, 1 +/* 188B08 8025A228 0122102A */ slt $v0, $t1, $v0 +/* 188B0C 8025A22C 1440FFA7 */ bnez $v0, .L8025A0CC +/* 188B10 8025A230 00000000 */ nop +func_8025A234: +.L8025A234: +/* 188B14 8025A234 820206CD */ lb $v0, 0x6cd($s0) +/* 188B18 8025A238 1840000A */ blez $v0, .L8025A264 +/* 188B1C 8025A23C 0000482D */ daddu $t1, $zero, $zero +/* 188B20 8025A240 0200202D */ daddu $a0, $s0, $zero +/* 188B24 8025A244 0200182D */ daddu $v1, $s0, $zero +.L8025A248: +/* 188B28 8025A248 AC6406D4 */ sw $a0, 0x6d4($v1) +/* 188B2C 8025A24C 24840020 */ addiu $a0, $a0, 0x20 +/* 188B30 8025A250 820206CD */ lb $v0, 0x6cd($s0) +/* 188B34 8025A254 25290001 */ addiu $t1, $t1, 1 +/* 188B38 8025A258 0122102A */ slt $v0, $t1, $v0 +/* 188B3C 8025A25C 1440FFFA */ bnez $v0, .L8025A248 +/* 188B40 8025A260 24630004 */ addiu $v1, $v1, 4 +.L8025A264: +/* 188B44 8025A264 16400006 */ bnez $s2, .L8025A280 +/* 188B48 8025A268 0220202D */ daddu $a0, $s1, $zero +/* 188B4C 8025A26C 0260282D */ daddu $a1, $s3, $zero +/* 188B50 8025A270 0C096657 */ jal func_8025995C +/* 188B54 8025A274 0280302D */ daddu $a2, $s4, $zero +/* 188B58 8025A278 080968A3 */ j func_8025A28C +/* 188B5C 8025A27C 00000000 */ nop + +.L8025A280: +/* 188B60 8025A280 0260282D */ daddu $a1, $s3, $zero +/* 188B64 8025A284 0C0965B0 */ jal func_802596C0 +/* 188B68 8025A288 0280302D */ daddu $a2, $s4, $zero +func_8025A28C: +/* 188B6C 8025A28C 16A00004 */ bnez $s5, .L8025A2A0 +/* 188B70 8025A290 00000000 */ nop +/* 188B74 8025A294 960206CA */ lhu $v0, 0x6ca($s0) +/* 188B78 8025A298 2442FFFF */ addiu $v0, $v0, -1 +/* 188B7C 8025A29C A60206CA */ sh $v0, 0x6ca($s0) +.L8025A2A0: +/* 188B80 8025A2A0 8FBF0028 */ lw $ra, 0x28($sp) +/* 188B84 8025A2A4 8FB50024 */ lw $s5, 0x24($sp) +/* 188B88 8025A2A8 8FB40020 */ lw $s4, 0x20($sp) +/* 188B8C 8025A2AC 8FB3001C */ lw $s3, 0x1c($sp) +/* 188B90 8025A2B0 8FB20018 */ lw $s2, 0x18($sp) +/* 188B94 8025A2B4 8FB10014 */ lw $s1, 0x14($sp) +/* 188B98 8025A2B8 8FB00010 */ lw $s0, 0x10($sp) +/* 188B9C 8025A2BC 03E00008 */ jr $ra +/* 188BA0 8025A2C0 27BD0030 */ addiu $sp, $sp, 0x30 + +func_8025A2C4: +/* 188BA4 8025A2C4 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* 188BA8 8025A2C8 AFB20018 */ sw $s2, 0x18($sp) +/* 188BAC 8025A2CC 0080902D */ daddu $s2, $a0, $zero +/* 188BB0 8025A2D0 AFB10014 */ sw $s1, 0x14($sp) +/* 188BB4 8025A2D4 00A0882D */ daddu $s1, $a1, $zero +/* 188BB8 8025A2D8 AFB3001C */ sw $s3, 0x1c($sp) +/* 188BBC 8025A2DC 00C0982D */ daddu $s3, $a2, $zero +/* 188BC0 8025A2E0 AFBF0028 */ sw $ra, 0x28($sp) +/* 188BC4 8025A2E4 AFB50024 */ sw $s5, 0x24($sp) +/* 188BC8 8025A2E8 AFB40020 */ sw $s4, 0x20($sp) +/* 188BCC 8025A2EC AFB00010 */ sw $s0, 0x10($sp) +/* 188BD0 8025A2F0 8E3000C0 */ lw $s0, 0xc0($s1) +/* 188BD4 8025A2F4 820206C1 */ lb $v0, 0x6c1($s0) +/* 188BD8 8025A2F8 8FB50040 */ lw $s5, 0x40($sp) +/* 188BDC 8025A2FC 10400033 */ beqz $v0, .L8025A3CC +/* 188BE0 8025A300 00E0A02D */ daddu $s4, $a3, $zero +/* 188BE4 8025A304 16400018 */ bnez $s2, .L8025A368 +/* 188BE8 8025A308 00000000 */ nop +/* 188BEC 8025A30C 0C0B7830 */ jal func_802DE0C0 +/* 188BF0 8025A310 96240088 */ lhu $a0, 0x88($s1) +/* 188BF4 8025A314 AE0206D0 */ sw $v0, 0x6d0($s0) +/* 188BF8 8025A318 0040202D */ daddu $a0, $v0, $zero +/* 188BFC 8025A31C 24020002 */ addiu $v0, $zero, 2 +/* 188C00 8025A320 A20206CD */ sb $v0, 0x6cd($s0) +/* 188C04 8025A324 8C830008 */ lw $v1, 8($a0) +/* 188C08 8025A328 2402FFFF */ addiu $v0, $zero, -1 +/* 188C0C 8025A32C 50620024 */ beql $v1, $v0, .L8025A3C0 +/* 188C10 8025A330 A20006C2 */ sb $zero, 0x6c2($s0) +/* 188C14 8025A334 0080182D */ daddu $v1, $a0, $zero +/* 188C18 8025A338 0040202D */ daddu $a0, $v0, $zero +.L8025A33C: +/* 188C1C 8025A33C 920206CD */ lbu $v0, 0x6cd($s0) +/* 188C20 8025A340 24420001 */ addiu $v0, $v0, 1 +/* 188C24 8025A344 A20206CD */ sb $v0, 0x6cd($s0) +/* 188C28 8025A348 00021600 */ sll $v0, $v0, 0x18 +/* 188C2C 8025A34C 00021583 */ sra $v0, $v0, 0x16 +/* 188C30 8025A350 00431021 */ addu $v0, $v0, $v1 +/* 188C34 8025A354 8C420000 */ lw $v0, ($v0) +/* 188C38 8025A358 1444FFF8 */ bne $v0, $a0, .L8025A33C +/* 188C3C 8025A35C 00000000 */ nop +/* 188C40 8025A360 080968F0 */ j func_8025A3C0 +/* 188C44 8025A364 A20006C2 */ sb $zero, 0x6c2($s0) + +.L8025A368: +/* 188C48 8025A368 96240088 */ lhu $a0, 0x88($s1) +/* 188C4C 8025A36C 0C0B7A90 */ jal func_802DEA40 +/* 188C50 8025A370 00000000 */ nop +/* 188C54 8025A374 AE0206D0 */ sw $v0, 0x6d0($s0) +/* 188C58 8025A378 0040202D */ daddu $a0, $v0, $zero +/* 188C5C 8025A37C A20006CD */ sb $zero, 0x6cd($s0) +/* 188C60 8025A380 8C830000 */ lw $v1, ($a0) +/* 188C64 8025A384 2402FFFF */ addiu $v0, $zero, -1 +/* 188C68 8025A388 5062000D */ beql $v1, $v0, .L8025A3C0 +/* 188C6C 8025A38C A20006C2 */ sb $zero, 0x6c2($s0) +/* 188C70 8025A390 0080182D */ daddu $v1, $a0, $zero +/* 188C74 8025A394 0040202D */ daddu $a0, $v0, $zero +.L8025A398: +/* 188C78 8025A398 920206CD */ lbu $v0, 0x6cd($s0) +/* 188C7C 8025A39C 24420001 */ addiu $v0, $v0, 1 +/* 188C80 8025A3A0 A20206CD */ sb $v0, 0x6cd($s0) +/* 188C84 8025A3A4 00021600 */ sll $v0, $v0, 0x18 +/* 188C88 8025A3A8 00021583 */ sra $v0, $v0, 0x16 +/* 188C8C 8025A3AC 00431021 */ addu $v0, $v0, $v1 +/* 188C90 8025A3B0 8C420000 */ lw $v0, ($v0) +/* 188C94 8025A3B4 1444FFF8 */ bne $v0, $a0, .L8025A398 +/* 188C98 8025A3B8 00000000 */ nop +/* 188C9C 8025A3BC A20006C2 */ sb $zero, 0x6c2($s0) +func_8025A3C0: +.L8025A3C0: +/* 188CA0 8025A3C0 A60006CA */ sh $zero, 0x6ca($s0) +/* 188CA4 8025A3C4 A60006C8 */ sh $zero, 0x6c8($s0) +/* 188CA8 8025A3C8 A20006C1 */ sb $zero, 0x6c1($s0) +.L8025A3CC: +/* 188CAC 8025A3CC 820206CD */ lb $v0, 0x6cd($s0) +/* 188CB0 8025A3D0 18400024 */ blez $v0, .L8025A464 +/* 188CB4 8025A3D4 0000482D */ daddu $t1, $zero, $zero +/* 188CB8 8025A3D8 0200502D */ daddu $t2, $s0, $zero +.L8025A3DC: +/* 188CBC 8025A3DC 8E0206D0 */ lw $v0, 0x6d0($s0) +/* 188CC0 8025A3E0 00091880 */ sll $v1, $t1, 2 +/* 188CC4 8025A3E4 00621821 */ addu $v1, $v1, $v0 +/* 188CC8 8025A3E8 00091140 */ sll $v0, $t1, 5 +/* 188CCC 8025A3EC 8C660000 */ lw $a2, ($v1) +/* 188CD0 8025A3F0 02023821 */ addu $a3, $s0, $v0 +/* 188CD4 8025A3F4 10C00016 */ beqz $a2, .L8025A450 +/* 188CD8 8025A3F8 AD4706D4 */ sw $a3, 0x6d4($t2) +/* 188CDC 8025A3FC 0000402D */ daddu $t0, $zero, $zero +.L8025A400: +/* 188CE0 8025A400 94C20000 */ lhu $v0, ($a2) +/* 188CE4 8025A404 90C50001 */ lbu $a1, 1($a2) +/* 188CE8 8025A408 24C60002 */ addiu $a2, $a2, 2 +/* 188CEC 8025A40C 25080001 */ addiu $t0, $t0, 1 +/* 188CF0 8025A410 000219C2 */ srl $v1, $v0, 7 +/* 188CF4 8025A414 3063000F */ andi $v1, $v1, 0xf +/* 188CF8 8025A418 00022082 */ srl $a0, $v0, 2 +/* 188CFC 8025A41C 3084000F */ andi $a0, $a0, 0xf +/* 188D00 8025A420 00021302 */ srl $v0, $v0, 0xc +/* 188D04 8025A424 30A50001 */ andi $a1, $a1, 1 +/* 188D08 8025A428 000212C0 */ sll $v0, $v0, 0xb +/* 188D0C 8025A42C 00031980 */ sll $v1, $v1, 6 +/* 188D10 8025A430 00431025 */ or $v0, $v0, $v1 +/* 188D14 8025A434 00042040 */ sll $a0, $a0, 1 +/* 188D18 8025A438 00441025 */ or $v0, $v0, $a0 +/* 188D1C 8025A43C 00A22825 */ or $a1, $a1, $v0 +/* 188D20 8025A440 A4E50000 */ sh $a1, ($a3) +/* 188D24 8025A444 29020010 */ slti $v0, $t0, 0x10 +/* 188D28 8025A448 1440FFED */ bnez $v0, .L8025A400 +/* 188D2C 8025A44C 24E70002 */ addiu $a3, $a3, 2 +.L8025A450: +/* 188D30 8025A450 820206CD */ lb $v0, 0x6cd($s0) +/* 188D34 8025A454 25290001 */ addiu $t1, $t1, 1 +/* 188D38 8025A458 0122102A */ slt $v0, $t1, $v0 +/* 188D3C 8025A45C 1440FFDF */ bnez $v0, .L8025A3DC +/* 188D40 8025A460 254A0004 */ addiu $t2, $t2, 4 +.L8025A464: +/* 188D44 8025A464 860206C8 */ lh $v0, 0x6c8($s0) +/* 188D48 8025A468 1C400010 */ bgtz $v0, .L8025A4AC +/* 188D4C 8025A46C 240300FF */ addiu $v1, $zero, 0xff +/* 188D50 8025A470 04420001 */ bltzl $v0, .L8025A478 +/* 188D54 8025A474 00021023 */ negu $v0, $v0 +.L8025A478: +/* 188D58 8025A478 00021040 */ sll $v0, $v0, 1 +/* 188D5C 8025A47C 3C018028 */ lui $at, 0x8028 +/* 188D60 8025A480 00220821 */ addu $at, $at, $v0 +/* 188D64 8025A484 942240B4 */ lhu $v0, 0x40b4($at) +/* 188D68 8025A488 A6220068 */ sh $v0, 0x68($s1) +/* 188D6C 8025A48C 00021400 */ sll $v0, $v0, 0x10 +/* 188D70 8025A490 00021403 */ sra $v0, $v0, 0x10 +/* 188D74 8025A494 14430005 */ bne $v0, $v1, .L8025A4AC +/* 188D78 8025A498 2404003C */ addiu $a0, $zero, 0x3c +/* 188D7C 8025A49C 0C00A67F */ jal rand_int +/* 188D80 8025A4A0 A6200068 */ sh $zero, 0x68($s1) +/* 188D84 8025A4A4 2442001E */ addiu $v0, $v0, 0x1e +/* 188D88 8025A4A8 A60206C8 */ sh $v0, 0x6c8($s0) +.L8025A4AC: +/* 188D8C 8025A4AC 16A00004 */ bnez $s5, .L8025A4C0 +/* 188D90 8025A4B0 00000000 */ nop +/* 188D94 8025A4B4 960206C8 */ lhu $v0, 0x6c8($s0) +/* 188D98 8025A4B8 2442FFFF */ addiu $v0, $v0, -1 +/* 188D9C 8025A4BC A60206C8 */ sh $v0, 0x6c8($s0) +.L8025A4C0: +/* 188DA0 8025A4C0 16400006 */ bnez $s2, .L8025A4DC +/* 188DA4 8025A4C4 0220202D */ daddu $a0, $s1, $zero +/* 188DA8 8025A4C8 0260282D */ daddu $a1, $s3, $zero +/* 188DAC 8025A4CC 0C096657 */ jal func_8025995C +/* 188DB0 8025A4D0 0280302D */ daddu $a2, $s4, $zero +/* 188DB4 8025A4D4 0809693A */ j func_8025A4E8 +/* 188DB8 8025A4D8 00000000 */ nop + +.L8025A4DC: +/* 188DBC 8025A4DC 0260282D */ daddu $a1, $s3, $zero +/* 188DC0 8025A4E0 0C0965B0 */ jal func_802596C0 +/* 188DC4 8025A4E4 0280302D */ daddu $a2, $s4, $zero +func_8025A4E8: +/* 188DC8 8025A4E8 8FBF0028 */ lw $ra, 0x28($sp) +/* 188DCC 8025A4EC 8FB50024 */ lw $s5, 0x24($sp) +/* 188DD0 8025A4F0 8FB40020 */ lw $s4, 0x20($sp) +/* 188DD4 8025A4F4 8FB3001C */ lw $s3, 0x1c($sp) +/* 188DD8 8025A4F8 8FB20018 */ lw $s2, 0x18($sp) +/* 188DDC 8025A4FC 8FB10014 */ lw $s1, 0x14($sp) +/* 188DE0 8025A500 8FB00010 */ lw $s0, 0x10($sp) +/* 188DE4 8025A504 03E00008 */ jr $ra +/* 188DE8 8025A508 27BD0030 */ addiu $sp, $sp, 0x30 + +func_8025A50C: +/* 188DEC 8025A50C 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 188DF0 8025A510 AFB20018 */ sw $s2, 0x18($sp) +/* 188DF4 8025A514 0080902D */ daddu $s2, $a0, $zero +/* 188DF8 8025A518 AFB10014 */ sw $s1, 0x14($sp) +/* 188DFC 8025A51C 00A0882D */ daddu $s1, $a1, $zero +/* 188E00 8025A520 AFBF0024 */ sw $ra, 0x24($sp) +/* 188E04 8025A524 AFB40020 */ sw $s4, 0x20($sp) +/* 188E08 8025A528 AFB3001C */ sw $s3, 0x1c($sp) +/* 188E0C 8025A52C AFB00010 */ sw $s0, 0x10($sp) +/* 188E10 8025A530 8E3000C0 */ lw $s0, 0xc0($s1) +/* 188E14 8025A534 00C0982D */ daddu $s3, $a2, $zero +/* 188E18 8025A538 820206C1 */ lb $v0, 0x6c1($s0) +/* 188E1C 8025A53C 10400032 */ beqz $v0, .L8025A608 +/* 188E20 8025A540 00E0A02D */ daddu $s4, $a3, $zero +/* 188E24 8025A544 16400016 */ bnez $s2, .L8025A5A0 +/* 188E28 8025A548 00000000 */ nop +/* 188E2C 8025A54C 0C0B7830 */ jal func_802DE0C0 +/* 188E30 8025A550 96240088 */ lhu $a0, 0x88($s1) +/* 188E34 8025A554 AE0206D0 */ sw $v0, 0x6d0($s0) +/* 188E38 8025A558 0040202D */ daddu $a0, $v0, $zero +/* 188E3C 8025A55C A20006CD */ sb $zero, 0x6cd($s0) +/* 188E40 8025A560 8C830000 */ lw $v1, ($a0) +/* 188E44 8025A564 2402FFFF */ addiu $v0, $zero, -1 +/* 188E48 8025A568 1062000B */ beq $v1, $v0, .L8025A598 +/* 188E4C 8025A56C 0080182D */ daddu $v1, $a0, $zero +/* 188E50 8025A570 0040202D */ daddu $a0, $v0, $zero +.L8025A574: +/* 188E54 8025A574 920206CD */ lbu $v0, 0x6cd($s0) +/* 188E58 8025A578 24420001 */ addiu $v0, $v0, 1 +/* 188E5C 8025A57C A20206CD */ sb $v0, 0x6cd($s0) +/* 188E60 8025A580 00021600 */ sll $v0, $v0, 0x18 +/* 188E64 8025A584 00021583 */ sra $v0, $v0, 0x16 +/* 188E68 8025A588 00431021 */ addu $v0, $v0, $v1 +/* 188E6C 8025A58C 8C420000 */ lw $v0, ($v0) +/* 188E70 8025A590 1444FFF8 */ bne $v0, $a0, .L8025A574 +/* 188E74 8025A594 00000000 */ nop +.L8025A598: +/* 188E78 8025A598 0809697E */ j func_8025A5F8 +/* 188E7C 8025A59C 24020006 */ addiu $v0, $zero, 6 + +.L8025A5A0: +/* 188E80 8025A5A0 96240088 */ lhu $a0, 0x88($s1) +/* 188E84 8025A5A4 0C0B7A90 */ jal func_802DEA40 +/* 188E88 8025A5A8 00000000 */ nop +/* 188E8C 8025A5AC AE0206D0 */ sw $v0, 0x6d0($s0) +/* 188E90 8025A5B0 0040202D */ daddu $a0, $v0, $zero +/* 188E94 8025A5B4 A20006CD */ sb $zero, 0x6cd($s0) +/* 188E98 8025A5B8 8C830000 */ lw $v1, ($a0) +/* 188E9C 8025A5BC 2402FFFF */ addiu $v0, $zero, -1 +/* 188EA0 8025A5C0 1062000B */ beq $v1, $v0, .L8025A5F0 +/* 188EA4 8025A5C4 0080182D */ daddu $v1, $a0, $zero +/* 188EA8 8025A5C8 0040202D */ daddu $a0, $v0, $zero +.L8025A5CC: +/* 188EAC 8025A5CC 920206CD */ lbu $v0, 0x6cd($s0) +/* 188EB0 8025A5D0 24420001 */ addiu $v0, $v0, 1 +/* 188EB4 8025A5D4 A20206CD */ sb $v0, 0x6cd($s0) +/* 188EB8 8025A5D8 00021600 */ sll $v0, $v0, 0x18 +/* 188EBC 8025A5DC 00021583 */ sra $v0, $v0, 0x16 +/* 188EC0 8025A5E0 00431021 */ addu $v0, $v0, $v1 +/* 188EC4 8025A5E4 8C420000 */ lw $v0, ($v0) +/* 188EC8 8025A5E8 1444FFF8 */ bne $v0, $a0, .L8025A5CC +/* 188ECC 8025A5EC 00000000 */ nop +.L8025A5F0: +/* 188ED0 8025A5F0 0C0B7A9B */ jal func_802DEA6C +/* 188ED4 8025A5F4 96240088 */ lhu $a0, 0x88($s1) +func_8025A5F8: +/* 188ED8 8025A5F8 A20206CC */ sb $v0, 0x6cc($s0) +/* 188EDC 8025A5FC A20006C2 */ sb $zero, 0x6c2($s0) +/* 188EE0 8025A600 A60006CA */ sh $zero, 0x6ca($s0) +/* 188EE4 8025A604 A20006C1 */ sb $zero, 0x6c1($s0) +.L8025A608: +/* 188EE8 8025A608 820206CD */ lb $v0, 0x6cd($s0) +/* 188EEC 8025A60C 18400015 */ blez $v0, .L8025A664 +/* 188EF0 8025A610 0000302D */ daddu $a2, $zero, $zero +.L8025A614: +/* 188EF4 8025A614 8E0206D0 */ lw $v0, 0x6d0($s0) +/* 188EF8 8025A618 00061880 */ sll $v1, $a2, 2 +/* 188EFC 8025A61C 00621821 */ addu $v1, $v1, $v0 +/* 188F00 8025A620 00061140 */ sll $v0, $a2, 5 +/* 188F04 8025A624 8C630000 */ lw $v1, ($v1) +/* 188F08 8025A628 10600009 */ beqz $v1, .L8025A650 +/* 188F0C 8025A62C 02022821 */ addu $a1, $s0, $v0 +/* 188F10 8025A630 0000202D */ daddu $a0, $zero, $zero +.L8025A634: +/* 188F14 8025A634 94620000 */ lhu $v0, ($v1) +/* 188F18 8025A638 24630002 */ addiu $v1, $v1, 2 +/* 188F1C 8025A63C 24840001 */ addiu $a0, $a0, 1 +/* 188F20 8025A640 A4A20000 */ sh $v0, ($a1) +/* 188F24 8025A644 28820010 */ slti $v0, $a0, 0x10 +/* 188F28 8025A648 1440FFFA */ bnez $v0, .L8025A634 +/* 188F2C 8025A64C 24A50002 */ addiu $a1, $a1, 2 +.L8025A650: +/* 188F30 8025A650 820206CD */ lb $v0, 0x6cd($s0) +/* 188F34 8025A654 24C60001 */ addiu $a2, $a2, 1 +/* 188F38 8025A658 00C2102A */ slt $v0, $a2, $v0 +/* 188F3C 8025A65C 1440FFED */ bnez $v0, .L8025A614 +/* 188F40 8025A660 00000000 */ nop +.L8025A664: +/* 188F44 8025A664 820206CC */ lb $v0, 0x6cc($s0) +/* 188F48 8025A668 920306CC */ lbu $v1, 0x6cc($s0) +/* 188F4C 8025A66C 18400019 */ blez $v0, .L8025A6D4 +/* 188F50 8025A670 0000302D */ daddu $a2, $zero, $zero +/* 188F54 8025A674 00031600 */ sll $v0, $v1, 0x18 +.L8025A678: +/* 188F58 8025A678 00021603 */ sra $v0, $v0, 0x18 +/* 188F5C 8025A67C 00461021 */ addu $v0, $v0, $a2 +/* 188F60 8025A680 8E0306D0 */ lw $v1, 0x6d0($s0) +/* 188F64 8025A684 00021080 */ sll $v0, $v0, 2 +/* 188F68 8025A688 00431021 */ addu $v0, $v0, $v1 +/* 188F6C 8025A68C 8C430000 */ lw $v1, ($v0) +/* 188F70 8025A690 00061140 */ sll $v0, $a2, 5 +/* 188F74 8025A694 10600009 */ beqz $v1, .L8025A6BC +/* 188F78 8025A698 02022821 */ addu $a1, $s0, $v0 +/* 188F7C 8025A69C 0000202D */ daddu $a0, $zero, $zero +.L8025A6A0: +/* 188F80 8025A6A0 94620000 */ lhu $v0, ($v1) +/* 188F84 8025A6A4 24630002 */ addiu $v1, $v1, 2 +/* 188F88 8025A6A8 24840001 */ addiu $a0, $a0, 1 +/* 188F8C 8025A6AC A4A20000 */ sh $v0, ($a1) +/* 188F90 8025A6B0 28820010 */ slti $v0, $a0, 0x10 +/* 188F94 8025A6B4 1440FFFA */ bnez $v0, .L8025A6A0 +/* 188F98 8025A6B8 24A50002 */ addiu $a1, $a1, 2 +.L8025A6BC: +/* 188F9C 8025A6BC 24C60001 */ addiu $a2, $a2, 1 +/* 188FA0 8025A6C0 820206CC */ lb $v0, 0x6cc($s0) +/* 188FA4 8025A6C4 920306CC */ lbu $v1, 0x6cc($s0) +/* 188FA8 8025A6C8 00C2102A */ slt $v0, $a2, $v0 +/* 188FAC 8025A6CC 1440FFEA */ bnez $v0, .L8025A678 +/* 188FB0 8025A6D0 00031600 */ sll $v0, $v1, 0x18 +.L8025A6D4: +/* 188FB4 8025A6D4 820206CD */ lb $v0, 0x6cd($s0) +/* 188FB8 8025A6D8 1840000A */ blez $v0, .L8025A704 +/* 188FBC 8025A6DC 0000302D */ daddu $a2, $zero, $zero +/* 188FC0 8025A6E0 0200202D */ daddu $a0, $s0, $zero +/* 188FC4 8025A6E4 0200182D */ daddu $v1, $s0, $zero +.L8025A6E8: +/* 188FC8 8025A6E8 AC6406D4 */ sw $a0, 0x6d4($v1) +/* 188FCC 8025A6EC 24840020 */ addiu $a0, $a0, 0x20 +/* 188FD0 8025A6F0 820206CD */ lb $v0, 0x6cd($s0) +/* 188FD4 8025A6F4 24C60001 */ addiu $a2, $a2, 1 +/* 188FD8 8025A6F8 00C2102A */ slt $v0, $a2, $v0 +/* 188FDC 8025A6FC 1440FFFA */ bnez $v0, .L8025A6E8 +/* 188FE0 8025A700 24630004 */ addiu $v1, $v1, 4 +.L8025A704: +/* 188FE4 8025A704 16400006 */ bnez $s2, .L8025A720 +/* 188FE8 8025A708 0220202D */ daddu $a0, $s1, $zero +/* 188FEC 8025A70C 0260282D */ daddu $a1, $s3, $zero +/* 188FF0 8025A710 0C096657 */ jal func_8025995C +/* 188FF4 8025A714 0280302D */ daddu $a2, $s4, $zero +/* 188FF8 8025A718 080969CB */ j func_8025A72C +/* 188FFC 8025A71C 00000000 */ nop + +.L8025A720: +/* 189000 8025A720 0260282D */ daddu $a1, $s3, $zero +/* 189004 8025A724 0C0965B0 */ jal func_802596C0 +/* 189008 8025A728 0280302D */ daddu $a2, $s4, $zero +func_8025A72C: +/* 18900C 8025A72C 8FBF0024 */ lw $ra, 0x24($sp) +/* 189010 8025A730 8FB40020 */ lw $s4, 0x20($sp) +/* 189014 8025A734 8FB3001C */ lw $s3, 0x1c($sp) +/* 189018 8025A738 8FB20018 */ lw $s2, 0x18($sp) +/* 18901C 8025A73C 8FB10014 */ lw $s1, 0x14($sp) +/* 189020 8025A740 8FB00010 */ lw $s0, 0x10($sp) +/* 189024 8025A744 03E00008 */ jr $ra +/* 189028 8025A748 27BD0028 */ addiu $sp, $sp, 0x28 + +func_8025A74C: +/* 18902C 8025A74C 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* 189030 8025A750 AFB40020 */ sw $s4, 0x20($sp) +/* 189034 8025A754 0080A02D */ daddu $s4, $a0, $zero +/* 189038 8025A758 AFB10014 */ sw $s1, 0x14($sp) +/* 18903C 8025A75C 00A0882D */ daddu $s1, $a1, $zero +/* 189040 8025A760 AFB20018 */ sw $s2, 0x18($sp) +/* 189044 8025A764 00C0902D */ daddu $s2, $a2, $zero +/* 189048 8025A768 AFBF0028 */ sw $ra, 0x28($sp) +/* 18904C 8025A76C AFB50024 */ sw $s5, 0x24($sp) +/* 189050 8025A770 AFB3001C */ sw $s3, 0x1c($sp) +/* 189054 8025A774 AFB00010 */ sw $s0, 0x10($sp) +/* 189058 8025A778 8E3000C0 */ lw $s0, 0xc0($s1) +/* 18905C 8025A77C 820206C1 */ lb $v0, 0x6c1($s0) +/* 189060 8025A780 8FB50040 */ lw $s5, 0x40($sp) +/* 189064 8025A784 10400032 */ beqz $v0, .L8025A850 +/* 189068 8025A788 00E0982D */ daddu $s3, $a3, $zero +/* 18906C 8025A78C 16800017 */ bnez $s4, .L8025A7EC +/* 189070 8025A790 00000000 */ nop +/* 189074 8025A794 0C0B7830 */ jal func_802DE0C0 +/* 189078 8025A798 96240088 */ lhu $a0, 0x88($s1) +/* 18907C 8025A79C AE0206D0 */ sw $v0, 0x6d0($s0) +/* 189080 8025A7A0 0040202D */ daddu $a0, $v0, $zero +/* 189084 8025A7A4 A20006CD */ sb $zero, 0x6cd($s0) +/* 189088 8025A7A8 8C830000 */ lw $v1, ($a0) +/* 18908C 8025A7AC 2402FFFF */ addiu $v0, $zero, -1 +/* 189090 8025A7B0 50620023 */ beql $v1, $v0, .L8025A840 +/* 189094 8025A7B4 2402000A */ addiu $v0, $zero, 0xa +/* 189098 8025A7B8 0080182D */ daddu $v1, $a0, $zero +/* 18909C 8025A7BC 0040202D */ daddu $a0, $v0, $zero +.L8025A7C0: +/* 1890A0 8025A7C0 920206CD */ lbu $v0, 0x6cd($s0) +/* 1890A4 8025A7C4 24420001 */ addiu $v0, $v0, 1 +/* 1890A8 8025A7C8 A20206CD */ sb $v0, 0x6cd($s0) +/* 1890AC 8025A7CC 00021600 */ sll $v0, $v0, 0x18 +/* 1890B0 8025A7D0 00021583 */ sra $v0, $v0, 0x16 +/* 1890B4 8025A7D4 00431021 */ addu $v0, $v0, $v1 +/* 1890B8 8025A7D8 8C420000 */ lw $v0, ($v0) +/* 1890BC 8025A7DC 1444FFF8 */ bne $v0, $a0, .L8025A7C0 +/* 1890C0 8025A7E0 2402000A */ addiu $v0, $zero, 0xa +/* 1890C4 8025A7E4 08096A11 */ j func_8025A844 +/* 1890C8 8025A7E8 A20006C2 */ sb $zero, 0x6c2($s0) + +.L8025A7EC: +/* 1890CC 8025A7EC 96240088 */ lhu $a0, 0x88($s1) +/* 1890D0 8025A7F0 0C0B7A90 */ jal func_802DEA40 +/* 1890D4 8025A7F4 00000000 */ nop +/* 1890D8 8025A7F8 AE0206D0 */ sw $v0, 0x6d0($s0) +/* 1890DC 8025A7FC 0040202D */ daddu $a0, $v0, $zero +/* 1890E0 8025A800 A20006CD */ sb $zero, 0x6cd($s0) +/* 1890E4 8025A804 8C830000 */ lw $v1, ($a0) +/* 1890E8 8025A808 2402FFFF */ addiu $v0, $zero, -1 +/* 1890EC 8025A80C 5062000C */ beql $v1, $v0, .L8025A840 +/* 1890F0 8025A810 2402000A */ addiu $v0, $zero, 0xa +/* 1890F4 8025A814 0080182D */ daddu $v1, $a0, $zero +/* 1890F8 8025A818 0040202D */ daddu $a0, $v0, $zero +.L8025A81C: +/* 1890FC 8025A81C 920206CD */ lbu $v0, 0x6cd($s0) +/* 189100 8025A820 24420001 */ addiu $v0, $v0, 1 +/* 189104 8025A824 A20206CD */ sb $v0, 0x6cd($s0) +/* 189108 8025A828 00021600 */ sll $v0, $v0, 0x18 +/* 18910C 8025A82C 00021583 */ sra $v0, $v0, 0x16 +/* 189110 8025A830 00431021 */ addu $v0, $v0, $v1 +/* 189114 8025A834 8C420000 */ lw $v0, ($v0) +/* 189118 8025A838 1444FFF8 */ bne $v0, $a0, .L8025A81C +/* 18911C 8025A83C 2402000A */ addiu $v0, $zero, 0xa +.L8025A840: +/* 189120 8025A840 A20006C2 */ sb $zero, 0x6c2($s0) +func_8025A844: +/* 189124 8025A844 A60006C8 */ sh $zero, 0x6c8($s0) +/* 189128 8025A848 A60206CA */ sh $v0, 0x6ca($s0) +/* 18912C 8025A84C A20006C1 */ sb $zero, 0x6c1($s0) +.L8025A850: +/* 189130 8025A850 820206CD */ lb $v0, 0x6cd($s0) +/* 189134 8025A854 1840002F */ blez $v0, .L8025A914 +/* 189138 8025A858 0000382D */ daddu $a3, $zero, $zero +.L8025A85C: +/* 18913C 8025A85C 8E0206D0 */ lw $v0, 0x6d0($s0) +/* 189140 8025A860 00071880 */ sll $v1, $a3, 2 +/* 189144 8025A864 00621821 */ addu $v1, $v1, $v0 +/* 189148 8025A868 00071140 */ sll $v0, $a3, 5 +/* 18914C 8025A86C 8C660000 */ lw $a2, ($v1) +/* 189150 8025A870 10C00022 */ beqz $a2, .L8025A8FC +/* 189154 8025A874 02025021 */ addu $t2, $s0, $v0 +/* 189158 8025A878 0000482D */ daddu $t1, $zero, $zero +.L8025A87C: +/* 18915C 8025A87C 94C30000 */ lhu $v1, ($a2) +/* 189160 8025A880 90C20001 */ lbu $v0, 1($a2) +/* 189164 8025A884 24C60002 */ addiu $a2, $a2, 2 +/* 189168 8025A888 304B0001 */ andi $t3, $v0, 1 +/* 18916C 8025A88C 000312C2 */ srl $v0, $v1, 0xb +/* 189170 8025A890 24450004 */ addiu $a1, $v0, 4 +/* 189174 8025A894 00031182 */ srl $v0, $v1, 6 +/* 189178 8025A898 3044001F */ andi $a0, $v0, 0x1f +/* 18917C 8025A89C 00031842 */ srl $v1, $v1, 1 +/* 189180 8025A8A0 2CA20020 */ sltiu $v0, $a1, 0x20 +/* 189184 8025A8A4 14400002 */ bnez $v0, .L8025A8B0 +/* 189188 8025A8A8 3068001F */ andi $t0, $v1, 0x1f +/* 18918C 8025A8AC 2405001F */ addiu $a1, $zero, 0x1f +.L8025A8B0: +/* 189190 8025A8B0 24830004 */ addiu $v1, $a0, 4 +/* 189194 8025A8B4 2C620020 */ sltiu $v0, $v1, 0x20 +/* 189198 8025A8B8 50400001 */ beql $v0, $zero, .L8025A8C0 +/* 18919C 8025A8BC 2403001F */ addiu $v1, $zero, 0x1f +.L8025A8C0: +/* 1891A0 8025A8C0 25040004 */ addiu $a0, $t0, 4 +/* 1891A4 8025A8C4 2C820020 */ sltiu $v0, $a0, 0x20 +/* 1891A8 8025A8C8 50400001 */ beql $v0, $zero, .L8025A8D0 +/* 1891AC 8025A8CC 2404001F */ addiu $a0, $zero, 0x1f +.L8025A8D0: +/* 1891B0 8025A8D0 000512C0 */ sll $v0, $a1, 0xb +/* 1891B4 8025A8D4 00031980 */ sll $v1, $v1, 6 +/* 1891B8 8025A8D8 00431025 */ or $v0, $v0, $v1 +/* 1891BC 8025A8DC 00041840 */ sll $v1, $a0, 1 +/* 1891C0 8025A8E0 00431025 */ or $v0, $v0, $v1 +/* 1891C4 8025A8E4 01621025 */ or $v0, $t3, $v0 +/* 1891C8 8025A8E8 A5420000 */ sh $v0, ($t2) +/* 1891CC 8025A8EC 25290001 */ addiu $t1, $t1, 1 +/* 1891D0 8025A8F0 29220010 */ slti $v0, $t1, 0x10 +/* 1891D4 8025A8F4 1440FFE1 */ bnez $v0, .L8025A87C +/* 1891D8 8025A8F8 254A0002 */ addiu $t2, $t2, 2 +.L8025A8FC: +/* 1891DC 8025A8FC 820206CD */ lb $v0, 0x6cd($s0) +/* 1891E0 8025A900 24E70001 */ addiu $a3, $a3, 1 +/* 1891E4 8025A904 00E2102A */ slt $v0, $a3, $v0 +/* 1891E8 8025A908 1440FFD4 */ bnez $v0, .L8025A85C +/* 1891EC 8025A90C 00000000 */ nop +/* 1891F0 8025A910 820206CD */ lb $v0, 0x6cd($s0) +.L8025A914: +/* 1891F4 8025A914 1840000A */ blez $v0, .L8025A940 +/* 1891F8 8025A918 0000382D */ daddu $a3, $zero, $zero +/* 1891FC 8025A91C 0200202D */ daddu $a0, $s0, $zero +/* 189200 8025A920 0200182D */ daddu $v1, $s0, $zero +.L8025A924: +/* 189204 8025A924 AC6406D4 */ sw $a0, 0x6d4($v1) +/* 189208 8025A928 24840020 */ addiu $a0, $a0, 0x20 +/* 18920C 8025A92C 820206CD */ lb $v0, 0x6cd($s0) +/* 189210 8025A930 24E70001 */ addiu $a3, $a3, 1 +/* 189214 8025A934 00E2102A */ slt $v0, $a3, $v0 +/* 189218 8025A938 1440FFFA */ bnez $v0, .L8025A924 +/* 18921C 8025A93C 24630004 */ addiu $v1, $v1, 4 +.L8025A940: +/* 189220 8025A940 820306C2 */ lb $v1, 0x6c2($s0) +/* 189224 8025A944 28620002 */ slti $v0, $v1, 2 +/* 189228 8025A948 10400044 */ beqz $v0, .L8025AA5C +/* 18922C 8025A94C 00000000 */ nop +/* 189230 8025A950 04600042 */ bltz $v1, .L8025AA5C +/* 189234 8025A954 00000000 */ nop +/* 189238 8025A958 860206C8 */ lh $v0, 0x6c8($s0) +/* 18923C 8025A95C 1C400010 */ bgtz $v0, .L8025A9A0 +/* 189240 8025A960 240300FF */ addiu $v1, $zero, 0xff +/* 189244 8025A964 04420001 */ bltzl $v0, .L8025A96C +/* 189248 8025A968 00021023 */ negu $v0, $v0 +.L8025A96C: +/* 18924C 8025A96C 00021040 */ sll $v0, $v0, 1 +/* 189250 8025A970 3C018028 */ lui $at, 0x8028 +/* 189254 8025A974 00220821 */ addu $at, $at, $v0 +/* 189258 8025A978 942240DC */ lhu $v0, 0x40dc($at) +/* 18925C 8025A97C A622006A */ sh $v0, 0x6a($s1) +/* 189260 8025A980 00021400 */ sll $v0, $v0, 0x10 +/* 189264 8025A984 00021403 */ sra $v0, $v0, 0x10 +/* 189268 8025A988 14430005 */ bne $v0, $v1, .L8025A9A0 +/* 18926C 8025A98C 2404003C */ addiu $a0, $zero, 0x3c +/* 189270 8025A990 0C00A67F */ jal rand_int +/* 189274 8025A994 A620006A */ sh $zero, 0x6a($s1) +/* 189278 8025A998 2442001E */ addiu $v0, $v0, 0x1e +/* 18927C 8025A99C A60206C8 */ sh $v0, 0x6c8($s0) +.L8025A9A0: +/* 189280 8025A9A0 16A00004 */ bnez $s5, .L8025A9B4 +/* 189284 8025A9A4 00000000 */ nop +/* 189288 8025A9A8 960206C8 */ lhu $v0, 0x6c8($s0) +/* 18928C 8025A9AC 2442FFFF */ addiu $v0, $v0, -1 +/* 189290 8025A9B0 A60206C8 */ sh $v0, 0x6c8($s0) +.L8025A9B4: +/* 189294 8025A9B4 860306CA */ lh $v1, 0x6ca($s0) +/* 189298 8025A9B8 2402000C */ addiu $v0, $zero, 0xc +/* 18929C 8025A9BC 1062000C */ beq $v1, $v0, .L8025A9F0 +/* 1892A0 8025A9C0 2862000D */ slti $v0, $v1, 0xd +/* 1892A4 8025A9C4 10400005 */ beqz $v0, .L8025A9DC +/* 1892A8 8025A9C8 2402000A */ addiu $v0, $zero, 0xa +/* 1892AC 8025A9CC 10620008 */ beq $v1, $v0, .L8025A9F0 +/* 1892B0 8025A9D0 00000000 */ nop +/* 1892B4 8025A9D4 08096A88 */ j func_8025AA20 +/* 1892B8 8025A9D8 00000000 */ nop + +.L8025A9DC: +/* 1892BC 8025A9DC 2402000D */ addiu $v0, $zero, 0xd +/* 1892C0 8025A9E0 5062000F */ beql $v1, $v0, .L8025AA20 +/* 1892C4 8025A9E4 A60006CA */ sh $zero, 0x6ca($s0) +/* 1892C8 8025A9E8 08096A88 */ j func_8025AA20 +/* 1892CC 8025A9EC 00000000 */ nop + +.L8025A9F0: +/* 1892D0 8025A9F0 16800006 */ bnez $s4, .L8025AA0C +/* 1892D4 8025A9F4 0220202D */ daddu $a0, $s1, $zero +/* 1892D8 8025A9F8 0240282D */ daddu $a1, $s2, $zero +/* 1892DC 8025A9FC 0C096657 */ jal func_8025995C +/* 1892E0 8025AA00 0260302D */ daddu $a2, $s3, $zero +/* 1892E4 8025AA04 08096A92 */ j func_8025AA48 +/* 1892E8 8025AA08 00000000 */ nop + +.L8025AA0C: +/* 1892EC 8025AA0C 0240282D */ daddu $a1, $s2, $zero +/* 1892F0 8025AA10 0C0965B0 */ jal func_802596C0 +/* 1892F4 8025AA14 0260302D */ daddu $a2, $s3, $zero +/* 1892F8 8025AA18 08096A92 */ j func_8025AA48 +/* 1892FC 8025AA1C 00000000 */ nop + +func_8025AA20: +.L8025AA20: +/* 189300 8025AA20 16800006 */ bnez $s4, .L8025AA3C +/* 189304 8025AA24 0220202D */ daddu $a0, $s1, $zero +/* 189308 8025AA28 0240282D */ daddu $a1, $s2, $zero +/* 18930C 8025AA2C 0C0965EC */ jal func_802597B0 +/* 189310 8025AA30 0260302D */ daddu $a2, $s3, $zero +/* 189314 8025AA34 08096A92 */ j func_8025AA48 +/* 189318 8025AA38 00000000 */ nop + +.L8025AA3C: +/* 18931C 8025AA3C 0240282D */ daddu $a1, $s2, $zero +/* 189320 8025AA40 0C096543 */ jal func_8025950C +/* 189324 8025AA44 0260302D */ daddu $a2, $s3, $zero +func_8025AA48: +/* 189328 8025AA48 16A00004 */ bnez $s5, .L8025AA5C +/* 18932C 8025AA4C 00000000 */ nop +/* 189330 8025AA50 960206CA */ lhu $v0, 0x6ca($s0) +/* 189334 8025AA54 24420001 */ addiu $v0, $v0, 1 +/* 189338 8025AA58 A60206CA */ sh $v0, 0x6ca($s0) +.L8025AA5C: +/* 18933C 8025AA5C 8FBF0028 */ lw $ra, 0x28($sp) +/* 189340 8025AA60 8FB50024 */ lw $s5, 0x24($sp) +/* 189344 8025AA64 8FB40020 */ lw $s4, 0x20($sp) +/* 189348 8025AA68 8FB3001C */ lw $s3, 0x1c($sp) +/* 18934C 8025AA6C 8FB20018 */ lw $s2, 0x18($sp) +/* 189350 8025AA70 8FB10014 */ lw $s1, 0x14($sp) +/* 189354 8025AA74 8FB00010 */ lw $s0, 0x10($sp) +/* 189358 8025AA78 03E00008 */ jr $ra +/* 18935C 8025AA7C 27BD0030 */ addiu $sp, $sp, 0x30 + +func_8025AA80: +/* 189360 8025AA80 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 189364 8025AA84 AFB20018 */ sw $s2, 0x18($sp) +/* 189368 8025AA88 0080902D */ daddu $s2, $a0, $zero +/* 18936C 8025AA8C AFB10014 */ sw $s1, 0x14($sp) +/* 189370 8025AA90 00A0882D */ daddu $s1, $a1, $zero +/* 189374 8025AA94 AFBF0024 */ sw $ra, 0x24($sp) +/* 189378 8025AA98 AFB40020 */ sw $s4, 0x20($sp) +/* 18937C 8025AA9C AFB3001C */ sw $s3, 0x1c($sp) +/* 189380 8025AAA0 AFB00010 */ sw $s0, 0x10($sp) +/* 189384 8025AAA4 8E3000C0 */ lw $s0, 0xc0($s1) +/* 189388 8025AAA8 00C0982D */ daddu $s3, $a2, $zero +/* 18938C 8025AAAC 820206C1 */ lb $v0, 0x6c1($s0) +/* 189390 8025AAB0 10400032 */ beqz $v0, .L8025AB7C +/* 189394 8025AAB4 00E0A02D */ daddu $s4, $a3, $zero +/* 189398 8025AAB8 16400017 */ bnez $s2, .L8025AB18 +/* 18939C 8025AABC 00000000 */ nop +/* 1893A0 8025AAC0 0C0B7830 */ jal func_802DE0C0 +/* 1893A4 8025AAC4 96240088 */ lhu $a0, 0x88($s1) +/* 1893A8 8025AAC8 AE0206D0 */ sw $v0, 0x6d0($s0) +/* 1893AC 8025AACC 0040202D */ daddu $a0, $v0, $zero +/* 1893B0 8025AAD0 A20006CD */ sb $zero, 0x6cd($s0) +/* 1893B4 8025AAD4 8C830000 */ lw $v1, ($a0) +/* 1893B8 8025AAD8 2402FFFF */ addiu $v0, $zero, -1 +/* 1893BC 8025AADC 50620024 */ beql $v1, $v0, .L8025AB70 +/* 1893C0 8025AAE0 A20006C2 */ sb $zero, 0x6c2($s0) +/* 1893C4 8025AAE4 0080182D */ daddu $v1, $a0, $zero +/* 1893C8 8025AAE8 0040202D */ daddu $a0, $v0, $zero +.L8025AAEC: +/* 1893CC 8025AAEC 920206CD */ lbu $v0, 0x6cd($s0) +/* 1893D0 8025AAF0 24420001 */ addiu $v0, $v0, 1 +/* 1893D4 8025AAF4 A20206CD */ sb $v0, 0x6cd($s0) +/* 1893D8 8025AAF8 00021600 */ sll $v0, $v0, 0x18 +/* 1893DC 8025AAFC 00021583 */ sra $v0, $v0, 0x16 +/* 1893E0 8025AB00 00431021 */ addu $v0, $v0, $v1 +/* 1893E4 8025AB04 8C420000 */ lw $v0, ($v0) +/* 1893E8 8025AB08 1444FFF8 */ bne $v0, $a0, .L8025AAEC +/* 1893EC 8025AB0C 00000000 */ nop +/* 1893F0 8025AB10 08096ADC */ j func_8025AB70 +/* 1893F4 8025AB14 A20006C2 */ sb $zero, 0x6c2($s0) + +.L8025AB18: +/* 1893F8 8025AB18 96240088 */ lhu $a0, 0x88($s1) +/* 1893FC 8025AB1C 0C0B7A90 */ jal func_802DEA40 +/* 189400 8025AB20 00000000 */ nop +/* 189404 8025AB24 AE0206D0 */ sw $v0, 0x6d0($s0) +/* 189408 8025AB28 0040202D */ daddu $a0, $v0, $zero +/* 18940C 8025AB2C A20006CD */ sb $zero, 0x6cd($s0) +/* 189410 8025AB30 8C830000 */ lw $v1, ($a0) +/* 189414 8025AB34 2402FFFF */ addiu $v0, $zero, -1 +/* 189418 8025AB38 5062000D */ beql $v1, $v0, .L8025AB70 +/* 18941C 8025AB3C A20006C2 */ sb $zero, 0x6c2($s0) +/* 189420 8025AB40 0080182D */ daddu $v1, $a0, $zero +/* 189424 8025AB44 0040202D */ daddu $a0, $v0, $zero +.L8025AB48: +/* 189428 8025AB48 920206CD */ lbu $v0, 0x6cd($s0) +/* 18942C 8025AB4C 24420001 */ addiu $v0, $v0, 1 +/* 189430 8025AB50 A20206CD */ sb $v0, 0x6cd($s0) +/* 189434 8025AB54 00021600 */ sll $v0, $v0, 0x18 +/* 189438 8025AB58 00021583 */ sra $v0, $v0, 0x16 +/* 18943C 8025AB5C 00431021 */ addu $v0, $v0, $v1 +/* 189440 8025AB60 8C420000 */ lw $v0, ($v0) +/* 189444 8025AB64 1444FFF8 */ bne $v0, $a0, .L8025AB48 +/* 189448 8025AB68 00000000 */ nop +/* 18944C 8025AB6C A20006C2 */ sb $zero, 0x6c2($s0) +func_8025AB70: +.L8025AB70: +/* 189450 8025AB70 A60006CA */ sh $zero, 0x6ca($s0) +/* 189454 8025AB74 A20006C2 */ sb $zero, 0x6c2($s0) +/* 189458 8025AB78 A20006C1 */ sb $zero, 0x6c1($s0) +.L8025AB7C: +/* 18945C 8025AB7C 820206CD */ lb $v0, 0x6cd($s0) +/* 189460 8025AB80 18400066 */ blez $v0, .L8025AD1C +/* 189464 8025AB84 0000402D */ daddu $t0, $zero, $zero +/* 189468 8025AB88 3C0B8000 */ lui $t3, 0x8000 +/* 18946C 8025AB8C 3C01802A */ lui $at, 0x802a +/* 189470 8025AB90 D428D408 */ ldc1 $f8, -0x2bf8($at) +/* 189474 8025AB94 3C0141E0 */ lui $at, 0x41e0 +/* 189478 8025AB98 44811800 */ mtc1 $at, $f3 +/* 18947C 8025AB9C 44801000 */ mtc1 $zero, $f2 +/* 189480 8025ABA0 3C01802A */ lui $at, 0x802a +/* 189484 8025ABA4 D426D410 */ ldc1 $f6, -0x2bf0($at) +/* 189488 8025ABA8 3C01802A */ lui $at, 0x802a +/* 18948C 8025ABAC D424D418 */ ldc1 $f4, -0x2be8($at) +.L8025ABB0: +/* 189490 8025ABB0 8E0206D0 */ lw $v0, 0x6d0($s0) +/* 189494 8025ABB4 00081880 */ sll $v1, $t0, 2 +/* 189498 8025ABB8 00621821 */ addu $v1, $v1, $v0 +/* 18949C 8025ABBC 00081140 */ sll $v0, $t0, 5 +/* 1894A0 8025ABC0 8C670000 */ lw $a3, ($v1) +/* 1894A4 8025ABC4 10E0004F */ beqz $a3, .L8025AD04 +/* 1894A8 8025ABC8 02025021 */ addu $t2, $s0, $v0 +/* 1894AC 8025ABCC 0000482D */ daddu $t1, $zero, $zero +.L8025ABD0: +/* 1894B0 8025ABD0 94E30000 */ lhu $v1, ($a3) +/* 1894B4 8025ABD4 000312C2 */ srl $v0, $v1, 0xb +/* 1894B8 8025ABD8 44820000 */ mtc1 $v0, $f0 +/* 1894BC 8025ABDC 00000000 */ nop +/* 1894C0 8025ABE0 46800021 */ cvt.d.w $f0, $f0 +/* 1894C4 8025ABE4 46280002 */ mul.d $f0, $f0, $f8 +/* 1894C8 8025ABE8 00000000 */ nop +/* 1894CC 8025ABEC 90E40001 */ lbu $a0, 1($a3) +/* 1894D0 8025ABF0 24E70002 */ addiu $a3, $a3, 2 +/* 1894D4 8025ABF4 00031182 */ srl $v0, $v1, 6 +/* 1894D8 8025ABF8 3042001F */ andi $v0, $v0, 0x1f +/* 1894DC 8025ABFC 00031842 */ srl $v1, $v1, 1 +/* 1894E0 8025AC00 3066001F */ andi $a2, $v1, 0x1f +/* 1894E4 8025AC04 4620103E */ c.le.d $f2, $f0 +/* 1894E8 8025AC08 00000000 */ nop +/* 1894EC 8025AC0C 45010005 */ bc1t .L8025AC24 +/* 1894F0 8025AC10 30840001 */ andi $a0, $a0, 1 +/* 1894F4 8025AC14 4620028D */ trunc.w.d $f10, $f0 +/* 1894F8 8025AC18 44035000 */ mfc1 $v1, $f10 +/* 1894FC 8025AC1C 08096B0F */ j func_8025AC3C +/* 189500 8025AC20 304200FF */ andi $v0, $v0, 0xff + +.L8025AC24: +/* 189504 8025AC24 46220001 */ sub.d $f0, $f0, $f2 +/* 189508 8025AC28 4620028D */ trunc.w.d $f10, $f0 +/* 18950C 8025AC2C 44035000 */ mfc1 $v1, $f10 +/* 189510 8025AC30 00000000 */ nop +/* 189514 8025AC34 006B1825 */ or $v1, $v1, $t3 +/* 189518 8025AC38 304200FF */ andi $v0, $v0, 0xff +func_8025AC3C: +/* 18951C 8025AC3C 44820000 */ mtc1 $v0, $f0 +/* 189520 8025AC40 00000000 */ nop +/* 189524 8025AC44 46800021 */ cvt.d.w $f0, $f0 +/* 189528 8025AC48 46260002 */ mul.d $f0, $f0, $f6 +/* 18952C 8025AC4C 00000000 */ nop +/* 189530 8025AC50 4620103E */ c.le.d $f2, $f0 +/* 189534 8025AC54 00000000 */ nop +/* 189538 8025AC58 45030005 */ bc1tl .L8025AC70 +/* 18953C 8025AC5C 46220001 */ sub.d $f0, $f0, $f2 +/* 189540 8025AC60 4620028D */ trunc.w.d $f10, $f0 +/* 189544 8025AC64 44055000 */ mfc1 $a1, $f10 +/* 189548 8025AC68 08096B21 */ j func_8025AC84 +/* 18954C 8025AC6C 30C200FF */ andi $v0, $a2, 0xff + +.L8025AC70: +/* 189550 8025AC70 4620028D */ trunc.w.d $f10, $f0 +/* 189554 8025AC74 44055000 */ mfc1 $a1, $f10 +/* 189558 8025AC78 00000000 */ nop +/* 18955C 8025AC7C 00AB2825 */ or $a1, $a1, $t3 +/* 189560 8025AC80 30C200FF */ andi $v0, $a2, 0xff +func_8025AC84: +/* 189564 8025AC84 44820000 */ mtc1 $v0, $f0 +/* 189568 8025AC88 00000000 */ nop +/* 18956C 8025AC8C 46800021 */ cvt.d.w $f0, $f0 +/* 189570 8025AC90 46240002 */ mul.d $f0, $f0, $f4 +/* 189574 8025AC94 00000000 */ nop +/* 189578 8025AC98 4620103E */ c.le.d $f2, $f0 +/* 18957C 8025AC9C 00000000 */ nop +/* 189580 8025ACA0 45010005 */ bc1t .L8025ACB8 +/* 189584 8025ACA4 00A0102D */ daddu $v0, $a1, $zero +/* 189588 8025ACA8 4620028D */ trunc.w.d $f10, $f0 +/* 18958C 8025ACAC 44055000 */ mfc1 $a1, $f10 +/* 189590 8025ACB0 08096B34 */ j func_8025ACD0 +/* 189594 8025ACB4 306300FF */ andi $v1, $v1, 0xff + +.L8025ACB8: +/* 189598 8025ACB8 46220001 */ sub.d $f0, $f0, $f2 +/* 18959C 8025ACBC 4620028D */ trunc.w.d $f10, $f0 +/* 1895A0 8025ACC0 44055000 */ mfc1 $a1, $f10 +/* 1895A4 8025ACC4 00000000 */ nop +/* 1895A8 8025ACC8 00AB2825 */ or $a1, $a1, $t3 +/* 1895AC 8025ACCC 306300FF */ andi $v1, $v1, 0xff +func_8025ACD0: +/* 1895B0 8025ACD0 00031AC0 */ sll $v1, $v1, 0xb +/* 1895B4 8025ACD4 304200FF */ andi $v0, $v0, 0xff +/* 1895B8 8025ACD8 00021180 */ sll $v0, $v0, 6 +/* 1895BC 8025ACDC 00621825 */ or $v1, $v1, $v0 +/* 1895C0 8025ACE0 30A200FF */ andi $v0, $a1, 0xff +/* 1895C4 8025ACE4 00021040 */ sll $v0, $v0, 1 +/* 1895C8 8025ACE8 00621825 */ or $v1, $v1, $v0 +/* 1895CC 8025ACEC 00831825 */ or $v1, $a0, $v1 +/* 1895D0 8025ACF0 A5430000 */ sh $v1, ($t2) +/* 1895D4 8025ACF4 25290001 */ addiu $t1, $t1, 1 +/* 1895D8 8025ACF8 29220010 */ slti $v0, $t1, 0x10 +/* 1895DC 8025ACFC 1440FFB4 */ bnez $v0, .L8025ABD0 +/* 1895E0 8025AD00 254A0002 */ addiu $t2, $t2, 2 +.L8025AD04: +/* 1895E4 8025AD04 820206CD */ lb $v0, 0x6cd($s0) +/* 1895E8 8025AD08 25080001 */ addiu $t0, $t0, 1 +/* 1895EC 8025AD0C 0102102A */ slt $v0, $t0, $v0 +/* 1895F0 8025AD10 1440FFA7 */ bnez $v0, .L8025ABB0 +/* 1895F4 8025AD14 00000000 */ nop +/* 1895F8 8025AD18 820206CD */ lb $v0, 0x6cd($s0) +.L8025AD1C: +/* 1895FC 8025AD1C 1840000A */ blez $v0, .L8025AD48 +/* 189600 8025AD20 0000402D */ daddu $t0, $zero, $zero +/* 189604 8025AD24 0200202D */ daddu $a0, $s0, $zero +/* 189608 8025AD28 0200182D */ daddu $v1, $s0, $zero +.L8025AD2C: +/* 18960C 8025AD2C AC6406D4 */ sw $a0, 0x6d4($v1) +/* 189610 8025AD30 24840020 */ addiu $a0, $a0, 0x20 +/* 189614 8025AD34 820206CD */ lb $v0, 0x6cd($s0) +/* 189618 8025AD38 25080001 */ addiu $t0, $t0, 1 +/* 18961C 8025AD3C 0102102A */ slt $v0, $t0, $v0 +/* 189620 8025AD40 1440FFFA */ bnez $v0, .L8025AD2C +/* 189624 8025AD44 24630004 */ addiu $v1, $v1, 4 +.L8025AD48: +/* 189628 8025AD48 16400006 */ bnez $s2, .L8025AD64 +/* 18962C 8025AD4C 0220202D */ daddu $a0, $s1, $zero +/* 189630 8025AD50 0260282D */ daddu $a1, $s3, $zero +/* 189634 8025AD54 0C096657 */ jal func_8025995C +/* 189638 8025AD58 0280302D */ daddu $a2, $s4, $zero +/* 18963C 8025AD5C 08096B5C */ j func_8025AD70 +/* 189640 8025AD60 00000000 */ nop + +.L8025AD64: +/* 189644 8025AD64 0260282D */ daddu $a1, $s3, $zero +/* 189648 8025AD68 0C0965B0 */ jal func_802596C0 +/* 18964C 8025AD6C 0280302D */ daddu $a2, $s4, $zero +func_8025AD70: +/* 189650 8025AD70 8FBF0024 */ lw $ra, 0x24($sp) +/* 189654 8025AD74 8FB40020 */ lw $s4, 0x20($sp) +/* 189658 8025AD78 8FB3001C */ lw $s3, 0x1c($sp) +/* 18965C 8025AD7C 8FB20018 */ lw $s2, 0x18($sp) +/* 189660 8025AD80 8FB10014 */ lw $s1, 0x14($sp) +/* 189664 8025AD84 8FB00010 */ lw $s0, 0x10($sp) +/* 189668 8025AD88 03E00008 */ jr $ra +/* 18966C 8025AD8C 27BD0028 */ addiu $sp, $sp, 0x28 + +func_8025AD90: +/* 189670 8025AD90 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* 189674 8025AD94 AFB20018 */ sw $s2, 0x18($sp) +/* 189678 8025AD98 0080902D */ daddu $s2, $a0, $zero +/* 18967C 8025AD9C AFB10014 */ sw $s1, 0x14($sp) +/* 189680 8025ADA0 00A0882D */ daddu $s1, $a1, $zero +/* 189684 8025ADA4 AFB3001C */ sw $s3, 0x1c($sp) +/* 189688 8025ADA8 00C0982D */ daddu $s3, $a2, $zero +/* 18968C 8025ADAC AFBF0028 */ sw $ra, 0x28($sp) +/* 189690 8025ADB0 AFB50024 */ sw $s5, 0x24($sp) +/* 189694 8025ADB4 AFB40020 */ sw $s4, 0x20($sp) +/* 189698 8025ADB8 AFB00010 */ sw $s0, 0x10($sp) +/* 18969C 8025ADBC 8E3000C0 */ lw $s0, 0xc0($s1) +/* 1896A0 8025ADC0 820206C1 */ lb $v0, 0x6c1($s0) +/* 1896A4 8025ADC4 8FB50040 */ lw $s5, 0x40($sp) +/* 1896A8 8025ADC8 1040004B */ beqz $v0, .L8025AEF8 +/* 1896AC 8025ADCC 00E0A02D */ daddu $s4, $a3, $zero +/* 1896B0 8025ADD0 16400016 */ bnez $s2, .L8025AE2C +/* 1896B4 8025ADD4 00000000 */ nop +/* 1896B8 8025ADD8 0C0B7830 */ jal func_802DE0C0 +/* 1896BC 8025ADDC 96240088 */ lhu $a0, 0x88($s1) +/* 1896C0 8025ADE0 AE0206D0 */ sw $v0, 0x6d0($s0) +/* 1896C4 8025ADE4 0040202D */ daddu $a0, $v0, $zero +/* 1896C8 8025ADE8 A20006CD */ sb $zero, 0x6cd($s0) +/* 1896CC 8025ADEC 8C830000 */ lw $v1, ($a0) +/* 1896D0 8025ADF0 2402FFFF */ addiu $v0, $zero, -1 +/* 1896D4 8025ADF4 1062000B */ beq $v1, $v0, .L8025AE24 +/* 1896D8 8025ADF8 0080182D */ daddu $v1, $a0, $zero +/* 1896DC 8025ADFC 0040202D */ daddu $a0, $v0, $zero +.L8025AE00: +/* 1896E0 8025AE00 920206CD */ lbu $v0, 0x6cd($s0) +/* 1896E4 8025AE04 24420001 */ addiu $v0, $v0, 1 +/* 1896E8 8025AE08 A20206CD */ sb $v0, 0x6cd($s0) +/* 1896EC 8025AE0C 00021600 */ sll $v0, $v0, 0x18 +/* 1896F0 8025AE10 00021583 */ sra $v0, $v0, 0x16 +/* 1896F4 8025AE14 00431021 */ addu $v0, $v0, $v1 +/* 1896F8 8025AE18 8C420000 */ lw $v0, ($v0) +/* 1896FC 8025AE1C 1444FFF8 */ bne $v0, $a0, .L8025AE00 +/* 189700 8025AE20 00000000 */ nop +.L8025AE24: +/* 189704 8025AE24 08096BA1 */ j func_8025AE84 +/* 189708 8025AE28 24020006 */ addiu $v0, $zero, 6 + +.L8025AE2C: +/* 18970C 8025AE2C 96240088 */ lhu $a0, 0x88($s1) +/* 189710 8025AE30 0C0B7A90 */ jal func_802DEA40 +/* 189714 8025AE34 00000000 */ nop +/* 189718 8025AE38 AE0206D0 */ sw $v0, 0x6d0($s0) +/* 18971C 8025AE3C 0040202D */ daddu $a0, $v0, $zero +/* 189720 8025AE40 A20006CD */ sb $zero, 0x6cd($s0) +/* 189724 8025AE44 8C830000 */ lw $v1, ($a0) +/* 189728 8025AE48 2402FFFF */ addiu $v0, $zero, -1 +/* 18972C 8025AE4C 1062000B */ beq $v1, $v0, .L8025AE7C +/* 189730 8025AE50 0080182D */ daddu $v1, $a0, $zero +/* 189734 8025AE54 0040202D */ daddu $a0, $v0, $zero +.L8025AE58: +/* 189738 8025AE58 920206CD */ lbu $v0, 0x6cd($s0) +/* 18973C 8025AE5C 24420001 */ addiu $v0, $v0, 1 +/* 189740 8025AE60 A20206CD */ sb $v0, 0x6cd($s0) +/* 189744 8025AE64 00021600 */ sll $v0, $v0, 0x18 +/* 189748 8025AE68 00021583 */ sra $v0, $v0, 0x16 +/* 18974C 8025AE6C 00431021 */ addu $v0, $v0, $v1 +/* 189750 8025AE70 8C420000 */ lw $v0, ($v0) +/* 189754 8025AE74 1444FFF8 */ bne $v0, $a0, .L8025AE58 +/* 189758 8025AE78 00000000 */ nop +.L8025AE7C: +/* 18975C 8025AE7C 0C0B7A9B */ jal func_802DEA6C +/* 189760 8025AE80 96240088 */ lhu $a0, 0x88($s1) +func_8025AE84: +/* 189764 8025AE84 A20206CC */ sb $v0, 0x6cc($s0) +/* 189768 8025AE88 820206CD */ lb $v0, 0x6cd($s0) +/* 18976C 8025AE8C 18400015 */ blez $v0, .L8025AEE4 +/* 189770 8025AE90 0000302D */ daddu $a2, $zero, $zero +.L8025AE94: +/* 189774 8025AE94 8E0206D0 */ lw $v0, 0x6d0($s0) +/* 189778 8025AE98 00061880 */ sll $v1, $a2, 2 +/* 18977C 8025AE9C 00621821 */ addu $v1, $v1, $v0 +/* 189780 8025AEA0 00061140 */ sll $v0, $a2, 5 +/* 189784 8025AEA4 8C630000 */ lw $v1, ($v1) +/* 189788 8025AEA8 10600009 */ beqz $v1, .L8025AED0 +/* 18978C 8025AEAC 02022821 */ addu $a1, $s0, $v0 +/* 189790 8025AEB0 0000202D */ daddu $a0, $zero, $zero +.L8025AEB4: +/* 189794 8025AEB4 94620000 */ lhu $v0, ($v1) +/* 189798 8025AEB8 24630002 */ addiu $v1, $v1, 2 +/* 18979C 8025AEBC 24840001 */ addiu $a0, $a0, 1 +/* 1897A0 8025AEC0 A4A20000 */ sh $v0, ($a1) +/* 1897A4 8025AEC4 28820010 */ slti $v0, $a0, 0x10 +/* 1897A8 8025AEC8 1440FFFA */ bnez $v0, .L8025AEB4 +/* 1897AC 8025AECC 24A50002 */ addiu $a1, $a1, 2 +.L8025AED0: +/* 1897B0 8025AED0 820206CD */ lb $v0, 0x6cd($s0) +/* 1897B4 8025AED4 24C60001 */ addiu $a2, $a2, 1 +/* 1897B8 8025AED8 00C2102A */ slt $v0, $a2, $v0 +/* 1897BC 8025AEDC 1440FFED */ bnez $v0, .L8025AE94 +/* 1897C0 8025AEE0 00000000 */ nop +.L8025AEE4: +/* 1897C4 8025AEE4 2402FFFE */ addiu $v0, $zero, -2 +/* 1897C8 8025AEE8 A20206C2 */ sb $v0, 0x6c2($s0) +/* 1897CC 8025AEEC A60006CA */ sh $zero, 0x6ca($s0) +/* 1897D0 8025AEF0 A20006C1 */ sb $zero, 0x6c1($s0) +/* 1897D4 8025AEF4 A60006C8 */ sh $zero, 0x6c8($s0) +.L8025AEF8: +/* 1897D8 8025AEF8 16A0001E */ bnez $s5, .L8025AF74 +/* 1897DC 8025AEFC 00000000 */ nop +/* 1897E0 8025AF00 860206C8 */ lh $v0, 0x6c8($s0) +/* 1897E4 8025AF04 14400013 */ bnez $v0, .L8025AF54 +/* 1897E8 8025AF08 00000000 */ nop +/* 1897EC 8025AF0C 920206C2 */ lbu $v0, 0x6c2($s0) +/* 1897F0 8025AF10 3C048028 */ lui $a0, 0x8028 +/* 1897F4 8025AF14 24844104 */ addiu $a0, $a0, 0x4104 +/* 1897F8 8025AF18 24420002 */ addiu $v0, $v0, 2 +/* 1897FC 8025AF1C A20206C2 */ sb $v0, 0x6c2($s0) +/* 189800 8025AF20 00021600 */ sll $v0, $v0, 0x18 +/* 189804 8025AF24 00021603 */ sra $v0, $v0, 0x18 +/* 189808 8025AF28 3C038028 */ lui $v1, 0x8028 +/* 18980C 8025AF2C 00621821 */ addu $v1, $v1, $v0 +/* 189810 8025AF30 90634104 */ lbu $v1, 0x4104($v1) +/* 189814 8025AF34 240200FF */ addiu $v0, $zero, 0xff +/* 189818 8025AF38 50620001 */ beql $v1, $v0, .L8025AF40 +/* 18981C 8025AF3C A20006C2 */ sb $zero, 0x6c2($s0) +.L8025AF40: +/* 189820 8025AF40 820206C2 */ lb $v0, 0x6c2($s0) +/* 189824 8025AF44 00441021 */ addu $v0, $v0, $a0 +/* 189828 8025AF48 90420001 */ lbu $v0, 1($v0) +/* 18982C 8025AF4C 00021042 */ srl $v0, $v0, 1 +/* 189830 8025AF50 A60206C8 */ sh $v0, 0x6c8($s0) +.L8025AF54: +/* 189834 8025AF54 820306C2 */ lb $v1, 0x6c2($s0) +/* 189838 8025AF58 960206C8 */ lhu $v0, 0x6c8($s0) +/* 18983C 8025AF5C 3C018028 */ lui $at, 0x8028 +/* 189840 8025AF60 00230821 */ addu $at, $at, $v1 +/* 189844 8025AF64 90234104 */ lbu $v1, 0x4104($at) +/* 189848 8025AF68 2442FFFF */ addiu $v0, $v0, -1 +/* 18984C 8025AF6C 08096BE1 */ j func_8025AF84 +/* 189850 8025AF70 A60206C8 */ sh $v0, 0x6c8($s0) + +.L8025AF74: +/* 189854 8025AF74 820206C2 */ lb $v0, 0x6c2($s0) +/* 189858 8025AF78 3C038028 */ lui $v1, 0x8028 +/* 18985C 8025AF7C 00621821 */ addu $v1, $v1, $v0 +/* 189860 8025AF80 90634104 */ lbu $v1, 0x4104($v1) +func_8025AF84: +/* 189864 8025AF84 24020001 */ addiu $v0, $zero, 1 +/* 189868 8025AF88 10620024 */ beq $v1, $v0, .L8025B01C +/* 18986C 8025AF8C 28620002 */ slti $v0, $v1, 2 +/* 189870 8025AF90 10400005 */ beqz $v0, .L8025AFA8 +/* 189874 8025AF94 24020002 */ addiu $v0, $zero, 2 +/* 189878 8025AF98 10600007 */ beqz $v1, .L8025AFB8 +/* 18987C 8025AF9C 00000000 */ nop +/* 189880 8025AFA0 08096C46 */ j func_8025B118 +/* 189884 8025AFA4 00000000 */ nop + +.L8025AFA8: +/* 189888 8025AFA8 1062003C */ beq $v1, $v0, .L8025B09C +/* 18988C 8025AFAC 00000000 */ nop +/* 189890 8025AFB0 08096C46 */ j func_8025B118 +/* 189894 8025AFB4 00000000 */ nop + +.L8025AFB8: +/* 189898 8025AFB8 820206CC */ lb $v0, 0x6cc($s0) +/* 18989C 8025AFBC 18400056 */ blez $v0, .L8025B118 +/* 1898A0 8025AFC0 0000302D */ daddu $a2, $zero, $zero +func_8025AFC4: +/* 1898A4 8025AFC4 8E0206D0 */ lw $v0, 0x6d0($s0) +/* 1898A8 8025AFC8 00061880 */ sll $v1, $a2, 2 +/* 1898AC 8025AFCC 00621821 */ addu $v1, $v1, $v0 +/* 1898B0 8025AFD0 00061140 */ sll $v0, $a2, 5 +/* 1898B4 8025AFD4 8C630000 */ lw $v1, ($v1) +/* 1898B8 8025AFD8 10600009 */ beqz $v1, .L8025B000 +/* 1898BC 8025AFDC 02022821 */ addu $a1, $s0, $v0 +/* 1898C0 8025AFE0 0000202D */ daddu $a0, $zero, $zero +.L8025AFE4: +/* 1898C4 8025AFE4 94620000 */ lhu $v0, ($v1) +/* 1898C8 8025AFE8 24630002 */ addiu $v1, $v1, 2 +/* 1898CC 8025AFEC 24840001 */ addiu $a0, $a0, 1 +/* 1898D0 8025AFF0 A4A20000 */ sh $v0, ($a1) +/* 1898D4 8025AFF4 28820010 */ slti $v0, $a0, 0x10 +/* 1898D8 8025AFF8 1440FFFA */ bnez $v0, .L8025AFE4 +/* 1898DC 8025AFFC 24A50002 */ addiu $a1, $a1, 2 +.L8025B000: +/* 1898E0 8025B000 820206CC */ lb $v0, 0x6cc($s0) +/* 1898E4 8025B004 24C60001 */ addiu $a2, $a2, 1 +/* 1898E8 8025B008 00C2102A */ slt $v0, $a2, $v0 +/* 1898EC 8025B00C 10400042 */ beqz $v0, .L8025B118 +/* 1898F0 8025B010 00000000 */ nop +/* 1898F4 8025B014 08096BF1 */ j func_8025AFC4 +/* 1898F8 8025B018 00000000 */ nop + +.L8025B01C: +/* 1898FC 8025B01C 820206CC */ lb $v0, 0x6cc($s0) +/* 189900 8025B020 920306CC */ lbu $v1, 0x6cc($s0) +/* 189904 8025B024 1840003C */ blez $v0, .L8025B118 +/* 189908 8025B028 0000302D */ daddu $a2, $zero, $zero +/* 18990C 8025B02C 00031E00 */ sll $v1, $v1, 0x18 +.L8025B030: +/* 189910 8025B030 00031E03 */ sra $v1, $v1, 0x18 +/* 189914 8025B034 00031080 */ sll $v0, $v1, 2 +/* 189918 8025B038 00431021 */ addu $v0, $v0, $v1 +/* 18991C 8025B03C 00461021 */ addu $v0, $v0, $a2 +/* 189920 8025B040 8E0306D0 */ lw $v1, 0x6d0($s0) +/* 189924 8025B044 00021080 */ sll $v0, $v0, 2 +/* 189928 8025B048 00431021 */ addu $v0, $v0, $v1 +/* 18992C 8025B04C 8C430000 */ lw $v1, ($v0) +/* 189930 8025B050 00061140 */ sll $v0, $a2, 5 +/* 189934 8025B054 10600009 */ beqz $v1, .L8025B07C +/* 189938 8025B058 02022821 */ addu $a1, $s0, $v0 +/* 18993C 8025B05C 0000202D */ daddu $a0, $zero, $zero +.L8025B060: +/* 189940 8025B060 94620000 */ lhu $v0, ($v1) +/* 189944 8025B064 24630002 */ addiu $v1, $v1, 2 +/* 189948 8025B068 24840001 */ addiu $a0, $a0, 1 +/* 18994C 8025B06C A4A20000 */ sh $v0, ($a1) +/* 189950 8025B070 28820010 */ slti $v0, $a0, 0x10 +/* 189954 8025B074 1440FFFA */ bnez $v0, .L8025B060 +/* 189958 8025B078 24A50002 */ addiu $a1, $a1, 2 +.L8025B07C: +/* 18995C 8025B07C 24C60001 */ addiu $a2, $a2, 1 +/* 189960 8025B080 820206CC */ lb $v0, 0x6cc($s0) +/* 189964 8025B084 920306CC */ lbu $v1, 0x6cc($s0) +/* 189968 8025B088 00C2102A */ slt $v0, $a2, $v0 +/* 18996C 8025B08C 5440FFE8 */ bnezl $v0, .L8025B030 +/* 189970 8025B090 00031E00 */ sll $v1, $v1, 0x18 +/* 189974 8025B094 08096C46 */ j func_8025B118 +/* 189978 8025B098 00000000 */ nop + +.L8025B09C: +/* 18997C 8025B09C 820206CC */ lb $v0, 0x6cc($s0) +/* 189980 8025B0A0 920306CC */ lbu $v1, 0x6cc($s0) +/* 189984 8025B0A4 1840001C */ blez $v0, .L8025B118 +/* 189988 8025B0A8 0000302D */ daddu $a2, $zero, $zero +/* 18998C 8025B0AC 00031E00 */ sll $v1, $v1, 0x18 +.L8025B0B0: +/* 189990 8025B0B0 00031E03 */ sra $v1, $v1, 0x18 +/* 189994 8025B0B4 00031040 */ sll $v0, $v1, 1 +/* 189998 8025B0B8 00431021 */ addu $v0, $v0, $v1 +/* 18999C 8025B0BC 00021040 */ sll $v0, $v0, 1 +/* 1899A0 8025B0C0 00461021 */ addu $v0, $v0, $a2 +/* 1899A4 8025B0C4 8E0306D0 */ lw $v1, 0x6d0($s0) +/* 1899A8 8025B0C8 00021080 */ sll $v0, $v0, 2 +/* 1899AC 8025B0CC 00431021 */ addu $v0, $v0, $v1 +/* 1899B0 8025B0D0 8C430000 */ lw $v1, ($v0) +/* 1899B4 8025B0D4 00061140 */ sll $v0, $a2, 5 +/* 1899B8 8025B0D8 10600009 */ beqz $v1, .L8025B100 +/* 1899BC 8025B0DC 02022821 */ addu $a1, $s0, $v0 +/* 1899C0 8025B0E0 0000202D */ daddu $a0, $zero, $zero +.L8025B0E4: +/* 1899C4 8025B0E4 94620000 */ lhu $v0, ($v1) +/* 1899C8 8025B0E8 24630002 */ addiu $v1, $v1, 2 +/* 1899CC 8025B0EC 24840001 */ addiu $a0, $a0, 1 +/* 1899D0 8025B0F0 A4A20000 */ sh $v0, ($a1) +/* 1899D4 8025B0F4 28820010 */ slti $v0, $a0, 0x10 +/* 1899D8 8025B0F8 1440FFFA */ bnez $v0, .L8025B0E4 +/* 1899DC 8025B0FC 24A50002 */ addiu $a1, $a1, 2 +.L8025B100: +/* 1899E0 8025B100 24C60001 */ addiu $a2, $a2, 1 +/* 1899E4 8025B104 820206CC */ lb $v0, 0x6cc($s0) +/* 1899E8 8025B108 920306CC */ lbu $v1, 0x6cc($s0) +/* 1899EC 8025B10C 00C2102A */ slt $v0, $a2, $v0 +/* 1899F0 8025B110 5440FFE7 */ bnezl $v0, .L8025B0B0 +/* 1899F4 8025B114 00031E00 */ sll $v1, $v1, 0x18 +func_8025B118: +.L8025B118: +/* 1899F8 8025B118 820206CD */ lb $v0, 0x6cd($s0) +/* 1899FC 8025B11C 1840000A */ blez $v0, .L8025B148 +/* 189A00 8025B120 0000302D */ daddu $a2, $zero, $zero +/* 189A04 8025B124 0200202D */ daddu $a0, $s0, $zero +/* 189A08 8025B128 0200182D */ daddu $v1, $s0, $zero +.L8025B12C: +/* 189A0C 8025B12C AC6406D4 */ sw $a0, 0x6d4($v1) +/* 189A10 8025B130 24840020 */ addiu $a0, $a0, 0x20 +/* 189A14 8025B134 820206CD */ lb $v0, 0x6cd($s0) +/* 189A18 8025B138 24C60001 */ addiu $a2, $a2, 1 +/* 189A1C 8025B13C 00C2102A */ slt $v0, $a2, $v0 +/* 189A20 8025B140 1440FFFA */ bnez $v0, .L8025B12C +/* 189A24 8025B144 24630004 */ addiu $v1, $v1, 4 +.L8025B148: +/* 189A28 8025B148 16400006 */ bnez $s2, .L8025B164 +/* 189A2C 8025B14C 0220202D */ daddu $a0, $s1, $zero +/* 189A30 8025B150 0260282D */ daddu $a1, $s3, $zero +/* 189A34 8025B154 0C096657 */ jal func_8025995C +/* 189A38 8025B158 0280302D */ daddu $a2, $s4, $zero +/* 189A3C 8025B15C 08096C5C */ j func_8025B170 +/* 189A40 8025B160 00000000 */ nop + +.L8025B164: +/* 189A44 8025B164 0260282D */ daddu $a1, $s3, $zero +/* 189A48 8025B168 0C0965B0 */ jal func_802596C0 +/* 189A4C 8025B16C 0280302D */ daddu $a2, $s4, $zero +func_8025B170: +/* 189A50 8025B170 16A00004 */ bnez $s5, .L8025B184 +/* 189A54 8025B174 00000000 */ nop +/* 189A58 8025B178 960206CA */ lhu $v0, 0x6ca($s0) +/* 189A5C 8025B17C 2442FFFF */ addiu $v0, $v0, -1 +/* 189A60 8025B180 A60206CA */ sh $v0, 0x6ca($s0) +.L8025B184: +/* 189A64 8025B184 8FBF0028 */ lw $ra, 0x28($sp) +/* 189A68 8025B188 8FB50024 */ lw $s5, 0x24($sp) +/* 189A6C 8025B18C 8FB40020 */ lw $s4, 0x20($sp) +/* 189A70 8025B190 8FB3001C */ lw $s3, 0x1c($sp) +/* 189A74 8025B194 8FB20018 */ lw $s2, 0x18($sp) +/* 189A78 8025B198 8FB10014 */ lw $s1, 0x14($sp) +/* 189A7C 8025B19C 8FB00010 */ lw $s0, 0x10($sp) +/* 189A80 8025B1A0 03E00008 */ jr $ra +/* 189A84 8025B1A4 27BD0030 */ addiu $sp, $sp, 0x30 + +func_8025B1A8: +/* 189A88 8025B1A8 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* 189A8C 8025B1AC AFB20018 */ sw $s2, 0x18($sp) +/* 189A90 8025B1B0 0080902D */ daddu $s2, $a0, $zero +/* 189A94 8025B1B4 AFB10014 */ sw $s1, 0x14($sp) +/* 189A98 8025B1B8 00A0882D */ daddu $s1, $a1, $zero +/* 189A9C 8025B1BC AFB3001C */ sw $s3, 0x1c($sp) +/* 189AA0 8025B1C0 00C0982D */ daddu $s3, $a2, $zero +/* 189AA4 8025B1C4 AFBF0028 */ sw $ra, 0x28($sp) +/* 189AA8 8025B1C8 AFB50024 */ sw $s5, 0x24($sp) +/* 189AAC 8025B1CC AFB40020 */ sw $s4, 0x20($sp) +/* 189AB0 8025B1D0 AFB00010 */ sw $s0, 0x10($sp) +/* 189AB4 8025B1D4 8E3000C0 */ lw $s0, 0xc0($s1) +/* 189AB8 8025B1D8 820206C1 */ lb $v0, 0x6c1($s0) +/* 189ABC 8025B1DC 8FB50040 */ lw $s5, 0x40($sp) +/* 189AC0 8025B1E0 1040004B */ beqz $v0, .L8025B310 +/* 189AC4 8025B1E4 00E0A02D */ daddu $s4, $a3, $zero +/* 189AC8 8025B1E8 16400016 */ bnez $s2, .L8025B244 +/* 189ACC 8025B1EC 00000000 */ nop +/* 189AD0 8025B1F0 0C0B7830 */ jal func_802DE0C0 +/* 189AD4 8025B1F4 96240088 */ lhu $a0, 0x88($s1) +/* 189AD8 8025B1F8 AE0206D0 */ sw $v0, 0x6d0($s0) +/* 189ADC 8025B1FC 0040202D */ daddu $a0, $v0, $zero +/* 189AE0 8025B200 A20006CD */ sb $zero, 0x6cd($s0) +/* 189AE4 8025B204 8C830000 */ lw $v1, ($a0) +/* 189AE8 8025B208 2402FFFF */ addiu $v0, $zero, -1 +/* 189AEC 8025B20C 1062000B */ beq $v1, $v0, .L8025B23C +/* 189AF0 8025B210 0080182D */ daddu $v1, $a0, $zero +/* 189AF4 8025B214 0040202D */ daddu $a0, $v0, $zero +.L8025B218: +/* 189AF8 8025B218 920206CD */ lbu $v0, 0x6cd($s0) +/* 189AFC 8025B21C 24420001 */ addiu $v0, $v0, 1 +/* 189B00 8025B220 A20206CD */ sb $v0, 0x6cd($s0) +/* 189B04 8025B224 00021600 */ sll $v0, $v0, 0x18 +/* 189B08 8025B228 00021583 */ sra $v0, $v0, 0x16 +/* 189B0C 8025B22C 00431021 */ addu $v0, $v0, $v1 +/* 189B10 8025B230 8C420000 */ lw $v0, ($v0) +/* 189B14 8025B234 1444FFF8 */ bne $v0, $a0, .L8025B218 +/* 189B18 8025B238 00000000 */ nop +.L8025B23C: +/* 189B1C 8025B23C 08096CA7 */ j func_8025B29C +/* 189B20 8025B240 24020006 */ addiu $v0, $zero, 6 + +.L8025B244: +/* 189B24 8025B244 96240088 */ lhu $a0, 0x88($s1) +/* 189B28 8025B248 0C0B7A90 */ jal func_802DEA40 +/* 189B2C 8025B24C 00000000 */ nop +/* 189B30 8025B250 AE0206D0 */ sw $v0, 0x6d0($s0) +/* 189B34 8025B254 0040202D */ daddu $a0, $v0, $zero +/* 189B38 8025B258 A20006CD */ sb $zero, 0x6cd($s0) +/* 189B3C 8025B25C 8C830000 */ lw $v1, ($a0) +/* 189B40 8025B260 2402FFFF */ addiu $v0, $zero, -1 +/* 189B44 8025B264 1062000B */ beq $v1, $v0, .L8025B294 +/* 189B48 8025B268 0080182D */ daddu $v1, $a0, $zero +/* 189B4C 8025B26C 0040202D */ daddu $a0, $v0, $zero +.L8025B270: +/* 189B50 8025B270 920206CD */ lbu $v0, 0x6cd($s0) +/* 189B54 8025B274 24420001 */ addiu $v0, $v0, 1 +/* 189B58 8025B278 A20206CD */ sb $v0, 0x6cd($s0) +/* 189B5C 8025B27C 00021600 */ sll $v0, $v0, 0x18 +/* 189B60 8025B280 00021583 */ sra $v0, $v0, 0x16 +/* 189B64 8025B284 00431021 */ addu $v0, $v0, $v1 +/* 189B68 8025B288 8C420000 */ lw $v0, ($v0) +/* 189B6C 8025B28C 1444FFF8 */ bne $v0, $a0, .L8025B270 +/* 189B70 8025B290 00000000 */ nop +.L8025B294: +/* 189B74 8025B294 0C0B7A9B */ jal func_802DEA6C +/* 189B78 8025B298 96240088 */ lhu $a0, 0x88($s1) +func_8025B29C: +/* 189B7C 8025B29C A20206CC */ sb $v0, 0x6cc($s0) +/* 189B80 8025B2A0 820206CD */ lb $v0, 0x6cd($s0) +/* 189B84 8025B2A4 18400015 */ blez $v0, .L8025B2FC +/* 189B88 8025B2A8 0000302D */ daddu $a2, $zero, $zero +.L8025B2AC: +/* 189B8C 8025B2AC 8E0206D0 */ lw $v0, 0x6d0($s0) +/* 189B90 8025B2B0 00061880 */ sll $v1, $a2, 2 +/* 189B94 8025B2B4 00621821 */ addu $v1, $v1, $v0 +/* 189B98 8025B2B8 00061140 */ sll $v0, $a2, 5 +/* 189B9C 8025B2BC 8C630000 */ lw $v1, ($v1) +/* 189BA0 8025B2C0 10600009 */ beqz $v1, .L8025B2E8 +/* 189BA4 8025B2C4 02022821 */ addu $a1, $s0, $v0 +/* 189BA8 8025B2C8 0000202D */ daddu $a0, $zero, $zero +.L8025B2CC: +/* 189BAC 8025B2CC 94620000 */ lhu $v0, ($v1) +/* 189BB0 8025B2D0 24630002 */ addiu $v1, $v1, 2 +/* 189BB4 8025B2D4 24840001 */ addiu $a0, $a0, 1 +/* 189BB8 8025B2D8 A4A20000 */ sh $v0, ($a1) +/* 189BBC 8025B2DC 28820010 */ slti $v0, $a0, 0x10 +/* 189BC0 8025B2E0 1440FFFA */ bnez $v0, .L8025B2CC +/* 189BC4 8025B2E4 24A50002 */ addiu $a1, $a1, 2 +.L8025B2E8: +/* 189BC8 8025B2E8 820206CD */ lb $v0, 0x6cd($s0) +/* 189BCC 8025B2EC 24C60001 */ addiu $a2, $a2, 1 +/* 189BD0 8025B2F0 00C2102A */ slt $v0, $a2, $v0 +/* 189BD4 8025B2F4 1440FFED */ bnez $v0, .L8025B2AC +/* 189BD8 8025B2F8 00000000 */ nop +.L8025B2FC: +/* 189BDC 8025B2FC 2402FFFE */ addiu $v0, $zero, -2 +/* 189BE0 8025B300 A20206C2 */ sb $v0, 0x6c2($s0) +/* 189BE4 8025B304 A60006CA */ sh $zero, 0x6ca($s0) +/* 189BE8 8025B308 A20006C1 */ sb $zero, 0x6c1($s0) +/* 189BEC 8025B30C A60006C8 */ sh $zero, 0x6c8($s0) +.L8025B310: +/* 189BF0 8025B310 16A0001E */ bnez $s5, .L8025B38C +/* 189BF4 8025B314 00000000 */ nop +/* 189BF8 8025B318 860206C8 */ lh $v0, 0x6c8($s0) +/* 189BFC 8025B31C 14400013 */ bnez $v0, .L8025B36C +/* 189C00 8025B320 00000000 */ nop +/* 189C04 8025B324 920206C2 */ lbu $v0, 0x6c2($s0) +/* 189C08 8025B328 3C048028 */ lui $a0, 0x8028 +/* 189C0C 8025B32C 24844120 */ addiu $a0, $a0, 0x4120 +/* 189C10 8025B330 24420002 */ addiu $v0, $v0, 2 +/* 189C14 8025B334 A20206C2 */ sb $v0, 0x6c2($s0) +/* 189C18 8025B338 00021600 */ sll $v0, $v0, 0x18 +/* 189C1C 8025B33C 00021603 */ sra $v0, $v0, 0x18 +/* 189C20 8025B340 3C038028 */ lui $v1, 0x8028 +/* 189C24 8025B344 00621821 */ addu $v1, $v1, $v0 +/* 189C28 8025B348 90634120 */ lbu $v1, 0x4120($v1) +/* 189C2C 8025B34C 240200FF */ addiu $v0, $zero, 0xff +/* 189C30 8025B350 50620001 */ beql $v1, $v0, .L8025B358 +/* 189C34 8025B354 A20006C2 */ sb $zero, 0x6c2($s0) +.L8025B358: +/* 189C38 8025B358 820206C2 */ lb $v0, 0x6c2($s0) +/* 189C3C 8025B35C 00441021 */ addu $v0, $v0, $a0 +/* 189C40 8025B360 90420001 */ lbu $v0, 1($v0) +/* 189C44 8025B364 00021042 */ srl $v0, $v0, 1 +/* 189C48 8025B368 A60206C8 */ sh $v0, 0x6c8($s0) +.L8025B36C: +/* 189C4C 8025B36C 820306C2 */ lb $v1, 0x6c2($s0) +/* 189C50 8025B370 960206C8 */ lhu $v0, 0x6c8($s0) +/* 189C54 8025B374 3C018028 */ lui $at, 0x8028 +/* 189C58 8025B378 00230821 */ addu $at, $at, $v1 +/* 189C5C 8025B37C 90234120 */ lbu $v1, 0x4120($at) +/* 189C60 8025B380 2442FFFF */ addiu $v0, $v0, -1 +/* 189C64 8025B384 08096CE7 */ j func_8025B39C +/* 189C68 8025B388 A60206C8 */ sh $v0, 0x6c8($s0) + +.L8025B38C: +/* 189C6C 8025B38C 820206C2 */ lb $v0, 0x6c2($s0) +/* 189C70 8025B390 3C038028 */ lui $v1, 0x8028 +/* 189C74 8025B394 00621821 */ addu $v1, $v1, $v0 +/* 189C78 8025B398 90634120 */ lbu $v1, 0x4120($v1) +func_8025B39C: +/* 189C7C 8025B39C 24020001 */ addiu $v0, $zero, 1 +/* 189C80 8025B3A0 10620024 */ beq $v1, $v0, .L8025B434 +/* 189C84 8025B3A4 28620002 */ slti $v0, $v1, 2 +/* 189C88 8025B3A8 10400005 */ beqz $v0, .L8025B3C0 +/* 189C8C 8025B3AC 24020002 */ addiu $v0, $zero, 2 +/* 189C90 8025B3B0 10600007 */ beqz $v1, .L8025B3D0 +/* 189C94 8025B3B4 00000000 */ nop +/* 189C98 8025B3B8 08096D4C */ j func_8025B530 +/* 189C9C 8025B3BC 00000000 */ nop + +.L8025B3C0: +/* 189CA0 8025B3C0 1062003C */ beq $v1, $v0, .L8025B4B4 +/* 189CA4 8025B3C4 00000000 */ nop +/* 189CA8 8025B3C8 08096D4C */ j func_8025B530 +/* 189CAC 8025B3CC 00000000 */ nop + +.L8025B3D0: +/* 189CB0 8025B3D0 820206CC */ lb $v0, 0x6cc($s0) +/* 189CB4 8025B3D4 18400056 */ blez $v0, .L8025B530 +/* 189CB8 8025B3D8 0000302D */ daddu $a2, $zero, $zero +func_8025B3DC: +/* 189CBC 8025B3DC 8E0206D0 */ lw $v0, 0x6d0($s0) +/* 189CC0 8025B3E0 00061880 */ sll $v1, $a2, 2 +/* 189CC4 8025B3E4 00621821 */ addu $v1, $v1, $v0 +/* 189CC8 8025B3E8 00061140 */ sll $v0, $a2, 5 +/* 189CCC 8025B3EC 8C630000 */ lw $v1, ($v1) +/* 189CD0 8025B3F0 10600009 */ beqz $v1, .L8025B418 +/* 189CD4 8025B3F4 02022821 */ addu $a1, $s0, $v0 +/* 189CD8 8025B3F8 0000202D */ daddu $a0, $zero, $zero +.L8025B3FC: +/* 189CDC 8025B3FC 94620000 */ lhu $v0, ($v1) +/* 189CE0 8025B400 24630002 */ addiu $v1, $v1, 2 +/* 189CE4 8025B404 24840001 */ addiu $a0, $a0, 1 +/* 189CE8 8025B408 A4A20000 */ sh $v0, ($a1) +/* 189CEC 8025B40C 28820010 */ slti $v0, $a0, 0x10 +/* 189CF0 8025B410 1440FFFA */ bnez $v0, .L8025B3FC +/* 189CF4 8025B414 24A50002 */ addiu $a1, $a1, 2 +.L8025B418: +/* 189CF8 8025B418 820206CC */ lb $v0, 0x6cc($s0) +/* 189CFC 8025B41C 24C60001 */ addiu $a2, $a2, 1 +/* 189D00 8025B420 00C2102A */ slt $v0, $a2, $v0 +/* 189D04 8025B424 10400042 */ beqz $v0, .L8025B530 +/* 189D08 8025B428 00000000 */ nop +/* 189D0C 8025B42C 08096CF7 */ j func_8025B3DC +/* 189D10 8025B430 00000000 */ nop + +.L8025B434: +/* 189D14 8025B434 820206CC */ lb $v0, 0x6cc($s0) +/* 189D18 8025B438 920306CC */ lbu $v1, 0x6cc($s0) +/* 189D1C 8025B43C 1840003C */ blez $v0, .L8025B530 +/* 189D20 8025B440 0000302D */ daddu $a2, $zero, $zero +/* 189D24 8025B444 00031E00 */ sll $v1, $v1, 0x18 +.L8025B448: +/* 189D28 8025B448 00031E03 */ sra $v1, $v1, 0x18 +/* 189D2C 8025B44C 00031080 */ sll $v0, $v1, 2 +/* 189D30 8025B450 00431021 */ addu $v0, $v0, $v1 +/* 189D34 8025B454 00461021 */ addu $v0, $v0, $a2 +/* 189D38 8025B458 8E0306D0 */ lw $v1, 0x6d0($s0) +/* 189D3C 8025B45C 00021080 */ sll $v0, $v0, 2 +/* 189D40 8025B460 00431021 */ addu $v0, $v0, $v1 +/* 189D44 8025B464 8C430000 */ lw $v1, ($v0) +/* 189D48 8025B468 00061140 */ sll $v0, $a2, 5 +/* 189D4C 8025B46C 10600009 */ beqz $v1, .L8025B494 +/* 189D50 8025B470 02022821 */ addu $a1, $s0, $v0 +/* 189D54 8025B474 0000202D */ daddu $a0, $zero, $zero +.L8025B478: +/* 189D58 8025B478 94620000 */ lhu $v0, ($v1) +/* 189D5C 8025B47C 24630002 */ addiu $v1, $v1, 2 +/* 189D60 8025B480 24840001 */ addiu $a0, $a0, 1 +/* 189D64 8025B484 A4A20000 */ sh $v0, ($a1) +/* 189D68 8025B488 28820010 */ slti $v0, $a0, 0x10 +/* 189D6C 8025B48C 1440FFFA */ bnez $v0, .L8025B478 +/* 189D70 8025B490 24A50002 */ addiu $a1, $a1, 2 +.L8025B494: +/* 189D74 8025B494 24C60001 */ addiu $a2, $a2, 1 +/* 189D78 8025B498 820206CC */ lb $v0, 0x6cc($s0) +/* 189D7C 8025B49C 920306CC */ lbu $v1, 0x6cc($s0) +/* 189D80 8025B4A0 00C2102A */ slt $v0, $a2, $v0 +/* 189D84 8025B4A4 5440FFE8 */ bnezl $v0, .L8025B448 +/* 189D88 8025B4A8 00031E00 */ sll $v1, $v1, 0x18 +/* 189D8C 8025B4AC 08096D4C */ j func_8025B530 +/* 189D90 8025B4B0 00000000 */ nop + +.L8025B4B4: +/* 189D94 8025B4B4 820206CC */ lb $v0, 0x6cc($s0) +/* 189D98 8025B4B8 920306CC */ lbu $v1, 0x6cc($s0) +/* 189D9C 8025B4BC 1840001C */ blez $v0, .L8025B530 +/* 189DA0 8025B4C0 0000302D */ daddu $a2, $zero, $zero +/* 189DA4 8025B4C4 00031E00 */ sll $v1, $v1, 0x18 +.L8025B4C8: +/* 189DA8 8025B4C8 00031E03 */ sra $v1, $v1, 0x18 +/* 189DAC 8025B4CC 00031040 */ sll $v0, $v1, 1 +/* 189DB0 8025B4D0 00431021 */ addu $v0, $v0, $v1 +/* 189DB4 8025B4D4 00021040 */ sll $v0, $v0, 1 +/* 189DB8 8025B4D8 00461021 */ addu $v0, $v0, $a2 +/* 189DBC 8025B4DC 8E0306D0 */ lw $v1, 0x6d0($s0) +/* 189DC0 8025B4E0 00021080 */ sll $v0, $v0, 2 +/* 189DC4 8025B4E4 00431021 */ addu $v0, $v0, $v1 +/* 189DC8 8025B4E8 8C430000 */ lw $v1, ($v0) +/* 189DCC 8025B4EC 00061140 */ sll $v0, $a2, 5 +/* 189DD0 8025B4F0 10600009 */ beqz $v1, .L8025B518 +/* 189DD4 8025B4F4 02022821 */ addu $a1, $s0, $v0 +/* 189DD8 8025B4F8 0000202D */ daddu $a0, $zero, $zero +.L8025B4FC: +/* 189DDC 8025B4FC 94620000 */ lhu $v0, ($v1) +/* 189DE0 8025B500 24630002 */ addiu $v1, $v1, 2 +/* 189DE4 8025B504 24840001 */ addiu $a0, $a0, 1 +/* 189DE8 8025B508 A4A20000 */ sh $v0, ($a1) +/* 189DEC 8025B50C 28820010 */ slti $v0, $a0, 0x10 +/* 189DF0 8025B510 1440FFFA */ bnez $v0, .L8025B4FC +/* 189DF4 8025B514 24A50002 */ addiu $a1, $a1, 2 +.L8025B518: +/* 189DF8 8025B518 24C60001 */ addiu $a2, $a2, 1 +/* 189DFC 8025B51C 820206CC */ lb $v0, 0x6cc($s0) +/* 189E00 8025B520 920306CC */ lbu $v1, 0x6cc($s0) +/* 189E04 8025B524 00C2102A */ slt $v0, $a2, $v0 +/* 189E08 8025B528 5440FFE7 */ bnezl $v0, .L8025B4C8 +/* 189E0C 8025B52C 00031E00 */ sll $v1, $v1, 0x18 +func_8025B530: +.L8025B530: +/* 189E10 8025B530 820206CD */ lb $v0, 0x6cd($s0) +/* 189E14 8025B534 1840000A */ blez $v0, .L8025B560 +/* 189E18 8025B538 0000302D */ daddu $a2, $zero, $zero +/* 189E1C 8025B53C 0200202D */ daddu $a0, $s0, $zero +/* 189E20 8025B540 0200182D */ daddu $v1, $s0, $zero +.L8025B544: +/* 189E24 8025B544 AC6406D4 */ sw $a0, 0x6d4($v1) +/* 189E28 8025B548 24840020 */ addiu $a0, $a0, 0x20 +/* 189E2C 8025B54C 820206CD */ lb $v0, 0x6cd($s0) +/* 189E30 8025B550 24C60001 */ addiu $a2, $a2, 1 +/* 189E34 8025B554 00C2102A */ slt $v0, $a2, $v0 +/* 189E38 8025B558 1440FFFA */ bnez $v0, .L8025B544 +/* 189E3C 8025B55C 24630004 */ addiu $v1, $v1, 4 +.L8025B560: +/* 189E40 8025B560 16400006 */ bnez $s2, .L8025B57C +/* 189E44 8025B564 0220202D */ daddu $a0, $s1, $zero +/* 189E48 8025B568 0260282D */ daddu $a1, $s3, $zero +/* 189E4C 8025B56C 0C096657 */ jal func_8025995C +/* 189E50 8025B570 0280302D */ daddu $a2, $s4, $zero +/* 189E54 8025B574 08096D62 */ j func_8025B588 +/* 189E58 8025B578 00000000 */ nop + +.L8025B57C: +/* 189E5C 8025B57C 0260282D */ daddu $a1, $s3, $zero +/* 189E60 8025B580 0C0965B0 */ jal func_802596C0 +/* 189E64 8025B584 0280302D */ daddu $a2, $s4, $zero +func_8025B588: +/* 189E68 8025B588 16A00004 */ bnez $s5, .L8025B59C +/* 189E6C 8025B58C 00000000 */ nop +/* 189E70 8025B590 960206CA */ lhu $v0, 0x6ca($s0) +/* 189E74 8025B594 2442FFFF */ addiu $v0, $v0, -1 +/* 189E78 8025B598 A60206CA */ sh $v0, 0x6ca($s0) +.L8025B59C: +/* 189E7C 8025B59C 8FBF0028 */ lw $ra, 0x28($sp) +/* 189E80 8025B5A0 8FB50024 */ lw $s5, 0x24($sp) +/* 189E84 8025B5A4 8FB40020 */ lw $s4, 0x20($sp) +/* 189E88 8025B5A8 8FB3001C */ lw $s3, 0x1c($sp) +/* 189E8C 8025B5AC 8FB20018 */ lw $s2, 0x18($sp) +/* 189E90 8025B5B0 8FB10014 */ lw $s1, 0x14($sp) +/* 189E94 8025B5B4 8FB00010 */ lw $s0, 0x10($sp) +/* 189E98 8025B5B8 03E00008 */ jr $ra +/* 189E9C 8025B5BC 27BD0030 */ addiu $sp, $sp, 0x30 + +func_8025B5C0: +/* 189EA0 8025B5C0 27BDFFC0 */ addiu $sp, $sp, -0x40 +/* 189EA4 8025B5C4 AFB40028 */ sw $s4, 0x28($sp) +/* 189EA8 8025B5C8 0080A02D */ daddu $s4, $a0, $zero +/* 189EAC 8025B5CC AFB1001C */ sw $s1, 0x1c($sp) +/* 189EB0 8025B5D0 00A0882D */ daddu $s1, $a1, $zero +/* 189EB4 8025B5D4 AFB5002C */ sw $s5, 0x2c($sp) +/* 189EB8 8025B5D8 00C0A82D */ daddu $s5, $a2, $zero +/* 189EBC 8025B5DC AFB60030 */ sw $s6, 0x30($sp) +/* 189EC0 8025B5E0 AFBF0038 */ sw $ra, 0x38($sp) +/* 189EC4 8025B5E4 AFB70034 */ sw $s7, 0x34($sp) +/* 189EC8 8025B5E8 AFB30024 */ sw $s3, 0x24($sp) +/* 189ECC 8025B5EC AFB20020 */ sw $s2, 0x20($sp) +/* 189ED0 8025B5F0 AFB00018 */ sw $s0, 0x18($sp) +/* 189ED4 8025B5F4 8E3000C0 */ lw $s0, 0xc0($s1) +/* 189ED8 8025B5F8 8FB30050 */ lw $s3, 0x50($sp) +/* 189EDC 8025B5FC 820206C1 */ lb $v0, 0x6c1($s0) +/* 189EE0 8025B600 8FB20054 */ lw $s2, 0x54($sp) +/* 189EE4 8025B604 10400078 */ beqz $v0, .L8025B7E8 +/* 189EE8 8025B608 00E0B02D */ daddu $s6, $a3, $zero +/* 189EEC 8025B60C 1680001B */ bnez $s4, .L8025B67C +/* 189EF0 8025B610 00000000 */ nop +/* 189EF4 8025B614 0C0B7830 */ jal func_802DE0C0 +/* 189EF8 8025B618 96240088 */ lhu $a0, 0x88($s1) +/* 189EFC 8025B61C AE0206D0 */ sw $v0, 0x6d0($s0) +/* 189F00 8025B620 0040202D */ daddu $a0, $v0, $zero +/* 189F04 8025B624 A20006CD */ sb $zero, 0x6cd($s0) +/* 189F08 8025B628 8C830000 */ lw $v1, ($a0) +/* 189F0C 8025B62C 2402FFFF */ addiu $v0, $zero, -1 +/* 189F10 8025B630 1062000B */ beq $v1, $v0, .L8025B660 +/* 189F14 8025B634 0080182D */ daddu $v1, $a0, $zero +/* 189F18 8025B638 0040202D */ daddu $a0, $v0, $zero +.L8025B63C: +/* 189F1C 8025B63C 920206CD */ lbu $v0, 0x6cd($s0) +/* 189F20 8025B640 24420001 */ addiu $v0, $v0, 1 +/* 189F24 8025B644 A20206CD */ sb $v0, 0x6cd($s0) +/* 189F28 8025B648 00021600 */ sll $v0, $v0, 0x18 +/* 189F2C 8025B64C 00021583 */ sra $v0, $v0, 0x16 +/* 189F30 8025B650 00431021 */ addu $v0, $v0, $v1 +/* 189F34 8025B654 8C420000 */ lw $v0, ($v0) +/* 189F38 8025B658 1444FFF8 */ bne $v0, $a0, .L8025B63C +/* 189F3C 8025B65C 00000000 */ nop +.L8025B660: +/* 189F40 8025B660 3C02800E */ lui $v0, 0x800e +/* 189F44 8025B664 8C42C074 */ lw $v0, -0x3f8c($v0) +/* 189F48 8025B668 30420040 */ andi $v0, $v0, 0x40 +/* 189F4C 8025B66C 14400019 */ bnez $v0, .L8025B6D4 +/* 189F50 8025B670 24020004 */ addiu $v0, $zero, 4 +/* 189F54 8025B674 08096DB5 */ j func_8025B6D4 +/* 189F58 8025B678 24020006 */ addiu $v0, $zero, 6 + +.L8025B67C: +/* 189F5C 8025B67C 96240088 */ lhu $a0, 0x88($s1) +/* 189F60 8025B680 0C0B7A90 */ jal func_802DEA40 +/* 189F64 8025B684 00000000 */ nop +/* 189F68 8025B688 AE0206D0 */ sw $v0, 0x6d0($s0) +/* 189F6C 8025B68C 0040202D */ daddu $a0, $v0, $zero +/* 189F70 8025B690 A20006CD */ sb $zero, 0x6cd($s0) +/* 189F74 8025B694 8C830000 */ lw $v1, ($a0) +/* 189F78 8025B698 2402FFFF */ addiu $v0, $zero, -1 +/* 189F7C 8025B69C 1062000B */ beq $v1, $v0, .L8025B6CC +/* 189F80 8025B6A0 0080182D */ daddu $v1, $a0, $zero +/* 189F84 8025B6A4 0040202D */ daddu $a0, $v0, $zero +.L8025B6A8: +/* 189F88 8025B6A8 920206CD */ lbu $v0, 0x6cd($s0) +/* 189F8C 8025B6AC 24420001 */ addiu $v0, $v0, 1 +/* 189F90 8025B6B0 A20206CD */ sb $v0, 0x6cd($s0) +/* 189F94 8025B6B4 00021600 */ sll $v0, $v0, 0x18 +/* 189F98 8025B6B8 00021583 */ sra $v0, $v0, 0x16 +/* 189F9C 8025B6BC 00431021 */ addu $v0, $v0, $v1 +/* 189FA0 8025B6C0 8C420000 */ lw $v0, ($v0) +/* 189FA4 8025B6C4 1444FFF8 */ bne $v0, $a0, .L8025B6A8 +/* 189FA8 8025B6C8 00000000 */ nop +.L8025B6CC: +/* 189FAC 8025B6CC 0C0B7A9B */ jal func_802DEA6C +/* 189FB0 8025B6D0 96240088 */ lhu $a0, 0x88($s1) +func_8025B6D4: +.L8025B6D4: +/* 189FB4 8025B6D4 A20206CC */ sb $v0, 0x6cc($s0) +/* 189FB8 8025B6D8 820306C1 */ lb $v1, 0x6c1($s0) +/* 189FBC 8025B6DC 24020001 */ addiu $v0, $zero, 1 +/* 189FC0 8025B6E0 14620004 */ bne $v1, $v0, .L8025B6F4 +/* 189FC4 8025B6E4 240200FF */ addiu $v0, $zero, 0xff +/* 189FC8 8025B6E8 A20006C2 */ sb $zero, 0x6c2($s0) +/* 189FCC 8025B6EC 08096DBF */ j func_8025B6FC +/* 189FD0 8025B6F0 A60006CA */ sh $zero, 0x6ca($s0) + +.L8025B6F4: +/* 189FD4 8025B6F4 A20006C2 */ sb $zero, 0x6c2($s0) +/* 189FD8 8025B6F8 A60206CA */ sh $v0, 0x6ca($s0) +func_8025B6FC: +/* 189FDC 8025B6FC 820206CD */ lb $v0, 0x6cd($s0) +/* 189FE0 8025B700 18400017 */ blez $v0, .L8025B760 +/* 189FE4 8025B704 0000502D */ daddu $t2, $zero, $zero +/* 189FE8 8025B708 0200202D */ daddu $a0, $s0, $zero +.L8025B70C: +/* 189FEC 8025B70C 8E0206D0 */ lw $v0, 0x6d0($s0) +/* 189FF0 8025B710 000A1880 */ sll $v1, $t2, 2 +/* 189FF4 8025B714 00621821 */ addu $v1, $v1, $v0 +/* 189FF8 8025B718 000A1140 */ sll $v0, $t2, 5 +/* 189FFC 8025B71C 8C670000 */ lw $a3, ($v1) +/* 18A000 8025B720 02024821 */ addu $t1, $s0, $v0 +/* 18A004 8025B724 10E00009 */ beqz $a3, .L8025B74C +/* 18A008 8025B728 AC8906D4 */ sw $t1, 0x6d4($a0) +/* 18A00C 8025B72C 0000402D */ daddu $t0, $zero, $zero +.L8025B730: +/* 18A010 8025B730 94E20000 */ lhu $v0, ($a3) +/* 18A014 8025B734 24E70002 */ addiu $a3, $a3, 2 +/* 18A018 8025B738 25080001 */ addiu $t0, $t0, 1 +/* 18A01C 8025B73C A5220000 */ sh $v0, ($t1) +/* 18A020 8025B740 29020010 */ slti $v0, $t0, 0x10 +/* 18A024 8025B744 1440FFFA */ bnez $v0, .L8025B730 +/* 18A028 8025B748 25290002 */ addiu $t1, $t1, 2 +.L8025B74C: +/* 18A02C 8025B74C 820206CD */ lb $v0, 0x6cd($s0) +/* 18A030 8025B750 254A0001 */ addiu $t2, $t2, 1 +/* 18A034 8025B754 0142102A */ slt $v0, $t2, $v0 +/* 18A038 8025B758 1440FFEC */ bnez $v0, .L8025B70C +/* 18A03C 8025B75C 24840004 */ addiu $a0, $a0, 4 +.L8025B760: +/* 18A040 8025B760 1240001D */ beqz $s2, .L8025B7D8 +/* 18A044 8025B764 2402000A */ addiu $v0, $zero, 0xa +/* 18A048 8025B768 820206CC */ lb $v0, 0x6cc($s0) +/* 18A04C 8025B76C 920306CC */ lbu $v1, 0x6cc($s0) +/* 18A050 8025B770 18400018 */ blez $v0, .L8025B7D4 +/* 18A054 8025B774 0000502D */ daddu $t2, $zero, $zero +/* 18A058 8025B778 000A1140 */ sll $v0, $t2, 5 +.L8025B77C: +/* 18A05C 8025B77C 02025821 */ addu $t3, $s0, $v0 +/* 18A060 8025B780 0000402D */ daddu $t0, $zero, $zero +/* 18A064 8025B784 00031600 */ sll $v0, $v1, 0x18 +/* 18A068 8025B788 00021603 */ sra $v0, $v0, 0x18 +/* 18A06C 8025B78C 004A1021 */ addu $v0, $v0, $t2 +/* 18A070 8025B790 8E0306D0 */ lw $v1, 0x6d0($s0) +/* 18A074 8025B794 00021080 */ sll $v0, $v0, 2 +/* 18A078 8025B798 00431021 */ addu $v0, $v0, $v1 +/* 18A07C 8025B79C 8C470000 */ lw $a3, ($v0) +.L8025B7A0: +/* 18A080 8025B7A0 94E20000 */ lhu $v0, ($a3) +/* 18A084 8025B7A4 24E70002 */ addiu $a3, $a3, 2 +/* 18A088 8025B7A8 25080001 */ addiu $t0, $t0, 1 +/* 18A08C 8025B7AC A5620000 */ sh $v0, ($t3) +/* 18A090 8025B7B0 29020010 */ slti $v0, $t0, 0x10 +/* 18A094 8025B7B4 1440FFFA */ bnez $v0, .L8025B7A0 +/* 18A098 8025B7B8 256B0002 */ addiu $t3, $t3, 2 +/* 18A09C 8025B7BC 254A0001 */ addiu $t2, $t2, 1 +/* 18A0A0 8025B7C0 820206CC */ lb $v0, 0x6cc($s0) +/* 18A0A4 8025B7C4 920306CC */ lbu $v1, 0x6cc($s0) +/* 18A0A8 8025B7C8 0142102A */ slt $v0, $t2, $v0 +/* 18A0AC 8025B7CC 1440FFEB */ bnez $v0, .L8025B77C +/* 18A0B0 8025B7D0 000A1140 */ sll $v0, $t2, 5 +.L8025B7D4: +/* 18A0B4 8025B7D4 2402000A */ addiu $v0, $zero, 0xa +.L8025B7D8: +/* 18A0B8 8025B7D8 A60206C8 */ sh $v0, 0x6c8($s0) +/* 18A0BC 8025B7DC A60006CA */ sh $zero, 0x6ca($s0) +/* 18A0C0 8025B7E0 A20006C2 */ sb $zero, 0x6c2($s0) +/* 18A0C4 8025B7E4 A20006C1 */ sb $zero, 0x6c1($s0) +.L8025B7E8: +/* 18A0C8 8025B7E8 820206C2 */ lb $v0, 0x6c2($s0) +/* 18A0CC 8025B7EC 14400085 */ bnez $v0, .L8025BA04 +/* 18A0D0 8025B7F0 00000000 */ nop +/* 18A0D4 8025B7F4 56600011 */ bnezl $s3, .L8025B83C +/* 18A0D8 8025B7F8 3C0451EB */ lui $a0, 0x51eb +/* 18A0DC 8025B7FC 860206C8 */ lh $v0, 0x6c8($s0) +/* 18A0E0 8025B800 960306C8 */ lhu $v1, 0x6c8($s0) +/* 18A0E4 8025B804 10400003 */ beqz $v0, .L8025B814 +/* 18A0E8 8025B808 2462FFFF */ addiu $v0, $v1, -1 +/* 18A0EC 8025B80C 08096E81 */ j func_8025BA04 +/* 18A0F0 8025B810 A60206C8 */ sh $v0, 0x6c8($s0) + +.L8025B814: +/* 18A0F4 8025B814 960206CA */ lhu $v0, 0x6ca($s0) +/* 18A0F8 8025B818 24420A00 */ addiu $v0, $v0, 0xa00 +/* 18A0FC 8025B81C A60206CA */ sh $v0, 0x6ca($s0) +/* 18A100 8025B820 00021400 */ sll $v0, $v0, 0x10 +/* 18A104 8025B824 00021403 */ sra $v0, $v0, 0x10 +/* 18A108 8025B828 2842639D */ slti $v0, $v0, 0x639d +/* 18A10C 8025B82C 14400003 */ bnez $v0, .L8025B83C +/* 18A110 8025B830 3C0451EB */ lui $a0, 0x51eb +/* 18A114 8025B834 2402639C */ addiu $v0, $zero, 0x639c +/* 18A118 8025B838 A60206CA */ sh $v0, 0x6ca($s0) +.L8025B83C: +/* 18A11C 8025B83C 960306CA */ lhu $v1, 0x6ca($s0) +/* 18A120 8025B840 3484851F */ ori $a0, $a0, 0x851f +/* 18A124 8025B844 00031C00 */ sll $v1, $v1, 0x10 +/* 18A128 8025B848 00031403 */ sra $v0, $v1, 0x10 +/* 18A12C 8025B84C 00440018 */ mult $v0, $a0 +/* 18A130 8025B850 0000502D */ daddu $t2, $zero, $zero +/* 18A134 8025B854 00031FC3 */ sra $v1, $v1, 0x1f +/* 18A138 8025B858 820206CC */ lb $v0, 0x6cc($s0) +/* 18A13C 8025B85C 0000B810 */ mfhi $s7 +/* 18A140 8025B860 00172143 */ sra $a0, $s7, 5 +/* 18A144 8025B864 18400062 */ blez $v0, .L8025B9F0 +/* 18A148 8025B868 0083C823 */ subu $t9, $a0, $v1 +/* 18A14C 8025B86C 332E00FF */ andi $t6, $t9, 0xff +/* 18A150 8025B870 240200FF */ addiu $v0, $zero, 0xff +/* 18A154 8025B874 004EC023 */ subu $t8, $v0, $t6 +/* 18A158 8025B878 3C0F8080 */ lui $t7, 0x8080 +/* 18A15C 8025B87C 35EF8081 */ ori $t7, $t7, 0x8081 +.L8025B880: +/* 18A160 8025B880 16400004 */ bnez $s2, .L8025B894 +/* 18A164 8025B884 000A1080 */ sll $v0, $t2, 2 +/* 18A168 8025B888 8E0306D0 */ lw $v1, 0x6d0($s0) +/* 18A16C 8025B88C 08096E2A */ j func_8025B8A8 +/* 18A170 8025B890 00431021 */ addu $v0, $v0, $v1 + +.L8025B894: +/* 18A174 8025B894 820206CC */ lb $v0, 0x6cc($s0) +/* 18A178 8025B898 8E0306D0 */ lw $v1, 0x6d0($s0) +/* 18A17C 8025B89C 004A1021 */ addu $v0, $v0, $t2 +/* 18A180 8025B8A0 00021080 */ sll $v0, $v0, 2 +/* 18A184 8025B8A4 00431021 */ addu $v0, $v0, $v1 +func_8025B8A8: +/* 18A188 8025B8A8 8C470000 */ lw $a3, ($v0) +/* 18A18C 8025B8AC 000A1140 */ sll $v0, $t2, 5 +/* 18A190 8025B8B0 02025821 */ addu $t3, $s0, $v0 +/* 18A194 8025B8B4 0000402D */ daddu $t0, $zero, $zero +/* 18A198 8025B8B8 820206CC */ lb $v0, 0x6cc($s0) +/* 18A19C 8025B8BC 8E0306D0 */ lw $v1, 0x6d0($s0) +/* 18A1A0 8025B8C0 00021040 */ sll $v0, $v0, 1 +/* 18A1A4 8025B8C4 004A1021 */ addu $v0, $v0, $t2 +/* 18A1A8 8025B8C8 00021080 */ sll $v0, $v0, 2 +/* 18A1AC 8025B8CC 00431021 */ addu $v0, $v0, $v1 +/* 18A1B0 8025B8D0 8C490000 */ lw $t1, ($v0) +.L8025B8D4: +/* 18A1B4 8025B8D4 94E30000 */ lhu $v1, ($a3) +/* 18A1B8 8025B8D8 000312C2 */ srl $v0, $v1, 0xb +/* 18A1BC 8025B8DC 00580018 */ mult $v0, $t8 +/* 18A1C0 8025B8E0 95240000 */ lhu $a0, ($t1) +/* 18A1C4 8025B8E4 00002812 */ mflo $a1 +/* 18A1C8 8025B8E8 000412C2 */ srl $v0, $a0, 0xb +/* 18A1CC 8025B8EC 00000000 */ nop +/* 18A1D0 8025B8F0 004E0018 */ mult $v0, $t6 +/* 18A1D4 8025B8F4 00006012 */ mflo $t4 +/* 18A1D8 8025B8F8 00AC2821 */ addu $a1, $a1, $t4 +/* 18A1DC 8025B8FC 00000000 */ nop +/* 18A1E0 8025B900 00AF0018 */ mult $a1, $t7 +/* 18A1E4 8025B904 00009810 */ mfhi $s3 +/* 18A1E8 8025B908 00031182 */ srl $v0, $v1, 6 +/* 18A1EC 8025B90C 3042001F */ andi $v0, $v0, 0x1f +/* 18A1F0 8025B910 00580018 */ mult $v0, $t8 +/* 18A1F4 8025B914 00006812 */ mflo $t5 +/* 18A1F8 8025B918 00041182 */ srl $v0, $a0, 6 +/* 18A1FC 8025B91C 3042001F */ andi $v0, $v0, 0x1f +/* 18A200 8025B920 004E0018 */ mult $v0, $t6 +/* 18A204 8025B924 00001012 */ mflo $v0 +/* 18A208 8025B928 00031842 */ srl $v1, $v1, 1 +/* 18A20C 8025B92C 3063001F */ andi $v1, $v1, 0x1f +/* 18A210 8025B930 00780018 */ mult $v1, $t8 +/* 18A214 8025B934 24E70002 */ addiu $a3, $a3, 2 +/* 18A218 8025B938 91260001 */ lbu $a2, 1($t1) +/* 18A21C 8025B93C 25290002 */ addiu $t1, $t1, 2 +/* 18A220 8025B940 25080001 */ addiu $t0, $t0, 1 +/* 18A224 8025B944 00006012 */ mflo $t4 +/* 18A228 8025B948 00042042 */ srl $a0, $a0, 1 +/* 18A22C 8025B94C 3084001F */ andi $a0, $a0, 0x1f +/* 18A230 8025B950 008E0018 */ mult $a0, $t6 +/* 18A234 8025B954 30C60001 */ andi $a2, $a2, 1 +/* 18A238 8025B958 01A21021 */ addu $v0, $t5, $v0 +/* 18A23C 8025B95C 02652021 */ addu $a0, $s3, $a1 +/* 18A240 8025B960 000421C3 */ sra $a0, $a0, 7 +/* 18A244 8025B964 0000B812 */ mflo $s7 +/* 18A248 8025B968 00052FC3 */ sra $a1, $a1, 0x1f +/* 18A24C 8025B96C 00852023 */ subu $a0, $a0, $a1 +/* 18A250 8025B970 004F0018 */ mult $v0, $t7 +/* 18A254 8025B974 308400FF */ andi $a0, $a0, 0xff +/* 18A258 8025B978 000422C0 */ sll $a0, $a0, 0xb +/* 18A25C 8025B97C AFB70010 */ sw $s7, 0x10($sp) +/* 18A260 8025B980 01972821 */ addu $a1, $t4, $s7 +/* 18A264 8025B984 00001810 */ mfhi $v1 +/* 18A268 8025B988 00621821 */ addu $v1, $v1, $v0 +/* 18A26C 8025B98C 000319C3 */ sra $v1, $v1, 7 +/* 18A270 8025B990 000217C3 */ sra $v0, $v0, 0x1f +/* 18A274 8025B994 00AF0018 */ mult $a1, $t7 +/* 18A278 8025B998 00621823 */ subu $v1, $v1, $v0 +/* 18A27C 8025B99C 306300FF */ andi $v1, $v1, 0xff +/* 18A280 8025B9A0 00031980 */ sll $v1, $v1, 6 +/* 18A284 8025B9A4 00832025 */ or $a0, $a0, $v1 +/* 18A288 8025B9A8 00006010 */ mfhi $t4 +/* 18A28C 8025B9AC 01851021 */ addu $v0, $t4, $a1 +/* 18A290 8025B9B0 000211C3 */ sra $v0, $v0, 7 +/* 18A294 8025B9B4 00052FC3 */ sra $a1, $a1, 0x1f +/* 18A298 8025B9B8 00451023 */ subu $v0, $v0, $a1 +/* 18A29C 8025B9BC 304200FF */ andi $v0, $v0, 0xff +/* 18A2A0 8025B9C0 00021040 */ sll $v0, $v0, 1 +/* 18A2A4 8025B9C4 00822025 */ or $a0, $a0, $v0 +/* 18A2A8 8025B9C8 00C43025 */ or $a2, $a2, $a0 +/* 18A2AC 8025B9CC A5660000 */ sh $a2, ($t3) +/* 18A2B0 8025B9D0 29020010 */ slti $v0, $t0, 0x10 +/* 18A2B4 8025B9D4 1440FFBF */ bnez $v0, .L8025B8D4 +/* 18A2B8 8025B9D8 256B0002 */ addiu $t3, $t3, 2 +/* 18A2BC 8025B9DC 820206CC */ lb $v0, 0x6cc($s0) +/* 18A2C0 8025B9E0 254A0001 */ addiu $t2, $t2, 1 +/* 18A2C4 8025B9E4 0142102A */ slt $v0, $t2, $v0 +/* 18A2C8 8025B9E8 1440FFA5 */ bnez $v0, .L8025B880 +/* 18A2CC 8025B9EC 00000000 */ nop +.L8025B9F0: +/* 18A2D0 8025B9F0 332300FF */ andi $v1, $t9, 0xff +/* 18A2D4 8025B9F4 240200FF */ addiu $v0, $zero, 0xff +/* 18A2D8 8025B9F8 14620002 */ bne $v1, $v0, .L8025BA04 +/* 18A2DC 8025B9FC 24020001 */ addiu $v0, $zero, 1 +/* 18A2E0 8025BA00 A20206C2 */ sb $v0, 0x6c2($s0) +func_8025BA04: +.L8025BA04: +/* 18A2E4 8025BA04 820206CD */ lb $v0, 0x6cd($s0) +/* 18A2E8 8025BA08 1840000A */ blez $v0, .L8025BA34 +/* 18A2EC 8025BA0C 0000502D */ daddu $t2, $zero, $zero +/* 18A2F0 8025BA10 0200202D */ daddu $a0, $s0, $zero +/* 18A2F4 8025BA14 0200182D */ daddu $v1, $s0, $zero +.L8025BA18: +/* 18A2F8 8025BA18 AC6406D4 */ sw $a0, 0x6d4($v1) +/* 18A2FC 8025BA1C 24840020 */ addiu $a0, $a0, 0x20 +/* 18A300 8025BA20 820206CD */ lb $v0, 0x6cd($s0) +/* 18A304 8025BA24 254A0001 */ addiu $t2, $t2, 1 +/* 18A308 8025BA28 0142102A */ slt $v0, $t2, $v0 +/* 18A30C 8025BA2C 1440FFFA */ bnez $v0, .L8025BA18 +/* 18A310 8025BA30 24630004 */ addiu $v1, $v1, 4 +.L8025BA34: +/* 18A314 8025BA34 820306C2 */ lb $v1, 0x6c2($s0) +/* 18A318 8025BA38 28620002 */ slti $v0, $v1, 2 +/* 18A31C 8025BA3C 1040000D */ beqz $v0, .L8025BA74 +/* 18A320 8025BA40 00000000 */ nop +/* 18A324 8025BA44 0460000B */ bltz $v1, .L8025BA74 +/* 18A328 8025BA48 00000000 */ nop +/* 18A32C 8025BA4C 16800006 */ bnez $s4, .L8025BA68 +/* 18A330 8025BA50 0220202D */ daddu $a0, $s1, $zero +/* 18A334 8025BA54 02A0282D */ daddu $a1, $s5, $zero +/* 18A338 8025BA58 0C096657 */ jal func_8025995C +/* 18A33C 8025BA5C 02C0302D */ daddu $a2, $s6, $zero +/* 18A340 8025BA60 08096E9D */ j func_8025BA74 +/* 18A344 8025BA64 00000000 */ nop + +.L8025BA68: +/* 18A348 8025BA68 02A0282D */ daddu $a1, $s5, $zero +/* 18A34C 8025BA6C 0C0965B0 */ jal func_802596C0 +/* 18A350 8025BA70 02C0302D */ daddu $a2, $s6, $zero +func_8025BA74: +.L8025BA74: +/* 18A354 8025BA74 8FBF0038 */ lw $ra, 0x38($sp) +/* 18A358 8025BA78 8FB70034 */ lw $s7, 0x34($sp) +/* 18A35C 8025BA7C 8FB60030 */ lw $s6, 0x30($sp) +/* 18A360 8025BA80 8FB5002C */ lw $s5, 0x2c($sp) +/* 18A364 8025BA84 8FB40028 */ lw $s4, 0x28($sp) +/* 18A368 8025BA88 8FB30024 */ lw $s3, 0x24($sp) +/* 18A36C 8025BA8C 8FB20020 */ lw $s2, 0x20($sp) +/* 18A370 8025BA90 8FB1001C */ lw $s1, 0x1c($sp) +/* 18A374 8025BA94 8FB00018 */ lw $s0, 0x18($sp) +/* 18A378 8025BA98 03E00008 */ jr $ra +/* 18A37C 8025BA9C 27BD0040 */ addiu $sp, $sp, 0x40 + +func_8025BAA0: +/* 18A380 8025BAA0 27BDFFC8 */ addiu $sp, $sp, -0x38 +/* 18A384 8025BAA4 AFB40020 */ sw $s4, 0x20($sp) +/* 18A388 8025BAA8 0080A02D */ daddu $s4, $a0, $zero +/* 18A38C 8025BAAC AFB20018 */ sw $s2, 0x18($sp) +/* 18A390 8025BAB0 00A0902D */ daddu $s2, $a1, $zero +/* 18A394 8025BAB4 AFB50024 */ sw $s5, 0x24($sp) +/* 18A398 8025BAB8 00C0A82D */ daddu $s5, $a2, $zero +/* 18A39C 8025BABC AFB3001C */ sw $s3, 0x1c($sp) +/* 18A3A0 8025BAC0 AFBF0030 */ sw $ra, 0x30($sp) +/* 18A3A4 8025BAC4 AFB7002C */ sw $s7, 0x2c($sp) +/* 18A3A8 8025BAC8 AFB60028 */ sw $s6, 0x28($sp) +/* 18A3AC 8025BACC AFB10014 */ sw $s1, 0x14($sp) +/* 18A3B0 8025BAD0 AFB00010 */ sw $s0, 0x10($sp) +/* 18A3B4 8025BAD4 8E5000C0 */ lw $s0, 0xc0($s2) +/* 18A3B8 8025BAD8 8FB60048 */ lw $s6, 0x48($sp) +/* 18A3BC 8025BADC 820206C1 */ lb $v0, 0x6c1($s0) +/* 18A3C0 8025BAE0 8FB1004C */ lw $s1, 0x4c($sp) +/* 18A3C4 8025BAE4 1040005A */ beqz $v0, .L8025BC50 +/* 18A3C8 8025BAE8 00E0982D */ daddu $s3, $a3, $zero +/* 18A3CC 8025BAEC 16800016 */ bnez $s4, .L8025BB48 +/* 18A3D0 8025BAF0 00000000 */ nop +/* 18A3D4 8025BAF4 0C0B7830 */ jal func_802DE0C0 +/* 18A3D8 8025BAF8 96440088 */ lhu $a0, 0x88($s2) +/* 18A3DC 8025BAFC AE0206D0 */ sw $v0, 0x6d0($s0) +/* 18A3E0 8025BB00 0040202D */ daddu $a0, $v0, $zero +/* 18A3E4 8025BB04 A20006CD */ sb $zero, 0x6cd($s0) +/* 18A3E8 8025BB08 8C830000 */ lw $v1, ($a0) +/* 18A3EC 8025BB0C 2402FFFF */ addiu $v0, $zero, -1 +/* 18A3F0 8025BB10 10620020 */ beq $v1, $v0, .L8025BB94 +/* 18A3F4 8025BB14 0080182D */ daddu $v1, $a0, $zero +/* 18A3F8 8025BB18 0040202D */ daddu $a0, $v0, $zero +func_8025BB1C: +/* 18A3FC 8025BB1C 920206CD */ lbu $v0, 0x6cd($s0) +/* 18A400 8025BB20 24420001 */ addiu $v0, $v0, 1 +/* 18A404 8025BB24 A20206CD */ sb $v0, 0x6cd($s0) +/* 18A408 8025BB28 00021600 */ sll $v0, $v0, 0x18 +/* 18A40C 8025BB2C 00021583 */ sra $v0, $v0, 0x16 +/* 18A410 8025BB30 00431021 */ addu $v0, $v0, $v1 +/* 18A414 8025BB34 8C420000 */ lw $v0, ($v0) +/* 18A418 8025BB38 10440016 */ beq $v0, $a0, .L8025BB94 +/* 18A41C 8025BB3C 00000000 */ nop +/* 18A420 8025BB40 08096EC7 */ j func_8025BB1C +/* 18A424 8025BB44 00000000 */ nop + +.L8025BB48: +/* 18A428 8025BB48 0C0B7A90 */ jal func_802DEA40 +/* 18A42C 8025BB4C 96440088 */ lhu $a0, 0x88($s2) +/* 18A430 8025BB50 AE0206D0 */ sw $v0, 0x6d0($s0) +/* 18A434 8025BB54 0040202D */ daddu $a0, $v0, $zero +/* 18A438 8025BB58 A20006CD */ sb $zero, 0x6cd($s0) +/* 18A43C 8025BB5C 8C830000 */ lw $v1, ($a0) +/* 18A440 8025BB60 2402FFFF */ addiu $v0, $zero, -1 +/* 18A444 8025BB64 1062000B */ beq $v1, $v0, .L8025BB94 +/* 18A448 8025BB68 0080182D */ daddu $v1, $a0, $zero +/* 18A44C 8025BB6C 0040202D */ daddu $a0, $v0, $zero +.L8025BB70: +/* 18A450 8025BB70 920206CD */ lbu $v0, 0x6cd($s0) +/* 18A454 8025BB74 24420001 */ addiu $v0, $v0, 1 +/* 18A458 8025BB78 A20206CD */ sb $v0, 0x6cd($s0) +/* 18A45C 8025BB7C 00021600 */ sll $v0, $v0, 0x18 +/* 18A460 8025BB80 00021583 */ sra $v0, $v0, 0x16 +/* 18A464 8025BB84 00431021 */ addu $v0, $v0, $v1 +/* 18A468 8025BB88 8C420000 */ lw $v0, ($v0) +/* 18A46C 8025BB8C 1444FFF8 */ bne $v0, $a0, .L8025BB70 +/* 18A470 8025BB90 00000000 */ nop +.L8025BB94: +/* 18A474 8025BB94 820306C1 */ lb $v1, 0x6c1($s0) +/* 18A478 8025BB98 24020001 */ addiu $v0, $zero, 1 +/* 18A47C 8025BB9C 14620004 */ bne $v1, $v0, .L8025BBB0 +/* 18A480 8025BBA0 240200FF */ addiu $v0, $zero, 0xff +/* 18A484 8025BBA4 A20006C2 */ sb $zero, 0x6c2($s0) +/* 18A488 8025BBA8 08096EEE */ j func_8025BBB8 +/* 18A48C 8025BBAC A60006CA */ sh $zero, 0x6ca($s0) + +.L8025BBB0: +/* 18A490 8025BBB0 A20006C2 */ sb $zero, 0x6c2($s0) +/* 18A494 8025BBB4 A60206CA */ sh $v0, 0x6ca($s0) +func_8025BBB8: +/* 18A498 8025BBB8 820206CD */ lb $v0, 0x6cd($s0) +/* 18A49C 8025BBBC 18400017 */ blez $v0, .L8025BC1C +/* 18A4A0 8025BBC0 0000202D */ daddu $a0, $zero, $zero +/* 18A4A4 8025BBC4 0200282D */ daddu $a1, $s0, $zero +.L8025BBC8: +/* 18A4A8 8025BBC8 8E0206D0 */ lw $v0, 0x6d0($s0) +/* 18A4AC 8025BBCC 00041880 */ sll $v1, $a0, 2 +/* 18A4B0 8025BBD0 00621821 */ addu $v1, $v1, $v0 +/* 18A4B4 8025BBD4 00041140 */ sll $v0, $a0, 5 +/* 18A4B8 8025BBD8 8C6A0000 */ lw $t2, ($v1) +/* 18A4BC 8025BBDC 02024821 */ addu $t1, $s0, $v0 +/* 18A4C0 8025BBE0 11400009 */ beqz $t2, .L8025BC08 +/* 18A4C4 8025BBE4 ACA906D4 */ sw $t1, 0x6d4($a1) +/* 18A4C8 8025BBE8 0000582D */ daddu $t3, $zero, $zero +.L8025BBEC: +/* 18A4CC 8025BBEC 95420000 */ lhu $v0, ($t2) +/* 18A4D0 8025BBF0 254A0002 */ addiu $t2, $t2, 2 +/* 18A4D4 8025BBF4 256B0001 */ addiu $t3, $t3, 1 +/* 18A4D8 8025BBF8 A5220000 */ sh $v0, ($t1) +/* 18A4DC 8025BBFC 29620010 */ slti $v0, $t3, 0x10 +/* 18A4E0 8025BC00 1440FFFA */ bnez $v0, .L8025BBEC +/* 18A4E4 8025BC04 25290002 */ addiu $t1, $t1, 2 +.L8025BC08: +/* 18A4E8 8025BC08 820206CD */ lb $v0, 0x6cd($s0) +/* 18A4EC 8025BC0C 24840001 */ addiu $a0, $a0, 1 +/* 18A4F0 8025BC10 0082102A */ slt $v0, $a0, $v0 +/* 18A4F4 8025BC14 1440FFEC */ bnez $v0, .L8025BBC8 +/* 18A4F8 8025BC18 24A50004 */ addiu $a1, $a1, 4 +.L8025BC1C: +/* 18A4FC 8025BC1C 16600007 */ bnez $s3, .L8025BC3C +/* 18A500 8025BC20 00000000 */ nop +/* 18A504 8025BC24 96020744 */ lhu $v0, 0x744($s0) +/* 18A508 8025BC28 A6000744 */ sh $zero, 0x744($s0) +/* 18A50C 8025BC2C A6020746 */ sh $v0, 0x746($s0) +/* 18A510 8025BC30 0040182D */ daddu $v1, $v0, $zero +/* 18A514 8025BC34 A6020748 */ sh $v0, 0x748($s0) +/* 18A518 8025BC38 A603074A */ sh $v1, 0x74a($s0) +.L8025BC3C: +/* 18A51C 8025BC3C 96020744 */ lhu $v0, 0x744($s0) +/* 18A520 8025BC40 A60006CA */ sh $zero, 0x6ca($s0) +/* 18A524 8025BC44 A20006C2 */ sb $zero, 0x6c2($s0) +/* 18A528 8025BC48 A20006C1 */ sb $zero, 0x6c1($s0) +/* 18A52C 8025BC4C A60206C8 */ sh $v0, 0x6c8($s0) +.L8025BC50: +/* 18A530 8025BC50 820306C2 */ lb $v1, 0x6c2($s0) +/* 18A534 8025BC54 10600005 */ beqz $v1, .L8025BC6C +/* 18A538 8025BC58 24020001 */ addiu $v0, $zero, 1 +/* 18A53C 8025BC5C 1062000E */ beq $v1, $v0, .L8025BC98 +/* 18A540 8025BC60 24020002 */ addiu $v0, $zero, 2 +/* 18A544 8025BC64 08096FA3 */ j func_8025BE8C +/* 18A548 8025BC68 00000000 */ nop + +.L8025BC6C: +/* 18A54C 8025BC6C 16200085 */ bnez $s1, .L8025BE84 +/* 18A550 8025BC70 00000000 */ nop +/* 18A554 8025BC74 860206C8 */ lh $v0, 0x6c8($s0) +/* 18A558 8025BC78 960306C8 */ lhu $v1, 0x6c8($s0) +/* 18A55C 8025BC7C 10400003 */ beqz $v0, .L8025BC8C +/* 18A560 8025BC80 2462FFFF */ addiu $v0, $v1, -1 +/* 18A564 8025BC84 08096FA1 */ j func_8025BE84 +/* 18A568 8025BC88 A60206C8 */ sh $v0, 0x6c8($s0) + +.L8025BC8C: +/* 18A56C 8025BC8C 24020001 */ addiu $v0, $zero, 1 +/* 18A570 8025BC90 A60006CA */ sh $zero, 0x6ca($s0) +/* 18A574 8025BC94 A20206C2 */ sb $v0, 0x6c2($s0) +.L8025BC98: +/* 18A578 8025BC98 16200018 */ bnez $s1, .L8025BCFC +/* 18A57C 8025BC9C 3C0651EB */ lui $a2, 0x51eb +/* 18A580 8025BCA0 86020746 */ lh $v0, 0x746($s0) +/* 18A584 8025BCA4 24036400 */ addiu $v1, $zero, 0x6400 +/* 18A588 8025BCA8 14400002 */ bnez $v0, .L8025BCB4 +/* 18A58C 8025BCAC 0062001A */ div $zero, $v1, $v0 +/* 18A590 8025BCB0 0007000D */ break 7 +.L8025BCB4: +/* 18A594 8025BCB4 2401FFFF */ addiu $at, $zero, -1 +/* 18A598 8025BCB8 14410004 */ bne $v0, $at, .L8025BCCC +/* 18A59C 8025BCBC 3C018000 */ lui $at, 0x8000 +/* 18A5A0 8025BCC0 14610002 */ bne $v1, $at, .L8025BCCC +/* 18A5A4 8025BCC4 00000000 */ nop +/* 18A5A8 8025BCC8 0006000D */ break 6 +.L8025BCCC: +/* 18A5AC 8025BCCC 00001812 */ mflo $v1 +/* 18A5B0 8025BCD0 960206CA */ lhu $v0, 0x6ca($s0) +/* 18A5B4 8025BCD4 00431021 */ addu $v0, $v0, $v1 +/* 18A5B8 8025BCD8 A60206CA */ sh $v0, 0x6ca($s0) +/* 18A5BC 8025BCDC 00021400 */ sll $v0, $v0, 0x10 +/* 18A5C0 8025BCE0 00021403 */ sra $v0, $v0, 0x10 +/* 18A5C4 8025BCE4 2842639D */ slti $v0, $v0, 0x639d +/* 18A5C8 8025BCE8 14400005 */ bnez $v0, .L8025BD00 +/* 18A5CC 8025BCEC 34C6851F */ ori $a2, $a2, 0x851f +/* 18A5D0 8025BCF0 2402639C */ addiu $v0, $zero, 0x639c +/* 18A5D4 8025BCF4 A60206CA */ sh $v0, 0x6ca($s0) +/* 18A5D8 8025BCF8 3C0651EB */ lui $a2, 0x51eb +.L8025BCFC: +/* 18A5DC 8025BCFC 34C6851F */ ori $a2, $a2, 0x851f +.L8025BD00: +/* 18A5E0 8025BD00 0200682D */ daddu $t5, $s0, $zero +/* 18A5E4 8025BD04 0000582D */ daddu $t3, $zero, $zero +/* 18A5E8 8025BD08 3C0F8080 */ lui $t7, 0x8080 +/* 18A5EC 8025BD0C 35EF8081 */ ori $t7, $t7, 0x8081 +/* 18A5F0 8025BD10 86020740 */ lh $v0, 0x740($s0) +/* 18A5F4 8025BD14 8E0506D0 */ lw $a1, 0x6d0($s0) +/* 18A5F8 8025BD18 960306CA */ lhu $v1, 0x6ca($s0) +/* 18A5FC 8025BD1C 00021080 */ sll $v0, $v0, 2 +/* 18A600 8025BD20 00451021 */ addu $v0, $v0, $a1 +/* 18A604 8025BD24 00031C00 */ sll $v1, $v1, 0x10 +/* 18A608 8025BD28 00032403 */ sra $a0, $v1, 0x10 +/* 18A60C 8025BD2C 8C4A0000 */ lw $t2, ($v0) +/* 18A610 8025BD30 86020742 */ lh $v0, 0x742($s0) +/* 18A614 8025BD34 00860018 */ mult $a0, $a2 +/* 18A618 8025BD38 00021080 */ sll $v0, $v0, 2 +/* 18A61C 8025BD3C 00451021 */ addu $v0, $v0, $a1 +/* 18A620 8025BD40 8C490000 */ lw $t1, ($v0) +/* 18A624 8025BD44 00031FC3 */ sra $v1, $v1, 0x1f +/* 18A628 8025BD48 AE1006D4 */ sw $s0, 0x6d4($s0) +/* 18A62C 8025BD4C 0000C810 */ mfhi $t9 +/* 18A630 8025BD50 00191143 */ sra $v0, $t9, 5 +/* 18A634 8025BD54 0043C023 */ subu $t8, $v0, $v1 +/* 18A638 8025BD58 330C00FF */ andi $t4, $t8, 0xff +/* 18A63C 8025BD5C 240200FF */ addiu $v0, $zero, 0xff +/* 18A640 8025BD60 004C7023 */ subu $t6, $v0, $t4 +.L8025BD64: +/* 18A644 8025BD64 95430000 */ lhu $v1, ($t2) +/* 18A648 8025BD68 000312C2 */ srl $v0, $v1, 0xb +/* 18A64C 8025BD6C 004E0018 */ mult $v0, $t6 +/* 18A650 8025BD70 95240000 */ lhu $a0, ($t1) +/* 18A654 8025BD74 00002812 */ mflo $a1 +/* 18A658 8025BD78 000412C2 */ srl $v0, $a0, 0xb +/* 18A65C 8025BD7C 00000000 */ nop +/* 18A660 8025BD80 004C0018 */ mult $v0, $t4 +/* 18A664 8025BD84 00004012 */ mflo $t0 +/* 18A668 8025BD88 00A82821 */ addu $a1, $a1, $t0 +/* 18A66C 8025BD8C 00000000 */ nop +/* 18A670 8025BD90 00AF0018 */ mult $a1, $t7 +/* 18A674 8025BD94 00009810 */ mfhi $s3 +/* 18A678 8025BD98 00031182 */ srl $v0, $v1, 6 +/* 18A67C 8025BD9C 3042001F */ andi $v0, $v0, 0x1f +/* 18A680 8025BDA0 004E0018 */ mult $v0, $t6 +/* 18A684 8025BDA4 00004012 */ mflo $t0 +/* 18A688 8025BDA8 00041182 */ srl $v0, $a0, 6 +/* 18A68C 8025BDAC 3042001F */ andi $v0, $v0, 0x1f +/* 18A690 8025BDB0 004C0018 */ mult $v0, $t4 +/* 18A694 8025BDB4 00003812 */ mflo $a3 +/* 18A698 8025BDB8 00031842 */ srl $v1, $v1, 1 +/* 18A69C 8025BDBC 3063001F */ andi $v1, $v1, 0x1f +/* 18A6A0 8025BDC0 006E0018 */ mult $v1, $t6 +/* 18A6A4 8025BDC4 00001812 */ mflo $v1 +/* 18A6A8 8025BDC8 00042042 */ srl $a0, $a0, 1 +/* 18A6AC 8025BDCC 3084001F */ andi $a0, $a0, 0x1f +/* 18A6B0 8025BDD0 008C0018 */ mult $a0, $t4 +/* 18A6B4 8025BDD4 254A0002 */ addiu $t2, $t2, 2 +/* 18A6B8 8025BDD8 91260001 */ lbu $a2, 1($t1) +/* 18A6BC 8025BDDC 25290002 */ addiu $t1, $t1, 2 +/* 18A6C0 8025BDE0 0000B812 */ mflo $s7 +/* 18A6C4 8025BDE4 256B0001 */ addiu $t3, $t3, 1 +/* 18A6C8 8025BDE8 01072021 */ addu $a0, $t0, $a3 +/* 18A6CC 8025BDEC 008F0018 */ mult $a0, $t7 +/* 18A6D0 8025BDF0 30C60001 */ andi $a2, $a2, 1 +/* 18A6D4 8025BDF4 02651021 */ addu $v0, $s3, $a1 +/* 18A6D8 8025BDF8 000211C3 */ sra $v0, $v0, 7 +/* 18A6DC 8025BDFC 00052FC3 */ sra $a1, $a1, 0x1f +/* 18A6E0 8025BE00 00004010 */ mfhi $t0 +/* 18A6E4 8025BE04 00453823 */ subu $a3, $v0, $a1 +/* 18A6E8 8025BE08 00771821 */ addu $v1, $v1, $s7 +/* 18A6EC 8025BE0C 006F0018 */ mult $v1, $t7 +/* 18A6F0 8025BE10 01041021 */ addu $v0, $t0, $a0 +/* 18A6F4 8025BE14 000211C3 */ sra $v0, $v0, 7 +/* 18A6F8 8025BE18 000427C3 */ sra $a0, $a0, 0x1f +/* 18A6FC 8025BE1C 00442823 */ subu $a1, $v0, $a0 +/* 18A700 8025BE20 00009810 */ mfhi $s3 +/* 18A704 8025BE24 02631021 */ addu $v0, $s3, $v1 +/* 18A708 8025BE28 000211C3 */ sra $v0, $v0, 7 +/* 18A70C 8025BE2C 00031FC3 */ sra $v1, $v1, 0x1f +/* 18A710 8025BE30 00432023 */ subu $a0, $v0, $v1 +/* 18A714 8025BE34 30E300FF */ andi $v1, $a3, 0xff +/* 18A718 8025BE38 00031AC0 */ sll $v1, $v1, 0xb +/* 18A71C 8025BE3C 30A200FF */ andi $v0, $a1, 0xff +/* 18A720 8025BE40 00021180 */ sll $v0, $v0, 6 +/* 18A724 8025BE44 00621825 */ or $v1, $v1, $v0 +/* 18A728 8025BE48 308200FF */ andi $v0, $a0, 0xff +/* 18A72C 8025BE4C 00021040 */ sll $v0, $v0, 1 +/* 18A730 8025BE50 00621825 */ or $v1, $v1, $v0 +/* 18A734 8025BE54 00C33025 */ or $a2, $a2, $v1 +/* 18A738 8025BE58 A5A60000 */ sh $a2, ($t5) +/* 18A73C 8025BE5C 29620010 */ slti $v0, $t3, 0x10 +/* 18A740 8025BE60 1440FFC0 */ bnez $v0, .L8025BD64 +/* 18A744 8025BE64 25AD0002 */ addiu $t5, $t5, 2 +/* 18A748 8025BE68 330300FF */ andi $v1, $t8, 0xff +/* 18A74C 8025BE6C 240200FF */ addiu $v0, $zero, 0xff +/* 18A750 8025BE70 14620004 */ bne $v1, $v0, .L8025BE84 +/* 18A754 8025BE74 24020002 */ addiu $v0, $zero, 2 +/* 18A758 8025BE78 96030748 */ lhu $v1, 0x748($s0) +/* 18A75C 8025BE7C A20206C2 */ sb $v0, 0x6c2($s0) +/* 18A760 8025BE80 A60306C8 */ sh $v1, 0x6c8($s0) +func_8025BE84: +.L8025BE84: +/* 18A764 8025BE84 820306C2 */ lb $v1, 0x6c2($s0) +/* 18A768 8025BE88 24020002 */ addiu $v0, $zero, 2 +func_8025BE8C: +/* 18A76C 8025BE8C 10620005 */ beq $v1, $v0, .L8025BEA4 +/* 18A770 8025BE90 24020003 */ addiu $v0, $zero, 3 +/* 18A774 8025BE94 1062000C */ beq $v1, $v0, .L8025BEC8 +/* 18A778 8025BE98 00000000 */ nop +/* 18A77C 8025BE9C 0809702D */ j func_8025C0B4 +/* 18A780 8025BEA0 00000000 */ nop + +.L8025BEA4: +/* 18A784 8025BEA4 16200083 */ bnez $s1, .L8025C0B4 +/* 18A788 8025BEA8 00000000 */ nop +/* 18A78C 8025BEAC 860206C8 */ lh $v0, 0x6c8($s0) +/* 18A790 8025BEB0 960306C8 */ lhu $v1, 0x6c8($s0) +/* 18A794 8025BEB4 1440007E */ bnez $v0, .L8025C0B0 +/* 18A798 8025BEB8 2462FFFF */ addiu $v0, $v1, -1 +/* 18A79C 8025BEBC 24020003 */ addiu $v0, $zero, 3 +/* 18A7A0 8025BEC0 A60006CA */ sh $zero, 0x6ca($s0) +/* 18A7A4 8025BEC4 A20206C2 */ sb $v0, 0x6c2($s0) +.L8025BEC8: +/* 18A7A8 8025BEC8 16200018 */ bnez $s1, .L8025BF2C +/* 18A7AC 8025BECC 3C0651EB */ lui $a2, 0x51eb +/* 18A7B0 8025BED0 8602074A */ lh $v0, 0x74a($s0) +/* 18A7B4 8025BED4 24036400 */ addiu $v1, $zero, 0x6400 +/* 18A7B8 8025BED8 14400002 */ bnez $v0, .L8025BEE4 +/* 18A7BC 8025BEDC 0062001A */ div $zero, $v1, $v0 +/* 18A7C0 8025BEE0 0007000D */ break 7 +.L8025BEE4: +/* 18A7C4 8025BEE4 2401FFFF */ addiu $at, $zero, -1 +/* 18A7C8 8025BEE8 14410004 */ bne $v0, $at, .L8025BEFC +/* 18A7CC 8025BEEC 3C018000 */ lui $at, 0x8000 +/* 18A7D0 8025BEF0 14610002 */ bne $v1, $at, .L8025BEFC +/* 18A7D4 8025BEF4 00000000 */ nop +/* 18A7D8 8025BEF8 0006000D */ break 6 +.L8025BEFC: +/* 18A7DC 8025BEFC 00001812 */ mflo $v1 +/* 18A7E0 8025BF00 960206CA */ lhu $v0, 0x6ca($s0) +/* 18A7E4 8025BF04 00431021 */ addu $v0, $v0, $v1 +/* 18A7E8 8025BF08 A60206CA */ sh $v0, 0x6ca($s0) +/* 18A7EC 8025BF0C 00021400 */ sll $v0, $v0, 0x10 +/* 18A7F0 8025BF10 00021403 */ sra $v0, $v0, 0x10 +/* 18A7F4 8025BF14 2842639D */ slti $v0, $v0, 0x639d +/* 18A7F8 8025BF18 14400005 */ bnez $v0, .L8025BF30 +/* 18A7FC 8025BF1C 34C6851F */ ori $a2, $a2, 0x851f +/* 18A800 8025BF20 2402639C */ addiu $v0, $zero, 0x639c +/* 18A804 8025BF24 A60206CA */ sh $v0, 0x6ca($s0) +/* 18A808 8025BF28 3C0651EB */ lui $a2, 0x51eb +.L8025BF2C: +/* 18A80C 8025BF2C 34C6851F */ ori $a2, $a2, 0x851f +.L8025BF30: +/* 18A810 8025BF30 0200682D */ daddu $t5, $s0, $zero +/* 18A814 8025BF34 0000582D */ daddu $t3, $zero, $zero +/* 18A818 8025BF38 3C0F8080 */ lui $t7, 0x8080 +/* 18A81C 8025BF3C 35EF8081 */ ori $t7, $t7, 0x8081 +/* 18A820 8025BF40 86020742 */ lh $v0, 0x742($s0) +/* 18A824 8025BF44 8E0506D0 */ lw $a1, 0x6d0($s0) +/* 18A828 8025BF48 960306CA */ lhu $v1, 0x6ca($s0) +/* 18A82C 8025BF4C 00021080 */ sll $v0, $v0, 2 +/* 18A830 8025BF50 00451021 */ addu $v0, $v0, $a1 +/* 18A834 8025BF54 00031C00 */ sll $v1, $v1, 0x10 +/* 18A838 8025BF58 00032403 */ sra $a0, $v1, 0x10 +/* 18A83C 8025BF5C 8C4A0000 */ lw $t2, ($v0) +/* 18A840 8025BF60 86020740 */ lh $v0, 0x740($s0) +/* 18A844 8025BF64 00860018 */ mult $a0, $a2 +/* 18A848 8025BF68 00021080 */ sll $v0, $v0, 2 +/* 18A84C 8025BF6C 00451021 */ addu $v0, $v0, $a1 +/* 18A850 8025BF70 8C490000 */ lw $t1, ($v0) +/* 18A854 8025BF74 00031FC3 */ sra $v1, $v1, 0x1f +/* 18A858 8025BF78 AE1006D4 */ sw $s0, 0x6d4($s0) +/* 18A85C 8025BF7C 0000C810 */ mfhi $t9 +/* 18A860 8025BF80 00191143 */ sra $v0, $t9, 5 +/* 18A864 8025BF84 0043C023 */ subu $t8, $v0, $v1 +/* 18A868 8025BF88 330C00FF */ andi $t4, $t8, 0xff +/* 18A86C 8025BF8C 240200FF */ addiu $v0, $zero, 0xff +/* 18A870 8025BF90 004C7023 */ subu $t6, $v0, $t4 +.L8025BF94: +/* 18A874 8025BF94 95430000 */ lhu $v1, ($t2) +/* 18A878 8025BF98 000312C2 */ srl $v0, $v1, 0xb +/* 18A87C 8025BF9C 004E0018 */ mult $v0, $t6 +/* 18A880 8025BFA0 95240000 */ lhu $a0, ($t1) +/* 18A884 8025BFA4 00002812 */ mflo $a1 +/* 18A888 8025BFA8 000412C2 */ srl $v0, $a0, 0xb +/* 18A88C 8025BFAC 00000000 */ nop +/* 18A890 8025BFB0 004C0018 */ mult $v0, $t4 +/* 18A894 8025BFB4 00004012 */ mflo $t0 +/* 18A898 8025BFB8 00A82821 */ addu $a1, $a1, $t0 +/* 18A89C 8025BFBC 00000000 */ nop +/* 18A8A0 8025BFC0 00AF0018 */ mult $a1, $t7 +/* 18A8A4 8025BFC4 00008810 */ mfhi $s1 +/* 18A8A8 8025BFC8 00031182 */ srl $v0, $v1, 6 +/* 18A8AC 8025BFCC 3042001F */ andi $v0, $v0, 0x1f +/* 18A8B0 8025BFD0 004E0018 */ mult $v0, $t6 +/* 18A8B4 8025BFD4 00004012 */ mflo $t0 +/* 18A8B8 8025BFD8 00041182 */ srl $v0, $a0, 6 +/* 18A8BC 8025BFDC 3042001F */ andi $v0, $v0, 0x1f +/* 18A8C0 8025BFE0 004C0018 */ mult $v0, $t4 +/* 18A8C4 8025BFE4 00003812 */ mflo $a3 +/* 18A8C8 8025BFE8 00031842 */ srl $v1, $v1, 1 +/* 18A8CC 8025BFEC 3063001F */ andi $v1, $v1, 0x1f +/* 18A8D0 8025BFF0 006E0018 */ mult $v1, $t6 +/* 18A8D4 8025BFF4 00001812 */ mflo $v1 +/* 18A8D8 8025BFF8 00042042 */ srl $a0, $a0, 1 +/* 18A8DC 8025BFFC 3084001F */ andi $a0, $a0, 0x1f +/* 18A8E0 8025C000 008C0018 */ mult $a0, $t4 +/* 18A8E4 8025C004 254A0002 */ addiu $t2, $t2, 2 +/* 18A8E8 8025C008 91260001 */ lbu $a2, 1($t1) +/* 18A8EC 8025C00C 25290002 */ addiu $t1, $t1, 2 +/* 18A8F0 8025C010 00009812 */ mflo $s3 +/* 18A8F4 8025C014 256B0001 */ addiu $t3, $t3, 1 +/* 18A8F8 8025C018 01072021 */ addu $a0, $t0, $a3 +/* 18A8FC 8025C01C 008F0018 */ mult $a0, $t7 +/* 18A900 8025C020 30C60001 */ andi $a2, $a2, 1 +/* 18A904 8025C024 02251021 */ addu $v0, $s1, $a1 +/* 18A908 8025C028 000211C3 */ sra $v0, $v0, 7 +/* 18A90C 8025C02C 00052FC3 */ sra $a1, $a1, 0x1f +/* 18A910 8025C030 00004010 */ mfhi $t0 +/* 18A914 8025C034 00453823 */ subu $a3, $v0, $a1 +/* 18A918 8025C038 00731821 */ addu $v1, $v1, $s3 +/* 18A91C 8025C03C 006F0018 */ mult $v1, $t7 +/* 18A920 8025C040 01041021 */ addu $v0, $t0, $a0 +/* 18A924 8025C044 000211C3 */ sra $v0, $v0, 7 +/* 18A928 8025C048 000427C3 */ sra $a0, $a0, 0x1f +/* 18A92C 8025C04C 00442823 */ subu $a1, $v0, $a0 +/* 18A930 8025C050 00008810 */ mfhi $s1 +/* 18A934 8025C054 02231021 */ addu $v0, $s1, $v1 +/* 18A938 8025C058 000211C3 */ sra $v0, $v0, 7 +/* 18A93C 8025C05C 00031FC3 */ sra $v1, $v1, 0x1f +/* 18A940 8025C060 00432023 */ subu $a0, $v0, $v1 +/* 18A944 8025C064 30E300FF */ andi $v1, $a3, 0xff +/* 18A948 8025C068 00031AC0 */ sll $v1, $v1, 0xb +/* 18A94C 8025C06C 30A200FF */ andi $v0, $a1, 0xff +/* 18A950 8025C070 00021180 */ sll $v0, $v0, 6 +/* 18A954 8025C074 00621825 */ or $v1, $v1, $v0 +/* 18A958 8025C078 308200FF */ andi $v0, $a0, 0xff +/* 18A95C 8025C07C 00021040 */ sll $v0, $v0, 1 +/* 18A960 8025C080 00621825 */ or $v1, $v1, $v0 +/* 18A964 8025C084 00C33025 */ or $a2, $a2, $v1 +/* 18A968 8025C088 A5A60000 */ sh $a2, ($t5) +/* 18A96C 8025C08C 29620010 */ slti $v0, $t3, 0x10 +/* 18A970 8025C090 1440FFC0 */ bnez $v0, .L8025BF94 +/* 18A974 8025C094 25AD0002 */ addiu $t5, $t5, 2 +/* 18A978 8025C098 330300FF */ andi $v1, $t8, 0xff +/* 18A97C 8025C09C 240200FF */ addiu $v0, $zero, 0xff +/* 18A980 8025C0A0 14620004 */ bne $v1, $v0, .L8025C0B4 +/* 18A984 8025C0A4 00000000 */ nop +/* 18A988 8025C0A8 96020744 */ lhu $v0, 0x744($s0) +/* 18A98C 8025C0AC A20006C2 */ sb $zero, 0x6c2($s0) +.L8025C0B0: +/* 18A990 8025C0B0 A60206C8 */ sh $v0, 0x6c8($s0) +func_8025C0B4: +.L8025C0B4: +/* 18A994 8025C0B4 820306C2 */ lb $v1, 0x6c2($s0) +/* 18A998 8025C0B8 28620004 */ slti $v0, $v1, 4 +/* 18A99C 8025C0BC 1040000D */ beqz $v0, .L8025C0F4 +/* 18A9A0 8025C0C0 00000000 */ nop +/* 18A9A4 8025C0C4 0460000B */ bltz $v1, .L8025C0F4 +/* 18A9A8 8025C0C8 00000000 */ nop +/* 18A9AC 8025C0CC 16800006 */ bnez $s4, .L8025C0E8 +/* 18A9B0 8025C0D0 0240202D */ daddu $a0, $s2, $zero +/* 18A9B4 8025C0D4 02A0282D */ daddu $a1, $s5, $zero +/* 18A9B8 8025C0D8 0C096657 */ jal func_8025995C +/* 18A9BC 8025C0DC 02C0302D */ daddu $a2, $s6, $zero +/* 18A9C0 8025C0E0 0809703D */ j func_8025C0F4 +/* 18A9C4 8025C0E4 00000000 */ nop + +.L8025C0E8: +/* 18A9C8 8025C0E8 02A0282D */ daddu $a1, $s5, $zero +/* 18A9CC 8025C0EC 0C0965B0 */ jal func_802596C0 +/* 18A9D0 8025C0F0 02C0302D */ daddu $a2, $s6, $zero +func_8025C0F4: +.L8025C0F4: +/* 18A9D4 8025C0F4 8FBF0030 */ lw $ra, 0x30($sp) +/* 18A9D8 8025C0F8 8FB7002C */ lw $s7, 0x2c($sp) +/* 18A9DC 8025C0FC 8FB60028 */ lw $s6, 0x28($sp) +/* 18A9E0 8025C100 8FB50024 */ lw $s5, 0x24($sp) +/* 18A9E4 8025C104 8FB40020 */ lw $s4, 0x20($sp) +/* 18A9E8 8025C108 8FB3001C */ lw $s3, 0x1c($sp) +/* 18A9EC 8025C10C 8FB20018 */ lw $s2, 0x18($sp) +/* 18A9F0 8025C110 8FB10014 */ lw $s1, 0x14($sp) +/* 18A9F4 8025C114 8FB00010 */ lw $s0, 0x10($sp) +/* 18A9F8 8025C118 03E00008 */ jr $ra +/* 18A9FC 8025C11C 27BD0038 */ addiu $sp, $sp, 0x38 + +func_8025C120: +/* 18AA00 8025C120 27BDFFC0 */ addiu $sp, $sp, -0x40 +/* 18AA04 8025C124 AFB40028 */ sw $s4, 0x28($sp) +/* 18AA08 8025C128 0080A02D */ daddu $s4, $a0, $zero +/* 18AA0C 8025C12C AFB30024 */ sw $s3, 0x24($sp) +/* 18AA10 8025C130 00A0982D */ daddu $s3, $a1, $zero +/* 18AA14 8025C134 AFB5002C */ sw $s5, 0x2c($sp) +/* 18AA18 8025C138 00C0A82D */ daddu $s5, $a2, $zero +/* 18AA1C 8025C13C AFBF0038 */ sw $ra, 0x38($sp) +/* 18AA20 8025C140 AFB70034 */ sw $s7, 0x34($sp) +/* 18AA24 8025C144 AFB60030 */ sw $s6, 0x30($sp) +/* 18AA28 8025C148 AFB20020 */ sw $s2, 0x20($sp) +/* 18AA2C 8025C14C AFB1001C */ sw $s1, 0x1c($sp) +/* 18AA30 8025C150 AFB00018 */ sw $s0, 0x18($sp) +/* 18AA34 8025C154 8E7000C0 */ lw $s0, 0xc0($s3) +/* 18AA38 8025C158 820206C1 */ lb $v0, 0x6c1($s0) +/* 18AA3C 8025C15C 8FB20050 */ lw $s2, 0x50($sp) +/* 18AA40 8025C160 10400055 */ beqz $v0, .L8025C2B8 +/* 18AA44 8025C164 00E0B02D */ daddu $s6, $a3, $zero +/* 18AA48 8025C168 16800016 */ bnez $s4, .L8025C1C4 +/* 18AA4C 8025C16C 00000000 */ nop +/* 18AA50 8025C170 0C0B7830 */ jal func_802DE0C0 +/* 18AA54 8025C174 96640088 */ lhu $a0, 0x88($s3) +/* 18AA58 8025C178 AE0206D0 */ sw $v0, 0x6d0($s0) +/* 18AA5C 8025C17C 0040202D */ daddu $a0, $v0, $zero +/* 18AA60 8025C180 A20006CD */ sb $zero, 0x6cd($s0) +/* 18AA64 8025C184 8C830000 */ lw $v1, ($a0) +/* 18AA68 8025C188 2402FFFF */ addiu $v0, $zero, -1 +/* 18AA6C 8025C18C 10620023 */ beq $v1, $v0, .L8025C21C +/* 18AA70 8025C190 0080182D */ daddu $v1, $a0, $zero +/* 18AA74 8025C194 0040202D */ daddu $a0, $v0, $zero +func_8025C198: +/* 18AA78 8025C198 920206CD */ lbu $v0, 0x6cd($s0) +/* 18AA7C 8025C19C 24420001 */ addiu $v0, $v0, 1 +/* 18AA80 8025C1A0 A20206CD */ sb $v0, 0x6cd($s0) +/* 18AA84 8025C1A4 00021600 */ sll $v0, $v0, 0x18 +/* 18AA88 8025C1A8 00021583 */ sra $v0, $v0, 0x16 +/* 18AA8C 8025C1AC 00431021 */ addu $v0, $v0, $v1 +/* 18AA90 8025C1B0 8C420000 */ lw $v0, ($v0) +/* 18AA94 8025C1B4 10440019 */ beq $v0, $a0, .L8025C21C +/* 18AA98 8025C1B8 00000000 */ nop +/* 18AA9C 8025C1BC 08097066 */ j func_8025C198 +/* 18AAA0 8025C1C0 00000000 */ nop + +.L8025C1C4: +/* 18AAA4 8025C1C4 0C0B7A90 */ jal func_802DEA40 +/* 18AAA8 8025C1C8 96640088 */ lhu $a0, 0x88($s3) +/* 18AAAC 8025C1CC AE0206D0 */ sw $v0, 0x6d0($s0) +/* 18AAB0 8025C1D0 0040202D */ daddu $a0, $v0, $zero +/* 18AAB4 8025C1D4 A20006CD */ sb $zero, 0x6cd($s0) +/* 18AAB8 8025C1D8 8C830000 */ lw $v1, ($a0) +/* 18AABC 8025C1DC 2402FFFF */ addiu $v0, $zero, -1 +/* 18AAC0 8025C1E0 1062000B */ beq $v1, $v0, .L8025C210 +/* 18AAC4 8025C1E4 0080182D */ daddu $v1, $a0, $zero +/* 18AAC8 8025C1E8 0040202D */ daddu $a0, $v0, $zero +.L8025C1EC: +/* 18AACC 8025C1EC 920206CD */ lbu $v0, 0x6cd($s0) +/* 18AAD0 8025C1F0 24420001 */ addiu $v0, $v0, 1 +/* 18AAD4 8025C1F4 A20206CD */ sb $v0, 0x6cd($s0) +/* 18AAD8 8025C1F8 00021600 */ sll $v0, $v0, 0x18 +/* 18AADC 8025C1FC 00021583 */ sra $v0, $v0, 0x16 +/* 18AAE0 8025C200 00431021 */ addu $v0, $v0, $v1 +/* 18AAE4 8025C204 8C420000 */ lw $v0, ($v0) +/* 18AAE8 8025C208 1444FFF8 */ bne $v0, $a0, .L8025C1EC +/* 18AAEC 8025C20C 00000000 */ nop +.L8025C210: +/* 18AAF0 8025C210 0C0B7A9B */ jal func_802DEA6C +/* 18AAF4 8025C214 96640088 */ lhu $a0, 0x88($s3) +/* 18AAF8 8025C218 A20206CC */ sb $v0, 0x6cc($s0) +.L8025C21C: +/* 18AAFC 8025C21C 820306C1 */ lb $v1, 0x6c1($s0) +/* 18AB00 8025C220 24020001 */ addiu $v0, $zero, 1 +/* 18AB04 8025C224 14620004 */ bne $v1, $v0, .L8025C238 +/* 18AB08 8025C228 240200FF */ addiu $v0, $zero, 0xff +/* 18AB0C 8025C22C A20006C2 */ sb $zero, 0x6c2($s0) +/* 18AB10 8025C230 08097090 */ j func_8025C240 +/* 18AB14 8025C234 A60006CA */ sh $zero, 0x6ca($s0) + +.L8025C238: +/* 18AB18 8025C238 A20006C2 */ sb $zero, 0x6c2($s0) +/* 18AB1C 8025C23C A60206CA */ sh $v0, 0x6ca($s0) +func_8025C240: +/* 18AB20 8025C240 820206CD */ lb $v0, 0x6cd($s0) +/* 18AB24 8025C244 18400017 */ blez $v0, .L8025C2A4 +/* 18AB28 8025C248 0000602D */ daddu $t4, $zero, $zero +/* 18AB2C 8025C24C 0200202D */ daddu $a0, $s0, $zero +.L8025C250: +/* 18AB30 8025C250 8E0206D0 */ lw $v0, 0x6d0($s0) +/* 18AB34 8025C254 000C1880 */ sll $v1, $t4, 2 +/* 18AB38 8025C258 00621821 */ addu $v1, $v1, $v0 +/* 18AB3C 8025C25C 000C1140 */ sll $v0, $t4, 5 +/* 18AB40 8025C260 8C6B0000 */ lw $t3, ($v1) +/* 18AB44 8025C264 02024821 */ addu $t1, $s0, $v0 +/* 18AB48 8025C268 11600009 */ beqz $t3, .L8025C290 +/* 18AB4C 8025C26C AC8906D4 */ sw $t1, 0x6d4($a0) +/* 18AB50 8025C270 0000502D */ daddu $t2, $zero, $zero +.L8025C274: +/* 18AB54 8025C274 95620000 */ lhu $v0, ($t3) +/* 18AB58 8025C278 256B0002 */ addiu $t3, $t3, 2 +/* 18AB5C 8025C27C 254A0001 */ addiu $t2, $t2, 1 +/* 18AB60 8025C280 A5220000 */ sh $v0, ($t1) +/* 18AB64 8025C284 29420010 */ slti $v0, $t2, 0x10 +/* 18AB68 8025C288 1440FFFA */ bnez $v0, .L8025C274 +/* 18AB6C 8025C28C 25290002 */ addiu $t1, $t1, 2 +.L8025C290: +/* 18AB70 8025C290 820206CD */ lb $v0, 0x6cd($s0) +/* 18AB74 8025C294 258C0001 */ addiu $t4, $t4, 1 +/* 18AB78 8025C298 0182102A */ slt $v0, $t4, $v0 +/* 18AB7C 8025C29C 1440FFEC */ bnez $v0, .L8025C250 +/* 18AB80 8025C2A0 24840004 */ addiu $a0, $a0, 4 +.L8025C2A4: +/* 18AB84 8025C2A4 96020744 */ lhu $v0, 0x744($s0) +/* 18AB88 8025C2A8 A60006CA */ sh $zero, 0x6ca($s0) +/* 18AB8C 8025C2AC A20006C2 */ sb $zero, 0x6c2($s0) +/* 18AB90 8025C2B0 A20006C1 */ sb $zero, 0x6c1($s0) +/* 18AB94 8025C2B4 A60206C8 */ sh $v0, 0x6c8($s0) +.L8025C2B8: +/* 18AB98 8025C2B8 820306C2 */ lb $v1, 0x6c2($s0) +/* 18AB9C 8025C2BC 10600005 */ beqz $v1, .L8025C2D4 +/* 18ABA0 8025C2C0 24020001 */ addiu $v0, $zero, 1 +/* 18ABA4 8025C2C4 1062000E */ beq $v1, $v0, .L8025C300 +/* 18ABA8 8025C2C8 24020002 */ addiu $v0, $zero, 2 +/* 18ABAC 8025C2CC 08097156 */ j func_8025C558 +/* 18ABB0 8025C2D0 00000000 */ nop + +.L8025C2D4: +/* 18ABB4 8025C2D4 1640009E */ bnez $s2, .L8025C550 +/* 18ABB8 8025C2D8 00000000 */ nop +/* 18ABBC 8025C2DC 860206C8 */ lh $v0, 0x6c8($s0) +/* 18ABC0 8025C2E0 960306C8 */ lhu $v1, 0x6c8($s0) +/* 18ABC4 8025C2E4 10400003 */ beqz $v0, .L8025C2F4 +/* 18ABC8 8025C2E8 2462FFFF */ addiu $v0, $v1, -1 +/* 18ABCC 8025C2EC 08097154 */ j func_8025C550 +/* 18ABD0 8025C2F0 A60206C8 */ sh $v0, 0x6c8($s0) + +.L8025C2F4: +/* 18ABD4 8025C2F4 24020001 */ addiu $v0, $zero, 1 +/* 18ABD8 8025C2F8 A60006CA */ sh $zero, 0x6ca($s0) +/* 18ABDC 8025C2FC A20206C2 */ sb $v0, 0x6c2($s0) +.L8025C300: +/* 18ABE0 8025C300 16400018 */ bnez $s2, .L8025C364 +/* 18ABE4 8025C304 3C0451EB */ lui $a0, 0x51eb +/* 18ABE8 8025C308 86020746 */ lh $v0, 0x746($s0) +/* 18ABEC 8025C30C 24036400 */ addiu $v1, $zero, 0x6400 +/* 18ABF0 8025C310 14400002 */ bnez $v0, .L8025C31C +/* 18ABF4 8025C314 0062001A */ div $zero, $v1, $v0 +/* 18ABF8 8025C318 0007000D */ break 7 +.L8025C31C: +/* 18ABFC 8025C31C 2401FFFF */ addiu $at, $zero, -1 +/* 18AC00 8025C320 14410004 */ bne $v0, $at, .L8025C334 +/* 18AC04 8025C324 3C018000 */ lui $at, 0x8000 +/* 18AC08 8025C328 14610002 */ bne $v1, $at, .L8025C334 +/* 18AC0C 8025C32C 00000000 */ nop +/* 18AC10 8025C330 0006000D */ break 6 +.L8025C334: +/* 18AC14 8025C334 00001812 */ mflo $v1 +/* 18AC18 8025C338 960206CA */ lhu $v0, 0x6ca($s0) +/* 18AC1C 8025C33C 00431021 */ addu $v0, $v0, $v1 +/* 18AC20 8025C340 A60206CA */ sh $v0, 0x6ca($s0) +/* 18AC24 8025C344 00021400 */ sll $v0, $v0, 0x10 +/* 18AC28 8025C348 00021403 */ sra $v0, $v0, 0x10 +/* 18AC2C 8025C34C 2842639D */ slti $v0, $v0, 0x639d +/* 18AC30 8025C350 14400005 */ bnez $v0, .L8025C368 +/* 18AC34 8025C354 3484851F */ ori $a0, $a0, 0x851f +/* 18AC38 8025C358 2402639C */ addiu $v0, $zero, 0x639c +/* 18AC3C 8025C35C A60206CA */ sh $v0, 0x6ca($s0) +/* 18AC40 8025C360 3C0451EB */ lui $a0, 0x51eb +.L8025C364: +/* 18AC44 8025C364 3484851F */ ori $a0, $a0, 0x851f +.L8025C368: +/* 18AC48 8025C368 960306CA */ lhu $v1, 0x6ca($s0) +/* 18AC4C 8025C36C 00031C00 */ sll $v1, $v1, 0x10 +/* 18AC50 8025C370 00031403 */ sra $v0, $v1, 0x10 +/* 18AC54 8025C374 00440018 */ mult $v0, $a0 +/* 18AC58 8025C378 0000602D */ daddu $t4, $zero, $zero +/* 18AC5C 8025C37C 920506CC */ lbu $a1, 0x6cc($s0) +/* 18AC60 8025C380 00031FC3 */ sra $v1, $v1, 0x1f +/* 18AC64 8025C384 820206CC */ lb $v0, 0x6cc($s0) +/* 18AC68 8025C388 0000B810 */ mfhi $s7 +/* 18AC6C 8025C38C 00172143 */ sra $a0, $s7, 5 +/* 18AC70 8025C390 18400068 */ blez $v0, .L8025C534 +/* 18AC74 8025C394 00838823 */ subu $s1, $a0, $v1 +/* 18AC78 8025C398 322E00FF */ andi $t6, $s1, 0xff +/* 18AC7C 8025C39C 240200FF */ addiu $v0, $zero, 0xff +/* 18AC80 8025C3A0 004EC023 */ subu $t8, $v0, $t6 +/* 18AC84 8025C3A4 3C0F8080 */ lui $t7, 0x8080 +/* 18AC88 8025C3A8 35EF8081 */ ori $t7, $t7, 0x8081 +/* 18AC8C 8025C3AC 0200C82D */ daddu $t9, $s0, $zero +.L8025C3B0: +/* 18AC90 8025C3B0 00052600 */ sll $a0, $a1, 0x18 +/* 18AC94 8025C3B4 86020740 */ lh $v0, 0x740($s0) +/* 18AC98 8025C3B8 00042603 */ sra $a0, $a0, 0x18 +/* 18AC9C 8025C3BC 00440018 */ mult $v0, $a0 +/* 18ACA0 8025C3C0 86030742 */ lh $v1, 0x742($s0) +/* 18ACA4 8025C3C4 000C1140 */ sll $v0, $t4, 5 +/* 18ACA8 8025C3C8 0000B812 */ mflo $s7 +/* 18ACAC 8025C3CC 02026821 */ addu $t5, $s0, $v0 +/* 18ACB0 8025C3D0 02EC1021 */ addu $v0, $s7, $t4 +/* 18ACB4 8025C3D4 00640018 */ mult $v1, $a0 +/* 18ACB8 8025C3D8 8E0306D0 */ lw $v1, 0x6d0($s0) +/* 18ACBC 8025C3DC 00021080 */ sll $v0, $v0, 2 +/* 18ACC0 8025C3E0 00431021 */ addu $v0, $v0, $v1 +/* 18ACC4 8025C3E4 8C4B0000 */ lw $t3, ($v0) +/* 18ACC8 8025C3E8 0000B812 */ mflo $s7 +/* 18ACCC 8025C3EC 02EC1021 */ addu $v0, $s7, $t4 +/* 18ACD0 8025C3F0 00021080 */ sll $v0, $v0, 2 +/* 18ACD4 8025C3F4 00431021 */ addu $v0, $v0, $v1 +/* 18ACD8 8025C3F8 8C490000 */ lw $t1, ($v0) +/* 18ACDC 8025C3FC 0000502D */ daddu $t2, $zero, $zero +/* 18ACE0 8025C400 AF2D06D4 */ sw $t5, 0x6d4($t9) +.L8025C404: +/* 18ACE4 8025C404 95630000 */ lhu $v1, ($t3) +/* 18ACE8 8025C408 000312C2 */ srl $v0, $v1, 0xb +/* 18ACEC 8025C40C 00580018 */ mult $v0, $t8 +/* 18ACF0 8025C410 95240000 */ lhu $a0, ($t1) +/* 18ACF4 8025C414 00002812 */ mflo $a1 +/* 18ACF8 8025C418 000412C2 */ srl $v0, $a0, 0xb +/* 18ACFC 8025C41C 00000000 */ nop +/* 18AD00 8025C420 004E0018 */ mult $v0, $t6 +/* 18AD04 8025C424 00004012 */ mflo $t0 +/* 18AD08 8025C428 00A82821 */ addu $a1, $a1, $t0 +/* 18AD0C 8025C42C 00000000 */ nop +/* 18AD10 8025C430 00AF0018 */ mult $a1, $t7 +/* 18AD14 8025C434 0000B810 */ mfhi $s7 +/* 18AD18 8025C438 00031182 */ srl $v0, $v1, 6 +/* 18AD1C 8025C43C 3042001F */ andi $v0, $v0, 0x1f +/* 18AD20 8025C440 00580018 */ mult $v0, $t8 +/* 18AD24 8025C444 00004012 */ mflo $t0 +/* 18AD28 8025C448 00041182 */ srl $v0, $a0, 6 +/* 18AD2C 8025C44C 3042001F */ andi $v0, $v0, 0x1f +/* 18AD30 8025C450 004E0018 */ mult $v0, $t6 +/* 18AD34 8025C454 00003812 */ mflo $a3 +/* 18AD38 8025C458 00031842 */ srl $v1, $v1, 1 +/* 18AD3C 8025C45C 3063001F */ andi $v1, $v1, 0x1f +/* 18AD40 8025C460 00780018 */ mult $v1, $t8 +/* 18AD44 8025C464 256B0002 */ addiu $t3, $t3, 2 +/* 18AD48 8025C468 254A0001 */ addiu $t2, $t2, 1 +/* 18AD4C 8025C46C 00042042 */ srl $a0, $a0, 1 +/* 18AD50 8025C470 00001812 */ mflo $v1 +/* 18AD54 8025C474 3084001F */ andi $a0, $a0, 0x1f +/* 18AD58 8025C478 AFB70010 */ sw $s7, 0x10($sp) +/* 18AD5C 8025C47C 008E0018 */ mult $a0, $t6 +/* 18AD60 8025C480 91260001 */ lbu $a2, 1($t1) +/* 18AD64 8025C484 25290002 */ addiu $t1, $t1, 2 +/* 18AD68 8025C488 30C60001 */ andi $a2, $a2, 1 +/* 18AD6C 8025C48C 01072021 */ addu $a0, $t0, $a3 +/* 18AD70 8025C490 0000B812 */ mflo $s7 +/* 18AD74 8025C494 AFB70014 */ sw $s7, 0x14($sp) +/* 18AD78 8025C498 8FB70010 */ lw $s7, 0x10($sp) +/* 18AD7C 8025C49C 008F0018 */ mult $a0, $t7 +/* 18AD80 8025C4A0 02E51021 */ addu $v0, $s7, $a1 +/* 18AD84 8025C4A4 000211C3 */ sra $v0, $v0, 7 +/* 18AD88 8025C4A8 00052FC3 */ sra $a1, $a1, 0x1f +/* 18AD8C 8025C4AC 8FB70014 */ lw $s7, 0x14($sp) +/* 18AD90 8025C4B0 00004010 */ mfhi $t0 +/* 18AD94 8025C4B4 00453823 */ subu $a3, $v0, $a1 +/* 18AD98 8025C4B8 00771821 */ addu $v1, $v1, $s7 +/* 18AD9C 8025C4BC 006F0018 */ mult $v1, $t7 +/* 18ADA0 8025C4C0 01041021 */ addu $v0, $t0, $a0 +/* 18ADA4 8025C4C4 000211C3 */ sra $v0, $v0, 7 +/* 18ADA8 8025C4C8 000427C3 */ sra $a0, $a0, 0x1f +/* 18ADAC 8025C4CC 00442823 */ subu $a1, $v0, $a0 +/* 18ADB0 8025C4D0 0000B810 */ mfhi $s7 +/* 18ADB4 8025C4D4 AFB70010 */ sw $s7, 0x10($sp) +/* 18ADB8 8025C4D8 02E31021 */ addu $v0, $s7, $v1 +/* 18ADBC 8025C4DC 000211C3 */ sra $v0, $v0, 7 +/* 18ADC0 8025C4E0 00031FC3 */ sra $v1, $v1, 0x1f +/* 18ADC4 8025C4E4 00432023 */ subu $a0, $v0, $v1 +/* 18ADC8 8025C4E8 30E300FF */ andi $v1, $a3, 0xff +/* 18ADCC 8025C4EC 00031AC0 */ sll $v1, $v1, 0xb +/* 18ADD0 8025C4F0 30A200FF */ andi $v0, $a1, 0xff +/* 18ADD4 8025C4F4 00021180 */ sll $v0, $v0, 6 +/* 18ADD8 8025C4F8 00621825 */ or $v1, $v1, $v0 +/* 18ADDC 8025C4FC 308200FF */ andi $v0, $a0, 0xff +/* 18ADE0 8025C500 00021040 */ sll $v0, $v0, 1 +/* 18ADE4 8025C504 00621825 */ or $v1, $v1, $v0 +/* 18ADE8 8025C508 00C33025 */ or $a2, $a2, $v1 +/* 18ADEC 8025C50C A5A60000 */ sh $a2, ($t5) +/* 18ADF0 8025C510 29420010 */ slti $v0, $t2, 0x10 +/* 18ADF4 8025C514 1440FFBB */ bnez $v0, .L8025C404 +/* 18ADF8 8025C518 25AD0002 */ addiu $t5, $t5, 2 +/* 18ADFC 8025C51C 258C0001 */ addiu $t4, $t4, 1 +/* 18AE00 8025C520 820206CC */ lb $v0, 0x6cc($s0) +/* 18AE04 8025C524 920506CC */ lbu $a1, 0x6cc($s0) +/* 18AE08 8025C528 0182102A */ slt $v0, $t4, $v0 +/* 18AE0C 8025C52C 1440FFA0 */ bnez $v0, .L8025C3B0 +/* 18AE10 8025C530 27390004 */ addiu $t9, $t9, 4 +.L8025C534: +/* 18AE14 8025C534 322300FF */ andi $v1, $s1, 0xff +/* 18AE18 8025C538 240200FF */ addiu $v0, $zero, 0xff +/* 18AE1C 8025C53C 14620004 */ bne $v1, $v0, .L8025C550 +/* 18AE20 8025C540 24020002 */ addiu $v0, $zero, 2 +/* 18AE24 8025C544 96030748 */ lhu $v1, 0x748($s0) +/* 18AE28 8025C548 A20206C2 */ sb $v0, 0x6c2($s0) +/* 18AE2C 8025C54C A60306C8 */ sh $v1, 0x6c8($s0) +func_8025C550: +.L8025C550: +/* 18AE30 8025C550 820306C2 */ lb $v1, 0x6c2($s0) +/* 18AE34 8025C554 24020002 */ addiu $v0, $zero, 2 +func_8025C558: +/* 18AE38 8025C558 10620005 */ beq $v1, $v0, .L8025C570 +/* 18AE3C 8025C55C 24020003 */ addiu $v0, $zero, 3 +/* 18AE40 8025C560 1062000C */ beq $v1, $v0, .L8025C594 +/* 18AE44 8025C564 00000000 */ nop +/* 18AE48 8025C568 080971F5 */ j func_8025C7D4 +/* 18AE4C 8025C56C 00000000 */ nop + +.L8025C570: +/* 18AE50 8025C570 16400098 */ bnez $s2, .L8025C7D4 +/* 18AE54 8025C574 00000000 */ nop +/* 18AE58 8025C578 860206C8 */ lh $v0, 0x6c8($s0) +/* 18AE5C 8025C57C 960306C8 */ lhu $v1, 0x6c8($s0) +/* 18AE60 8025C580 14400093 */ bnez $v0, .L8025C7D0 +/* 18AE64 8025C584 2462FFFF */ addiu $v0, $v1, -1 +/* 18AE68 8025C588 24020003 */ addiu $v0, $zero, 3 +/* 18AE6C 8025C58C A60006CA */ sh $zero, 0x6ca($s0) +/* 18AE70 8025C590 A20206C2 */ sb $v0, 0x6c2($s0) +.L8025C594: +/* 18AE74 8025C594 16400018 */ bnez $s2, .L8025C5F8 +/* 18AE78 8025C598 3C0451EB */ lui $a0, 0x51eb +/* 18AE7C 8025C59C 8602074A */ lh $v0, 0x74a($s0) +/* 18AE80 8025C5A0 24036400 */ addiu $v1, $zero, 0x6400 +/* 18AE84 8025C5A4 14400002 */ bnez $v0, .L8025C5B0 +/* 18AE88 8025C5A8 0062001A */ div $zero, $v1, $v0 +/* 18AE8C 8025C5AC 0007000D */ break 7 +.L8025C5B0: +/* 18AE90 8025C5B0 2401FFFF */ addiu $at, $zero, -1 +/* 18AE94 8025C5B4 14410004 */ bne $v0, $at, .L8025C5C8 +/* 18AE98 8025C5B8 3C018000 */ lui $at, 0x8000 +/* 18AE9C 8025C5BC 14610002 */ bne $v1, $at, .L8025C5C8 +/* 18AEA0 8025C5C0 00000000 */ nop +/* 18AEA4 8025C5C4 0006000D */ break 6 +.L8025C5C8: +/* 18AEA8 8025C5C8 00001812 */ mflo $v1 +/* 18AEAC 8025C5CC 960206CA */ lhu $v0, 0x6ca($s0) +/* 18AEB0 8025C5D0 00431021 */ addu $v0, $v0, $v1 +/* 18AEB4 8025C5D4 A60206CA */ sh $v0, 0x6ca($s0) +/* 18AEB8 8025C5D8 00021400 */ sll $v0, $v0, 0x10 +/* 18AEBC 8025C5DC 00021403 */ sra $v0, $v0, 0x10 +/* 18AEC0 8025C5E0 2842639D */ slti $v0, $v0, 0x639d +/* 18AEC4 8025C5E4 14400005 */ bnez $v0, .L8025C5FC +/* 18AEC8 8025C5E8 3484851F */ ori $a0, $a0, 0x851f +/* 18AECC 8025C5EC 2402639C */ addiu $v0, $zero, 0x639c +/* 18AED0 8025C5F0 A60206CA */ sh $v0, 0x6ca($s0) +/* 18AED4 8025C5F4 3C0451EB */ lui $a0, 0x51eb +.L8025C5F8: +/* 18AED8 8025C5F8 3484851F */ ori $a0, $a0, 0x851f +.L8025C5FC: +/* 18AEDC 8025C5FC 960306CA */ lhu $v1, 0x6ca($s0) +/* 18AEE0 8025C600 00031C00 */ sll $v1, $v1, 0x10 +/* 18AEE4 8025C604 00031403 */ sra $v0, $v1, 0x10 +/* 18AEE8 8025C608 00440018 */ mult $v0, $a0 +/* 18AEEC 8025C60C 0000602D */ daddu $t4, $zero, $zero +/* 18AEF0 8025C610 920506CC */ lbu $a1, 0x6cc($s0) +/* 18AEF4 8025C614 00031FC3 */ sra $v1, $v1, 0x1f +/* 18AEF8 8025C618 820206CC */ lb $v0, 0x6cc($s0) +/* 18AEFC 8025C61C 0000B810 */ mfhi $s7 +/* 18AF00 8025C620 00172143 */ sra $a0, $s7, 5 +/* 18AF04 8025C624 18400064 */ blez $v0, .L8025C7B8 +/* 18AF08 8025C628 00838823 */ subu $s1, $a0, $v1 +/* 18AF0C 8025C62C 322E00FF */ andi $t6, $s1, 0xff +/* 18AF10 8025C630 240200FF */ addiu $v0, $zero, 0xff +/* 18AF14 8025C634 004EC023 */ subu $t8, $v0, $t6 +/* 18AF18 8025C638 3C0F8080 */ lui $t7, 0x8080 +/* 18AF1C 8025C63C 35EF8081 */ ori $t7, $t7, 0x8081 +/* 18AF20 8025C640 0200C82D */ daddu $t9, $s0, $zero +.L8025C644: +/* 18AF24 8025C644 00052600 */ sll $a0, $a1, 0x18 +/* 18AF28 8025C648 86020740 */ lh $v0, 0x740($s0) +/* 18AF2C 8025C64C 00042603 */ sra $a0, $a0, 0x18 +/* 18AF30 8025C650 00440018 */ mult $v0, $a0 +/* 18AF34 8025C654 86030742 */ lh $v1, 0x742($s0) +/* 18AF38 8025C658 000C1140 */ sll $v0, $t4, 5 +/* 18AF3C 8025C65C 0000B812 */ mflo $s7 +/* 18AF40 8025C660 02026821 */ addu $t5, $s0, $v0 +/* 18AF44 8025C664 02EC1021 */ addu $v0, $s7, $t4 +/* 18AF48 8025C668 00640018 */ mult $v1, $a0 +/* 18AF4C 8025C66C 8E0306D0 */ lw $v1, 0x6d0($s0) +/* 18AF50 8025C670 00021080 */ sll $v0, $v0, 2 +/* 18AF54 8025C674 00431021 */ addu $v0, $v0, $v1 +/* 18AF58 8025C678 8C4B0000 */ lw $t3, ($v0) +/* 18AF5C 8025C67C 0000B812 */ mflo $s7 +/* 18AF60 8025C680 02EC1021 */ addu $v0, $s7, $t4 +/* 18AF64 8025C684 00021080 */ sll $v0, $v0, 2 +/* 18AF68 8025C688 00431021 */ addu $v0, $v0, $v1 +/* 18AF6C 8025C68C 8C490000 */ lw $t1, ($v0) +/* 18AF70 8025C690 0000502D */ daddu $t2, $zero, $zero +/* 18AF74 8025C694 AF2D06D4 */ sw $t5, 0x6d4($t9) +.L8025C698: +/* 18AF78 8025C698 95630000 */ lhu $v1, ($t3) +/* 18AF7C 8025C69C 000312C2 */ srl $v0, $v1, 0xb +/* 18AF80 8025C6A0 00580018 */ mult $v0, $t8 +/* 18AF84 8025C6A4 95240000 */ lhu $a0, ($t1) +/* 18AF88 8025C6A8 00002812 */ mflo $a1 +/* 18AF8C 8025C6AC 000412C2 */ srl $v0, $a0, 0xb +/* 18AF90 8025C6B0 00000000 */ nop +/* 18AF94 8025C6B4 004E0018 */ mult $v0, $t6 +/* 18AF98 8025C6B8 00004012 */ mflo $t0 +/* 18AF9C 8025C6BC 00A82821 */ addu $a1, $a1, $t0 +/* 18AFA0 8025C6C0 00000000 */ nop +/* 18AFA4 8025C6C4 00AF0018 */ mult $a1, $t7 +/* 18AFA8 8025C6C8 00009010 */ mfhi $s2 +/* 18AFAC 8025C6CC 00031182 */ srl $v0, $v1, 6 +/* 18AFB0 8025C6D0 3042001F */ andi $v0, $v0, 0x1f +/* 18AFB4 8025C6D4 00580018 */ mult $v0, $t8 +/* 18AFB8 8025C6D8 00004012 */ mflo $t0 +/* 18AFBC 8025C6DC 00041182 */ srl $v0, $a0, 6 +/* 18AFC0 8025C6E0 3042001F */ andi $v0, $v0, 0x1f +/* 18AFC4 8025C6E4 004E0018 */ mult $v0, $t6 +/* 18AFC8 8025C6E8 00003812 */ mflo $a3 +/* 18AFCC 8025C6EC 00031842 */ srl $v1, $v1, 1 +/* 18AFD0 8025C6F0 3063001F */ andi $v1, $v1, 0x1f +/* 18AFD4 8025C6F4 00780018 */ mult $v1, $t8 +/* 18AFD8 8025C6F8 00001812 */ mflo $v1 +/* 18AFDC 8025C6FC 00042042 */ srl $a0, $a0, 1 +/* 18AFE0 8025C700 3084001F */ andi $a0, $a0, 0x1f +/* 18AFE4 8025C704 008E0018 */ mult $a0, $t6 +/* 18AFE8 8025C708 256B0002 */ addiu $t3, $t3, 2 +/* 18AFEC 8025C70C 91260001 */ lbu $a2, 1($t1) +/* 18AFF0 8025C710 25290002 */ addiu $t1, $t1, 2 +/* 18AFF4 8025C714 254A0001 */ addiu $t2, $t2, 1 +/* 18AFF8 8025C718 0000B812 */ mflo $s7 +/* 18AFFC 8025C71C 30C60001 */ andi $a2, $a2, 1 +/* 18B000 8025C720 01072021 */ addu $a0, $t0, $a3 +/* 18B004 8025C724 008F0018 */ mult $a0, $t7 +/* 18B008 8025C728 02451021 */ addu $v0, $s2, $a1 +/* 18B00C 8025C72C 000211C3 */ sra $v0, $v0, 7 +/* 18B010 8025C730 00052FC3 */ sra $a1, $a1, 0x1f +/* 18B014 8025C734 00453823 */ subu $a3, $v0, $a1 +/* 18B018 8025C738 00004010 */ mfhi $t0 +/* 18B01C 8025C73C AFB70014 */ sw $s7, 0x14($sp) +/* 18B020 8025C740 00771821 */ addu $v1, $v1, $s7 +/* 18B024 8025C744 006F0018 */ mult $v1, $t7 +/* 18B028 8025C748 01041021 */ addu $v0, $t0, $a0 +/* 18B02C 8025C74C 000211C3 */ sra $v0, $v0, 7 +/* 18B030 8025C750 000427C3 */ sra $a0, $a0, 0x1f +/* 18B034 8025C754 00442823 */ subu $a1, $v0, $a0 +/* 18B038 8025C758 00009010 */ mfhi $s2 +/* 18B03C 8025C75C 02431021 */ addu $v0, $s2, $v1 +/* 18B040 8025C760 000211C3 */ sra $v0, $v0, 7 +/* 18B044 8025C764 00031FC3 */ sra $v1, $v1, 0x1f +/* 18B048 8025C768 00432023 */ subu $a0, $v0, $v1 +/* 18B04C 8025C76C 30E300FF */ andi $v1, $a3, 0xff +/* 18B050 8025C770 00031AC0 */ sll $v1, $v1, 0xb +/* 18B054 8025C774 30A200FF */ andi $v0, $a1, 0xff +/* 18B058 8025C778 00021180 */ sll $v0, $v0, 6 +/* 18B05C 8025C77C 00621825 */ or $v1, $v1, $v0 +/* 18B060 8025C780 308200FF */ andi $v0, $a0, 0xff +/* 18B064 8025C784 00021040 */ sll $v0, $v0, 1 +/* 18B068 8025C788 00621825 */ or $v1, $v1, $v0 +/* 18B06C 8025C78C 00C33025 */ or $a2, $a2, $v1 +/* 18B070 8025C790 A5A60000 */ sh $a2, ($t5) +/* 18B074 8025C794 29420010 */ slti $v0, $t2, 0x10 +/* 18B078 8025C798 1440FFBF */ bnez $v0, .L8025C698 +/* 18B07C 8025C79C 25AD0002 */ addiu $t5, $t5, 2 +/* 18B080 8025C7A0 258C0001 */ addiu $t4, $t4, 1 +/* 18B084 8025C7A4 820206CC */ lb $v0, 0x6cc($s0) +/* 18B088 8025C7A8 920506CC */ lbu $a1, 0x6cc($s0) +/* 18B08C 8025C7AC 0182102A */ slt $v0, $t4, $v0 +/* 18B090 8025C7B0 1440FFA4 */ bnez $v0, .L8025C644 +/* 18B094 8025C7B4 27390004 */ addiu $t9, $t9, 4 +.L8025C7B8: +/* 18B098 8025C7B8 322300FF */ andi $v1, $s1, 0xff +/* 18B09C 8025C7BC 240200FF */ addiu $v0, $zero, 0xff +/* 18B0A0 8025C7C0 14620004 */ bne $v1, $v0, .L8025C7D4 +/* 18B0A4 8025C7C4 00000000 */ nop +/* 18B0A8 8025C7C8 96020744 */ lhu $v0, 0x744($s0) +/* 18B0AC 8025C7CC A20006C2 */ sb $zero, 0x6c2($s0) +.L8025C7D0: +/* 18B0B0 8025C7D0 A60206C8 */ sh $v0, 0x6c8($s0) +func_8025C7D4: +.L8025C7D4: +/* 18B0B4 8025C7D4 820306C2 */ lb $v1, 0x6c2($s0) +/* 18B0B8 8025C7D8 28620004 */ slti $v0, $v1, 4 +/* 18B0BC 8025C7DC 1040000D */ beqz $v0, .L8025C814 +/* 18B0C0 8025C7E0 00000000 */ nop +/* 18B0C4 8025C7E4 0460000B */ bltz $v1, .L8025C814 +/* 18B0C8 8025C7E8 00000000 */ nop +/* 18B0CC 8025C7EC 16800006 */ bnez $s4, .L8025C808 +/* 18B0D0 8025C7F0 0260202D */ daddu $a0, $s3, $zero +/* 18B0D4 8025C7F4 02A0282D */ daddu $a1, $s5, $zero +/* 18B0D8 8025C7F8 0C096657 */ jal func_8025995C +/* 18B0DC 8025C7FC 02C0302D */ daddu $a2, $s6, $zero +/* 18B0E0 8025C800 08097205 */ j func_8025C814 +/* 18B0E4 8025C804 00000000 */ nop + +.L8025C808: +/* 18B0E8 8025C808 02A0282D */ daddu $a1, $s5, $zero +/* 18B0EC 8025C80C 0C0965B0 */ jal func_802596C0 +/* 18B0F0 8025C810 02C0302D */ daddu $a2, $s6, $zero +func_8025C814: +.L8025C814: +/* 18B0F4 8025C814 8FBF0038 */ lw $ra, 0x38($sp) +/* 18B0F8 8025C818 8FB70034 */ lw $s7, 0x34($sp) +/* 18B0FC 8025C81C 8FB60030 */ lw $s6, 0x30($sp) +/* 18B100 8025C820 8FB5002C */ lw $s5, 0x2c($sp) +/* 18B104 8025C824 8FB40028 */ lw $s4, 0x28($sp) +/* 18B108 8025C828 8FB30024 */ lw $s3, 0x24($sp) +/* 18B10C 8025C82C 8FB20020 */ lw $s2, 0x20($sp) +/* 18B110 8025C830 8FB1001C */ lw $s1, 0x1c($sp) +/* 18B114 8025C834 8FB00018 */ lw $s0, 0x18($sp) +/* 18B118 8025C838 03E00008 */ jr $ra +/* 18B11C 8025C83C 27BD0040 */ addiu $sp, $sp, 0x40 + +func_8025C840: +/* 18B120 8025C840 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 18B124 8025C844 AFBF0010 */ sw $ra, 0x10($sp) +/* 18B128 8025C848 8CA20000 */ lw $v0, ($a1) +/* 18B12C 8025C84C 30420002 */ andi $v0, $v0, 2 +/* 18B130 8025C850 14400010 */ bnez $v0, .L8025C894 +/* 18B134 8025C854 0000102D */ daddu $v0, $zero, $zero +/* 18B138 8025C858 8CA200C0 */ lw $v0, 0xc0($a1) +/* 18B13C 8025C85C 80430750 */ lb $v1, 0x750($v0) +/* 18B140 8025C860 10600005 */ beqz $v1, .L8025C878 +/* 18B144 8025C864 2402000B */ addiu $v0, $zero, 0xb +/* 18B148 8025C868 10620007 */ beq $v1, $v0, .L8025C888 +/* 18B14C 8025C86C 0000102D */ daddu $v0, $zero, $zero +/* 18B150 8025C870 08097225 */ j func_8025C894 +/* 18B154 8025C874 00000000 */ nop + +.L8025C878: +/* 18B158 8025C878 0C097228 */ jal func_8025C8A0 +/* 18B15C 8025C87C 00000000 */ nop +/* 18B160 8025C880 08097225 */ j func_8025C894 +/* 18B164 8025C884 0000102D */ daddu $v0, $zero, $zero + +.L8025C888: +/* 18B168 8025C888 0C097246 */ jal func_8025C918 +/* 18B16C 8025C88C 00000000 */ nop +/* 18B170 8025C890 0000102D */ daddu $v0, $zero, $zero +func_8025C894: +.L8025C894: +/* 18B174 8025C894 8FBF0010 */ lw $ra, 0x10($sp) +/* 18B178 8025C898 03E00008 */ jr $ra +/* 18B17C 8025C89C 27BD0018 */ addiu $sp, $sp, 0x18 + +func_8025C8A0: +/* 18B180 8025C8A0 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 18B184 8025C8A4 00A0382D */ daddu $a3, $a1, $zero +/* 18B188 8025C8A8 AFBF0020 */ sw $ra, 0x20($sp) +/* 18B18C 8025C8AC 8CE300C0 */ lw $v1, 0xc0($a3) +/* 18B190 8025C8B0 80620751 */ lb $v0, 0x751($v1) +/* 18B194 8025C8B4 10400015 */ beqz $v0, .L8025C90C +/* 18B198 8025C8B8 00000000 */ nop +/* 18B19C 8025C8BC 1480000B */ bnez $a0, .L8025C8EC +/* 18B1A0 8025C8C0 A0600751 */ sb $zero, 0x751($v1) +/* 18B1A4 8025C8C4 0000202D */ daddu $a0, $zero, $zero +/* 18B1A8 8025C8C8 0080282D */ daddu $a1, $a0, $zero +/* 18B1AC 8025C8CC 0080302D */ daddu $a2, $a0, $zero +/* 18B1B0 8025C8D0 0080382D */ daddu $a3, $a0, $zero +/* 18B1B4 8025C8D4 AFA00010 */ sw $zero, 0x10($sp) +/* 18B1B8 8025C8D8 AFA00014 */ sw $zero, 0x14($sp) +/* 18B1BC 8025C8DC 0C0B77FE */ jal func_802DDFF8 +/* 18B1C0 8025C8E0 AFA00018 */ sw $zero, 0x18($sp) +/* 18B1C4 8025C8E4 08097243 */ j func_8025C90C +/* 18B1C8 8025C8E8 00000000 */ nop + +.L8025C8EC: +/* 18B1CC 8025C8EC 0000282D */ daddu $a1, $zero, $zero +/* 18B1D0 8025C8F0 00A0302D */ daddu $a2, $a1, $zero +/* 18B1D4 8025C8F4 AFA00010 */ sw $zero, 0x10($sp) +/* 18B1D8 8025C8F8 AFA00014 */ sw $zero, 0x14($sp) +/* 18B1DC 8025C8FC AFA00018 */ sw $zero, 0x18($sp) +/* 18B1E0 8025C900 8CE40084 */ lw $a0, 0x84($a3) +/* 18B1E4 8025C904 0C0B7A25 */ jal func_802DE894 +/* 18B1E8 8025C908 00A0382D */ daddu $a3, $a1, $zero +func_8025C90C: +.L8025C90C: +/* 18B1EC 8025C90C 8FBF0020 */ lw $ra, 0x20($sp) +/* 18B1F0 8025C910 03E00008 */ jr $ra +/* 18B1F4 8025C914 27BD0028 */ addiu $sp, $sp, 0x28 + +func_8025C918: +/* 18B1F8 8025C918 27BDFF58 */ addiu $sp, $sp, -0xa8 +/* 18B1FC 8025C91C AFB70084 */ sw $s7, 0x84($sp) +/* 18B200 8025C920 00A0B82D */ daddu $s7, $a1, $zero +/* 18B204 8025C924 AFBF008C */ sw $ra, 0x8c($sp) +/* 18B208 8025C928 AFBE0088 */ sw $fp, 0x88($sp) +/* 18B20C 8025C92C AFB60080 */ sw $s6, 0x80($sp) +/* 18B210 8025C930 AFB5007C */ sw $s5, 0x7c($sp) +/* 18B214 8025C934 AFB40078 */ sw $s4, 0x78($sp) +/* 18B218 8025C938 AFB30074 */ sw $s3, 0x74($sp) +/* 18B21C 8025C93C AFB20070 */ sw $s2, 0x70($sp) +/* 18B220 8025C940 AFB1006C */ sw $s1, 0x6c($sp) +/* 18B224 8025C944 AFB00068 */ sw $s0, 0x68($sp) +/* 18B228 8025C948 F7B800A0 */ sdc1 $f24, 0xa0($sp) +/* 18B22C 8025C94C F7B60098 */ sdc1 $f22, 0x98($sp) +/* 18B230 8025C950 F7B40090 */ sdc1 $f20, 0x90($sp) +/* 18B234 8025C954 AFA700B4 */ sw $a3, 0xb4($sp) +/* 18B238 8025C958 8EF200C0 */ lw $s2, 0xc0($s7) +/* 18B23C 8025C95C 82420751 */ lb $v0, 0x751($s2) +/* 18B240 8025C960 1040001B */ beqz $v0, .L8025C9D0 +/* 18B244 8025C964 0080F02D */ daddu $fp, $a0, $zero +/* 18B248 8025C968 2402FFFE */ addiu $v0, $zero, -2 +/* 18B24C 8025C96C A2420752 */ sb $v0, 0x752($s2) +/* 18B250 8025C970 A640075A */ sh $zero, 0x75a($s2) +/* 18B254 8025C974 A2400751 */ sb $zero, 0x751($s2) +/* 18B258 8025C978 17C0000C */ bnez $fp, .L8025C9AC +/* 18B25C 8025C97C A6400758 */ sh $zero, 0x758($s2) +/* 18B260 8025C980 0000202D */ daddu $a0, $zero, $zero +/* 18B264 8025C984 24050011 */ addiu $a1, $zero, 0x11 +/* 18B268 8025C988 24060014 */ addiu $a2, $zero, 0x14 +/* 18B26C 8025C98C 0080382D */ daddu $a3, $a0, $zero +/* 18B270 8025C990 240200FF */ addiu $v0, $zero, 0xff +/* 18B274 8025C994 AFA00010 */ sw $zero, 0x10($sp) +/* 18B278 8025C998 AFA20014 */ sw $v0, 0x14($sp) +/* 18B27C 8025C99C 0C0B77FE */ jal func_802DDFF8 +/* 18B280 8025C9A0 AFA00018 */ sw $zero, 0x18($sp) +/* 18B284 8025C9A4 08097274 */ j func_8025C9D0 +/* 18B288 8025C9A8 00000000 */ nop + +.L8025C9AC: +/* 18B28C 8025C9AC 24050011 */ addiu $a1, $zero, 0x11 +/* 18B290 8025C9B0 24060014 */ addiu $a2, $zero, 0x14 +/* 18B294 8025C9B4 240200FF */ addiu $v0, $zero, 0xff +/* 18B298 8025C9B8 AFA00010 */ sw $zero, 0x10($sp) +/* 18B29C 8025C9BC AFA20014 */ sw $v0, 0x14($sp) +/* 18B2A0 8025C9C0 AFA00018 */ sw $zero, 0x18($sp) +/* 18B2A4 8025C9C4 8EE40084 */ lw $a0, 0x84($s7) +/* 18B2A8 8025C9C8 0C0B7A25 */ jal func_802DE894 +/* 18B2AC 8025C9CC 0000382D */ daddu $a3, $zero, $zero +func_8025C9D0: +.L8025C9D0: +/* 18B2B0 8025C9D0 9642075C */ lhu $v0, 0x75c($s2) +/* 18B2B4 8025C9D4 24420007 */ addiu $v0, $v0, 7 +/* 18B2B8 8025C9D8 00021C00 */ sll $v1, $v0, 0x10 +/* 18B2BC 8025C9DC 00032403 */ sra $a0, $v1, 0x10 +/* 18B2C0 8025C9E0 A642075C */ sh $v0, 0x75c($s2) +/* 18B2C4 8025C9E4 28820168 */ slti $v0, $a0, 0x168 +/* 18B2C8 8025C9E8 14400010 */ bnez $v0, .L8025CA2C +/* 18B2CC 8025C9EC 0000802D */ daddu $s0, $zero, $zero +/* 18B2D0 8025C9F0 3C02B60B */ lui $v0, 0xb60b +/* 18B2D4 8025C9F4 344260B7 */ ori $v0, $v0, 0x60b7 +/* 18B2D8 8025C9F8 00820018 */ mult $a0, $v0 +/* 18B2DC 8025C9FC 00031FC3 */ sra $v1, $v1, 0x1f +/* 18B2E0 8025CA00 00004010 */ mfhi $t0 +/* 18B2E4 8025CA04 01041021 */ addu $v0, $t0, $a0 +/* 18B2E8 8025CA08 00021203 */ sra $v0, $v0, 8 +/* 18B2EC 8025CA0C 00431023 */ subu $v0, $v0, $v1 +/* 18B2F0 8025CA10 00021840 */ sll $v1, $v0, 1 +/* 18B2F4 8025CA14 00621821 */ addu $v1, $v1, $v0 +/* 18B2F8 8025CA18 00031100 */ sll $v0, $v1, 4 +/* 18B2FC 8025CA1C 00431023 */ subu $v0, $v0, $v1 +/* 18B300 8025CA20 000210C0 */ sll $v0, $v0, 3 +/* 18B304 8025CA24 00821023 */ subu $v0, $a0, $v0 +/* 18B308 8025CA28 A642075C */ sh $v0, 0x75c($s2) +.L8025CA2C: +/* 18B30C 8025CA2C 3C138000 */ lui $s3, 0x8000 +/* 18B310 8025CA30 0200882D */ daddu $s1, $s0, $zero +/* 18B314 8025CA34 3C013FF0 */ lui $at, 0x3ff0 +/* 18B318 8025CA38 4481C800 */ mtc1 $at, $f25 +/* 18B31C 8025CA3C 4480C000 */ mtc1 $zero, $f24 +/* 18B320 8025CA40 3C01405C */ lui $at, 0x405c +/* 18B324 8025CA44 4481B800 */ mtc1 $at, $f23 +/* 18B328 8025CA48 4480B000 */ mtc1 $zero, $f22 +/* 18B32C 8025CA4C 3C0141E0 */ lui $at, 0x41e0 +/* 18B330 8025CA50 4481A800 */ mtc1 $at, $f21 +/* 18B334 8025CA54 4480A000 */ mtc1 $zero, $f20 +.L8025CA58: +/* 18B338 8025CA58 9644075C */ lhu $a0, 0x75c($s2) +/* 18B33C 8025CA5C 00912021 */ addu $a0, $a0, $s1 +/* 18B340 8025CA60 00042400 */ sll $a0, $a0, 0x10 +/* 18B344 8025CA64 0C00A4F5 */ jal cosine +/* 18B348 8025CA68 00042403 */ sra $a0, $a0, 0x10 +/* 18B34C 8025CA6C 46000021 */ cvt.d.s $f0, $f0 +/* 18B350 8025CA70 46380000 */ add.d $f0, $f0, $f24 +/* 18B354 8025CA74 46360002 */ mul.d $f0, $f0, $f22 +/* 18B358 8025CA78 00000000 */ nop +/* 18B35C 8025CA7C 27A20020 */ addiu $v0, $sp, 0x20 +/* 18B360 8025CA80 4620A03E */ c.le.d $f20, $f0 +/* 18B364 8025CA84 00000000 */ nop +/* 18B368 8025CA88 45010005 */ bc1t .L8025CAA0 +/* 18B36C 8025CA8C 00501021 */ addu $v0, $v0, $s0 +/* 18B370 8025CA90 4620008D */ trunc.w.d $f2, $f0 +/* 18B374 8025CA94 44031000 */ mfc1 $v1, $f2 +/* 18B378 8025CA98 080972AE */ j func_8025CAB8 +/* 18B37C 8025CA9C A0430000 */ sb $v1, ($v0) + +.L8025CAA0: +/* 18B380 8025CAA0 46340001 */ sub.d $f0, $f0, $f20 +/* 18B384 8025CAA4 4620008D */ trunc.w.d $f2, $f0 +/* 18B388 8025CAA8 44031000 */ mfc1 $v1, $f2 +/* 18B38C 8025CAAC 00000000 */ nop +/* 18B390 8025CAB0 00731825 */ or $v1, $v1, $s3 +/* 18B394 8025CAB4 A0430000 */ sb $v1, ($v0) +func_8025CAB8: +/* 18B398 8025CAB8 9644075C */ lhu $a0, 0x75c($s2) +/* 18B39C 8025CABC 00912021 */ addu $a0, $a0, $s1 +/* 18B3A0 8025CAC0 2484002D */ addiu $a0, $a0, 0x2d +/* 18B3A4 8025CAC4 00042400 */ sll $a0, $a0, 0x10 +/* 18B3A8 8025CAC8 0C00A4F5 */ jal cosine +/* 18B3AC 8025CACC 00042403 */ sra $a0, $a0, 0x10 +/* 18B3B0 8025CAD0 46000021 */ cvt.d.s $f0, $f0 +/* 18B3B4 8025CAD4 46380000 */ add.d $f0, $f0, $f24 +/* 18B3B8 8025CAD8 46360002 */ mul.d $f0, $f0, $f22 +/* 18B3BC 8025CADC 00000000 */ nop +/* 18B3C0 8025CAE0 27A20038 */ addiu $v0, $sp, 0x38 +/* 18B3C4 8025CAE4 4620A03E */ c.le.d $f20, $f0 +/* 18B3C8 8025CAE8 00000000 */ nop +/* 18B3CC 8025CAEC 45010005 */ bc1t .L8025CB04 +/* 18B3D0 8025CAF0 00501021 */ addu $v0, $v0, $s0 +/* 18B3D4 8025CAF4 4620008D */ trunc.w.d $f2, $f0 +/* 18B3D8 8025CAF8 44031000 */ mfc1 $v1, $f2 +/* 18B3DC 8025CAFC 080972C7 */ j func_8025CB1C +/* 18B3E0 8025CB00 A0430000 */ sb $v1, ($v0) + +.L8025CB04: +/* 18B3E4 8025CB04 46340001 */ sub.d $f0, $f0, $f20 +/* 18B3E8 8025CB08 4620008D */ trunc.w.d $f2, $f0 +/* 18B3EC 8025CB0C 44031000 */ mfc1 $v1, $f2 +/* 18B3F0 8025CB10 00000000 */ nop +/* 18B3F4 8025CB14 00731825 */ or $v1, $v1, $s3 +/* 18B3F8 8025CB18 A0430000 */ sb $v1, ($v0) +func_8025CB1C: +/* 18B3FC 8025CB1C 9644075C */ lhu $a0, 0x75c($s2) +/* 18B400 8025CB20 00912021 */ addu $a0, $a0, $s1 +/* 18B404 8025CB24 2484005A */ addiu $a0, $a0, 0x5a +/* 18B408 8025CB28 00042400 */ sll $a0, $a0, 0x10 +/* 18B40C 8025CB2C 0C00A4F5 */ jal cosine +/* 18B410 8025CB30 00042403 */ sra $a0, $a0, 0x10 +/* 18B414 8025CB34 46000021 */ cvt.d.s $f0, $f0 +/* 18B418 8025CB38 46380000 */ add.d $f0, $f0, $f24 +/* 18B41C 8025CB3C 46360002 */ mul.d $f0, $f0, $f22 +/* 18B420 8025CB40 00000000 */ nop +/* 18B424 8025CB44 27A20050 */ addiu $v0, $sp, 0x50 +/* 18B428 8025CB48 4620A03E */ c.le.d $f20, $f0 +/* 18B42C 8025CB4C 00000000 */ nop +/* 18B430 8025CB50 45010005 */ bc1t .L8025CB68 +/* 18B434 8025CB54 00501021 */ addu $v0, $v0, $s0 +/* 18B438 8025CB58 4620008D */ trunc.w.d $f2, $f0 +/* 18B43C 8025CB5C 44031000 */ mfc1 $v1, $f2 +/* 18B440 8025CB60 080972E0 */ j func_8025CB80 +/* 18B444 8025CB64 A0430000 */ sb $v1, ($v0) + +.L8025CB68: +/* 18B448 8025CB68 46340001 */ sub.d $f0, $f0, $f20 +/* 18B44C 8025CB6C 4620008D */ trunc.w.d $f2, $f0 +/* 18B450 8025CB70 44031000 */ mfc1 $v1, $f2 +/* 18B454 8025CB74 00000000 */ nop +/* 18B458 8025CB78 00731825 */ or $v1, $v1, $s3 +/* 18B45C 8025CB7C A0430000 */ sb $v1, ($v0) +func_8025CB80: +/* 18B460 8025CB80 26100001 */ addiu $s0, $s0, 1 +/* 18B464 8025CB84 2A020014 */ slti $v0, $s0, 0x14 +/* 18B468 8025CB88 1440FFB3 */ bnez $v0, .L8025CA58 +/* 18B46C 8025CB8C 26310019 */ addiu $s1, $s1, 0x19 +/* 18B470 8025CB90 86E30098 */ lh $v1, 0x98($s7) +/* 18B474 8025CB94 241100FF */ addiu $s1, $zero, 0xff +/* 18B478 8025CB98 0071102A */ slt $v0, $v1, $s1 +/* 18B47C 8025CB9C 54400001 */ bnezl $v0, .L8025CBA4 +/* 18B480 8025CBA0 0060882D */ daddu $s1, $v1, $zero +.L8025CBA4: +/* 18B484 8025CBA4 8EE20000 */ lw $v0, ($s7) +/* 18B488 8025CBA8 30420100 */ andi $v0, $v0, 0x100 +/* 18B48C 8025CBAC 1040000B */ beqz $v0, .L8025CBDC +/* 18B490 8025CBB0 3C038080 */ lui $v1, 0x8080 +/* 18B494 8025CBB4 34638081 */ ori $v1, $v1, 0x8081 +/* 18B498 8025CBB8 00111100 */ sll $v0, $s1, 4 +/* 18B49C 8025CBBC 00511023 */ subu $v0, $v0, $s1 +/* 18B4A0 8025CBC0 000210C0 */ sll $v0, $v0, 3 +/* 18B4A4 8025CBC4 00430018 */ mult $v0, $v1 +/* 18B4A8 8025CBC8 00004010 */ mfhi $t0 +/* 18B4AC 8025CBCC 01021821 */ addu $v1, $t0, $v0 +/* 18B4B0 8025CBD0 000319C3 */ sra $v1, $v1, 7 +/* 18B4B4 8025CBD4 000217C3 */ sra $v0, $v0, 0x1f +/* 18B4B8 8025CBD8 00628823 */ subu $s1, $v1, $v0 +.L8025CBDC: +/* 18B4BC 8025CBDC 0000802D */ daddu $s0, $zero, $zero +/* 18B4C0 8025CBE0 27B60020 */ addiu $s6, $sp, 0x20 +/* 18B4C4 8025CBE4 27B50038 */ addiu $s5, $sp, 0x38 +/* 18B4C8 8025CBE8 27B40050 */ addiu $s4, $sp, 0x50 +/* 18B4CC 8025CBEC 241300FF */ addiu $s3, $zero, 0xff +/* 18B4D0 8025CBF0 02D01021 */ addu $v0, $s6, $s0 +.L8025CBF4: +/* 18B4D4 8025CBF4 02B02021 */ addu $a0, $s5, $s0 +/* 18B4D8 8025CBF8 90430000 */ lbu $v1, ($v0) +/* 18B4DC 8025CBFC 02901021 */ addu $v0, $s4, $s0 +/* 18B4E0 8025CC00 90840000 */ lbu $a0, ($a0) +/* 18B4E4 8025CC04 90420000 */ lbu $v0, ($v0) +/* 18B4E8 8025CC08 00031E00 */ sll $v1, $v1, 0x18 +/* 18B4EC 8025CC0C 00042400 */ sll $a0, $a0, 0x10 +/* 18B4F0 8025CC10 00641825 */ or $v1, $v1, $a0 +/* 18B4F4 8025CC14 00021200 */ sll $v0, $v0, 8 +/* 18B4F8 8025CC18 00621825 */ or $v1, $v1, $v0 +/* 18B4FC 8025CC1C 17C0000A */ bnez $fp, .L8025CC48 +/* 18B500 8025CC20 00713825 */ or $a3, $v1, $s1 +/* 18B504 8025CC24 0000202D */ daddu $a0, $zero, $zero +/* 18B508 8025CC28 2405000C */ addiu $a1, $zero, 0xc +/* 18B50C 8025CC2C 0200302D */ daddu $a2, $s0, $zero +/* 18B510 8025CC30 AFA00010 */ sw $zero, 0x10($sp) +/* 18B514 8025CC34 AFB30014 */ sw $s3, 0x14($sp) +/* 18B518 8025CC38 0C0B77FE */ jal func_802DDFF8 +/* 18B51C 8025CC3C AFA00018 */ sw $zero, 0x18($sp) +/* 18B520 8025CC40 0809731A */ j func_8025CC68 +/* 18B524 8025CC44 26100001 */ addiu $s0, $s0, 1 + +.L8025CC48: +/* 18B528 8025CC48 2405000C */ addiu $a1, $zero, 0xc +/* 18B52C 8025CC4C AFA00010 */ sw $zero, 0x10($sp) +/* 18B530 8025CC50 AFB30014 */ sw $s3, 0x14($sp) +/* 18B534 8025CC54 AFA00018 */ sw $zero, 0x18($sp) +/* 18B538 8025CC58 8EE40084 */ lw $a0, 0x84($s7) +/* 18B53C 8025CC5C 0C0B7A25 */ jal func_802DE894 +/* 18B540 8025CC60 0200302D */ daddu $a2, $s0, $zero +/* 18B544 8025CC64 26100001 */ addiu $s0, $s0, 1 +func_8025CC68: +/* 18B548 8025CC68 2A020014 */ slti $v0, $s0, 0x14 +/* 18B54C 8025CC6C 1440FFE1 */ bnez $v0, .L8025CBF4 +/* 18B550 8025CC70 02D01021 */ addu $v0, $s6, $s0 +/* 18B554 8025CC74 8FA800B4 */ lw $t0, 0xb4($sp) +/* 18B558 8025CC78 15000004 */ bnez $t0, .L8025CC8C +/* 18B55C 8025CC7C 00000000 */ nop +/* 18B560 8025CC80 9642075A */ lhu $v0, 0x75a($s2) +/* 18B564 8025CC84 2442FFFF */ addiu $v0, $v0, -1 +/* 18B568 8025CC88 A642075A */ sh $v0, 0x75a($s2) +.L8025CC8C: +/* 18B56C 8025CC8C 8FBF008C */ lw $ra, 0x8c($sp) +/* 18B570 8025CC90 8FBE0088 */ lw $fp, 0x88($sp) +/* 18B574 8025CC94 8FB70084 */ lw $s7, 0x84($sp) +/* 18B578 8025CC98 8FB60080 */ lw $s6, 0x80($sp) +/* 18B57C 8025CC9C 8FB5007C */ lw $s5, 0x7c($sp) +/* 18B580 8025CCA0 8FB40078 */ lw $s4, 0x78($sp) +/* 18B584 8025CCA4 8FB30074 */ lw $s3, 0x74($sp) +/* 18B588 8025CCA8 8FB20070 */ lw $s2, 0x70($sp) +/* 18B58C 8025CCAC 8FB1006C */ lw $s1, 0x6c($sp) +/* 18B590 8025CCB0 8FB00068 */ lw $s0, 0x68($sp) +/* 18B594 8025CCB4 D7B800A0 */ ldc1 $f24, 0xa0($sp) +/* 18B598 8025CCB8 D7B60098 */ ldc1 $f22, 0x98($sp) +/* 18B59C 8025CCBC D7B40090 */ ldc1 $f20, 0x90($sp) +/* 18B5A0 8025CCC0 03E00008 */ jr $ra +/* 18B5A4 8025CCC4 27BD00A8 */ addiu $sp, $sp, 0xa8 + +func_8025CCC8: +/* 18B5A8 8025CCC8 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 18B5AC 8025CCCC AFBF0010 */ sw $ra, 0x10($sp) +/* 18B5B0 8025CCD0 8CA20000 */ lw $v0, ($a1) +/* 18B5B4 8025CCD4 30420002 */ andi $v0, $v0, 2 +/* 18B5B8 8025CCD8 14400010 */ bnez $v0, .L8025CD1C +/* 18B5BC 8025CCDC 0000102D */ daddu $v0, $zero, $zero +/* 18B5C0 8025CCE0 8CA200C0 */ lw $v0, 0xc0($a1) +/* 18B5C4 8025CCE4 80430764 */ lb $v1, 0x764($v0) +/* 18B5C8 8025CCE8 10600005 */ beqz $v1, .L8025CD00 +/* 18B5CC 8025CCEC 24020001 */ addiu $v0, $zero, 1 +/* 18B5D0 8025CCF0 10620007 */ beq $v1, $v0, .L8025CD10 +/* 18B5D4 8025CCF4 0000102D */ daddu $v0, $zero, $zero +/* 18B5D8 8025CCF8 08097347 */ j func_8025CD1C +/* 18B5DC 8025CCFC 00000000 */ nop + +.L8025CD00: +/* 18B5E0 8025CD00 0C09734A */ jal func_8025CD28 +/* 18B5E4 8025CD04 00000000 */ nop +/* 18B5E8 8025CD08 08097347 */ j func_8025CD1C +/* 18B5EC 8025CD0C 0000102D */ daddu $v0, $zero, $zero + +.L8025CD10: +/* 18B5F0 8025CD10 0C097350 */ jal func_8025CD40 +/* 18B5F4 8025CD14 00000000 */ nop +/* 18B5F8 8025CD18 0000102D */ daddu $v0, $zero, $zero +func_8025CD1C: +.L8025CD1C: +/* 18B5FC 8025CD1C 8FBF0010 */ lw $ra, 0x10($sp) +/* 18B600 8025CD20 03E00008 */ jr $ra +/* 18B604 8025CD24 27BD0018 */ addiu $sp, $sp, 0x18 + +func_8025CD28: +/* 18B608 8025CD28 8CA300C0 */ lw $v1, 0xc0($a1) +/* 18B60C 8025CD2C 80620765 */ lb $v0, 0x765($v1) +/* 18B610 8025CD30 54400001 */ bnezl $v0, .L8025CD38 +/* 18B614 8025CD34 A0600765 */ sb $zero, 0x765($v1) +.L8025CD38: +/* 18B618 8025CD38 03E00008 */ jr $ra +/* 18B61C 8025CD3C A0600768 */ sb $zero, 0x768($v1) + +func_8025CD40: +/* 18B620 8025CD40 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 18B624 8025CD44 AFB10014 */ sw $s1, 0x14($sp) +/* 18B628 8025CD48 00A0882D */ daddu $s1, $a1, $zero +/* 18B62C 8025CD4C AFBF0020 */ sw $ra, 0x20($sp) +/* 18B630 8025CD50 AFB3001C */ sw $s3, 0x1c($sp) +/* 18B634 8025CD54 AFB20018 */ sw $s2, 0x18($sp) +/* 18B638 8025CD58 AFB00010 */ sw $s0, 0x10($sp) +/* 18B63C 8025CD5C 8E3000C0 */ lw $s0, 0xc0($s1) +/* 18B640 8025CD60 82020765 */ lb $v0, 0x765($s0) +/* 18B644 8025CD64 10400017 */ beqz $v0, .L8025CDC4 +/* 18B648 8025CD68 00E0982D */ daddu $s3, $a3, $zero +/* 18B64C 8025CD6C 0C095094 */ jal func_80254250 +/* 18B650 8025CD70 0220202D */ daddu $a0, $s1, $zero +/* 18B654 8025CD74 0040182D */ daddu $v1, $v0, $zero +/* 18B658 8025CD78 24040001 */ addiu $a0, $zero, 1 +/* 18B65C 8025CD7C 10640008 */ beq $v1, $a0, .L8025CDA0 +/* 18B660 8025CD80 28620002 */ slti $v0, $v1, 2 +/* 18B664 8025CD84 1040000A */ beqz $v0, .L8025CDB0 +/* 18B668 8025CD88 2402000E */ addiu $v0, $zero, 0xe +/* 18B66C 8025CD8C 54600009 */ bnezl $v1, .L8025CDB4 +/* 18B670 8025CD90 A2020767 */ sb $v0, 0x767($s0) +/* 18B674 8025CD94 A2040767 */ sb $a0, 0x767($s0) +/* 18B678 8025CD98 0809736F */ j func_8025CDBC +/* 18B67C 8025CD9C A2000766 */ sb $zero, 0x766($s0) + +.L8025CDA0: +/* 18B680 8025CDA0 24020008 */ addiu $v0, $zero, 8 +/* 18B684 8025CDA4 A2020767 */ sb $v0, 0x767($s0) +/* 18B688 8025CDA8 0809736F */ j func_8025CDBC +/* 18B68C 8025CDAC A2030766 */ sb $v1, 0x766($s0) + +.L8025CDB0: +/* 18B690 8025CDB0 A2020767 */ sb $v0, 0x767($s0) +.L8025CDB4: +/* 18B694 8025CDB4 24020002 */ addiu $v0, $zero, 2 +/* 18B698 8025CDB8 A2020766 */ sb $v0, 0x766($s0) +func_8025CDBC: +/* 18B69C 8025CDBC A2000768 */ sb $zero, 0x768($s0) +/* 18B6A0 8025CDC0 A2000765 */ sb $zero, 0x765($s0) +.L8025CDC4: +/* 18B6A4 8025CDC4 82020766 */ lb $v0, 0x766($s0) +/* 18B6A8 8025CDC8 24120003 */ addiu $s2, $zero, 3 +/* 18B6AC 8025CDCC 14520004 */ bne $v0, $s2, .L8025CDE0 +/* 18B6B0 8025CDD0 00000000 */ nop +/* 18B6B4 8025CDD4 A2000768 */ sb $zero, 0x768($s0) +/* 18B6B8 8025CDD8 0C099C27 */ jal func_8026709C +/* 18B6BC 8025CDDC 0220202D */ daddu $a0, $s1, $zero +.L8025CDE0: +/* 18B6C0 8025CDE0 82030766 */ lb $v1, 0x766($s0) +/* 18B6C4 8025CDE4 24020001 */ addiu $v0, $zero, 1 +/* 18B6C8 8025CDE8 10620012 */ beq $v1, $v0, .L8025CE34 +/* 18B6CC 8025CDEC 28620002 */ slti $v0, $v1, 2 +/* 18B6D0 8025CDF0 50400005 */ beql $v0, $zero, .L8025CE08 +/* 18B6D4 8025CDF4 24020002 */ addiu $v0, $zero, 2 +/* 18B6D8 8025CDF8 10600007 */ beqz $v1, .L8025CE18 +/* 18B6DC 8025CDFC 00000000 */ nop +/* 18B6E0 8025CE00 080973AB */ j func_8025CEAC +/* 18B6E4 8025CE04 00000000 */ nop + +.L8025CE08: +/* 18B6E8 8025CE08 10620013 */ beq $v1, $v0, .L8025CE58 +/* 18B6EC 8025CE0C 00000000 */ nop +/* 18B6F0 8025CE10 080973AB */ j func_8025CEAC +/* 18B6F4 8025CE14 00000000 */ nop + +.L8025CE18: +/* 18B6F8 8025CE18 82020767 */ lb $v0, 0x767($s0) +/* 18B6FC 8025CE1C 5440001E */ bnezl $v0, .L8025CE98 +/* 18B700 8025CE20 A2000768 */ sb $zero, 0x768($s0) +/* 18B704 8025CE24 240200FF */ addiu $v0, $zero, 0xff +/* 18B708 8025CE28 A2020768 */ sb $v0, 0x768($s0) +/* 18B70C 8025CE2C 080973AB */ j func_8025CEAC +/* 18B710 8025CE30 A2120766 */ sb $s2, 0x766($s0) + +.L8025CE34: +/* 18B714 8025CE34 82030767 */ lb $v1, 0x767($s0) +/* 18B718 8025CE38 2C620009 */ sltiu $v0, $v1, 9 +/* 18B71C 8025CE3C 10400016 */ beqz $v0, .L8025CE98 +/* 18B720 8025CE40 00031080 */ sll $v0, $v1, 2 +/* 18B724 8025CE44 3C01802A */ lui $at, 0x802a +/* 18B728 8025CE48 00220821 */ addu $at, $at, $v0 +/* 18B72C 8025CE4C 8C22D420 */ lw $v0, -0x2be0($at) +/* 18B730 8025CE50 00400008 */ jr $v0 +/* 18B734 8025CE54 00000000 */ nop +.L8025CE58: +/* 18B738 8025CE58 82030767 */ lb $v1, 0x767($s0) +/* 18B73C 8025CE5C 2C62000F */ sltiu $v0, $v1, 0xf +/* 18B740 8025CE60 1040000D */ beqz $v0, .L8025CE98 +/* 18B744 8025CE64 00031080 */ sll $v0, $v1, 2 +/* 18B748 8025CE68 3C01802A */ lui $at, 0x802a +/* 18B74C 8025CE6C 00220821 */ addu $at, $at, $v0 +/* 18B750 8025CE70 8C22D448 */ lw $v0, -0x2bb8($at) +/* 18B754 8025CE74 00400008 */ jr $v0 +/* 18B758 8025CE78 00000000 */ nop +/* 18B75C 8025CE7C 080973A6 */ j func_8025CE98 +/* 18B760 8025CE80 A2000768 */ sb $zero, 0x768($s0) + +/* 18B764 8025CE84 240200FF */ addiu $v0, $zero, 0xff +/* 18B768 8025CE88 080973A6 */ j func_8025CE98 +/* 18B76C 8025CE8C A2020768 */ sb $v0, 0x768($s0) + +/* 18B770 8025CE90 24020003 */ addiu $v0, $zero, 3 +/* 18B774 8025CE94 A2020766 */ sb $v0, 0x766($s0) +func_8025CE98: +.L8025CE98: +/* 18B778 8025CE98 16600004 */ bnez $s3, .L8025CEAC +/* 18B77C 8025CE9C 00000000 */ nop +/* 18B780 8025CEA0 92020767 */ lbu $v0, 0x767($s0) +/* 18B784 8025CEA4 2442FFFF */ addiu $v0, $v0, -1 +/* 18B788 8025CEA8 A2020767 */ sb $v0, 0x767($s0) +func_8025CEAC: +.L8025CEAC: +/* 18B78C 8025CEAC 8FBF0020 */ lw $ra, 0x20($sp) +/* 18B790 8025CEB0 8FB3001C */ lw $s3, 0x1c($sp) +/* 18B794 8025CEB4 8FB20018 */ lw $s2, 0x18($sp) +/* 18B798 8025CEB8 8FB10014 */ lw $s1, 0x14($sp) +/* 18B79C 8025CEBC 8FB00010 */ lw $s0, 0x10($sp) +/* 18B7A0 8025CEC0 03E00008 */ jr $ra +/* 18B7A4 8025CEC4 27BD0028 */ addiu $sp, $sp, 0x28 + +func_8025CEC8: +/* 18B7A8 8025CEC8 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 18B7AC 8025CECC AFB10014 */ sw $s1, 0x14($sp) +/* 18B7B0 8025CED0 0080882D */ daddu $s1, $a0, $zero +/* 18B7B4 8025CED4 AFBF0020 */ sw $ra, 0x20($sp) +/* 18B7B8 8025CED8 AFB3001C */ sw $s3, 0x1c($sp) +/* 18B7BC 8025CEDC AFB20018 */ sw $s2, 0x18($sp) +/* 18B7C0 8025CEE0 AFB00010 */ sw $s0, 0x10($sp) +/* 18B7C4 8025CEE4 8E220000 */ lw $v0, ($s1) +/* 18B7C8 8025CEE8 30420002 */ andi $v0, $v0, 2 +/* 18B7CC 8025CEEC 1440004C */ bnez $v0, .L8025D020 +/* 18B7D0 8025CEF0 0000802D */ daddu $s0, $zero, $zero +/* 18B7D4 8025CEF4 8E3200C0 */ lw $s2, 0xc0($s1) +/* 18B7D8 8025CEF8 3C13802A */ lui $s3, 0x802a +/* 18B7DC 8025CEFC 2673D488 */ addiu $s3, $s3, -0x2b78 +/* 18B7E0 8025CF00 02501021 */ addu $v0, $s2, $s0 +.L8025CF04: +/* 18B7E4 8025CF04 804308B8 */ lb $v1, 0x8b8($v0) +/* 18B7E8 8025CF08 2C62000C */ sltiu $v0, $v1, 0xc +/* 18B7EC 8025CF0C 50400041 */ beql $v0, $zero, .L8025D014 +/* 18B7F0 8025CF10 26100001 */ addiu $s0, $s0, 1 +/* 18B7F4 8025CF14 00031080 */ sll $v0, $v1, 2 +/* 18B7F8 8025CF18 00531021 */ addu $v0, $v0, $s3 +/* 18B7FC 8025CF1C 8C420000 */ lw $v0, ($v0) +/* 18B800 8025CF20 00400008 */ jr $v0 +/* 18B804 8025CF24 00000000 */ nop +/* 18B808 8025CF28 0220202D */ daddu $a0, $s1, $zero +/* 18B80C 8025CF2C 0C097454 */ jal func_8025D150 +/* 18B810 8025CF30 0200282D */ daddu $a1, $s0, $zero +/* 18B814 8025CF34 08097405 */ j func_8025D014 +/* 18B818 8025CF38 26100001 */ addiu $s0, $s0, 1 + +/* 18B81C 8025CF3C 0220202D */ daddu $a0, $s1, $zero +/* 18B820 8025CF40 0C097458 */ jal func_8025D160 +/* 18B824 8025CF44 0200282D */ daddu $a1, $s0, $zero +/* 18B828 8025CF48 08097405 */ j func_8025D014 +/* 18B82C 8025CF4C 26100001 */ addiu $s0, $s0, 1 + +/* 18B830 8025CF50 0220202D */ daddu $a0, $s1, $zero +/* 18B834 8025CF54 0C0974AC */ jal func_8025D2B0 +/* 18B838 8025CF58 0200282D */ daddu $a1, $s0, $zero +/* 18B83C 8025CF5C 08097405 */ j func_8025D014 +/* 18B840 8025CF60 26100001 */ addiu $s0, $s0, 1 + +/* 18B844 8025CF64 0220202D */ daddu $a0, $s1, $zero +/* 18B848 8025CF68 0C0974F3 */ jal func_8025D3CC +/* 18B84C 8025CF6C 0200282D */ daddu $a1, $s0, $zero +/* 18B850 8025CF70 08097405 */ j func_8025D014 +/* 18B854 8025CF74 26100001 */ addiu $s0, $s0, 1 + +/* 18B858 8025CF78 0220202D */ daddu $a0, $s1, $zero +/* 18B85C 8025CF7C 0C097532 */ jal func_8025D4C8 +/* 18B860 8025CF80 0200282D */ daddu $a1, $s0, $zero +/* 18B864 8025CF84 08097405 */ j func_8025D014 +/* 18B868 8025CF88 26100001 */ addiu $s0, $s0, 1 + +/* 18B86C 8025CF8C 0220202D */ daddu $a0, $s1, $zero +/* 18B870 8025CF90 0C097590 */ jal func_8025D640 +/* 18B874 8025CF94 0200282D */ daddu $a1, $s0, $zero +/* 18B878 8025CF98 08097405 */ j func_8025D014 +/* 18B87C 8025CF9C 26100001 */ addiu $s0, $s0, 1 + +/* 18B880 8025CFA0 0220202D */ daddu $a0, $s1, $zero +/* 18B884 8025CFA4 0C0975C7 */ jal func_8025D71C +/* 18B888 8025CFA8 0200282D */ daddu $a1, $s0, $zero +/* 18B88C 8025CFAC 08097405 */ j func_8025D014 +/* 18B890 8025CFB0 26100001 */ addiu $s0, $s0, 1 + +/* 18B894 8025CFB4 0220202D */ daddu $a0, $s1, $zero +/* 18B898 8025CFB8 0C09760C */ jal func_8025D830 +/* 18B89C 8025CFBC 0200282D */ daddu $a1, $s0, $zero +/* 18B8A0 8025CFC0 08097405 */ j func_8025D014 +/* 18B8A4 8025CFC4 26100001 */ addiu $s0, $s0, 1 + +/* 18B8A8 8025CFC8 0220202D */ daddu $a0, $s1, $zero +/* 18B8AC 8025CFCC 0C097643 */ jal func_8025D90C +/* 18B8B0 8025CFD0 0200282D */ daddu $a1, $s0, $zero +/* 18B8B4 8025CFD4 08097405 */ j func_8025D014 +/* 18B8B8 8025CFD8 26100001 */ addiu $s0, $s0, 1 + +/* 18B8BC 8025CFDC 0220202D */ daddu $a0, $s1, $zero +/* 18B8C0 8025CFE0 0C09769A */ jal func_8025DA68 +/* 18B8C4 8025CFE4 0200282D */ daddu $a1, $s0, $zero +/* 18B8C8 8025CFE8 08097405 */ j func_8025D014 +/* 18B8CC 8025CFEC 26100001 */ addiu $s0, $s0, 1 + +/* 18B8D0 8025CFF0 0220202D */ daddu $a0, $s1, $zero +/* 18B8D4 8025CFF4 0C0976F4 */ jal func_8025DBD0 +/* 18B8D8 8025CFF8 0200282D */ daddu $a1, $s0, $zero +/* 18B8DC 8025CFFC 08097405 */ j func_8025D014 +/* 18B8E0 8025D000 26100001 */ addiu $s0, $s0, 1 + +/* 18B8E4 8025D004 0220202D */ daddu $a0, $s1, $zero +/* 18B8E8 8025D008 0C097758 */ jal func_8025DD60 +/* 18B8EC 8025D00C 0200282D */ daddu $a1, $s0, $zero +/* 18B8F0 8025D010 26100001 */ addiu $s0, $s0, 1 +func_8025D014: +.L8025D014: +/* 18B8F4 8025D014 2A020002 */ slti $v0, $s0, 2 +/* 18B8F8 8025D018 1440FFBA */ bnez $v0, .L8025CF04 +/* 18B8FC 8025D01C 02501021 */ addu $v0, $s2, $s0 +.L8025D020: +/* 18B900 8025D020 8FBF0020 */ lw $ra, 0x20($sp) +/* 18B904 8025D024 8FB3001C */ lw $s3, 0x1c($sp) +/* 18B908 8025D028 8FB20018 */ lw $s2, 0x18($sp) +/* 18B90C 8025D02C 8FB10014 */ lw $s1, 0x14($sp) +/* 18B910 8025D030 8FB00010 */ lw $s0, 0x10($sp) +/* 18B914 8025D034 03E00008 */ jr $ra +/* 18B918 8025D038 27BD0028 */ addiu $sp, $sp, 0x28 + +_remove_part_decoration: +/* 18B91C 8025D03C 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 18B920 8025D040 AFBF0018 */ sw $ra, 0x18($sp) +/* 18B924 8025D044 AFB10014 */ sw $s1, 0x14($sp) +/* 18B928 8025D048 AFB00010 */ sw $s0, 0x10($sp) +/* 18B92C 8025D04C 8C9100C0 */ lw $s1, 0xc0($a0) +/* 18B930 8025D050 00A0802D */ daddu $s0, $a1, $zero +/* 18B934 8025D054 02301021 */ addu $v0, $s1, $s0 +/* 18B938 8025D058 804308B8 */ lb $v1, 0x8b8($v0) +/* 18B93C 8025D05C 2C62000C */ sltiu $v0, $v1, 0xc +/* 18B940 8025D060 10400034 */ beqz $v0, .L8025D134 +/* 18B944 8025D064 00031080 */ sll $v0, $v1, 2 +/* 18B948 8025D068 3C01802A */ lui $at, 0x802a +/* 18B94C 8025D06C 00220821 */ addu $at, $at, $v0 +/* 18B950 8025D070 8C22D4B8 */ lw $v0, -0x2b48($at) +/* 18B954 8025D074 00400008 */ jr $v0 +/* 18B958 8025D078 00000000 */ nop +/* 18B95C 8025D07C 0C097456 */ jal func_8025D158 +/* 18B960 8025D080 0200282D */ daddu $a1, $s0, $zero +/* 18B964 8025D084 0809744E */ j func_8025D138 +/* 18B968 8025D088 02301021 */ addu $v0, $s1, $s0 + +/* 18B96C 8025D08C 0C0974A4 */ jal func_8025D290 +/* 18B970 8025D090 0200282D */ daddu $a1, $s0, $zero +/* 18B974 8025D094 0809744E */ j func_8025D138 +/* 18B978 8025D098 02301021 */ addu $v0, $s1, $s0 + +/* 18B97C 8025D09C 0C0974F1 */ jal func_8025D3C4 +/* 18B980 8025D0A0 0200282D */ daddu $a1, $s0, $zero +/* 18B984 8025D0A4 0809744E */ j func_8025D138 +/* 18B988 8025D0A8 02301021 */ addu $v0, $s1, $s0 + +/* 18B98C 8025D0AC 0C097528 */ jal func_8025D4A0 +/* 18B990 8025D0B0 0200282D */ daddu $a1, $s0, $zero +/* 18B994 8025D0B4 0809744E */ j func_8025D138 +/* 18B998 8025D0B8 02301021 */ addu $v0, $s1, $s0 + +/* 18B99C 8025D0BC 0C097588 */ jal func_8025D620 +/* 18B9A0 8025D0C0 0200282D */ daddu $a1, $s0, $zero +/* 18B9A4 8025D0C4 0809744E */ j func_8025D138 +/* 18B9A8 8025D0C8 02301021 */ addu $v0, $s1, $s0 + +/* 18B9AC 8025D0CC 0C0975BF */ jal func_8025D6FC +/* 18B9B0 8025D0D0 0200282D */ daddu $a1, $s0, $zero +/* 18B9B4 8025D0D4 0809744E */ j func_8025D138 +/* 18B9B8 8025D0D8 02301021 */ addu $v0, $s1, $s0 + +/* 18B9BC 8025D0DC 0C097604 */ jal func_8025D810 +/* 18B9C0 8025D0E0 0200282D */ daddu $a1, $s0, $zero +/* 18B9C4 8025D0E4 0809744E */ j func_8025D138 +/* 18B9C8 8025D0E8 02301021 */ addu $v0, $s1, $s0 + +/* 18B9CC 8025D0EC 0C09763B */ jal func_8025D8EC +/* 18B9D0 8025D0F0 0200282D */ daddu $a1, $s0, $zero +/* 18B9D4 8025D0F4 0809744E */ j func_8025D138 +/* 18B9D8 8025D0F8 02301021 */ addu $v0, $s1, $s0 + +/* 18B9DC 8025D0FC 0C097698 */ jal func_8025DA60 +/* 18B9E0 8025D100 0200282D */ daddu $a1, $s0, $zero +/* 18B9E4 8025D104 0809744E */ j func_8025D138 +/* 18B9E8 8025D108 02301021 */ addu $v0, $s1, $s0 + +/* 18B9EC 8025D10C 0C0976F2 */ jal func_8025DBC8 +/* 18B9F0 8025D110 0200282D */ daddu $a1, $s0, $zero +/* 18B9F4 8025D114 0809744E */ j func_8025D138 +/* 18B9F8 8025D118 02301021 */ addu $v0, $s1, $s0 + +/* 18B9FC 8025D11C 0C097750 */ jal func_8025DD40 +/* 18BA00 8025D120 0200282D */ daddu $a1, $s0, $zero +/* 18BA04 8025D124 0809744E */ j func_8025D138 +/* 18BA08 8025D128 02301021 */ addu $v0, $s1, $s0 + +/* 18BA0C 8025D12C 0C0977A2 */ jal func_8025DE88 +/* 18BA10 8025D130 0200282D */ daddu $a1, $s0, $zero +.L8025D134: +/* 18BA14 8025D134 02301021 */ addu $v0, $s1, $s0 +func_8025D138: +/* 18BA18 8025D138 A04008B8 */ sb $zero, 0x8b8($v0) +/* 18BA1C 8025D13C 8FBF0018 */ lw $ra, 0x18($sp) +/* 18BA20 8025D140 8FB10014 */ lw $s1, 0x14($sp) +/* 18BA24 8025D144 8FB00010 */ lw $s0, 0x10($sp) +/* 18BA28 8025D148 03E00008 */ jr $ra +/* 18BA2C 8025D14C 27BD0020 */ addiu $sp, $sp, 0x20 + +func_8025D150: +/* 18BA30 8025D150 03E00008 */ jr $ra +/* 18BA34 8025D154 00000000 */ nop + +func_8025D158: +/* 18BA38 8025D158 03E00008 */ jr $ra +/* 18BA3C 8025D15C 00000000 */ nop + +func_8025D160: +/* 18BA40 8025D160 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 18BA44 8025D164 0080382D */ daddu $a3, $a0, $zero +/* 18BA48 8025D168 AFBF0024 */ sw $ra, 0x24($sp) +/* 18BA4C 8025D16C AFB20020 */ sw $s2, 0x20($sp) +/* 18BA50 8025D170 AFB1001C */ sw $s1, 0x1c($sp) +/* 18BA54 8025D174 AFB00018 */ sw $s0, 0x18($sp) +/* 18BA58 8025D178 8CF000C0 */ lw $s0, 0xc0($a3) +/* 18BA5C 8025D17C 00A0882D */ daddu $s1, $a1, $zero +/* 18BA60 8025D180 02119021 */ addu $s2, $s0, $s1 +/* 18BA64 8025D184 824308BC */ lb $v1, 0x8bc($s2) +/* 18BA68 8025D188 10600005 */ beqz $v1, .L8025D1A0 +/* 18BA6C 8025D18C 24020001 */ addiu $v0, $zero, 1 +/* 18BA70 8025D190 10620019 */ beq $v1, $v0, .L8025D1F8 +/* 18BA74 8025D194 00111080 */ sll $v0, $s1, 2 +/* 18BA78 8025D198 0809749E */ j func_8025D278 +/* 18BA7C 8025D19C 00000000 */ nop + +.L8025D1A0: +/* 18BA80 8025D1A0 00111080 */ sll $v0, $s1, 2 +/* 18BA84 8025D1A4 244208B0 */ addiu $v0, $v0, 0x8b0 +/* 18BA88 8025D1A8 3C013ECC */ lui $at, 0x3ecc +/* 18BA8C 8025D1AC 3421CCCD */ ori $at, $at, 0xcccd +/* 18BA90 8025D1B0 44810000 */ mtc1 $at, $f0 +/* 18BA94 8025D1B4 02021021 */ addu $v0, $s0, $v0 +/* 18BA98 8025D1B8 AFA20014 */ sw $v0, 0x14($sp) +/* 18BA9C 8025D1BC E7A00010 */ swc1 $f0, 0x10($sp) +/* 18BAA0 8025D1C0 8CE50058 */ lw $a1, 0x58($a3) +/* 18BAA4 8025D1C4 8CE6005C */ lw $a2, 0x5c($a3) +/* 18BAA8 8025D1C8 8CE70060 */ lw $a3, 0x60($a3) +/* 18BAAC 8025D1CC 0C01C3AC */ jal func_80070EB0 +/* 18BAB0 8025D1D0 24040003 */ addiu $a0, $zero, 3 +/* 18BAB4 8025D1D4 24020001 */ addiu $v0, $zero, 1 +/* 18BAB8 8025D1D8 A24208BC */ sb $v0, 0x8bc($s2) +/* 18BABC 8025D1DC 00111100 */ sll $v0, $s1, 4 +/* 18BAC0 8025D1E0 02021021 */ addu $v0, $s0, $v0 +/* 18BAC4 8025D1E4 24030028 */ addiu $v1, $zero, 0x28 +/* 18BAC8 8025D1E8 A44308C6 */ sh $v1, 0x8c6($v0) +/* 18BACC 8025D1EC A44308C8 */ sh $v1, 0x8c8($v0) +/* 18BAD0 8025D1F0 0809749E */ j func_8025D278 +/* 18BAD4 8025D1F4 A44008CA */ sh $zero, 0x8ca($v0) + +.L8025D1F8: +/* 18BAD8 8025D1F8 00112100 */ sll $a0, $s1, 4 +/* 18BADC 8025D1FC 02042021 */ addu $a0, $s0, $a0 +/* 18BAE0 8025D200 02021021 */ addu $v0, $s0, $v0 +/* 18BAE4 8025D204 848308CA */ lh $v1, 0x8ca($a0) +/* 18BAE8 8025D208 C4E00058 */ lwc1 $f0, 0x58($a3) +/* 18BAEC 8025D20C 44831000 */ mtc1 $v1, $f2 +/* 18BAF0 8025D210 00000000 */ nop +/* 18BAF4 8025D214 468010A0 */ cvt.s.w $f2, $f2 +/* 18BAF8 8025D218 8C4308B0 */ lw $v1, 0x8b0($v0) +/* 18BAFC 8025D21C 46020000 */ add.s $f0, $f0, $f2 +/* 18BB00 8025D220 8C62000C */ lw $v0, 0xc($v1) +/* 18BB04 8025D224 E4400004 */ swc1 $f0, 4($v0) +/* 18BB08 8025D228 C4E0005C */ lwc1 $f0, 0x5c($a3) +/* 18BB0C 8025D22C E4400008 */ swc1 $f0, 8($v0) +/* 18BB10 8025D230 C4E00060 */ lwc1 $f0, 0x60($a3) +/* 18BB14 8025D234 E440000C */ swc1 $f0, 0xc($v0) +/* 18BB18 8025D238 848208C6 */ lh $v0, 0x8c6($a0) +/* 18BB1C 8025D23C 3C0142C8 */ lui $at, 0x42c8 +/* 18BB20 8025D240 44810000 */ mtc1 $at, $f0 +/* 18BB24 8025D244 44821000 */ mtc1 $v0, $f2 +/* 18BB28 8025D248 00000000 */ nop +/* 18BB2C 8025D24C 468010A0 */ cvt.s.w $f2, $f2 +/* 18BB30 8025D250 8C62000C */ lw $v0, 0xc($v1) +/* 18BB34 8025D254 46001083 */ div.s $f2, $f2, $f0 +/* 18BB38 8025D258 E442001C */ swc1 $f2, 0x1c($v0) +/* 18BB3C 8025D25C 848208C8 */ lh $v0, 0x8c8($a0) +/* 18BB40 8025D260 44821000 */ mtc1 $v0, $f2 +/* 18BB44 8025D264 00000000 */ nop +/* 18BB48 8025D268 468010A0 */ cvt.s.w $f2, $f2 +/* 18BB4C 8025D26C 8C62000C */ lw $v0, 0xc($v1) +/* 18BB50 8025D270 46001083 */ div.s $f2, $f2, $f0 +/* 18BB54 8025D274 E4420020 */ swc1 $f2, 0x20($v0) +func_8025D278: +/* 18BB58 8025D278 8FBF0024 */ lw $ra, 0x24($sp) +/* 18BB5C 8025D27C 8FB20020 */ lw $s2, 0x20($sp) +/* 18BB60 8025D280 8FB1001C */ lw $s1, 0x1c($sp) +/* 18BB64 8025D284 8FB00018 */ lw $s0, 0x18($sp) +/* 18BB68 8025D288 03E00008 */ jr $ra +/* 18BB6C 8025D28C 27BD0028 */ addiu $sp, $sp, 0x28 + +func_8025D290: +/* 18BB70 8025D290 8C8200C0 */ lw $v0, 0xc0($a0) +/* 18BB74 8025D294 00052880 */ sll $a1, $a1, 2 +/* 18BB78 8025D298 00451021 */ addu $v0, $v0, $a1 +/* 18BB7C 8025D29C 8C4208B0 */ lw $v0, 0x8b0($v0) +/* 18BB80 8025D2A0 8C43000C */ lw $v1, 0xc($v0) +/* 18BB84 8025D2A4 24020005 */ addiu $v0, $zero, 5 +/* 18BB88 8025D2A8 03E00008 */ jr $ra +/* 18BB8C 8025D2AC AC62002C */ sw $v0, 0x2c($v1) + +func_8025D2B0: +/* 18BB90 8025D2B0 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* 18BB94 8025D2B4 AFBF0028 */ sw $ra, 0x28($sp) +/* 18BB98 8025D2B8 AFB10024 */ sw $s1, 0x24($sp) +/* 18BB9C 8025D2BC AFB00020 */ sw $s0, 0x20($sp) +/* 18BBA0 8025D2C0 8C9000C0 */ lw $s0, 0xc0($a0) +/* 18BBA4 8025D2C4 00A0882D */ daddu $s1, $a1, $zero +/* 18BBA8 8025D2C8 02112821 */ addu $a1, $s0, $s1 +/* 18BBAC 8025D2CC 80A308BC */ lb $v1, 0x8bc($a1) +/* 18BBB0 8025D2D0 10600005 */ beqz $v1, .L8025D2E8 +/* 18BBB4 8025D2D4 24020001 */ addiu $v0, $zero, 1 +/* 18BBB8 8025D2D8 1062002D */ beq $v1, $v0, .L8025D390 +/* 18BBBC 8025D2DC 00111040 */ sll $v0, $s1, 1 +/* 18BBC0 8025D2E0 080974EC */ j func_8025D3B0 +/* 18BBC4 8025D2E4 00000000 */ nop + +.L8025D2E8: +/* 18BBC8 8025D2E8 C4820064 */ lwc1 $f2, 0x64($a0) +/* 18BBCC 8025D2EC 3C0142B4 */ lui $at, 0x42b4 +/* 18BBD0 8025D2F0 44810000 */ mtc1 $at, $f0 +/* 18BBD4 8025D2F4 00000000 */ nop +/* 18BBD8 8025D2F8 4602003C */ c.lt.s $f0, $f2 +/* 18BBDC 8025D2FC 00000000 */ nop +/* 18BBE0 8025D300 45000009 */ bc1f .L8025D328 +/* 18BBE4 8025D304 24020014 */ addiu $v0, $zero, 0x14 +/* 18BBE8 8025D308 90830073 */ lbu $v1, 0x73($a0) +/* 18BBEC 8025D30C C486005C */ lwc1 $f6, 0x5c($a0) +/* 18BBF0 8025D310 3C0140A0 */ lui $at, 0x40a0 +/* 18BBF4 8025D314 44811000 */ mtc1 $at, $f2 +/* 18BBF8 8025D318 3C014234 */ lui $at, 0x4234 +/* 18BBFC 8025D31C 44812000 */ mtc1 $at, $f4 +/* 18BC00 8025D320 080974D1 */ j func_8025D344 +/* 18BC04 8025D324 AFA20018 */ sw $v0, 0x18($sp) + +.L8025D328: +/* 18BC08 8025D328 90830073 */ lbu $v1, 0x73($a0) +/* 18BC0C 8025D32C C486005C */ lwc1 $f6, 0x5c($a0) +/* 18BC10 8025D330 3C0140A0 */ lui $at, 0x40a0 +/* 18BC14 8025D334 44811000 */ mtc1 $at, $f2 +/* 18BC18 8025D338 3C01C234 */ lui $at, 0xc234 +/* 18BC1C 8025D33C 44812000 */ mtc1 $at, $f4 +/* 18BC20 8025D340 AFA20018 */ sw $v0, 0x18($sp) +func_8025D344: +/* 18BC24 8025D344 44830000 */ mtc1 $v1, $f0 +/* 18BC28 8025D348 00000000 */ nop +/* 18BC2C 8025D34C 46800020 */ cvt.s.w $f0, $f0 +/* 18BC30 8025D350 46003180 */ add.s $f6, $f6, $f0 +/* 18BC34 8025D354 E7A20010 */ swc1 $f2, 0x10($sp) +/* 18BC38 8025D358 E7A40014 */ swc1 $f4, 0x14($sp) +/* 18BC3C 8025D35C 8C850058 */ lw $a1, 0x58($a0) +/* 18BC40 8025D360 8C870060 */ lw $a3, 0x60($a0) +/* 18BC44 8025D364 44063000 */ mfc1 $a2, $f6 +/* 18BC48 8025D368 0C01C1E4 */ jal fx_sweat +/* 18BC4C 8025D36C 0000202D */ daddu $a0, $zero, $zero +/* 18BC50 8025D370 00111040 */ sll $v0, $s1, 1 +/* 18BC54 8025D374 02021021 */ addu $v0, $s0, $v0 +/* 18BC58 8025D378 2403000A */ addiu $v1, $zero, 0xa +/* 18BC5C 8025D37C A44308BE */ sh $v1, 0x8be($v0) +/* 18BC60 8025D380 02111821 */ addu $v1, $s0, $s1 +/* 18BC64 8025D384 24020001 */ addiu $v0, $zero, 1 +/* 18BC68 8025D388 080974EC */ j func_8025D3B0 +/* 18BC6C 8025D38C A06208BC */ sb $v0, 0x8bc($v1) + +.L8025D390: +/* 18BC70 8025D390 02021821 */ addu $v1, $s0, $v0 +/* 18BC74 8025D394 846208BE */ lh $v0, 0x8be($v1) +/* 18BC78 8025D398 946408BE */ lhu $a0, 0x8be($v1) +/* 18BC7C 8025D39C 10400003 */ beqz $v0, .L8025D3AC +/* 18BC80 8025D3A0 2482FFFF */ addiu $v0, $a0, -1 +/* 18BC84 8025D3A4 080974EC */ j func_8025D3B0 +/* 18BC88 8025D3A8 A46208BE */ sh $v0, 0x8be($v1) + +.L8025D3AC: +/* 18BC8C 8025D3AC A0A008BC */ sb $zero, 0x8bc($a1) +func_8025D3B0: +/* 18BC90 8025D3B0 8FBF0028 */ lw $ra, 0x28($sp) +/* 18BC94 8025D3B4 8FB10024 */ lw $s1, 0x24($sp) +/* 18BC98 8025D3B8 8FB00020 */ lw $s0, 0x20($sp) +/* 18BC9C 8025D3BC 03E00008 */ jr $ra +/* 18BCA0 8025D3C0 27BD0030 */ addiu $sp, $sp, 0x30 + +func_8025D3C4: +/* 18BCA4 8025D3C4 03E00008 */ jr $ra +/* 18BCA8 8025D3C8 00000000 */ nop + +func_8025D3CC: +/* 18BCAC 8025D3CC 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 18BCB0 8025D3D0 AFBF0024 */ sw $ra, 0x24($sp) +/* 18BCB4 8025D3D4 AFB00020 */ sw $s0, 0x20($sp) +/* 18BCB8 8025D3D8 8C8600C0 */ lw $a2, 0xc0($a0) +/* 18BCBC 8025D3DC 00C58021 */ addu $s0, $a2, $a1 +/* 18BCC0 8025D3E0 820308BC */ lb $v1, 0x8bc($s0) +/* 18BCC4 8025D3E4 10600005 */ beqz $v1, .L8025D3FC +/* 18BCC8 8025D3E8 24020001 */ addiu $v0, $zero, 1 +/* 18BCCC 8025D3EC 1062001A */ beq $v1, $v0, .L8025D458 +/* 18BCD0 8025D3F0 00051080 */ sll $v0, $a1, 2 +/* 18BCD4 8025D3F4 08097524 */ j func_8025D490 +/* 18BCD8 8025D3F8 00000000 */ nop + +.L8025D3FC: +/* 18BCDC 8025D3FC 90830073 */ lbu $v1, 0x73($a0) +/* 18BCE0 8025D400 C482005C */ lwc1 $f2, 0x5c($a0) +/* 18BCE4 8025D404 24020003 */ addiu $v0, $zero, 3 +/* 18BCE8 8025D408 AFA20014 */ sw $v0, 0x14($sp) +/* 18BCEC 8025D40C 00051080 */ sll $v0, $a1, 2 +/* 18BCF0 8025D410 244208B0 */ addiu $v0, $v0, 0x8b0 +/* 18BCF4 8025D414 3C0141A0 */ lui $at, 0x41a0 +/* 18BCF8 8025D418 44810000 */ mtc1 $at, $f0 +/* 18BCFC 8025D41C 00C21021 */ addu $v0, $a2, $v0 +/* 18BD00 8025D420 AFA20018 */ sw $v0, 0x18($sp) +/* 18BD04 8025D424 E7A00010 */ swc1 $f0, 0x10($sp) +/* 18BD08 8025D428 44830000 */ mtc1 $v1, $f0 +/* 18BD0C 8025D42C 00000000 */ nop +/* 18BD10 8025D430 46800020 */ cvt.s.w $f0, $f0 +/* 18BD14 8025D434 46001080 */ add.s $f2, $f2, $f0 +/* 18BD18 8025D438 8C850058 */ lw $a1, 0x58($a0) +/* 18BD1C 8025D43C 8C870060 */ lw $a3, 0x60($a0) +/* 18BD20 8025D440 44061000 */ mfc1 $a2, $f2 +/* 18BD24 8025D444 0C01C28C */ jal func_80070A30 +/* 18BD28 8025D448 0000202D */ daddu $a0, $zero, $zero +/* 18BD2C 8025D44C 24020001 */ addiu $v0, $zero, 1 +/* 18BD30 8025D450 08097524 */ j func_8025D490 +/* 18BD34 8025D454 A20208BC */ sb $v0, 0x8bc($s0) + +.L8025D458: +/* 18BD38 8025D458 00C21021 */ addu $v0, $a2, $v0 +/* 18BD3C 8025D45C 8C4208B0 */ lw $v0, 0x8b0($v0) +/* 18BD40 8025D460 C4800058 */ lwc1 $f0, 0x58($a0) +/* 18BD44 8025D464 8C43000C */ lw $v1, 0xc($v0) +/* 18BD48 8025D468 E4600004 */ swc1 $f0, 4($v1) +/* 18BD4C 8025D46C 90820073 */ lbu $v0, 0x73($a0) +/* 18BD50 8025D470 C480005C */ lwc1 $f0, 0x5c($a0) +/* 18BD54 8025D474 44821000 */ mtc1 $v0, $f2 +/* 18BD58 8025D478 00000000 */ nop +/* 18BD5C 8025D47C 468010A0 */ cvt.s.w $f2, $f2 +/* 18BD60 8025D480 46020000 */ add.s $f0, $f0, $f2 +/* 18BD64 8025D484 E4600008 */ swc1 $f0, 8($v1) +/* 18BD68 8025D488 C4800060 */ lwc1 $f0, 0x60($a0) +/* 18BD6C 8025D48C E460000C */ swc1 $f0, 0xc($v1) +func_8025D490: +/* 18BD70 8025D490 8FBF0024 */ lw $ra, 0x24($sp) +/* 18BD74 8025D494 8FB00020 */ lw $s0, 0x20($sp) +/* 18BD78 8025D498 03E00008 */ jr $ra +/* 18BD7C 8025D49C 27BD0028 */ addiu $sp, $sp, 0x28 + +func_8025D4A0: +/* 18BD80 8025D4A0 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 18BD84 8025D4A4 AFBF0010 */ sw $ra, 0x10($sp) +/* 18BD88 8025D4A8 8C8200C0 */ lw $v0, 0xc0($a0) +/* 18BD8C 8025D4AC 00052880 */ sll $a1, $a1, 2 +/* 18BD90 8025D4B0 00451021 */ addu $v0, $v0, $a1 +/* 18BD94 8025D4B4 0C016914 */ jal remove_effect +/* 18BD98 8025D4B8 8C4408B0 */ lw $a0, 0x8b0($v0) +/* 18BD9C 8025D4BC 8FBF0010 */ lw $ra, 0x10($sp) +/* 18BDA0 8025D4C0 03E00008 */ jr $ra +/* 18BDA4 8025D4C4 27BD0018 */ addiu $sp, $sp, 0x18 + +func_8025D4C8: +/* 18BDA8 8025D4C8 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* 18BDAC 8025D4CC AFB1001C */ sw $s1, 0x1c($sp) +/* 18BDB0 8025D4D0 0080882D */ daddu $s1, $a0, $zero +/* 18BDB4 8025D4D4 AFBF0028 */ sw $ra, 0x28($sp) +/* 18BDB8 8025D4D8 AFB30024 */ sw $s3, 0x24($sp) +/* 18BDBC 8025D4DC AFB20020 */ sw $s2, 0x20($sp) +/* 18BDC0 8025D4E0 AFB00018 */ sw $s0, 0x18($sp) +/* 18BDC4 8025D4E4 8E3000C0 */ lw $s0, 0xc0($s1) +/* 18BDC8 8025D4E8 00A0982D */ daddu $s3, $a1, $zero +/* 18BDCC 8025D4EC 02139021 */ addu $s2, $s0, $s3 +/* 18BDD0 8025D4F0 824308BC */ lb $v1, 0x8bc($s2) +/* 18BDD4 8025D4F4 10600005 */ beqz $v1, .L8025D50C +/* 18BDD8 8025D4F8 24020001 */ addiu $v0, $zero, 1 +/* 18BDDC 8025D4FC 1062001E */ beq $v1, $v0, .L8025D578 +/* 18BDE0 8025D500 00131080 */ sll $v0, $s3, 2 +/* 18BDE4 8025D504 08097581 */ j func_8025D604 +/* 18BDE8 8025D508 00000000 */ nop + +.L8025D50C: +/* 18BDEC 8025D50C 00131080 */ sll $v0, $s3, 2 +/* 18BDF0 8025D510 244208B0 */ addiu $v0, $v0, 0x8b0 +/* 18BDF4 8025D514 3C013ECC */ lui $at, 0x3ecc +/* 18BDF8 8025D518 3421CCCD */ ori $at, $at, 0xcccd +/* 18BDFC 8025D51C 44810000 */ mtc1 $at, $f0 +/* 18BE00 8025D520 02021021 */ addu $v0, $s0, $v0 +/* 18BE04 8025D524 AFA20014 */ sw $v0, 0x14($sp) +/* 18BE08 8025D528 E7A00010 */ swc1 $f0, 0x10($sp) +/* 18BE0C 8025D52C 8E250058 */ lw $a1, 0x58($s1) +/* 18BE10 8025D530 8E26005C */ lw $a2, 0x5c($s1) +/* 18BE14 8025D534 8E270060 */ lw $a3, 0x60($s1) +/* 18BE18 8025D538 0C01C3AC */ jal func_80070EB0 +/* 18BE1C 8025D53C 24040001 */ addiu $a0, $zero, 1 +/* 18BE20 8025D540 24020001 */ addiu $v0, $zero, 1 +/* 18BE24 8025D544 A24208BC */ sb $v0, 0x8bc($s2) +/* 18BE28 8025D548 00131100 */ sll $v0, $s3, 4 +/* 18BE2C 8025D54C 02021021 */ addu $v0, $s0, $v0 +/* 18BE30 8025D550 24030028 */ addiu $v1, $zero, 0x28 +/* 18BE34 8025D554 A44308C6 */ sh $v1, 0x8c6($v0) +/* 18BE38 8025D558 A44308C8 */ sh $v1, 0x8c8($v0) +/* 18BE3C 8025D55C 240300FF */ addiu $v1, $zero, 0xff +/* 18BE40 8025D560 A44308CA */ sh $v1, 0x8ca($v0) +/* 18BE44 8025D564 A44008CC */ sh $zero, 0x8cc($v0) +/* 18BE48 8025D568 A44308CE */ sh $v1, 0x8ce($v0) +/* 18BE4C 8025D56C A44008D0 */ sh $zero, 0x8d0($v0) +/* 18BE50 8025D570 A44008D2 */ sh $zero, 0x8d2($v0) +/* 18BE54 8025D574 00131080 */ sll $v0, $s3, 2 +.L8025D578: +/* 18BE58 8025D578 02021021 */ addu $v0, $s0, $v0 +/* 18BE5C 8025D57C 8C4508B0 */ lw $a1, 0x8b0($v0) +/* 18BE60 8025D580 C6200058 */ lwc1 $f0, 0x58($s1) +/* 18BE64 8025D584 8CA3000C */ lw $v1, 0xc($a1) +/* 18BE68 8025D588 00132100 */ sll $a0, $s3, 4 +/* 18BE6C 8025D58C E4600004 */ swc1 $f0, 4($v1) +/* 18BE70 8025D590 C620005C */ lwc1 $f0, 0x5c($s1) +/* 18BE74 8025D594 02042021 */ addu $a0, $s0, $a0 +/* 18BE78 8025D598 E4600008 */ swc1 $f0, 8($v1) +/* 18BE7C 8025D59C 848208CC */ lh $v0, 0x8cc($a0) +/* 18BE80 8025D5A0 C6200060 */ lwc1 $f0, 0x60($s1) +/* 18BE84 8025D5A4 44821000 */ mtc1 $v0, $f2 +/* 18BE88 8025D5A8 00000000 */ nop +/* 18BE8C 8025D5AC 468010A0 */ cvt.s.w $f2, $f2 +/* 18BE90 8025D5B0 46020000 */ add.s $f0, $f0, $f2 +/* 18BE94 8025D5B4 E460000C */ swc1 $f0, 0xc($v1) +/* 18BE98 8025D5B8 848208C6 */ lh $v0, 0x8c6($a0) +/* 18BE9C 8025D5BC 3C0142C8 */ lui $at, 0x42c8 +/* 18BEA0 8025D5C0 44810000 */ mtc1 $at, $f0 +/* 18BEA4 8025D5C4 44821000 */ mtc1 $v0, $f2 +/* 18BEA8 8025D5C8 00000000 */ nop +/* 18BEAC 8025D5CC 468010A0 */ cvt.s.w $f2, $f2 +/* 18BEB0 8025D5D0 8CA2000C */ lw $v0, 0xc($a1) +/* 18BEB4 8025D5D4 46001083 */ div.s $f2, $f2, $f0 +/* 18BEB8 8025D5D8 E442001C */ swc1 $f2, 0x1c($v0) +/* 18BEBC 8025D5DC 848208C8 */ lh $v0, 0x8c8($a0) +/* 18BEC0 8025D5E0 44821000 */ mtc1 $v0, $f2 +/* 18BEC4 8025D5E4 00000000 */ nop +/* 18BEC8 8025D5E8 468010A0 */ cvt.s.w $f2, $f2 +/* 18BECC 8025D5EC 8CA2000C */ lw $v0, 0xc($a1) +/* 18BED0 8025D5F0 46001083 */ div.s $f2, $f2, $f0 +/* 18BED4 8025D5F4 E4420020 */ swc1 $f2, 0x20($v0) +/* 18BED8 8025D5F8 8CA3000C */ lw $v1, 0xc($a1) +/* 18BEDC 8025D5FC 848208CA */ lh $v0, 0x8ca($a0) +/* 18BEE0 8025D600 AC620028 */ sw $v0, 0x28($v1) +func_8025D604: +/* 18BEE4 8025D604 8FBF0028 */ lw $ra, 0x28($sp) +/* 18BEE8 8025D608 8FB30024 */ lw $s3, 0x24($sp) +/* 18BEEC 8025D60C 8FB20020 */ lw $s2, 0x20($sp) +/* 18BEF0 8025D610 8FB1001C */ lw $s1, 0x1c($sp) +/* 18BEF4 8025D614 8FB00018 */ lw $s0, 0x18($sp) +/* 18BEF8 8025D618 03E00008 */ jr $ra +/* 18BEFC 8025D61C 27BD0030 */ addiu $sp, $sp, 0x30 + +func_8025D620: +/* 18BF00 8025D620 8C8200C0 */ lw $v0, 0xc0($a0) +/* 18BF04 8025D624 00052880 */ sll $a1, $a1, 2 +/* 18BF08 8025D628 00451021 */ addu $v0, $v0, $a1 +/* 18BF0C 8025D62C 8C4208B0 */ lw $v0, 0x8b0($v0) +/* 18BF10 8025D630 8C43000C */ lw $v1, 0xc($v0) +/* 18BF14 8025D634 24020005 */ addiu $v0, $zero, 5 +/* 18BF18 8025D638 03E00008 */ jr $ra +/* 18BF1C 8025D63C AC62002C */ sw $v0, 0x2c($v1) + +func_8025D640: +/* 18BF20 8025D640 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 18BF24 8025D644 AFBF0024 */ sw $ra, 0x24($sp) +/* 18BF28 8025D648 AFB20020 */ sw $s2, 0x20($sp) +/* 18BF2C 8025D64C AFB1001C */ sw $s1, 0x1c($sp) +/* 18BF30 8025D650 AFB00018 */ sw $s0, 0x18($sp) +/* 18BF34 8025D654 8C9000C0 */ lw $s0, 0xc0($a0) +/* 18BF38 8025D658 00A0882D */ daddu $s1, $a1, $zero +/* 18BF3C 8025D65C 02119021 */ addu $s2, $s0, $s1 +/* 18BF40 8025D660 824308BC */ lb $v1, 0x8bc($s2) +/* 18BF44 8025D664 10600005 */ beqz $v1, .L8025D67C +/* 18BF48 8025D668 24020001 */ addiu $v0, $zero, 1 +/* 18BF4C 8025D66C 10620012 */ beq $v1, $v0, .L8025D6B8 +/* 18BF50 8025D670 00111080 */ sll $v0, $s1, 2 +/* 18BF54 8025D674 080975B9 */ j func_8025D6E4 +/* 18BF58 8025D678 00000000 */ nop + +.L8025D67C: +/* 18BF5C 8025D67C 3C013F80 */ lui $at, 0x3f80 +/* 18BF60 8025D680 44810000 */ mtc1 $at, $f0 +/* 18BF64 8025D684 AFA00014 */ sw $zero, 0x14($sp) +/* 18BF68 8025D688 E7A00010 */ swc1 $f0, 0x10($sp) +/* 18BF6C 8025D68C 8C850058 */ lw $a1, 0x58($a0) +/* 18BF70 8025D690 8C86005C */ lw $a2, 0x5c($a0) +/* 18BF74 8025D694 8C870060 */ lw $a3, 0x60($a0) +/* 18BF78 8025D698 0C01C79C */ jal func_80071E70 +/* 18BF7C 8025D69C 24040001 */ addiu $a0, $zero, 1 +/* 18BF80 8025D6A0 00111880 */ sll $v1, $s1, 2 +/* 18BF84 8025D6A4 02031821 */ addu $v1, $s0, $v1 +/* 18BF88 8025D6A8 AC6208B0 */ sw $v0, 0x8b0($v1) +/* 18BF8C 8025D6AC 24020001 */ addiu $v0, $zero, 1 +/* 18BF90 8025D6B0 080975B9 */ j func_8025D6E4 +/* 18BF94 8025D6B4 A24208BC */ sb $v0, 0x8bc($s2) + +.L8025D6B8: +/* 18BF98 8025D6B8 02021021 */ addu $v0, $s0, $v0 +/* 18BF9C 8025D6BC 8C4208B0 */ lw $v0, 0x8b0($v0) +/* 18BFA0 8025D6C0 C4800058 */ lwc1 $f0, 0x58($a0) +/* 18BFA4 8025D6C4 8C43000C */ lw $v1, 0xc($v0) +/* 18BFA8 8025D6C8 E4600038 */ swc1 $f0, 0x38($v1) +/* 18BFAC 8025D6CC 8C43000C */ lw $v1, 0xc($v0) +/* 18BFB0 8025D6D0 C480005C */ lwc1 $f0, 0x5c($a0) +/* 18BFB4 8025D6D4 E460003C */ swc1 $f0, 0x3c($v1) +/* 18BFB8 8025D6D8 8C42000C */ lw $v0, 0xc($v0) +/* 18BFBC 8025D6DC C4800060 */ lwc1 $f0, 0x60($a0) +/* 18BFC0 8025D6E0 E4400040 */ swc1 $f0, 0x40($v0) +func_8025D6E4: +/* 18BFC4 8025D6E4 8FBF0024 */ lw $ra, 0x24($sp) +/* 18BFC8 8025D6E8 8FB20020 */ lw $s2, 0x20($sp) +/* 18BFCC 8025D6EC 8FB1001C */ lw $s1, 0x1c($sp) +/* 18BFD0 8025D6F0 8FB00018 */ lw $s0, 0x18($sp) +/* 18BFD4 8025D6F4 03E00008 */ jr $ra +/* 18BFD8 8025D6F8 27BD0028 */ addiu $sp, $sp, 0x28 + +func_8025D6FC: +/* 18BFDC 8025D6FC 8C8200C0 */ lw $v0, 0xc0($a0) +/* 18BFE0 8025D700 00052880 */ sll $a1, $a1, 2 +/* 18BFE4 8025D704 00451021 */ addu $v0, $v0, $a1 +/* 18BFE8 8025D708 8C4308B0 */ lw $v1, 0x8b0($v0) +/* 18BFEC 8025D70C 8C620000 */ lw $v0, ($v1) +/* 18BFF0 8025D710 34420010 */ ori $v0, $v0, 0x10 +/* 18BFF4 8025D714 03E00008 */ jr $ra +/* 18BFF8 8025D718 AC620000 */ sw $v0, ($v1) + +func_8025D71C: +/* 18BFFC 8025D71C 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 18C000 8025D720 AFBF0024 */ sw $ra, 0x24($sp) +/* 18C004 8025D724 AFB20020 */ sw $s2, 0x20($sp) +/* 18C008 8025D728 AFB1001C */ sw $s1, 0x1c($sp) +/* 18C00C 8025D72C AFB00018 */ sw $s0, 0x18($sp) +/* 18C010 8025D730 8C9000C0 */ lw $s0, 0xc0($a0) +/* 18C014 8025D734 00A0882D */ daddu $s1, $a1, $zero +/* 18C018 8025D738 02119021 */ addu $s2, $s0, $s1 +/* 18C01C 8025D73C 824308BC */ lb $v1, 0x8bc($s2) +/* 18C020 8025D740 10600005 */ beqz $v1, .L8025D758 +/* 18C024 8025D744 24020001 */ addiu $v0, $zero, 1 +/* 18C028 8025D748 10620015 */ beq $v1, $v0, .L8025D7A0 +/* 18C02C 8025D74C 00111080 */ sll $v0, $s1, 2 +/* 18C030 8025D750 080975FE */ j func_8025D7F8 +/* 18C034 8025D754 00000000 */ nop + +.L8025D758: +/* 18C038 8025D758 3C013F80 */ lui $at, 0x3f80 +/* 18C03C 8025D75C 44810000 */ mtc1 $at, $f0 +/* 18C040 8025D760 AFA00014 */ sw $zero, 0x14($sp) +/* 18C044 8025D764 E7A00010 */ swc1 $f0, 0x10($sp) +/* 18C048 8025D768 8C850058 */ lw $a1, 0x58($a0) +/* 18C04C 8025D76C 8C86005C */ lw $a2, 0x5c($a0) +/* 18C050 8025D770 8C870060 */ lw $a3, 0x60($a0) +/* 18C054 8025D774 0C01C79C */ jal func_80071E70 +/* 18C058 8025D778 24040002 */ addiu $a0, $zero, 2 +/* 18C05C 8025D77C 00111880 */ sll $v1, $s1, 2 +/* 18C060 8025D780 02031821 */ addu $v1, $s0, $v1 +/* 18C064 8025D784 AC6208B0 */ sw $v0, 0x8b0($v1) +/* 18C068 8025D788 00111100 */ sll $v0, $s1, 4 +/* 18C06C 8025D78C 02021021 */ addu $v0, $s0, $v0 +/* 18C070 8025D790 24030001 */ addiu $v1, $zero, 1 +/* 18C074 8025D794 A44308C6 */ sh $v1, 0x8c6($v0) +/* 18C078 8025D798 080975FE */ j func_8025D7F8 +/* 18C07C 8025D79C A24308BC */ sb $v1, 0x8bc($s2) + +.L8025D7A0: +/* 18C080 8025D7A0 02021021 */ addu $v0, $s0, $v0 +/* 18C084 8025D7A4 8C4308B0 */ lw $v1, 0x8b0($v0) +/* 18C088 8025D7A8 C4800058 */ lwc1 $f0, 0x58($a0) +/* 18C08C 8025D7AC 8C62000C */ lw $v0, 0xc($v1) +/* 18C090 8025D7B0 E4400038 */ swc1 $f0, 0x38($v0) +/* 18C094 8025D7B4 8C62000C */ lw $v0, 0xc($v1) +/* 18C098 8025D7B8 C480005C */ lwc1 $f0, 0x5c($a0) +/* 18C09C 8025D7BC E440003C */ swc1 $f0, 0x3c($v0) +/* 18C0A0 8025D7C0 8C62000C */ lw $v0, 0xc($v1) +/* 18C0A4 8025D7C4 C4800060 */ lwc1 $f0, 0x60($a0) +/* 18C0A8 8025D7C8 E4400040 */ swc1 $f0, 0x40($v0) +/* 18C0AC 8025D7CC 00111100 */ sll $v0, $s1, 4 +/* 18C0B0 8025D7D0 02021021 */ addu $v0, $s0, $v0 +/* 18C0B4 8025D7D4 844208C6 */ lh $v0, 0x8c6($v0) +/* 18C0B8 8025D7D8 3C0142C8 */ lui $at, 0x42c8 +/* 18C0BC 8025D7DC 44811000 */ mtc1 $at, $f2 +/* 18C0C0 8025D7E0 44820000 */ mtc1 $v0, $f0 +/* 18C0C4 8025D7E4 00000000 */ nop +/* 18C0C8 8025D7E8 46800020 */ cvt.s.w $f0, $f0 +/* 18C0CC 8025D7EC 8C62000C */ lw $v0, 0xc($v1) +/* 18C0D0 8025D7F0 46020003 */ div.s $f0, $f0, $f2 +/* 18C0D4 8025D7F4 E4400034 */ swc1 $f0, 0x34($v0) +func_8025D7F8: +/* 18C0D8 8025D7F8 8FBF0024 */ lw $ra, 0x24($sp) +/* 18C0DC 8025D7FC 8FB20020 */ lw $s2, 0x20($sp) +/* 18C0E0 8025D800 8FB1001C */ lw $s1, 0x1c($sp) +/* 18C0E4 8025D804 8FB00018 */ lw $s0, 0x18($sp) +/* 18C0E8 8025D808 03E00008 */ jr $ra +/* 18C0EC 8025D80C 27BD0028 */ addiu $sp, $sp, 0x28 + +func_8025D810: +/* 18C0F0 8025D810 8C8200C0 */ lw $v0, 0xc0($a0) +/* 18C0F4 8025D814 00052880 */ sll $a1, $a1, 2 +/* 18C0F8 8025D818 00451021 */ addu $v0, $v0, $a1 +/* 18C0FC 8025D81C 8C4308B0 */ lw $v1, 0x8b0($v0) +/* 18C100 8025D820 8C620000 */ lw $v0, ($v1) +/* 18C104 8025D824 34420010 */ ori $v0, $v0, 0x10 +/* 18C108 8025D828 03E00008 */ jr $ra +/* 18C10C 8025D82C AC620000 */ sw $v0, ($v1) + +func_8025D830: +/* 18C110 8025D830 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 18C114 8025D834 AFBF0024 */ sw $ra, 0x24($sp) +/* 18C118 8025D838 AFB20020 */ sw $s2, 0x20($sp) +/* 18C11C 8025D83C AFB1001C */ sw $s1, 0x1c($sp) +/* 18C120 8025D840 AFB00018 */ sw $s0, 0x18($sp) +/* 18C124 8025D844 8C9000C0 */ lw $s0, 0xc0($a0) +/* 18C128 8025D848 00A0882D */ daddu $s1, $a1, $zero +/* 18C12C 8025D84C 02119021 */ addu $s2, $s0, $s1 +/* 18C130 8025D850 824308BC */ lb $v1, 0x8bc($s2) +/* 18C134 8025D854 10600005 */ beqz $v1, .L8025D86C +/* 18C138 8025D858 24020001 */ addiu $v0, $zero, 1 +/* 18C13C 8025D85C 10620012 */ beq $v1, $v0, .L8025D8A8 +/* 18C140 8025D860 00111080 */ sll $v0, $s1, 2 +/* 18C144 8025D864 08097635 */ j func_8025D8D4 +/* 18C148 8025D868 00000000 */ nop + +.L8025D86C: +/* 18C14C 8025D86C 3C013F80 */ lui $at, 0x3f80 +/* 18C150 8025D870 44810000 */ mtc1 $at, $f0 +/* 18C154 8025D874 AFA00014 */ sw $zero, 0x14($sp) +/* 18C158 8025D878 E7A00010 */ swc1 $f0, 0x10($sp) +/* 18C15C 8025D87C 8C850058 */ lw $a1, 0x58($a0) +/* 18C160 8025D880 8C86005C */ lw $a2, 0x5c($a0) +/* 18C164 8025D884 8C870060 */ lw $a3, 0x60($a0) +/* 18C168 8025D888 0C01C7CC */ jal func_80071F30 +/* 18C16C 8025D88C 24040002 */ addiu $a0, $zero, 2 +/* 18C170 8025D890 00111880 */ sll $v1, $s1, 2 +/* 18C174 8025D894 02031821 */ addu $v1, $s0, $v1 +/* 18C178 8025D898 AC6208B0 */ sw $v0, 0x8b0($v1) +/* 18C17C 8025D89C 24020001 */ addiu $v0, $zero, 1 +/* 18C180 8025D8A0 08097635 */ j func_8025D8D4 +/* 18C184 8025D8A4 A24208BC */ sb $v0, 0x8bc($s2) + +.L8025D8A8: +/* 18C188 8025D8A8 02021021 */ addu $v0, $s0, $v0 +/* 18C18C 8025D8AC 8C4208B0 */ lw $v0, 0x8b0($v0) +/* 18C190 8025D8B0 C4800058 */ lwc1 $f0, 0x58($a0) +/* 18C194 8025D8B4 8C43000C */ lw $v1, 0xc($v0) +/* 18C198 8025D8B8 E4600004 */ swc1 $f0, 4($v1) +/* 18C19C 8025D8BC 8C43000C */ lw $v1, 0xc($v0) +/* 18C1A0 8025D8C0 C480005C */ lwc1 $f0, 0x5c($a0) +/* 18C1A4 8025D8C4 E4600008 */ swc1 $f0, 8($v1) +/* 18C1A8 8025D8C8 8C42000C */ lw $v0, 0xc($v0) +/* 18C1AC 8025D8CC C4800060 */ lwc1 $f0, 0x60($a0) +/* 18C1B0 8025D8D0 E440000C */ swc1 $f0, 0xc($v0) +func_8025D8D4: +/* 18C1B4 8025D8D4 8FBF0024 */ lw $ra, 0x24($sp) +/* 18C1B8 8025D8D8 8FB20020 */ lw $s2, 0x20($sp) +/* 18C1BC 8025D8DC 8FB1001C */ lw $s1, 0x1c($sp) +/* 18C1C0 8025D8E0 8FB00018 */ lw $s0, 0x18($sp) +/* 18C1C4 8025D8E4 03E00008 */ jr $ra +/* 18C1C8 8025D8E8 27BD0028 */ addiu $sp, $sp, 0x28 + +func_8025D8EC: +/* 18C1CC 8025D8EC 8C8200C0 */ lw $v0, 0xc0($a0) +/* 18C1D0 8025D8F0 00052880 */ sll $a1, $a1, 2 +/* 18C1D4 8025D8F4 00451021 */ addu $v0, $v0, $a1 +/* 18C1D8 8025D8F8 8C4308B0 */ lw $v1, 0x8b0($v0) +/* 18C1DC 8025D8FC 8C620000 */ lw $v0, ($v1) +/* 18C1E0 8025D900 34420010 */ ori $v0, $v0, 0x10 +/* 18C1E4 8025D904 03E00008 */ jr $ra +/* 18C1E8 8025D908 AC620000 */ sw $v0, ($v1) + +func_8025D90C: +/* 18C1EC 8025D90C 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 18C1F0 8025D910 AFB00018 */ sw $s0, 0x18($sp) +/* 18C1F4 8025D914 0080802D */ daddu $s0, $a0, $zero +/* 18C1F8 8025D918 AFBF001C */ sw $ra, 0x1c($sp) +/* 18C1FC 8025D91C F7B40020 */ sdc1 $f20, 0x20($sp) +/* 18C200 8025D920 8E0400C0 */ lw $a0, 0xc0($s0) +/* 18C204 8025D924 00853021 */ addu $a2, $a0, $a1 +/* 18C208 8025D928 80C308BC */ lb $v1, 0x8bc($a2) +/* 18C20C 8025D92C 10600005 */ beqz $v1, .L8025D944 +/* 18C210 8025D930 24020001 */ addiu $v0, $zero, 1 +/* 18C214 8025D934 10620009 */ beq $v1, $v0, .L8025D95C +/* 18C218 8025D938 00051040 */ sll $v0, $a1, 1 +/* 18C21C 8025D93C 08097693 */ j func_8025DA4C +/* 18C220 8025D940 00000000 */ nop + +.L8025D944: +/* 18C224 8025D944 00051040 */ sll $v0, $a1, 1 +/* 18C228 8025D948 00821021 */ addu $v0, $a0, $v0 +/* 18C22C 8025D94C A44008BE */ sh $zero, 0x8be($v0) +/* 18C230 8025D950 24020001 */ addiu $v0, $zero, 1 +/* 18C234 8025D954 A0C208BC */ sb $v0, 0x8bc($a2) +/* 18C238 8025D958 00051040 */ sll $v0, $a1, 1 +.L8025D95C: +/* 18C23C 8025D95C 00821821 */ addu $v1, $a0, $v0 +/* 18C240 8025D960 946208BE */ lhu $v0, 0x8be($v1) +/* 18C244 8025D964 24420001 */ addiu $v0, $v0, 1 +/* 18C248 8025D968 A46208BE */ sh $v0, 0x8be($v1) +/* 18C24C 8025D96C 00021400 */ sll $v0, $v0, 0x10 +/* 18C250 8025D970 00021403 */ sra $v0, $v0, 0x10 +/* 18C254 8025D974 28420004 */ slti $v0, $v0, 4 +/* 18C258 8025D978 14400034 */ bnez $v0, .L8025DA4C +/* 18C25C 8025D97C 00000000 */ nop +/* 18C260 8025D980 A46008BE */ sh $zero, 0x8be($v1) +/* 18C264 8025D984 C60C0064 */ lwc1 $f12, 0x64($s0) +/* 18C268 8025D988 0C00A6C9 */ jal clamp_angle +/* 18C26C 8025D98C 46006307 */ neg.s $f12, $f12 +/* 18C270 8025D990 3C0140C9 */ lui $at, 0x40c9 +/* 18C274 8025D994 34210FD0 */ ori $at, $at, 0xfd0 +/* 18C278 8025D998 44811000 */ mtc1 $at, $f2 +/* 18C27C 8025D99C 00000000 */ nop +/* 18C280 8025D9A0 46020502 */ mul.s $f20, $f0, $f2 +/* 18C284 8025D9A4 00000000 */ nop +/* 18C288 8025D9A8 3C0143B4 */ lui $at, 0x43b4 +/* 18C28C 8025D9AC 44810000 */ mtc1 $at, $f0 +/* 18C290 8025D9B0 00000000 */ nop +/* 18C294 8025D9B4 4600A503 */ div.s $f20, $f20, $f0 +/* 18C298 8025D9B8 0C00A85B */ jal sin_rad +/* 18C29C 8025D9BC 4600A306 */ mov.s $f12, $f20 +/* 18C2A0 8025D9C0 4600A306 */ mov.s $f12, $f20 +/* 18C2A4 8025D9C4 0C00A874 */ jal cos_rad +/* 18C2A8 8025D9C8 46000506 */ mov.s $f20, $f0 +/* 18C2AC 8025D9CC 92020072 */ lbu $v0, 0x72($s0) +/* 18C2B0 8025D9D0 44822000 */ mtc1 $v0, $f4 +/* 18C2B4 8025D9D4 00000000 */ nop +/* 18C2B8 8025D9D8 46802120 */ cvt.s.w $f4, $f4 +/* 18C2BC 8025D9DC 46142182 */ mul.s $f6, $f4, $f20 +/* 18C2C0 8025D9E0 00000000 */ nop +/* 18C2C4 8025D9E4 46002102 */ mul.s $f4, $f4, $f0 +/* 18C2C8 8025D9E8 00000000 */ nop +/* 18C2CC 8025D9EC 3C013E4C */ lui $at, 0x3e4c +/* 18C2D0 8025D9F0 3421CCCD */ ori $at, $at, 0xcccd +/* 18C2D4 8025D9F4 44811000 */ mtc1 $at, $f2 +/* 18C2D8 8025D9F8 00000000 */ nop +/* 18C2DC 8025D9FC 46023182 */ mul.s $f6, $f6, $f2 +/* 18C2E0 8025DA00 00000000 */ nop +/* 18C2E4 8025DA04 46022102 */ mul.s $f4, $f4, $f2 +/* 18C2E8 8025DA08 00000000 */ nop +/* 18C2EC 8025DA0C C6020058 */ lwc1 $f2, 0x58($s0) +/* 18C2F0 8025DA10 46061080 */ add.s $f2, $f2, $f6 +/* 18C2F4 8025DA14 C6060060 */ lwc1 $f6, 0x60($s0) +/* 18C2F8 8025DA18 C608005C */ lwc1 $f8, 0x5c($s0) +/* 18C2FC 8025DA1C 46043180 */ add.s $f6, $f6, $f4 +/* 18C300 8025DA20 44051000 */ mfc1 $a1, $f2 +/* 18C304 8025DA24 3C013FC0 */ lui $at, 0x3fc0 +/* 18C308 8025DA28 44811000 */ mtc1 $at, $f2 +/* 18C30C 8025DA2C 00000000 */ nop +/* 18C310 8025DA30 46024200 */ add.s $f8, $f8, $f2 +/* 18C314 8025DA34 44073000 */ mfc1 $a3, $f6 +/* 18C318 8025DA38 44064000 */ mfc1 $a2, $f8 +/* 18C31C 8025DA3C 0000202D */ daddu $a0, $zero, $zero +/* 18C320 8025DA40 E7B40010 */ swc1 $f20, 0x10($sp) +/* 18C324 8025DA44 0C01BECC */ jal fx_walk_normal +/* 18C328 8025DA48 E7A00014 */ swc1 $f0, 0x14($sp) +func_8025DA4C: +.L8025DA4C: +/* 18C32C 8025DA4C 8FBF001C */ lw $ra, 0x1c($sp) +/* 18C330 8025DA50 8FB00018 */ lw $s0, 0x18($sp) +/* 18C334 8025DA54 D7B40020 */ ldc1 $f20, 0x20($sp) +/* 18C338 8025DA58 03E00008 */ jr $ra +/* 18C33C 8025DA5C 27BD0028 */ addiu $sp, $sp, 0x28 + +func_8025DA60: +/* 18C340 8025DA60 03E00008 */ jr $ra +/* 18C344 8025DA64 00000000 */ nop + +func_8025DA68: +/* 18C348 8025DA68 27BDFFC0 */ addiu $sp, $sp, -0x40 +/* 18C34C 8025DA6C AFB1001C */ sw $s1, 0x1c($sp) +/* 18C350 8025DA70 00A0882D */ daddu $s1, $a1, $zero +/* 18C354 8025DA74 AFBF0020 */ sw $ra, 0x20($sp) +/* 18C358 8025DA78 AFB00018 */ sw $s0, 0x18($sp) +/* 18C35C 8025DA7C F7B80038 */ sdc1 $f24, 0x38($sp) +/* 18C360 8025DA80 F7B60030 */ sdc1 $f22, 0x30($sp) +/* 18C364 8025DA84 F7B40028 */ sdc1 $f20, 0x28($sp) +/* 18C368 8025DA88 8C9000C0 */ lw $s0, 0xc0($a0) +/* 18C36C 8025DA8C 00111100 */ sll $v0, $s1, 4 +/* 18C370 8025DA90 02021021 */ addu $v0, $s0, $v0 +/* 18C374 8025DA94 844208C6 */ lh $v0, 0x8c6($v0) +/* 18C378 8025DA98 00021040 */ sll $v0, $v0, 1 +/* 18C37C 8025DA9C 3C018028 */ lui $at, 0x8028 +/* 18C380 8025DAA0 00220821 */ addu $at, $at, $v0 +/* 18C384 8025DAA4 84224134 */ lh $v0, 0x4134($at) +/* 18C388 8025DAA8 0440003F */ bltz $v0, .L8025DBA8 +/* 18C38C 8025DAAC 02112821 */ addu $a1, $s0, $s1 +/* 18C390 8025DAB0 80A308BC */ lb $v1, 0x8bc($a1) +/* 18C394 8025DAB4 10600005 */ beqz $v1, .L8025DACC +/* 18C398 8025DAB8 24020001 */ addiu $v0, $zero, 1 +/* 18C39C 8025DABC 10620008 */ beq $v1, $v0, .L8025DAE0 +/* 18C3A0 8025DAC0 00000000 */ nop +/* 18C3A4 8025DAC4 080976EA */ j func_8025DBA8 +/* 18C3A8 8025DAC8 00000000 */ nop + +.L8025DACC: +/* 18C3AC 8025DACC 00111040 */ sll $v0, $s1, 1 +/* 18C3B0 8025DAD0 02021021 */ addu $v0, $s0, $v0 +/* 18C3B4 8025DAD4 A44008BE */ sh $zero, 0x8be($v0) +/* 18C3B8 8025DAD8 24020001 */ addiu $v0, $zero, 1 +/* 18C3BC 8025DADC A0A208BC */ sb $v0, 0x8bc($a1) +.L8025DAE0: +/* 18C3C0 8025DAE0 90820073 */ lbu $v0, 0x73($a0) +/* 18C3C4 8025DAE4 C482005C */ lwc1 $f2, 0x5c($a0) +/* 18C3C8 8025DAE8 C4940058 */ lwc1 $f20, 0x58($a0) +/* 18C3CC 8025DAEC 00021042 */ srl $v0, $v0, 1 +/* 18C3D0 8025DAF0 44820000 */ mtc1 $v0, $f0 +/* 18C3D4 8025DAF4 00000000 */ nop +/* 18C3D8 8025DAF8 46800020 */ cvt.s.w $f0, $f0 +/* 18C3DC 8025DAFC 46001600 */ add.s $f24, $f2, $f0 +/* 18C3E0 8025DB00 3C028007 */ lui $v0, 0x8007 +/* 18C3E4 8025DB04 8C42419C */ lw $v0, 0x419c($v0) +/* 18C3E8 8025DB08 C4820060 */ lwc1 $f2, 0x60($a0) +/* 18C3EC 8025DB0C 3C0140A0 */ lui $at, 0x40a0 +/* 18C3F0 8025DB10 44810000 */ mtc1 $at, $f0 +/* 18C3F4 8025DB14 94420134 */ lhu $v0, 0x134($v0) +/* 18C3F8 8025DB18 00021082 */ srl $v0, $v0, 2 +/* 18C3FC 8025DB1C 14400009 */ bnez $v0, .L8025DB44 +/* 18C400 8025DB20 46001581 */ sub.s $f22, $f2, $f0 +/* 18C404 8025DB24 4405A000 */ mfc1 $a1, $f20 +/* 18C408 8025DB28 4406C000 */ mfc1 $a2, $f24 +/* 18C40C 8025DB2C 4407B000 */ mfc1 $a3, $f22 +/* 18C410 8025DB30 3C014120 */ lui $at, 0x4120 +/* 18C414 8025DB34 44810000 */ mtc1 $at, $f0 +/* 18C418 8025DB38 24040001 */ addiu $a0, $zero, 1 +/* 18C41C 8025DB3C 0C01BFBC */ jal func_8006FEF0 +/* 18C420 8025DB40 E7A00010 */ swc1 $f0, 0x10($sp) +.L8025DB44: +/* 18C424 8025DB44 00111040 */ sll $v0, $s1, 1 +/* 18C428 8025DB48 02024021 */ addu $t0, $s0, $v0 +/* 18C42C 8025DB4C 00111100 */ sll $v0, $s1, 4 +/* 18C430 8025DB50 950308BE */ lhu $v1, 0x8be($t0) +/* 18C434 8025DB54 02021021 */ addu $v0, $s0, $v0 +/* 18C438 8025DB58 24630001 */ addiu $v1, $v1, 1 +/* 18C43C 8025DB5C A50308BE */ sh $v1, 0x8be($t0) +/* 18C440 8025DB60 844208C6 */ lh $v0, 0x8c6($v0) +/* 18C444 8025DB64 00031C00 */ sll $v1, $v1, 0x10 +/* 18C448 8025DB68 00021040 */ sll $v0, $v0, 1 +/* 18C44C 8025DB6C 3C018028 */ lui $at, 0x8028 +/* 18C450 8025DB70 00220821 */ addu $at, $at, $v0 +/* 18C454 8025DB74 84224134 */ lh $v0, 0x4134($at) +/* 18C458 8025DB78 00031C03 */ sra $v1, $v1, 0x10 +/* 18C45C 8025DB7C 0043102A */ slt $v0, $v0, $v1 +/* 18C460 8025DB80 10400009 */ beqz $v0, .L8025DBA8 +/* 18C464 8025DB84 24040001 */ addiu $a0, $zero, 1 +/* 18C468 8025DB88 4405A000 */ mfc1 $a1, $f20 +/* 18C46C 8025DB8C 4406C000 */ mfc1 $a2, $f24 +/* 18C470 8025DB90 4407B000 */ mfc1 $a3, $f22 +/* 18C474 8025DB94 3C0141A0 */ lui $at, 0x41a0 +/* 18C478 8025DB98 44810000 */ mtc1 $at, $f0 +/* 18C47C 8025DB9C A50008BE */ sh $zero, 0x8be($t0) +/* 18C480 8025DBA0 0C01BFBC */ jal func_8006FEF0 +/* 18C484 8025DBA4 E7A00010 */ swc1 $f0, 0x10($sp) +func_8025DBA8: +.L8025DBA8: +/* 18C488 8025DBA8 8FBF0020 */ lw $ra, 0x20($sp) +/* 18C48C 8025DBAC 8FB1001C */ lw $s1, 0x1c($sp) +/* 18C490 8025DBB0 8FB00018 */ lw $s0, 0x18($sp) +/* 18C494 8025DBB4 D7B80038 */ ldc1 $f24, 0x38($sp) +/* 18C498 8025DBB8 D7B60030 */ ldc1 $f22, 0x30($sp) +/* 18C49C 8025DBBC D7B40028 */ ldc1 $f20, 0x28($sp) +/* 18C4A0 8025DBC0 03E00008 */ jr $ra +/* 18C4A4 8025DBC4 27BD0040 */ addiu $sp, $sp, 0x40 + +func_8025DBC8: +/* 18C4A8 8025DBC8 03E00008 */ jr $ra +/* 18C4AC 8025DBCC 00000000 */ nop + +func_8025DBD0: +/* 18C4B0 8025DBD0 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* 18C4B4 8025DBD4 AFB1001C */ sw $s1, 0x1c($sp) +/* 18C4B8 8025DBD8 0080882D */ daddu $s1, $a0, $zero +/* 18C4BC 8025DBDC AFBF0028 */ sw $ra, 0x28($sp) +/* 18C4C0 8025DBE0 AFB30024 */ sw $s3, 0x24($sp) +/* 18C4C4 8025DBE4 AFB20020 */ sw $s2, 0x20($sp) +/* 18C4C8 8025DBE8 AFB00018 */ sw $s0, 0x18($sp) +/* 18C4CC 8025DBEC 8E3000C0 */ lw $s0, 0xc0($s1) +/* 18C4D0 8025DBF0 00A0982D */ daddu $s3, $a1, $zero +/* 18C4D4 8025DBF4 02139021 */ addu $s2, $s0, $s3 +/* 18C4D8 8025DBF8 824308BC */ lb $v1, 0x8bc($s2) +/* 18C4DC 8025DBFC 10600005 */ beqz $v1, .L8025DC14 +/* 18C4E0 8025DC00 24020001 */ addiu $v0, $zero, 1 +/* 18C4E4 8025DC04 1062001B */ beq $v1, $v0, .L8025DC74 +/* 18C4E8 8025DC08 00131080 */ sll $v0, $s3, 2 +/* 18C4EC 8025DC0C 08097749 */ j func_8025DD24 +/* 18C4F0 8025DC10 00000000 */ nop + +.L8025DC14: +/* 18C4F4 8025DC14 00131080 */ sll $v0, $s3, 2 +/* 18C4F8 8025DC18 244208B0 */ addiu $v0, $v0, 0x8b0 +/* 18C4FC 8025DC1C 3C013F99 */ lui $at, 0x3f99 +/* 18C500 8025DC20 3421999A */ ori $at, $at, 0x999a +/* 18C504 8025DC24 44810000 */ mtc1 $at, $f0 +/* 18C508 8025DC28 02021021 */ addu $v0, $s0, $v0 +/* 18C50C 8025DC2C AFA20014 */ sw $v0, 0x14($sp) +/* 18C510 8025DC30 E7A00010 */ swc1 $f0, 0x10($sp) +/* 18C514 8025DC34 8E250058 */ lw $a1, 0x58($s1) +/* 18C518 8025DC38 8E26005C */ lw $a2, 0x5c($s1) +/* 18C51C 8025DC3C 8E270060 */ lw $a3, 0x60($s1) +/* 18C520 8025DC40 0C01C3AC */ jal func_80070EB0 +/* 18C524 8025DC44 24040002 */ addiu $a0, $zero, 2 +/* 18C528 8025DC48 24020001 */ addiu $v0, $zero, 1 +/* 18C52C 8025DC4C A24208BC */ sb $v0, 0x8bc($s2) +/* 18C530 8025DC50 00131100 */ sll $v0, $s3, 4 +/* 18C534 8025DC54 02021021 */ addu $v0, $s0, $v0 +/* 18C538 8025DC58 24030096 */ addiu $v1, $zero, 0x96 +/* 18C53C 8025DC5C A44308C6 */ sh $v1, 0x8c6($v0) +/* 18C540 8025DC60 A44308C8 */ sh $v1, 0x8c8($v0) +/* 18C544 8025DC64 240300FF */ addiu $v1, $zero, 0xff +/* 18C548 8025DC68 A44308CA */ sh $v1, 0x8ca($v0) +/* 18C54C 8025DC6C A44008CC */ sh $zero, 0x8cc($v0) +/* 18C550 8025DC70 00131080 */ sll $v0, $s3, 2 +.L8025DC74: +/* 18C554 8025DC74 02021021 */ addu $v0, $s0, $v0 +/* 18C558 8025DC78 8C4508B0 */ lw $a1, 0x8b0($v0) +/* 18C55C 8025DC7C C6200058 */ lwc1 $f0, 0x58($s1) +/* 18C560 8025DC80 8CA3000C */ lw $v1, 0xc($a1) +/* 18C564 8025DC84 00132100 */ sll $a0, $s3, 4 +/* 18C568 8025DC88 E4600004 */ swc1 $f0, 4($v1) +/* 18C56C 8025DC8C C620005C */ lwc1 $f0, 0x5c($s1) +/* 18C570 8025DC90 02042021 */ addu $a0, $s0, $a0 +/* 18C574 8025DC94 E4600008 */ swc1 $f0, 8($v1) +/* 18C578 8025DC98 848208CC */ lh $v0, 0x8cc($a0) +/* 18C57C 8025DC9C C6200060 */ lwc1 $f0, 0x60($s1) +/* 18C580 8025DCA0 44821000 */ mtc1 $v0, $f2 +/* 18C584 8025DCA4 00000000 */ nop +/* 18C588 8025DCA8 468010A0 */ cvt.s.w $f2, $f2 +/* 18C58C 8025DCAC 46020000 */ add.s $f0, $f0, $f2 +/* 18C590 8025DCB0 E460000C */ swc1 $f0, 0xc($v1) +/* 18C594 8025DCB4 848208C6 */ lh $v0, 0x8c6($a0) +/* 18C598 8025DCB8 3C0142C8 */ lui $at, 0x42c8 +/* 18C59C 8025DCBC 44810000 */ mtc1 $at, $f0 +/* 18C5A0 8025DCC0 44822000 */ mtc1 $v0, $f4 +/* 18C5A4 8025DCC4 00000000 */ nop +/* 18C5A8 8025DCC8 46802120 */ cvt.s.w $f4, $f4 +/* 18C5AC 8025DCCC 8CA2000C */ lw $v0, 0xc($a1) +/* 18C5B0 8025DCD0 46002103 */ div.s $f4, $f4, $f0 +/* 18C5B4 8025DCD4 E444001C */ swc1 $f4, 0x1c($v0) +/* 18C5B8 8025DCD8 848208C8 */ lh $v0, 0x8c8($a0) +/* 18C5BC 8025DCDC 3C01802A */ lui $at, 0x802a +/* 18C5C0 8025DCE0 D422D4E8 */ ldc1 $f2, -0x2b18($at) +/* 18C5C4 8025DCE4 44822000 */ mtc1 $v0, $f4 +/* 18C5C8 8025DCE8 00000000 */ nop +/* 18C5CC 8025DCEC 46802120 */ cvt.s.w $f4, $f4 +/* 18C5D0 8025DCF0 46002103 */ div.s $f4, $f4, $f0 +/* 18C5D4 8025DCF4 46002021 */ cvt.d.s $f0, $f4 +/* 18C5D8 8025DCF8 46220002 */ mul.d $f0, $f0, $f2 +/* 18C5DC 8025DCFC 00000000 */ nop +/* 18C5E0 8025DD00 8CA2000C */ lw $v0, 0xc($a1) +/* 18C5E4 8025DD04 46200020 */ cvt.s.d $f0, $f0 +/* 18C5E8 8025DD08 E4400020 */ swc1 $f0, 0x20($v0) +/* 18C5EC 8025DD0C 8CA3000C */ lw $v1, 0xc($a1) +/* 18C5F0 8025DD10 848208CA */ lh $v0, 0x8ca($a0) +/* 18C5F4 8025DD14 AC620028 */ sw $v0, 0x28($v1) +/* 18C5F8 8025DD18 8CA2000C */ lw $v0, 0xc($a1) +/* 18C5FC 8025DD1C C6200064 */ lwc1 $f0, 0x64($s1) +/* 18C600 8025DD20 E4400064 */ swc1 $f0, 0x64($v0) +func_8025DD24: +/* 18C604 8025DD24 8FBF0028 */ lw $ra, 0x28($sp) +/* 18C608 8025DD28 8FB30024 */ lw $s3, 0x24($sp) +/* 18C60C 8025DD2C 8FB20020 */ lw $s2, 0x20($sp) +/* 18C610 8025DD30 8FB1001C */ lw $s1, 0x1c($sp) +/* 18C614 8025DD34 8FB00018 */ lw $s0, 0x18($sp) +/* 18C618 8025DD38 03E00008 */ jr $ra +/* 18C61C 8025DD3C 27BD0030 */ addiu $sp, $sp, 0x30 + +func_8025DD40: +/* 18C620 8025DD40 8C8200C0 */ lw $v0, 0xc0($a0) +/* 18C624 8025DD44 00052880 */ sll $a1, $a1, 2 +/* 18C628 8025DD48 00451021 */ addu $v0, $v0, $a1 +/* 18C62C 8025DD4C 8C4208B0 */ lw $v0, 0x8b0($v0) +/* 18C630 8025DD50 8C43000C */ lw $v1, 0xc($v0) +/* 18C634 8025DD54 24020005 */ addiu $v0, $zero, 5 +/* 18C638 8025DD58 03E00008 */ jr $ra +/* 18C63C 8025DD5C AC62002C */ sw $v0, 0x2c($v1) + +func_8025DD60: +/* 18C640 8025DD60 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* 18C644 8025DD64 AFB1001C */ sw $s1, 0x1c($sp) +/* 18C648 8025DD68 0080882D */ daddu $s1, $a0, $zero +/* 18C64C 8025DD6C AFBF0028 */ sw $ra, 0x28($sp) +/* 18C650 8025DD70 AFB30024 */ sw $s3, 0x24($sp) +/* 18C654 8025DD74 AFB20020 */ sw $s2, 0x20($sp) +/* 18C658 8025DD78 AFB00018 */ sw $s0, 0x18($sp) +/* 18C65C 8025DD7C 8E3000C0 */ lw $s0, 0xc0($s1) +/* 18C660 8025DD80 00A0902D */ daddu $s2, $a1, $zero +/* 18C664 8025DD84 02129821 */ addu $s3, $s0, $s2 +/* 18C668 8025DD88 826308BC */ lb $v1, 0x8bc($s3) +/* 18C66C 8025DD8C 10600005 */ beqz $v1, .L8025DDA4 +/* 18C670 8025DD90 24020001 */ addiu $v0, $zero, 1 +/* 18C674 8025DD94 10620018 */ beq $v1, $v0, .L8025DDF8 +/* 18C678 8025DD98 00121080 */ sll $v0, $s2, 2 +/* 18C67C 8025DD9C 0809779B */ j func_8025DE6C +/* 18C680 8025DDA0 00000000 */ nop + +.L8025DDA4: +/* 18C684 8025DDA4 3C013F99 */ lui $at, 0x3f99 +/* 18C688 8025DDA8 3421999A */ ori $at, $at, 0x999a +/* 18C68C 8025DDAC 44810000 */ mtc1 $at, $f0 +/* 18C690 8025DDB0 AFA00014 */ sw $zero, 0x14($sp) +/* 18C694 8025DDB4 E7A00010 */ swc1 $f0, 0x10($sp) +/* 18C698 8025DDB8 8E250058 */ lw $a1, 0x58($s1) +/* 18C69C 8025DDBC 8E26005C */ lw $a2, 0x5c($s1) +/* 18C6A0 8025DDC0 8E270060 */ lw $a3, 0x60($s1) +/* 18C6A4 8025DDC4 0C01C82C */ jal func_800720B0 +/* 18C6A8 8025DDC8 24040004 */ addiu $a0, $zero, 4 +/* 18C6AC 8025DDCC 00121880 */ sll $v1, $s2, 2 +/* 18C6B0 8025DDD0 02031821 */ addu $v1, $s0, $v1 +/* 18C6B4 8025DDD4 AC6208B0 */ sw $v0, 0x8b0($v1) +/* 18C6B8 8025DDD8 24020001 */ addiu $v0, $zero, 1 +/* 18C6BC 8025DDDC A26208BC */ sb $v0, 0x8bc($s3) +/* 18C6C0 8025DDE0 00121100 */ sll $v0, $s2, 4 +/* 18C6C4 8025DDE4 02021021 */ addu $v0, $s0, $v0 +/* 18C6C8 8025DDE8 24030078 */ addiu $v1, $zero, 0x78 +/* 18C6CC 8025DDEC A44308C6 */ sh $v1, 0x8c6($v0) +/* 18C6D0 8025DDF0 A44008C8 */ sh $zero, 0x8c8($v0) +/* 18C6D4 8025DDF4 00121080 */ sll $v0, $s2, 2 +.L8025DDF8: +/* 18C6D8 8025DDF8 02021021 */ addu $v0, $s0, $v0 +/* 18C6DC 8025DDFC 00122100 */ sll $a0, $s2, 4 +/* 18C6E0 8025DE00 02042021 */ addu $a0, $s0, $a0 +/* 18C6E4 8025DE04 848308C6 */ lh $v1, 0x8c6($a0) +/* 18C6E8 8025DE08 8C4208B0 */ lw $v0, 0x8b0($v0) +/* 18C6EC 8025DE0C 3C0142C8 */ lui $at, 0x42c8 +/* 18C6F0 8025DE10 44810000 */ mtc1 $at, $f0 +/* 18C6F4 8025DE14 3C014224 */ lui $at, 0x4224 +/* 18C6F8 8025DE18 44812000 */ mtc1 $at, $f4 +/* 18C6FC 8025DE1C 44831000 */ mtc1 $v1, $f2 +/* 18C700 8025DE20 00000000 */ nop +/* 18C704 8025DE24 468010A0 */ cvt.s.w $f2, $f2 +/* 18C708 8025DE28 8C43000C */ lw $v1, 0xc($v0) +/* 18C70C 8025DE2C 46001083 */ div.s $f2, $f2, $f0 +/* 18C710 8025DE30 E4620044 */ swc1 $f2, 0x44($v1) +/* 18C714 8025DE34 46041082 */ mul.s $f2, $f2, $f4 +/* 18C718 8025DE38 00000000 */ nop +/* 18C71C 8025DE3C C6200058 */ lwc1 $f0, 0x58($s1) +/* 18C720 8025DE40 E4600004 */ swc1 $f0, 4($v1) +/* 18C724 8025DE44 C620005C */ lwc1 $f0, 0x5c($s1) +/* 18C728 8025DE48 46020000 */ add.s $f0, $f0, $f2 +/* 18C72C 8025DE4C E4600008 */ swc1 $f0, 8($v1) +/* 18C730 8025DE50 848208C8 */ lh $v0, 0x8c8($a0) +/* 18C734 8025DE54 C6200060 */ lwc1 $f0, 0x60($s1) +/* 18C738 8025DE58 44821000 */ mtc1 $v0, $f2 +/* 18C73C 8025DE5C 00000000 */ nop +/* 18C740 8025DE60 468010A0 */ cvt.s.w $f2, $f2 +/* 18C744 8025DE64 46020000 */ add.s $f0, $f0, $f2 +/* 18C748 8025DE68 E460000C */ swc1 $f0, 0xc($v1) +func_8025DE6C: +/* 18C74C 8025DE6C 8FBF0028 */ lw $ra, 0x28($sp) +/* 18C750 8025DE70 8FB30024 */ lw $s3, 0x24($sp) +/* 18C754 8025DE74 8FB20020 */ lw $s2, 0x20($sp) +/* 18C758 8025DE78 8FB1001C */ lw $s1, 0x1c($sp) +/* 18C75C 8025DE7C 8FB00018 */ lw $s0, 0x18($sp) +/* 18C760 8025DE80 03E00008 */ jr $ra +/* 18C764 8025DE84 27BD0030 */ addiu $sp, $sp, 0x30 + +func_8025DE88: +/* 18C768 8025DE88 8C8200C0 */ lw $v0, 0xc0($a0) +/* 18C76C 8025DE8C 00052880 */ sll $a1, $a1, 2 +/* 18C770 8025DE90 00451021 */ addu $v0, $v0, $a1 +/* 18C774 8025DE94 8C4308B0 */ lw $v1, 0x8b0($v0) +/* 18C778 8025DE98 8C620000 */ lw $v0, ($v1) +/* 18C77C 8025DE9C 34420010 */ ori $v0, $v0, 0x10 +/* 18C780 8025DEA0 03E00008 */ jr $ra +/* 18C784 8025DEA4 AC620000 */ sw $v0, ($v1) + +/* 18C788 8025DEA8 00000000 */ nop +/* 18C78C 8025DEAC 00000000 */ nop +/* 18C790 8025DEB0 3C02800E */ lui $v0, 0x800e +/* 18C794 8025DEB4 8042C0E8 */ lb $v0, -0x3f18($v0) +/* 18C798 8025DEB8 AC820084 */ sw $v0, 0x84($a0) +/* 18C79C 8025DEBC 03E00008 */ jr $ra +/* 18C7A0 8025DEC0 24020002 */ addiu $v0, $zero, 2 + +/* 18C7A4 8025DEC4 3C0651EB */ lui $a2, 0x51eb +/* 18C7A8 8025DEC8 3C05800E */ lui $a1, 0x800e +/* 18C7AC 8025DECC 24A5C070 */ addiu $a1, $a1, -0x3f90 +/* 18C7B0 8025DED0 90A30078 */ lbu $v1, 0x78($a1) +/* 18C7B4 8025DED4 34C6851F */ ori $a2, $a2, 0x851f +/* 18C7B8 8025DED8 00031E00 */ sll $v1, $v1, 0x18 +/* 18C7BC 8025DEDC 00031603 */ sra $v0, $v1, 0x18 +/* 18C7C0 8025DEE0 00460018 */ mult $v0, $a2 +/* 18C7C4 8025DEE4 0080382D */ daddu $a3, $a0, $zero +/* 18C7C8 8025DEE8 00031FC3 */ sra $v1, $v1, 0x1f +/* 18C7CC 8025DEEC 00004010 */ mfhi $t0 +/* 18C7D0 8025DEF0 00081143 */ sra $v0, $t0, 5 +/* 18C7D4 8025DEF4 00431023 */ subu $v0, $v0, $v1 +/* 18C7D8 8025DEF8 00021600 */ sll $v0, $v0, 0x18 +/* 18C7DC 8025DEFC 00021603 */ sra $v0, $v0, 0x18 +/* 18C7E0 8025DF00 ACE200AC */ sw $v0, 0xac($a3) +/* 18C7E4 8025DF04 90A20078 */ lbu $v0, 0x78($a1) +/* 18C7E8 8025DF08 00021600 */ sll $v0, $v0, 0x18 +/* 18C7EC 8025DF0C 00022603 */ sra $a0, $v0, 0x18 +/* 18C7F0 8025DF10 00860018 */ mult $a0, $a2 +/* 18C7F4 8025DF14 3C066666 */ lui $a2, 0x6666 +/* 18C7F8 8025DF18 34C66667 */ ori $a2, $a2, 0x6667 +/* 18C7FC 8025DF1C 000217C3 */ sra $v0, $v0, 0x1f +/* 18C800 8025DF20 00004010 */ mfhi $t0 +/* 18C804 8025DF24 00081943 */ sra $v1, $t0, 5 +/* 18C808 8025DF28 00621823 */ subu $v1, $v1, $v0 +/* 18C80C 8025DF2C 00031040 */ sll $v0, $v1, 1 +/* 18C810 8025DF30 00431021 */ addu $v0, $v0, $v1 +/* 18C814 8025DF34 000210C0 */ sll $v0, $v0, 3 +/* 18C818 8025DF38 00431021 */ addu $v0, $v0, $v1 +/* 18C81C 8025DF3C 00021080 */ sll $v0, $v0, 2 +/* 18C820 8025DF40 00822023 */ subu $a0, $a0, $v0 +/* 18C824 8025DF44 00042600 */ sll $a0, $a0, 0x18 +/* 18C828 8025DF48 00041603 */ sra $v0, $a0, 0x18 +/* 18C82C 8025DF4C 00460018 */ mult $v0, $a2 +/* 18C830 8025DF50 000427C3 */ sra $a0, $a0, 0x1f +/* 18C834 8025DF54 00004010 */ mfhi $t0 +/* 18C838 8025DF58 00081083 */ sra $v0, $t0, 2 +/* 18C83C 8025DF5C 00441023 */ subu $v0, $v0, $a0 +/* 18C840 8025DF60 00021600 */ sll $v0, $v0, 0x18 +/* 18C844 8025DF64 00021603 */ sra $v0, $v0, 0x18 +/* 18C848 8025DF68 ACE200B0 */ sw $v0, 0xb0($a3) +/* 18C84C 8025DF6C 90A20078 */ lbu $v0, 0x78($a1) +/* 18C850 8025DF70 00021600 */ sll $v0, $v0, 0x18 +/* 18C854 8025DF74 00022603 */ sra $a0, $v0, 0x18 +/* 18C858 8025DF78 00860018 */ mult $a0, $a2 +/* 18C85C 8025DF7C 0000282D */ daddu $a1, $zero, $zero +/* 18C860 8025DF80 000217C3 */ sra $v0, $v0, 0x1f +/* 18C864 8025DF84 00004010 */ mfhi $t0 +/* 18C868 8025DF88 00081883 */ sra $v1, $t0, 2 +/* 18C86C 8025DF8C 00621823 */ subu $v1, $v1, $v0 +/* 18C870 8025DF90 00031080 */ sll $v0, $v1, 2 +/* 18C874 8025DF94 00431021 */ addu $v0, $v0, $v1 +/* 18C878 8025DF98 00021040 */ sll $v0, $v0, 1 +/* 18C87C 8025DF9C 00822023 */ subu $a0, $a0, $v0 +/* 18C880 8025DFA0 00042600 */ sll $a0, $a0, 0x18 +/* 18C884 8025DFA4 8CE200AC */ lw $v0, 0xac($a3) +/* 18C888 8025DFA8 00042603 */ sra $a0, $a0, 0x18 +/* 18C88C 8025DFAC 18400007 */ blez $v0, .L8025DFCC +/* 18C890 8025DFB0 ACE400B4 */ sw $a0, 0xb4($a3) +/* 18C894 8025DFB4 00021080 */ sll $v0, $v0, 2 +/* 18C898 8025DFB8 3C018028 */ lui $at, 0x8028 +/* 18C89C 8025DFBC 00220821 */ addu $at, $at, $v0 +/* 18C8A0 8025DFC0 8C224188 */ lw $v0, 0x4188($at) +/* 18C8A4 8025DFC4 080977F5 */ j func_8025DFD4 +/* 18C8A8 8025DFC8 24050001 */ addiu $a1, $zero, 1 + +.L8025DFCC: +/* 18C8AC 8025DFCC 3C028028 */ lui $v0, 0x8028 +/* 18C8B0 8025DFD0 8C4241B0 */ lw $v0, 0x41b0($v0) +func_8025DFD4: +/* 18C8B4 8025DFD4 ACE200AC */ sw $v0, 0xac($a3) +/* 18C8B8 8025DFD8 8CE200B0 */ lw $v0, 0xb0($a3) +/* 18C8BC 8025DFDC 5C400004 */ bgtzl $v0, .L8025DFF0 +/* 18C8C0 8025DFE0 00021080 */ sll $v0, $v0, 2 +/* 18C8C4 8025DFE4 10A00007 */ beqz $a1, .L8025E004 +/* 18C8C8 8025DFE8 00000000 */ nop +/* 18C8CC 8025DFEC 00021080 */ sll $v0, $v0, 2 +.L8025DFF0: +/* 18C8D0 8025DFF0 3C018028 */ lui $at, 0x8028 +/* 18C8D4 8025DFF4 00220821 */ addu $at, $at, $v0 +/* 18C8D8 8025DFF8 8C224188 */ lw $v0, 0x4188($at) +/* 18C8DC 8025DFFC 08097804 */ j func_8025E010 +/* 18C8E0 8025E000 ACE200B0 */ sw $v0, 0xb0($a3) + +.L8025E004: +/* 18C8E4 8025E004 3C028028 */ lui $v0, 0x8028 +/* 18C8E8 8025E008 8C4241B0 */ lw $v0, 0x41b0($v0) +/* 18C8EC 8025E00C ACE200B0 */ sw $v0, 0xb0($a3) +func_8025E010: +/* 18C8F0 8025E010 8CE200B4 */ lw $v0, 0xb4($a3) +/* 18C8F4 8025E014 00021080 */ sll $v0, $v0, 2 +/* 18C8F8 8025E018 3C018028 */ lui $at, 0x8028 +/* 18C8FC 8025E01C 00220821 */ addu $at, $at, $v0 +/* 18C900 8025E020 8C224188 */ lw $v0, 0x4188($at) +/* 18C904 8025E024 ACE200B4 */ sw $v0, 0xb4($a3) +/* 18C908 8025E028 03E00008 */ jr $ra +/* 18C90C 8025E02C 24020002 */ addiu $v0, $zero, 2 + +/* 18C910 8025E030 3C02802A */ lui $v0, 0x802a +/* 18C914 8025E034 8C42FB78 */ lw $v0, -0x488($v0) +/* 18C918 8025E038 0002102B */ sltu $v0, $zero, $v0 +/* 18C91C 8025E03C 03E00008 */ jr $ra +/* 18C920 8025E040 00021040 */ sll $v0, $v0, 1 + +/* 18C924 8025E044 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 18C928 8025E048 AFB00010 */ sw $s0, 0x10($sp) +/* 18C92C 8025E04C 0080802D */ daddu $s0, $a0, $zero +/* 18C930 8025E050 AFBF0018 */ sw $ra, 0x18($sp) +/* 18C934 8025E054 AFB10014 */ sw $s1, 0x14($sp) +/* 18C938 8025E058 8E04009C */ lw $a0, 0x9c($s0) +/* 18C93C 8025E05C 0C0B5059 */ jal func_802D4164 +/* 18C940 8025E060 3C11FFFF */ lui $s1, 0xffff +/* 18C944 8025E064 8C440000 */ lw $a0, ($v0) +/* 18C948 8025E068 0C048B77 */ jal func_80122DDC +/* 18C94C 8025E06C 3631000F */ ori $s1, $s1, 0xf +/* 18C950 8025E070 0040202D */ daddu $a0, $v0, $zero +/* 18C954 8025E074 8C820000 */ lw $v0, ($a0) +/* 18C958 8025E078 00511024 */ and $v0, $v0, $s1 +/* 18C95C 8025E07C 34420008 */ ori $v0, $v0, 8 +/* 18C960 8025E080 AC820000 */ sw $v0, ($a0) +/* 18C964 8025E084 0C0B5059 */ jal func_802D4164 +/* 18C968 8025E088 8E0400A0 */ lw $a0, 0xa0($s0) +/* 18C96C 8025E08C 0C048B77 */ jal func_80122DDC +/* 18C970 8025E090 8C440000 */ lw $a0, ($v0) +/* 18C974 8025E094 0040202D */ daddu $a0, $v0, $zero +/* 18C978 8025E098 8C820000 */ lw $v0, ($a0) +/* 18C97C 8025E09C 00511024 */ and $v0, $v0, $s1 +/* 18C980 8025E0A0 34420008 */ ori $v0, $v0, 8 +/* 18C984 8025E0A4 AC820000 */ sw $v0, ($a0) +/* 18C988 8025E0A8 0C0B5059 */ jal func_802D4164 +/* 18C98C 8025E0AC 8E0400A4 */ lw $a0, 0xa4($s0) +/* 18C990 8025E0B0 0C048B77 */ jal func_80122DDC +/* 18C994 8025E0B4 8C440000 */ lw $a0, ($v0) +/* 18C998 8025E0B8 0040202D */ daddu $a0, $v0, $zero +/* 18C99C 8025E0BC 8C820000 */ lw $v0, ($a0) +/* 18C9A0 8025E0C0 00511024 */ and $v0, $v0, $s1 +/* 18C9A4 8025E0C4 34420008 */ ori $v0, $v0, 8 +/* 18C9A8 8025E0C8 AC820000 */ sw $v0, ($a0) +/* 18C9AC 8025E0CC 0C0B5059 */ jal func_802D4164 +/* 18C9B0 8025E0D0 8E0400A8 */ lw $a0, 0xa8($s0) +/* 18C9B4 8025E0D4 0C048B77 */ jal func_80122DDC +/* 18C9B8 8025E0D8 8C440000 */ lw $a0, ($v0) +/* 18C9BC 8025E0DC 0040202D */ daddu $a0, $v0, $zero +/* 18C9C0 8025E0E0 8C830000 */ lw $v1, ($a0) +/* 18C9C4 8025E0E4 00711824 */ and $v1, $v1, $s1 +/* 18C9C8 8025E0E8 34630008 */ ori $v1, $v1, 8 +/* 18C9CC 8025E0EC AC830000 */ sw $v1, ($a0) +/* 18C9D0 8025E0F0 8FBF0018 */ lw $ra, 0x18($sp) +/* 18C9D4 8025E0F4 8FB10014 */ lw $s1, 0x14($sp) +/* 18C9D8 8025E0F8 8FB00010 */ lw $s0, 0x10($sp) +/* 18C9DC 8025E0FC 24020002 */ addiu $v0, $zero, 2 +/* 18C9E0 8025E100 03E00008 */ jr $ra +/* 18C9E4 8025E104 27BD0020 */ addiu $sp, $sp, 0x20 + +/* 18C9E8 8025E108 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 18C9EC 8025E10C AFBF0010 */ sw $ra, 0x10($sp) +/* 18C9F0 8025E110 0C0B5059 */ jal func_802D4164 +/* 18C9F4 8025E114 8C8400A8 */ lw $a0, 0xa8($a0) +/* 18C9F8 8025E118 0C048B77 */ jal func_80122DDC +/* 18C9FC 8025E11C 8C440000 */ lw $a0, ($v0) +/* 18CA00 8025E120 3C05FFFF */ lui $a1, 0xffff +/* 18CA04 8025E124 0040202D */ daddu $a0, $v0, $zero +/* 18CA08 8025E128 8C830000 */ lw $v1, ($a0) +/* 18CA0C 8025E12C 34A5000F */ ori $a1, $a1, 0xf +/* 18CA10 8025E130 00651824 */ and $v1, $v1, $a1 +/* 18CA14 8025E134 34630008 */ ori $v1, $v1, 8 +/* 18CA18 8025E138 AC830000 */ sw $v1, ($a0) +/* 18CA1C 8025E13C 8FBF0010 */ lw $ra, 0x10($sp) +/* 18CA20 8025E140 24020002 */ addiu $v0, $zero, 2 +/* 18CA24 8025E144 03E00008 */ jr $ra +/* 18CA28 8025E148 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 18CA2C 8025E14C 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 18CA30 8025E150 24020078 */ addiu $v0, $zero, 0x78 +/* 18CA34 8025E154 44801000 */ mtc1 $zero, $f2 +/* 18CA38 8025E158 3C013F80 */ lui $at, 0x3f80 +/* 18CA3C 8025E15C 44810000 */ mtc1 $at, $f0 +/* 18CA40 8025E160 3C0642C8 */ lui $a2, 0x42c8 +/* 18CA44 8025E164 44051000 */ mfc1 $a1, $f2 +/* 18CA48 8025E168 24040003 */ addiu $a0, $zero, 3 +/* 18CA4C 8025E16C AFBF0018 */ sw $ra, 0x18($sp) +/* 18CA50 8025E170 AFA20014 */ sw $v0, 0x14($sp) +/* 18CA54 8025E174 E7A00010 */ swc1 $f0, 0x10($sp) +/* 18CA58 8025E178 0C01C484 */ jal func_80071210 +/* 18CA5C 8025E17C 00A0382D */ daddu $a3, $a1, $zero +/* 18CA60 8025E180 8FBF0018 */ lw $ra, 0x18($sp) +/* 18CA64 8025E184 24020002 */ addiu $v0, $zero, 2 +/* 18CA68 8025E188 03E00008 */ jr $ra +/* 18CA6C 8025E18C 27BD0020 */ addiu $sp, $sp, 0x20 + +func_8025E190: +/* 18CA70 8025E190 3C03800E */ lui $v1, 0x800e +/* 18CA74 8025E194 8C63C4DC */ lw $v1, -0x3b24($v1) +/* 18CA78 8025E198 27BDFF98 */ addiu $sp, $sp, -0x68 +/* 18CA7C 8025E19C AFBE0060 */ sw $fp, 0x60($sp) +/* 18CA80 8025E1A0 3C1E800E */ lui $fp, 0x800e +/* 18CA84 8025E1A4 27DEC070 */ addiu $fp, $fp, -0x3f90 +/* 18CA88 8025E1A8 AFB50054 */ sw $s5, 0x54($sp) +/* 18CA8C 8025E1AC 3C158011 */ lui $s5, 0x8011 +/* 18CA90 8025E1B0 26B5F290 */ addiu $s5, $s5, -0xd70 +/* 18CA94 8025E1B4 AFBF0064 */ sw $ra, 0x64($sp) +/* 18CA98 8025E1B8 AFB7005C */ sw $s7, 0x5c($sp) +/* 18CA9C 8025E1BC AFB60058 */ sw $s6, 0x58($sp) +/* 18CAA0 8025E1C0 AFB40050 */ sw $s4, 0x50($sp) +/* 18CAA4 8025E1C4 AFB3004C */ sw $s3, 0x4c($sp) +/* 18CAA8 8025E1C8 AFB20048 */ sw $s2, 0x48($sp) +/* 18CAAC 8025E1CC AFB10044 */ sw $s1, 0x44($sp) +/* 18CAB0 8025E1D0 AFB00040 */ sw $s0, 0x40($sp) +/* 18CAB4 8025E1D4 8FD100D8 */ lw $s1, 0xd8($fp) +/* 18CAB8 8025E1D8 8FD200DC */ lw $s2, 0xdc($fp) +/* 18CABC 8025E1DC 2C620017 */ sltiu $v0, $v1, 0x17 +/* 18CAC0 8025E1E0 10400759 */ beqz $v0, .L8025FF48 +/* 18CAC4 8025E1E4 00031080 */ sll $v0, $v1, 2 +/* 18CAC8 8025E1E8 3C01802A */ lui $at, 0x802a +/* 18CACC 8025E1EC 00220821 */ addu $at, $at, $v0 +/* 18CAD0 8025E1F0 8C22D4F0 */ lw $v0, -0x2b10($at) +/* 18CAD4 8025E1F4 00400008 */ jr $v0 +/* 18CAD8 8025E1F8 00000000 */ nop +/* 18CADC 8025E1FC 83C20079 */ lb $v0, 0x79($fp) +/* 18CAE0 8025E200 1C400751 */ bgtz $v0, .L8025FF48 +/* 18CAE4 8025E204 3C03F7FF */ lui $v1, 0xf7ff +/* 18CAE8 8025E208 8E220000 */ lw $v0, ($s1) +/* 18CAEC 8025E20C 3463FFFF */ ori $v1, $v1, 0xffff +/* 18CAF0 8025E210 00431024 */ and $v0, $v0, $v1 +/* 18CAF4 8025E214 AE220000 */ sw $v0, ($s1) +/* 18CAF8 8025E218 83C30078 */ lb $v1, 0x78($fp) +/* 18CAFC 8025E21C 3C01802A */ lui $at, 0x802a +/* 18CB00 8025E220 AC20FB74 */ sw $zero, -0x48c($at) +/* 18CB04 8025E224 3C01802A */ lui $at, 0x802a +/* 18CB08 8025E228 AC20FB50 */ sw $zero, -0x4b0($at) +/* 18CB0C 8025E22C 3C018028 */ lui $at, 0x8028 +/* 18CB10 8025E230 AC204150 */ sw $zero, 0x4150($at) +/* 18CB14 8025E234 3C01802A */ lui $at, 0x802a +/* 18CB18 8025E238 AC20FB88 */ sw $zero, -0x478($at) +/* 18CB1C 8025E23C 3C01802A */ lui $at, 0x802a +/* 18CB20 8025E240 AC20FB8C */ sw $zero, -0x474($at) +/* 18CB24 8025E244 00031040 */ sll $v0, $v1, 1 +/* 18CB28 8025E248 00431021 */ addu $v0, $v0, $v1 +/* 18CB2C 8025E24C 000210C0 */ sll $v0, $v0, 3 +/* 18CB30 8025E250 00431021 */ addu $v0, $v0, $v1 +/* 18CB34 8025E254 00021080 */ sll $v0, $v0, 2 +/* 18CB38 8025E258 3C01802A */ lui $at, 0x802a +/* 18CB3C 8025E25C AC22FB6C */ sw $v0, -0x494($at) +/* 18CB40 8025E260 0C05272D */ jal play_sound +/* 18CB44 8025E264 240400D4 */ addiu $a0, $zero, 0xd4 +/* 18CB48 8025E268 82A30010 */ lb $v1, 0x10($s5) +/* 18CB4C 8025E26C 83C20078 */ lb $v0, 0x78($fp) +/* 18CB50 8025E270 00622821 */ addu $a1, $v1, $v0 +/* 18CB54 8025E274 28A20064 */ slti $v0, $a1, 0x64 +/* 18CB58 8025E278 14400005 */ bnez $v0, .L8025E290 +/* 18CB5C 8025E27C 24020008 */ addiu $v0, $zero, 8 +/* 18CB60 8025E280 AFA20010 */ sw $v0, 0x10($sp) +/* 18CB64 8025E284 0000202D */ daddu $a0, $zero, $zero +/* 18CB68 8025E288 080978A7 */ j func_8025E29C +/* 18CB6C 8025E28C 2405008E */ addiu $a1, $zero, 0x8e + +.L8025E290: +/* 18CB70 8025E290 AFA20010 */ sw $v0, 0x10($sp) +/* 18CB74 8025E294 0000202D */ daddu $a0, $zero, $zero +/* 18CB78 8025E298 2405008B */ addiu $a1, $zero, 0x8b +func_8025E29C: +/* 18CB7C 8025E29C 0080302D */ daddu $a2, $a0, $zero +/* 18CB80 8025E2A0 0C052A46 */ jal set_music_track +/* 18CB84 8025E2A4 240700FA */ addiu $a3, $zero, 0xfa +/* 18CB88 8025E2A8 3C01802A */ lui $at, 0x802a +/* 18CB8C 8025E2AC AC20FB84 */ sw $zero, -0x47c($at) +/* 18CB90 8025E2B0 0C093903 */ jal func_8024E40C +/* 18CB94 8025E2B4 24040017 */ addiu $a0, $zero, 0x17 +/* 18CB98 8025E2B8 3C02800E */ lui $v0, 0x800e +/* 18CB9C 8025E2BC 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 18CBA0 8025E2C0 8C430004 */ lw $v1, 4($v0) +/* 18CBA4 8025E2C4 24040001 */ addiu $a0, $zero, 1 +/* 18CBA8 8025E2C8 3C01802A */ lui $at, 0x802a +/* 18CBAC 8025E2CC AC20FB54 */ sw $zero, -0x4ac($at) +/* 18CBB0 8025E2D0 3C01802A */ lui $at, 0x802a +/* 18CBB4 8025E2D4 AC24FB4C */ sw $a0, -0x4b4($at) +/* 18CBB8 8025E2D8 3C01800E */ lui $at, 0x800e +/* 18CBBC 8025E2DC AC24C4DC */ sw $a0, -0x3b24($at) +/* 18CBC0 8025E2E0 00641825 */ or $v1, $v1, $a0 +/* 18CBC4 8025E2E4 08097FD2 */ j func_8025FF48 +/* 18CBC8 8025E2E8 AC430004 */ sw $v1, 4($v0) + +/* 18CBCC 8025E2EC 3C10802A */ lui $s0, 0x802a +/* 18CBD0 8025E2F0 2610FB4C */ addiu $s0, $s0, -0x4b4 +/* 18CBD4 8025E2F4 8E020000 */ lw $v0, ($s0) +/* 18CBD8 8025E2F8 10400003 */ beqz $v0, .L8025E308 +/* 18CBDC 8025E2FC 2442FFFF */ addiu $v0, $v0, -1 +/* 18CBE0 8025E300 08097FD2 */ j func_8025FF48 +/* 18CBE4 8025E304 AE020000 */ sw $v0, ($s0) + +.L8025E308: +/* 18CBE8 8025E308 0C093961 */ jal func_8024E584 +/* 18CBEC 8025E30C 00000000 */ nop +/* 18CBF0 8025E310 1040070D */ beqz $v0, .L8025FF48 +/* 18CBF4 8025E314 00000000 */ nop +/* 18CBF8 8025E318 3C04007B */ lui $a0, 0x7b +/* 18CBFC 8025E31C 248489A0 */ addiu $a0, $a0, -0x7660 +/* 18CC00 8025E320 3C05007B */ lui $a1, 0x7b +/* 18CC04 8025E324 24A55960 */ addiu $a1, $a1, 0x5960 +/* 18CC08 8025E328 3C06802A */ lui $a2, 0x802a +/* 18CC0C 8025E32C 24C61000 */ addiu $a2, $a2, 0x1000 +/* 18CC10 8025E330 0C00A5CF */ jal dma_copy +/* 18CC14 8025E334 00000000 */ nop +/* 18CC18 8025E338 3C048028 */ lui $a0, 0x8028 +/* 18CC1C 8025E33C 248442B0 */ addiu $a0, $a0, 0x42b0 +/* 18CC20 8025E340 2405000A */ addiu $a1, $zero, 0xa +/* 18CC24 8025E344 0C0B0CF8 */ jal start_script +/* 18CC28 8025E348 0000302D */ daddu $a2, $zero, $zero +/* 18CC2C 8025E34C 3C04802A */ lui $a0, 0x802a +/* 18CC30 8025E350 8C84FB6C */ lw $a0, -0x494($a0) +/* 18CC34 8025E354 24030014 */ addiu $v1, $zero, 0x14 +/* 18CC38 8025E358 14600002 */ bnez $v1, .L8025E364 +/* 18CC3C 8025E35C 0083001A */ div $zero, $a0, $v1 +/* 18CC40 8025E360 0007000D */ break 7 +.L8025E364: +/* 18CC44 8025E364 2401FFFF */ addiu $at, $zero, -1 +/* 18CC48 8025E368 14610004 */ bne $v1, $at, .L8025E37C +/* 18CC4C 8025E36C 3C018000 */ lui $at, 0x8000 +/* 18CC50 8025E370 14810002 */ bne $a0, $at, .L8025E37C +/* 18CC54 8025E374 00000000 */ nop +/* 18CC58 8025E378 0006000D */ break 6 +.L8025E37C: +/* 18CC5C 8025E37C 00002012 */ mflo $a0 +/* 18CC60 8025E380 3C01802A */ lui $at, 0x802a +/* 18CC64 8025E384 AC20FB78 */ sw $zero, -0x488($at) +/* 18CC68 8025E388 3C01802A */ lui $at, 0x802a +/* 18CC6C 8025E38C AC23FB54 */ sw $v1, -0x4ac($at) +/* 18CC70 8025E390 0040282D */ daddu $a1, $v0, $zero +/* 18CC74 8025E394 24020001 */ addiu $v0, $zero, 1 +/* 18CC78 8025E398 AE2501D4 */ sw $a1, 0x1d4($s1) +/* 18CC7C 8025E39C AE020000 */ sw $v0, ($s0) +/* 18CC80 8025E3A0 8CA30144 */ lw $v1, 0x144($a1) +/* 18CC84 8025E3A4 24020002 */ addiu $v0, $zero, 2 +/* 18CC88 8025E3A8 3C01800E */ lui $at, 0x800e +/* 18CC8C 8025E3AC AC22C4DC */ sw $v0, -0x3b24($at) +/* 18CC90 8025E3B0 AE2301E4 */ sw $v1, 0x1e4($s1) +/* 18CC94 8025E3B4 ACA00148 */ sw $zero, 0x148($a1) +/* 18CC98 8025E3B8 3C01802A */ lui $at, 0x802a +/* 18CC9C 8025E3BC AC24FB70 */ sw $a0, -0x490($at) +/* 18CCA0 8025E3C0 08097FD2 */ j func_8025FF48 +/* 18CCA4 8025E3C4 00000000 */ nop + +/* 18CCA8 8025E3C8 3C03802A */ lui $v1, 0x802a +/* 18CCAC 8025E3CC 2463FB4C */ addiu $v1, $v1, -0x4b4 +/* 18CCB0 8025E3D0 8C620000 */ lw $v0, ($v1) +/* 18CCB4 8025E3D4 14400662 */ bnez $v0, .L8025FD60 +/* 18CCB8 8025E3D8 2442FFFF */ addiu $v0, $v0, -1 +/* 18CCBC 8025E3DC 83C20078 */ lb $v0, 0x78($fp) +/* 18CCC0 8025E3E0 10400028 */ beqz $v0, .L8025E484 +/* 18CCC4 8025E3E4 3C0551EB */ lui $a1, 0x51eb +/* 18CCC8 8025E3E8 3C04802A */ lui $a0, 0x802a +/* 18CCCC 8025E3EC 2484FB6C */ addiu $a0, $a0, -0x494 +/* 18CCD0 8025E3F0 8C830000 */ lw $v1, ($a0) +/* 18CCD4 8025E3F4 3C02802A */ lui $v0, 0x802a +/* 18CCD8 8025E3F8 8C42FB70 */ lw $v0, -0x490($v0) +/* 18CCDC 8025E3FC 34A5851F */ ori $a1, $a1, 0x851f +/* 18CCE0 8025E400 00621823 */ subu $v1, $v1, $v0 +/* 18CCE4 8025E404 00650018 */ mult $v1, $a1 +/* 18CCE8 8025E408 83C50078 */ lb $a1, 0x78($fp) +/* 18CCEC 8025E40C AC830000 */ sw $v1, ($a0) +/* 18CCF0 8025E410 00031FC3 */ sra $v1, $v1, 0x1f +/* 18CCF4 8025E414 00004810 */ mfhi $t1 +/* 18CCF8 8025E418 00091143 */ sra $v0, $t1, 5 +/* 18CCFC 8025E41C 00431023 */ subu $v0, $v0, $v1 +/* 18CD00 8025E420 A3C20078 */ sb $v0, 0x78($fp) +/* 18CD04 8025E424 00021600 */ sll $v0, $v0, 0x18 +/* 18CD08 8025E428 00021603 */ sra $v0, $v0, 0x18 +/* 18CD0C 8025E42C 00A28023 */ subu $s0, $a1, $v0 +/* 18CD10 8025E430 1A000003 */ blez $s0, .L8025E440 +/* 18CD14 8025E434 00000000 */ nop +/* 18CD18 8025E438 0C05272D */ jal play_sound +/* 18CD1C 8025E43C 24040215 */ addiu $a0, $zero, 0x215 +.L8025E440: +/* 18CD20 8025E440 92A20010 */ lbu $v0, 0x10($s5) +/* 18CD24 8025E444 3C038028 */ lui $v1, 0x8028 +/* 18CD28 8025E448 24634150 */ addiu $v1, $v1, 0x4150 +/* 18CD2C 8025E44C 00501021 */ addu $v0, $v0, $s0 +/* 18CD30 8025E450 A2A20010 */ sb $v0, 0x10($s5) +/* 18CD34 8025E454 8C620000 */ lw $v0, ($v1) +/* 18CD38 8025E458 3C04802A */ lui $a0, 0x802a +/* 18CD3C 8025E45C 8C84FB54 */ lw $a0, -0x4ac($a0) +/* 18CD40 8025E460 24420001 */ addiu $v0, $v0, 1 +/* 18CD44 8025E464 14800007 */ bnez $a0, .L8025E484 +/* 18CD48 8025E468 AC620000 */ sw $v0, ($v1) +/* 18CD4C 8025E46C 83C20078 */ lb $v0, 0x78($fp) +/* 18CD50 8025E470 10400004 */ beqz $v0, .L8025E484 +/* 18CD54 8025E474 00000000 */ nop +/* 18CD58 8025E478 92A20010 */ lbu $v0, 0x10($s5) +/* 18CD5C 8025E47C 24420001 */ addiu $v0, $v0, 1 +/* 18CD60 8025E480 A2A20010 */ sb $v0, 0x10($s5) +.L8025E484: +/* 18CD64 8025E484 82A20009 */ lb $v0, 9($s5) +/* 18CD68 8025E488 2842001B */ slti $v0, $v0, 0x1b +/* 18CD6C 8025E48C 50400001 */ beql $v0, $zero, .L8025E494 +/* 18CD70 8025E490 A2A00010 */ sb $zero, 0x10($s5) +.L8025E494: +/* 18CD74 8025E494 82A20010 */ lb $v0, 0x10($s5) +/* 18CD78 8025E498 28420064 */ slti $v0, $v0, 0x64 +/* 18CD7C 8025E49C 14400006 */ bnez $v0, .L8025E4B8 +/* 18CD80 8025E4A0 24030001 */ addiu $v1, $zero, 1 +/* 18CD84 8025E4A4 92A20010 */ lbu $v0, 0x10($s5) +/* 18CD88 8025E4A8 3C01802A */ lui $at, 0x802a +/* 18CD8C 8025E4AC AC23FB74 */ sw $v1, -0x48c($at) +/* 18CD90 8025E4B0 2442FF9C */ addiu $v0, $v0, -0x64 +/* 18CD94 8025E4B4 A2A20010 */ sb $v0, 0x10($s5) +.L8025E4B8: +/* 18CD98 8025E4B8 82A20009 */ lb $v0, 9($s5) +/* 18CD9C 8025E4BC 3C03802A */ lui $v1, 0x802a +/* 18CDA0 8025E4C0 8C63FB74 */ lw $v1, -0x48c($v1) +/* 18CDA4 8025E4C4 00431021 */ addu $v0, $v0, $v1 +/* 18CDA8 8025E4C8 2403001B */ addiu $v1, $zero, 0x1b +/* 18CDAC 8025E4CC 50430001 */ beql $v0, $v1, .L8025E4D4 +/* 18CDB0 8025E4D0 A2A00010 */ sb $zero, 0x10($s5) +.L8025E4D4: +/* 18CDB4 8025E4D4 83C20078 */ lb $v0, 0x78($fp) +/* 18CDB8 8025E4D8 1440069B */ bnez $v0, .L8025FF48 +/* 18CDBC 8025E4DC 00000000 */ nop +/* 18CDC0 8025E4E0 3C03802A */ lui $v1, 0x802a +/* 18CDC4 8025E4E4 2463FB54 */ addiu $v1, $v1, -0x4ac +/* 18CDC8 8025E4E8 8C620000 */ lw $v0, ($v1) +/* 18CDCC 8025E4EC 1440061C */ bnez $v0, .L8025FD60 +/* 18CDD0 8025E4F0 2442FFFF */ addiu $v0, $v0, -1 +/* 18CDD4 8025E4F4 3C04F3FF */ lui $a0, 0xf3ff +/* 18CDD8 8025E4F8 3484FFFF */ ori $a0, $a0, 0xffff +/* 18CDDC 8025E4FC 8E220000 */ lw $v0, ($s1) +/* 18CDE0 8025E500 24030001 */ addiu $v1, $zero, 1 +/* 18CDE4 8025E504 3C01802A */ lui $at, 0x802a +/* 18CDE8 8025E508 AC23FB78 */ sw $v1, -0x488($at) +/* 18CDEC 8025E50C 00441024 */ and $v0, $v0, $a0 +/* 18CDF0 8025E510 12400004 */ beqz $s2, .L8025E524 +/* 18CDF4 8025E514 AE220000 */ sw $v0, ($s1) +/* 18CDF8 8025E518 8E420000 */ lw $v0, ($s2) +/* 18CDFC 8025E51C 00441024 */ and $v0, $v0, $a0 +/* 18CE00 8025E520 AE420000 */ sw $v0, ($s2) +.L8025E524: +/* 18CE04 8025E524 3C048028 */ lui $a0, 0x8028 +/* 18CE08 8025E528 24844EBC */ addiu $a0, $a0, 0x4ebc +/* 18CE0C 8025E52C 2405000A */ addiu $a1, $zero, 0xa +/* 18CE10 8025E530 0000302D */ daddu $a2, $zero, $zero +/* 18CE14 8025E534 24020005 */ addiu $v0, $zero, 5 +/* 18CE18 8025E538 0C0B0CF8 */ jal start_script +/* 18CE1C 8025E53C A3C201A7 */ sb $v0, 0x1a7($fp) +/* 18CE20 8025E540 0040282D */ daddu $a1, $v0, $zero +/* 18CE24 8025E544 AE2501D4 */ sw $a1, 0x1d4($s1) +/* 18CE28 8025E548 8CA20144 */ lw $v0, 0x144($a1) +/* 18CE2C 8025E54C AE2201E4 */ sw $v0, 0x1e4($s1) +/* 18CE30 8025E550 1240000B */ beqz $s2, .L8025E580 +/* 18CE34 8025E554 ACA00148 */ sw $zero, 0x148($a1) +/* 18CE38 8025E558 2405000A */ addiu $a1, $zero, 0xa +/* 18CE3C 8025E55C 8E4401C4 */ lw $a0, 0x1c4($s2) +/* 18CE40 8025E560 0C0B0CF8 */ jal start_script +/* 18CE44 8025E564 0000302D */ daddu $a2, $zero, $zero +/* 18CE48 8025E568 0040282D */ daddu $a1, $v0, $zero +/* 18CE4C 8025E56C AE4501D4 */ sw $a1, 0x1d4($s2) +/* 18CE50 8025E570 8CA20144 */ lw $v0, 0x144($a1) +/* 18CE54 8025E574 AE4201E4 */ sw $v0, 0x1e4($s2) +/* 18CE58 8025E578 24020100 */ addiu $v0, $zero, 0x100 +/* 18CE5C 8025E57C ACA20148 */ sw $v0, 0x148($a1) +.L8025E580: +/* 18CE60 8025E580 24020028 */ addiu $v0, $zero, 0x28 +/* 18CE64 8025E584 3C01802A */ lui $at, 0x802a +/* 18CE68 8025E588 AC22FB4C */ sw $v0, -0x4b4($at) +/* 18CE6C 8025E58C 08097FD0 */ j func_8025FF40 +/* 18CE70 8025E590 24020003 */ addiu $v0, $zero, 3 + +/* 18CE74 8025E594 3C03802A */ lui $v1, 0x802a +/* 18CE78 8025E598 2463FB4C */ addiu $v1, $v1, -0x4b4 +/* 18CE7C 8025E59C 8C620000 */ lw $v0, ($v1) +/* 18CE80 8025E5A0 144005EF */ bnez $v0, .L8025FD60 +/* 18CE84 8025E5A4 2442FFFF */ addiu $v0, $v0, -1 +/* 18CE88 8025E5A8 3C02802A */ lui $v0, 0x802a +/* 18CE8C 8025E5AC 8C42FB74 */ lw $v0, -0x48c($v0) +/* 18CE90 8025E5B0 14400663 */ bnez $v0, .L8025FF40 +/* 18CE94 8025E5B4 24020004 */ addiu $v0, $zero, 4 +/* 18CE98 8025E5B8 08097FD0 */ j func_8025FF40 +/* 18CE9C 8025E5BC 24020014 */ addiu $v0, $zero, 0x14 + +/* 18CEA0 8025E5C0 3C10802A */ lui $s0, 0x802a +/* 18CEA4 8025E5C4 2610FB84 */ addiu $s0, $s0, -0x47c +/* 18CEA8 8025E5C8 8E020000 */ lw $v0, ($s0) +/* 18CEAC 8025E5CC 28420063 */ slti $v0, $v0, 0x63 +/* 18CEB0 8025E5D0 1440065D */ bnez $v0, .L8025FF48 +/* 18CEB4 8025E5D4 00000000 */ nop +/* 18CEB8 8025E5D8 92A20009 */ lbu $v0, 9($s5) +/* 18CEBC 8025E5DC 24040002 */ addiu $a0, $zero, 2 +/* 18CEC0 8025E5E0 24420001 */ addiu $v0, $v0, 1 +/* 18CEC4 8025E5E4 0C093903 */ jal func_8024E40C +/* 18CEC8 8025E5E8 A2A20009 */ sb $v0, 9($s5) +/* 18CECC 8025E5EC 0C093936 */ jal move_cam_over +/* 18CED0 8025E5F0 24040005 */ addiu $a0, $zero, 5 +/* 18CED4 8025E5F4 3C04007A */ lui $a0, 0x7a +/* 18CED8 8025E5F8 2484EF40 */ addiu $a0, $a0, -0x10c0 +/* 18CEDC 8025E5FC 3C05007B */ lui $a1, 0x7b +/* 18CEE0 8025E600 24A589A0 */ addiu $a1, $a1, -0x7660 +/* 18CEE4 8025E604 3C06802A */ lui $a2, 0x802a +/* 18CEE8 8025E608 24C61000 */ addiu $a2, $a2, 0x1000 +/* 18CEEC 8025E60C 0C00A5CF */ jal dma_copy +/* 18CEF0 8025E610 00000000 */ nop +/* 18CEF4 8025E614 3C048000 */ lui $a0, 0x8000 +/* 18CEF8 8025E618 0C05272D */ jal play_sound +/* 18CEFC 8025E61C 34840008 */ ori $a0, $a0, 8 +/* 18CF00 8025E620 24020005 */ addiu $v0, $zero, 5 +/* 18CF04 8025E624 08097FD0 */ j func_8025FF40 +/* 18CF08 8025E628 AE000000 */ sw $zero, ($s0) + +/* 18CF0C 8025E62C 3C048028 */ lui $a0, 0x8028 +/* 18CF10 8025E630 24844880 */ addiu $a0, $a0, 0x4880 +/* 18CF14 8025E634 2405000A */ addiu $a1, $zero, 0xa +/* 18CF18 8025E638 0C0B0CF8 */ jal start_script +/* 18CF1C 8025E63C 0000302D */ daddu $a2, $zero, $zero +/* 18CF20 8025E640 24030019 */ addiu $v1, $zero, 0x19 +/* 18CF24 8025E644 3C01802A */ lui $at, 0x802a +/* 18CF28 8025E648 AC23FB4C */ sw $v1, -0x4b4($at) +/* 18CF2C 8025E64C 8C430144 */ lw $v1, 0x144($v0) +/* 18CF30 8025E650 3C01802A */ lui $at, 0x802a +/* 18CF34 8025E654 AC22FB7C */ sw $v0, -0x484($at) +/* 18CF38 8025E658 24020006 */ addiu $v0, $zero, 6 +/* 18CF3C 8025E65C 3C01800E */ lui $at, 0x800e +/* 18CF40 8025E660 AC22C4DC */ sw $v0, -0x3b24($at) +/* 18CF44 8025E664 3C01802A */ lui $at, 0x802a +/* 18CF48 8025E668 AC23FB80 */ sw $v1, -0x480($at) +/* 18CF4C 8025E66C 0C04760B */ jal func_8011D82C +/* 18CF50 8025E670 24040001 */ addiu $a0, $zero, 1 +/* 18CF54 8025E674 0000202D */ daddu $a0, $zero, $zero +/* 18CF58 8025E678 0080282D */ daddu $a1, $a0, $zero +/* 18CF5C 8025E67C 0080302D */ daddu $a2, $a0, $zero +/* 18CF60 8025E680 0080382D */ daddu $a3, $a0, $zero +/* 18CF64 8025E684 3C038015 */ lui $v1, 0x8015 +/* 18CF68 8025E688 8C6312F0 */ lw $v1, 0x12f0($v1) +/* 18CF6C 8025E68C 24020001 */ addiu $v0, $zero, 1 +/* 18CF70 8025E690 0C046F97 */ jal func_8011BE5C +/* 18CF74 8025E694 A0620000 */ sb $v0, ($v1) +/* 18CF78 8025E698 08097FD2 */ j func_8025FF48 +/* 18CF7C 8025E69C 00000000 */ nop + +/* 18CF80 8025E6A0 3C10802A */ lui $s0, 0x802a +/* 18CF84 8025E6A4 2610FB4C */ addiu $s0, $s0, -0x4b4 +/* 18CF88 8025E6A8 8E030000 */ lw $v1, ($s0) +/* 18CF8C 8025E6AC 24020012 */ addiu $v0, $zero, 0x12 +/* 18CF90 8025E6B0 1462004E */ bne $v1, $v0, .L8025E7EC +/* 18CF94 8025E6B4 0000202D */ daddu $a0, $zero, $zero +/* 18CF98 8025E6B8 92A20003 */ lbu $v0, 3($s5) +/* 18CF9C 8025E6BC 92A30006 */ lbu $v1, 6($s5) +/* 18CFA0 8025E6C0 44801000 */ mtc1 $zero, $f2 +/* 18CFA4 8025E6C4 A2A20002 */ sb $v0, 2($s5) +/* 18CFA8 8025E6C8 A2A30005 */ sb $v1, 5($s5) +/* 18CFAC 8025E6CC C6240144 */ lwc1 $f4, 0x144($s1) +/* 18CFB0 8025E6D0 C620014C */ lwc1 $f0, 0x14c($s1) +/* 18CFB4 8025E6D4 82A80002 */ lb $t0, 2($s5) +/* 18CFB8 8025E6D8 4600018D */ trunc.w.s $f6, $f0 +/* 18CFBC 8025E6DC 44073000 */ mfc1 $a3, $f6 +/* 18CFC0 8025E6E0 00000000 */ nop +/* 18CFC4 8025E6E4 44873000 */ mtc1 $a3, $f6 +/* 18CFC8 8025E6E8 00000000 */ nop +/* 18CFCC 8025E6EC 468031A0 */ cvt.s.w $f6, $f6 +/* 18CFD0 8025E6F0 46022100 */ add.s $f4, $f4, $f2 +/* 18CFD4 8025E6F4 C6200148 */ lwc1 $f0, 0x148($s1) +/* 18CFD8 8025E6F8 3C01420C */ lui $at, 0x420c +/* 18CFDC 8025E6FC 44811000 */ mtc1 $at, $f2 +/* 18CFE0 8025E700 44073000 */ mfc1 $a3, $f6 +/* 18CFE4 8025E704 46020000 */ add.s $f0, $f0, $f2 +/* 18CFE8 8025E708 4600218D */ trunc.w.s $f6, $f4 +/* 18CFEC 8025E70C 44033000 */ mfc1 $v1, $f6 +/* 18CFF0 8025E710 00000000 */ nop +/* 18CFF4 8025E714 44833000 */ mtc1 $v1, $f6 +/* 18CFF8 8025E718 00000000 */ nop +/* 18CFFC 8025E71C 468031A0 */ cvt.s.w $f6, $f6 +/* 18D000 8025E720 44053000 */ mfc1 $a1, $f6 +/* 18D004 8025E724 4600018D */ trunc.w.s $f6, $f0 +/* 18D008 8025E728 44023000 */ mfc1 $v0, $f6 +/* 18D00C 8025E72C 00000000 */ nop +/* 18D010 8025E730 44823000 */ mtc1 $v0, $f6 +/* 18D014 8025E734 00000000 */ nop +/* 18D018 8025E738 468031A0 */ cvt.s.w $f6, $f6 +/* 18D01C 8025E73C 44063000 */ mfc1 $a2, $f6 +/* 18D020 8025E740 AFA30028 */ sw $v1, 0x28($sp) +/* 18D024 8025E744 AFA2002C */ sw $v0, 0x2c($sp) +/* 18D028 8025E748 0C01C424 */ jal func_80071090 +/* 18D02C 8025E74C AFA80010 */ sw $t0, 0x10($sp) +/* 18D030 8025E750 C6240144 */ lwc1 $f4, 0x144($s1) +/* 18D034 8025E754 C620014C */ lwc1 $f0, 0x14c($s1) +/* 18D038 8025E758 3C0141A0 */ lui $at, 0x41a0 +/* 18D03C 8025E75C 44811000 */ mtc1 $at, $f2 +/* 18D040 8025E760 82A80005 */ lb $t0, 5($s5) +/* 18D044 8025E764 4600018D */ trunc.w.s $f6, $f0 +/* 18D048 8025E768 44073000 */ mfc1 $a3, $f6 +/* 18D04C 8025E76C 00000000 */ nop +/* 18D050 8025E770 44873000 */ mtc1 $a3, $f6 +/* 18D054 8025E774 00000000 */ nop +/* 18D058 8025E778 468031A0 */ cvt.s.w $f6, $f6 +/* 18D05C 8025E77C 46022100 */ add.s $f4, $f4, $f2 +/* 18D060 8025E780 C6200148 */ lwc1 $f0, 0x148($s1) +/* 18D064 8025E784 3C0141C8 */ lui $at, 0x41c8 +/* 18D068 8025E788 44811000 */ mtc1 $at, $f2 +/* 18D06C 8025E78C 44073000 */ mfc1 $a3, $f6 +/* 18D070 8025E790 46020000 */ add.s $f0, $f0, $f2 +/* 18D074 8025E794 4600218D */ trunc.w.s $f6, $f4 +/* 18D078 8025E798 44033000 */ mfc1 $v1, $f6 +/* 18D07C 8025E79C 00000000 */ nop +/* 18D080 8025E7A0 44833000 */ mtc1 $v1, $f6 +/* 18D084 8025E7A4 00000000 */ nop +/* 18D088 8025E7A8 468031A0 */ cvt.s.w $f6, $f6 +/* 18D08C 8025E7AC 44053000 */ mfc1 $a1, $f6 +/* 18D090 8025E7B0 4600018D */ trunc.w.s $f6, $f0 +/* 18D094 8025E7B4 44023000 */ mfc1 $v0, $f6 +/* 18D098 8025E7B8 00000000 */ nop +/* 18D09C 8025E7BC 44823000 */ mtc1 $v0, $f6 +/* 18D0A0 8025E7C0 00000000 */ nop +/* 18D0A4 8025E7C4 468031A0 */ cvt.s.w $f6, $f6 +/* 18D0A8 8025E7C8 44063000 */ mfc1 $a2, $f6 +/* 18D0AC 8025E7CC 24040001 */ addiu $a0, $zero, 1 +/* 18D0B0 8025E7D0 AFA30028 */ sw $v1, 0x28($sp) +/* 18D0B4 8025E7D4 AFA2002C */ sw $v0, 0x2c($sp) +/* 18D0B8 8025E7D8 0C01C424 */ jal func_80071090 +/* 18D0BC 8025E7DC AFA80010 */ sw $t0, 0x10($sp) +/* 18D0C0 8025E7E0 82A2028E */ lb $v0, 0x28e($s5) +/* 18D0C4 8025E7E4 00021200 */ sll $v0, $v0, 8 +/* 18D0C8 8025E7E8 A6A20290 */ sh $v0, 0x290($s5) +.L8025E7EC: +/* 18D0CC 8025E7EC 8E020000 */ lw $v0, ($s0) +/* 18D0D0 8025E7F0 1040000E */ beqz $v0, .L8025E82C +/* 18D0D4 8025E7F4 2443FFFF */ addiu $v1, $v0, -1 +/* 18D0D8 8025E7F8 2862000A */ slti $v0, $v1, 0xa +/* 18D0DC 8025E7FC 104005D2 */ beqz $v0, .L8025FF48 +/* 18D0E0 8025E800 AE030000 */ sw $v1, ($s0) +/* 18D0E4 8025E804 0000202D */ daddu $a0, $zero, $zero +/* 18D0E8 8025E808 0080282D */ daddu $a1, $a0, $zero +/* 18D0EC 8025E80C 0080302D */ daddu $a2, $a0, $zero +/* 18D0F0 8025E810 2407000A */ addiu $a3, $zero, 0xa +/* 18D0F4 8025E814 00E33823 */ subu $a3, $a3, $v1 +/* 18D0F8 8025E818 00073900 */ sll $a3, $a3, 4 +/* 18D0FC 8025E81C 0C046F97 */ jal func_8011BE5C +/* 18D100 8025E820 30E700F0 */ andi $a3, $a3, 0xf0 +/* 18D104 8025E824 08097FD2 */ j func_8025FF48 +/* 18D108 8025E828 00000000 */ nop + +.L8025E82C: +/* 18D10C 8025E82C 3C04802B */ lui $a0, 0x802b +/* 18D110 8025E830 24849F0C */ addiu $a0, $a0, -0x60f4 +/* 18D114 8025E834 0C050529 */ jal create_icon +/* 18D118 8025E838 24130001 */ addiu $s3, $zero, 1 +/* 18D11C 8025E83C 0040A02D */ daddu $s4, $v0, $zero +/* 18D120 8025E840 0280202D */ daddu $a0, $s4, $zero +/* 18D124 8025E844 24050136 */ addiu $a1, $zero, 0x136 +/* 18D128 8025E848 2406008C */ addiu $a2, $zero, 0x8c +/* 18D12C 8025E84C 3C10802A */ lui $s0, 0x802a +/* 18D130 8025E850 2610FA80 */ addiu $s0, $s0, -0x580 +/* 18D134 8025E854 0C051261 */ jal set_icon_render_pos +/* 18D138 8025E858 AE140000 */ sw $s4, ($s0) +/* 18D13C 8025E85C 0280202D */ daddu $a0, $s4, $zero +/* 18D140 8025E860 0C051280 */ jal set_icon_flags +/* 18D144 8025E864 24050080 */ addiu $a1, $zero, 0x80 +/* 18D148 8025E868 3C04802B */ lui $a0, 0x802b +/* 18D14C 8025E86C 24849F5C */ addiu $a0, $a0, -0x60a4 +/* 18D150 8025E870 0C050529 */ jal create_icon +/* 18D154 8025E874 00000000 */ nop +/* 18D158 8025E878 0040A02D */ daddu $s4, $v0, $zero +/* 18D15C 8025E87C 0280202D */ daddu $a0, $s4, $zero +/* 18D160 8025E880 2405009E */ addiu $a1, $zero, 0x9e +/* 18D164 8025E884 24060154 */ addiu $a2, $zero, 0x154 +/* 18D168 8025E888 0C051261 */ jal set_icon_render_pos +/* 18D16C 8025E88C AE140004 */ sw $s4, 4($s0) +/* 18D170 8025E890 0280202D */ daddu $a0, $s4, $zero +/* 18D174 8025E894 0C051280 */ jal set_icon_flags +/* 18D178 8025E898 24050080 */ addiu $a1, $zero, 0x80 +/* 18D17C 8025E89C 3C04802B */ lui $a0, 0x802b +/* 18D180 8025E8A0 24849F84 */ addiu $a0, $a0, -0x607c +/* 18D184 8025E8A4 0C050529 */ jal create_icon +/* 18D188 8025E8A8 00000000 */ nop +/* 18D18C 8025E8AC 0040A02D */ daddu $s4, $v0, $zero +/* 18D190 8025E8B0 0280202D */ daddu $a0, $s4, $zero +/* 18D194 8025E8B4 2405009E */ addiu $a1, $zero, 0x9e +/* 18D198 8025E8B8 24060154 */ addiu $a2, $zero, 0x154 +/* 18D19C 8025E8BC 0C051261 */ jal set_icon_render_pos +/* 18D1A0 8025E8C0 AE14000C */ sw $s4, 0xc($s0) +/* 18D1A4 8025E8C4 0280202D */ daddu $a0, $s4, $zero +/* 18D1A8 8025E8C8 0C051280 */ jal set_icon_flags +/* 18D1AC 8025E8CC 24050080 */ addiu $a1, $zero, 0x80 +/* 18D1B0 8025E8D0 3C04802B */ lui $a0, 0x802b +/* 18D1B4 8025E8D4 24849FAC */ addiu $a0, $a0, -0x6054 +/* 18D1B8 8025E8D8 0C050529 */ jal create_icon +/* 18D1BC 8025E8DC 00000000 */ nop +/* 18D1C0 8025E8E0 0040A02D */ daddu $s4, $v0, $zero +/* 18D1C4 8025E8E4 0280202D */ daddu $a0, $s4, $zero +/* 18D1C8 8025E8E8 24050006 */ addiu $a1, $zero, 6 +/* 18D1CC 8025E8EC 2406008C */ addiu $a2, $zero, 0x8c +/* 18D1D0 8025E8F0 0C051261 */ jal set_icon_render_pos +/* 18D1D4 8025E8F4 AE140008 */ sw $s4, 8($s0) +/* 18D1D8 8025E8F8 0280202D */ daddu $a0, $s4, $zero +/* 18D1DC 8025E8FC 0C051280 */ jal set_icon_flags +/* 18D1E0 8025E900 24050080 */ addiu $a1, $zero, 0x80 +/* 18D1E4 8025E904 3C10802A */ lui $s0, 0x802a +/* 18D1E8 8025E908 2610FA90 */ addiu $s0, $s0, -0x570 +/* 18D1EC 8025E90C 3C048028 */ lui $a0, 0x8028 +/* 18D1F0 8025E910 8C8441B4 */ lw $a0, 0x41b4($a0) +/* 18D1F4 8025E914 0C050529 */ jal create_icon +/* 18D1F8 8025E918 26110004 */ addiu $s1, $s0, 4 +/* 18D1FC 8025E91C 0040A02D */ daddu $s4, $v0, $zero +/* 18D200 8025E920 0280202D */ daddu $a0, $s4, $zero +/* 18D204 8025E924 240500A0 */ addiu $a1, $zero, 0xa0 +/* 18D208 8025E928 2406013D */ addiu $a2, $zero, 0x13d +/* 18D20C 8025E92C 0C051261 */ jal set_icon_render_pos +/* 18D210 8025E930 AE140000 */ sw $s4, ($s0) +/* 18D214 8025E934 0280202D */ daddu $a0, $s4, $zero +/* 18D218 8025E938 0C051280 */ jal set_icon_flags +/* 18D21C 8025E93C 24050080 */ addiu $a1, $zero, 0x80 +.L8025E940: +/* 18D220 8025E940 3C048028 */ lui $a0, 0x8028 +/* 18D224 8025E944 8C8441C0 */ lw $a0, 0x41c0($a0) +/* 18D228 8025E948 0C050529 */ jal create_icon +/* 18D22C 8025E94C 26730001 */ addiu $s3, $s3, 1 +/* 18D230 8025E950 0040A02D */ daddu $s4, $v0, $zero +/* 18D234 8025E954 0280202D */ daddu $a0, $s4, $zero +/* 18D238 8025E958 240500A0 */ addiu $a1, $zero, 0xa0 +/* 18D23C 8025E95C 2406013D */ addiu $a2, $zero, 0x13d +/* 18D240 8025E960 0C051261 */ jal set_icon_render_pos +/* 18D244 8025E964 AE340000 */ sw $s4, ($s1) +/* 18D248 8025E968 0280202D */ daddu $a0, $s4, $zero +/* 18D24C 8025E96C 0C051280 */ jal set_icon_flags +/* 18D250 8025E970 24050082 */ addiu $a1, $zero, 0x82 +/* 18D254 8025E974 2A620007 */ slti $v0, $s3, 7 +/* 18D258 8025E978 1440FFF1 */ bnez $v0, .L8025E940 +/* 18D25C 8025E97C 26310004 */ addiu $s1, $s1, 4 +/* 18D260 8025E980 24130001 */ addiu $s3, $zero, 1 +/* 18D264 8025E984 3C128028 */ lui $s2, 0x8028 +/* 18D268 8025E988 265241C0 */ addiu $s2, $s2, 0x41c0 +/* 18D26C 8025E98C 3C10802A */ lui $s0, 0x802a +/* 18D270 8025E990 2610FA90 */ addiu $s0, $s0, -0x570 +/* 18D274 8025E994 3C048028 */ lui $a0, 0x8028 +/* 18D278 8025E998 8C8441B8 */ lw $a0, 0x41b8($a0) +/* 18D27C 8025E99C 0C050529 */ jal create_icon +/* 18D280 8025E9A0 26110004 */ addiu $s1, $s0, 4 +/* 18D284 8025E9A4 0040A02D */ daddu $s4, $v0, $zero +/* 18D288 8025E9A8 0280202D */ daddu $a0, $s4, $zero +/* 18D28C 8025E9AC 24050138 */ addiu $a1, $zero, 0x138 +/* 18D290 8025E9B0 24060075 */ addiu $a2, $zero, 0x75 +/* 18D294 8025E9B4 0C051261 */ jal set_icon_render_pos +/* 18D298 8025E9B8 AE14001C */ sw $s4, 0x1c($s0) +/* 18D29C 8025E9BC 0280202D */ daddu $a0, $s4, $zero +/* 18D2A0 8025E9C0 0C051280 */ jal set_icon_flags +/* 18D2A4 8025E9C4 24050080 */ addiu $a1, $zero, 0x80 +.L8025E9C8: +/* 18D2A8 8025E9C8 8E440028 */ lw $a0, 0x28($s2) +/* 18D2AC 8025E9CC 0C050529 */ jal create_icon +/* 18D2B0 8025E9D0 26730001 */ addiu $s3, $s3, 1 +/* 18D2B4 8025E9D4 0040A02D */ daddu $s4, $v0, $zero +/* 18D2B8 8025E9D8 0280202D */ daddu $a0, $s4, $zero +/* 18D2BC 8025E9DC 24050138 */ addiu $a1, $zero, 0x138 +/* 18D2C0 8025E9E0 24060075 */ addiu $a2, $zero, 0x75 +/* 18D2C4 8025E9E4 0C051261 */ jal set_icon_render_pos +/* 18D2C8 8025E9E8 AE34001C */ sw $s4, 0x1c($s1) +/* 18D2CC 8025E9EC 0280202D */ daddu $a0, $s4, $zero +/* 18D2D0 8025E9F0 0C051280 */ jal set_icon_flags +/* 18D2D4 8025E9F4 24050082 */ addiu $a1, $zero, 0x82 +/* 18D2D8 8025E9F8 2A620007 */ slti $v0, $s3, 7 +/* 18D2DC 8025E9FC 1440FFF2 */ bnez $v0, .L8025E9C8 +/* 18D2E0 8025EA00 26310004 */ addiu $s1, $s1, 4 +/* 18D2E4 8025EA04 24130001 */ addiu $s3, $zero, 1 +/* 18D2E8 8025EA08 3C128028 */ lui $s2, 0x8028 +/* 18D2EC 8025EA0C 265241C0 */ addiu $s2, $s2, 0x41c0 +/* 18D2F0 8025EA10 3C10802A */ lui $s0, 0x802a +/* 18D2F4 8025EA14 2610FA90 */ addiu $s0, $s0, -0x570 +/* 18D2F8 8025EA18 3C048028 */ lui $a0, 0x8028 +/* 18D2FC 8025EA1C 8C8441BC */ lw $a0, 0x41bc($a0) +/* 18D300 8025EA20 0C050529 */ jal create_icon +/* 18D304 8025EA24 26110004 */ addiu $s1, $s0, 4 +/* 18D308 8025EA28 0040A02D */ daddu $s4, $v0, $zero +/* 18D30C 8025EA2C 0280202D */ daddu $a0, $s4, $zero +/* 18D310 8025EA30 24050008 */ addiu $a1, $zero, 8 +/* 18D314 8025EA34 24060075 */ addiu $a2, $zero, 0x75 +/* 18D318 8025EA38 0C051261 */ jal set_icon_render_pos +/* 18D31C 8025EA3C AE140038 */ sw $s4, 0x38($s0) +/* 18D320 8025EA40 0280202D */ daddu $a0, $s4, $zero +/* 18D324 8025EA44 0C051280 */ jal set_icon_flags +/* 18D328 8025EA48 24050080 */ addiu $a1, $zero, 0x80 +.L8025EA4C: +/* 18D32C 8025EA4C 8E440050 */ lw $a0, 0x50($s2) +/* 18D330 8025EA50 0C050529 */ jal create_icon +/* 18D334 8025EA54 26730001 */ addiu $s3, $s3, 1 +/* 18D338 8025EA58 0040A02D */ daddu $s4, $v0, $zero +/* 18D33C 8025EA5C 0280202D */ daddu $a0, $s4, $zero +/* 18D340 8025EA60 24050008 */ addiu $a1, $zero, 8 +/* 18D344 8025EA64 24060075 */ addiu $a2, $zero, 0x75 +/* 18D348 8025EA68 0C051261 */ jal set_icon_render_pos +/* 18D34C 8025EA6C AE340038 */ sw $s4, 0x38($s1) +/* 18D350 8025EA70 0280202D */ daddu $a0, $s4, $zero +/* 18D354 8025EA74 0C051280 */ jal set_icon_flags +/* 18D358 8025EA78 24050082 */ addiu $a1, $zero, 0x82 +/* 18D35C 8025EA7C 2A620007 */ slti $v0, $s3, 7 +/* 18D360 8025EA80 1440FFF2 */ bnez $v0, .L8025EA4C +/* 18D364 8025EA84 26310004 */ addiu $s1, $s1, 4 +/* 18D368 8025EA88 3C16802A */ lui $s6, 0x802a +/* 18D36C 8025EA8C 26D6FB60 */ addiu $s6, $s6, -0x4a0 +/* 18D370 8025EA90 AEC00000 */ sw $zero, ($s6) +/* 18D374 8025EA94 AEC00004 */ sw $zero, 4($s6) +/* 18D378 8025EA98 AEC00008 */ sw $zero, 8($s6) +/* 18D37C 8025EA9C 82A30007 */ lb $v1, 7($s5) +/* 18D380 8025EAA0 24020032 */ addiu $v0, $zero, 0x32 +/* 18D384 8025EAA4 1062008C */ beq $v1, $v0, .L8025ECD8 +/* 18D388 8025EAA8 3C096666 */ lui $t1, 0x6666 +/* 18D38C 8025EAAC 35296667 */ ori $t1, $t1, 0x6667 +/* 18D390 8025EAB0 3C17802A */ lui $s7, 0x802a +/* 18D394 8025EAB4 26F7FA90 */ addiu $s7, $s7, -0x570 +/* 18D398 8025EAB8 92A20006 */ lbu $v0, 6($s5) +/* 18D39C 8025EABC 00021600 */ sll $v0, $v0, 0x18 +/* 18D3A0 8025EAC0 00022E03 */ sra $a1, $v0, 0x18 +/* 18D3A4 8025EAC4 00A90018 */ mult $a1, $t1 +/* 18D3A8 8025EAC8 3C118028 */ lui $s1, 0x8028 +/* 18D3AC 8025EACC 26314238 */ addiu $s1, $s1, 0x4238 +/* 18D3B0 8025EAD0 AFA90030 */ sw $t1, 0x30($sp) +/* 18D3B4 8025EAD4 8EF40004 */ lw $s4, 4($s7) +/* 18D3B8 8025EAD8 000217C3 */ sra $v0, $v0, 0x1f +/* 18D3BC 8025EADC 00004810 */ mfhi $t1 +/* 18D3C0 8025EAE0 00091883 */ sra $v1, $t1, 2 +/* 18D3C4 8025EAE4 00621823 */ subu $v1, $v1, $v0 +/* 18D3C8 8025EAE8 00031600 */ sll $v0, $v1, 0x18 +/* 18D3CC 8025EAEC 00028603 */ sra $s0, $v0, 0x18 +/* 18D3D0 8025EAF0 00031080 */ sll $v0, $v1, 2 +/* 18D3D4 8025EAF4 00431021 */ addu $v0, $v0, $v1 +/* 18D3D8 8025EAF8 00021040 */ sll $v0, $v0, 1 +/* 18D3DC 8025EAFC 00A22823 */ subu $a1, $a1, $v0 +/* 18D3E0 8025EB00 00052E00 */ sll $a1, $a1, 0x18 +/* 18D3E4 8025EB04 00059603 */ sra $s2, $a1, 0x18 +/* 18D3E8 8025EB08 00101080 */ sll $v0, $s0, 2 +/* 18D3EC 8025EB0C 3C058028 */ lui $a1, 0x8028 +/* 18D3F0 8025EB10 00A22821 */ addu $a1, $a1, $v0 +/* 18D3F4 8025EB14 8CA54238 */ lw $a1, 0x4238($a1) +/* 18D3F8 8025EB18 0C0511FF */ jal set_menu_icon_script +/* 18D3FC 8025EB1C 0280202D */ daddu $a0, $s4, $zero +/* 18D400 8025EB20 12000004 */ beqz $s0, .L8025EB34 +/* 18D404 8025EB24 0280202D */ daddu $a0, $s4, $zero +/* 18D408 8025EB28 0C05128B */ jal clear_icon_flags +/* 18D40C 8025EB2C 24050002 */ addiu $a1, $zero, 2 +/* 18D410 8025EB30 0280202D */ daddu $a0, $s4, $zero +.L8025EB34: +/* 18D414 8025EB34 27B60028 */ addiu $s6, $sp, 0x28 +/* 18D418 8025EB38 02C0282D */ daddu $a1, $s6, $zero +/* 18D41C 8025EB3C 27B3002C */ addiu $s3, $sp, 0x2c +/* 18D420 8025EB40 0C05126B */ jal get_icon_render_pos +/* 18D424 8025EB44 0260302D */ daddu $a2, $s3, $zero +/* 18D428 8025EB48 0280202D */ daddu $a0, $s4, $zero +/* 18D42C 8025EB4C 8FA50028 */ lw $a1, 0x28($sp) +/* 18D430 8025EB50 8FA6002C */ lw $a2, 0x2c($sp) +/* 18D434 8025EB54 24A5FFF2 */ addiu $a1, $a1, -0xe +/* 18D438 8025EB58 0C051261 */ jal set_icon_render_pos +/* 18D43C 8025EB5C 24C6002E */ addiu $a2, $a2, 0x2e +/* 18D440 8025EB60 00121080 */ sll $v0, $s2, 2 +/* 18D444 8025EB64 00511021 */ addu $v0, $v0, $s1 +/* 18D448 8025EB68 8EF40008 */ lw $s4, 8($s7) +/* 18D44C 8025EB6C 8C450000 */ lw $a1, ($v0) +/* 18D450 8025EB70 0C0511FF */ jal set_menu_icon_script +/* 18D454 8025EB74 0280202D */ daddu $a0, $s4, $zero +/* 18D458 8025EB78 0280202D */ daddu $a0, $s4, $zero +/* 18D45C 8025EB7C 0C05128B */ jal clear_icon_flags +/* 18D460 8025EB80 24050002 */ addiu $a1, $zero, 2 +/* 18D464 8025EB84 0280202D */ daddu $a0, $s4, $zero +/* 18D468 8025EB88 02C0282D */ daddu $a1, $s6, $zero +/* 18D46C 8025EB8C 0C05126B */ jal get_icon_render_pos +/* 18D470 8025EB90 0260302D */ daddu $a2, $s3, $zero +/* 18D474 8025EB94 0280202D */ daddu $a0, $s4, $zero +/* 18D478 8025EB98 8FA50028 */ lw $a1, 0x28($sp) +/* 18D47C 8025EB9C 8FA6002C */ lw $a2, 0x2c($sp) +/* 18D480 8025EBA0 24A5FFF8 */ addiu $a1, $a1, -8 +/* 18D484 8025EBA4 0C051261 */ jal set_icon_render_pos +/* 18D488 8025EBA8 24C6002E */ addiu $a2, $a2, 0x2e +/* 18D48C 8025EBAC 8EF4000C */ lw $s4, 0xc($s7) +/* 18D490 8025EBB0 3C05802B */ lui $a1, 0x802b +/* 18D494 8025EBB4 24A5A320 */ addiu $a1, $a1, -0x5ce0 +/* 18D498 8025EBB8 0C0511FF */ jal set_menu_icon_script +/* 18D49C 8025EBBC 0280202D */ daddu $a0, $s4, $zero +/* 18D4A0 8025EBC0 0280202D */ daddu $a0, $s4, $zero +/* 18D4A4 8025EBC4 0C05128B */ jal clear_icon_flags +/* 18D4A8 8025EBC8 24050002 */ addiu $a1, $zero, 2 +/* 18D4AC 8025EBCC 0280202D */ daddu $a0, $s4, $zero +/* 18D4B0 8025EBD0 02C0282D */ daddu $a1, $s6, $zero +/* 18D4B4 8025EBD4 0C05126B */ jal get_icon_render_pos +/* 18D4B8 8025EBD8 0260302D */ daddu $a2, $s3, $zero +/* 18D4BC 8025EBDC 0280202D */ daddu $a0, $s4, $zero +/* 18D4C0 8025EBE0 8FA50028 */ lw $a1, 0x28($sp) +/* 18D4C4 8025EBE4 8FA6002C */ lw $a2, 0x2c($sp) +/* 18D4C8 8025EBE8 24A5FFFD */ addiu $a1, $a1, -3 +/* 18D4CC 8025EBEC 0C051261 */ jal set_icon_render_pos +/* 18D4D0 8025EBF0 24C6002E */ addiu $a2, $a2, 0x2e +/* 18D4D4 8025EBF4 82A30006 */ lb $v1, 6($s5) +/* 18D4D8 8025EBF8 8FA90030 */ lw $t1, 0x30($sp) +/* 18D4DC 8025EBFC 24630005 */ addiu $v1, $v1, 5 +/* 18D4E0 8025EC00 00690018 */ mult $v1, $t1 +/* 18D4E4 8025EC04 3C118028 */ lui $s1, 0x8028 +/* 18D4E8 8025EC08 263141C0 */ addiu $s1, $s1, 0x41c0 +/* 18D4EC 8025EC0C 8EF40010 */ lw $s4, 0x10($s7) +/* 18D4F0 8025EC10 000317C3 */ sra $v0, $v1, 0x1f +/* 18D4F4 8025EC14 00004810 */ mfhi $t1 +/* 18D4F8 8025EC18 00092883 */ sra $a1, $t1, 2 +/* 18D4FC 8025EC1C 00A29023 */ subu $s2, $a1, $v0 +/* 18D500 8025EC20 0240802D */ daddu $s0, $s2, $zero +/* 18D504 8025EC24 00101080 */ sll $v0, $s0, 2 +/* 18D508 8025EC28 00501021 */ addu $v0, $v0, $s0 +/* 18D50C 8025EC2C 00021040 */ sll $v0, $v0, 1 +/* 18D510 8025EC30 00629023 */ subu $s2, $v1, $v0 +/* 18D514 8025EC34 00101080 */ sll $v0, $s0, 2 +/* 18D518 8025EC38 3C058028 */ lui $a1, 0x8028 +/* 18D51C 8025EC3C 00A22821 */ addu $a1, $a1, $v0 +/* 18D520 8025EC40 8CA541C0 */ lw $a1, 0x41c0($a1) +/* 18D524 8025EC44 0C0511FF */ jal set_menu_icon_script +/* 18D528 8025EC48 0280202D */ daddu $a0, $s4, $zero +/* 18D52C 8025EC4C 12000003 */ beqz $s0, .L8025EC5C +/* 18D530 8025EC50 0280202D */ daddu $a0, $s4, $zero +/* 18D534 8025EC54 0C05128B */ jal clear_icon_flags +/* 18D538 8025EC58 24050002 */ addiu $a1, $zero, 2 +.L8025EC5C: +/* 18D53C 8025EC5C 0280202D */ daddu $a0, $s4, $zero +/* 18D540 8025EC60 02C0282D */ daddu $a1, $s6, $zero +/* 18D544 8025EC64 0C05126B */ jal get_icon_render_pos +/* 18D548 8025EC68 0260302D */ daddu $a2, $s3, $zero +/* 18D54C 8025EC6C 0280202D */ daddu $a0, $s4, $zero +/* 18D550 8025EC70 8FA50028 */ lw $a1, 0x28($sp) +/* 18D554 8025EC74 8FA6002C */ lw $a2, 0x2c($sp) +/* 18D558 8025EC78 24A50003 */ addiu $a1, $a1, 3 +/* 18D55C 8025EC7C 0C051261 */ jal set_icon_render_pos +/* 18D560 8025EC80 24C6002E */ addiu $a2, $a2, 0x2e +/* 18D564 8025EC84 00121080 */ sll $v0, $s2, 2 +/* 18D568 8025EC88 00511021 */ addu $v0, $v0, $s1 +/* 18D56C 8025EC8C 8EF40014 */ lw $s4, 0x14($s7) +/* 18D570 8025EC90 8C450000 */ lw $a1, ($v0) +/* 18D574 8025EC94 0C0511FF */ jal set_menu_icon_script +/* 18D578 8025EC98 0280202D */ daddu $a0, $s4, $zero +/* 18D57C 8025EC9C 0280202D */ daddu $a0, $s4, $zero +/* 18D580 8025ECA0 0C05128B */ jal clear_icon_flags +/* 18D584 8025ECA4 24050002 */ addiu $a1, $zero, 2 +/* 18D588 8025ECA8 0280202D */ daddu $a0, $s4, $zero +/* 18D58C 8025ECAC 02C0282D */ daddu $a1, $s6, $zero +/* 18D590 8025ECB0 0C05126B */ jal get_icon_render_pos +/* 18D594 8025ECB4 0260302D */ daddu $a2, $s3, $zero +/* 18D598 8025ECB8 0280202D */ daddu $a0, $s4, $zero +/* 18D59C 8025ECBC 8FA50028 */ lw $a1, 0x28($sp) +/* 18D5A0 8025ECC0 8FA6002C */ lw $a2, 0x2c($sp) +/* 18D5A4 8025ECC4 24A5000A */ addiu $a1, $a1, 0xa +/* 18D5A8 8025ECC8 0C051261 */ jal set_icon_render_pos +/* 18D5AC 8025ECCC 24C6002E */ addiu $a2, $a2, 0x2e +/* 18D5B0 8025ECD0 08097B78 */ j func_8025EDE0 +/* 18D5B4 8025ECD4 00000000 */ nop + +.L8025ECD8: +/* 18D5B8 8025ECD8 3C036666 */ lui $v1, 0x6666 +/* 18D5BC 8025ECDC 34636667 */ ori $v1, $v1, 0x6667 +/* 18D5C0 8025ECE0 92A20006 */ lbu $v0, 6($s5) +/* 18D5C4 8025ECE4 3C17802A */ lui $s7, 0x802a +/* 18D5C8 8025ECE8 26F7FA90 */ addiu $s7, $s7, -0x570 +/* 18D5CC 8025ECEC 00021600 */ sll $v0, $v0, 0x18 +/* 18D5D0 8025ECF0 00022E03 */ sra $a1, $v0, 0x18 +/* 18D5D4 8025ECF4 00A30018 */ mult $a1, $v1 +/* 18D5D8 8025ECF8 3C138028 */ lui $s3, 0x8028 +/* 18D5DC 8025ECFC 267341C0 */ addiu $s3, $s3, 0x41c0 +/* 18D5E0 8025ED00 8EF40010 */ lw $s4, 0x10($s7) +/* 18D5E4 8025ED04 000217C3 */ sra $v0, $v0, 0x1f +/* 18D5E8 8025ED08 00004810 */ mfhi $t1 +/* 18D5EC 8025ED0C 00091883 */ sra $v1, $t1, 2 +/* 18D5F0 8025ED10 00621823 */ subu $v1, $v1, $v0 +/* 18D5F4 8025ED14 00031600 */ sll $v0, $v1, 0x18 +/* 18D5F8 8025ED18 00028603 */ sra $s0, $v0, 0x18 +/* 18D5FC 8025ED1C 00031080 */ sll $v0, $v1, 2 +/* 18D600 8025ED20 00431021 */ addu $v0, $v0, $v1 +/* 18D604 8025ED24 00021040 */ sll $v0, $v0, 1 +/* 18D608 8025ED28 00A22823 */ subu $a1, $a1, $v0 +/* 18D60C 8025ED2C 00052E00 */ sll $a1, $a1, 0x18 +/* 18D610 8025ED30 00059603 */ sra $s2, $a1, 0x18 +/* 18D614 8025ED34 00101080 */ sll $v0, $s0, 2 +/* 18D618 8025ED38 3C058028 */ lui $a1, 0x8028 +/* 18D61C 8025ED3C 00A22821 */ addu $a1, $a1, $v0 +/* 18D620 8025ED40 8CA541C0 */ lw $a1, 0x41c0($a1) +/* 18D624 8025ED44 0C0511FF */ jal set_menu_icon_script +/* 18D628 8025ED48 0280202D */ daddu $a0, $s4, $zero +/* 18D62C 8025ED4C 12000004 */ beqz $s0, .L8025ED60 +/* 18D630 8025ED50 0280202D */ daddu $a0, $s4, $zero +/* 18D634 8025ED54 0C05128B */ jal clear_icon_flags +/* 18D638 8025ED58 24050002 */ addiu $a1, $zero, 2 +/* 18D63C 8025ED5C 0280202D */ daddu $a0, $s4, $zero +.L8025ED60: +/* 18D640 8025ED60 27B10028 */ addiu $s1, $sp, 0x28 +/* 18D644 8025ED64 0220282D */ daddu $a1, $s1, $zero +/* 18D648 8025ED68 27B0002C */ addiu $s0, $sp, 0x2c +/* 18D64C 8025ED6C 0C05126B */ jal get_icon_render_pos +/* 18D650 8025ED70 0200302D */ daddu $a2, $s0, $zero +/* 18D654 8025ED74 0280202D */ daddu $a0, $s4, $zero +/* 18D658 8025ED78 8FA50028 */ lw $a1, 0x28($sp) +/* 18D65C 8025ED7C 8FA6002C */ lw $a2, 0x2c($sp) +/* 18D660 8025ED80 24A5FFFA */ addiu $a1, $a1, -6 +/* 18D664 8025ED84 0C051261 */ jal set_icon_render_pos +/* 18D668 8025ED88 24C6002E */ addiu $a2, $a2, 0x2e +/* 18D66C 8025ED8C 00121080 */ sll $v0, $s2, 2 +/* 18D670 8025ED90 00531021 */ addu $v0, $v0, $s3 +/* 18D674 8025ED94 8EF40014 */ lw $s4, 0x14($s7) +/* 18D678 8025ED98 8C450000 */ lw $a1, ($v0) +/* 18D67C 8025ED9C 0C0511FF */ jal set_menu_icon_script +/* 18D680 8025EDA0 0280202D */ daddu $a0, $s4, $zero +/* 18D684 8025EDA4 0280202D */ daddu $a0, $s4, $zero +/* 18D688 8025EDA8 0C05128B */ jal clear_icon_flags +/* 18D68C 8025EDAC 24050002 */ addiu $a1, $zero, 2 +/* 18D690 8025EDB0 0280202D */ daddu $a0, $s4, $zero +/* 18D694 8025EDB4 0220282D */ daddu $a1, $s1, $zero +/* 18D698 8025EDB8 0C05126B */ jal get_icon_render_pos +/* 18D69C 8025EDBC 0200302D */ daddu $a2, $s0, $zero +/* 18D6A0 8025EDC0 0280202D */ daddu $a0, $s4, $zero +/* 18D6A4 8025EDC4 8FA50028 */ lw $a1, 0x28($sp) +/* 18D6A8 8025EDC8 8FA6002C */ lw $a2, 0x2c($sp) +/* 18D6AC 8025EDCC 24A50002 */ addiu $a1, $a1, 2 +/* 18D6B0 8025EDD0 0C051261 */ jal set_icon_render_pos +/* 18D6B4 8025EDD4 24C6002E */ addiu $a2, $a2, 0x2e +/* 18D6B8 8025EDD8 24020001 */ addiu $v0, $zero, 1 +/* 18D6BC 8025EDDC AEC20004 */ sw $v0, 4($s6) +func_8025EDE0: +/* 18D6C0 8025EDE0 0C03A752 */ jal is_ability_active +/* 18D6C4 8025EDE4 2404000C */ addiu $a0, $zero, 0xc +/* 18D6C8 8025EDE8 1040001B */ beqz $v0, .L8025EE58 +/* 18D6CC 8025EDEC 00000000 */ nop +/* 18D6D0 8025EDF0 3C028009 */ lui $v0, 0x8009 +/* 18D6D4 8025EDF4 844297E4 */ lh $v0, -0x681c($v0) +/* 18D6D8 8025EDF8 3C14802A */ lui $s4, 0x802a +/* 18D6DC 8025EDFC 8E94FAA8 */ lw $s4, -0x558($s4) +/* 18D6E0 8025EE00 000210C0 */ sll $v0, $v0, 3 +/* 18D6E4 8025EE04 3C058009 */ lui $a1, 0x8009 +/* 18D6E8 8025EE08 00A22821 */ addu $a1, $a1, $v0 +/* 18D6EC 8025EE0C 8CA5A680 */ lw $a1, -0x5980($a1) +/* 18D6F0 8025EE10 0C0511FF */ jal set_menu_icon_script +/* 18D6F4 8025EE14 0280202D */ daddu $a0, $s4, $zero +/* 18D6F8 8025EE18 0280202D */ daddu $a0, $s4, $zero +/* 18D6FC 8025EE1C 0C05128B */ jal clear_icon_flags +/* 18D700 8025EE20 24050002 */ addiu $a1, $zero, 2 +/* 18D704 8025EE24 3C053F00 */ lui $a1, 0x3f00 +/* 18D708 8025EE28 0C051308 */ jal func_80144C20 +/* 18D70C 8025EE2C 0280202D */ daddu $a0, $s4, $zero +/* 18D710 8025EE30 0280202D */ daddu $a0, $s4, $zero +/* 18D714 8025EE34 27A50028 */ addiu $a1, $sp, 0x28 +/* 18D718 8025EE38 0C05126B */ jal get_icon_render_pos +/* 18D71C 8025EE3C 27A6002C */ addiu $a2, $sp, 0x2c +/* 18D720 8025EE40 0280202D */ daddu $a0, $s4, $zero +/* 18D724 8025EE44 8FA50028 */ lw $a1, 0x28($sp) +/* 18D728 8025EE48 8FA6002C */ lw $a2, 0x2c($sp) +/* 18D72C 8025EE4C 24A50011 */ addiu $a1, $a1, 0x11 +/* 18D730 8025EE50 0C051261 */ jal set_icon_render_pos +/* 18D734 8025EE54 24C6002E */ addiu $a2, $a2, 0x2e +.L8025EE58: +/* 18D738 8025EE58 82A30004 */ lb $v1, 4($s5) +/* 18D73C 8025EE5C 24020032 */ addiu $v0, $zero, 0x32 +/* 18D740 8025EE60 1062008C */ beq $v1, $v0, .L8025F094 +/* 18D744 8025EE64 3C096666 */ lui $t1, 0x6666 +/* 18D748 8025EE68 35296667 */ ori $t1, $t1, 0x6667 +/* 18D74C 8025EE6C 3C17802A */ lui $s7, 0x802a +/* 18D750 8025EE70 26F7FA90 */ addiu $s7, $s7, -0x570 +/* 18D754 8025EE74 92A20003 */ lbu $v0, 3($s5) +/* 18D758 8025EE78 00021600 */ sll $v0, $v0, 0x18 +/* 18D75C 8025EE7C 00022E03 */ sra $a1, $v0, 0x18 +/* 18D760 8025EE80 00A90018 */ mult $a1, $t1 +/* 18D764 8025EE84 3C118028 */ lui $s1, 0x8028 +/* 18D768 8025EE88 26314238 */ addiu $s1, $s1, 0x4238 +/* 18D76C 8025EE8C AFA90034 */ sw $t1, 0x34($sp) +/* 18D770 8025EE90 8EF40020 */ lw $s4, 0x20($s7) +/* 18D774 8025EE94 000217C3 */ sra $v0, $v0, 0x1f +/* 18D778 8025EE98 00004810 */ mfhi $t1 +/* 18D77C 8025EE9C 00091883 */ sra $v1, $t1, 2 +/* 18D780 8025EEA0 00621823 */ subu $v1, $v1, $v0 +/* 18D784 8025EEA4 00031600 */ sll $v0, $v1, 0x18 +/* 18D788 8025EEA8 00028603 */ sra $s0, $v0, 0x18 +/* 18D78C 8025EEAC 00031080 */ sll $v0, $v1, 2 +/* 18D790 8025EEB0 00431021 */ addu $v0, $v0, $v1 +/* 18D794 8025EEB4 00021040 */ sll $v0, $v0, 1 +/* 18D798 8025EEB8 00A22823 */ subu $a1, $a1, $v0 +/* 18D79C 8025EEBC 00052E00 */ sll $a1, $a1, 0x18 +/* 18D7A0 8025EEC0 00059603 */ sra $s2, $a1, 0x18 +/* 18D7A4 8025EEC4 00101080 */ sll $v0, $s0, 2 +/* 18D7A8 8025EEC8 3C058028 */ lui $a1, 0x8028 +/* 18D7AC 8025EECC 00A22821 */ addu $a1, $a1, $v0 +/* 18D7B0 8025EED0 8CA54260 */ lw $a1, 0x4260($a1) +/* 18D7B4 8025EED4 0C0511FF */ jal set_menu_icon_script +/* 18D7B8 8025EED8 0280202D */ daddu $a0, $s4, $zero +/* 18D7BC 8025EEDC 12000004 */ beqz $s0, .L8025EEF0 +/* 18D7C0 8025EEE0 0280202D */ daddu $a0, $s4, $zero +/* 18D7C4 8025EEE4 0C05128B */ jal clear_icon_flags +/* 18D7C8 8025EEE8 24050002 */ addiu $a1, $zero, 2 +/* 18D7CC 8025EEEC 0280202D */ daddu $a0, $s4, $zero +.L8025EEF0: +/* 18D7D0 8025EEF0 27B60028 */ addiu $s6, $sp, 0x28 +/* 18D7D4 8025EEF4 02C0282D */ daddu $a1, $s6, $zero +/* 18D7D8 8025EEF8 27B3002C */ addiu $s3, $sp, 0x2c +/* 18D7DC 8025EEFC 0C05126B */ jal get_icon_render_pos +/* 18D7E0 8025EF00 0260302D */ daddu $a2, $s3, $zero +/* 18D7E4 8025EF04 0280202D */ daddu $a0, $s4, $zero +/* 18D7E8 8025EF08 8FA50028 */ lw $a1, 0x28($sp) +/* 18D7EC 8025EF0C 8FA6002C */ lw $a2, 0x2c($sp) +/* 18D7F0 8025EF10 24A5FFF2 */ addiu $a1, $a1, -0xe +/* 18D7F4 8025EF14 0C051261 */ jal set_icon_render_pos +/* 18D7F8 8025EF18 24C6002E */ addiu $a2, $a2, 0x2e +/* 18D7FC 8025EF1C 00121080 */ sll $v0, $s2, 2 +/* 18D800 8025EF20 00511021 */ addu $v0, $v0, $s1 +/* 18D804 8025EF24 8EF40024 */ lw $s4, 0x24($s7) +/* 18D808 8025EF28 8C450028 */ lw $a1, 0x28($v0) +/* 18D80C 8025EF2C 0C0511FF */ jal set_menu_icon_script +/* 18D810 8025EF30 0280202D */ daddu $a0, $s4, $zero +/* 18D814 8025EF34 0280202D */ daddu $a0, $s4, $zero +/* 18D818 8025EF38 0C05128B */ jal clear_icon_flags +/* 18D81C 8025EF3C 24050002 */ addiu $a1, $zero, 2 +/* 18D820 8025EF40 0280202D */ daddu $a0, $s4, $zero +/* 18D824 8025EF44 02C0282D */ daddu $a1, $s6, $zero +/* 18D828 8025EF48 0C05126B */ jal get_icon_render_pos +/* 18D82C 8025EF4C 0260302D */ daddu $a2, $s3, $zero +/* 18D830 8025EF50 0280202D */ daddu $a0, $s4, $zero +/* 18D834 8025EF54 8FA50028 */ lw $a1, 0x28($sp) +/* 18D838 8025EF58 8FA6002C */ lw $a2, 0x2c($sp) +/* 18D83C 8025EF5C 24A5FFF8 */ addiu $a1, $a1, -8 +/* 18D840 8025EF60 0C051261 */ jal set_icon_render_pos +/* 18D844 8025EF64 24C6002E */ addiu $a2, $a2, 0x2e +/* 18D848 8025EF68 8EF40028 */ lw $s4, 0x28($s7) +/* 18D84C 8025EF6C 3C05802B */ lui $a1, 0x802b +/* 18D850 8025EF70 24A5A694 */ addiu $a1, $a1, -0x596c +/* 18D854 8025EF74 0C0511FF */ jal set_menu_icon_script +/* 18D858 8025EF78 0280202D */ daddu $a0, $s4, $zero +/* 18D85C 8025EF7C 0280202D */ daddu $a0, $s4, $zero +/* 18D860 8025EF80 0C05128B */ jal clear_icon_flags +/* 18D864 8025EF84 24050002 */ addiu $a1, $zero, 2 +/* 18D868 8025EF88 0280202D */ daddu $a0, $s4, $zero +/* 18D86C 8025EF8C 02C0282D */ daddu $a1, $s6, $zero +/* 18D870 8025EF90 0C05126B */ jal get_icon_render_pos +/* 18D874 8025EF94 0260302D */ daddu $a2, $s3, $zero +/* 18D878 8025EF98 0280202D */ daddu $a0, $s4, $zero +/* 18D87C 8025EF9C 8FA50028 */ lw $a1, 0x28($sp) +/* 18D880 8025EFA0 8FA6002C */ lw $a2, 0x2c($sp) +/* 18D884 8025EFA4 24A5FFFD */ addiu $a1, $a1, -3 +/* 18D888 8025EFA8 0C051261 */ jal set_icon_render_pos +/* 18D88C 8025EFAC 24C6002E */ addiu $a2, $a2, 0x2e +/* 18D890 8025EFB0 82A30003 */ lb $v1, 3($s5) +/* 18D894 8025EFB4 8FA90034 */ lw $t1, 0x34($sp) +/* 18D898 8025EFB8 24630005 */ addiu $v1, $v1, 5 +/* 18D89C 8025EFBC 00690018 */ mult $v1, $t1 +/* 18D8A0 8025EFC0 3C118028 */ lui $s1, 0x8028 +/* 18D8A4 8025EFC4 263141C0 */ addiu $s1, $s1, 0x41c0 +/* 18D8A8 8025EFC8 8EF4002C */ lw $s4, 0x2c($s7) +/* 18D8AC 8025EFCC 000317C3 */ sra $v0, $v1, 0x1f +/* 18D8B0 8025EFD0 00004810 */ mfhi $t1 +/* 18D8B4 8025EFD4 00092883 */ sra $a1, $t1, 2 +/* 18D8B8 8025EFD8 00A29023 */ subu $s2, $a1, $v0 +/* 18D8BC 8025EFDC 0240802D */ daddu $s0, $s2, $zero +/* 18D8C0 8025EFE0 00101080 */ sll $v0, $s0, 2 +/* 18D8C4 8025EFE4 00501021 */ addu $v0, $v0, $s0 +/* 18D8C8 8025EFE8 00021040 */ sll $v0, $v0, 1 +/* 18D8CC 8025EFEC 00629023 */ subu $s2, $v1, $v0 +/* 18D8D0 8025EFF0 00101080 */ sll $v0, $s0, 2 +/* 18D8D4 8025EFF4 3C058028 */ lui $a1, 0x8028 +/* 18D8D8 8025EFF8 00A22821 */ addu $a1, $a1, $v0 +/* 18D8DC 8025EFFC 8CA541E8 */ lw $a1, 0x41e8($a1) +/* 18D8E0 8025F000 0C0511FF */ jal set_menu_icon_script +/* 18D8E4 8025F004 0280202D */ daddu $a0, $s4, $zero +/* 18D8E8 8025F008 12000003 */ beqz $s0, .L8025F018 +/* 18D8EC 8025F00C 0280202D */ daddu $a0, $s4, $zero +/* 18D8F0 8025F010 0C05128B */ jal clear_icon_flags +/* 18D8F4 8025F014 24050002 */ addiu $a1, $zero, 2 +.L8025F018: +/* 18D8F8 8025F018 0280202D */ daddu $a0, $s4, $zero +/* 18D8FC 8025F01C 02C0282D */ daddu $a1, $s6, $zero +/* 18D900 8025F020 0C05126B */ jal get_icon_render_pos +/* 18D904 8025F024 0260302D */ daddu $a2, $s3, $zero +/* 18D908 8025F028 0280202D */ daddu $a0, $s4, $zero +/* 18D90C 8025F02C 8FA50028 */ lw $a1, 0x28($sp) +/* 18D910 8025F030 8FA6002C */ lw $a2, 0x2c($sp) +/* 18D914 8025F034 24A50003 */ addiu $a1, $a1, 3 +/* 18D918 8025F038 0C051261 */ jal set_icon_render_pos +/* 18D91C 8025F03C 24C6002E */ addiu $a2, $a2, 0x2e +/* 18D920 8025F040 00121080 */ sll $v0, $s2, 2 +/* 18D924 8025F044 00511021 */ addu $v0, $v0, $s1 +/* 18D928 8025F048 8EF40030 */ lw $s4, 0x30($s7) +/* 18D92C 8025F04C 8C450028 */ lw $a1, 0x28($v0) +/* 18D930 8025F050 0C0511FF */ jal set_menu_icon_script +/* 18D934 8025F054 0280202D */ daddu $a0, $s4, $zero +/* 18D938 8025F058 0280202D */ daddu $a0, $s4, $zero +/* 18D93C 8025F05C 0C05128B */ jal clear_icon_flags +/* 18D940 8025F060 24050002 */ addiu $a1, $zero, 2 +/* 18D944 8025F064 0280202D */ daddu $a0, $s4, $zero +/* 18D948 8025F068 02C0282D */ daddu $a1, $s6, $zero +/* 18D94C 8025F06C 0C05126B */ jal get_icon_render_pos +/* 18D950 8025F070 0260302D */ daddu $a2, $s3, $zero +/* 18D954 8025F074 0280202D */ daddu $a0, $s4, $zero +/* 18D958 8025F078 8FA50028 */ lw $a1, 0x28($sp) +/* 18D95C 8025F07C 8FA6002C */ lw $a2, 0x2c($sp) +/* 18D960 8025F080 24A5000A */ addiu $a1, $a1, 0xa +/* 18D964 8025F084 0C051261 */ jal set_icon_render_pos +/* 18D968 8025F088 24C6002E */ addiu $a2, $a2, 0x2e +/* 18D96C 8025F08C 08097C68 */ j func_8025F1A0 +/* 18D970 8025F090 00000000 */ nop + +.L8025F094: +/* 18D974 8025F094 3C036666 */ lui $v1, 0x6666 +/* 18D978 8025F098 34636667 */ ori $v1, $v1, 0x6667 +/* 18D97C 8025F09C 92A20003 */ lbu $v0, 3($s5) +/* 18D980 8025F0A0 3C16802A */ lui $s6, 0x802a +/* 18D984 8025F0A4 26D6FA90 */ addiu $s6, $s6, -0x570 +/* 18D988 8025F0A8 00021600 */ sll $v0, $v0, 0x18 +/* 18D98C 8025F0AC 00022E03 */ sra $a1, $v0, 0x18 +/* 18D990 8025F0B0 00A30018 */ mult $a1, $v1 +/* 18D994 8025F0B4 3C138028 */ lui $s3, 0x8028 +/* 18D998 8025F0B8 267341C0 */ addiu $s3, $s3, 0x41c0 +/* 18D99C 8025F0BC 8ED4002C */ lw $s4, 0x2c($s6) +/* 18D9A0 8025F0C0 000217C3 */ sra $v0, $v0, 0x1f +/* 18D9A4 8025F0C4 00004810 */ mfhi $t1 +/* 18D9A8 8025F0C8 00091883 */ sra $v1, $t1, 2 +/* 18D9AC 8025F0CC 00621823 */ subu $v1, $v1, $v0 +/* 18D9B0 8025F0D0 00031600 */ sll $v0, $v1, 0x18 +/* 18D9B4 8025F0D4 00028603 */ sra $s0, $v0, 0x18 +/* 18D9B8 8025F0D8 00031080 */ sll $v0, $v1, 2 +/* 18D9BC 8025F0DC 00431021 */ addu $v0, $v0, $v1 +/* 18D9C0 8025F0E0 00021040 */ sll $v0, $v0, 1 +/* 18D9C4 8025F0E4 00A22823 */ subu $a1, $a1, $v0 +/* 18D9C8 8025F0E8 00052E00 */ sll $a1, $a1, 0x18 +/* 18D9CC 8025F0EC 00059603 */ sra $s2, $a1, 0x18 +/* 18D9D0 8025F0F0 00101080 */ sll $v0, $s0, 2 +/* 18D9D4 8025F0F4 3C058028 */ lui $a1, 0x8028 +/* 18D9D8 8025F0F8 00A22821 */ addu $a1, $a1, $v0 +/* 18D9DC 8025F0FC 8CA541E8 */ lw $a1, 0x41e8($a1) +/* 18D9E0 8025F100 0C0511FF */ jal set_menu_icon_script +/* 18D9E4 8025F104 0280202D */ daddu $a0, $s4, $zero +/* 18D9E8 8025F108 12000004 */ beqz $s0, .L8025F11C +/* 18D9EC 8025F10C 0280202D */ daddu $a0, $s4, $zero +/* 18D9F0 8025F110 0C05128B */ jal clear_icon_flags +/* 18D9F4 8025F114 24050002 */ addiu $a1, $zero, 2 +/* 18D9F8 8025F118 0280202D */ daddu $a0, $s4, $zero +.L8025F11C: +/* 18D9FC 8025F11C 27B10028 */ addiu $s1, $sp, 0x28 +/* 18DA00 8025F120 0220282D */ daddu $a1, $s1, $zero +/* 18DA04 8025F124 27B0002C */ addiu $s0, $sp, 0x2c +/* 18DA08 8025F128 0C05126B */ jal get_icon_render_pos +/* 18DA0C 8025F12C 0200302D */ daddu $a2, $s0, $zero +/* 18DA10 8025F130 0280202D */ daddu $a0, $s4, $zero +/* 18DA14 8025F134 8FA50028 */ lw $a1, 0x28($sp) +/* 18DA18 8025F138 8FA6002C */ lw $a2, 0x2c($sp) +/* 18DA1C 8025F13C 24A5FFFA */ addiu $a1, $a1, -6 +/* 18DA20 8025F140 0C051261 */ jal set_icon_render_pos +/* 18DA24 8025F144 24C6002E */ addiu $a2, $a2, 0x2e +/* 18DA28 8025F148 00121080 */ sll $v0, $s2, 2 +/* 18DA2C 8025F14C 00531021 */ addu $v0, $v0, $s3 +/* 18DA30 8025F150 8ED40030 */ lw $s4, 0x30($s6) +/* 18DA34 8025F154 8C450028 */ lw $a1, 0x28($v0) +/* 18DA38 8025F158 0C0511FF */ jal set_menu_icon_script +/* 18DA3C 8025F15C 0280202D */ daddu $a0, $s4, $zero +/* 18DA40 8025F160 0280202D */ daddu $a0, $s4, $zero +/* 18DA44 8025F164 0C05128B */ jal clear_icon_flags +/* 18DA48 8025F168 24050002 */ addiu $a1, $zero, 2 +/* 18DA4C 8025F16C 0280202D */ daddu $a0, $s4, $zero +/* 18DA50 8025F170 0220282D */ daddu $a1, $s1, $zero +/* 18DA54 8025F174 0C05126B */ jal get_icon_render_pos +/* 18DA58 8025F178 0200302D */ daddu $a2, $s0, $zero +/* 18DA5C 8025F17C 0280202D */ daddu $a0, $s4, $zero +/* 18DA60 8025F180 8FA50028 */ lw $a1, 0x28($sp) +/* 18DA64 8025F184 8FA6002C */ lw $a2, 0x2c($sp) +/* 18DA68 8025F188 24A50002 */ addiu $a1, $a1, 2 +/* 18DA6C 8025F18C 0C051261 */ jal set_icon_render_pos +/* 18DA70 8025F190 24C6002E */ addiu $a2, $a2, 0x2e +/* 18DA74 8025F194 24020001 */ addiu $v0, $zero, 1 +/* 18DA78 8025F198 3C01802A */ lui $at, 0x802a +/* 18DA7C 8025F19C AC22FB60 */ sw $v0, -0x4a0($at) +func_8025F1A0: +/* 18DA80 8025F1A0 0C03A752 */ jal is_ability_active +/* 18DA84 8025F1A4 24040004 */ addiu $a0, $zero, 4 +/* 18DA88 8025F1A8 1040001B */ beqz $v0, .L8025F218 +/* 18DA8C 8025F1AC 00000000 */ nop +/* 18DA90 8025F1B0 3C028009 */ lui $v0, 0x8009 +/* 18DA94 8025F1B4 844295C4 */ lh $v0, -0x6a3c($v0) +/* 18DA98 8025F1B8 3C14802A */ lui $s4, 0x802a +/* 18DA9C 8025F1BC 8E94FAC4 */ lw $s4, -0x53c($s4) +/* 18DAA0 8025F1C0 000210C0 */ sll $v0, $v0, 3 +/* 18DAA4 8025F1C4 3C058009 */ lui $a1, 0x8009 +/* 18DAA8 8025F1C8 00A22821 */ addu $a1, $a1, $v0 +/* 18DAAC 8025F1CC 8CA5A680 */ lw $a1, -0x5980($a1) +/* 18DAB0 8025F1D0 0C0511FF */ jal set_menu_icon_script +/* 18DAB4 8025F1D4 0280202D */ daddu $a0, $s4, $zero +/* 18DAB8 8025F1D8 0280202D */ daddu $a0, $s4, $zero +/* 18DABC 8025F1DC 0C05128B */ jal clear_icon_flags +/* 18DAC0 8025F1E0 24050002 */ addiu $a1, $zero, 2 +/* 18DAC4 8025F1E4 3C053F00 */ lui $a1, 0x3f00 +/* 18DAC8 8025F1E8 0C051308 */ jal func_80144C20 +/* 18DACC 8025F1EC 0280202D */ daddu $a0, $s4, $zero +/* 18DAD0 8025F1F0 0280202D */ daddu $a0, $s4, $zero +/* 18DAD4 8025F1F4 27A50028 */ addiu $a1, $sp, 0x28 +/* 18DAD8 8025F1F8 0C05126B */ jal get_icon_render_pos +/* 18DADC 8025F1FC 27A6002C */ addiu $a2, $sp, 0x2c +/* 18DAE0 8025F200 0280202D */ daddu $a0, $s4, $zero +/* 18DAE4 8025F204 8FA50028 */ lw $a1, 0x28($sp) +/* 18DAE8 8025F208 8FA6002C */ lw $a2, 0x2c($sp) +/* 18DAEC 8025F20C 24A50011 */ addiu $a1, $a1, 0x11 +/* 18DAF0 8025F210 0C051261 */ jal set_icon_render_pos +/* 18DAF4 8025F214 24C6002E */ addiu $a2, $a2, 0x2e +.L8025F218: +/* 18DAF8 8025F218 92A20008 */ lbu $v0, 8($s5) +/* 18DAFC 8025F21C 00023600 */ sll $a2, $v0, 0x18 +/* 18DB00 8025F220 00062E03 */ sra $a1, $a2, 0x18 +/* 18DB04 8025F224 2402001E */ addiu $v0, $zero, 0x1e +/* 18DB08 8025F228 10A20089 */ beq $a1, $v0, .L8025F450 +/* 18DB0C 8025F22C 3C096666 */ lui $t1, 0x6666 +/* 18DB10 8025F230 35296667 */ ori $t1, $t1, 0x6667 +/* 18DB14 8025F234 3C17802A */ lui $s7, 0x802a +/* 18DB18 8025F238 26F7FA90 */ addiu $s7, $s7, -0x570 +/* 18DB1C 8025F23C 00A90018 */ mult $a1, $t1 +/* 18DB20 8025F240 000617C3 */ sra $v0, $a2, 0x1f +/* 18DB24 8025F244 3C118028 */ lui $s1, 0x8028 +/* 18DB28 8025F248 26314238 */ addiu $s1, $s1, 0x4238 +/* 18DB2C 8025F24C AFA90038 */ sw $t1, 0x38($sp) +/* 18DB30 8025F250 8EF4003C */ lw $s4, 0x3c($s7) +/* 18DB34 8025F254 00004810 */ mfhi $t1 +/* 18DB38 8025F258 00091883 */ sra $v1, $t1, 2 +/* 18DB3C 8025F25C 00621823 */ subu $v1, $v1, $v0 +/* 18DB40 8025F260 00031600 */ sll $v0, $v1, 0x18 +/* 18DB44 8025F264 00028603 */ sra $s0, $v0, 0x18 +/* 18DB48 8025F268 00031080 */ sll $v0, $v1, 2 +/* 18DB4C 8025F26C 00431021 */ addu $v0, $v0, $v1 +/* 18DB50 8025F270 00021040 */ sll $v0, $v0, 1 +/* 18DB54 8025F274 00A21023 */ subu $v0, $a1, $v0 +/* 18DB58 8025F278 00021600 */ sll $v0, $v0, 0x18 +/* 18DB5C 8025F27C 00029603 */ sra $s2, $v0, 0x18 +/* 18DB60 8025F280 00101080 */ sll $v0, $s0, 2 +/* 18DB64 8025F284 3C058028 */ lui $a1, 0x8028 +/* 18DB68 8025F288 00A22821 */ addu $a1, $a1, $v0 +/* 18DB6C 8025F28C 8CA54288 */ lw $a1, 0x4288($a1) +/* 18DB70 8025F290 0C0511FF */ jal set_menu_icon_script +/* 18DB74 8025F294 0280202D */ daddu $a0, $s4, $zero +/* 18DB78 8025F298 12000004 */ beqz $s0, .L8025F2AC +/* 18DB7C 8025F29C 0280202D */ daddu $a0, $s4, $zero +/* 18DB80 8025F2A0 0C05128B */ jal clear_icon_flags +/* 18DB84 8025F2A4 24050002 */ addiu $a1, $zero, 2 +/* 18DB88 8025F2A8 0280202D */ daddu $a0, $s4, $zero +.L8025F2AC: +/* 18DB8C 8025F2AC 27B60028 */ addiu $s6, $sp, 0x28 +/* 18DB90 8025F2B0 02C0282D */ daddu $a1, $s6, $zero +/* 18DB94 8025F2B4 27B3002C */ addiu $s3, $sp, 0x2c +/* 18DB98 8025F2B8 0C05126B */ jal get_icon_render_pos +/* 18DB9C 8025F2BC 0260302D */ daddu $a2, $s3, $zero +/* 18DBA0 8025F2C0 0280202D */ daddu $a0, $s4, $zero +/* 18DBA4 8025F2C4 8FA50028 */ lw $a1, 0x28($sp) +/* 18DBA8 8025F2C8 8FA6002C */ lw $a2, 0x2c($sp) +/* 18DBAC 8025F2CC 24A5FFF2 */ addiu $a1, $a1, -0xe +/* 18DBB0 8025F2D0 0C051261 */ jal set_icon_render_pos +/* 18DBB4 8025F2D4 24C6002E */ addiu $a2, $a2, 0x2e +/* 18DBB8 8025F2D8 00121080 */ sll $v0, $s2, 2 +/* 18DBBC 8025F2DC 00511021 */ addu $v0, $v0, $s1 +/* 18DBC0 8025F2E0 8EF40040 */ lw $s4, 0x40($s7) +/* 18DBC4 8025F2E4 8C450050 */ lw $a1, 0x50($v0) +/* 18DBC8 8025F2E8 0C0511FF */ jal set_menu_icon_script +/* 18DBCC 8025F2EC 0280202D */ daddu $a0, $s4, $zero +/* 18DBD0 8025F2F0 0280202D */ daddu $a0, $s4, $zero +/* 18DBD4 8025F2F4 0C05128B */ jal clear_icon_flags +/* 18DBD8 8025F2F8 24050002 */ addiu $a1, $zero, 2 +/* 18DBDC 8025F2FC 0280202D */ daddu $a0, $s4, $zero +/* 18DBE0 8025F300 02C0282D */ daddu $a1, $s6, $zero +/* 18DBE4 8025F304 0C05126B */ jal get_icon_render_pos +/* 18DBE8 8025F308 0260302D */ daddu $a2, $s3, $zero +/* 18DBEC 8025F30C 0280202D */ daddu $a0, $s4, $zero +/* 18DBF0 8025F310 8FA50028 */ lw $a1, 0x28($sp) +/* 18DBF4 8025F314 8FA6002C */ lw $a2, 0x2c($sp) +/* 18DBF8 8025F318 24A5FFF8 */ addiu $a1, $a1, -8 +/* 18DBFC 8025F31C 0C051261 */ jal set_icon_render_pos +/* 18DC00 8025F320 24C6002E */ addiu $a2, $a2, 0x2e +/* 18DC04 8025F324 8EF40044 */ lw $s4, 0x44($s7) +/* 18DC08 8025F328 3C05802B */ lui $a1, 0x802b +/* 18DC0C 8025F32C 24A5AA08 */ addiu $a1, $a1, -0x55f8 +/* 18DC10 8025F330 0C0511FF */ jal set_menu_icon_script +/* 18DC14 8025F334 0280202D */ daddu $a0, $s4, $zero +/* 18DC18 8025F338 0280202D */ daddu $a0, $s4, $zero +/* 18DC1C 8025F33C 0C05128B */ jal clear_icon_flags +/* 18DC20 8025F340 24050002 */ addiu $a1, $zero, 2 +/* 18DC24 8025F344 0280202D */ daddu $a0, $s4, $zero +/* 18DC28 8025F348 02C0282D */ daddu $a1, $s6, $zero +/* 18DC2C 8025F34C 0C05126B */ jal get_icon_render_pos +/* 18DC30 8025F350 0260302D */ daddu $a2, $s3, $zero +/* 18DC34 8025F354 0280202D */ daddu $a0, $s4, $zero +/* 18DC38 8025F358 8FA50028 */ lw $a1, 0x28($sp) +/* 18DC3C 8025F35C 8FA6002C */ lw $a2, 0x2c($sp) +/* 18DC40 8025F360 24A5FFFD */ addiu $a1, $a1, -3 +/* 18DC44 8025F364 0C051261 */ jal set_icon_render_pos +/* 18DC48 8025F368 24C6002E */ addiu $a2, $a2, 0x2e +/* 18DC4C 8025F36C 82A30008 */ lb $v1, 8($s5) +/* 18DC50 8025F370 8FA90038 */ lw $t1, 0x38($sp) +/* 18DC54 8025F374 24630003 */ addiu $v1, $v1, 3 +/* 18DC58 8025F378 00690018 */ mult $v1, $t1 +/* 18DC5C 8025F37C 3C118028 */ lui $s1, 0x8028 +/* 18DC60 8025F380 263141C0 */ addiu $s1, $s1, 0x41c0 +/* 18DC64 8025F384 8EF40048 */ lw $s4, 0x48($s7) +/* 18DC68 8025F388 000317C3 */ sra $v0, $v1, 0x1f +/* 18DC6C 8025F38C 00004810 */ mfhi $t1 +/* 18DC70 8025F390 00092883 */ sra $a1, $t1, 2 +/* 18DC74 8025F394 00A29023 */ subu $s2, $a1, $v0 +/* 18DC78 8025F398 0240802D */ daddu $s0, $s2, $zero +/* 18DC7C 8025F39C 00101080 */ sll $v0, $s0, 2 +/* 18DC80 8025F3A0 00501021 */ addu $v0, $v0, $s0 +/* 18DC84 8025F3A4 00021040 */ sll $v0, $v0, 1 +/* 18DC88 8025F3A8 00629023 */ subu $s2, $v1, $v0 +/* 18DC8C 8025F3AC 00101080 */ sll $v0, $s0, 2 +/* 18DC90 8025F3B0 3C058028 */ lui $a1, 0x8028 +/* 18DC94 8025F3B4 00A22821 */ addu $a1, $a1, $v0 +/* 18DC98 8025F3B8 8CA54210 */ lw $a1, 0x4210($a1) +/* 18DC9C 8025F3BC 0C0511FF */ jal set_menu_icon_script +/* 18DCA0 8025F3C0 0280202D */ daddu $a0, $s4, $zero +/* 18DCA4 8025F3C4 12000004 */ beqz $s0, .L8025F3D8 +/* 18DCA8 8025F3C8 0280202D */ daddu $a0, $s4, $zero +/* 18DCAC 8025F3CC 0C05128B */ jal clear_icon_flags +/* 18DCB0 8025F3D0 24050002 */ addiu $a1, $zero, 2 +/* 18DCB4 8025F3D4 0280202D */ daddu $a0, $s4, $zero +.L8025F3D8: +/* 18DCB8 8025F3D8 02C0282D */ daddu $a1, $s6, $zero +/* 18DCBC 8025F3DC 0C05126B */ jal get_icon_render_pos +/* 18DCC0 8025F3E0 0260302D */ daddu $a2, $s3, $zero +/* 18DCC4 8025F3E4 0280202D */ daddu $a0, $s4, $zero +/* 18DCC8 8025F3E8 8FA50028 */ lw $a1, 0x28($sp) +/* 18DCCC 8025F3EC 8FA6002C */ lw $a2, 0x2c($sp) +/* 18DCD0 8025F3F0 24A50003 */ addiu $a1, $a1, 3 +/* 18DCD4 8025F3F4 0C051261 */ jal set_icon_render_pos +/* 18DCD8 8025F3F8 24C6002E */ addiu $a2, $a2, 0x2e +/* 18DCDC 8025F3FC 00121080 */ sll $v0, $s2, 2 +/* 18DCE0 8025F400 00511021 */ addu $v0, $v0, $s1 +/* 18DCE4 8025F404 8EF4004C */ lw $s4, 0x4c($s7) +/* 18DCE8 8025F408 8C450050 */ lw $a1, 0x50($v0) +/* 18DCEC 8025F40C 0C0511FF */ jal set_menu_icon_script +/* 18DCF0 8025F410 0280202D */ daddu $a0, $s4, $zero +/* 18DCF4 8025F414 0280202D */ daddu $a0, $s4, $zero +/* 18DCF8 8025F418 0C05128B */ jal clear_icon_flags +/* 18DCFC 8025F41C 24050002 */ addiu $a1, $zero, 2 +/* 18DD00 8025F420 0280202D */ daddu $a0, $s4, $zero +/* 18DD04 8025F424 02C0282D */ daddu $a1, $s6, $zero +/* 18DD08 8025F428 0C05126B */ jal get_icon_render_pos +/* 18DD0C 8025F42C 0260302D */ daddu $a2, $s3, $zero +/* 18DD10 8025F430 0280202D */ daddu $a0, $s4, $zero +/* 18DD14 8025F434 8FA50028 */ lw $a1, 0x28($sp) +/* 18DD18 8025F438 8FA6002C */ lw $a2, 0x2c($sp) +/* 18DD1C 8025F43C 24A5000A */ addiu $a1, $a1, 0xa +/* 18DD20 8025F440 0C051261 */ jal set_icon_render_pos +/* 18DD24 8025F444 24C6002E */ addiu $a2, $a2, 0x2e +/* 18DD28 8025F448 08097D3F */ j func_8025F4FC +/* 18DD2C 8025F44C 00000000 */ nop + +.L8025F450: +/* 18DD30 8025F450 3C13802A */ lui $s3, 0x802a +/* 18DD34 8025F454 2673FA90 */ addiu $s3, $s3, -0x570 +/* 18DD38 8025F458 3C128028 */ lui $s2, 0x8028 +/* 18DD3C 8025F45C 265241C0 */ addiu $s2, $s2, 0x41c0 +/* 18DD40 8025F460 8E740048 */ lw $s4, 0x48($s3) +/* 18DD44 8025F464 8E45005C */ lw $a1, 0x5c($s2) +/* 18DD48 8025F468 0C0511FF */ jal set_menu_icon_script +/* 18DD4C 8025F46C 0280202D */ daddu $a0, $s4, $zero +/* 18DD50 8025F470 0280202D */ daddu $a0, $s4, $zero +/* 18DD54 8025F474 0C05128B */ jal clear_icon_flags +/* 18DD58 8025F478 24050002 */ addiu $a1, $zero, 2 +/* 18DD5C 8025F47C 0280202D */ daddu $a0, $s4, $zero +/* 18DD60 8025F480 27B10028 */ addiu $s1, $sp, 0x28 +/* 18DD64 8025F484 0220282D */ daddu $a1, $s1, $zero +/* 18DD68 8025F488 27B0002C */ addiu $s0, $sp, 0x2c +/* 18DD6C 8025F48C 0C05126B */ jal get_icon_render_pos +/* 18DD70 8025F490 0200302D */ daddu $a2, $s0, $zero +/* 18DD74 8025F494 0280202D */ daddu $a0, $s4, $zero +/* 18DD78 8025F498 8FA50028 */ lw $a1, 0x28($sp) +/* 18DD7C 8025F49C 8FA6002C */ lw $a2, 0x2c($sp) +/* 18DD80 8025F4A0 24A5FFFA */ addiu $a1, $a1, -6 +/* 18DD84 8025F4A4 0C051261 */ jal set_icon_render_pos +/* 18DD88 8025F4A8 24C6002E */ addiu $a2, $a2, 0x2e +/* 18DD8C 8025F4AC 8E74004C */ lw $s4, 0x4c($s3) +/* 18DD90 8025F4B0 8E450050 */ lw $a1, 0x50($s2) +/* 18DD94 8025F4B4 0C0511FF */ jal set_menu_icon_script +/* 18DD98 8025F4B8 0280202D */ daddu $a0, $s4, $zero +/* 18DD9C 8025F4BC 0280202D */ daddu $a0, $s4, $zero +/* 18DDA0 8025F4C0 0C05128B */ jal clear_icon_flags +/* 18DDA4 8025F4C4 24050002 */ addiu $a1, $zero, 2 +/* 18DDA8 8025F4C8 0280202D */ daddu $a0, $s4, $zero +/* 18DDAC 8025F4CC 0220282D */ daddu $a1, $s1, $zero +/* 18DDB0 8025F4D0 0C05126B */ jal get_icon_render_pos +/* 18DDB4 8025F4D4 0200302D */ daddu $a2, $s0, $zero +/* 18DDB8 8025F4D8 0280202D */ daddu $a0, $s4, $zero +/* 18DDBC 8025F4DC 8FA50028 */ lw $a1, 0x28($sp) +/* 18DDC0 8025F4E0 8FA6002C */ lw $a2, 0x2c($sp) +/* 18DDC4 8025F4E4 24A50002 */ addiu $a1, $a1, 2 +/* 18DDC8 8025F4E8 0C051261 */ jal set_icon_render_pos +/* 18DDCC 8025F4EC 24C6002E */ addiu $a2, $a2, 0x2e +/* 18DDD0 8025F4F0 24020001 */ addiu $v0, $zero, 1 +/* 18DDD4 8025F4F4 3C01802A */ lui $at, 0x802a +/* 18DDD8 8025F4F8 AC22FB68 */ sw $v0, -0x498($at) +func_8025F4FC: +/* 18DDDC 8025F4FC 3C048029 */ lui $a0, 0x8029 +/* 18DDE0 8025F500 24842C28 */ addiu $a0, $a0, 0x2c28 +/* 18DDE4 8025F504 0C050529 */ jal create_icon +/* 18DDE8 8025F508 00000000 */ nop +/* 18DDEC 8025F50C 0040A02D */ daddu $s4, $v0, $zero +/* 18DDF0 8025F510 3C01802A */ lui $at, 0x802a +/* 18DDF4 8025F514 AC34FAE8 */ sw $s4, -0x518($at) +/* 18DDF8 8025F518 0C0513F6 */ jal func_80144FD8 +/* 18DDFC 8025F51C 0280202D */ daddu $a0, $s4, $zero +/* 18DE00 8025F520 0280202D */ daddu $a0, $s4, $zero +/* 18DE04 8025F524 2405009C */ addiu $a1, $zero, 0x9c +/* 18DE08 8025F528 0C051261 */ jal set_icon_render_pos +/* 18DE0C 8025F52C 2406000D */ addiu $a2, $zero, 0xd +/* 18DE10 8025F530 0280202D */ daddu $a0, $s4, $zero +/* 18DE14 8025F534 240500FF */ addiu $a1, $zero, 0xff +/* 18DE18 8025F538 00A0302D */ daddu $a2, $a1, $zero +/* 18DE1C 8025F53C 0C0513BF */ jal func_80144EFC +/* 18DE20 8025F540 00A0382D */ daddu $a3, $a1, $zero +/* 18DE24 8025F544 0280202D */ daddu $a0, $s4, $zero +/* 18DE28 8025F548 0000282D */ daddu $a1, $zero, $zero +/* 18DE2C 8025F54C 0C05149D */ jal func_80145274 +/* 18DE30 8025F550 2406FFDD */ addiu $a2, $zero, -0x23 +/* 18DE34 8025F554 44800000 */ mtc1 $zero, $f0 +/* 18DE38 8025F558 0280202D */ daddu $a0, $s4, $zero +/* 18DE3C 8025F55C 44050000 */ mfc1 $a1, $f0 +/* 18DE40 8025F560 3C074334 */ lui $a3, 0x4334 +/* 18DE44 8025F564 0C051489 */ jal func_80145224 +/* 18DE48 8025F568 00A0302D */ daddu $a2, $a1, $zero +/* 18DE4C 8025F56C 3C013F80 */ lui $at, 0x3f80 +/* 18DE50 8025F570 44810000 */ mtc1 $at, $f0 +/* 18DE54 8025F574 0280202D */ daddu $a0, $s4, $zero +/* 18DE58 8025F578 44050000 */ mfc1 $a1, $f0 +/* 18DE5C 8025F57C 3C063FC0 */ lui $a2, 0x3fc0 +/* 18DE60 8025F580 0C051475 */ jal func_801451D4 +/* 18DE64 8025F584 00A0382D */ daddu $a3, $a1, $zero +/* 18DE68 8025F588 0280202D */ daddu $a0, $s4, $zero +/* 18DE6C 8025F58C 0C0513AC */ jal func_80144EB0 +/* 18DE70 8025F590 240500C8 */ addiu $a1, $zero, 0xc8 +/* 18DE74 8025F594 0280202D */ daddu $a0, $s4, $zero +/* 18DE78 8025F598 0C051280 */ jal set_icon_flags +/* 18DE7C 8025F59C 34058080 */ ori $a1, $zero, 0x8080 +/* 18DE80 8025F5A0 3C04802B */ lui $a0, 0x802b +/* 18DE84 8025F5A4 2484AA30 */ addiu $a0, $a0, -0x55d0 +/* 18DE88 8025F5A8 0C050529 */ jal create_icon +/* 18DE8C 8025F5AC 00000000 */ nop +/* 18DE90 8025F5B0 0040A02D */ daddu $s4, $v0, $zero +/* 18DE94 8025F5B4 0280202D */ daddu $a0, $s4, $zero +/* 18DE98 8025F5B8 0000282D */ daddu $a1, $zero, $zero +/* 18DE9C 8025F5BC 3C01802A */ lui $at, 0x802a +/* 18DEA0 8025F5C0 AC34FB48 */ sw $s4, -0x4b8($at) +/* 18DEA4 8025F5C4 0C051261 */ jal set_icon_render_pos +/* 18DEA8 8025F5C8 00A0302D */ daddu $a2, $a1, $zero +/* 18DEAC 8025F5CC 0280202D */ daddu $a0, $s4, $zero +/* 18DEB0 8025F5D0 0C051280 */ jal set_icon_flags +/* 18DEB4 8025F5D4 24050080 */ addiu $a1, $zero, 0x80 +/* 18DEB8 8025F5D8 24020001 */ addiu $v0, $zero, 1 +/* 18DEBC 8025F5DC A3C20048 */ sb $v0, 0x48($fp) +/* 18DEC0 8025F5E0 2402000A */ addiu $v0, $zero, 0xa +/* 18DEC4 8025F5E4 3C01802A */ lui $at, 0x802a +/* 18DEC8 8025F5E8 AC22FB4C */ sw $v0, -0x4b4($at) +/* 18DECC 8025F5EC 08097FD0 */ j func_8025FF40 +/* 18DED0 8025F5F0 24020007 */ addiu $v0, $zero, 7 + +/* 18DED4 8025F5F4 27A50028 */ addiu $a1, $sp, 0x28 +/* 18DED8 8025F5F8 27A6002C */ addiu $a2, $sp, 0x2c +/* 18DEDC 8025F5FC 0000982D */ daddu $s3, $zero, $zero +/* 18DEE0 8025F600 3C14802A */ lui $s4, 0x802a +/* 18DEE4 8025F604 8E94FA80 */ lw $s4, -0x580($s4) +/* 18DEE8 8025F608 3C10802A */ lui $s0, 0x802a +/* 18DEEC 8025F60C 2610FA90 */ addiu $s0, $s0, -0x570 +/* 18DEF0 8025F610 0C05126B */ jal get_icon_render_pos +/* 18DEF4 8025F614 0280202D */ daddu $a0, $s4, $zero +/* 18DEF8 8025F618 0280202D */ daddu $a0, $s4, $zero +/* 18DEFC 8025F61C 8FA50028 */ lw $a1, 0x28($sp) +/* 18DF00 8025F620 8FA6002C */ lw $a2, 0x2c($sp) +/* 18DF04 8025F624 24A5FFEC */ addiu $a1, $a1, -0x14 +/* 18DF08 8025F628 0C051261 */ jal set_icon_render_pos +/* 18DF0C 8025F62C AFA50028 */ sw $a1, 0x28($sp) +/* 18DF10 8025F630 27A50028 */ addiu $a1, $sp, 0x28 +.L8025F634: +/* 18DF14 8025F634 27A6002C */ addiu $a2, $sp, 0x2c +/* 18DF18 8025F638 8E14001C */ lw $s4, 0x1c($s0) +/* 18DF1C 8025F63C 26100004 */ addiu $s0, $s0, 4 +/* 18DF20 8025F640 26730001 */ addiu $s3, $s3, 1 +/* 18DF24 8025F644 0C05126B */ jal get_icon_render_pos +/* 18DF28 8025F648 0280202D */ daddu $a0, $s4, $zero +/* 18DF2C 8025F64C 0280202D */ daddu $a0, $s4, $zero +/* 18DF30 8025F650 8FA50028 */ lw $a1, 0x28($sp) +/* 18DF34 8025F654 8FA6002C */ lw $a2, 0x2c($sp) +/* 18DF38 8025F658 24A5FFEC */ addiu $a1, $a1, -0x14 +/* 18DF3C 8025F65C 0C051261 */ jal set_icon_render_pos +/* 18DF40 8025F660 AFA50028 */ sw $a1, 0x28($sp) +/* 18DF44 8025F664 2A620007 */ slti $v0, $s3, 7 +/* 18DF48 8025F668 1440FFF2 */ bnez $v0, .L8025F634 +/* 18DF4C 8025F66C 27A50028 */ addiu $a1, $sp, 0x28 +/* 18DF50 8025F670 27B10028 */ addiu $s1, $sp, 0x28 +/* 18DF54 8025F674 0220282D */ daddu $a1, $s1, $zero +/* 18DF58 8025F678 27B2002C */ addiu $s2, $sp, 0x2c +/* 18DF5C 8025F67C 0240302D */ daddu $a2, $s2, $zero +/* 18DF60 8025F680 0000982D */ daddu $s3, $zero, $zero +/* 18DF64 8025F684 3C10802A */ lui $s0, 0x802a +/* 18DF68 8025F688 2610FA80 */ addiu $s0, $s0, -0x580 +/* 18DF6C 8025F68C 8E140004 */ lw $s4, 4($s0) +/* 18DF70 8025F690 3C15802A */ lui $s5, 0x802a +/* 18DF74 8025F694 26B5FA90 */ addiu $s5, $s5, -0x570 +/* 18DF78 8025F698 0C05126B */ jal get_icon_render_pos +/* 18DF7C 8025F69C 0280202D */ daddu $a0, $s4, $zero +/* 18DF80 8025F6A0 0280202D */ daddu $a0, $s4, $zero +/* 18DF84 8025F6A4 8FA6002C */ lw $a2, 0x2c($sp) +/* 18DF88 8025F6A8 8FA50028 */ lw $a1, 0x28($sp) +/* 18DF8C 8025F6AC 24C6FFEC */ addiu $a2, $a2, -0x14 +/* 18DF90 8025F6B0 0C051261 */ jal set_icon_render_pos +/* 18DF94 8025F6B4 AFA6002C */ sw $a2, 0x2c($sp) +/* 18DF98 8025F6B8 0220282D */ daddu $a1, $s1, $zero +/* 18DF9C 8025F6BC 8E14000C */ lw $s4, 0xc($s0) +/* 18DFA0 8025F6C0 0240302D */ daddu $a2, $s2, $zero +/* 18DFA4 8025F6C4 0C05126B */ jal get_icon_render_pos +/* 18DFA8 8025F6C8 0280202D */ daddu $a0, $s4, $zero +/* 18DFAC 8025F6CC 0280202D */ daddu $a0, $s4, $zero +/* 18DFB0 8025F6D0 8FA6002C */ lw $a2, 0x2c($sp) +/* 18DFB4 8025F6D4 8FA50028 */ lw $a1, 0x28($sp) +/* 18DFB8 8025F6D8 24C6FFEC */ addiu $a2, $a2, -0x14 +/* 18DFBC 8025F6DC 0C051261 */ jal set_icon_render_pos +/* 18DFC0 8025F6E0 AFA6002C */ sw $a2, 0x2c($sp) +/* 18DFC4 8025F6E4 27A50028 */ addiu $a1, $sp, 0x28 +.L8025F6E8: +/* 18DFC8 8025F6E8 27A6002C */ addiu $a2, $sp, 0x2c +/* 18DFCC 8025F6EC 8EB40000 */ lw $s4, ($s5) +/* 18DFD0 8025F6F0 26B50004 */ addiu $s5, $s5, 4 +/* 18DFD4 8025F6F4 26730001 */ addiu $s3, $s3, 1 +/* 18DFD8 8025F6F8 0C05126B */ jal get_icon_render_pos +/* 18DFDC 8025F6FC 0280202D */ daddu $a0, $s4, $zero +/* 18DFE0 8025F700 0280202D */ daddu $a0, $s4, $zero +/* 18DFE4 8025F704 8FA6002C */ lw $a2, 0x2c($sp) +/* 18DFE8 8025F708 8FA50028 */ lw $a1, 0x28($sp) +/* 18DFEC 8025F70C 24C6FFEC */ addiu $a2, $a2, -0x14 +/* 18DFF0 8025F710 0C051261 */ jal set_icon_render_pos +/* 18DFF4 8025F714 AFA6002C */ sw $a2, 0x2c($sp) +/* 18DFF8 8025F718 2A620007 */ slti $v0, $s3, 7 +/* 18DFFC 8025F71C 1440FFF2 */ bnez $v0, .L8025F6E8 +/* 18E000 8025F720 27A50028 */ addiu $a1, $sp, 0x28 +/* 18E004 8025F724 27A6002C */ addiu $a2, $sp, 0x2c +/* 18E008 8025F728 0000982D */ daddu $s3, $zero, $zero +/* 18E00C 8025F72C 3C14802A */ lui $s4, 0x802a +/* 18E010 8025F730 8E94FA88 */ lw $s4, -0x578($s4) +/* 18E014 8025F734 3C10802A */ lui $s0, 0x802a +/* 18E018 8025F738 2610FA90 */ addiu $s0, $s0, -0x570 +/* 18E01C 8025F73C 0C05126B */ jal get_icon_render_pos +/* 18E020 8025F740 0280202D */ daddu $a0, $s4, $zero +/* 18E024 8025F744 0280202D */ daddu $a0, $s4, $zero +/* 18E028 8025F748 8FA50028 */ lw $a1, 0x28($sp) +/* 18E02C 8025F74C 8FA6002C */ lw $a2, 0x2c($sp) +/* 18E030 8025F750 24A50014 */ addiu $a1, $a1, 0x14 +/* 18E034 8025F754 0C051261 */ jal set_icon_render_pos +/* 18E038 8025F758 AFA50028 */ sw $a1, 0x28($sp) +/* 18E03C 8025F75C 27A50028 */ addiu $a1, $sp, 0x28 +.L8025F760: +/* 18E040 8025F760 27A6002C */ addiu $a2, $sp, 0x2c +/* 18E044 8025F764 8E140038 */ lw $s4, 0x38($s0) +/* 18E048 8025F768 26100004 */ addiu $s0, $s0, 4 +/* 18E04C 8025F76C 26730001 */ addiu $s3, $s3, 1 +/* 18E050 8025F770 0C05126B */ jal get_icon_render_pos +/* 18E054 8025F774 0280202D */ daddu $a0, $s4, $zero +/* 18E058 8025F778 0280202D */ daddu $a0, $s4, $zero +/* 18E05C 8025F77C 8FA50028 */ lw $a1, 0x28($sp) +/* 18E060 8025F780 8FA6002C */ lw $a2, 0x2c($sp) +/* 18E064 8025F784 24A50014 */ addiu $a1, $a1, 0x14 +/* 18E068 8025F788 0C051261 */ jal set_icon_render_pos +/* 18E06C 8025F78C AFA50028 */ sw $a1, 0x28($sp) +/* 18E070 8025F790 2A620007 */ slti $v0, $s3, 7 +/* 18E074 8025F794 1440FFF2 */ bnez $v0, .L8025F760 +/* 18E078 8025F798 27A50028 */ addiu $a1, $sp, 0x28 +/* 18E07C 8025F79C 3C03802A */ lui $v1, 0x802a +/* 18E080 8025F7A0 2463FB4C */ addiu $v1, $v1, -0x4b4 +/* 18E084 8025F7A4 8C620000 */ lw $v0, ($v1) +/* 18E088 8025F7A8 2442FFFF */ addiu $v0, $v0, -1 +/* 18E08C 8025F7AC 144001E6 */ bnez $v0, .L8025FF48 +/* 18E090 8025F7B0 AC620000 */ sw $v0, ($v1) +/* 18E094 8025F7B4 0280202D */ daddu $a0, $s4, $zero +/* 18E098 8025F7B8 24050080 */ addiu $a1, $zero, 0x80 +/* 18E09C 8025F7BC 00A0302D */ daddu $a2, $a1, $zero +/* 18E0A0 8025F7C0 0C0513BF */ jal func_80144EFC +/* 18E0A4 8025F7C4 00A0382D */ daddu $a3, $a1, $zero +/* 18E0A8 8025F7C8 24040008 */ addiu $a0, $zero, 8 +/* 18E0AC 8025F7CC 24050014 */ addiu $a1, $zero, 0x14 +/* 18E0B0 8025F7D0 240600BA */ addiu $a2, $zero, 0xba +/* 18E0B4 8025F7D4 24070118 */ addiu $a3, $zero, 0x118 +/* 18E0B8 8025F7D8 00A0182D */ daddu $v1, $a1, $zero +/* 18E0BC 8025F7DC 00C0102D */ daddu $v0, $a2, $zero +/* 18E0C0 8025F7E0 AFA2002C */ sw $v0, 0x2c($sp) +/* 18E0C4 8025F7E4 24020020 */ addiu $v0, $zero, 0x20 +/* 18E0C8 8025F7E8 AFA30028 */ sw $v1, 0x28($sp) +/* 18E0CC 8025F7EC AFA20010 */ sw $v0, 0x10($sp) +/* 18E0D0 8025F7F0 3C028026 */ lui $v0, 0x8026 +/* 18E0D4 8025F7F4 24420948 */ addiu $v0, $v0, 0x948 +/* 18E0D8 8025F7F8 AFA20018 */ sw $v0, 0x18($sp) +/* 18E0DC 8025F7FC 2402FFFF */ addiu $v0, $zero, -1 +/* 18E0E0 8025F800 AFA30014 */ sw $v1, 0x14($sp) +/* 18E0E4 8025F804 AFA0001C */ sw $zero, 0x1c($sp) +/* 18E0E8 8025F808 0C051F32 */ jal func_80147CC8 +/* 18E0EC 8025F80C AFA20020 */ sw $v0, 0x20($sp) +/* 18E0F0 8025F810 24040008 */ addiu $a0, $zero, 8 +/* 18E0F4 8025F814 0C051F9F */ jal func_80147E7C +/* 18E0F8 8025F818 24050001 */ addiu $a1, $zero, 1 +/* 18E0FC 8025F81C 08097FD0 */ j func_8025FF40 +/* 18E100 8025F820 24020008 */ addiu $v0, $zero, 8 + +/* 18E104 8025F824 8FC20214 */ lw $v0, 0x214($fp) +/* 18E108 8025F828 30428000 */ andi $v0, $v0, 0x8000 +/* 18E10C 8025F82C 10400012 */ beqz $v0, .L8025F878 +/* 18E110 8025F830 00000000 */ nop +/* 18E114 8025F834 83C20048 */ lb $v0, 0x48($fp) +/* 18E118 8025F838 00021080 */ sll $v0, $v0, 2 +/* 18E11C 8025F83C 3C01802A */ lui $at, 0x802a +/* 18E120 8025F840 00220821 */ addu $at, $at, $v0 +/* 18E124 8025F844 8C22FB60 */ lw $v0, -0x4a0($at) +/* 18E128 8025F848 14400007 */ bnez $v0, .L8025F868 +/* 18E12C 8025F84C 00000000 */ nop +/* 18E130 8025F850 0C05272D */ jal play_sound +/* 18E134 8025F854 240400C9 */ addiu $a0, $zero, 0xc9 +/* 18E138 8025F858 0C05272D */ jal play_sound +/* 18E13C 8025F85C 24040749 */ addiu $a0, $zero, 0x749 +/* 18E140 8025F860 08097FD0 */ j func_8025FF40 +/* 18E144 8025F864 24020009 */ addiu $v0, $zero, 9 + +.L8025F868: +/* 18E148 8025F868 0C05272D */ jal play_sound +/* 18E14C 8025F86C 2404021D */ addiu $a0, $zero, 0x21d +/* 18E150 8025F870 08097FD0 */ j func_8025FF40 +/* 18E154 8025F874 2402000F */ addiu $v0, $zero, 0xf + +.L8025F878: +/* 18E158 8025F878 93C20048 */ lbu $v0, 0x48($fp) +/* 18E15C 8025F87C 8FC30218 */ lw $v1, 0x218($fp) +/* 18E160 8025F880 00022600 */ sll $a0, $v0, 0x18 +/* 18E164 8025F884 3C020004 */ lui $v0, 4 +/* 18E168 8025F888 00621024 */ and $v0, $v1, $v0 +/* 18E16C 8025F88C 10400002 */ beqz $v0, .L8025F898 +/* 18E170 8025F890 00048603 */ sra $s0, $a0, 0x18 +/* 18E174 8025F894 2610FFFF */ addiu $s0, $s0, -1 +.L8025F898: +/* 18E178 8025F898 3C020008 */ lui $v0, 8 +/* 18E17C 8025F89C 00621024 */ and $v0, $v1, $v0 +/* 18E180 8025F8A0 54400001 */ bnezl $v0, .L8025F8A8 +/* 18E184 8025F8A4 26100001 */ addiu $s0, $s0, 1 +.L8025F8A8: +/* 18E188 8025F8A8 06020001 */ bltzl $s0, .L8025F8B0 +/* 18E18C 8025F8AC 0000802D */ daddu $s0, $zero, $zero +.L8025F8B0: +/* 18E190 8025F8B0 2A020003 */ slti $v0, $s0, 3 +/* 18E194 8025F8B4 50400001 */ beql $v0, $zero, .L8025F8BC +/* 18E198 8025F8B8 24100002 */ addiu $s0, $zero, 2 +.L8025F8BC: +/* 18E19C 8025F8BC 00041603 */ sra $v0, $a0, 0x18 +/* 18E1A0 8025F8C0 12020004 */ beq $s0, $v0, .L8025F8D4 +/* 18E1A4 8025F8C4 00000000 */ nop +/* 18E1A8 8025F8C8 0C05272D */ jal play_sound +/* 18E1AC 8025F8CC 240400C7 */ addiu $a0, $zero, 0xc7 +/* 18E1B0 8025F8D0 A3D00048 */ sb $s0, 0x48($fp) +.L8025F8D4: +/* 18E1B4 8025F8D4 3C10802A */ lui $s0, 0x802a +/* 18E1B8 8025F8D8 2610FB84 */ addiu $s0, $s0, -0x47c +/* 18E1BC 8025F8DC 8E020000 */ lw $v0, ($s0) +/* 18E1C0 8025F8E0 24420001 */ addiu $v0, $v0, 1 +/* 18E1C4 8025F8E4 AE020000 */ sw $v0, ($s0) +/* 18E1C8 8025F8E8 28420065 */ slti $v0, $v0, 0x65 +/* 18E1CC 8025F8EC 14400196 */ bnez $v0, .L8025FF48 +/* 18E1D0 8025F8F0 24020078 */ addiu $v0, $zero, 0x78 +/* 18E1D4 8025F8F4 24040003 */ addiu $a0, $zero, 3 +/* 18E1D8 8025F8F8 44800000 */ mtc1 $zero, $f0 +/* 18E1DC 8025F8FC 3C0642C8 */ lui $a2, 0x42c8 +/* 18E1E0 8025F900 AFA20014 */ sw $v0, 0x14($sp) +/* 18E1E4 8025F904 44050000 */ mfc1 $a1, $f0 +/* 18E1E8 8025F908 3C013F80 */ lui $at, 0x3f80 +/* 18E1EC 8025F90C 44810000 */ mtc1 $at, $f0 +/* 18E1F0 8025F910 00A0382D */ daddu $a3, $a1, $zero +/* 18E1F4 8025F914 0C01C484 */ jal func_80071210 +/* 18E1F8 8025F918 E7A00010 */ swc1 $f0, 0x10($sp) +/* 18E1FC 8025F91C 08097FD2 */ j func_8025FF48 +/* 18E200 8025F920 AE000000 */ sw $zero, ($s0) + +/* 18E204 8025F924 3C04802A */ lui $a0, 0x802a +/* 18E208 8025F928 8C84FAE8 */ lw $a0, -0x518($a0) +/* 18E20C 8025F92C 0C05123D */ jal free_icon +/* 18E210 8025F930 00000000 */ nop +/* 18E214 8025F934 24040008 */ addiu $a0, $zero, 8 +/* 18E218 8025F938 0C051F9F */ jal func_80147E7C +/* 18E21C 8025F93C 24050002 */ addiu $a1, $zero, 2 +/* 18E220 8025F940 83C30048 */ lb $v1, 0x48($fp) +/* 18E224 8025F944 24020001 */ addiu $v0, $zero, 1 +/* 18E228 8025F948 10620024 */ beq $v1, $v0, .L8025F9DC +/* 18E22C 8025F94C 28620002 */ slti $v0, $v1, 2 +/* 18E230 8025F950 10400005 */ beqz $v0, .L8025F968 +/* 18E234 8025F954 24020002 */ addiu $v0, $zero, 2 +/* 18E238 8025F958 10600007 */ beqz $v1, .L8025F978 +/* 18E23C 8025F95C 0000202D */ daddu $a0, $zero, $zero +/* 18E240 8025F960 08097E99 */ j func_8025FA64 +/* 18E244 8025F964 0080282D */ daddu $a1, $a0, $zero + +.L8025F968: +/* 18E248 8025F968 10620032 */ beq $v1, $v0, .L8025FA34 +/* 18E24C 8025F96C 0000202D */ daddu $a0, $zero, $zero +/* 18E250 8025F970 08097E99 */ j func_8025FA64 +/* 18E254 8025F974 0080282D */ daddu $a1, $a0, $zero + +.L8025F978: +/* 18E258 8025F978 92A20004 */ lbu $v0, 4($s5) +/* 18E25C 8025F97C 92A30003 */ lbu $v1, 3($s5) +/* 18E260 8025F980 24420005 */ addiu $v0, $v0, 5 +/* 18E264 8025F984 A2A20004 */ sb $v0, 4($s5) +/* 18E268 8025F988 92A20002 */ lbu $v0, 2($s5) +/* 18E26C 8025F98C 24630005 */ addiu $v1, $v1, 5 +/* 18E270 8025F990 A2A30003 */ sb $v1, 3($s5) +/* 18E274 8025F994 82A30003 */ lb $v1, 3($s5) +/* 18E278 8025F998 24420005 */ addiu $v0, $v0, 5 +/* 18E27C 8025F99C 2863004C */ slti $v1, $v1, 0x4c +/* 18E280 8025F9A0 14600003 */ bnez $v1, .L8025F9B0 +/* 18E284 8025F9A4 A2A20002 */ sb $v0, 2($s5) +/* 18E288 8025F9A8 2402004B */ addiu $v0, $zero, 0x4b +/* 18E28C 8025F9AC A2A20003 */ sb $v0, 3($s5) +.L8025F9B0: +/* 18E290 8025F9B0 82A30002 */ lb $v1, 2($s5) +/* 18E294 8025F9B4 82A20003 */ lb $v0, 3($s5) +/* 18E298 8025F9B8 0043102A */ slt $v0, $v0, $v1 +/* 18E29C 8025F9BC 92A30003 */ lbu $v1, 3($s5) +/* 18E2A0 8025F9C0 54400001 */ bnezl $v0, .L8025F9C8 +/* 18E2A4 8025F9C4 A2A30002 */ sb $v1, 2($s5) +.L8025F9C8: +/* 18E2A8 8025F9C8 92A20003 */ lbu $v0, 3($s5) +/* 18E2AC 8025F9CC A22201B9 */ sb $v0, 0x1b9($s1) +/* 18E2B0 8025F9D0 92A20002 */ lbu $v0, 2($s5) +/* 18E2B4 8025F9D4 08097E97 */ j func_8025FA5C +/* 18E2B8 8025F9D8 A22201B8 */ sb $v0, 0x1b8($s1) + +.L8025F9DC: +/* 18E2BC 8025F9DC 92A20007 */ lbu $v0, 7($s5) +/* 18E2C0 8025F9E0 92A30006 */ lbu $v1, 6($s5) +/* 18E2C4 8025F9E4 24420005 */ addiu $v0, $v0, 5 +/* 18E2C8 8025F9E8 A2A20007 */ sb $v0, 7($s5) +/* 18E2CC 8025F9EC 92A20005 */ lbu $v0, 5($s5) +/* 18E2D0 8025F9F0 24630005 */ addiu $v1, $v1, 5 +/* 18E2D4 8025F9F4 A2A30006 */ sb $v1, 6($s5) +/* 18E2D8 8025F9F8 82A30006 */ lb $v1, 6($s5) +/* 18E2DC 8025F9FC 24420005 */ addiu $v0, $v0, 5 +/* 18E2E0 8025FA00 2863004C */ slti $v1, $v1, 0x4c +/* 18E2E4 8025FA04 14600003 */ bnez $v1, .L8025FA14 +/* 18E2E8 8025FA08 A2A20005 */ sb $v0, 5($s5) +/* 18E2EC 8025FA0C 2402004B */ addiu $v0, $zero, 0x4b +/* 18E2F0 8025FA10 A2A20006 */ sb $v0, 6($s5) +.L8025FA14: +/* 18E2F4 8025FA14 82A30005 */ lb $v1, 5($s5) +/* 18E2F8 8025FA18 82A20006 */ lb $v0, 6($s5) +/* 18E2FC 8025FA1C 0043102A */ slt $v0, $v0, $v1 +/* 18E300 8025FA20 92A30006 */ lbu $v1, 6($s5) +/* 18E304 8025FA24 5440000D */ bnezl $v0, .L8025FA5C +/* 18E308 8025FA28 A2A30005 */ sb $v1, 5($s5) +/* 18E30C 8025FA2C 08097E98 */ j func_8025FA60 +/* 18E310 8025FA30 0000202D */ daddu $a0, $zero, $zero + +.L8025FA34: +/* 18E314 8025FA34 92A20008 */ lbu $v0, 8($s5) +/* 18E318 8025FA38 24420003 */ addiu $v0, $v0, 3 +/* 18E31C 8025FA3C A2A20008 */ sb $v0, 8($s5) +/* 18E320 8025FA40 00021600 */ sll $v0, $v0, 0x18 +/* 18E324 8025FA44 00021603 */ sra $v0, $v0, 0x18 +/* 18E328 8025FA48 2842001F */ slti $v0, $v0, 0x1f +/* 18E32C 8025FA4C 14400005 */ bnez $v0, .L8025FA64 +/* 18E330 8025FA50 0080282D */ daddu $a1, $a0, $zero +/* 18E334 8025FA54 2402001E */ addiu $v0, $zero, 0x1e +/* 18E338 8025FA58 A2A20008 */ sb $v0, 8($s5) +func_8025FA5C: +.L8025FA5C: +/* 18E33C 8025FA5C 0000202D */ daddu $a0, $zero, $zero +func_8025FA60: +/* 18E340 8025FA60 0080282D */ daddu $a1, $a0, $zero +func_8025FA64: +.L8025FA64: +/* 18E344 8025FA64 3C060003 */ lui $a2, 3 +/* 18E348 8025FA68 0C098F3F */ jal set_animation +/* 18E34C 8025FA6C 34C60009 */ ori $a2, $a2, 9 +/* 18E350 8025FA70 1240000A */ beqz $s2, .L8025FA9C +/* 18E354 8025FA74 2405000A */ addiu $a1, $zero, 0xa +/* 18E358 8025FA78 8E4401C4 */ lw $a0, 0x1c4($s2) +/* 18E35C 8025FA7C 0C0B0CF8 */ jal start_script +/* 18E360 8025FA80 0000302D */ daddu $a2, $zero, $zero +/* 18E364 8025FA84 0040282D */ daddu $a1, $v0, $zero +/* 18E368 8025FA88 AE4501D4 */ sw $a1, 0x1d4($s2) +/* 18E36C 8025FA8C 8CA20144 */ lw $v0, 0x144($a1) +/* 18E370 8025FA90 AE4201E4 */ sw $v0, 0x1e4($s2) +/* 18E374 8025FA94 24020100 */ addiu $v0, $zero, 0x100 +/* 18E378 8025FA98 ACA20148 */ sw $v0, 0x148($a1) +.L8025FA9C: +/* 18E37C 8025FA9C 3C02800E */ lui $v0, 0x800e +/* 18E380 8025FAA0 8C42C074 */ lw $v0, -0x3f8c($v0) +/* 18E384 8025FAA4 3C030200 */ lui $v1, 0x200 +/* 18E388 8025FAA8 00431024 */ and $v0, $v0, $v1 +/* 18E38C 8025FAAC 14400007 */ bnez $v0, .L8025FACC +/* 18E390 8025FAB0 24020008 */ addiu $v0, $zero, 8 +/* 18E394 8025FAB4 AFA20010 */ sw $v0, 0x10($sp) +/* 18E398 8025FAB8 0000202D */ daddu $a0, $zero, $zero +/* 18E39C 8025FABC 2405FFFF */ addiu $a1, $zero, -1 +/* 18E3A0 8025FAC0 0080302D */ daddu $a2, $a0, $zero +/* 18E3A4 8025FAC4 0C052A46 */ jal set_music_track +/* 18E3A8 8025FAC8 240707D0 */ addiu $a3, $zero, 0x7d0 +.L8025FACC: +/* 18E3AC 8025FACC 3C018028 */ lui $at, 0x8028 +/* 18E3B0 8025FAD0 AC204150 */ sw $zero, 0x4150($at) +/* 18E3B4 8025FAD4 08097FD0 */ j func_8025FF40 +/* 18E3B8 8025FAD8 2402000A */ addiu $v0, $zero, 0xa + +/* 18E3BC 8025FADC 3C028007 */ lui $v0, 0x8007 +/* 18E3C0 8025FAE0 8C42419C */ lw $v0, 0x419c($v0) +/* 18E3C4 8025FAE4 94420134 */ lhu $v0, 0x134($v0) +/* 18E3C8 8025FAE8 30420001 */ andi $v0, $v0, 1 +/* 18E3CC 8025FAEC 10400020 */ beqz $v0, .L8025FB70 +/* 18E3D0 8025FAF0 24020001 */ addiu $v0, $zero, 1 +/* 18E3D4 8025FAF4 83C30048 */ lb $v1, 0x48($fp) +/* 18E3D8 8025FAF8 1062000F */ beq $v1, $v0, .L8025FB38 +/* 18E3DC 8025FAFC 28620002 */ slti $v0, $v1, 2 +/* 18E3E0 8025FB00 10400005 */ beqz $v0, .L8025FB18 +/* 18E3E4 8025FB04 24020002 */ addiu $v0, $zero, 2 +/* 18E3E8 8025FB08 10600007 */ beqz $v1, .L8025FB28 +/* 18E3EC 8025FB0C 00000000 */ nop +/* 18E3F0 8025FB10 08097EF9 */ j func_8025FBE4 +/* 18E3F4 8025FB14 00000000 */ nop + +.L8025FB18: +/* 18E3F8 8025FB18 1062000F */ beq $v1, $v0, .L8025FB58 +/* 18E3FC 8025FB1C 00000000 */ nop +/* 18E400 8025FB20 08097EF9 */ j func_8025FBE4 +/* 18E404 8025FB24 00000000 */ nop + +.L8025FB28: +/* 18E408 8025FB28 3C04802A */ lui $a0, 0x802a +/* 18E40C 8025FB2C 8C84FA80 */ lw $a0, -0x580($a0) +/* 18E410 8025FB30 08097ED8 */ j func_8025FB60 +/* 18E414 8025FB34 00000000 */ nop + +.L8025FB38: +/* 18E418 8025FB38 3C10802A */ lui $s0, 0x802a +/* 18E41C 8025FB3C 2610FA80 */ addiu $s0, $s0, -0x580 +/* 18E420 8025FB40 8E040004 */ lw $a0, 4($s0) +/* 18E424 8025FB44 0C051280 */ jal set_icon_flags +/* 18E428 8025FB48 24050002 */ addiu $a1, $zero, 2 +/* 18E42C 8025FB4C 8E04000C */ lw $a0, 0xc($s0) +/* 18E430 8025FB50 08097ED8 */ j func_8025FB60 +/* 18E434 8025FB54 00000000 */ nop + +.L8025FB58: +/* 18E438 8025FB58 3C04802A */ lui $a0, 0x802a +/* 18E43C 8025FB5C 8C84FA88 */ lw $a0, -0x578($a0) +func_8025FB60: +/* 18E440 8025FB60 0C051280 */ jal set_icon_flags +/* 18E444 8025FB64 24050002 */ addiu $a1, $zero, 2 +/* 18E448 8025FB68 08097EF9 */ j func_8025FBE4 +/* 18E44C 8025FB6C 00000000 */ nop + +.L8025FB70: +/* 18E450 8025FB70 83C30048 */ lb $v1, 0x48($fp) +/* 18E454 8025FB74 1062000F */ beq $v1, $v0, .L8025FBB4 +/* 18E458 8025FB78 28620002 */ slti $v0, $v1, 2 +/* 18E45C 8025FB7C 10400005 */ beqz $v0, .L8025FB94 +/* 18E460 8025FB80 24020002 */ addiu $v0, $zero, 2 +/* 18E464 8025FB84 10600007 */ beqz $v1, .L8025FBA4 +/* 18E468 8025FB88 00000000 */ nop +/* 18E46C 8025FB8C 08097EF9 */ j func_8025FBE4 +/* 18E470 8025FB90 00000000 */ nop + +.L8025FB94: +/* 18E474 8025FB94 1062000F */ beq $v1, $v0, .L8025FBD4 +/* 18E478 8025FB98 00000000 */ nop +/* 18E47C 8025FB9C 08097EF9 */ j func_8025FBE4 +/* 18E480 8025FBA0 00000000 */ nop + +.L8025FBA4: +/* 18E484 8025FBA4 3C04802A */ lui $a0, 0x802a +/* 18E488 8025FBA8 8C84FA80 */ lw $a0, -0x580($a0) +/* 18E48C 8025FBAC 08097EF7 */ j func_8025FBDC +/* 18E490 8025FBB0 00000000 */ nop + +.L8025FBB4: +/* 18E494 8025FBB4 3C10802A */ lui $s0, 0x802a +/* 18E498 8025FBB8 2610FA80 */ addiu $s0, $s0, -0x580 +/* 18E49C 8025FBBC 8E040004 */ lw $a0, 4($s0) +/* 18E4A0 8025FBC0 0C05128B */ jal clear_icon_flags +/* 18E4A4 8025FBC4 24050002 */ addiu $a1, $zero, 2 +/* 18E4A8 8025FBC8 8E04000C */ lw $a0, 0xc($s0) +/* 18E4AC 8025FBCC 08097EF7 */ j func_8025FBDC +/* 18E4B0 8025FBD0 00000000 */ nop + +.L8025FBD4: +/* 18E4B4 8025FBD4 3C04802A */ lui $a0, 0x802a +/* 18E4B8 8025FBD8 8C84FA88 */ lw $a0, -0x578($a0) +func_8025FBDC: +/* 18E4BC 8025FBDC 0C05128B */ jal clear_icon_flags +/* 18E4C0 8025FBE0 24050002 */ addiu $a1, $zero, 2 +func_8025FBE4: +/* 18E4C4 8025FBE4 3C038028 */ lui $v1, 0x8028 +/* 18E4C8 8025FBE8 24634150 */ addiu $v1, $v1, 0x4150 +/* 18E4CC 8025FBEC 8C620000 */ lw $v0, ($v1) +/* 18E4D0 8025FBF0 240400FF */ addiu $a0, $zero, 0xff +/* 18E4D4 8025FBF4 144400BB */ bne $v0, $a0, .L8025FEE4 +/* 18E4D8 8025FBF8 2442000A */ addiu $v0, $v0, 0xa +/* 18E4DC 8025FBFC 08097FD0 */ j func_8025FF40 +/* 18E4E0 8025FC00 2402000B */ addiu $v0, $zero, 0xb + +/* 18E4E4 8025FC04 3C10802A */ lui $s0, 0x802a +/* 18E4E8 8025FC08 2610FA80 */ addiu $s0, $s0, -0x580 +/* 18E4EC 8025FC0C 8E040000 */ lw $a0, ($s0) +/* 18E4F0 8025FC10 0C05123D */ jal free_icon +/* 18E4F4 8025FC14 0000982D */ daddu $s3, $zero, $zero +/* 18E4F8 8025FC18 8E040004 */ lw $a0, 4($s0) +/* 18E4FC 8025FC1C 0C05123D */ jal free_icon +/* 18E500 8025FC20 0260902D */ daddu $s2, $s3, $zero +/* 18E504 8025FC24 8E04000C */ lw $a0, 0xc($s0) +/* 18E508 8025FC28 3C14802A */ lui $s4, 0x802a +/* 18E50C 8025FC2C 2694FA90 */ addiu $s4, $s4, -0x570 +/* 18E510 8025FC30 0C05123D */ jal free_icon +/* 18E514 8025FC34 00000000 */ nop +/* 18E518 8025FC38 0C05123D */ jal free_icon +/* 18E51C 8025FC3C 8E040008 */ lw $a0, 8($s0) +.L8025FC40: +/* 18E520 8025FC40 0000882D */ daddu $s1, $zero, $zero +/* 18E524 8025FC44 0240802D */ daddu $s0, $s2, $zero +/* 18E528 8025FC48 02141021 */ addu $v0, $s0, $s4 +.L8025FC4C: +/* 18E52C 8025FC4C 8C440000 */ lw $a0, ($v0) +/* 18E530 8025FC50 26100004 */ addiu $s0, $s0, 4 +/* 18E534 8025FC54 0C05123D */ jal free_icon +/* 18E538 8025FC58 26310001 */ addiu $s1, $s1, 1 +/* 18E53C 8025FC5C 2A220007 */ slti $v0, $s1, 7 +/* 18E540 8025FC60 1440FFFA */ bnez $v0, .L8025FC4C +/* 18E544 8025FC64 02141021 */ addu $v0, $s0, $s4 +/* 18E548 8025FC68 26730001 */ addiu $s3, $s3, 1 +/* 18E54C 8025FC6C 2A620003 */ slti $v0, $s3, 3 +/* 18E550 8025FC70 1440FFF3 */ bnez $v0, .L8025FC40 +/* 18E554 8025FC74 2652001C */ addiu $s2, $s2, 0x1c +/* 18E558 8025FC78 3C04802A */ lui $a0, 0x802a +/* 18E55C 8025FC7C 8C84FB48 */ lw $a0, -0x4b8($a0) +/* 18E560 8025FC80 0C05123D */ jal free_icon +/* 18E564 8025FC84 00000000 */ nop +/* 18E568 8025FC88 0000202D */ daddu $a0, $zero, $zero +/* 18E56C 8025FC8C 0080282D */ daddu $a1, $a0, $zero +/* 18E570 8025FC90 0080302D */ daddu $a2, $a0, $zero +/* 18E574 8025FC94 0C046F97 */ jal func_8011BE5C +/* 18E578 8025FC98 0080382D */ daddu $a3, $a0, $zero +/* 18E57C 8025FC9C 08097FCD */ j func_8025FF34 +/* 18E580 8025FCA0 00000000 */ nop + +/* 18E584 8025FCA4 3C04001D */ lui $a0, 0x1d +/* 18E588 8025FCA8 348400AB */ ori $a0, $a0, 0xab +/* 18E58C 8025FCAC 0C04991D */ jal get_string_width +/* 18E590 8025FCB0 0000282D */ daddu $a1, $zero, $zero +/* 18E594 8025FCB4 24040009 */ addiu $a0, $zero, 9 +/* 18E598 8025FCB8 2447001F */ addiu $a3, $v0, 0x1f +/* 18E59C 8025FCBC 000717C2 */ srl $v0, $a3, 0x1f +/* 18E5A0 8025FCC0 00E21021 */ addu $v0, $a3, $v0 +/* 18E5A4 8025FCC4 00021043 */ sra $v0, $v0, 1 +/* 18E5A8 8025FCC8 240500A0 */ addiu $a1, $zero, 0xa0 +/* 18E5AC 8025FCCC 00A22823 */ subu $a1, $a1, $v0 +/* 18E5B0 8025FCD0 24060050 */ addiu $a2, $zero, 0x50 +/* 18E5B4 8025FCD4 00C0102D */ daddu $v0, $a2, $zero +/* 18E5B8 8025FCD8 AFA2002C */ sw $v0, 0x2c($sp) +/* 18E5BC 8025FCDC 2402001C */ addiu $v0, $zero, 0x1c +/* 18E5C0 8025FCE0 AFA50028 */ sw $a1, 0x28($sp) +/* 18E5C4 8025FCE4 AFA20010 */ sw $v0, 0x10($sp) +/* 18E5C8 8025FCE8 2402000A */ addiu $v0, $zero, 0xa +/* 18E5CC 8025FCEC AFA20014 */ sw $v0, 0x14($sp) +/* 18E5D0 8025FCF0 3C028026 */ lui $v0, 0x8026 +/* 18E5D4 8025FCF4 24420A20 */ addiu $v0, $v0, 0xa20 +/* 18E5D8 8025FCF8 AFA20018 */ sw $v0, 0x18($sp) +/* 18E5DC 8025FCFC 2402FFFF */ addiu $v0, $zero, -1 +/* 18E5E0 8025FD00 AFA0001C */ sw $zero, 0x1c($sp) +/* 18E5E4 8025FD04 0C051F32 */ jal func_80147CC8 +/* 18E5E8 8025FD08 AFA20020 */ sw $v0, 0x20($sp) +/* 18E5EC 8025FD0C 24040009 */ addiu $a0, $zero, 9 +/* 18E5F0 8025FD10 0C051F9F */ jal func_80147E7C +/* 18E5F4 8025FD14 24050001 */ addiu $a1, $zero, 1 +/* 18E5F8 8025FD18 2402003C */ addiu $v0, $zero, 0x3c +/* 18E5FC 8025FD1C 3C01802A */ lui $at, 0x802a +/* 18E600 8025FD20 AC22FB4C */ sw $v0, -0x4b4($at) +/* 18E604 8025FD24 08097FD0 */ j func_8025FF40 +/* 18E608 8025FD28 24020010 */ addiu $v0, $zero, 0x10 + +/* 18E60C 8025FD2C 3C028007 */ lui $v0, 0x8007 +/* 18E610 8025FD30 8C42419C */ lw $v0, 0x419c($v0) +/* 18E614 8025FD34 8C420010 */ lw $v0, 0x10($v0) +/* 18E618 8025FD38 3042C000 */ andi $v0, $v0, 0xc000 +/* 18E61C 8025FD3C 10400003 */ beqz $v0, .L8025FD4C +/* 18E620 8025FD40 00000000 */ nop +/* 18E624 8025FD44 3C01802A */ lui $at, 0x802a +/* 18E628 8025FD48 AC20FB4C */ sw $zero, -0x4b4($at) +.L8025FD4C: +/* 18E62C 8025FD4C 3C03802A */ lui $v1, 0x802a +/* 18E630 8025FD50 2463FB4C */ addiu $v1, $v1, -0x4b4 +/* 18E634 8025FD54 8C620000 */ lw $v0, ($v1) +/* 18E638 8025FD58 10400003 */ beqz $v0, .L8025FD68 +/* 18E63C 8025FD5C 2442FFFF */ addiu $v0, $v0, -1 +.L8025FD60: +/* 18E640 8025FD60 08097FD2 */ j func_8025FF48 +/* 18E644 8025FD64 AC620000 */ sw $v0, ($v1) + +.L8025FD68: +/* 18E648 8025FD68 24040009 */ addiu $a0, $zero, 9 +/* 18E64C 8025FD6C 0C051F9F */ jal func_80147E7C +/* 18E650 8025FD70 24050002 */ addiu $a1, $zero, 2 +/* 18E654 8025FD74 08097FD0 */ j func_8025FF40 +/* 18E658 8025FD78 24020008 */ addiu $v0, $zero, 8 + +/* 18E65C 8025FD7C 8FC20214 */ lw $v0, 0x214($fp) +/* 18E660 8025FD80 3042C000 */ andi $v0, $v0, 0xc000 +/* 18E664 8025FD84 10400003 */ beqz $v0, .L8025FD94 +/* 18E668 8025FD88 24020063 */ addiu $v0, $zero, 0x63 +/* 18E66C 8025FD8C 3C01802A */ lui $at, 0x802a +/* 18E670 8025FD90 AC22FB84 */ sw $v0, -0x47c($at) +.L8025FD94: +/* 18E674 8025FD94 3C02802A */ lui $v0, 0x802a +/* 18E678 8025FD98 8C42FB84 */ lw $v0, -0x47c($v0) +/* 18E67C 8025FD9C 28420063 */ slti $v0, $v0, 0x63 +/* 18E680 8025FDA0 14400069 */ bnez $v0, .L8025FF48 +/* 18E684 8025FDA4 3C030200 */ lui $v1, 0x200 +/* 18E688 8025FDA8 3C02800E */ lui $v0, 0x800e +/* 18E68C 8025FDAC 8C42C074 */ lw $v0, -0x3f8c($v0) +/* 18E690 8025FDB0 00431024 */ and $v0, $v0, $v1 +/* 18E694 8025FDB4 14400009 */ bnez $v0, .L8025FDDC +/* 18E698 8025FDB8 24040001 */ addiu $a0, $zero, 1 +/* 18E69C 8025FDBC 24020008 */ addiu $v0, $zero, 8 +/* 18E6A0 8025FDC0 AFA20010 */ sw $v0, 0x10($sp) +/* 18E6A4 8025FDC4 0000202D */ daddu $a0, $zero, $zero +/* 18E6A8 8025FDC8 2405FFFF */ addiu $a1, $zero, -1 +/* 18E6AC 8025FDCC 0080302D */ daddu $a2, $a0, $zero +/* 18E6B0 8025FDD0 0C052A46 */ jal set_music_track +/* 18E6B4 8025FDD4 240705DC */ addiu $a3, $zero, 0x5dc +/* 18E6B8 8025FDD8 24040001 */ addiu $a0, $zero, 1 +.L8025FDDC: +/* 18E6BC 8025FDDC 2405010E */ addiu $a1, $zero, 0x10e +/* 18E6C0 8025FDE0 24060064 */ addiu $a2, $zero, 0x64 +/* 18E6C4 8025FDE4 24070008 */ addiu $a3, $zero, 8 +/* 18E6C8 8025FDE8 24022400 */ addiu $v0, $zero, 0x2400 +/* 18E6CC 8025FDEC AFA20014 */ sw $v0, 0x14($sp) +/* 18E6D0 8025FDF0 00C0102D */ daddu $v0, $a2, $zero +/* 18E6D4 8025FDF4 3C018028 */ lui $at, 0x8028 +/* 18E6D8 8025FDF8 AC204150 */ sw $zero, 0x4150($at) +/* 18E6DC 8025FDFC AFA00010 */ sw $zero, 0x10($sp) +/* 18E6E0 8025FE00 AFA00018 */ sw $zero, 0x18($sp) +/* 18E6E4 8025FE04 0C093921 */ jal func_8024E484 +/* 18E6E8 8025FE08 AFA2001C */ sw $v0, 0x1c($sp) +/* 18E6EC 8025FE0C 0000202D */ daddu $a0, $zero, $zero +/* 18E6F0 8025FE10 0080282D */ daddu $a1, $a0, $zero +/* 18E6F4 8025FE14 3C060003 */ lui $a2, 3 +/* 18E6F8 8025FE18 0C098F3F */ jal set_animation +/* 18E6FC 8025FE1C 34C60009 */ ori $a2, $a2, 9 +/* 18E700 8025FE20 12400008 */ beqz $s2, .L8025FE44 +/* 18E704 8025FE24 24040100 */ addiu $a0, $zero, 0x100 +/* 18E708 8025FE28 82A20012 */ lb $v0, 0x12($s5) +/* 18E70C 8025FE2C 00021080 */ sll $v0, $v0, 2 +/* 18E710 8025FE30 3C068028 */ lui $a2, 0x8028 +/* 18E714 8025FE34 00C23021 */ addu $a2, $a2, $v0 +/* 18E718 8025FE38 8CC64154 */ lw $a2, 0x4154($a2) +/* 18E71C 8025FE3C 0C098F3F */ jal set_animation +/* 18E720 8025FE40 0000282D */ daddu $a1, $zero, $zero +.L8025FE44: +/* 18E724 8025FE44 24020006 */ addiu $v0, $zero, 6 +/* 18E728 8025FE48 3C01802A */ lui $at, 0x802a +/* 18E72C 8025FE4C AC22FB4C */ sw $v0, -0x4b4($at) +/* 18E730 8025FE50 08097FD0 */ j func_8025FF40 +/* 18E734 8025FE54 24020015 */ addiu $v0, $zero, 0x15 + +/* 18E738 8025FE58 3C03802A */ lui $v1, 0x802a +/* 18E73C 8025FE5C 2463FB4C */ addiu $v1, $v1, -0x4b4 +/* 18E740 8025FE60 8C620000 */ lw $v0, ($v1) +/* 18E744 8025FE64 1040000A */ beqz $v0, .L8025FE90 +/* 18E748 8025FE68 2442FFFF */ addiu $v0, $v0, -1 +/* 18E74C 8025FE6C 14400015 */ bnez $v0, .L8025FEC4 +/* 18E750 8025FE70 AC620000 */ sw $v0, ($v1) +/* 18E754 8025FE74 0000202D */ daddu $a0, $zero, $zero +/* 18E758 8025FE78 0080282D */ daddu $a1, $a0, $zero +/* 18E75C 8025FE7C 3C060001 */ lui $a2, 1 +/* 18E760 8025FE80 0C098F3F */ jal set_animation +/* 18E764 8025FE84 34C60004 */ ori $a2, $a2, 4 +/* 18E768 8025FE88 08097FB1 */ j func_8025FEC4 +/* 18E76C 8025FE8C 00000000 */ nop + +.L8025FE90: +/* 18E770 8025FE90 12400002 */ beqz $s2, .L8025FE9C +/* 18E774 8025FE94 AE20018C */ sw $zero, 0x18c($s1) +/* 18E778 8025FE98 AE40018C */ sw $zero, 0x18c($s2) +.L8025FE9C: +/* 18E77C 8025FE9C C6200144 */ lwc1 $f0, 0x144($s1) +/* 18E780 8025FEA0 3C014080 */ lui $at, 0x4080 +/* 18E784 8025FEA4 44811000 */ mtc1 $at, $f2 +/* 18E788 8025FEA8 00000000 */ nop +/* 18E78C 8025FEAC 46020000 */ add.s $f0, $f0, $f2 +/* 18E790 8025FEB0 12400004 */ beqz $s2, .L8025FEC4 +/* 18E794 8025FEB4 E6200144 */ swc1 $f0, 0x144($s1) +/* 18E798 8025FEB8 C6400144 */ lwc1 $f0, 0x144($s2) +/* 18E79C 8025FEBC 46020000 */ add.s $f0, $f0, $f2 +/* 18E7A0 8025FEC0 E6400144 */ swc1 $f0, 0x144($s2) +func_8025FEC4: +.L8025FEC4: +/* 18E7A4 8025FEC4 3C038028 */ lui $v1, 0x8028 +/* 18E7A8 8025FEC8 24634150 */ addiu $v1, $v1, 0x4150 +/* 18E7AC 8025FECC 8C620000 */ lw $v0, ($v1) +/* 18E7B0 8025FED0 240400FF */ addiu $a0, $zero, 0xff +/* 18E7B4 8025FED4 14440003 */ bne $v0, $a0, .L8025FEE4 +/* 18E7B8 8025FED8 24420014 */ addiu $v0, $v0, 0x14 +/* 18E7BC 8025FEDC 08097FD0 */ j func_8025FF40 +/* 18E7C0 8025FEE0 24020016 */ addiu $v0, $zero, 0x16 + +.L8025FEE4: +/* 18E7C4 8025FEE4 AC620000 */ sw $v0, ($v1) +/* 18E7C8 8025FEE8 28420100 */ slti $v0, $v0, 0x100 +/* 18E7CC 8025FEEC 50400016 */ beql $v0, $zero, .L8025FF48 +/* 18E7D0 8025FEF0 AC640000 */ sw $a0, ($v1) +/* 18E7D4 8025FEF4 08097FD2 */ j func_8025FF48 +/* 18E7D8 8025FEF8 00000000 */ nop + +/* 18E7DC 8025FEFC 0C0B1059 */ jal does_script_exist +/* 18E7E0 8025FF00 8E2401E4 */ lw $a0, 0x1e4($s1) +/* 18E7E4 8025FF04 10400003 */ beqz $v0, .L8025FF14 +/* 18E7E8 8025FF08 00000000 */ nop +/* 18E7EC 8025FF0C 0C0B102B */ jal kill_script_by_ID +/* 18E7F0 8025FF10 8E2401E4 */ lw $a0, 0x1e4($s1) +.L8025FF14: +/* 18E7F4 8025FF14 12400007 */ beqz $s2, .L8025FF34 +/* 18E7F8 8025FF18 00000000 */ nop +/* 18E7FC 8025FF1C 0C0B1059 */ jal does_script_exist +/* 18E800 8025FF20 8E4401E4 */ lw $a0, 0x1e4($s2) +/* 18E804 8025FF24 10400003 */ beqz $v0, .L8025FF34 +/* 18E808 8025FF28 00000000 */ nop +/* 18E80C 8025FF2C 0C0B102B */ jal kill_script_by_ID +/* 18E810 8025FF30 8E4401E4 */ lw $a0, 0x1e4($s2) +func_8025FF34: +.L8025FF34: +/* 18E814 8025FF34 0C090464 */ jal func_80241190 +/* 18E818 8025FF38 24040020 */ addiu $a0, $zero, 0x20 +/* 18E81C 8025FF3C 24020002 */ addiu $v0, $zero, 2 +func_8025FF40: +.L8025FF40: +/* 18E820 8025FF40 3C01800E */ lui $at, 0x800e +/* 18E824 8025FF44 AC22C4DC */ sw $v0, -0x3b24($at) +func_8025FF48: +.L8025FF48: +/* 18E828 8025FF48 3C03802A */ lui $v1, 0x802a +/* 18E82C 8025FF4C 2463FB84 */ addiu $v1, $v1, -0x47c +/* 18E830 8025FF50 8C620000 */ lw $v0, ($v1) +/* 18E834 8025FF54 24420001 */ addiu $v0, $v0, 1 +/* 18E838 8025FF58 AC620000 */ sw $v0, ($v1) +/* 18E83C 8025FF5C 8FBF0064 */ lw $ra, 0x64($sp) +/* 18E840 8025FF60 8FBE0060 */ lw $fp, 0x60($sp) +/* 18E844 8025FF64 8FB7005C */ lw $s7, 0x5c($sp) +/* 18E848 8025FF68 8FB60058 */ lw $s6, 0x58($sp) +/* 18E84C 8025FF6C 8FB50054 */ lw $s5, 0x54($sp) +/* 18E850 8025FF70 8FB40050 */ lw $s4, 0x50($sp) +/* 18E854 8025FF74 8FB3004C */ lw $s3, 0x4c($sp) +/* 18E858 8025FF78 8FB20048 */ lw $s2, 0x48($sp) +/* 18E85C 8025FF7C 8FB10044 */ lw $s1, 0x44($sp) +/* 18E860 8025FF80 8FB00040 */ lw $s0, 0x40($sp) +/* 18E864 8025FF84 03E00008 */ jr $ra +/* 18E868 8025FF88 27BD0068 */ addiu $sp, $sp, 0x68 + +func_8025FF8C: +/* 18E86C 8025FF8C 27BDFF78 */ addiu $sp, $sp, -0x88 +/* 18E870 8025FF90 AFBF007C */ sw $ra, 0x7c($sp) +/* 18E874 8025FF94 AFBE0078 */ sw $fp, 0x78($sp) +/* 18E878 8025FF98 AFB70074 */ sw $s7, 0x74($sp) +/* 18E87C 8025FF9C AFB60070 */ sw $s6, 0x70($sp) +/* 18E880 8025FFA0 AFB5006C */ sw $s5, 0x6c($sp) +/* 18E884 8025FFA4 AFB40068 */ sw $s4, 0x68($sp) +/* 18E888 8025FFA8 AFB30064 */ sw $s3, 0x64($sp) +/* 18E88C 8025FFAC AFB20060 */ sw $s2, 0x60($sp) +/* 18E890 8025FFB0 AFB1005C */ sw $s1, 0x5c($sp) +/* 18E894 8025FFB4 AFB00058 */ sw $s0, 0x58($sp) +/* 18E898 8025FFB8 F7B40080 */ sdc1 $f20, 0x80($sp) +/* 18E89C 8025FFBC 10800014 */ beqz $a0, .L80260010 +/* 18E8A0 8025FFC0 24020001 */ addiu $v0, $zero, 1 +/* 18E8A4 8025FFC4 14820013 */ bne $a0, $v0, .L80260014 +/* 18E8A8 8025FFC8 24110064 */ addiu $s1, $zero, 0x64 +/* 18E8AC 8025FFCC 3C02800E */ lui $v0, 0x800e +/* 18E8B0 8025FFD0 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 18E8B4 8025FFD4 80420048 */ lb $v0, 0x48($v0) +/* 18E8B8 8025FFD8 10400005 */ beqz $v0, .L8025FFF0 +/* 18E8BC 8025FFDC 0000882D */ daddu $s1, $zero, $zero +/* 18E8C0 8025FFE0 10440006 */ beq $v0, $a0, .L8025FFFC +/* 18E8C4 8025FFE4 24110064 */ addiu $s1, $zero, 0x64 +/* 18E8C8 8025FFE8 08098002 */ j func_80260008 +/* 18E8CC 8025FFEC 0220B82D */ daddu $s7, $s1, $zero + +.L8025FFF0: +/* 18E8D0 8025FFF0 24170064 */ addiu $s7, $zero, 0x64 +/* 18E8D4 8025FFF4 08098007 */ j func_8026001C +/* 18E8D8 8025FFF8 241E0064 */ addiu $fp, $zero, 0x64 + +.L8025FFFC: +/* 18E8DC 8025FFFC 0000B82D */ daddu $s7, $zero, $zero +/* 18E8E0 80260000 08098007 */ j func_8026001C +/* 18E8E4 80260004 241E0064 */ addiu $fp, $zero, 0x64 + +func_80260008: +/* 18E8E8 80260008 08098007 */ j func_8026001C +/* 18E8EC 8026000C 0000F02D */ daddu $fp, $zero, $zero + +.L80260010: +/* 18E8F0 80260010 24110064 */ addiu $s1, $zero, 0x64 +.L80260014: +/* 18E8F4 80260014 0220B82D */ daddu $s7, $s1, $zero +/* 18E8F8 80260018 0220F02D */ daddu $fp, $s1, $zero +func_8026001C: +/* 18E8FC 8026001C 27B60050 */ addiu $s6, $sp, 0x50 +/* 18E900 80260020 02C0282D */ daddu $a1, $s6, $zero +/* 18E904 80260024 3C15802A */ lui $s5, 0x802a +/* 18E908 80260028 26B5FA80 */ addiu $s5, $s5, -0x580 +/* 18E90C 8026002C 27B40054 */ addiu $s4, $sp, 0x54 +/* 18E910 80260030 8EA40000 */ lw $a0, ($s5) +/* 18E914 80260034 0C05126B */ jal get_icon_render_pos +/* 18E918 80260038 0280302D */ daddu $a2, $s4, $zero +/* 18E91C 8026003C 0000202D */ daddu $a0, $zero, $zero +/* 18E920 80260040 2405000F */ addiu $a1, $zero, 0xf +/* 18E924 80260044 2410002C */ addiu $s0, $zero, 0x2c +/* 18E928 80260048 241300FF */ addiu $s3, $zero, 0xff +/* 18E92C 8026004C 8FA60050 */ lw $a2, 0x50($sp) +/* 18E930 80260050 8FA70054 */ lw $a3, 0x54($sp) +/* 18E934 80260054 3C013F80 */ lui $at, 0x3f80 +/* 18E938 80260058 4481A000 */ mtc1 $at, $f20 +/* 18E93C 8026005C 24120140 */ addiu $s2, $zero, 0x140 +/* 18E940 80260060 AFB10020 */ sw $s1, 0x20($sp) +/* 18E944 80260064 241100F0 */ addiu $s1, $zero, 0xf0 +/* 18E948 80260068 AFA00010 */ sw $zero, 0x10($sp) +/* 18E94C 8026006C AFB00014 */ sw $s0, 0x14($sp) +/* 18E950 80260070 AFB00018 */ sw $s0, 0x18($sp) +/* 18E954 80260074 AFB3001C */ sw $s3, 0x1c($sp) +/* 18E958 80260078 AFA0002C */ sw $zero, 0x2c($sp) +/* 18E95C 8026007C AFA00030 */ sw $zero, 0x30($sp) +/* 18E960 80260080 AFA00034 */ sw $zero, 0x34($sp) +/* 18E964 80260084 AFA00038 */ sw $zero, 0x38($sp) +/* 18E968 80260088 AFA0003C */ sw $zero, 0x3c($sp) +/* 18E96C 8026008C AFA00040 */ sw $zero, 0x40($sp) +/* 18E970 80260090 AFB20044 */ sw $s2, 0x44($sp) +/* 18E974 80260094 AFB10048 */ sw $s1, 0x48($sp) +/* 18E978 80260098 AFA0004C */ sw $zero, 0x4c($sp) +/* 18E97C 8026009C 24C6FFEA */ addiu $a2, $a2, -0x16 +/* 18E980 802600A0 24E7FFEA */ addiu $a3, $a3, -0x16 +/* 18E984 802600A4 E7B40024 */ swc1 $f20, 0x24($sp) +/* 18E988 802600A8 0C03D4B8 */ jal draw_box +/* 18E98C 802600AC E7B40028 */ swc1 $f20, 0x28($sp) +/* 18E990 802600B0 02C0282D */ daddu $a1, $s6, $zero +/* 18E994 802600B4 8EA4000C */ lw $a0, 0xc($s5) +/* 18E998 802600B8 0C05126B */ jal get_icon_render_pos +/* 18E99C 802600BC 0280302D */ daddu $a2, $s4, $zero +/* 18E9A0 802600C0 0000202D */ daddu $a0, $zero, $zero +/* 18E9A4 802600C4 8FA60050 */ lw $a2, 0x50($sp) +/* 18E9A8 802600C8 8FA70054 */ lw $a3, 0x54($sp) +/* 18E9AC 802600CC 2405000F */ addiu $a1, $zero, 0xf +/* 18E9B0 802600D0 AFA00010 */ sw $zero, 0x10($sp) +/* 18E9B4 802600D4 AFB00014 */ sw $s0, 0x14($sp) +/* 18E9B8 802600D8 AFB00018 */ sw $s0, 0x18($sp) +/* 18E9BC 802600DC AFB3001C */ sw $s3, 0x1c($sp) +/* 18E9C0 802600E0 AFB70020 */ sw $s7, 0x20($sp) +/* 18E9C4 802600E4 E7B40024 */ swc1 $f20, 0x24($sp) +/* 18E9C8 802600E8 E7B40028 */ swc1 $f20, 0x28($sp) +/* 18E9CC 802600EC AFA0002C */ sw $zero, 0x2c($sp) +/* 18E9D0 802600F0 AFA00030 */ sw $zero, 0x30($sp) +/* 18E9D4 802600F4 AFA00034 */ sw $zero, 0x34($sp) +/* 18E9D8 802600F8 AFA00038 */ sw $zero, 0x38($sp) +/* 18E9DC 802600FC AFA0003C */ sw $zero, 0x3c($sp) +/* 18E9E0 80260100 AFA00040 */ sw $zero, 0x40($sp) +/* 18E9E4 80260104 AFB20044 */ sw $s2, 0x44($sp) +/* 18E9E8 80260108 AFB10048 */ sw $s1, 0x48($sp) +/* 18E9EC 8026010C AFA0004C */ sw $zero, 0x4c($sp) +/* 18E9F0 80260110 24C6FFEA */ addiu $a2, $a2, -0x16 +/* 18E9F4 80260114 0C03D4B8 */ jal draw_box +/* 18E9F8 80260118 24E7FFEA */ addiu $a3, $a3, -0x16 +/* 18E9FC 8026011C 02C0282D */ daddu $a1, $s6, $zero +/* 18EA00 80260120 8EA40008 */ lw $a0, 8($s5) +/* 18EA04 80260124 0C05126B */ jal get_icon_render_pos +/* 18EA08 80260128 0280302D */ daddu $a2, $s4, $zero +/* 18EA0C 8026012C 0000202D */ daddu $a0, $zero, $zero +/* 18EA10 80260130 8FA60050 */ lw $a2, 0x50($sp) +/* 18EA14 80260134 8FA70054 */ lw $a3, 0x54($sp) +/* 18EA18 80260138 2405000F */ addiu $a1, $zero, 0xf +/* 18EA1C 8026013C AFA00010 */ sw $zero, 0x10($sp) +/* 18EA20 80260140 AFB00014 */ sw $s0, 0x14($sp) +/* 18EA24 80260144 AFB00018 */ sw $s0, 0x18($sp) +/* 18EA28 80260148 AFB3001C */ sw $s3, 0x1c($sp) +/* 18EA2C 8026014C AFBE0020 */ sw $fp, 0x20($sp) +/* 18EA30 80260150 E7B40024 */ swc1 $f20, 0x24($sp) +/* 18EA34 80260154 E7B40028 */ swc1 $f20, 0x28($sp) +/* 18EA38 80260158 AFA0002C */ sw $zero, 0x2c($sp) +/* 18EA3C 8026015C AFA00030 */ sw $zero, 0x30($sp) +/* 18EA40 80260160 AFA00034 */ sw $zero, 0x34($sp) +/* 18EA44 80260164 AFA00038 */ sw $zero, 0x38($sp) +/* 18EA48 80260168 AFA0003C */ sw $zero, 0x3c($sp) +/* 18EA4C 8026016C AFA00040 */ sw $zero, 0x40($sp) +/* 18EA50 80260170 AFB20044 */ sw $s2, 0x44($sp) +/* 18EA54 80260174 AFB10048 */ sw $s1, 0x48($sp) +/* 18EA58 80260178 AFA0004C */ sw $zero, 0x4c($sp) +/* 18EA5C 8026017C 24C6FFEA */ addiu $a2, $a2, -0x16 +/* 18EA60 80260180 0C03D4B8 */ jal draw_box +/* 18EA64 80260184 24E7FFEA */ addiu $a3, $a3, -0x16 +/* 18EA68 80260188 8FBF007C */ lw $ra, 0x7c($sp) +/* 18EA6C 8026018C 8FBE0078 */ lw $fp, 0x78($sp) +/* 18EA70 80260190 8FB70074 */ lw $s7, 0x74($sp) +/* 18EA74 80260194 8FB60070 */ lw $s6, 0x70($sp) +/* 18EA78 80260198 8FB5006C */ lw $s5, 0x6c($sp) +/* 18EA7C 8026019C 8FB40068 */ lw $s4, 0x68($sp) +/* 18EA80 802601A0 8FB30064 */ lw $s3, 0x64($sp) +/* 18EA84 802601A4 8FB20060 */ lw $s2, 0x60($sp) +/* 18EA88 802601A8 8FB1005C */ lw $s1, 0x5c($sp) +/* 18EA8C 802601AC 8FB00058 */ lw $s0, 0x58($sp) +/* 18EA90 802601B0 D7B40080 */ ldc1 $f20, 0x80($sp) +/* 18EA94 802601B4 03E00008 */ jr $ra +/* 18EA98 802601B8 27BD0088 */ addiu $sp, $sp, 0x88 + +func_802601BC: +/* 18EA9C 802601BC 3C02800E */ lui $v0, 0x800e +/* 18EAA0 802601C0 8C42C4DC */ lw $v0, -0x3b24($v0) +/* 18EAA4 802601C4 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* 18EAA8 802601C8 AFBF0028 */ sw $ra, 0x28($sp) +/* 18EAAC 802601CC AFB50024 */ sw $s5, 0x24($sp) +/* 18EAB0 802601D0 AFB40020 */ sw $s4, 0x20($sp) +/* 18EAB4 802601D4 AFB3001C */ sw $s3, 0x1c($sp) +/* 18EAB8 802601D8 AFB20018 */ sw $s2, 0x18($sp) +/* 18EABC 802601DC AFB10014 */ sw $s1, 0x14($sp) +/* 18EAC0 802601E0 2443FFF9 */ addiu $v1, $v0, -7 +/* 18EAC4 802601E4 2C62000F */ sltiu $v0, $v1, 0xf +/* 18EAC8 802601E8 10400193 */ beqz $v0, .L80260838 +/* 18EACC 802601EC AFB00010 */ sw $s0, 0x10($sp) +/* 18EAD0 802601F0 00031080 */ sll $v0, $v1, 2 +/* 18EAD4 802601F4 3C01802A */ lui $at, 0x802a +/* 18EAD8 802601F8 00220821 */ addu $at, $at, $v0 +/* 18EADC 802601FC 8C22D550 */ lw $v0, -0x2ab0($at) +/* 18EAE0 80260200 00400008 */ jr $v0 +/* 18EAE4 80260204 00000000 */ nop +/* 18EAE8 80260208 0C097FE3 */ jal func_8025FF8C +/* 18EAEC 8026020C 0000202D */ daddu $a0, $zero, $zero +/* 18EAF0 80260210 24050080 */ addiu $a1, $zero, 0x80 +/* 18EAF4 80260214 00A0302D */ daddu $a2, $a1, $zero +/* 18EAF8 80260218 00A0382D */ daddu $a3, $a1, $zero +/* 18EAFC 8026021C 0000982D */ daddu $s3, $zero, $zero +/* 18EB00 80260220 3C15802A */ lui $s5, 0x802a +/* 18EB04 80260224 26B5FA90 */ addiu $s5, $s5, -0x570 +/* 18EB08 80260228 3C10802A */ lui $s0, 0x802a +/* 18EB0C 8026022C 2610FA80 */ addiu $s0, $s0, -0x580 +/* 18EB10 80260230 8E110000 */ lw $s1, ($s0) +/* 18EB14 80260234 0260A02D */ daddu $s4, $s3, $zero +/* 18EB18 80260238 0C0513BF */ jal func_80144EFC +/* 18EB1C 8026023C 0220202D */ daddu $a0, $s1, $zero +/* 18EB20 80260240 0C0511EA */ jal draw_icon_0 +/* 18EB24 80260244 0220202D */ daddu $a0, $s1, $zero +/* 18EB28 80260248 24050080 */ addiu $a1, $zero, 0x80 +/* 18EB2C 8026024C 00A0302D */ daddu $a2, $a1, $zero +/* 18EB30 80260250 8E11000C */ lw $s1, 0xc($s0) +/* 18EB34 80260254 00A0382D */ daddu $a3, $a1, $zero +/* 18EB38 80260258 0C0513BF */ jal func_80144EFC +/* 18EB3C 8026025C 0220202D */ daddu $a0, $s1, $zero +/* 18EB40 80260260 0C0511EA */ jal draw_icon_0 +/* 18EB44 80260264 0220202D */ daddu $a0, $s1, $zero +/* 18EB48 80260268 24050080 */ addiu $a1, $zero, 0x80 +/* 18EB4C 8026026C 00A0302D */ daddu $a2, $a1, $zero +/* 18EB50 80260270 8E110004 */ lw $s1, 4($s0) +/* 18EB54 80260274 00A0382D */ daddu $a3, $a1, $zero +/* 18EB58 80260278 0C0513BF */ jal func_80144EFC +/* 18EB5C 8026027C 0220202D */ daddu $a0, $s1, $zero +/* 18EB60 80260280 0C0511EA */ jal draw_icon_0 +/* 18EB64 80260284 0220202D */ daddu $a0, $s1, $zero +/* 18EB68 80260288 24050080 */ addiu $a1, $zero, 0x80 +/* 18EB6C 8026028C 00A0302D */ daddu $a2, $a1, $zero +/* 18EB70 80260290 8E110008 */ lw $s1, 8($s0) +/* 18EB74 80260294 00A0382D */ daddu $a3, $a1, $zero +/* 18EB78 80260298 0C0513BF */ jal func_80144EFC +/* 18EB7C 8026029C 0220202D */ daddu $a0, $s1, $zero +/* 18EB80 802602A0 0C0511EA */ jal draw_icon_0 +/* 18EB84 802602A4 0220202D */ daddu $a0, $s1, $zero +.L802602A8: +/* 18EB88 802602A8 0000902D */ daddu $s2, $zero, $zero +/* 18EB8C 802602AC 0280802D */ daddu $s0, $s4, $zero +/* 18EB90 802602B0 02151021 */ addu $v0, $s0, $s5 +.L802602B4: +/* 18EB94 802602B4 8C510000 */ lw $s1, ($v0) +/* 18EB98 802602B8 24050080 */ addiu $a1, $zero, 0x80 +/* 18EB9C 802602BC 00A0302D */ daddu $a2, $a1, $zero +/* 18EBA0 802602C0 00A0382D */ daddu $a3, $a1, $zero +/* 18EBA4 802602C4 26100004 */ addiu $s0, $s0, 4 +/* 18EBA8 802602C8 26520001 */ addiu $s2, $s2, 1 +/* 18EBAC 802602CC 0C0513BF */ jal func_80144EFC +/* 18EBB0 802602D0 0220202D */ daddu $a0, $s1, $zero +/* 18EBB4 802602D4 0C0511EA */ jal draw_icon_0 +/* 18EBB8 802602D8 0220202D */ daddu $a0, $s1, $zero +/* 18EBBC 802602DC 2A420007 */ slti $v0, $s2, 7 +/* 18EBC0 802602E0 1440FFF4 */ bnez $v0, .L802602B4 +/* 18EBC4 802602E4 02151021 */ addu $v0, $s0, $s5 +/* 18EBC8 802602E8 26730001 */ addiu $s3, $s3, 1 +/* 18EBCC 802602EC 2A620003 */ slti $v0, $s3, 3 +/* 18EBD0 802602F0 1440FFED */ bnez $v0, .L802602A8 +/* 18EBD4 802602F4 2694001C */ addiu $s4, $s4, 0x1c +/* 18EBD8 802602F8 0809820E */ j func_80260838 +/* 18EBDC 802602FC 00000000 */ nop + +/* 18EBE0 80260300 3C02800E */ lui $v0, 0x800e +/* 18EBE4 80260304 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 18EBE8 80260308 80430048 */ lb $v1, 0x48($v0) +/* 18EBEC 8026030C 24020001 */ addiu $v0, $zero, 1 +/* 18EBF0 80260310 1062006B */ beq $v1, $v0, .L802604C0 +/* 18EBF4 80260314 28620002 */ slti $v0, $v1, 2 +/* 18EBF8 80260318 104000A9 */ beqz $v0, .L802605C0 +/* 18EBFC 8026031C 241500D0 */ addiu $s5, $zero, 0xd0 +/* 18EC00 80260320 146000A8 */ bnez $v1, .L802605C4 +/* 18EC04 80260324 24050080 */ addiu $a1, $zero, 0x80 +/* 18EC08 80260328 24150098 */ addiu $s5, $zero, 0x98 +/* 18EC0C 8026032C 240500FF */ addiu $a1, $zero, 0xff +/* 18EC10 80260330 00A0302D */ daddu $a2, $a1, $zero +/* 18EC14 80260334 00A0382D */ daddu $a3, $a1, $zero +/* 18EC18 80260338 3C10802A */ lui $s0, 0x802a +/* 18EC1C 8026033C 2610FA80 */ addiu $s0, $s0, -0x580 +/* 18EC20 80260340 8E040000 */ lw $a0, ($s0) +/* 18EC24 80260344 3C11802A */ lui $s1, 0x802a +/* 18EC28 80260348 2631FA90 */ addiu $s1, $s1, -0x570 +/* 18EC2C 8026034C 0C0513BF */ jal func_80144EFC +/* 18EC30 80260350 0000902D */ daddu $s2, $zero, $zero +/* 18EC34 80260354 24050080 */ addiu $a1, $zero, 0x80 +/* 18EC38 80260358 00A0302D */ daddu $a2, $a1, $zero +/* 18EC3C 8026035C 8E04000C */ lw $a0, 0xc($s0) +/* 18EC40 80260360 0C0513BF */ jal func_80144EFC +/* 18EC44 80260364 00A0382D */ daddu $a3, $a1, $zero +/* 18EC48 80260368 24050080 */ addiu $a1, $zero, 0x80 +/* 18EC4C 8026036C 00A0302D */ daddu $a2, $a1, $zero +/* 18EC50 80260370 8E040004 */ lw $a0, 4($s0) +/* 18EC54 80260374 0C0513BF */ jal func_80144EFC +/* 18EC58 80260378 00A0382D */ daddu $a3, $a1, $zero +/* 18EC5C 8026037C 24050080 */ addiu $a1, $zero, 0x80 +/* 18EC60 80260380 00A0302D */ daddu $a2, $a1, $zero +/* 18EC64 80260384 8E040008 */ lw $a0, 8($s0) +/* 18EC68 80260388 0C0513BF */ jal func_80144EFC +/* 18EC6C 8026038C 00A0382D */ daddu $a3, $a1, $zero +.L80260390: +/* 18EC70 80260390 8E240000 */ lw $a0, ($s1) +/* 18EC74 80260394 24050080 */ addiu $a1, $zero, 0x80 +/* 18EC78 80260398 00A0302D */ daddu $a2, $a1, $zero +/* 18EC7C 8026039C 00A0382D */ daddu $a3, $a1, $zero +/* 18EC80 802603A0 26310004 */ addiu $s1, $s1, 4 +/* 18EC84 802603A4 0C0513BF */ jal func_80144EFC +/* 18EC88 802603A8 26520001 */ addiu $s2, $s2, 1 +/* 18EC8C 802603AC 2A420007 */ slti $v0, $s2, 7 +/* 18EC90 802603B0 1440FFF7 */ bnez $v0, .L80260390 +/* 18EC94 802603B4 00000000 */ nop +/* 18EC98 802603B8 0000902D */ daddu $s2, $zero, $zero +/* 18EC9C 802603BC 3C10802A */ lui $s0, 0x802a +/* 18ECA0 802603C0 2610FA90 */ addiu $s0, $s0, -0x570 +.L802603C4: +/* 18ECA4 802603C4 8E04001C */ lw $a0, 0x1c($s0) +/* 18ECA8 802603C8 240500FF */ addiu $a1, $zero, 0xff +/* 18ECAC 802603CC 00A0302D */ daddu $a2, $a1, $zero +/* 18ECB0 802603D0 00A0382D */ daddu $a3, $a1, $zero +/* 18ECB4 802603D4 26100004 */ addiu $s0, $s0, 4 +/* 18ECB8 802603D8 0C0513BF */ jal func_80144EFC +/* 18ECBC 802603DC 26520001 */ addiu $s2, $s2, 1 +/* 18ECC0 802603E0 2A420007 */ slti $v0, $s2, 7 +/* 18ECC4 802603E4 1440FFF7 */ bnez $v0, .L802603C4 +/* 18ECC8 802603E8 00000000 */ nop +/* 18ECCC 802603EC 0000902D */ daddu $s2, $zero, $zero +/* 18ECD0 802603F0 3C10802A */ lui $s0, 0x802a +/* 18ECD4 802603F4 2610FA90 */ addiu $s0, $s0, -0x570 +.L802603F8: +/* 18ECD8 802603F8 8E040038 */ lw $a0, 0x38($s0) +/* 18ECDC 802603FC 24050080 */ addiu $a1, $zero, 0x80 +/* 18ECE0 80260400 00A0302D */ daddu $a2, $a1, $zero +/* 18ECE4 80260404 00A0382D */ daddu $a3, $a1, $zero +/* 18ECE8 80260408 26100004 */ addiu $s0, $s0, 4 +/* 18ECEC 8026040C 0C0513BF */ jal func_80144EFC +/* 18ECF0 80260410 26520001 */ addiu $s2, $s2, 1 +/* 18ECF4 80260414 2A420007 */ slti $v0, $s2, 7 +/* 18ECF8 80260418 1440FFF7 */ bnez $v0, .L802603F8 +/* 18ECFC 8026041C 00000000 */ nop +/* 18ED00 80260420 3C10802A */ lui $s0, 0x802a +/* 18ED04 80260424 2610FA80 */ addiu $s0, $s0, -0x580 +/* 18ED08 80260428 8E110000 */ lw $s1, ($s0) +/* 18ED0C 8026042C 0C05122C */ jal get_menu_icon_script +/* 18ED10 80260430 0220202D */ daddu $a0, $s1, $zero +/* 18ED14 80260434 3C05802B */ lui $a1, 0x802b +/* 18ED18 80260438 24A59F34 */ addiu $a1, $a1, -0x60cc +/* 18ED1C 8026043C 10450003 */ beq $v0, $a1, .L8026044C +/* 18ED20 80260440 00000000 */ nop +/* 18ED24 80260444 0C0511FF */ jal set_menu_icon_script +/* 18ED28 80260448 0220202D */ daddu $a0, $s1, $zero +.L8026044C: +/* 18ED2C 8026044C 8E11000C */ lw $s1, 0xc($s0) +/* 18ED30 80260450 0C05122C */ jal get_menu_icon_script +/* 18ED34 80260454 0220202D */ daddu $a0, $s1, $zero +/* 18ED38 80260458 3C05802B */ lui $a1, 0x802b +/* 18ED3C 8026045C 24A59F84 */ addiu $a1, $a1, -0x607c +/* 18ED40 80260460 10450003 */ beq $v0, $a1, .L80260470 +/* 18ED44 80260464 00000000 */ nop +/* 18ED48 80260468 0C0511FF */ jal set_menu_icon_script +/* 18ED4C 8026046C 0220202D */ daddu $a0, $s1, $zero +.L80260470: +/* 18ED50 80260470 8E110004 */ lw $s1, 4($s0) +/* 18ED54 80260474 0C05122C */ jal get_menu_icon_script +/* 18ED58 80260478 0220202D */ daddu $a0, $s1, $zero +/* 18ED5C 8026047C 3C05802B */ lui $a1, 0x802b +/* 18ED60 80260480 24A59F5C */ addiu $a1, $a1, -0x60a4 +/* 18ED64 80260484 10450003 */ beq $v0, $a1, .L80260494 +/* 18ED68 80260488 00000000 */ nop +/* 18ED6C 8026048C 0C0511FF */ jal set_menu_icon_script +/* 18ED70 80260490 0220202D */ daddu $a0, $s1, $zero +.L80260494: +/* 18ED74 80260494 8E110008 */ lw $s1, 8($s0) +/* 18ED78 80260498 0C05122C */ jal get_menu_icon_script +/* 18ED7C 8026049C 0220202D */ daddu $a0, $s1, $zero +/* 18ED80 802604A0 3C05802B */ lui $a1, 0x802b +/* 18ED84 802604A4 24A59FAC */ addiu $a1, $a1, -0x6054 +/* 18ED88 802604A8 10450082 */ beq $v0, $a1, .L802606B4 +/* 18ED8C 802604AC 00000000 */ nop +/* 18ED90 802604B0 0C0511FF */ jal set_menu_icon_script +/* 18ED94 802604B4 0220202D */ daddu $a0, $s1, $zero +/* 18ED98 802604B8 080981AD */ j func_802606B4 +/* 18ED9C 802604BC 00000000 */ nop + +.L802604C0: +/* 18EDA0 802604C0 241500B4 */ addiu $s5, $zero, 0xb4 +/* 18EDA4 802604C4 24050080 */ addiu $a1, $zero, 0x80 +/* 18EDA8 802604C8 00A0302D */ daddu $a2, $a1, $zero +/* 18EDAC 802604CC 00A0382D */ daddu $a3, $a1, $zero +/* 18EDB0 802604D0 3C10802A */ lui $s0, 0x802a +/* 18EDB4 802604D4 2610FA80 */ addiu $s0, $s0, -0x580 +/* 18EDB8 802604D8 8E040000 */ lw $a0, ($s0) +/* 18EDBC 802604DC 3C11802A */ lui $s1, 0x802a +/* 18EDC0 802604E0 2631FA90 */ addiu $s1, $s1, -0x570 +/* 18EDC4 802604E4 0C0513BF */ jal func_80144EFC +/* 18EDC8 802604E8 0000902D */ daddu $s2, $zero, $zero +/* 18EDCC 802604EC 240500FF */ addiu $a1, $zero, 0xff +/* 18EDD0 802604F0 00A0302D */ daddu $a2, $a1, $zero +/* 18EDD4 802604F4 8E04000C */ lw $a0, 0xc($s0) +/* 18EDD8 802604F8 0C0513BF */ jal func_80144EFC +/* 18EDDC 802604FC 00A0382D */ daddu $a3, $a1, $zero +/* 18EDE0 80260500 240500FF */ addiu $a1, $zero, 0xff +/* 18EDE4 80260504 00A0302D */ daddu $a2, $a1, $zero +/* 18EDE8 80260508 8E040004 */ lw $a0, 4($s0) +/* 18EDEC 8026050C 0C0513BF */ jal func_80144EFC +/* 18EDF0 80260510 00A0382D */ daddu $a3, $a1, $zero +/* 18EDF4 80260514 24050080 */ addiu $a1, $zero, 0x80 +/* 18EDF8 80260518 00A0302D */ daddu $a2, $a1, $zero +/* 18EDFC 8026051C 8E040008 */ lw $a0, 8($s0) +/* 18EE00 80260520 0C0513BF */ jal func_80144EFC +/* 18EE04 80260524 00A0382D */ daddu $a3, $a1, $zero +.L80260528: +/* 18EE08 80260528 8E240000 */ lw $a0, ($s1) +/* 18EE0C 8026052C 240500FF */ addiu $a1, $zero, 0xff +/* 18EE10 80260530 00A0302D */ daddu $a2, $a1, $zero +/* 18EE14 80260534 00A0382D */ daddu $a3, $a1, $zero +/* 18EE18 80260538 26310004 */ addiu $s1, $s1, 4 +/* 18EE1C 8026053C 0C0513BF */ jal func_80144EFC +/* 18EE20 80260540 26520001 */ addiu $s2, $s2, 1 +/* 18EE24 80260544 2A420007 */ slti $v0, $s2, 7 +/* 18EE28 80260548 1440FFF7 */ bnez $v0, .L80260528 +/* 18EE2C 8026054C 00000000 */ nop +/* 18EE30 80260550 0000902D */ daddu $s2, $zero, $zero +/* 18EE34 80260554 3C10802A */ lui $s0, 0x802a +/* 18EE38 80260558 2610FA90 */ addiu $s0, $s0, -0x570 +.L8026055C: +/* 18EE3C 8026055C 8E04001C */ lw $a0, 0x1c($s0) +/* 18EE40 80260560 24050080 */ addiu $a1, $zero, 0x80 +/* 18EE44 80260564 00A0302D */ daddu $a2, $a1, $zero +/* 18EE48 80260568 00A0382D */ daddu $a3, $a1, $zero +/* 18EE4C 8026056C 26100004 */ addiu $s0, $s0, 4 +/* 18EE50 80260570 0C0513BF */ jal func_80144EFC +/* 18EE54 80260574 26520001 */ addiu $s2, $s2, 1 +/* 18EE58 80260578 2A420007 */ slti $v0, $s2, 7 +/* 18EE5C 8026057C 1440FFF7 */ bnez $v0, .L8026055C +/* 18EE60 80260580 00000000 */ nop +/* 18EE64 80260584 0000902D */ daddu $s2, $zero, $zero +/* 18EE68 80260588 3C10802A */ lui $s0, 0x802a +/* 18EE6C 8026058C 2610FA90 */ addiu $s0, $s0, -0x570 +func_80260590: +/* 18EE70 80260590 8E040038 */ lw $a0, 0x38($s0) +/* 18EE74 80260594 24050080 */ addiu $a1, $zero, 0x80 +/* 18EE78 80260598 00A0302D */ daddu $a2, $a1, $zero +/* 18EE7C 8026059C 00A0382D */ daddu $a3, $a1, $zero +/* 18EE80 802605A0 26100004 */ addiu $s0, $s0, 4 +/* 18EE84 802605A4 0C0513BF */ jal func_80144EFC +/* 18EE88 802605A8 26520001 */ addiu $s2, $s2, 1 +/* 18EE8C 802605AC 2A420007 */ slti $v0, $s2, 7 +/* 18EE90 802605B0 10400040 */ beqz $v0, .L802606B4 +/* 18EE94 802605B4 00000000 */ nop +/* 18EE98 802605B8 08098164 */ j func_80260590 +/* 18EE9C 802605BC 00000000 */ nop + +.L802605C0: +/* 18EEA0 802605C0 24050080 */ addiu $a1, $zero, 0x80 +.L802605C4: +/* 18EEA4 802605C4 00A0302D */ daddu $a2, $a1, $zero +/* 18EEA8 802605C8 00A0382D */ daddu $a3, $a1, $zero +/* 18EEAC 802605CC 3C10802A */ lui $s0, 0x802a +/* 18EEB0 802605D0 2610FA80 */ addiu $s0, $s0, -0x580 +/* 18EEB4 802605D4 8E040000 */ lw $a0, ($s0) +/* 18EEB8 802605D8 3C11802A */ lui $s1, 0x802a +/* 18EEBC 802605DC 2631FA90 */ addiu $s1, $s1, -0x570 +/* 18EEC0 802605E0 0C0513BF */ jal func_80144EFC +/* 18EEC4 802605E4 0000902D */ daddu $s2, $zero, $zero +/* 18EEC8 802605E8 24050080 */ addiu $a1, $zero, 0x80 +/* 18EECC 802605EC 00A0302D */ daddu $a2, $a1, $zero +/* 18EED0 802605F0 8E04000C */ lw $a0, 0xc($s0) +/* 18EED4 802605F4 0C0513BF */ jal func_80144EFC +/* 18EED8 802605F8 00A0382D */ daddu $a3, $a1, $zero +/* 18EEDC 802605FC 24050080 */ addiu $a1, $zero, 0x80 +/* 18EEE0 80260600 00A0302D */ daddu $a2, $a1, $zero +/* 18EEE4 80260604 8E040004 */ lw $a0, 4($s0) +/* 18EEE8 80260608 0C0513BF */ jal func_80144EFC +/* 18EEEC 8026060C 00A0382D */ daddu $a3, $a1, $zero +/* 18EEF0 80260610 240500FF */ addiu $a1, $zero, 0xff +/* 18EEF4 80260614 00A0302D */ daddu $a2, $a1, $zero +/* 18EEF8 80260618 8E040008 */ lw $a0, 8($s0) +/* 18EEFC 8026061C 0C0513BF */ jal func_80144EFC +/* 18EF00 80260620 00A0382D */ daddu $a3, $a1, $zero +.L80260624: +/* 18EF04 80260624 8E240000 */ lw $a0, ($s1) +/* 18EF08 80260628 24050080 */ addiu $a1, $zero, 0x80 +/* 18EF0C 8026062C 00A0302D */ daddu $a2, $a1, $zero +/* 18EF10 80260630 00A0382D */ daddu $a3, $a1, $zero +/* 18EF14 80260634 26310004 */ addiu $s1, $s1, 4 +/* 18EF18 80260638 0C0513BF */ jal func_80144EFC +/* 18EF1C 8026063C 26520001 */ addiu $s2, $s2, 1 +/* 18EF20 80260640 2A420007 */ slti $v0, $s2, 7 +/* 18EF24 80260644 1440FFF7 */ bnez $v0, .L80260624 +/* 18EF28 80260648 00000000 */ nop +/* 18EF2C 8026064C 0000902D */ daddu $s2, $zero, $zero +/* 18EF30 80260650 3C10802A */ lui $s0, 0x802a +/* 18EF34 80260654 2610FA90 */ addiu $s0, $s0, -0x570 +.L80260658: +/* 18EF38 80260658 8E04001C */ lw $a0, 0x1c($s0) +/* 18EF3C 8026065C 24050080 */ addiu $a1, $zero, 0x80 +/* 18EF40 80260660 00A0302D */ daddu $a2, $a1, $zero +/* 18EF44 80260664 00A0382D */ daddu $a3, $a1, $zero +/* 18EF48 80260668 26100004 */ addiu $s0, $s0, 4 +/* 18EF4C 8026066C 0C0513BF */ jal func_80144EFC +/* 18EF50 80260670 26520001 */ addiu $s2, $s2, 1 +/* 18EF54 80260674 2A420007 */ slti $v0, $s2, 7 +/* 18EF58 80260678 1440FFF7 */ bnez $v0, .L80260658 +/* 18EF5C 8026067C 00000000 */ nop +/* 18EF60 80260680 0000902D */ daddu $s2, $zero, $zero +/* 18EF64 80260684 3C10802A */ lui $s0, 0x802a +/* 18EF68 80260688 2610FA90 */ addiu $s0, $s0, -0x570 +.L8026068C: +/* 18EF6C 8026068C 8E040038 */ lw $a0, 0x38($s0) +/* 18EF70 80260690 240500FF */ addiu $a1, $zero, 0xff +/* 18EF74 80260694 00A0302D */ daddu $a2, $a1, $zero +/* 18EF78 80260698 00A0382D */ daddu $a3, $a1, $zero +/* 18EF7C 8026069C 26100004 */ addiu $s0, $s0, 4 +/* 18EF80 802606A0 0C0513BF */ jal func_80144EFC +/* 18EF84 802606A4 26520001 */ addiu $s2, $s2, 1 +/* 18EF88 802606A8 2A420007 */ slti $v0, $s2, 7 +/* 18EF8C 802606AC 1440FFF7 */ bnez $v0, .L8026068C +/* 18EF90 802606B0 00000000 */ nop +func_802606B4: +.L802606B4: +/* 18EF94 802606B4 0C097FE3 */ jal func_8025FF8C +/* 18EF98 802606B8 24040001 */ addiu $a0, $zero, 1 +/* 18EF9C 802606BC 3C10802A */ lui $s0, 0x802a +/* 18EFA0 802606C0 2610FA80 */ addiu $s0, $s0, -0x580 +/* 18EFA4 802606C4 8E040000 */ lw $a0, ($s0) +/* 18EFA8 802606C8 0C0511EA */ jal draw_icon_0 +/* 18EFAC 802606CC 0000982D */ daddu $s3, $zero, $zero +/* 18EFB0 802606D0 8E04000C */ lw $a0, 0xc($s0) +/* 18EFB4 802606D4 0C0511EA */ jal draw_icon_0 +/* 18EFB8 802606D8 0260882D */ daddu $s1, $s3, $zero +/* 18EFBC 802606DC 8E040004 */ lw $a0, 4($s0) +/* 18EFC0 802606E0 3C14802A */ lui $s4, 0x802a +/* 18EFC4 802606E4 2694FA90 */ addiu $s4, $s4, -0x570 +/* 18EFC8 802606E8 0C0511EA */ jal draw_icon_0 +/* 18EFCC 802606EC 00000000 */ nop +/* 18EFD0 802606F0 0C0511EA */ jal draw_icon_0 +/* 18EFD4 802606F4 8E040008 */ lw $a0, 8($s0) +.L802606F8: +/* 18EFD8 802606F8 0000902D */ daddu $s2, $zero, $zero +/* 18EFDC 802606FC 0220802D */ daddu $s0, $s1, $zero +/* 18EFE0 80260700 02141021 */ addu $v0, $s0, $s4 +.L80260704: +/* 18EFE4 80260704 8C440000 */ lw $a0, ($v0) +/* 18EFE8 80260708 26100004 */ addiu $s0, $s0, 4 +/* 18EFEC 8026070C 0C0511EA */ jal draw_icon_0 +/* 18EFF0 80260710 26520001 */ addiu $s2, $s2, 1 +/* 18EFF4 80260714 2A420007 */ slti $v0, $s2, 7 +/* 18EFF8 80260718 1440FFFA */ bnez $v0, .L80260704 +/* 18EFFC 8026071C 02141021 */ addu $v0, $s0, $s4 +/* 18F000 80260720 26730001 */ addiu $s3, $s3, 1 +/* 18F004 80260724 2A620003 */ slti $v0, $s3, 3 +/* 18F008 80260728 1440FFF3 */ bnez $v0, .L802606F8 +/* 18F00C 8026072C 2631001C */ addiu $s1, $s1, 0x1c +/* 18F010 80260730 0C051086 */ jal func_80144218 +/* 18F014 80260734 2404FFFF */ addiu $a0, $zero, -1 +/* 18F018 80260738 44951000 */ mtc1 $s5, $f2 +/* 18F01C 8026073C 00000000 */ nop +/* 18F020 80260740 468010A0 */ cvt.s.w $f2, $f2 +/* 18F024 80260744 44071000 */ mfc1 $a3, $f2 +/* 18F028 80260748 44800000 */ mtc1 $zero, $f0 +/* 18F02C 8026074C 3C11802A */ lui $s1, 0x802a +/* 18F030 80260750 8E31FAE8 */ lw $s1, -0x518($s1) +/* 18F034 80260754 44050000 */ mfc1 $a1, $f0 +/* 18F038 80260758 0220202D */ daddu $a0, $s1, $zero +/* 18F03C 8026075C 0C051489 */ jal func_80145224 +/* 18F040 80260760 00A0302D */ daddu $a2, $a1, $zero +/* 18F044 80260764 0C05108E */ jal func_80144238 +/* 18F048 80260768 0220202D */ daddu $a0, $s1, $zero +/* 18F04C 8026076C 0809820E */ j func_80260838 +/* 18F050 80260770 00000000 */ nop + +/* 18F054 80260774 0C097FE3 */ jal func_8025FF8C +/* 18F058 80260778 24040001 */ addiu $a0, $zero, 1 +/* 18F05C 8026077C 3C10802A */ lui $s0, 0x802a +/* 18F060 80260780 2610FA80 */ addiu $s0, $s0, -0x580 +/* 18F064 80260784 8E040000 */ lw $a0, ($s0) +/* 18F068 80260788 0C0511EA */ jal draw_icon_0 +/* 18F06C 8026078C 0000982D */ daddu $s3, $zero, $zero +/* 18F070 80260790 8E04000C */ lw $a0, 0xc($s0) +/* 18F074 80260794 0C0511EA */ jal draw_icon_0 +/* 18F078 80260798 0260882D */ daddu $s1, $s3, $zero +/* 18F07C 8026079C 8E040004 */ lw $a0, 4($s0) +/* 18F080 802607A0 3C14802A */ lui $s4, 0x802a +/* 18F084 802607A4 2694FA90 */ addiu $s4, $s4, -0x570 +/* 18F088 802607A8 0C0511EA */ jal draw_icon_0 +/* 18F08C 802607AC 00000000 */ nop +/* 18F090 802607B0 0C0511EA */ jal draw_icon_0 +/* 18F094 802607B4 8E040008 */ lw $a0, 8($s0) +.L802607B8: +/* 18F098 802607B8 0000902D */ daddu $s2, $zero, $zero +/* 18F09C 802607BC 0220802D */ daddu $s0, $s1, $zero +/* 18F0A0 802607C0 02141021 */ addu $v0, $s0, $s4 +.L802607C4: +/* 18F0A4 802607C4 8C440000 */ lw $a0, ($v0) +/* 18F0A8 802607C8 26100004 */ addiu $s0, $s0, 4 +/* 18F0AC 802607CC 0C0511EA */ jal draw_icon_0 +/* 18F0B0 802607D0 26520001 */ addiu $s2, $s2, 1 +/* 18F0B4 802607D4 2A420007 */ slti $v0, $s2, 7 +/* 18F0B8 802607D8 1440FFFA */ bnez $v0, .L802607C4 +/* 18F0BC 802607DC 02141021 */ addu $v0, $s0, $s4 +/* 18F0C0 802607E0 26730001 */ addiu $s3, $s3, 1 +/* 18F0C4 802607E4 2A620003 */ slti $v0, $s3, 3 +/* 18F0C8 802607E8 1440FFF3 */ bnez $v0, .L802607B8 +/* 18F0CC 802607EC 2631001C */ addiu $s1, $s1, 0x1c +/* 18F0D0 802607F0 3C018028 */ lui $at, 0x8028 +/* 18F0D4 802607F4 C4224150 */ lwc1 $f2, 0x4150($at) +/* 18F0D8 802607F8 0809820B */ j func_8026082C +/* 18F0DC 802607FC 468010A0 */ cvt.s.w $f2, $f2 + +/* 18F0E0 80260800 3C018028 */ lui $at, 0x8028 +/* 18F0E4 80260804 C4224150 */ lwc1 $f2, 0x4150($at) +/* 18F0E8 80260808 0809820B */ j func_8026082C +/* 18F0EC 8026080C 468010A0 */ cvt.s.w $f2, $f2 + +/* 18F0F0 80260810 3C058028 */ lui $a1, 0x8028 +/* 18F0F4 80260814 8CA54150 */ lw $a1, 0x4150($a1) +/* 18F0F8 80260818 10A00007 */ beqz $a1, .L80260838 +/* 18F0FC 8026081C 00000000 */ nop +/* 18F100 80260820 44851000 */ mtc1 $a1, $f2 +/* 18F104 80260824 00000000 */ nop +/* 18F108 80260828 468010A0 */ cvt.s.w $f2, $f2 +func_8026082C: +/* 18F10C 8026082C 44051000 */ mfc1 $a1, $f2 +/* 18F110 80260830 0C04DF62 */ jal func_80137D88 +/* 18F114 80260834 0000202D */ daddu $a0, $zero, $zero +func_80260838: +.L80260838: +/* 18F118 80260838 3C03800E */ lui $v1, 0x800e +/* 18F11C 8026083C 8C63C4DC */ lw $v1, -0x3b24($v1) +/* 18F120 80260840 28620007 */ slti $v0, $v1, 7 +/* 18F124 80260844 14400037 */ bnez $v0, .L80260924 +/* 18F128 80260848 2862000A */ slti $v0, $v1, 0xa +/* 18F12C 8026084C 14400005 */ bnez $v0, .L80260864 +/* 18F130 80260850 2402000A */ addiu $v0, $zero, 0xa +/* 18F134 80260854 1062001B */ beq $v1, $v0, .L802608C4 +/* 18F138 80260858 00000000 */ nop +/* 18F13C 8026085C 08098249 */ j func_80260924 +/* 18F140 80260860 00000000 */ nop + +.L80260864: +/* 18F144 80260864 3C06802A */ lui $a2, 0x802a +/* 18F148 80260868 24C6FB8C */ addiu $a2, $a2, -0x474 +/* 18F14C 8026086C 3C05802A */ lui $a1, 0x802a +/* 18F150 80260870 24A5FB88 */ addiu $a1, $a1, -0x478 +/* 18F154 80260874 8CC30000 */ lw $v1, ($a2) +/* 18F158 80260878 8CA20000 */ lw $v0, ($a1) +/* 18F15C 8026087C 24640002 */ addiu $a0, $v1, 2 +/* 18F160 80260880 00441021 */ addu $v0, $v0, $a0 +/* 18F164 80260884 ACC40000 */ sw $a0, ($a2) +/* 18F168 80260888 ACA20000 */ sw $v0, ($a1) +/* 18F16C 8026088C 284200C9 */ slti $v0, $v0, 0xc9 +/* 18F170 80260890 5440001C */ bnezl $v0, .L80260904 +/* 18F174 80260894 240600B0 */ addiu $a2, $zero, 0xb0 +/* 18F178 80260898 3C035555 */ lui $v1, 0x5555 +/* 18F17C 8026089C 34635556 */ ori $v1, $v1, 0x5556 +/* 18F180 802608A0 00041023 */ negu $v0, $a0 +/* 18F184 802608A4 00430018 */ mult $v0, $v1 +/* 18F188 802608A8 240300C8 */ addiu $v1, $zero, 0xc8 +/* 18F18C 802608AC 000217C3 */ sra $v0, $v0, 0x1f +/* 18F190 802608B0 ACA30000 */ sw $v1, ($a1) +/* 18F194 802608B4 00004010 */ mfhi $t0 +/* 18F198 802608B8 01021023 */ subu $v0, $t0, $v0 +/* 18F19C 802608BC 08098240 */ j func_80260900 +/* 18F1A0 802608C0 ACC20000 */ sw $v0, ($a2) + +.L802608C4: +/* 18F1A4 802608C4 3C02802A */ lui $v0, 0x802a +/* 18F1A8 802608C8 2442FB8C */ addiu $v0, $v0, -0x474 +/* 18F1AC 802608CC 3C05802A */ lui $a1, 0x802a +/* 18F1B0 802608D0 24A5FB88 */ addiu $a1, $a1, -0x478 +/* 18F1B4 802608D4 8C430000 */ lw $v1, ($v0) +/* 18F1B8 802608D8 8CA40000 */ lw $a0, ($a1) +/* 18F1BC 802608DC 24630004 */ addiu $v1, $v1, 4 +/* 18F1C0 802608E0 00832021 */ addu $a0, $a0, $v1 +/* 18F1C4 802608E4 AC430000 */ sw $v1, ($v0) +/* 18F1C8 802608E8 ACA40000 */ sw $a0, ($a1) +/* 18F1CC 802608EC 288401F5 */ slti $a0, $a0, 0x1f5 +/* 18F1D0 802608F0 14800004 */ bnez $a0, .L80260904 +/* 18F1D4 802608F4 240600B0 */ addiu $a2, $zero, 0xb0 +/* 18F1D8 802608F8 240201F4 */ addiu $v0, $zero, 0x1f4 +/* 18F1DC 802608FC ACA20000 */ sw $v0, ($a1) +func_80260900: +/* 18F1E0 80260900 240600B0 */ addiu $a2, $zero, 0xb0 +.L80260904: +/* 18F1E4 80260904 3C11802A */ lui $s1, 0x802a +/* 18F1E8 80260908 8E31FB48 */ lw $s1, -0x4b8($s1) +/* 18F1EC 8026090C 8CA50000 */ lw $a1, ($a1) +/* 18F1F0 80260910 0220202D */ daddu $a0, $s1, $zero +/* 18F1F4 80260914 0C051261 */ jal set_icon_render_pos +/* 18F1F8 80260918 24A5FFD5 */ addiu $a1, $a1, -0x2b +/* 18F1FC 8026091C 0C0511EA */ jal draw_icon_0 +/* 18F200 80260920 0220202D */ daddu $a0, $s1, $zero +func_80260924: +.L80260924: +/* 18F204 80260924 8FBF0028 */ lw $ra, 0x28($sp) +/* 18F208 80260928 8FB50024 */ lw $s5, 0x24($sp) +/* 18F20C 8026092C 8FB40020 */ lw $s4, 0x20($sp) +/* 18F210 80260930 8FB3001C */ lw $s3, 0x1c($sp) +/* 18F214 80260934 8FB20018 */ lw $s2, 0x18($sp) +/* 18F218 80260938 8FB10014 */ lw $s1, 0x14($sp) +/* 18F21C 8026093C 8FB00010 */ lw $s0, 0x10($sp) +/* 18F220 80260940 03E00008 */ jr $ra +/* 18F224 80260944 27BD0030 */ addiu $sp, $sp, 0x30 + +/* 18F228 80260948 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 18F22C 8026094C 3C03800E */ lui $v1, 0x800e +/* 18F230 80260950 8C63C4DC */ lw $v1, -0x3b24($v1) +/* 18F234 80260954 24020008 */ addiu $v0, $zero, 8 +/* 18F238 80260958 10620008 */ beq $v1, $v0, .L8026097C +/* 18F23C 8026095C AFBF0018 */ sw $ra, 0x18($sp) +/* 18F240 80260960 0062102A */ slt $v0, $v1, $v0 +/* 18F244 80260964 1440002B */ bnez $v0, .L80260A14 +/* 18F248 80260968 28620011 */ slti $v0, $v1, 0x11 +/* 18F24C 8026096C 10400029 */ beqz $v0, .L80260A14 +/* 18F250 80260970 2862000F */ slti $v0, $v1, 0xf +/* 18F254 80260974 14400027 */ bnez $v0, .L80260A14 +/* 18F258 80260978 00000000 */ nop +.L8026097C: +/* 18F25C 8026097C 3C02800E */ lui $v0, 0x800e +/* 18F260 80260980 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 18F264 80260984 80430048 */ lb $v1, 0x48($v0) +/* 18F268 80260988 10600005 */ beqz $v1, .L802609A0 +/* 18F26C 8026098C 24020001 */ addiu $v0, $zero, 1 +/* 18F270 80260990 1062000B */ beq $v1, $v0, .L802609C0 +/* 18F274 80260994 3C04001D */ lui $a0, 0x1d +/* 18F278 80260998 08098277 */ j func_802609DC +/* 18F27C 8026099C 00000000 */ nop + +.L802609A0: +/* 18F280 802609A0 3C04001D */ lui $a0, 0x1d +/* 18F284 802609A4 3C02802A */ lui $v0, 0x802a +/* 18F288 802609A8 8C42FB60 */ lw $v0, -0x4a0($v0) +/* 18F28C 802609AC 14400011 */ bnez $v0, .L802609F4 +/* 18F290 802609B0 348400A8 */ ori $a0, $a0, 0xa8 +/* 18F294 802609B4 3C04001D */ lui $a0, 0x1d +/* 18F298 802609B8 0809827D */ j func_802609F4 +/* 18F29C 802609BC 348400A5 */ ori $a0, $a0, 0xa5 + +.L802609C0: +/* 18F2A0 802609C0 3C02802A */ lui $v0, 0x802a +/* 18F2A4 802609C4 8C42FB64 */ lw $v0, -0x49c($v0) +/* 18F2A8 802609C8 1440000A */ bnez $v0, .L802609F4 +/* 18F2AC 802609CC 348400A9 */ ori $a0, $a0, 0xa9 +/* 18F2B0 802609D0 3C04001D */ lui $a0, 0x1d +/* 18F2B4 802609D4 0809827D */ j func_802609F4 +/* 18F2B8 802609D8 348400A6 */ ori $a0, $a0, 0xa6 + +func_802609DC: +/* 18F2BC 802609DC 3C02802A */ lui $v0, 0x802a +/* 18F2C0 802609E0 8C42FB68 */ lw $v0, -0x498($v0) +/* 18F2C4 802609E4 14400003 */ bnez $v0, .L802609F4 +/* 18F2C8 802609E8 348400AA */ ori $a0, $a0, 0xaa +/* 18F2CC 802609EC 3C04001D */ lui $a0, 0x1d +/* 18F2D0 802609F0 348400A7 */ ori $a0, $a0, 0xa7 +func_802609F4: +.L802609F4: +/* 18F2D4 802609F4 24030009 */ addiu $v1, $zero, 9 +/* 18F2D8 802609F8 2402000A */ addiu $v0, $zero, 0xa +/* 18F2DC 802609FC 00A32821 */ addu $a1, $a1, $v1 +/* 18F2E0 80260A00 24A50011 */ addiu $a1, $a1, 0x11 +/* 18F2E4 80260A04 240700FF */ addiu $a3, $zero, 0xff +/* 18F2E8 80260A08 AFA20010 */ sw $v0, 0x10($sp) +/* 18F2EC 80260A0C 0C04993B */ jal draw_string +/* 18F2F0 80260A10 AFA00014 */ sw $zero, 0x14($sp) +.L80260A14: +/* 18F2F4 80260A14 8FBF0018 */ lw $ra, 0x18($sp) +/* 18F2F8 80260A18 03E00008 */ jr $ra +/* 18F2FC 80260A1C 27BD0020 */ addiu $sp, $sp, 0x20 + +/* 18F300 80260A20 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 18F304 80260A24 3C04001D */ lui $a0, 0x1d +/* 18F308 80260A28 348400AB */ ori $a0, $a0, 0xab +/* 18F30C 80260A2C 2402000F */ addiu $v0, $zero, 0xf +/* 18F310 80260A30 24A5000B */ addiu $a1, $a1, 0xb +/* 18F314 80260A34 24C60006 */ addiu $a2, $a2, 6 +/* 18F318 80260A38 240700FF */ addiu $a3, $zero, 0xff +/* 18F31C 80260A3C AFBF0018 */ sw $ra, 0x18($sp) +/* 18F320 80260A40 AFA20010 */ sw $v0, 0x10($sp) +/* 18F324 80260A44 0C04993B */ jal draw_string +/* 18F328 80260A48 AFA00014 */ sw $zero, 0x14($sp) +/* 18F32C 80260A4C 8FBF0018 */ lw $ra, 0x18($sp) +/* 18F330 80260A50 03E00008 */ jr $ra +/* 18F334 80260A54 27BD0020 */ addiu $sp, $sp, 0x20 + +/* 18F338 80260A58 00000000 */ nop +/* 18F33C 80260A5C 00000000 */ nop +func_80260A60: +/* 18F340 80260A60 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 18F344 80260A64 3C02800E */ lui $v0, 0x800e +/* 18F348 80260A68 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 18F34C 80260A6C 0040202D */ daddu $a0, $v0, $zero +/* 18F350 80260A70 AFBF0010 */ sw $ra, 0x10($sp) +/* 18F354 80260A74 8C820004 */ lw $v0, 4($a0) +/* 18F358 80260A78 8C8300D8 */ lw $v1, 0xd8($a0) +/* 18F35C 80260A7C 30420040 */ andi $v0, $v0, 0x40 +/* 18F360 80260A80 8C6301F4 */ lw $v1, 0x1f4($v1) +/* 18F364 80260A84 1040000A */ beqz $v0, .L80260AB0 +/* 18F368 80260A88 3C06000A */ lui $a2, 0xa +/* 18F36C 80260A8C 3C028028 */ lui $v0, 0x8028 +/* 18F370 80260A90 2442340C */ addiu $v0, $v0, 0x340c +/* 18F374 80260A94 AC620094 */ sw $v0, 0x94($v1) +/* 18F378 80260A98 34C60002 */ ori $a2, $a2, 2 +/* 18F37C 80260A9C 0000202D */ daddu $a0, $zero, $zero +/* 18F380 80260AA0 0C098F3F */ jal set_animation +/* 18F384 80260AA4 0080282D */ daddu $a1, $a0, $zero +/* 18F388 80260AA8 080982B2 */ j func_80260AC8 +/* 18F38C 80260AAC 00000000 */ nop + +.L80260AB0: +/* 18F390 80260AB0 8082009A */ lb $v0, 0x9a($a0) +/* 18F394 80260AB4 14400004 */ bnez $v0, .L80260AC8 +/* 18F398 80260AB8 00000000 */ nop +/* 18F39C 80260ABC 3C028028 */ lui $v0, 0x8028 +/* 18F3A0 80260AC0 24423238 */ addiu $v0, $v0, 0x3238 +/* 18F3A4 80260AC4 AC620094 */ sw $v0, 0x94($v1) +func_80260AC8: +.L80260AC8: +/* 18F3A8 80260AC8 8FBF0010 */ lw $ra, 0x10($sp) +/* 18F3AC 80260ACC 03E00008 */ jr $ra +/* 18F3B0 80260AD0 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 18F3B4 80260AD4 3C03800E */ lui $v1, 0x800e +/* 18F3B8 80260AD8 8C63C148 */ lw $v1, -0x3eb8($v1) +/* 18F3BC 80260ADC 90620210 */ lbu $v0, 0x210($v1) +/* 18F3C0 80260AE0 80630214 */ lb $v1, 0x214($v1) +/* 18F3C4 80260AE4 2442FFFD */ addiu $v0, $v0, -3 +/* 18F3C8 80260AE8 2C450006 */ sltiu $a1, $v0, 6 +/* 18F3CC 80260AEC 2402000C */ addiu $v0, $zero, 0xc +/* 18F3D0 80260AF0 50620001 */ beql $v1, $v0, .L80260AF8 +/* 18F3D4 80260AF4 24050001 */ addiu $a1, $zero, 1 +.L80260AF8: +/* 18F3D8 80260AF8 AC850084 */ sw $a1, 0x84($a0) +/* 18F3DC 80260AFC 03E00008 */ jr $ra +/* 18F3E0 80260B00 24020002 */ addiu $v0, $zero, 2 + +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 func_80260D90 +/* 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 func_80260D34 +/* 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 func_80260D34 +/* 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 +func_80260D34: +.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 +func_80260D90: +.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 func_802611D8 +/* 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 +func_802611D8: +/* 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 func_80261638 +/* 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 +func_80261638: +/* 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 func_8026199C +/* 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 func_80261998 +/* 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) +func_80261998: +.L80261998: +/* 190278 80261998 0000102D */ daddu $v0, $zero, $zero +func_8026199C: +.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 + +HasMerleeCastsLeft: +/* 1902A8 802619C8 AC800084 */ sw $zero, 0x84($a0) +/* 1902AC 802619CC 3C028011 */ lui $v0, 0x8011 +/* 1902B0 802619D0 8042F51A */ lb $v0, -0xae6($v0) +/* 1902B4 802619D4 18400002 */ blez $v0, .L802619E0 +/* 1902B8 802619D8 24020001 */ addiu $v0, $zero, 1 +/* 1902BC 802619DC AC820084 */ sw $v0, 0x84($a0) +.L802619E0: +/* 1902C0 802619E0 03E00008 */ jr $ra +/* 1902C4 802619E4 24020002 */ addiu $v0, $zero, 2 + +/* 1902C8 802619E8 27BDFFC0 */ addiu $sp, $sp, -0x40 +/* 1902CC 802619EC AFB20038 */ sw $s2, 0x38($sp) +/* 1902D0 802619F0 0080902D */ daddu $s2, $a0, $zero +/* 1902D4 802619F4 AFBF003C */ sw $ra, 0x3c($sp) +/* 1902D8 802619F8 AFB10034 */ sw $s1, 0x34($sp) +/* 1902DC 802619FC AFB00030 */ sw $s0, 0x30($sp) +/* 1902E0 80261A00 8E50000C */ lw $s0, 0xc($s2) +/* 1902E4 80261A04 8E050000 */ lw $a1, ($s0) +/* 1902E8 80261A08 0C0B1EAF */ jal get_variable +/* 1902EC 80261A0C 26100004 */ addiu $s0, $s0, 4 +/* 1902F0 80261A10 8E050000 */ lw $a1, ($s0) +/* 1902F4 80261A14 26100004 */ addiu $s0, $s0, 4 +/* 1902F8 80261A18 0240202D */ daddu $a0, $s2, $zero +/* 1902FC 80261A1C 0C0B1EAF */ jal get_variable +/* 190300 80261A20 0040882D */ daddu $s1, $v0, $zero +/* 190304 80261A24 0240202D */ daddu $a0, $s2, $zero +/* 190308 80261A28 8E050000 */ lw $a1, ($s0) +/* 19030C 80261A2C 0C0B1EAF */ jal get_variable +/* 190310 80261A30 0040802D */ daddu $s0, $v0, $zero +/* 190314 80261A34 44910000 */ mtc1 $s1, $f0 +/* 190318 80261A38 00000000 */ nop +/* 19031C 80261A3C 46800020 */ cvt.s.w $f0, $f0 +/* 190320 80261A40 44050000 */ mfc1 $a1, $f0 +/* 190324 80261A44 44900000 */ mtc1 $s0, $f0 +/* 190328 80261A48 00000000 */ nop +/* 19032C 80261A4C 46800020 */ cvt.s.w $f0, $f0 +/* 190330 80261A50 44060000 */ mfc1 $a2, $f0 +/* 190334 80261A54 44820000 */ mtc1 $v0, $f0 +/* 190338 80261A58 00000000 */ nop +/* 19033C 80261A5C 46800020 */ cvt.s.w $f0, $f0 +/* 190340 80261A60 3C048007 */ lui $a0, 0x8007 +/* 190344 80261A64 8C847410 */ lw $a0, 0x7410($a0) +/* 190348 80261A68 44070000 */ mfc1 $a3, $f0 +/* 19034C 80261A6C 27A30020 */ addiu $v1, $sp, 0x20 +/* 190350 80261A70 AFA30010 */ sw $v1, 0x10($sp) +/* 190354 80261A74 27A30024 */ addiu $v1, $sp, 0x24 +/* 190358 80261A78 AFA30014 */ sw $v1, 0x14($sp) +/* 19035C 80261A7C 27A30028 */ addiu $v1, $sp, 0x28 +/* 190360 80261A80 0C00B94E */ jal get_screen_coords +/* 190364 80261A84 AFA30018 */ sw $v1, 0x18($sp) +/* 190368 80261A88 8FA20020 */ lw $v0, 0x20($sp) +/* 19036C 80261A8C 2442001E */ addiu $v0, $v0, 0x1e +/* 190370 80261A90 AFA20020 */ sw $v0, 0x20($sp) +/* 190374 80261A94 8FA20024 */ lw $v0, 0x24($sp) +/* 190378 80261A98 8E4300AC */ lw $v1, 0xac($s2) +/* 19037C 80261A9C 2442FFED */ addiu $v0, $v0, -0x13 +/* 190380 80261AA0 1860000F */ blez $v1, .L80261AE0 +/* 190384 80261AA4 AFA20024 */ sw $v0, 0x24($sp) +/* 190388 80261AA8 3C048011 */ lui $a0, 0x8011 +/* 19038C 80261AAC 24848AD4 */ addiu $a0, $a0, -0x752c +/* 190390 80261AB0 0C050529 */ jal create_icon +/* 190394 80261AB4 00000000 */ nop +/* 190398 80261AB8 8FA50020 */ lw $a1, 0x20($sp) +/* 19039C 80261ABC 8FA60024 */ lw $a2, 0x24($sp) +/* 1903A0 80261AC0 0040202D */ daddu $a0, $v0, $zero +/* 1903A4 80261AC4 3C01802A */ lui $at, 0x802a +/* 1903A8 80261AC8 AC24FBAC */ sw $a0, -0x454($at) +/* 1903AC 80261ACC 0C051261 */ jal set_icon_render_pos +/* 1903B0 80261AD0 00000000 */ nop +/* 1903B4 80261AD4 8FA20024 */ lw $v0, 0x24($sp) +/* 1903B8 80261AD8 24420009 */ addiu $v0, $v0, 9 +/* 1903BC 80261ADC AFA20024 */ sw $v0, 0x24($sp) +.L80261AE0: +/* 1903C0 80261AE0 8E4200B0 */ lw $v0, 0xb0($s2) +/* 1903C4 80261AE4 1C400004 */ bgtz $v0, .L80261AF8 +/* 1903C8 80261AE8 00000000 */ nop +/* 1903CC 80261AEC 8E4200B4 */ lw $v0, 0xb4($s2) +/* 1903D0 80261AF0 1840000C */ blez $v0, .L80261B24 +/* 1903D4 80261AF4 00000000 */ nop +.L80261AF8: +/* 1903D8 80261AF8 3C048011 */ lui $a0, 0x8011 +/* 1903DC 80261AFC 24848AAC */ addiu $a0, $a0, -0x7554 +/* 1903E0 80261B00 0C050529 */ jal create_icon +/* 1903E4 80261B04 00000000 */ nop +/* 1903E8 80261B08 8FA50020 */ lw $a1, 0x20($sp) +/* 1903EC 80261B0C 8FA60024 */ lw $a2, 0x24($sp) +/* 1903F0 80261B10 0040202D */ daddu $a0, $v0, $zero +/* 1903F4 80261B14 3C01802A */ lui $at, 0x802a +/* 1903F8 80261B18 AC24FBA8 */ sw $a0, -0x458($at) +/* 1903FC 80261B1C 0C051261 */ jal set_icon_render_pos +/* 190400 80261B20 00000000 */ nop +.L80261B24: +/* 190404 80261B24 8FBF003C */ lw $ra, 0x3c($sp) +/* 190408 80261B28 8FB20038 */ lw $s2, 0x38($sp) +/* 19040C 80261B2C 8FB10034 */ lw $s1, 0x34($sp) +/* 190410 80261B30 8FB00030 */ lw $s0, 0x30($sp) +/* 190414 80261B34 24020002 */ addiu $v0, $zero, 2 +/* 190418 80261B38 03E00008 */ jr $ra +/* 19041C 80261B3C 27BD0040 */ addiu $sp, $sp, 0x40 + +/* 190420 80261B40 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 190424 80261B44 AFB00010 */ sw $s0, 0x10($sp) +/* 190428 80261B48 0080802D */ daddu $s0, $a0, $zero +/* 19042C 80261B4C AFBF0014 */ sw $ra, 0x14($sp) +/* 190430 80261B50 8E0200AC */ lw $v0, 0xac($s0) +/* 190434 80261B54 18400005 */ blez $v0, .L80261B6C +/* 190438 80261B58 00000000 */ nop +/* 19043C 80261B5C 3C04802A */ lui $a0, 0x802a +/* 190440 80261B60 8C84FBAC */ lw $a0, -0x454($a0) +/* 190444 80261B64 0C05123D */ jal free_icon +/* 190448 80261B68 00000000 */ nop +.L80261B6C: +/* 19044C 80261B6C 8E0200B0 */ lw $v0, 0xb0($s0) +/* 190450 80261B70 1C400004 */ bgtz $v0, .L80261B84 +/* 190454 80261B74 00000000 */ nop +/* 190458 80261B78 8E0200B4 */ lw $v0, 0xb4($s0) +/* 19045C 80261B7C 18400005 */ blez $v0, .L80261B94 +/* 190460 80261B80 00000000 */ nop +.L80261B84: +/* 190464 80261B84 3C04802A */ lui $a0, 0x802a +/* 190468 80261B88 8C84FBA8 */ lw $a0, -0x458($a0) +/* 19046C 80261B8C 0C05123D */ jal free_icon +/* 190470 80261B90 00000000 */ nop +.L80261B94: +/* 190474 80261B94 8FBF0014 */ lw $ra, 0x14($sp) +/* 190478 80261B98 8FB00010 */ lw $s0, 0x10($sp) +/* 19047C 80261B9C 24020002 */ addiu $v0, $zero, 2 +/* 190480 80261BA0 03E00008 */ jr $ra +/* 190484 80261BA4 27BD0018 */ addiu $sp, $sp, 0x18 + +FXRecoverHP: +/* 190488 80261BA8 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* 19048C 80261BAC AFB1001C */ sw $s1, 0x1c($sp) +/* 190490 80261BB0 0080882D */ daddu $s1, $a0, $zero +/* 190494 80261BB4 AFBF0028 */ sw $ra, 0x28($sp) +/* 190498 80261BB8 AFB30024 */ sw $s3, 0x24($sp) +/* 19049C 80261BBC AFB20020 */ sw $s2, 0x20($sp) +/* 1904A0 80261BC0 AFB00018 */ sw $s0, 0x18($sp) +/* 1904A4 80261BC4 8E30000C */ lw $s0, 0xc($s1) +/* 1904A8 80261BC8 8E050000 */ lw $a1, ($s0) +/* 1904AC 80261BCC 0C0B1EAF */ jal get_variable +/* 1904B0 80261BD0 26100004 */ addiu $s0, $s0, 4 +/* 1904B4 80261BD4 8E050000 */ lw $a1, ($s0) +/* 1904B8 80261BD8 26100004 */ addiu $s0, $s0, 4 +/* 1904BC 80261BDC 0220202D */ daddu $a0, $s1, $zero +/* 1904C0 80261BE0 0C0B1EAF */ jal get_variable +/* 1904C4 80261BE4 0040982D */ daddu $s3, $v0, $zero +/* 1904C8 80261BE8 8E050000 */ lw $a1, ($s0) +/* 1904CC 80261BEC 26100004 */ addiu $s0, $s0, 4 +/* 1904D0 80261BF0 0220202D */ daddu $a0, $s1, $zero +/* 1904D4 80261BF4 0C0B1EAF */ jal get_variable +/* 1904D8 80261BF8 0040902D */ daddu $s2, $v0, $zero +/* 1904DC 80261BFC 0220202D */ daddu $a0, $s1, $zero +/* 1904E0 80261C00 8E050000 */ lw $a1, ($s0) +/* 1904E4 80261C04 0C0B1EAF */ jal get_variable +/* 1904E8 80261C08 0040802D */ daddu $s0, $v0, $zero +/* 1904EC 80261C0C 44930000 */ mtc1 $s3, $f0 +/* 1904F0 80261C10 00000000 */ nop +/* 1904F4 80261C14 46800020 */ cvt.s.w $f0, $f0 +/* 1904F8 80261C18 44050000 */ mfc1 $a1, $f0 +/* 1904FC 80261C1C 44920000 */ mtc1 $s2, $f0 +/* 190500 80261C20 00000000 */ nop +/* 190504 80261C24 46800020 */ cvt.s.w $f0, $f0 +/* 190508 80261C28 44060000 */ mfc1 $a2, $f0 +/* 19050C 80261C2C 44900000 */ mtc1 $s0, $f0 +/* 190510 80261C30 00000000 */ nop +/* 190514 80261C34 46800020 */ cvt.s.w $f0, $f0 +/* 190518 80261C38 44070000 */ mfc1 $a3, $f0 +/* 19051C 80261C3C 0000202D */ daddu $a0, $zero, $zero +/* 190520 80261C40 0C01C424 */ jal func_80071090 +/* 190524 80261C44 AFA20010 */ sw $v0, 0x10($sp) +/* 190528 80261C48 8FBF0028 */ lw $ra, 0x28($sp) +/* 19052C 80261C4C 8FB30024 */ lw $s3, 0x24($sp) +/* 190530 80261C50 8FB20020 */ lw $s2, 0x20($sp) +/* 190534 80261C54 8FB1001C */ lw $s1, 0x1c($sp) +/* 190538 80261C58 8FB00018 */ lw $s0, 0x18($sp) +/* 19053C 80261C5C 24020002 */ addiu $v0, $zero, 2 +/* 190540 80261C60 03E00008 */ jr $ra +/* 190544 80261C64 27BD0030 */ addiu $sp, $sp, 0x30 + +FXRecoverFP: +/* 190548 80261C68 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* 19054C 80261C6C AFB1001C */ sw $s1, 0x1c($sp) +/* 190550 80261C70 0080882D */ daddu $s1, $a0, $zero +/* 190554 80261C74 AFBF0028 */ sw $ra, 0x28($sp) +/* 190558 80261C78 AFB30024 */ sw $s3, 0x24($sp) +/* 19055C 80261C7C AFB20020 */ sw $s2, 0x20($sp) +/* 190560 80261C80 AFB00018 */ sw $s0, 0x18($sp) +/* 190564 80261C84 8E30000C */ lw $s0, 0xc($s1) +/* 190568 80261C88 8E050000 */ lw $a1, ($s0) +/* 19056C 80261C8C 0C0B1EAF */ jal get_variable +/* 190570 80261C90 26100004 */ addiu $s0, $s0, 4 +/* 190574 80261C94 8E050000 */ lw $a1, ($s0) +/* 190578 80261C98 26100004 */ addiu $s0, $s0, 4 +/* 19057C 80261C9C 0220202D */ daddu $a0, $s1, $zero +/* 190580 80261CA0 0C0B1EAF */ jal get_variable +/* 190584 80261CA4 0040982D */ daddu $s3, $v0, $zero +/* 190588 80261CA8 8E050000 */ lw $a1, ($s0) +/* 19058C 80261CAC 26100004 */ addiu $s0, $s0, 4 +/* 190590 80261CB0 0220202D */ daddu $a0, $s1, $zero +/* 190594 80261CB4 0C0B1EAF */ jal get_variable +/* 190598 80261CB8 0040902D */ daddu $s2, $v0, $zero +/* 19059C 80261CBC 0220202D */ daddu $a0, $s1, $zero +/* 1905A0 80261CC0 8E050000 */ lw $a1, ($s0) +/* 1905A4 80261CC4 0C0B1EAF */ jal get_variable +/* 1905A8 80261CC8 0040802D */ daddu $s0, $v0, $zero +/* 1905AC 80261CCC 44930000 */ mtc1 $s3, $f0 +/* 1905B0 80261CD0 00000000 */ nop +/* 1905B4 80261CD4 46800020 */ cvt.s.w $f0, $f0 +/* 1905B8 80261CD8 44050000 */ mfc1 $a1, $f0 +/* 1905BC 80261CDC 44920000 */ mtc1 $s2, $f0 +/* 1905C0 80261CE0 00000000 */ nop +/* 1905C4 80261CE4 46800020 */ cvt.s.w $f0, $f0 +/* 1905C8 80261CE8 44060000 */ mfc1 $a2, $f0 +/* 1905CC 80261CEC 44900000 */ mtc1 $s0, $f0 +/* 1905D0 80261CF0 00000000 */ nop +/* 1905D4 80261CF4 46800020 */ cvt.s.w $f0, $f0 +/* 1905D8 80261CF8 44070000 */ mfc1 $a3, $f0 +/* 1905DC 80261CFC 24040001 */ addiu $a0, $zero, 1 +/* 1905E0 80261D00 0C01C424 */ jal func_80071090 +/* 1905E4 80261D04 AFA20010 */ sw $v0, 0x10($sp) +/* 1905E8 80261D08 8FBF0028 */ lw $ra, 0x28($sp) +/* 1905EC 80261D0C 8FB30024 */ lw $s3, 0x24($sp) +/* 1905F0 80261D10 8FB20020 */ lw $s2, 0x20($sp) +/* 1905F4 80261D14 8FB1001C */ lw $s1, 0x1c($sp) +/* 1905F8 80261D18 8FB00018 */ lw $s0, 0x18($sp) +/* 1905FC 80261D1C 24020002 */ addiu $v0, $zero, 2 +/* 190600 80261D20 03E00008 */ jr $ra +/* 190604 80261D24 27BD0030 */ addiu $sp, $sp, 0x30 + +IncrementPlayerHP: +/* 190608 80261D28 3C048011 */ lui $a0, 0x8011 +/* 19060C 80261D2C 2484F290 */ addiu $a0, $a0, -0xd70 +/* 190610 80261D30 90820002 */ lbu $v0, 2($a0) +/* 190614 80261D34 80830003 */ lb $v1, 3($a0) +/* 190618 80261D38 24420001 */ addiu $v0, $v0, 1 +/* 19061C 80261D3C A0820002 */ sb $v0, 2($a0) +/* 190620 80261D40 00021600 */ sll $v0, $v0, 0x18 +/* 190624 80261D44 00021603 */ sra $v0, $v0, 0x18 +/* 190628 80261D48 0062182A */ slt $v1, $v1, $v0 +/* 19062C 80261D4C 90820003 */ lbu $v0, 3($a0) +/* 190630 80261D50 54600001 */ bnezl $v1, .L80261D58 +/* 190634 80261D54 A0820002 */ sb $v0, 2($a0) +.L80261D58: +/* 190638 80261D58 03E00008 */ jr $ra +/* 19063C 80261D5C 24020002 */ addiu $v0, $zero, 2 + +IncrementPlayerFP: +/* 190640 80261D60 3C048011 */ lui $a0, 0x8011 +/* 190644 80261D64 2484F290 */ addiu $a0, $a0, -0xd70 +/* 190648 80261D68 90820005 */ lbu $v0, 5($a0) +/* 19064C 80261D6C 80830006 */ lb $v1, 6($a0) +/* 190650 80261D70 24420001 */ addiu $v0, $v0, 1 +/* 190654 80261D74 A0820005 */ sb $v0, 5($a0) +/* 190658 80261D78 00021600 */ sll $v0, $v0, 0x18 +/* 19065C 80261D7C 00021603 */ sra $v0, $v0, 0x18 +/* 190660 80261D80 0062182A */ slt $v1, $v1, $v0 +/* 190664 80261D84 90820006 */ lbu $v0, 6($a0) +/* 190668 80261D88 54600001 */ bnezl $v1, .L80261D90 +/* 19066C 80261D8C A0820005 */ sb $v0, 5($a0) +.L80261D90: +/* 190670 80261D90 03E00008 */ jr $ra +/* 190674 80261D94 24020002 */ addiu $v0, $zero, 2 + +/* 190678 80261D98 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 19067C 80261D9C AFBF0010 */ sw $ra, 0x10($sp) +/* 190680 80261DA0 0C09A75B */ jal get_actor +/* 190684 80261DA4 8C840148 */ lw $a0, 0x148($a0) +/* 190688 80261DA8 0040202D */ daddu $a0, $v0, $zero +/* 19068C 80261DAC 24050004 */ addiu $a1, $zero, 4 +/* 190690 80261DB0 0000302D */ daddu $a2, $zero, $zero +/* 190694 80261DB4 0C099B3C */ jal inflict_status_set_duration +/* 190698 80261DB8 24070001 */ addiu $a3, $zero, 1 +/* 19069C 80261DBC 0C099DDF */ jal func_8026777C +/* 1906A0 80261DC0 00000000 */ nop +/* 1906A4 80261DC4 8FBF0010 */ lw $ra, 0x10($sp) +/* 1906A8 80261DC8 24020002 */ addiu $v0, $zero, 2 +/* 1906AC 80261DCC 03E00008 */ jr $ra +/* 1906B0 80261DD0 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 1906B4 80261DD4 3C038011 */ lui $v1, 0x8011 +/* 1906B8 80261DD8 2463F290 */ addiu $v1, $v1, -0xd70 +/* 1906BC 80261DDC 80620000 */ lb $v0, ($v1) +/* 1906C0 80261DE0 AC8200B0 */ sw $v0, 0xb0($a0) +/* 1906C4 80261DE4 80620001 */ lb $v0, 1($v1) +/* 1906C8 80261DE8 AC8200B4 */ sw $v0, 0xb4($a0) +/* 1906CC 80261DEC 03E00008 */ jr $ra +/* 1906D0 80261DF0 24020002 */ addiu $v0, $zero, 2 + +/* 1906D4 80261DF4 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 1906D8 80261DF8 AFB10014 */ sw $s1, 0x14($sp) +/* 1906DC 80261DFC 0080882D */ daddu $s1, $a0, $zero +/* 1906E0 80261E00 AFBF0018 */ sw $ra, 0x18($sp) +/* 1906E4 80261E04 AFB00010 */ sw $s0, 0x10($sp) +/* 1906E8 80261E08 8E2400AC */ lw $a0, 0xac($s1) +/* 1906EC 80261E0C 0C04C3D6 */ jal get_item_entity +/* 1906F0 80261E10 00A0802D */ daddu $s0, $a1, $zero +/* 1906F4 80261E14 12000003 */ beqz $s0, .L80261E24 +/* 1906F8 80261E18 0040202D */ daddu $a0, $v0, $zero +/* 1906FC 80261E1C AE200070 */ sw $zero, 0x70($s1) +/* 190700 80261E20 AE200074 */ sw $zero, 0x74($s1) +.L80261E24: +/* 190704 80261E24 8E230074 */ lw $v1, 0x74($s1) +/* 190708 80261E28 24050001 */ addiu $a1, $zero, 1 +/* 19070C 80261E2C 10650020 */ beq $v1, $a1, .L80261EB0 +/* 190710 80261E30 28620002 */ slti $v0, $v1, 2 +/* 190714 80261E34 10400005 */ beqz $v0, .L80261E4C +/* 190718 80261E38 24020002 */ addiu $v0, $zero, 2 +/* 19071C 80261E3C 10600009 */ beqz $v1, .L80261E64 +/* 190720 80261E40 0000102D */ daddu $v0, $zero, $zero +/* 190724 80261E44 080987E8 */ j func_80261FA0 +/* 190728 80261E48 00000000 */ nop + +.L80261E4C: +/* 19072C 80261E4C 10620033 */ beq $v1, $v0, .L80261F1C +/* 190730 80261E50 24020003 */ addiu $v0, $zero, 3 +/* 190734 80261E54 10620049 */ beq $v1, $v0, .L80261F7C +/* 190738 80261E58 0000102D */ daddu $v0, $zero, $zero +/* 19073C 80261E5C 080987E8 */ j func_80261FA0 +/* 190740 80261E60 00000000 */ nop + +.L80261E64: +/* 190744 80261E64 8E220070 */ lw $v0, 0x70($s1) +/* 190748 80261E68 2442FFFF */ addiu $v0, $v0, -1 +/* 19074C 80261E6C AE220070 */ sw $v0, 0x70($s1) +/* 190750 80261E70 C480000C */ lwc1 $f0, 0xc($a0) +/* 190754 80261E74 44821000 */ mtc1 $v0, $f2 +/* 190758 80261E78 00000000 */ nop +/* 19075C 80261E7C 468010A0 */ cvt.s.w $f2, $f2 +/* 190760 80261E80 46020000 */ add.s $f0, $f0, $f2 +/* 190764 80261E84 44801000 */ mtc1 $zero, $f2 +/* 190768 80261E88 00000000 */ nop +/* 19076C 80261E8C 4602003C */ c.lt.s $f0, $f2 +/* 190770 80261E90 00000000 */ nop +/* 190774 80261E94 45000041 */ bc1f .L80261F9C +/* 190778 80261E98 E480000C */ swc1 $f0, 0xc($a0) +/* 19077C 80261E9C 24020008 */ addiu $v0, $zero, 8 +/* 190780 80261EA0 E482000C */ swc1 $f2, 0xc($a0) +/* 190784 80261EA4 AE220070 */ sw $v0, 0x70($s1) +/* 190788 80261EA8 080987E7 */ j func_80261F9C +/* 19078C 80261EAC AE250074 */ sw $a1, 0x74($s1) + +.L80261EB0: +/* 190790 80261EB0 8E220070 */ lw $v0, 0x70($s1) +/* 190794 80261EB4 2442FFFF */ addiu $v0, $v0, -1 +/* 190798 80261EB8 AE220070 */ sw $v0, 0x70($s1) +/* 19079C 80261EBC C480000C */ lwc1 $f0, 0xc($a0) +/* 1907A0 80261EC0 44821000 */ mtc1 $v0, $f2 +/* 1907A4 80261EC4 00000000 */ nop +/* 1907A8 80261EC8 468010A0 */ cvt.s.w $f2, $f2 +/* 1907AC 80261ECC 46020000 */ add.s $f0, $f0, $f2 +/* 1907B0 80261ED0 44802000 */ mtc1 $zero, $f4 +/* 1907B4 80261ED4 E480000C */ swc1 $f0, 0xc($a0) +/* 1907B8 80261ED8 C4800008 */ lwc1 $f0, 8($a0) +/* 1907BC 80261EDC 3C013FF8 */ lui $at, 0x3ff8 +/* 1907C0 80261EE0 44811800 */ mtc1 $at, $f3 +/* 1907C4 80261EE4 44801000 */ mtc1 $zero, $f2 +/* 1907C8 80261EE8 46000021 */ cvt.d.s $f0, $f0 +/* 1907CC 80261EEC 46220000 */ add.d $f0, $f0, $f2 +/* 1907D0 80261EF0 C482000C */ lwc1 $f2, 0xc($a0) +/* 1907D4 80261EF4 4604103C */ c.lt.s $f2, $f4 +/* 1907D8 80261EF8 46200020 */ cvt.s.d $f0, $f0 +/* 1907DC 80261EFC 45000027 */ bc1f .L80261F9C +/* 1907E0 80261F00 E4800008 */ swc1 $f0, 8($a0) +/* 1907E4 80261F04 24020004 */ addiu $v0, $zero, 4 +/* 1907E8 80261F08 E484000C */ swc1 $f4, 0xc($a0) +/* 1907EC 80261F0C AE220070 */ sw $v0, 0x70($s1) +/* 1907F0 80261F10 24020002 */ addiu $v0, $zero, 2 +/* 1907F4 80261F14 080987E7 */ j func_80261F9C +/* 1907F8 80261F18 AE220074 */ sw $v0, 0x74($s1) + +.L80261F1C: +/* 1907FC 80261F1C 8E220070 */ lw $v0, 0x70($s1) +/* 190800 80261F20 2442FFFF */ addiu $v0, $v0, -1 +/* 190804 80261F24 AE220070 */ sw $v0, 0x70($s1) +/* 190808 80261F28 C480000C */ lwc1 $f0, 0xc($a0) +/* 19080C 80261F2C 44821000 */ mtc1 $v0, $f2 +/* 190810 80261F30 00000000 */ nop +/* 190814 80261F34 468010A0 */ cvt.s.w $f2, $f2 +/* 190818 80261F38 46020000 */ add.s $f0, $f0, $f2 +/* 19081C 80261F3C 44802000 */ mtc1 $zero, $f4 +/* 190820 80261F40 E480000C */ swc1 $f0, 0xc($a0) +/* 190824 80261F44 C4800008 */ lwc1 $f0, 8($a0) +/* 190828 80261F48 3C01802A */ lui $at, 0x802a +/* 19082C 80261F4C D422D598 */ ldc1 $f2, -0x2a68($at) +/* 190830 80261F50 46000021 */ cvt.d.s $f0, $f0 +/* 190834 80261F54 46220000 */ add.d $f0, $f0, $f2 +/* 190838 80261F58 C482000C */ lwc1 $f2, 0xc($a0) +/* 19083C 80261F5C 4604103C */ c.lt.s $f2, $f4 +/* 190840 80261F60 46200020 */ cvt.s.d $f0, $f0 +/* 190844 80261F64 4500000D */ bc1f .L80261F9C +/* 190848 80261F68 E4800008 */ swc1 $f0, 8($a0) +/* 19084C 80261F6C 24020003 */ addiu $v0, $zero, 3 +/* 190850 80261F70 E484000C */ swc1 $f4, 0xc($a0) +/* 190854 80261F74 080987E7 */ j func_80261F9C +/* 190858 80261F78 AE220074 */ sw $v0, 0x74($s1) + +.L80261F7C: +/* 19085C 80261F7C 24020002 */ addiu $v0, $zero, 2 +/* 190860 80261F80 3C04802A */ lui $a0, 0x802a +/* 190864 80261F84 2484FBB0 */ addiu $a0, $a0, -0x450 +/* 190868 80261F88 24030014 */ addiu $v1, $zero, 0x14 +/* 19086C 80261F8C AC830000 */ sw $v1, ($a0) +/* 190870 80261F90 AC830004 */ sw $v1, 4($a0) +/* 190874 80261F94 080987E8 */ j func_80261FA0 +/* 190878 80261F98 AC830008 */ sw $v1, 8($a0) + +func_80261F9C: +.L80261F9C: +/* 19087C 80261F9C 0000102D */ daddu $v0, $zero, $zero +func_80261FA0: +/* 190880 80261FA0 8FBF0018 */ lw $ra, 0x18($sp) +/* 190884 80261FA4 8FB10014 */ lw $s1, 0x14($sp) +/* 190888 80261FA8 8FB00010 */ lw $s0, 0x10($sp) +/* 19088C 80261FAC 03E00008 */ jr $ra +/* 190890 80261FB0 27BD0020 */ addiu $sp, $sp, 0x20 + +/* 190894 80261FB4 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 190898 80261FB8 AFB20018 */ sw $s2, 0x18($sp) +/* 19089C 80261FBC 0080902D */ daddu $s2, $a0, $zero +/* 1908A0 80261FC0 AFBF001C */ sw $ra, 0x1c($sp) +/* 1908A4 80261FC4 AFB10014 */ sw $s1, 0x14($sp) +/* 1908A8 80261FC8 AFB00010 */ sw $s0, 0x10($sp) +/* 1908AC 80261FCC F7B40020 */ sdc1 $f20, 0x20($sp) +/* 1908B0 80261FD0 8E4400AC */ lw $a0, 0xac($s2) +/* 1908B4 80261FD4 0C04C3D6 */ jal get_item_entity +/* 1908B8 80261FD8 00A0802D */ daddu $s0, $a1, $zero +/* 1908BC 80261FDC 3C04800E */ lui $a0, 0x800e +/* 1908C0 80261FE0 8C84C148 */ lw $a0, -0x3eb8($a0) +/* 1908C4 80261FE4 12000004 */ beqz $s0, .L80261FF8 +/* 1908C8 80261FE8 0040882D */ daddu $s1, $v0, $zero +/* 1908CC 80261FEC 2402000A */ addiu $v0, $zero, 0xa +/* 1908D0 80261FF0 AE400070 */ sw $zero, 0x70($s2) +/* 1908D4 80261FF4 AE420074 */ sw $v0, 0x74($s2) +.L80261FF8: +/* 1908D8 80261FF8 8E430070 */ lw $v1, 0x70($s2) +/* 1908DC 80261FFC 10600005 */ beqz $v1, .L80262014 +/* 1908E0 80262000 24020001 */ addiu $v0, $zero, 1 +/* 1908E4 80262004 10620032 */ beq $v1, $v0, .L802620D0 +/* 1908E8 80262008 0000102D */ daddu $v0, $zero, $zero +/* 1908EC 8026200C 08098837 */ j func_802620DC +/* 1908F0 80262010 00000000 */ nop + +.L80262014: +/* 1908F4 80262014 C4880144 */ lwc1 $f8, 0x144($a0) +/* 1908F8 80262018 C62A0008 */ lwc1 $f10, 8($s1) +/* 1908FC 8026201C C4840148 */ lwc1 $f4, 0x148($a0) +/* 190900 80262020 460A4201 */ sub.s $f8, $f8, $f10 +/* 190904 80262024 3C014140 */ lui $at, 0x4140 +/* 190908 80262028 44816000 */ mtc1 $at, $f12 +/* 19090C 8026202C C482014C */ lwc1 $f2, 0x14c($a0) +/* 190910 80262030 460C2100 */ add.s $f4, $f4, $f12 +/* 190914 80262034 3C0140A0 */ lui $at, 0x40a0 +/* 190918 80262038 4481A000 */ mtc1 $at, $f20 +/* 19091C 8026203C 00000000 */ nop +/* 190920 80262040 46141081 */ sub.s $f2, $f2, $f20 +/* 190924 80262044 C620000C */ lwc1 $f0, 0xc($s1) +/* 190928 80262048 46002101 */ sub.s $f4, $f4, $f0 +/* 19092C 8026204C C6460074 */ lwc1 $f6, 0x74($s2) +/* 190930 80262050 468031A0 */ cvt.s.w $f6, $f6 +/* 190934 80262054 46064203 */ div.s $f8, $f8, $f6 +/* 190938 80262058 46085280 */ add.s $f10, $f10, $f8 +/* 19093C 8026205C C6200010 */ lwc1 $f0, 0x10($s1) +/* 190940 80262060 46001081 */ sub.s $f2, $f2, $f0 +/* 190944 80262064 C628000C */ lwc1 $f8, 0xc($s1) +/* 190948 80262068 46062103 */ div.s $f4, $f4, $f6 +/* 19094C 8026206C 46044200 */ add.s $f8, $f8, $f4 +/* 190950 80262070 46061083 */ div.s $f2, $f2, $f6 +/* 190954 80262074 46020000 */ add.s $f0, $f0, $f2 +/* 190958 80262078 E62A0008 */ swc1 $f10, 8($s1) +/* 19095C 8026207C E628000C */ swc1 $f8, 0xc($s1) +/* 190960 80262080 E6200010 */ swc1 $f0, 0x10($s1) +/* 190964 80262084 C4800148 */ lwc1 $f0, 0x148($a0) +/* 190968 80262088 460C0000 */ add.s $f0, $f0, $f12 +/* 19096C 8026208C 46004386 */ mov.s $f14, $f8 +/* 190970 80262090 8C860144 */ lw $a2, 0x144($a0) +/* 190974 80262094 44070000 */ mfc1 $a3, $f0 +/* 190978 80262098 0C00A7B5 */ jal dist2D +/* 19097C 8026209C 46005306 */ mov.s $f12, $f10 +/* 190980 802620A0 C622000C */ lwc1 $f2, 0xc($s1) +/* 190984 802620A4 46140003 */ div.s $f0, $f0, $f20 +/* 190988 802620A8 46001080 */ add.s $f2, $f2, $f0 +/* 19098C 802620AC E622000C */ swc1 $f2, 0xc($s1) +/* 190990 802620B0 8E430074 */ lw $v1, 0x74($s2) +/* 190994 802620B4 24020001 */ addiu $v0, $zero, 1 +/* 190998 802620B8 50620001 */ beql $v1, $v0, .L802620C0 +/* 19099C 802620BC AE430070 */ sw $v1, 0x70($s2) +.L802620C0: +/* 1909A0 802620C0 8E420074 */ lw $v0, 0x74($s2) +/* 1909A4 802620C4 2442FFFF */ addiu $v0, $v0, -1 +/* 1909A8 802620C8 08098836 */ j func_802620D8 +/* 1909AC 802620CC AE420074 */ sw $v0, 0x74($s2) + +.L802620D0: +/* 1909B0 802620D0 08098837 */ j func_802620DC +/* 1909B4 802620D4 24020002 */ addiu $v0, $zero, 2 + +func_802620D8: +/* 1909B8 802620D8 0000102D */ daddu $v0, $zero, $zero +func_802620DC: +/* 1909BC 802620DC 8FBF001C */ lw $ra, 0x1c($sp) +/* 1909C0 802620E0 8FB20018 */ lw $s2, 0x18($sp) +/* 1909C4 802620E4 8FB10014 */ lw $s1, 0x14($sp) +/* 1909C8 802620E8 8FB00010 */ lw $s0, 0x10($sp) +/* 1909CC 802620EC D7B40020 */ ldc1 $f20, 0x20($sp) +/* 1909D0 802620F0 03E00008 */ jr $ra +/* 1909D4 802620F4 27BD0028 */ addiu $sp, $sp, 0x28 + +/* 1909D8 802620F8 8C8200BC */ lw $v0, 0xbc($a0) +/* 1909DC 802620FC 3C03802A */ lui $v1, 0x802a +/* 1909E0 80262100 2463FBB0 */ addiu $v1, $v1, -0x450 +/* 1909E4 80262104 00021080 */ sll $v0, $v0, 2 +/* 1909E8 80262108 00431821 */ addu $v1, $v0, $v1 +/* 1909EC 8026210C 8C620000 */ lw $v0, ($v1) +/* 1909F0 80262110 14400003 */ bnez $v0, .L80262120 +/* 1909F4 80262114 2442FFFF */ addiu $v0, $v0, -1 +/* 1909F8 80262118 03E00008 */ jr $ra +/* 1909FC 8026211C 24020002 */ addiu $v0, $zero, 2 + +.L80262120: +/* 190A00 80262120 AC620000 */ sw $v0, ($v1) +/* 190A04 80262124 03E00008 */ jr $ra +/* 190A08 80262128 0000102D */ daddu $v0, $zero, $zero + +/* 190A0C 8026212C 00000000 */ nop +/* 190A10 80262130 27BDFFB8 */ addiu $sp, $sp, -0x48 +/* 190A14 80262134 AFB20038 */ sw $s2, 0x38($sp) +/* 190A18 80262138 0000902D */ daddu $s2, $zero, $zero +/* 190A1C 8026213C AFB00030 */ sw $s0, 0x30($sp) +/* 190A20 80262140 0240802D */ daddu $s0, $s2, $zero +/* 190A24 80262144 0240202D */ daddu $a0, $s2, $zero +/* 190A28 80262148 27A2002C */ addiu $v0, $sp, 0x2c +/* 190A2C 8026214C C7A20058 */ lwc1 $f2, 0x58($sp) +/* 190A30 80262150 27A50020 */ addiu $a1, $sp, 0x20 +/* 190A34 80262154 AFA60028 */ sw $a2, 0x28($sp) +/* 190A38 80262158 27A60024 */ addiu $a2, $sp, 0x24 +/* 190A3C 8026215C F7B40040 */ sdc1 $f20, 0x40($sp) +/* 190A40 80262160 4487A000 */ mtc1 $a3, $f20 +/* 190A44 80262164 3C0142B4 */ lui $at, 0x42b4 +/* 190A48 80262168 44810000 */ mtc1 $at, $f0 +/* 190A4C 8026216C 27A70028 */ addiu $a3, $sp, 0x28 +/* 190A50 80262170 AFBF003C */ sw $ra, 0x3c($sp) +/* 190A54 80262174 AFB10034 */ sw $s1, 0x34($sp) +/* 190A58 80262178 E7AC0020 */ swc1 $f12, 0x20($sp) +/* 190A5C 8026217C E7AE0024 */ swc1 $f14, 0x24($sp) +/* 190A60 80262180 E7B4002C */ swc1 $f20, 0x2c($sp) +/* 190A64 80262184 AFA20010 */ sw $v0, 0x10($sp) +/* 190A68 80262188 E7A00014 */ swc1 $f0, 0x14($sp) +/* 190A6C 8026218C 0C0371DE */ jal func_800DC778 +/* 190A70 80262190 E7A20018 */ swc1 $f2, 0x18($sp) +/* 190A74 80262194 10400013 */ beqz $v0, .L802621E4 +/* 190A78 80262198 24020001 */ addiu $v0, $zero, 1 +/* 190A7C 8026219C C7A0002C */ lwc1 $f0, 0x2c($sp) +/* 190A80 802621A0 4614003E */ c.le.s $f0, $f20 +/* 190A84 802621A4 00000000 */ nop +/* 190A88 802621A8 4500000E */ bc1f .L802621E4 +/* 190A8C 802621AC 00000000 */ nop +/* 190A90 802621B0 3C118011 */ lui $s1, 0x8011 +/* 190A94 802621B4 2631C98C */ addiu $s1, $s1, -0x3674 +/* 190A98 802621B8 0C016F6A */ jal get_collider_type_by_id +/* 190A9C 802621BC 92240003 */ lbu $a0, 3($s1) +/* 190AA0 802621C0 3C048011 */ lui $a0, 0x8011 +/* 190AA4 802621C4 9084C96B */ lbu $a0, -0x3695($a0) +/* 190AA8 802621C8 0C016F6A */ jal get_collider_type_by_id +/* 190AAC 802621CC 0040802D */ daddu $s0, $v0, $zero +/* 190AB0 802621D0 92230003 */ lbu $v1, 3($s1) +/* 190AB4 802621D4 02028024 */ and $s0, $s0, $v0 +/* 190AB8 802621D8 56030001 */ bnel $s0, $v1, .L802621E0 +/* 190ABC 802621DC 0240802D */ daddu $s0, $s2, $zero +.L802621E0: +/* 190AC0 802621E0 24020001 */ addiu $v0, $zero, 1 +.L802621E4: +/* 190AC4 802621E4 52020001 */ beql $s0, $v0, .L802621EC +/* 190AC8 802621E8 0040902D */ daddu $s2, $v0, $zero +.L802621EC: +/* 190ACC 802621EC 0240102D */ daddu $v0, $s2, $zero +/* 190AD0 802621F0 8FBF003C */ lw $ra, 0x3c($sp) +/* 190AD4 802621F4 8FB20038 */ lw $s2, 0x38($sp) +/* 190AD8 802621F8 8FB10034 */ lw $s1, 0x34($sp) +/* 190ADC 802621FC 8FB00030 */ lw $s0, 0x30($sp) +/* 190AE0 80262200 D7B40040 */ ldc1 $f20, 0x40($sp) +/* 190AE4 80262204 03E00008 */ jr $ra +/* 190AE8 80262208 27BD0048 */ addiu $sp, $sp, 0x48 + +/* 190AEC 8026220C 3C0142C8 */ lui $at, 0x42c8 +/* 190AF0 80262210 44810000 */ mtc1 $at, $f0 +/* 190AF4 80262214 00000000 */ nop +/* 190AF8 80262218 460E003C */ c.lt.s $f0, $f14 +/* 190AFC 8026221C 00000000 */ nop +/* 190B00 80262220 45000002 */ bc1f .L8026222C +/* 190B04 80262224 0000102D */ daddu $v0, $zero, $zero +/* 190B08 80262228 2402001C */ addiu $v0, $zero, 0x1c +.L8026222C: +/* 190B0C 8026222C 03E00008 */ jr $ra +/* 190B10 80262230 00000000 */ nop + +/* 190B14 80262234 00000000 */ nop +/* 190B18 80262238 00000000 */ nop +/* 190B1C 8026223C 00000000 */ nop +create_target_list: +/* 190B20 80262240 27BDFFB0 */ addiu $sp, $sp, -0x50 +/* 190B24 80262244 0080582D */ daddu $t3, $a0, $zero +/* 190B28 80262248 AFB5003C */ sw $s5, 0x3c($sp) +/* 190B2C 8026224C 0000A82D */ daddu $s5, $zero, $zero +/* 190B30 80262250 AFB70044 */ sw $s7, 0x44($sp) +/* 190B34 80262254 AFB60040 */ sw $s6, 0x40($sp) +/* 190B38 80262258 3C16800E */ lui $s6, 0x800e +/* 190B3C 8026225C 26D6C070 */ addiu $s6, $s6, -0x3f90 +/* 190B40 80262260 AFBF004C */ sw $ra, 0x4c($sp) +/* 190B44 80262264 AFBE0048 */ sw $fp, 0x48($sp) +/* 190B48 80262268 AFB40038 */ sw $s4, 0x38($sp) +/* 190B4C 8026226C AFB30034 */ sw $s3, 0x34($sp) +/* 190B50 80262270 AFB20030 */ sw $s2, 0x30($sp) +/* 190B54 80262274 AFB1002C */ sw $s1, 0x2c($sp) +/* 190B58 80262278 AFB00028 */ sw $s0, 0x28($sp) +/* 190B5C 8026227C AFA00018 */ sw $zero, 0x18($sp) +/* 190B60 80262280 8EC300D8 */ lw $v1, 0xd8($s6) +/* 190B64 80262284 8EC20184 */ lw $v0, 0x184($s6) +/* 190B68 80262288 8EC400DC */ lw $a0, 0xdc($s6) +/* 190B6C 8026228C 04410004 */ bgez $v0, .L802622A0 +/* 190B70 80262290 2577022C */ addiu $s7, $t3, 0x22c +/* 190B74 80262294 2402FFFF */ addiu $v0, $zero, -1 +/* 190B78 80262298 08098BFF */ j func_80262FFC +/* 190B7C 8026229C A162040C */ sb $v0, 0x40c($t3) + +.L802622A0: +/* 190B80 802622A0 30420008 */ andi $v0, $v0, 8 +/* 190B84 802622A4 1040005B */ beqz $v0, .L80262414 +/* 190B88 802622A8 24020001 */ addiu $v0, $zero, 1 +/* 190B8C 802622AC A560022C */ sh $zero, 0x22c($t3) +/* 190B90 802622B0 14A00029 */ bnez $a1, .L80262358 +/* 190B94 802622B4 A562022E */ sh $v0, 0x22e($t3) +/* 190B98 802622B8 90620190 */ lbu $v0, 0x190($v1) +/* 190B9C 802622BC 3C01802A */ lui $at, 0x802a +/* 190BA0 802622C0 D420D5A0 */ ldc1 $f0, -0x2a60($at) +/* 190BA4 802622C4 44821000 */ mtc1 $v0, $f2 +/* 190BA8 802622C8 00000000 */ nop +/* 190BAC 802622CC 468010A1 */ cvt.d.w $f2, $f2 +/* 190BB0 802622D0 46201082 */ mul.d $f2, $f2, $f0 +/* 190BB4 802622D4 00000000 */ nop +/* 190BB8 802622D8 C4600188 */ lwc1 $f0, 0x188($v1) +/* 190BBC 802622DC 46000021 */ cvt.d.s $f0, $f0 +/* 190BC0 802622E0 46201082 */ mul.d $f2, $f2, $f0 +/* 190BC4 802622E4 00000000 */ nop +/* 190BC8 802622E8 C4600144 */ lwc1 $f0, 0x144($v1) +/* 190BCC 802622EC 46000021 */ cvt.d.s $f0, $f0 +/* 190BD0 802622F0 46220000 */ add.d $f0, $f0, $f2 +/* 190BD4 802622F4 4620048D */ trunc.w.d $f18, $f0 +/* 190BD8 802622F8 44029000 */ mfc1 $v0, $f18 +/* 190BDC 802622FC 00000000 */ nop +/* 190BE0 80262300 A5620230 */ sh $v0, 0x230($t3) +/* 190BE4 80262304 90620191 */ lbu $v0, 0x191($v1) +/* 190BE8 80262308 3C01802A */ lui $at, 0x802a +/* 190BEC 8026230C D420D5A8 */ ldc1 $f0, -0x2a58($at) +/* 190BF0 80262310 44821000 */ mtc1 $v0, $f2 +/* 190BF4 80262314 00000000 */ nop +/* 190BF8 80262318 468010A1 */ cvt.d.w $f2, $f2 +/* 190BFC 8026231C 46201082 */ mul.d $f2, $f2, $f0 +/* 190C00 80262320 00000000 */ nop +/* 190C04 80262324 C4600188 */ lwc1 $f0, 0x188($v1) +/* 190C08 80262328 46000021 */ cvt.d.s $f0, $f0 +/* 190C0C 8026232C 46201082 */ mul.d $f2, $f2, $f0 +/* 190C10 80262330 00000000 */ nop +/* 190C14 80262334 C4600148 */ lwc1 $f0, 0x148($v1) +/* 190C18 80262338 46000021 */ cvt.d.s $f0, $f0 +/* 190C1C 8026233C 46220000 */ add.d $f0, $f0, $f2 +/* 190C20 80262340 4620048D */ trunc.w.d $f18, $f0 +/* 190C24 80262344 44029000 */ mfc1 $v0, $f18 +/* 190C28 80262348 00000000 */ nop +/* 190C2C 8026234C A5620232 */ sh $v0, 0x232($t3) +/* 190C30 80262350 080988FD */ j func_802623F4 +/* 190C34 80262354 C460014C */ lwc1 $f0, 0x14c($v1) + +.L80262358: +/* 190C38 80262358 90620190 */ lbu $v0, 0x190($v1) +/* 190C3C 8026235C 3C01802A */ lui $at, 0x802a +/* 190C40 80262360 D420D5B0 */ ldc1 $f0, -0x2a50($at) +/* 190C44 80262364 44821000 */ mtc1 $v0, $f2 +/* 190C48 80262368 00000000 */ nop +/* 190C4C 8026236C 468010A1 */ cvt.d.w $f2, $f2 +/* 190C50 80262370 46201082 */ mul.d $f2, $f2, $f0 +/* 190C54 80262374 00000000 */ nop +/* 190C58 80262378 C4600188 */ lwc1 $f0, 0x188($v1) +/* 190C5C 8026237C 46000021 */ cvt.d.s $f0, $f0 +/* 190C60 80262380 46201082 */ mul.d $f2, $f2, $f0 +/* 190C64 80262384 00000000 */ nop +/* 190C68 80262388 C4600138 */ lwc1 $f0, 0x138($v1) +/* 190C6C 8026238C 46000021 */ cvt.d.s $f0, $f0 +/* 190C70 80262390 46220000 */ add.d $f0, $f0, $f2 +/* 190C74 80262394 4620048D */ trunc.w.d $f18, $f0 +/* 190C78 80262398 44029000 */ mfc1 $v0, $f18 +/* 190C7C 8026239C 00000000 */ nop +/* 190C80 802623A0 A5620230 */ sh $v0, 0x230($t3) +/* 190C84 802623A4 90620191 */ lbu $v0, 0x191($v1) +/* 190C88 802623A8 3C01802A */ lui $at, 0x802a +/* 190C8C 802623AC D420D5B8 */ ldc1 $f0, -0x2a48($at) +/* 190C90 802623B0 44821000 */ mtc1 $v0, $f2 +/* 190C94 802623B4 00000000 */ nop +/* 190C98 802623B8 468010A1 */ cvt.d.w $f2, $f2 +/* 190C9C 802623BC 46201082 */ mul.d $f2, $f2, $f0 +/* 190CA0 802623C0 00000000 */ nop +/* 190CA4 802623C4 C4600188 */ lwc1 $f0, 0x188($v1) +/* 190CA8 802623C8 46000021 */ cvt.d.s $f0, $f0 +/* 190CAC 802623CC 46201082 */ mul.d $f2, $f2, $f0 +/* 190CB0 802623D0 00000000 */ nop +/* 190CB4 802623D4 C460013C */ lwc1 $f0, 0x13c($v1) +/* 190CB8 802623D8 46000021 */ cvt.d.s $f0, $f0 +/* 190CBC 802623DC 46220000 */ add.d $f0, $f0, $f2 +/* 190CC0 802623E0 4620048D */ trunc.w.d $f18, $f0 +/* 190CC4 802623E4 44029000 */ mfc1 $v0, $f18 +/* 190CC8 802623E8 00000000 */ nop +/* 190CCC 802623EC A5620232 */ sh $v0, 0x232($t3) +/* 190CD0 802623F0 C4600140 */ lwc1 $f0, 0x140($v1) +func_802623F4: +/* 190CD4 802623F4 4600048D */ trunc.w.s $f18, $f0 +/* 190CD8 802623F8 44029000 */ mfc1 $v0, $f18 +/* 190CDC 802623FC 00000000 */ nop +/* 190CE0 80262400 A5620234 */ sh $v0, 0x234($t3) +/* 190CE4 80262404 2402FF9C */ addiu $v0, $zero, -0x64 +/* 190CE8 80262408 A2E20010 */ sb $v0, 0x10($s7) +/* 190CEC 8026240C 26B50001 */ addiu $s5, $s5, 1 +/* 190CF0 80262410 26F70014 */ addiu $s7, $s7, 0x14 +.L80262414: +/* 190CF4 80262414 8EC20184 */ lw $v0, 0x184($s6) +/* 190CF8 80262418 30420100 */ andi $v0, $v0, 0x100 +/* 190CFC 8026241C 1040005F */ beqz $v0, .L8026259C +/* 190D00 80262420 0000982D */ daddu $s3, $zero, $zero +/* 190D04 80262424 1080005D */ beqz $a0, .L8026259C +/* 190D08 80262428 24020100 */ addiu $v0, $zero, 0x100 +/* 190D0C 8026242C A6E20000 */ sh $v0, ($s7) +/* 190D10 80262430 24020001 */ addiu $v0, $zero, 1 +/* 190D14 80262434 14A00029 */ bnez $a1, .L802624DC +/* 190D18 80262438 A6E20002 */ sh $v0, 2($s7) +/* 190D1C 8026243C 90820190 */ lbu $v0, 0x190($a0) +/* 190D20 80262440 3C01802A */ lui $at, 0x802a +/* 190D24 80262444 D420D5C0 */ ldc1 $f0, -0x2a40($at) +/* 190D28 80262448 44821000 */ mtc1 $v0, $f2 +/* 190D2C 8026244C 00000000 */ nop +/* 190D30 80262450 468010A1 */ cvt.d.w $f2, $f2 +/* 190D34 80262454 46201082 */ mul.d $f2, $f2, $f0 +/* 190D38 80262458 00000000 */ nop +/* 190D3C 8026245C C4800188 */ lwc1 $f0, 0x188($a0) +/* 190D40 80262460 46000021 */ cvt.d.s $f0, $f0 +/* 190D44 80262464 46201082 */ mul.d $f2, $f2, $f0 +/* 190D48 80262468 00000000 */ nop +/* 190D4C 8026246C C4800144 */ lwc1 $f0, 0x144($a0) +/* 190D50 80262470 46000021 */ cvt.d.s $f0, $f0 +/* 190D54 80262474 46220000 */ add.d $f0, $f0, $f2 +/* 190D58 80262478 4620048D */ trunc.w.d $f18, $f0 +/* 190D5C 8026247C 44029000 */ mfc1 $v0, $f18 +/* 190D60 80262480 00000000 */ nop +/* 190D64 80262484 A6E20004 */ sh $v0, 4($s7) +/* 190D68 80262488 90820191 */ lbu $v0, 0x191($a0) +/* 190D6C 8026248C 3C01802A */ lui $at, 0x802a +/* 190D70 80262490 D420D5C8 */ ldc1 $f0, -0x2a38($at) +/* 190D74 80262494 44821000 */ mtc1 $v0, $f2 +/* 190D78 80262498 00000000 */ nop +/* 190D7C 8026249C 468010A1 */ cvt.d.w $f2, $f2 +/* 190D80 802624A0 46201082 */ mul.d $f2, $f2, $f0 +/* 190D84 802624A4 00000000 */ nop +/* 190D88 802624A8 C4800188 */ lwc1 $f0, 0x188($a0) +/* 190D8C 802624AC 46000021 */ cvt.d.s $f0, $f0 +/* 190D90 802624B0 46201082 */ mul.d $f2, $f2, $f0 +/* 190D94 802624B4 00000000 */ nop +/* 190D98 802624B8 C4800148 */ lwc1 $f0, 0x148($a0) +/* 190D9C 802624BC 46000021 */ cvt.d.s $f0, $f0 +/* 190DA0 802624C0 46220000 */ add.d $f0, $f0, $f2 +/* 190DA4 802624C4 4620048D */ trunc.w.d $f18, $f0 +/* 190DA8 802624C8 44029000 */ mfc1 $v0, $f18 +/* 190DAC 802624CC 00000000 */ nop +/* 190DB0 802624D0 A6E20006 */ sh $v0, 6($s7) +/* 190DB4 802624D4 0809895E */ j func_80262578 +/* 190DB8 802624D8 C480014C */ lwc1 $f0, 0x14c($a0) + +.L802624DC: +/* 190DBC 802624DC 90820190 */ lbu $v0, 0x190($a0) +/* 190DC0 802624E0 3C01802A */ lui $at, 0x802a +/* 190DC4 802624E4 D420D5D0 */ ldc1 $f0, -0x2a30($at) +/* 190DC8 802624E8 44821000 */ mtc1 $v0, $f2 +/* 190DCC 802624EC 00000000 */ nop +/* 190DD0 802624F0 468010A1 */ cvt.d.w $f2, $f2 +/* 190DD4 802624F4 46201082 */ mul.d $f2, $f2, $f0 +/* 190DD8 802624F8 00000000 */ nop +/* 190DDC 802624FC C4800188 */ lwc1 $f0, 0x188($a0) +/* 190DE0 80262500 46000021 */ cvt.d.s $f0, $f0 +/* 190DE4 80262504 46201082 */ mul.d $f2, $f2, $f0 +/* 190DE8 80262508 00000000 */ nop +/* 190DEC 8026250C C4800138 */ lwc1 $f0, 0x138($a0) +/* 190DF0 80262510 46000021 */ cvt.d.s $f0, $f0 +/* 190DF4 80262514 46220000 */ add.d $f0, $f0, $f2 +/* 190DF8 80262518 4620048D */ trunc.w.d $f18, $f0 +/* 190DFC 8026251C 44029000 */ mfc1 $v0, $f18 +/* 190E00 80262520 00000000 */ nop +/* 190E04 80262524 A6E20004 */ sh $v0, 4($s7) +/* 190E08 80262528 90820191 */ lbu $v0, 0x191($a0) +/* 190E0C 8026252C 3C01802A */ lui $at, 0x802a +/* 190E10 80262530 D420D5D8 */ ldc1 $f0, -0x2a28($at) +/* 190E14 80262534 44821000 */ mtc1 $v0, $f2 +/* 190E18 80262538 00000000 */ nop +/* 190E1C 8026253C 468010A1 */ cvt.d.w $f2, $f2 +/* 190E20 80262540 46201082 */ mul.d $f2, $f2, $f0 +/* 190E24 80262544 00000000 */ nop +/* 190E28 80262548 C4800188 */ lwc1 $f0, 0x188($a0) +/* 190E2C 8026254C 46000021 */ cvt.d.s $f0, $f0 +/* 190E30 80262550 46201082 */ mul.d $f2, $f2, $f0 +/* 190E34 80262554 00000000 */ nop +/* 190E38 80262558 C480013C */ lwc1 $f0, 0x13c($a0) +/* 190E3C 8026255C 46000021 */ cvt.d.s $f0, $f0 +/* 190E40 80262560 46220000 */ add.d $f0, $f0, $f2 +/* 190E44 80262564 4620048D */ trunc.w.d $f18, $f0 +/* 190E48 80262568 44029000 */ mfc1 $v0, $f18 +/* 190E4C 8026256C 00000000 */ nop +/* 190E50 80262570 A6E20006 */ sh $v0, 6($s7) +/* 190E54 80262574 C4800140 */ lwc1 $f0, 0x140($a0) +func_80262578: +/* 190E58 80262578 4600048D */ trunc.w.s $f18, $f0 +/* 190E5C 8026257C 44029000 */ mfc1 $v0, $f18 +/* 190E60 80262580 00000000 */ nop +/* 190E64 80262584 A6E20008 */ sh $v0, 8($s7) +/* 190E68 80262588 2402FFCE */ addiu $v0, $zero, -0x32 +/* 190E6C 8026258C A2E20010 */ sb $v0, 0x10($s7) +/* 190E70 80262590 26B50001 */ addiu $s5, $s5, 1 +/* 190E74 80262594 26F70014 */ addiu $s7, $s7, 0x14 +/* 190E78 80262598 0000982D */ daddu $s3, $zero, $zero +.L8026259C: +/* 190E7C 8026259C 3C0140A0 */ lui $at, 0x40a0 +/* 190E80 802625A0 44818000 */ mtc1 $at, $f16 +/* 190E84 802625A4 240A0001 */ addiu $t2, $zero, 1 +/* 190E88 802625A8 240D0002 */ addiu $t5, $zero, 2 +/* 190E8C 802625AC 24090003 */ addiu $t1, $zero, 3 +/* 190E90 802625B0 02C0602D */ daddu $t4, $s6, $zero +.L802625B4: +/* 190E94 802625B4 8D9200E0 */ lw $s2, 0xe0($t4) +/* 190E98 802625B8 524000B6 */ beql $s2, $zero, .L80262894 +/* 190E9C 802625BC 26730001 */ addiu $s3, $s3, 1 +/* 190EA0 802625C0 8EC20184 */ lw $v0, 0x184($s6) +/* 190EA4 802625C4 30420108 */ andi $v0, $v0, 0x108 +/* 190EA8 802625C8 544000B6 */ bnezl $v0, .L802628A4 +/* 190EAC 802625CC A1600425 */ sb $zero, 0x425($t3) +/* 190EB0 802625D0 824801F3 */ lb $t0, 0x1f3($s2) +/* 190EB4 802625D4 8E5101F4 */ lw $s1, 0x1f4($s2) +/* 190EB8 802625D8 190000AD */ blez $t0, .L80262890 +/* 190EBC 802625DC 0000382D */ daddu $a3, $zero, $zero +/* 190EC0 802625E0 26E60013 */ addiu $a2, $s7, 0x13 +.L802625E4: +/* 190EC4 802625E4 8E230000 */ lw $v1, ($s1) +/* 190EC8 802625E8 3C020002 */ lui $v0, 2 +/* 190ECC 802625EC 00621024 */ and $v0, $v1, $v0 +/* 190ED0 802625F0 144000A2 */ bnez $v0, .L8026287C +/* 190ED4 802625F4 3C020010 */ lui $v0, 0x10 +/* 190ED8 802625F8 8E240008 */ lw $a0, 8($s1) +/* 190EDC 802625FC 00621024 */ and $v0, $v1, $v0 +/* 190EE0 80262600 14400036 */ bnez $v0, .L802626DC +/* 190EE4 80262604 00000000 */ nop +/* 190EE8 80262608 14A00005 */ bnez $a1, .L80262620 +/* 190EEC 8026260C 00000000 */ nop +/* 190EF0 80262610 C6460144 */ lwc1 $f6, 0x144($s2) +/* 190EF4 80262614 C6480148 */ lwc1 $f8, 0x148($s2) +/* 190EF8 80262618 0809898B */ j func_8026262C +/* 190EFC 8026261C C64A014C */ lwc1 $f10, 0x14c($s2) + +.L80262620: +/* 190F00 80262620 C6460138 */ lwc1 $f6, 0x138($s2) +/* 190F04 80262624 C648013C */ lwc1 $f8, 0x13c($s2) +/* 190F08 80262628 C64A0140 */ lwc1 $f10, 0x140($s2) +func_8026262C: +/* 190F0C 8026262C 86220014 */ lh $v0, 0x14($s1) +/* 190F10 80262630 C6440188 */ lwc1 $f4, 0x188($s2) +/* 190F14 80262634 44820000 */ mtc1 $v0, $f0 +/* 190F18 80262638 00000000 */ nop +/* 190F1C 8026263C 46800020 */ cvt.s.w $f0, $f0 +/* 190F20 80262640 46040002 */ mul.s $f0, $f0, $f4 +/* 190F24 80262644 00000000 */ nop +/* 190F28 80262648 8E420000 */ lw $v0, ($s2) +/* 190F2C 8026264C 30430800 */ andi $v1, $v0, 0x800 +/* 190F30 80262650 14600008 */ bnez $v1, .L80262674 +/* 190F34 80262654 46003180 */ add.s $f6, $f6, $f0 +/* 190F38 80262658 86220016 */ lh $v0, 0x16($s1) +/* 190F3C 8026265C 44820000 */ mtc1 $v0, $f0 +/* 190F40 80262660 00000000 */ nop +/* 190F44 80262664 46800020 */ cvt.s.w $f0, $f0 +/* 190F48 80262668 46040002 */ mul.s $f0, $f0, $f4 +/* 190F4C 8026266C 00000000 */ nop +/* 190F50 80262670 46004200 */ add.s $f8, $f8, $f0 +.L80262674: +/* 190F54 80262674 86220018 */ lh $v0, 0x18($s1) +/* 190F58 80262678 44821000 */ mtc1 $v0, $f2 +/* 190F5C 8026267C 00000000 */ nop +/* 190F60 80262680 468010A0 */ cvt.s.w $f2, $f2 +/* 190F64 80262684 46041082 */ mul.s $f2, $f2, $f4 +/* 190F68 80262688 00000000 */ nop +/* 190F6C 8026268C 8622006C */ lh $v0, 0x6c($s1) +/* 190F70 80262690 44820000 */ mtc1 $v0, $f0 +/* 190F74 80262694 00000000 */ nop +/* 190F78 80262698 46800020 */ cvt.s.w $f0, $f0 +/* 190F7C 8026269C 46040002 */ mul.s $f0, $f0, $f4 +/* 190F80 802626A0 00000000 */ nop +/* 190F84 802626A4 46025280 */ add.s $f10, $f10, $f2 +/* 190F88 802626A8 46003306 */ mov.s $f12, $f6 +/* 190F8C 802626AC 46006180 */ add.s $f6, $f12, $f0 +/* 190F90 802626B0 46004086 */ mov.s $f2, $f8 +/* 190F94 802626B4 1460001B */ bnez $v1, .L80262724 +/* 190F98 802626B8 46105380 */ add.s $f14, $f10, $f16 +/* 190F9C 802626BC 8622006E */ lh $v0, 0x6e($s1) +/* 190FA0 802626C0 44820000 */ mtc1 $v0, $f0 +/* 190FA4 802626C4 00000000 */ nop +/* 190FA8 802626C8 46800020 */ cvt.s.w $f0, $f0 +/* 190FAC 802626CC 46040002 */ mul.s $f0, $f0, $f4 +/* 190FB0 802626D0 00000000 */ nop +/* 190FB4 802626D4 080989C9 */ j func_80262724 +/* 190FB8 802626D8 46001200 */ add.s $f8, $f2, $f0 + +.L802626DC: +/* 190FBC 802626DC C6280030 */ lwc1 $f8, 0x30($s1) +/* 190FC0 802626E0 C62A0034 */ lwc1 $f10, 0x34($s1) +/* 190FC4 802626E4 C62C002C */ lwc1 $f12, 0x2c($s1) +/* 190FC8 802626E8 8622006C */ lh $v0, 0x6c($s1) +/* 190FCC 802626EC 46004086 */ mov.s $f2, $f8 +/* 190FD0 802626F0 46105380 */ add.s $f14, $f10, $f16 +/* 190FD4 802626F4 44820000 */ mtc1 $v0, $f0 +/* 190FD8 802626F8 00000000 */ nop +/* 190FDC 802626FC 46800020 */ cvt.s.w $f0, $f0 +/* 190FE0 80262700 8E420000 */ lw $v0, ($s2) +/* 190FE4 80262704 30420800 */ andi $v0, $v0, 0x800 +/* 190FE8 80262708 14400006 */ bnez $v0, .L80262724 +/* 190FEC 8026270C 46006180 */ add.s $f6, $f12, $f0 +/* 190FF0 80262710 8622006E */ lh $v0, 0x6e($s1) +/* 190FF4 80262714 44820000 */ mtc1 $v0, $f0 +/* 190FF8 80262718 00000000 */ nop +/* 190FFC 8026271C 46800020 */ cvt.s.w $f0, $f0 +/* 191000 80262720 46001200 */ add.s $f8, $f2, $f0 +func_80262724: +.L80262724: +/* 191004 80262724 36620200 */ ori $v0, $s3, 0x200 +/* 191008 80262728 A6E20000 */ sh $v0, ($s7) +/* 19100C 8026272C 90830004 */ lbu $v1, 4($a0) +/* 191010 80262730 4600348D */ trunc.w.s $f18, $f6 +/* 191014 80262734 44029000 */ mfc1 $v0, $f18 +/* 191018 80262738 00000000 */ nop +/* 19101C 8026273C A4C2FFF1 */ sh $v0, -0xf($a2) +/* 191020 80262740 4600448D */ trunc.w.s $f18, $f8 +/* 191024 80262744 44029000 */ mfc1 $v0, $f18 +/* 191028 80262748 00000000 */ nop +/* 19102C 8026274C A4C2FFF3 */ sh $v0, -0xd($a2) +/* 191030 80262750 4600548D */ trunc.w.s $f18, $f10 +/* 191034 80262754 44029000 */ mfc1 $v0, $f18 +/* 191038 80262758 00000000 */ nop +/* 19103C 8026275C A4C2FFF5 */ sh $v0, -0xb($a2) +/* 191040 80262760 A0C0FFFD */ sb $zero, -3($a2) +/* 191044 80262764 00031E00 */ sll $v1, $v1, 0x18 +/* 191048 80262768 00031E03 */ sra $v1, $v1, 0x18 +/* 19104C 8026276C A4C3FFEF */ sh $v1, -0x11($a2) +/* 191050 80262770 8E420000 */ lw $v0, ($s2) +/* 191054 80262774 24034000 */ addiu $v1, $zero, 0x4000 +/* 191058 80262778 30424010 */ andi $v0, $v0, 0x4010 +/* 19105C 8026277C 14430002 */ bne $v0, $v1, .L80262788 +/* 191060 80262780 24020064 */ addiu $v0, $zero, 0x64 +/* 191064 80262784 A0C2FFFD */ sb $v0, -3($a2) +.L80262788: +/* 191068 80262788 92230071 */ lbu $v1, 0x71($s1) +/* 19106C 8026278C 90C4FFFD */ lbu $a0, -3($a2) +/* 191070 80262790 4600148D */ trunc.w.s $f18, $f2 +/* 191074 80262794 44029000 */ mfc1 $v0, $f18 +/* 191078 80262798 00000000 */ nop +/* 19107C 8026279C A4C2FFF9 */ sh $v0, -7($a2) +/* 191080 802627A0 4600748D */ trunc.w.s $f18, $f14 +/* 191084 802627A4 44029000 */ mfc1 $v0, $f18 +/* 191088 802627A8 00000000 */ nop +/* 19108C 802627AC A4C2FFFB */ sh $v0, -5($a2) +/* 191090 802627B0 00832021 */ addu $a0, $a0, $v1 +/* 191094 802627B4 00041E00 */ sll $v1, $a0, 0x18 +/* 191098 802627B8 00031E03 */ sra $v1, $v1, 0x18 +/* 19109C 802627BC 00031040 */ sll $v0, $v1, 1 +/* 1910A0 802627C0 00431021 */ addu $v0, $v0, $v1 +/* 1910A4 802627C4 000210C0 */ sll $v0, $v0, 3 +/* 1910A8 802627C8 00431021 */ addu $v0, $v0, $v1 +/* 1910AC 802627CC 00021080 */ sll $v0, $v0, 2 +/* 1910B0 802627D0 44820000 */ mtc1 $v0, $f0 +/* 1910B4 802627D4 00000000 */ nop +/* 1910B8 802627D8 46800020 */ cvt.s.w $f0, $f0 +/* 1910BC 802627DC 46006000 */ add.s $f0, $f12, $f0 +/* 1910C0 802627E0 84C3FFF9 */ lh $v1, -7($a2) +/* 1910C4 802627E4 A0C4FFFD */ sb $a0, -3($a2) +/* 1910C8 802627E8 4600048D */ trunc.w.s $f18, $f0 +/* 1910CC 802627EC 44029000 */ mfc1 $v0, $f18 +/* 1910D0 802627F0 00000000 */ nop +/* 1910D4 802627F4 A4C2FFF7 */ sh $v0, -9($a2) +/* 1910D8 802627F8 28620028 */ slti $v0, $v1, 0x28 +/* 1910DC 802627FC 10400003 */ beqz $v0, .L8026280C +/* 1910E0 80262800 28620055 */ slti $v0, $v1, 0x55 +/* 1910E4 80262804 08098A0A */ j func_80262828 +/* 1910E8 80262808 A0C0FFFF */ sb $zero, -1($a2) + +.L8026280C: +/* 1910EC 8026280C 10400003 */ beqz $v0, .L8026281C +/* 1910F0 80262810 28620064 */ slti $v0, $v1, 0x64 +/* 1910F4 80262814 08098A0A */ j func_80262828 +/* 1910F8 80262818 A0CAFFFF */ sb $t2, -1($a2) + +.L8026281C: +/* 1910FC 8026281C 50400002 */ beql $v0, $zero, .L80262828 +/* 191100 80262820 A0C9FFFF */ sb $t1, -1($a2) +/* 191104 80262824 A0CDFFFF */ sb $t5, -1($a2) +func_80262828: +.L80262828: +/* 191108 80262828 84C3FFF7 */ lh $v1, -9($a2) +/* 19110C 8026282C 28620019 */ slti $v0, $v1, 0x19 +/* 191110 80262830 10400003 */ beqz $v0, .L80262840 +/* 191114 80262834 28620041 */ slti $v0, $v1, 0x41 +/* 191118 80262838 08098A17 */ j func_8026285C +/* 19111C 8026283C A0C0FFFE */ sb $zero, -2($a2) + +.L80262840: +/* 191120 80262840 10400003 */ beqz $v0, .L80262850 +/* 191124 80262844 28620069 */ slti $v0, $v1, 0x69 +/* 191128 80262848 08098A17 */ j func_8026285C +/* 19112C 8026284C A0CAFFFE */ sb $t2, -2($a2) + +.L80262850: +/* 191130 80262850 50400002 */ beql $v0, $zero, .L8026285C +/* 191134 80262854 A0C9FFFE */ sb $t1, -2($a2) +/* 191138 80262858 A0CDFFFE */ sb $t5, -2($a2) +func_8026285C: +.L8026285C: +/* 19113C 8026285C 84C2FFFB */ lh $v0, -5($a2) +/* 191140 80262860 2842FFE2 */ slti $v0, $v0, -0x1e +/* 191144 80262864 50400002 */ beql $v0, $zero, .L80262870 +/* 191148 80262868 A0CA0000 */ sb $t2, ($a2) +/* 19114C 8026286C A0C00000 */ sb $zero, ($a2) +.L80262870: +/* 191150 80262870 26B50001 */ addiu $s5, $s5, 1 +/* 191154 80262874 24C60014 */ addiu $a2, $a2, 0x14 +/* 191158 80262878 26F70014 */ addiu $s7, $s7, 0x14 +.L8026287C: +/* 19115C 8026287C 8E31000C */ lw $s1, 0xc($s1) +/* 191160 80262880 24E70001 */ addiu $a3, $a3, 1 +/* 191164 80262884 00E8102A */ slt $v0, $a3, $t0 +/* 191168 80262888 1440FF56 */ bnez $v0, .L802625E4 +/* 19116C 8026288C 00000000 */ nop +.L80262890: +/* 191170 80262890 26730001 */ addiu $s3, $s3, 1 +.L80262894: +/* 191174 80262894 2A620018 */ slti $v0, $s3, 0x18 +/* 191178 80262898 1440FF46 */ bnez $v0, .L802625B4 +/* 19117C 8026289C 258C0004 */ addiu $t4, $t4, 4 +/* 191180 802628A0 A1600425 */ sb $zero, 0x425($t3) +.L802628A4: +/* 191184 802628A4 A175040C */ sb $s5, 0x40c($t3) +/* 191188 802628A8 92C30197 */ lbu $v1, 0x197($s6) +/* 19118C 802628AC 00031600 */ sll $v0, $v1, 0x18 +/* 191190 802628B0 00022603 */ sra $a0, $v0, 0x18 +/* 191194 802628B4 30630004 */ andi $v1, $v1, 4 +/* 191198 802628B8 04810002 */ bgez $a0, .L802628C4 +/* 19119C 802628BC AFA3001C */ sw $v1, 0x1c($sp) +/* 1911A0 802628C0 24840003 */ addiu $a0, $a0, 3 +.L802628C4: +/* 1911A4 802628C4 2577022C */ addiu $s7, $t3, 0x22c +/* 1911A8 802628C8 00151600 */ sll $v0, $s5, 0x18 +/* 1911AC 802628CC 0002AE03 */ sra $s5, $v0, 0x18 +/* 1911B0 802628D0 0000982D */ daddu $s3, $zero, $zero +/* 1911B4 802628D4 1AA0006A */ blez $s5, .L80262A80 +/* 1911B8 802628D8 0004F083 */ sra $fp, $a0, 2 +/* 1911BC 802628DC 0260A02D */ daddu $s4, $s3, $zero +.L802628E0: +/* 1911C0 802628E0 02F48021 */ addu $s0, $s7, $s4 +/* 1911C4 802628E4 86040000 */ lh $a0, ($s0) +/* 1911C8 802628E8 0C09A75B */ jal get_actor +/* 1911CC 802628EC AFAB0020 */ sw $t3, 0x20($sp) +/* 1911D0 802628F0 0040902D */ daddu $s2, $v0, $zero +/* 1911D4 802628F4 86050002 */ lh $a1, 2($s0) +/* 1911D8 802628F8 0C099117 */ jal get_actor_part +/* 1911DC 802628FC 0240202D */ daddu $a0, $s2, $zero +/* 1911E0 80262900 86030000 */ lh $v1, ($s0) +/* 1911E4 80262904 8FAB0020 */ lw $t3, 0x20($sp) +/* 1911E8 80262908 10600059 */ beqz $v1, .L80262A70 +/* 1911EC 8026290C 0040882D */ daddu $s1, $v0, $zero +/* 1911F0 80262910 24020100 */ addiu $v0, $zero, 0x100 +/* 1911F4 80262914 50620057 */ beql $v1, $v0, .L80262A74 +/* 1911F8 80262918 26730001 */ addiu $s3, $s3, 1 +/* 1911FC 8026291C 8EC20184 */ lw $v0, 0x184($s6) +/* 191200 80262920 04420029 */ bltzl $v0, .L802629C8 +/* 191204 80262924 24040001 */ addiu $a0, $zero, 1 +/* 191208 80262928 3C02800E */ lui $v0, 0x800e +/* 19120C 8026292C 8C42C074 */ lw $v0, -0x3f8c($v0) +/* 191210 80262930 30424000 */ andi $v0, $v0, 0x4000 +/* 191214 80262934 14400013 */ bnez $v0, .L80262984 +/* 191218 80262938 00000000 */ nop +/* 19121C 8026293C 82C20432 */ lb $v0, 0x432($s6) +/* 191220 80262940 18400010 */ blez $v0, .L80262984 +/* 191224 80262944 24040001 */ addiu $a0, $zero, 1 +/* 191228 80262948 27A50010 */ addiu $a1, $sp, 0x10 +/* 19122C 8026294C 27A60014 */ addiu $a2, $sp, 0x14 +/* 191230 80262950 0C04DF70 */ jal func_80137DC0 +/* 191234 80262954 AFAB0020 */ sw $t3, 0x20($sp) +/* 191238 80262958 C7A20014 */ lwc1 $f2, 0x14($sp) +/* 19123C 8026295C 3C014357 */ lui $at, 0x4357 +/* 191240 80262960 44810000 */ mtc1 $at, $f0 +/* 191244 80262964 8FAB0020 */ lw $t3, 0x20($sp) +/* 191248 80262968 4602003E */ c.le.s $f0, $f2 +/* 19124C 8026296C 00000000 */ nop +/* 191250 80262970 45000004 */ bc1f .L80262984 +/* 191254 80262974 24040001 */ addiu $a0, $zero, 1 +/* 191258 80262978 0080782D */ daddu $t7, $a0, $zero +/* 19125C 8026297C 08098A72 */ j func_802629C8 +/* 191260 80262980 AFAF0018 */ sw $t7, 0x18($sp) + +.L80262984: +/* 191264 80262984 8EC20184 */ lw $v0, 0x184($s6) +/* 191268 80262988 30428000 */ andi $v0, $v0, 0x8000 +/* 19126C 8026298C 1040000D */ beqz $v0, .L802629C4 +/* 191270 80262990 3C020080 */ lui $v0, 0x80 +/* 191274 80262994 8E230000 */ lw $v1, ($s1) +/* 191278 80262998 00621024 */ and $v0, $v1, $v0 +/* 19127C 8026299C 1040000A */ beqz $v0, .L802629C8 +/* 191280 802629A0 24040001 */ addiu $a0, $zero, 1 +/* 191284 802629A4 8E420000 */ lw $v0, ($s2) +/* 191288 802629A8 30420040 */ andi $v0, $v0, 0x40 +/* 19128C 802629AC 14400006 */ bnez $v0, .L802629C8 +/* 191290 802629B0 30620040 */ andi $v0, $v1, 0x40 +/* 191294 802629B4 50400004 */ beql $v0, $zero, .L802629C8 +/* 191298 802629B8 0000202D */ daddu $a0, $zero, $zero +/* 19129C 802629BC 08098A72 */ j func_802629C8 +/* 1912A0 802629C0 00000000 */ nop + +.L802629C4: +/* 1912A4 802629C4 0000202D */ daddu $a0, $zero, $zero +func_802629C8: +.L802629C8: +/* 1912A8 802629C8 5080002A */ beql $a0, $zero, .L80262A74 +/* 1912AC 802629CC 26730001 */ addiu $s3, $s3, 1 +/* 1912B0 802629D0 26A5FFFF */ addiu $a1, $s5, -1 +/* 1912B4 802629D4 0265102A */ slt $v0, $s3, $a1 +/* 1912B8 802629D8 10400022 */ beqz $v0, .L80262A64 +/* 1912BC 802629DC 0260382D */ daddu $a3, $s3, $zero +/* 1912C0 802629E0 00071880 */ sll $v1, $a3, 2 +.L802629E4: +/* 1912C4 802629E4 00671821 */ addu $v1, $v1, $a3 +/* 1912C8 802629E8 00031880 */ sll $v1, $v1, 2 +/* 1912CC 802629EC 01631821 */ addu $v1, $t3, $v1 +/* 1912D0 802629F0 24E40001 */ addiu $a0, $a3, 1 +/* 1912D4 802629F4 00041080 */ sll $v0, $a0, 2 +/* 1912D8 802629F8 00441021 */ addu $v0, $v0, $a0 +/* 1912DC 802629FC 00021080 */ sll $v0, $v0, 2 +/* 1912E0 80262A00 01621021 */ addu $v0, $t3, $v0 +/* 1912E4 80262A04 8858022C */ lwl $t8, 0x22c($v0) +/* 1912E8 80262A08 9858022F */ lwr $t8, 0x22f($v0) +/* 1912EC 80262A0C 88590230 */ lwl $t9, 0x230($v0) +/* 1912F0 80262A10 98590233 */ lwr $t9, 0x233($v0) +/* 1912F4 80262A14 884E0234 */ lwl $t6, 0x234($v0) +/* 1912F8 80262A18 984E0237 */ lwr $t6, 0x237($v0) +/* 1912FC 80262A1C 884F0238 */ lwl $t7, 0x238($v0) +/* 191300 80262A20 984F023B */ lwr $t7, 0x23b($v0) +/* 191304 80262A24 A878022C */ swl $t8, 0x22c($v1) +/* 191308 80262A28 B878022F */ swr $t8, 0x22f($v1) +/* 19130C 80262A2C A8790230 */ swl $t9, 0x230($v1) +/* 191310 80262A30 B8790233 */ swr $t9, 0x233($v1) +/* 191314 80262A34 A86E0234 */ swl $t6, 0x234($v1) +/* 191318 80262A38 B86E0237 */ swr $t6, 0x237($v1) +/* 19131C 80262A3C A86F0238 */ swl $t7, 0x238($v1) +/* 191320 80262A40 B86F023B */ swr $t7, 0x23b($v1) +/* 191324 80262A44 8858023C */ lwl $t8, 0x23c($v0) +/* 191328 80262A48 9858023F */ lwr $t8, 0x23f($v0) +/* 19132C 80262A4C A878023C */ swl $t8, 0x23c($v1) +/* 191330 80262A50 B878023F */ swr $t8, 0x23f($v1) +/* 191334 80262A54 0080382D */ daddu $a3, $a0, $zero +/* 191338 80262A58 00E5102A */ slt $v0, $a3, $a1 +/* 19133C 80262A5C 1440FFE1 */ bnez $v0, .L802629E4 +/* 191340 80262A60 00071880 */ sll $v1, $a3, 2 +.L80262A64: +/* 191344 80262A64 26B5FFFF */ addiu $s5, $s5, -1 +/* 191348 80262A68 2694FFEC */ addiu $s4, $s4, -0x14 +/* 19134C 80262A6C 2673FFFF */ addiu $s3, $s3, -1 +.L80262A70: +/* 191350 80262A70 26730001 */ addiu $s3, $s3, 1 +.L80262A74: +/* 191354 80262A74 0275102A */ slt $v0, $s3, $s5 +/* 191358 80262A78 1440FF99 */ bnez $v0, .L802628E0 +/* 19135C 80262A7C 26940014 */ addiu $s4, $s4, 0x14 +.L80262A80: +/* 191360 80262A80 1AA00115 */ blez $s5, .L80262ED8 +/* 191364 80262A84 0000982D */ daddu $s3, $zero, $zero +/* 191368 80262A88 00131080 */ sll $v0, $s3, 2 +.L80262A8C: +/* 19136C 80262A8C 00531021 */ addu $v0, $v0, $s3 +/* 191370 80262A90 00021080 */ sll $v0, $v0, 2 +/* 191374 80262A94 02E28021 */ addu $s0, $s7, $v0 +/* 191378 80262A98 86040000 */ lh $a0, ($s0) +/* 19137C 80262A9C 0C09A75B */ jal get_actor +/* 191380 80262AA0 AFAB0020 */ sw $t3, 0x20($sp) +/* 191384 80262AA4 0040902D */ daddu $s2, $v0, $zero +/* 191388 80262AA8 86050002 */ lh $a1, 2($s0) +/* 19138C 80262AAC 0C099117 */ jal get_actor_part +/* 191390 80262AB0 0240202D */ daddu $a0, $s2, $zero +/* 191394 80262AB4 86030000 */ lh $v1, ($s0) +/* 191398 80262AB8 8FAB0020 */ lw $t3, 0x20($sp) +/* 19139C 80262ABC 10600102 */ beqz $v1, .L80262EC8 +/* 1913A0 80262AC0 0040882D */ daddu $s1, $v0, $zero +/* 1913A4 80262AC4 24020100 */ addiu $v0, $zero, 0x100 +/* 1913A8 80262AC8 50620100 */ beql $v1, $v0, .L80262ECC +/* 1913AC 80262ACC 26730001 */ addiu $s3, $s3, 1 +/* 1913B0 80262AD0 8EC20184 */ lw $v0, 0x184($s6) +/* 1913B4 80262AD4 30420800 */ andi $v0, $v0, 0x800 +/* 1913B8 80262AD8 10400005 */ beqz $v0, .L80262AF0 +/* 1913BC 80262ADC 00000000 */ nop +/* 1913C0 80262AE0 8E220004 */ lw $v0, 4($s1) +/* 1913C4 80262AE4 30420001 */ andi $v0, $v0, 1 +/* 1913C8 80262AE8 544000CE */ bnezl $v0, .L80262E24 +/* 1913CC 80262AEC 24040001 */ addiu $a0, $zero, 1 +.L80262AF0: +/* 1913D0 80262AF0 8EC20184 */ lw $v0, 0x184($s6) +/* 1913D4 80262AF4 30421000 */ andi $v0, $v0, 0x1000 +/* 1913D8 80262AF8 10400005 */ beqz $v0, .L80262B10 +/* 1913DC 80262AFC 00000000 */ nop +/* 1913E0 80262B00 8E220004 */ lw $v0, 4($s1) +/* 1913E4 80262B04 30420002 */ andi $v0, $v0, 2 +/* 1913E8 80262B08 544000C6 */ bnezl $v0, .L80262E24 +/* 1913EC 80262B0C 24040001 */ addiu $a0, $zero, 1 +.L80262B10: +/* 1913F0 80262B10 8EC20184 */ lw $v0, 0x184($s6) +/* 1913F4 80262B14 3C030002 */ lui $v1, 2 +/* 1913F8 80262B18 00431024 */ and $v0, $v0, $v1 +/* 1913FC 80262B1C 10400009 */ beqz $v0, .L80262B44 +/* 191400 80262B20 00000000 */ nop +/* 191404 80262B24 8E420000 */ lw $v0, ($s2) +/* 191408 80262B28 30420080 */ andi $v0, $v0, 0x80 +/* 19140C 80262B2C 544000BD */ bnezl $v0, .L80262E24 +/* 191410 80262B30 24040001 */ addiu $a0, $zero, 1 +/* 191414 80262B34 8E220000 */ lw $v0, ($s1) +/* 191418 80262B38 30420080 */ andi $v0, $v0, 0x80 +/* 19141C 80262B3C 544000B9 */ bnezl $v0, .L80262E24 +/* 191420 80262B40 24040001 */ addiu $a0, $zero, 1 +.L80262B44: +/* 191424 80262B44 8EC20184 */ lw $v0, 0x184($s6) +/* 191428 80262B48 30420400 */ andi $v0, $v0, 0x400 +/* 19142C 80262B4C 10400005 */ beqz $v0, .L80262B64 +/* 191430 80262B50 00000000 */ nop +/* 191434 80262B54 8E420000 */ lw $v0, ($s2) +/* 191438 80262B58 30420800 */ andi $v0, $v0, 0x800 +/* 19143C 80262B5C 544000B1 */ bnezl $v0, .L80262E24 +/* 191440 80262B60 24040001 */ addiu $a0, $zero, 1 +.L80262B64: +/* 191444 80262B64 8EC20184 */ lw $v0, 0x184($s6) +/* 191448 80262B68 3C030001 */ lui $v1, 1 +/* 19144C 80262B6C 00431024 */ and $v0, $v0, $v1 +/* 191450 80262B70 14400005 */ bnez $v0, .L80262B88 +/* 191454 80262B74 00000000 */ nop +/* 191458 80262B78 8E420000 */ lw $v0, ($s2) +/* 19145C 80262B7C 30424000 */ andi $v0, $v0, 0x4000 +/* 191460 80262B80 544000A8 */ bnezl $v0, .L80262E24 +/* 191464 80262B84 24040001 */ addiu $a0, $zero, 1 +.L80262B88: +/* 191468 80262B88 8EC20184 */ lw $v0, 0x184($s6) +/* 19146C 80262B8C 3C030004 */ lui $v1, 4 +/* 191470 80262B90 00431024 */ and $v0, $v0, $v1 +/* 191474 80262B94 10400005 */ beqz $v0, .L80262BAC +/* 191478 80262B98 00000000 */ nop +/* 19147C 80262B9C 8E420000 */ lw $v0, ($s2) +/* 191480 80262BA0 30420800 */ andi $v0, $v0, 0x800 +/* 191484 80262BA4 5440009F */ bnezl $v0, .L80262E24 +/* 191488 80262BA8 24040001 */ addiu $a0, $zero, 1 +.L80262BAC: +/* 19148C 80262BAC 8EC20184 */ lw $v0, 0x184($s6) +/* 191490 80262BB0 30420004 */ andi $v0, $v0, 4 +/* 191494 80262BB4 10400004 */ beqz $v0, .L80262BC8 +/* 191498 80262BB8 00000000 */ nop +/* 19149C 80262BBC 82020012 */ lb $v0, 0x12($s0) +/* 1914A0 80262BC0 54400098 */ bnezl $v0, .L80262E24 +/* 1914A4 80262BC4 24040001 */ addiu $a0, $zero, 1 +.L80262BC8: +/* 1914A8 80262BC8 8EC20184 */ lw $v0, 0x184($s6) +/* 1914AC 80262BCC 30420010 */ andi $v0, $v0, 0x10 +/* 1914B0 80262BD0 10400005 */ beqz $v0, .L80262BE8 +/* 1914B4 80262BD4 00000000 */ nop +/* 1914B8 80262BD8 82020012 */ lb $v0, 0x12($s0) +/* 1914BC 80262BDC 28420002 */ slti $v0, $v0, 2 +/* 1914C0 80262BE0 50400090 */ beql $v0, $zero, .L80262E24 +/* 1914C4 80262BE4 24040001 */ addiu $a0, $zero, 1 +.L80262BE8: +/* 1914C8 80262BE8 8EC20184 */ lw $v0, 0x184($s6) +/* 1914CC 80262BEC 30420040 */ andi $v0, $v0, 0x40 +/* 1914D0 80262BF0 10400004 */ beqz $v0, .L80262C04 +/* 1914D4 80262BF4 00000000 */ nop +/* 1914D8 80262BF8 82020012 */ lb $v0, 0x12($s0) +/* 1914DC 80262BFC 18400089 */ blez $v0, .L80262E24 +/* 1914E0 80262C00 24040001 */ addiu $a0, $zero, 1 +.L80262C04: +/* 1914E4 80262C04 8EC20184 */ lw $v0, 0x184($s6) +/* 1914E8 80262C08 30424000 */ andi $v0, $v0, 0x4000 +/* 1914EC 80262C0C 1040001D */ beqz $v0, .L80262C84 +/* 1914F0 80262C10 00000000 */ nop +/* 1914F4 80262C14 8E220000 */ lw $v0, ($s1) +/* 1914F8 80262C18 30420020 */ andi $v0, $v0, 0x20 +/* 1914FC 80262C1C 14400019 */ bnez $v0, .L80262C84 +/* 191500 80262C20 0000302D */ daddu $a2, $zero, $zero +/* 191504 80262C24 1AA00015 */ blez $s5, .L80262C7C +/* 191508 80262C28 00C0382D */ daddu $a3, $a2, $zero +/* 19150C 80262C2C 02E0202D */ daddu $a0, $s7, $zero +.L80262C30: +/* 191510 80262C30 0080282D */ daddu $a1, $a0, $zero +/* 191514 80262C34 5205000E */ beql $s0, $a1, .L80262C70 +/* 191518 80262C38 24E70001 */ addiu $a3, $a3, 1 +/* 19151C 80262C3C 82030013 */ lb $v1, 0x13($s0) +/* 191520 80262C40 80A20013 */ lb $v0, 0x13($a1) +/* 191524 80262C44 1462000A */ bne $v1, $v0, .L80262C70 +/* 191528 80262C48 24E70001 */ addiu $a3, $a3, 1 +/* 19152C 80262C4C 82030011 */ lb $v1, 0x11($s0) +/* 191530 80262C50 80A20011 */ lb $v0, 0x11($a1) +/* 191534 80262C54 14620006 */ bne $v1, $v0, .L80262C70 +/* 191538 80262C58 00000000 */ nop +/* 19153C 80262C5C 82030012 */ lb $v1, 0x12($s0) +/* 191540 80262C60 80A20012 */ lb $v0, 0x12($a1) +/* 191544 80262C64 0062182A */ slt $v1, $v1, $v0 +/* 191548 80262C68 54600004 */ bnezl $v1, .L80262C7C +/* 19154C 80262C6C 24060001 */ addiu $a2, $zero, 1 +.L80262C70: +/* 191550 80262C70 00F5102A */ slt $v0, $a3, $s5 +/* 191554 80262C74 1440FFEE */ bnez $v0, .L80262C30 +/* 191558 80262C78 24840014 */ addiu $a0, $a0, 0x14 +.L80262C7C: +/* 19155C 80262C7C 14C00069 */ bnez $a2, .L80262E24 +/* 191560 80262C80 24040001 */ addiu $a0, $zero, 1 +.L80262C84: +/* 191564 80262C84 8EC20184 */ lw $v0, 0x184($s6) +/* 191568 80262C88 30422000 */ andi $v0, $v0, 0x2000 +/* 19156C 80262C8C 10400015 */ beqz $v0, .L80262CE4 +/* 191570 80262C90 0000302D */ daddu $a2, $zero, $zero +/* 191574 80262C94 1AA00011 */ blez $s5, .L80262CDC +/* 191578 80262C98 00C0382D */ daddu $a3, $a2, $zero +/* 19157C 80262C9C 02E0202D */ daddu $a0, $s7, $zero +.L80262CA0: +/* 191580 80262CA0 0080282D */ daddu $a1, $a0, $zero +/* 191584 80262CA4 1205000A */ beq $s0, $a1, .L80262CD0 +/* 191588 80262CA8 24E70001 */ addiu $a3, $a3, 1 +/* 19158C 80262CAC 96030012 */ lhu $v1, 0x12($s0) +/* 191590 80262CB0 94A20012 */ lhu $v0, 0x12($a1) +/* 191594 80262CB4 14620006 */ bne $v1, $v0, .L80262CD0 +/* 191598 80262CB8 00000000 */ nop +/* 19159C 80262CBC 82030011 */ lb $v1, 0x11($s0) +/* 1915A0 80262CC0 80A20011 */ lb $v0, 0x11($a1) +/* 1915A4 80262CC4 0043102A */ slt $v0, $v0, $v1 +/* 1915A8 80262CC8 54400004 */ bnezl $v0, .L80262CDC +/* 1915AC 80262CCC 24060001 */ addiu $a2, $zero, 1 +.L80262CD0: +/* 1915B0 80262CD0 00F5102A */ slt $v0, $a3, $s5 +/* 1915B4 80262CD4 1440FFF2 */ bnez $v0, .L80262CA0 +/* 1915B8 80262CD8 24840014 */ addiu $a0, $a0, 0x14 +.L80262CDC: +/* 1915BC 80262CDC 54C00051 */ bnezl $a2, .L80262E24 +/* 1915C0 80262CE0 24040001 */ addiu $a0, $zero, 1 +.L80262CE4: +/* 1915C4 80262CE4 8EC20184 */ lw $v0, 0x184($s6) +/* 1915C8 80262CE8 30420020 */ andi $v0, $v0, 0x20 +/* 1915CC 80262CEC 10400005 */ beqz $v0, .L80262D04 +/* 1915D0 80262CF0 00000000 */ nop +/* 1915D4 80262CF4 8E420000 */ lw $v0, ($s2) +/* 1915D8 80262CF8 30420200 */ andi $v0, $v0, 0x200 +/* 1915DC 80262CFC 54400049 */ bnezl $v0, .L80262E24 +/* 1915E0 80262D00 24040001 */ addiu $a0, $zero, 1 +.L80262D04: +/* 1915E4 80262D04 8EC20184 */ lw $v0, 0x184($s6) +/* 1915E8 80262D08 3C030010 */ lui $v1, 0x10 +/* 1915EC 80262D0C 00431024 */ and $v0, $v0, $v1 +/* 1915F0 80262D10 10400004 */ beqz $v0, .L80262D24 +/* 1915F4 80262D14 27C20001 */ addiu $v0, $fp, 1 +/* 1915F8 80262D18 82030012 */ lb $v1, 0x12($s0) +/* 1915FC 80262D1C 50620041 */ beql $v1, $v0, .L80262E24 +/* 191600 80262D20 24040001 */ addiu $a0, $zero, 1 +.L80262D24: +/* 191604 80262D24 8EC20184 */ lw $v0, 0x184($s6) +/* 191608 80262D28 3C030020 */ lui $v1, 0x20 +/* 19160C 80262D2C 00431024 */ and $v0, $v0, $v1 +/* 191610 80262D30 10400004 */ beqz $v0, .L80262D44 +/* 191614 80262D34 27C2FFFF */ addiu $v0, $fp, -1 +/* 191618 80262D38 82030012 */ lb $v1, 0x12($s0) +/* 19161C 80262D3C 50620039 */ beql $v1, $v0, .L80262E24 +/* 191620 80262D40 24040001 */ addiu $a0, $zero, 1 +.L80262D44: +/* 191624 80262D44 8EC20184 */ lw $v0, 0x184($s6) +/* 191628 80262D48 3C030040 */ lui $v1, 0x40 +/* 19162C 80262D4C 00431024 */ and $v0, $v0, $v1 +/* 191630 80262D50 10400006 */ beqz $v0, .L80262D6C +/* 191634 80262D54 00000000 */ nop +/* 191638 80262D58 8FB8001C */ lw $t8, 0x1c($sp) +/* 19163C 80262D5C 82030011 */ lb $v1, 0x11($s0) +/* 191640 80262D60 2702FFFF */ addiu $v0, $t8, -1 +/* 191644 80262D64 5062002F */ beql $v1, $v0, .L80262E24 +/* 191648 80262D68 24040001 */ addiu $a0, $zero, 1 +.L80262D6C: +/* 19164C 80262D6C 8EC20184 */ lw $v0, 0x184($s6) +/* 191650 80262D70 3C030080 */ lui $v1, 0x80 +/* 191654 80262D74 00431024 */ and $v0, $v0, $v1 +/* 191658 80262D78 10400006 */ beqz $v0, .L80262D94 +/* 19165C 80262D7C 00000000 */ nop +/* 191660 80262D80 8FB9001C */ lw $t9, 0x1c($sp) +/* 191664 80262D84 82030011 */ lb $v1, 0x11($s0) +/* 191668 80262D88 27220001 */ addiu $v0, $t9, 1 +/* 19166C 80262D8C 50620025 */ beql $v1, $v0, .L80262E24 +/* 191670 80262D90 24040001 */ addiu $a0, $zero, 1 +.L80262D94: +/* 191674 80262D94 8EC20184 */ lw $v0, 0x184($s6) +/* 191678 80262D98 3C030010 */ lui $v1, 0x10 +/* 19167C 80262D9C 00431024 */ and $v0, $v0, $v1 +/* 191680 80262DA0 10400005 */ beqz $v0, .L80262DB8 +/* 191684 80262DA4 00000000 */ nop +/* 191688 80262DA8 82020012 */ lb $v0, 0x12($s0) +/* 19168C 80262DAC 005E102A */ slt $v0, $v0, $fp +/* 191690 80262DB0 5440001C */ bnezl $v0, .L80262E24 +/* 191694 80262DB4 24040001 */ addiu $a0, $zero, 1 +.L80262DB8: +/* 191698 80262DB8 8EC20184 */ lw $v0, 0x184($s6) +/* 19169C 80262DBC 3C030020 */ lui $v1, 0x20 +/* 1916A0 80262DC0 00431024 */ and $v0, $v0, $v1 +/* 1916A4 80262DC4 10400005 */ beqz $v0, .L80262DDC +/* 1916A8 80262DC8 00000000 */ nop +/* 1916AC 80262DCC 82020012 */ lb $v0, 0x12($s0) +/* 1916B0 80262DD0 03C2102A */ slt $v0, $fp, $v0 +/* 1916B4 80262DD4 54400013 */ bnezl $v0, .L80262E24 +/* 1916B8 80262DD8 24040001 */ addiu $a0, $zero, 1 +.L80262DDC: +/* 1916BC 80262DDC 8EC20184 */ lw $v0, 0x184($s6) +/* 1916C0 80262DE0 3C030040 */ lui $v1, 0x40 +/* 1916C4 80262DE4 00431024 */ and $v0, $v0, $v1 +/* 1916C8 80262DE8 10400006 */ beqz $v0, .L80262E04 +/* 1916CC 80262DEC 00000000 */ nop +/* 1916D0 80262DF0 82020011 */ lb $v0, 0x11($s0) +/* 1916D4 80262DF4 8FAE001C */ lw $t6, 0x1c($sp) +/* 1916D8 80262DF8 01C2102A */ slt $v0, $t6, $v0 +/* 1916DC 80262DFC 14400009 */ bnez $v0, .L80262E24 +/* 1916E0 80262E00 24040001 */ addiu $a0, $zero, 1 +.L80262E04: +/* 1916E4 80262E04 8EC20184 */ lw $v0, 0x184($s6) +/* 1916E8 80262E08 3C030080 */ lui $v1, 0x80 +/* 1916EC 80262E0C 00431024 */ and $v0, $v0, $v1 +/* 1916F0 80262E10 10400004 */ beqz $v0, .L80262E24 +/* 1916F4 80262E14 0000202D */ daddu $a0, $zero, $zero +/* 1916F8 80262E18 82020011 */ lb $v0, 0x11($s0) +/* 1916FC 80262E1C 8FAF001C */ lw $t7, 0x1c($sp) +/* 191700 80262E20 004F202A */ slt $a0, $v0, $t7 +.L80262E24: +/* 191704 80262E24 50800029 */ beql $a0, $zero, .L80262ECC +/* 191708 80262E28 26730001 */ addiu $s3, $s3, 1 +/* 19170C 80262E2C 26A5FFFF */ addiu $a1, $s5, -1 +/* 191710 80262E30 0265102A */ slt $v0, $s3, $a1 +/* 191714 80262E34 10400022 */ beqz $v0, .L80262EC0 +/* 191718 80262E38 0260382D */ daddu $a3, $s3, $zero +/* 19171C 80262E3C 00071880 */ sll $v1, $a3, 2 +.L80262E40: +/* 191720 80262E40 00671821 */ addu $v1, $v1, $a3 +/* 191724 80262E44 00031880 */ sll $v1, $v1, 2 +/* 191728 80262E48 01631821 */ addu $v1, $t3, $v1 +/* 19172C 80262E4C 24E40001 */ addiu $a0, $a3, 1 +/* 191730 80262E50 00041080 */ sll $v0, $a0, 2 +/* 191734 80262E54 00441021 */ addu $v0, $v0, $a0 +/* 191738 80262E58 00021080 */ sll $v0, $v0, 2 +/* 19173C 80262E5C 01621021 */ addu $v0, $t3, $v0 +/* 191740 80262E60 8858022C */ lwl $t8, 0x22c($v0) +/* 191744 80262E64 9858022F */ lwr $t8, 0x22f($v0) +/* 191748 80262E68 88590230 */ lwl $t9, 0x230($v0) +/* 19174C 80262E6C 98590233 */ lwr $t9, 0x233($v0) +/* 191750 80262E70 884E0234 */ lwl $t6, 0x234($v0) +/* 191754 80262E74 984E0237 */ lwr $t6, 0x237($v0) +/* 191758 80262E78 884F0238 */ lwl $t7, 0x238($v0) +/* 19175C 80262E7C 984F023B */ lwr $t7, 0x23b($v0) +/* 191760 80262E80 A878022C */ swl $t8, 0x22c($v1) +/* 191764 80262E84 B878022F */ swr $t8, 0x22f($v1) +/* 191768 80262E88 A8790230 */ swl $t9, 0x230($v1) +/* 19176C 80262E8C B8790233 */ swr $t9, 0x233($v1) +/* 191770 80262E90 A86E0234 */ swl $t6, 0x234($v1) +/* 191774 80262E94 B86E0237 */ swr $t6, 0x237($v1) +/* 191778 80262E98 A86F0238 */ swl $t7, 0x238($v1) +/* 19177C 80262E9C B86F023B */ swr $t7, 0x23b($v1) +/* 191780 80262EA0 8858023C */ lwl $t8, 0x23c($v0) +/* 191784 80262EA4 9858023F */ lwr $t8, 0x23f($v0) +/* 191788 80262EA8 A878023C */ swl $t8, 0x23c($v1) +/* 19178C 80262EAC B878023F */ swr $t8, 0x23f($v1) +/* 191790 80262EB0 0080382D */ daddu $a3, $a0, $zero +/* 191794 80262EB4 00E5102A */ slt $v0, $a3, $a1 +/* 191798 80262EB8 1440FFE1 */ bnez $v0, .L80262E40 +/* 19179C 80262EBC 00071880 */ sll $v1, $a3, 2 +.L80262EC0: +/* 1917A0 80262EC0 26B5FFFF */ addiu $s5, $s5, -1 +/* 1917A4 80262EC4 2673FFFF */ addiu $s3, $s3, -1 +.L80262EC8: +/* 1917A8 80262EC8 26730001 */ addiu $s3, $s3, 1 +.L80262ECC: +/* 1917AC 80262ECC 0275102A */ slt $v0, $s3, $s5 +/* 1917B0 80262ED0 1440FEEE */ bnez $v0, .L80262A8C +/* 1917B4 80262ED4 00131080 */ sll $v0, $s3, 2 +.L80262ED8: +/* 1917B8 80262ED8 16A0000A */ bnez $s5, .L80262F04 +/* 1917BC 80262EDC A175040C */ sb $s5, 0x40c($t3) +/* 1917C0 80262EE0 8FB80018 */ lw $t8, 0x18($sp) +/* 1917C4 80262EE4 13000007 */ beqz $t8, .L80262F04 +/* 1917C8 80262EE8 00000000 */ nop +/* 1917CC 80262EEC 3C03800E */ lui $v1, 0x800e +/* 1917D0 80262EF0 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 1917D4 80262EF4 8C620004 */ lw $v0, 4($v1) +/* 1917D8 80262EF8 34421000 */ ori $v0, $v0, 0x1000 +/* 1917DC 80262EFC 08098BC7 */ j func_80262F1C +/* 1917E0 80262F00 AC620004 */ sw $v0, 4($v1) + +.L80262F04: +/* 1917E4 80262F04 3C02800E */ lui $v0, 0x800e +/* 1917E8 80262F08 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 1917EC 80262F0C 8C430004 */ lw $v1, 4($v0) +/* 1917F0 80262F10 2404EFFF */ addiu $a0, $zero, -0x1001 +/* 1917F4 80262F14 00641824 */ and $v1, $v1, $a0 +/* 1917F8 80262F18 AC430004 */ sw $v1, 4($v0) +func_80262F1C: +/* 1917FC 80262F1C 2577022C */ addiu $s7, $t3, 0x22c +/* 191800 80262F20 8175040C */ lb $s5, 0x40c($t3) +/* 191804 80262F24 0000982D */ daddu $s3, $zero, $zero +/* 191808 80262F28 1AA00007 */ blez $s5, .L80262F48 +/* 19180C 80262F2C 256A040D */ addiu $t2, $t3, 0x40d +/* 191810 80262F30 01531021 */ addu $v0, $t2, $s3 +.L80262F34: +/* 191814 80262F34 A0530000 */ sb $s3, ($v0) +/* 191818 80262F38 26730001 */ addiu $s3, $s3, 1 +/* 19181C 80262F3C 0275102A */ slt $v0, $s3, $s5 +/* 191820 80262F40 1440FFFC */ bnez $v0, .L80262F34 +/* 191824 80262F44 01531021 */ addu $v0, $t2, $s3 +.L80262F48: +/* 191828 80262F48 26A2FFFF */ addiu $v0, $s5, -1 +/* 19182C 80262F4C 1840002B */ blez $v0, .L80262FFC +/* 191830 80262F50 0000982D */ daddu $s3, $zero, $zero +/* 191834 80262F54 0040582D */ daddu $t3, $v0, $zero +/* 191838 80262F58 26670001 */ addiu $a3, $s3, 1 +.L80262F5C: +/* 19183C 80262F5C 00F5102A */ slt $v0, $a3, $s5 +/* 191840 80262F60 50400023 */ beql $v0, $zero, .L80262FF0 +/* 191844 80262F64 26730001 */ addiu $s3, $s3, 1 +/* 191848 80262F68 01534821 */ addu $t1, $t2, $s3 +/* 19184C 80262F6C 01474021 */ addu $t0, $t2, $a3 +.L80262F70: +/* 191850 80262F70 81260000 */ lb $a2, ($t1) +/* 191854 80262F74 81030000 */ lb $v1, ($t0) +/* 191858 80262F78 00061080 */ sll $v0, $a2, 2 +/* 19185C 80262F7C 00461021 */ addu $v0, $v0, $a2 +/* 191860 80262F80 00021080 */ sll $v0, $v0, 2 +/* 191864 80262F84 02E28021 */ addu $s0, $s7, $v0 +/* 191868 80262F88 00031080 */ sll $v0, $v1, 2 +/* 19186C 80262F8C 00431021 */ addu $v0, $v0, $v1 +/* 191870 80262F90 00021080 */ sll $v0, $v0, 2 +/* 191874 80262F94 02E22821 */ addu $a1, $s7, $v0 +/* 191878 80262F98 82030010 */ lb $v1, 0x10($s0) +/* 19187C 80262F9C 86040004 */ lh $a0, 4($s0) +/* 191880 80262FA0 00031080 */ sll $v0, $v1, 2 +/* 191884 80262FA4 00431021 */ addu $v0, $v0, $v1 +/* 191888 80262FA8 00021040 */ sll $v0, $v0, 1 +/* 19188C 80262FAC 80A30010 */ lb $v1, 0x10($a1) +/* 191890 80262FB0 00822021 */ addu $a0, $a0, $v0 +/* 191894 80262FB4 00031080 */ sll $v0, $v1, 2 +/* 191898 80262FB8 00431021 */ addu $v0, $v0, $v1 +/* 19189C 80262FBC 84A30004 */ lh $v1, 4($a1) +/* 1918A0 80262FC0 00021040 */ sll $v0, $v0, 1 +/* 1918A4 80262FC4 00621821 */ addu $v1, $v1, $v0 +/* 1918A8 80262FC8 0064182A */ slt $v1, $v1, $a0 +/* 1918AC 80262FCC 91020000 */ lbu $v0, ($t0) +/* 1918B0 80262FD0 10600003 */ beqz $v1, .L80262FE0 +/* 1918B4 80262FD4 24E70001 */ addiu $a3, $a3, 1 +/* 1918B8 80262FD8 A1220000 */ sb $v0, ($t1) +/* 1918BC 80262FDC A1060000 */ sb $a2, ($t0) +.L80262FE0: +/* 1918C0 80262FE0 00F5102A */ slt $v0, $a3, $s5 +/* 1918C4 80262FE4 1440FFE2 */ bnez $v0, .L80262F70 +/* 1918C8 80262FE8 01474021 */ addu $t0, $t2, $a3 +/* 1918CC 80262FEC 26730001 */ addiu $s3, $s3, 1 +.L80262FF0: +/* 1918D0 80262FF0 026B102A */ slt $v0, $s3, $t3 +/* 1918D4 80262FF4 5440FFD9 */ bnezl $v0, .L80262F5C +/* 1918D8 80262FF8 26670001 */ addiu $a3, $s3, 1 +func_80262FFC: +.L80262FFC: +/* 1918DC 80262FFC 8FBF004C */ lw $ra, 0x4c($sp) +/* 1918E0 80263000 8FBE0048 */ lw $fp, 0x48($sp) +/* 1918E4 80263004 8FB70044 */ lw $s7, 0x44($sp) +/* 1918E8 80263008 8FB60040 */ lw $s6, 0x40($sp) +/* 1918EC 8026300C 8FB5003C */ lw $s5, 0x3c($sp) +/* 1918F0 80263010 8FB40038 */ lw $s4, 0x38($sp) +/* 1918F4 80263014 8FB30034 */ lw $s3, 0x34($sp) +/* 1918F8 80263018 8FB20030 */ lw $s2, 0x30($sp) +/* 1918FC 8026301C 8FB1002C */ lw $s1, 0x2c($sp) +/* 191900 80263020 8FB00028 */ lw $s0, 0x28($sp) +/* 191904 80263024 03E00008 */ jr $ra +/* 191908 80263028 27BD0050 */ addiu $sp, $sp, 0x50 + +player_create_target_list: +/* 19190C 8026302C 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 191910 80263030 AFBF0010 */ sw $ra, 0x10($sp) +/* 191914 80263034 0C098890 */ jal create_target_list +/* 191918 80263038 0000282D */ daddu $a1, $zero, $zero +/* 19191C 8026303C 8FBF0010 */ lw $ra, 0x10($sp) +/* 191920 80263040 03E00008 */ jr $ra +/* 191924 80263044 27BD0018 */ addiu $sp, $sp, 0x18 + +enemy_create_target_list: +/* 191928 80263048 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 19192C 8026304C AFBF0010 */ sw $ra, 0x10($sp) +/* 191930 80263050 0C098890 */ jal create_target_list +/* 191934 80263054 24050001 */ addiu $a1, $zero, 1 +/* 191938 80263058 8FBF0010 */ lw $ra, 0x10($sp) +/* 19193C 8026305C 03E00008 */ jr $ra +/* 191940 80263060 27BD0018 */ addiu $sp, $sp, 0x18 + +func_80263064: +/* 191944 80263064 0000402D */ daddu $t0, $zero, $zero +/* 191948 80263068 14A00003 */ bnez $a1, .L80263078 +/* 19194C 8026306C 248A022C */ addiu $t2, $a0, 0x22c +/* 191950 80263070 03E00008 */ jr $ra +/* 191954 80263074 0100102D */ daddu $v0, $t0, $zero + +.L80263078: +/* 191958 80263078 80AC01F3 */ lb $t4, 0x1f3($a1) +/* 19195C 8026307C 8CA601F4 */ lw $a2, 0x1f4($a1) +/* 191960 80263080 010C102A */ slt $v0, $t0, $t4 +/* 191964 80263084 10400067 */ beqz $v0, .L80263224 +/* 191968 80263088 0000482D */ daddu $t1, $zero, $zero +/* 19196C 8026308C 3C0F0002 */ lui $t7, 2 +/* 191970 80263090 3C0E0080 */ lui $t6, 0x80 +/* 191974 80263094 3C0D0010 */ lui $t5, 0x10 +/* 191978 80263098 2487023C */ addiu $a3, $a0, 0x23c +.L8026309C: +/* 19197C 8026309C 8CC30000 */ lw $v1, ($a2) +/* 191980 802630A0 006F1024 */ and $v0, $v1, $t7 +/* 191984 802630A4 1440005A */ bnez $v0, .L80263210 +/* 191988 802630A8 006E1024 */ and $v0, $v1, $t6 +/* 19198C 802630AC 5040005A */ beql $v0, $zero, .L80263218 +/* 191990 802630B0 25290001 */ addiu $t1, $t1, 1 +/* 191994 802630B4 8CCB0008 */ lw $t3, 8($a2) +/* 191998 802630B8 006D1024 */ and $v0, $v1, $t5 +/* 19199C 802630BC 14400026 */ bnez $v0, .L80263158 +/* 1919A0 802630C0 00000000 */ nop +/* 1919A4 802630C4 C4A40144 */ lwc1 $f4, 0x144($a1) +/* 1919A8 802630C8 C4A20148 */ lwc1 $f2, 0x148($a1) +/* 1919AC 802630CC 84C20014 */ lh $v0, 0x14($a2) +/* 1919B0 802630D0 C4A6014C */ lwc1 $f6, 0x14c($a1) +/* 1919B4 802630D4 44820000 */ mtc1 $v0, $f0 +/* 1919B8 802630D8 00000000 */ nop +/* 1919BC 802630DC 46800020 */ cvt.s.w $f0, $f0 +/* 1919C0 802630E0 8CA20000 */ lw $v0, ($a1) +/* 1919C4 802630E4 30420800 */ andi $v0, $v0, 0x800 +/* 1919C8 802630E8 14400007 */ bnez $v0, .L80263108 +/* 1919CC 802630EC 46002100 */ add.s $f4, $f4, $f0 +/* 1919D0 802630F0 84C20016 */ lh $v0, 0x16($a2) +/* 1919D4 802630F4 44820000 */ mtc1 $v0, $f0 +/* 1919D8 802630F8 00000000 */ nop +/* 1919DC 802630FC 46800020 */ cvt.s.w $f0, $f0 +/* 1919E0 80263100 08098C47 */ j func_8026311C +/* 1919E4 80263104 46001080 */ add.s $f2, $f2, $f0 + +.L80263108: +/* 1919E8 80263108 84C20016 */ lh $v0, 0x16($a2) +/* 1919EC 8026310C 44820000 */ mtc1 $v0, $f0 +/* 1919F0 80263110 00000000 */ nop +/* 1919F4 80263114 46800020 */ cvt.s.w $f0, $f0 +/* 1919F8 80263118 46001081 */ sub.s $f2, $f2, $f0 +func_8026311C: +/* 1919FC 8026311C 84C20018 */ lh $v0, 0x18($a2) +/* 191A00 80263120 44820000 */ mtc1 $v0, $f0 +/* 191A04 80263124 00000000 */ nop +/* 191A08 80263128 46800020 */ cvt.s.w $f0, $f0 +/* 191A0C 8026312C 84C2006C */ lh $v0, 0x6c($a2) +/* 191A10 80263130 46003180 */ add.s $f6, $f6, $f0 +/* 191A14 80263134 44820000 */ mtc1 $v0, $f0 +/* 191A18 80263138 00000000 */ nop +/* 191A1C 8026313C 46800020 */ cvt.s.w $f0, $f0 +/* 191A20 80263140 8CA20000 */ lw $v0, ($a1) +/* 191A24 80263144 30420800 */ andi $v0, $v0, 0x800 +/* 191A28 80263148 1040000E */ beqz $v0, .L80263184 +/* 191A2C 8026314C 46002100 */ add.s $f4, $f4, $f0 +/* 191A30 80263150 08098C67 */ j func_8026319C +/* 191A34 80263154 00000000 */ nop + +.L80263158: +/* 191A38 80263158 C4C4002C */ lwc1 $f4, 0x2c($a2) +/* 191A3C 8026315C C4C20030 */ lwc1 $f2, 0x30($a2) +/* 191A40 80263160 84C2006C */ lh $v0, 0x6c($a2) +/* 191A44 80263164 C4C60034 */ lwc1 $f6, 0x34($a2) +/* 191A48 80263168 44820000 */ mtc1 $v0, $f0 +/* 191A4C 8026316C 00000000 */ nop +/* 191A50 80263170 46800020 */ cvt.s.w $f0, $f0 +/* 191A54 80263174 8CA20000 */ lw $v0, ($a1) +/* 191A58 80263178 30420800 */ andi $v0, $v0, 0x800 +/* 191A5C 8026317C 14400007 */ bnez $v0, .L8026319C +/* 191A60 80263180 46002100 */ add.s $f4, $f4, $f0 +.L80263184: +/* 191A64 80263184 84C2006E */ lh $v0, 0x6e($a2) +/* 191A68 80263188 44820000 */ mtc1 $v0, $f0 +/* 191A6C 8026318C 00000000 */ nop +/* 191A70 80263190 46800020 */ cvt.s.w $f0, $f0 +/* 191A74 80263194 08098C6C */ j func_802631B0 +/* 191A78 80263198 46001080 */ add.s $f2, $f2, $f0 + +func_8026319C: +.L8026319C: +/* 191A7C 8026319C 84C2006E */ lh $v0, 0x6e($a2) +/* 191A80 802631A0 44820000 */ mtc1 $v0, $f0 +/* 191A84 802631A4 00000000 */ nop +/* 191A88 802631A8 46800020 */ cvt.s.w $f0, $f0 +/* 191A8C 802631AC 46001081 */ sub.s $f2, $f2, $f0 +func_802631B0: +/* 191A90 802631B0 94A20192 */ lhu $v0, 0x192($a1) +/* 191A94 802631B4 25080001 */ addiu $t0, $t0, 1 +/* 191A98 802631B8 A5420000 */ sh $v0, ($t2) +/* 191A9C 802631BC A4820428 */ sh $v0, 0x428($a0) +/* 191AA0 802631C0 91620004 */ lbu $v0, 4($t3) +/* 191AA4 802631C4 254A0014 */ addiu $t2, $t2, 0x14 +/* 191AA8 802631C8 00021600 */ sll $v0, $v0, 0x18 +/* 191AAC 802631CC 00021603 */ sra $v0, $v0, 0x18 +/* 191AB0 802631D0 A4E2FFF2 */ sh $v0, -0xe($a3) +/* 191AB4 802631D4 A0820426 */ sb $v0, 0x426($a0) +/* 191AB8 802631D8 4600220D */ trunc.w.s $f8, $f4 +/* 191ABC 802631DC 44024000 */ mfc1 $v0, $f8 +/* 191AC0 802631E0 00000000 */ nop +/* 191AC4 802631E4 A4E2FFF4 */ sh $v0, -0xc($a3) +/* 191AC8 802631E8 4600120D */ trunc.w.s $f8, $f2 +/* 191ACC 802631EC 44024000 */ mfc1 $v0, $f8 +/* 191AD0 802631F0 00000000 */ nop +/* 191AD4 802631F4 A4E2FFF6 */ sh $v0, -0xa($a3) +/* 191AD8 802631F8 4600320D */ trunc.w.s $f8, $f6 +/* 191ADC 802631FC 44024000 */ mfc1 $v0, $f8 +/* 191AE0 80263200 00000000 */ nop +/* 191AE4 80263204 A4E2FFF8 */ sh $v0, -8($a3) +/* 191AE8 80263208 A0E00000 */ sb $zero, ($a3) +/* 191AEC 8026320C 24E70014 */ addiu $a3, $a3, 0x14 +.L80263210: +/* 191AF0 80263210 8CC6000C */ lw $a2, 0xc($a2) +/* 191AF4 80263214 25290001 */ addiu $t1, $t1, 1 +.L80263218: +/* 191AF8 80263218 012C102A */ slt $v0, $t1, $t4 +/* 191AFC 8026321C 1440FF9F */ bnez $v0, .L8026309C +/* 191B00 80263220 00000000 */ nop +.L80263224: +/* 191B04 80263224 A088040C */ sb $t0, 0x40c($a0) +/* 191B08 80263228 03E00008 */ jr $ra +/* 191B0C 8026322C 0100102D */ daddu $v0, $t0, $zero + +func_80263230: +/* 191B10 80263230 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 191B14 80263234 AFBF0010 */ sw $ra, 0x10($sp) +/* 191B18 80263238 0C098C19 */ jal func_80263064 +/* 191B1C 8026323C 0000302D */ daddu $a2, $zero, $zero +/* 191B20 80263240 8FBF0010 */ lw $ra, 0x10($sp) +/* 191B24 80263244 03E00008 */ jr $ra +/* 191B28 80263248 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 191B2C 8026324C 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 191B30 80263250 AFBF0010 */ sw $ra, 0x10($sp) +/* 191B34 80263254 0C098C19 */ jal func_80263064 +/* 191B38 80263258 24060001 */ addiu $a2, $zero, 1 +/* 191B3C 8026325C 8FBF0010 */ lw $ra, 0x10($sp) +/* 191B40 80263260 03E00008 */ jr $ra +/* 191B44 80263264 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 191B48 80263268 3C07800E */ lui $a3, 0x800e +/* 191B4C 8026326C 24E7C070 */ addiu $a3, $a3, -0x3f90 +/* 191B50 80263270 8CE600DC */ lw $a2, 0xdc($a3) +/* 191B54 80263274 3C088011 */ lui $t0, 0x8011 +/* 191B58 80263278 2508F290 */ addiu $t0, $t0, -0xd70 +/* 191B5C 8026327C 10C0001C */ beqz $a2, .L802632F0 +/* 191B60 80263280 A0E0007C */ sb $zero, 0x7c($a3) +/* 191B64 80263284 24020001 */ addiu $v0, $zero, 1 +/* 191B68 80263288 A0E2007C */ sb $v0, 0x7c($a3) +/* 191B6C 8026328C 0000282D */ daddu $a1, $zero, $zero +/* 191B70 80263290 00A0202D */ daddu $a0, $a1, $zero +/* 191B74 80263294 0100182D */ daddu $v1, $t0, $zero +.L80263298: +/* 191B78 80263298 90620014 */ lbu $v0, 0x14($v1) +/* 191B7C 8026329C 54400001 */ bnezl $v0, .L802632A4 +/* 191B80 802632A0 24A50001 */ addiu $a1, $a1, 1 +.L802632A4: +/* 191B84 802632A4 24840001 */ addiu $a0, $a0, 1 +/* 191B88 802632A8 2882000C */ slti $v0, $a0, 0xc +/* 191B8C 802632AC 1440FFFA */ bnez $v0, .L80263298 +/* 191B90 802632B0 24630008 */ addiu $v1, $v1, 8 +/* 191B94 802632B4 28A20002 */ slti $v0, $a1, 2 +/* 191B98 802632B8 1440000E */ bnez $v0, .L802632F4 +/* 191B9C 802632BC 2402FFFF */ addiu $v0, $zero, -1 +/* 191BA0 802632C0 80C30216 */ lb $v1, 0x216($a2) +/* 191BA4 802632C4 2402000D */ addiu $v0, $zero, 0xd +/* 191BA8 802632C8 14620003 */ bne $v1, $v0, .L802632D8 +/* 191BAC 802632CC 24020007 */ addiu $v0, $zero, 7 +.L802632D0: +/* 191BB0 802632D0 03E00008 */ jr $ra +/* 191BB4 802632D4 A0E0007C */ sb $zero, 0x7c($a3) + +.L802632D8: +/* 191BB8 802632D8 80C30210 */ lb $v1, 0x210($a2) +/* 191BBC 802632DC 1062FFFC */ beq $v1, $v0, .L802632D0 +/* 191BC0 802632E0 24020005 */ addiu $v0, $zero, 5 +/* 191BC4 802632E4 81030012 */ lb $v1, 0x12($t0) +/* 191BC8 802632E8 14620003 */ bne $v1, $v0, .L802632F8 +/* 191BCC 802632EC 00000000 */ nop +.L802632F0: +/* 191BD0 802632F0 2402FFFF */ addiu $v0, $zero, -1 +.L802632F4: +/* 191BD4 802632F4 A0E2007C */ sb $v0, 0x7c($a3) +.L802632F8: +/* 191BD8 802632F8 03E00008 */ jr $ra +/* 191BDC 802632FC 00000000 */ nop + +/* 191BE0 80263300 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* 191BE4 80263304 AFB40020 */ sw $s4, 0x20($sp) +/* 191BE8 80263308 0000A02D */ daddu $s4, $zero, $zero +/* 191BEC 8026330C AFB20018 */ sw $s2, 0x18($sp) +/* 191BF0 80263310 0280902D */ daddu $s2, $s4, $zero +/* 191BF4 80263314 AFB60028 */ sw $s6, 0x28($sp) +/* 191BF8 80263318 3C168008 */ lui $s6, 0x8008 +/* 191BFC 8026331C 26D678E0 */ addiu $s6, $s6, 0x78e0 +/* 191C00 80263320 AFB50024 */ sw $s5, 0x24($sp) +/* 191C04 80263324 24150002 */ addiu $s5, $zero, 2 +/* 191C08 80263328 AFB10014 */ sw $s1, 0x14($sp) +/* 191C0C 8026332C 3C11800E */ lui $s1, 0x800e +/* 191C10 80263330 2631C070 */ addiu $s1, $s1, -0x3f90 +/* 191C14 80263334 AFBF002C */ sw $ra, 0x2c($sp) +/* 191C18 80263338 AFB3001C */ sw $s3, 0x1c($sp) +/* 191C1C 8026333C AFB00010 */ sw $s0, 0x10($sp) +/* 191C20 80263340 8E3300D8 */ lw $s3, 0xd8($s1) +/* 191C24 80263344 3C108011 */ lui $s0, 0x8011 +/* 191C28 80263348 2610F290 */ addiu $s0, $s0, -0xd70 +/* 191C2C 8026334C A220007D */ sb $zero, 0x7d($s1) +.L80263350: +/* 191C30 80263350 860201B4 */ lh $v0, 0x1b4($s0) +/* 191C34 80263354 50400015 */ beql $v0, $zero, .L802633AC +/* 191C38 80263358 26520001 */ addiu $s2, $s2, 1 +/* 191C3C 8026335C 00021140 */ sll $v0, $v0, 5 +/* 191C40 80263360 00561821 */ addu $v1, $v0, $s6 +/* 191C44 80263364 94620018 */ lhu $v0, 0x18($v1) +/* 191C48 80263368 30420002 */ andi $v0, $v0, 2 +/* 191C4C 8026336C 5040000F */ beql $v0, $zero, .L802633AC +/* 191C50 80263370 26520001 */ addiu $s2, $s2, 1 +/* 191C54 80263374 A2350178 */ sb $s5, 0x178($s1) +/* 191C58 80263378 960201B4 */ lhu $v0, 0x1b4($s0) +/* 191C5C 8026337C A622017A */ sh $v0, 0x17a($s1) +/* 191C60 80263380 8C620008 */ lw $v0, 8($v1) +/* 191C64 80263384 0260202D */ daddu $a0, $s3, $zero +/* 191C68 80263388 0C098C0B */ jal player_create_target_list +/* 191C6C 8026338C AE220184 */ sw $v0, 0x184($s1) +/* 191C70 80263390 8262040C */ lb $v0, 0x40c($s3) +/* 191C74 80263394 10400005 */ beqz $v0, .L802633AC +/* 191C78 80263398 26520001 */ addiu $s2, $s2, 1 +/* 191C7C 8026339C 9222007D */ lbu $v0, 0x7d($s1) +/* 191C80 802633A0 24140001 */ addiu $s4, $zero, 1 +/* 191C84 802633A4 00541021 */ addu $v0, $v0, $s4 +/* 191C88 802633A8 A222007D */ sb $v0, 0x7d($s1) +.L802633AC: +/* 191C8C 802633AC 2A42000A */ slti $v0, $s2, 0xa +/* 191C90 802633B0 1440FFE7 */ bnez $v0, .L80263350 +/* 191C94 802633B4 26100002 */ addiu $s0, $s0, 2 +/* 191C98 802633B8 52800001 */ beql $s4, $zero, .L802633C0 +/* 191C9C 802633BC A220007D */ sb $zero, 0x7d($s1) +.L802633C0: +/* 191CA0 802633C0 8FBF002C */ lw $ra, 0x2c($sp) +/* 191CA4 802633C4 8FB60028 */ lw $s6, 0x28($sp) +/* 191CA8 802633C8 8FB50024 */ lw $s5, 0x24($sp) +/* 191CAC 802633CC 8FB40020 */ lw $s4, 0x20($sp) +/* 191CB0 802633D0 8FB3001C */ lw $s3, 0x1c($sp) +/* 191CB4 802633D4 8FB20018 */ lw $s2, 0x18($sp) +/* 191CB8 802633D8 8FB10014 */ lw $s1, 0x14($sp) +/* 191CBC 802633DC 8FB00010 */ lw $s0, 0x10($sp) +/* 191CC0 802633E0 03E00008 */ jr $ra +/* 191CC4 802633E4 27BD0030 */ addiu $sp, $sp, 0x30 + +func_802633E8: +/* 191CC8 802633E8 0000282D */ daddu $a1, $zero, $zero +/* 191CCC 802633EC 00A0202D */ daddu $a0, $a1, $zero +/* 191CD0 802633F0 3C060040 */ lui $a2, 0x40 +/* 191CD4 802633F4 34C64000 */ ori $a2, $a2, 0x4000 +/* 191CD8 802633F8 3C03800E */ lui $v1, 0x800e +/* 191CDC 802633FC 2463C070 */ addiu $v1, $v1, -0x3f90 +.L80263400: +/* 191CE0 80263400 8C6200E0 */ lw $v0, 0xe0($v1) +/* 191CE4 80263404 50400006 */ beql $v0, $zero, .L80263420 +/* 191CE8 80263408 24840001 */ addiu $a0, $a0, 1 +/* 191CEC 8026340C 8C420000 */ lw $v0, ($v0) +/* 191CF0 80263410 00461024 */ and $v0, $v0, $a2 +/* 191CF4 80263414 50400001 */ beql $v0, $zero, .L8026341C +/* 191CF8 80263418 24050001 */ addiu $a1, $zero, 1 +.L8026341C: +/* 191CFC 8026341C 24840001 */ addiu $a0, $a0, 1 +.L80263420: +/* 191D00 80263420 28820018 */ slti $v0, $a0, 0x18 +/* 191D04 80263424 1440FFF6 */ bnez $v0, .L80263400 +/* 191D08 80263428 24630004 */ addiu $v1, $v1, 4 +/* 191D0C 8026342C 03E00008 */ jr $ra +/* 191D10 80263430 38A20001 */ xori $v0, $a1, 1 + +func_80263434: +/* 191D14 80263434 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 191D18 80263438 AFBF0010 */ sw $ra, 0x10($sp) +/* 191D1C 8026343C 0C098CFA */ jal func_802633E8 +/* 191D20 80263440 00000000 */ nop +/* 191D24 80263444 10400004 */ beqz $v0, .L80263458 +/* 191D28 80263448 0000102D */ daddu $v0, $zero, $zero +/* 191D2C 8026344C 0C090464 */ jal func_80241190 +/* 191D30 80263450 2404001A */ addiu $a0, $zero, 0x1a +/* 191D34 80263454 24020001 */ addiu $v0, $zero, 1 +.L80263458: +/* 191D38 80263458 8FBF0010 */ lw $ra, 0x10($sp) +/* 191D3C 8026345C 03E00008 */ jr $ra +/* 191D40 80263460 27BD0018 */ addiu $sp, $sp, 0x18 + +func_80263464: +/* 191D44 80263464 3C028011 */ lui $v0, 0x8011 +/* 191D48 80263468 8042F292 */ lb $v0, -0xd6e($v0) +/* 191D4C 8026346C 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 191D50 80263470 1C40000D */ bgtz $v0, .L802634A8 +/* 191D54 80263474 AFBF0010 */ sw $ra, 0x10($sp) +/* 191D58 80263478 3C02800E */ lui $v0, 0x800e +/* 191D5C 8026347C 8C42C068 */ lw $v0, -0x3f98($v0) +/* 191D60 80263480 3C03800E */ lui $v1, 0x800e +/* 191D64 80263484 8C63C4DC */ lw $v1, -0x3b24($v1) +/* 191D68 80263488 3C01800E */ lui $at, 0x800e +/* 191D6C 8026348C AC22C4E4 */ sw $v0, -0x3b1c($at) +/* 191D70 80263490 3C01800E */ lui $at, 0x800e +/* 191D74 80263494 AC23C4D8 */ sw $v1, -0x3b28($at) +/* 191D78 80263498 0C090464 */ jal func_80241190 +/* 191D7C 8026349C 2404001B */ addiu $a0, $zero, 0x1b +/* 191D80 802634A0 08098D2B */ j func_802634AC +/* 191D84 802634A4 24020001 */ addiu $v0, $zero, 1 + +.L802634A8: +/* 191D88 802634A8 0000102D */ daddu $v0, $zero, $zero +func_802634AC: +/* 191D8C 802634AC 8FBF0010 */ lw $ra, 0x10($sp) +/* 191D90 802634B0 03E00008 */ jr $ra +/* 191D94 802634B4 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 191D98 802634B8 27BDFFC8 */ addiu $sp, $sp, -0x38 +/* 191D9C 802634BC AFB40020 */ sw $s4, 0x20($sp) +/* 191DA0 802634C0 3C14800E */ lui $s4, 0x800e +/* 191DA4 802634C4 2694C070 */ addiu $s4, $s4, -0x3f90 +/* 191DA8 802634C8 AFB7002C */ sw $s7, 0x2c($sp) +/* 191DAC 802634CC 3C178011 */ lui $s7, 0x8011 +/* 191DB0 802634D0 26F7F290 */ addiu $s7, $s7, -0xd70 +/* 191DB4 802634D4 2403FFFF */ addiu $v1, $zero, -1 +/* 191DB8 802634D8 AFBF0034 */ sw $ra, 0x34($sp) +/* 191DBC 802634DC AFBE0030 */ sw $fp, 0x30($sp) +/* 191DC0 802634E0 AFB60028 */ sw $s6, 0x28($sp) +/* 191DC4 802634E4 AFB50024 */ sw $s5, 0x24($sp) +/* 191DC8 802634E8 AFB3001C */ sw $s3, 0x1c($sp) +/* 191DCC 802634EC AFB20018 */ sw $s2, 0x18($sp) +/* 191DD0 802634F0 AFB10014 */ sw $s1, 0x14($sp) +/* 191DD4 802634F4 AFB00010 */ sw $s0, 0x10($sp) +/* 191DD8 802634F8 82E20000 */ lb $v0, ($s7) +/* 191DDC 802634FC 8E9500D8 */ lw $s5, 0xd8($s4) +/* 191DE0 80263500 14430003 */ bne $v0, $v1, .L80263510 +/* 191DE4 80263504 24120017 */ addiu $s2, $zero, 0x17 +/* 191DE8 80263508 08098DAD */ j func_802636B4 +/* 191DEC 8026350C A280007E */ sb $zero, 0x7e($s4) + +.L80263510: +/* 191DF0 80263510 02921021 */ addu $v0, $s4, $s2 +.L80263514: +/* 191DF4 80263514 A04001DE */ sb $zero, 0x1de($v0) +/* 191DF8 80263518 2652FFFF */ addiu $s2, $s2, -1 +/* 191DFC 8026351C 0641FFFD */ bgez $s2, .L80263514 +/* 191E00 80263520 2442FFFF */ addiu $v0, $v0, -1 +/* 191E04 80263524 24060001 */ addiu $a2, $zero, 1 +/* 191E08 80263528 92E20000 */ lbu $v0, ($s7) +/* 191E0C 8026352C 24030155 */ addiu $v1, $zero, 0x155 +/* 191E10 80263530 A68301AE */ sh $v1, 0x1ae($s4) +/* 191E14 80263534 2442001A */ addiu $v0, $v0, 0x1a +/* 191E18 80263538 A28201DE */ sb $v0, 0x1de($s4) +/* 191E1C 8026353C 0000902D */ daddu $s2, $zero, $zero +/* 191E20 80263540 3C098009 */ lui $t1, 0x8009 +/* 191E24 80263544 2529F060 */ addiu $t1, $t1, -0xfa0 +/* 191E28 80263548 3C088008 */ lui $t0, 0x8008 +/* 191E2C 8026354C 250878E0 */ addiu $t0, $t0, 0x78e0 +/* 191E30 80263550 24070002 */ addiu $a3, $zero, 2 +/* 191E34 80263554 02E0202D */ daddu $a0, $s7, $zero +/* 191E38 80263558 02872821 */ addu $a1, $s4, $a3 +.L8026355C: +/* 191E3C 8026355C 84820208 */ lh $v0, 0x208($a0) +/* 191E40 80263560 10400011 */ beqz $v0, .L802635A8 +/* 191E44 80263564 26520001 */ addiu $s2, $s2, 1 +/* 191E48 80263568 00021140 */ sll $v0, $v0, 5 +/* 191E4C 8026356C 00481021 */ addu $v0, $v0, $t0 +/* 191E50 80263570 9043001A */ lbu $v1, 0x1a($v0) +/* 191E54 80263574 00031080 */ sll $v0, $v1, 2 +/* 191E58 80263578 00431021 */ addu $v0, $v0, $v1 +/* 191E5C 8026357C 00021080 */ sll $v0, $v0, 2 +/* 191E60 80263580 00498821 */ addu $s1, $v0, $t1 +/* 191E64 80263584 82220010 */ lb $v0, 0x10($s1) +/* 191E68 80263588 14470007 */ bne $v0, $a3, .L802635A8 +/* 191E6C 8026358C 00000000 */ nop +/* 191E70 80263590 02861021 */ addu $v0, $s4, $a2 +/* 191E74 80263594 A04301DE */ sb $v1, 0x1de($v0) +/* 191E78 80263598 94820208 */ lhu $v0, 0x208($a0) +/* 191E7C 8026359C 24C60001 */ addiu $a2, $a2, 1 +/* 191E80 802635A0 A4A201AE */ sh $v0, 0x1ae($a1) +/* 191E84 802635A4 24A50002 */ addiu $a1, $a1, 2 +.L802635A8: +/* 191E88 802635A8 2A420040 */ slti $v0, $s2, 0x40 +/* 191E8C 802635AC 1440FFEB */ bnez $v0, .L8026355C +/* 191E90 802635B0 24840002 */ addiu $a0, $a0, 2 +/* 191E94 802635B4 A286020E */ sb $a2, 0x20e($s4) +/* 191E98 802635B8 0000902D */ daddu $s2, $zero, $zero +/* 191E9C 802635BC 30C200FF */ andi $v0, $a2, 0xff +/* 191EA0 802635C0 10400038 */ beqz $v0, .L802636A4 +/* 191EA4 802635C4 0240B02D */ daddu $s6, $s2, $zero +/* 191EA8 802635C8 0286F021 */ addu $fp, $s4, $a2 +/* 191EAC 802635CC 0280982D */ daddu $s3, $s4, $zero +.L802635D0: +/* 191EB0 802635D0 926301DE */ lbu $v1, 0x1de($s3) +/* 191EB4 802635D4 3C0A8009 */ lui $t2, 0x8009 +/* 191EB8 802635D8 254AF060 */ addiu $t2, $t2, -0xfa0 +/* 191EBC 802635DC 00031080 */ sll $v0, $v1, 2 +/* 191EC0 802635E0 00431021 */ addu $v0, $v0, $v1 +/* 191EC4 802635E4 00021080 */ sll $v0, $v0, 2 +/* 191EC8 802635E8 004A8821 */ addu $s1, $v0, $t2 +/* 191ECC 802635EC 82300011 */ lb $s0, 0x11($s1) +/* 191ED0 802635F0 1200000B */ beqz $s0, .L80263620 +/* 191ED4 802635F4 02A0202D */ daddu $a0, $s5, $zero +/* 191ED8 802635F8 0C099CAB */ jal heroes_is_ability_active +/* 191EDC 802635FC 24050018 */ addiu $a1, $zero, 0x18 +/* 191EE0 80263600 02028023 */ subu $s0, $s0, $v0 +/* 191EE4 80263604 02A0202D */ daddu $a0, $s5, $zero +/* 191EE8 80263608 0C099CAB */ jal heroes_is_ability_active +/* 191EEC 8026360C 24050026 */ addiu $a1, $zero, 0x26 +/* 191EF0 80263610 00021040 */ sll $v0, $v0, 1 +/* 191EF4 80263614 02028023 */ subu $s0, $s0, $v0 +/* 191EF8 80263618 5A000001 */ blezl $s0, .L80263620 +/* 191EFC 8026361C 24100001 */ addiu $s0, $zero, 1 +.L80263620: +/* 191F00 80263620 92E20000 */ lbu $v0, ($s7) +/* 191F04 80263624 A2800178 */ sb $zero, 0x178($s4) +/* 191F08 80263628 00021600 */ sll $v0, $v0, 0x18 +/* 191F0C 8026362C 00021603 */ sra $v0, $v0, 0x18 +/* 191F10 80263630 A682017A */ sh $v0, 0x17a($s4) +/* 191F14 80263634 8E220004 */ lw $v0, 4($s1) +/* 191F18 80263638 02A0202D */ daddu $a0, $s5, $zero +/* 191F1C 8026363C 0C098C0B */ jal player_create_target_list +/* 191F20 80263640 AE820184 */ sw $v0, 0x184($s4) +/* 191F24 80263644 82A2040C */ lb $v0, 0x40c($s5) +/* 191F28 80263648 10400003 */ beqz $v0, .L80263658 +/* 191F2C 8026364C 00000000 */ nop +/* 191F30 80263650 24160001 */ addiu $s6, $zero, 1 +/* 191F34 80263654 A27601F6 */ sb $s6, 0x1f6($s3) +.L80263658: +/* 191F38 80263658 82E20005 */ lb $v0, 5($s7) +/* 191F3C 8026365C 0050102A */ slt $v0, $v0, $s0 +/* 191F40 80263660 54400001 */ bnezl $v0, .L80263668 +/* 191F44 80263664 A26001F6 */ sb $zero, 0x1f6($s3) +.L80263668: +/* 191F48 80263668 82A2040C */ lb $v0, 0x40c($s5) +/* 191F4C 8026366C 14400002 */ bnez $v0, .L80263678 +/* 191F50 80263670 2402FFFE */ addiu $v0, $zero, -2 +/* 191F54 80263674 A26201F6 */ sb $v0, 0x1f6($s3) +.L80263678: +/* 191F58 80263678 3C02800E */ lui $v0, 0x800e +/* 191F5C 8026367C 8C42C074 */ lw $v0, -0x3f8c($v0) +/* 191F60 80263680 30421000 */ andi $v0, $v0, 0x1000 +/* 191F64 80263684 10400002 */ beqz $v0, .L80263690 +/* 191F68 80263688 2402FFFF */ addiu $v0, $zero, -1 +/* 191F6C 8026368C A3C201F6 */ sb $v0, 0x1f6($fp) +.L80263690: +/* 191F70 80263690 9282020E */ lbu $v0, 0x20e($s4) +/* 191F74 80263694 26520001 */ addiu $s2, $s2, 1 +/* 191F78 80263698 0242102A */ slt $v0, $s2, $v0 +/* 191F7C 8026369C 1440FFCC */ bnez $v0, .L802635D0 +/* 191F80 802636A0 26730001 */ addiu $s3, $s3, 1 +.L802636A4: +/* 191F84 802636A4 16C00002 */ bnez $s6, .L802636B0 +/* 191F88 802636A8 24020001 */ addiu $v0, $zero, 1 +/* 191F8C 802636AC 2402FFFF */ addiu $v0, $zero, -1 +.L802636B0: +/* 191F90 802636B0 A282007E */ sb $v0, 0x7e($s4) +func_802636B4: +/* 191F94 802636B4 8FBF0034 */ lw $ra, 0x34($sp) +/* 191F98 802636B8 8FBE0030 */ lw $fp, 0x30($sp) +/* 191F9C 802636BC 8FB7002C */ lw $s7, 0x2c($sp) +/* 191FA0 802636C0 8FB60028 */ lw $s6, 0x28($sp) +/* 191FA4 802636C4 8FB50024 */ lw $s5, 0x24($sp) +/* 191FA8 802636C8 8FB40020 */ lw $s4, 0x20($sp) +/* 191FAC 802636CC 8FB3001C */ lw $s3, 0x1c($sp) +/* 191FB0 802636D0 8FB20018 */ lw $s2, 0x18($sp) +/* 191FB4 802636D4 8FB10014 */ lw $s1, 0x14($sp) +/* 191FB8 802636D8 8FB00010 */ lw $s0, 0x10($sp) +/* 191FBC 802636DC 03E00008 */ jr $ra +/* 191FC0 802636E0 27BD0038 */ addiu $sp, $sp, 0x38 + +/* 191FC4 802636E4 27BDFFC8 */ addiu $sp, $sp, -0x38 +/* 191FC8 802636E8 AFB40020 */ sw $s4, 0x20($sp) +/* 191FCC 802636EC 3C14800E */ lui $s4, 0x800e +/* 191FD0 802636F0 2694C070 */ addiu $s4, $s4, -0x3f90 +/* 191FD4 802636F4 AFB7002C */ sw $s7, 0x2c($sp) +/* 191FD8 802636F8 3C178011 */ lui $s7, 0x8011 +/* 191FDC 802636FC 26F7F290 */ addiu $s7, $s7, -0xd70 +/* 191FE0 80263700 2403FFFF */ addiu $v1, $zero, -1 +/* 191FE4 80263704 AFBF0034 */ sw $ra, 0x34($sp) +/* 191FE8 80263708 AFBE0030 */ sw $fp, 0x30($sp) +/* 191FEC 8026370C AFB60028 */ sw $s6, 0x28($sp) +/* 191FF0 80263710 AFB50024 */ sw $s5, 0x24($sp) +/* 191FF4 80263714 AFB3001C */ sw $s3, 0x1c($sp) +/* 191FF8 80263718 AFB20018 */ sw $s2, 0x18($sp) +/* 191FFC 8026371C AFB10014 */ sw $s1, 0x14($sp) +/* 192000 80263720 AFB00010 */ sw $s0, 0x10($sp) +/* 192004 80263724 82E20001 */ lb $v0, 1($s7) +/* 192008 80263728 8E9500D8 */ lw $s5, 0xd8($s4) +/* 19200C 8026372C 14430003 */ bne $v0, $v1, .L8026373C +/* 192010 80263730 24120017 */ addiu $s2, $zero, 0x17 +/* 192014 80263734 08098E39 */ j func_802638E4 +/* 192018 80263738 A280007F */ sb $zero, 0x7f($s4) + +.L8026373C: +/* 19201C 8026373C 02921021 */ addu $v0, $s4, $s2 +.L80263740: +/* 192020 80263740 A04001DE */ sb $zero, 0x1de($v0) +/* 192024 80263744 2652FFFF */ addiu $s2, $s2, -1 +/* 192028 80263748 0641FFFD */ bgez $s2, .L80263740 +/* 19202C 8026374C 2442FFFF */ addiu $v0, $v0, -1 +/* 192030 80263750 24060001 */ addiu $a2, $zero, 1 +/* 192034 80263754 92E20001 */ lbu $v0, 1($s7) +/* 192038 80263758 24030155 */ addiu $v1, $zero, 0x155 +/* 19203C 8026375C A68301AE */ sh $v1, 0x1ae($s4) +/* 192040 80263760 24420003 */ addiu $v0, $v0, 3 +/* 192044 80263764 A28201DE */ sb $v0, 0x1de($s4) +/* 192048 80263768 0000902D */ daddu $s2, $zero, $zero +/* 19204C 8026376C 3C098009 */ lui $t1, 0x8009 +/* 192050 80263770 2529F060 */ addiu $t1, $t1, -0xfa0 +/* 192054 80263774 3C088008 */ lui $t0, 0x8008 +/* 192058 80263778 250878E0 */ addiu $t0, $t0, 0x78e0 +/* 19205C 8026377C 00C0382D */ daddu $a3, $a2, $zero +/* 192060 80263780 02E0202D */ daddu $a0, $s7, $zero +/* 192064 80263784 26850002 */ addiu $a1, $s4, 2 +.L80263788: +/* 192068 80263788 84820208 */ lh $v0, 0x208($a0) +/* 19206C 8026378C 10400011 */ beqz $v0, .L802637D4 +/* 192070 80263790 26520001 */ addiu $s2, $s2, 1 +/* 192074 80263794 00021140 */ sll $v0, $v0, 5 +/* 192078 80263798 00481021 */ addu $v0, $v0, $t0 +/* 19207C 8026379C 9043001A */ lbu $v1, 0x1a($v0) +/* 192080 802637A0 00031080 */ sll $v0, $v1, 2 +/* 192084 802637A4 00431021 */ addu $v0, $v0, $v1 +/* 192088 802637A8 00021080 */ sll $v0, $v0, 2 +/* 19208C 802637AC 00498821 */ addu $s1, $v0, $t1 +/* 192090 802637B0 82220010 */ lb $v0, 0x10($s1) +/* 192094 802637B4 14470007 */ bne $v0, $a3, .L802637D4 +/* 192098 802637B8 00000000 */ nop +/* 19209C 802637BC 02861021 */ addu $v0, $s4, $a2 +/* 1920A0 802637C0 A04301DE */ sb $v1, 0x1de($v0) +/* 1920A4 802637C4 94820208 */ lhu $v0, 0x208($a0) +/* 1920A8 802637C8 24C60001 */ addiu $a2, $a2, 1 +/* 1920AC 802637CC A4A201AE */ sh $v0, 0x1ae($a1) +/* 1920B0 802637D0 24A50002 */ addiu $a1, $a1, 2 +.L802637D4: +/* 1920B4 802637D4 2A420040 */ slti $v0, $s2, 0x40 +/* 1920B8 802637D8 1440FFEB */ bnez $v0, .L80263788 +/* 1920BC 802637DC 24840002 */ addiu $a0, $a0, 2 +/* 1920C0 802637E0 A286020E */ sb $a2, 0x20e($s4) +/* 1920C4 802637E4 0000902D */ daddu $s2, $zero, $zero +/* 1920C8 802637E8 30C200FF */ andi $v0, $a2, 0xff +/* 1920CC 802637EC 10400039 */ beqz $v0, .L802638D4 +/* 1920D0 802637F0 0240B02D */ daddu $s6, $s2, $zero +/* 1920D4 802637F4 0286F021 */ addu $fp, $s4, $a2 +/* 1920D8 802637F8 0280982D */ daddu $s3, $s4, $zero +.L802637FC: +/* 1920DC 802637FC 926301DE */ lbu $v1, 0x1de($s3) +/* 1920E0 80263800 3C0A8009 */ lui $t2, 0x8009 +/* 1920E4 80263804 254AF060 */ addiu $t2, $t2, -0xfa0 +/* 1920E8 80263808 00031080 */ sll $v0, $v1, 2 +/* 1920EC 8026380C 00431021 */ addu $v0, $v0, $v1 +/* 1920F0 80263810 00021080 */ sll $v0, $v0, 2 +/* 1920F4 80263814 004A8821 */ addu $s1, $v0, $t2 +/* 1920F8 80263818 82300011 */ lb $s0, 0x11($s1) +/* 1920FC 8026381C 1200000B */ beqz $s0, .L8026384C +/* 192100 80263820 02A0202D */ daddu $a0, $s5, $zero +/* 192104 80263824 0C099CAB */ jal heroes_is_ability_active +/* 192108 80263828 24050018 */ addiu $a1, $zero, 0x18 +/* 19210C 8026382C 02028023 */ subu $s0, $s0, $v0 +/* 192110 80263830 02A0202D */ daddu $a0, $s5, $zero +/* 192114 80263834 0C099CAB */ jal heroes_is_ability_active +/* 192118 80263838 24050026 */ addiu $a1, $zero, 0x26 +/* 19211C 8026383C 00021040 */ sll $v0, $v0, 1 +/* 192120 80263840 02028023 */ subu $s0, $s0, $v0 +/* 192124 80263844 5A000001 */ blezl $s0, .L8026384C +/* 192128 80263848 24100001 */ addiu $s0, $zero, 1 +.L8026384C: +/* 19212C 8026384C 92E30001 */ lbu $v1, 1($s7) +/* 192130 80263850 24020001 */ addiu $v0, $zero, 1 +/* 192134 80263854 A2820178 */ sb $v0, 0x178($s4) +/* 192138 80263858 00031E00 */ sll $v1, $v1, 0x18 +/* 19213C 8026385C 00031E03 */ sra $v1, $v1, 0x18 +/* 192140 80263860 A683017A */ sh $v1, 0x17a($s4) +/* 192144 80263864 8E220004 */ lw $v0, 4($s1) +/* 192148 80263868 02A0202D */ daddu $a0, $s5, $zero +/* 19214C 8026386C 0C098C0B */ jal player_create_target_list +/* 192150 80263870 AE820184 */ sw $v0, 0x184($s4) +/* 192154 80263874 82A2040C */ lb $v0, 0x40c($s5) +/* 192158 80263878 10400003 */ beqz $v0, .L80263888 +/* 19215C 8026387C 00000000 */ nop +/* 192160 80263880 24160001 */ addiu $s6, $zero, 1 +/* 192164 80263884 A27601F6 */ sb $s6, 0x1f6($s3) +.L80263888: +/* 192168 80263888 82E20005 */ lb $v0, 5($s7) +/* 19216C 8026388C 0050102A */ slt $v0, $v0, $s0 +/* 192170 80263890 54400001 */ bnezl $v0, .L80263898 +/* 192174 80263894 A26001F6 */ sb $zero, 0x1f6($s3) +.L80263898: +/* 192178 80263898 82A2040C */ lb $v0, 0x40c($s5) +/* 19217C 8026389C 14400002 */ bnez $v0, .L802638A8 +/* 192180 802638A0 2402FFFE */ addiu $v0, $zero, -2 +/* 192184 802638A4 A26201F6 */ sb $v0, 0x1f6($s3) +.L802638A8: +/* 192188 802638A8 3C02800E */ lui $v0, 0x800e +/* 19218C 802638AC 8C42C074 */ lw $v0, -0x3f8c($v0) +/* 192190 802638B0 30421000 */ andi $v0, $v0, 0x1000 +/* 192194 802638B4 10400002 */ beqz $v0, .L802638C0 +/* 192198 802638B8 2402FFFF */ addiu $v0, $zero, -1 +/* 19219C 802638BC A3C201F6 */ sb $v0, 0x1f6($fp) +.L802638C0: +/* 1921A0 802638C0 9282020E */ lbu $v0, 0x20e($s4) +/* 1921A4 802638C4 26520001 */ addiu $s2, $s2, 1 +/* 1921A8 802638C8 0242102A */ slt $v0, $s2, $v0 +/* 1921AC 802638CC 1440FFCB */ bnez $v0, .L802637FC +/* 1921B0 802638D0 26730001 */ addiu $s3, $s3, 1 +.L802638D4: +/* 1921B4 802638D4 16C00002 */ bnez $s6, .L802638E0 +/* 1921B8 802638D8 24020001 */ addiu $v0, $zero, 1 +/* 1921BC 802638DC 2402FFFF */ addiu $v0, $zero, -1 +.L802638E0: +/* 1921C0 802638E0 A282007F */ sb $v0, 0x7f($s4) +func_802638E4: +/* 1921C4 802638E4 8FBF0034 */ lw $ra, 0x34($sp) +/* 1921C8 802638E8 8FBE0030 */ lw $fp, 0x30($sp) +/* 1921CC 802638EC 8FB7002C */ lw $s7, 0x2c($sp) +/* 1921D0 802638F0 8FB60028 */ lw $s6, 0x28($sp) +/* 1921D4 802638F4 8FB50024 */ lw $s5, 0x24($sp) +/* 1921D8 802638F8 8FB40020 */ lw $s4, 0x20($sp) +/* 1921DC 802638FC 8FB3001C */ lw $s3, 0x1c($sp) +/* 1921E0 80263900 8FB20018 */ lw $s2, 0x18($sp) +/* 1921E4 80263904 8FB10014 */ lw $s1, 0x14($sp) +/* 1921E8 80263908 8FB00010 */ lw $s0, 0x10($sp) +/* 1921EC 8026390C 03E00008 */ jr $ra +/* 1921F0 80263910 27BD0038 */ addiu $sp, $sp, 0x38 + +/* 1921F4 80263914 27BDFFC8 */ addiu $sp, $sp, -0x38 +/* 1921F8 80263918 AFBE0030 */ sw $fp, 0x30($sp) +/* 1921FC 8026391C 3C1E8011 */ lui $fp, 0x8011 +/* 192200 80263920 27DEF290 */ addiu $fp, $fp, -0xd70 +/* 192204 80263924 AFB10014 */ sw $s1, 0x14($sp) +/* 192208 80263928 24110017 */ addiu $s1, $zero, 0x17 +/* 19220C 8026392C AFB40020 */ sw $s4, 0x20($sp) +/* 192210 80263930 3C14800E */ lui $s4, 0x800e +/* 192214 80263934 2694C070 */ addiu $s4, $s4, -0x3f90 +/* 192218 80263938 02911021 */ addu $v0, $s4, $s1 +/* 19221C 8026393C AFBF0034 */ sw $ra, 0x34($sp) +/* 192220 80263940 AFB7002C */ sw $s7, 0x2c($sp) +/* 192224 80263944 AFB60028 */ sw $s6, 0x28($sp) +/* 192228 80263948 AFB50024 */ sw $s5, 0x24($sp) +/* 19222C 8026394C AFB3001C */ sw $s3, 0x1c($sp) +/* 192230 80263950 AFB20018 */ sw $s2, 0x18($sp) +/* 192234 80263954 AFB00010 */ sw $s0, 0x10($sp) +/* 192238 80263958 8E9700D8 */ lw $s7, 0xd8($s4) +/* 19223C 8026395C 8E9500DC */ lw $s5, 0xdc($s4) +.L80263960: +/* 192240 80263960 A04001DE */ sb $zero, 0x1de($v0) +/* 192244 80263964 2631FFFF */ addiu $s1, $s1, -1 +/* 192248 80263968 0621FFFD */ bgez $s1, .L80263960 +/* 19224C 8026396C 2442FFFF */ addiu $v0, $v0, -1 +/* 192250 80263970 8EA20008 */ lw $v0, 8($s5) +/* 192254 80263974 24110001 */ addiu $s1, $zero, 1 +/* 192258 80263978 90420006 */ lbu $v0, 6($v0) +/* 19225C 8026397C 83C30012 */ lb $v1, 0x12($fp) +/* 192260 80263980 24420002 */ addiu $v0, $v0, 2 +/* 192264 80263984 A282020E */ sb $v0, 0x20e($s4) +/* 192268 80263988 02231004 */ sllv $v0, $v1, $s1 +/* 19226C 8026398C 00431021 */ addu $v0, $v0, $v1 +/* 192270 80263990 02221004 */ sllv $v0, $v0, $s1 +/* 192274 80263994 2442007D */ addiu $v0, $v0, 0x7d +/* 192278 80263998 8EA30008 */ lw $v1, 8($s5) +/* 19227C 8026399C 9284020E */ lbu $a0, 0x20e($s4) +/* 192280 802639A0 90630006 */ lbu $v1, 6($v1) +/* 192284 802639A4 0224202A */ slt $a0, $s1, $a0 +/* 192288 802639A8 00621821 */ addu $v1, $v1, $v0 +/* 19228C 802639AC 1080000E */ beqz $a0, .L802639E8 +/* 192290 802639B0 A28301DE */ sb $v1, 0x1de($s4) +.L802639B4: +/* 192294 802639B4 83C30012 */ lb $v1, 0x12($fp) +/* 192298 802639B8 02912021 */ addu $a0, $s4, $s1 +/* 19229C 802639BC 00031040 */ sll $v0, $v1, 1 +/* 1922A0 802639C0 00431021 */ addu $v0, $v0, $v1 +/* 1922A4 802639C4 00021040 */ sll $v0, $v0, 1 +/* 1922A8 802639C8 2442007F */ addiu $v0, $v0, 0x7f +/* 1922AC 802639CC 00511021 */ addu $v0, $v0, $s1 +/* 1922B0 802639D0 A08201DE */ sb $v0, 0x1de($a0) +/* 1922B4 802639D4 9282020E */ lbu $v0, 0x20e($s4) +/* 1922B8 802639D8 26310001 */ addiu $s1, $s1, 1 +/* 1922BC 802639DC 0222102A */ slt $v0, $s1, $v0 +/* 1922C0 802639E0 1440FFF4 */ bnez $v0, .L802639B4 +/* 1922C4 802639E4 00000000 */ nop +.L802639E8: +/* 1922C8 802639E8 0000882D */ daddu $s1, $zero, $zero +/* 1922CC 802639EC 9282020E */ lbu $v0, 0x20e($s4) +/* 1922D0 802639F0 10400037 */ beqz $v0, .L80263AD0 +/* 1922D4 802639F4 0220B02D */ daddu $s6, $s1, $zero +/* 1922D8 802639F8 0280902D */ daddu $s2, $s4, $zero +.L802639FC: +/* 1922DC 802639FC 924301DE */ lbu $v1, 0x1de($s2) +/* 1922E0 80263A00 3C068009 */ lui $a2, 0x8009 +/* 1922E4 80263A04 24C6F060 */ addiu $a2, $a2, -0xfa0 +/* 1922E8 80263A08 00031080 */ sll $v0, $v1, 2 +/* 1922EC 80263A0C 00431021 */ addu $v0, $v0, $v1 +/* 1922F0 80263A10 00021080 */ sll $v0, $v0, 2 +/* 1922F4 80263A14 00469821 */ addu $s3, $v0, $a2 +/* 1922F8 80263A18 82700011 */ lb $s0, 0x11($s3) +/* 1922FC 80263A1C 1200000B */ beqz $s0, .L80263A4C +/* 192300 80263A20 02E0202D */ daddu $a0, $s7, $zero +/* 192304 80263A24 0C099CAB */ jal heroes_is_ability_active +/* 192308 80263A28 24050018 */ addiu $a1, $zero, 0x18 +/* 19230C 80263A2C 02028023 */ subu $s0, $s0, $v0 +/* 192310 80263A30 02E0202D */ daddu $a0, $s7, $zero +/* 192314 80263A34 0C099CAB */ jal heroes_is_ability_active +/* 192318 80263A38 24050026 */ addiu $a1, $zero, 0x26 +/* 19231C 80263A3C 00021040 */ sll $v0, $v0, 1 +/* 192320 80263A40 02028023 */ subu $s0, $s0, $v0 +/* 192324 80263A44 5A000001 */ blezl $s0, .L80263A4C +/* 192328 80263A48 24100001 */ addiu $s0, $zero, 1 +.L80263A4C: +/* 19232C 80263A4C 24020005 */ addiu $v0, $zero, 5 +/* 192330 80263A50 A2820178 */ sb $v0, 0x178($s4) +/* 192334 80263A54 8EA20008 */ lw $v0, 8($s5) +/* 192338 80263A58 90420006 */ lbu $v0, 6($v0) +/* 19233C 80263A5C A682017A */ sh $v0, 0x17a($s4) +/* 192340 80263A60 8E620004 */ lw $v0, 4($s3) +/* 192344 80263A64 02A0202D */ daddu $a0, $s5, $zero +/* 192348 80263A68 0C098C0B */ jal player_create_target_list +/* 19234C 80263A6C AE820184 */ sw $v0, 0x184($s4) +/* 192350 80263A70 82A2040C */ lb $v0, 0x40c($s5) +/* 192354 80263A74 10400006 */ beqz $v0, .L80263A90 +/* 192358 80263A78 2402FFFE */ addiu $v0, $zero, -2 +/* 19235C 80263A7C 24160001 */ addiu $s6, $zero, 1 +/* 192360 80263A80 A25601F6 */ sb $s6, 0x1f6($s2) +/* 192364 80263A84 82A2040C */ lb $v0, 0x40c($s5) +/* 192368 80263A88 14400002 */ bnez $v0, .L80263A94 +/* 19236C 80263A8C 2402FFFE */ addiu $v0, $zero, -2 +.L80263A90: +/* 192370 80263A90 A24201F6 */ sb $v0, 0x1f6($s2) +.L80263A94: +/* 192374 80263A94 83C20005 */ lb $v0, 5($fp) +/* 192378 80263A98 0050102A */ slt $v0, $v0, $s0 +/* 19237C 80263A9C 54400001 */ bnezl $v0, .L80263AA4 +/* 192380 80263AA0 A24001F6 */ sb $zero, 0x1f6($s2) +.L80263AA4: +/* 192384 80263AA4 3C02800E */ lui $v0, 0x800e +/* 192388 80263AA8 8C42C074 */ lw $v0, -0x3f8c($v0) +/* 19238C 80263AAC 30421000 */ andi $v0, $v0, 0x1000 +/* 192390 80263AB0 10400002 */ beqz $v0, .L80263ABC +/* 192394 80263AB4 2402FFFF */ addiu $v0, $zero, -1 +/* 192398 80263AB8 A24201F6 */ sb $v0, 0x1f6($s2) +.L80263ABC: +/* 19239C 80263ABC 9282020E */ lbu $v0, 0x20e($s4) +/* 1923A0 80263AC0 26310001 */ addiu $s1, $s1, 1 +/* 1923A4 80263AC4 0222102A */ slt $v0, $s1, $v0 +/* 1923A8 80263AC8 1440FFCC */ bnez $v0, .L802639FC +/* 1923AC 80263ACC 26520001 */ addiu $s2, $s2, 1 +.L80263AD0: +/* 1923B0 80263AD0 16C00002 */ bnez $s6, .L80263ADC +/* 1923B4 80263AD4 24020001 */ addiu $v0, $zero, 1 +/* 1923B8 80263AD8 2402FFFF */ addiu $v0, $zero, -1 +.L80263ADC: +/* 1923BC 80263ADC A2820080 */ sb $v0, 0x80($s4) +/* 1923C0 80263AE0 8FBF0034 */ lw $ra, 0x34($sp) +/* 1923C4 80263AE4 8FBE0030 */ lw $fp, 0x30($sp) +/* 1923C8 80263AE8 8FB7002C */ lw $s7, 0x2c($sp) +/* 1923CC 80263AEC 8FB60028 */ lw $s6, 0x28($sp) +/* 1923D0 80263AF0 8FB50024 */ lw $s5, 0x24($sp) +/* 1923D4 80263AF4 8FB40020 */ lw $s4, 0x20($sp) +/* 1923D8 80263AF8 8FB3001C */ lw $s3, 0x1c($sp) +/* 1923DC 80263AFC 8FB20018 */ lw $s2, 0x18($sp) +/* 1923E0 80263B00 8FB10014 */ lw $s1, 0x14($sp) +/* 1923E4 80263B04 8FB00010 */ lw $s0, 0x10($sp) +/* 1923E8 80263B08 03E00008 */ jr $ra +/* 1923EC 80263B0C 27BD0038 */ addiu $sp, $sp, 0x38 + +count_power_plus: +/* 1923F0 80263B10 3C028007 */ lui $v0, 0x8007 +/* 1923F4 80263B14 8C42419C */ lw $v0, 0x419c($v0) +/* 1923F8 80263B18 9042007E */ lbu $v0, 0x7e($v0) +/* 1923FC 80263B1C 30420001 */ andi $v0, $v0, 1 +/* 192400 80263B20 10400003 */ beqz $v0, .L80263B30 +/* 192404 80263B24 0000382D */ daddu $a3, $zero, $zero +/* 192408 80263B28 03E00008 */ jr $ra +/* 19240C 80263B2C 0000102D */ daddu $v0, $zero, $zero + +.L80263B30: +/* 192410 80263B30 00E0302D */ daddu $a2, $a3, $zero +/* 192414 80263B34 3C0C8008 */ lui $t4, 0x8008 +/* 192418 80263B38 258C78E0 */ addiu $t4, $t4, 0x78e0 +/* 19241C 80263B3C 3C0B8009 */ lui $t3, 0x8009 +/* 192420 80263B40 256BF060 */ addiu $t3, $t3, -0xfa0 +/* 192424 80263B44 240A0007 */ addiu $t2, $zero, 7 +/* 192428 80263B48 2409003B */ addiu $t1, $zero, 0x3b +/* 19242C 80263B4C 3C08800E */ lui $t0, 0x800e +/* 192430 80263B50 2508C070 */ addiu $t0, $t0, -0x3f90 +/* 192434 80263B54 30840080 */ andi $a0, $a0, 0x80 +/* 192438 80263B58 3C058011 */ lui $a1, 0x8011 +/* 19243C 80263B5C 24A5F290 */ addiu $a1, $a1, -0xd70 +.L80263B60: +/* 192440 80263B60 84A20208 */ lh $v0, 0x208($a1) +/* 192444 80263B64 00021140 */ sll $v0, $v0, 5 +/* 192448 80263B68 004C1021 */ addu $v0, $v0, $t4 +/* 19244C 80263B6C 9043001A */ lbu $v1, 0x1a($v0) +/* 192450 80263B70 00031080 */ sll $v0, $v1, 2 +/* 192454 80263B74 00431021 */ addu $v0, $v0, $v1 +/* 192458 80263B78 00021080 */ sll $v0, $v0, 2 +/* 19245C 80263B7C 004B1021 */ addu $v0, $v0, $t3 +/* 192460 80263B80 80420010 */ lb $v0, 0x10($v0) +/* 192464 80263B84 544A000B */ bnel $v0, $t2, .L80263BB4 +/* 192468 80263B88 24C60001 */ addiu $a2, $a2, 1 +/* 19246C 80263B8C 54690009 */ bnel $v1, $t1, .L80263BB4 +/* 192470 80263B90 24C60001 */ addiu $a2, $a2, 1 +/* 192474 80263B94 8D020000 */ lw $v0, ($t0) +/* 192478 80263B98 30420010 */ andi $v0, $v0, 0x10 +/* 19247C 80263B9C 54400004 */ bnezl $v0, .L80263BB0 +/* 192480 80263BA0 24E70001 */ addiu $a3, $a3, 1 +/* 192484 80263BA4 50800003 */ beql $a0, $zero, .L80263BB4 +/* 192488 80263BA8 24C60001 */ addiu $a2, $a2, 1 +/* 19248C 80263BAC 24E70001 */ addiu $a3, $a3, 1 +.L80263BB0: +/* 192490 80263BB0 24C60001 */ addiu $a2, $a2, 1 +.L80263BB4: +/* 192494 80263BB4 28C20040 */ slti $v0, $a2, 0x40 +/* 192498 80263BB8 1440FFE9 */ bnez $v0, .L80263B60 +/* 19249C 80263BBC 24A50002 */ addiu $a1, $a1, 2 +/* 1924A0 80263BC0 03E00008 */ jr $ra +/* 1924A4 80263BC4 00E0102D */ daddu $v0, $a3, $zero + +deduct_current_move_fp: +/* 1924A8 80263BC8 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 1924AC 80263BCC 3C04800E */ lui $a0, 0x800e +/* 1924B0 80263BD0 2484C070 */ addiu $a0, $a0, -0x3f90 +/* 1924B4 80263BD4 AFBF001C */ sw $ra, 0x1c($sp) +/* 1924B8 80263BD8 AFB20018 */ sw $s2, 0x18($sp) +/* 1924BC 80263BDC AFB10014 */ sw $s1, 0x14($sp) +/* 1924C0 80263BE0 AFB00010 */ sw $s0, 0x10($sp) +/* 1924C4 80263BE4 8483017C */ lh $v1, 0x17c($a0) +/* 1924C8 80263BE8 3C128011 */ lui $s2, 0x8011 +/* 1924CC 80263BEC 2652F290 */ addiu $s2, $s2, -0xd70 +/* 1924D0 80263BF0 00031080 */ sll $v0, $v1, 2 +/* 1924D4 80263BF4 00431021 */ addu $v0, $v0, $v1 +/* 1924D8 80263BF8 00021080 */ sll $v0, $v0, 2 +/* 1924DC 80263BFC 3C108009 */ lui $s0, 0x8009 +/* 1924E0 80263C00 02028021 */ addu $s0, $s0, $v0 +/* 1924E4 80263C04 8210F071 */ lb $s0, -0xf8f($s0) +/* 1924E8 80263C08 8C9100D8 */ lw $s1, 0xd8($a0) +/* 1924EC 80263C0C 1200000B */ beqz $s0, .L80263C3C +/* 1924F0 80263C10 0220202D */ daddu $a0, $s1, $zero +/* 1924F4 80263C14 0C099CAB */ jal heroes_is_ability_active +/* 1924F8 80263C18 24050018 */ addiu $a1, $zero, 0x18 +/* 1924FC 80263C1C 02028023 */ subu $s0, $s0, $v0 +/* 192500 80263C20 0220202D */ daddu $a0, $s1, $zero +/* 192504 80263C24 0C099CAB */ jal heroes_is_ability_active +/* 192508 80263C28 24050026 */ addiu $a1, $zero, 0x26 +/* 19250C 80263C2C 00021040 */ sll $v0, $v0, 1 +/* 192510 80263C30 02028023 */ subu $s0, $s0, $v0 +/* 192514 80263C34 5A000001 */ blezl $s0, .L80263C3C +/* 192518 80263C38 24100001 */ addiu $s0, $zero, 1 +.L80263C3C: +/* 19251C 80263C3C 92420005 */ lbu $v0, 5($s2) +/* 192520 80263C40 00501023 */ subu $v0, $v0, $s0 +/* 192524 80263C44 A2420005 */ sb $v0, 5($s2) +/* 192528 80263C48 8FBF001C */ lw $ra, 0x1c($sp) +/* 19252C 80263C4C 8FB20018 */ lw $s2, 0x18($sp) +/* 192530 80263C50 8FB10014 */ lw $s1, 0x14($sp) +/* 192534 80263C54 8FB00010 */ lw $s0, 0x10($sp) +/* 192538 80263C58 03E00008 */ jr $ra +/* 19253C 80263C5C 27BD0020 */ addiu $sp, $sp, 0x20 + +func_80263C60: +/* 192540 80263C60 0000202D */ daddu $a0, $zero, $zero +/* 192544 80263C64 3C05800E */ lui $a1, 0x800e +/* 192548 80263C68 24A5C070 */ addiu $a1, $a1, -0x3f90 +/* 19254C 80263C6C 00A0182D */ daddu $v1, $a1, $zero +.L80263C70: +/* 192550 80263C70 8C6200E0 */ lw $v0, 0xe0($v1) +/* 192554 80263C74 10400004 */ beqz $v0, .L80263C88 +/* 192558 80263C78 24840001 */ addiu $a0, $a0, 1 +/* 19255C 80263C7C A44001FA */ sh $zero, 0x1fa($v0) +/* 192560 80263C80 A44001FC */ sh $zero, 0x1fc($v0) +/* 192564 80263C84 A0400204 */ sb $zero, 0x204($v0) +.L80263C88: +/* 192568 80263C88 28820018 */ slti $v0, $a0, 0x18 +/* 19256C 80263C8C 1440FFF8 */ bnez $v0, .L80263C70 +/* 192570 80263C90 24630004 */ addiu $v1, $v1, 4 +/* 192574 80263C94 8CA200D8 */ lw $v0, 0xd8($a1) +/* 192578 80263C98 A44001FA */ sh $zero, 0x1fa($v0) +/* 19257C 80263C9C A44001FC */ sh $zero, 0x1fc($v0) +/* 192580 80263CA0 A0400204 */ sb $zero, 0x204($v0) +/* 192584 80263CA4 8CA200DC */ lw $v0, 0xdc($a1) +/* 192588 80263CA8 10400004 */ beqz $v0, .L80263CBC +/* 19258C 80263CAC 00000000 */ nop +/* 192590 80263CB0 A44001FA */ sh $zero, 0x1fa($v0) +/* 192594 80263CB4 A44001FC */ sh $zero, 0x1fc($v0) +/* 192598 80263CB8 A0400204 */ sb $zero, 0x204($v0) +.L80263CBC: +/* 19259C 80263CBC 03E00008 */ jr $ra +/* 1925A0 80263CC0 00000000 */ nop + +/* 1925A4 80263CC4 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 1925A8 80263CC8 AFB00010 */ sw $s0, 0x10($sp) +/* 1925AC 80263CCC 0080802D */ daddu $s0, $a0, $zero +/* 1925B0 80263CD0 3C048029 */ lui $a0, 0x8029 +/* 1925B4 80263CD4 24843820 */ addiu $a0, $a0, 0x3820 +/* 1925B8 80263CD8 2405000A */ addiu $a1, $zero, 0xa +/* 1925BC 80263CDC AFBF0014 */ sw $ra, 0x14($sp) +/* 1925C0 80263CE0 0C0B0CF8 */ jal start_script +/* 1925C4 80263CE4 0000302D */ daddu $a2, $zero, $zero +/* 1925C8 80263CE8 AC500084 */ sw $s0, 0x84($v0) +/* 1925CC 80263CEC 8FBF0014 */ lw $ra, 0x14($sp) +/* 1925D0 80263CF0 8FB00010 */ lw $s0, 0x10($sp) +/* 1925D4 80263CF4 03E00008 */ jr $ra +/* 1925D8 80263CF8 27BD0018 */ addiu $sp, $sp, 0x18 + +set_animation: +/* 1925DC 80263CFC 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 1925E0 80263D00 AFB00010 */ sw $s0, 0x10($sp) +/* 1925E4 80263D04 0080802D */ daddu $s0, $a0, $zero +/* 1925E8 80263D08 AFB3001C */ sw $s3, 0x1c($sp) +/* 1925EC 80263D0C 00A0982D */ daddu $s3, $a1, $zero +/* 1925F0 80263D10 AFB20018 */ sw $s2, 0x18($sp) +/* 1925F4 80263D14 00C0902D */ daddu $s2, $a2, $zero +/* 1925F8 80263D18 AFBF0020 */ sw $ra, 0x20($sp) +/* 1925FC 80263D1C 06400033 */ bltz $s2, .L80263DEC +/* 192600 80263D20 AFB10014 */ sw $s1, 0x14($sp) +/* 192604 80263D24 0C09A75B */ jal get_actor +/* 192608 80263D28 00000000 */ nop +/* 19260C 80263D2C 0040882D */ daddu $s1, $v0, $zero +/* 192610 80263D30 32040700 */ andi $a0, $s0, 0x700 +/* 192614 80263D34 24020100 */ addiu $v0, $zero, 0x100 +/* 192618 80263D38 10820015 */ beq $a0, $v0, .L80263D90 +/* 19261C 80263D3C 28820101 */ slti $v0, $a0, 0x101 +/* 192620 80263D40 50400005 */ beql $v0, $zero, .L80263D58 +/* 192624 80263D44 24020200 */ addiu $v0, $zero, 0x200 +/* 192628 80263D48 10800007 */ beqz $a0, .L80263D68 +/* 19262C 80263D4C 00000000 */ nop +/* 192630 80263D50 08098F7B */ j func_80263DEC +/* 192634 80263D54 00000000 */ nop + +.L80263D58: +/* 192638 80263D58 10820016 */ beq $a0, $v0, .L80263DB4 +/* 19263C 80263D5C 0220202D */ daddu $a0, $s1, $zero +/* 192640 80263D60 08098F7B */ j func_80263DEC +/* 192644 80263D64 00000000 */ nop + +.L80263D68: +/* 192648 80263D68 8E3001F4 */ lw $s0, 0x1f4($s1) +/* 19264C 80263D6C 8E020088 */ lw $v0, 0x88($s0) +/* 192650 80263D70 1052001E */ beq $v0, $s2, .L80263DEC +/* 192654 80263D74 0000202D */ daddu $a0, $zero, $zero +/* 192658 80263D78 8E060090 */ lw $a2, 0x90($s0) +/* 19265C 80263D7C 0240282D */ daddu $a1, $s2, $zero +/* 192660 80263D80 0C0B76A3 */ jal func_802DDA8C +/* 192664 80263D84 AE050088 */ sw $a1, 0x88($s0) +/* 192668 80263D88 08098F7B */ j func_80263DEC +/* 19266C 80263D8C 00000000 */ nop + +.L80263D90: +/* 192670 80263D90 12600006 */ beqz $s3, .L80263DAC +/* 192674 80263D94 0220202D */ daddu $a0, $s1, $zero +/* 192678 80263D98 0C099117 */ jal get_actor_part +/* 19267C 80263D9C 0260282D */ daddu $a1, $s3, $zero +/* 192680 80263DA0 0040802D */ daddu $s0, $v0, $zero +/* 192684 80263DA4 16000006 */ bnez $s0, .L80263DC0 +/* 192688 80263DA8 00000000 */ nop +.L80263DAC: +/* 19268C 80263DAC 08098F70 */ j func_80263DC0 +/* 192690 80263DB0 8E3001F4 */ lw $s0, 0x1f4($s1) + +.L80263DB4: +/* 192694 80263DB4 0C099117 */ jal get_actor_part +/* 192698 80263DB8 0260282D */ daddu $a1, $s3, $zero +/* 19269C 80263DBC 0040802D */ daddu $s0, $v0, $zero +func_80263DC0: +.L80263DC0: +/* 1926A0 80263DC0 8E020088 */ lw $v0, 0x88($s0) +/* 1926A4 80263DC4 10520009 */ beq $v0, $s2, .L80263DEC +/* 1926A8 80263DC8 0240282D */ daddu $a1, $s2, $zero +/* 1926AC 80263DCC 8E040084 */ lw $a0, 0x84($s0) +/* 1926B0 80263DD0 8E060090 */ lw $a2, 0x90($s0) +/* 1926B4 80263DD4 0C0B78AB */ jal func_802DE2AC +/* 1926B8 80263DD8 AE050088 */ sw $a1, 0x88($s0) +/* 1926BC 80263DDC 8E040084 */ lw $a0, 0x84($s0) +/* 1926C0 80263DE0 0C0B7972 */ jal func_802DE5C8 +/* 1926C4 80263DE4 00000000 */ nop +/* 1926C8 80263DE8 AE02008C */ sw $v0, 0x8c($s0) +func_80263DEC: +.L80263DEC: +/* 1926CC 80263DEC 8FBF0020 */ lw $ra, 0x20($sp) +/* 1926D0 80263DF0 8FB3001C */ lw $s3, 0x1c($sp) +/* 1926D4 80263DF4 8FB20018 */ lw $s2, 0x18($sp) +/* 1926D8 80263DF8 8FB10014 */ lw $s1, 0x14($sp) +/* 1926DC 80263DFC 8FB00010 */ lw $s0, 0x10($sp) +/* 1926E0 80263E00 03E00008 */ jr $ra +/* 1926E4 80263E04 27BD0028 */ addiu $sp, $sp, 0x28 + +func_80263E08: +/* 1926E8 80263E08 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 1926EC 80263E0C AFB00010 */ sw $s0, 0x10($sp) +/* 1926F0 80263E10 00A0802D */ daddu $s0, $a1, $zero +/* 1926F4 80263E14 00C0282D */ daddu $a1, $a2, $zero +/* 1926F8 80263E18 04A00023 */ bltz $a1, .L80263EA8 +/* 1926FC 80263E1C AFBF0014 */ sw $ra, 0x14($sp) +/* 192700 80263E20 94820192 */ lhu $v0, 0x192($a0) +/* 192704 80263E24 30430700 */ andi $v1, $v0, 0x700 +/* 192708 80263E28 24020100 */ addiu $v0, $zero, 0x100 +/* 19270C 80263E2C 10620013 */ beq $v1, $v0, .L80263E7C +/* 192710 80263E30 28620101 */ slti $v0, $v1, 0x101 +/* 192714 80263E34 50400005 */ beql $v0, $zero, .L80263E4C +/* 192718 80263E38 24020200 */ addiu $v0, $zero, 0x200 +/* 19271C 80263E3C 10600007 */ beqz $v1, .L80263E5C +/* 192720 80263E40 00000000 */ nop +/* 192724 80263E44 08098FAA */ j func_80263EA8 +/* 192728 80263E48 00000000 */ nop + +.L80263E4C: +/* 19272C 80263E4C 1062000B */ beq $v1, $v0, .L80263E7C +/* 192730 80263E50 00000000 */ nop +/* 192734 80263E54 08098FAA */ j func_80263EA8 +/* 192738 80263E58 00000000 */ nop + +.L80263E5C: +/* 19273C 80263E5C 8E020088 */ lw $v0, 0x88($s0) +/* 192740 80263E60 10450011 */ beq $v0, $a1, .L80263EA8 +/* 192744 80263E64 0000202D */ daddu $a0, $zero, $zero +/* 192748 80263E68 8E060090 */ lw $a2, 0x90($s0) +/* 19274C 80263E6C 0C0B76A3 */ jal func_802DDA8C +/* 192750 80263E70 AE050088 */ sw $a1, 0x88($s0) +/* 192754 80263E74 08098FAA */ j func_80263EA8 +/* 192758 80263E78 00000000 */ nop + +.L80263E7C: +/* 19275C 80263E7C 8E020088 */ lw $v0, 0x88($s0) +/* 192760 80263E80 10450009 */ beq $v0, $a1, .L80263EA8 +/* 192764 80263E84 00000000 */ nop +/* 192768 80263E88 8E040084 */ lw $a0, 0x84($s0) +/* 19276C 80263E8C 8E060090 */ lw $a2, 0x90($s0) +/* 192770 80263E90 0C0B78AB */ jal func_802DE2AC +/* 192774 80263E94 AE050088 */ sw $a1, 0x88($s0) +/* 192778 80263E98 8E040084 */ lw $a0, 0x84($s0) +/* 19277C 80263E9C 0C0B7972 */ jal func_802DE5C8 +/* 192780 80263EA0 00000000 */ nop +/* 192784 80263EA4 AE02008C */ sw $v0, 0x8c($s0) +func_80263EA8: +.L80263EA8: +/* 192788 80263EA8 8FBF0014 */ lw $ra, 0x14($sp) +/* 19278C 80263EAC 8FB00010 */ lw $s0, 0x10($sp) +/* 192790 80263EB0 03E00008 */ jr $ra +/* 192794 80263EB4 27BD0018 */ addiu $sp, $sp, 0x18 + +set_animation_rate: +/* 192798 80263EB8 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 19279C 80263EBC AFB00010 */ sw $s0, 0x10($sp) +/* 1927A0 80263EC0 0080802D */ daddu $s0, $a0, $zero +/* 1927A4 80263EC4 AFB20018 */ sw $s2, 0x18($sp) +/* 1927A8 80263EC8 00A0902D */ daddu $s2, $a1, $zero +/* 1927AC 80263ECC F7B40020 */ sdc1 $f20, 0x20($sp) +/* 1927B0 80263ED0 4486A000 */ mtc1 $a2, $f20 +/* 1927B4 80263ED4 AFBF001C */ sw $ra, 0x1c($sp) +/* 1927B8 80263ED8 0C09A75B */ jal get_actor +/* 1927BC 80263EDC AFB10014 */ sw $s1, 0x14($sp) +/* 1927C0 80263EE0 0040882D */ daddu $s1, $v0, $zero +/* 1927C4 80263EE4 32100700 */ andi $s0, $s0, 0x700 +/* 1927C8 80263EE8 24020100 */ addiu $v0, $zero, 0x100 +/* 1927CC 80263EEC 1202000B */ beq $s0, $v0, .L80263F1C +/* 1927D0 80263EF0 2A020101 */ slti $v0, $s0, 0x101 +/* 1927D4 80263EF4 50400005 */ beql $v0, $zero, .L80263F0C +/* 1927D8 80263EF8 24020200 */ addiu $v0, $zero, 0x200 +/* 1927DC 80263EFC 12000010 */ beqz $s0, .L80263F40 +/* 1927E0 80263F00 0220202D */ daddu $a0, $s1, $zero +/* 1927E4 80263F04 08098FD3 */ j func_80263F4C +/* 1927E8 80263F08 00000000 */ nop + +.L80263F0C: +/* 1927EC 80263F0C 1202000C */ beq $s0, $v0, .L80263F40 +/* 1927F0 80263F10 0220202D */ daddu $a0, $s1, $zero +/* 1927F4 80263F14 08098FD3 */ j func_80263F4C +/* 1927F8 80263F18 00000000 */ nop + +.L80263F1C: +/* 1927FC 80263F1C 12400005 */ beqz $s2, .L80263F34 +/* 192800 80263F20 0220202D */ daddu $a0, $s1, $zero +/* 192804 80263F24 0C099117 */ jal get_actor_part +/* 192808 80263F28 0240282D */ daddu $a1, $s2, $zero +/* 19280C 80263F2C 54400007 */ bnezl $v0, .L80263F4C +/* 192810 80263F30 E4540090 */ swc1 $f20, 0x90($v0) +.L80263F34: +/* 192814 80263F34 8E2201F4 */ lw $v0, 0x1f4($s1) +/* 192818 80263F38 08098FD3 */ j func_80263F4C +/* 19281C 80263F3C E4540090 */ swc1 $f20, 0x90($v0) + +.L80263F40: +/* 192820 80263F40 0C099117 */ jal get_actor_part +/* 192824 80263F44 0240282D */ daddu $a1, $s2, $zero +/* 192828 80263F48 E4540090 */ swc1 $f20, 0x90($v0) +func_80263F4C: +.L80263F4C: +/* 19282C 80263F4C 8FBF001C */ lw $ra, 0x1c($sp) +/* 192830 80263F50 8FB20018 */ lw $s2, 0x18($sp) +/* 192834 80263F54 8FB10014 */ lw $s1, 0x14($sp) +/* 192838 80263F58 8FB00010 */ lw $s0, 0x10($sp) +/* 19283C 80263F5C D7B40020 */ ldc1 $f20, 0x20($sp) +/* 192840 80263F60 03E00008 */ jr $ra +/* 192844 80263F64 27BD0028 */ addiu $sp, $sp, 0x28 + +set_actor_yaw: +/* 192848 80263F68 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 19284C 80263F6C AFB00010 */ sw $s0, 0x10($sp) +/* 192850 80263F70 AFBF0014 */ sw $ra, 0x14($sp) +/* 192854 80263F74 0C09A75B */ jal get_actor +/* 192858 80263F78 00A0802D */ daddu $s0, $a1, $zero +/* 19285C 80263F7C 44900000 */ mtc1 $s0, $f0 +/* 192860 80263F80 00000000 */ nop +/* 192864 80263F84 46800020 */ cvt.s.w $f0, $f0 +/* 192868 80263F88 E440018C */ swc1 $f0, 0x18c($v0) +/* 19286C 80263F8C 8FBF0014 */ lw $ra, 0x14($sp) +/* 192870 80263F90 8FB00010 */ lw $s0, 0x10($sp) +/* 192874 80263F94 03E00008 */ jr $ra +/* 192878 80263F98 27BD0018 */ addiu $sp, $sp, 0x18 + +set_part_yaw: +/* 19287C 80263F9C 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 192880 80263FA0 AFB00010 */ sw $s0, 0x10($sp) +/* 192884 80263FA4 00A0802D */ daddu $s0, $a1, $zero +/* 192888 80263FA8 AFB10014 */ sw $s1, 0x14($sp) +/* 19288C 80263FAC AFBF0018 */ sw $ra, 0x18($sp) +/* 192890 80263FB0 0C09A75B */ jal get_actor +/* 192894 80263FB4 00C0882D */ daddu $s1, $a2, $zero +/* 192898 80263FB8 0040202D */ daddu $a0, $v0, $zero +/* 19289C 80263FBC 0C099117 */ jal get_actor_part +/* 1928A0 80263FC0 0200282D */ daddu $a1, $s0, $zero +/* 1928A4 80263FC4 44910000 */ mtc1 $s1, $f0 +/* 1928A8 80263FC8 00000000 */ nop +/* 1928AC 80263FCC 46800020 */ cvt.s.w $f0, $f0 +/* 1928B0 80263FD0 E4400064 */ swc1 $f0, 0x64($v0) +/* 1928B4 80263FD4 8FBF0018 */ lw $ra, 0x18($sp) +/* 1928B8 80263FD8 8FB10014 */ lw $s1, 0x14($sp) +/* 1928BC 80263FDC 8FB00010 */ lw $s0, 0x10($sp) +/* 1928C0 80263FE0 03E00008 */ jr $ra +/* 1928C4 80263FE4 27BD0020 */ addiu $sp, $sp, 0x20 + +/* 1928C8 80263FE8 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 1928CC 80263FEC AFB00010 */ sw $s0, 0x10($sp) +/* 1928D0 80263FF0 0080802D */ daddu $s0, $a0, $zero +/* 1928D4 80263FF4 AFB20018 */ sw $s2, 0x18($sp) +/* 1928D8 80263FF8 00A0902D */ daddu $s2, $a1, $zero +/* 1928DC 80263FFC AFB10014 */ sw $s1, 0x14($sp) +/* 1928E0 80264000 AFBF001C */ sw $ra, 0x1c($sp) +/* 1928E4 80264004 0C09A75B */ jal get_actor +/* 1928E8 80264008 00C0882D */ daddu $s1, $a2, $zero +/* 1928EC 8026400C 0040202D */ daddu $a0, $v0, $zero +/* 1928F0 80264010 32100700 */ andi $s0, $s0, 0x700 +/* 1928F4 80264014 24020100 */ addiu $v0, $zero, 0x100 +/* 1928F8 80264018 12020009 */ beq $s0, $v0, .L80264040 +/* 1928FC 8026401C 2A020101 */ slti $v0, $s0, 0x101 +/* 192900 80264020 50400005 */ beql $v0, $zero, .L80264038 +/* 192904 80264024 24020200 */ addiu $v0, $zero, 0x200 +/* 192908 80264028 12000007 */ beqz $s0, .L80264048 +/* 19290C 8026402C 00000000 */ nop +/* 192910 80264030 0809901B */ j func_8026406C +/* 192914 80264034 00000000 */ nop + +.L80264038: +/* 192918 80264038 1602000C */ bne $s0, $v0, .L8026406C +/* 19291C 8026403C 00000000 */ nop +.L80264040: +/* 192920 80264040 16400005 */ bnez $s2, .L80264058 +/* 192924 80264044 00000000 */ nop +.L80264048: +/* 192928 80264048 8C820000 */ lw $v0, ($a0) +/* 19292C 8026404C 00511025 */ or $v0, $v0, $s1 +/* 192930 80264050 0809901B */ j func_8026406C +/* 192934 80264054 AC820000 */ sw $v0, ($a0) + +.L80264058: +/* 192938 80264058 0C099117 */ jal get_actor_part +/* 19293C 8026405C 0240282D */ daddu $a1, $s2, $zero +/* 192940 80264060 8C430000 */ lw $v1, ($v0) +/* 192944 80264064 00711825 */ or $v1, $v1, $s1 +/* 192948 80264068 AC430000 */ sw $v1, ($v0) +func_8026406C: +.L8026406C: +/* 19294C 8026406C 8FBF001C */ lw $ra, 0x1c($sp) +/* 192950 80264070 8FB20018 */ lw $s2, 0x18($sp) +/* 192954 80264074 8FB10014 */ lw $s1, 0x14($sp) +/* 192958 80264078 8FB00010 */ lw $s0, 0x10($sp) +/* 19295C 8026407C 03E00008 */ jr $ra +/* 192960 80264080 27BD0020 */ addiu $sp, $sp, 0x20 + +/* 192964 80264084 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 192968 80264088 AFB00010 */ sw $s0, 0x10($sp) +/* 19296C 8026408C 0080802D */ daddu $s0, $a0, $zero +/* 192970 80264090 AFB20018 */ sw $s2, 0x18($sp) +/* 192974 80264094 00A0902D */ daddu $s2, $a1, $zero +/* 192978 80264098 AFB10014 */ sw $s1, 0x14($sp) +/* 19297C 8026409C AFBF001C */ sw $ra, 0x1c($sp) +/* 192980 802640A0 0C09A75B */ jal get_actor +/* 192984 802640A4 00C0882D */ daddu $s1, $a2, $zero +/* 192988 802640A8 0040202D */ daddu $a0, $v0, $zero +/* 19298C 802640AC 32100700 */ andi $s0, $s0, 0x700 +/* 192990 802640B0 24020100 */ addiu $v0, $zero, 0x100 +/* 192994 802640B4 12020009 */ beq $s0, $v0, .L802640DC +/* 192998 802640B8 2A020101 */ slti $v0, $s0, 0x101 +/* 19299C 802640BC 50400005 */ beql $v0, $zero, .L802640D4 +/* 1929A0 802640C0 24020200 */ addiu $v0, $zero, 0x200 +/* 1929A4 802640C4 12000007 */ beqz $s0, .L802640E4 +/* 1929A8 802640C8 00000000 */ nop +/* 1929AC 802640CC 08099044 */ j func_80264110 +/* 1929B0 802640D0 00000000 */ nop + +.L802640D4: +/* 1929B4 802640D4 1602000E */ bne $s0, $v0, .L80264110 +/* 1929B8 802640D8 00000000 */ nop +.L802640DC: +/* 1929BC 802640DC 16400006 */ bnez $s2, .L802640F8 +/* 1929C0 802640E0 00000000 */ nop +.L802640E4: +/* 1929C4 802640E4 8C820000 */ lw $v0, ($a0) +/* 1929C8 802640E8 00111827 */ nor $v1, $zero, $s1 +/* 1929CC 802640EC 00431024 */ and $v0, $v0, $v1 +/* 1929D0 802640F0 08099044 */ j func_80264110 +/* 1929D4 802640F4 AC820000 */ sw $v0, ($a0) + +.L802640F8: +/* 1929D8 802640F8 0C099117 */ jal get_actor_part +/* 1929DC 802640FC 0240282D */ daddu $a1, $s2, $zero +/* 1929E0 80264100 8C430000 */ lw $v1, ($v0) +/* 1929E4 80264104 00112027 */ nor $a0, $zero, $s1 +/* 1929E8 80264108 00641824 */ and $v1, $v1, $a0 +/* 1929EC 8026410C AC430000 */ sw $v1, ($v0) +func_80264110: +.L80264110: +/* 1929F0 80264110 8FBF001C */ lw $ra, 0x1c($sp) +/* 1929F4 80264114 8FB20018 */ lw $s2, 0x18($sp) +/* 1929F8 80264118 8FB10014 */ lw $s1, 0x14($sp) +/* 1929FC 8026411C 8FB00010 */ lw $s0, 0x10($sp) +/* 192A00 80264120 03E00008 */ jr $ra +/* 192A04 80264124 27BD0020 */ addiu $sp, $sp, 0x20 + +add_xz_vec3f: +/* 192A08 80264128 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 192A0C 8026412C F7B60020 */ sdc1 $f22, 0x20($sp) +/* 192A10 80264130 4485B000 */ mtc1 $a1, $f22 +/* 192A14 80264134 3C0140C9 */ lui $at, 0x40c9 +/* 192A18 80264138 34210FD0 */ ori $at, $at, 0xfd0 +/* 192A1C 8026413C 44810000 */ mtc1 $at, $f0 +/* 192A20 80264140 44862000 */ mtc1 $a2, $f4 +/* 192A24 80264144 F7B40018 */ sdc1 $f20, 0x18($sp) +/* 192A28 80264148 46002502 */ mul.s $f20, $f4, $f0 +/* 192A2C 8026414C 00000000 */ nop +/* 192A30 80264150 AFB00010 */ sw $s0, 0x10($sp) +/* 192A34 80264154 3C0143B4 */ lui $at, 0x43b4 +/* 192A38 80264158 44810000 */ mtc1 $at, $f0 +/* 192A3C 8026415C 0080802D */ daddu $s0, $a0, $zero +/* 192A40 80264160 AFBF0014 */ sw $ra, 0x14($sp) +/* 192A44 80264164 4600A503 */ div.s $f20, $f20, $f0 +/* 192A48 80264168 0C00A85B */ jal sin_rad +/* 192A4C 8026416C 4600A306 */ mov.s $f12, $f20 +/* 192A50 80264170 4600A306 */ mov.s $f12, $f20 +/* 192A54 80264174 0C00A874 */ jal cos_rad +/* 192A58 80264178 46000506 */ mov.s $f20, $f0 +/* 192A5C 8026417C 4614B502 */ mul.s $f20, $f22, $f20 +/* 192A60 80264180 00000000 */ nop +/* 192A64 80264184 4600B587 */ neg.s $f22, $f22 +/* 192A68 80264188 4600B582 */ mul.s $f22, $f22, $f0 +/* 192A6C 8026418C 00000000 */ nop +/* 192A70 80264190 C6020000 */ lwc1 $f2, ($s0) +/* 192A74 80264194 46141080 */ add.s $f2, $f2, $f20 +/* 192A78 80264198 C6000008 */ lwc1 $f0, 8($s0) +/* 192A7C 8026419C 46160000 */ add.s $f0, $f0, $f22 +/* 192A80 802641A0 E6020000 */ swc1 $f2, ($s0) +/* 192A84 802641A4 E6000008 */ swc1 $f0, 8($s0) +/* 192A88 802641A8 8FBF0014 */ lw $ra, 0x14($sp) +/* 192A8C 802641AC 8FB00010 */ lw $s0, 0x10($sp) +/* 192A90 802641B0 D7B60020 */ ldc1 $f22, 0x20($sp) +/* 192A94 802641B4 D7B40018 */ ldc1 $f20, 0x18($sp) +/* 192A98 802641B8 03E00008 */ jr $ra +/* 192A9C 802641BC 27BD0028 */ addiu $sp, $sp, 0x28 + +add_xz_vec3f_copy1: +/* 192AA0 802641C0 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 192AA4 802641C4 F7B60020 */ sdc1 $f22, 0x20($sp) +/* 192AA8 802641C8 4485B000 */ mtc1 $a1, $f22 +/* 192AAC 802641CC 3C0140C9 */ lui $at, 0x40c9 +/* 192AB0 802641D0 34210FD0 */ ori $at, $at, 0xfd0 +/* 192AB4 802641D4 44810000 */ mtc1 $at, $f0 +/* 192AB8 802641D8 44862000 */ mtc1 $a2, $f4 +/* 192ABC 802641DC F7B40018 */ sdc1 $f20, 0x18($sp) +/* 192AC0 802641E0 46002502 */ mul.s $f20, $f4, $f0 +/* 192AC4 802641E4 00000000 */ nop +/* 192AC8 802641E8 AFB00010 */ sw $s0, 0x10($sp) +/* 192ACC 802641EC 3C0143B4 */ lui $at, 0x43b4 +/* 192AD0 802641F0 44810000 */ mtc1 $at, $f0 +/* 192AD4 802641F4 0080802D */ daddu $s0, $a0, $zero +/* 192AD8 802641F8 AFBF0014 */ sw $ra, 0x14($sp) +/* 192ADC 802641FC 4600A503 */ div.s $f20, $f20, $f0 +/* 192AE0 80264200 0C00A85B */ jal sin_rad +/* 192AE4 80264204 4600A306 */ mov.s $f12, $f20 +/* 192AE8 80264208 4600A306 */ mov.s $f12, $f20 +/* 192AEC 8026420C 0C00A874 */ jal cos_rad +/* 192AF0 80264210 46000506 */ mov.s $f20, $f0 +/* 192AF4 80264214 4614B502 */ mul.s $f20, $f22, $f20 +/* 192AF8 80264218 00000000 */ nop +/* 192AFC 8026421C 4600B587 */ neg.s $f22, $f22 +/* 192B00 80264220 4600B582 */ mul.s $f22, $f22, $f0 +/* 192B04 80264224 00000000 */ nop +/* 192B08 80264228 C6020000 */ lwc1 $f2, ($s0) +/* 192B0C 8026422C 46141080 */ add.s $f2, $f2, $f20 +/* 192B10 80264230 C6000008 */ lwc1 $f0, 8($s0) +/* 192B14 80264234 46160000 */ add.s $f0, $f0, $f22 +/* 192B18 80264238 E6020000 */ swc1 $f2, ($s0) +/* 192B1C 8026423C E6000008 */ swc1 $f0, 8($s0) +/* 192B20 80264240 8FBF0014 */ lw $ra, 0x14($sp) +/* 192B24 80264244 8FB00010 */ lw $s0, 0x10($sp) +/* 192B28 80264248 D7B60020 */ ldc1 $f22, 0x20($sp) +/* 192B2C 8026424C D7B40018 */ ldc1 $f20, 0x18($sp) +/* 192B30 80264250 03E00008 */ jr $ra +/* 192B34 80264254 27BD0028 */ addiu $sp, $sp, 0x28 + +add_xz_vec3f_copy2: +/* 192B38 80264258 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 192B3C 8026425C F7B60020 */ sdc1 $f22, 0x20($sp) +/* 192B40 80264260 4485B000 */ mtc1 $a1, $f22 +/* 192B44 80264264 3C0140C9 */ lui $at, 0x40c9 +/* 192B48 80264268 34210FD0 */ ori $at, $at, 0xfd0 +/* 192B4C 8026426C 44810000 */ mtc1 $at, $f0 +/* 192B50 80264270 44862000 */ mtc1 $a2, $f4 +/* 192B54 80264274 F7B40018 */ sdc1 $f20, 0x18($sp) +/* 192B58 80264278 46002502 */ mul.s $f20, $f4, $f0 +/* 192B5C 8026427C 00000000 */ nop +/* 192B60 80264280 AFB00010 */ sw $s0, 0x10($sp) +/* 192B64 80264284 3C0143B4 */ lui $at, 0x43b4 +/* 192B68 80264288 44810000 */ mtc1 $at, $f0 +/* 192B6C 8026428C 0080802D */ daddu $s0, $a0, $zero +/* 192B70 80264290 AFBF0014 */ sw $ra, 0x14($sp) +/* 192B74 80264294 4600A503 */ div.s $f20, $f20, $f0 +/* 192B78 80264298 0C00A85B */ jal sin_rad +/* 192B7C 8026429C 4600A306 */ mov.s $f12, $f20 +/* 192B80 802642A0 4600A306 */ mov.s $f12, $f20 +/* 192B84 802642A4 0C00A874 */ jal cos_rad +/* 192B88 802642A8 46000506 */ mov.s $f20, $f0 +/* 192B8C 802642AC 4614B502 */ mul.s $f20, $f22, $f20 +/* 192B90 802642B0 00000000 */ nop +/* 192B94 802642B4 4600B587 */ neg.s $f22, $f22 +/* 192B98 802642B8 4600B582 */ mul.s $f22, $f22, $f0 +/* 192B9C 802642BC 00000000 */ nop +/* 192BA0 802642C0 C6020000 */ lwc1 $f2, ($s0) +/* 192BA4 802642C4 46141080 */ add.s $f2, $f2, $f20 +/* 192BA8 802642C8 C6000008 */ lwc1 $f0, 8($s0) +/* 192BAC 802642CC 46160000 */ add.s $f0, $f0, $f22 +/* 192BB0 802642D0 E6020000 */ swc1 $f2, ($s0) +/* 192BB4 802642D4 E6000008 */ swc1 $f0, 8($s0) +/* 192BB8 802642D8 8FBF0014 */ lw $ra, 0x14($sp) +/* 192BBC 802642DC 8FB00010 */ lw $s0, 0x10($sp) +/* 192BC0 802642E0 D7B60020 */ ldc1 $f22, 0x20($sp) +/* 192BC4 802642E4 D7B40018 */ ldc1 $f20, 0x18($sp) +/* 192BC8 802642E8 03E00008 */ jr $ra +/* 192BCC 802642EC 27BD0028 */ addiu $sp, $sp, 0x28 + +play_movement_dust_effects: +/* 192BD0 802642F0 27BDFFC0 */ addiu $sp, $sp, -0x40 +/* 192BD4 802642F4 F7B60028 */ sdc1 $f22, 0x28($sp) +/* 192BD8 802642F8 4485B000 */ mtc1 $a1, $f22 +/* 192BDC 802642FC F7B80030 */ sdc1 $f24, 0x30($sp) +/* 192BE0 80264300 4486C000 */ mtc1 $a2, $f24 +/* 192BE4 80264304 F7BA0038 */ sdc1 $f26, 0x38($sp) +/* 192BE8 80264308 4487D000 */ mtc1 $a3, $f26 +/* 192BEC 8026430C 24020002 */ addiu $v0, $zero, 2 +/* 192BF0 80264310 AFBF0018 */ sw $ra, 0x18($sp) +/* 192BF4 80264314 F7B40020 */ sdc1 $f20, 0x20($sp) +/* 192BF8 80264318 1482000C */ bne $a0, $v0, .L8026434C +/* 192BFC 8026431C 24020001 */ addiu $v0, $zero, 1 +/* 192C00 80264320 44800000 */ mtc1 $zero, $f0 +/* 192C04 80264324 00000000 */ nop +/* 192C08 80264328 4600C600 */ add.s $f24, $f24, $f0 +/* 192C0C 8026432C 3C018029 */ lui $at, 0x8029 +/* 192C10 80264330 C42038A4 */ lwc1 $f0, 0x38a4($at) +/* 192C14 80264334 4406C000 */ mfc1 $a2, $f24 +/* 192C18 80264338 0000202D */ daddu $a0, $zero, $zero +/* 192C1C 8026433C 0C01BEB4 */ jal fx_walk_large +/* 192C20 80264340 E7A00010 */ swc1 $f0, 0x10($sp) +/* 192C24 80264344 08099110 */ j func_80264440 +/* 192C28 80264348 00000000 */ nop + +.L8026434C: +/* 192C2C 8026434C 14820004 */ bne $a0, $v0, .L80264360 +/* 192C30 80264350 24020004 */ addiu $v0, $zero, 4 +/* 192C34 80264354 3C018029 */ lui $at, 0x8029 +/* 192C38 80264358 08099110 */ j func_80264440 +/* 192C3C 8026435C A42238A8 */ sh $v0, 0x38a8($at) + +.L80264360: +/* 192C40 80264360 3C048029 */ lui $a0, 0x8029 +/* 192C44 80264364 248438A8 */ addiu $a0, $a0, 0x38a8 +/* 192C48 80264368 94820000 */ lhu $v0, ($a0) +/* 192C4C 8026436C 24430001 */ addiu $v1, $v0, 1 +/* 192C50 80264370 00021400 */ sll $v0, $v0, 0x10 +/* 192C54 80264374 00021403 */ sra $v0, $v0, 0x10 +/* 192C58 80264378 28420004 */ slti $v0, $v0, 4 +/* 192C5C 8026437C 14400030 */ bnez $v0, .L80264440 +/* 192C60 80264380 A4830000 */ sh $v1, ($a0) +/* 192C64 80264384 A4800000 */ sh $zero, ($a0) +/* 192C68 80264388 C7AC0050 */ lwc1 $f12, 0x50($sp) +/* 192C6C 8026438C 0C00A6C9 */ jal clamp_angle +/* 192C70 80264390 46006307 */ neg.s $f12, $f12 +/* 192C74 80264394 3C0140C9 */ lui $at, 0x40c9 +/* 192C78 80264398 34210FD0 */ ori $at, $at, 0xfd0 +/* 192C7C 8026439C 44811000 */ mtc1 $at, $f2 +/* 192C80 802643A0 00000000 */ nop +/* 192C84 802643A4 46020502 */ mul.s $f20, $f0, $f2 +/* 192C88 802643A8 00000000 */ nop +/* 192C8C 802643AC 3C0143B4 */ lui $at, 0x43b4 +/* 192C90 802643B0 44810000 */ mtc1 $at, $f0 +/* 192C94 802643B4 00000000 */ nop +/* 192C98 802643B8 4600A503 */ div.s $f20, $f20, $f0 +/* 192C9C 802643BC 0C00A85B */ jal sin_rad +/* 192CA0 802643C0 4600A306 */ mov.s $f12, $f20 +/* 192CA4 802643C4 4600A306 */ mov.s $f12, $f20 +/* 192CA8 802643C8 0C00A874 */ jal cos_rad +/* 192CAC 802643CC 46000506 */ mov.s $f20, $f0 +/* 192CB0 802643D0 3C0141C0 */ lui $at, 0x41c0 +/* 192CB4 802643D4 44812000 */ mtc1 $at, $f4 +/* 192CB8 802643D8 00000000 */ nop +/* 192CBC 802643DC 4604A182 */ mul.s $f6, $f20, $f4 +/* 192CC0 802643E0 00000000 */ nop +/* 192CC4 802643E4 46040102 */ mul.s $f4, $f0, $f4 +/* 192CC8 802643E8 00000000 */ nop +/* 192CCC 802643EC 3C013E4C */ lui $at, 0x3e4c +/* 192CD0 802643F0 3421CCCD */ ori $at, $at, 0xcccd +/* 192CD4 802643F4 44811000 */ mtc1 $at, $f2 +/* 192CD8 802643F8 00000000 */ nop +/* 192CDC 802643FC 46023182 */ mul.s $f6, $f6, $f2 +/* 192CE0 80264400 00000000 */ nop +/* 192CE4 80264404 46022102 */ mul.s $f4, $f4, $f2 +/* 192CE8 80264408 00000000 */ nop +/* 192CEC 8026440C 3C013FC0 */ lui $at, 0x3fc0 +/* 192CF0 80264410 44811000 */ mtc1 $at, $f2 +/* 192CF4 80264414 00000000 */ nop +/* 192CF8 80264418 4602C600 */ add.s $f24, $f24, $f2 +/* 192CFC 8026441C 4606B580 */ add.s $f22, $f22, $f6 +/* 192D00 80264420 4604D680 */ add.s $f26, $f26, $f4 +/* 192D04 80264424 4406C000 */ mfc1 $a2, $f24 +/* 192D08 80264428 4405B000 */ mfc1 $a1, $f22 +/* 192D0C 8026442C 4407D000 */ mfc1 $a3, $f26 +/* 192D10 80264430 0000202D */ daddu $a0, $zero, $zero +/* 192D14 80264434 E7B40010 */ swc1 $f20, 0x10($sp) +/* 192D18 80264438 0C01BECC */ jal fx_walk_normal +/* 192D1C 8026443C E7A00014 */ swc1 $f0, 0x14($sp) +func_80264440: +.L80264440: +/* 192D20 80264440 8FBF0018 */ lw $ra, 0x18($sp) +/* 192D24 80264444 D7BA0038 */ ldc1 $f26, 0x38($sp) +/* 192D28 80264448 D7B80030 */ ldc1 $f24, 0x30($sp) +/* 192D2C 8026444C D7B60028 */ ldc1 $f22, 0x28($sp) +/* 192D30 80264450 D7B40020 */ ldc1 $f20, 0x20($sp) +/* 192D34 80264454 03E00008 */ jr $ra +/* 192D38 80264458 27BD0040 */ addiu $sp, $sp, 0x40 + +get_actor_part: +/* 192D3C 8026445C 04A00004 */ bltz $a1, .L80264470 +/* 192D40 80264460 8C8301F4 */ lw $v1, 0x1f4($a0) +/* 192D44 80264464 8C62000C */ lw $v0, 0xc($v1) +/* 192D48 80264468 14400003 */ bnez $v0, .L80264478 +/* 192D4C 8026446C 00000000 */ nop +.L80264470: +/* 192D50 80264470 03E00008 */ jr $ra +/* 192D54 80264474 0060102D */ daddu $v0, $v1, $zero + +.L80264478: +/* 192D58 80264478 10600008 */ beqz $v1, .L8026449C +/* 192D5C 8026447C 00000000 */ nop +.L80264480: +/* 192D60 80264480 8C620008 */ lw $v0, 8($v1) +/* 192D64 80264484 80420004 */ lb $v0, 4($v0) +/* 192D68 80264488 1045FFF9 */ beq $v0, $a1, .L80264470 +/* 192D6C 8026448C 00000000 */ nop +/* 192D70 80264490 8C63000C */ lw $v1, 0xc($v1) +/* 192D74 80264494 1460FFFA */ bnez $v1, .L80264480 +/* 192D78 80264498 00000000 */ nop +.L8026449C: +/* 192D7C 8026449C 03E00008 */ jr $ra +/* 192D80 802644A0 0000102D */ daddu $v0, $zero, $zero + +load_player_actor: +/* 192D84 802644A4 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 192D88 802644A8 24040444 */ addiu $a0, $zero, 0x444 +/* 192D8C 802644AC AFBF0020 */ sw $ra, 0x20($sp) +/* 192D90 802644B0 AFB1001C */ sw $s1, 0x1c($sp) +/* 192D94 802644B4 0C00AB39 */ jal heap_malloc +/* 192D98 802644B8 AFB00018 */ sw $s0, 0x18($sp) +/* 192D9C 802644BC 3C11800E */ lui $s1, 0x800e +/* 192DA0 802644C0 2631C070 */ addiu $s1, $s1, -0x3f90 +/* 192DA4 802644C4 0040802D */ daddu $s0, $v0, $zero +/* 192DA8 802644C8 16000003 */ bnez $s0, .L802644D8 +/* 192DAC 802644CC AE2200D8 */ sw $v0, 0xd8($s1) +func_802644D0: +/* 192DB0 802644D0 08099134 */ j func_802644D0 +/* 192DB4 802644D4 00000000 */ nop + +.L802644D8: +/* 192DB8 802644D8 92230093 */ lbu $v1, 0x93($s1) +/* 192DBC 802644DC 24620001 */ addiu $v0, $v1, 1 +/* 192DC0 802644E0 A2220093 */ sb $v0, 0x93($s1) +/* 192DC4 802644E4 3C028028 */ lui $v0, 0x8028 +/* 192DC8 802644E8 244234D8 */ addiu $v0, $v0, 0x34d8 +/* 192DCC 802644EC A2030134 */ sb $v1, 0x134($s0) +/* 192DD0 802644F0 A2000135 */ sb $zero, 0x135($s0) +/* 192DD4 802644F4 AE000000 */ sw $zero, ($s0) +/* 192DD8 802644F8 AE020008 */ sw $v0, 8($s0) +/* 192DDC 802644FC 90420005 */ lbu $v0, 5($v0) +/* 192DE0 80264500 A2020136 */ sb $v0, 0x136($s0) +/* 192DE4 80264504 3C02800E */ lui $v0, 0x800e +/* 192DE8 80264508 8C42C074 */ lw $v0, -0x3f8c($v0) +/* 192DEC 8026450C 30420040 */ andi $v0, $v0, 0x40 +/* 192DF0 80264510 14400007 */ bnez $v0, .L80264530 +/* 192DF4 80264514 00000000 */ nop +/* 192DF8 80264518 3C028007 */ lui $v0, 0x8007 +/* 192DFC 8026451C 8C42419C */ lw $v0, 0x419c($v0) +/* 192E00 80264520 904200AA */ lbu $v0, 0xaa($v0) +/* 192E04 80264524 30420002 */ andi $v0, $v0, 2 +/* 192E08 80264528 1040000D */ beqz $v0, .L80264560 +/* 192E0C 8026452C 00000000 */ nop +.L80264530: +/* 192E10 80264530 3C01C302 */ lui $at, 0xc302 +/* 192E14 80264534 44810000 */ mtc1 $at, $f0 +/* 192E18 80264538 44801000 */ mtc1 $zero, $f2 +/* 192E1C 8026453C 3C01C120 */ lui $at, 0xc120 +/* 192E20 80264540 44812000 */ mtc1 $at, $f4 +/* 192E24 80264544 E6000144 */ swc1 $f0, 0x144($s0) +/* 192E28 80264548 E6000138 */ swc1 $f0, 0x138($s0) +/* 192E2C 8026454C E6020148 */ swc1 $f2, 0x148($s0) +/* 192E30 80264550 E602013C */ swc1 $f2, 0x13c($s0) +/* 192E34 80264554 E604014C */ swc1 $f4, 0x14c($s0) +/* 192E38 80264558 08099161 */ j func_80264584 +/* 192E3C 8026455C E6040140 */ swc1 $f4, 0x140($s0) + +.L80264560: +/* 192E40 80264560 3C01C2BE */ lui $at, 0xc2be +/* 192E44 80264564 44811000 */ mtc1 $at, $f2 +/* 192E48 80264568 44800000 */ mtc1 $zero, $f0 +/* 192E4C 8026456C E6020144 */ swc1 $f2, 0x144($s0) +/* 192E50 80264570 E6020138 */ swc1 $f2, 0x138($s0) +/* 192E54 80264574 E6000148 */ swc1 $f0, 0x148($s0) +/* 192E58 80264578 E600013C */ swc1 $f0, 0x13c($s0) +/* 192E5C 8026457C E600014C */ swc1 $f0, 0x14c($s0) +/* 192E60 80264580 E6000140 */ swc1 $f0, 0x140($s0) +func_80264584: +/* 192E64 80264584 3C013F80 */ lui $at, 0x3f80 +/* 192E68 80264588 44810000 */ mtc1 $at, $f0 +/* 192E6C 8026458C 8E030008 */ lw $v1, 8($s0) +/* 192E70 80264590 C6020144 */ lwc1 $f2, 0x144($s0) +/* 192E74 80264594 C604014C */ lwc1 $f4, 0x14c($s0) +/* 192E78 80264598 2402000D */ addiu $v0, $zero, 0xd +/* 192E7C 8026459C A6000150 */ sh $zero, 0x150($s0) +/* 192E80 802645A0 A6000152 */ sh $zero, 0x152($s0) +/* 192E84 802645A4 A6000154 */ sh $zero, 0x154($s0) +/* 192E88 802645A8 AE00015C */ sw $zero, 0x15c($s0) +/* 192E8C 802645AC AE000160 */ sw $zero, 0x160($s0) +/* 192E90 802645B0 AE000164 */ sw $zero, 0x164($s0) +/* 192E94 802645B4 A6000168 */ sh $zero, 0x168($s0) +/* 192E98 802645B8 A600016A */ sh $zero, 0x16a($s0) +/* 192E9C 802645BC A600016C */ sh $zero, 0x16c($s0) +/* 192EA0 802645C0 A200019A */ sb $zero, 0x19a($s0) +/* 192EA4 802645C4 AE00018C */ sw $zero, 0x18c($s0) +/* 192EA8 802645C8 A6020434 */ sh $v0, 0x434($s0) +/* 192EAC 802645CC E6000170 */ swc1 $f0, 0x170($s0) +/* 192EB0 802645D0 E6000174 */ swc1 $f0, 0x174($s0) +/* 192EB4 802645D4 E6000178 */ swc1 $f0, 0x178($s0) +/* 192EB8 802645D8 E600017C */ swc1 $f0, 0x17c($s0) +/* 192EBC 802645DC E6000180 */ swc1 $f0, 0x180($s0) +/* 192EC0 802645E0 E6000184 */ swc1 $f0, 0x184($s0) +/* 192EC4 802645E4 90620020 */ lbu $v0, 0x20($v1) +/* 192EC8 802645E8 A2020190 */ sb $v0, 0x190($s0) +/* 192ECC 802645EC 4600118D */ trunc.w.s $f6, $f2 +/* 192ED0 802645F0 44023000 */ mfc1 $v0, $f6 +/* 192ED4 802645F4 90630021 */ lbu $v1, 0x21($v1) +/* 192ED8 802645F8 C6020148 */ lwc1 $f2, 0x148($s0) +/* 192EDC 802645FC A6000192 */ sh $zero, 0x192($s0) +/* 192EE0 80264600 A6020156 */ sh $v0, 0x156($s0) +/* 192EE4 80264604 E6000188 */ swc1 $f0, 0x188($s0) +/* 192EE8 80264608 AE000200 */ sw $zero, 0x200($s0) +/* 192EEC 8026460C 4600118D */ trunc.w.s $f6, $f2 +/* 192EF0 80264610 44023000 */ mfc1 $v0, $f6 +/* 192EF4 80264614 00000000 */ nop +/* 192EF8 80264618 A6020158 */ sh $v0, 0x158($s0) +/* 192EFC 8026461C 4600218D */ trunc.w.s $f6, $f4 +/* 192F00 80264620 44023000 */ mfc1 $v0, $f6 +/* 192F04 80264624 00000000 */ nop +/* 192F08 80264628 A602015A */ sh $v0, 0x15a($s0) +/* 192F0C 8026462C A2030191 */ sb $v1, 0x191($s0) +/* 192F10 80264630 A2000204 */ sb $zero, 0x204($s0) +/* 192F14 80264634 A2000205 */ sb $zero, 0x205($s0) +/* 192F18 80264638 92030136 */ lbu $v1, 0x136($s0) +/* 192F1C 8026463C 3C028028 */ lui $v0, 0x8028 +/* 192F20 80264640 2442342C */ addiu $v0, $v0, 0x342c +/* 192F24 80264644 A2000194 */ sb $zero, 0x194($s0) +/* 192F28 80264648 A2000195 */ sb $zero, 0x195($s0) +/* 192F2C 8026464C A2000196 */ sb $zero, 0x196($s0) +/* 192F30 80264650 A2000197 */ sb $zero, 0x197($s0) +/* 192F34 80264654 AE0001C0 */ sw $zero, 0x1c0($s0) +/* 192F38 80264658 AE0001C4 */ sw $zero, 0x1c4($s0) +/* 192F3C 8026465C AE0001C8 */ sw $zero, 0x1c8($s0) +/* 192F40 80264660 AE0001CC */ sw $zero, 0x1cc($s0) +/* 192F44 80264664 AE0001D0 */ sw $zero, 0x1d0($s0) +/* 192F48 80264668 AE0001D4 */ sw $zero, 0x1d4($s0) +/* 192F4C 8026466C AE0001D8 */ sw $zero, 0x1d8($s0) +/* 192F50 80264670 AE0001DC */ sw $zero, 0x1dc($s0) +/* 192F54 80264674 A20001F1 */ sb $zero, 0x1f1($s0) +/* 192F58 80264678 AE02020C */ sw $v0, 0x20c($s0) +/* 192F5C 8026467C A2000210 */ sb $zero, 0x210($s0) +/* 192F60 80264680 A2000211 */ sb $zero, 0x211($s0) +/* 192F64 80264684 A2000212 */ sb $zero, 0x212($s0) +/* 192F68 80264688 A2000213 */ sb $zero, 0x213($s0) +/* 192F6C 8026468C A2000214 */ sb $zero, 0x214($s0) +/* 192F70 80264690 A2000215 */ sb $zero, 0x215($s0) +/* 192F74 80264694 A2000216 */ sb $zero, 0x216($s0) +/* 192F78 80264698 A2000217 */ sb $zero, 0x217($s0) +/* 192F7C 8026469C A2000218 */ sb $zero, 0x218($s0) +/* 192F80 802646A0 A2000219 */ sb $zero, 0x219($s0) +/* 192F84 802646A4 A2000220 */ sb $zero, 0x220($s0) +/* 192F88 802646A8 A600021E */ sh $zero, 0x21e($s0) +/* 192F8C 802646AC A200021D */ sb $zero, 0x21d($s0) +/* 192F90 802646B0 A2000221 */ sb $zero, 0x221($s0) +/* 192F94 802646B4 A2000222 */ sb $zero, 0x222($s0) +/* 192F98 802646B8 A2000223 */ sb $zero, 0x223($s0) +/* 192F9C 802646BC A2000224 */ sb $zero, 0x224($s0) +/* 192FA0 802646C0 A200021C */ sb $zero, 0x21c($s0) +/* 192FA4 802646C4 000310C0 */ sll $v0, $v1, 3 +/* 192FA8 802646C8 00431023 */ subu $v0, $v0, $v1 +/* 192FAC 802646CC 00021080 */ sll $v0, $v0, 2 +/* 192FB0 802646D0 3C018028 */ lui $at, 0x8028 +/* 192FB4 802646D4 00220821 */ addu $at, $at, $v0 +/* 192FB8 802646D8 8C221468 */ lw $v0, 0x1468($at) +/* 192FBC 802646DC AE02019C */ sw $v0, 0x19c($s0) +/* 192FC0 802646E0 000310C0 */ sll $v0, $v1, 3 +/* 192FC4 802646E4 00431023 */ subu $v0, $v0, $v1 +/* 192FC8 802646E8 00021080 */ sll $v0, $v0, 2 +/* 192FCC 802646EC 3C018028 */ lui $at, 0x8028 +/* 192FD0 802646F0 00220821 */ addu $at, $at, $v0 +/* 192FD4 802646F4 8C22146C */ lw $v0, 0x146c($at) +/* 192FD8 802646F8 AE0201A0 */ sw $v0, 0x1a0($s0) +/* 192FDC 802646FC 000310C0 */ sll $v0, $v1, 3 +/* 192FE0 80264700 00431023 */ subu $v0, $v0, $v1 +/* 192FE4 80264704 00021080 */ sll $v0, $v0, 2 +/* 192FE8 80264708 3C018028 */ lui $at, 0x8028 +/* 192FEC 8026470C 00220821 */ addu $at, $at, $v0 +/* 192FF0 80264710 8C221470 */ lw $v0, 0x1470($at) +/* 192FF4 80264714 AE0201A4 */ sw $v0, 0x1a4($s0) +/* 192FF8 80264718 000310C0 */ sll $v0, $v1, 3 +/* 192FFC 8026471C 00431023 */ subu $v0, $v0, $v1 +/* 193000 80264720 00021080 */ sll $v0, $v0, 2 +/* 193004 80264724 3C018028 */ lui $at, 0x8028 +/* 193008 80264728 00220821 */ addu $at, $at, $v0 +/* 19300C 8026472C 8C221474 */ lw $v0, 0x1474($at) +/* 193010 80264730 AE0201A8 */ sw $v0, 0x1a8($s0) +/* 193014 80264734 000310C0 */ sll $v0, $v1, 3 +/* 193018 80264738 00431023 */ subu $v0, $v0, $v1 +/* 19301C 8026473C 00021080 */ sll $v0, $v0, 2 +/* 193020 80264740 3C018028 */ lui $at, 0x8028 +/* 193024 80264744 00220821 */ addu $at, $at, $v0 +/* 193028 80264748 8C221478 */ lw $v0, 0x1478($at) +/* 19302C 8026474C AE0201AC */ sw $v0, 0x1ac($s0) +/* 193030 80264750 000310C0 */ sll $v0, $v1, 3 +/* 193034 80264754 00431023 */ subu $v0, $v0, $v1 +/* 193038 80264758 00021080 */ sll $v0, $v0, 2 +/* 19303C 8026475C 3C018028 */ lui $at, 0x8028 +/* 193040 80264760 00220821 */ addu $at, $at, $v0 +/* 193044 80264764 8C22147C */ lw $v0, 0x147c($at) +/* 193048 80264768 AE0201B0 */ sw $v0, 0x1b0($s0) +/* 19304C 8026476C 000310C0 */ sll $v0, $v1, 3 +/* 193050 80264770 00431023 */ subu $v0, $v0, $v1 +/* 193054 80264774 00021080 */ sll $v0, $v0, 2 +/* 193058 80264778 3C018028 */ lui $at, 0x8028 +/* 19305C 8026477C 00220821 */ addu $at, $at, $v0 +/* 193060 80264780 94221480 */ lhu $v0, 0x1480($at) +/* 193064 80264784 24040001 */ addiu $a0, $zero, 1 +/* 193068 80264788 A60201B4 */ sh $v0, 0x1b4($s0) +/* 19306C 8026478C 000310C0 */ sll $v0, $v1, 3 +/* 193070 80264790 00431023 */ subu $v0, $v0, $v1 +/* 193074 80264794 00021080 */ sll $v0, $v0, 2 +/* 193078 80264798 3C018028 */ lui $at, 0x8028 +/* 19307C 8026479C 00220821 */ addu $at, $at, $v0 +/* 193080 802647A0 94221482 */ lhu $v0, 0x1482($at) +/* 193084 802647A4 26030004 */ addiu $v1, $s0, 4 +/* 193088 802647A8 A60201B6 */ sh $v0, 0x1b6($s0) +.L802647AC: +/* 19308C 802647AC AC600438 */ sw $zero, 0x438($v1) +/* 193090 802647B0 2484FFFF */ addiu $a0, $a0, -1 +/* 193094 802647B4 0481FFFD */ bgez $a0, .L802647AC +/* 193098 802647B8 2463FFFC */ addiu $v1, $v1, -4 +/* 19309C 802647BC 0C00AB39 */ jal heap_malloc +/* 1930A0 802647C0 240400C4 */ addiu $a0, $zero, 0xc4 +/* 1930A4 802647C4 0040882D */ daddu $s1, $v0, $zero +/* 1930A8 802647C8 16200003 */ bnez $s1, .L802647D8 +/* 1930AC 802647CC AE1101F4 */ sw $s1, 0x1f4($s0) +func_802647D0: +/* 1930B0 802647D0 080991F4 */ j func_802647D0 +/* 1930B4 802647D4 00000000 */ nop + +.L802647D8: +/* 1930B8 802647D8 24020001 */ addiu $v0, $zero, 1 +/* 1930BC 802647DC A20201F3 */ sb $v0, 0x1f3($s0) +/* 1930C0 802647E0 3C028028 */ lui $v0, 0x8028 +/* 1930C4 802647E4 24423500 */ addiu $v0, $v0, 0x3500 +/* 1930C8 802647E8 AE220008 */ sw $v0, 8($s1) +/* 1930CC 802647EC 2402000C */ addiu $v0, $zero, 0xc +/* 1930D0 802647F0 A6200014 */ sh $zero, 0x14($s1) +/* 1930D4 802647F4 A6220014 */ sh $v0, 0x14($s1) +/* 1930D8 802647F8 24020020 */ addiu $v0, $zero, 0x20 +/* 1930DC 802647FC A6200016 */ sh $zero, 0x16($s1) +/* 1930E0 80264800 A6220016 */ sh $v0, 0x16($s1) +/* 1930E4 80264804 24020005 */ addiu $v0, $zero, 5 +/* 1930E8 80264808 A6200018 */ sh $zero, 0x18($s1) +/* 1930EC 8026480C A6220018 */ sh $v0, 0x18($s1) +/* 1930F0 80264810 3C028028 */ lui $v0, 0x8028 +/* 1930F4 80264814 24423420 */ addiu $v0, $v0, 0x3420 +/* 1930F8 80264818 AE2000C0 */ sw $zero, 0xc0($s1) +/* 1930FC 8026481C AE200000 */ sw $zero, ($s1) +/* 193100 80264820 AE200004 */ sw $zero, 4($s1) +/* 193104 80264824 AE200020 */ sw $zero, 0x20($s1) +/* 193108 80264828 AE200024 */ sw $zero, 0x24($s1) +/* 19310C 8026482C AE200028 */ sw $zero, 0x28($s1) +/* 193110 80264830 A6200044 */ sh $zero, 0x44($s1) +/* 193114 80264834 A6200046 */ sh $zero, 0x46($s1) +/* 193118 80264838 A6200048 */ sh $zero, 0x48($s1) +/* 19311C 8026483C A620001A */ sh $zero, 0x1a($s1) +/* 193120 80264840 A620001C */ sh $zero, 0x1c($s1) +/* 193124 80264844 A620001E */ sh $zero, 0x1e($s1) +/* 193128 80264848 AE20002C */ sw $zero, 0x2c($s1) +/* 19312C 8026484C AE200030 */ sw $zero, 0x30($s1) +/* 193130 80264850 AE200034 */ sw $zero, 0x34($s1) +/* 193134 80264854 AE220078 */ sw $v0, 0x78($s1) +/* 193138 80264858 3C02800E */ lui $v0, 0x800e +/* 19313C 8026485C 8C42C074 */ lw $v0, -0x3f8c($v0) +/* 193140 80264860 30420040 */ andi $v0, $v0, 0x40 +/* 193144 80264864 10400005 */ beqz $v0, .L8026487C +/* 193148 80264868 00000000 */ nop +/* 19314C 8026486C 3C028028 */ lui $v0, 0x8028 +/* 193150 80264870 2442340C */ addiu $v0, $v0, 0x340c +/* 193154 80264874 08099222 */ j func_80264888 +/* 193158 80264878 AE220094 */ sw $v0, 0x94($s1) + +.L8026487C: +/* 19315C 8026487C 3C028028 */ lui $v0, 0x8028 +/* 193160 80264880 24423238 */ addiu $v0, $v0, 0x3238 +/* 193164 80264884 AE220094 */ sw $v0, 0x94($s1) +func_80264888: +/* 193168 80264888 240200FF */ addiu $v0, $zero, 0xff +/* 19316C 8026488C 8E240094 */ lw $a0, 0x94($s1) +/* 193170 80264890 AE20007C */ sw $zero, 0x7c($s1) +/* 193174 80264894 AE200080 */ sw $zero, 0x80($s1) +/* 193178 80264898 A6220098 */ sh $v0, 0x98($s1) +/* 19317C 8026489C 92020191 */ lbu $v0, 0x191($s0) +/* 193180 802648A0 3C013F80 */ lui $at, 0x3f80 +/* 193184 802648A4 44810000 */ mtc1 $at, $f0 +/* 193188 802648A8 24050001 */ addiu $a1, $zero, 1 +/* 19318C 802648AC A2220073 */ sb $v0, 0x73($s1) +/* 193190 802648B0 92030190 */ lbu $v1, 0x190($s0) +/* 193194 802648B4 00A0102D */ daddu $v0, $a1, $zero +/* 193198 802648B8 AE200064 */ sw $zero, 0x64($s1) +/* 19319C 802648BC A620006C */ sh $zero, 0x6c($s1) +/* 1931A0 802648C0 A620006E */ sh $zero, 0x6e($s1) +/* 1931A4 802648C4 A6200070 */ sh $zero, 0x70($s1) +/* 1931A8 802648C8 AE200038 */ sw $zero, 0x38($s1) +/* 1931AC 802648CC AE20003C */ sw $zero, 0x3c($s1) +/* 1931B0 802648D0 AE200040 */ sw $zero, 0x40($s1) +/* 1931B4 802648D4 E620004C */ swc1 $f0, 0x4c($s1) +/* 1931B8 802648D8 E6200050 */ swc1 $f0, 0x50($s1) +/* 1931BC 802648DC E6200054 */ swc1 $f0, 0x54($s1) +/* 1931C0 802648E0 A2220074 */ sb $v0, 0x74($s1) +/* 1931C4 802648E4 A6200068 */ sh $zero, 0x68($s1) +/* 1931C8 802648E8 A620006A */ sh $zero, 0x6a($s1) +/* 1931CC 802648EC E6200090 */ swc1 $f0, 0x90($s1) +/* 1931D0 802648F0 0C09973A */ jal func_80265CE8 +/* 1931D4 802648F4 A2230072 */ sb $v1, 0x72($s1) +/* 1931D8 802648F8 AE220088 */ sw $v0, 0x88($s1) +/* 1931DC 802648FC AE20000C */ sw $zero, 0xc($s1) +/* 1931E0 80264900 92030136 */ lbu $v1, 0x136($s0) +/* 1931E4 80264904 000310C0 */ sll $v0, $v1, 3 +/* 1931E8 80264908 00431023 */ subu $v0, $v0, $v1 +/* 1931EC 8026490C 00021080 */ sll $v0, $v0, 2 +/* 1931F0 80264910 3C018028 */ lui $at, 0x8028 +/* 1931F4 80264914 00220821 */ addu $at, $at, $v0 +/* 1931F8 80264918 8C221468 */ lw $v0, 0x1468($at) +/* 1931FC 8026491C AE2200A4 */ sw $v0, 0xa4($s1) +/* 193200 80264920 92030136 */ lbu $v1, 0x136($s0) +/* 193204 80264924 000310C0 */ sll $v0, $v1, 3 +/* 193208 80264928 00431023 */ subu $v0, $v0, $v1 +/* 19320C 8026492C 00021080 */ sll $v0, $v0, 2 +/* 193210 80264930 3C018028 */ lui $at, 0x8028 +/* 193214 80264934 00220821 */ addu $at, $at, $v0 +/* 193218 80264938 8C22146C */ lw $v0, 0x146c($at) +/* 19321C 8026493C AE2200A8 */ sw $v0, 0xa8($s1) +/* 193220 80264940 92030136 */ lbu $v1, 0x136($s0) +/* 193224 80264944 000310C0 */ sll $v0, $v1, 3 +/* 193228 80264948 00431023 */ subu $v0, $v0, $v1 +/* 19322C 8026494C 00021080 */ sll $v0, $v0, 2 +/* 193230 80264950 3C018028 */ lui $at, 0x8028 +/* 193234 80264954 00220821 */ addu $at, $at, $v0 +/* 193238 80264958 8C221470 */ lw $v0, 0x1470($at) +/* 19323C 8026495C AE2200AC */ sw $v0, 0xac($s1) +/* 193240 80264960 92030136 */ lbu $v1, 0x136($s0) +/* 193244 80264964 000310C0 */ sll $v0, $v1, 3 +/* 193248 80264968 00431023 */ subu $v0, $v0, $v1 +/* 19324C 8026496C 00021080 */ sll $v0, $v0, 2 +/* 193250 80264970 3C018028 */ lui $at, 0x8028 +/* 193254 80264974 00220821 */ addu $at, $at, $v0 +/* 193258 80264978 8C221474 */ lw $v0, 0x1474($at) +/* 19325C 8026497C AE2200B0 */ sw $v0, 0xb0($s1) +/* 193260 80264980 92030136 */ lbu $v1, 0x136($s0) +/* 193264 80264984 000310C0 */ sll $v0, $v1, 3 +/* 193268 80264988 00431023 */ subu $v0, $v0, $v1 +/* 19326C 8026498C 00021080 */ sll $v0, $v0, 2 +/* 193270 80264990 3C018028 */ lui $at, 0x8028 +/* 193274 80264994 00220821 */ addu $at, $at, $v0 +/* 193278 80264998 8C221478 */ lw $v0, 0x1478($at) +/* 19327C 8026499C AE2200B4 */ sw $v0, 0xb4($s1) +/* 193280 802649A0 92030136 */ lbu $v1, 0x136($s0) +/* 193284 802649A4 000310C0 */ sll $v0, $v1, 3 +/* 193288 802649A8 00431023 */ subu $v0, $v0, $v1 +/* 19328C 802649AC 00021080 */ sll $v0, $v0, 2 +/* 193290 802649B0 3C018028 */ lui $at, 0x8028 +/* 193294 802649B4 00220821 */ addu $at, $at, $v0 +/* 193298 802649B8 8C22147C */ lw $v0, 0x147c($at) +/* 19329C 802649BC AE2200B8 */ sw $v0, 0xb8($s1) +/* 1932A0 802649C0 92030136 */ lbu $v1, 0x136($s0) +/* 1932A4 802649C4 000310C0 */ sll $v0, $v1, 3 +/* 1932A8 802649C8 00431023 */ subu $v0, $v0, $v1 +/* 1932AC 802649CC 00021080 */ sll $v0, $v0, 2 +/* 1932B0 802649D0 3C018028 */ lui $at, 0x8028 +/* 1932B4 802649D4 00220821 */ addu $at, $at, $v0 +/* 1932B8 802649D8 94221480 */ lhu $v0, 0x1480($at) +/* 1932BC 802649DC A62200BC */ sh $v0, 0xbc($s1) +/* 1932C0 802649E0 92030136 */ lbu $v1, 0x136($s0) +/* 1932C4 802649E4 000310C0 */ sll $v0, $v1, 3 +/* 1932C8 802649E8 00431023 */ subu $v0, $v0, $v1 +/* 1932CC 802649EC 00021080 */ sll $v0, $v0, 2 +/* 1932D0 802649F0 3C018028 */ lui $at, 0x8028 +/* 1932D4 802649F4 00220821 */ addu $at, $at, $v0 +/* 1932D8 802649F8 94221482 */ lhu $v0, 0x1482($at) +/* 1932DC 802649FC 8E230094 */ lw $v1, 0x94($s1) +/* 1932E0 80264A00 10600030 */ beqz $v1, .L80264AC4 +/* 1932E4 80264A04 A62200BE */ sh $v0, 0xbe($s1) +/* 1932E8 80264A08 0C00AB39 */ jal heap_malloc +/* 1932EC 80264A0C 240408E8 */ addiu $a0, $zero, 0x8e8 +/* 1932F0 80264A10 0040282D */ daddu $a1, $v0, $zero +/* 1932F4 80264A14 14A00003 */ bnez $a1, .L80264A24 +/* 1932F8 80264A18 AE2200C0 */ sw $v0, 0xc0($s1) +func_80264A1C: +/* 1932FC 80264A1C 08099287 */ j func_80264A1C +/* 193300 80264A20 00000000 */ nop + +.L80264A24: +/* 193304 80264A24 0000182D */ daddu $v1, $zero, $zero +/* 193308 80264A28 00A0202D */ daddu $a0, $a1, $zero +/* 19330C 80264A2C A0A006C0 */ sb $zero, 0x6c0($a1) +/* 193310 80264A30 A0A00750 */ sb $zero, 0x750($a1) +/* 193314 80264A34 A0A00764 */ sb $zero, 0x764($a1) +/* 193318 80264A38 A0A00768 */ sb $zero, 0x768($a1) +/* 19331C 80264A3C A0A007D8 */ sb $zero, 0x7d8($a1) +/* 193320 80264A40 A0A007D9 */ sb $zero, 0x7d9($a1) +.L80264A44: +/* 193324 80264A44 C6000144 */ lwc1 $f0, 0x144($s0) +/* 193328 80264A48 4600018D */ trunc.w.s $f6, $f0 +/* 19332C 80264A4C 44023000 */ mfc1 $v0, $f6 +/* 193330 80264A50 00000000 */ nop +/* 193334 80264A54 A48207FC */ sh $v0, 0x7fc($a0) +/* 193338 80264A58 C6000148 */ lwc1 $f0, 0x148($s0) +/* 19333C 80264A5C 4600018D */ trunc.w.s $f6, $f0 +/* 193340 80264A60 44023000 */ mfc1 $v0, $f6 +/* 193344 80264A64 00000000 */ nop +/* 193348 80264A68 A482081C */ sh $v0, 0x81c($a0) +/* 19334C 80264A6C C600014C */ lwc1 $f0, 0x14c($s0) +/* 193350 80264A70 24630001 */ addiu $v1, $v1, 1 +/* 193354 80264A74 4600018D */ trunc.w.s $f6, $f0 +/* 193358 80264A78 44023000 */ mfc1 $v0, $f6 +/* 19335C 80264A7C 00000000 */ nop +/* 193360 80264A80 A482083C */ sh $v0, 0x83c($a0) +/* 193364 80264A84 28620010 */ slti $v0, $v1, 0x10 +/* 193368 80264A88 1440FFEE */ bnez $v0, .L80264A44 +/* 19336C 80264A8C 24840002 */ addiu $a0, $a0, 2 +/* 193370 80264A90 0000182D */ daddu $v1, $zero, $zero +/* 193374 80264A94 00A0202D */ daddu $a0, $a1, $zero +/* 193378 80264A98 24020003 */ addiu $v0, $zero, 3 +/* 19337C 80264A9C A0A207DA */ sb $v0, 0x7da($a1) +/* 193380 80264AA0 A0A007DB */ sb $zero, 0x7db($a1) +/* 193384 80264AA4 A0A008AC */ sb $zero, 0x8ac($a1) +.L80264AA8: +/* 193388 80264AA8 AC8008B0 */ sw $zero, 0x8b0($a0) +/* 19338C 80264AAC 00A31021 */ addu $v0, $a1, $v1 +/* 193390 80264AB0 24630001 */ addiu $v1, $v1, 1 +/* 193394 80264AB4 A04008B8 */ sb $zero, 0x8b8($v0) +/* 193398 80264AB8 28620002 */ slti $v0, $v1, 2 +/* 19339C 80264ABC 1440FFFA */ bnez $v0, .L80264AA8 +/* 1933A0 80264AC0 24840004 */ addiu $a0, $a0, 4 +.L80264AC4: +/* 1933A4 80264AC4 0C00AB39 */ jal heap_malloc +/* 1933A8 80264AC8 2404008C */ addiu $a0, $zero, 0x8c +/* 1933AC 80264ACC 14400003 */ bnez $v0, .L80264ADC +/* 1933B0 80264AD0 AE220010 */ sw $v0, 0x10($s1) +func_80264AD4: +/* 1933B4 80264AD4 080992B5 */ j func_80264AD4 +/* 1933B8 80264AD8 00000000 */ nop + +.L80264ADC: +/* 1933BC 80264ADC 8E050144 */ lw $a1, 0x144($s0) +/* 1933C0 80264AE0 8E060148 */ lw $a2, 0x148($s0) +/* 1933C4 80264AE4 8E07014C */ lw $a3, 0x14c($s0) +/* 1933C8 80264AE8 0C044898 */ jal create_shadow_type +/* 1933CC 80264AEC 0000202D */ daddu $a0, $zero, $zero +/* 1933D0 80264AF0 AE02042C */ sw $v0, 0x42c($s0) +/* 1933D4 80264AF4 92020190 */ lbu $v0, 0x190($s0) +/* 1933D8 80264AF8 3C014038 */ lui $at, 0x4038 +/* 1933DC 80264AFC 44811800 */ mtc1 $at, $f3 +/* 1933E0 80264B00 44801000 */ mtc1 $zero, $f2 +/* 1933E4 80264B04 44820000 */ mtc1 $v0, $f0 +/* 1933E8 80264B08 00000000 */ nop +/* 1933EC 80264B0C 46800021 */ cvt.d.w $f0, $f0 +/* 1933F0 80264B10 46220003 */ div.d $f0, $f0, $f2 +/* 1933F4 80264B14 46200020 */ cvt.s.d $f0, $f0 +/* 1933F8 80264B18 0C011D82 */ jal func_80047608 +/* 1933FC 80264B1C E6000430 */ swc1 $f0, 0x430($s0) +/* 193400 80264B20 3C05C30E */ lui $a1, 0xc30e +/* 193404 80264B24 3C064208 */ lui $a2, 0x4208 +/* 193408 80264B28 3C073F80 */ lui $a3, 0x3f80 +/* 19340C 80264B2C 0000202D */ daddu $a0, $zero, $zero +/* 193410 80264B30 A6020436 */ sh $v0, 0x436($s0) +/* 193414 80264B34 0C01C43C */ jal func_800710F0 +/* 193418 80264B38 AFA00010 */ sw $zero, 0x10($sp) +/* 19341C 80264B3C 24040013 */ addiu $a0, $zero, 0x13 +/* 193420 80264B40 AE020440 */ sw $v0, 0x440($s0) +/* 193424 80264B44 0C03A752 */ jal is_ability_active +/* 193428 80264B48 AE000228 */ sw $zero, 0x228($s0) +/* 19342C 80264B4C 10400004 */ beqz $v0, .L80264B60 +/* 193430 80264B50 2402000B */ addiu $v0, $zero, 0xb +/* 193434 80264B54 A2020212 */ sb $v0, 0x212($s0) +/* 193438 80264B58 2402007F */ addiu $v0, $zero, 0x7f +/* 19343C 80264B5C A2020213 */ sb $v0, 0x213($s0) +.L80264B60: +/* 193440 80264B60 8FBF0020 */ lw $ra, 0x20($sp) +/* 193444 80264B64 8FB1001C */ lw $s1, 0x1c($sp) +/* 193448 80264B68 8FB00018 */ lw $s0, 0x18($sp) +/* 19344C 80264B6C 03E00008 */ jr $ra +/* 193450 80264B70 27BD0028 */ addiu $sp, $sp, 0x28 + +load_partner_actor: +/* 193454 80264B74 27BDFFB0 */ addiu $sp, $sp, -0x50 +/* 193458 80264B78 AFB30024 */ sw $s3, 0x24($sp) +/* 19345C 80264B7C 3C138011 */ lui $s3, 0x8011 +/* 193460 80264B80 2673F290 */ addiu $s3, $s3, -0xd70 +/* 193464 80264B84 AFBF0034 */ sw $ra, 0x34($sp) +/* 193468 80264B88 AFB60030 */ sw $s6, 0x30($sp) +/* 19346C 80264B8C AFB5002C */ sw $s5, 0x2c($sp) +/* 193470 80264B90 AFB40028 */ sw $s4, 0x28($sp) +/* 193474 80264B94 AFB20020 */ sw $s2, 0x20($sp) +/* 193478 80264B98 AFB1001C */ sw $s1, 0x1c($sp) +/* 19347C 80264B9C AFB00018 */ sw $s0, 0x18($sp) +/* 193480 80264BA0 F7B80048 */ sdc1 $f24, 0x48($sp) +/* 193484 80264BA4 F7B60040 */ sdc1 $f22, 0x40($sp) +/* 193488 80264BA8 F7B40038 */ sdc1 $f20, 0x38($sp) +/* 19348C 80264BAC 82640012 */ lb $a0, 0x12($s3) +/* 193490 80264BB0 3C12800E */ lui $s2, 0x800e +/* 193494 80264BB4 2652C070 */ addiu $s2, $s2, -0x3f90 +/* 193498 80264BB8 108001ED */ beqz $a0, .L80265370 +/* 19349C 80264BBC AE4000DC */ sw $zero, 0xdc($s2) +/* 1934A0 80264BC0 3C038028 */ lui $v1, 0x8028 +/* 1934A4 80264BC4 24633F10 */ addiu $v1, $v1, 0x3f10 +/* 1934A8 80264BC8 00041080 */ sll $v0, $a0, 2 +/* 1934AC 80264BCC 00441021 */ addu $v0, $v0, $a0 +/* 1934B0 80264BD0 00021080 */ sll $v0, $v0, 2 +/* 1934B4 80264BD4 00438021 */ addu $s0, $v0, $v1 +/* 1934B8 80264BD8 8E14000C */ lw $s4, 0xc($s0) +/* 1934BC 80264BDC 16800003 */ bnez $s4, .L80264BEC +/* 1934C0 80264BE0 00000000 */ nop +func_80264BE4: +/* 1934C4 80264BE4 080992F9 */ j func_80264BE4 +/* 1934C8 80264BE8 00000000 */ nop + +.L80264BEC: +/* 1934CC 80264BEC 8E040000 */ lw $a0, ($s0) +/* 1934D0 80264BF0 8E060004 */ lw $a2, 4($s0) +/* 1934D4 80264BF4 8E050008 */ lw $a1, 8($s0) +/* 1934D8 80264BF8 0C017D24 */ jal nuPiReadRom +/* 1934DC 80264BFC 00C43023 */ subu $a2, $a2, $a0 +/* 1934E0 80264C00 3C04800E */ lui $a0, 0x800e +/* 1934E4 80264C04 2484C070 */ addiu $a0, $a0, -0x3f90 +/* 1934E8 80264C08 8C820004 */ lw $v0, 4($a0) +/* 1934EC 80264C0C 30420040 */ andi $v0, $v0, 0x40 +/* 1934F0 80264C10 14400007 */ bnez $v0, .L80264C30 +/* 1934F4 80264C14 00000000 */ nop +/* 1934F8 80264C18 3C028007 */ lui $v0, 0x8007 +/* 1934FC 80264C1C 8C42419C */ lw $v0, 0x419c($v0) +/* 193500 80264C20 904200AA */ lbu $v0, 0xaa($v0) +/* 193504 80264C24 30420002 */ andi $v0, $v0, 2 +/* 193508 80264C28 1040000B */ beqz $v0, .L80264C58 +/* 19350C 80264C2C 00000000 */ nop +.L80264C30: +/* 193510 80264C30 C6180010 */ lwc1 $f24, 0x10($s0) +/* 193514 80264C34 4680C620 */ cvt.s.w $f24, $f24 +/* 193518 80264C38 3C030010 */ lui $v1, 0x10 +/* 19351C 80264C3C 3C01C2BE */ lui $at, 0xc2be +/* 193520 80264C40 4481A000 */ mtc1 $at, $f20 +/* 193524 80264C44 8C820000 */ lw $v0, ($a0) +/* 193528 80264C48 4480B000 */ mtc1 $zero, $f22 +/* 19352C 80264C4C 00431025 */ or $v0, $v0, $v1 +/* 193530 80264C50 0809931C */ j func_80264C70 +/* 193534 80264C54 AC820000 */ sw $v0, ($a0) + +.L80264C58: +/* 193538 80264C58 C6180010 */ lwc1 $f24, 0x10($s0) +/* 19353C 80264C5C 4680C620 */ cvt.s.w $f24, $f24 +/* 193540 80264C60 3C01C302 */ lui $at, 0xc302 +/* 193544 80264C64 4481A000 */ mtc1 $at, $f20 +/* 193548 80264C68 3C01C120 */ lui $at, 0xc120 +/* 19354C 80264C6C 4481B000 */ mtc1 $at, $f22 +func_80264C70: +/* 193550 80264C70 86960008 */ lh $s6, 8($s4) +/* 193554 80264C74 0C00AB39 */ jal heap_malloc +/* 193558 80264C78 24040444 */ addiu $a0, $zero, 0x444 +/* 19355C 80264C7C 0040882D */ daddu $s1, $v0, $zero +/* 193560 80264C80 16200003 */ bnez $s1, .L80264C90 +/* 193564 80264C84 AE4200DC */ sw $v0, 0xdc($s2) +func_80264C88: +/* 193568 80264C88 08099322 */ j func_80264C88 +/* 19356C 80264C8C 00000000 */ nop + +.L80264C90: +/* 193570 80264C90 82620012 */ lb $v0, 0x12($s3) +/* 193574 80264C94 000210C0 */ sll $v0, $v0, 3 +/* 193578 80264C98 02621021 */ addu $v0, $s3, $v0 +/* 19357C 80264C9C 90420015 */ lbu $v0, 0x15($v0) +/* 193580 80264CA0 A2820006 */ sb $v0, 6($s4) +/* 193584 80264CA4 92430093 */ lbu $v1, 0x93($s2) +/* 193588 80264CA8 3C013F80 */ lui $at, 0x3f80 +/* 19358C 80264CAC 44811000 */ mtc1 $at, $f2 +/* 193590 80264CB0 24620001 */ addiu $v0, $v1, 1 +/* 193594 80264CB4 A2420093 */ sb $v0, 0x93($s2) +/* 193598 80264CB8 A2230134 */ sb $v1, 0x134($s1) +/* 19359C 80264CBC A2200135 */ sb $zero, 0x135($s1) +/* 1935A0 80264CC0 AE340008 */ sw $s4, 8($s1) +/* 1935A4 80264CC4 92820005 */ lbu $v0, 5($s4) +/* 1935A8 80264CC8 A2220136 */ sb $v0, 0x136($s1) +/* 1935AC 80264CCC 8E820000 */ lw $v0, ($s4) +/* 1935B0 80264CD0 E6340144 */ swc1 $f20, 0x144($s1) +/* 1935B4 80264CD4 E6340138 */ swc1 $f20, 0x138($s1) +/* 1935B8 80264CD8 E6380148 */ swc1 $f24, 0x148($s1) +/* 1935BC 80264CDC E638013C */ swc1 $f24, 0x13c($s1) +/* 1935C0 80264CE0 E636014C */ swc1 $f22, 0x14c($s1) +/* 1935C4 80264CE4 E6360140 */ swc1 $f22, 0x140($s1) +/* 1935C8 80264CE8 A6200150 */ sh $zero, 0x150($s1) +/* 1935CC 80264CEC A6200152 */ sh $zero, 0x152($s1) +/* 1935D0 80264CF0 A6200154 */ sh $zero, 0x154($s1) +/* 1935D4 80264CF4 AE220000 */ sw $v0, ($s1) +/* 1935D8 80264CF8 92820007 */ lbu $v0, 7($s4) +/* 1935DC 80264CFC A23601F3 */ sb $s6, 0x1f3($s1) +/* 1935E0 80264D00 AE2001C0 */ sw $zero, 0x1c0($s1) +/* 1935E4 80264D04 A22201B8 */ sb $v0, 0x1b8($s1) +/* 1935E8 80264D08 8E820010 */ lw $v0, 0x10($s4) +/* 1935EC 80264D0C AE2001C8 */ sw $zero, 0x1c8($s1) +/* 1935F0 80264D10 AE2001CC */ sw $zero, 0x1cc($s1) +/* 1935F4 80264D14 AE2001D0 */ sw $zero, 0x1d0($s1) +/* 1935F8 80264D18 AE2001D4 */ sw $zero, 0x1d4($s1) +/* 1935FC 80264D1C AE2001D8 */ sw $zero, 0x1d8($s1) +/* 193600 80264D20 AE2001DC */ sw $zero, 0x1dc($s1) +/* 193604 80264D24 AE2201C4 */ sw $v0, 0x1c4($s1) +/* 193608 80264D28 A22001F1 */ sb $zero, 0x1f1($s1) +/* 19360C 80264D2C 4600A006 */ mov.s $f0, $f20 +/* 193610 80264D30 A22001F2 */ sb $zero, 0x1f2($s1) +/* 193614 80264D34 AE20018C */ sw $zero, 0x18c($s1) +/* 193618 80264D38 AE20015C */ sw $zero, 0x15c($s1) +/* 19361C 80264D3C AE200160 */ sw $zero, 0x160($s1) +/* 193620 80264D40 AE200164 */ sw $zero, 0x164($s1) +/* 193624 80264D44 A6200168 */ sh $zero, 0x168($s1) +/* 193628 80264D48 A620016A */ sh $zero, 0x16a($s1) +/* 19362C 80264D4C A620016C */ sh $zero, 0x16c($s1) +/* 193630 80264D50 E6220170 */ swc1 $f2, 0x170($s1) +/* 193634 80264D54 E6220174 */ swc1 $f2, 0x174($s1) +/* 193638 80264D58 E6220178 */ swc1 $f2, 0x178($s1) +/* 19363C 80264D5C E622017C */ swc1 $f2, 0x17c($s1) +/* 193640 80264D60 E6220180 */ swc1 $f2, 0x180($s1) +/* 193644 80264D64 E6220184 */ swc1 $f2, 0x184($s1) +/* 193648 80264D68 A220019A */ sb $zero, 0x19a($s1) +/* 19364C 80264D6C 92820020 */ lbu $v0, 0x20($s4) +/* 193650 80264D70 4600B106 */ mov.s $f4, $f22 +/* 193654 80264D74 A2220190 */ sb $v0, 0x190($s1) +/* 193658 80264D78 4600018D */ trunc.w.s $f6, $f0 +/* 19365C 80264D7C 44023000 */ mfc1 $v0, $f6 +/* 193660 80264D80 92830021 */ lbu $v1, 0x21($s4) +/* 193664 80264D84 4600C006 */ mov.s $f0, $f24 +/* 193668 80264D88 A6220156 */ sh $v0, 0x156($s1) +/* 19366C 80264D8C 4600018D */ trunc.w.s $f6, $f0 +/* 193670 80264D90 44023000 */ mfc1 $v0, $f6 +/* 193674 80264D94 00000000 */ nop +/* 193678 80264D98 A6220158 */ sh $v0, 0x158($s1) +/* 19367C 80264D9C 4600218D */ trunc.w.s $f6, $f4 +/* 193680 80264DA0 44023000 */ mfc1 $v0, $f6 +/* 193684 80264DA4 00000000 */ nop +/* 193688 80264DA8 A622015A */ sh $v0, 0x15a($s1) +/* 19368C 80264DAC 2402000D */ addiu $v0, $zero, 0xd +/* 193690 80264DB0 E6220188 */ swc1 $f2, 0x188($s1) +/* 193694 80264DB4 AE200200 */ sw $zero, 0x200($s1) +/* 193698 80264DB8 A2200204 */ sb $zero, 0x204($s1) +/* 19369C 80264DBC A2200205 */ sb $zero, 0x205($s1) +/* 1936A0 80264DC0 A2200194 */ sb $zero, 0x194($s1) +/* 1936A4 80264DC4 A2200195 */ sb $zero, 0x195($s1) +/* 1936A8 80264DC8 A2200196 */ sb $zero, 0x196($s1) +/* 1936AC 80264DCC A2200197 */ sb $zero, 0x197($s1) +/* 1936B0 80264DD0 A2230191 */ sb $v1, 0x191($s1) +/* 1936B4 80264DD4 A6220434 */ sh $v0, 0x434($s1) +/* 1936B8 80264DD8 24020100 */ addiu $v0, $zero, 0x100 +/* 1936BC 80264DDC A6220192 */ sh $v0, 0x192($s1) +/* 1936C0 80264DE0 8E820014 */ lw $v0, 0x14($s4) +/* 1936C4 80264DE4 92230136 */ lbu $v1, 0x136($s1) +/* 1936C8 80264DE8 A2200210 */ sb $zero, 0x210($s1) +/* 1936CC 80264DEC A2200211 */ sb $zero, 0x211($s1) +/* 1936D0 80264DF0 A2200212 */ sb $zero, 0x212($s1) +/* 1936D4 80264DF4 A2200213 */ sb $zero, 0x213($s1) +/* 1936D8 80264DF8 A2200214 */ sb $zero, 0x214($s1) +/* 1936DC 80264DFC A2200215 */ sb $zero, 0x215($s1) +/* 1936E0 80264E00 A2200216 */ sb $zero, 0x216($s1) +/* 1936E4 80264E04 A2200217 */ sb $zero, 0x217($s1) +/* 1936E8 80264E08 A2200218 */ sb $zero, 0x218($s1) +/* 1936EC 80264E0C A2200219 */ sb $zero, 0x219($s1) +/* 1936F0 80264E10 A2200220 */ sb $zero, 0x220($s1) +/* 1936F4 80264E14 A620021E */ sh $zero, 0x21e($s1) +/* 1936F8 80264E18 A220021D */ sb $zero, 0x21d($s1) +/* 1936FC 80264E1C A2200221 */ sb $zero, 0x221($s1) +/* 193700 80264E20 A2200222 */ sb $zero, 0x222($s1) +/* 193704 80264E24 A2200223 */ sb $zero, 0x223($s1) +/* 193708 80264E28 A2200224 */ sb $zero, 0x224($s1) +/* 19370C 80264E2C A220021C */ sb $zero, 0x21c($s1) +/* 193710 80264E30 AE22020C */ sw $v0, 0x20c($s1) +/* 193714 80264E34 000310C0 */ sll $v0, $v1, 3 +/* 193718 80264E38 00431023 */ subu $v0, $v0, $v1 +/* 19371C 80264E3C 00021080 */ sll $v0, $v0, 2 +/* 193720 80264E40 3C018028 */ lui $at, 0x8028 +/* 193724 80264E44 00220821 */ addu $at, $at, $v0 +/* 193728 80264E48 8C221468 */ lw $v0, 0x1468($at) +/* 19372C 80264E4C AE22019C */ sw $v0, 0x19c($s1) +/* 193730 80264E50 000310C0 */ sll $v0, $v1, 3 +/* 193734 80264E54 00431023 */ subu $v0, $v0, $v1 +/* 193738 80264E58 00021080 */ sll $v0, $v0, 2 +/* 19373C 80264E5C 3C018028 */ lui $at, 0x8028 +/* 193740 80264E60 00220821 */ addu $at, $at, $v0 +/* 193744 80264E64 8C22146C */ lw $v0, 0x146c($at) +/* 193748 80264E68 AE2201A0 */ sw $v0, 0x1a0($s1) +/* 19374C 80264E6C 000310C0 */ sll $v0, $v1, 3 +/* 193750 80264E70 00431023 */ subu $v0, $v0, $v1 +/* 193754 80264E74 00021080 */ sll $v0, $v0, 2 +/* 193758 80264E78 3C018028 */ lui $at, 0x8028 +/* 19375C 80264E7C 00220821 */ addu $at, $at, $v0 +/* 193760 80264E80 8C221470 */ lw $v0, 0x1470($at) +/* 193764 80264E84 AE2201A4 */ sw $v0, 0x1a4($s1) +/* 193768 80264E88 000310C0 */ sll $v0, $v1, 3 +/* 19376C 80264E8C 00431023 */ subu $v0, $v0, $v1 +/* 193770 80264E90 00021080 */ sll $v0, $v0, 2 +/* 193774 80264E94 3C018028 */ lui $at, 0x8028 +/* 193778 80264E98 00220821 */ addu $at, $at, $v0 +/* 19377C 80264E9C 8C221474 */ lw $v0, 0x1474($at) +/* 193780 80264EA0 AE2201A8 */ sw $v0, 0x1a8($s1) +/* 193784 80264EA4 000310C0 */ sll $v0, $v1, 3 +/* 193788 80264EA8 00431023 */ subu $v0, $v0, $v1 +/* 19378C 80264EAC 00021080 */ sll $v0, $v0, 2 +/* 193790 80264EB0 3C018028 */ lui $at, 0x8028 +/* 193794 80264EB4 00220821 */ addu $at, $at, $v0 +/* 193798 80264EB8 8C221478 */ lw $v0, 0x1478($at) +/* 19379C 80264EBC AE2201AC */ sw $v0, 0x1ac($s1) +/* 1937A0 80264EC0 000310C0 */ sll $v0, $v1, 3 +/* 1937A4 80264EC4 00431023 */ subu $v0, $v0, $v1 +/* 1937A8 80264EC8 00021080 */ sll $v0, $v0, 2 +/* 1937AC 80264ECC 3C018028 */ lui $at, 0x8028 +/* 1937B0 80264ED0 00220821 */ addu $at, $at, $v0 +/* 1937B4 80264ED4 8C22147C */ lw $v0, 0x147c($at) +/* 1937B8 80264ED8 AE2201B0 */ sw $v0, 0x1b0($s1) +/* 1937BC 80264EDC 000310C0 */ sll $v0, $v1, 3 +/* 1937C0 80264EE0 00431023 */ subu $v0, $v0, $v1 +/* 1937C4 80264EE4 00021080 */ sll $v0, $v0, 2 +/* 1937C8 80264EE8 3C018028 */ lui $at, 0x8028 +/* 1937CC 80264EEC 00220821 */ addu $at, $at, $v0 +/* 1937D0 80264EF0 94221480 */ lhu $v0, 0x1480($at) +/* 1937D4 80264EF4 24040001 */ addiu $a0, $zero, 1 +/* 1937D8 80264EF8 A62201B4 */ sh $v0, 0x1b4($s1) +/* 1937DC 80264EFC 000310C0 */ sll $v0, $v1, 3 +/* 1937E0 80264F00 00431023 */ subu $v0, $v0, $v1 +/* 1937E4 80264F04 00021080 */ sll $v0, $v0, 2 +/* 1937E8 80264F08 3C018028 */ lui $at, 0x8028 +/* 1937EC 80264F0C 00220821 */ addu $at, $at, $v0 +/* 1937F0 80264F10 94221482 */ lhu $v0, 0x1482($at) +/* 1937F4 80264F14 26230004 */ addiu $v1, $s1, 4 +/* 1937F8 80264F18 A62201B6 */ sh $v0, 0x1b6($s1) +.L80264F1C: +/* 1937FC 80264F1C AC600438 */ sw $zero, 0x438($v1) +/* 193800 80264F20 2484FFFF */ addiu $a0, $a0, -1 +/* 193804 80264F24 0481FFFD */ bgez $a0, .L80264F1C +/* 193808 80264F28 2463FFFC */ addiu $v1, $v1, -4 +/* 19380C 80264F2C 0C00AB39 */ jal heap_malloc +/* 193810 80264F30 240400C4 */ addiu $a0, $zero, 0xc4 +/* 193814 80264F34 0040802D */ daddu $s0, $v0, $zero +/* 193818 80264F38 16000003 */ bnez $s0, .L80264F48 +/* 19381C 80264F3C AE3001F4 */ sw $s0, 0x1f4($s1) +func_80264F40: +/* 193820 80264F40 080993D0 */ j func_80264F40 +/* 193824 80264F44 00000000 */ nop + +.L80264F48: +/* 193828 80264F48 1AC000E7 */ blez $s6, .L802652E8 +/* 19382C 80264F4C 0000982D */ daddu $s3, $zero, $zero +/* 193830 80264F50 3C013F80 */ lui $at, 0x3f80 +/* 193834 80264F54 4481A000 */ mtc1 $at, $f20 +/* 193838 80264F58 3C128028 */ lui $s2, 0x8028 +/* 19383C 80264F5C 26521468 */ addiu $s2, $s2, 0x1468 +/* 193840 80264F60 0260A82D */ daddu $s5, $s3, $zero +.L80264F64: +/* 193844 80264F64 8E83000C */ lw $v1, 0xc($s4) +/* 193848 80264F68 AE0000C0 */ sw $zero, 0xc0($s0) +/* 19384C 80264F6C 00751821 */ addu $v1, $v1, $s5 +/* 193850 80264F70 AE030008 */ sw $v1, 8($s0) +/* 193854 80264F74 8C620000 */ lw $v0, ($v1) +/* 193858 80264F78 AE000004 */ sw $zero, 4($s0) +/* 19385C 80264F7C 34420004 */ ori $v0, $v0, 4 +/* 193860 80264F80 AE020000 */ sw $v0, ($s0) +/* 193864 80264F84 90620005 */ lbu $v0, 5($v1) +/* 193868 80264F88 00021600 */ sll $v0, $v0, 0x18 +/* 19386C 80264F8C 00021603 */ sra $v0, $v0, 0x18 +/* 193870 80264F90 A6020014 */ sh $v0, 0x14($s0) +/* 193874 80264F94 00021400 */ sll $v0, $v0, 0x10 +/* 193878 80264F98 00021403 */ sra $v0, $v0, 0x10 +/* 19387C 80264F9C 44820000 */ mtc1 $v0, $f0 +/* 193880 80264FA0 00000000 */ nop +/* 193884 80264FA4 46800020 */ cvt.s.w $f0, $f0 +/* 193888 80264FA8 E6000020 */ swc1 $f0, 0x20($s0) +/* 19388C 80264FAC 90620006 */ lbu $v0, 6($v1) +/* 193890 80264FB0 00021600 */ sll $v0, $v0, 0x18 +/* 193894 80264FB4 00021603 */ sra $v0, $v0, 0x18 +/* 193898 80264FB8 A6020016 */ sh $v0, 0x16($s0) +/* 19389C 80264FBC 00021400 */ sll $v0, $v0, 0x10 +/* 1938A0 80264FC0 00021403 */ sra $v0, $v0, 0x10 +/* 1938A4 80264FC4 44820000 */ mtc1 $v0, $f0 +/* 1938A8 80264FC8 00000000 */ nop +/* 1938AC 80264FCC 46800020 */ cvt.s.w $f0, $f0 +/* 1938B0 80264FD0 E6000024 */ swc1 $f0, 0x24($s0) +/* 1938B4 80264FD4 90620007 */ lbu $v0, 7($v1) +/* 1938B8 80264FD8 A600001A */ sh $zero, 0x1a($s0) +/* 1938BC 80264FDC A600001C */ sh $zero, 0x1c($s0) +/* 1938C0 80264FE0 A600001E */ sh $zero, 0x1e($s0) +/* 1938C4 80264FE4 AE00002C */ sw $zero, 0x2c($s0) +/* 1938C8 80264FE8 AE000030 */ sw $zero, 0x30($s0) +/* 1938CC 80264FEC AE000034 */ sw $zero, 0x34($s0) +/* 1938D0 80264FF0 00021600 */ sll $v0, $v0, 0x18 +/* 1938D4 80264FF4 00021603 */ sra $v0, $v0, 0x18 +/* 1938D8 80264FF8 A6020018 */ sh $v0, 0x18($s0) +/* 1938DC 80264FFC 00021400 */ sll $v0, $v0, 0x10 +/* 1938E0 80265000 00021403 */ sra $v0, $v0, 0x10 +/* 1938E4 80265004 44820000 */ mtc1 $v0, $f0 +/* 1938E8 80265008 00000000 */ nop +/* 1938EC 8026500C 46800020 */ cvt.s.w $f0, $f0 +/* 1938F0 80265010 E6000028 */ swc1 $f0, 0x28($s0) +/* 1938F4 80265014 8C620010 */ lw $v0, 0x10($v1) +/* 1938F8 80265018 AE020078 */ sw $v0, 0x78($s0) +/* 1938FC 8026501C 8C62000C */ lw $v0, 0xc($v1) +/* 193900 80265020 AE020094 */ sw $v0, 0x94($s0) +/* 193904 80265024 8C620014 */ lw $v0, 0x14($v1) +/* 193908 80265028 AE02007C */ sw $v0, 0x7c($s0) +/* 19390C 8026502C 8C620018 */ lw $v0, 0x18($v1) +/* 193910 80265030 AE020080 */ sw $v0, 0x80($s0) +/* 193914 80265034 9462000A */ lhu $v0, 0xa($v1) +/* 193918 80265038 A6020098 */ sh $v0, 0x98($s0) +/* 19391C 8026503C 92220191 */ lbu $v0, 0x191($s1) +/* 193920 80265040 A2020073 */ sb $v0, 0x73($s0) +/* 193924 80265044 92220190 */ lbu $v0, 0x190($s1) +/* 193928 80265048 A2020072 */ sb $v0, 0x72($s0) +/* 19392C 8026504C AE000064 */ sw $zero, 0x64($s0) +/* 193930 80265050 90620008 */ lbu $v0, 8($v1) +/* 193934 80265054 00021600 */ sll $v0, $v0, 0x18 +/* 193938 80265058 00021603 */ sra $v0, $v0, 0x18 +/* 19393C 8026505C A602006C */ sh $v0, 0x6c($s0) +/* 193940 80265060 90630009 */ lbu $v1, 9($v1) +/* 193944 80265064 24020001 */ addiu $v0, $zero, 1 +/* 193948 80265068 A6000070 */ sh $zero, 0x70($s0) +/* 19394C 8026506C A6000044 */ sh $zero, 0x44($s0) +/* 193950 80265070 A6000046 */ sh $zero, 0x46($s0) +/* 193954 80265074 A6000048 */ sh $zero, 0x48($s0) +/* 193958 80265078 AE000038 */ sw $zero, 0x38($s0) +/* 19395C 8026507C AE00003C */ sw $zero, 0x3c($s0) +/* 193960 80265080 AE000040 */ sw $zero, 0x40($s0) +/* 193964 80265084 E614004C */ swc1 $f20, 0x4c($s0) +/* 193968 80265088 E6140050 */ swc1 $f20, 0x50($s0) +/* 19396C 8026508C E6140054 */ swc1 $f20, 0x54($s0) +/* 193970 80265090 A2020074 */ sb $v0, 0x74($s0) +/* 193974 80265094 A6000068 */ sh $zero, 0x68($s0) +/* 193978 80265098 A600006A */ sh $zero, 0x6a($s0) +/* 19397C 8026509C 00031E00 */ sll $v1, $v1, 0x18 +/* 193980 802650A0 00031E03 */ sra $v1, $v1, 0x18 +/* 193984 802650A4 A603006E */ sh $v1, 0x6e($s0) +/* 193988 802650A8 92230136 */ lbu $v1, 0x136($s1) +/* 19398C 802650AC 000310C0 */ sll $v0, $v1, 3 +/* 193990 802650B0 00431023 */ subu $v0, $v0, $v1 +/* 193994 802650B4 00021080 */ sll $v0, $v0, 2 +/* 193998 802650B8 00521021 */ addu $v0, $v0, $s2 +/* 19399C 802650BC 8C420000 */ lw $v0, ($v0) +/* 1939A0 802650C0 AE0200A4 */ sw $v0, 0xa4($s0) +/* 1939A4 802650C4 92230136 */ lbu $v1, 0x136($s1) +/* 1939A8 802650C8 000310C0 */ sll $v0, $v1, 3 +/* 1939AC 802650CC 00431023 */ subu $v0, $v0, $v1 +/* 1939B0 802650D0 00021080 */ sll $v0, $v0, 2 +/* 1939B4 802650D4 00521021 */ addu $v0, $v0, $s2 +/* 1939B8 802650D8 8C420004 */ lw $v0, 4($v0) +/* 1939BC 802650DC AE0200A8 */ sw $v0, 0xa8($s0) +/* 1939C0 802650E0 92230136 */ lbu $v1, 0x136($s1) +/* 1939C4 802650E4 000310C0 */ sll $v0, $v1, 3 +/* 1939C8 802650E8 00431023 */ subu $v0, $v0, $v1 +/* 1939CC 802650EC 00021080 */ sll $v0, $v0, 2 +/* 1939D0 802650F0 00521021 */ addu $v0, $v0, $s2 +/* 1939D4 802650F4 8C420008 */ lw $v0, 8($v0) +/* 1939D8 802650F8 AE0200AC */ sw $v0, 0xac($s0) +/* 1939DC 802650FC 92230136 */ lbu $v1, 0x136($s1) +/* 1939E0 80265100 000310C0 */ sll $v0, $v1, 3 +/* 1939E4 80265104 00431023 */ subu $v0, $v0, $v1 +/* 1939E8 80265108 00021080 */ sll $v0, $v0, 2 +/* 1939EC 8026510C 00521021 */ addu $v0, $v0, $s2 +/* 1939F0 80265110 8C42000C */ lw $v0, 0xc($v0) +/* 1939F4 80265114 AE0200B0 */ sw $v0, 0xb0($s0) +/* 1939F8 80265118 92230136 */ lbu $v1, 0x136($s1) +/* 1939FC 8026511C 000310C0 */ sll $v0, $v1, 3 +/* 193A00 80265120 00431023 */ subu $v0, $v0, $v1 +/* 193A04 80265124 00021080 */ sll $v0, $v0, 2 +/* 193A08 80265128 00521021 */ addu $v0, $v0, $s2 +/* 193A0C 8026512C 8C420010 */ lw $v0, 0x10($v0) +/* 193A10 80265130 AE0200B4 */ sw $v0, 0xb4($s0) +/* 193A14 80265134 92230136 */ lbu $v1, 0x136($s1) +/* 193A18 80265138 000310C0 */ sll $v0, $v1, 3 +/* 193A1C 8026513C 00431023 */ subu $v0, $v0, $v1 +/* 193A20 80265140 00021080 */ sll $v0, $v0, 2 +/* 193A24 80265144 00521021 */ addu $v0, $v0, $s2 +/* 193A28 80265148 8C420014 */ lw $v0, 0x14($v0) +/* 193A2C 8026514C AE0200B8 */ sw $v0, 0xb8($s0) +/* 193A30 80265150 92230136 */ lbu $v1, 0x136($s1) +/* 193A34 80265154 000310C0 */ sll $v0, $v1, 3 +/* 193A38 80265158 00431023 */ subu $v0, $v0, $v1 +/* 193A3C 8026515C 00021080 */ sll $v0, $v0, 2 +/* 193A40 80265160 00521021 */ addu $v0, $v0, $s2 +/* 193A44 80265164 94420018 */ lhu $v0, 0x18($v0) +/* 193A48 80265168 A60200BC */ sh $v0, 0xbc($s0) +/* 193A4C 8026516C 92230136 */ lbu $v1, 0x136($s1) +/* 193A50 80265170 000310C0 */ sll $v0, $v1, 3 +/* 193A54 80265174 00431023 */ subu $v0, $v0, $v1 +/* 193A58 80265178 00021080 */ sll $v0, $v0, 2 +/* 193A5C 8026517C 00521021 */ addu $v0, $v0, $s2 +/* 193A60 80265180 9442001A */ lhu $v0, 0x1a($v0) +/* 193A64 80265184 8E030094 */ lw $v1, 0x94($s0) +/* 193A68 80265188 10600030 */ beqz $v1, .L8026524C +/* 193A6C 8026518C A60200BE */ sh $v0, 0xbe($s0) +/* 193A70 80265190 0C00AB39 */ jal heap_malloc +/* 193A74 80265194 240408E8 */ addiu $a0, $zero, 0x8e8 +/* 193A78 80265198 0040202D */ daddu $a0, $v0, $zero +/* 193A7C 8026519C 14800003 */ bnez $a0, .L802651AC +/* 193A80 802651A0 AE0200C0 */ sw $v0, 0xc0($s0) +func_802651A4: +/* 193A84 802651A4 08099469 */ j func_802651A4 +/* 193A88 802651A8 00000000 */ nop + +.L802651AC: +/* 193A8C 802651AC 0000282D */ daddu $a1, $zero, $zero +/* 193A90 802651B0 0080182D */ daddu $v1, $a0, $zero +/* 193A94 802651B4 A08006C0 */ sb $zero, 0x6c0($a0) +/* 193A98 802651B8 A0800750 */ sb $zero, 0x750($a0) +/* 193A9C 802651BC A0800764 */ sb $zero, 0x764($a0) +/* 193AA0 802651C0 A0800768 */ sb $zero, 0x768($a0) +/* 193AA4 802651C4 A08007D8 */ sb $zero, 0x7d8($a0) +/* 193AA8 802651C8 A08007D9 */ sb $zero, 0x7d9($a0) +.L802651CC: +/* 193AAC 802651CC C6200144 */ lwc1 $f0, 0x144($s1) +/* 193AB0 802651D0 4600018D */ trunc.w.s $f6, $f0 +/* 193AB4 802651D4 44023000 */ mfc1 $v0, $f6 +/* 193AB8 802651D8 00000000 */ nop +/* 193ABC 802651DC A46207FC */ sh $v0, 0x7fc($v1) +/* 193AC0 802651E0 C6200148 */ lwc1 $f0, 0x148($s1) +/* 193AC4 802651E4 4600018D */ trunc.w.s $f6, $f0 +/* 193AC8 802651E8 44023000 */ mfc1 $v0, $f6 +/* 193ACC 802651EC 00000000 */ nop +/* 193AD0 802651F0 A462081C */ sh $v0, 0x81c($v1) +/* 193AD4 802651F4 C620014C */ lwc1 $f0, 0x14c($s1) +/* 193AD8 802651F8 24A50001 */ addiu $a1, $a1, 1 +/* 193ADC 802651FC 4600018D */ trunc.w.s $f6, $f0 +/* 193AE0 80265200 44023000 */ mfc1 $v0, $f6 +/* 193AE4 80265204 00000000 */ nop +/* 193AE8 80265208 A462083C */ sh $v0, 0x83c($v1) +/* 193AEC 8026520C 28A20010 */ slti $v0, $a1, 0x10 +/* 193AF0 80265210 1440FFEE */ bnez $v0, .L802651CC +/* 193AF4 80265214 24630002 */ addiu $v1, $v1, 2 +/* 193AF8 80265218 0000282D */ daddu $a1, $zero, $zero +/* 193AFC 8026521C 0080182D */ daddu $v1, $a0, $zero +/* 193B00 80265220 24020003 */ addiu $v0, $zero, 3 +/* 193B04 80265224 A08207DA */ sb $v0, 0x7da($a0) +/* 193B08 80265228 A08007DB */ sb $zero, 0x7db($a0) +/* 193B0C 8026522C A08008AC */ sb $zero, 0x8ac($a0) +.L80265230: +/* 193B10 80265230 AC6008B0 */ sw $zero, 0x8b0($v1) +/* 193B14 80265234 00851021 */ addu $v0, $a0, $a1 +/* 193B18 80265238 24A50001 */ addiu $a1, $a1, 1 +/* 193B1C 8026523C A04008B8 */ sb $zero, 0x8b8($v0) +/* 193B20 80265240 28A20002 */ slti $v0, $a1, 2 +/* 193B24 80265244 1440FFFA */ bnez $v0, .L80265230 +/* 193B28 80265248 24630004 */ addiu $v1, $v1, 4 +.L8026524C: +/* 193B2C 8026524C 8E020000 */ lw $v0, ($s0) +/* 193B30 80265250 04400007 */ bltz $v0, .L80265270 +/* 193B34 80265254 00000000 */ nop +/* 193B38 80265258 0C00AB39 */ jal heap_malloc +/* 193B3C 8026525C 2404008C */ addiu $a0, $zero, 0x8c +/* 193B40 80265260 14400003 */ bnez $v0, .L80265270 +/* 193B44 80265264 AE020010 */ sw $v0, 0x10($s0) +func_80265268: +/* 193B48 80265268 0809949A */ j func_80265268 +/* 193B4C 8026526C 00000000 */ nop + +.L80265270: +/* 193B50 80265270 8E040094 */ lw $a0, 0x94($s0) +/* 193B54 80265274 2402FFFF */ addiu $v0, $zero, -1 +/* 193B58 80265278 E6140090 */ swc1 $f20, 0x90($s0) +/* 193B5C 8026527C AE000088 */ sw $zero, 0x88($s0) +/* 193B60 80265280 10800009 */ beqz $a0, .L802652A8 +/* 193B64 80265284 AE020084 */ sw $v0, 0x84($s0) +/* 193B68 80265288 0C09973A */ jal func_80265CE8 +/* 193B6C 8026528C 24050001 */ addiu $a1, $zero, 1 +/* 193B70 80265290 3C048000 */ lui $a0, 0x8000 +/* 193B74 80265294 00442025 */ or $a0, $v0, $a0 +/* 193B78 80265298 0000282D */ daddu $a1, $zero, $zero +/* 193B7C 8026529C 0C0B783B */ jal func_802DE0EC +/* 193B80 802652A0 AE020088 */ sw $v0, 0x88($s0) +/* 193B84 802652A4 AE020084 */ sw $v0, 0x84($s0) +.L802652A8: +/* 193B88 802652A8 26620001 */ addiu $v0, $s3, 1 +/* 193B8C 802652AC 0056102A */ slt $v0, $v0, $s6 +/* 193B90 802652B0 50400009 */ beql $v0, $zero, .L802652D8 +/* 193B94 802652B4 AE00000C */ sw $zero, 0xc($s0) +/* 193B98 802652B8 0C00AB39 */ jal heap_malloc +/* 193B9C 802652BC 240400C4 */ addiu $a0, $zero, 0xc4 +/* 193BA0 802652C0 AE02000C */ sw $v0, 0xc($s0) +/* 193BA4 802652C4 0040802D */ daddu $s0, $v0, $zero +/* 193BA8 802652C8 56000003 */ bnezl $s0, .L802652D8 +/* 193BAC 802652CC AE00000C */ sw $zero, 0xc($s0) +func_802652D0: +/* 193BB0 802652D0 080994B4 */ j func_802652D0 +/* 193BB4 802652D4 00000000 */ nop + +.L802652D8: +/* 193BB8 802652D8 26730001 */ addiu $s3, $s3, 1 +/* 193BBC 802652DC 0276102A */ slt $v0, $s3, $s6 +/* 193BC0 802652E0 1440FF20 */ bnez $v0, .L80264F64 +/* 193BC4 802652E4 26B50024 */ addiu $s5, $s5, 0x24 +.L802652E8: +/* 193BC8 802652E8 8E250144 */ lw $a1, 0x144($s1) +/* 193BCC 802652EC 8E260148 */ lw $a2, 0x148($s1) +/* 193BD0 802652F0 8E27014C */ lw $a3, 0x14c($s1) +/* 193BD4 802652F4 0C044898 */ jal create_shadow_type +/* 193BD8 802652F8 0000202D */ daddu $a0, $zero, $zero +/* 193BDC 802652FC AE22042C */ sw $v0, 0x42c($s1) +/* 193BE0 80265300 92220190 */ lbu $v0, 0x190($s1) +/* 193BE4 80265304 3C014038 */ lui $at, 0x4038 +/* 193BE8 80265308 44811800 */ mtc1 $at, $f3 +/* 193BEC 8026530C 44801000 */ mtc1 $zero, $f2 +/* 193BF0 80265310 44820000 */ mtc1 $v0, $f0 +/* 193BF4 80265314 00000000 */ nop +/* 193BF8 80265318 46800021 */ cvt.d.w $f0, $f0 +/* 193BFC 8026531C 46220003 */ div.d $f0, $f0, $f2 +/* 193C00 80265320 46200020 */ cvt.s.d $f0, $f0 +/* 193C04 80265324 0C011D82 */ jal func_80047608 +/* 193C08 80265328 E6200430 */ swc1 $f0, 0x430($s1) +/* 193C0C 8026532C 3C05C30E */ lui $a1, 0xc30e +/* 193C10 80265330 3C064208 */ lui $a2, 0x4208 +/* 193C14 80265334 3C073F80 */ lui $a3, 0x3f80 +/* 193C18 80265338 0000202D */ daddu $a0, $zero, $zero +/* 193C1C 8026533C A6220436 */ sh $v0, 0x436($s1) +/* 193C20 80265340 0C01C43C */ jal func_800710F0 +/* 193C24 80265344 AFA00010 */ sw $zero, 0x10($sp) +/* 193C28 80265348 2405000A */ addiu $a1, $zero, 0xa +/* 193C2C 8026534C 8E2401C4 */ lw $a0, 0x1c4($s1) +/* 193C30 80265350 0000302D */ daddu $a2, $zero, $zero +/* 193C34 80265354 AE220440 */ sw $v0, 0x440($s1) +/* 193C38 80265358 0C0B0CF8 */ jal start_script +/* 193C3C 8026535C AE200228 */ sw $zero, 0x228($s1) +/* 193C40 80265360 8C430144 */ lw $v1, 0x144($v0) +/* 193C44 80265364 AE2301E4 */ sw $v1, 0x1e4($s1) +/* 193C48 80265368 24030100 */ addiu $v1, $zero, 0x100 +/* 193C4C 8026536C AC430148 */ sw $v1, 0x148($v0) +.L80265370: +/* 193C50 80265370 8FBF0034 */ lw $ra, 0x34($sp) +/* 193C54 80265374 8FB60030 */ lw $s6, 0x30($sp) +/* 193C58 80265378 8FB5002C */ lw $s5, 0x2c($sp) +/* 193C5C 8026537C 8FB40028 */ lw $s4, 0x28($sp) +/* 193C60 80265380 8FB30024 */ lw $s3, 0x24($sp) +/* 193C64 80265384 8FB20020 */ lw $s2, 0x20($sp) +/* 193C68 80265388 8FB1001C */ lw $s1, 0x1c($sp) +/* 193C6C 8026538C 8FB00018 */ lw $s0, 0x18($sp) +/* 193C70 80265390 D7B80048 */ ldc1 $f24, 0x48($sp) +/* 193C74 80265394 D7B60040 */ ldc1 $f22, 0x40($sp) +/* 193C78 80265398 D7B40038 */ ldc1 $f20, 0x38($sp) +/* 193C7C 8026539C 03E00008 */ jr $ra +/* 193C80 802653A0 27BD0050 */ addiu $sp, $sp, 0x50 + +create_actor: +/* 193C84 802653A4 27BDFFB0 */ addiu $sp, $sp, -0x50 +/* 193C88 802653A8 AFB30024 */ sw $s3, 0x24($sp) +/* 193C8C 802653AC 0080982D */ daddu $s3, $a0, $zero +/* 193C90 802653B0 3C02EFE8 */ lui $v0, 0xefe8 +/* 193C94 802653B4 34422080 */ ori $v0, $v0, 0x2080 +/* 193C98 802653B8 AFBF0034 */ sw $ra, 0x34($sp) +/* 193C9C 802653BC AFB60030 */ sw $s6, 0x30($sp) +/* 193CA0 802653C0 AFB5002C */ sw $s5, 0x2c($sp) +/* 193CA4 802653C4 AFB40028 */ sw $s4, 0x28($sp) +/* 193CA8 802653C8 AFB20020 */ sw $s2, 0x20($sp) +/* 193CAC 802653CC AFB1001C */ sw $s1, 0x1c($sp) +/* 193CB0 802653D0 AFB00018 */ sw $s0, 0x18($sp) +/* 193CB4 802653D4 F7B80048 */ sdc1 $f24, 0x48($sp) +/* 193CB8 802653D8 F7B60040 */ sdc1 $f22, 0x40($sp) +/* 193CBC 802653DC F7B40038 */ sdc1 $f20, 0x38($sp) +/* 193CC0 802653E0 8E640004 */ lw $a0, 4($s3) +/* 193CC4 802653E4 3C12800E */ lui $s2, 0x800e +/* 193CC8 802653E8 2652C070 */ addiu $s2, $s2, -0x3f90 +/* 193CCC 802653EC 0082102A */ slt $v0, $a0, $v0 +/* 193CD0 802653F0 14400014 */ bnez $v0, .L80265444 +/* 193CD4 802653F4 0000802D */ daddu $s0, $zero, $zero +/* 193CD8 802653F8 3C038028 */ lui $v1, 0x8028 +/* 193CDC 802653FC 24633524 */ addiu $v1, $v1, 0x3524 +/* 193CE0 80265400 00041040 */ sll $v0, $a0, 1 +/* 193CE4 80265404 00441021 */ addu $v0, $v0, $a0 +/* 193CE8 80265408 00021040 */ sll $v0, $v0, 1 +/* 193CEC 8026540C 00431021 */ addu $v0, $v0, $v1 +/* 193CF0 80265410 84430000 */ lh $v1, ($v0) +/* 193CF4 80265414 4483C000 */ mtc1 $v1, $f24 +/* 193CF8 80265418 00000000 */ nop +/* 193CFC 8026541C 4680C620 */ cvt.s.w $f24, $f24 +/* 193D00 80265420 84430002 */ lh $v1, 2($v0) +/* 193D04 80265424 84420004 */ lh $v0, 4($v0) +/* 193D08 80265428 4483A000 */ mtc1 $v1, $f20 +/* 193D0C 8026542C 00000000 */ nop +/* 193D10 80265430 4680A520 */ cvt.s.w $f20, $f20 +/* 193D14 80265434 4482B000 */ mtc1 $v0, $f22 +/* 193D18 80265438 00000000 */ nop +/* 193D1C 8026543C 08099517 */ j func_8026545C +/* 193D20 80265440 4680B5A0 */ cvt.s.w $f22, $f22 + +.L80265444: +/* 193D24 80265444 C4980000 */ lwc1 $f24, ($a0) +/* 193D28 80265448 4680C620 */ cvt.s.w $f24, $f24 +/* 193D2C 8026544C C4940004 */ lwc1 $f20, 4($a0) +/* 193D30 80265450 4680A520 */ cvt.s.w $f20, $f20 +/* 193D34 80265454 C4960008 */ lwc1 $f22, 8($a0) +/* 193D38 80265458 4680B5A0 */ cvt.s.w $f22, $f22 +func_8026545C: +/* 193D3C 8026545C 8E740000 */ lw $s4, ($s3) +/* 193D40 80265460 0240182D */ daddu $v1, $s2, $zero +/* 193D44 80265464 86960008 */ lh $s6, 8($s4) +.L80265468: +/* 193D48 80265468 8C6200E0 */ lw $v0, 0xe0($v1) +/* 193D4C 8026546C 10400005 */ beqz $v0, .L80265484 +/* 193D50 80265470 00000000 */ nop +/* 193D54 80265474 26100001 */ addiu $s0, $s0, 1 +/* 193D58 80265478 2A020018 */ slti $v0, $s0, 0x18 +/* 193D5C 8026547C 1440FFFA */ bnez $v0, .L80265468 +/* 193D60 80265480 24630004 */ addiu $v1, $v1, 4 +.L80265484: +/* 193D64 80265484 0C00AB39 */ jal heap_malloc +/* 193D68 80265488 24040444 */ addiu $a0, $zero, 0x444 +/* 193D6C 8026548C 00101880 */ sll $v1, $s0, 2 +/* 193D70 80265490 02431821 */ addu $v1, $s2, $v1 +/* 193D74 80265494 0040882D */ daddu $s1, $v0, $zero +/* 193D78 80265498 16200003 */ bnez $s1, .L802654A8 +/* 193D7C 8026549C AC6200E0 */ sw $v0, 0xe0($v1) +func_802654A0: +/* 193D80 802654A0 08099528 */ j func_802654A0 +/* 193D84 802654A4 00000000 */ nop + +.L802654A8: +/* 193D88 802654A8 92430093 */ lbu $v1, 0x93($s2) +/* 193D8C 802654AC 3C013F80 */ lui $at, 0x3f80 +/* 193D90 802654B0 44810000 */ mtc1 $at, $f0 +/* 193D94 802654B4 24620001 */ addiu $v0, $v1, 1 +/* 193D98 802654B8 A2420093 */ sb $v0, 0x93($s2) +/* 193D9C 802654BC A2230134 */ sb $v1, 0x134($s1) +/* 193DA0 802654C0 A2200135 */ sb $zero, 0x135($s1) +/* 193DA4 802654C4 AE340008 */ sw $s4, 8($s1) +/* 193DA8 802654C8 92820005 */ lbu $v0, 5($s4) +/* 193DAC 802654CC A2220136 */ sb $v0, 0x136($s1) +/* 193DB0 802654D0 8E820000 */ lw $v0, ($s4) +/* 193DB4 802654D4 E6380144 */ swc1 $f24, 0x144($s1) +/* 193DB8 802654D8 E6380138 */ swc1 $f24, 0x138($s1) +/* 193DBC 802654DC E6340148 */ swc1 $f20, 0x148($s1) +/* 193DC0 802654E0 E634013C */ swc1 $f20, 0x13c($s1) +/* 193DC4 802654E4 E636014C */ swc1 $f22, 0x14c($s1) +/* 193DC8 802654E8 E6360140 */ swc1 $f22, 0x140($s1) +/* 193DCC 802654EC A6200150 */ sh $zero, 0x150($s1) +/* 193DD0 802654F0 A6200152 */ sh $zero, 0x152($s1) +/* 193DD4 802654F4 A6200154 */ sh $zero, 0x154($s1) +/* 193DD8 802654F8 AE220000 */ sw $v0, ($s1) +/* 193DDC 802654FC 92820007 */ lbu $v0, 7($s4) +/* 193DE0 80265500 A23601F3 */ sb $s6, 0x1f3($s1) +/* 193DE4 80265504 AE2001C0 */ sw $zero, 0x1c0($s1) +/* 193DE8 80265508 A22201B8 */ sb $v0, 0x1b8($s1) +/* 193DEC 8026550C A22201B9 */ sb $v0, 0x1b9($s1) +/* 193DF0 80265510 8E820010 */ lw $v0, 0x10($s4) +/* 193DF4 80265514 AE2001C8 */ sw $zero, 0x1c8($s1) +/* 193DF8 80265518 AE2001CC */ sw $zero, 0x1cc($s1) +/* 193DFC 8026551C AE2001D0 */ sw $zero, 0x1d0($s1) +/* 193E00 80265520 AE2001D4 */ sw $zero, 0x1d4($s1) +/* 193E04 80265524 AE2001D8 */ sw $zero, 0x1d8($s1) +/* 193E08 80265528 AE2201C4 */ sw $v0, 0x1c4($s1) +/* 193E0C 8026552C 9262000B */ lbu $v0, 0xb($s3) +/* 193E10 80265530 A23001F2 */ sb $s0, 0x1f2($s1) +/* 193E14 80265534 A22201F1 */ sb $v0, 0x1f1($s1) +/* 193E18 80265538 AE20018C */ sw $zero, 0x18c($s1) +/* 193E1C 8026553C AE20015C */ sw $zero, 0x15c($s1) +/* 193E20 80265540 AE200160 */ sw $zero, 0x160($s1) +/* 193E24 80265544 AE200164 */ sw $zero, 0x164($s1) +/* 193E28 80265548 A6200168 */ sh $zero, 0x168($s1) +/* 193E2C 8026554C A620016A */ sh $zero, 0x16a($s1) +/* 193E30 80265550 A620016C */ sh $zero, 0x16c($s1) +/* 193E34 80265554 E6200170 */ swc1 $f0, 0x170($s1) +/* 193E38 80265558 E6200174 */ swc1 $f0, 0x174($s1) +/* 193E3C 8026555C E6200178 */ swc1 $f0, 0x178($s1) +/* 193E40 80265560 E620017C */ swc1 $f0, 0x17c($s1) +/* 193E44 80265564 E6200180 */ swc1 $f0, 0x180($s1) +/* 193E48 80265568 E6200184 */ swc1 $f0, 0x184($s1) +/* 193E4C 8026556C A220019A */ sb $zero, 0x19a($s1) +/* 193E50 80265570 A2200207 */ sb $zero, 0x207($s1) +/* 193E54 80265574 92820020 */ lbu $v0, 0x20($s4) +/* 193E58 80265578 A2220190 */ sb $v0, 0x190($s1) +/* 193E5C 8026557C 92820021 */ lbu $v0, 0x21($s4) +/* 193E60 80265580 E6200188 */ swc1 $f0, 0x188($s1) +/* 193E64 80265584 A2200194 */ sb $zero, 0x194($s1) +/* 193E68 80265588 A2200195 */ sb $zero, 0x195($s1) +/* 193E6C 8026558C A2200196 */ sb $zero, 0x196($s1) +/* 193E70 80265590 A2200197 */ sb $zero, 0x197($s1) +/* 193E74 80265594 A2200198 */ sb $zero, 0x198($s1) +/* 193E78 80265598 A2200199 */ sb $zero, 0x199($s1) +/* 193E7C 8026559C A2200206 */ sb $zero, 0x206($s1) +/* 193E80 802655A0 AE200200 */ sw $zero, 0x200($s1) +/* 193E84 802655A4 A2200204 */ sb $zero, 0x204($s1) +/* 193E88 802655A8 A2200205 */ sb $zero, 0x205($s1) +/* 193E8C 802655AC A2220191 */ sb $v0, 0x191($s1) +/* 193E90 802655B0 82820022 */ lb $v0, 0x22($s4) +/* 193E94 802655B4 4600C006 */ mov.s $f0, $f24 +/* 193E98 802655B8 44821000 */ mtc1 $v0, $f2 +/* 193E9C 802655BC 00000000 */ nop +/* 193EA0 802655C0 468010A0 */ cvt.s.w $f2, $f2 +/* 193EA4 802655C4 46020000 */ add.s $f0, $f0, $f2 +/* 193EA8 802655C8 4600010D */ trunc.w.s $f4, $f0 +/* 193EAC 802655CC 44022000 */ mfc1 $v0, $f4 +/* 193EB0 802655D0 00000000 */ nop +/* 193EB4 802655D4 A6220156 */ sh $v0, 0x156($s1) +/* 193EB8 802655D8 82820023 */ lb $v0, 0x23($s4) +/* 193EBC 802655DC 4600A006 */ mov.s $f0, $f20 +/* 193EC0 802655E0 44821000 */ mtc1 $v0, $f2 +/* 193EC4 802655E4 00000000 */ nop +/* 193EC8 802655E8 468010A0 */ cvt.s.w $f2, $f2 +/* 193ECC 802655EC 46020000 */ add.s $f0, $f0, $f2 +/* 193ED0 802655F0 4600010D */ trunc.w.s $f4, $f0 +/* 193ED4 802655F4 44022000 */ mfc1 $v0, $f4 +/* 193ED8 802655F8 00000000 */ nop +/* 193EDC 802655FC A6220158 */ sh $v0, 0x158($s1) +/* 193EE0 80265600 4600B006 */ mov.s $f0, $f22 +/* 193EE4 80265604 8E220000 */ lw $v0, ($s1) +/* 193EE8 80265608 4600010D */ trunc.w.s $f4, $f0 +/* 193EEC 8026560C 44032000 */ mfc1 $v1, $f4 +/* 193EF0 80265610 30420800 */ andi $v0, $v0, 0x800 +/* 193EF4 80265614 10400010 */ beqz $v0, .L80265658 +/* 193EF8 80265618 A623015A */ sh $v1, 0x15a($s1) +/* 193EFC 8026561C 92220191 */ lbu $v0, 0x191($s1) +/* 193F00 80265620 4600A006 */ mov.s $f0, $f20 +/* 193F04 80265624 44821000 */ mtc1 $v0, $f2 +/* 193F08 80265628 00000000 */ nop +/* 193F0C 8026562C 468010A0 */ cvt.s.w $f2, $f2 +/* 193F10 80265630 82820023 */ lb $v0, 0x23($s4) +/* 193F14 80265634 46020001 */ sub.s $f0, $f0, $f2 +/* 193F18 80265638 44821000 */ mtc1 $v0, $f2 +/* 193F1C 8026563C 00000000 */ nop +/* 193F20 80265640 468010A0 */ cvt.s.w $f2, $f2 +/* 193F24 80265644 46020001 */ sub.s $f0, $f0, $f2 +/* 193F28 80265648 4600010D */ trunc.w.s $f4, $f0 +/* 193F2C 8026564C 44022000 */ mfc1 $v0, $f4 +/* 193F30 80265650 00000000 */ nop +/* 193F34 80265654 A6220158 */ sh $v0, 0x158($s1) +.L80265658: +/* 193F38 80265658 8E820014 */ lw $v0, 0x14($s4) +/* 193F3C 8026565C 92230136 */ lbu $v1, 0x136($s1) +/* 193F40 80265660 A2200210 */ sb $zero, 0x210($s1) +/* 193F44 80265664 A2200211 */ sb $zero, 0x211($s1) +/* 193F48 80265668 A2200212 */ sb $zero, 0x212($s1) +/* 193F4C 8026566C A2200213 */ sb $zero, 0x213($s1) +/* 193F50 80265670 A2200214 */ sb $zero, 0x214($s1) +/* 193F54 80265674 A2200215 */ sb $zero, 0x215($s1) +/* 193F58 80265678 A2200216 */ sb $zero, 0x216($s1) +/* 193F5C 8026567C A2200217 */ sb $zero, 0x217($s1) +/* 193F60 80265680 A2200218 */ sb $zero, 0x218($s1) +/* 193F64 80265684 A2200219 */ sb $zero, 0x219($s1) +/* 193F68 80265688 A2200220 */ sb $zero, 0x220($s1) +/* 193F6C 8026568C A620021E */ sh $zero, 0x21e($s1) +/* 193F70 80265690 A220021D */ sb $zero, 0x21d($s1) +/* 193F74 80265694 A2200221 */ sb $zero, 0x221($s1) +/* 193F78 80265698 A2200222 */ sb $zero, 0x222($s1) +/* 193F7C 8026569C A2200223 */ sb $zero, 0x223($s1) +/* 193F80 802656A0 A2200224 */ sb $zero, 0x224($s1) +/* 193F84 802656A4 A220021C */ sb $zero, 0x21c($s1) +/* 193F88 802656A8 AE22020C */ sw $v0, 0x20c($s1) +/* 193F8C 802656AC 000310C0 */ sll $v0, $v1, 3 +/* 193F90 802656B0 00431023 */ subu $v0, $v0, $v1 +/* 193F94 802656B4 00021080 */ sll $v0, $v0, 2 +/* 193F98 802656B8 3C018028 */ lui $at, 0x8028 +/* 193F9C 802656BC 00220821 */ addu $at, $at, $v0 +/* 193FA0 802656C0 8C221468 */ lw $v0, 0x1468($at) +/* 193FA4 802656C4 AE22019C */ sw $v0, 0x19c($s1) +/* 193FA8 802656C8 000310C0 */ sll $v0, $v1, 3 +/* 193FAC 802656CC 00431023 */ subu $v0, $v0, $v1 +/* 193FB0 802656D0 00021080 */ sll $v0, $v0, 2 +/* 193FB4 802656D4 3C018028 */ lui $at, 0x8028 +/* 193FB8 802656D8 00220821 */ addu $at, $at, $v0 +/* 193FBC 802656DC 8C22146C */ lw $v0, 0x146c($at) +/* 193FC0 802656E0 AE2201A0 */ sw $v0, 0x1a0($s1) +/* 193FC4 802656E4 000310C0 */ sll $v0, $v1, 3 +/* 193FC8 802656E8 00431023 */ subu $v0, $v0, $v1 +/* 193FCC 802656EC 00021080 */ sll $v0, $v0, 2 +/* 193FD0 802656F0 3C018028 */ lui $at, 0x8028 +/* 193FD4 802656F4 00220821 */ addu $at, $at, $v0 +/* 193FD8 802656F8 8C221470 */ lw $v0, 0x1470($at) +/* 193FDC 802656FC AE2201A4 */ sw $v0, 0x1a4($s1) +/* 193FE0 80265700 000310C0 */ sll $v0, $v1, 3 +/* 193FE4 80265704 00431023 */ subu $v0, $v0, $v1 +/* 193FE8 80265708 00021080 */ sll $v0, $v0, 2 +/* 193FEC 8026570C 3C018028 */ lui $at, 0x8028 +/* 193FF0 80265710 00220821 */ addu $at, $at, $v0 +/* 193FF4 80265714 8C221474 */ lw $v0, 0x1474($at) +/* 193FF8 80265718 AE2201A8 */ sw $v0, 0x1a8($s1) +/* 193FFC 8026571C 000310C0 */ sll $v0, $v1, 3 +/* 194000 80265720 00431023 */ subu $v0, $v0, $v1 +/* 194004 80265724 00021080 */ sll $v0, $v0, 2 +/* 194008 80265728 3C018028 */ lui $at, 0x8028 +/* 19400C 8026572C 00220821 */ addu $at, $at, $v0 +/* 194010 80265730 8C221478 */ lw $v0, 0x1478($at) +/* 194014 80265734 AE2201AC */ sw $v0, 0x1ac($s1) +/* 194018 80265738 000310C0 */ sll $v0, $v1, 3 +/* 19401C 8026573C 00431023 */ subu $v0, $v0, $v1 +/* 194020 80265740 00021080 */ sll $v0, $v0, 2 +/* 194024 80265744 3C018028 */ lui $at, 0x8028 +/* 194028 80265748 00220821 */ addu $at, $at, $v0 +/* 19402C 8026574C 8C22147C */ lw $v0, 0x147c($at) +/* 194030 80265750 AE2201B0 */ sw $v0, 0x1b0($s1) +/* 194034 80265754 000310C0 */ sll $v0, $v1, 3 +/* 194038 80265758 00431023 */ subu $v0, $v0, $v1 +/* 19403C 8026575C 00021080 */ sll $v0, $v0, 2 +/* 194040 80265760 3C018028 */ lui $at, 0x8028 +/* 194044 80265764 00220821 */ addu $at, $at, $v0 +/* 194048 80265768 94221480 */ lhu $v0, 0x1480($at) +/* 19404C 8026576C 24100001 */ addiu $s0, $zero, 1 +/* 194050 80265770 A62201B4 */ sh $v0, 0x1b4($s1) +/* 194054 80265774 000310C0 */ sll $v0, $v1, 3 +/* 194058 80265778 00431023 */ subu $v0, $v0, $v1 +/* 19405C 8026577C 00021080 */ sll $v0, $v0, 2 +/* 194060 80265780 3C018028 */ lui $at, 0x8028 +/* 194064 80265784 00220821 */ addu $at, $at, $v0 +/* 194068 80265788 94221482 */ lhu $v0, 0x1482($at) +/* 19406C 8026578C 26230004 */ addiu $v1, $s1, 4 +/* 194070 80265790 A62201B6 */ sh $v0, 0x1b6($s1) +.L80265794: +/* 194074 80265794 AC600438 */ sw $zero, 0x438($v1) +/* 194078 80265798 2610FFFF */ addiu $s0, $s0, -1 +/* 19407C 8026579C 0601FFFD */ bgez $s0, .L80265794 +/* 194080 802657A0 2463FFFC */ addiu $v1, $v1, -4 +/* 194084 802657A4 8E62000C */ lw $v0, 0xc($s3) +/* 194088 802657A8 AE220088 */ sw $v0, 0x88($s1) +/* 19408C 802657AC 8E620010 */ lw $v0, 0x10($s3) +/* 194090 802657B0 AE22008C */ sw $v0, 0x8c($s1) +/* 194094 802657B4 8E620014 */ lw $v0, 0x14($s3) +/* 194098 802657B8 240400C4 */ addiu $a0, $zero, 0xc4 +/* 19409C 802657BC AE220090 */ sw $v0, 0x90($s1) +/* 1940A0 802657C0 8E630018 */ lw $v1, 0x18($s3) +/* 1940A4 802657C4 2402000D */ addiu $v0, $zero, 0xd +/* 1940A8 802657C8 A6220434 */ sh $v0, 0x434($s1) +/* 1940AC 802657CC A2200208 */ sb $zero, 0x208($s1) +/* 1940B0 802657D0 0C00AB39 */ jal heap_malloc +/* 1940B4 802657D4 AE230094 */ sw $v1, 0x94($s1) +/* 1940B8 802657D8 0040802D */ daddu $s0, $v0, $zero +/* 1940BC 802657DC 16000003 */ bnez $s0, .L802657EC +/* 1940C0 802657E0 AE3001F4 */ sw $s0, 0x1f4($s1) +func_802657E4: +/* 1940C4 802657E4 080995F9 */ j func_802657E4 +/* 1940C8 802657E8 00000000 */ nop + +.L802657EC: +/* 1940CC 802657EC 1AC00106 */ blez $s6, .L80265C08 +/* 1940D0 802657F0 0000982D */ daddu $s3, $zero, $zero +/* 1940D4 802657F4 3C013F80 */ lui $at, 0x3f80 +/* 1940D8 802657F8 4481A000 */ mtc1 $at, $f20 +/* 1940DC 802657FC 3C128028 */ lui $s2, 0x8028 +/* 1940E0 80265800 26521468 */ addiu $s2, $s2, 0x1468 +/* 1940E4 80265804 0260A82D */ daddu $s5, $s3, $zero +.L80265808: +/* 1940E8 80265808 8E82000C */ lw $v0, 0xc($s4) +/* 1940EC 8026580C AE0000C0 */ sw $zero, 0xc0($s0) +/* 1940F0 80265810 00551821 */ addu $v1, $v0, $s5 +/* 1940F4 80265814 AE030008 */ sw $v1, 8($s0) +/* 1940F8 80265818 8C620000 */ lw $v0, ($v1) +/* 1940FC 8026581C AE000004 */ sw $zero, 4($s0) +/* 194100 80265820 34420004 */ ori $v0, $v0, 4 +/* 194104 80265824 AE020000 */ sw $v0, ($s0) +/* 194108 80265828 90620005 */ lbu $v0, 5($v1) +/* 19410C 8026582C 00021600 */ sll $v0, $v0, 0x18 +/* 194110 80265830 00021603 */ sra $v0, $v0, 0x18 +/* 194114 80265834 A6020014 */ sh $v0, 0x14($s0) +/* 194118 80265838 00021400 */ sll $v0, $v0, 0x10 +/* 19411C 8026583C 00021403 */ sra $v0, $v0, 0x10 +/* 194120 80265840 44820000 */ mtc1 $v0, $f0 +/* 194124 80265844 00000000 */ nop +/* 194128 80265848 46800020 */ cvt.s.w $f0, $f0 +/* 19412C 8026584C E6000020 */ swc1 $f0, 0x20($s0) +/* 194130 80265850 90620006 */ lbu $v0, 6($v1) +/* 194134 80265854 00021600 */ sll $v0, $v0, 0x18 +/* 194138 80265858 00021603 */ sra $v0, $v0, 0x18 +/* 19413C 8026585C A6020016 */ sh $v0, 0x16($s0) +/* 194140 80265860 00021400 */ sll $v0, $v0, 0x10 +/* 194144 80265864 00021403 */ sra $v0, $v0, 0x10 +/* 194148 80265868 44820000 */ mtc1 $v0, $f0 +/* 19414C 8026586C 00000000 */ nop +/* 194150 80265870 46800020 */ cvt.s.w $f0, $f0 +/* 194154 80265874 E6000024 */ swc1 $f0, 0x24($s0) +/* 194158 80265878 90620007 */ lbu $v0, 7($v1) +/* 19415C 8026587C A600001A */ sh $zero, 0x1a($s0) +/* 194160 80265880 A600001C */ sh $zero, 0x1c($s0) +/* 194164 80265884 A600001E */ sh $zero, 0x1e($s0) +/* 194168 80265888 00021600 */ sll $v0, $v0, 0x18 +/* 19416C 8026588C 00021603 */ sra $v0, $v0, 0x18 +/* 194170 80265890 A6020018 */ sh $v0, 0x18($s0) +/* 194174 80265894 00021400 */ sll $v0, $v0, 0x10 +/* 194178 80265898 00021403 */ sra $v0, $v0, 0x10 +/* 19417C 8026589C 44820000 */ mtc1 $v0, $f0 +/* 194180 802658A0 00000000 */ nop +/* 194184 802658A4 46800020 */ cvt.s.w $f0, $f0 +/* 194188 802658A8 E6000028 */ swc1 $f0, 0x28($s0) +/* 19418C 802658AC C6200144 */ lwc1 $f0, 0x144($s1) +/* 194190 802658B0 E600002C */ swc1 $f0, 0x2c($s0) +/* 194194 802658B4 C6200148 */ lwc1 $f0, 0x148($s1) +/* 194198 802658B8 E6000030 */ swc1 $f0, 0x30($s0) +/* 19419C 802658BC C620014C */ lwc1 $f0, 0x14c($s1) +/* 1941A0 802658C0 E6000034 */ swc1 $f0, 0x34($s0) +/* 1941A4 802658C4 C6200144 */ lwc1 $f0, 0x144($s1) +/* 1941A8 802658C8 E6000058 */ swc1 $f0, 0x58($s0) +/* 1941AC 802658CC C6200148 */ lwc1 $f0, 0x148($s1) +/* 1941B0 802658D0 E600005C */ swc1 $f0, 0x5c($s0) +/* 1941B4 802658D4 C620014C */ lwc1 $f0, 0x14c($s1) +/* 1941B8 802658D8 E6000060 */ swc1 $f0, 0x60($s0) +/* 1941BC 802658DC 8C620010 */ lw $v0, 0x10($v1) +/* 1941C0 802658E0 AE020078 */ sw $v0, 0x78($s0) +/* 1941C4 802658E4 8C62000C */ lw $v0, 0xc($v1) +/* 1941C8 802658E8 AE020094 */ sw $v0, 0x94($s0) +/* 1941CC 802658EC 8C620014 */ lw $v0, 0x14($v1) +/* 1941D0 802658F0 AE02007C */ sw $v0, 0x7c($s0) +/* 1941D4 802658F4 8C620018 */ lw $v0, 0x18($v1) +/* 1941D8 802658F8 AE020080 */ sw $v0, 0x80($s0) +/* 1941DC 802658FC 9462000A */ lhu $v0, 0xa($v1) +/* 1941E0 80265900 A6020098 */ sh $v0, 0x98($s0) +/* 1941E4 80265904 00021400 */ sll $v0, $v0, 0x10 +/* 1941E8 80265908 00021403 */ sra $v0, $v0, 0x10 +/* 1941EC 8026590C 284200FF */ slti $v0, $v0, 0xff +/* 1941F0 80265910 10400002 */ beqz $v0, .L8026591C +/* 1941F4 80265914 24020022 */ addiu $v0, $zero, 0x22 +/* 1941F8 80265918 A6220434 */ sh $v0, 0x434($s1) +.L8026591C: +/* 1941FC 8026591C 92220191 */ lbu $v0, 0x191($s1) +/* 194200 80265920 A2020073 */ sb $v0, 0x73($s0) +/* 194204 80265924 92220190 */ lbu $v0, 0x190($s1) +/* 194208 80265928 AE000064 */ sw $zero, 0x64($s0) +/* 19420C 8026592C A2020072 */ sb $v0, 0x72($s0) +/* 194210 80265930 90620008 */ lbu $v0, 8($v1) +/* 194214 80265934 00021600 */ sll $v0, $v0, 0x18 +/* 194218 80265938 00021603 */ sra $v0, $v0, 0x18 +/* 19421C 8026593C A602006C */ sh $v0, 0x6c($s0) +/* 194220 80265940 90620009 */ lbu $v0, 9($v1) +/* 194224 80265944 A6000070 */ sh $zero, 0x70($s0) +/* 194228 80265948 00021600 */ sll $v0, $v0, 0x18 +/* 19422C 8026594C 00021603 */ sra $v0, $v0, 0x18 +/* 194230 80265950 A602006E */ sh $v0, 0x6e($s0) +/* 194234 80265954 9062001C */ lbu $v0, 0x1c($v1) +/* 194238 80265958 A2020075 */ sb $v0, 0x75($s0) +/* 19423C 8026595C 9063001D */ lbu $v1, 0x1d($v1) +/* 194240 80265960 24020001 */ addiu $v0, $zero, 1 +/* 194244 80265964 AE000038 */ sw $zero, 0x38($s0) +/* 194248 80265968 AE00003C */ sw $zero, 0x3c($s0) +/* 19424C 8026596C AE000040 */ sw $zero, 0x40($s0) +/* 194250 80265970 A6000044 */ sh $zero, 0x44($s0) +/* 194254 80265974 A6000046 */ sh $zero, 0x46($s0) +/* 194258 80265978 A6000048 */ sh $zero, 0x48($s0) +/* 19425C 8026597C E614004C */ swc1 $f20, 0x4c($s0) +/* 194260 80265980 E6140050 */ swc1 $f20, 0x50($s0) +/* 194264 80265984 E6140054 */ swc1 $f20, 0x54($s0) +/* 194268 80265988 A2020074 */ sb $v0, 0x74($s0) +/* 19426C 8026598C A6000068 */ sh $zero, 0x68($s0) +/* 194270 80265990 A600006A */ sh $zero, 0x6a($s0) +/* 194274 80265994 A2030076 */ sb $v1, 0x76($s0) +/* 194278 80265998 92230136 */ lbu $v1, 0x136($s1) +/* 19427C 8026599C 000310C0 */ sll $v0, $v1, 3 +/* 194280 802659A0 00431023 */ subu $v0, $v0, $v1 +/* 194284 802659A4 00021080 */ sll $v0, $v0, 2 +/* 194288 802659A8 00521021 */ addu $v0, $v0, $s2 +/* 19428C 802659AC 8C420000 */ lw $v0, ($v0) +/* 194290 802659B0 AE0200A4 */ sw $v0, 0xa4($s0) +/* 194294 802659B4 92230136 */ lbu $v1, 0x136($s1) +/* 194298 802659B8 000310C0 */ sll $v0, $v1, 3 +/* 19429C 802659BC 00431023 */ subu $v0, $v0, $v1 +/* 1942A0 802659C0 00021080 */ sll $v0, $v0, 2 +/* 1942A4 802659C4 00521021 */ addu $v0, $v0, $s2 +/* 1942A8 802659C8 8C420004 */ lw $v0, 4($v0) +/* 1942AC 802659CC AE0200A8 */ sw $v0, 0xa8($s0) +/* 1942B0 802659D0 92230136 */ lbu $v1, 0x136($s1) +/* 1942B4 802659D4 000310C0 */ sll $v0, $v1, 3 +/* 1942B8 802659D8 00431023 */ subu $v0, $v0, $v1 +/* 1942BC 802659DC 00021080 */ sll $v0, $v0, 2 +/* 1942C0 802659E0 00521021 */ addu $v0, $v0, $s2 +/* 1942C4 802659E4 8C420008 */ lw $v0, 8($v0) +/* 1942C8 802659E8 AE0200AC */ sw $v0, 0xac($s0) +/* 1942CC 802659EC 92230136 */ lbu $v1, 0x136($s1) +/* 1942D0 802659F0 000310C0 */ sll $v0, $v1, 3 +/* 1942D4 802659F4 00431023 */ subu $v0, $v0, $v1 +/* 1942D8 802659F8 00021080 */ sll $v0, $v0, 2 +/* 1942DC 802659FC 00521021 */ addu $v0, $v0, $s2 +/* 1942E0 80265A00 8C42000C */ lw $v0, 0xc($v0) +/* 1942E4 80265A04 AE0200B0 */ sw $v0, 0xb0($s0) +/* 1942E8 80265A08 92230136 */ lbu $v1, 0x136($s1) +/* 1942EC 80265A0C 000310C0 */ sll $v0, $v1, 3 +/* 1942F0 80265A10 00431023 */ subu $v0, $v0, $v1 +/* 1942F4 80265A14 00021080 */ sll $v0, $v0, 2 +/* 1942F8 80265A18 00521021 */ addu $v0, $v0, $s2 +/* 1942FC 80265A1C 8C420010 */ lw $v0, 0x10($v0) +/* 194300 80265A20 AE0200B4 */ sw $v0, 0xb4($s0) +/* 194304 80265A24 92230136 */ lbu $v1, 0x136($s1) +/* 194308 80265A28 000310C0 */ sll $v0, $v1, 3 +/* 19430C 80265A2C 00431023 */ subu $v0, $v0, $v1 +/* 194310 80265A30 00021080 */ sll $v0, $v0, 2 +/* 194314 80265A34 00521021 */ addu $v0, $v0, $s2 +/* 194318 80265A38 8C420014 */ lw $v0, 0x14($v0) +/* 19431C 80265A3C AE0200B8 */ sw $v0, 0xb8($s0) +/* 194320 80265A40 92230136 */ lbu $v1, 0x136($s1) +/* 194324 80265A44 000310C0 */ sll $v0, $v1, 3 +/* 194328 80265A48 00431023 */ subu $v0, $v0, $v1 +/* 19432C 80265A4C 00021080 */ sll $v0, $v0, 2 +/* 194330 80265A50 00521021 */ addu $v0, $v0, $s2 +/* 194334 80265A54 94420018 */ lhu $v0, 0x18($v0) +/* 194338 80265A58 A60200BC */ sh $v0, 0xbc($s0) +/* 19433C 80265A5C 92230136 */ lbu $v1, 0x136($s1) +/* 194340 80265A60 000310C0 */ sll $v0, $v1, 3 +/* 194344 80265A64 00431023 */ subu $v0, $v0, $v1 +/* 194348 80265A68 00021080 */ sll $v0, $v0, 2 +/* 19434C 80265A6C 00521021 */ addu $v0, $v0, $s2 +/* 194350 80265A70 9442001A */ lhu $v0, 0x1a($v0) +/* 194354 80265A74 8E030094 */ lw $v1, 0x94($s0) +/* 194358 80265A78 10600034 */ beqz $v1, .L80265B4C +/* 19435C 80265A7C A60200BE */ sh $v0, 0xbe($s0) +/* 194360 80265A80 8E020000 */ lw $v0, ($s0) +/* 194364 80265A84 30420002 */ andi $v0, $v0, 2 +/* 194368 80265A88 14400030 */ bnez $v0, .L80265B4C +/* 19436C 80265A8C 00000000 */ nop +/* 194370 80265A90 0C00AB39 */ jal heap_malloc +/* 194374 80265A94 240408E8 */ addiu $a0, $zero, 0x8e8 +/* 194378 80265A98 0040202D */ daddu $a0, $v0, $zero +/* 19437C 80265A9C 14800003 */ bnez $a0, .L80265AAC +/* 194380 80265AA0 AE0200C0 */ sw $v0, 0xc0($s0) +func_80265AA4: +/* 194384 80265AA4 080996A9 */ j func_80265AA4 +/* 194388 80265AA8 00000000 */ nop + +.L80265AAC: +/* 19438C 80265AAC 0000282D */ daddu $a1, $zero, $zero +/* 194390 80265AB0 0080182D */ daddu $v1, $a0, $zero +/* 194394 80265AB4 A08006C0 */ sb $zero, 0x6c0($a0) +/* 194398 80265AB8 A0800750 */ sb $zero, 0x750($a0) +/* 19439C 80265ABC A0800764 */ sb $zero, 0x764($a0) +/* 1943A0 80265AC0 A0800768 */ sb $zero, 0x768($a0) +/* 1943A4 80265AC4 A08007D8 */ sb $zero, 0x7d8($a0) +/* 1943A8 80265AC8 A08007D9 */ sb $zero, 0x7d9($a0) +.L80265ACC: +/* 1943AC 80265ACC C6200144 */ lwc1 $f0, 0x144($s1) +/* 1943B0 80265AD0 4600010D */ trunc.w.s $f4, $f0 +/* 1943B4 80265AD4 44022000 */ mfc1 $v0, $f4 +/* 1943B8 80265AD8 00000000 */ nop +/* 1943BC 80265ADC A46207FC */ sh $v0, 0x7fc($v1) +/* 1943C0 80265AE0 C6200148 */ lwc1 $f0, 0x148($s1) +/* 1943C4 80265AE4 4600010D */ trunc.w.s $f4, $f0 +/* 1943C8 80265AE8 44022000 */ mfc1 $v0, $f4 +/* 1943CC 80265AEC 00000000 */ nop +/* 1943D0 80265AF0 A462081C */ sh $v0, 0x81c($v1) +/* 1943D4 80265AF4 C620014C */ lwc1 $f0, 0x14c($s1) +/* 1943D8 80265AF8 24A50001 */ addiu $a1, $a1, 1 +/* 1943DC 80265AFC 4600010D */ trunc.w.s $f4, $f0 +/* 1943E0 80265B00 44022000 */ mfc1 $v0, $f4 +/* 1943E4 80265B04 00000000 */ nop +/* 1943E8 80265B08 A462083C */ sh $v0, 0x83c($v1) +/* 1943EC 80265B0C 28A20010 */ slti $v0, $a1, 0x10 +/* 1943F0 80265B10 1440FFEE */ bnez $v0, .L80265ACC +/* 1943F4 80265B14 24630002 */ addiu $v1, $v1, 2 +/* 1943F8 80265B18 0000282D */ daddu $a1, $zero, $zero +/* 1943FC 80265B1C 0080182D */ daddu $v1, $a0, $zero +/* 194400 80265B20 24020003 */ addiu $v0, $zero, 3 +/* 194404 80265B24 A08207DA */ sb $v0, 0x7da($a0) +/* 194408 80265B28 A08007DB */ sb $zero, 0x7db($a0) +/* 19440C 80265B2C A08008AC */ sb $zero, 0x8ac($a0) +.L80265B30: +/* 194410 80265B30 AC6008B0 */ sw $zero, 0x8b0($v1) +/* 194414 80265B34 00851021 */ addu $v0, $a0, $a1 +/* 194418 80265B38 24A50001 */ addiu $a1, $a1, 1 +/* 19441C 80265B3C A04008B8 */ sb $zero, 0x8b8($v0) +/* 194420 80265B40 28A20002 */ slti $v0, $a1, 2 +/* 194424 80265B44 1440FFFA */ bnez $v0, .L80265B30 +/* 194428 80265B48 24630004 */ addiu $v1, $v1, 4 +.L80265B4C: +/* 19442C 80265B4C 8E020000 */ lw $v0, ($s0) +/* 194430 80265B50 04400007 */ bltz $v0, .L80265B70 +/* 194434 80265B54 00000000 */ nop +/* 194438 80265B58 0C00AB39 */ jal heap_malloc +/* 19443C 80265B5C 2404008C */ addiu $a0, $zero, 0x8c +/* 194440 80265B60 14400003 */ bnez $v0, .L80265B70 +/* 194444 80265B64 AE020010 */ sw $v0, 0x10($s0) +func_80265B68: +/* 194448 80265B68 080996DA */ j func_80265B68 +/* 19444C 80265B6C 00000000 */ nop + +.L80265B70: +/* 194450 80265B70 8E220000 */ lw $v0, ($s1) +/* 194454 80265B74 30424000 */ andi $v0, $v0, 0x4000 +/* 194458 80265B78 10400004 */ beqz $v0, .L80265B8C +/* 19445C 80265B7C 00000000 */ nop +/* 194460 80265B80 8E020000 */ lw $v0, ($s0) +/* 194464 80265B84 34424000 */ ori $v0, $v0, 0x4000 +/* 194468 80265B88 AE020000 */ sw $v0, ($s0) +.L80265B8C: +/* 19446C 80265B8C 8E040094 */ lw $a0, 0x94($s0) +/* 194470 80265B90 2402FFFF */ addiu $v0, $zero, -1 +/* 194474 80265B94 E6140090 */ swc1 $f20, 0x90($s0) +/* 194478 80265B98 AE000088 */ sw $zero, 0x88($s0) +/* 19447C 80265B9C 1080000A */ beqz $a0, .L80265BC8 +/* 194480 80265BA0 AE020084 */ sw $v0, 0x84($s0) +/* 194484 80265BA4 0C09973A */ jal func_80265CE8 +/* 194488 80265BA8 24050001 */ addiu $a1, $zero, 1 +/* 19448C 80265BAC 3C037FFF */ lui $v1, 0x7fff +/* 194490 80265BB0 3463FFFF */ ori $v1, $v1, 0xffff +/* 194494 80265BB4 00432024 */ and $a0, $v0, $v1 +/* 194498 80265BB8 0000282D */ daddu $a1, $zero, $zero +/* 19449C 80265BBC 0C0B783B */ jal func_802DE0EC +/* 1944A0 80265BC0 AE040088 */ sw $a0, 0x88($s0) +/* 1944A4 80265BC4 AE020084 */ sw $v0, 0x84($s0) +.L80265BC8: +/* 1944A8 80265BC8 26620001 */ addiu $v0, $s3, 1 +/* 1944AC 80265BCC 0056102A */ slt $v0, $v0, $s6 +/* 1944B0 80265BD0 50400009 */ beql $v0, $zero, .L80265BF8 +/* 1944B4 80265BD4 AE00000C */ sw $zero, 0xc($s0) +/* 1944B8 80265BD8 0C00AB39 */ jal heap_malloc +/* 1944BC 80265BDC 240400C4 */ addiu $a0, $zero, 0xc4 +/* 1944C0 80265BE0 AE02000C */ sw $v0, 0xc($s0) +/* 1944C4 80265BE4 0040802D */ daddu $s0, $v0, $zero +/* 1944C8 80265BE8 56000003 */ bnezl $s0, .L80265BF8 +/* 1944CC 80265BEC AE00000C */ sw $zero, 0xc($s0) +func_80265BF0: +/* 1944D0 80265BF0 080996FC */ j func_80265BF0 +/* 1944D4 80265BF4 00000000 */ nop + +.L80265BF8: +/* 1944D8 80265BF8 26730001 */ addiu $s3, $s3, 1 +/* 1944DC 80265BFC 0276102A */ slt $v0, $s3, $s6 +/* 1944E0 80265C00 1440FF01 */ bnez $v0, .L80265808 +/* 1944E4 80265C04 26B50024 */ addiu $s5, $s5, 0x24 +.L80265C08: +/* 1944E8 80265C08 2405000A */ addiu $a1, $zero, 0xa +/* 1944EC 80265C0C 0000302D */ daddu $a2, $zero, $zero +/* 1944F0 80265C10 8E2401C4 */ lw $a0, 0x1c4($s1) +/* 1944F4 80265C14 922201F2 */ lbu $v0, 0x1f2($s1) +/* 1944F8 80265C18 24030019 */ addiu $v1, $zero, 0x19 +/* 1944FC 80265C1C A22301BC */ sb $v1, 0x1bc($s1) +/* 194500 80265C20 00021600 */ sll $v0, $v0, 0x18 +/* 194504 80265C24 00021603 */ sra $v0, $v0, 0x18 +/* 194508 80265C28 34420200 */ ori $v0, $v0, 0x200 +/* 19450C 80265C2C 0C0B0CF8 */ jal start_script +/* 194510 80265C30 A6220192 */ sh $v0, 0x192($s1) +/* 194514 80265C34 822301F2 */ lb $v1, 0x1f2($s1) +/* 194518 80265C38 8C440144 */ lw $a0, 0x144($v0) +/* 19451C 80265C3C 34630200 */ ori $v1, $v1, 0x200 +/* 194520 80265C40 AE2401E4 */ sw $a0, 0x1e4($s1) +/* 194524 80265C44 AC430148 */ sw $v1, 0x148($v0) +/* 194528 80265C48 8E250144 */ lw $a1, 0x144($s1) +/* 19452C 80265C4C 8E260148 */ lw $a2, 0x148($s1) +/* 194530 80265C50 8E27014C */ lw $a3, 0x14c($s1) +/* 194534 80265C54 0C044898 */ jal create_shadow_type +/* 194538 80265C58 0000202D */ daddu $a0, $zero, $zero +/* 19453C 80265C5C 3C05C30E */ lui $a1, 0xc30e +/* 194540 80265C60 3C064208 */ lui $a2, 0x4208 +/* 194544 80265C64 3C073F80 */ lui $a3, 0x3f80 +/* 194548 80265C68 0000202D */ daddu $a0, $zero, $zero +/* 19454C 80265C6C AE22042C */ sw $v0, 0x42c($s1) +/* 194550 80265C70 92220190 */ lbu $v0, 0x190($s1) +/* 194554 80265C74 3C014038 */ lui $at, 0x4038 +/* 194558 80265C78 44811800 */ mtc1 $at, $f3 +/* 19455C 80265C7C 44801000 */ mtc1 $zero, $f2 +/* 194560 80265C80 44820000 */ mtc1 $v0, $f0 +/* 194564 80265C84 00000000 */ nop +/* 194568 80265C88 46800021 */ cvt.d.w $f0, $f0 +/* 19456C 80265C8C 46220003 */ div.d $f0, $f0, $f2 +/* 194570 80265C90 46200020 */ cvt.s.d $f0, $f0 +/* 194574 80265C94 E6200430 */ swc1 $f0, 0x430($s1) +/* 194578 80265C98 0C01C43C */ jal func_800710F0 +/* 19457C 80265C9C AFA00010 */ sw $zero, 0x10($sp) +/* 194580 80265CA0 AE220440 */ sw $v0, 0x440($s1) +/* 194584 80265CA4 0C011D82 */ jal func_80047608 +/* 194588 80265CA8 AE200228 */ sw $zero, 0x228($s1) +/* 19458C 80265CAC A6220436 */ sh $v0, 0x436($s1) +/* 194590 80265CB0 0220102D */ daddu $v0, $s1, $zero +/* 194594 80265CB4 8FBF0034 */ lw $ra, 0x34($sp) +/* 194598 80265CB8 8FB60030 */ lw $s6, 0x30($sp) +/* 19459C 80265CBC 8FB5002C */ lw $s5, 0x2c($sp) +/* 1945A0 80265CC0 8FB40028 */ lw $s4, 0x28($sp) +/* 1945A4 80265CC4 8FB30024 */ lw $s3, 0x24($sp) +/* 1945A8 80265CC8 8FB20020 */ lw $s2, 0x20($sp) +/* 1945AC 80265CCC 8FB1001C */ lw $s1, 0x1c($sp) +/* 1945B0 80265CD0 8FB00018 */ lw $s0, 0x18($sp) +/* 1945B4 80265CD4 D7B80048 */ ldc1 $f24, 0x48($sp) +/* 1945B8 80265CD8 D7B60040 */ ldc1 $f22, 0x40($sp) +/* 1945BC 80265CDC D7B40038 */ ldc1 $f20, 0x38($sp) +/* 1945C0 80265CE0 03E00008 */ jr $ra +/* 1945C4 80265CE4 27BD0050 */ addiu $sp, $sp, 0x50 + +func_80265CE8: +/* 1945C8 80265CE8 14800006 */ bnez $a0, .L80265D04 +/* 1945CC 80265CEC 0000102D */ daddu $v0, $zero, $zero +/* 1945D0 80265CF0 03E00008 */ jr $ra +/* 1945D4 80265CF4 00000000 */ nop + +.L80265CF8: +/* 1945D8 80265CF8 8C830004 */ lw $v1, 4($a0) +/* 1945DC 80265CFC 03E00008 */ jr $ra +/* 1945E0 80265D00 0060102D */ daddu $v0, $v1, $zero + +.L80265D04: +/* 1945E4 80265D04 8C820000 */ lw $v0, ($a0) +/* 1945E8 80265D08 1040000C */ beqz $v0, .L80265D3C +/* 1945EC 80265D0C 0000182D */ daddu $v1, $zero, $zero +/* 1945F0 80265D10 24060001 */ addiu $a2, $zero, 1 +/* 1945F4 80265D14 8C820000 */ lw $v0, ($a0) +.L80265D18: +/* 1945F8 80265D18 14460002 */ bne $v0, $a2, .L80265D24 +/* 1945FC 80265D1C 00000000 */ nop +/* 194600 80265D20 8C830004 */ lw $v1, 4($a0) +.L80265D24: +/* 194604 80265D24 1045FFF4 */ beq $v0, $a1, .L80265CF8 +/* 194608 80265D28 00000000 */ nop +/* 19460C 80265D2C 24840008 */ addiu $a0, $a0, 8 +/* 194610 80265D30 8C820000 */ lw $v0, ($a0) +/* 194614 80265D34 1440FFF8 */ bnez $v0, .L80265D18 +/* 194618 80265D38 00000000 */ nop +.L80265D3C: +/* 19461C 80265D3C 03E00008 */ jr $ra +/* 194620 80265D40 0060102D */ daddu $v0, $v1, $zero + +func_80265D44: +/* 194624 80265D44 3C03800E */ lui $v1, 0x800e +/* 194628 80265D48 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 19462C 80265D4C 8C6600D8 */ lw $a2, 0xd8($v1) +/* 194630 80265D50 8CC201F4 */ lw $v0, 0x1f4($a2) +/* 194634 80265D54 8C450094 */ lw $a1, 0x94($v0) +/* 194638 80265D58 14A00006 */ bnez $a1, .L80265D74 +/* 19463C 80265D5C 0000102D */ daddu $v0, $zero, $zero +/* 194640 80265D60 03E00008 */ jr $ra +/* 194644 80265D64 00000000 */ nop + +.L80265D68: +/* 194648 80265D68 8CA70004 */ lw $a3, 4($a1) +/* 19464C 80265D6C 03E00008 */ jr $ra +/* 194650 80265D70 00E0102D */ daddu $v0, $a3, $zero + +.L80265D74: +/* 194654 80265D74 8C620004 */ lw $v0, 4($v1) +/* 194658 80265D78 30420040 */ andi $v0, $v0, 0x40 +/* 19465C 80265D7C 14400022 */ bnez $v0, .L80265E08 +/* 194660 80265D80 0000382D */ daddu $a3, $zero, $zero +/* 194664 80265D84 3C028011 */ lui $v0, 0x8011 +/* 194668 80265D88 2442F290 */ addiu $v0, $v0, -0xd70 +/* 19466C 80265D8C 80420002 */ lb $v0, 2($v0) +/* 194670 80265D90 28420006 */ slti $v0, $v0, 6 +/* 194674 80265D94 10400009 */ beqz $v0, .L80265DBC +/* 194678 80265D98 24020001 */ addiu $v0, $zero, 1 +/* 19467C 80265D9C 50820001 */ beql $a0, $v0, .L80265DA4 +/* 194680 80265DA0 2404001A */ addiu $a0, $zero, 0x1a +.L80265DA4: +/* 194684 80265DA4 24020012 */ addiu $v0, $zero, 0x12 +/* 194688 80265DA8 50820001 */ beql $a0, $v0, .L80265DB0 +/* 19468C 80265DAC 24040016 */ addiu $a0, $zero, 0x16 +.L80265DB0: +/* 194690 80265DB0 2402001C */ addiu $v0, $zero, 0x1c +/* 194694 80265DB4 50820001 */ beql $a0, $v0, .L80265DBC +/* 194698 80265DB8 2404001D */ addiu $a0, $zero, 0x1d +.L80265DBC: +/* 19469C 80265DBC 80C30210 */ lb $v1, 0x210($a2) +/* 1946A0 80265DC0 24020009 */ addiu $v0, $zero, 9 +/* 1946A4 80265DC4 1462000C */ bne $v1, $v0, .L80265DF8 +/* 1946A8 80265DC8 24020004 */ addiu $v0, $zero, 4 +/* 1946AC 80265DCC 24020001 */ addiu $v0, $zero, 1 +/* 1946B0 80265DD0 50820001 */ beql $a0, $v0, .L80265DD8 +/* 1946B4 80265DD4 2404001A */ addiu $a0, $zero, 0x1a +.L80265DD8: +/* 1946B8 80265DD8 24020012 */ addiu $v0, $zero, 0x12 +/* 1946BC 80265DDC 50820001 */ beql $a0, $v0, .L80265DE4 +/* 1946C0 80265DE0 24040016 */ addiu $a0, $zero, 0x16 +.L80265DE4: +/* 1946C4 80265DE4 2402001C */ addiu $v0, $zero, 0x1c +/* 1946C8 80265DE8 50820001 */ beql $a0, $v0, .L80265DF0 +/* 1946CC 80265DEC 2404001D */ addiu $a0, $zero, 0x1d +.L80265DF0: +/* 1946D0 80265DF0 80C30210 */ lb $v1, 0x210($a2) +/* 1946D4 80265DF4 24020004 */ addiu $v0, $zero, 4 +.L80265DF8: +/* 1946D8 80265DF8 14620003 */ bne $v1, $v0, .L80265E08 +/* 1946DC 80265DFC 24020012 */ addiu $v0, $zero, 0x12 +/* 1946E0 80265E00 50820001 */ beql $a0, $v0, .L80265E08 +/* 1946E4 80265E04 24040018 */ addiu $a0, $zero, 0x18 +.L80265E08: +/* 1946E8 80265E08 8CA20000 */ lw $v0, ($a1) +/* 1946EC 80265E0C 1040000B */ beqz $v0, .L80265E3C +/* 1946F0 80265E10 24030001 */ addiu $v1, $zero, 1 +/* 1946F4 80265E14 8CA20000 */ lw $v0, ($a1) +.L80265E18: +/* 1946F8 80265E18 14430002 */ bne $v0, $v1, .L80265E24 +/* 1946FC 80265E1C 00000000 */ nop +/* 194700 80265E20 8CA70004 */ lw $a3, 4($a1) +.L80265E24: +/* 194704 80265E24 1044FFD0 */ beq $v0, $a0, .L80265D68 +/* 194708 80265E28 00000000 */ nop +/* 19470C 80265E2C 24A50008 */ addiu $a1, $a1, 8 +/* 194710 80265E30 8CA20000 */ lw $v0, ($a1) +/* 194714 80265E34 1440FFF8 */ bnez $v0, .L80265E18 +/* 194718 80265E38 00000000 */ nop +.L80265E3C: +/* 19471C 80265E3C 03E00008 */ jr $ra +/* 194720 80265E40 00E0102D */ daddu $v0, $a3, $zero + +lookup_defense: +/* 194724 80265E44 0080182D */ daddu $v1, $a0, $zero +/* 194728 80265E48 8C620000 */ lw $v0, ($v1) +/* 19472C 80265E4C 1040000F */ beqz $v0, .L80265E8C +/* 194730 80265E50 0000302D */ daddu $a2, $zero, $zero +/* 194734 80265E54 24070001 */ addiu $a3, $zero, 1 +/* 194738 80265E58 24840004 */ addiu $a0, $a0, 4 +/* 19473C 80265E5C 8C620000 */ lw $v0, ($v1) +.L80265E60: +/* 194740 80265E60 14470002 */ bne $v0, $a3, .L80265E6C +/* 194744 80265E64 00000000 */ nop +/* 194748 80265E68 8C860000 */ lw $a2, ($a0) +.L80265E6C: +/* 19474C 80265E6C 14450004 */ bne $v0, $a1, .L80265E80 +/* 194750 80265E70 24630008 */ addiu $v1, $v1, 8 +/* 194754 80265E74 8C860000 */ lw $a2, ($a0) +/* 194758 80265E78 03E00008 */ jr $ra +/* 19475C 80265E7C 00C0102D */ daddu $v0, $a2, $zero + +.L80265E80: +/* 194760 80265E80 8C620000 */ lw $v0, ($v1) +/* 194764 80265E84 1440FFF6 */ bnez $v0, .L80265E60 +/* 194768 80265E88 24840008 */ addiu $a0, $a0, 8 +.L80265E8C: +/* 19476C 80265E8C 00C0102D */ daddu $v0, $a2, $zero +/* 194770 80265E90 03E00008 */ jr $ra +/* 194774 80265E94 00000000 */ nop + +lookup_status_chance: +/* 194778 80265E98 0080182D */ daddu $v1, $a0, $zero +/* 19477C 80265E9C 8C620000 */ lw $v0, ($v1) +/* 194780 80265EA0 1040000F */ beqz $v0, .L80265EE0 +/* 194784 80265EA4 0000302D */ daddu $a2, $zero, $zero +/* 194788 80265EA8 24070002 */ addiu $a3, $zero, 2 +/* 19478C 80265EAC 24840004 */ addiu $a0, $a0, 4 +/* 194790 80265EB0 8C620000 */ lw $v0, ($v1) +.L80265EB4: +/* 194794 80265EB4 14470002 */ bne $v0, $a3, .L80265EC0 +/* 194798 80265EB8 00000000 */ nop +/* 19479C 80265EBC 8C860000 */ lw $a2, ($a0) +.L80265EC0: +/* 1947A0 80265EC0 14450004 */ bne $v0, $a1, .L80265ED4 +/* 1947A4 80265EC4 24630008 */ addiu $v1, $v1, 8 +/* 1947A8 80265EC8 8C860000 */ lw $a2, ($a0) +/* 1947AC 80265ECC 03E00008 */ jr $ra +/* 1947B0 80265ED0 00C0102D */ daddu $v0, $a2, $zero + +.L80265ED4: +/* 1947B4 80265ED4 8C620000 */ lw $v0, ($v1) +/* 1947B8 80265ED8 1440FFF6 */ bnez $v0, .L80265EB4 +/* 1947BC 80265EDC 24840008 */ addiu $a0, $a0, 8 +.L80265EE0: +/* 1947C0 80265EE0 00C0102D */ daddu $v0, $a2, $zero +/* 1947C4 80265EE4 03E00008 */ jr $ra +/* 1947C8 80265EE8 00000000 */ nop + +lookup_status_duration_mod: +/* 1947CC 80265EEC 0080182D */ daddu $v1, $a0, $zero +/* 1947D0 80265EF0 8C620000 */ lw $v0, ($v1) +/* 1947D4 80265EF4 1040000F */ beqz $v0, .L80265F34 +/* 1947D8 80265EF8 0000302D */ daddu $a2, $zero, $zero +/* 1947DC 80265EFC 2407001F */ addiu $a3, $zero, 0x1f +/* 1947E0 80265F00 24840004 */ addiu $a0, $a0, 4 +/* 1947E4 80265F04 8C620000 */ lw $v0, ($v1) +.L80265F08: +/* 1947E8 80265F08 14470002 */ bne $v0, $a3, .L80265F14 +/* 1947EC 80265F0C 00000000 */ nop +/* 1947F0 80265F10 8C860000 */ lw $a2, ($a0) +.L80265F14: +/* 1947F4 80265F14 14450004 */ bne $v0, $a1, .L80265F28 +/* 1947F8 80265F18 24630008 */ addiu $v1, $v1, 8 +/* 1947FC 80265F1C 8C860000 */ lw $a2, ($a0) +/* 194800 80265F20 03E00008 */ jr $ra +/* 194804 80265F24 00C0102D */ daddu $v0, $a2, $zero + +.L80265F28: +/* 194808 80265F28 8C620000 */ lw $v0, ($v1) +/* 19480C 80265F2C 1440FFF6 */ bnez $v0, .L80265F08 +/* 194810 80265F30 24840008 */ addiu $a0, $a0, 8 +.L80265F34: +/* 194814 80265F34 00C0102D */ daddu $v0, $a2, $zero +/* 194818 80265F38 03E00008 */ jr $ra +/* 19481C 80265F3C 00000000 */ nop + +inflict_status: +/* 194820 80265F40 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 194824 80265F44 AFB00018 */ sw $s0, 0x18($sp) +/* 194828 80265F48 0080802D */ daddu $s0, $a0, $zero +/* 19482C 80265F4C AFB1001C */ sw $s1, 0x1c($sp) +/* 194830 80265F50 00A0882D */ daddu $s1, $a1, $zero +/* 194834 80265F54 AFB20020 */ sw $s2, 0x20($sp) +/* 194838 80265F58 00C0902D */ daddu $s2, $a2, $zero +/* 19483C 80265F5C 2E22000F */ sltiu $v0, $s1, 0xf +/* 194840 80265F60 104000B5 */ beqz $v0, .L80266238 +/* 194844 80265F64 AFBF0024 */ sw $ra, 0x24($sp) +/* 194848 80265F68 00111080 */ sll $v0, $s1, 2 +/* 19484C 80265F6C 3C01802A */ lui $at, 0x802a +/* 194850 80265F70 00220821 */ addu $at, $at, $v0 +/* 194854 80265F74 8C22D5E0 */ lw $v0, -0x2a20($at) +/* 194858 80265F78 00400008 */ jr $v0 +/* 19485C 80265F7C 00000000 */ nop +/* 194860 80265F80 86020192 */ lh $v0, 0x192($s0) +/* 194864 80265F84 1440000E */ bnez $v0, .L80265FC0 +/* 194868 80265F88 00000000 */ nop +/* 19486C 80265F8C 0C03A752 */ jal is_ability_active +/* 194870 80265F90 2404000E */ addiu $a0, $zero, 0xe +/* 194874 80265F94 144000A9 */ bnez $v0, .L8026623C +/* 194878 80265F98 0000102D */ daddu $v0, $zero, $zero +/* 19487C 80265F9C 0C03A752 */ jal is_ability_active +/* 194880 80265FA0 24040015 */ addiu $a0, $zero, 0x15 +/* 194884 80265FA4 144000A5 */ bnez $v0, .L8026623C +/* 194888 80265FA8 0000102D */ daddu $v0, $zero, $zero +/* 19488C 80265FAC 3C02800E */ lui $v0, 0x800e +/* 194890 80265FB0 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 194894 80265FB4 8042008B */ lb $v0, 0x8b($v0) +/* 194898 80265FB8 144000A0 */ bnez $v0, .L8026623C +/* 19489C 80265FBC 0000102D */ daddu $v0, $zero, $zero +.L80265FC0: +/* 1948A0 80265FC0 86030192 */ lh $v1, 0x192($s0) +/* 1948A4 80265FC4 24020100 */ addiu $v0, $zero, 0x100 +/* 1948A8 80265FC8 1062009C */ beq $v1, $v0, .L8026623C +/* 1948AC 80265FCC 24020001 */ addiu $v0, $zero, 1 +/* 1948B0 80265FD0 82020210 */ lb $v0, 0x210($s0) +/* 1948B4 80265FD4 54510001 */ bnel $v0, $s1, .L80265FDC +/* 1948B8 80265FD8 A211021C */ sb $s1, 0x21c($s0) +.L80265FDC: +/* 1948BC 80265FDC 8E020440 */ lw $v0, 0x440($s0) +/* 1948C0 80265FE0 8C42000C */ lw $v0, 0xc($v0) +/* 1948C4 80265FE4 AC40003C */ sw $zero, 0x3c($v0) +/* 1948C8 80265FE8 00121600 */ sll $v0, $s2, 0x18 +/* 1948CC 80265FEC 00021603 */ sra $v0, $v0, 0x18 +/* 1948D0 80265FF0 2842000A */ slti $v0, $v0, 0xa +/* 1948D4 80265FF4 A2110210 */ sb $s1, 0x210($s0) +/* 1948D8 80265FF8 14400003 */ bnez $v0, .L80266008 +/* 1948DC 80265FFC A2120211 */ sb $s2, 0x211($s0) +/* 1948E0 80266000 24020009 */ addiu $v0, $zero, 9 +/* 1948E4 80266004 A2020211 */ sb $v0, 0x211($s0) +.L80266008: +/* 1948E8 80266008 2625FFFD */ addiu $a1, $s1, -3 +/* 1948EC 8026600C 2CA20008 */ sltiu $v0, $a1, 8 +/* 1948F0 80266010 10400089 */ beqz $v0, .L80266238 +/* 1948F4 80266014 00051080 */ sll $v0, $a1, 2 +/* 1948F8 80266018 3C01802A */ lui $at, 0x802a +/* 1948FC 8026601C 00220821 */ addu $at, $at, $v0 +/* 194900 80266020 8C22D620 */ lw $v0, -0x29e0($at) +/* 194904 80266024 00400008 */ jr $v0 +/* 194908 80266028 00000000 */ nop +/* 19490C 8026602C 86030192 */ lh $v1, 0x192($s0) +/* 194910 80266030 24020100 */ addiu $v0, $zero, 0x100 +/* 194914 80266034 10620081 */ beq $v1, $v0, .L8026623C +/* 194918 80266038 24020001 */ addiu $v0, $zero, 1 +/* 19491C 8026603C 8E030228 */ lw $v1, 0x228($s0) +/* 194920 80266040 10600004 */ beqz $v1, .L80266054 +/* 194924 80266044 00000000 */ nop +/* 194928 80266048 8C620000 */ lw $v0, ($v1) +/* 19492C 8026604C 34420010 */ ori $v0, $v0, 0x10 +/* 194930 80266050 AC620000 */ sw $v0, ($v1) +.L80266054: +/* 194934 80266054 3C013F80 */ lui $at, 0x3f80 +/* 194938 80266058 44810000 */ mtc1 $at, $f0 +/* 19493C 8026605C AFA00014 */ sw $zero, 0x14($sp) +/* 194940 80266060 E7A00010 */ swc1 $f0, 0x10($sp) +/* 194944 80266064 8E050144 */ lw $a1, 0x144($s0) +/* 194948 80266068 8E060148 */ lw $a2, 0x148($s0) +/* 19494C 8026606C 8E07014C */ lw $a3, 0x14c($s0) +/* 194950 80266070 0C01CA3C */ jal func_800728F0 +/* 194954 80266074 0000202D */ daddu $a0, $zero, $zero +/* 194958 80266078 86040436 */ lh $a0, 0x436($s0) +/* 19495C 8026607C 24050007 */ addiu $a1, $zero, 7 +/* 194960 80266080 0C011E08 */ jal func_80047820 +/* 194964 80266084 AE020228 */ sw $v0, 0x228($s0) +/* 194968 80266088 0809988F */ j func_8026623C +/* 19496C 8026608C 24020001 */ addiu $v0, $zero, 1 + +/* 194970 80266090 0200202D */ daddu $a0, $s0, $zero +/* 194974 80266094 0C099B6B */ jal func_80266DAC +/* 194978 80266098 24050003 */ addiu $a1, $zero, 3 +/* 19497C 8026609C 86040436 */ lh $a0, 0x436($s0) +/* 194980 802660A0 0C011E08 */ jal func_80047820 +/* 194984 802660A4 24050006 */ addiu $a1, $zero, 6 +/* 194988 802660A8 0809988F */ j func_8026623C +/* 19498C 802660AC 24020001 */ addiu $v0, $zero, 1 + +/* 194990 802660B0 0200202D */ daddu $a0, $s0, $zero +/* 194994 802660B4 0C099B6B */ jal func_80266DAC +/* 194998 802660B8 24050007 */ addiu $a1, $zero, 7 +/* 19499C 802660BC 86040436 */ lh $a0, 0x436($s0) +/* 1949A0 802660C0 0C011E08 */ jal func_80047820 +/* 1949A4 802660C4 24050005 */ addiu $a1, $zero, 5 +/* 1949A8 802660C8 0809988F */ j func_8026623C +/* 1949AC 802660CC 24020001 */ addiu $v0, $zero, 1 + +/* 1949B0 802660D0 86040436 */ lh $a0, 0x436($s0) +/* 1949B4 802660D4 0C011E08 */ jal func_80047820 +/* 1949B8 802660D8 24050004 */ addiu $a1, $zero, 4 +/* 1949BC 802660DC 0809988F */ j func_8026623C +/* 1949C0 802660E0 24020001 */ addiu $v0, $zero, 1 + +/* 1949C4 802660E4 0200202D */ daddu $a0, $s0, $zero +/* 1949C8 802660E8 0C099B6B */ jal func_80266DAC +/* 1949CC 802660EC 24050005 */ addiu $a1, $zero, 5 +/* 1949D0 802660F0 86040436 */ lh $a0, 0x436($s0) +/* 1949D4 802660F4 0C011E08 */ jal func_80047820 +/* 1949D8 802660F8 24050003 */ addiu $a1, $zero, 3 +/* 1949DC 802660FC 0809988F */ j func_8026623C +/* 1949E0 80266100 24020001 */ addiu $v0, $zero, 1 + +/* 1949E4 80266104 0200202D */ daddu $a0, $s0, $zero +/* 1949E8 80266108 0C099B6B */ jal func_80266DAC +/* 1949EC 8026610C 24050006 */ addiu $a1, $zero, 6 +/* 1949F0 80266110 86040436 */ lh $a0, 0x436($s0) +/* 1949F4 80266114 0C011E08 */ jal func_80047820 +/* 1949F8 80266118 24050009 */ addiu $a1, $zero, 9 +/* 1949FC 8026611C 0809988F */ j func_8026623C +/* 194A00 80266120 24020001 */ addiu $v0, $zero, 1 + +/* 194A04 80266124 86040436 */ lh $a0, 0x436($s0) +/* 194A08 80266128 0C011E08 */ jal func_80047820 +/* 194A0C 8026612C 2405000A */ addiu $a1, $zero, 0xa +/* 194A10 80266130 0809988F */ j func_8026623C +/* 194A14 80266134 24020001 */ addiu $v0, $zero, 1 + +/* 194A18 80266138 86030192 */ lh $v1, 0x192($s0) +/* 194A1C 8026613C 24020100 */ addiu $v0, $zero, 0x100 +/* 194A20 80266140 1062003D */ beq $v1, $v0, .L80266238 +/* 194A24 80266144 00121600 */ sll $v0, $s2, 0x18 +/* 194A28 80266148 00021603 */ sra $v0, $v0, 0x18 +/* 194A2C 8026614C 2842000A */ slti $v0, $v0, 0xa +/* 194A30 80266150 A2110212 */ sb $s1, 0x212($s0) +/* 194A34 80266154 14400003 */ bnez $v0, .L80266164 +/* 194A38 80266158 A2120213 */ sb $s2, 0x213($s0) +/* 194A3C 8026615C 24020009 */ addiu $v0, $zero, 9 +/* 194A40 80266160 A2020213 */ sb $v0, 0x213($s0) +.L80266164: +/* 194A44 80266164 0200202D */ daddu $a0, $s0, $zero +/* 194A48 80266168 24050004 */ addiu $a1, $zero, 4 +/* 194A4C 8026616C 2402000B */ addiu $v0, $zero, 0xb +/* 194A50 80266170 0C099B6B */ jal func_80266DAC +/* 194A54 80266174 A202021C */ sb $v0, 0x21c($s0) +/* 194A58 80266178 86040436 */ lh $a0, 0x436($s0) +/* 194A5C 8026617C 0C011E4A */ jal func_80047928 +/* 194A60 80266180 2405000B */ addiu $a1, $zero, 0xb +/* 194A64 80266184 0809988F */ j func_8026623C +/* 194A68 80266188 24020001 */ addiu $v0, $zero, 1 + +/* 194A6C 8026618C 86030192 */ lh $v1, 0x192($s0) +/* 194A70 80266190 24020100 */ addiu $v0, $zero, 0x100 +/* 194A74 80266194 10620028 */ beq $v1, $v0, .L80266238 +/* 194A78 80266198 2403000C */ addiu $v1, $zero, 0xc +/* 194A7C 8026619C 00121600 */ sll $v0, $s2, 0x18 +/* 194A80 802661A0 00021603 */ sra $v0, $v0, 0x18 +/* 194A84 802661A4 2842000A */ slti $v0, $v0, 0xa +/* 194A88 802661A8 A2030214 */ sb $v1, 0x214($s0) +/* 194A8C 802661AC 14400010 */ bnez $v0, .L802661F0 +/* 194A90 802661B0 A2120215 */ sb $s2, 0x215($s0) +/* 194A94 802661B4 24020009 */ addiu $v0, $zero, 9 +/* 194A98 802661B8 0809987C */ j func_802661F0 +/* 194A9C 802661BC A2020215 */ sb $v0, 0x215($s0) + +/* 194AA0 802661C0 82020216 */ lb $v0, 0x216($s0) +/* 194AA4 802661C4 0051102A */ slt $v0, $v0, $s1 +/* 194AA8 802661C8 1040001B */ beqz $v0, .L80266238 +/* 194AAC 802661CC 2403000D */ addiu $v1, $zero, 0xd +/* 194AB0 802661D0 00121600 */ sll $v0, $s2, 0x18 +/* 194AB4 802661D4 00021603 */ sra $v0, $v0, 0x18 +/* 194AB8 802661D8 2842000A */ slti $v0, $v0, 0xa +/* 194ABC 802661DC A2030216 */ sb $v1, 0x216($s0) +/* 194AC0 802661E0 14400003 */ bnez $v0, .L802661F0 +/* 194AC4 802661E4 A2120217 */ sb $s2, 0x217($s0) +/* 194AC8 802661E8 24020009 */ addiu $v0, $zero, 9 +/* 194ACC 802661EC A2020217 */ sb $v0, 0x217($s0) +func_802661F0: +.L802661F0: +/* 194AD0 802661F0 0809988E */ j func_80266238 +/* 194AD4 802661F4 A203021C */ sb $v1, 0x21c($s0) + +/* 194AD8 802661F8 86030192 */ lh $v1, 0x192($s0) +/* 194ADC 802661FC 24020100 */ addiu $v0, $zero, 0x100 +/* 194AE0 80266200 1062000D */ beq $v1, $v0, .L80266238 +/* 194AE4 80266204 2403000E */ addiu $v1, $zero, 0xe +/* 194AE8 80266208 00121600 */ sll $v0, $s2, 0x18 +/* 194AEC 8026620C 00021603 */ sra $v0, $v0, 0x18 +/* 194AF0 80266210 2842000A */ slti $v0, $v0, 0xa +/* 194AF4 80266214 A2030218 */ sb $v1, 0x218($s0) +/* 194AF8 80266218 14400003 */ bnez $v0, .L80266228 +/* 194AFC 8026621C A2120219 */ sb $s2, 0x219($s0) +/* 194B00 80266220 24020009 */ addiu $v0, $zero, 9 +/* 194B04 80266224 A2020219 */ sb $v0, 0x219($s0) +.L80266228: +/* 194B08 80266228 86040436 */ lh $a0, 0x436($s0) +/* 194B0C 8026622C 2405000E */ addiu $a1, $zero, 0xe +/* 194B10 80266230 0C011E8C */ jal func_80047A30 +/* 194B14 80266234 A203021C */ sb $v1, 0x21c($s0) +func_80266238: +.L80266238: +/* 194B18 80266238 24020001 */ addiu $v0, $zero, 1 +func_8026623C: +.L8026623C: +/* 194B1C 8026623C 8FBF0024 */ lw $ra, 0x24($sp) +/* 194B20 80266240 8FB20020 */ lw $s2, 0x20($sp) +/* 194B24 80266244 8FB1001C */ lw $s1, 0x1c($sp) +/* 194B28 80266248 8FB00018 */ lw $s0, 0x18($sp) +/* 194B2C 8026624C 03E00008 */ jr $ra +/* 194B30 80266250 27BD0028 */ addiu $sp, $sp, 0x28 + +inflict_partner_ko: +/* 194B34 80266254 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 194B38 80266258 2402000D */ addiu $v0, $zero, 0xd +/* 194B3C 8026625C 14A20013 */ bne $a1, $v0, .L802662AC +/* 194B40 80266260 AFBF0010 */ sw $ra, 0x10($sp) +/* 194B44 80266264 80820216 */ lb $v0, 0x216($a0) +/* 194B48 80266268 10450007 */ beq $v0, $a1, .L80266288 +/* 194B4C 8026626C 00000000 */ nop +/* 194B50 80266270 0C0997D0 */ jal inflict_status +/* 194B54 80266274 2405000D */ addiu $a1, $zero, 0xd +/* 194B58 80266278 0C05272D */ jal play_sound +/* 194B5C 8026627C 24042107 */ addiu $a0, $zero, 0x2107 +/* 194B60 80266280 080998AB */ j func_802662AC +/* 194B64 80266284 00000000 */ nop + +.L80266288: +/* 194B68 80266288 90820217 */ lbu $v0, 0x217($a0) +/* 194B6C 8026628C 00461021 */ addu $v0, $v0, $a2 +/* 194B70 80266290 A0820217 */ sb $v0, 0x217($a0) +/* 194B74 80266294 00021600 */ sll $v0, $v0, 0x18 +/* 194B78 80266298 00021603 */ sra $v0, $v0, 0x18 +/* 194B7C 8026629C 2842000A */ slti $v0, $v0, 0xa +/* 194B80 802662A0 14400002 */ bnez $v0, .L802662AC +/* 194B84 802662A4 24020009 */ addiu $v0, $zero, 9 +/* 194B88 802662A8 A0820217 */ sb $v0, 0x217($a0) +func_802662AC: +.L802662AC: +/* 194B8C 802662AC 8FBF0010 */ lw $ra, 0x10($sp) +/* 194B90 802662B0 24020001 */ addiu $v0, $zero, 1 +/* 194B94 802662B4 03E00008 */ jr $ra +/* 194B98 802662B8 27BD0018 */ addiu $sp, $sp, 0x18 + +get_defense: +/* 194B9C 802662BC 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 194BA0 802662C0 AFB10014 */ sw $s1, 0x14($sp) +/* 194BA4 802662C4 00A0882D */ daddu $s1, $a1, $zero +/* 194BA8 802662C8 AFB20018 */ sw $s2, 0x18($sp) +/* 194BAC 802662CC 00C0902D */ daddu $s2, $a2, $zero +/* 194BB0 802662D0 AFB00010 */ sw $s0, 0x10($sp) +/* 194BB4 802662D4 241000FF */ addiu $s0, $zero, 0xff +/* 194BB8 802662D8 12200065 */ beqz $s1, .L80266470 +/* 194BBC 802662DC AFBF001C */ sw $ra, 0x1c($sp) +/* 194BC0 802662E0 32420002 */ andi $v0, $s2, 2 +/* 194BC4 802662E4 10400007 */ beqz $v0, .L80266304 +/* 194BC8 802662E8 0220202D */ daddu $a0, $s1, $zero +/* 194BCC 802662EC 0C099791 */ jal lookup_defense +/* 194BD0 802662F0 24050002 */ addiu $a1, $zero, 2 +/* 194BD4 802662F4 0040182D */ daddu $v1, $v0, $zero +/* 194BD8 802662F8 0070102A */ slt $v0, $v1, $s0 +/* 194BDC 802662FC 54400001 */ bnezl $v0, .L80266304 +/* 194BE0 80266300 0060802D */ daddu $s0, $v1, $zero +.L80266304: +/* 194BE4 80266304 32420004 */ andi $v0, $s2, 4 +/* 194BE8 80266308 10400007 */ beqz $v0, .L80266328 +/* 194BEC 8026630C 0220202D */ daddu $a0, $s1, $zero +/* 194BF0 80266310 0C099791 */ jal lookup_defense +/* 194BF4 80266314 24050003 */ addiu $a1, $zero, 3 +/* 194BF8 80266318 0040182D */ daddu $v1, $v0, $zero +/* 194BFC 8026631C 0070102A */ slt $v0, $v1, $s0 +/* 194C00 80266320 54400001 */ bnezl $v0, .L80266328 +/* 194C04 80266324 0060802D */ daddu $s0, $v1, $zero +.L80266328: +/* 194C08 80266328 32420008 */ andi $v0, $s2, 8 +/* 194C0C 8026632C 10400007 */ beqz $v0, .L8026634C +/* 194C10 80266330 0220202D */ daddu $a0, $s1, $zero +/* 194C14 80266334 0C099791 */ jal lookup_defense +/* 194C18 80266338 24050004 */ addiu $a1, $zero, 4 +/* 194C1C 8026633C 0040182D */ daddu $v1, $v0, $zero +/* 194C20 80266340 0070102A */ slt $v0, $v1, $s0 +/* 194C24 80266344 54400001 */ bnezl $v0, .L8026634C +/* 194C28 80266348 0060802D */ daddu $s0, $v1, $zero +.L8026634C: +/* 194C2C 8026634C 32420010 */ andi $v0, $s2, 0x10 +/* 194C30 80266350 10400007 */ beqz $v0, .L80266370 +/* 194C34 80266354 0220202D */ daddu $a0, $s1, $zero +/* 194C38 80266358 0C099791 */ jal lookup_defense +/* 194C3C 8026635C 24050007 */ addiu $a1, $zero, 7 +/* 194C40 80266360 0040182D */ daddu $v1, $v0, $zero +/* 194C44 80266364 0070102A */ slt $v0, $v1, $s0 +/* 194C48 80266368 54400001 */ bnezl $v0, .L80266370 +/* 194C4C 8026636C 0060802D */ daddu $s0, $v1, $zero +.L80266370: +/* 194C50 80266370 32420040 */ andi $v0, $s2, 0x40 +/* 194C54 80266374 10400007 */ beqz $v0, .L80266394 +/* 194C58 80266378 0220202D */ daddu $a0, $s1, $zero +/* 194C5C 8026637C 0C099791 */ jal lookup_defense +/* 194C60 80266380 24050008 */ addiu $a1, $zero, 8 +/* 194C64 80266384 0040182D */ daddu $v1, $v0, $zero +/* 194C68 80266388 0070102A */ slt $v0, $v1, $s0 +/* 194C6C 8026638C 54400001 */ bnezl $v0, .L80266394 +/* 194C70 80266390 0060802D */ daddu $s0, $v1, $zero +.L80266394: +/* 194C74 80266394 32420080 */ andi $v0, $s2, 0x80 +/* 194C78 80266398 10400007 */ beqz $v0, .L802663B8 +/* 194C7C 8026639C 0220202D */ daddu $a0, $s1, $zero +/* 194C80 802663A0 0C099791 */ jal lookup_defense +/* 194C84 802663A4 24050009 */ addiu $a1, $zero, 9 +/* 194C88 802663A8 0040182D */ daddu $v1, $v0, $zero +/* 194C8C 802663AC 0070102A */ slt $v0, $v1, $s0 +/* 194C90 802663B0 54400001 */ bnezl $v0, .L802663B8 +/* 194C94 802663B4 0060802D */ daddu $s0, $v1, $zero +.L802663B8: +/* 194C98 802663B8 32420100 */ andi $v0, $s2, 0x100 +/* 194C9C 802663BC 10400007 */ beqz $v0, .L802663DC +/* 194CA0 802663C0 0220202D */ daddu $a0, $s1, $zero +/* 194CA4 802663C4 0C099791 */ jal lookup_defense +/* 194CA8 802663C8 2405000A */ addiu $a1, $zero, 0xa +/* 194CAC 802663CC 0040182D */ daddu $v1, $v0, $zero +/* 194CB0 802663D0 0070102A */ slt $v0, $v1, $s0 +/* 194CB4 802663D4 54400001 */ bnezl $v0, .L802663DC +/* 194CB8 802663D8 0060802D */ daddu $s0, $v1, $zero +.L802663DC: +/* 194CBC 802663DC 32420200 */ andi $v0, $s2, 0x200 +/* 194CC0 802663E0 10400007 */ beqz $v0, .L80266400 +/* 194CC4 802663E4 0220202D */ daddu $a0, $s1, $zero +/* 194CC8 802663E8 0C099791 */ jal lookup_defense +/* 194CCC 802663EC 2405000B */ addiu $a1, $zero, 0xb +/* 194CD0 802663F0 0040182D */ daddu $v1, $v0, $zero +/* 194CD4 802663F4 0070102A */ slt $v0, $v1, $s0 +/* 194CD8 802663F8 54400001 */ bnezl $v0, .L80266400 +/* 194CDC 802663FC 0060802D */ daddu $s0, $v1, $zero +.L80266400: +/* 194CE0 80266400 32420020 */ andi $v0, $s2, 0x20 +/* 194CE4 80266404 10400007 */ beqz $v0, .L80266424 +/* 194CE8 80266408 0220202D */ daddu $a0, $s1, $zero +/* 194CEC 8026640C 0C099791 */ jal lookup_defense +/* 194CF0 80266410 2405000C */ addiu $a1, $zero, 0xc +/* 194CF4 80266414 0040182D */ daddu $v1, $v0, $zero +/* 194CF8 80266418 0070102A */ slt $v0, $v1, $s0 +/* 194CFC 8026641C 54400001 */ bnezl $v0, .L80266424 +/* 194D00 80266420 0060802D */ daddu $s0, $v1, $zero +.L80266424: +/* 194D04 80266424 32420800 */ andi $v0, $s2, 0x800 +/* 194D08 80266428 10400007 */ beqz $v0, .L80266448 +/* 194D0C 8026642C 0220202D */ daddu $a0, $s1, $zero +/* 194D10 80266430 0C099791 */ jal lookup_defense +/* 194D14 80266434 2405000D */ addiu $a1, $zero, 0xd +/* 194D18 80266438 0040182D */ daddu $v1, $v0, $zero +/* 194D1C 8026643C 0070102A */ slt $v0, $v1, $s0 +/* 194D20 80266440 54400001 */ bnezl $v0, .L80266448 +/* 194D24 80266444 0060802D */ daddu $s0, $v1, $zero +.L80266448: +/* 194D28 80266448 3C020004 */ lui $v0, 4 +/* 194D2C 8026644C 02421024 */ and $v0, $s2, $v0 +/* 194D30 80266450 10400007 */ beqz $v0, .L80266470 +/* 194D34 80266454 0220202D */ daddu $a0, $s1, $zero +/* 194D38 80266458 0C099791 */ jal lookup_defense +/* 194D3C 8026645C 2405000F */ addiu $a1, $zero, 0xf +/* 194D40 80266460 0040182D */ daddu $v1, $v0, $zero +/* 194D44 80266464 0070102A */ slt $v0, $v1, $s0 +/* 194D48 80266468 54400001 */ bnezl $v0, .L80266470 +/* 194D4C 8026646C 0060802D */ daddu $s0, $v1, $zero +.L80266470: +/* 194D50 80266470 240200FF */ addiu $v0, $zero, 0xff +/* 194D54 80266474 16020009 */ bne $s0, $v0, .L8026649C +/* 194D58 80266478 3C020800 */ lui $v0, 0x800 +/* 194D5C 8026647C 0220202D */ daddu $a0, $s1, $zero +/* 194D60 80266480 0C099791 */ jal lookup_defense +/* 194D64 80266484 24050001 */ addiu $a1, $zero, 1 +/* 194D68 80266488 0040182D */ daddu $v1, $v0, $zero +/* 194D6C 8026648C 286200FF */ slti $v0, $v1, 0xff +/* 194D70 80266490 54400001 */ bnezl $v0, .L80266498 +/* 194D74 80266494 0060802D */ daddu $s0, $v1, $zero +.L80266498: +/* 194D78 80266498 3C020800 */ lui $v0, 0x800 +.L8026649C: +/* 194D7C 8026649C 02421024 */ and $v0, $s2, $v0 +/* 194D80 802664A0 10400007 */ beqz $v0, .L802664C0 +/* 194D84 802664A4 24020063 */ addiu $v0, $zero, 0x63 +/* 194D88 802664A8 16020003 */ bne $s0, $v0, .L802664B8 +/* 194D8C 802664AC 00000000 */ nop +/* 194D90 802664B0 08099930 */ j func_802664C0 +/* 194D94 802664B4 241003E7 */ addiu $s0, $zero, 0x3e7 + +.L802664B8: +/* 194D98 802664B8 5E000001 */ bgtzl $s0, .L802664C0 +/* 194D9C 802664BC 0000802D */ daddu $s0, $zero, $zero +func_802664C0: +.L802664C0: +/* 194DA0 802664C0 0200102D */ daddu $v0, $s0, $zero +/* 194DA4 802664C4 8FBF001C */ lw $ra, 0x1c($sp) +/* 194DA8 802664C8 8FB20018 */ lw $s2, 0x18($sp) +/* 194DAC 802664CC 8FB10014 */ lw $s1, 0x14($sp) +/* 194DB0 802664D0 8FB00010 */ lw $s0, 0x10($sp) +/* 194DB4 802664D4 03E00008 */ jr $ra +/* 194DB8 802664D8 27BD0020 */ addiu $sp, $sp, 0x20 + +func_802664DC: +/* 194DBC 802664DC 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 194DC0 802664E0 AFB00020 */ sw $s0, 0x20($sp) +/* 194DC4 802664E4 0000802D */ daddu $s0, $zero, $zero +/* 194DC8 802664E8 3C058029 */ lui $a1, 0x8029 +/* 194DCC 802664EC 24A538AC */ addiu $a1, $a1, 0x38ac +/* 194DD0 802664F0 44861000 */ mtc1 $a2, $f2 +/* 194DD4 802664F4 8FA40038 */ lw $a0, 0x38($sp) +/* 194DD8 802664F8 00A0182D */ daddu $v1, $a1, $zero +/* 194DDC 802664FC AFBF0024 */ sw $ra, 0x24($sp) +.L80266500: +/* 194DE0 80266500 8C620000 */ lw $v0, ($v1) +/* 194DE4 80266504 10400004 */ beqz $v0, .L80266518 +/* 194DE8 80266508 00000000 */ nop +/* 194DEC 8026650C 26100001 */ addiu $s0, $s0, 1 +/* 194DF0 80266510 1A00FFFB */ blez $s0, .L80266500 +/* 194DF4 80266514 24630004 */ addiu $v1, $v1, 4 +.L80266518: +/* 194DF8 80266518 1A000007 */ blez $s0, .L80266538 +/* 194DFC 8026651C 00000000 */ nop +/* 194E00 80266520 8CA20000 */ lw $v0, ($a1) +/* 194E04 80266524 0000802D */ daddu $s0, $zero, $zero +/* 194E08 80266528 8C43000C */ lw $v1, 0xc($v0) +/* 194E0C 8026652C 24020005 */ addiu $v0, $zero, 5 +/* 194E10 80266530 AC620030 */ sw $v0, 0x30($v1) +/* 194E14 80266534 ACA00000 */ sw $zero, ($a1) +.L80266538: +/* 194E18 80266538 14800002 */ bnez $a0, .L80266544 +/* 194E1C 8026653C 24040037 */ addiu $a0, $zero, 0x37 +/* 194E20 80266540 2404FFC9 */ addiu $a0, $zero, -0x37 +.L80266544: +/* 194E24 80266544 44840000 */ mtc1 $a0, $f0 +/* 194E28 80266548 00000000 */ nop +/* 194E2C 8026654C 46800020 */ cvt.s.w $f0, $f0 +/* 194E30 80266550 3C028029 */ lui $v0, 0x8029 +/* 194E34 80266554 244238AC */ addiu $v0, $v0, 0x38ac +/* 194E38 80266558 00108080 */ sll $s0, $s0, 2 +/* 194E3C 8026655C E7A00014 */ swc1 $f0, 0x14($sp) +/* 194E40 80266560 3C014120 */ lui $at, 0x4120 +/* 194E44 80266564 44810000 */ mtc1 $at, $f0 +/* 194E48 80266568 44056000 */ mfc1 $a1, $f12 +/* 194E4C 8026656C 44067000 */ mfc1 $a2, $f14 +/* 194E50 80266570 02021021 */ addu $v0, $s0, $v0 +/* 194E54 80266574 AFA70018 */ sw $a3, 0x18($sp) +/* 194E58 80266578 44071000 */ mfc1 $a3, $f2 +/* 194E5C 8026657C 0000202D */ daddu $a0, $zero, $zero +/* 194E60 80266580 AFA2001C */ sw $v0, 0x1c($sp) +/* 194E64 80266584 0C01C0F4 */ jal func_800703D0 +/* 194E68 80266588 E7A00010 */ swc1 $f0, 0x10($sp) +/* 194E6C 8026658C 24020028 */ addiu $v0, $zero, 0x28 +/* 194E70 80266590 3C018029 */ lui $at, 0x8029 +/* 194E74 80266594 00300821 */ addu $at, $at, $s0 +/* 194E78 80266598 AC22390C */ sw $v0, 0x390c($at) +/* 194E7C 8026659C 8FBF0024 */ lw $ra, 0x24($sp) +/* 194E80 802665A0 8FB00020 */ lw $s0, 0x20($sp) +/* 194E84 802665A4 03E00008 */ jr $ra +/* 194E88 802665A8 27BD0028 */ addiu $sp, $sp, 0x28 + +show_damage_popup: +/* 194E8C 802665AC 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 194E90 802665B0 AFB00020 */ sw $s0, 0x20($sp) +/* 194E94 802665B4 0000802D */ daddu $s0, $zero, $zero +/* 194E98 802665B8 3C058029 */ lui $a1, 0x8029 +/* 194E9C 802665BC 24A538AC */ addiu $a1, $a1, 0x38ac +/* 194EA0 802665C0 44861000 */ mtc1 $a2, $f2 +/* 194EA4 802665C4 8FA40038 */ lw $a0, 0x38($sp) +/* 194EA8 802665C8 00A0182D */ daddu $v1, $a1, $zero +/* 194EAC 802665CC AFBF0024 */ sw $ra, 0x24($sp) +.L802665D0: +/* 194EB0 802665D0 8C620000 */ lw $v0, ($v1) +/* 194EB4 802665D4 10400006 */ beqz $v0, .L802665F0 +/* 194EB8 802665D8 2A020018 */ slti $v0, $s0, 0x18 +/* 194EBC 802665DC 26100001 */ addiu $s0, $s0, 1 +/* 194EC0 802665E0 2A020018 */ slti $v0, $s0, 0x18 +/* 194EC4 802665E4 1440FFFA */ bnez $v0, .L802665D0 +/* 194EC8 802665E8 24630004 */ addiu $v1, $v1, 4 +/* 194ECC 802665EC 2A020018 */ slti $v0, $s0, 0x18 +.L802665F0: +/* 194ED0 802665F0 14400007 */ bnez $v0, .L80266610 +/* 194ED4 802665F4 00000000 */ nop +/* 194ED8 802665F8 8CA20000 */ lw $v0, ($a1) +/* 194EDC 802665FC 0000802D */ daddu $s0, $zero, $zero +/* 194EE0 80266600 8C43000C */ lw $v1, 0xc($v0) +/* 194EE4 80266604 24020005 */ addiu $v0, $zero, 5 +/* 194EE8 80266608 AC620030 */ sw $v0, 0x30($v1) +/* 194EEC 8026660C ACA00000 */ sw $zero, ($a1) +.L80266610: +/* 194EF0 80266610 14800002 */ bnez $a0, .L8026661C +/* 194EF4 80266614 24040037 */ addiu $a0, $zero, 0x37 +/* 194EF8 80266618 2404FFC9 */ addiu $a0, $zero, -0x37 +.L8026661C: +/* 194EFC 8026661C 44840000 */ mtc1 $a0, $f0 +/* 194F00 80266620 00000000 */ nop +/* 194F04 80266624 46800020 */ cvt.s.w $f0, $f0 +/* 194F08 80266628 3C028029 */ lui $v0, 0x8029 +/* 194F0C 8026662C 244238AC */ addiu $v0, $v0, 0x38ac +/* 194F10 80266630 00108080 */ sll $s0, $s0, 2 +/* 194F14 80266634 E7A00014 */ swc1 $f0, 0x14($sp) +/* 194F18 80266638 3C014120 */ lui $at, 0x4120 +/* 194F1C 8026663C 44810000 */ mtc1 $at, $f0 +/* 194F20 80266640 44056000 */ mfc1 $a1, $f12 +/* 194F24 80266644 44067000 */ mfc1 $a2, $f14 +/* 194F28 80266648 02021021 */ addu $v0, $s0, $v0 +/* 194F2C 8026664C AFA70018 */ sw $a3, 0x18($sp) +/* 194F30 80266650 44071000 */ mfc1 $a3, $f2 +/* 194F34 80266654 0000202D */ daddu $a0, $zero, $zero +/* 194F38 80266658 AFA2001C */ sw $v0, 0x1c($sp) +/* 194F3C 8026665C 0C01C0F4 */ jal func_800703D0 +/* 194F40 80266660 E7A00010 */ swc1 $f0, 0x10($sp) +/* 194F44 80266664 24020028 */ addiu $v0, $zero, 0x28 +/* 194F48 80266668 3C018029 */ lui $at, 0x8029 +/* 194F4C 8026666C 00300821 */ addu $at, $at, $s0 +/* 194F50 80266670 AC22390C */ sw $v0, 0x390c($at) +/* 194F54 80266674 8FBF0024 */ lw $ra, 0x24($sp) +/* 194F58 80266678 8FB00020 */ lw $s0, 0x20($sp) +/* 194F5C 8026667C 03E00008 */ jr $ra +/* 194F60 80266680 27BD0028 */ addiu $sp, $sp, 0x28 + +func_80266684: +/* 194F64 80266684 0000282D */ daddu $a1, $zero, $zero +/* 194F68 80266688 24060005 */ addiu $a2, $zero, 5 +/* 194F6C 8026668C 3C038029 */ lui $v1, 0x8029 +/* 194F70 80266690 246338AC */ addiu $v1, $v1, 0x38ac +/* 194F74 80266694 3C048029 */ lui $a0, 0x8029 +/* 194F78 80266698 2484390C */ addiu $a0, $a0, 0x390c +.L8026669C: +/* 194F7C 8026669C 8C620000 */ lw $v0, ($v1) +/* 194F80 802666A0 5040000A */ beql $v0, $zero, .L802666CC +/* 194F84 802666A4 24630004 */ addiu $v1, $v1, 4 +/* 194F88 802666A8 8C820000 */ lw $v0, ($a0) +/* 194F8C 802666AC 2442FFFF */ addiu $v0, $v0, -1 +/* 194F90 802666B0 14400005 */ bnez $v0, .L802666C8 +/* 194F94 802666B4 AC820000 */ sw $v0, ($a0) +/* 194F98 802666B8 8C620000 */ lw $v0, ($v1) +/* 194F9C 802666BC 8C42000C */ lw $v0, 0xc($v0) +/* 194FA0 802666C0 AC460030 */ sw $a2, 0x30($v0) +/* 194FA4 802666C4 AC600000 */ sw $zero, ($v1) +.L802666C8: +/* 194FA8 802666C8 24630004 */ addiu $v1, $v1, 4 +.L802666CC: +/* 194FAC 802666CC 24A50001 */ addiu $a1, $a1, 1 +/* 194FB0 802666D0 28A20018 */ slti $v0, $a1, 0x18 +/* 194FB4 802666D4 1440FFF1 */ bnez $v0, .L8026669C +/* 194FB8 802666D8 24840004 */ addiu $a0, $a0, 4 +/* 194FBC 802666DC 03E00008 */ jr $ra +/* 194FC0 802666E0 00000000 */ nop + +func_802666E4: +/* 194FC4 802666E4 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 194FC8 802666E8 44850000 */ mtc1 $a1, $f0 +/* 194FCC 802666EC 44861000 */ mtc1 $a2, $f2 +/* 194FD0 802666F0 44872000 */ mtc1 $a3, $f4 +/* 194FD4 802666F4 8FA30030 */ lw $v1, 0x30($sp) +/* 194FD8 802666F8 3C05800E */ lui $a1, 0x800e +/* 194FDC 802666FC 24A5C070 */ addiu $a1, $a1, -0x3f90 +/* 194FE0 80266700 28620003 */ slti $v0, $v1, 3 +/* 194FE4 80266704 10400003 */ beqz $v0, .L80266714 +/* 194FE8 80266708 AFBF0018 */ sw $ra, 0x18($sp) +/* 194FEC 8026670C 080999E9 */ j func_802667A4 +/* 194FF0 80266710 0000402D */ daddu $t0, $zero, $zero + +.L80266714: +/* 194FF4 80266714 28620005 */ slti $v0, $v1, 5 +/* 194FF8 80266718 1040001E */ beqz $v0, .L80266794 +/* 194FFC 8026671C 24080001 */ addiu $t0, $zero, 1 +/* 195000 80266720 080999E9 */ j func_802667A4 +/* 195004 80266724 00000000 */ nop + +.L80266728: +/* 195008 80266728 0000202D */ daddu $a0, $zero, $zero +/* 19500C 8026672C 44050000 */ mfc1 $a1, $f0 +/* 195010 80266730 44061000 */ mfc1 $a2, $f2 +/* 195014 80266734 44072000 */ mfc1 $a3, $f4 +/* 195018 80266738 3C013F80 */ lui $at, 0x3f80 +/* 19501C 8026673C 44810000 */ mtc1 $at, $f0 +/* 195020 80266740 24020018 */ addiu $v0, $zero, 0x18 +/* 195024 80266744 AFA20014 */ sw $v0, 0x14($sp) +/* 195028 80266748 0C01C184 */ jal func_80070610 +/* 19502C 8026674C E7A00010 */ swc1 $f0, 0x10($sp) +/* 195030 80266750 080999F9 */ j func_802667E4 +/* 195034 80266754 00000000 */ nop + +.L80266758: +/* 195038 80266758 0C09451D */ jal func_80251474 +/* 19503C 8026675C 00000000 */ nop +/* 195040 80266760 080999F9 */ j func_802667E4 +/* 195044 80266764 00000000 */ nop + +.L80266768: +/* 195048 80266768 44050000 */ mfc1 $a1, $f0 +/* 19504C 8026676C 44061000 */ mfc1 $a2, $f2 +/* 195050 80266770 44072000 */ mfc1 $a3, $f4 +/* 195054 80266774 3C013F80 */ lui $at, 0x3f80 +/* 195058 80266778 44810000 */ mtc1 $at, $f0 +/* 19505C 8026677C 24020018 */ addiu $v0, $zero, 0x18 +/* 195060 80266780 AFA20014 */ sw $v0, 0x14($sp) +/* 195064 80266784 0C01C70C */ jal func_80071C30 +/* 195068 80266788 E7A00010 */ swc1 $f0, 0x10($sp) +/* 19506C 8026678C 080999F9 */ j func_802667E4 +/* 195070 80266790 00000000 */ nop + +.L80266794: +/* 195074 80266794 28620009 */ slti $v0, $v1, 9 +/* 195078 80266798 10400002 */ beqz $v0, .L802667A4 +/* 19507C 8026679C 24080003 */ addiu $t0, $zero, 3 +/* 195080 802667A0 24080002 */ addiu $t0, $zero, 2 +func_802667A4: +.L802667A4: +/* 195084 802667A4 8CA30188 */ lw $v1, 0x188($a1) +/* 195088 802667A8 30620002 */ andi $v0, $v1, 2 +/* 19508C 802667AC 1440FFDE */ bnez $v0, .L80266728 +/* 195090 802667B0 30620020 */ andi $v0, $v1, 0x20 +/* 195094 802667B4 1440FFE8 */ bnez $v0, .L80266758 +/* 195098 802667B8 30620004 */ andi $v0, $v1, 4 +/* 19509C 802667BC 1440FFEA */ bnez $v0, .L80266768 +/* 1950A0 802667C0 0000202D */ daddu $a0, $zero, $zero +/* 1950A4 802667C4 44050000 */ mfc1 $a1, $f0 +/* 1950A8 802667C8 44061000 */ mfc1 $a2, $f2 +/* 1950AC 802667CC 44072000 */ mfc1 $a3, $f4 +/* 1950B0 802667D0 3C013F80 */ lui $at, 0x3f80 +/* 1950B4 802667D4 44810000 */ mtc1 $at, $f0 +/* 1950B8 802667D8 AFA80014 */ sw $t0, 0x14($sp) +/* 1950BC 802667DC 0C01C46C */ jal func_800711B0 +/* 1950C0 802667E0 E7A00010 */ swc1 $f0, 0x10($sp) +func_802667E4: +/* 1950C4 802667E4 8FBF0018 */ lw $ra, 0x18($sp) +/* 1950C8 802667E8 03E00008 */ jr $ra +/* 1950CC 802667EC 27BD0020 */ addiu $sp, $sp, 0x20 + +func_802667F0: +/* 1950D0 802667F0 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 1950D4 802667F4 44860000 */ mtc1 $a2, $f0 +/* 1950D8 802667F8 44871000 */ mtc1 $a3, $f2 +/* 1950DC 802667FC AFB00018 */ sw $s0, 0x18($sp) +/* 1950E0 80266800 00A0802D */ daddu $s0, $a1, $zero +/* 1950E4 80266804 AFBF001C */ sw $ra, 0x1c($sp) +/* 1950E8 80266808 8E020200 */ lw $v0, 0x200($s0) +/* 1950EC 8026680C C7A40030 */ lwc1 $f4, 0x30($sp) +/* 1950F0 80266810 3C05800E */ lui $a1, 0x800e +/* 1950F4 80266814 8CA5C148 */ lw $a1, -0x3eb8($a1) +/* 1950F8 80266818 1440001A */ bnez $v0, .L80266884 +/* 1950FC 8026681C 0080182D */ daddu $v1, $a0, $zero +/* 195100 80266820 2C620006 */ sltiu $v0, $v1, 6 +/* 195104 80266824 1040003E */ beqz $v0, .L80266920 +/* 195108 80266828 0000202D */ daddu $a0, $zero, $zero +/* 19510C 8026682C 00031080 */ sll $v0, $v1, 2 +/* 195110 80266830 3C01802A */ lui $at, 0x802a +/* 195114 80266834 00220821 */ addu $at, $at, $v0 +/* 195118 80266838 8C22D640 */ lw $v0, -0x29c0($at) +/* 19511C 8026683C 00400008 */ jr $v0 +/* 195120 80266840 00000000 */ nop +/* 195124 80266844 0000202D */ daddu $a0, $zero, $zero +/* 195128 80266848 24020001 */ addiu $v0, $zero, 1 +/* 19512C 8026684C 08099A48 */ j func_80266920 +/* 195130 80266850 A2020204 */ sb $v0, 0x204($s0) + +/* 195134 80266854 24040004 */ addiu $a0, $zero, 4 +/* 195138 80266858 08099A48 */ j func_80266920 +/* 19513C 8026685C A2000204 */ sb $zero, 0x204($s0) + +/* 195140 80266860 24040003 */ addiu $a0, $zero, 3 +/* 195144 80266864 08099A48 */ j func_80266920 +/* 195148 80266868 A2000204 */ sb $zero, 0x204($s0) + +/* 19514C 8026686C 24040002 */ addiu $a0, $zero, 2 +/* 195150 80266870 08099A48 */ j func_80266920 +/* 195154 80266874 A2040204 */ sb $a0, 0x204($s0) + +/* 195158 80266878 0000202D */ daddu $a0, $zero, $zero +/* 19515C 8026687C 08099A48 */ j func_80266920 +/* 195160 80266880 A2000204 */ sb $zero, 0x204($s0) + +.L80266884: +/* 195164 80266884 8C42000C */ lw $v0, 0xc($v0) +/* 195168 80266888 AC400018 */ sw $zero, 0x18($v0) +/* 19516C 8026688C 2C620006 */ sltiu $v0, $v1, 6 +/* 195170 80266890 82040204 */ lb $a0, 0x204($s0) +/* 195174 80266894 10400022 */ beqz $v0, .L80266920 +/* 195178 80266898 00031080 */ sll $v0, $v1, 2 +/* 19517C 8026689C 3C01802A */ lui $at, 0x802a +/* 195180 802668A0 00220821 */ addu $at, $at, $v0 +/* 195184 802668A4 8C22D658 */ lw $v0, -0x29a8($at) +/* 195188 802668A8 00400008 */ jr $v0 +/* 19518C 802668AC 00000000 */ nop +/* 195190 802668B0 92020204 */ lbu $v0, 0x204($s0) +/* 195194 802668B4 24420001 */ addiu $v0, $v0, 1 +/* 195198 802668B8 A2020204 */ sb $v0, 0x204($s0) +/* 19519C 802668BC 00021600 */ sll $v0, $v0, 0x18 +/* 1951A0 802668C0 00021603 */ sra $v0, $v0, 0x18 +/* 1951A4 802668C4 28420003 */ slti $v0, $v0, 3 +/* 1951A8 802668C8 14400015 */ bnez $v0, .L80266920 +/* 1951AC 802668CC 24020002 */ addiu $v0, $zero, 2 +/* 1951B0 802668D0 08099A48 */ j func_80266920 +/* 1951B4 802668D4 A2020204 */ sb $v0, 0x204($s0) + +/* 1951B8 802668D8 08099A48 */ j func_80266920 +/* 1951BC 802668DC 24040004 */ addiu $a0, $zero, 4 + +/* 1951C0 802668E0 08099A48 */ j func_80266920 +/* 1951C4 802668E4 24040003 */ addiu $a0, $zero, 3 + +/* 1951C8 802668E8 08099A48 */ j func_80266920 +/* 1951CC 802668EC 24040002 */ addiu $a0, $zero, 2 + +/* 1951D0 802668F0 08099A48 */ j func_80266920 +/* 1951D4 802668F4 0000202D */ daddu $a0, $zero, $zero + +/* 1951D8 802668F8 90A20204 */ lbu $v0, 0x204($a1) +/* 1951DC 802668FC 80A40204 */ lb $a0, 0x204($a1) +/* 1951E0 80266900 24420001 */ addiu $v0, $v0, 1 +/* 1951E4 80266904 A0A20204 */ sb $v0, 0x204($a1) +/* 1951E8 80266908 00021600 */ sll $v0, $v0, 0x18 +/* 1951EC 8026690C 00021603 */ sra $v0, $v0, 0x18 +/* 1951F0 80266910 28420003 */ slti $v0, $v0, 3 +/* 1951F4 80266914 14400002 */ bnez $v0, .L80266920 +/* 1951F8 80266918 24020002 */ addiu $v0, $zero, 2 +/* 1951FC 8026691C A0A20204 */ sb $v0, 0x204($a1) +func_80266920: +.L80266920: +/* 195200 80266920 44050000 */ mfc1 $a1, $f0 +/* 195204 80266924 3C014120 */ lui $at, 0x4120 +/* 195208 80266928 44810000 */ mtc1 $at, $f0 +/* 19520C 8026692C 00000000 */ nop +/* 195210 80266930 46002101 */ sub.s $f4, $f4, $f0 +/* 195214 80266934 44061000 */ mfc1 $a2, $f2 +/* 195218 80266938 3C014140 */ lui $at, 0x4140 +/* 19521C 8026693C 44810000 */ mtc1 $at, $f0 +/* 195220 80266940 44072000 */ mfc1 $a3, $f4 +/* 195224 80266944 2402005A */ addiu $v0, $zero, 0x5a +/* 195228 80266948 AFA20014 */ sw $v0, 0x14($sp) +/* 19522C 8026694C 0C01C4E4 */ jal func_80071390 +/* 195230 80266950 E7A00010 */ swc1 $f0, 0x10($sp) +/* 195234 80266954 AE020200 */ sw $v0, 0x200($s0) +/* 195238 80266958 24020050 */ addiu $v0, $zero, 0x50 +/* 19523C 8026695C A2020205 */ sb $v0, 0x205($s0) +/* 195240 80266960 8FBF001C */ lw $ra, 0x1c($sp) +/* 195244 80266964 8FB00018 */ lw $s0, 0x18($sp) +/* 195248 80266968 03E00008 */ jr $ra +/* 19524C 8026696C 27BD0020 */ addiu $sp, $sp, 0x20 + +func_80266970: +/* 195250 80266970 03E00008 */ jr $ra +/* 195254 80266974 A0800204 */ sb $zero, 0x204($a0) + +func_80266978: +/* 195258 80266978 0000302D */ daddu $a2, $zero, $zero +/* 19525C 8026697C 2409003C */ addiu $t1, $zero, 0x3c +/* 195260 80266980 24080005 */ addiu $t0, $zero, 5 +/* 195264 80266984 3C07800E */ lui $a3, 0x800e +/* 195268 80266988 24E7C070 */ addiu $a3, $a3, -0x3f90 +/* 19526C 8026698C 00E0282D */ daddu $a1, $a3, $zero +.L80266990: +/* 195270 80266990 8CA400E0 */ lw $a0, 0xe0($a1) +/* 195274 80266994 50800018 */ beql $a0, $zero, .L802669F8 +/* 195278 80266998 24C60001 */ addiu $a2, $a2, 1 +/* 19527C 8026699C 80820205 */ lb $v0, 0x205($a0) +/* 195280 802669A0 14490007 */ bne $v0, $t1, .L802669C0 +/* 195284 802669A4 00000000 */ nop +/* 195288 802669A8 8C820200 */ lw $v0, 0x200($a0) +/* 19528C 802669AC 10400003 */ beqz $v0, .L802669BC +/* 195290 802669B0 00000000 */ nop +/* 195294 802669B4 8C42000C */ lw $v0, 0xc($v0) +/* 195298 802669B8 AC400024 */ sw $zero, 0x24($v0) +.L802669BC: +/* 19529C 802669BC 80820205 */ lb $v0, 0x205($a0) +.L802669C0: +/* 1952A0 802669C0 14480007 */ bne $v0, $t0, .L802669E0 +/* 1952A4 802669C4 00000000 */ nop +/* 1952A8 802669C8 8C820200 */ lw $v0, 0x200($a0) +/* 1952AC 802669CC 10400004 */ beqz $v0, .L802669E0 +/* 1952B0 802669D0 00000000 */ nop +/* 1952B4 802669D4 8C42000C */ lw $v0, 0xc($v0) +/* 1952B8 802669D8 AC400018 */ sw $zero, 0x18($v0) +/* 1952BC 802669DC AC800200 */ sw $zero, 0x200($a0) +.L802669E0: +/* 1952C0 802669E0 80820205 */ lb $v0, 0x205($a0) +/* 1952C4 802669E4 90830205 */ lbu $v1, 0x205($a0) +/* 1952C8 802669E8 18400003 */ blez $v0, .L802669F8 +/* 1952CC 802669EC 24C60001 */ addiu $a2, $a2, 1 +/* 1952D0 802669F0 2462FFFF */ addiu $v0, $v1, -1 +/* 1952D4 802669F4 A0820205 */ sb $v0, 0x205($a0) +.L802669F8: +/* 1952D8 802669F8 28C20018 */ slti $v0, $a2, 0x18 +/* 1952DC 802669FC 1440FFE4 */ bnez $v0, .L80266990 +/* 1952E0 80266A00 24A50004 */ addiu $a1, $a1, 4 +/* 1952E4 80266A04 8CE400D8 */ lw $a0, 0xd8($a3) +/* 1952E8 80266A08 10800018 */ beqz $a0, .L80266A6C +/* 1952EC 80266A0C 2402003C */ addiu $v0, $zero, 0x3c +/* 1952F0 80266A10 80830205 */ lb $v1, 0x205($a0) +/* 1952F4 80266A14 14620008 */ bne $v1, $v0, .L80266A38 +/* 1952F8 80266A18 24020005 */ addiu $v0, $zero, 5 +/* 1952FC 80266A1C 8C820200 */ lw $v0, 0x200($a0) +/* 195300 80266A20 50400005 */ beql $v0, $zero, .L80266A38 +/* 195304 80266A24 24020005 */ addiu $v0, $zero, 5 +/* 195308 80266A28 8C42000C */ lw $v0, 0xc($v0) +/* 19530C 80266A2C AC400024 */ sw $zero, 0x24($v0) +/* 195310 80266A30 80830205 */ lb $v1, 0x205($a0) +/* 195314 80266A34 24020005 */ addiu $v0, $zero, 5 +.L80266A38: +/* 195318 80266A38 14620007 */ bne $v1, $v0, .L80266A58 +/* 19531C 80266A3C 00000000 */ nop +/* 195320 80266A40 8C820200 */ lw $v0, 0x200($a0) +/* 195324 80266A44 10400004 */ beqz $v0, .L80266A58 +/* 195328 80266A48 00000000 */ nop +/* 19532C 80266A4C 8C42000C */ lw $v0, 0xc($v0) +/* 195330 80266A50 AC400018 */ sw $zero, 0x18($v0) +/* 195334 80266A54 AC800200 */ sw $zero, 0x200($a0) +.L80266A58: +/* 195338 80266A58 80820205 */ lb $v0, 0x205($a0) +/* 19533C 80266A5C 90830205 */ lbu $v1, 0x205($a0) +/* 195340 80266A60 18400002 */ blez $v0, .L80266A6C +/* 195344 80266A64 2462FFFF */ addiu $v0, $v1, -1 +/* 195348 80266A68 A0820205 */ sb $v0, 0x205($a0) +.L80266A6C: +/* 19534C 80266A6C 8CE400DC */ lw $a0, 0xdc($a3) +/* 195350 80266A70 10800018 */ beqz $a0, .L80266AD4 +/* 195354 80266A74 2402003C */ addiu $v0, $zero, 0x3c +/* 195358 80266A78 80830205 */ lb $v1, 0x205($a0) +/* 19535C 80266A7C 14620008 */ bne $v1, $v0, .L80266AA0 +/* 195360 80266A80 24020005 */ addiu $v0, $zero, 5 +/* 195364 80266A84 8C820200 */ lw $v0, 0x200($a0) +/* 195368 80266A88 50400005 */ beql $v0, $zero, .L80266AA0 +/* 19536C 80266A8C 24020005 */ addiu $v0, $zero, 5 +/* 195370 80266A90 8C42000C */ lw $v0, 0xc($v0) +/* 195374 80266A94 AC400024 */ sw $zero, 0x24($v0) +/* 195378 80266A98 80830205 */ lb $v1, 0x205($a0) +/* 19537C 80266A9C 24020005 */ addiu $v0, $zero, 5 +.L80266AA0: +/* 195380 80266AA0 14620007 */ bne $v1, $v0, .L80266AC0 +/* 195384 80266AA4 00000000 */ nop +/* 195388 80266AA8 8C820200 */ lw $v0, 0x200($a0) +/* 19538C 80266AAC 10400004 */ beqz $v0, .L80266AC0 +/* 195390 80266AB0 00000000 */ nop +/* 195394 80266AB4 8C42000C */ lw $v0, 0xc($v0) +/* 195398 80266AB8 AC400018 */ sw $zero, 0x18($v0) +/* 19539C 80266ABC AC800200 */ sw $zero, 0x200($a0) +.L80266AC0: +/* 1953A0 80266AC0 80820205 */ lb $v0, 0x205($a0) +/* 1953A4 80266AC4 90830205 */ lbu $v1, 0x205($a0) +/* 1953A8 80266AC8 18400002 */ blez $v0, .L80266AD4 +/* 1953AC 80266ACC 2462FFFF */ addiu $v0, $v1, -1 +/* 1953B0 80266AD0 A0820205 */ sb $v0, 0x205($a0) +.L80266AD4: +/* 1953B4 80266AD4 03E00008 */ jr $ra +/* 1953B8 80266AD8 00000000 */ nop + +func_80266ADC: +/* 1953BC 80266ADC 2402FFFF */ addiu $v0, $zero, -1 +/* 1953C0 80266AE0 A0820206 */ sb $v0, 0x206($a0) +/* 1953C4 80266AE4 8C820000 */ lw $v0, ($a0) +/* 1953C8 80266AE8 3C030008 */ lui $v1, 8 +/* 1953CC 80266AEC 00431025 */ or $v0, $v0, $v1 +/* 1953D0 80266AF0 03E00008 */ jr $ra +/* 1953D4 80266AF4 AC820000 */ sw $v0, ($a0) + +func_80266AF8: +/* 1953D8 80266AF8 3C03FFF7 */ lui $v1, 0xfff7 +/* 1953DC 80266AFC 8C820000 */ lw $v0, ($a0) +/* 1953E0 80266B00 3463FFFF */ ori $v1, $v1, 0xffff +/* 1953E4 80266B04 A0800206 */ sb $zero, 0x206($a0) +/* 1953E8 80266B08 00431024 */ and $v0, $v0, $v1 +/* 1953EC 80266B0C 03E00008 */ jr $ra +/* 1953F0 80266B10 AC820000 */ sw $v0, ($a0) + +func_80266B14: +/* 1953F4 80266B14 0000302D */ daddu $a2, $zero, $zero +/* 1953F8 80266B18 3C07FFF7 */ lui $a3, 0xfff7 +/* 1953FC 80266B1C 34E7FFFF */ ori $a3, $a3, 0xffff +/* 195400 80266B20 3C05800E */ lui $a1, 0x800e +/* 195404 80266B24 24A5C070 */ addiu $a1, $a1, -0x3f90 +.L80266B28: +/* 195408 80266B28 8CA400E0 */ lw $a0, 0xe0($a1) +/* 19540C 80266B2C 5080000D */ beql $a0, $zero, .L80266B64 +/* 195410 80266B30 24C60001 */ addiu $a2, $a2, 1 +/* 195414 80266B34 80820206 */ lb $v0, 0x206($a0) +/* 195418 80266B38 90830206 */ lbu $v1, 0x206($a0) +/* 19541C 80266B3C 18400009 */ blez $v0, .L80266B64 +/* 195420 80266B40 24C60001 */ addiu $a2, $a2, 1 +/* 195424 80266B44 2462FFFF */ addiu $v0, $v1, -1 +/* 195428 80266B48 A0820206 */ sb $v0, 0x206($a0) +/* 19542C 80266B4C 00021600 */ sll $v0, $v0, 0x18 +/* 195430 80266B50 14400004 */ bnez $v0, .L80266B64 +/* 195434 80266B54 00000000 */ nop +/* 195438 80266B58 8C820000 */ lw $v0, ($a0) +/* 19543C 80266B5C 00471024 */ and $v0, $v0, $a3 +/* 195440 80266B60 AC820000 */ sw $v0, ($a0) +.L80266B64: +/* 195444 80266B64 28C20018 */ slti $v0, $a2, 0x18 +/* 195448 80266B68 1440FFEF */ bnez $v0, .L80266B28 +/* 19544C 80266B6C 24A50004 */ addiu $a1, $a1, 4 +/* 195450 80266B70 03E00008 */ jr $ra +/* 195454 80266B74 00000000 */ nop + +try_inflict_status: +/* 195458 80266B78 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* 19545C 80266B7C AFB20018 */ sw $s2, 0x18($sp) +/* 195460 80266B80 0080902D */ daddu $s2, $a0, $zero +/* 195464 80266B84 AFB40020 */ sw $s4, 0x20($sp) +/* 195468 80266B88 00A0A02D */ daddu $s4, $a1, $zero +/* 19546C 80266B8C AFB50024 */ sw $s5, 0x24($sp) +/* 195470 80266B90 AFB3001C */ sw $s3, 0x1c($sp) +/* 195474 80266B94 3C13800E */ lui $s3, 0x800e +/* 195478 80266B98 2673C070 */ addiu $s3, $s3, -0x3f90 +/* 19547C 80266B9C AFBF0028 */ sw $ra, 0x28($sp) +/* 195480 80266BA0 AFB10014 */ sw $s1, 0x14($sp) +/* 195484 80266BA4 AFB00010 */ sw $s0, 0x10($sp) +/* 195488 80266BA8 92630194 */ lbu $v1, 0x194($s3) +/* 19548C 80266BAC 240200FE */ addiu $v0, $zero, 0xfe +/* 195490 80266BB0 1462000C */ bne $v1, $v0, .L80266BE4 +/* 195494 80266BB4 00C0A82D */ daddu $s5, $a2, $zero +/* 195498 80266BB8 8E44020C */ lw $a0, 0x20c($s2) +/* 19549C 80266BBC 82710195 */ lb $s1, 0x195($s3) +/* 1954A0 80266BC0 0C0997BB */ jal lookup_status_duration_mod +/* 1954A4 80266BC4 02A0282D */ daddu $a1, $s5, $zero +/* 1954A8 80266BC8 0240202D */ daddu $a0, $s2, $zero +/* 1954AC 80266BCC 0280282D */ daddu $a1, $s4, $zero +/* 1954B0 80266BD0 02A0302D */ daddu $a2, $s5, $zero +/* 1954B4 80266BD4 0C099B3C */ jal inflict_status_set_duration +/* 1954B8 80266BD8 02223821 */ addu $a3, $s1, $v0 +/* 1954BC 80266BDC 08099B33 */ j func_80266CCC +/* 1954C0 80266BE0 00000000 */ nop + +.L80266BE4: +/* 1954C4 80266BE4 8E44020C */ lw $a0, 0x20c($s2) +/* 1954C8 80266BE8 10800026 */ beqz $a0, .L80266C84 +/* 1954CC 80266BEC 0000882D */ daddu $s1, $zero, $zero +/* 1954D0 80266BF0 8E620190 */ lw $v0, 0x190($s3) +/* 1954D4 80266BF4 3C034000 */ lui $v1, 0x4000 +/* 1954D8 80266BF8 00431024 */ and $v0, $v0, $v1 +/* 1954DC 80266BFC 14400005 */ bnez $v0, .L80266C14 +/* 1954E0 80266C00 00000000 */ nop +/* 1954E4 80266C04 0C0997A6 */ jal lookup_status_chance +/* 1954E8 80266C08 0280282D */ daddu $a1, $s4, $zero +/* 1954EC 80266C0C 08099B09 */ j func_80266C24 +/* 1954F0 80266C10 0040802D */ daddu $s0, $v0, $zero + +.L80266C14: +/* 1954F4 80266C14 0C0997A6 */ jal lookup_status_chance +/* 1954F8 80266C18 0280282D */ daddu $a1, $s4, $zero +/* 1954FC 80266C1C 1040001A */ beqz $v0, .L80266C88 +/* 195500 80266C20 24100064 */ addiu $s0, $zero, 0x64 +func_80266C24: +/* 195504 80266C24 1A000018 */ blez $s0, .L80266C88 +/* 195508 80266C28 3C0351EB */ lui $v1, 0x51eb +/* 19550C 80266C2C 92620194 */ lbu $v0, 0x194($s3) +/* 195510 80266C30 02020018 */ mult $s0, $v0 +/* 195514 80266C34 00001012 */ mflo $v0 +/* 195518 80266C38 3463851F */ ori $v1, $v1, 0x851f +/* 19551C 80266C3C 00000000 */ nop +/* 195520 80266C40 00430018 */ mult $v0, $v1 +/* 195524 80266C44 000217C3 */ sra $v0, $v0, 0x1f +/* 195528 80266C48 00001810 */ mfhi $v1 +/* 19552C 80266C4C 00031943 */ sra $v1, $v1, 5 +/* 195530 80266C50 00628023 */ subu $s0, $v1, $v0 +/* 195534 80266C54 1A00000C */ blez $s0, .L80266C88 +/* 195538 80266C58 00000000 */ nop +/* 19553C 80266C5C 0C00A67F */ jal rand_int +/* 195540 80266C60 24040064 */ addiu $a0, $zero, 0x64 +/* 195544 80266C64 0202102A */ slt $v0, $s0, $v0 +/* 195548 80266C68 14400007 */ bnez $v0, .L80266C88 +/* 19554C 80266C6C 00000000 */ nop +/* 195550 80266C70 8E44020C */ lw $a0, 0x20c($s2) +/* 195554 80266C74 0C0997BB */ jal lookup_status_duration_mod +/* 195558 80266C78 02A0282D */ daddu $a1, $s5, $zero +/* 19555C 80266C7C 08099B22 */ j func_80266C88 +/* 195560 80266C80 24510003 */ addiu $s1, $v0, 3 + +.L80266C84: +/* 195564 80266C84 24110003 */ addiu $s1, $zero, 3 +func_80266C88: +.L80266C88: +/* 195568 80266C88 5A20000F */ blezl $s1, .L80266CC8 +/* 19556C 80266C8C 0000882D */ daddu $s1, $zero, $zero +/* 195570 80266C90 8E620190 */ lw $v0, 0x190($s3) +/* 195574 80266C94 04410007 */ bgez $v0, .L80266CB4 +/* 195578 80266C98 0240202D */ daddu $a0, $s2, $zero +/* 19557C 80266C9C 8E44020C */ lw $a0, 0x20c($s2) +/* 195580 80266CA0 82710195 */ lb $s1, 0x195($s3) +/* 195584 80266CA4 0C0997BB */ jal lookup_status_duration_mod +/* 195588 80266CA8 02A0282D */ daddu $a1, $s5, $zero +/* 19558C 80266CAC 02228821 */ addu $s1, $s1, $v0 +/* 195590 80266CB0 0240202D */ daddu $a0, $s2, $zero +.L80266CB4: +/* 195594 80266CB4 0280282D */ daddu $a1, $s4, $zero +/* 195598 80266CB8 0C0997D0 */ jal inflict_status +/* 19559C 80266CBC 0220302D */ daddu $a2, $s1, $zero +/* 1955A0 80266CC0 08099B33 */ j func_80266CCC +/* 1955A4 80266CC4 0220102D */ daddu $v0, $s1, $zero + +.L80266CC8: +/* 1955A8 80266CC8 0220102D */ daddu $v0, $s1, $zero +func_80266CCC: +/* 1955AC 80266CCC 8FBF0028 */ lw $ra, 0x28($sp) +/* 1955B0 80266CD0 8FB50024 */ lw $s5, 0x24($sp) +/* 1955B4 80266CD4 8FB40020 */ lw $s4, 0x20($sp) +/* 1955B8 80266CD8 8FB3001C */ lw $s3, 0x1c($sp) +/* 1955BC 80266CDC 8FB20018 */ lw $s2, 0x18($sp) +/* 1955C0 80266CE0 8FB10014 */ lw $s1, 0x14($sp) +/* 1955C4 80266CE4 8FB00010 */ lw $s0, 0x10($sp) +/* 1955C8 80266CE8 03E00008 */ jr $ra +/* 1955CC 80266CEC 27BD0030 */ addiu $sp, $sp, 0x30 + +inflict_status_set_duration: +/* 1955D0 80266CF0 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 1955D4 80266CF4 AFB20018 */ sw $s2, 0x18($sp) +/* 1955D8 80266CF8 0080902D */ daddu $s2, $a0, $zero +/* 1955DC 80266CFC AFB3001C */ sw $s3, 0x1c($sp) +/* 1955E0 80266D00 00A0982D */ daddu $s3, $a1, $zero +/* 1955E4 80266D04 AFB10014 */ sw $s1, 0x14($sp) +/* 1955E8 80266D08 00E0882D */ daddu $s1, $a3, $zero +/* 1955EC 80266D0C AFBF0020 */ sw $ra, 0x20($sp) +/* 1955F0 80266D10 AFB00010 */ sw $s0, 0x10($sp) +/* 1955F4 80266D14 8E44020C */ lw $a0, 0x20c($s2) +/* 1955F8 80266D18 10800005 */ beqz $a0, .L80266D30 +/* 1955FC 80266D1C 0000802D */ daddu $s0, $zero, $zero +/* 195600 80266D20 0C0997A6 */ jal lookup_status_chance +/* 195604 80266D24 00000000 */ nop +/* 195608 80266D28 18400002 */ blez $v0, .L80266D34 +/* 19560C 80266D2C 00000000 */ nop +.L80266D30: +/* 195610 80266D30 0220802D */ daddu $s0, $s1, $zero +.L80266D34: +/* 195614 80266D34 1E000003 */ bgtz $s0, .L80266D44 +/* 195618 80266D38 0240202D */ daddu $a0, $s2, $zero +/* 19561C 80266D3C 08099B54 */ j func_80266D50 +/* 195620 80266D40 0000102D */ daddu $v0, $zero, $zero + +.L80266D44: +/* 195624 80266D44 0260282D */ daddu $a1, $s3, $zero +/* 195628 80266D48 0C0997D0 */ jal inflict_status +/* 19562C 80266D4C 0200302D */ daddu $a2, $s0, $zero +func_80266D50: +/* 195630 80266D50 8FBF0020 */ lw $ra, 0x20($sp) +/* 195634 80266D54 8FB3001C */ lw $s3, 0x1c($sp) +/* 195638 80266D58 8FB20018 */ lw $s2, 0x18($sp) +/* 19563C 80266D5C 8FB10014 */ lw $s1, 0x14($sp) +/* 195640 80266D60 8FB00010 */ lw $s0, 0x10($sp) +/* 195644 80266D64 03E00008 */ jr $ra +/* 195648 80266D68 27BD0028 */ addiu $sp, $sp, 0x28 + +func_80266D6C: +/* 19564C 80266D6C 8C820094 */ lw $v0, 0x94($a0) +/* 195650 80266D70 1040000C */ beqz $v0, .L80266DA4 +/* 195654 80266D74 00000000 */ nop +/* 195658 80266D78 8C820000 */ lw $v0, ($a0) +/* 19565C 80266D7C 30420002 */ andi $v0, $v0, 2 +/* 195660 80266D80 14400008 */ bnez $v0, .L80266DA4 +/* 195664 80266D84 00000000 */ nop +/* 195668 80266D88 8C8400C0 */ lw $a0, 0xc0($a0) +/* 19566C 80266D8C 808206C0 */ lb $v0, 0x6c0($a0) +/* 195670 80266D90 10450004 */ beq $v0, $a1, .L80266DA4 +/* 195674 80266D94 24020001 */ addiu $v0, $zero, 1 +/* 195678 80266D98 A08506C0 */ sb $a1, 0x6c0($a0) +/* 19567C 80266D9C A08006C2 */ sb $zero, 0x6c2($a0) +/* 195680 80266DA0 A08206C1 */ sb $v0, 0x6c1($a0) +.L80266DA4: +/* 195684 80266DA4 03E00008 */ jr $ra +/* 195688 80266DA8 00000000 */ nop + +func_80266DAC: +/* 19568C 80266DAC 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 195690 80266DB0 AFBF0018 */ sw $ra, 0x18($sp) +/* 195694 80266DB4 AFB10014 */ sw $s1, 0x14($sp) +/* 195698 80266DB8 AFB00010 */ sw $s0, 0x10($sp) +/* 19569C 80266DBC 8C9001F4 */ lw $s0, 0x1f4($a0) +/* 1956A0 80266DC0 1200000F */ beqz $s0, .L80266E00 +/* 1956A4 80266DC4 00A0882D */ daddu $s1, $a1, $zero +.L80266DC8: +/* 1956A8 80266DC8 8E030000 */ lw $v1, ($s0) +/* 1956AC 80266DCC 30620001 */ andi $v0, $v1, 1 +/* 1956B0 80266DD0 14400008 */ bnez $v0, .L80266DF4 +/* 1956B4 80266DD4 00000000 */ nop +/* 1956B8 80266DD8 8E020094 */ lw $v0, 0x94($s0) +/* 1956BC 80266DDC 10400005 */ beqz $v0, .L80266DF4 +/* 1956C0 80266DE0 30620002 */ andi $v0, $v1, 2 +/* 1956C4 80266DE4 14400003 */ bnez $v0, .L80266DF4 +/* 1956C8 80266DE8 0200202D */ daddu $a0, $s0, $zero +/* 1956CC 80266DEC 0C099B5B */ jal func_80266D6C +/* 1956D0 80266DF0 0220282D */ daddu $a1, $s1, $zero +.L80266DF4: +/* 1956D4 80266DF4 8E10000C */ lw $s0, 0xc($s0) +/* 1956D8 80266DF8 1600FFF3 */ bnez $s0, .L80266DC8 +/* 1956DC 80266DFC 00000000 */ nop +.L80266E00: +/* 1956E0 80266E00 8FBF0018 */ lw $ra, 0x18($sp) +/* 1956E4 80266E04 8FB10014 */ lw $s1, 0x14($sp) +/* 1956E8 80266E08 8FB00010 */ lw $s0, 0x10($sp) +/* 1956EC 80266E0C 03E00008 */ jr $ra +/* 1956F0 80266E10 27BD0020 */ addiu $sp, $sp, 0x20 + +func_80266E14: +/* 1956F4 80266E14 8C820094 */ lw $v0, 0x94($a0) +/* 1956F8 80266E18 10400007 */ beqz $v0, .L80266E38 +/* 1956FC 80266E1C 00000000 */ nop +/* 195700 80266E20 8C820000 */ lw $v0, ($a0) +/* 195704 80266E24 30420002 */ andi $v0, $v0, 2 +/* 195708 80266E28 14400003 */ bnez $v0, .L80266E38 +/* 19570C 80266E2C 00000000 */ nop +/* 195710 80266E30 8C8200C0 */ lw $v0, 0xc0($a0) +/* 195714 80266E34 A04006C0 */ sb $zero, 0x6c0($v0) +.L80266E38: +/* 195718 80266E38 03E00008 */ jr $ra +/* 19571C 80266E3C 00000000 */ nop + +func_80266E40: +/* 195720 80266E40 8C8401F4 */ lw $a0, 0x1f4($a0) +/* 195724 80266E44 10800016 */ beqz $a0, .L80266EA0 +/* 195728 80266E48 3C060010 */ lui $a2, 0x10 +/* 19572C 80266E4C 34C60001 */ ori $a2, $a2, 1 +/* 195730 80266E50 2408000E */ addiu $t0, $zero, 0xe +/* 195734 80266E54 2407000F */ addiu $a3, $zero, 0xf +.L80266E58: +/* 195738 80266E58 8C8500C0 */ lw $a1, 0xc0($a0) +/* 19573C 80266E5C 8C830000 */ lw $v1, ($a0) +/* 195740 80266E60 00661024 */ and $v0, $v1, $a2 +/* 195744 80266E64 1440000B */ bnez $v0, .L80266E94 +/* 195748 80266E68 00000000 */ nop +/* 19574C 80266E6C 8C820094 */ lw $v0, 0x94($a0) +/* 195750 80266E70 10400008 */ beqz $v0, .L80266E94 +/* 195754 80266E74 30620002 */ andi $v0, $v1, 2 +/* 195758 80266E78 14400006 */ bnez $v0, .L80266E94 +/* 19575C 80266E7C 00000000 */ nop +/* 195760 80266E80 80A206C0 */ lb $v0, 0x6c0($a1) +/* 195764 80266E84 10480003 */ beq $v0, $t0, .L80266E94 +/* 195768 80266E88 00000000 */ nop +/* 19576C 80266E8C 54470001 */ bnel $v0, $a3, .L80266E94 +/* 195770 80266E90 A0A006C0 */ sb $zero, 0x6c0($a1) +.L80266E94: +/* 195774 80266E94 8C84000C */ lw $a0, 0xc($a0) +/* 195778 80266E98 1480FFEF */ bnez $a0, .L80266E58 +/* 19577C 80266E9C 00000000 */ nop +.L80266EA0: +/* 195780 80266EA0 03E00008 */ jr $ra +/* 195784 80266EA4 00000000 */ nop + +func_80266EA8: +/* 195788 80266EA8 8C820094 */ lw $v0, 0x94($a0) +/* 19578C 80266EAC 1040000C */ beqz $v0, .L80266EE0 +/* 195790 80266EB0 00000000 */ nop +/* 195794 80266EB4 8C820000 */ lw $v0, ($a0) +/* 195798 80266EB8 30420002 */ andi $v0, $v0, 2 +/* 19579C 80266EBC 14400008 */ bnez $v0, .L80266EE0 +/* 1957A0 80266EC0 00000000 */ nop +/* 1957A4 80266EC4 8C8400C0 */ lw $a0, 0xc0($a0) +/* 1957A8 80266EC8 80820750 */ lb $v0, 0x750($a0) +/* 1957AC 80266ECC 10450004 */ beq $v0, $a1, .L80266EE0 +/* 1957B0 80266ED0 24020001 */ addiu $v0, $zero, 1 +/* 1957B4 80266ED4 A0850750 */ sb $a1, 0x750($a0) +/* 1957B8 80266ED8 A0800752 */ sb $zero, 0x752($a0) +/* 1957BC 80266EDC A0820751 */ sb $v0, 0x751($a0) +.L80266EE0: +/* 1957C0 80266EE0 03E00008 */ jr $ra +/* 1957C4 80266EE4 00000000 */ nop + +func_80266EE8: +/* 1957C8 80266EE8 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 1957CC 80266EEC AFBF001C */ sw $ra, 0x1c($sp) +/* 1957D0 80266EF0 AFB20018 */ sw $s2, 0x18($sp) +/* 1957D4 80266EF4 AFB10014 */ sw $s1, 0x14($sp) +/* 1957D8 80266EF8 AFB00010 */ sw $s0, 0x10($sp) +/* 1957DC 80266EFC 8C9001F4 */ lw $s0, 0x1f4($a0) +/* 1957E0 80266F00 12000011 */ beqz $s0, .L80266F48 +/* 1957E4 80266F04 00A0902D */ daddu $s2, $a1, $zero +/* 1957E8 80266F08 3C110010 */ lui $s1, 0x10 +/* 1957EC 80266F0C 36310001 */ ori $s1, $s1, 1 +.L80266F10: +/* 1957F0 80266F10 8E030000 */ lw $v1, ($s0) +/* 1957F4 80266F14 00711024 */ and $v0, $v1, $s1 +/* 1957F8 80266F18 14400008 */ bnez $v0, .L80266F3C +/* 1957FC 80266F1C 00000000 */ nop +/* 195800 80266F20 8E020094 */ lw $v0, 0x94($s0) +/* 195804 80266F24 10400005 */ beqz $v0, .L80266F3C +/* 195808 80266F28 30620002 */ andi $v0, $v1, 2 +/* 19580C 80266F2C 14400003 */ bnez $v0, .L80266F3C +/* 195810 80266F30 0200202D */ daddu $a0, $s0, $zero +/* 195814 80266F34 0C099BAA */ jal func_80266EA8 +/* 195818 80266F38 0240282D */ daddu $a1, $s2, $zero +.L80266F3C: +/* 19581C 80266F3C 8E10000C */ lw $s0, 0xc($s0) +/* 195820 80266F40 1600FFF3 */ bnez $s0, .L80266F10 +/* 195824 80266F44 00000000 */ nop +.L80266F48: +/* 195828 80266F48 8FBF001C */ lw $ra, 0x1c($sp) +/* 19582C 80266F4C 8FB20018 */ lw $s2, 0x18($sp) +/* 195830 80266F50 8FB10014 */ lw $s1, 0x14($sp) +/* 195834 80266F54 8FB00010 */ lw $s0, 0x10($sp) +/* 195838 80266F58 03E00008 */ jr $ra +/* 19583C 80266F5C 27BD0020 */ addiu $sp, $sp, 0x20 + +/* 195840 80266F60 8C820094 */ lw $v0, 0x94($a0) +/* 195844 80266F64 10400007 */ beqz $v0, .L80266F84 +/* 195848 80266F68 00000000 */ nop +/* 19584C 80266F6C 8C820000 */ lw $v0, ($a0) +/* 195850 80266F70 30420002 */ andi $v0, $v0, 2 +/* 195854 80266F74 14400003 */ bnez $v0, .L80266F84 +/* 195858 80266F78 00000000 */ nop +/* 19585C 80266F7C 8C8200C0 */ lw $v0, 0xc0($a0) +/* 195860 80266F80 A0400750 */ sb $zero, 0x750($v0) +.L80266F84: +/* 195864 80266F84 03E00008 */ jr $ra +/* 195868 80266F88 00000000 */ nop + +/* 19586C 80266F8C 8C8401F4 */ lw $a0, 0x1f4($a0) +/* 195870 80266F90 1080000F */ beqz $a0, .L80266FD0 +/* 195874 80266F94 3C060010 */ lui $a2, 0x10 +/* 195878 80266F98 34C60001 */ ori $a2, $a2, 1 +.L80266F9C: +/* 19587C 80266F9C 8C8500C0 */ lw $a1, 0xc0($a0) +/* 195880 80266FA0 8C830000 */ lw $v1, ($a0) +/* 195884 80266FA4 00661024 */ and $v0, $v1, $a2 +/* 195888 80266FA8 14400006 */ bnez $v0, .L80266FC4 +/* 19588C 80266FAC 00000000 */ nop +/* 195890 80266FB0 8C820094 */ lw $v0, 0x94($a0) +/* 195894 80266FB4 10400003 */ beqz $v0, .L80266FC4 +/* 195898 80266FB8 30620002 */ andi $v0, $v1, 2 +/* 19589C 80266FBC 50400001 */ beql $v0, $zero, .L80266FC4 +/* 1958A0 80266FC0 A0A00750 */ sb $zero, 0x750($a1) +.L80266FC4: +/* 1958A4 80266FC4 8C84000C */ lw $a0, 0xc($a0) +/* 1958A8 80266FC8 1480FFF4 */ bnez $a0, .L80266F9C +/* 1958AC 80266FCC 00000000 */ nop +.L80266FD0: +/* 1958B0 80266FD0 03E00008 */ jr $ra +/* 1958B4 80266FD4 00000000 */ nop + +func_80266FD8: +/* 1958B8 80266FD8 8C820094 */ lw $v0, 0x94($a0) +/* 1958BC 80266FDC 1040000C */ beqz $v0, .L80267010 +/* 1958C0 80266FE0 00000000 */ nop +/* 1958C4 80266FE4 8C820000 */ lw $v0, ($a0) +/* 1958C8 80266FE8 30420002 */ andi $v0, $v0, 2 +/* 1958CC 80266FEC 14400008 */ bnez $v0, .L80267010 +/* 1958D0 80266FF0 00000000 */ nop +/* 1958D4 80266FF4 8C8400C0 */ lw $a0, 0xc0($a0) +/* 1958D8 80266FF8 80820764 */ lb $v0, 0x764($a0) +/* 1958DC 80266FFC 10450004 */ beq $v0, $a1, .L80267010 +/* 1958E0 80267000 24020001 */ addiu $v0, $zero, 1 +/* 1958E4 80267004 A0850764 */ sb $a1, 0x764($a0) +/* 1958E8 80267008 A0800766 */ sb $zero, 0x766($a0) +/* 1958EC 8026700C A0820765 */ sb $v0, 0x765($a0) +.L80267010: +/* 1958F0 80267010 03E00008 */ jr $ra +/* 1958F4 80267014 00000000 */ nop + +func_80267018: +/* 1958F8 80267018 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 1958FC 8026701C AFBF001C */ sw $ra, 0x1c($sp) +/* 195900 80267020 AFB20018 */ sw $s2, 0x18($sp) +/* 195904 80267024 AFB10014 */ sw $s1, 0x14($sp) +/* 195908 80267028 AFB00010 */ sw $s0, 0x10($sp) +/* 19590C 8026702C 8C9001F4 */ lw $s0, 0x1f4($a0) +/* 195910 80267030 12000014 */ beqz $s0, .L80267084 +/* 195914 80267034 00A0902D */ daddu $s2, $a1, $zero +/* 195918 80267038 3C110010 */ lui $s1, 0x10 +/* 19591C 8026703C 36310001 */ ori $s1, $s1, 1 +.L80267040: +/* 195920 80267040 8E030000 */ lw $v1, ($s0) +/* 195924 80267044 00711024 */ and $v0, $v1, $s1 +/* 195928 80267048 1440000B */ bnez $v0, .L80267078 +/* 19592C 8026704C 00000000 */ nop +/* 195930 80267050 8E0200C0 */ lw $v0, 0xc0($s0) +/* 195934 80267054 10400008 */ beqz $v0, .L80267078 +/* 195938 80267058 30620002 */ andi $v0, $v1, 2 +/* 19593C 8026705C 14400006 */ bnez $v0, .L80267078 +/* 195940 80267060 00000000 */ nop +/* 195944 80267064 8E020094 */ lw $v0, 0x94($s0) +/* 195948 80267068 10400003 */ beqz $v0, .L80267078 +/* 19594C 8026706C 0200202D */ daddu $a0, $s0, $zero +/* 195950 80267070 0C099BF6 */ jal func_80266FD8 +/* 195954 80267074 0240282D */ daddu $a1, $s2, $zero +.L80267078: +/* 195958 80267078 8E10000C */ lw $s0, 0xc($s0) +/* 19595C 8026707C 1600FFF0 */ bnez $s0, .L80267040 +/* 195960 80267080 00000000 */ nop +.L80267084: +/* 195964 80267084 8FBF001C */ lw $ra, 0x1c($sp) +/* 195968 80267088 8FB20018 */ lw $s2, 0x18($sp) +/* 19596C 8026708C 8FB10014 */ lw $s1, 0x14($sp) +/* 195970 80267090 8FB00010 */ lw $s0, 0x10($sp) +/* 195974 80267094 03E00008 */ jr $ra +/* 195978 80267098 27BD0020 */ addiu $sp, $sp, 0x20 + +func_8026709C: +/* 19597C 8026709C 8C820094 */ lw $v0, 0x94($a0) +/* 195980 802670A0 10400007 */ beqz $v0, .L802670C0 +/* 195984 802670A4 00000000 */ nop +/* 195988 802670A8 8C820000 */ lw $v0, ($a0) +/* 19598C 802670AC 30420002 */ andi $v0, $v0, 2 +/* 195990 802670B0 14400003 */ bnez $v0, .L802670C0 +/* 195994 802670B4 00000000 */ nop +/* 195998 802670B8 8C8200C0 */ lw $v0, 0xc0($a0) +/* 19599C 802670BC A0400764 */ sb $zero, 0x764($v0) +.L802670C0: +/* 1959A0 802670C0 03E00008 */ jr $ra +/* 1959A4 802670C4 00000000 */ nop + +/* 1959A8 802670C8 8C8401F4 */ lw $a0, 0x1f4($a0) +/* 1959AC 802670CC 1080000F */ beqz $a0, .L8026710C +/* 1959B0 802670D0 3C060010 */ lui $a2, 0x10 +/* 1959B4 802670D4 34C60001 */ ori $a2, $a2, 1 +.L802670D8: +/* 1959B8 802670D8 8C8500C0 */ lw $a1, 0xc0($a0) +/* 1959BC 802670DC 8C830000 */ lw $v1, ($a0) +/* 1959C0 802670E0 00661024 */ and $v0, $v1, $a2 +/* 1959C4 802670E4 14400006 */ bnez $v0, .L80267100 +/* 1959C8 802670E8 00000000 */ nop +/* 1959CC 802670EC 8C820094 */ lw $v0, 0x94($a0) +/* 1959D0 802670F0 10400003 */ beqz $v0, .L80267100 +/* 1959D4 802670F4 30620002 */ andi $v0, $v1, 2 +/* 1959D8 802670F8 50400001 */ beql $v0, $zero, .L80267100 +/* 1959DC 802670FC A0A00764 */ sb $zero, 0x764($a1) +.L80267100: +/* 1959E0 80267100 8C84000C */ lw $a0, 0xc($a0) +/* 1959E4 80267104 1480FFF4 */ bnez $a0, .L802670D8 +/* 1959E8 80267108 00000000 */ nop +.L8026710C: +/* 1959EC 8026710C 03E00008 */ jr $ra +/* 1959F0 80267110 00000000 */ nop + +add_part_decoration: +/* 1959F4 80267114 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 1959F8 80267118 AFB10014 */ sw $s1, 0x14($sp) +/* 1959FC 8026711C 0080882D */ daddu $s1, $a0, $zero +/* 195A00 80267120 AFB20018 */ sw $s2, 0x18($sp) +/* 195A04 80267124 00A0902D */ daddu $s2, $a1, $zero +/* 195A08 80267128 AFBF0020 */ sw $ra, 0x20($sp) +/* 195A0C 8026712C AFB3001C */ sw $s3, 0x1c($sp) +/* 195A10 80267130 AFB00010 */ sw $s0, 0x10($sp) +/* 195A14 80267134 8E220094 */ lw $v0, 0x94($s1) +/* 195A18 80267138 1040000E */ beqz $v0, .L80267174 +/* 195A1C 8026713C 00C0982D */ daddu $s3, $a2, $zero +/* 195A20 80267140 8E220000 */ lw $v0, ($s1) +/* 195A24 80267144 30420002 */ andi $v0, $v0, 2 +/* 195A28 80267148 1440000A */ bnez $v0, .L80267174 +/* 195A2C 8026714C 00000000 */ nop +/* 195A30 80267150 8E3000C0 */ lw $s0, 0xc0($s1) +/* 195A34 80267154 0C09740F */ jal _remove_part_decoration +/* 195A38 80267158 02128021 */ addu $s0, $s0, $s2 +/* 195A3C 8026715C 0220202D */ daddu $a0, $s1, $zero +/* 195A40 80267160 24020001 */ addiu $v0, $zero, 1 +/* 195A44 80267164 A21308B8 */ sb $s3, 0x8b8($s0) +/* 195A48 80267168 A20208BA */ sb $v0, 0x8ba($s0) +/* 195A4C 8026716C 0C0973B2 */ jal func_8025CEC8 +/* 195A50 80267170 A20008BC */ sb $zero, 0x8bc($s0) +.L80267174: +/* 195A54 80267174 8FBF0020 */ lw $ra, 0x20($sp) +/* 195A58 80267178 8FB3001C */ lw $s3, 0x1c($sp) +/* 195A5C 8026717C 8FB20018 */ lw $s2, 0x18($sp) +/* 195A60 80267180 8FB10014 */ lw $s1, 0x14($sp) +/* 195A64 80267184 8FB00010 */ lw $s0, 0x10($sp) +/* 195A68 80267188 03E00008 */ jr $ra +/* 195A6C 8026718C 27BD0028 */ addiu $sp, $sp, 0x28 + +add_actor_decoration: +/* 195A70 80267190 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 195A74 80267194 AFB20018 */ sw $s2, 0x18($sp) +/* 195A78 80267198 00A0902D */ daddu $s2, $a1, $zero +/* 195A7C 8026719C AFBF0020 */ sw $ra, 0x20($sp) +/* 195A80 802671A0 AFB3001C */ sw $s3, 0x1c($sp) +/* 195A84 802671A4 AFB10014 */ sw $s1, 0x14($sp) +/* 195A88 802671A8 AFB00010 */ sw $s0, 0x10($sp) +/* 195A8C 802671AC 8C9001F4 */ lw $s0, 0x1f4($a0) +/* 195A90 802671B0 12000012 */ beqz $s0, .L802671FC +/* 195A94 802671B4 00C0982D */ daddu $s3, $a2, $zero +/* 195A98 802671B8 3C110010 */ lui $s1, 0x10 +/* 195A9C 802671BC 36310001 */ ori $s1, $s1, 1 +.L802671C0: +/* 195AA0 802671C0 8E030000 */ lw $v1, ($s0) +/* 195AA4 802671C4 00711024 */ and $v0, $v1, $s1 +/* 195AA8 802671C8 14400009 */ bnez $v0, .L802671F0 +/* 195AAC 802671CC 00000000 */ nop +/* 195AB0 802671D0 8E020094 */ lw $v0, 0x94($s0) +/* 195AB4 802671D4 10400006 */ beqz $v0, .L802671F0 +/* 195AB8 802671D8 30620002 */ andi $v0, $v1, 2 +/* 195ABC 802671DC 14400004 */ bnez $v0, .L802671F0 +/* 195AC0 802671E0 0200202D */ daddu $a0, $s0, $zero +/* 195AC4 802671E4 0240282D */ daddu $a1, $s2, $zero +/* 195AC8 802671E8 0C099C45 */ jal add_part_decoration +/* 195ACC 802671EC 0260302D */ daddu $a2, $s3, $zero +.L802671F0: +/* 195AD0 802671F0 8E10000C */ lw $s0, 0xc($s0) +/* 195AD4 802671F4 1600FFF2 */ bnez $s0, .L802671C0 +/* 195AD8 802671F8 00000000 */ nop +.L802671FC: +/* 195ADC 802671FC 8FBF0020 */ lw $ra, 0x20($sp) +/* 195AE0 80267200 8FB3001C */ lw $s3, 0x1c($sp) +/* 195AE4 80267204 8FB20018 */ lw $s2, 0x18($sp) +/* 195AE8 80267208 8FB10014 */ lw $s1, 0x14($sp) +/* 195AEC 8026720C 8FB00010 */ lw $s0, 0x10($sp) +/* 195AF0 80267210 03E00008 */ jr $ra +/* 195AF4 80267214 27BD0028 */ addiu $sp, $sp, 0x28 + +remove_part_decoration: +/* 195AF8 80267218 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 195AFC 8026721C AFBF0010 */ sw $ra, 0x10($sp) +/* 195B00 80267220 0C09740F */ jal _remove_part_decoration +/* 195B04 80267224 00000000 */ nop +/* 195B08 80267228 8FBF0010 */ lw $ra, 0x10($sp) +/* 195B0C 8026722C 03E00008 */ jr $ra +/* 195B10 80267230 27BD0018 */ addiu $sp, $sp, 0x18 + +remove_actor_decoration: +/* 195B14 80267234 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 195B18 80267238 AFBF001C */ sw $ra, 0x1c($sp) +/* 195B1C 8026723C AFB20018 */ sw $s2, 0x18($sp) +/* 195B20 80267240 AFB10014 */ sw $s1, 0x14($sp) +/* 195B24 80267244 AFB00010 */ sw $s0, 0x10($sp) +/* 195B28 80267248 8C9001F4 */ lw $s0, 0x1f4($a0) +/* 195B2C 8026724C 12000011 */ beqz $s0, .L80267294 +/* 195B30 80267250 00A0902D */ daddu $s2, $a1, $zero +/* 195B34 80267254 3C110010 */ lui $s1, 0x10 +/* 195B38 80267258 36310001 */ ori $s1, $s1, 1 +.L8026725C: +/* 195B3C 8026725C 8E030000 */ lw $v1, ($s0) +/* 195B40 80267260 00711024 */ and $v0, $v1, $s1 +/* 195B44 80267264 14400008 */ bnez $v0, .L80267288 +/* 195B48 80267268 00000000 */ nop +/* 195B4C 8026726C 8E020094 */ lw $v0, 0x94($s0) +/* 195B50 80267270 10400005 */ beqz $v0, .L80267288 +/* 195B54 80267274 30620002 */ andi $v0, $v1, 2 +/* 195B58 80267278 14400003 */ bnez $v0, .L80267288 +/* 195B5C 8026727C 0200202D */ daddu $a0, $s0, $zero +/* 195B60 80267280 0C099C86 */ jal remove_part_decoration +/* 195B64 80267284 0240282D */ daddu $a1, $s2, $zero +.L80267288: +/* 195B68 80267288 8E10000C */ lw $s0, 0xc($s0) +/* 195B6C 8026728C 1600FFF3 */ bnez $s0, .L8026725C +/* 195B70 80267290 00000000 */ nop +.L80267294: +/* 195B74 80267294 8FBF001C */ lw $ra, 0x1c($sp) +/* 195B78 80267298 8FB20018 */ lw $s2, 0x18($sp) +/* 195B7C 8026729C 8FB10014 */ lw $s1, 0x14($sp) +/* 195B80 802672A0 8FB00010 */ lw $s0, 0x10($sp) +/* 195B84 802672A4 03E00008 */ jr $ra +/* 195B88 802672A8 27BD0020 */ addiu $sp, $sp, 0x20 + +heroes_is_ability_active: +/* 195B8C 802672AC 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 195B90 802672B0 AFBF0010 */ sw $ra, 0x10($sp) +/* 195B94 802672B4 94820192 */ lhu $v0, 0x192($a0) +/* 195B98 802672B8 30430700 */ andi $v1, $v0, 0x700 +/* 195B9C 802672BC 24020100 */ addiu $v0, $zero, 0x100 +/* 195BA0 802672C0 1062000F */ beq $v1, $v0, .L80267300 +/* 195BA4 802672C4 0000202D */ daddu $a0, $zero, $zero +/* 195BA8 802672C8 28620101 */ slti $v0, $v1, 0x101 +/* 195BAC 802672CC 1040000F */ beqz $v0, .L8026730C +/* 195BB0 802672D0 00000000 */ nop +/* 195BB4 802672D4 1460000D */ bnez $v1, .L8026730C +/* 195BB8 802672D8 00000000 */ nop +/* 195BBC 802672DC 3C02800E */ lui $v0, 0x800e +/* 195BC0 802672E0 8C42C074 */ lw $v0, -0x3f8c($v0) +/* 195BC4 802672E4 30420040 */ andi $v0, $v0, 0x40 +/* 195BC8 802672E8 14400008 */ bnez $v0, .L8026730C +/* 195BCC 802672EC 00000000 */ nop +/* 195BD0 802672F0 0C03A752 */ jal is_ability_active +/* 195BD4 802672F4 00A0202D */ daddu $a0, $a1, $zero +/* 195BD8 802672F8 08099CC3 */ j func_8026730C +/* 195BDC 802672FC 0040202D */ daddu $a0, $v0, $zero + +.L80267300: +/* 195BE0 80267300 0C03A82E */ jal is_partner_ability_active +/* 195BE4 80267304 00A0202D */ daddu $a0, $a1, $zero +/* 195BE8 80267308 0040202D */ daddu $a0, $v0, $zero +func_8026730C: +.L8026730C: +/* 195BEC 8026730C 8FBF0010 */ lw $ra, 0x10($sp) +/* 195BF0 80267310 0080102D */ daddu $v0, $a0, $zero +/* 195BF4 80267314 03E00008 */ jr $ra +/* 195BF8 80267318 27BD0018 */ addiu $sp, $sp, 0x18 + +create_part_shadow: +/* 195BFC 8026731C 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 195C00 80267320 AFB00010 */ sw $s0, 0x10($sp) +/* 195C04 80267324 AFBF0014 */ sw $ra, 0x14($sp) +/* 195C08 80267328 0C09A75B */ jal get_actor +/* 195C0C 8026732C 00A0802D */ daddu $s0, $a1, $zero +/* 195C10 80267330 0040202D */ daddu $a0, $v0, $zero +/* 195C14 80267334 0C099117 */ jal get_actor_part +/* 195C18 80267338 0200282D */ daddu $a1, $s0, $zero +/* 195C1C 8026733C 0000202D */ daddu $a0, $zero, $zero +/* 195C20 80267340 0040802D */ daddu $s0, $v0, $zero +/* 195C24 80267344 2403FFFB */ addiu $v1, $zero, -5 +/* 195C28 80267348 8E050058 */ lw $a1, 0x58($s0) +/* 195C2C 8026734C 8E020000 */ lw $v0, ($s0) +/* 195C30 80267350 8E06005C */ lw $a2, 0x5c($s0) +/* 195C34 80267354 8E070060 */ lw $a3, 0x60($s0) +/* 195C38 80267358 00431024 */ and $v0, $v0, $v1 +/* 195C3C 8026735C 0C044898 */ jal create_shadow_type +/* 195C40 80267360 AE020000 */ sw $v0, ($s0) +/* 195C44 80267364 AE02009C */ sw $v0, 0x9c($s0) +/* 195C48 80267368 92020072 */ lbu $v0, 0x72($s0) +/* 195C4C 8026736C 3C014038 */ lui $at, 0x4038 +/* 195C50 80267370 44811800 */ mtc1 $at, $f3 +/* 195C54 80267374 44801000 */ mtc1 $zero, $f2 +/* 195C58 80267378 44820000 */ mtc1 $v0, $f0 +/* 195C5C 8026737C 00000000 */ nop +/* 195C60 80267380 46800021 */ cvt.d.w $f0, $f0 +/* 195C64 80267384 46220003 */ div.d $f0, $f0, $f2 +/* 195C68 80267388 46200020 */ cvt.s.d $f0, $f0 +/* 195C6C 8026738C E60000A0 */ swc1 $f0, 0xa0($s0) +/* 195C70 80267390 8FBF0014 */ lw $ra, 0x14($sp) +/* 195C74 80267394 8FB00010 */ lw $s0, 0x10($sp) +/* 195C78 80267398 03E00008 */ jr $ra +/* 195C7C 8026739C 27BD0018 */ addiu $sp, $sp, 0x18 + +remove_part_shadow: +/* 195C80 802673A0 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 195C84 802673A4 AFB00010 */ sw $s0, 0x10($sp) +/* 195C88 802673A8 AFBF0014 */ sw $ra, 0x14($sp) +/* 195C8C 802673AC 0C09A75B */ jal get_actor +/* 195C90 802673B0 00A0802D */ daddu $s0, $a1, $zero +/* 195C94 802673B4 0040202D */ daddu $a0, $v0, $zero +/* 195C98 802673B8 0C099117 */ jal get_actor_part +/* 195C9C 802673BC 0200282D */ daddu $a1, $s0, $zero +/* 195CA0 802673C0 8C430000 */ lw $v1, ($v0) +/* 195CA4 802673C4 8C44009C */ lw $a0, 0x9c($v0) +/* 195CA8 802673C8 34630004 */ ori $v1, $v1, 4 +/* 195CAC 802673CC 0C0448CA */ jal func_80112328 +/* 195CB0 802673D0 AC430000 */ sw $v1, ($v0) +/* 195CB4 802673D4 8FBF0014 */ lw $ra, 0x14($sp) +/* 195CB8 802673D8 8FB00010 */ lw $s0, 0x10($sp) +/* 195CBC 802673DC 03E00008 */ jr $ra +/* 195CC0 802673E0 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 195CC4 802673E4 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 195CC8 802673E8 AFB00010 */ sw $s0, 0x10($sp) +/* 195CCC 802673EC 00A0802D */ daddu $s0, $a1, $zero +/* 195CD0 802673F0 2403FFFB */ addiu $v1, $zero, -5 +/* 195CD4 802673F4 0000202D */ daddu $a0, $zero, $zero +/* 195CD8 802673F8 AFBF0014 */ sw $ra, 0x14($sp) +/* 195CDC 802673FC 8E020000 */ lw $v0, ($s0) +/* 195CE0 80267400 8E050058 */ lw $a1, 0x58($s0) +/* 195CE4 80267404 8E06005C */ lw $a2, 0x5c($s0) +/* 195CE8 80267408 8E070060 */ lw $a3, 0x60($s0) +/* 195CEC 8026740C 00431024 */ and $v0, $v0, $v1 +/* 195CF0 80267410 0C044898 */ jal create_shadow_type +/* 195CF4 80267414 AE020000 */ sw $v0, ($s0) +/* 195CF8 80267418 AE02009C */ sw $v0, 0x9c($s0) +/* 195CFC 8026741C 92020072 */ lbu $v0, 0x72($s0) +/* 195D00 80267420 3C014038 */ lui $at, 0x4038 +/* 195D04 80267424 44811800 */ mtc1 $at, $f3 +/* 195D08 80267428 44801000 */ mtc1 $zero, $f2 +/* 195D0C 8026742C 44820000 */ mtc1 $v0, $f0 +/* 195D10 80267430 00000000 */ nop +/* 195D14 80267434 46800021 */ cvt.d.w $f0, $f0 +/* 195D18 80267438 46220003 */ div.d $f0, $f0, $f2 +/* 195D1C 8026743C 46200020 */ cvt.s.d $f0, $f0 +/* 195D20 80267440 E60000A0 */ swc1 $f0, 0xa0($s0) +/* 195D24 80267444 8FBF0014 */ lw $ra, 0x14($sp) +/* 195D28 80267448 8FB00010 */ lw $s0, 0x10($sp) +/* 195D2C 8026744C 03E00008 */ jr $ra +/* 195D30 80267450 27BD0018 */ addiu $sp, $sp, 0x18 + +remove_player_buffs: +/* 195D34 80267454 27BDFFB8 */ addiu $sp, $sp, -0x48 +/* 195D38 80267458 AFB30024 */ sw $s3, 0x24($sp) +/* 195D3C 8026745C 0080982D */ daddu $s3, $a0, $zero +/* 195D40 80267460 AFB20020 */ sw $s2, 0x20($sp) +/* 195D44 80267464 3C12800E */ lui $s2, 0x800e +/* 195D48 80267468 2652C070 */ addiu $s2, $s2, -0x3f90 +/* 195D4C 8026746C 32620001 */ andi $v0, $s3, 1 +/* 195D50 80267470 AFBF002C */ sw $ra, 0x2c($sp) +/* 195D54 80267474 AFB40028 */ sw $s4, 0x28($sp) +/* 195D58 80267478 AFB1001C */ sw $s1, 0x1c($sp) +/* 195D5C 8026747C AFB00018 */ sw $s0, 0x18($sp) +/* 195D60 80267480 F7B80040 */ sdc1 $f24, 0x40($sp) +/* 195D64 80267484 F7B60038 */ sdc1 $f22, 0x38($sp) +/* 195D68 80267488 F7B40030 */ sdc1 $f20, 0x30($sp) +/* 195D6C 8026748C 8E5100D8 */ lw $s1, 0xd8($s2) +/* 195D70 80267490 8E5400DC */ lw $s4, 0xdc($s2) +/* 195D74 80267494 8E3001F4 */ lw $s0, 0x1f4($s1) +/* 195D78 80267498 10400006 */ beqz $v0, .L802674B4 +/* 195D7C 8026749C 3C03DFFF */ lui $v1, 0xdfff +/* 195D80 802674A0 8E420000 */ lw $v0, ($s2) +/* 195D84 802674A4 3463FFFF */ ori $v1, $v1, 0xffff +/* 195D88 802674A8 A2400097 */ sb $zero, 0x97($s2) +/* 195D8C 802674AC 00431024 */ and $v0, $v0, $v1 +/* 195D90 802674B0 AE420000 */ sw $v0, ($s2) +.L802674B4: +/* 195D94 802674B4 32620002 */ andi $v0, $s3, 2 +/* 195D98 802674B8 10400006 */ beqz $v0, .L802674D4 +/* 195D9C 802674BC 3C03EFFF */ lui $v1, 0xefff +/* 195DA0 802674C0 8E420000 */ lw $v0, ($s2) +/* 195DA4 802674C4 3463FFFF */ ori $v1, $v1, 0xffff +/* 195DA8 802674C8 A2400096 */ sb $zero, 0x96($s2) +/* 195DAC 802674CC 00431024 */ and $v0, $v0, $v1 +/* 195DB0 802674D0 AE420000 */ sw $v0, ($s2) +.L802674D4: +/* 195DB4 802674D4 32620008 */ andi $v0, $s3, 8 +/* 195DB8 802674D8 10400003 */ beqz $v0, .L802674E8 +/* 195DBC 802674DC 32620010 */ andi $v0, $s3, 0x10 +/* 195DC0 802674E0 A2200215 */ sb $zero, 0x215($s1) +/* 195DC4 802674E4 A2200214 */ sb $zero, 0x214($s1) +.L802674E8: +/* 195DC8 802674E8 10400006 */ beqz $v0, .L80267504 +/* 195DCC 802674EC 3C03FBFF */ lui $v1, 0xfbff +/* 195DD0 802674F0 8E420000 */ lw $v0, ($s2) +/* 195DD4 802674F4 3463FFFF */ ori $v1, $v1, 0xffff +/* 195DD8 802674F8 A240008B */ sb $zero, 0x8b($s2) +/* 195DDC 802674FC 00431024 */ and $v0, $v0, $v1 +/* 195DE0 80267500 AE420000 */ sw $v0, ($s2) +.L80267504: +/* 195DE4 80267504 32620020 */ andi $v0, $s3, 0x20 +/* 195DE8 80267508 10400009 */ beqz $v0, .L80267530 +/* 195DEC 8026750C 32620040 */ andi $v0, $s3, 0x40 +/* 195DF0 80267510 82220212 */ lb $v0, 0x212($s1) +/* 195DF4 80267514 10400006 */ beqz $v0, .L80267530 +/* 195DF8 80267518 32620040 */ andi $v0, $s3, 0x40 +/* 195DFC 8026751C 86240436 */ lh $a0, 0x436($s1) +/* 195E00 80267520 A2200213 */ sb $zero, 0x213($s1) +/* 195E04 80267524 0C011E68 */ jal func_800479A0 +/* 195E08 80267528 A2200212 */ sb $zero, 0x212($s1) +/* 195E0C 8026752C 32620040 */ andi $v0, $s3, 0x40 +.L80267530: +/* 195E10 80267530 1040000C */ beqz $v0, .L80267564 +/* 195E14 80267534 32620200 */ andi $v0, $s3, 0x200 +/* 195E18 80267538 82220218 */ lb $v0, 0x218($s1) +/* 195E1C 8026753C 10400008 */ beqz $v0, .L80267560 +/* 195E20 80267540 2403FEFF */ addiu $v1, $zero, -0x101 +/* 195E24 80267544 A2200219 */ sb $zero, 0x219($s1) +/* 195E28 80267548 A2200218 */ sb $zero, 0x218($s1) +/* 195E2C 8026754C 8E020000 */ lw $v0, ($s0) +/* 195E30 80267550 00431024 */ and $v0, $v0, $v1 +/* 195E34 80267554 AE020000 */ sw $v0, ($s0) +/* 195E38 80267558 0C011EAA */ jal func_80047AA8 +/* 195E3C 8026755C 86240436 */ lh $a0, 0x436($s1) +.L80267560: +/* 195E40 80267560 32620200 */ andi $v0, $s3, 0x200 +.L80267564: +/* 195E44 80267564 10400058 */ beqz $v0, .L802676C8 +/* 195E48 80267568 32620100 */ andi $v0, $s3, 0x100 +/* 195E4C 8026756C 8242009D */ lb $v0, 0x9d($s2) +/* 195E50 80267570 10400055 */ beqz $v0, .L802676C8 +/* 195E54 80267574 32620100 */ andi $v0, $s3, 0x100 +/* 195E58 80267578 8E42043C */ lw $v0, 0x43c($s2) +/* 195E5C 8026757C 3C013FC0 */ lui $at, 0x3fc0 +/* 195E60 80267580 44811000 */ mtc1 $at, $f2 +/* 195E64 80267584 A240009D */ sb $zero, 0x9d($s2) +/* 195E68 80267588 8C42000C */ lw $v0, 0xc($v0) +/* 195E6C 8026758C A4400010 */ sh $zero, 0x10($v0) +/* 195E70 80267590 8E4300A0 */ lw $v1, 0xa0($s2) +/* 195E74 80267594 3C014190 */ lui $at, 0x4190 +/* 195E78 80267598 44810000 */ mtc1 $at, $f0 +/* 195E7C 8026759C 8C620000 */ lw $v0, ($v1) +/* 195E80 802675A0 3C0140A0 */ lui $at, 0x40a0 +/* 195E84 802675A4 4481A000 */ mtc1 $at, $f20 +/* 195E88 802675A8 34420010 */ ori $v0, $v0, 0x10 +/* 195E8C 802675AC AC620000 */ sw $v0, ($v1) +/* 195E90 802675B0 2402000A */ addiu $v0, $zero, 0xa +/* 195E94 802675B4 C6240148 */ lwc1 $f4, 0x148($s1) +/* 195E98 802675B8 C626014C */ lwc1 $f6, 0x14c($s1) +/* 195E9C 802675BC 46002100 */ add.s $f4, $f4, $f0 +/* 195EA0 802675C0 E7A20010 */ swc1 $f2, 0x10($sp) +/* 195EA4 802675C4 AFA20014 */ sw $v0, 0x14($sp) +/* 195EA8 802675C8 46143180 */ add.s $f6, $f6, $f20 +/* 195EAC 802675CC 8E250144 */ lw $a1, 0x144($s1) +/* 195EB0 802675D0 44062000 */ mfc1 $a2, $f4 +/* 195EB4 802675D4 44073000 */ mfc1 $a3, $f6 +/* 195EB8 802675D8 0C01C694 */ jal func_80071A50 +/* 195EBC 802675DC 24040001 */ addiu $a0, $zero, 1 +/* 195EC0 802675E0 C6220144 */ lwc1 $f2, 0x144($s1) +/* 195EC4 802675E4 3C014120 */ lui $at, 0x4120 +/* 195EC8 802675E8 44810000 */ mtc1 $at, $f0 +/* 195ECC 802675EC 00000000 */ nop +/* 195ED0 802675F0 46001081 */ sub.s $f2, $f2, $f0 +/* 195ED4 802675F4 C6200148 */ lwc1 $f0, 0x148($s1) +/* 195ED8 802675F8 46140000 */ add.s $f0, $f0, $f20 +/* 195EDC 802675FC 44060000 */ mfc1 $a2, $f0 +/* 195EE0 80267600 C620014C */ lwc1 $f0, 0x14c($s1) +/* 195EE4 80267604 0000202D */ daddu $a0, $zero, $zero +/* 195EE8 80267608 46140000 */ add.s $f0, $f0, $f20 +/* 195EEC 8026760C 3C013F80 */ lui $at, 0x3f80 +/* 195EF0 80267610 4481B000 */ mtc1 $at, $f22 +/* 195EF4 80267614 44051000 */ mfc1 $a1, $f2 +/* 195EF8 80267618 44070000 */ mfc1 $a3, $f0 +/* 195EFC 8026761C 24100018 */ addiu $s0, $zero, 0x18 +/* 195F00 80267620 E7B60010 */ swc1 $f22, 0x10($sp) +/* 195F04 80267624 0C01C70C */ jal func_80071C30 +/* 195F08 80267628 AFB00014 */ sw $s0, 0x14($sp) +/* 195F0C 8026762C C6200144 */ lwc1 $f0, 0x144($s1) +/* 195F10 80267630 3C014170 */ lui $at, 0x4170 +/* 195F14 80267634 4481C000 */ mtc1 $at, $f24 +/* 195F18 80267638 00000000 */ nop +/* 195F1C 8026763C 46180001 */ sub.s $f0, $f0, $f24 +/* 195F20 80267640 C6220148 */ lwc1 $f2, 0x148($s1) +/* 195F24 80267644 44050000 */ mfc1 $a1, $f0 +/* 195F28 80267648 3C014200 */ lui $at, 0x4200 +/* 195F2C 8026764C 44810000 */ mtc1 $at, $f0 +/* 195F30 80267650 00000000 */ nop +/* 195F34 80267654 46001080 */ add.s $f2, $f2, $f0 +/* 195F38 80267658 C620014C */ lwc1 $f0, 0x14c($s1) +/* 195F3C 8026765C 46140000 */ add.s $f0, $f0, $f20 +/* 195F40 80267660 44061000 */ mfc1 $a2, $f2 +/* 195F44 80267664 44070000 */ mfc1 $a3, $f0 +/* 195F48 80267668 0000202D */ daddu $a0, $zero, $zero +/* 195F4C 8026766C E7B60010 */ swc1 $f22, 0x10($sp) +/* 195F50 80267670 0C01C70C */ jal func_80071C30 +/* 195F54 80267674 AFB00014 */ sw $s0, 0x14($sp) +/* 195F58 80267678 C6200144 */ lwc1 $f0, 0x144($s1) +/* 195F5C 8026767C 46180000 */ add.s $f0, $f0, $f24 +/* 195F60 80267680 C6220148 */ lwc1 $f2, 0x148($s1) +/* 195F64 80267684 44050000 */ mfc1 $a1, $f0 +/* 195F68 80267688 3C0141B0 */ lui $at, 0x41b0 +/* 195F6C 8026768C 44810000 */ mtc1 $at, $f0 +/* 195F70 80267690 00000000 */ nop +/* 195F74 80267694 46001080 */ add.s $f2, $f2, $f0 +/* 195F78 80267698 C620014C */ lwc1 $f0, 0x14c($s1) +/* 195F7C 8026769C 46140000 */ add.s $f0, $f0, $f20 +/* 195F80 802676A0 44061000 */ mfc1 $a2, $f2 +/* 195F84 802676A4 44070000 */ mfc1 $a3, $f0 +/* 195F88 802676A8 24040001 */ addiu $a0, $zero, 1 +/* 195F8C 802676AC E7B60010 */ swc1 $f22, 0x10($sp) +/* 195F90 802676B0 0C01C70C */ jal func_80071C30 +/* 195F94 802676B4 AFB00014 */ sw $s0, 0x14($sp) +/* 195F98 802676B8 24040299 */ addiu $a0, $zero, 0x299 +/* 195F9C 802676BC 0C05272D */ jal play_sound +/* 195FA0 802676C0 AE4000A0 */ sw $zero, 0xa0($s2) +/* 195FA4 802676C4 32620100 */ andi $v0, $s3, 0x100 +.L802676C8: +/* 195FA8 802676C8 10400009 */ beqz $v0, .L802676F0 +/* 195FAC 802676CC 32620080 */ andi $v0, $s3, 0x80 +/* 195FB0 802676D0 8242009B */ lb $v0, 0x9b($s2) +/* 195FB4 802676D4 10400006 */ beqz $v0, .L802676F0 +/* 195FB8 802676D8 32620080 */ andi $v0, $s3, 0x80 +/* 195FBC 802676DC 8E42043C */ lw $v0, 0x43c($s2) +/* 195FC0 802676E0 A240009B */ sb $zero, 0x9b($s2) +/* 195FC4 802676E4 8C42000C */ lw $v0, 0xc($v0) +/* 195FC8 802676E8 A4400024 */ sh $zero, 0x24($v0) +/* 195FCC 802676EC 32620080 */ andi $v0, $s3, 0x80 +.L802676F0: +/* 195FD0 802676F0 1040000B */ beqz $v0, .L80267720 +/* 195FD4 802676F4 00000000 */ nop +/* 195FD8 802676F8 824200A4 */ lb $v0, 0xa4($s2) +/* 195FDC 802676FC 10400008 */ beqz $v0, .L80267720 +/* 195FE0 80267700 00000000 */ nop +/* 195FE4 80267704 8E42043C */ lw $v0, 0x43c($s2) +/* 195FE8 80267708 A24000A4 */ sb $zero, 0xa4($s2) +/* 195FEC 8026770C 8C42000C */ lw $v0, 0xc($v0) +/* 195FF0 80267710 A440001A */ sh $zero, 0x1a($v0) +/* 195FF4 80267714 0C016914 */ jal remove_effect +/* 195FF8 80267718 8E4400A8 */ lw $a0, 0xa8($s2) +/* 195FFC 8026771C AE4000A8 */ sw $zero, 0xa8($s2) +.L80267720: +/* 196000 80267720 1280000B */ beqz $s4, .L80267750 +/* 196004 80267724 3C020001 */ lui $v0, 1 +/* 196008 80267728 02621024 */ and $v0, $s3, $v0 +/* 19600C 8026772C 10400008 */ beqz $v0, .L80267750 +/* 196010 80267730 3C04BFFF */ lui $a0, 0xbfff +/* 196014 80267734 3C03800E */ lui $v1, 0x800e +/* 196018 80267738 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 19601C 8026773C A2800220 */ sb $zero, 0x220($s4) +/* 196020 80267740 8C620000 */ lw $v0, ($v1) +/* 196024 80267744 3484FFFF */ ori $a0, $a0, 0xffff +/* 196028 80267748 00441024 */ and $v0, $v0, $a0 +/* 19602C 8026774C AC620000 */ sw $v0, ($v1) +.L80267750: +/* 196030 80267750 8FBF002C */ lw $ra, 0x2c($sp) +/* 196034 80267754 8FB40028 */ lw $s4, 0x28($sp) +/* 196038 80267758 8FB30024 */ lw $s3, 0x24($sp) +/* 19603C 8026775C 8FB20020 */ lw $s2, 0x20($sp) +/* 196040 80267760 8FB1001C */ lw $s1, 0x1c($sp) +/* 196044 80267764 8FB00018 */ lw $s0, 0x18($sp) +/* 196048 80267768 D7B80040 */ ldc1 $f24, 0x40($sp) +/* 19604C 8026776C D7B60038 */ ldc1 $f22, 0x38($sp) +/* 196050 80267770 D7B40030 */ ldc1 $f20, 0x30($sp) +/* 196054 80267774 03E00008 */ jr $ra +/* 196058 80267778 27BD0048 */ addiu $sp, $sp, 0x48 + +func_8026777C: +/* 19605C 8026777C 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 196060 80267780 AFB10014 */ sw $s1, 0x14($sp) +/* 196064 80267784 3C11800E */ lui $s1, 0x800e +/* 196068 80267788 2631C070 */ addiu $s1, $s1, -0x3f90 +/* 19606C 8026778C AFBF0018 */ sw $ra, 0x18($sp) +/* 196070 80267790 AFB00010 */ sw $s0, 0x10($sp) +/* 196074 80267794 8E2400D8 */ lw $a0, 0xd8($s1) +/* 196078 80267798 8E3000DC */ lw $s0, 0xdc($s1) +/* 19607C 8026779C 90820211 */ lbu $v0, 0x211($a0) +/* 196080 802677A0 80850217 */ lb $a1, 0x217($a0) +/* 196084 802677A4 A0820217 */ sb $v0, 0x217($a0) +/* 196088 802677A8 00021600 */ sll $v0, $v0, 0x18 +/* 19608C 802677AC 18400009 */ blez $v0, .L802677D4 +/* 196090 802677B0 2402000D */ addiu $v0, $zero, 0xd +/* 196094 802677B4 8C830440 */ lw $v1, 0x440($a0) +/* 196098 802677B8 A0820216 */ sb $v0, 0x216($a0) +/* 19609C 802677BC 80820217 */ lb $v0, 0x217($a0) +/* 1960A0 802677C0 8C63000C */ lw $v1, 0xc($v1) +/* 1960A4 802677C4 14A00003 */ bnez $a1, .L802677D4 +/* 1960A8 802677C8 AC62003C */ sw $v0, 0x3c($v1) +/* 1960AC 802677CC 0C05272D */ jal play_sound +/* 1960B0 802677D0 24042107 */ addiu $a0, $zero, 0x2107 +.L802677D4: +/* 1960B4 802677D4 12000012 */ beqz $s0, .L80267820 +/* 1960B8 802677D8 0000302D */ daddu $a2, $zero, $zero +/* 1960BC 802677DC 82020217 */ lb $v0, 0x217($s0) +/* 1960C0 802677E0 82030211 */ lb $v1, 0x211($s0) +/* 1960C4 802677E4 0043102A */ slt $v0, $v0, $v1 +/* 1960C8 802677E8 10400004 */ beqz $v0, .L802677FC +/* 1960CC 802677EC 2402000D */ addiu $v0, $zero, 0xd +/* 1960D0 802677F0 92030211 */ lbu $v1, 0x211($s0) +/* 1960D4 802677F4 A2020216 */ sb $v0, 0x216($s0) +/* 1960D8 802677F8 A2030217 */ sb $v1, 0x217($s0) +.L802677FC: +/* 1960DC 802677FC 82020217 */ lb $v0, 0x217($s0) +/* 1960E0 80267800 18400006 */ blez $v0, .L8026781C +/* 1960E4 80267804 2402000D */ addiu $v0, $zero, 0xd +/* 1960E8 80267808 8E030440 */ lw $v1, 0x440($s0) +/* 1960EC 8026780C A2020216 */ sb $v0, 0x216($s0) +/* 1960F0 80267810 82020217 */ lb $v0, 0x217($s0) +/* 1960F4 80267814 8C63000C */ lw $v1, 0xc($v1) +/* 1960F8 80267818 AC62003C */ sw $v0, 0x3c($v1) +.L8026781C: +/* 1960FC 8026781C 0000302D */ daddu $a2, $zero, $zero +.L80267820: +/* 196100 80267820 2407000D */ addiu $a3, $zero, 0xd +/* 196104 80267824 0220282D */ daddu $a1, $s1, $zero +.L80267828: +/* 196108 80267828 8CA400E0 */ lw $a0, 0xe0($a1) +/* 19610C 8026782C 1080000B */ beqz $a0, .L8026785C +/* 196110 80267830 24C60001 */ addiu $a2, $a2, 1 +/* 196114 80267834 90820211 */ lbu $v0, 0x211($a0) +/* 196118 80267838 A0820217 */ sb $v0, 0x217($a0) +/* 19611C 8026783C 00021600 */ sll $v0, $v0, 0x18 +/* 196120 80267840 18400006 */ blez $v0, .L8026785C +/* 196124 80267844 00000000 */ nop +/* 196128 80267848 8C820440 */ lw $v0, 0x440($a0) +/* 19612C 8026784C A0870216 */ sb $a3, 0x216($a0) +/* 196130 80267850 8C43000C */ lw $v1, 0xc($v0) +/* 196134 80267854 80820217 */ lb $v0, 0x217($a0) +/* 196138 80267858 AC62003C */ sw $v0, 0x3c($v1) +.L8026785C: +/* 19613C 8026785C 28C20018 */ slti $v0, $a2, 0x18 +/* 196140 80267860 1440FFF1 */ bnez $v0, .L80267828 +/* 196144 80267864 24A50004 */ addiu $a1, $a1, 4 +/* 196148 80267868 8FBF0018 */ lw $ra, 0x18($sp) +/* 19614C 8026786C 8FB10014 */ lw $s1, 0x14($sp) +/* 196150 80267870 8FB00010 */ lw $s0, 0x10($sp) +/* 196154 80267874 03E00008 */ jr $ra +/* 196158 80267878 27BD0020 */ addiu $sp, $sp, 0x20 + +func_8026787C: +/* 19615C 8026787C 27BDFFF8 */ addiu $sp, $sp, -8 +/* 196160 80267880 0080602D */ daddu $t4, $a0, $zero +/* 196164 80267884 00A0682D */ daddu $t5, $a1, $zero +/* 196168 80267888 00E0582D */ daddu $t3, $a3, $zero +/* 19616C 8026788C 3C08800A */ lui $t0, 0x800a +/* 196170 80267890 2508A66C */ addiu $t0, $t0, -0x5994 +/* 196174 80267894 3C02E700 */ lui $v0, 0xe700 +/* 196178 80267898 AFB00000 */ sw $s0, ($sp) +/* 19617C 8026789C 8D070000 */ lw $a3, ($t0) +/* 196180 802678A0 97B9001A */ lhu $t9, 0x1a($sp) +/* 196184 802678A4 97B0001E */ lhu $s0, 0x1e($sp) +/* 196188 802678A8 97AF0022 */ lhu $t7, 0x22($sp) +/* 19618C 802678AC 97B80026 */ lhu $t8, 0x26($sp) +/* 196190 802678B0 00E0182D */ daddu $v1, $a3, $zero +/* 196194 802678B4 24E70008 */ addiu $a3, $a3, 8 +/* 196198 802678B8 AD070000 */ sw $a3, ($t0) +/* 19619C 802678BC AC620000 */ sw $v0, ($v1) +/* 1961A0 802678C0 24E20008 */ addiu $v0, $a3, 8 +/* 1961A4 802678C4 AC600004 */ sw $zero, 4($v1) +/* 1961A8 802678C8 AD020000 */ sw $v0, ($t0) +/* 1961AC 802678CC 3C02DE00 */ lui $v0, 0xde00 +/* 1961B0 802678D0 ACE20000 */ sw $v0, ($a3) +/* 1961B4 802678D4 3C028029 */ lui $v0, 0x8029 +/* 1961B8 802678D8 24423970 */ addiu $v0, $v0, 0x3970 +/* 1961BC 802678DC 316300FF */ andi $v1, $t3, 0xff +/* 1961C0 802678E0 ACE20004 */ sw $v0, 4($a3) +/* 1961C4 802678E4 240200FF */ addiu $v0, $zero, 0xff +/* 1961C8 802678E8 1462000A */ bne $v1, $v0, .L80267914 +/* 1961CC 802678EC 00C0702D */ daddu $t6, $a2, $zero +/* 1961D0 802678F0 3C05E200 */ lui $a1, 0xe200 +/* 1961D4 802678F4 34A5001C */ ori $a1, $a1, 0x1c +/* 1961D8 802678F8 3C030F0A */ lui $v1, 0xf0a +/* 1961DC 802678FC 34634000 */ ori $v1, $v1, 0x4000 +/* 1961E0 80267900 3C06FCFF */ lui $a2, 0xfcff +/* 1961E4 80267904 34C6FFFF */ ori $a2, $a2, 0xffff +/* 1961E8 80267908 3C04FFFD */ lui $a0, 0xfffd +/* 1961EC 8026790C 08099E4D */ j func_80267934 +/* 1961F0 80267910 3484FCFE */ ori $a0, $a0, 0xfcfe + +.L80267914: +/* 1961F4 80267914 3C05E200 */ lui $a1, 0xe200 +/* 1961F8 80267918 34A5001C */ ori $a1, $a1, 0x1c +/* 1961FC 8026791C 3C030050 */ lui $v1, 0x50 +/* 196200 80267920 34634240 */ ori $v1, $v1, 0x4240 +/* 196204 80267924 3C06FCFF */ lui $a2, 0xfcff +/* 196208 80267928 34C6FFFF */ ori $a2, $a2, 0xffff +/* 19620C 8026792C 3C04FFFD */ lui $a0, 0xfffd +/* 196210 80267930 3484F6FB */ ori $a0, $a0, 0xf6fb +func_80267934: +/* 196214 80267934 24E20010 */ addiu $v0, $a3, 0x10 +/* 196218 80267938 AD020000 */ sw $v0, ($t0) +/* 19621C 8026793C 24E20018 */ addiu $v0, $a3, 0x18 +/* 196220 80267940 ACE50008 */ sw $a1, 8($a3) +/* 196224 80267944 ACE3000C */ sw $v1, 0xc($a3) +/* 196228 80267948 AD020000 */ sw $v0, ($t0) +/* 19622C 8026794C ACE60010 */ sw $a2, 0x10($a3) +/* 196230 80267950 ACE40014 */ sw $a0, 0x14($a3) +/* 196234 80267954 3C09E200 */ lui $t1, 0xe200 +/* 196238 80267958 3529001C */ ori $t1, $t1, 0x1c +/* 19623C 8026795C 3C070F0A */ lui $a3, 0xf0a +/* 196240 80267960 34E77008 */ ori $a3, $a3, 0x7008 +/* 196244 80267964 3C0AFCFF */ lui $t2, 0xfcff +/* 196248 80267968 354AFFFF */ ori $t2, $t2, 0xffff +/* 19624C 8026796C 3C08FFFC */ lui $t0, 0xfffc +/* 196250 80267970 3C06800A */ lui $a2, 0x800a +/* 196254 80267974 24C6A66C */ addiu $a2, $a2, -0x5994 +/* 196258 80267978 3508F279 */ ori $t0, $t0, 0xf279 +/* 19625C 8026797C 3C02FA00 */ lui $v0, 0xfa00 +/* 196260 80267980 8CC50000 */ lw $a1, ($a2) +/* 196264 80267984 000C1E00 */ sll $v1, $t4, 0x18 +/* 196268 80267988 00A0202D */ daddu $a0, $a1, $zero +/* 19626C 8026798C 24A50008 */ addiu $a1, $a1, 8 +/* 196270 80267990 ACC50000 */ sw $a1, ($a2) +/* 196274 80267994 AC820000 */ sw $v0, ($a0) +/* 196278 80267998 31A200FF */ andi $v0, $t5, 0xff +/* 19627C 8026799C 00021400 */ sll $v0, $v0, 0x10 +/* 196280 802679A0 00621825 */ or $v1, $v1, $v0 +/* 196284 802679A4 31C200FF */ andi $v0, $t6, 0xff +/* 196288 802679A8 00021200 */ sll $v0, $v0, 8 +/* 19628C 802679AC 00621825 */ or $v1, $v1, $v0 +/* 196290 802679B0 316200FF */ andi $v0, $t3, 0xff +/* 196294 802679B4 00621825 */ or $v1, $v1, $v0 +/* 196298 802679B8 24A20008 */ addiu $v0, $a1, 8 +/* 19629C 802679BC AC830004 */ sw $v1, 4($a0) +/* 1962A0 802679C0 31E403FF */ andi $a0, $t7, 0x3ff +/* 1962A4 802679C4 00042380 */ sll $a0, $a0, 0xe +/* 1962A8 802679C8 ACC20000 */ sw $v0, ($a2) +/* 1962AC 802679CC 330203FF */ andi $v0, $t8, 0x3ff +/* 1962B0 802679D0 00021080 */ sll $v0, $v0, 2 +/* 1962B4 802679D4 3C03F600 */ lui $v1, 0xf600 +/* 1962B8 802679D8 00431025 */ or $v0, $v0, $v1 +/* 1962BC 802679DC 00822025 */ or $a0, $a0, $v0 +/* 1962C0 802679E0 332303FF */ andi $v1, $t9, 0x3ff +/* 1962C4 802679E4 00031B80 */ sll $v1, $v1, 0xe +/* 1962C8 802679E8 320203FF */ andi $v0, $s0, 0x3ff +/* 1962CC 802679EC 00021080 */ sll $v0, $v0, 2 +/* 1962D0 802679F0 00621825 */ or $v1, $v1, $v0 +/* 1962D4 802679F4 24A20010 */ addiu $v0, $a1, 0x10 +/* 1962D8 802679F8 ACA40000 */ sw $a0, ($a1) +/* 1962DC 802679FC ACA30004 */ sw $v1, 4($a1) +/* 1962E0 80267A00 ACC20000 */ sw $v0, ($a2) +/* 1962E4 80267A04 3C02E700 */ lui $v0, 0xe700 +/* 1962E8 80267A08 ACA20008 */ sw $v0, 8($a1) +/* 1962EC 80267A0C 24A20018 */ addiu $v0, $a1, 0x18 +/* 1962F0 80267A10 ACA0000C */ sw $zero, 0xc($a1) +/* 1962F4 80267A14 ACC20000 */ sw $v0, ($a2) +/* 1962F8 80267A18 24A20020 */ addiu $v0, $a1, 0x20 +/* 1962FC 80267A1C ACA90010 */ sw $t1, 0x10($a1) +/* 196300 80267A20 ACA70014 */ sw $a3, 0x14($a1) +/* 196304 80267A24 ACC20000 */ sw $v0, ($a2) +/* 196308 80267A28 ACAA0018 */ sw $t2, 0x18($a1) +/* 19630C 80267A2C ACA8001C */ sw $t0, 0x1c($a1) +/* 196310 80267A30 8FB00000 */ lw $s0, ($sp) +/* 196314 80267A34 03E00008 */ jr $ra +/* 196318 80267A38 27BD0008 */ addiu $sp, $sp, 8 + +func_80267A3C: +/* 19631C 80267A3C 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 196320 80267A40 308400FF */ andi $a0, $a0, 0xff +/* 196324 80267A44 30A500FF */ andi $a1, $a1, 0xff +/* 196328 80267A48 30C600FF */ andi $a2, $a2, 0xff +/* 19632C 80267A4C 8FA20038 */ lw $v0, 0x38($sp) +/* 196330 80267A50 8FA8003C */ lw $t0, 0x3c($sp) +/* 196334 80267A54 8FA30040 */ lw $v1, 0x40($sp) +/* 196338 80267A58 8FA90044 */ lw $t1, 0x44($sp) +/* 19633C 80267A5C 30E700FF */ andi $a3, $a3, 0xff +/* 196340 80267A60 AFBF0020 */ sw $ra, 0x20($sp) +/* 196344 80267A64 00431821 */ addu $v1, $v0, $v1 +/* 196348 80267A68 01094821 */ addu $t1, $t0, $t1 +/* 19634C 80267A6C 3042FFFF */ andi $v0, $v0, 0xffff +/* 196350 80267A70 3108FFFF */ andi $t0, $t0, 0xffff +/* 196354 80267A74 3063FFFF */ andi $v1, $v1, 0xffff +/* 196358 80267A78 3129FFFF */ andi $t1, $t1, 0xffff +/* 19635C 80267A7C AFA20010 */ sw $v0, 0x10($sp) +/* 196360 80267A80 AFA80014 */ sw $t0, 0x14($sp) +/* 196364 80267A84 AFA30018 */ sw $v1, 0x18($sp) +/* 196368 80267A88 0C099E1F */ jal func_8026787C +/* 19636C 80267A8C AFA9001C */ sw $t1, 0x1c($sp) +/* 196370 80267A90 8FBF0020 */ lw $ra, 0x20($sp) +/* 196374 80267A94 03E00008 */ jr $ra +/* 196378 80267A98 27BD0028 */ addiu $sp, $sp, 0x28 + +reset_all_actor_sounds: +/* 19637C 80267A9C 90830136 */ lbu $v1, 0x136($a0) +/* 196380 80267AA0 8C8501F4 */ lw $a1, 0x1f4($a0) +/* 196384 80267AA4 000310C0 */ sll $v0, $v1, 3 +/* 196388 80267AA8 00431023 */ subu $v0, $v0, $v1 +/* 19638C 80267AAC 00021080 */ sll $v0, $v0, 2 +/* 196390 80267AB0 3C018028 */ lui $at, 0x8028 +/* 196394 80267AB4 00220821 */ addu $at, $at, $v0 +/* 196398 80267AB8 8C221468 */ lw $v0, 0x1468($at) +/* 19639C 80267ABC AC82019C */ sw $v0, 0x19c($a0) +/* 1963A0 80267AC0 000310C0 */ sll $v0, $v1, 3 +/* 1963A4 80267AC4 00431023 */ subu $v0, $v0, $v1 +/* 1963A8 80267AC8 00021080 */ sll $v0, $v0, 2 +/* 1963AC 80267ACC 3C018028 */ lui $at, 0x8028 +/* 1963B0 80267AD0 00220821 */ addu $at, $at, $v0 +/* 1963B4 80267AD4 8C22146C */ lw $v0, 0x146c($at) +/* 1963B8 80267AD8 AC8201A0 */ sw $v0, 0x1a0($a0) +/* 1963BC 80267ADC 000310C0 */ sll $v0, $v1, 3 +/* 1963C0 80267AE0 00431023 */ subu $v0, $v0, $v1 +/* 1963C4 80267AE4 00021080 */ sll $v0, $v0, 2 +/* 1963C8 80267AE8 3C018028 */ lui $at, 0x8028 +/* 1963CC 80267AEC 00220821 */ addu $at, $at, $v0 +/* 1963D0 80267AF0 8C221470 */ lw $v0, 0x1470($at) +/* 1963D4 80267AF4 AC8201A4 */ sw $v0, 0x1a4($a0) +/* 1963D8 80267AF8 000310C0 */ sll $v0, $v1, 3 +/* 1963DC 80267AFC 00431023 */ subu $v0, $v0, $v1 +/* 1963E0 80267B00 00021080 */ sll $v0, $v0, 2 +/* 1963E4 80267B04 3C018028 */ lui $at, 0x8028 +/* 1963E8 80267B08 00220821 */ addu $at, $at, $v0 +/* 1963EC 80267B0C 8C221474 */ lw $v0, 0x1474($at) +/* 1963F0 80267B10 AC8201A8 */ sw $v0, 0x1a8($a0) +/* 1963F4 80267B14 000310C0 */ sll $v0, $v1, 3 +/* 1963F8 80267B18 00431023 */ subu $v0, $v0, $v1 +/* 1963FC 80267B1C 00021080 */ sll $v0, $v0, 2 +/* 196400 80267B20 3C018028 */ lui $at, 0x8028 +/* 196404 80267B24 00220821 */ addu $at, $at, $v0 +/* 196408 80267B28 8C221478 */ lw $v0, 0x1478($at) +/* 19640C 80267B2C AC8201AC */ sw $v0, 0x1ac($a0) +/* 196410 80267B30 000310C0 */ sll $v0, $v1, 3 +/* 196414 80267B34 00431023 */ subu $v0, $v0, $v1 +/* 196418 80267B38 00021080 */ sll $v0, $v0, 2 +/* 19641C 80267B3C 3C018028 */ lui $at, 0x8028 +/* 196420 80267B40 00220821 */ addu $at, $at, $v0 +/* 196424 80267B44 8C22147C */ lw $v0, 0x147c($at) +/* 196428 80267B48 AC8201B0 */ sw $v0, 0x1b0($a0) +/* 19642C 80267B4C 000310C0 */ sll $v0, $v1, 3 +/* 196430 80267B50 00431023 */ subu $v0, $v0, $v1 +/* 196434 80267B54 00021080 */ sll $v0, $v0, 2 +/* 196438 80267B58 3C018028 */ lui $at, 0x8028 +/* 19643C 80267B5C 00220821 */ addu $at, $at, $v0 +/* 196440 80267B60 94221480 */ lhu $v0, 0x1480($at) +/* 196444 80267B64 A48201B4 */ sh $v0, 0x1b4($a0) +/* 196448 80267B68 000310C0 */ sll $v0, $v1, 3 +/* 19644C 80267B6C 00431023 */ subu $v0, $v0, $v1 +/* 196450 80267B70 00021080 */ sll $v0, $v0, 2 +/* 196454 80267B74 3C018028 */ lui $at, 0x8028 +/* 196458 80267B78 00220821 */ addu $at, $at, $v0 +/* 19645C 80267B7C 94221482 */ lhu $v0, 0x1482($at) +/* 196460 80267B80 10A00014 */ beqz $a1, .L80267BD4 +/* 196464 80267B84 A48201B6 */ sh $v0, 0x1b6($a0) +.L80267B88: +/* 196468 80267B88 8C82019C */ lw $v0, 0x19c($a0) +/* 19646C 80267B8C ACA200A4 */ sw $v0, 0xa4($a1) +/* 196470 80267B90 8C8201A0 */ lw $v0, 0x1a0($a0) +/* 196474 80267B94 ACA200A8 */ sw $v0, 0xa8($a1) +/* 196478 80267B98 8C8201A4 */ lw $v0, 0x1a4($a0) +/* 19647C 80267B9C ACA200AC */ sw $v0, 0xac($a1) +/* 196480 80267BA0 8C8201A8 */ lw $v0, 0x1a8($a0) +/* 196484 80267BA4 ACA200B0 */ sw $v0, 0xb0($a1) +/* 196488 80267BA8 8C8201AC */ lw $v0, 0x1ac($a0) +/* 19648C 80267BAC ACA200B4 */ sw $v0, 0xb4($a1) +/* 196490 80267BB0 8C8201B0 */ lw $v0, 0x1b0($a0) +/* 196494 80267BB4 ACA200B8 */ sw $v0, 0xb8($a1) +/* 196498 80267BB8 948201B4 */ lhu $v0, 0x1b4($a0) +/* 19649C 80267BBC A4A200BC */ sh $v0, 0xbc($a1) +/* 1964A0 80267BC0 948201B6 */ lhu $v0, 0x1b6($a0) +/* 1964A4 80267BC4 A4A200BE */ sh $v0, 0xbe($a1) +/* 1964A8 80267BC8 8CA5000C */ lw $a1, 0xc($a1) +/* 1964AC 80267BCC 14A0FFEE */ bnez $a1, .L80267B88 +/* 1964B0 80267BD0 00000000 */ nop +.L80267BD4: +/* 1964B4 80267BD4 03E00008 */ jr $ra +/* 1964B8 80267BD8 00000000 */ nop + +hide_foreground_models_unchecked: +/* 1964BC 80267BDC 3C02800E */ lui $v0, 0x800e +/* 1964C0 80267BE0 8C42C4A8 */ lw $v0, -0x3b58($v0) +/* 1964C4 80267BE4 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 1964C8 80267BE8 AFBF0014 */ sw $ra, 0x14($sp) +/* 1964CC 80267BEC 10400012 */ beqz $v0, .L80267C38 +/* 1964D0 80267BF0 AFB00010 */ sw $s0, 0x10($sp) +/* 1964D4 80267BF4 8C420018 */ lw $v0, 0x18($v0) +/* 1964D8 80267BF8 1040000F */ beqz $v0, .L80267C38 +/* 1964DC 80267BFC 0040802D */ daddu $s0, $v0, $zero +func_80267C00: +.L80267C00: +/* 1964E0 80267C00 8E020000 */ lw $v0, ($s0) +/* 1964E4 80267C04 1040000C */ beqz $v0, .L80267C38 +/* 1964E8 80267C08 00000000 */ nop +/* 1964EC 80267C0C 8E040000 */ lw $a0, ($s0) +/* 1964F0 80267C10 0480FFFB */ bltz $a0, .L80267C00 +/* 1964F4 80267C14 26100004 */ addiu $s0, $s0, 4 +/* 1964F8 80267C18 0C046C04 */ jal get_model_list_index_from_tree_index +/* 1964FC 80267C1C 00000000 */ nop +/* 196500 80267C20 0C046B4C */ jal get_model_from_list_index +/* 196504 80267C24 0040202D */ daddu $a0, $v0, $zero +/* 196508 80267C28 94430000 */ lhu $v1, ($v0) +/* 19650C 80267C2C 34630002 */ ori $v1, $v1, 2 +/* 196510 80267C30 08099F00 */ j func_80267C00 +/* 196514 80267C34 A4430000 */ sh $v1, ($v0) + +.L80267C38: +/* 196518 80267C38 8FBF0014 */ lw $ra, 0x14($sp) +/* 19651C 80267C3C 8FB00010 */ lw $s0, 0x10($sp) +/* 196520 80267C40 03E00008 */ jr $ra +/* 196524 80267C44 27BD0018 */ addiu $sp, $sp, 0x18 + +show_foreground_models_unchecked: +/* 196528 80267C48 3C02800E */ lui $v0, 0x800e +/* 19652C 80267C4C 8C42C4A8 */ lw $v0, -0x3b58($v0) +/* 196530 80267C50 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 196534 80267C54 AFBF0014 */ sw $ra, 0x14($sp) +/* 196538 80267C58 10400012 */ beqz $v0, .L80267CA4 +/* 19653C 80267C5C AFB00010 */ sw $s0, 0x10($sp) +/* 196540 80267C60 8C420018 */ lw $v0, 0x18($v0) +/* 196544 80267C64 1040000F */ beqz $v0, .L80267CA4 +/* 196548 80267C68 0040802D */ daddu $s0, $v0, $zero +func_80267C6C: +.L80267C6C: +/* 19654C 80267C6C 8E020000 */ lw $v0, ($s0) +/* 196550 80267C70 1040000C */ beqz $v0, .L80267CA4 +/* 196554 80267C74 00000000 */ nop +/* 196558 80267C78 8E040000 */ lw $a0, ($s0) +/* 19655C 80267C7C 0480FFFB */ bltz $a0, .L80267C6C +/* 196560 80267C80 26100004 */ addiu $s0, $s0, 4 +/* 196564 80267C84 0C046C04 */ jal get_model_list_index_from_tree_index +/* 196568 80267C88 00000000 */ nop +/* 19656C 80267C8C 0C046B4C */ jal get_model_from_list_index +/* 196570 80267C90 0040202D */ daddu $a0, $v0, $zero +/* 196574 80267C94 94430000 */ lhu $v1, ($v0) +/* 196578 80267C98 3063FFFD */ andi $v1, $v1, 0xfffd +/* 19657C 80267C9C 08099F1B */ j func_80267C6C +/* 196580 80267CA0 A4430000 */ sh $v1, ($v0) + +.L80267CA4: +/* 196584 80267CA4 8FBF0014 */ lw $ra, 0x14($sp) +/* 196588 80267CA8 8FB00010 */ lw $s0, 0x10($sp) +/* 19658C 80267CAC 03E00008 */ jr $ra +/* 196590 80267CB0 27BD0018 */ addiu $sp, $sp, 0x18 + +hide_foreground_models: +/* 196594 80267CB4 3C02800E */ lui $v0, 0x800e +/* 196598 80267CB8 8C42C4A8 */ lw $v0, -0x3b58($v0) +/* 19659C 80267CBC 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 1965A0 80267CC0 AFBF0014 */ sw $ra, 0x14($sp) +/* 1965A4 80267CC4 10400014 */ beqz $v0, .L80267D18 +/* 1965A8 80267CC8 AFB00010 */ sw $s0, 0x10($sp) +/* 1965AC 80267CCC 8C420018 */ lw $v0, 0x18($v0) +/* 1965B0 80267CD0 10400011 */ beqz $v0, .L80267D18 +/* 1965B4 80267CD4 0040802D */ daddu $s0, $v0, $zero +/* 1965B8 80267CD8 8E020000 */ lw $v0, ($s0) +/* 1965BC 80267CDC 1040000E */ beqz $v0, .L80267D18 +/* 1965C0 80267CE0 00000000 */ nop +.L80267CE4: +/* 1965C4 80267CE4 8E040000 */ lw $a0, ($s0) +/* 1965C8 80267CE8 0480000B */ bltz $a0, .L80267D18 +/* 1965CC 80267CEC 26100004 */ addiu $s0, $s0, 4 +/* 1965D0 80267CF0 0C046C04 */ jal get_model_list_index_from_tree_index +/* 1965D4 80267CF4 00000000 */ nop +/* 1965D8 80267CF8 0C046B4C */ jal get_model_from_list_index +/* 1965DC 80267CFC 0040202D */ daddu $a0, $v0, $zero +/* 1965E0 80267D00 94430000 */ lhu $v1, ($v0) +/* 1965E4 80267D04 34630002 */ ori $v1, $v1, 2 +/* 1965E8 80267D08 A4430000 */ sh $v1, ($v0) +/* 1965EC 80267D0C 8E020000 */ lw $v0, ($s0) +/* 1965F0 80267D10 1440FFF4 */ bnez $v0, .L80267CE4 +/* 1965F4 80267D14 00000000 */ nop +.L80267D18: +/* 1965F8 80267D18 8FBF0014 */ lw $ra, 0x14($sp) +/* 1965FC 80267D1C 8FB00010 */ lw $s0, 0x10($sp) +/* 196600 80267D20 03E00008 */ jr $ra +/* 196604 80267D24 27BD0018 */ addiu $sp, $sp, 0x18 + +show_foreground_models: +/* 196608 80267D28 3C02800E */ lui $v0, 0x800e +/* 19660C 80267D2C 8C42C4A8 */ lw $v0, -0x3b58($v0) +/* 196610 80267D30 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 196614 80267D34 AFBF0014 */ sw $ra, 0x14($sp) +/* 196618 80267D38 10400014 */ beqz $v0, .L80267D8C +/* 19661C 80267D3C AFB00010 */ sw $s0, 0x10($sp) +/* 196620 80267D40 8C420018 */ lw $v0, 0x18($v0) +/* 196624 80267D44 10400011 */ beqz $v0, .L80267D8C +/* 196628 80267D48 0040802D */ daddu $s0, $v0, $zero +/* 19662C 80267D4C 8E020000 */ lw $v0, ($s0) +/* 196630 80267D50 1040000E */ beqz $v0, .L80267D8C +/* 196634 80267D54 00000000 */ nop +.L80267D58: +/* 196638 80267D58 8E040000 */ lw $a0, ($s0) +/* 19663C 80267D5C 0480000B */ bltz $a0, .L80267D8C +/* 196640 80267D60 26100004 */ addiu $s0, $s0, 4 +/* 196644 80267D64 0C046C04 */ jal get_model_list_index_from_tree_index +/* 196648 80267D68 00000000 */ nop +/* 19664C 80267D6C 0C046B4C */ jal get_model_from_list_index +/* 196650 80267D70 0040202D */ daddu $a0, $v0, $zero +/* 196654 80267D74 94430000 */ lhu $v1, ($v0) +/* 196658 80267D78 3063FFFD */ andi $v1, $v1, 0xfffd +/* 19665C 80267D7C A4430000 */ sh $v1, ($v0) +/* 196660 80267D80 8E020000 */ lw $v0, ($s0) +/* 196664 80267D84 1440FFF4 */ bnez $v0, .L80267D58 +/* 196668 80267D88 00000000 */ nop +.L80267D8C: +/* 19666C 80267D8C 8FBF0014 */ lw $ra, 0x14($sp) +/* 196670 80267D90 8FB00010 */ lw $s0, 0x10($sp) +/* 196674 80267D94 03E00008 */ jr $ra +/* 196678 80267D98 27BD0018 */ addiu $sp, $sp, 0x18 + +StartRumbleWithParams: +/* 19667C 80267D9C 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 196680 80267DA0 AFB10014 */ sw $s1, 0x14($sp) +/* 196684 80267DA4 0080882D */ daddu $s1, $a0, $zero +/* 196688 80267DA8 AFBF0018 */ sw $ra, 0x18($sp) +/* 19668C 80267DAC AFB00010 */ sw $s0, 0x10($sp) +/* 196690 80267DB0 8E30000C */ lw $s0, 0xc($s1) +/* 196694 80267DB4 8E050000 */ lw $a1, ($s0) +/* 196698 80267DB8 0C0B1EAF */ jal get_variable +/* 19669C 80267DBC 26100004 */ addiu $s0, $s0, 4 +/* 1966A0 80267DC0 0220202D */ daddu $a0, $s1, $zero +/* 1966A4 80267DC4 8E050000 */ lw $a1, ($s0) +/* 1966A8 80267DC8 0C0B1EAF */ jal get_variable +/* 1966AC 80267DCC 0040802D */ daddu $s0, $v0, $zero +/* 1966B0 80267DD0 0200202D */ daddu $a0, $s0, $zero +/* 1966B4 80267DD4 0C00A3C2 */ jal start_rumble +/* 1966B8 80267DD8 0040282D */ daddu $a1, $v0, $zero +/* 1966BC 80267DDC 8FBF0018 */ lw $ra, 0x18($sp) +/* 1966C0 80267DE0 8FB10014 */ lw $s1, 0x14($sp) +/* 1966C4 80267DE4 8FB00010 */ lw $s0, 0x10($sp) +/* 1966C8 80267DE8 24020002 */ addiu $v0, $zero, 2 +/* 1966CC 80267DEC 03E00008 */ jr $ra +/* 1966D0 80267DF0 27BD0020 */ addiu $sp, $sp, 0x20 + +start_rumble_type: +/* 1966D4 80267DF4 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 1966D8 80267DF8 AFB00010 */ sw $s0, 0x10($sp) +/* 1966DC 80267DFC 0080802D */ daddu $s0, $a0, $zero +/* 1966E0 80267E00 3C048029 */ lui $a0, 0x8029 +/* 1966E4 80267E04 8C8439C0 */ lw $a0, 0x39c0($a0) +/* 1966E8 80267E08 10800003 */ beqz $a0, .L80267E18 +/* 1966EC 80267E0C AFBF0014 */ sw $ra, 0x14($sp) +/* 1966F0 80267E10 0C0B102B */ jal kill_script_by_ID +/* 1966F4 80267E14 00000000 */ nop +.L80267E18: +/* 1966F8 80267E18 2E02000C */ sltiu $v0, $s0, 0xc +/* 1966FC 80267E1C 10400026 */ beqz $v0, .L80267EB8 +/* 196700 80267E20 00101080 */ sll $v0, $s0, 2 +/* 196704 80267E24 3C01802A */ lui $at, 0x802a +/* 196708 80267E28 00220821 */ addu $at, $at, $v0 +/* 19670C 80267E2C 8C22D670 */ lw $v0, -0x2990($at) +/* 196710 80267E30 00400008 */ jr $v0 +/* 196714 80267E34 00000000 */ nop +/* 196718 80267E38 3C048029 */ lui $a0, 0x8029 +/* 19671C 80267E3C 248439C4 */ addiu $a0, $a0, 0x39c4 +/* 196720 80267E40 08099FA9 */ j func_80267EA4 +/* 196724 80267E44 2405000A */ addiu $a1, $zero, 0xa + +/* 196728 80267E48 3C048029 */ lui $a0, 0x8029 +/* 19672C 80267E4C 24843A10 */ addiu $a0, $a0, 0x3a10 +/* 196730 80267E50 08099FA9 */ j func_80267EA4 +/* 196734 80267E54 2405000A */ addiu $a1, $zero, 0xa + +/* 196738 80267E58 3C048029 */ lui $a0, 0x8029 +/* 19673C 80267E5C 24843A34 */ addiu $a0, $a0, 0x3a34 +/* 196740 80267E60 08099FA9 */ j func_80267EA4 +/* 196744 80267E64 2405000A */ addiu $a1, $zero, 0xa + +/* 196748 80267E68 3C048029 */ lui $a0, 0x8029 +/* 19674C 80267E6C 24843A58 */ addiu $a0, $a0, 0x3a58 +/* 196750 80267E70 08099FA9 */ j func_80267EA4 +/* 196754 80267E74 2405000A */ addiu $a1, $zero, 0xa + +/* 196758 80267E78 3C048029 */ lui $a0, 0x8029 +/* 19675C 80267E7C 24843A7C */ addiu $a0, $a0, 0x3a7c +/* 196760 80267E80 08099FA9 */ j func_80267EA4 +/* 196764 80267E84 2405000A */ addiu $a1, $zero, 0xa + +/* 196768 80267E88 3C048029 */ lui $a0, 0x8029 +/* 19676C 80267E8C 24843AA0 */ addiu $a0, $a0, 0x3aa0 +/* 196770 80267E90 08099FA9 */ j func_80267EA4 +/* 196774 80267E94 2405000A */ addiu $a1, $zero, 0xa + +/* 196778 80267E98 3C048029 */ lui $a0, 0x8029 +/* 19677C 80267E9C 24843AC4 */ addiu $a0, $a0, 0x3ac4 +/* 196780 80267EA0 2405000A */ addiu $a1, $zero, 0xa +func_80267EA4: +/* 196784 80267EA4 0C0B0CF8 */ jal start_script +/* 196788 80267EA8 24060020 */ addiu $a2, $zero, 0x20 +/* 19678C 80267EAC 8C420144 */ lw $v0, 0x144($v0) +/* 196790 80267EB0 3C018029 */ lui $at, 0x8029 +/* 196794 80267EB4 AC2239C0 */ sw $v0, 0x39c0($at) +.L80267EB8: +/* 196798 80267EB8 8FBF0014 */ lw $ra, 0x14($sp) +/* 19679C 80267EBC 8FB00010 */ lw $s0, 0x10($sp) +/* 1967A0 80267EC0 03E00008 */ jr $ra +/* 1967A4 80267EC4 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 1967A8 80267EC8 00000000 */ nop +/* 1967AC 80267ECC 00000000 */ nop +LoadItemScript: +/* 1967B0 80267ED0 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 1967B4 80267ED4 AFB3001C */ sw $s3, 0x1c($sp) +/* 1967B8 80267ED8 0080982D */ daddu $s3, $a0, $zero +/* 1967BC 80267EDC AFB00010 */ sw $s0, 0x10($sp) +/* 1967C0 80267EE0 0000802D */ daddu $s0, $zero, $zero +/* 1967C4 80267EE4 3C068011 */ lui $a2, 0x8011 +/* 1967C8 80267EE8 24C6F290 */ addiu $a2, $a2, -0xd70 +/* 1967CC 80267EEC 00C0282D */ daddu $a1, $a2, $zero +/* 1967D0 80267EF0 AFB10014 */ sw $s1, 0x14($sp) +/* 1967D4 80267EF4 3C11800E */ lui $s1, 0x800e +/* 1967D8 80267EF8 2631C070 */ addiu $s1, $s1, -0x3f90 +/* 1967DC 80267EFC AFBF0020 */ sw $ra, 0x20($sp) +/* 1967E0 80267F00 AFB20018 */ sw $s2, 0x18($sp) +/* 1967E4 80267F04 8624017A */ lh $a0, 0x17a($s1) +/* 1967E8 80267F08 3C038008 */ lui $v1, 0x8008 +/* 1967EC 80267F0C 246378E0 */ addiu $v1, $v1, 0x78e0 +/* 1967F0 80267F10 00041140 */ sll $v0, $a0, 5 +/* 1967F4 80267F14 00439021 */ addu $s2, $v0, $v1 +func_80267F18: +/* 1967F8 80267F18 84A201B4 */ lh $v0, 0x1b4($a1) +/* 1967FC 80267F1C 10440004 */ beq $v0, $a0, .L80267F30 +/* 196800 80267F20 00101840 */ sll $v1, $s0, 1 +/* 196804 80267F24 24A50002 */ addiu $a1, $a1, 2 +/* 196808 80267F28 08099FC6 */ j func_80267F18 +/* 19680C 80267F2C 26100001 */ addiu $s0, $s0, 1 + +.L80267F30: +/* 196810 80267F30 00C31021 */ addu $v0, $a2, $v1 +/* 196814 80267F34 0C039DB3 */ jal sort_items +/* 196818 80267F38 A44001B4 */ sh $zero, 0x1b4($v0) +/* 19681C 80267F3C 8623017C */ lh $v1, 0x17c($s1) +/* 196820 80267F40 24020035 */ addiu $v0, $zero, 0x35 +/* 196824 80267F44 14620009 */ bne $v1, $v0, .L80267F6C +/* 196828 80267F48 24020036 */ addiu $v0, $zero, 0x36 +/* 19682C 80267F4C 82230088 */ lb $v1, 0x88($s1) +/* 196830 80267F50 24020002 */ addiu $v0, $zero, 2 +/* 196834 80267F54 14620003 */ bne $v1, $v0, .L80267F64 +/* 196838 80267F58 00000000 */ nop +/* 19683C 80267F5C 0C098EF2 */ jal deduct_current_move_fp +/* 196840 80267F60 00000000 */ nop +.L80267F64: +/* 196844 80267F64 8623017C */ lh $v1, 0x17c($s1) +/* 196848 80267F68 24020036 */ addiu $v0, $zero, 0x36 +.L80267F6C: +/* 19684C 80267F6C 14620006 */ bne $v1, $v0, .L80267F88 +/* 196850 80267F70 24020003 */ addiu $v0, $zero, 3 +/* 196854 80267F74 82230088 */ lb $v1, 0x88($s1) +/* 196858 80267F78 14620003 */ bne $v1, $v0, .L80267F88 +/* 19685C 80267F7C 00000000 */ nop +/* 196860 80267F80 0C098EF2 */ jal deduct_current_move_fp +/* 196864 80267F84 00000000 */ nop +.L80267F88: +/* 196868 80267F88 3C038029 */ lui $v1, 0x8029 +/* 19686C 80267F8C 24633B80 */ addiu $v1, $v1, 0x3b80 +/* 196870 80267F90 8C620000 */ lw $v0, ($v1) +/* 196874 80267F94 1040000B */ beqz $v0, .L80267FC4 +/* 196878 80267F98 0000802D */ daddu $s0, $zero, $zero +/* 19687C 80267F9C 8624017A */ lh $a0, 0x17a($s1) +/* 196880 80267FA0 8C620000 */ lw $v0, ($v1) +.L80267FA4: +/* 196884 80267FA4 10440005 */ beq $v0, $a0, .L80267FBC +/* 196888 80267FA8 24630004 */ addiu $v1, $v1, 4 +/* 19688C 80267FAC 8C620000 */ lw $v0, ($v1) +/* 196890 80267FB0 1440FFFC */ bnez $v0, .L80267FA4 +/* 196894 80267FB4 26100001 */ addiu $s0, $s0, 1 +/* 196898 80267FB8 8C620000 */ lw $v0, ($v1) +.L80267FBC: +/* 19689C 80267FBC 14400004 */ bnez $v0, .L80267FD0 +/* 1968A0 80267FC0 00000000 */ nop +.L80267FC4: +/* 1968A4 80267FC4 96420018 */ lhu $v0, 0x18($s2) +/* 1968A8 80267FC8 30420080 */ andi $v0, $v0, 0x80 +/* 1968AC 80267FCC 2C500001 */ sltiu $s0, $v0, 1 +.L80267FD0: +/* 1968B0 80267FD0 3C028029 */ lui $v0, 0x8029 +/* 1968B4 80267FD4 24423C04 */ addiu $v0, $v0, 0x3c04 +/* 1968B8 80267FD8 00108100 */ sll $s0, $s0, 4 +/* 1968BC 80267FDC 02028021 */ addu $s0, $s0, $v0 +/* 1968C0 80267FE0 8E040000 */ lw $a0, ($s0) +/* 1968C4 80267FE4 8E050004 */ lw $a1, 4($s0) +/* 1968C8 80267FE8 0C00A5CF */ jal dma_copy +/* 1968CC 80267FEC 8E060008 */ lw $a2, 8($s0) +/* 1968D0 80267FF0 8E03000C */ lw $v1, 0xc($s0) +/* 1968D4 80267FF4 AE600088 */ sw $zero, 0x88($s3) +/* 1968D8 80267FF8 AE630084 */ sw $v1, 0x84($s3) +/* 1968DC 80267FFC 8FBF0020 */ lw $ra, 0x20($sp) +/* 1968E0 80268000 8FB3001C */ lw $s3, 0x1c($sp) +/* 1968E4 80268004 8FB20018 */ lw $s2, 0x18($sp) +/* 1968E8 80268008 8FB10014 */ lw $s1, 0x14($sp) +/* 1968EC 8026800C 8FB00010 */ lw $s0, 0x10($sp) +/* 1968F0 80268010 24020002 */ addiu $v0, $zero, 2 +/* 1968F4 80268014 03E00008 */ jr $ra +/* 1968F8 80268018 27BD0028 */ addiu $sp, $sp, 0x28 + +LoadFreeItemScript: +/* 1968FC 8026801C 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 196900 80268020 AFB3001C */ sw $s3, 0x1c($sp) +/* 196904 80268024 0080982D */ daddu $s3, $a0, $zero +/* 196908 80268028 AFB10014 */ sw $s1, 0x14($sp) +/* 19690C 8026802C 3C11800E */ lui $s1, 0x800e +/* 196910 80268030 2631C070 */ addiu $s1, $s1, -0x3f90 +/* 196914 80268034 3C038008 */ lui $v1, 0x8008 +/* 196918 80268038 246378E0 */ addiu $v1, $v1, 0x78e0 +/* 19691C 8026803C AFBF0020 */ sw $ra, 0x20($sp) +/* 196920 80268040 AFB20018 */ sw $s2, 0x18($sp) +/* 196924 80268044 AFB00010 */ sw $s0, 0x10($sp) +/* 196928 80268048 8622017A */ lh $v0, 0x17a($s1) +/* 19692C 8026804C 8E3000D8 */ lw $s0, 0xd8($s1) +/* 196930 80268050 00021140 */ sll $v0, $v0, 5 +/* 196934 80268054 00439021 */ addu $s2, $v0, $v1 +/* 196938 80268058 8E420008 */ lw $v0, 8($s2) +/* 19693C 8026805C 0200202D */ daddu $a0, $s0, $zero +/* 196940 80268060 AE200188 */ sw $zero, 0x188($s1) +/* 196944 80268064 34428000 */ ori $v0, $v0, 0x8000 +/* 196948 80268068 0C098C0B */ jal player_create_target_list +/* 19694C 8026806C AE220184 */ sw $v0, 0x184($s1) +/* 196950 80268070 8203040D */ lb $v1, 0x40d($s0) +/* 196954 80268074 00031080 */ sll $v0, $v1, 2 +/* 196958 80268078 00431021 */ addu $v0, $v0, $v1 +/* 19695C 8026807C 00021080 */ sll $v0, $v0, 2 +/* 196960 80268080 2442022C */ addiu $v0, $v0, 0x22c +/* 196964 80268084 02028021 */ addu $s0, $s0, $v0 +/* 196968 80268088 96020000 */ lhu $v0, ($s0) +/* 19696C 8026808C A62201A0 */ sh $v0, 0x1a0($s1) +/* 196970 80268090 92020003 */ lbu $v0, 3($s0) +/* 196974 80268094 3C038029 */ lui $v1, 0x8029 +/* 196978 80268098 24633B80 */ addiu $v1, $v1, 0x3b80 +/* 19697C 8026809C A22201A2 */ sb $v0, 0x1a2($s1) +/* 196980 802680A0 8C620000 */ lw $v0, ($v1) +/* 196984 802680A4 1040000B */ beqz $v0, .L802680D4 +/* 196988 802680A8 0000802D */ daddu $s0, $zero, $zero +/* 19698C 802680AC 8624017A */ lh $a0, 0x17a($s1) +/* 196990 802680B0 8C620000 */ lw $v0, ($v1) +.L802680B4: +/* 196994 802680B4 10440005 */ beq $v0, $a0, .L802680CC +/* 196998 802680B8 24630004 */ addiu $v1, $v1, 4 +/* 19699C 802680BC 8C620000 */ lw $v0, ($v1) +/* 1969A0 802680C0 1440FFFC */ bnez $v0, .L802680B4 +/* 1969A4 802680C4 26100001 */ addiu $s0, $s0, 1 +/* 1969A8 802680C8 8C620000 */ lw $v0, ($v1) +.L802680CC: +/* 1969AC 802680CC 14400004 */ bnez $v0, .L802680E0 +/* 1969B0 802680D0 00000000 */ nop +.L802680D4: +/* 1969B4 802680D4 96420018 */ lhu $v0, 0x18($s2) +/* 1969B8 802680D8 30420080 */ andi $v0, $v0, 0x80 +/* 1969BC 802680DC 2C500001 */ sltiu $s0, $v0, 1 +.L802680E0: +/* 1969C0 802680E0 3C028029 */ lui $v0, 0x8029 +/* 1969C4 802680E4 24423C04 */ addiu $v0, $v0, 0x3c04 +/* 1969C8 802680E8 00108100 */ sll $s0, $s0, 4 +/* 1969CC 802680EC 02028021 */ addu $s0, $s0, $v0 +/* 1969D0 802680F0 8E040000 */ lw $a0, ($s0) +/* 1969D4 802680F4 8E050004 */ lw $a1, 4($s0) +/* 1969D8 802680F8 0C00A5CF */ jal dma_copy +/* 1969DC 802680FC 8E060008 */ lw $a2, 8($s0) +/* 1969E0 80268100 8E04000C */ lw $a0, 0xc($s0) +/* 1969E4 80268104 24030001 */ addiu $v1, $zero, 1 +/* 1969E8 80268108 AE630088 */ sw $v1, 0x88($s3) +/* 1969EC 8026810C AE640084 */ sw $a0, 0x84($s3) +/* 1969F0 80268110 8FBF0020 */ lw $ra, 0x20($sp) +/* 1969F4 80268114 8FB3001C */ lw $s3, 0x1c($sp) +/* 1969F8 80268118 8FB20018 */ lw $s2, 0x18($sp) +/* 1969FC 8026811C 8FB10014 */ lw $s1, 0x14($sp) +/* 196A00 80268120 8FB00010 */ lw $s0, 0x10($sp) +/* 196A04 80268124 24020002 */ addiu $v0, $zero, 2 +/* 196A08 80268128 03E00008 */ jr $ra +/* 196A0C 8026812C 27BD0028 */ addiu $sp, $sp, 0x28 + +LoadMoveScript: +/* 196A10 80268130 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 196A14 80268134 AFB20018 */ sw $s2, 0x18($sp) +/* 196A18 80268138 0080902D */ daddu $s2, $a0, $zero +/* 196A1C 8026813C AFB10014 */ sw $s1, 0x14($sp) +/* 196A20 80268140 3C11800E */ lui $s1, 0x800e +/* 196A24 80268144 2631C070 */ addiu $s1, $s1, -0x3f90 +/* 196A28 80268148 AFBF001C */ sw $ra, 0x1c($sp) +/* 196A2C 8026814C AFB00010 */ sw $s0, 0x10($sp) +/* 196A30 80268150 8630017C */ lh $s0, 0x17c($s1) +/* 196A34 80268154 3C028029 */ lui $v0, 0x8029 +/* 196A38 80268158 24423E80 */ addiu $v0, $v0, 0x3e80 +/* 196A3C 8026815C 00108100 */ sll $s0, $s0, 4 +/* 196A40 80268160 02028021 */ addu $s0, $s0, $v0 +/* 196A44 80268164 8E040000 */ lw $a0, ($s0) +/* 196A48 80268168 8E050004 */ lw $a1, 4($s0) +/* 196A4C 8026816C 0C00A5CF */ jal dma_copy +/* 196A50 80268170 8E060008 */ lw $a2, 8($s0) +/* 196A54 80268174 8E02000C */ lw $v0, 0xc($s0) +/* 196A58 80268178 0C098EF2 */ jal deduct_current_move_fp +/* 196A5C 8026817C AE420084 */ sw $v0, 0x84($s2) +/* 196A60 80268180 8E220004 */ lw $v0, 4($s1) +/* 196A64 80268184 3C030800 */ lui $v1, 0x800 +/* 196A68 80268188 00431024 */ and $v0, $v0, $v1 +/* 196A6C 8026818C 10400003 */ beqz $v0, .L8026819C +/* 196A70 80268190 00000000 */ nop +/* 196A74 80268194 0C0951B5 */ jal enable_player_blur +/* 196A78 80268198 00000000 */ nop +.L8026819C: +/* 196A7C 8026819C 8FBF001C */ lw $ra, 0x1c($sp) +/* 196A80 802681A0 8FB20018 */ lw $s2, 0x18($sp) +/* 196A84 802681A4 8FB10014 */ lw $s1, 0x14($sp) +/* 196A88 802681A8 8FB00010 */ lw $s0, 0x10($sp) +/* 196A8C 802681AC 24020002 */ addiu $v0, $zero, 2 +/* 196A90 802681B0 03E00008 */ jr $ra +/* 196A94 802681B4 27BD0020 */ addiu $sp, $sp, 0x20 + +/* 196A98 802681B8 00000000 */ nop +/* 196A9C 802681BC 00000000 */ nop +LoadActionCommand: +/* 196AA0 802681C0 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 196AA4 802681C4 AFBF0010 */ sw $ra, 0x10($sp) +/* 196AA8 802681C8 8C82000C */ lw $v0, 0xc($a0) +/* 196AAC 802681CC 0C0B1EAF */ jal get_variable +/* 196AB0 802681D0 8C450000 */ lw $a1, ($v0) +/* 196AB4 802681D4 3C068029 */ lui $a2, 0x8029 +/* 196AB8 802681D8 24C644C0 */ addiu $a2, $a2, 0x44c0 +/* 196ABC 802681DC 00021840 */ sll $v1, $v0, 1 +/* 196AC0 802681E0 00621821 */ addu $v1, $v1, $v0 +/* 196AC4 802681E4 00031080 */ sll $v0, $v1, 2 +/* 196AC8 802681E8 00461021 */ addu $v0, $v0, $a2 +/* 196ACC 802681EC 8C440000 */ lw $a0, ($v0) +/* 196AD0 802681F0 24620001 */ addiu $v0, $v1, 1 +/* 196AD4 802681F4 00021080 */ sll $v0, $v0, 2 +/* 196AD8 802681F8 00461021 */ addu $v0, $v0, $a2 +/* 196ADC 802681FC 24630002 */ addiu $v1, $v1, 2 +/* 196AE0 80268200 00031880 */ sll $v1, $v1, 2 +/* 196AE4 80268204 00661821 */ addu $v1, $v1, $a2 +/* 196AE8 80268208 8C450000 */ lw $a1, ($v0) +/* 196AEC 8026820C 0C00A5CF */ jal dma_copy +/* 196AF0 80268210 8C660000 */ lw $a2, ($v1) +/* 196AF4 80268214 8FBF0010 */ lw $ra, 0x10($sp) +/* 196AF8 80268218 24020002 */ addiu $v0, $zero, 2 +/* 196AFC 8026821C 03E00008 */ jr $ra +/* 196B00 80268220 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 196B04 80268224 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 196B08 80268228 AFB00010 */ sw $s0, 0x10($sp) +/* 196B0C 8026822C 0080802D */ daddu $s0, $a0, $zero +/* 196B10 80268230 3C02800E */ lui $v0, 0x800e +/* 196B14 80268234 8C42C070 */ lw $v0, -0x3f90($v0) +/* 196B18 80268238 3C030008 */ lui $v1, 8 +/* 196B1C 8026823C 00431024 */ and $v0, $v0, $v1 +/* 196B20 80268240 14400006 */ bnez $v0, .L8026825C +/* 196B24 80268244 AFBF0014 */ sw $ra, 0x14($sp) +/* 196B28 80268248 0C03A752 */ jal is_ability_active +/* 196B2C 8026824C 0000202D */ daddu $a0, $zero, $zero +/* 196B30 80268250 00021840 */ sll $v1, $v0, 1 +/* 196B34 80268254 00621821 */ addu $v1, $v1, $v0 +/* 196B38 80268258 02038023 */ subu $s0, $s0, $v1 +.L8026825C: +/* 196B3C 8026825C 06020001 */ bltzl $s0, .L80268264 +/* 196B40 80268260 0000802D */ daddu $s0, $zero, $zero +.L80268264: +/* 196B44 80268264 2A020008 */ slti $v0, $s0, 8 +/* 196B48 80268268 50400001 */ beql $v0, $zero, .L80268270 +/* 196B4C 8026826C 24100007 */ addiu $s0, $zero, 7 +.L80268270: +/* 196B50 80268270 0200102D */ daddu $v0, $s0, $zero +/* 196B54 80268274 8FBF0014 */ lw $ra, 0x14($sp) +/* 196B58 80268278 8FB00010 */ lw $s0, 0x10($sp) +/* 196B5C 8026827C 03E00008 */ jr $ra +/* 196B60 80268280 27BD0018 */ addiu $sp, $sp, 0x18 + +func_80268284: +/* 196B64 80268284 27BDFF98 */ addiu $sp, $sp, -0x68 +/* 196B68 80268288 3C0B802A */ lui $t3, 0x802a +/* 196B6C 8026828C 256BFBE0 */ addiu $t3, $t3, -0x420 +/* 196B70 80268290 AFBF0064 */ sw $ra, 0x64($sp) +/* 196B74 80268294 AFBE0060 */ sw $fp, 0x60($sp) +/* 196B78 80268298 AFB7005C */ sw $s7, 0x5c($sp) +/* 196B7C 8026829C AFB60058 */ sw $s6, 0x58($sp) +/* 196B80 802682A0 AFB50054 */ sw $s5, 0x54($sp) +/* 196B84 802682A4 AFB40050 */ sw $s4, 0x50($sp) +/* 196B88 802682A8 AFB3004C */ sw $s3, 0x4c($sp) +/* 196B8C 802682AC AFB20048 */ sw $s2, 0x48($sp) +/* 196B90 802682B0 AFB10044 */ sw $s1, 0x44($sp) +/* 196B94 802682B4 AFB00040 */ sw $s0, 0x40($sp) +/* 196B98 802682B8 AFA40068 */ sw $a0, 0x68($sp) +/* 196B9C 802682BC AFA5006C */ sw $a1, 0x6c($sp) +/* 196BA0 802682C0 AFA70074 */ sw $a3, 0x74($sp) +/* 196BA4 802682C4 81620061 */ lb $v0, 0x61($t3) +/* 196BA8 802682C8 1040011D */ beqz $v0, .L80268740 +/* 196BAC 802682CC 00C0602D */ daddu $t4, $a2, $zero +/* 196BB0 802682D0 0080702D */ daddu $t6, $a0, $zero +/* 196BB4 802682D4 25CEFFE4 */ addiu $t6, $t6, -0x1c +/* 196BB8 802682D8 AFAE0068 */ sw $t6, 0x68($sp) +/* 196BBC 802682DC 00A0702D */ daddu $t6, $a1, $zero +/* 196BC0 802682E0 81630080 */ lb $v1, 0x80($t3) +/* 196BC4 802682E4 25CEFFFC */ addiu $t6, $t6, -4 +/* 196BC8 802682E8 AFAE006C */ sw $t6, 0x6c($sp) +/* 196BCC 802682EC 00031040 */ sll $v0, $v1, 1 +/* 196BD0 802682F0 004B1021 */ addu $v0, $v0, $t3 +/* 196BD4 802682F4 844D0074 */ lh $t5, 0x74($v0) +/* 196BD8 802682F8 05820001 */ bltzl $t4, .L80268300 +/* 196BDC 802682FC 0000602D */ daddu $t4, $zero, $zero +.L80268300: +/* 196BE0 80268300 0000802D */ daddu $s0, $zero, $zero +/* 196BE4 80268304 18600020 */ blez $v1, .L80268388 +/* 196BE8 80268308 0200902D */ daddu $s2, $s0, $zero +/* 196BEC 8026830C 0060282D */ daddu $a1, $v1, $zero +/* 196BF0 80268310 26440001 */ addiu $a0, $s2, 1 +.L80268314: +/* 196BF4 80268314 00041040 */ sll $v0, $a0, 1 +/* 196BF8 80268318 01621021 */ addu $v0, $t3, $v0 +/* 196BFC 8026831C 84460074 */ lh $a2, 0x74($v0) +/* 196C00 80268320 0186102A */ slt $v0, $t4, $a2 +/* 196C04 80268324 54400001 */ bnezl $v0, .L8026832C +/* 196C08 80268328 0180302D */ daddu $a2, $t4, $zero +.L8026832C: +/* 196C0C 8026832C 00061900 */ sll $v1, $a2, 4 +/* 196C10 80268330 00661823 */ subu $v1, $v1, $a2 +/* 196C14 80268334 00031880 */ sll $v1, $v1, 2 +/* 196C18 80268338 15A00002 */ bnez $t5, .L80268344 +/* 196C1C 8026833C 006D001A */ div $zero, $v1, $t5 +/* 196C20 80268340 0007000D */ break 7 +.L80268344: +/* 196C24 80268344 2401FFFF */ addiu $at, $zero, -1 +/* 196C28 80268348 15A10004 */ bne $t5, $at, .L8026835C +/* 196C2C 8026834C 3C018000 */ lui $at, 0x8000 +/* 196C30 80268350 14610002 */ bne $v1, $at, .L8026835C +/* 196C34 80268354 00000000 */ nop +/* 196C38 80268358 0006000D */ break 6 +.L8026835C: +/* 196C3C 8026835C 00001812 */ mflo $v1 +/* 196C40 80268360 00031040 */ sll $v0, $v1, 1 +/* 196C44 80268364 00431021 */ addu $v0, $v0, $v1 +/* 196C48 80268368 000210C0 */ sll $v0, $v0, 3 +/* 196C4C 8026836C 00431021 */ addu $v0, $v0, $v1 +/* 196C50 80268370 11860005 */ beq $t4, $a2, .L80268388 +/* 196C54 80268374 00028080 */ sll $s0, $v0, 2 +/* 196C58 80268378 0080902D */ daddu $s2, $a0, $zero +/* 196C5C 8026837C 0245102A */ slt $v0, $s2, $a1 +/* 196C60 80268380 1440FFE4 */ bnez $v0, .L80268314 +/* 196C64 80268384 26440001 */ addiu $a0, $s2, 1 +.L80268388: +/* 196C68 80268388 85620048 */ lh $v0, 0x48($t3) +/* 196C6C 8026838C 3C04802A */ lui $a0, 0x802a +/* 196C70 80268390 8C84FBC0 */ lw $a0, -0x440($a0) +/* 196C74 80268394 95650048 */ lhu $a1, 0x48($t3) +/* 196C78 80268398 0202A823 */ subu $s5, $s0, $v0 +/* 196C7C 8026839C 06A10002 */ bgez $s5, .L802683A8 +/* 196C80 802683A0 02A0182D */ daddu $v1, $s5, $zero +/* 196C84 802683A4 00031823 */ negu $v1, $v1 +.L802683A8: +/* 196C88 802683A8 00041040 */ sll $v0, $a0, 1 +/* 196C8C 802683AC 00441021 */ addu $v0, $v0, $a0 +/* 196C90 802683B0 000210C0 */ sll $v0, $v0, 3 +/* 196C94 802683B4 00441021 */ addu $v0, $v0, $a0 +/* 196C98 802683B8 00021080 */ sll $v0, $v0, 2 +/* 196C9C 802683BC 0062182A */ slt $v1, $v1, $v0 +/* 196CA0 802683C0 5460000D */ bnezl $v1, .L802683F8 +/* 196CA4 802683C4 A5700048 */ sh $s0, 0x48($t3) +/* 196CA8 802683C8 14800002 */ bnez $a0, .L802683D4 +/* 196CAC 802683CC 02A4001A */ div $zero, $s5, $a0 +/* 196CB0 802683D0 0007000D */ break 7 +.L802683D4: +/* 196CB4 802683D4 2401FFFF */ addiu $at, $zero, -1 +/* 196CB8 802683D8 14810004 */ bne $a0, $at, .L802683EC +/* 196CBC 802683DC 3C018000 */ lui $at, 0x8000 +/* 196CC0 802683E0 16A10002 */ bne $s5, $at, .L802683EC +/* 196CC4 802683E4 00000000 */ nop +/* 196CC8 802683E8 0006000D */ break 6 +.L802683EC: +/* 196CCC 802683EC 00001012 */ mflo $v0 +/* 196CD0 802683F0 00A21021 */ addu $v0, $a1, $v0 +/* 196CD4 802683F4 A5620048 */ sh $v0, 0x48($t3) +.L802683F8: +/* 196CD8 802683F8 0000A82D */ daddu $s5, $zero, $zero +/* 196CDC 802683FC 81620080 */ lb $v0, 0x80($t3) +/* 196CE0 80268400 18400060 */ blez $v0, .L80268584 +/* 196CE4 80268404 02A0902D */ daddu $s2, $s5, $zero +/* 196CE8 80268408 8FAE006C */ lw $t6, 0x6c($sp) +/* 196CEC 8026840C 000E1400 */ sll $v0, $t6, 0x10 +/* 196CF0 80268410 00021403 */ sra $v0, $v0, 0x10 +/* 196CF4 80268414 AFA20020 */ sw $v0, 0x20($sp) +/* 196CF8 80268418 25C20005 */ addiu $v0, $t6, 5 +/* 196CFC 8026841C 00021400 */ sll $v0, $v0, 0x10 +/* 196D00 80268420 00021403 */ sra $v0, $v0, 0x10 +/* 196D04 80268424 AFA20024 */ sw $v0, 0x24($sp) +/* 196D08 80268428 265E0001 */ addiu $fp, $s2, 1 +.L8026842C: +/* 196D0C 8026842C 001E1040 */ sll $v0, $fp, 1 +/* 196D10 80268430 01621021 */ addu $v0, $t3, $v0 +/* 196D14 80268434 84460074 */ lh $a2, 0x74($v0) +/* 196D18 80268438 00061900 */ sll $v1, $a2, 4 +/* 196D1C 8026843C 00661823 */ subu $v1, $v1, $a2 +/* 196D20 80268440 00031880 */ sll $v1, $v1, 2 +/* 196D24 80268444 15A00002 */ bnez $t5, .L80268450 +/* 196D28 80268448 006D001A */ div $zero, $v1, $t5 +/* 196D2C 8026844C 0007000D */ break 7 +.L80268450: +/* 196D30 80268450 2401FFFF */ addiu $at, $zero, -1 +/* 196D34 80268454 15A10004 */ bne $t5, $at, .L80268468 +/* 196D38 80268458 3C018000 */ lui $at, 0x8000 +/* 196D3C 8026845C 14610002 */ bne $v1, $at, .L80268468 +/* 196D40 80268460 00000000 */ nop +/* 196D44 80268464 0006000D */ break 6 +.L80268468: +/* 196D48 80268468 00001812 */ mflo $v1 +/* 196D4C 8026846C 8FAE0068 */ lw $t6, 0x68($sp) +/* 196D50 80268470 8FA50020 */ lw $a1, 0x20($sp) +/* 196D54 80268474 8FA70024 */ lw $a3, 0x24($sp) +/* 196D58 80268478 01D53021 */ addu $a2, $t6, $s5 +/* 196D5C 8026847C 00062400 */ sll $a0, $a2, 0x10 +/* 196D60 80268480 00042403 */ sra $a0, $a0, 0x10 +/* 196D64 80268484 00121040 */ sll $v0, $s2, 1 +/* 196D68 80268488 0052A021 */ addu $s4, $v0, $s2 +/* 196D6C 8026848C 26970001 */ addiu $s7, $s4, 1 +/* 196D70 80268490 3C0E8029 */ lui $t6, 0x8029 +/* 196D74 80268494 25CE4190 */ addiu $t6, $t6, 0x4190 +/* 196D78 80268498 02EE1021 */ addu $v0, $s7, $t6 +/* 196D7C 8026849C 26960002 */ addiu $s6, $s4, 2 +/* 196D80 802684A0 904A0000 */ lbu $t2, ($v0) +/* 196D84 802684A4 02CE1021 */ addu $v0, $s6, $t6 +/* 196D88 802684A8 90490000 */ lbu $t1, ($v0) +/* 196D8C 802684AC 028E1021 */ addu $v0, $s4, $t6 +/* 196D90 802684B0 90420000 */ lbu $v0, ($v0) +/* 196D94 802684B4 240E00FF */ addiu $t6, $zero, 0xff +/* 196D98 802684B8 AFAE001C */ sw $t6, 0x1c($sp) +/* 196D9C 802684BC AFAB0030 */ sw $t3, 0x30($sp) +/* 196DA0 802684C0 AFAC0034 */ sw $t4, 0x34($sp) +/* 196DA4 802684C4 AFAD0038 */ sw $t5, 0x38($sp) +/* 196DA8 802684C8 AFA20010 */ sw $v0, 0x10($sp) +/* 196DAC 802684CC AFAA0014 */ sw $t2, 0x14($sp) +/* 196DB0 802684D0 AFA90018 */ sw $t1, 0x18($sp) +/* 196DB4 802684D4 00758023 */ subu $s0, $v1, $s5 +/* 196DB8 802684D8 00D08821 */ addu $s1, $a2, $s0 +/* 196DBC 802684DC 00111400 */ sll $v0, $s1, 0x10 +/* 196DC0 802684E0 00029C03 */ sra $s3, $v0, 0x10 +/* 196DC4 802684E4 0C00AAB1 */ jal func_8002AAC4 +/* 196DC8 802684E8 0260302D */ daddu $a2, $s3, $zero +/* 196DCC 802684EC 8FAB0030 */ lw $t3, 0x30($sp) +/* 196DD0 802684F0 8FAC0034 */ lw $t4, 0x34($sp) +/* 196DD4 802684F4 81620080 */ lb $v0, 0x80($t3) +/* 196DD8 802684F8 8FAD0038 */ lw $t5, 0x38($sp) +/* 196DDC 802684FC 2442FFFF */ addiu $v0, $v0, -1 +/* 196DE0 80268500 0242102A */ slt $v0, $s2, $v0 +/* 196DE4 80268504 1040001D */ beqz $v0, .L8026857C +/* 196DE8 80268508 2624FFFF */ addiu $a0, $s1, -1 +/* 196DEC 8026850C 00042400 */ sll $a0, $a0, 0x10 +/* 196DF0 80268510 00042403 */ sra $a0, $a0, 0x10 +/* 196DF4 80268514 0260302D */ daddu $a2, $s3, $zero +/* 196DF8 80268518 3C0E8029 */ lui $t6, 0x8029 +/* 196DFC 8026851C 25CE41B0 */ addiu $t6, $t6, 0x41b0 +/* 196E00 80268520 02EE1021 */ addu $v0, $s7, $t6 +/* 196E04 80268524 904A0000 */ lbu $t2, ($v0) +/* 196E08 80268528 02CE1021 */ addu $v0, $s6, $t6 +/* 196E0C 8026852C 90490000 */ lbu $t1, ($v0) +/* 196E10 80268530 028E1021 */ addu $v0, $s4, $t6 +/* 196E14 80268534 02B0A821 */ addu $s5, $s5, $s0 +/* 196E18 80268538 8FA50020 */ lw $a1, 0x20($sp) +/* 196E1C 8026853C 8FA70024 */ lw $a3, 0x24($sp) +/* 196E20 80268540 90420000 */ lbu $v0, ($v0) +/* 196E24 80268544 240E00FF */ addiu $t6, $zero, 0xff +/* 196E28 80268548 AFAE001C */ sw $t6, 0x1c($sp) +/* 196E2C 8026854C AFA20010 */ sw $v0, 0x10($sp) +/* 196E30 80268550 AFAA0014 */ sw $t2, 0x14($sp) +/* 196E34 80268554 0C00AAB1 */ jal func_8002AAC4 +/* 196E38 80268558 AFA90018 */ sw $t1, 0x18($sp) +/* 196E3C 8026855C 03C0902D */ daddu $s2, $fp, $zero +/* 196E40 80268560 8FAB0030 */ lw $t3, 0x30($sp) +/* 196E44 80268564 8FAC0034 */ lw $t4, 0x34($sp) +/* 196E48 80268568 81620080 */ lb $v0, 0x80($t3) +/* 196E4C 8026856C 8FAD0038 */ lw $t5, 0x38($sp) +/* 196E50 80268570 0242102A */ slt $v0, $s2, $v0 +/* 196E54 80268574 1440FFAD */ bnez $v0, .L8026842C +/* 196E58 80268578 265E0001 */ addiu $fp, $s2, 1 +.L8026857C: +/* 196E5C 8026857C 0000A82D */ daddu $s5, $zero, $zero +/* 196E60 80268580 81620080 */ lb $v0, 0x80($t3) +.L80268584: +/* 196E64 80268584 1840006E */ blez $v0, .L80268740 +/* 196E68 80268588 02A0902D */ daddu $s2, $s5, $zero +/* 196E6C 8026858C 8FAE006C */ lw $t6, 0x6c($sp) +/* 196E70 80268590 25C20005 */ addiu $v0, $t6, 5 +/* 196E74 80268594 00021400 */ sll $v0, $v0, 0x10 +/* 196E78 80268598 AFA20028 */ sw $v0, 0x28($sp) +/* 196E7C 8026859C 241E0002 */ addiu $fp, $zero, 2 +/* 196E80 802685A0 03C0B02D */ daddu $s6, $fp, $zero +/* 196E84 802685A4 24140001 */ addiu $s4, $zero, 1 +/* 196E88 802685A8 3C178029 */ lui $s7, 0x8029 +/* 196E8C 802685AC 26F741A0 */ addiu $s7, $s7, 0x41a0 +/* 196E90 802685B0 02E0982D */ daddu $s3, $s7, $zero +.L802685B4: +/* 196E94 802685B4 8FAE0074 */ lw $t6, 0x74($sp) +/* 196E98 802685B8 11C0000B */ beqz $t6, .L802685E8 +/* 196E9C 802685BC 02971021 */ addu $v0, $s4, $s7 +/* 196EA0 802685C0 19C00003 */ blez $t6, .L802685D0 +/* 196EA4 802685C4 240800E0 */ addiu $t0, $zero, 0xe0 +/* 196EA8 802685C8 0809A182 */ j func_80268608 +/* 196EAC 802685CC 240A003F */ addiu $t2, $zero, 0x3f + +.L802685D0: +/* 196EB0 802685D0 3C028007 */ lui $v0, 0x8007 +/* 196EB4 802685D4 8C42419C */ lw $v0, 0x419c($v0) +/* 196EB8 802685D8 94420134 */ lhu $v0, 0x134($v0) +/* 196EBC 802685DC 30420001 */ andi $v0, $v0, 1 +/* 196EC0 802685E0 10400007 */ beqz $v0, .L80268600 +/* 196EC4 802685E4 02971021 */ addu $v0, $s4, $s7 +.L802685E8: +/* 196EC8 802685E8 904A0000 */ lbu $t2, ($v0) +/* 196ECC 802685EC 02D71021 */ addu $v0, $s6, $s7 +/* 196ED0 802685F0 92680000 */ lbu $t0, ($s3) +/* 196ED4 802685F4 90490000 */ lbu $t1, ($v0) +/* 196ED8 802685F8 0809A184 */ j func_80268610 +/* 196EDC 802685FC 017E1021 */ addu $v0, $t3, $fp + +.L80268600: +/* 196EE0 80268600 240800FA */ addiu $t0, $zero, 0xfa +/* 196EE4 80268604 240A00AF */ addiu $t2, $zero, 0xaf +func_80268608: +/* 196EE8 80268608 0000482D */ daddu $t1, $zero, $zero +/* 196EEC 8026860C 017E1021 */ addu $v0, $t3, $fp +func_80268610: +/* 196EF0 80268610 84460074 */ lh $a2, 0x74($v0) +/* 196EF4 80268614 0186102A */ slt $v0, $t4, $a2 +/* 196EF8 80268618 54400001 */ bnezl $v0, .L80268620 +/* 196EFC 8026861C 0180302D */ daddu $a2, $t4, $zero +.L80268620: +/* 196F00 80268620 00062100 */ sll $a0, $a2, 4 +/* 196F04 80268624 00862023 */ subu $a0, $a0, $a2 +/* 196F08 80268628 00042080 */ sll $a0, $a0, 2 +/* 196F0C 8026862C 15A00002 */ bnez $t5, .L80268638 +/* 196F10 80268630 008D001A */ div $zero, $a0, $t5 +/* 196F14 80268634 0007000D */ break 7 +.L80268638: +/* 196F18 80268638 2401FFFF */ addiu $at, $zero, -1 +/* 196F1C 8026863C 15A10004 */ bne $t5, $at, .L80268650 +/* 196F20 80268640 3C018000 */ lui $at, 0x8000 +/* 196F24 80268644 14810002 */ bne $a0, $at, .L80268650 +/* 196F28 80268648 00000000 */ nop +/* 196F2C 8026864C 0006000D */ break 6 +.L80268650: +/* 196F30 80268650 00002012 */ mflo $a0 +/* 196F34 80268654 3C0551EB */ lui $a1, 0x51eb +/* 196F38 80268658 95630048 */ lhu $v1, 0x48($t3) +/* 196F3C 8026865C 34A5851F */ ori $a1, $a1, 0x851f +/* 196F40 80268660 00031C00 */ sll $v1, $v1, 0x10 +/* 196F44 80268664 00031403 */ sra $v0, $v1, 0x10 +/* 196F48 80268668 00450018 */ mult $v0, $a1 +/* 196F4C 8026866C 00031FC3 */ sra $v1, $v1, 0x1f +/* 196F50 80268670 00001010 */ mfhi $v0 +/* 196F54 80268674 00021143 */ sra $v0, $v0, 5 +/* 196F58 80268678 00431023 */ subu $v0, $v0, $v1 +/* 196F5C 8026867C 00021400 */ sll $v0, $v0, 0x10 +/* 196F60 80268680 00021403 */ sra $v0, $v0, 0x10 +/* 196F64 80268684 00558023 */ subu $s0, $v0, $s5 +/* 196F68 80268688 0600002D */ bltz $s0, .L80268740 +/* 196F6C 8026868C 00958823 */ subu $s1, $a0, $s5 +/* 196F70 80268690 52200007 */ beql $s1, $zero, .L802686B0 +/* 196F74 80268694 0200882D */ daddu $s1, $s0, $zero +/* 196F78 80268698 14CC0003 */ bne $a2, $t4, .L802686A8 +/* 196F7C 8026869C 0230102A */ slt $v0, $s1, $s0 +/* 196F80 802686A0 0809A1AC */ j func_802686B0 +/* 196F84 802686A4 0200882D */ daddu $s1, $s0, $zero + +.L802686A8: +/* 196F88 802686A8 54400001 */ bnezl $v0, .L802686B0 +/* 196F8C 802686AC 0220802D */ daddu $s0, $s1, $zero +func_802686B0: +.L802686B0: +/* 196F90 802686B0 8FAE0068 */ lw $t6, 0x68($sp) +/* 196F94 802686B4 240200FF */ addiu $v0, $zero, 0xff +/* 196F98 802686B8 AFA80010 */ sw $t0, 0x10($sp) +/* 196F9C 802686BC AFAA0014 */ sw $t2, 0x14($sp) +/* 196FA0 802686C0 AFA90018 */ sw $t1, 0x18($sp) +/* 196FA4 802686C4 AFA2001C */ sw $v0, 0x1c($sp) +/* 196FA8 802686C8 AFAB0030 */ sw $t3, 0x30($sp) +/* 196FAC 802686CC AFAC0034 */ sw $t4, 0x34($sp) +/* 196FB0 802686D0 AFAD0038 */ sw $t5, 0x38($sp) +/* 196FB4 802686D4 01D53021 */ addu $a2, $t6, $s5 +/* 196FB8 802686D8 00062400 */ sll $a0, $a2, 0x10 +/* 196FBC 802686DC 00042403 */ sra $a0, $a0, 0x10 +/* 196FC0 802686E0 00D03021 */ addu $a2, $a2, $s0 +/* 196FC4 802686E4 00063400 */ sll $a2, $a2, 0x10 +/* 196FC8 802686E8 8FAE006C */ lw $t6, 0x6c($sp) +/* 196FCC 802686EC 00063403 */ sra $a2, $a2, 0x10 +/* 196FD0 802686F0 000E2C00 */ sll $a1, $t6, 0x10 +/* 196FD4 802686F4 8FAE0028 */ lw $t6, 0x28($sp) +/* 196FD8 802686F8 00052C03 */ sra $a1, $a1, 0x10 +/* 196FDC 802686FC 0C00AAB1 */ jal func_8002AAC4 +/* 196FE0 80268700 000E3C03 */ sra $a3, $t6, 0x10 +/* 196FE4 80268704 8FAB0030 */ lw $t3, 0x30($sp) +/* 196FE8 80268708 8FAC0034 */ lw $t4, 0x34($sp) +/* 196FEC 8026870C 81630080 */ lb $v1, 0x80($t3) +/* 196FF0 80268710 8FAD0038 */ lw $t5, 0x38($sp) +/* 196FF4 80268714 2462FFFF */ addiu $v0, $v1, -1 +/* 196FF8 80268718 0242102A */ slt $v0, $s2, $v0 +/* 196FFC 8026871C 10400008 */ beqz $v0, .L80268740 +/* 197000 80268720 02B1A821 */ addu $s5, $s5, $s1 +/* 197004 80268724 27DE0002 */ addiu $fp, $fp, 2 +/* 197008 80268728 26D60003 */ addiu $s6, $s6, 3 +/* 19700C 8026872C 26940003 */ addiu $s4, $s4, 3 +/* 197010 80268730 26520001 */ addiu $s2, $s2, 1 +/* 197014 80268734 0243102A */ slt $v0, $s2, $v1 +/* 197018 80268738 1440FF9E */ bnez $v0, .L802685B4 +/* 19701C 8026873C 26730003 */ addiu $s3, $s3, 3 +.L80268740: +/* 197020 80268740 8FBF0064 */ lw $ra, 0x64($sp) +/* 197024 80268744 8FBE0060 */ lw $fp, 0x60($sp) +/* 197028 80268748 8FB7005C */ lw $s7, 0x5c($sp) +/* 19702C 8026874C 8FB60058 */ lw $s6, 0x58($sp) +/* 197030 80268750 8FB50054 */ lw $s5, 0x54($sp) +/* 197034 80268754 8FB40050 */ lw $s4, 0x50($sp) +/* 197038 80268758 8FB3004C */ lw $s3, 0x4c($sp) +/* 19703C 8026875C 8FB20048 */ lw $s2, 0x48($sp) +/* 197040 80268760 8FB10044 */ lw $s1, 0x44($sp) +/* 197044 80268764 8FB00040 */ lw $s0, 0x40($sp) +/* 197048 80268768 03E00008 */ jr $ra +/* 19704C 8026876C 27BD0068 */ addiu $sp, $sp, 0x68 + +/* 197050 80268770 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 197054 80268774 24020002 */ addiu $v0, $zero, 2 +/* 197058 80268778 AFBF0010 */ sw $ra, 0x10($sp) +/* 19705C 8026877C 3C01802A */ lui $at, 0x802a +/* 197060 80268780 AC22FBC0 */ sw $v0, -0x440($at) +/* 197064 80268784 0C09A0A1 */ jal func_80268284 +/* 197068 80268788 0000382D */ daddu $a3, $zero, $zero +/* 19706C 8026878C 8FBF0010 */ lw $ra, 0x10($sp) +/* 197070 80268790 03E00008 */ jr $ra +/* 197074 80268794 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 197078 80268798 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 19707C 8026879C 3C01802A */ lui $at, 0x802a +/* 197080 802687A0 AC27FBC0 */ sw $a3, -0x440($at) +/* 197084 802687A4 AFBF0010 */ sw $ra, 0x10($sp) +/* 197088 802687A8 0C09A0A1 */ jal func_80268284 +/* 19708C 802687AC 0000382D */ daddu $a3, $zero, $zero +/* 197090 802687B0 8FBF0010 */ lw $ra, 0x10($sp) +/* 197094 802687B4 03E00008 */ jr $ra +/* 197098 802687B8 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 19709C 802687BC 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 1970A0 802687C0 24020002 */ addiu $v0, $zero, 2 +/* 1970A4 802687C4 AFBF0010 */ sw $ra, 0x10($sp) +/* 1970A8 802687C8 3C01802A */ lui $at, 0x802a +/* 1970AC 802687CC AC22FBC0 */ sw $v0, -0x440($at) +/* 1970B0 802687D0 0C09A0A1 */ jal func_80268284 +/* 1970B4 802687D4 00000000 */ nop +/* 1970B8 802687D8 8FBF0010 */ lw $ra, 0x10($sp) +/* 1970BC 802687DC 03E00008 */ jr $ra +/* 1970C0 802687E0 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 1970C4 802687E4 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 1970C8 802687E8 3C01802A */ lui $at, 0x802a +/* 1970CC 802687EC AC27FBC0 */ sw $a3, -0x440($at) +/* 1970D0 802687F0 8FA70028 */ lw $a3, 0x28($sp) +/* 1970D4 802687F4 AFBF0010 */ sw $ra, 0x10($sp) +/* 1970D8 802687F8 0C09A0A1 */ jal func_80268284 +/* 1970DC 802687FC 00000000 */ nop +/* 1970E0 80268800 8FBF0010 */ lw $ra, 0x10($sp) +/* 1970E4 80268804 03E00008 */ jr $ra +/* 1970E8 80268808 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 1970EC 8026880C 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 1970F0 80268810 24020002 */ addiu $v0, $zero, 2 +/* 1970F4 80268814 AFBF0010 */ sw $ra, 0x10($sp) +/* 1970F8 80268818 3C01802A */ lui $at, 0x802a +/* 1970FC 8026881C AC22FBC0 */ sw $v0, -0x440($at) +/* 197100 80268820 0C09A0A1 */ jal func_80268284 +/* 197104 80268824 2407FFFF */ addiu $a3, $zero, -1 +/* 197108 80268828 8FBF0010 */ lw $ra, 0x10($sp) +/* 19710C 8026882C 03E00008 */ jr $ra +/* 197110 80268830 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 197114 80268834 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 197118 80268838 3C01802A */ lui $at, 0x802a +/* 19711C 8026883C AC27FBC0 */ sw $a3, -0x440($at) +/* 197120 80268840 AFBF0010 */ sw $ra, 0x10($sp) +/* 197124 80268844 0C09A0A1 */ jal func_80268284 +/* 197128 80268848 2407FFFF */ addiu $a3, $zero, -1 +/* 19712C 8026884C 8FBF0010 */ lw $ra, 0x10($sp) +/* 197130 80268850 03E00008 */ jr $ra +/* 197134 80268854 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 197138 80268858 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 19713C 8026885C AFB00010 */ sw $s0, 0x10($sp) +/* 197140 80268860 3C10802A */ lui $s0, 0x802a +/* 197144 80268864 2610FBE0 */ addiu $s0, $s0, -0x420 +/* 197148 80268868 AFB20018 */ sw $s2, 0x18($sp) +/* 19714C 8026886C 3C12800E */ lui $s2, 0x800e +/* 197150 80268870 2652C070 */ addiu $s2, $s2, -0x3f90 +/* 197154 80268874 AFBF001C */ sw $ra, 0x1c($sp) +/* 197158 80268878 AFB10014 */ sw $s1, 0x14($sp) +/* 19715C 8026887C A200005E */ sb $zero, 0x5e($s0) +/* 197160 80268880 A600006A */ sh $zero, 0x6a($s0) +/* 197164 80268884 8E420000 */ lw $v0, ($s2) +/* 197168 80268888 3C110008 */ lui $s1, 8 +/* 19716C 8026888C 00511024 */ and $v0, $v0, $s1 +/* 197170 80268890 14400015 */ bnez $v0, .L802688E8 +/* 197174 80268894 00000000 */ nop +/* 197178 80268898 0C03A752 */ jal is_ability_active +/* 19717C 8026889C 24040016 */ addiu $a0, $zero, 0x16 +/* 197180 802688A0 10400002 */ beqz $v0, .L802688AC +/* 197184 802688A4 24020001 */ addiu $v0, $zero, 1 +/* 197188 802688A8 A202005E */ sb $v0, 0x5e($s0) +.L802688AC: +/* 19718C 802688AC 8E420000 */ lw $v0, ($s2) +/* 197190 802688B0 00511024 */ and $v0, $v0, $s1 +/* 197194 802688B4 1440000C */ bnez $v0, .L802688E8 +/* 197198 802688B8 00000000 */ nop +/* 19719C 802688BC 0C03A752 */ jal is_ability_active +/* 1971A0 802688C0 24040015 */ addiu $a0, $zero, 0x15 +/* 1971A4 802688C4 10400008 */ beqz $v0, .L802688E8 +/* 1971A8 802688C8 24040064 */ addiu $a0, $zero, 0x64 +/* 1971AC 802688CC 24110001 */ addiu $s1, $zero, 1 +/* 1971B0 802688D0 A2000061 */ sb $zero, 0x61($s0) +/* 1971B4 802688D4 0C00A67F */ jal rand_int +/* 1971B8 802688D8 A611006A */ sh $s1, 0x6a($s0) +/* 1971BC 802688DC 28420019 */ slti $v0, $v0, 0x19 +/* 1971C0 802688E0 54400001 */ bnezl $v0, .L802688E8 +/* 1971C4 802688E4 A211005E */ sb $s1, 0x5e($s0) +.L802688E8: +/* 1971C8 802688E8 3C028007 */ lui $v0, 0x8007 +/* 1971CC 802688EC 8C42419C */ lw $v0, 0x419c($v0) +/* 1971D0 802688F0 904200AA */ lbu $v0, 0xaa($v0) +/* 1971D4 802688F4 30420001 */ andi $v0, $v0, 1 +/* 1971D8 802688F8 10400002 */ beqz $v0, .L80268904 +/* 1971DC 802688FC 24020001 */ addiu $v0, $zero, 1 +/* 1971E0 80268900 A202005E */ sb $v0, 0x5e($s0) +.L80268904: +/* 1971E4 80268904 3C02800E */ lui $v0, 0x800e +/* 1971E8 80268908 8C42C070 */ lw $v0, -0x3f90($v0) +/* 1971EC 8026890C 30421000 */ andi $v0, $v0, 0x1000 +/* 1971F0 80268910 10400003 */ beqz $v0, .L80268920 +/* 1971F4 80268914 24020001 */ addiu $v0, $zero, 1 +/* 1971F8 80268918 A202005E */ sb $v0, 0x5e($s0) +/* 1971FC 8026891C A2000061 */ sb $zero, 0x61($s0) +.L80268920: +/* 197200 80268920 8FBF001C */ lw $ra, 0x1c($sp) +/* 197204 80268924 8FB20018 */ lw $s2, 0x18($sp) +/* 197208 80268928 8FB10014 */ lw $s1, 0x14($sp) +/* 19720C 8026892C 8FB00010 */ lw $s0, 0x10($sp) +/* 197210 80268930 03E00008 */ jr $ra +/* 197214 80268934 27BD0020 */ addiu $sp, $sp, 0x20 + +/* 197218 80268938 3C02800E */ lui $v0, 0x800e +/* 19721C 8026893C 8C42C070 */ lw $v0, -0x3f90($v0) +/* 197220 80268940 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 197224 80268944 30428000 */ andi $v0, $v0, 0x8000 +/* 197228 80268948 10400003 */ beqz $v0, .L80268958 +/* 19722C 8026894C AFBF0010 */ sw $ra, 0x10($sp) +/* 197230 80268950 0C09A327 */ jal func_80268C9C +/* 197234 80268954 00000000 */ nop +.L80268958: +/* 197238 80268958 3C02802A */ lui $v0, 0x802a +/* 19723C 8026895C 2442FBE0 */ addiu $v0, $v0, -0x420 +/* 197240 80268960 8443004A */ lh $v1, 0x4a($v0) +/* 197244 80268964 2C620018 */ sltiu $v0, $v1, 0x18 +/* 197248 80268968 10400060 */ beqz $v0, .L80268AEC +/* 19724C 8026896C 00031080 */ sll $v0, $v1, 2 +/* 197250 80268970 3C01802A */ lui $at, 0x802a +/* 197254 80268974 00220821 */ addu $at, $at, $v0 +/* 197258 80268978 8C22D6A0 */ lw $v0, -0x2960($at) +/* 19725C 8026897C 00400008 */ jr $v0 +/* 197260 80268980 00000000 */ nop +/* 197264 80268984 0C0AA48D */ jal func_802A9234 +/* 197268 80268988 00000000 */ nop +/* 19726C 8026898C 0809A2BB */ j func_80268AEC +/* 197270 80268990 00000000 */ nop + +/* 197274 80268994 0C0AA4DB */ jal func_802A936C +/* 197278 80268998 00000000 */ nop +/* 19727C 8026899C 0809A2BB */ j func_80268AEC +/* 197280 802689A0 00000000 */ nop + +/* 197284 802689A4 0C0AA4DE */ jal func_802A9378 +/* 197288 802689A8 00000000 */ nop +/* 19728C 802689AC 0809A2BB */ j func_80268AEC +/* 197290 802689B0 00000000 */ nop + +/* 197294 802689B4 0C0AA4B7 */ jal func_802A92DC +/* 197298 802689B8 00000000 */ nop +/* 19729C 802689BC 0809A2BB */ j func_80268AEC +/* 1972A0 802689C0 00000000 */ nop + +/* 1972A4 802689C4 0C0AA4BC */ jal func_802A92F0 +/* 1972A8 802689C8 00000000 */ nop +/* 1972AC 802689CC 0809A2BB */ j func_80268AEC +/* 1972B0 802689D0 00000000 */ nop + +/* 1972B4 802689D4 0C0AA47E */ jal func_802A91F8 +/* 1972B8 802689D8 00000000 */ nop +/* 1972BC 802689DC 0809A2BB */ j func_80268AEC +/* 1972C0 802689E0 00000000 */ nop + +/* 1972C4 802689E4 0C0AA48A */ jal func_802A9228 +/* 1972C8 802689E8 00000000 */ nop +/* 1972CC 802689EC 0809A2BB */ j func_80268AEC +/* 1972D0 802689F0 00000000 */ nop + +/* 1972D4 802689F4 0C0AA4A3 */ jal func_802A928C +/* 1972D8 802689F8 00000000 */ nop +/* 1972DC 802689FC 0809A2BB */ j func_80268AEC +/* 1972E0 80268A00 00000000 */ nop + +/* 1972E4 80268A04 0C0AA4A5 */ jal func_802A9294 +/* 1972E8 80268A08 00000000 */ nop +/* 1972EC 80268A0C 0809A2BB */ j func_80268AEC +/* 1972F0 80268A10 00000000 */ nop + +/* 1972F4 80268A14 0C0AA4A3 */ jal func_802A928C +/* 1972F8 80268A18 00000000 */ nop +/* 1972FC 80268A1C 0809A2BB */ j func_80268AEC +/* 197300 80268A20 00000000 */ nop + +/* 197304 80268A24 0C0AA4A3 */ jal func_802A928C +/* 197308 80268A28 00000000 */ nop +/* 19730C 80268A2C 0809A2BB */ j func_80268AEC +/* 197310 80268A30 00000000 */ nop + +/* 197314 80268A34 0C0AA4B5 */ jal func_802A92D4 +/* 197318 80268A38 00000000 */ nop +/* 19731C 80268A3C 0809A2BB */ j func_80268AEC +/* 197320 80268A40 00000000 */ nop + +/* 197324 80268A44 0C0AA49E */ jal func_802A9278 +/* 197328 80268A48 00000000 */ nop +/* 19732C 80268A4C 0809A2BB */ j func_80268AEC +/* 197330 80268A50 00000000 */ nop + +/* 197334 80268A54 0C0AA4A5 */ jal func_802A9294 +/* 197338 80268A58 00000000 */ nop +/* 19733C 80268A5C 0809A2BB */ j func_80268AEC +/* 197340 80268A60 00000000 */ nop + +/* 197344 80268A64 0C0AA482 */ jal func_802A9208 +/* 197348 80268A68 00000000 */ nop +/* 19734C 80268A6C 0809A2BB */ j func_80268AEC +/* 197350 80268A70 00000000 */ nop + +/* 197354 80268A74 0C0AA4C4 */ jal func_802A9310 +/* 197358 80268A78 00000000 */ nop +/* 19735C 80268A7C 0809A2BB */ j func_80268AEC +/* 197360 80268A80 00000000 */ nop + +/* 197364 80268A84 0C0AA4A8 */ jal func_802A92A0 +/* 197368 80268A88 00000000 */ nop +/* 19736C 80268A8C 0809A2BB */ j func_80268AEC +/* 197370 80268A90 00000000 */ nop + +/* 197374 80268A94 0C0AA4A6 */ jal func_802A9298 +/* 197378 80268A98 00000000 */ nop +/* 19737C 80268A9C 0809A2BB */ j func_80268AEC +/* 197380 80268AA0 00000000 */ nop + +/* 197384 80268AA4 0C0AA495 */ jal func_802A9254 +/* 197388 80268AA8 00000000 */ nop +/* 19738C 80268AAC 0809A2BB */ j func_80268AEC +/* 197390 80268AB0 00000000 */ nop + +/* 197394 80268AB4 0C0AA4A8 */ jal func_802A92A0 +/* 197398 80268AB8 00000000 */ nop +/* 19739C 80268ABC 0809A2BB */ j func_80268AEC +/* 1973A0 80268AC0 00000000 */ nop + +/* 1973A4 80268AC4 0C0AA4A6 */ jal func_802A9298 +/* 1973A8 80268AC8 00000000 */ nop +/* 1973AC 80268ACC 0809A2BB */ j func_80268AEC +/* 1973B0 80268AD0 00000000 */ nop + +/* 1973B4 80268AD4 0C0AA523 */ jal func_802A948C +/* 1973B8 80268AD8 00000000 */ nop +/* 1973BC 80268ADC 0809A2BB */ j func_80268AEC +/* 1973C0 80268AE0 00000000 */ nop + +/* 1973C4 80268AE4 0C0AA48A */ jal func_802A9228 +/* 1973C8 80268AE8 00000000 */ nop +func_80268AEC: +.L80268AEC: +/* 1973CC 80268AEC 8FBF0010 */ lw $ra, 0x10($sp) +/* 1973D0 80268AF0 03E00008 */ jr $ra +/* 1973D4 80268AF4 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 1973D8 80268AF8 3C03802A */ lui $v1, 0x802a +/* 1973DC 80268AFC 8463FC2A */ lh $v1, -0x3d6($v1) +/* 1973E0 80268B00 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 1973E4 80268B04 2C620018 */ sltiu $v0, $v1, 0x18 +/* 1973E8 80268B08 10400061 */ beqz $v0, .L80268C90 +/* 1973EC 80268B0C AFBF0010 */ sw $ra, 0x10($sp) +/* 1973F0 80268B10 00031080 */ sll $v0, $v1, 2 +/* 1973F4 80268B14 3C01802A */ lui $at, 0x802a +/* 1973F8 80268B18 00220821 */ addu $at, $at, $v0 +/* 1973FC 80268B1C 8C22D700 */ lw $v0, -0x2900($at) +/* 197400 80268B20 00400008 */ jr $v0 +/* 197404 80268B24 00000000 */ nop +/* 197408 80268B28 0C0AA551 */ jal func_802A9544 +/* 19740C 80268B2C 00000000 */ nop +/* 197410 80268B30 0809A324 */ j func_80268C90 +/* 197414 80268B34 00000000 */ nop + +/* 197418 80268B38 0C0AA675 */ jal func_802A99D4 +/* 19741C 80268B3C 00000000 */ nop +/* 197420 80268B40 0809A324 */ j func_80268C90 +/* 197424 80268B44 00000000 */ nop + +/* 197428 80268B48 0C0AA5BD */ jal func_802A96F4 +/* 19742C 80268B4C 00000000 */ nop +/* 197430 80268B50 0809A324 */ j func_80268C90 +/* 197434 80268B54 00000000 */ nop + +/* 197438 80268B58 0C0AA5AE */ jal func_802A96B8 +/* 19743C 80268B5C 00000000 */ nop +/* 197440 80268B60 0809A324 */ j func_80268C90 +/* 197444 80268B64 00000000 */ nop + +/* 197448 80268B68 0C0AA5D1 */ jal func_802A9744 +/* 19744C 80268B6C 00000000 */ nop +/* 197450 80268B70 0809A324 */ j func_80268C90 +/* 197454 80268B74 00000000 */ nop + +/* 197458 80268B78 0C0AA529 */ jal func_802A94A4 +/* 19745C 80268B7C 00000000 */ nop +/* 197460 80268B80 0809A324 */ j func_80268C90 +/* 197464 80268B84 00000000 */ nop + +/* 197468 80268B88 0C0AA536 */ jal func_802A94D8 +/* 19746C 80268B8C 00000000 */ nop +/* 197470 80268B90 0809A324 */ j func_80268C90 +/* 197474 80268B94 00000000 */ nop + +/* 197478 80268B98 0C0AA5B7 */ jal func_802A96DC +/* 19747C 80268B9C 00000000 */ nop +/* 197480 80268BA0 0809A324 */ j func_80268C90 +/* 197484 80268BA4 00000000 */ nop + +/* 197488 80268BA8 0C0AA60D */ jal func_802A9834 +/* 19748C 80268BAC 00000000 */ nop +/* 197490 80268BB0 0809A324 */ j func_80268C90 +/* 197494 80268BB4 00000000 */ nop + +/* 197498 80268BB8 0C0AA557 */ jal func_802A955C +/* 19749C 80268BBC 00000000 */ nop +/* 1974A0 80268BC0 0809A324 */ j func_80268C90 +/* 1974A4 80268BC4 00000000 */ nop + +/* 1974A8 80268BC8 0C0AA5BB */ jal func_802A96EC +/* 1974AC 80268BCC 00000000 */ nop +/* 1974B0 80268BD0 0809A324 */ j func_80268C90 +/* 1974B4 80268BD4 00000000 */ nop + +/* 1974B8 80268BD8 0C0AA599 */ jal func_802A9664 +/* 1974BC 80268BDC 00000000 */ nop +/* 1974C0 80268BE0 0809A324 */ j func_80268C90 +/* 1974C4 80268BE4 00000000 */ nop + +/* 1974C8 80268BE8 0C0AA5BB */ jal func_802A96EC +/* 1974CC 80268BEC 00000000 */ nop +/* 1974D0 80268BF0 0809A324 */ j func_80268C90 +/* 1974D4 80268BF4 00000000 */ nop + +/* 1974D8 80268BF8 0C0AA613 */ jal func_802A984C +/* 1974DC 80268BFC 00000000 */ nop +/* 1974E0 80268C00 0809A324 */ j func_80268C90 +/* 1974E4 80268C04 00000000 */ nop + +/* 1974E8 80268C08 0C0AA58D */ jal func_802A9634 +/* 1974EC 80268C0C 00000000 */ nop +/* 1974F0 80268C10 0809A324 */ j func_80268C90 +/* 1974F4 80268C14 00000000 */ nop + +/* 1974F8 80268C18 0C0AA634 */ jal func_802A98D0 +/* 1974FC 80268C1C 00000000 */ nop +/* 197500 80268C20 0809A324 */ j func_80268C90 +/* 197504 80268C24 00000000 */ nop + +/* 197508 80268C28 0C0AA5FE */ jal func_802A97F8 +/* 19750C 80268C2C 00000000 */ nop +/* 197510 80268C30 0809A324 */ j func_80268C90 +/* 197514 80268C34 00000000 */ nop + +/* 197518 80268C38 0C0AA62C */ jal func_802A98B0 +/* 19751C 80268C3C 00000000 */ nop +/* 197520 80268C40 0809A324 */ j func_80268C90 +/* 197524 80268C44 00000000 */ nop + +/* 197528 80268C48 0C0AA5CF */ jal func_802A973C +/* 19752C 80268C4C 00000000 */ nop +/* 197530 80268C50 0809A324 */ j func_80268C90 +/* 197534 80268C54 00000000 */ nop + +/* 197538 80268C58 0C0AA5EB */ jal func_802A97AC +/* 19753C 80268C5C 00000000 */ nop +/* 197540 80268C60 0809A324 */ j func_80268C90 +/* 197544 80268C64 00000000 */ nop + +/* 197548 80268C68 0C0AA5FF */ jal func_802A97FC +/* 19754C 80268C6C 00000000 */ nop +/* 197550 80268C70 0809A324 */ j func_80268C90 +/* 197554 80268C74 00000000 */ nop + +/* 197558 80268C78 0C0AA805 */ jal func_802AA014 +/* 19755C 80268C7C 00000000 */ nop +/* 197560 80268C80 0809A324 */ j func_80268C90 +/* 197564 80268C84 00000000 */ nop + +/* 197568 80268C88 0C0AA5C6 */ jal func_802A9718 +/* 19756C 80268C8C 00000000 */ nop +func_80268C90: +.L80268C90: +/* 197570 80268C90 8FBF0010 */ lw $ra, 0x10($sp) +/* 197574 80268C94 03E00008 */ jr $ra +/* 197578 80268C98 27BD0018 */ addiu $sp, $sp, 0x18 + +func_80268C9C: +/* 19757C 80268C9C 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 197580 80268CA0 AFB00010 */ sw $s0, 0x10($sp) +/* 197584 80268CA4 3C10802A */ lui $s0, 0x802a +/* 197588 80268CA8 2610FBE0 */ addiu $s0, $s0, -0x420 +/* 19758C 80268CAC AFBF0014 */ sw $ra, 0x14($sp) +/* 197590 80268CB0 8603004A */ lh $v1, 0x4a($s0) +/* 197594 80268CB4 2C620018 */ sltiu $v0, $v1, 0x18 +/* 197598 80268CB8 10400060 */ beqz $v0, .L80268E3C +/* 19759C 80268CBC 00031080 */ sll $v0, $v1, 2 +/* 1975A0 80268CC0 3C01802A */ lui $at, 0x802a +/* 1975A4 80268CC4 00220821 */ addu $at, $at, $v0 +/* 1975A8 80268CC8 8C22D760 */ lw $v0, -0x28a0($at) +/* 1975AC 80268CCC 00400008 */ jr $v0 +/* 1975B0 80268CD0 00000000 */ nop +/* 1975B4 80268CD4 0C0AA564 */ jal func_802A9590 +/* 1975B8 80268CD8 00000000 */ nop +/* 1975BC 80268CDC 0809A390 */ j func_80268E40 +/* 1975C0 80268CE0 3C05FFFF */ lui $a1, 0xffff + +/* 1975C4 80268CE4 0C0AA68C */ jal func_802A9A30 +/* 1975C8 80268CE8 00000000 */ nop +/* 1975CC 80268CEC 0809A390 */ j func_80268E40 +/* 1975D0 80268CF0 3C05FFFF */ lui $a1, 0xffff + +/* 1975D4 80268CF4 0C0AA625 */ jal func_802A9894 +/* 1975D8 80268CF8 00000000 */ nop +/* 1975DC 80268CFC 0809A390 */ j func_80268E40 +/* 1975E0 80268D00 3C05FFFF */ lui $a1, 0xffff + +/* 1975E4 80268D04 0C0AA5FF */ jal func_802A97FC +/* 1975E8 80268D08 00000000 */ nop +/* 1975EC 80268D0C 0809A390 */ j func_80268E40 +/* 1975F0 80268D10 3C05FFFF */ lui $a1, 0xffff + +/* 1975F4 80268D14 0C0AA626 */ jal func_802A9898 +/* 1975F8 80268D18 00000000 */ nop +/* 1975FC 80268D1C 0809A390 */ j func_80268E40 +/* 197600 80268D20 3C05FFFF */ lui $a1, 0xffff + +/* 197604 80268D24 0C0AA551 */ jal func_802A9544 +/* 197608 80268D28 00000000 */ nop +/* 19760C 80268D2C 0809A390 */ j func_80268E40 +/* 197610 80268D30 3C05FFFF */ lui $a1, 0xffff + +/* 197614 80268D34 0C0AA567 */ jal func_802A959C +/* 197618 80268D38 00000000 */ nop +/* 19761C 80268D3C 0809A390 */ j func_80268E40 +/* 197620 80268D40 3C05FFFF */ lui $a1, 0xffff + +/* 197624 80268D44 0C0AA5EF */ jal func_802A97BC +/* 197628 80268D48 00000000 */ nop +/* 19762C 80268D4C 0809A390 */ j func_80268E40 +/* 197630 80268D50 3C05FFFF */ lui $a1, 0xffff + +/* 197634 80268D54 0C0AA645 */ jal func_802A9914 +/* 197638 80268D58 00000000 */ nop +/* 19763C 80268D5C 0809A390 */ j func_80268E40 +/* 197640 80268D60 3C05FFFF */ lui $a1, 0xffff + +/* 197644 80268D64 0C0AA58F */ jal func_802A963C +/* 197648 80268D68 00000000 */ nop +/* 19764C 80268D6C 0809A390 */ j func_80268E40 +/* 197650 80268D70 3C05FFFF */ lui $a1, 0xffff + +/* 197654 80268D74 0C0AA5F3 */ jal func_802A97CC +/* 197658 80268D78 00000000 */ nop +/* 19765C 80268D7C 0809A390 */ j func_80268E40 +/* 197660 80268D80 3C05FFFF */ lui $a1, 0xffff + +/* 197664 80268D84 0C0AA5C2 */ jal func_802A9708 +/* 197668 80268D88 00000000 */ nop +/* 19766C 80268D8C 0809A390 */ j func_80268E40 +/* 197670 80268D90 3C05FFFF */ lui $a1, 0xffff + +/* 197674 80268D94 0C0AA604 */ jal func_802A9810 +/* 197678 80268D98 00000000 */ nop +/* 19767C 80268D9C 0809A390 */ j func_80268E40 +/* 197680 80268DA0 3C05FFFF */ lui $a1, 0xffff + +/* 197684 80268DA4 0C0AA64B */ jal func_802A992C +/* 197688 80268DA8 00000000 */ nop +/* 19768C 80268DAC 0809A390 */ j func_80268E40 +/* 197690 80268DB0 3C05FFFF */ lui $a1, 0xffff + +/* 197694 80268DB4 0C0AA5C8 */ jal func_802A9720 +/* 197698 80268DB8 00000000 */ nop +/* 19769C 80268DBC 0809A390 */ j func_80268E40 +/* 1976A0 80268DC0 3C05FFFF */ lui $a1, 0xffff + +/* 1976A4 80268DC4 0C0AA695 */ jal func_802A9A54 +/* 1976A8 80268DC8 00000000 */ nop +/* 1976AC 80268DCC 0809A390 */ j func_80268E40 +/* 1976B0 80268DD0 3C05FFFF */ lui $a1, 0xffff + +/* 1976B4 80268DD4 0C0AA638 */ jal func_802A98E0 +/* 1976B8 80268DD8 00000000 */ nop +/* 1976BC 80268DDC 0809A390 */ j func_80268E40 +/* 1976C0 80268DE0 3C05FFFF */ lui $a1, 0xffff + +/* 1976C4 80268DE4 0C0AA664 */ jal func_802A9990 +/* 1976C8 80268DE8 00000000 */ nop +/* 1976CC 80268DEC 0809A390 */ j func_80268E40 +/* 1976D0 80268DF0 3C05FFFF */ lui $a1, 0xffff + +/* 1976D4 80268DF4 0C0AA607 */ jal func_802A981C +/* 1976D8 80268DF8 00000000 */ nop +/* 1976DC 80268DFC 0809A390 */ j func_80268E40 +/* 1976E0 80268E00 3C05FFFF */ lui $a1, 0xffff + +/* 1976E4 80268E04 0C0AA625 */ jal func_802A9894 +/* 1976E8 80268E08 00000000 */ nop +/* 1976EC 80268E0C 0809A390 */ j func_80268E40 +/* 1976F0 80268E10 3C05FFFF */ lui $a1, 0xffff + +/* 1976F4 80268E14 0C0AA637 */ jal func_802A98DC +/* 1976F8 80268E18 00000000 */ nop +/* 1976FC 80268E1C 0809A390 */ j func_80268E40 +/* 197700 80268E20 3C05FFFF */ lui $a1, 0xffff + +/* 197704 80268E24 0C0AA836 */ jal func_802AA0D8 +/* 197708 80268E28 00000000 */ nop +/* 19770C 80268E2C 0809A390 */ j func_80268E40 +/* 197710 80268E30 3C05FFFF */ lui $a1, 0xffff + +/* 197714 80268E34 0C0AA5D9 */ jal func_802A9764 +/* 197718 80268E38 00000000 */ nop +.L80268E3C: +/* 19771C 80268E3C 3C05FFFF */ lui $a1, 0xffff +func_80268E40: +/* 197720 80268E40 34A57FFF */ ori $a1, $a1, 0x7fff +/* 197724 80268E44 3C04800E */ lui $a0, 0x800e +/* 197728 80268E48 2484C070 */ addiu $a0, $a0, -0x3f90 +/* 19772C 80268E4C A600004A */ sh $zero, 0x4a($s0) +/* 197730 80268E50 8C820000 */ lw $v0, ($a0) +/* 197734 80268E54 2403DFFF */ addiu $v1, $zero, -0x2001 +/* 197738 80268E58 00431024 */ and $v0, $v0, $v1 +/* 19773C 80268E5C 00451024 */ and $v0, $v0, $a1 +/* 197740 80268E60 2403BFFF */ addiu $v1, $zero, -0x4001 +/* 197744 80268E64 00431024 */ and $v0, $v0, $v1 +/* 197748 80268E68 0C093EC3 */ jal close_action_command_instruction_popup +/* 19774C 80268E6C AC820000 */ sw $v0, ($a0) +/* 197750 80268E70 0C093EB1 */ jal set_popup_duration +/* 197754 80268E74 0000202D */ daddu $a0, $zero, $zero +/* 197758 80268E78 8FBF0014 */ lw $ra, 0x14($sp) +/* 19775C 80268E7C 8FB00010 */ lw $s0, 0x10($sp) +/* 197760 80268E80 03E00008 */ jr $ra +/* 197764 80268E84 27BD0018 */ addiu $sp, $sp, 0x18 + +func_80268E88: +/* 197768 80268E88 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 19776C 80268E8C AFB00010 */ sw $s0, 0x10($sp) +/* 197770 80268E90 3C10802A */ lui $s0, 0x802a +/* 197774 80268E94 2610FBE0 */ addiu $s0, $s0, -0x420 +/* 197778 80268E98 3C048027 */ lui $a0, 0x8027 +/* 19777C 80268E9C 24848938 */ addiu $a0, $a0, -0x76c8 +/* 197780 80268EA0 3C058027 */ lui $a1, 0x8027 +/* 197784 80268EA4 24A58AF8 */ addiu $a1, $a1, -0x7508 +/* 197788 80268EA8 AFBF0014 */ sw $ra, 0x14($sp) +/* 19778C 80268EAC 0C048C8F */ jal func_8012323C +/* 197790 80268EB0 00000000 */ nop +/* 197794 80268EB4 AE020000 */ sw $v0, ($s0) +/* 197798 80268EB8 A600004A */ sh $zero, 0x4a($s0) +/* 19779C 80268EBC 8FBF0014 */ lw $ra, 0x14($sp) +/* 1977A0 80268EC0 8FB00010 */ lw $s0, 0x10($sp) +/* 1977A4 80268EC4 03E00008 */ jr $ra +/* 1977A8 80268EC8 27BD0018 */ addiu $sp, $sp, 0x18 + +check_block_input: +/* 1977AC 80268ECC 27BDFFC8 */ addiu $sp, $sp, -0x38 +/* 1977B0 80268ED0 AFB40020 */ sw $s4, 0x20($sp) +/* 1977B4 80268ED4 0080A02D */ daddu $s4, $a0, $zero +/* 1977B8 80268ED8 AFB7002C */ sw $s7, 0x2c($sp) +/* 1977BC 80268EDC 0000B82D */ daddu $s7, $zero, $zero +/* 1977C0 80268EE0 AFB10014 */ sw $s1, 0x14($sp) +/* 1977C4 80268EE4 3C11800E */ lui $s1, 0x800e +/* 1977C8 80268EE8 2631C070 */ addiu $s1, $s1, -0x3f90 +/* 1977CC 80268EEC AFB50024 */ sw $s5, 0x24($sp) +/* 1977D0 80268EF0 3C158011 */ lui $s5, 0x8011 +/* 1977D4 80268EF4 26B5F290 */ addiu $s5, $s5, -0xd70 +/* 1977D8 80268EF8 AFB60028 */ sw $s6, 0x28($sp) +/* 1977DC 80268EFC 3C16802A */ lui $s6, 0x802a +/* 1977E0 80268F00 26D6FBE0 */ addiu $s6, $s6, -0x420 +/* 1977E4 80268F04 AFBF0030 */ sw $ra, 0x30($sp) +/* 1977E8 80268F08 AFB3001C */ sw $s3, 0x1c($sp) +/* 1977EC 80268F0C AFB20018 */ sw $s2, 0x18($sp) +/* 1977F0 80268F10 AFB00010 */ sw $s0, 0x10($sp) +/* 1977F4 80268F14 82230083 */ lb $v1, 0x83($s1) +/* 1977F8 80268F18 2402FFFF */ addiu $v0, $zero, -1 +/* 1977FC 80268F1C 14620009 */ bne $v1, $v0, .L80268F44 +/* 197800 80268F20 A2200087 */ sb $zero, 0x87($s1) +/* 197804 80268F24 8E220000 */ lw $v0, ($s1) +/* 197808 80268F28 3C030200 */ lui $v1, 0x200 +/* 19780C 80268F2C 00431024 */ and $v0, $v0, $v1 +/* 197810 80268F30 10400004 */ beqz $v0, .L80268F44 +/* 197814 80268F34 24020001 */ addiu $v0, $zero, 1 +/* 197818 80268F38 A2220087 */ sb $v0, 0x87($s1) +/* 19781C 80268F3C 0809A43B */ j func_802690EC +/* 197820 80268F40 24020001 */ addiu $v0, $zero, 1 + +.L80268F44: +/* 197824 80268F44 82220083 */ lb $v0, 0x83($s1) +/* 197828 80268F48 10400068 */ beqz $v0, .L802690EC +/* 19782C 80268F4C 0000102D */ daddu $v0, $zero, $zero +/* 197830 80268F50 3C028007 */ lui $v0, 0x8007 +/* 197834 80268F54 8C42419C */ lw $v0, 0x419c($v0) +/* 197838 80268F58 904200AA */ lbu $v0, 0xaa($v0) +/* 19783C 80268F5C 30420001 */ andi $v0, $v0, 1 +/* 197840 80268F60 14400062 */ bnez $v0, .L802690EC +/* 197844 80268F64 0000102D */ daddu $v0, $zero, $zero +/* 197848 80268F68 96A30298 */ lhu $v1, 0x298($s5) +/* 19784C 80268F6C 2C62270F */ sltiu $v0, $v1, 0x270f +/* 197850 80268F70 1040000A */ beqz $v0, .L80268F9C +/* 197854 80268F74 24620001 */ addiu $v0, $v1, 1 +/* 197858 80268F78 A6A20298 */ sh $v0, 0x298($s5) +/* 19785C 80268F7C 0809A3E9 */ j func_80268FA4 +/* 197860 80268F80 A6C0006E */ sh $zero, 0x6e($s6) + +.L80268F84: +/* 197864 80268F84 0809A408 */ j func_80269020 +/* 197868 80268F88 24170001 */ addiu $s7, $zero, 1 + +.L80268F8C: +/* 19786C 80268F8C 24020001 */ addiu $v0, $zero, 1 +/* 197870 80268F90 A2220087 */ sb $v0, 0x87($s1) +/* 197874 80268F94 0809A41A */ j func_80269068 +/* 197878 80268F98 24120001 */ addiu $s2, $zero, 1 + +.L80268F9C: +/* 19787C 80268F9C 24020001 */ addiu $v0, $zero, 1 +/* 197880 80268FA0 A6C2006E */ sh $v0, 0x6e($s6) +func_80268FA4: +/* 197884 80268FA4 0000902D */ daddu $s2, $zero, $zero +/* 197888 80268FA8 24100003 */ addiu $s0, $zero, 3 +/* 19788C 80268FAC 3C02800E */ lui $v0, 0x800e +/* 197890 80268FB0 8C42C070 */ lw $v0, -0x3f90($v0) +/* 197894 80268FB4 3C030008 */ lui $v1, 8 +/* 197898 80268FB8 00431024 */ and $v0, $v0, $v1 +/* 19789C 80268FBC 14400005 */ bnez $v0, .L80268FD4 +/* 1978A0 80268FC0 2413000A */ addiu $s3, $zero, 0xa +/* 1978A4 80268FC4 0C03A752 */ jal is_ability_active +/* 1978A8 80268FC8 0240202D */ daddu $a0, $s2, $zero +/* 1978AC 80268FCC 54400001 */ bnezl $v0, .L80268FD4 +/* 1978B0 80268FD0 24100005 */ addiu $s0, $zero, 5 +.L80268FD4: +/* 1978B4 80268FD4 82230431 */ lb $v1, 0x431($s1) +/* 1978B8 80268FD8 02701021 */ addu $v0, $s3, $s0 +/* 1978BC 80268FDC 00621823 */ subu $v1, $v1, $v0 +/* 1978C0 80268FE0 04620001 */ bltzl $v1, .L80268FE8 +/* 1978C4 80268FE4 24630040 */ addiu $v1, $v1, 0x40 +.L80268FE8: +/* 1978C8 80268FE8 1260000D */ beqz $s3, .L80269020 +/* 1978CC 80268FEC 0000202D */ daddu $a0, $zero, $zero +.L80268FF0: +/* 1978D0 80268FF0 28620040 */ slti $v0, $v1, 0x40 +/* 1978D4 80268FF4 50400001 */ beql $v0, $zero, .L80268FFC +/* 1978D8 80268FF8 2463FFC0 */ addiu $v1, $v1, -0x40 +.L80268FFC: +/* 1978DC 80268FFC 00031080 */ sll $v0, $v1, 2 +/* 1978E0 80269000 02221021 */ addu $v0, $s1, $v0 +/* 1978E4 80269004 8C420330 */ lw $v0, 0x330($v0) +/* 1978E8 80269008 00541024 */ and $v0, $v0, $s4 +/* 1978EC 8026900C 1440FFDD */ bnez $v0, .L80268F84 +/* 1978F0 80269010 24840001 */ addiu $a0, $a0, 1 +/* 1978F4 80269014 0093102A */ slt $v0, $a0, $s3 +/* 1978F8 80269018 1440FFF5 */ bnez $v0, .L80268FF0 +/* 1978FC 8026901C 24630001 */ addiu $v1, $v1, 1 +func_80269020: +.L80269020: +/* 197900 80269020 82230431 */ lb $v1, 0x431($s1) +/* 197904 80269024 00701823 */ subu $v1, $v1, $s0 +/* 197908 80269028 04620001 */ bltzl $v1, .L80269030 +/* 19790C 8026902C 24630040 */ addiu $v1, $v1, 0x40 +.L80269030: +/* 197910 80269030 1200000D */ beqz $s0, .L80269068 +/* 197914 80269034 0000202D */ daddu $a0, $zero, $zero +.L80269038: +/* 197918 80269038 28620040 */ slti $v0, $v1, 0x40 +/* 19791C 8026903C 50400001 */ beql $v0, $zero, .L80269044 +/* 197920 80269040 2463FFC0 */ addiu $v1, $v1, -0x40 +.L80269044: +/* 197924 80269044 00031080 */ sll $v0, $v1, 2 +/* 197928 80269048 02221021 */ addu $v0, $s1, $v0 +/* 19792C 8026904C 8C420330 */ lw $v0, 0x330($v0) +/* 197930 80269050 00541024 */ and $v0, $v0, $s4 +/* 197934 80269054 1440FFCD */ bnez $v0, .L80268F8C +/* 197938 80269058 24840001 */ addiu $a0, $a0, 1 +/* 19793C 8026905C 0090102A */ slt $v0, $a0, $s0 +/* 197940 80269060 1440FFF5 */ bnez $v0, .L80269038 +/* 197944 80269064 24630001 */ addiu $v1, $v1, 1 +func_80269068: +.L80269068: +/* 197948 80269068 12E00003 */ beqz $s7, .L80269078 +/* 19794C 8026906C 2402FFFF */ addiu $v0, $zero, -1 +/* 197950 80269070 A2220087 */ sb $v0, 0x87($s1) +/* 197954 80269074 0000902D */ daddu $s2, $zero, $zero +.L80269078: +/* 197958 80269078 24020001 */ addiu $v0, $zero, 1 +/* 19795C 8026907C 16420012 */ bne $s2, $v0, .L802690C8 +/* 197960 80269080 02701021 */ addu $v0, $s3, $s0 +/* 197964 80269084 82230431 */ lb $v1, 0x431($s1) +/* 197968 80269088 00621823 */ subu $v1, $v1, $v0 +/* 19796C 8026908C 04620001 */ bltzl $v1, .L80269094 +/* 197970 80269090 24630040 */ addiu $v1, $v1, 0x40 +.L80269094: +/* 197974 80269094 1040000C */ beqz $v0, .L802690C8 +/* 197978 80269098 0000202D */ daddu $a0, $zero, $zero +/* 19797C 8026909C 0040282D */ daddu $a1, $v0, $zero +.L802690A0: +/* 197980 802690A0 28620040 */ slti $v0, $v1, 0x40 +/* 197984 802690A4 50400001 */ beql $v0, $zero, .L802690AC +/* 197988 802690A8 2463FFC0 */ addiu $v1, $v1, -0x40 +.L802690AC: +/* 19798C 802690AC 00031080 */ sll $v0, $v1, 2 +/* 197990 802690B0 02221021 */ addu $v0, $s1, $v0 +/* 197994 802690B4 AC400330 */ sw $zero, 0x330($v0) +/* 197998 802690B8 24840001 */ addiu $a0, $a0, 1 +/* 19799C 802690BC 0085102A */ slt $v0, $a0, $a1 +/* 1979A0 802690C0 1440FFF7 */ bnez $v0, .L802690A0 +/* 1979A4 802690C4 24630001 */ addiu $v1, $v1, 1 +.L802690C8: +/* 1979A8 802690C8 12400008 */ beqz $s2, .L802690EC +/* 1979AC 802690CC 0240102D */ daddu $v0, $s2, $zero +/* 1979B0 802690D0 86C2006E */ lh $v0, 0x6e($s6) +/* 1979B4 802690D4 14400005 */ bnez $v0, .L802690EC +/* 1979B8 802690D8 0240102D */ daddu $v0, $s2, $zero +/* 1979BC 802690DC 96A2029A */ lhu $v0, 0x29a($s5) +/* 1979C0 802690E0 24420001 */ addiu $v0, $v0, 1 +/* 1979C4 802690E4 A6A2029A */ sh $v0, 0x29a($s5) +/* 1979C8 802690E8 0240102D */ daddu $v0, $s2, $zero +func_802690EC: +.L802690EC: +/* 1979CC 802690EC 8FBF0030 */ lw $ra, 0x30($sp) +/* 1979D0 802690F0 8FB7002C */ lw $s7, 0x2c($sp) +/* 1979D4 802690F4 8FB60028 */ lw $s6, 0x28($sp) +/* 1979D8 802690F8 8FB50024 */ lw $s5, 0x24($sp) +/* 1979DC 802690FC 8FB40020 */ lw $s4, 0x20($sp) +/* 1979E0 80269100 8FB3001C */ lw $s3, 0x1c($sp) +/* 1979E4 80269104 8FB20018 */ lw $s2, 0x18($sp) +/* 1979E8 80269108 8FB10014 */ lw $s1, 0x14($sp) +/* 1979EC 8026910C 8FB00010 */ lw $s0, 0x10($sp) +/* 1979F0 80269110 03E00008 */ jr $ra +/* 1979F4 80269114 27BD0038 */ addiu $sp, $sp, 0x38 + +/* 1979F8 80269118 3C058011 */ lui $a1, 0x8011 +/* 1979FC 8026911C 24A5F290 */ addiu $a1, $a1, -0xd70 +/* 197A00 80269120 3C04802A */ lui $a0, 0x802a +/* 197A04 80269124 2484FBE0 */ addiu $a0, $a0, -0x420 +/* 197A08 80269128 8082005E */ lb $v0, 0x5e($a0) +/* 197A0C 8026912C 1440000A */ bnez $v0, .L80269158 +/* 197A10 80269130 0080302D */ daddu $a2, $a0, $zero +/* 197A14 80269134 94A30294 */ lhu $v1, 0x294($a1) +/* 197A18 80269138 2C62270F */ sltiu $v0, $v1, 0x270f +/* 197A1C 8026913C 10400005 */ beqz $v0, .L80269154 +/* 197A20 80269140 24020001 */ addiu $v0, $zero, 1 +/* 197A24 80269144 24620001 */ addiu $v0, $v1, 1 +/* 197A28 80269148 A4A20294 */ sh $v0, 0x294($a1) +/* 197A2C 8026914C 03E00008 */ jr $ra +/* 197A30 80269150 A480006E */ sh $zero, 0x6e($a0) + +.L80269154: +/* 197A34 80269154 A4C2006E */ sh $v0, 0x6e($a2) +.L80269158: +/* 197A38 80269158 03E00008 */ jr $ra +/* 197A3C 8026915C 00000000 */ nop + +/* 197A40 80269160 3C03802A */ lui $v1, 0x802a +/* 197A44 80269164 2463FBE0 */ addiu $v1, $v1, -0x420 +/* 197A48 80269168 8062005E */ lb $v0, 0x5e($v1) +/* 197A4C 8026916C 3C048011 */ lui $a0, 0x8011 +/* 197A50 80269170 2484F290 */ addiu $a0, $a0, -0xd70 +/* 197A54 80269174 14400007 */ bnez $v0, .L80269194 +/* 197A58 80269178 00000000 */ nop +/* 197A5C 8026917C 8462006E */ lh $v0, 0x6e($v1) +/* 197A60 80269180 10400004 */ beqz $v0, .L80269194 +/* 197A64 80269184 00000000 */ nop +/* 197A68 80269188 94820296 */ lhu $v0, 0x296($a0) +/* 197A6C 8026918C 24420001 */ addiu $v0, $v0, 1 +/* 197A70 80269190 A4820296 */ sh $v0, 0x296($a0) +.L80269194: +/* 197A74 80269194 03E00008 */ jr $ra +/* 197A78 80269198 00000000 */ nop + +/* 197A7C 8026919C 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 197A80 802691A0 AFBF0010 */ sw $ra, 0x10($sp) +/* 197A84 802691A4 8C82000C */ lw $v0, 0xc($a0) +/* 197A88 802691A8 0C0B1EAF */ jal get_variable +/* 197A8C 802691AC 8C450000 */ lw $a1, ($v0) +/* 197A90 802691B0 8FBF0010 */ lw $ra, 0x10($sp) +/* 197A94 802691B4 3C01800E */ lui $at, 0x800e +/* 197A98 802691B8 AC22C4A4 */ sw $v0, -0x3b5c($at) +/* 197A9C 802691BC 24020002 */ addiu $v0, $zero, 2 +/* 197AA0 802691C0 03E00008 */ jr $ra +/* 197AA4 802691C4 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 197AA8 802691C8 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 197AAC 802691CC AFB20018 */ sw $s2, 0x18($sp) +/* 197AB0 802691D0 0080902D */ daddu $s2, $a0, $zero +/* 197AB4 802691D4 AFBF001C */ sw $ra, 0x1c($sp) +/* 197AB8 802691D8 AFB10014 */ sw $s1, 0x14($sp) +/* 197ABC 802691DC AFB00010 */ sw $s0, 0x10($sp) +/* 197AC0 802691E0 8E50000C */ lw $s0, 0xc($s2) +/* 197AC4 802691E4 8E050000 */ lw $a1, ($s0) +/* 197AC8 802691E8 0C0B1EAF */ jal get_variable +/* 197ACC 802691EC 26100004 */ addiu $s0, $s0, 4 +/* 197AD0 802691F0 3C11802A */ lui $s1, 0x802a +/* 197AD4 802691F4 2631FBE0 */ addiu $s1, $s1, -0x420 +/* 197AD8 802691F8 A2220080 */ sb $v0, 0x80($s1) +/* 197ADC 802691FC 8E050000 */ lw $a1, ($s0) +/* 197AE0 80269200 26100004 */ addiu $s0, $s0, 4 +/* 197AE4 80269204 0C0B1EAF */ jal get_variable +/* 197AE8 80269208 0240202D */ daddu $a0, $s2, $zero +/* 197AEC 8026920C A6220076 */ sh $v0, 0x76($s1) +/* 197AF0 80269210 8E050000 */ lw $a1, ($s0) +/* 197AF4 80269214 26100004 */ addiu $s0, $s0, 4 +/* 197AF8 80269218 0C0B1EAF */ jal get_variable +/* 197AFC 8026921C 0240202D */ daddu $a0, $s2, $zero +/* 197B00 80269220 A6220078 */ sh $v0, 0x78($s1) +/* 197B04 80269224 8E050000 */ lw $a1, ($s0) +/* 197B08 80269228 26100004 */ addiu $s0, $s0, 4 +/* 197B0C 8026922C 0C0B1EAF */ jal get_variable +/* 197B10 80269230 0240202D */ daddu $a0, $s2, $zero +/* 197B14 80269234 A622007A */ sh $v0, 0x7a($s1) +/* 197B18 80269238 8E050000 */ lw $a1, ($s0) +/* 197B1C 8026923C 26100004 */ addiu $s0, $s0, 4 +/* 197B20 80269240 0C0B1EAF */ jal get_variable +/* 197B24 80269244 0240202D */ daddu $a0, $s2, $zero +/* 197B28 80269248 A622007C */ sh $v0, 0x7c($s1) +/* 197B2C 8026924C 8E050000 */ lw $a1, ($s0) +/* 197B30 80269250 0C0B1EAF */ jal get_variable +/* 197B34 80269254 0240202D */ daddu $a0, $s2, $zero +/* 197B38 80269258 96240076 */ lhu $a0, 0x76($s1) +/* 197B3C 8026925C A622007E */ sh $v0, 0x7e($s1) +/* 197B40 80269260 00042400 */ sll $a0, $a0, 0x10 +/* 197B44 80269264 00041C03 */ sra $v1, $a0, 0x10 +/* 197B48 80269268 000427C2 */ srl $a0, $a0, 0x1f +/* 197B4C 8026926C 00641821 */ addu $v1, $v1, $a0 +/* 197B50 80269270 00031843 */ sra $v1, $v1, 1 +/* 197B54 80269274 A6230074 */ sh $v1, 0x74($s1) +/* 197B58 80269278 8FBF001C */ lw $ra, 0x1c($sp) +/* 197B5C 8026927C 8FB20018 */ lw $s2, 0x18($sp) +/* 197B60 80269280 8FB10014 */ lw $s1, 0x14($sp) +/* 197B64 80269284 8FB00010 */ lw $s0, 0x10($sp) +/* 197B68 80269288 24020002 */ addiu $v0, $zero, 2 +/* 197B6C 8026928C 03E00008 */ jr $ra +/* 197B70 80269290 27BD0020 */ addiu $sp, $sp, 0x20 + +GetActionSuccess: +/* 197B74 80269294 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 197B78 80269298 AFBF0010 */ sw $ra, 0x10($sp) +/* 197B7C 8026929C 8C82000C */ lw $v0, 0xc($a0) +/* 197B80 802692A0 3C06800E */ lui $a2, 0x800e +/* 197B84 802692A4 80C6C0F1 */ lb $a2, -0x3f0f($a2) +/* 197B88 802692A8 0C0B2026 */ jal set_variable +/* 197B8C 802692AC 8C450000 */ lw $a1, ($v0) +/* 197B90 802692B0 8FBF0010 */ lw $ra, 0x10($sp) +/* 197B94 802692B4 24020002 */ addiu $v0, $zero, 2 +/* 197B98 802692B8 03E00008 */ jr $ra +/* 197B9C 802692BC 27BD0018 */ addiu $sp, $sp, 0x18 + +SetActionSuccess: +/* 197BA0 802692C0 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 197BA4 802692C4 AFBF0010 */ sw $ra, 0x10($sp) +/* 197BA8 802692C8 8C82000C */ lw $v0, 0xc($a0) +/* 197BAC 802692CC 0C0B1EAF */ jal get_variable +/* 197BB0 802692D0 8C450000 */ lw $a1, ($v0) +/* 197BB4 802692D4 8FBF0010 */ lw $ra, 0x10($sp) +/* 197BB8 802692D8 3C01800E */ lui $at, 0x800e +/* 197BBC 802692DC A022C0F1 */ sb $v0, -0x3f0f($at) +/* 197BC0 802692E0 24020002 */ addiu $v0, $zero, 2 +/* 197BC4 802692E4 03E00008 */ jr $ra +/* 197BC8 802692E8 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 197BCC 802692EC 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 197BD0 802692F0 AFBF0010 */ sw $ra, 0x10($sp) +/* 197BD4 802692F4 8C82000C */ lw $v0, 0xc($a0) +/* 197BD8 802692F8 0C0B1EAF */ jal get_variable +/* 197BDC 802692FC 8C450000 */ lw $a1, ($v0) +/* 197BE0 80269300 8FBF0010 */ lw $ra, 0x10($sp) +/* 197BE4 80269304 3C01800E */ lui $at, 0x800e +/* 197BE8 80269308 A022C0F3 */ sb $v0, -0x3f0d($at) +/* 197BEC 8026930C 24020002 */ addiu $v0, $zero, 2 +/* 197BF0 80269310 03E00008 */ jr $ra +/* 197BF4 80269314 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 197BF8 80269318 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 197BFC 8026931C AFBF0010 */ sw $ra, 0x10($sp) +/* 197C00 80269320 8C82000C */ lw $v0, 0xc($a0) +/* 197C04 80269324 3C06800E */ lui $a2, 0x800e +/* 197C08 80269328 80C6C0F3 */ lb $a2, -0x3f0d($a2) +/* 197C0C 8026932C 0C0B2026 */ jal set_variable +/* 197C10 80269330 8C450000 */ lw $a1, ($v0) +/* 197C14 80269334 8FBF0010 */ lw $ra, 0x10($sp) +/* 197C18 80269338 24020002 */ addiu $v0, $zero, 2 +/* 197C1C 8026933C 03E00008 */ jr $ra +/* 197C20 80269340 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 197C24 80269344 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 197C28 80269348 AFBF0010 */ sw $ra, 0x10($sp) +/* 197C2C 8026934C 8C82000C */ lw $v0, 0xc($a0) +/* 197C30 80269350 0C0B1EAF */ jal get_variable +/* 197C34 80269354 8C450000 */ lw $a1, ($v0) +/* 197C38 80269358 8FBF0010 */ lw $ra, 0x10($sp) +/* 197C3C 8026935C 3C01802A */ lui $at, 0x802a +/* 197C40 80269360 A422FC4C */ sh $v0, -0x3b4($at) +/* 197C44 80269364 24020002 */ addiu $v0, $zero, 2 +/* 197C48 80269368 03E00008 */ jr $ra +/* 197C4C 8026936C 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 197C50 80269370 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 197C54 80269374 AFBF0010 */ sw $ra, 0x10($sp) +/* 197C58 80269378 8C82000C */ lw $v0, 0xc($a0) +/* 197C5C 8026937C 3C06802A */ lui $a2, 0x802a +/* 197C60 80269380 80C6FC3E */ lb $a2, -0x3c2($a2) +/* 197C64 80269384 0C0B2026 */ jal set_variable +/* 197C68 80269388 8C450000 */ lw $a1, ($v0) +/* 197C6C 8026938C 8FBF0010 */ lw $ra, 0x10($sp) +/* 197C70 80269390 24020002 */ addiu $v0, $zero, 2 +/* 197C74 80269394 03E00008 */ jr $ra +/* 197C78 80269398 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 197C7C 8026939C 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 197C80 802693A0 AFBF0018 */ sw $ra, 0x18($sp) +/* 197C84 802693A4 AFB10014 */ sw $s1, 0x14($sp) +/* 197C88 802693A8 AFB00010 */ sw $s0, 0x10($sp) +/* 197C8C 802693AC 8C82000C */ lw $v0, 0xc($a0) +/* 197C90 802693B0 3C11802A */ lui $s1, 0x802a +/* 197C94 802693B4 2631FBE0 */ addiu $s1, $s1, -0x420 +/* 197C98 802693B8 8C450000 */ lw $a1, ($v0) +/* 197C9C 802693BC 0C0B1EAF */ jal get_variable +/* 197CA0 802693C0 0220802D */ daddu $s0, $s1, $zero +/* 197CA4 802693C4 10400003 */ beqz $v0, .L802693D4 +/* 197CA8 802693C8 24020001 */ addiu $v0, $zero, 1 +/* 197CAC 802693CC 0809A4F6 */ j func_802693D8 +/* 197CB0 802693D0 A222005E */ sb $v0, 0x5e($s1) + +.L802693D4: +/* 197CB4 802693D4 A200005E */ sb $zero, 0x5e($s0) +func_802693D8: +/* 197CB8 802693D8 8FBF0018 */ lw $ra, 0x18($sp) +/* 197CBC 802693DC 8FB10014 */ lw $s1, 0x14($sp) +/* 197CC0 802693E0 8FB00010 */ lw $s0, 0x10($sp) +/* 197CC4 802693E4 24020002 */ addiu $v0, $zero, 2 +/* 197CC8 802693E8 03E00008 */ jr $ra +/* 197CCC 802693EC 27BD0020 */ addiu $sp, $sp, 0x20 + +/* 197CD0 802693F0 3C02800E */ lui $v0, 0x800e +/* 197CD4 802693F4 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 197CD8 802693F8 8C430000 */ lw $v1, ($v0) +/* 197CDC 802693FC 2404BFFF */ addiu $a0, $zero, -0x4001 +/* 197CE0 80269400 00641824 */ and $v1, $v1, $a0 +/* 197CE4 80269404 AC430000 */ sw $v1, ($v0) +/* 197CE8 80269408 03E00008 */ jr $ra +/* 197CEC 8026940C 24020002 */ addiu $v0, $zero, 2 + +CloseActionCommandInfo: +/* 197CF0 80269410 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 197CF4 80269414 10A0000D */ beqz $a1, .L8026944C +/* 197CF8 80269418 AFBF0010 */ sw $ra, 0x10($sp) +/* 197CFC 8026941C 3C02802A */ lui $v0, 0x802a +/* 197D00 80269420 2442FBE0 */ addiu $v0, $v0, -0x420 +/* 197D04 80269424 8443004A */ lh $v1, 0x4a($v0) +/* 197D08 80269428 28620007 */ slti $v0, $v1, 7 +/* 197D0C 8026942C 10400003 */ beqz $v0, .L8026943C +/* 197D10 80269430 28620005 */ slti $v0, $v1, 5 +/* 197D14 80269434 1040000B */ beqz $v0, .L80269464 +/* 197D18 80269438 24020002 */ addiu $v0, $zero, 2 +.L8026943C: +/* 197D1C 8026943C 0C09A327 */ jal func_80268C9C +/* 197D20 80269440 00000000 */ nop +/* 197D24 80269444 0809A519 */ j func_80269464 +/* 197D28 80269448 0000102D */ daddu $v0, $zero, $zero + +.L8026944C: +/* 197D2C 8026944C 3C048000 */ lui $a0, 0x8000 +/* 197D30 80269450 0C05271B */ jal stop_sound +/* 197D34 80269454 34840041 */ ori $a0, $a0, 0x41 +/* 197D38 80269458 0C093EC3 */ jal close_action_command_instruction_popup +/* 197D3C 8026945C 00000000 */ nop +/* 197D40 80269460 24020002 */ addiu $v0, $zero, 2 +func_80269464: +.L80269464: +/* 197D44 80269464 8FBF0010 */ lw $ra, 0x10($sp) +/* 197D48 80269468 03E00008 */ jr $ra +/* 197D4C 8026946C 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 197D50 80269470 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 197D54 80269474 14A00005 */ bnez $a1, .L8026948C +/* 197D58 80269478 AFBF0010 */ sw $ra, 0x10($sp) +/* 197D5C 8026947C 0C093EC3 */ jal close_action_command_instruction_popup +/* 197D60 80269480 00000000 */ nop +/* 197D64 80269484 0809A526 */ j func_80269498 +/* 197D68 80269488 24020002 */ addiu $v0, $zero, 2 + +.L8026948C: +/* 197D6C 8026948C 0C09A327 */ jal func_80268C9C +/* 197D70 80269490 00000000 */ nop +/* 197D74 80269494 0000102D */ daddu $v0, $zero, $zero +func_80269498: +/* 197D78 80269498 8FBF0010 */ lw $ra, 0x10($sp) +/* 197D7C 8026949C 03E00008 */ jr $ra +/* 197D80 802694A0 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 197D84 802694A4 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 197D88 802694A8 AFBF0018 */ sw $ra, 0x18($sp) +/* 197D8C 802694AC AFB10014 */ sw $s1, 0x14($sp) +/* 197D90 802694B0 AFB00010 */ sw $s0, 0x10($sp) +/* 197D94 802694B4 8C82000C */ lw $v0, 0xc($a0) +/* 197D98 802694B8 3C10802A */ lui $s0, 0x802a +/* 197D9C 802694BC 2610FBE0 */ addiu $s0, $s0, -0x420 +/* 197DA0 802694C0 8C450000 */ lw $a1, ($v0) +/* 197DA4 802694C4 0C0B1EAF */ jal get_variable +/* 197DA8 802694C8 0200882D */ daddu $s1, $s0, $zero +/* 197DAC 802694CC 14400003 */ bnez $v0, .L802694DC +/* 197DB0 802694D0 24020001 */ addiu $v0, $zero, 1 +/* 197DB4 802694D4 0809A538 */ j func_802694E0 +/* 197DB8 802694D8 A2000061 */ sb $zero, 0x61($s0) + +.L802694DC: +/* 197DBC 802694DC A2220061 */ sb $v0, 0x61($s1) +func_802694E0: +/* 197DC0 802694E0 8FBF0018 */ lw $ra, 0x18($sp) +/* 197DC4 802694E4 8FB10014 */ lw $s1, 0x14($sp) +/* 197DC8 802694E8 8FB00010 */ lw $s0, 0x10($sp) +/* 197DCC 802694EC 24020002 */ addiu $v0, $zero, 2 +/* 197DD0 802694F0 03E00008 */ jr $ra +/* 197DD4 802694F4 27BD0020 */ addiu $sp, $sp, 0x20 + +GetActionSuccessCopy: +/* 197DD8 802694F8 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 197DDC 802694FC AFBF0010 */ sw $ra, 0x10($sp) +/* 197DE0 80269500 8C82000C */ lw $v0, 0xc($a0) +/* 197DE4 80269504 3C06800E */ lui $a2, 0x800e +/* 197DE8 80269508 80C6C0F1 */ lb $a2, -0x3f0f($a2) +/* 197DEC 8026950C 0C0B2026 */ jal set_variable +/* 197DF0 80269510 8C450000 */ lw $a1, ($v0) +/* 197DF4 80269514 8FBF0010 */ lw $ra, 0x10($sp) +/* 197DF8 80269518 24020002 */ addiu $v0, $zero, 2 +/* 197DFC 8026951C 03E00008 */ jr $ra +/* 197E00 80269520 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 197E04 80269524 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 197E08 80269528 AFBF0010 */ sw $ra, 0x10($sp) +/* 197E0C 8026952C 8C82000C */ lw $v0, 0xc($a0) +/* 197E10 80269530 3C06800E */ lui $a2, 0x800e +/* 197E14 80269534 80C6C0F6 */ lb $a2, -0x3f0a($a2) +/* 197E18 80269538 0C0B2026 */ jal set_variable +/* 197E1C 8026953C 8C450000 */ lw $a1, ($v0) +/* 197E20 80269540 8FBF0010 */ lw $ra, 0x10($sp) +/* 197E24 80269544 24020002 */ addiu $v0, $zero, 2 +/* 197E28 80269548 03E00008 */ jr $ra +/* 197E2C 8026954C 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 197E30 80269550 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 197E34 80269554 AFBF0010 */ sw $ra, 0x10($sp) +/* 197E38 80269558 8C82000C */ lw $v0, 0xc($a0) +/* 197E3C 8026955C 0C0B1EAF */ jal get_variable +/* 197E40 80269560 8C450000 */ lw $a1, ($v0) +/* 197E44 80269564 8FBF0010 */ lw $ra, 0x10($sp) +/* 197E48 80269568 3C01800E */ lui $at, 0x800e +/* 197E4C 8026956C A022C0F6 */ sb $v0, -0x3f0a($at) +/* 197E50 80269570 24020002 */ addiu $v0, $zero, 2 +/* 197E54 80269574 03E00008 */ jr $ra +/* 197E58 80269578 27BD0018 */ addiu $sp, $sp, 0x18 + +GetBlockResult: +/* 197E5C 8026957C 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 197E60 80269580 AFBF0010 */ sw $ra, 0x10($sp) +/* 197E64 80269584 8C82000C */ lw $v0, 0xc($a0) +/* 197E68 80269588 3C06800E */ lui $a2, 0x800e +/* 197E6C 8026958C 80C6C0F7 */ lb $a2, -0x3f09($a2) +/* 197E70 80269590 0C0B2026 */ jal set_variable +/* 197E74 80269594 8C450000 */ lw $a1, ($v0) +/* 197E78 80269598 8FBF0010 */ lw $ra, 0x10($sp) +/* 197E7C 8026959C 24020002 */ addiu $v0, $zero, 2 +/* 197E80 802695A0 03E00008 */ jr $ra +/* 197E84 802695A4 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 197E88 802695A8 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 197E8C 802695AC AFBF0010 */ sw $ra, 0x10($sp) +/* 197E90 802695B0 8C82000C */ lw $v0, 0xc($a0) +/* 197E94 802695B4 3C06800E */ lui $a2, 0x800e +/* 197E98 802695B8 80C6C0F4 */ lb $a2, -0x3f0c($a2) +/* 197E9C 802695BC 0C0B2026 */ jal set_variable +/* 197EA0 802695C0 8C450000 */ lw $a1, ($v0) +/* 197EA4 802695C4 8FBF0010 */ lw $ra, 0x10($sp) +/* 197EA8 802695C8 24020002 */ addiu $v0, $zero, 2 +/* 197EAC 802695CC 03E00008 */ jr $ra +/* 197EB0 802695D0 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 197EB4 802695D4 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 197EB8 802695D8 AFBF0010 */ sw $ra, 0x10($sp) +/* 197EBC 802695DC 8C82000C */ lw $v0, 0xc($a0) +/* 197EC0 802695E0 0C0B1EAF */ jal get_variable +/* 197EC4 802695E4 8C450000 */ lw $a1, ($v0) +/* 197EC8 802695E8 8FBF0010 */ lw $ra, 0x10($sp) +/* 197ECC 802695EC 3C01800E */ lui $at, 0x800e +/* 197ED0 802695F0 A022C0F4 */ sb $v0, -0x3f0c($at) +/* 197ED4 802695F4 24020002 */ addiu $v0, $zero, 2 +/* 197ED8 802695F8 03E00008 */ jr $ra +/* 197EDC 802695FC 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 197EE0 80269600 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 197EE4 80269604 AFBF0010 */ sw $ra, 0x10($sp) +/* 197EE8 80269608 8C82000C */ lw $v0, 0xc($a0) +/* 197EEC 8026960C 3C06800E */ lui $a2, 0x800e +/* 197EF0 80269610 80C6C0F5 */ lb $a2, -0x3f0b($a2) +/* 197EF4 80269614 0C0B2026 */ jal set_variable +/* 197EF8 80269618 8C450000 */ lw $a1, ($v0) +/* 197EFC 8026961C 8FBF0010 */ lw $ra, 0x10($sp) +/* 197F00 80269620 24020002 */ addiu $v0, $zero, 2 +/* 197F04 80269624 03E00008 */ jr $ra +/* 197F08 80269628 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 197F0C 8026962C 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 197F10 80269630 AFBF0010 */ sw $ra, 0x10($sp) +/* 197F14 80269634 8C82000C */ lw $v0, 0xc($a0) +/* 197F18 80269638 0C0B1EAF */ jal get_variable +/* 197F1C 8026963C 8C450000 */ lw $a1, ($v0) +/* 197F20 80269640 8FBF0010 */ lw $ra, 0x10($sp) +/* 197F24 80269644 3C01800E */ lui $at, 0x800e +/* 197F28 80269648 A022C0F5 */ sb $v0, -0x3f0b($at) +/* 197F2C 8026964C 24020002 */ addiu $v0, $zero, 2 +/* 197F30 80269650 03E00008 */ jr $ra +/* 197F34 80269654 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 197F38 80269658 00000000 */ nop +/* 197F3C 8026965C 00000000 */ nop +count_targets: +/* 197F40 80269660 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 197F44 80269664 AFB00010 */ sw $s0, 0x10($sp) +/* 197F48 80269668 0080802D */ daddu $s0, $a0, $zero +/* 197F4C 8026966C 3C02800E */ lui $v0, 0x800e +/* 197F50 80269670 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 197F54 80269674 AFBF0014 */ sw $ra, 0x14($sp) +/* 197F58 80269678 A0450197 */ sb $a1, 0x197($v0) +/* 197F5C 8026967C 0C098C0B */ jal player_create_target_list +/* 197F60 80269680 AC460184 */ sw $a2, 0x184($v0) +/* 197F64 80269684 8202040C */ lb $v0, 0x40c($s0) +/* 197F68 80269688 8FBF0014 */ lw $ra, 0x14($sp) +/* 197F6C 8026968C 8FB00010 */ lw $s0, 0x10($sp) +/* 197F70 80269690 03E00008 */ jr $ra +/* 197F74 80269694 27BD0018 */ addiu $sp, $sp, 0x18 + +get_nearest_home_index: +/* 197F78 80269698 3C014220 */ lui $at, 0x4220 +/* 197F7C 8026969C 44810000 */ mtc1 $at, $f0 +/* 197F80 802696A0 00000000 */ nop +/* 197F84 802696A4 4600703C */ c.lt.s $f14, $f0 +/* 197F88 802696A8 00000000 */ nop +/* 197F8C 802696AC 45010010 */ bc1t .L802696F0 +/* 197F90 802696B0 0000102D */ daddu $v0, $zero, $zero +/* 197F94 802696B4 3C0142AA */ lui $at, 0x42aa +/* 197F98 802696B8 44810000 */ mtc1 $at, $f0 +/* 197F9C 802696BC 00000000 */ nop +/* 197FA0 802696C0 4600703C */ c.lt.s $f14, $f0 +/* 197FA4 802696C4 00000000 */ nop +/* 197FA8 802696C8 45010009 */ bc1t .L802696F0 +/* 197FAC 802696CC 24020001 */ addiu $v0, $zero, 1 +/* 197FB0 802696D0 3C0142C8 */ lui $at, 0x42c8 +/* 197FB4 802696D4 44810000 */ mtc1 $at, $f0 +/* 197FB8 802696D8 00000000 */ nop +/* 197FBC 802696DC 4600703C */ c.lt.s $f14, $f0 +/* 197FC0 802696E0 00000000 */ nop +/* 197FC4 802696E4 45000002 */ bc1f .L802696F0 +/* 197FC8 802696E8 24020003 */ addiu $v0, $zero, 3 +/* 197FCC 802696EC 24020002 */ addiu $v0, $zero, 2 +.L802696F0: +/* 197FD0 802696F0 3C0141C8 */ lui $at, 0x41c8 +/* 197FD4 802696F4 44810000 */ mtc1 $at, $f0 +/* 197FD8 802696F8 00000000 */ nop +/* 197FDC 802696FC 4600603C */ c.lt.s $f12, $f0 +/* 197FE0 80269700 00000000 */ nop +/* 197FE4 80269704 45010010 */ bc1t .L80269748 +/* 197FE8 80269708 0000182D */ daddu $v1, $zero, $zero +/* 197FEC 8026970C 3C014282 */ lui $at, 0x4282 +/* 197FF0 80269710 44810000 */ mtc1 $at, $f0 +/* 197FF4 80269714 00000000 */ nop +/* 197FF8 80269718 4600603C */ c.lt.s $f12, $f0 +/* 197FFC 8026971C 00000000 */ nop +/* 198000 80269720 45010009 */ bc1t .L80269748 +/* 198004 80269724 24030001 */ addiu $v1, $zero, 1 +/* 198008 80269728 3C0142D2 */ lui $at, 0x42d2 +/* 19800C 8026972C 44810000 */ mtc1 $at, $f0 +/* 198010 80269730 00000000 */ nop +/* 198014 80269734 4600603C */ c.lt.s $f12, $f0 +/* 198018 80269738 00000000 */ nop +/* 19801C 8026973C 45000002 */ bc1f .L80269748 +/* 198020 80269740 24030003 */ addiu $v1, $zero, 3 +/* 198024 80269744 24030002 */ addiu $v1, $zero, 2 +.L80269748: +/* 198028 80269748 00021080 */ sll $v0, $v0, 2 +/* 19802C 8026974C 03E00008 */ jr $ra +/* 198030 80269750 00621025 */ or $v0, $v1, $v0 + +set_goal_pos_to_part: +/* 198034 80269754 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 198038 80269758 AFB20018 */ sw $s2, 0x18($sp) +/* 19803C 8026975C 0080902D */ daddu $s2, $a0, $zero +/* 198040 80269760 00A0202D */ daddu $a0, $a1, $zero +/* 198044 80269764 AFB3001C */ sw $s3, 0x1c($sp) +/* 198048 80269768 00C0982D */ daddu $s3, $a2, $zero +/* 19804C 8026976C AFB00010 */ sw $s0, 0x10($sp) +/* 198050 80269770 30900700 */ andi $s0, $a0, 0x700 +/* 198054 80269774 AFBF0020 */ sw $ra, 0x20($sp) +/* 198058 80269778 0C09A75B */ jal get_actor +/* 19805C 8026977C AFB10014 */ sw $s1, 0x14($sp) +/* 198060 80269780 0040882D */ daddu $s1, $v0, $zero +/* 198064 80269784 24020100 */ addiu $v0, $zero, 0x100 +/* 198068 80269788 12020035 */ beq $s0, $v0, .L80269860 +/* 19806C 8026978C 2A020101 */ slti $v0, $s0, 0x101 +/* 198070 80269790 50400005 */ beql $v0, $zero, .L802697A8 +/* 198074 80269794 24020200 */ addiu $v0, $zero, 0x200 +/* 198078 80269798 12000007 */ beqz $s0, .L802697B8 +/* 19807C 8026979C 0220202D */ daddu $a0, $s1, $zero +/* 198080 802697A0 0809A66F */ j func_802699BC +/* 198084 802697A4 00000000 */ nop + +.L802697A8: +/* 198088 802697A8 1202002E */ beq $s0, $v0, .L80269864 +/* 19808C 802697AC 0220202D */ daddu $a0, $s1, $zero +/* 198090 802697B0 0809A66F */ j func_802699BC +/* 198094 802697B4 00000000 */ nop + +.L802697B8: +/* 198098 802697B8 0C099117 */ jal get_actor_part +/* 19809C 802697BC 0000282D */ daddu $a1, $zero, $zero +/* 1980A0 802697C0 0040202D */ daddu $a0, $v0, $zero +/* 1980A4 802697C4 84820014 */ lh $v0, 0x14($a0) +/* 1980A8 802697C8 C6200188 */ lwc1 $f0, 0x188($s1) +/* 1980AC 802697CC 44821000 */ mtc1 $v0, $f2 +/* 1980B0 802697D0 00000000 */ nop +/* 1980B4 802697D4 468010A0 */ cvt.s.w $f2, $f2 +/* 1980B8 802697D8 46001082 */ mul.s $f2, $f2, $f0 +/* 1980BC 802697DC 00000000 */ nop +/* 1980C0 802697E0 C6200144 */ lwc1 $f0, 0x144($s1) +/* 1980C4 802697E4 46020000 */ add.s $f0, $f0, $f2 +/* 1980C8 802697E8 E640000C */ swc1 $f0, 0xc($s2) +/* 1980CC 802697EC 84820016 */ lh $v0, 0x16($a0) +/* 1980D0 802697F0 C6200188 */ lwc1 $f0, 0x188($s1) +/* 1980D4 802697F4 44821000 */ mtc1 $v0, $f2 +/* 1980D8 802697F8 00000000 */ nop +/* 1980DC 802697FC 468010A0 */ cvt.s.w $f2, $f2 +/* 1980E0 80269800 46001082 */ mul.s $f2, $f2, $f0 +/* 1980E4 80269804 00000000 */ nop +/* 1980E8 80269808 C6200148 */ lwc1 $f0, 0x148($s1) +/* 1980EC 8026980C 46020000 */ add.s $f0, $f0, $f2 +/* 1980F0 80269810 3C014120 */ lui $at, 0x4120 +/* 1980F4 80269814 44811000 */ mtc1 $at, $f2 +/* 1980F8 80269818 E6400010 */ swc1 $f0, 0x10($s2) +/* 1980FC 8026981C C620014C */ lwc1 $f0, 0x14c($s1) +/* 198100 80269820 46020000 */ add.s $f0, $f0, $f2 +/* 198104 80269824 E6400014 */ swc1 $f0, 0x14($s2) +/* 198108 80269828 82230214 */ lb $v1, 0x214($s1) +/* 19810C 8026982C 2402000C */ addiu $v0, $zero, 0xc +/* 198110 80269830 14620062 */ bne $v1, $v0, .L802699BC +/* 198114 80269834 00000000 */ nop +/* 198118 80269838 C6200188 */ lwc1 $f0, 0x188($s1) +/* 19811C 8026983C 3C0140A0 */ lui $at, 0x40a0 +/* 198120 80269840 44811000 */ mtc1 $at, $f2 +/* 198124 80269844 00000000 */ nop +/* 198128 80269848 46020002 */ mul.s $f0, $f0, $f2 +/* 19812C 8026984C 00000000 */ nop +/* 198130 80269850 C6420010 */ lwc1 $f2, 0x10($s2) +/* 198134 80269854 46001081 */ sub.s $f2, $f2, $f0 +/* 198138 80269858 0809A66F */ j func_802699BC +/* 19813C 8026985C E6420010 */ swc1 $f2, 0x10($s2) + +.L80269860: +/* 198140 80269860 0220202D */ daddu $a0, $s1, $zero +.L80269864: +/* 198144 80269864 0C099117 */ jal get_actor_part +/* 198148 80269868 0260282D */ daddu $a1, $s3, $zero +/* 19814C 8026986C 0040202D */ daddu $a0, $v0, $zero +/* 198150 80269870 8C820000 */ lw $v0, ($a0) +/* 198154 80269874 3C030010 */ lui $v1, 0x10 +/* 198158 80269878 00431024 */ and $v0, $v0, $v1 +/* 19815C 8026987C 1440002A */ bnez $v0, .L80269928 +/* 198160 80269880 00000000 */ nop +/* 198164 80269884 84820014 */ lh $v0, 0x14($a0) +/* 198168 80269888 8483006C */ lh $v1, 0x6c($a0) +/* 19816C 8026988C C6200188 */ lwc1 $f0, 0x188($s1) +/* 198170 80269890 00431021 */ addu $v0, $v0, $v1 +/* 198174 80269894 44821000 */ mtc1 $v0, $f2 +/* 198178 80269898 00000000 */ nop +/* 19817C 8026989C 468010A0 */ cvt.s.w $f2, $f2 +/* 198180 802698A0 46001082 */ mul.s $f2, $f2, $f0 +/* 198184 802698A4 00000000 */ nop +/* 198188 802698A8 C6200144 */ lwc1 $f0, 0x144($s1) +/* 19818C 802698AC 46020000 */ add.s $f0, $f0, $f2 +/* 198190 802698B0 E640000C */ swc1 $f0, 0xc($s2) +/* 198194 802698B4 8E220000 */ lw $v0, ($s1) +/* 198198 802698B8 30420800 */ andi $v0, $v0, 0x800 +/* 19819C 802698BC 14400006 */ bnez $v0, .L802698D8 +/* 1981A0 802698C0 00000000 */ nop +/* 1981A4 802698C4 84820016 */ lh $v0, 0x16($a0) +/* 1981A8 802698C8 8483006E */ lh $v1, 0x6e($a0) +/* 1981AC 802698CC C6200188 */ lwc1 $f0, 0x188($s1) +/* 1981B0 802698D0 0809A63B */ j func_802698EC +/* 1981B4 802698D4 00431021 */ addu $v0, $v0, $v1 + +.L802698D8: +/* 1981B8 802698D8 84820016 */ lh $v0, 0x16($a0) +/* 1981BC 802698DC 8483006E */ lh $v1, 0x6e($a0) +/* 1981C0 802698E0 C6200188 */ lwc1 $f0, 0x188($s1) +/* 1981C4 802698E4 00021023 */ negu $v0, $v0 +/* 1981C8 802698E8 00431023 */ subu $v0, $v0, $v1 +func_802698EC: +/* 1981CC 802698EC 44821000 */ mtc1 $v0, $f2 +/* 1981D0 802698F0 00000000 */ nop +/* 1981D4 802698F4 468010A0 */ cvt.s.w $f2, $f2 +/* 1981D8 802698F8 46001082 */ mul.s $f2, $f2, $f0 +/* 1981DC 802698FC 00000000 */ nop +/* 1981E0 80269900 C6200148 */ lwc1 $f0, 0x148($s1) +/* 1981E4 80269904 46020000 */ add.s $f0, $f0, $f2 +/* 1981E8 80269908 E6400010 */ swc1 $f0, 0x10($s2) +/* 1981EC 8026990C 84820018 */ lh $v0, 0x18($a0) +/* 1981F0 80269910 C620014C */ lwc1 $f0, 0x14c($s1) +/* 1981F4 80269914 44821000 */ mtc1 $v0, $f2 +/* 1981F8 80269918 00000000 */ nop +/* 1981FC 8026991C 468010A0 */ cvt.s.w $f2, $f2 +/* 198200 80269920 0809A66A */ j func_802699A8 +/* 198204 80269924 46020000 */ add.s $f0, $f0, $f2 + +.L80269928: +/* 198208 80269928 8482006C */ lh $v0, 0x6c($a0) +/* 19820C 8026992C C480002C */ lwc1 $f0, 0x2c($a0) +/* 198210 80269930 44821000 */ mtc1 $v0, $f2 +/* 198214 80269934 00000000 */ nop +/* 198218 80269938 468010A0 */ cvt.s.w $f2, $f2 +/* 19821C 8026993C 46020000 */ add.s $f0, $f0, $f2 +/* 198220 80269940 E640000C */ swc1 $f0, 0xc($s2) +/* 198224 80269944 8E220000 */ lw $v0, ($s1) +/* 198228 80269948 30420800 */ andi $v0, $v0, 0x800 +/* 19822C 8026994C 1440000B */ bnez $v0, .L8026997C +/* 198230 80269950 00000000 */ nop +/* 198234 80269954 8482006E */ lh $v0, 0x6e($a0) +/* 198238 80269958 C6200188 */ lwc1 $f0, 0x188($s1) +/* 19823C 8026995C 44821000 */ mtc1 $v0, $f2 +/* 198240 80269960 00000000 */ nop +/* 198244 80269964 468010A0 */ cvt.s.w $f2, $f2 +/* 198248 80269968 46001082 */ mul.s $f2, $f2, $f0 +/* 19824C 8026996C 00000000 */ nop +/* 198250 80269970 C4800030 */ lwc1 $f0, 0x30($a0) +/* 198254 80269974 0809A668 */ j func_802699A0 +/* 198258 80269978 46020000 */ add.s $f0, $f0, $f2 + +.L8026997C: +/* 19825C 8026997C 8482006E */ lh $v0, 0x6e($a0) +/* 198260 80269980 C6200188 */ lwc1 $f0, 0x188($s1) +/* 198264 80269984 44821000 */ mtc1 $v0, $f2 +/* 198268 80269988 00000000 */ nop +/* 19826C 8026998C 468010A0 */ cvt.s.w $f2, $f2 +/* 198270 80269990 46001082 */ mul.s $f2, $f2, $f0 +/* 198274 80269994 00000000 */ nop +/* 198278 80269998 C4800030 */ lwc1 $f0, 0x30($a0) +/* 19827C 8026999C 46020001 */ sub.s $f0, $f0, $f2 +func_802699A0: +/* 198280 802699A0 E6400010 */ swc1 $f0, 0x10($s2) +/* 198284 802699A4 C4800034 */ lwc1 $f0, 0x34($a0) +func_802699A8: +/* 198288 802699A8 3C014120 */ lui $at, 0x4120 +/* 19828C 802699AC 44811000 */ mtc1 $at, $f2 +/* 198290 802699B0 00000000 */ nop +/* 198294 802699B4 46020000 */ add.s $f0, $f0, $f2 +/* 198298 802699B8 E6400014 */ swc1 $f0, 0x14($s2) +func_802699BC: +.L802699BC: +/* 19829C 802699BC 8FBF0020 */ lw $ra, 0x20($sp) +/* 1982A0 802699C0 8FB3001C */ lw $s3, 0x1c($sp) +/* 1982A4 802699C4 8FB20018 */ lw $s2, 0x18($sp) +/* 1982A8 802699C8 8FB10014 */ lw $s1, 0x14($sp) +/* 1982AC 802699CC 8FB00010 */ lw $s0, 0x10($sp) +/* 1982B0 802699D0 03E00008 */ jr $ra +/* 1982B4 802699D4 27BD0028 */ addiu $sp, $sp, 0x28 + +set_part_goal_to_actor_part: +/* 1982B8 802699D8 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 1982BC 802699DC 00A0202D */ daddu $a0, $a1, $zero +/* 1982C0 802699E0 AFB20018 */ sw $s2, 0x18($sp) +/* 1982C4 802699E4 00C0902D */ daddu $s2, $a2, $zero +/* 1982C8 802699E8 AFB00010 */ sw $s0, 0x10($sp) +/* 1982CC 802699EC 30900700 */ andi $s0, $a0, 0x700 +/* 1982D0 802699F0 AFBF001C */ sw $ra, 0x1c($sp) +/* 1982D4 802699F4 0C09A75B */ jal get_actor +/* 1982D8 802699F8 AFB10014 */ sw $s1, 0x14($sp) +/* 1982DC 802699FC 0040882D */ daddu $s1, $v0, $zero +/* 1982E0 80269A00 24020100 */ addiu $v0, $zero, 0x100 +/* 1982E4 80269A04 12020028 */ beq $s0, $v0, .L80269AA8 +/* 1982E8 80269A08 2A020101 */ slti $v0, $s0, 0x101 +/* 1982EC 80269A0C 50400005 */ beql $v0, $zero, .L80269A24 +/* 1982F0 80269A10 24020200 */ addiu $v0, $zero, 0x200 +/* 1982F4 80269A14 12000007 */ beqz $s0, .L80269A34 +/* 1982F8 80269A18 0220202D */ daddu $a0, $s1, $zero +/* 1982FC 80269A1C 0809A703 */ j func_80269C0C +/* 198300 80269A20 00000000 */ nop + +.L80269A24: +/* 198304 80269A24 12020021 */ beq $s0, $v0, .L80269AAC +/* 198308 80269A28 0220202D */ daddu $a0, $s1, $zero +/* 19830C 80269A2C 0809A703 */ j func_80269C0C +/* 198310 80269A30 00000000 */ nop + +.L80269A34: +/* 198314 80269A34 0C099117 */ jal get_actor_part +/* 198318 80269A38 0000282D */ daddu $a1, $zero, $zero +/* 19831C 80269A3C 0040202D */ daddu $a0, $v0, $zero +/* 198320 80269A40 84820014 */ lh $v0, 0x14($a0) +/* 198324 80269A44 C6220188 */ lwc1 $f2, 0x188($s1) +/* 198328 80269A48 44820000 */ mtc1 $v0, $f0 +/* 19832C 80269A4C 00000000 */ nop +/* 198330 80269A50 46800020 */ cvt.s.w $f0, $f0 +/* 198334 80269A54 46020002 */ mul.s $f0, $f0, $f2 +/* 198338 80269A58 00000000 */ nop +/* 19833C 80269A5C C6220144 */ lwc1 $f2, 0x144($s1) +/* 198340 80269A60 46001080 */ add.s $f2, $f2, $f0 +/* 198344 80269A64 8C820010 */ lw $v0, 0x10($a0) +/* 198348 80269A68 E442000C */ swc1 $f2, 0xc($v0) +/* 19834C 80269A6C 84820016 */ lh $v0, 0x16($a0) +/* 198350 80269A70 C6220188 */ lwc1 $f2, 0x188($s1) +/* 198354 80269A74 44820000 */ mtc1 $v0, $f0 +/* 198358 80269A78 00000000 */ nop +/* 19835C 80269A7C 46800020 */ cvt.s.w $f0, $f0 +/* 198360 80269A80 46020002 */ mul.s $f0, $f0, $f2 +/* 198364 80269A84 00000000 */ nop +/* 198368 80269A88 C6220148 */ lwc1 $f2, 0x148($s1) +/* 19836C 80269A8C 46001080 */ add.s $f2, $f2, $f0 +/* 198370 80269A90 8C820010 */ lw $v0, 0x10($a0) +/* 198374 80269A94 E4420010 */ swc1 $f2, 0x10($v0) +/* 198378 80269A98 8C820010 */ lw $v0, 0x10($a0) +/* 19837C 80269A9C C620014C */ lwc1 $f0, 0x14c($s1) +/* 198380 80269AA0 0809A703 */ j func_80269C0C +/* 198384 80269AA4 E4400014 */ swc1 $f0, 0x14($v0) + +.L80269AA8: +/* 198388 80269AA8 0220202D */ daddu $a0, $s1, $zero +.L80269AAC: +/* 19838C 80269AAC 0C099117 */ jal get_actor_part +/* 198390 80269AB0 0240282D */ daddu $a1, $s2, $zero +/* 198394 80269AB4 0040202D */ daddu $a0, $v0, $zero +/* 198398 80269AB8 8C820000 */ lw $v0, ($a0) +/* 19839C 80269ABC 3C030010 */ lui $v1, 0x10 +/* 1983A0 80269AC0 00431024 */ and $v0, $v0, $v1 +/* 1983A4 80269AC4 1440002D */ bnez $v0, .L80269B7C +/* 1983A8 80269AC8 00000000 */ nop +/* 1983AC 80269ACC 84820014 */ lh $v0, 0x14($a0) +/* 1983B0 80269AD0 8483006C */ lh $v1, 0x6c($a0) +/* 1983B4 80269AD4 C6220188 */ lwc1 $f2, 0x188($s1) +/* 1983B8 80269AD8 00431021 */ addu $v0, $v0, $v1 +/* 1983BC 80269ADC 44820000 */ mtc1 $v0, $f0 +/* 1983C0 80269AE0 00000000 */ nop +/* 1983C4 80269AE4 46800020 */ cvt.s.w $f0, $f0 +/* 1983C8 80269AE8 46020002 */ mul.s $f0, $f0, $f2 +/* 1983CC 80269AEC 00000000 */ nop +/* 1983D0 80269AF0 C6220144 */ lwc1 $f2, 0x144($s1) +/* 1983D4 80269AF4 46001080 */ add.s $f2, $f2, $f0 +/* 1983D8 80269AF8 8C820010 */ lw $v0, 0x10($a0) +/* 1983DC 80269AFC E442000C */ swc1 $f2, 0xc($v0) +/* 1983E0 80269B00 8E220000 */ lw $v0, ($s1) +/* 1983E4 80269B04 30420800 */ andi $v0, $v0, 0x800 +/* 1983E8 80269B08 14400006 */ bnez $v0, .L80269B24 +/* 1983EC 80269B0C 00000000 */ nop +/* 1983F0 80269B10 84820016 */ lh $v0, 0x16($a0) +/* 1983F4 80269B14 8483006E */ lh $v1, 0x6e($a0) +/* 1983F8 80269B18 C6220188 */ lwc1 $f2, 0x188($s1) +/* 1983FC 80269B1C 0809A6CE */ j func_80269B38 +/* 198400 80269B20 00431021 */ addu $v0, $v0, $v1 + +.L80269B24: +/* 198404 80269B24 84820016 */ lh $v0, 0x16($a0) +/* 198408 80269B28 8483006E */ lh $v1, 0x6e($a0) +/* 19840C 80269B2C C6220188 */ lwc1 $f2, 0x188($s1) +/* 198410 80269B30 00021023 */ negu $v0, $v0 +/* 198414 80269B34 00431023 */ subu $v0, $v0, $v1 +func_80269B38: +/* 198418 80269B38 44820000 */ mtc1 $v0, $f0 +/* 19841C 80269B3C 00000000 */ nop +/* 198420 80269B40 46800020 */ cvt.s.w $f0, $f0 +/* 198424 80269B44 46020002 */ mul.s $f0, $f0, $f2 +/* 198428 80269B48 00000000 */ nop +/* 19842C 80269B4C C6220148 */ lwc1 $f2, 0x148($s1) +/* 198430 80269B50 46001080 */ add.s $f2, $f2, $f0 +/* 198434 80269B54 8C820010 */ lw $v0, 0x10($a0) +/* 198438 80269B58 E4420010 */ swc1 $f2, 0x10($v0) +/* 19843C 80269B5C 84820018 */ lh $v0, 0x18($a0) +/* 198440 80269B60 C620014C */ lwc1 $f0, 0x14c($s1) +/* 198444 80269B64 44821000 */ mtc1 $v0, $f2 +/* 198448 80269B68 00000000 */ nop +/* 19844C 80269B6C 468010A0 */ cvt.s.w $f2, $f2 +/* 198450 80269B70 8C820010 */ lw $v0, 0x10($a0) +/* 198454 80269B74 0809A702 */ j func_80269C08 +/* 198458 80269B78 46020000 */ add.s $f0, $f0, $f2 + +.L80269B7C: +/* 19845C 80269B7C 8482006C */ lh $v0, 0x6c($a0) +/* 198460 80269B80 C480002C */ lwc1 $f0, 0x2c($a0) +/* 198464 80269B84 44821000 */ mtc1 $v0, $f2 +/* 198468 80269B88 00000000 */ nop +/* 19846C 80269B8C 468010A0 */ cvt.s.w $f2, $f2 +/* 198470 80269B90 46020000 */ add.s $f0, $f0, $f2 +/* 198474 80269B94 8C820010 */ lw $v0, 0x10($a0) +/* 198478 80269B98 E440000C */ swc1 $f0, 0xc($v0) +/* 19847C 80269B9C 8E220000 */ lw $v0, ($s1) +/* 198480 80269BA0 30420800 */ andi $v0, $v0, 0x800 +/* 198484 80269BA4 1440000B */ bnez $v0, .L80269BD4 +/* 198488 80269BA8 00000000 */ nop +/* 19848C 80269BAC 8482006E */ lh $v0, 0x6e($a0) +/* 198490 80269BB0 C6220188 */ lwc1 $f2, 0x188($s1) +/* 198494 80269BB4 44820000 */ mtc1 $v0, $f0 +/* 198498 80269BB8 00000000 */ nop +/* 19849C 80269BBC 46800020 */ cvt.s.w $f0, $f0 +/* 1984A0 80269BC0 46020002 */ mul.s $f0, $f0, $f2 +/* 1984A4 80269BC4 00000000 */ nop +/* 1984A8 80269BC8 C4820030 */ lwc1 $f2, 0x30($a0) +/* 1984AC 80269BCC 0809A6FE */ j func_80269BF8 +/* 1984B0 80269BD0 46001080 */ add.s $f2, $f2, $f0 + +.L80269BD4: +/* 1984B4 80269BD4 8482006E */ lh $v0, 0x6e($a0) +/* 1984B8 80269BD8 C6220188 */ lwc1 $f2, 0x188($s1) +/* 1984BC 80269BDC 44820000 */ mtc1 $v0, $f0 +/* 1984C0 80269BE0 00000000 */ nop +/* 1984C4 80269BE4 46800020 */ cvt.s.w $f0, $f0 +/* 1984C8 80269BE8 46020002 */ mul.s $f0, $f0, $f2 +/* 1984CC 80269BEC 00000000 */ nop +/* 1984D0 80269BF0 C4820030 */ lwc1 $f2, 0x30($a0) +/* 1984D4 80269BF4 46001081 */ sub.s $f2, $f2, $f0 +func_80269BF8: +/* 1984D8 80269BF8 8C820010 */ lw $v0, 0x10($a0) +/* 1984DC 80269BFC E4420010 */ swc1 $f2, 0x10($v0) +/* 1984E0 80269C00 8C820010 */ lw $v0, 0x10($a0) +/* 1984E4 80269C04 C4800034 */ lwc1 $f0, 0x34($a0) +func_80269C08: +/* 1984E8 80269C08 E4400014 */ swc1 $f0, 0x14($v0) +func_80269C0C: +/* 1984EC 80269C0C 8FBF001C */ lw $ra, 0x1c($sp) +/* 1984F0 80269C10 8FB20018 */ lw $s2, 0x18($sp) +/* 1984F4 80269C14 8FB10014 */ lw $s1, 0x14($sp) +/* 1984F8 80269C18 8FB00010 */ lw $s0, 0x10($sp) +/* 1984FC 80269C1C 03E00008 */ jr $ra +/* 198500 80269C20 27BD0020 */ addiu $sp, $sp, 0x20 + +set_actor_current_position: +/* 198504 80269C24 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* 198508 80269C28 F7B40018 */ sdc1 $f20, 0x18($sp) +/* 19850C 80269C2C 4485A000 */ mtc1 $a1, $f20 +/* 198510 80269C30 F7B60020 */ sdc1 $f22, 0x20($sp) +/* 198514 80269C34 4486B000 */ mtc1 $a2, $f22 +/* 198518 80269C38 F7B80028 */ sdc1 $f24, 0x28($sp) +/* 19851C 80269C3C 4487C000 */ mtc1 $a3, $f24 +/* 198520 80269C40 AFBF0010 */ sw $ra, 0x10($sp) +/* 198524 80269C44 0C09A75B */ jal get_actor +/* 198528 80269C48 00000000 */ nop +/* 19852C 80269C4C E4540144 */ swc1 $f20, 0x144($v0) +/* 198530 80269C50 E4560148 */ swc1 $f22, 0x148($v0) +/* 198534 80269C54 E458014C */ swc1 $f24, 0x14c($v0) +/* 198538 80269C58 8FBF0010 */ lw $ra, 0x10($sp) +/* 19853C 80269C5C D7B80028 */ ldc1 $f24, 0x28($sp) +/* 198540 80269C60 D7B60020 */ ldc1 $f22, 0x20($sp) +/* 198544 80269C64 D7B40018 */ ldc1 $f20, 0x18($sp) +/* 198548 80269C68 03E00008 */ jr $ra +/* 19854C 80269C6C 27BD0030 */ addiu $sp, $sp, 0x30 + +set_part_absolute_position: +/* 198550 80269C70 27BDFFC8 */ addiu $sp, $sp, -0x38 +/* 198554 80269C74 F7B40020 */ sdc1 $f20, 0x20($sp) +/* 198558 80269C78 4486A000 */ mtc1 $a2, $f20 +/* 19855C 80269C7C F7B60028 */ sdc1 $f22, 0x28($sp) +/* 198560 80269C80 4487B000 */ mtc1 $a3, $f22 +/* 198564 80269C84 AFB00010 */ sw $s0, 0x10($sp) +/* 198568 80269C88 0080802D */ daddu $s0, $a0, $zero +/* 19856C 80269C8C AFB10014 */ sw $s1, 0x14($sp) +/* 198570 80269C90 F7B80030 */ sdc1 $f24, 0x30($sp) +/* 198574 80269C94 C7B80048 */ lwc1 $f24, 0x48($sp) +/* 198578 80269C98 AFBF0018 */ sw $ra, 0x18($sp) +/* 19857C 80269C9C 0C09A75B */ jal get_actor +/* 198580 80269CA0 00A0882D */ daddu $s1, $a1, $zero +/* 198584 80269CA4 0040202D */ daddu $a0, $v0, $zero +/* 198588 80269CA8 32100700 */ andi $s0, $s0, 0x700 +/* 19858C 80269CAC 24020100 */ addiu $v0, $zero, 0x100 +/* 198590 80269CB0 1202000E */ beq $s0, $v0, .L80269CEC +/* 198594 80269CB4 2A020101 */ slti $v0, $s0, 0x101 +/* 198598 80269CB8 50400005 */ beql $v0, $zero, .L80269CD0 +/* 19859C 80269CBC 24020200 */ addiu $v0, $zero, 0x200 +/* 1985A0 80269CC0 52000007 */ beql $s0, $zero, .L80269CE0 +/* 1985A4 80269CC4 E4940144 */ swc1 $f20, 0x144($a0) +/* 1985A8 80269CC8 0809A740 */ j func_80269D00 +/* 1985AC 80269CCC 00000000 */ nop + +.L80269CD0: +/* 1985B0 80269CD0 12020006 */ beq $s0, $v0, .L80269CEC +/* 1985B4 80269CD4 00000000 */ nop +/* 1985B8 80269CD8 0809A740 */ j func_80269D00 +/* 1985BC 80269CDC 00000000 */ nop + +.L80269CE0: +/* 1985C0 80269CE0 E4960148 */ swc1 $f22, 0x148($a0) +/* 1985C4 80269CE4 0809A740 */ j func_80269D00 +/* 1985C8 80269CE8 E498014C */ swc1 $f24, 0x14c($a0) + +.L80269CEC: +/* 1985CC 80269CEC 0C099117 */ jal get_actor_part +/* 1985D0 80269CF0 0220282D */ daddu $a1, $s1, $zero +/* 1985D4 80269CF4 E454002C */ swc1 $f20, 0x2c($v0) +/* 1985D8 80269CF8 E4560030 */ swc1 $f22, 0x30($v0) +/* 1985DC 80269CFC E4580034 */ swc1 $f24, 0x34($v0) +func_80269D00: +/* 1985E0 80269D00 8FBF0018 */ lw $ra, 0x18($sp) +/* 1985E4 80269D04 8FB10014 */ lw $s1, 0x14($sp) +/* 1985E8 80269D08 8FB00010 */ lw $s0, 0x10($sp) +/* 1985EC 80269D0C D7B80030 */ ldc1 $f24, 0x30($sp) +/* 1985F0 80269D10 D7B60028 */ ldc1 $f22, 0x28($sp) +/* 1985F4 80269D14 D7B40020 */ ldc1 $f20, 0x20($sp) +/* 1985F8 80269D18 03E00008 */ jr $ra +/* 1985FC 80269D1C 27BD0038 */ addiu $sp, $sp, 0x38 + +set_actor_home_position: +/* 198600 80269D20 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* 198604 80269D24 F7B40018 */ sdc1 $f20, 0x18($sp) +/* 198608 80269D28 4485A000 */ mtc1 $a1, $f20 +/* 19860C 80269D2C F7B60020 */ sdc1 $f22, 0x20($sp) +/* 198610 80269D30 4486B000 */ mtc1 $a2, $f22 +/* 198614 80269D34 F7B80028 */ sdc1 $f24, 0x28($sp) +/* 198618 80269D38 4487C000 */ mtc1 $a3, $f24 +/* 19861C 80269D3C AFBF0010 */ sw $ra, 0x10($sp) +/* 198620 80269D40 0C09A75B */ jal get_actor +/* 198624 80269D44 00000000 */ nop +/* 198628 80269D48 E4540138 */ swc1 $f20, 0x138($v0) +/* 19862C 80269D4C E456013C */ swc1 $f22, 0x13c($v0) +/* 198630 80269D50 E4580140 */ swc1 $f24, 0x140($v0) +/* 198634 80269D54 8FBF0010 */ lw $ra, 0x10($sp) +/* 198638 80269D58 D7B80028 */ ldc1 $f24, 0x28($sp) +/* 19863C 80269D5C D7B60020 */ ldc1 $f22, 0x20($sp) +/* 198640 80269D60 D7B40018 */ ldc1 $f20, 0x18($sp) +/* 198644 80269D64 03E00008 */ jr $ra +/* 198648 80269D68 27BD0030 */ addiu $sp, $sp, 0x30 + +get_actor: +/* 19864C 80269D6C 0000282D */ daddu $a1, $zero, $zero +/* 198650 80269D70 3C06800E */ lui $a2, 0x800e +/* 198654 80269D74 24C6C070 */ addiu $a2, $a2, -0x3f90 +/* 198658 80269D78 30830700 */ andi $v1, $a0, 0x700 +/* 19865C 80269D7C 24020100 */ addiu $v0, $zero, 0x100 +/* 198660 80269D80 1062000F */ beq $v1, $v0, .L80269DC0 +/* 198664 80269D84 308400FF */ andi $a0, $a0, 0xff +/* 198668 80269D88 28620101 */ slti $v0, $v1, 0x101 +/* 19866C 80269D8C 10400005 */ beqz $v0, .L80269DA4 +/* 198670 80269D90 24020200 */ addiu $v0, $zero, 0x200 +/* 198674 80269D94 10600007 */ beqz $v1, .L80269DB4 +/* 198678 80269D98 00A0102D */ daddu $v0, $a1, $zero +/* 19867C 80269D9C 0809A777 */ j func_80269DDC +/* 198680 80269DA0 00000000 */ nop + +.L80269DA4: +/* 198684 80269DA4 10620009 */ beq $v1, $v0, .L80269DCC +/* 198688 80269DA8 00A0102D */ daddu $v0, $a1, $zero +/* 19868C 80269DAC 0809A777 */ j func_80269DDC +/* 198690 80269DB0 00000000 */ nop + +.L80269DB4: +/* 198694 80269DB4 8CC500D8 */ lw $a1, 0xd8($a2) +/* 198698 80269DB8 03E00008 */ jr $ra +/* 19869C 80269DBC 00A0102D */ daddu $v0, $a1, $zero + +.L80269DC0: +/* 1986A0 80269DC0 8CC500DC */ lw $a1, 0xdc($a2) +/* 1986A4 80269DC4 03E00008 */ jr $ra +/* 1986A8 80269DC8 00A0102D */ daddu $v0, $a1, $zero + +.L80269DCC: +/* 1986AC 80269DCC 00041080 */ sll $v0, $a0, 2 +/* 1986B0 80269DD0 00461021 */ addu $v0, $v0, $a2 +/* 1986B4 80269DD4 8C4500E0 */ lw $a1, 0xe0($v0) +/* 1986B8 80269DD8 00A0102D */ daddu $v0, $a1, $zero +func_80269DDC: +/* 1986BC 80269DDC 03E00008 */ jr $ra +/* 1986C0 80269DE0 00000000 */ nop + +LoadBattleSection: +/* 1986C4 80269DE4 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 1986C8 80269DE8 AFBF0010 */ sw $ra, 0x10($sp) +/* 1986CC 80269DEC 8C82000C */ lw $v0, 0xc($a0) +/* 1986D0 80269DF0 0C0B1EAF */ jal get_variable +/* 1986D4 80269DF4 8C450000 */ lw $a1, ($v0) +/* 1986D8 80269DF8 3C038009 */ lui $v1, 0x8009 +/* 1986DC 80269DFC 24635A30 */ addiu $v1, $v1, 0x5a30 +/* 1986E0 80269E00 00021140 */ sll $v0, $v0, 5 +/* 1986E4 80269E04 00431021 */ addu $v0, $v0, $v1 +/* 1986E8 80269E08 8C440004 */ lw $a0, 4($v0) +/* 1986EC 80269E0C 8C450008 */ lw $a1, 8($v0) +/* 1986F0 80269E10 0C00A5CF */ jal dma_copy +/* 1986F4 80269E14 8C46000C */ lw $a2, 0xc($v0) +/* 1986F8 80269E18 8FBF0010 */ lw $ra, 0x10($sp) +/* 1986FC 80269E1C 24020001 */ addiu $v0, $zero, 1 +/* 198700 80269E20 03E00008 */ jr $ra +/* 198704 80269E24 27BD0018 */ addiu $sp, $sp, 0x18 + +GetBattlePhase: +/* 198708 80269E28 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 19870C 80269E2C AFBF0010 */ sw $ra, 0x10($sp) +/* 198710 80269E30 8C82000C */ lw $v0, 0xc($a0) +/* 198714 80269E34 3C06800E */ lui $a2, 0x800e +/* 198718 80269E38 80C6C217 */ lb $a2, -0x3de9($a2) +/* 19871C 80269E3C 0C0B2026 */ jal set_variable +/* 198720 80269E40 8C450000 */ lw $a1, ($v0) +/* 198724 80269E44 8FBF0010 */ lw $ra, 0x10($sp) +/* 198728 80269E48 24020002 */ addiu $v0, $zero, 2 +/* 19872C 80269E4C 03E00008 */ jr $ra +/* 198730 80269E50 27BD0018 */ addiu $sp, $sp, 0x18 + +GetLastElement: +/* 198734 80269E54 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 198738 80269E58 AFBF0010 */ sw $ra, 0x10($sp) +/* 19873C 80269E5C 8C82000C */ lw $v0, 0xc($a0) +/* 198740 80269E60 3C06800E */ lui $a2, 0x800e +/* 198744 80269E64 8CC6C1F8 */ lw $a2, -0x3e08($a2) +/* 198748 80269E68 0C0B2026 */ jal set_variable +/* 19874C 80269E6C 8C450000 */ lw $a1, ($v0) +/* 198750 80269E70 8FBF0010 */ lw $ra, 0x10($sp) +/* 198754 80269E74 24020002 */ addiu $v0, $zero, 2 +/* 198758 80269E78 03E00008 */ jr $ra +/* 19875C 80269E7C 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 198760 80269E80 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 198764 80269E84 AFBF0010 */ sw $ra, 0x10($sp) +/* 198768 80269E88 8C82000C */ lw $v0, 0xc($a0) +/* 19876C 80269E8C 3C06800E */ lui $a2, 0x800e +/* 198770 80269E90 90C6C20A */ lbu $a2, -0x3df6($a2) +/* 198774 80269E94 0C0B2026 */ jal set_variable +/* 198778 80269E98 8C450000 */ lw $a1, ($v0) +/* 19877C 80269E9C 8FBF0010 */ lw $ra, 0x10($sp) +/* 198780 80269EA0 24020002 */ addiu $v0, $zero, 2 +/* 198784 80269EA4 03E00008 */ jr $ra +/* 198788 80269EA8 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 19878C 80269EAC 8C82000C */ lw $v0, 0xc($a0) +/* 198790 80269EB0 8C420000 */ lw $v0, ($v0) +/* 198794 80269EB4 3C01800E */ lui $at, 0x800e +/* 198798 80269EB8 A022C20A */ sb $v0, -0x3df6($at) +/* 19879C 80269EBC 03E00008 */ jr $ra +/* 1987A0 80269EC0 24020002 */ addiu $v0, $zero, 2 + +SetGoalToHome: +/* 1987A4 80269EC4 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 1987A8 80269EC8 AFB00010 */ sw $s0, 0x10($sp) +/* 1987AC 80269ECC 0080802D */ daddu $s0, $a0, $zero +/* 1987B0 80269ED0 AFBF0014 */ sw $ra, 0x14($sp) +/* 1987B4 80269ED4 8E02000C */ lw $v0, 0xc($s0) +/* 1987B8 80269ED8 0C0B1EAF */ jal get_variable +/* 1987BC 80269EDC 8C450000 */ lw $a1, ($v0) +/* 1987C0 80269EE0 0040202D */ daddu $a0, $v0, $zero +/* 1987C4 80269EE4 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1987C8 80269EE8 14820002 */ bne $a0, $v0, .L80269EF4 +/* 1987CC 80269EEC 00000000 */ nop +/* 1987D0 80269EF0 8E040148 */ lw $a0, 0x148($s0) +.L80269EF4: +/* 1987D4 80269EF4 0C09A75B */ jal get_actor +/* 1987D8 80269EF8 00000000 */ nop +/* 1987DC 80269EFC 0040182D */ daddu $v1, $v0, $zero +/* 1987E0 80269F00 C4600138 */ lwc1 $f0, 0x138($v1) +/* 1987E4 80269F04 C462013C */ lwc1 $f2, 0x13c($v1) +/* 1987E8 80269F08 C4640140 */ lwc1 $f4, 0x140($v1) +/* 1987EC 80269F0C E4600018 */ swc1 $f0, 0x18($v1) +/* 1987F0 80269F10 E462001C */ swc1 $f2, 0x1c($v1) +/* 1987F4 80269F14 E4640020 */ swc1 $f4, 0x20($v1) +/* 1987F8 80269F18 8FBF0014 */ lw $ra, 0x14($sp) +/* 1987FC 80269F1C 8FB00010 */ lw $s0, 0x10($sp) +/* 198800 80269F20 24020002 */ addiu $v0, $zero, 2 +/* 198804 80269F24 03E00008 */ jr $ra +/* 198808 80269F28 27BD0018 */ addiu $sp, $sp, 0x18 + +SetIdleGoalToHome: +/* 19880C 80269F2C 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 198810 80269F30 AFB00010 */ sw $s0, 0x10($sp) +/* 198814 80269F34 0080802D */ daddu $s0, $a0, $zero +/* 198818 80269F38 AFBF0014 */ sw $ra, 0x14($sp) +/* 19881C 80269F3C 8E02000C */ lw $v0, 0xc($s0) +/* 198820 80269F40 0C0B1EAF */ jal get_variable +/* 198824 80269F44 8C450000 */ lw $a1, ($v0) +/* 198828 80269F48 0040202D */ daddu $a0, $v0, $zero +/* 19882C 80269F4C 2402FF81 */ addiu $v0, $zero, -0x7f +/* 198830 80269F50 14820002 */ bne $a0, $v0, .L80269F5C +/* 198834 80269F54 00000000 */ nop +/* 198838 80269F58 8E040148 */ lw $a0, 0x148($s0) +.L80269F5C: +/* 19883C 80269F5C 0C09A75B */ jal get_actor +/* 198840 80269F60 00000000 */ nop +/* 198844 80269F64 0040182D */ daddu $v1, $v0, $zero +/* 198848 80269F68 C4600138 */ lwc1 $f0, 0x138($v1) +/* 19884C 80269F6C C462013C */ lwc1 $f2, 0x13c($v1) +/* 198850 80269F70 C4640140 */ lwc1 $f4, 0x140($v1) +/* 198854 80269F74 E46000D4 */ swc1 $f0, 0xd4($v1) +/* 198858 80269F78 E46200D8 */ swc1 $f2, 0xd8($v1) +/* 19885C 80269F7C E46400DC */ swc1 $f4, 0xdc($v1) +/* 198860 80269F80 8FBF0014 */ lw $ra, 0x14($sp) +/* 198864 80269F84 8FB00010 */ lw $s0, 0x10($sp) +/* 198868 80269F88 24020002 */ addiu $v0, $zero, 2 +/* 19886C 80269F8C 03E00008 */ jr $ra +/* 198870 80269F90 27BD0018 */ addiu $sp, $sp, 0x18 + +SetGoalToIndex: +/* 198874 80269F94 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 198878 80269F98 AFB20018 */ sw $s2, 0x18($sp) +/* 19887C 80269F9C 0080902D */ daddu $s2, $a0, $zero +/* 198880 80269FA0 AFBF001C */ sw $ra, 0x1c($sp) +/* 198884 80269FA4 AFB10014 */ sw $s1, 0x14($sp) +/* 198888 80269FA8 AFB00010 */ sw $s0, 0x10($sp) +/* 19888C 80269FAC 8E50000C */ lw $s0, 0xc($s2) +/* 198890 80269FB0 8E050000 */ lw $a1, ($s0) +/* 198894 80269FB4 0C0B1EAF */ jal get_variable +/* 198898 80269FB8 26100004 */ addiu $s0, $s0, 4 +/* 19889C 80269FBC 0040882D */ daddu $s1, $v0, $zero +/* 1988A0 80269FC0 8E050000 */ lw $a1, ($s0) +/* 1988A4 80269FC4 0C0B1EAF */ jal get_variable +/* 1988A8 80269FC8 0240202D */ daddu $a0, $s2, $zero +/* 1988AC 80269FCC 0040802D */ daddu $s0, $v0, $zero +/* 1988B0 80269FD0 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1988B4 80269FD4 16220002 */ bne $s1, $v0, .L80269FE0 +/* 1988B8 80269FD8 00000000 */ nop +/* 1988BC 80269FDC 8E510148 */ lw $s1, 0x148($s2) +.L80269FE0: +/* 1988C0 80269FE0 0C09A75B */ jal get_actor +/* 1988C4 80269FE4 0220202D */ daddu $a0, $s1, $zero +/* 1988C8 80269FE8 3C048028 */ lui $a0, 0x8028 +/* 1988CC 80269FEC 24843524 */ addiu $a0, $a0, 0x3524 +/* 1988D0 80269FF0 00101840 */ sll $v1, $s0, 1 +/* 1988D4 80269FF4 00701821 */ addu $v1, $v1, $s0 +/* 1988D8 80269FF8 00031840 */ sll $v1, $v1, 1 +/* 1988DC 80269FFC 00641821 */ addu $v1, $v1, $a0 +/* 1988E0 8026A000 84640000 */ lh $a0, ($v1) +/* 1988E4 8026A004 0040282D */ daddu $a1, $v0, $zero +/* 1988E8 8026A008 44840000 */ mtc1 $a0, $f0 +/* 1988EC 8026A00C 00000000 */ nop +/* 1988F0 8026A010 46800020 */ cvt.s.w $f0, $f0 +/* 1988F4 8026A014 E4A00018 */ swc1 $f0, 0x18($a1) +/* 1988F8 8026A018 84620002 */ lh $v0, 2($v1) +/* 1988FC 8026A01C 44820000 */ mtc1 $v0, $f0 +/* 198900 8026A020 00000000 */ nop +/* 198904 8026A024 46800020 */ cvt.s.w $f0, $f0 +/* 198908 8026A028 E4A0001C */ swc1 $f0, 0x1c($a1) +/* 19890C 8026A02C 84630004 */ lh $v1, 4($v1) +/* 198910 8026A030 44830000 */ mtc1 $v1, $f0 +/* 198914 8026A034 00000000 */ nop +/* 198918 8026A038 46800020 */ cvt.s.w $f0, $f0 +/* 19891C 8026A03C E4A00020 */ swc1 $f0, 0x20($a1) +/* 198920 8026A040 8FBF001C */ lw $ra, 0x1c($sp) +/* 198924 8026A044 8FB20018 */ lw $s2, 0x18($sp) +/* 198928 8026A048 8FB10014 */ lw $s1, 0x14($sp) +/* 19892C 8026A04C 8FB00010 */ lw $s0, 0x10($sp) +/* 198930 8026A050 24020002 */ addiu $v0, $zero, 2 +/* 198934 8026A054 03E00008 */ jr $ra +/* 198938 8026A058 27BD0020 */ addiu $sp, $sp, 0x20 + +GetIndexFromPos: +/* 19893C 8026A05C 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 198940 8026A060 AFB10014 */ sw $s1, 0x14($sp) +/* 198944 8026A064 0080882D */ daddu $s1, $a0, $zero +/* 198948 8026A068 AFBF0018 */ sw $ra, 0x18($sp) +/* 19894C 8026A06C AFB00010 */ sw $s0, 0x10($sp) +/* 198950 8026A070 8E30000C */ lw $s0, 0xc($s1) +/* 198954 8026A074 8E050000 */ lw $a1, ($s0) +/* 198958 8026A078 0C0B1EAF */ jal get_variable +/* 19895C 8026A07C 26100004 */ addiu $s0, $s0, 4 +/* 198960 8026A080 0040202D */ daddu $a0, $v0, $zero +/* 198964 8026A084 2402FF81 */ addiu $v0, $zero, -0x7f +/* 198968 8026A088 14820002 */ bne $a0, $v0, .L8026A094 +/* 19896C 8026A08C 8E100000 */ lw $s0, ($s0) +/* 198970 8026A090 8E240148 */ lw $a0, 0x148($s1) +.L8026A094: +/* 198974 8026A094 0C09A75B */ jal get_actor +/* 198978 8026A098 00000000 */ nop +/* 19897C 8026A09C 8C46014C */ lw $a2, 0x14c($v0) +/* 198980 8026A0A0 C44C0144 */ lwc1 $f12, 0x144($v0) +/* 198984 8026A0A4 0C09A5A6 */ jal get_nearest_home_index +/* 198988 8026A0A8 C44E0148 */ lwc1 $f14, 0x148($v0) +/* 19898C 8026A0AC 0220202D */ daddu $a0, $s1, $zero +/* 198990 8026A0B0 0200282D */ daddu $a1, $s0, $zero +/* 198994 8026A0B4 0C0B2026 */ jal set_variable +/* 198998 8026A0B8 0040302D */ daddu $a2, $v0, $zero +/* 19899C 8026A0BC 8FBF0018 */ lw $ra, 0x18($sp) +/* 1989A0 8026A0C0 8FB10014 */ lw $s1, 0x14($sp) +/* 1989A4 8026A0C4 8FB00010 */ lw $s0, 0x10($sp) +/* 1989A8 8026A0C8 24020002 */ addiu $v0, $zero, 2 +/* 1989AC 8026A0CC 03E00008 */ jr $ra +/* 1989B0 8026A0D0 27BD0020 */ addiu $sp, $sp, 0x20 + +GetIndexFromHome: +/* 1989B4 8026A0D4 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 1989B8 8026A0D8 AFB10014 */ sw $s1, 0x14($sp) +/* 1989BC 8026A0DC 0080882D */ daddu $s1, $a0, $zero +/* 1989C0 8026A0E0 AFBF0018 */ sw $ra, 0x18($sp) +/* 1989C4 8026A0E4 AFB00010 */ sw $s0, 0x10($sp) +/* 1989C8 8026A0E8 8E30000C */ lw $s0, 0xc($s1) +/* 1989CC 8026A0EC 8E050000 */ lw $a1, ($s0) +/* 1989D0 8026A0F0 0C0B1EAF */ jal get_variable +/* 1989D4 8026A0F4 26100004 */ addiu $s0, $s0, 4 +/* 1989D8 8026A0F8 0040202D */ daddu $a0, $v0, $zero +/* 1989DC 8026A0FC 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1989E0 8026A100 14820002 */ bne $a0, $v0, .L8026A10C +/* 1989E4 8026A104 8E100000 */ lw $s0, ($s0) +/* 1989E8 8026A108 8E240148 */ lw $a0, 0x148($s1) +.L8026A10C: +/* 1989EC 8026A10C 0C09A75B */ jal get_actor +/* 1989F0 8026A110 00000000 */ nop +/* 1989F4 8026A114 8C460140 */ lw $a2, 0x140($v0) +/* 1989F8 8026A118 C44C0138 */ lwc1 $f12, 0x138($v0) +/* 1989FC 8026A11C 0C09A5A6 */ jal get_nearest_home_index +/* 198A00 8026A120 C44E013C */ lwc1 $f14, 0x13c($v0) +/* 198A04 8026A124 0220202D */ daddu $a0, $s1, $zero +/* 198A08 8026A128 0200282D */ daddu $a1, $s0, $zero +/* 198A0C 8026A12C 0C0B2026 */ jal set_variable +/* 198A10 8026A130 0040302D */ daddu $a2, $v0, $zero +/* 198A14 8026A134 8FBF0018 */ lw $ra, 0x18($sp) +/* 198A18 8026A138 8FB10014 */ lw $s1, 0x14($sp) +/* 198A1C 8026A13C 8FB00010 */ lw $s0, 0x10($sp) +/* 198A20 8026A140 24020002 */ addiu $v0, $zero, 2 +/* 198A24 8026A144 03E00008 */ jr $ra +/* 198A28 8026A148 27BD0020 */ addiu $sp, $sp, 0x20 + +CountPlayerTargets: +/* 198A2C 8026A14C 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 198A30 8026A150 AFB10014 */ sw $s1, 0x14($sp) +/* 198A34 8026A154 0080882D */ daddu $s1, $a0, $zero +/* 198A38 8026A158 AFBF0020 */ sw $ra, 0x20($sp) +/* 198A3C 8026A15C AFB3001C */ sw $s3, 0x1c($sp) +/* 198A40 8026A160 AFB20018 */ sw $s2, 0x18($sp) +/* 198A44 8026A164 AFB00010 */ sw $s0, 0x10($sp) +/* 198A48 8026A168 8E30000C */ lw $s0, 0xc($s1) +/* 198A4C 8026A16C 8E050000 */ lw $a1, ($s0) +/* 198A50 8026A170 0C0B1EAF */ jal get_variable +/* 198A54 8026A174 26100004 */ addiu $s0, $s0, 4 +/* 198A58 8026A178 0040202D */ daddu $a0, $v0, $zero +/* 198A5C 8026A17C 2402FF81 */ addiu $v0, $zero, -0x7f +/* 198A60 8026A180 8E120000 */ lw $s2, ($s0) +/* 198A64 8026A184 14820002 */ bne $a0, $v0, .L8026A190 +/* 198A68 8026A188 8E130004 */ lw $s3, 4($s0) +/* 198A6C 8026A18C 8E240148 */ lw $a0, 0x148($s1) +.L8026A190: +/* 198A70 8026A190 0C09A75B */ jal get_actor +/* 198A74 8026A194 00000000 */ nop +/* 198A78 8026A198 0040802D */ daddu $s0, $v0, $zero +/* 198A7C 8026A19C 8E06014C */ lw $a2, 0x14c($s0) +/* 198A80 8026A1A0 C60C0144 */ lwc1 $f12, 0x144($s0) +/* 198A84 8026A1A4 0C09A5A6 */ jal get_nearest_home_index +/* 198A88 8026A1A8 C60E0148 */ lwc1 $f14, 0x148($s0) +/* 198A8C 8026A1AC 0200202D */ daddu $a0, $s0, $zero +/* 198A90 8026A1B0 0040282D */ daddu $a1, $v0, $zero +/* 198A94 8026A1B4 0C09A598 */ jal count_targets +/* 198A98 8026A1B8 0240302D */ daddu $a2, $s2, $zero +/* 198A9C 8026A1BC 0220202D */ daddu $a0, $s1, $zero +/* 198AA0 8026A1C0 0260282D */ daddu $a1, $s3, $zero +/* 198AA4 8026A1C4 0C0B2026 */ jal set_variable +/* 198AA8 8026A1C8 0040302D */ daddu $a2, $v0, $zero +/* 198AAC 8026A1CC 8FBF0020 */ lw $ra, 0x20($sp) +/* 198AB0 8026A1D0 8FB3001C */ lw $s3, 0x1c($sp) +/* 198AB4 8026A1D4 8FB20018 */ lw $s2, 0x18($sp) +/* 198AB8 8026A1D8 8FB10014 */ lw $s1, 0x14($sp) +/* 198ABC 8026A1DC 8FB00010 */ lw $s0, 0x10($sp) +/* 198AC0 8026A1E0 24020002 */ addiu $v0, $zero, 2 +/* 198AC4 8026A1E4 03E00008 */ jr $ra +/* 198AC8 8026A1E8 27BD0028 */ addiu $sp, $sp, 0x28 + +ForceHomePos: +/* 198ACC 8026A1EC 27BDFFC8 */ addiu $sp, $sp, -0x38 +/* 198AD0 8026A1F0 AFB20018 */ sw $s2, 0x18($sp) +/* 198AD4 8026A1F4 0080902D */ daddu $s2, $a0, $zero +/* 198AD8 8026A1F8 AFBF001C */ sw $ra, 0x1c($sp) +/* 198ADC 8026A1FC AFB10014 */ sw $s1, 0x14($sp) +/* 198AE0 8026A200 AFB00010 */ sw $s0, 0x10($sp) +/* 198AE4 8026A204 F7B80030 */ sdc1 $f24, 0x30($sp) +/* 198AE8 8026A208 F7B60028 */ sdc1 $f22, 0x28($sp) +/* 198AEC 8026A20C F7B40020 */ sdc1 $f20, 0x20($sp) +/* 198AF0 8026A210 8E50000C */ lw $s0, 0xc($s2) +/* 198AF4 8026A214 8E050000 */ lw $a1, ($s0) +/* 198AF8 8026A218 0C0B1EAF */ jal get_variable +/* 198AFC 8026A21C 26100004 */ addiu $s0, $s0, 4 +/* 198B00 8026A220 0040882D */ daddu $s1, $v0, $zero +/* 198B04 8026A224 2402FF81 */ addiu $v0, $zero, -0x7f +/* 198B08 8026A228 16220002 */ bne $s1, $v0, .L8026A234 +/* 198B0C 8026A22C 00000000 */ nop +/* 198B10 8026A230 8E510148 */ lw $s1, 0x148($s2) +.L8026A234: +/* 198B14 8026A234 8E050000 */ lw $a1, ($s0) +/* 198B18 8026A238 26100004 */ addiu $s0, $s0, 4 +/* 198B1C 8026A23C 0C0B1EAF */ jal get_variable +/* 198B20 8026A240 0240202D */ daddu $a0, $s2, $zero +/* 198B24 8026A244 8E050000 */ lw $a1, ($s0) +/* 198B28 8026A248 26100004 */ addiu $s0, $s0, 4 +/* 198B2C 8026A24C 4482C000 */ mtc1 $v0, $f24 +/* 198B30 8026A250 00000000 */ nop +/* 198B34 8026A254 4680C620 */ cvt.s.w $f24, $f24 +/* 198B38 8026A258 0C0B1EAF */ jal get_variable +/* 198B3C 8026A25C 0240202D */ daddu $a0, $s2, $zero +/* 198B40 8026A260 8E050000 */ lw $a1, ($s0) +/* 198B44 8026A264 4482B000 */ mtc1 $v0, $f22 +/* 198B48 8026A268 00000000 */ nop +/* 198B4C 8026A26C 4680B5A0 */ cvt.s.w $f22, $f22 +/* 198B50 8026A270 0C0B1EAF */ jal get_variable +/* 198B54 8026A274 0240202D */ daddu $a0, $s2, $zero +/* 198B58 8026A278 4482A000 */ mtc1 $v0, $f20 +/* 198B5C 8026A27C 00000000 */ nop +/* 198B60 8026A280 4680A520 */ cvt.s.w $f20, $f20 +/* 198B64 8026A284 0C09A75B */ jal get_actor +/* 198B68 8026A288 0220202D */ daddu $a0, $s1, $zero +/* 198B6C 8026A28C 0040182D */ daddu $v1, $v0, $zero +/* 198B70 8026A290 E4780138 */ swc1 $f24, 0x138($v1) +/* 198B74 8026A294 E4780144 */ swc1 $f24, 0x144($v1) +/* 198B78 8026A298 E476013C */ swc1 $f22, 0x13c($v1) +/* 198B7C 8026A29C E4760148 */ swc1 $f22, 0x148($v1) +/* 198B80 8026A2A0 E4740140 */ swc1 $f20, 0x140($v1) +/* 198B84 8026A2A4 E474014C */ swc1 $f20, 0x14c($v1) +/* 198B88 8026A2A8 8FBF001C */ lw $ra, 0x1c($sp) +/* 198B8C 8026A2AC 8FB20018 */ lw $s2, 0x18($sp) +/* 198B90 8026A2B0 8FB10014 */ lw $s1, 0x14($sp) +/* 198B94 8026A2B4 8FB00010 */ lw $s0, 0x10($sp) +/* 198B98 8026A2B8 D7B80030 */ ldc1 $f24, 0x30($sp) +/* 198B9C 8026A2BC D7B60028 */ ldc1 $f22, 0x28($sp) +/* 198BA0 8026A2C0 D7B40020 */ ldc1 $f20, 0x20($sp) +/* 198BA4 8026A2C4 24020002 */ addiu $v0, $zero, 2 +/* 198BA8 8026A2C8 03E00008 */ jr $ra +/* 198BAC 8026A2CC 27BD0038 */ addiu $sp, $sp, 0x38 + +SetHomePos: +/* 198BB0 8026A2D0 27BDFFC8 */ addiu $sp, $sp, -0x38 +/* 198BB4 8026A2D4 AFB20018 */ sw $s2, 0x18($sp) +/* 198BB8 8026A2D8 0080902D */ daddu $s2, $a0, $zero +/* 198BBC 8026A2DC AFBF001C */ sw $ra, 0x1c($sp) +/* 198BC0 8026A2E0 AFB10014 */ sw $s1, 0x14($sp) +/* 198BC4 8026A2E4 AFB00010 */ sw $s0, 0x10($sp) +/* 198BC8 8026A2E8 F7B80030 */ sdc1 $f24, 0x30($sp) +/* 198BCC 8026A2EC F7B60028 */ sdc1 $f22, 0x28($sp) +/* 198BD0 8026A2F0 F7B40020 */ sdc1 $f20, 0x20($sp) +/* 198BD4 8026A2F4 8E50000C */ lw $s0, 0xc($s2) +/* 198BD8 8026A2F8 8E050000 */ lw $a1, ($s0) +/* 198BDC 8026A2FC 0C0B1EAF */ jal get_variable +/* 198BE0 8026A300 26100004 */ addiu $s0, $s0, 4 +/* 198BE4 8026A304 0040882D */ daddu $s1, $v0, $zero +/* 198BE8 8026A308 2402FF81 */ addiu $v0, $zero, -0x7f +/* 198BEC 8026A30C 16220002 */ bne $s1, $v0, .L8026A318 +/* 198BF0 8026A310 00000000 */ nop +/* 198BF4 8026A314 8E510148 */ lw $s1, 0x148($s2) +.L8026A318: +/* 198BF8 8026A318 8E050000 */ lw $a1, ($s0) +/* 198BFC 8026A31C 26100004 */ addiu $s0, $s0, 4 +/* 198C00 8026A320 0C0B1EAF */ jal get_variable +/* 198C04 8026A324 0240202D */ daddu $a0, $s2, $zero +/* 198C08 8026A328 8E050000 */ lw $a1, ($s0) +/* 198C0C 8026A32C 26100004 */ addiu $s0, $s0, 4 +/* 198C10 8026A330 4482C000 */ mtc1 $v0, $f24 +/* 198C14 8026A334 00000000 */ nop +/* 198C18 8026A338 4680C620 */ cvt.s.w $f24, $f24 +/* 198C1C 8026A33C 0C0B1EAF */ jal get_variable +/* 198C20 8026A340 0240202D */ daddu $a0, $s2, $zero +/* 198C24 8026A344 8E050000 */ lw $a1, ($s0) +/* 198C28 8026A348 4482B000 */ mtc1 $v0, $f22 +/* 198C2C 8026A34C 00000000 */ nop +/* 198C30 8026A350 4680B5A0 */ cvt.s.w $f22, $f22 +/* 198C34 8026A354 0C0B1EAF */ jal get_variable +/* 198C38 8026A358 0240202D */ daddu $a0, $s2, $zero +/* 198C3C 8026A35C 4482A000 */ mtc1 $v0, $f20 +/* 198C40 8026A360 00000000 */ nop +/* 198C44 8026A364 4680A520 */ cvt.s.w $f20, $f20 +/* 198C48 8026A368 0C09A75B */ jal get_actor +/* 198C4C 8026A36C 0220202D */ daddu $a0, $s1, $zero +/* 198C50 8026A370 0040182D */ daddu $v1, $v0, $zero +/* 198C54 8026A374 E4780138 */ swc1 $f24, 0x138($v1) +/* 198C58 8026A378 E476013C */ swc1 $f22, 0x13c($v1) +/* 198C5C 8026A37C E4740140 */ swc1 $f20, 0x140($v1) +/* 198C60 8026A380 8FBF001C */ lw $ra, 0x1c($sp) +/* 198C64 8026A384 8FB20018 */ lw $s2, 0x18($sp) +/* 198C68 8026A388 8FB10014 */ lw $s1, 0x14($sp) +/* 198C6C 8026A38C 8FB00010 */ lw $s0, 0x10($sp) +/* 198C70 8026A390 D7B80030 */ ldc1 $f24, 0x30($sp) +/* 198C74 8026A394 D7B60028 */ ldc1 $f22, 0x28($sp) +/* 198C78 8026A398 D7B40020 */ ldc1 $f20, 0x20($sp) +/* 198C7C 8026A39C 24020002 */ addiu $v0, $zero, 2 +/* 198C80 8026A3A0 03E00008 */ jr $ra +/* 198C84 8026A3A4 27BD0038 */ addiu $sp, $sp, 0x38 + +SetGoalToTarget: +/* 198C88 8026A3A8 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 198C8C 8026A3AC AFB00010 */ sw $s0, 0x10($sp) +/* 198C90 8026A3B0 0080802D */ daddu $s0, $a0, $zero +/* 198C94 8026A3B4 AFBF0014 */ sw $ra, 0x14($sp) +/* 198C98 8026A3B8 8E02000C */ lw $v0, 0xc($s0) +/* 198C9C 8026A3BC 0C0B1EAF */ jal get_variable +/* 198CA0 8026A3C0 8C450000 */ lw $a1, ($v0) +/* 198CA4 8026A3C4 0040202D */ daddu $a0, $v0, $zero +/* 198CA8 8026A3C8 2402FF81 */ addiu $v0, $zero, -0x7f +/* 198CAC 8026A3CC 14820002 */ bne $a0, $v0, .L8026A3D8 +/* 198CB0 8026A3D0 00000000 */ nop +/* 198CB4 8026A3D4 8E040148 */ lw $a0, 0x148($s0) +.L8026A3D8: +/* 198CB8 8026A3D8 0C09A75B */ jal get_actor +/* 198CBC 8026A3DC 00000000 */ nop +/* 198CC0 8026A3E0 84450428 */ lh $a1, 0x428($v0) +/* 198CC4 8026A3E4 80460426 */ lb $a2, 0x426($v0) +/* 198CC8 8026A3E8 0C09A5D5 */ jal set_goal_pos_to_part +/* 198CCC 8026A3EC 2444000C */ addiu $a0, $v0, 0xc +/* 198CD0 8026A3F0 8FBF0014 */ lw $ra, 0x14($sp) +/* 198CD4 8026A3F4 8FB00010 */ lw $s0, 0x10($sp) +/* 198CD8 8026A3F8 24020002 */ addiu $v0, $zero, 2 +/* 198CDC 8026A3FC 03E00008 */ jr $ra +/* 198CE0 8026A400 27BD0018 */ addiu $sp, $sp, 0x18 + +SetPartGoalToTarget: +/* 198CE4 8026A404 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 198CE8 8026A408 AFB20018 */ sw $s2, 0x18($sp) +/* 198CEC 8026A40C 0080902D */ daddu $s2, $a0, $zero +/* 198CF0 8026A410 AFBF0020 */ sw $ra, 0x20($sp) +/* 198CF4 8026A414 AFB3001C */ sw $s3, 0x1c($sp) +/* 198CF8 8026A418 AFB10014 */ sw $s1, 0x14($sp) +/* 198CFC 8026A41C AFB00010 */ sw $s0, 0x10($sp) +/* 198D00 8026A420 8E50000C */ lw $s0, 0xc($s2) +/* 198D04 8026A424 8E050000 */ lw $a1, ($s0) +/* 198D08 8026A428 0C0B1EAF */ jal get_variable +/* 198D0C 8026A42C 26100004 */ addiu $s0, $s0, 4 +/* 198D10 8026A430 0040882D */ daddu $s1, $v0, $zero +/* 198D14 8026A434 8E050000 */ lw $a1, ($s0) +/* 198D18 8026A438 0C0B1EAF */ jal get_variable +/* 198D1C 8026A43C 0240202D */ daddu $a0, $s2, $zero +/* 198D20 8026A440 0040982D */ daddu $s3, $v0, $zero +/* 198D24 8026A444 2402FF81 */ addiu $v0, $zero, -0x7f +/* 198D28 8026A448 16220002 */ bne $s1, $v0, .L8026A454 +/* 198D2C 8026A44C 00000000 */ nop +/* 198D30 8026A450 8E510148 */ lw $s1, 0x148($s2) +.L8026A454: +/* 198D34 8026A454 0C09A75B */ jal get_actor +/* 198D38 8026A458 0220202D */ daddu $a0, $s1, $zero +/* 198D3C 8026A45C 0040802D */ daddu $s0, $v0, $zero +/* 198D40 8026A460 0200202D */ daddu $a0, $s0, $zero +/* 198D44 8026A464 0C099117 */ jal get_actor_part +/* 198D48 8026A468 0260282D */ daddu $a1, $s3, $zero +/* 198D4C 8026A46C 8C440010 */ lw $a0, 0x10($v0) +/* 198D50 8026A470 86050428 */ lh $a1, 0x428($s0) +/* 198D54 8026A474 0C09A676 */ jal set_part_goal_to_actor_part +/* 198D58 8026A478 82060426 */ lb $a2, 0x426($s0) +/* 198D5C 8026A47C 8FBF0020 */ lw $ra, 0x20($sp) +/* 198D60 8026A480 8FB3001C */ lw $s3, 0x1c($sp) +/* 198D64 8026A484 8FB20018 */ lw $s2, 0x18($sp) +/* 198D68 8026A488 8FB10014 */ lw $s1, 0x14($sp) +/* 198D6C 8026A48C 8FB00010 */ lw $s0, 0x10($sp) +/* 198D70 8026A490 24020002 */ addiu $v0, $zero, 2 +/* 198D74 8026A494 03E00008 */ jr $ra +/* 198D78 8026A498 27BD0028 */ addiu $sp, $sp, 0x28 + +SetGoalToFirstTarget: +/* 198D7C 8026A49C 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 198D80 8026A4A0 AFB00010 */ sw $s0, 0x10($sp) +/* 198D84 8026A4A4 0080802D */ daddu $s0, $a0, $zero +/* 198D88 8026A4A8 AFBF0014 */ sw $ra, 0x14($sp) +/* 198D8C 8026A4AC 8E02000C */ lw $v0, 0xc($s0) +/* 198D90 8026A4B0 0C0B1EAF */ jal get_variable +/* 198D94 8026A4B4 8C450000 */ lw $a1, ($v0) +/* 198D98 8026A4B8 0040202D */ daddu $a0, $v0, $zero +/* 198D9C 8026A4BC 2402FF81 */ addiu $v0, $zero, -0x7f +/* 198DA0 8026A4C0 14820002 */ bne $a0, $v0, .L8026A4CC +/* 198DA4 8026A4C4 00000000 */ nop +/* 198DA8 8026A4C8 8E040148 */ lw $a0, 0x148($s0) +.L8026A4CC: +/* 198DAC 8026A4CC 0C09A75B */ jal get_actor +/* 198DB0 8026A4D0 00000000 */ nop +/* 198DB4 8026A4D4 8044040D */ lb $a0, 0x40d($v0) +/* 198DB8 8026A4D8 00041880 */ sll $v1, $a0, 2 +/* 198DBC 8026A4DC 00641821 */ addu $v1, $v1, $a0 +/* 198DC0 8026A4E0 00031880 */ sll $v1, $v1, 2 +/* 198DC4 8026A4E4 2463022C */ addiu $v1, $v1, 0x22c +/* 198DC8 8026A4E8 00431821 */ addu $v1, $v0, $v1 +/* 198DCC 8026A4EC 84650000 */ lh $a1, ($v1) +/* 198DD0 8026A4F0 84660002 */ lh $a2, 2($v1) +/* 198DD4 8026A4F4 0C09A5D5 */ jal set_goal_pos_to_part +/* 198DD8 8026A4F8 2444000C */ addiu $a0, $v0, 0xc +/* 198DDC 8026A4FC 8FBF0014 */ lw $ra, 0x14($sp) +/* 198DE0 8026A500 8FB00010 */ lw $s0, 0x10($sp) +/* 198DE4 8026A504 24020002 */ addiu $v0, $zero, 2 +/* 198DE8 8026A508 03E00008 */ jr $ra +/* 198DEC 8026A50C 27BD0018 */ addiu $sp, $sp, 0x18 + +SetGoalPos: +/* 198DF0 8026A510 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* 198DF4 8026A514 AFB20018 */ sw $s2, 0x18($sp) +/* 198DF8 8026A518 0080902D */ daddu $s2, $a0, $zero +/* 198DFC 8026A51C AFBF001C */ sw $ra, 0x1c($sp) +/* 198E00 8026A520 AFB10014 */ sw $s1, 0x14($sp) +/* 198E04 8026A524 AFB00010 */ sw $s0, 0x10($sp) +/* 198E08 8026A528 F7B60028 */ sdc1 $f22, 0x28($sp) +/* 198E0C 8026A52C F7B40020 */ sdc1 $f20, 0x20($sp) +/* 198E10 8026A530 8E50000C */ lw $s0, 0xc($s2) +/* 198E14 8026A534 8E050000 */ lw $a1, ($s0) +/* 198E18 8026A538 0C0B1EAF */ jal get_variable +/* 198E1C 8026A53C 26100004 */ addiu $s0, $s0, 4 +/* 198E20 8026A540 0040202D */ daddu $a0, $v0, $zero +/* 198E24 8026A544 2402FF81 */ addiu $v0, $zero, -0x7f +/* 198E28 8026A548 14820002 */ bne $a0, $v0, .L8026A554 +/* 198E2C 8026A54C 00000000 */ nop +/* 198E30 8026A550 8E440148 */ lw $a0, 0x148($s2) +.L8026A554: +/* 198E34 8026A554 0C09A75B */ jal get_actor +/* 198E38 8026A558 00000000 */ nop +/* 198E3C 8026A55C 3C03FF43 */ lui $v1, 0xff43 +/* 198E40 8026A560 34639EB2 */ ori $v1, $v1, 0x9eb2 +/* 198E44 8026A564 8E050000 */ lw $a1, ($s0) +/* 198E48 8026A568 14A30004 */ bne $a1, $v1, .L8026A57C +/* 198E4C 8026A56C 2451000C */ addiu $s1, $v0, 0xc +/* 198E50 8026A570 C4560018 */ lwc1 $f22, 0x18($v0) +/* 198E54 8026A574 0809A965 */ j func_8026A594 +/* 198E58 8026A578 26100004 */ addiu $s0, $s0, 4 + +.L8026A57C: +/* 198E5C 8026A57C 0C0B1EAF */ jal get_variable +/* 198E60 8026A580 0240202D */ daddu $a0, $s2, $zero +/* 198E64 8026A584 4482B000 */ mtc1 $v0, $f22 +/* 198E68 8026A588 00000000 */ nop +/* 198E6C 8026A58C 4680B5A0 */ cvt.s.w $f22, $f22 +/* 198E70 8026A590 26100004 */ addiu $s0, $s0, 4 +func_8026A594: +/* 198E74 8026A594 3C02FF43 */ lui $v0, 0xff43 +/* 198E78 8026A598 8E050000 */ lw $a1, ($s0) +/* 198E7C 8026A59C 34429EB2 */ ori $v0, $v0, 0x9eb2 +/* 198E80 8026A5A0 14A20004 */ bne $a1, $v0, .L8026A5B4 +/* 198E84 8026A5A4 3C02FF43 */ lui $v0, 0xff43 +/* 198E88 8026A5A8 C6340010 */ lwc1 $f20, 0x10($s1) +/* 198E8C 8026A5AC 0809A973 */ j func_8026A5CC +/* 198E90 8026A5B0 00000000 */ nop + +.L8026A5B4: +/* 198E94 8026A5B4 0C0B1EAF */ jal get_variable +/* 198E98 8026A5B8 0240202D */ daddu $a0, $s2, $zero +/* 198E9C 8026A5BC 4482A000 */ mtc1 $v0, $f20 +/* 198EA0 8026A5C0 00000000 */ nop +/* 198EA4 8026A5C4 4680A520 */ cvt.s.w $f20, $f20 +/* 198EA8 8026A5C8 3C02FF43 */ lui $v0, 0xff43 +func_8026A5CC: +/* 198EAC 8026A5CC 8E050004 */ lw $a1, 4($s0) +/* 198EB0 8026A5D0 34429EB2 */ ori $v0, $v0, 0x9eb2 +/* 198EB4 8026A5D4 14A20004 */ bne $a1, $v0, .L8026A5E8 +/* 198EB8 8026A5D8 00000000 */ nop +/* 198EBC 8026A5DC C6200014 */ lwc1 $f0, 0x14($s1) +/* 198EC0 8026A5E0 0809A980 */ j func_8026A600 +/* 198EC4 8026A5E4 E636000C */ swc1 $f22, 0xc($s1) + +.L8026A5E8: +/* 198EC8 8026A5E8 0C0B1EAF */ jal get_variable +/* 198ECC 8026A5EC 0240202D */ daddu $a0, $s2, $zero +/* 198ED0 8026A5F0 44820000 */ mtc1 $v0, $f0 +/* 198ED4 8026A5F4 00000000 */ nop +/* 198ED8 8026A5F8 46800020 */ cvt.s.w $f0, $f0 +/* 198EDC 8026A5FC E636000C */ swc1 $f22, 0xc($s1) +func_8026A600: +/* 198EE0 8026A600 E6340010 */ swc1 $f20, 0x10($s1) +/* 198EE4 8026A604 E6200014 */ swc1 $f0, 0x14($s1) +/* 198EE8 8026A608 8FBF001C */ lw $ra, 0x1c($sp) +/* 198EEC 8026A60C 8FB20018 */ lw $s2, 0x18($sp) +/* 198EF0 8026A610 8FB10014 */ lw $s1, 0x14($sp) +/* 198EF4 8026A614 8FB00010 */ lw $s0, 0x10($sp) +/* 198EF8 8026A618 D7B60028 */ ldc1 $f22, 0x28($sp) +/* 198EFC 8026A61C D7B40020 */ ldc1 $f20, 0x20($sp) +/* 198F00 8026A620 24020002 */ addiu $v0, $zero, 2 +/* 198F04 8026A624 03E00008 */ jr $ra +/* 198F08 8026A628 27BD0030 */ addiu $sp, $sp, 0x30 + +SetIdleGoal: +/* 198F0C 8026A62C 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* 198F10 8026A630 AFB20018 */ sw $s2, 0x18($sp) +/* 198F14 8026A634 0080902D */ daddu $s2, $a0, $zero +/* 198F18 8026A638 AFBF001C */ sw $ra, 0x1c($sp) +/* 198F1C 8026A63C AFB10014 */ sw $s1, 0x14($sp) +/* 198F20 8026A640 AFB00010 */ sw $s0, 0x10($sp) +/* 198F24 8026A644 F7B60028 */ sdc1 $f22, 0x28($sp) +/* 198F28 8026A648 F7B40020 */ sdc1 $f20, 0x20($sp) +/* 198F2C 8026A64C 8E50000C */ lw $s0, 0xc($s2) +/* 198F30 8026A650 8E050000 */ lw $a1, ($s0) +/* 198F34 8026A654 0C0B1EAF */ jal get_variable +/* 198F38 8026A658 26100004 */ addiu $s0, $s0, 4 +/* 198F3C 8026A65C 0040202D */ daddu $a0, $v0, $zero +/* 198F40 8026A660 2402FF81 */ addiu $v0, $zero, -0x7f +/* 198F44 8026A664 14820002 */ bne $a0, $v0, .L8026A670 +/* 198F48 8026A668 00000000 */ nop +/* 198F4C 8026A66C 8E440148 */ lw $a0, 0x148($s2) +.L8026A670: +/* 198F50 8026A670 0C09A75B */ jal get_actor +/* 198F54 8026A674 00000000 */ nop +/* 198F58 8026A678 3C03FF43 */ lui $v1, 0xff43 +/* 198F5C 8026A67C 34639EB2 */ ori $v1, $v1, 0x9eb2 +/* 198F60 8026A680 8E050000 */ lw $a1, ($s0) +/* 198F64 8026A684 14A30004 */ bne $a1, $v1, .L8026A698 +/* 198F68 8026A688 245100C8 */ addiu $s1, $v0, 0xc8 +/* 198F6C 8026A68C C45600D4 */ lwc1 $f22, 0xd4($v0) +/* 198F70 8026A690 0809A9AC */ j func_8026A6B0 +/* 198F74 8026A694 26100004 */ addiu $s0, $s0, 4 + +.L8026A698: +/* 198F78 8026A698 0C0B1EAF */ jal get_variable +/* 198F7C 8026A69C 0240202D */ daddu $a0, $s2, $zero +/* 198F80 8026A6A0 4482B000 */ mtc1 $v0, $f22 +/* 198F84 8026A6A4 00000000 */ nop +/* 198F88 8026A6A8 4680B5A0 */ cvt.s.w $f22, $f22 +/* 198F8C 8026A6AC 26100004 */ addiu $s0, $s0, 4 +func_8026A6B0: +/* 198F90 8026A6B0 3C02FF43 */ lui $v0, 0xff43 +/* 198F94 8026A6B4 8E050000 */ lw $a1, ($s0) +/* 198F98 8026A6B8 34429EB2 */ ori $v0, $v0, 0x9eb2 +/* 198F9C 8026A6BC 14A20004 */ bne $a1, $v0, .L8026A6D0 +/* 198FA0 8026A6C0 3C02FF43 */ lui $v0, 0xff43 +/* 198FA4 8026A6C4 C6340010 */ lwc1 $f20, 0x10($s1) +/* 198FA8 8026A6C8 0809A9BA */ j func_8026A6E8 +/* 198FAC 8026A6CC 00000000 */ nop + +.L8026A6D0: +/* 198FB0 8026A6D0 0C0B1EAF */ jal get_variable +/* 198FB4 8026A6D4 0240202D */ daddu $a0, $s2, $zero +/* 198FB8 8026A6D8 4482A000 */ mtc1 $v0, $f20 +/* 198FBC 8026A6DC 00000000 */ nop +/* 198FC0 8026A6E0 4680A520 */ cvt.s.w $f20, $f20 +/* 198FC4 8026A6E4 3C02FF43 */ lui $v0, 0xff43 +func_8026A6E8: +/* 198FC8 8026A6E8 8E050004 */ lw $a1, 4($s0) +/* 198FCC 8026A6EC 34429EB2 */ ori $v0, $v0, 0x9eb2 +/* 198FD0 8026A6F0 14A20004 */ bne $a1, $v0, .L8026A704 +/* 198FD4 8026A6F4 00000000 */ nop +/* 198FD8 8026A6F8 C6200014 */ lwc1 $f0, 0x14($s1) +/* 198FDC 8026A6FC 0809A9C7 */ j func_8026A71C +/* 198FE0 8026A700 E636000C */ swc1 $f22, 0xc($s1) + +.L8026A704: +/* 198FE4 8026A704 0C0B1EAF */ jal get_variable +/* 198FE8 8026A708 0240202D */ daddu $a0, $s2, $zero +/* 198FEC 8026A70C 44820000 */ mtc1 $v0, $f0 +/* 198FF0 8026A710 00000000 */ nop +/* 198FF4 8026A714 46800020 */ cvt.s.w $f0, $f0 +/* 198FF8 8026A718 E636000C */ swc1 $f22, 0xc($s1) +func_8026A71C: +/* 198FFC 8026A71C E6340010 */ swc1 $f20, 0x10($s1) +/* 199000 8026A720 E6200014 */ swc1 $f0, 0x14($s1) +/* 199004 8026A724 8FBF001C */ lw $ra, 0x1c($sp) +/* 199008 8026A728 8FB20018 */ lw $s2, 0x18($sp) +/* 19900C 8026A72C 8FB10014 */ lw $s1, 0x14($sp) +/* 199010 8026A730 8FB00010 */ lw $s0, 0x10($sp) +/* 199014 8026A734 D7B60028 */ ldc1 $f22, 0x28($sp) +/* 199018 8026A738 D7B40020 */ ldc1 $f20, 0x20($sp) +/* 19901C 8026A73C 24020002 */ addiu $v0, $zero, 2 +/* 199020 8026A740 03E00008 */ jr $ra +/* 199024 8026A744 27BD0030 */ addiu $sp, $sp, 0x30 + +AddGoalPos: +/* 199028 8026A748 27BDFFC8 */ addiu $sp, $sp, -0x38 +/* 19902C 8026A74C AFB20018 */ sw $s2, 0x18($sp) +/* 199030 8026A750 0080902D */ daddu $s2, $a0, $zero +/* 199034 8026A754 AFBF001C */ sw $ra, 0x1c($sp) +/* 199038 8026A758 AFB10014 */ sw $s1, 0x14($sp) +/* 19903C 8026A75C AFB00010 */ sw $s0, 0x10($sp) +/* 199040 8026A760 F7B80030 */ sdc1 $f24, 0x30($sp) +/* 199044 8026A764 F7B60028 */ sdc1 $f22, 0x28($sp) +/* 199048 8026A768 F7B40020 */ sdc1 $f20, 0x20($sp) +/* 19904C 8026A76C 8E50000C */ lw $s0, 0xc($s2) +/* 199050 8026A770 8E050000 */ lw $a1, ($s0) +/* 199054 8026A774 0C0B1EAF */ jal get_variable +/* 199058 8026A778 26100004 */ addiu $s0, $s0, 4 +/* 19905C 8026A77C 0040882D */ daddu $s1, $v0, $zero +/* 199060 8026A780 2402FF81 */ addiu $v0, $zero, -0x7f +/* 199064 8026A784 16220002 */ bne $s1, $v0, .L8026A790 +/* 199068 8026A788 00000000 */ nop +/* 19906C 8026A78C 8E510148 */ lw $s1, 0x148($s2) +.L8026A790: +/* 199070 8026A790 8E050000 */ lw $a1, ($s0) +/* 199074 8026A794 26100004 */ addiu $s0, $s0, 4 +/* 199078 8026A798 0C0B210B */ jal get_float_variable +/* 19907C 8026A79C 0240202D */ daddu $a0, $s2, $zero +/* 199080 8026A7A0 8E050000 */ lw $a1, ($s0) +/* 199084 8026A7A4 26100004 */ addiu $s0, $s0, 4 +/* 199088 8026A7A8 0240202D */ daddu $a0, $s2, $zero +/* 19908C 8026A7AC 0C0B210B */ jal get_float_variable +/* 199090 8026A7B0 46000606 */ mov.s $f24, $f0 +/* 199094 8026A7B4 0240202D */ daddu $a0, $s2, $zero +/* 199098 8026A7B8 8E050000 */ lw $a1, ($s0) +/* 19909C 8026A7BC 0C0B210B */ jal get_float_variable +/* 1990A0 8026A7C0 46000506 */ mov.s $f20, $f0 +/* 1990A4 8026A7C4 0220202D */ daddu $a0, $s1, $zero +/* 1990A8 8026A7C8 0C09A75B */ jal get_actor +/* 1990AC 8026A7CC 46000586 */ mov.s $f22, $f0 +/* 1990B0 8026A7D0 0040182D */ daddu $v1, $v0, $zero +/* 1990B4 8026A7D4 C4640018 */ lwc1 $f4, 0x18($v1) +/* 1990B8 8026A7D8 46182100 */ add.s $f4, $f4, $f24 +/* 1990BC 8026A7DC C462001C */ lwc1 $f2, 0x1c($v1) +/* 1990C0 8026A7E0 46141080 */ add.s $f2, $f2, $f20 +/* 1990C4 8026A7E4 C4600020 */ lwc1 $f0, 0x20($v1) +/* 1990C8 8026A7E8 46160000 */ add.s $f0, $f0, $f22 +/* 1990CC 8026A7EC E4640018 */ swc1 $f4, 0x18($v1) +/* 1990D0 8026A7F0 E462001C */ swc1 $f2, 0x1c($v1) +/* 1990D4 8026A7F4 E4600020 */ swc1 $f0, 0x20($v1) +/* 1990D8 8026A7F8 8FBF001C */ lw $ra, 0x1c($sp) +/* 1990DC 8026A7FC 8FB20018 */ lw $s2, 0x18($sp) +/* 1990E0 8026A800 8FB10014 */ lw $s1, 0x14($sp) +/* 1990E4 8026A804 8FB00010 */ lw $s0, 0x10($sp) +/* 1990E8 8026A808 D7B80030 */ ldc1 $f24, 0x30($sp) +/* 1990EC 8026A80C D7B60028 */ ldc1 $f22, 0x28($sp) +/* 1990F0 8026A810 D7B40020 */ ldc1 $f20, 0x20($sp) +/* 1990F4 8026A814 24020002 */ addiu $v0, $zero, 2 +/* 1990F8 8026A818 03E00008 */ jr $ra +/* 1990FC 8026A81C 27BD0038 */ addiu $sp, $sp, 0x38 + +GetGoalPos: +/* 199100 8026A820 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 199104 8026A824 AFB40020 */ sw $s4, 0x20($sp) +/* 199108 8026A828 0080A02D */ daddu $s4, $a0, $zero +/* 19910C 8026A82C AFBF0024 */ sw $ra, 0x24($sp) +/* 199110 8026A830 AFB3001C */ sw $s3, 0x1c($sp) +/* 199114 8026A834 AFB20018 */ sw $s2, 0x18($sp) +/* 199118 8026A838 AFB10014 */ sw $s1, 0x14($sp) +/* 19911C 8026A83C AFB00010 */ sw $s0, 0x10($sp) +/* 199120 8026A840 8E92000C */ lw $s2, 0xc($s4) +/* 199124 8026A844 8E450000 */ lw $a1, ($s2) +/* 199128 8026A848 0C0B1EAF */ jal get_variable +/* 19912C 8026A84C 26520004 */ addiu $s2, $s2, 4 +/* 199130 8026A850 0040202D */ daddu $a0, $v0, $zero +/* 199134 8026A854 2402FF81 */ addiu $v0, $zero, -0x7f +/* 199138 8026A858 14820002 */ bne $a0, $v0, .L8026A864 +/* 19913C 8026A85C 00000000 */ nop +/* 199140 8026A860 8E840148 */ lw $a0, 0x148($s4) +.L8026A864: +/* 199144 8026A864 0C09A75B */ jal get_actor +/* 199148 8026A868 00000000 */ nop +/* 19914C 8026A86C 8E450000 */ lw $a1, ($s2) +/* 199150 8026A870 26520004 */ addiu $s2, $s2, 4 +/* 199154 8026A874 C4400018 */ lwc1 $f0, 0x18($v0) +/* 199158 8026A878 C4420020 */ lwc1 $f2, 0x20($v0) +/* 19915C 8026A87C 8E500000 */ lw $s0, ($s2) +/* 199160 8026A880 4600010D */ trunc.w.s $f4, $f0 +/* 199164 8026A884 44062000 */ mfc1 $a2, $f4 +/* 199168 8026A888 C440001C */ lwc1 $f0, 0x1c($v0) +/* 19916C 8026A88C 8E520004 */ lw $s2, 4($s2) +/* 199170 8026A890 4600010D */ trunc.w.s $f4, $f0 +/* 199174 8026A894 44112000 */ mfc1 $s1, $f4 +/* 199178 8026A898 4600110D */ trunc.w.s $f4, $f2 +/* 19917C 8026A89C 44132000 */ mfc1 $s3, $f4 +/* 199180 8026A8A0 0C0B2026 */ jal set_variable +/* 199184 8026A8A4 0280202D */ daddu $a0, $s4, $zero +/* 199188 8026A8A8 0280202D */ daddu $a0, $s4, $zero +/* 19918C 8026A8AC 0200282D */ daddu $a1, $s0, $zero +/* 199190 8026A8B0 0C0B2026 */ jal set_variable +/* 199194 8026A8B4 0220302D */ daddu $a2, $s1, $zero +/* 199198 8026A8B8 0280202D */ daddu $a0, $s4, $zero +/* 19919C 8026A8BC 0240282D */ daddu $a1, $s2, $zero +/* 1991A0 8026A8C0 0C0B2026 */ jal set_variable +/* 1991A4 8026A8C4 0260302D */ daddu $a2, $s3, $zero +/* 1991A8 8026A8C8 8FBF0024 */ lw $ra, 0x24($sp) +/* 1991AC 8026A8CC 8FB40020 */ lw $s4, 0x20($sp) +/* 1991B0 8026A8D0 8FB3001C */ lw $s3, 0x1c($sp) +/* 1991B4 8026A8D4 8FB20018 */ lw $s2, 0x18($sp) +/* 1991B8 8026A8D8 8FB10014 */ lw $s1, 0x14($sp) +/* 1991BC 8026A8DC 8FB00010 */ lw $s0, 0x10($sp) +/* 1991C0 8026A8E0 24020002 */ addiu $v0, $zero, 2 +/* 1991C4 8026A8E4 03E00008 */ jr $ra +/* 1991C8 8026A8E8 27BD0028 */ addiu $sp, $sp, 0x28 + +GetIdleGoal: +/* 1991CC 8026A8EC 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 1991D0 8026A8F0 AFB40020 */ sw $s4, 0x20($sp) +/* 1991D4 8026A8F4 0080A02D */ daddu $s4, $a0, $zero +/* 1991D8 8026A8F8 AFBF0024 */ sw $ra, 0x24($sp) +/* 1991DC 8026A8FC AFB3001C */ sw $s3, 0x1c($sp) +/* 1991E0 8026A900 AFB20018 */ sw $s2, 0x18($sp) +/* 1991E4 8026A904 AFB10014 */ sw $s1, 0x14($sp) +/* 1991E8 8026A908 AFB00010 */ sw $s0, 0x10($sp) +/* 1991EC 8026A90C 8E92000C */ lw $s2, 0xc($s4) +/* 1991F0 8026A910 8E450000 */ lw $a1, ($s2) +/* 1991F4 8026A914 0C0B1EAF */ jal get_variable +/* 1991F8 8026A918 26520004 */ addiu $s2, $s2, 4 +/* 1991FC 8026A91C 0040202D */ daddu $a0, $v0, $zero +/* 199200 8026A920 2402FF81 */ addiu $v0, $zero, -0x7f +/* 199204 8026A924 14820002 */ bne $a0, $v0, .L8026A930 +/* 199208 8026A928 00000000 */ nop +/* 19920C 8026A92C 8E840148 */ lw $a0, 0x148($s4) +.L8026A930: +/* 199210 8026A930 0C09A75B */ jal get_actor +/* 199214 8026A934 00000000 */ nop +/* 199218 8026A938 8E450000 */ lw $a1, ($s2) +/* 19921C 8026A93C 26520004 */ addiu $s2, $s2, 4 +/* 199220 8026A940 C44000D4 */ lwc1 $f0, 0xd4($v0) +/* 199224 8026A944 C44200DC */ lwc1 $f2, 0xdc($v0) +/* 199228 8026A948 8E500000 */ lw $s0, ($s2) +/* 19922C 8026A94C 4600010D */ trunc.w.s $f4, $f0 +/* 199230 8026A950 44062000 */ mfc1 $a2, $f4 +/* 199234 8026A954 C44000D8 */ lwc1 $f0, 0xd8($v0) +/* 199238 8026A958 8E520004 */ lw $s2, 4($s2) +/* 19923C 8026A95C 4600010D */ trunc.w.s $f4, $f0 +/* 199240 8026A960 44112000 */ mfc1 $s1, $f4 +/* 199244 8026A964 4600110D */ trunc.w.s $f4, $f2 +/* 199248 8026A968 44132000 */ mfc1 $s3, $f4 +/* 19924C 8026A96C 0C0B2026 */ jal set_variable +/* 199250 8026A970 0280202D */ daddu $a0, $s4, $zero +/* 199254 8026A974 0280202D */ daddu $a0, $s4, $zero +/* 199258 8026A978 0200282D */ daddu $a1, $s0, $zero +/* 19925C 8026A97C 0C0B2026 */ jal set_variable +/* 199260 8026A980 0220302D */ daddu $a2, $s1, $zero +/* 199264 8026A984 0280202D */ daddu $a0, $s4, $zero +/* 199268 8026A988 0240282D */ daddu $a1, $s2, $zero +/* 19926C 8026A98C 0C0B2026 */ jal set_variable +/* 199270 8026A990 0260302D */ daddu $a2, $s3, $zero +/* 199274 8026A994 8FBF0024 */ lw $ra, 0x24($sp) +/* 199278 8026A998 8FB40020 */ lw $s4, 0x20($sp) +/* 19927C 8026A99C 8FB3001C */ lw $s3, 0x1c($sp) +/* 199280 8026A9A0 8FB20018 */ lw $s2, 0x18($sp) +/* 199284 8026A9A4 8FB10014 */ lw $s1, 0x14($sp) +/* 199288 8026A9A8 8FB00010 */ lw $s0, 0x10($sp) +/* 19928C 8026A9AC 24020002 */ addiu $v0, $zero, 2 +/* 199290 8026A9B0 03E00008 */ jr $ra +/* 199294 8026A9B4 27BD0028 */ addiu $sp, $sp, 0x28 + +GetPartTarget: +/* 199298 8026A9B8 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 19929C 8026A9BC AFB40020 */ sw $s4, 0x20($sp) +/* 1992A0 8026A9C0 0080A02D */ daddu $s4, $a0, $zero +/* 1992A4 8026A9C4 AFBF0024 */ sw $ra, 0x24($sp) +/* 1992A8 8026A9C8 AFB3001C */ sw $s3, 0x1c($sp) +/* 1992AC 8026A9CC AFB20018 */ sw $s2, 0x18($sp) +/* 1992B0 8026A9D0 AFB10014 */ sw $s1, 0x14($sp) +/* 1992B4 8026A9D4 AFB00010 */ sw $s0, 0x10($sp) +/* 1992B8 8026A9D8 8E92000C */ lw $s2, 0xc($s4) +/* 1992BC 8026A9DC 8E450000 */ lw $a1, ($s2) +/* 1992C0 8026A9E0 0C0B1EAF */ jal get_variable +/* 1992C4 8026A9E4 26520004 */ addiu $s2, $s2, 4 +/* 1992C8 8026A9E8 0040802D */ daddu $s0, $v0, $zero +/* 1992CC 8026A9EC 8E450000 */ lw $a1, ($s2) +/* 1992D0 8026A9F0 26520004 */ addiu $s2, $s2, 4 +/* 1992D4 8026A9F4 0C0B1EAF */ jal get_variable +/* 1992D8 8026A9F8 0280202D */ daddu $a0, $s4, $zero +/* 1992DC 8026A9FC 0040882D */ daddu $s1, $v0, $zero +/* 1992E0 8026AA00 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1992E4 8026AA04 16020002 */ bne $s0, $v0, .L8026AA10 +/* 1992E8 8026AA08 00000000 */ nop +/* 1992EC 8026AA0C 8E900148 */ lw $s0, 0x148($s4) +.L8026AA10: +/* 1992F0 8026AA10 0C09A75B */ jal get_actor +/* 1992F4 8026AA14 0200202D */ daddu $a0, $s0, $zero +/* 1992F8 8026AA18 0040202D */ daddu $a0, $v0, $zero +/* 1992FC 8026AA1C 0C099117 */ jal get_actor_part +/* 199300 8026AA20 0220282D */ daddu $a1, $s1, $zero +/* 199304 8026AA24 8E450000 */ lw $a1, ($s2) +/* 199308 8026AA28 26520004 */ addiu $s2, $s2, 4 +/* 19930C 8026AA2C 8C420010 */ lw $v0, 0x10($v0) +/* 199310 8026AA30 8E500000 */ lw $s0, ($s2) +/* 199314 8026AA34 C440000C */ lwc1 $f0, 0xc($v0) +/* 199318 8026AA38 8E520004 */ lw $s2, 4($s2) +/* 19931C 8026AA3C 4600010D */ trunc.w.s $f4, $f0 +/* 199320 8026AA40 44062000 */ mfc1 $a2, $f4 +/* 199324 8026AA44 C4400010 */ lwc1 $f0, 0x10($v0) +/* 199328 8026AA48 C4420014 */ lwc1 $f2, 0x14($v0) +/* 19932C 8026AA4C 4600010D */ trunc.w.s $f4, $f0 +/* 199330 8026AA50 44112000 */ mfc1 $s1, $f4 +/* 199334 8026AA54 4600110D */ trunc.w.s $f4, $f2 +/* 199338 8026AA58 44132000 */ mfc1 $s3, $f4 +/* 19933C 8026AA5C 0C0B2026 */ jal set_variable +/* 199340 8026AA60 0280202D */ daddu $a0, $s4, $zero +/* 199344 8026AA64 0280202D */ daddu $a0, $s4, $zero +/* 199348 8026AA68 0200282D */ daddu $a1, $s0, $zero +/* 19934C 8026AA6C 0C0B2026 */ jal set_variable +/* 199350 8026AA70 0220302D */ daddu $a2, $s1, $zero +/* 199354 8026AA74 0280202D */ daddu $a0, $s4, $zero +/* 199358 8026AA78 0240282D */ daddu $a1, $s2, $zero +/* 19935C 8026AA7C 0C0B2026 */ jal set_variable +/* 199360 8026AA80 0260302D */ daddu $a2, $s3, $zero +/* 199364 8026AA84 8FBF0024 */ lw $ra, 0x24($sp) +/* 199368 8026AA88 8FB40020 */ lw $s4, 0x20($sp) +/* 19936C 8026AA8C 8FB3001C */ lw $s3, 0x1c($sp) +/* 199370 8026AA90 8FB20018 */ lw $s2, 0x18($sp) +/* 199374 8026AA94 8FB10014 */ lw $s1, 0x14($sp) +/* 199378 8026AA98 8FB00010 */ lw $s0, 0x10($sp) +/* 19937C 8026AA9C 24020002 */ addiu $v0, $zero, 2 +/* 199380 8026AAA0 03E00008 */ jr $ra +/* 199384 8026AAA4 27BD0028 */ addiu $sp, $sp, 0x28 + +GetActorPos: +/* 199388 8026AAA8 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 19938C 8026AAAC AFB40020 */ sw $s4, 0x20($sp) +/* 199390 8026AAB0 0080A02D */ daddu $s4, $a0, $zero +/* 199394 8026AAB4 AFBF0024 */ sw $ra, 0x24($sp) +/* 199398 8026AAB8 AFB3001C */ sw $s3, 0x1c($sp) +/* 19939C 8026AABC AFB20018 */ sw $s2, 0x18($sp) +/* 1993A0 8026AAC0 AFB10014 */ sw $s1, 0x14($sp) +/* 1993A4 8026AAC4 AFB00010 */ sw $s0, 0x10($sp) +/* 1993A8 8026AAC8 8E92000C */ lw $s2, 0xc($s4) +/* 1993AC 8026AACC 8E450000 */ lw $a1, ($s2) +/* 1993B0 8026AAD0 0C0B1EAF */ jal get_variable +/* 1993B4 8026AAD4 26520004 */ addiu $s2, $s2, 4 +/* 1993B8 8026AAD8 0040202D */ daddu $a0, $v0, $zero +/* 1993BC 8026AADC 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1993C0 8026AAE0 14820002 */ bne $a0, $v0, .L8026AAEC +/* 1993C4 8026AAE4 00000000 */ nop +/* 1993C8 8026AAE8 8E840148 */ lw $a0, 0x148($s4) +.L8026AAEC: +/* 1993CC 8026AAEC 0C09A75B */ jal get_actor +/* 1993D0 8026AAF0 00000000 */ nop +/* 1993D4 8026AAF4 8E450000 */ lw $a1, ($s2) +/* 1993D8 8026AAF8 26520004 */ addiu $s2, $s2, 4 +/* 1993DC 8026AAFC C4400144 */ lwc1 $f0, 0x144($v0) +/* 1993E0 8026AB00 C442014C */ lwc1 $f2, 0x14c($v0) +/* 1993E4 8026AB04 8E500000 */ lw $s0, ($s2) +/* 1993E8 8026AB08 4600010D */ trunc.w.s $f4, $f0 +/* 1993EC 8026AB0C 44062000 */ mfc1 $a2, $f4 +/* 1993F0 8026AB10 C4400148 */ lwc1 $f0, 0x148($v0) +/* 1993F4 8026AB14 8E520004 */ lw $s2, 4($s2) +/* 1993F8 8026AB18 4600010D */ trunc.w.s $f4, $f0 +/* 1993FC 8026AB1C 44112000 */ mfc1 $s1, $f4 +/* 199400 8026AB20 4600110D */ trunc.w.s $f4, $f2 +/* 199404 8026AB24 44132000 */ mfc1 $s3, $f4 +/* 199408 8026AB28 0C0B2026 */ jal set_variable +/* 19940C 8026AB2C 0280202D */ daddu $a0, $s4, $zero +/* 199410 8026AB30 0280202D */ daddu $a0, $s4, $zero +/* 199414 8026AB34 0200282D */ daddu $a1, $s0, $zero +/* 199418 8026AB38 0C0B2026 */ jal set_variable +/* 19941C 8026AB3C 0220302D */ daddu $a2, $s1, $zero +/* 199420 8026AB40 0280202D */ daddu $a0, $s4, $zero +/* 199424 8026AB44 0240282D */ daddu $a1, $s2, $zero +/* 199428 8026AB48 0C0B2026 */ jal set_variable +/* 19942C 8026AB4C 0260302D */ daddu $a2, $s3, $zero +/* 199430 8026AB50 8FBF0024 */ lw $ra, 0x24($sp) +/* 199434 8026AB54 8FB40020 */ lw $s4, 0x20($sp) +/* 199438 8026AB58 8FB3001C */ lw $s3, 0x1c($sp) +/* 19943C 8026AB5C 8FB20018 */ lw $s2, 0x18($sp) +/* 199440 8026AB60 8FB10014 */ lw $s1, 0x14($sp) +/* 199444 8026AB64 8FB00010 */ lw $s0, 0x10($sp) +/* 199448 8026AB68 24020002 */ addiu $v0, $zero, 2 +/* 19944C 8026AB6C 03E00008 */ jr $ra +/* 199450 8026AB70 27BD0028 */ addiu $sp, $sp, 0x28 + +GetPartOffset: +/* 199454 8026AB74 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 199458 8026AB78 AFB20018 */ sw $s2, 0x18($sp) +/* 19945C 8026AB7C 0080902D */ daddu $s2, $a0, $zero +/* 199460 8026AB80 AFBF0024 */ sw $ra, 0x24($sp) +/* 199464 8026AB84 AFB40020 */ sw $s4, 0x20($sp) +/* 199468 8026AB88 AFB3001C */ sw $s3, 0x1c($sp) +/* 19946C 8026AB8C AFB10014 */ sw $s1, 0x14($sp) +/* 199470 8026AB90 AFB00010 */ sw $s0, 0x10($sp) +/* 199474 8026AB94 8E51000C */ lw $s1, 0xc($s2) +/* 199478 8026AB98 8E250000 */ lw $a1, ($s1) +/* 19947C 8026AB9C 0C0B1EAF */ jal get_variable +/* 199480 8026ABA0 26310004 */ addiu $s1, $s1, 4 +/* 199484 8026ABA4 0040802D */ daddu $s0, $v0, $zero +/* 199488 8026ABA8 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19948C 8026ABAC 16020002 */ bne $s0, $v0, .L8026ABB8 +/* 199490 8026ABB0 00000000 */ nop +/* 199494 8026ABB4 8E500148 */ lw $s0, 0x148($s2) +.L8026ABB8: +/* 199498 8026ABB8 8E250000 */ lw $a1, ($s1) +/* 19949C 8026ABBC 26310004 */ addiu $s1, $s1, 4 +/* 1994A0 8026ABC0 0C0B1EAF */ jal get_variable +/* 1994A4 8026ABC4 0240202D */ daddu $a0, $s2, $zero +/* 1994A8 8026ABC8 0200202D */ daddu $a0, $s0, $zero +/* 1994AC 8026ABCC 0C09A75B */ jal get_actor +/* 1994B0 8026ABD0 0040802D */ daddu $s0, $v0, $zero +/* 1994B4 8026ABD4 0040202D */ daddu $a0, $v0, $zero +/* 1994B8 8026ABD8 0C099117 */ jal get_actor_part +/* 1994BC 8026ABDC 0200282D */ daddu $a1, $s0, $zero +/* 1994C0 8026ABE0 8E250000 */ lw $a1, ($s1) +/* 1994C4 8026ABE4 26310004 */ addiu $s1, $s1, 4 +/* 1994C8 8026ABE8 0040302D */ daddu $a2, $v0, $zero +/* 1994CC 8026ABEC 3C020010 */ lui $v0, 0x10 +/* 1994D0 8026ABF0 8CC30000 */ lw $v1, ($a2) +/* 1994D4 8026ABF4 8E330000 */ lw $s3, ($s1) +/* 1994D8 8026ABF8 8E340004 */ lw $s4, 4($s1) +/* 1994DC 8026ABFC 00621824 */ and $v1, $v1, $v0 +/* 1994E0 8026AC00 14600005 */ bnez $v1, .L8026AC18 +/* 1994E4 8026AC04 0240202D */ daddu $a0, $s2, $zero +/* 1994E8 8026AC08 84C20014 */ lh $v0, 0x14($a2) +/* 1994EC 8026AC0C 84D00016 */ lh $s0, 0x16($a2) +/* 1994F0 8026AC10 0809AB0F */ j func_8026AC3C +/* 1994F4 8026AC14 84D10018 */ lh $s1, 0x18($a2) + +.L8026AC18: +/* 1994F8 8026AC18 C4C0002C */ lwc1 $f0, 0x2c($a2) +/* 1994FC 8026AC1C 4600010D */ trunc.w.s $f4, $f0 +/* 199500 8026AC20 44022000 */ mfc1 $v0, $f4 +/* 199504 8026AC24 C4C00030 */ lwc1 $f0, 0x30($a2) +/* 199508 8026AC28 C4C20034 */ lwc1 $f2, 0x34($a2) +/* 19950C 8026AC2C 4600010D */ trunc.w.s $f4, $f0 +/* 199510 8026AC30 44102000 */ mfc1 $s0, $f4 +/* 199514 8026AC34 4600110D */ trunc.w.s $f4, $f2 +/* 199518 8026AC38 44112000 */ mfc1 $s1, $f4 +func_8026AC3C: +/* 19951C 8026AC3C 0C0B2026 */ jal set_variable +/* 199520 8026AC40 0040302D */ daddu $a2, $v0, $zero +/* 199524 8026AC44 0240202D */ daddu $a0, $s2, $zero +/* 199528 8026AC48 0260282D */ daddu $a1, $s3, $zero +/* 19952C 8026AC4C 0C0B2026 */ jal set_variable +/* 199530 8026AC50 0200302D */ daddu $a2, $s0, $zero +/* 199534 8026AC54 0240202D */ daddu $a0, $s2, $zero +/* 199538 8026AC58 0280282D */ daddu $a1, $s4, $zero +/* 19953C 8026AC5C 0C0B2026 */ jal set_variable +/* 199540 8026AC60 0220302D */ daddu $a2, $s1, $zero +/* 199544 8026AC64 8FBF0024 */ lw $ra, 0x24($sp) +/* 199548 8026AC68 8FB40020 */ lw $s4, 0x20($sp) +/* 19954C 8026AC6C 8FB3001C */ lw $s3, 0x1c($sp) +/* 199550 8026AC70 8FB20018 */ lw $s2, 0x18($sp) +/* 199554 8026AC74 8FB10014 */ lw $s1, 0x14($sp) +/* 199558 8026AC78 8FB00010 */ lw $s0, 0x10($sp) +/* 19955C 8026AC7C 24020002 */ addiu $v0, $zero, 2 +/* 199560 8026AC80 03E00008 */ jr $ra +/* 199564 8026AC84 27BD0028 */ addiu $sp, $sp, 0x28 + +GetPartPos: +/* 199568 8026AC88 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 19956C 8026AC8C AFB40020 */ sw $s4, 0x20($sp) +/* 199570 8026AC90 0080A02D */ daddu $s4, $a0, $zero +/* 199574 8026AC94 AFBF0024 */ sw $ra, 0x24($sp) +/* 199578 8026AC98 AFB3001C */ sw $s3, 0x1c($sp) +/* 19957C 8026AC9C AFB20018 */ sw $s2, 0x18($sp) +/* 199580 8026ACA0 AFB10014 */ sw $s1, 0x14($sp) +/* 199584 8026ACA4 AFB00010 */ sw $s0, 0x10($sp) +/* 199588 8026ACA8 8E92000C */ lw $s2, 0xc($s4) +/* 19958C 8026ACAC 8E450000 */ lw $a1, ($s2) +/* 199590 8026ACB0 0C0B1EAF */ jal get_variable +/* 199594 8026ACB4 26520004 */ addiu $s2, $s2, 4 +/* 199598 8026ACB8 0040802D */ daddu $s0, $v0, $zero +/* 19959C 8026ACBC 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1995A0 8026ACC0 16020002 */ bne $s0, $v0, .L8026ACCC +/* 1995A4 8026ACC4 00000000 */ nop +/* 1995A8 8026ACC8 8E900148 */ lw $s0, 0x148($s4) +.L8026ACCC: +/* 1995AC 8026ACCC 8E450000 */ lw $a1, ($s2) +/* 1995B0 8026ACD0 26520004 */ addiu $s2, $s2, 4 +/* 1995B4 8026ACD4 0C0B1EAF */ jal get_variable +/* 1995B8 8026ACD8 0280202D */ daddu $a0, $s4, $zero +/* 1995BC 8026ACDC 0200202D */ daddu $a0, $s0, $zero +/* 1995C0 8026ACE0 0C09A75B */ jal get_actor +/* 1995C4 8026ACE4 0040802D */ daddu $s0, $v0, $zero +/* 1995C8 8026ACE8 0040202D */ daddu $a0, $v0, $zero +/* 1995CC 8026ACEC 0C099117 */ jal get_actor_part +/* 1995D0 8026ACF0 0200282D */ daddu $a1, $s0, $zero +/* 1995D4 8026ACF4 8E450000 */ lw $a1, ($s2) +/* 1995D8 8026ACF8 26520004 */ addiu $s2, $s2, 4 +/* 1995DC 8026ACFC C4400058 */ lwc1 $f0, 0x58($v0) +/* 1995E0 8026AD00 C4420060 */ lwc1 $f2, 0x60($v0) +/* 1995E4 8026AD04 8E500000 */ lw $s0, ($s2) +/* 1995E8 8026AD08 4600010D */ trunc.w.s $f4, $f0 +/* 1995EC 8026AD0C 44062000 */ mfc1 $a2, $f4 +/* 1995F0 8026AD10 C440005C */ lwc1 $f0, 0x5c($v0) +/* 1995F4 8026AD14 8E520004 */ lw $s2, 4($s2) +/* 1995F8 8026AD18 4600010D */ trunc.w.s $f4, $f0 +/* 1995FC 8026AD1C 44112000 */ mfc1 $s1, $f4 +/* 199600 8026AD20 4600110D */ trunc.w.s $f4, $f2 +/* 199604 8026AD24 44132000 */ mfc1 $s3, $f4 +/* 199608 8026AD28 0C0B2026 */ jal set_variable +/* 19960C 8026AD2C 0280202D */ daddu $a0, $s4, $zero +/* 199610 8026AD30 0280202D */ daddu $a0, $s4, $zero +/* 199614 8026AD34 0200282D */ daddu $a1, $s0, $zero +/* 199618 8026AD38 0C0B2026 */ jal set_variable +/* 19961C 8026AD3C 0220302D */ daddu $a2, $s1, $zero +/* 199620 8026AD40 0280202D */ daddu $a0, $s4, $zero +/* 199624 8026AD44 0240282D */ daddu $a1, $s2, $zero +/* 199628 8026AD48 0C0B2026 */ jal set_variable +/* 19962C 8026AD4C 0260302D */ daddu $a2, $s3, $zero +/* 199630 8026AD50 8FBF0024 */ lw $ra, 0x24($sp) +/* 199634 8026AD54 8FB40020 */ lw $s4, 0x20($sp) +/* 199638 8026AD58 8FB3001C */ lw $s3, 0x1c($sp) +/* 19963C 8026AD5C 8FB20018 */ lw $s2, 0x18($sp) +/* 199640 8026AD60 8FB10014 */ lw $s1, 0x14($sp) +/* 199644 8026AD64 8FB00010 */ lw $s0, 0x10($sp) +/* 199648 8026AD68 24020002 */ addiu $v0, $zero, 2 +/* 19964C 8026AD6C 03E00008 */ jr $ra +/* 199650 8026AD70 27BD0028 */ addiu $sp, $sp, 0x28 + +GetHomePos: +/* 199654 8026AD74 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 199658 8026AD78 AFB40020 */ sw $s4, 0x20($sp) +/* 19965C 8026AD7C 0080A02D */ daddu $s4, $a0, $zero +/* 199660 8026AD80 AFBF0024 */ sw $ra, 0x24($sp) +/* 199664 8026AD84 AFB3001C */ sw $s3, 0x1c($sp) +/* 199668 8026AD88 AFB20018 */ sw $s2, 0x18($sp) +/* 19966C 8026AD8C AFB10014 */ sw $s1, 0x14($sp) +/* 199670 8026AD90 AFB00010 */ sw $s0, 0x10($sp) +/* 199674 8026AD94 8E92000C */ lw $s2, 0xc($s4) +/* 199678 8026AD98 8E450000 */ lw $a1, ($s2) +/* 19967C 8026AD9C 0C0B1EAF */ jal get_variable +/* 199680 8026ADA0 26520004 */ addiu $s2, $s2, 4 +/* 199684 8026ADA4 0040202D */ daddu $a0, $v0, $zero +/* 199688 8026ADA8 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19968C 8026ADAC 14820002 */ bne $a0, $v0, .L8026ADB8 +/* 199690 8026ADB0 00000000 */ nop +/* 199694 8026ADB4 8E840148 */ lw $a0, 0x148($s4) +.L8026ADB8: +/* 199698 8026ADB8 0C09A75B */ jal get_actor +/* 19969C 8026ADBC 00000000 */ nop +/* 1996A0 8026ADC0 8E450000 */ lw $a1, ($s2) +/* 1996A4 8026ADC4 26520004 */ addiu $s2, $s2, 4 +/* 1996A8 8026ADC8 C4400138 */ lwc1 $f0, 0x138($v0) +/* 1996AC 8026ADCC C4420140 */ lwc1 $f2, 0x140($v0) +/* 1996B0 8026ADD0 8E500000 */ lw $s0, ($s2) +/* 1996B4 8026ADD4 4600010D */ trunc.w.s $f4, $f0 +/* 1996B8 8026ADD8 44062000 */ mfc1 $a2, $f4 +/* 1996BC 8026ADDC C440013C */ lwc1 $f0, 0x13c($v0) +/* 1996C0 8026ADE0 8E520004 */ lw $s2, 4($s2) +/* 1996C4 8026ADE4 4600010D */ trunc.w.s $f4, $f0 +/* 1996C8 8026ADE8 44112000 */ mfc1 $s1, $f4 +/* 1996CC 8026ADEC 4600110D */ trunc.w.s $f4, $f2 +/* 1996D0 8026ADF0 44132000 */ mfc1 $s3, $f4 +/* 1996D4 8026ADF4 0C0B2026 */ jal set_variable +/* 1996D8 8026ADF8 0280202D */ daddu $a0, $s4, $zero +/* 1996DC 8026ADFC 0280202D */ daddu $a0, $s4, $zero +/* 1996E0 8026AE00 0200282D */ daddu $a1, $s0, $zero +/* 1996E4 8026AE04 0C0B2026 */ jal set_variable +/* 1996E8 8026AE08 0220302D */ daddu $a2, $s1, $zero +/* 1996EC 8026AE0C 0280202D */ daddu $a0, $s4, $zero +/* 1996F0 8026AE10 0240282D */ daddu $a1, $s2, $zero +/* 1996F4 8026AE14 0C0B2026 */ jal set_variable +/* 1996F8 8026AE18 0260302D */ daddu $a2, $s3, $zero +/* 1996FC 8026AE1C 8FBF0024 */ lw $ra, 0x24($sp) +/* 199700 8026AE20 8FB40020 */ lw $s4, 0x20($sp) +/* 199704 8026AE24 8FB3001C */ lw $s3, 0x1c($sp) +/* 199708 8026AE28 8FB20018 */ lw $s2, 0x18($sp) +/* 19970C 8026AE2C 8FB10014 */ lw $s1, 0x14($sp) +/* 199710 8026AE30 8FB00010 */ lw $s0, 0x10($sp) +/* 199714 8026AE34 24020002 */ addiu $v0, $zero, 2 +/* 199718 8026AE38 03E00008 */ jr $ra +/* 19971C 8026AE3C 27BD0028 */ addiu $sp, $sp, 0x28 + +SetActorPos: +/* 199720 8026AE40 27BDFFC8 */ addiu $sp, $sp, -0x38 +/* 199724 8026AE44 AFB20018 */ sw $s2, 0x18($sp) +/* 199728 8026AE48 0080902D */ daddu $s2, $a0, $zero +/* 19972C 8026AE4C AFBF001C */ sw $ra, 0x1c($sp) +/* 199730 8026AE50 AFB10014 */ sw $s1, 0x14($sp) +/* 199734 8026AE54 AFB00010 */ sw $s0, 0x10($sp) +/* 199738 8026AE58 F7B80030 */ sdc1 $f24, 0x30($sp) +/* 19973C 8026AE5C F7B60028 */ sdc1 $f22, 0x28($sp) +/* 199740 8026AE60 F7B40020 */ sdc1 $f20, 0x20($sp) +/* 199744 8026AE64 8E50000C */ lw $s0, 0xc($s2) +/* 199748 8026AE68 8E050000 */ lw $a1, ($s0) +/* 19974C 8026AE6C 0C0B1EAF */ jal get_variable +/* 199750 8026AE70 26100004 */ addiu $s0, $s0, 4 +/* 199754 8026AE74 0040882D */ daddu $s1, $v0, $zero +/* 199758 8026AE78 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19975C 8026AE7C 16220002 */ bne $s1, $v0, .L8026AE88 +/* 199760 8026AE80 00000000 */ nop +/* 199764 8026AE84 8E510148 */ lw $s1, 0x148($s2) +.L8026AE88: +/* 199768 8026AE88 8E050000 */ lw $a1, ($s0) +/* 19976C 8026AE8C 26100004 */ addiu $s0, $s0, 4 +/* 199770 8026AE90 0C0B1EAF */ jal get_variable +/* 199774 8026AE94 0240202D */ daddu $a0, $s2, $zero +/* 199778 8026AE98 8E050000 */ lw $a1, ($s0) +/* 19977C 8026AE9C 26100004 */ addiu $s0, $s0, 4 +/* 199780 8026AEA0 4482C000 */ mtc1 $v0, $f24 +/* 199784 8026AEA4 00000000 */ nop +/* 199788 8026AEA8 4680C620 */ cvt.s.w $f24, $f24 +/* 19978C 8026AEAC 0C0B1EAF */ jal get_variable +/* 199790 8026AEB0 0240202D */ daddu $a0, $s2, $zero +/* 199794 8026AEB4 8E050000 */ lw $a1, ($s0) +/* 199798 8026AEB8 4482B000 */ mtc1 $v0, $f22 +/* 19979C 8026AEBC 00000000 */ nop +/* 1997A0 8026AEC0 4680B5A0 */ cvt.s.w $f22, $f22 +/* 1997A4 8026AEC4 0C0B1EAF */ jal get_variable +/* 1997A8 8026AEC8 0240202D */ daddu $a0, $s2, $zero +/* 1997AC 8026AECC 4482A000 */ mtc1 $v0, $f20 +/* 1997B0 8026AED0 00000000 */ nop +/* 1997B4 8026AED4 4680A520 */ cvt.s.w $f20, $f20 +/* 1997B8 8026AED8 0C09A75B */ jal get_actor +/* 1997BC 8026AEDC 0220202D */ daddu $a0, $s1, $zero +/* 1997C0 8026AEE0 0040182D */ daddu $v1, $v0, $zero +/* 1997C4 8026AEE4 E4780144 */ swc1 $f24, 0x144($v1) +/* 1997C8 8026AEE8 E4760148 */ swc1 $f22, 0x148($v1) +/* 1997CC 8026AEEC E474014C */ swc1 $f20, 0x14c($v1) +/* 1997D0 8026AEF0 8FBF001C */ lw $ra, 0x1c($sp) +/* 1997D4 8026AEF4 8FB20018 */ lw $s2, 0x18($sp) +/* 1997D8 8026AEF8 8FB10014 */ lw $s1, 0x14($sp) +/* 1997DC 8026AEFC 8FB00010 */ lw $s0, 0x10($sp) +/* 1997E0 8026AF00 D7B80030 */ ldc1 $f24, 0x30($sp) +/* 1997E4 8026AF04 D7B60028 */ ldc1 $f22, 0x28($sp) +/* 1997E8 8026AF08 D7B40020 */ ldc1 $f20, 0x20($sp) +/* 1997EC 8026AF0C 24020002 */ addiu $v0, $zero, 2 +/* 1997F0 8026AF10 03E00008 */ jr $ra +/* 1997F4 8026AF14 27BD0038 */ addiu $sp, $sp, 0x38 + +SetPartPos: +/* 1997F8 8026AF18 27BDFFC0 */ addiu $sp, $sp, -0x40 +/* 1997FC 8026AF1C AFB10014 */ sw $s1, 0x14($sp) +/* 199800 8026AF20 0080882D */ daddu $s1, $a0, $zero +/* 199804 8026AF24 AFBF0020 */ sw $ra, 0x20($sp) +/* 199808 8026AF28 AFB3001C */ sw $s3, 0x1c($sp) +/* 19980C 8026AF2C AFB20018 */ sw $s2, 0x18($sp) +/* 199810 8026AF30 AFB00010 */ sw $s0, 0x10($sp) +/* 199814 8026AF34 F7B80038 */ sdc1 $f24, 0x38($sp) +/* 199818 8026AF38 F7B60030 */ sdc1 $f22, 0x30($sp) +/* 19981C 8026AF3C F7B40028 */ sdc1 $f20, 0x28($sp) +/* 199820 8026AF40 8E30000C */ lw $s0, 0xc($s1) +/* 199824 8026AF44 8E050000 */ lw $a1, ($s0) +/* 199828 8026AF48 0C0B1EAF */ jal get_variable +/* 19982C 8026AF4C 26100004 */ addiu $s0, $s0, 4 +/* 199830 8026AF50 0040902D */ daddu $s2, $v0, $zero +/* 199834 8026AF54 2402FF81 */ addiu $v0, $zero, -0x7f +/* 199838 8026AF58 16420002 */ bne $s2, $v0, .L8026AF64 +/* 19983C 8026AF5C 00000000 */ nop +/* 199840 8026AF60 8E320148 */ lw $s2, 0x148($s1) +.L8026AF64: +/* 199844 8026AF64 8E050000 */ lw $a1, ($s0) +/* 199848 8026AF68 26100004 */ addiu $s0, $s0, 4 +/* 19984C 8026AF6C 0C0B1EAF */ jal get_variable +/* 199850 8026AF70 0220202D */ daddu $a0, $s1, $zero +/* 199854 8026AF74 8E050000 */ lw $a1, ($s0) +/* 199858 8026AF78 26100004 */ addiu $s0, $s0, 4 +/* 19985C 8026AF7C 0220202D */ daddu $a0, $s1, $zero +/* 199860 8026AF80 0C0B1EAF */ jal get_variable +/* 199864 8026AF84 0040982D */ daddu $s3, $v0, $zero +/* 199868 8026AF88 8E050000 */ lw $a1, ($s0) +/* 19986C 8026AF8C 26100004 */ addiu $s0, $s0, 4 +/* 199870 8026AF90 4482A000 */ mtc1 $v0, $f20 +/* 199874 8026AF94 00000000 */ nop +/* 199878 8026AF98 4680A520 */ cvt.s.w $f20, $f20 +/* 19987C 8026AF9C 0C0B1EAF */ jal get_variable +/* 199880 8026AFA0 0220202D */ daddu $a0, $s1, $zero +/* 199884 8026AFA4 8E050000 */ lw $a1, ($s0) +/* 199888 8026AFA8 4482B000 */ mtc1 $v0, $f22 +/* 19988C 8026AFAC 00000000 */ nop +/* 199890 8026AFB0 4680B5A0 */ cvt.s.w $f22, $f22 +/* 199894 8026AFB4 0C0B1EAF */ jal get_variable +/* 199898 8026AFB8 0220202D */ daddu $a0, $s1, $zero +/* 19989C 8026AFBC 4482C000 */ mtc1 $v0, $f24 +/* 1998A0 8026AFC0 00000000 */ nop +/* 1998A4 8026AFC4 4680C620 */ cvt.s.w $f24, $f24 +/* 1998A8 8026AFC8 0C09A75B */ jal get_actor +/* 1998AC 8026AFCC 0240202D */ daddu $a0, $s2, $zero +/* 1998B0 8026AFD0 0040182D */ daddu $v1, $v0, $zero +/* 1998B4 8026AFD4 32440700 */ andi $a0, $s2, 0x700 +/* 1998B8 8026AFD8 24020100 */ addiu $v0, $zero, 0x100 +/* 1998BC 8026AFDC 1082000E */ beq $a0, $v0, .L8026B018 +/* 1998C0 8026AFE0 28820101 */ slti $v0, $a0, 0x101 +/* 1998C4 8026AFE4 10400005 */ beqz $v0, .L8026AFFC +/* 1998C8 8026AFE8 24020200 */ addiu $v0, $zero, 0x200 +/* 1998CC 8026AFEC 50800007 */ beql $a0, $zero, .L8026B00C +/* 1998D0 8026AFF0 E4740144 */ swc1 $f20, 0x144($v1) +/* 1998D4 8026AFF4 0809AC1D */ j func_8026B074 +/* 1998D8 8026AFF8 00000000 */ nop + +.L8026AFFC: +/* 1998DC 8026AFFC 10820007 */ beq $a0, $v0, .L8026B01C +/* 1998E0 8026B000 0060202D */ daddu $a0, $v1, $zero +/* 1998E4 8026B004 0809AC1D */ j func_8026B074 +/* 1998E8 8026B008 00000000 */ nop + +.L8026B00C: +/* 1998EC 8026B00C E4760148 */ swc1 $f22, 0x148($v1) +/* 1998F0 8026B010 0809AC1D */ j func_8026B074 +/* 1998F4 8026B014 E478014C */ swc1 $f24, 0x14c($v1) + +.L8026B018: +/* 1998F8 8026B018 0060202D */ daddu $a0, $v1, $zero +.L8026B01C: +/* 1998FC 8026B01C 0C099117 */ jal get_actor_part +/* 199900 8026B020 0260282D */ daddu $a1, $s3, $zero +/* 199904 8026B024 0040202D */ daddu $a0, $v0, $zero +/* 199908 8026B028 8C820000 */ lw $v0, ($a0) +/* 19990C 8026B02C 3C030010 */ lui $v1, 0x10 +/* 199910 8026B030 00431024 */ and $v0, $v0, $v1 +/* 199914 8026B034 5440000D */ bnezl $v0, .L8026B06C +/* 199918 8026B038 E494002C */ swc1 $f20, 0x2c($a0) +/* 19991C 8026B03C 4600A00D */ trunc.w.s $f0, $f20 +/* 199920 8026B040 44020000 */ mfc1 $v0, $f0 +/* 199924 8026B044 00000000 */ nop +/* 199928 8026B048 A4820014 */ sh $v0, 0x14($a0) +/* 19992C 8026B04C 4600B00D */ trunc.w.s $f0, $f22 +/* 199930 8026B050 44020000 */ mfc1 $v0, $f0 +/* 199934 8026B054 00000000 */ nop +/* 199938 8026B058 A4820016 */ sh $v0, 0x16($a0) +/* 19993C 8026B05C 4600C00D */ trunc.w.s $f0, $f24 +/* 199940 8026B060 44020000 */ mfc1 $v0, $f0 +/* 199944 8026B064 0809AC1D */ j func_8026B074 +/* 199948 8026B068 A4820018 */ sh $v0, 0x18($a0) + +.L8026B06C: +/* 19994C 8026B06C E4960030 */ swc1 $f22, 0x30($a0) +/* 199950 8026B070 E4980034 */ swc1 $f24, 0x34($a0) +func_8026B074: +/* 199954 8026B074 8FBF0020 */ lw $ra, 0x20($sp) +/* 199958 8026B078 8FB3001C */ lw $s3, 0x1c($sp) +/* 19995C 8026B07C 8FB20018 */ lw $s2, 0x18($sp) +/* 199960 8026B080 8FB10014 */ lw $s1, 0x14($sp) +/* 199964 8026B084 8FB00010 */ lw $s0, 0x10($sp) +/* 199968 8026B088 D7B80038 */ ldc1 $f24, 0x38($sp) +/* 19996C 8026B08C D7B60030 */ ldc1 $f22, 0x30($sp) +/* 199970 8026B090 D7B40028 */ ldc1 $f20, 0x28($sp) +/* 199974 8026B094 24020002 */ addiu $v0, $zero, 2 +/* 199978 8026B098 03E00008 */ jr $ra +/* 19997C 8026B09C 27BD0040 */ addiu $sp, $sp, 0x40 + +SetEnemyTargetOffset: +/* 199980 8026B0A0 27BDFFC8 */ addiu $sp, $sp, -0x38 +/* 199984 8026B0A4 AFB20018 */ sw $s2, 0x18($sp) +/* 199988 8026B0A8 0080902D */ daddu $s2, $a0, $zero +/* 19998C 8026B0AC AFBF0020 */ sw $ra, 0x20($sp) +/* 199990 8026B0B0 AFB3001C */ sw $s3, 0x1c($sp) +/* 199994 8026B0B4 AFB10014 */ sw $s1, 0x14($sp) +/* 199998 8026B0B8 AFB00010 */ sw $s0, 0x10($sp) +/* 19999C 8026B0BC F7B60030 */ sdc1 $f22, 0x30($sp) +/* 1999A0 8026B0C0 F7B40028 */ sdc1 $f20, 0x28($sp) +/* 1999A4 8026B0C4 8E50000C */ lw $s0, 0xc($s2) +/* 1999A8 8026B0C8 8E050000 */ lw $a1, ($s0) +/* 1999AC 8026B0CC 0C0B1EAF */ jal get_variable +/* 1999B0 8026B0D0 26100004 */ addiu $s0, $s0, 4 +/* 1999B4 8026B0D4 0040882D */ daddu $s1, $v0, $zero +/* 1999B8 8026B0D8 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1999BC 8026B0DC 16220002 */ bne $s1, $v0, .L8026B0E8 +/* 1999C0 8026B0E0 00000000 */ nop +/* 1999C4 8026B0E4 8E510148 */ lw $s1, 0x148($s2) +.L8026B0E8: +/* 1999C8 8026B0E8 8E050000 */ lw $a1, ($s0) +/* 1999CC 8026B0EC 26100004 */ addiu $s0, $s0, 4 +/* 1999D0 8026B0F0 0C0B1EAF */ jal get_variable +/* 1999D4 8026B0F4 0240202D */ daddu $a0, $s2, $zero +/* 1999D8 8026B0F8 8E050000 */ lw $a1, ($s0) +/* 1999DC 8026B0FC 26100004 */ addiu $s0, $s0, 4 +/* 1999E0 8026B100 0240202D */ daddu $a0, $s2, $zero +/* 1999E4 8026B104 0C0B1EAF */ jal get_variable +/* 1999E8 8026B108 0040982D */ daddu $s3, $v0, $zero +/* 1999EC 8026B10C 8E050000 */ lw $a1, ($s0) +/* 1999F0 8026B110 4482B000 */ mtc1 $v0, $f22 +/* 1999F4 8026B114 00000000 */ nop +/* 1999F8 8026B118 4680B5A0 */ cvt.s.w $f22, $f22 +/* 1999FC 8026B11C 0C0B1EAF */ jal get_variable +/* 199A00 8026B120 0240202D */ daddu $a0, $s2, $zero +/* 199A04 8026B124 4482A000 */ mtc1 $v0, $f20 +/* 199A08 8026B128 00000000 */ nop +/* 199A0C 8026B12C 4680A520 */ cvt.s.w $f20, $f20 +/* 199A10 8026B130 0C09A75B */ jal get_actor +/* 199A14 8026B134 0220202D */ daddu $a0, $s1, $zero +/* 199A18 8026B138 0040182D */ daddu $v1, $v0, $zero +/* 199A1C 8026B13C 32240700 */ andi $a0, $s1, 0x700 +/* 199A20 8026B140 24020100 */ addiu $v0, $zero, 0x100 +/* 199A24 8026B144 10820005 */ beq $a0, $v0, .L8026B15C +/* 199A28 8026B148 28820101 */ slti $v0, $a0, 0x101 +/* 199A2C 8026B14C 1440000E */ bnez $v0, .L8026B188 +/* 199A30 8026B150 24020200 */ addiu $v0, $zero, 0x200 +/* 199A34 8026B154 1482000C */ bne $a0, $v0, .L8026B188 +/* 199A38 8026B158 00000000 */ nop +.L8026B15C: +/* 199A3C 8026B15C 0060202D */ daddu $a0, $v1, $zero +/* 199A40 8026B160 0C099117 */ jal get_actor_part +/* 199A44 8026B164 0260282D */ daddu $a1, $s3, $zero +/* 199A48 8026B168 4600B00D */ trunc.w.s $f0, $f22 +/* 199A4C 8026B16C 44030000 */ mfc1 $v1, $f0 +/* 199A50 8026B170 00000000 */ nop +/* 199A54 8026B174 A443006C */ sh $v1, 0x6c($v0) +/* 199A58 8026B178 4600A00D */ trunc.w.s $f0, $f20 +/* 199A5C 8026B17C 44030000 */ mfc1 $v1, $f0 +/* 199A60 8026B180 00000000 */ nop +/* 199A64 8026B184 A443006E */ sh $v1, 0x6e($v0) +.L8026B188: +/* 199A68 8026B188 8FBF0020 */ lw $ra, 0x20($sp) +/* 199A6C 8026B18C 8FB3001C */ lw $s3, 0x1c($sp) +/* 199A70 8026B190 8FB20018 */ lw $s2, 0x18($sp) +/* 199A74 8026B194 8FB10014 */ lw $s1, 0x14($sp) +/* 199A78 8026B198 8FB00010 */ lw $s0, 0x10($sp) +/* 199A7C 8026B19C D7B60030 */ ldc1 $f22, 0x30($sp) +/* 199A80 8026B1A0 D7B40028 */ ldc1 $f20, 0x28($sp) +/* 199A84 8026B1A4 24020002 */ addiu $v0, $zero, 2 +/* 199A88 8026B1A8 03E00008 */ jr $ra +/* 199A8C 8026B1AC 27BD0038 */ addiu $sp, $sp, 0x38 + +SetAnimation: +/* 199A90 8026B1B0 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 199A94 8026B1B4 AFB20018 */ sw $s2, 0x18($sp) +/* 199A98 8026B1B8 0080902D */ daddu $s2, $a0, $zero +/* 199A9C 8026B1BC AFBF001C */ sw $ra, 0x1c($sp) +/* 199AA0 8026B1C0 AFB10014 */ sw $s1, 0x14($sp) +/* 199AA4 8026B1C4 AFB00010 */ sw $s0, 0x10($sp) +/* 199AA8 8026B1C8 8E50000C */ lw $s0, 0xc($s2) +/* 199AAC 8026B1CC 8E050000 */ lw $a1, ($s0) +/* 199AB0 8026B1D0 0C0B1EAF */ jal get_variable +/* 199AB4 8026B1D4 26100004 */ addiu $s0, $s0, 4 +/* 199AB8 8026B1D8 0040882D */ daddu $s1, $v0, $zero +/* 199ABC 8026B1DC 2402FF81 */ addiu $v0, $zero, -0x7f +/* 199AC0 8026B1E0 16220002 */ bne $s1, $v0, .L8026B1EC +/* 199AC4 8026B1E4 00000000 */ nop +/* 199AC8 8026B1E8 8E510148 */ lw $s1, 0x148($s2) +.L8026B1EC: +/* 199ACC 8026B1EC 8E050000 */ lw $a1, ($s0) +/* 199AD0 8026B1F0 26100004 */ addiu $s0, $s0, 4 +/* 199AD4 8026B1F4 0C0B1EAF */ jal get_variable +/* 199AD8 8026B1F8 0240202D */ daddu $a0, $s2, $zero +/* 199ADC 8026B1FC 0240202D */ daddu $a0, $s2, $zero +/* 199AE0 8026B200 8E050000 */ lw $a1, ($s0) +/* 199AE4 8026B204 0C0B1EAF */ jal get_variable +/* 199AE8 8026B208 0040802D */ daddu $s0, $v0, $zero +/* 199AEC 8026B20C 0220202D */ daddu $a0, $s1, $zero +/* 199AF0 8026B210 0200282D */ daddu $a1, $s0, $zero +/* 199AF4 8026B214 0C098F3F */ jal set_animation +/* 199AF8 8026B218 0040302D */ daddu $a2, $v0, $zero +/* 199AFC 8026B21C 8FBF001C */ lw $ra, 0x1c($sp) +/* 199B00 8026B220 8FB20018 */ lw $s2, 0x18($sp) +/* 199B04 8026B224 8FB10014 */ lw $s1, 0x14($sp) +/* 199B08 8026B228 8FB00010 */ lw $s0, 0x10($sp) +/* 199B0C 8026B22C 24020002 */ addiu $v0, $zero, 2 +/* 199B10 8026B230 03E00008 */ jr $ra +/* 199B14 8026B234 27BD0020 */ addiu $sp, $sp, 0x20 + +GetAnimation: +/* 199B18 8026B238 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 199B1C 8026B23C AFB20018 */ sw $s2, 0x18($sp) +/* 199B20 8026B240 0080902D */ daddu $s2, $a0, $zero +/* 199B24 8026B244 AFBF001C */ sw $ra, 0x1c($sp) +/* 199B28 8026B248 AFB10014 */ sw $s1, 0x14($sp) +/* 199B2C 8026B24C AFB00010 */ sw $s0, 0x10($sp) +/* 199B30 8026B250 8E51000C */ lw $s1, 0xc($s2) +/* 199B34 8026B254 8E250000 */ lw $a1, ($s1) +/* 199B38 8026B258 0C0B1EAF */ jal get_variable +/* 199B3C 8026B25C 26310004 */ addiu $s1, $s1, 4 +/* 199B40 8026B260 0040802D */ daddu $s0, $v0, $zero +/* 199B44 8026B264 2402FF81 */ addiu $v0, $zero, -0x7f +/* 199B48 8026B268 16020002 */ bne $s0, $v0, .L8026B274 +/* 199B4C 8026B26C 00000000 */ nop +/* 199B50 8026B270 8E500148 */ lw $s0, 0x148($s2) +.L8026B274: +/* 199B54 8026B274 8E250000 */ lw $a1, ($s1) +/* 199B58 8026B278 26310004 */ addiu $s1, $s1, 4 +/* 199B5C 8026B27C 0C0B1EAF */ jal get_variable +/* 199B60 8026B280 0240202D */ daddu $a0, $s2, $zero +/* 199B64 8026B284 0200202D */ daddu $a0, $s0, $zero +/* 199B68 8026B288 8E310000 */ lw $s1, ($s1) +/* 199B6C 8026B28C 0C09A75B */ jal get_actor +/* 199B70 8026B290 0040802D */ daddu $s0, $v0, $zero +/* 199B74 8026B294 0040202D */ daddu $a0, $v0, $zero +/* 199B78 8026B298 0C099117 */ jal get_actor_part +/* 199B7C 8026B29C 0200282D */ daddu $a1, $s0, $zero +/* 199B80 8026B2A0 10400004 */ beqz $v0, .L8026B2B4 +/* 199B84 8026B2A4 0240202D */ daddu $a0, $s2, $zero +/* 199B88 8026B2A8 8C460088 */ lw $a2, 0x88($v0) +/* 199B8C 8026B2AC 0C0B2026 */ jal set_variable +/* 199B90 8026B2B0 0220282D */ daddu $a1, $s1, $zero +.L8026B2B4: +/* 199B94 8026B2B4 8FBF001C */ lw $ra, 0x1c($sp) +/* 199B98 8026B2B8 8FB20018 */ lw $s2, 0x18($sp) +/* 199B9C 8026B2BC 8FB10014 */ lw $s1, 0x14($sp) +/* 199BA0 8026B2C0 8FB00010 */ lw $s0, 0x10($sp) +/* 199BA4 8026B2C4 24020002 */ addiu $v0, $zero, 2 +/* 199BA8 8026B2C8 03E00008 */ jr $ra +/* 199BAC 8026B2CC 27BD0020 */ addiu $sp, $sp, 0x20 + +SetAnimationRate: +/* 199BB0 8026B2D0 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 199BB4 8026B2D4 AFB20018 */ sw $s2, 0x18($sp) +/* 199BB8 8026B2D8 0080902D */ daddu $s2, $a0, $zero +/* 199BBC 8026B2DC AFBF001C */ sw $ra, 0x1c($sp) +/* 199BC0 8026B2E0 AFB10014 */ sw $s1, 0x14($sp) +/* 199BC4 8026B2E4 AFB00010 */ sw $s0, 0x10($sp) +/* 199BC8 8026B2E8 8E50000C */ lw $s0, 0xc($s2) +/* 199BCC 8026B2EC 8E050000 */ lw $a1, ($s0) +/* 199BD0 8026B2F0 0C0B1EAF */ jal get_variable +/* 199BD4 8026B2F4 26100004 */ addiu $s0, $s0, 4 +/* 199BD8 8026B2F8 0040882D */ daddu $s1, $v0, $zero +/* 199BDC 8026B2FC 2402FF81 */ addiu $v0, $zero, -0x7f +/* 199BE0 8026B300 16220002 */ bne $s1, $v0, .L8026B30C +/* 199BE4 8026B304 00000000 */ nop +/* 199BE8 8026B308 8E510148 */ lw $s1, 0x148($s2) +.L8026B30C: +/* 199BEC 8026B30C 8E050000 */ lw $a1, ($s0) +/* 199BF0 8026B310 26100004 */ addiu $s0, $s0, 4 +/* 199BF4 8026B314 0C0B1EAF */ jal get_variable +/* 199BF8 8026B318 0240202D */ daddu $a0, $s2, $zero +/* 199BFC 8026B31C 0240202D */ daddu $a0, $s2, $zero +/* 199C00 8026B320 8E050000 */ lw $a1, ($s0) +/* 199C04 8026B324 0C0B210B */ jal get_float_variable +/* 199C08 8026B328 0040802D */ daddu $s0, $v0, $zero +/* 199C0C 8026B32C 0220202D */ daddu $a0, $s1, $zero +/* 199C10 8026B330 44060000 */ mfc1 $a2, $f0 +/* 199C14 8026B334 0C098FAE */ jal set_animation_rate +/* 199C18 8026B338 0200282D */ daddu $a1, $s0, $zero +/* 199C1C 8026B33C 8FBF001C */ lw $ra, 0x1c($sp) +/* 199C20 8026B340 8FB20018 */ lw $s2, 0x18($sp) +/* 199C24 8026B344 8FB10014 */ lw $s1, 0x14($sp) +/* 199C28 8026B348 8FB00010 */ lw $s0, 0x10($sp) +/* 199C2C 8026B34C 24020002 */ addiu $v0, $zero, 2 +/* 199C30 8026B350 03E00008 */ jr $ra +/* 199C34 8026B354 27BD0020 */ addiu $sp, $sp, 0x20 + +SetActorYaw: +/* 199C38 8026B358 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 199C3C 8026B35C AFB20018 */ sw $s2, 0x18($sp) +/* 199C40 8026B360 0080902D */ daddu $s2, $a0, $zero +/* 199C44 8026B364 AFBF001C */ sw $ra, 0x1c($sp) +/* 199C48 8026B368 AFB10014 */ sw $s1, 0x14($sp) +/* 199C4C 8026B36C AFB00010 */ sw $s0, 0x10($sp) +/* 199C50 8026B370 8E51000C */ lw $s1, 0xc($s2) +/* 199C54 8026B374 8E250000 */ lw $a1, ($s1) +/* 199C58 8026B378 0C0B1EAF */ jal get_variable +/* 199C5C 8026B37C 26310004 */ addiu $s1, $s1, 4 +/* 199C60 8026B380 0040802D */ daddu $s0, $v0, $zero +/* 199C64 8026B384 2402FF81 */ addiu $v0, $zero, -0x7f +/* 199C68 8026B388 16020002 */ bne $s0, $v0, .L8026B394 +/* 199C6C 8026B38C 00000000 */ nop +/* 199C70 8026B390 8E500148 */ lw $s0, 0x148($s2) +.L8026B394: +/* 199C74 8026B394 8E250000 */ lw $a1, ($s1) +/* 199C78 8026B398 0C0B1EAF */ jal get_variable +/* 199C7C 8026B39C 0240202D */ daddu $a0, $s2, $zero +/* 199C80 8026B3A0 0200202D */ daddu $a0, $s0, $zero +/* 199C84 8026B3A4 0C098FDA */ jal set_actor_yaw +/* 199C88 8026B3A8 0040282D */ daddu $a1, $v0, $zero +/* 199C8C 8026B3AC 8FBF001C */ lw $ra, 0x1c($sp) +/* 199C90 8026B3B0 8FB20018 */ lw $s2, 0x18($sp) +/* 199C94 8026B3B4 8FB10014 */ lw $s1, 0x14($sp) +/* 199C98 8026B3B8 8FB00010 */ lw $s0, 0x10($sp) +/* 199C9C 8026B3BC 24020002 */ addiu $v0, $zero, 2 +/* 199CA0 8026B3C0 03E00008 */ jr $ra +/* 199CA4 8026B3C4 27BD0020 */ addiu $sp, $sp, 0x20 + +GetActorYaw: +/* 199CA8 8026B3C8 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 199CAC 8026B3CC AFB10014 */ sw $s1, 0x14($sp) +/* 199CB0 8026B3D0 0080882D */ daddu $s1, $a0, $zero +/* 199CB4 8026B3D4 AFBF0018 */ sw $ra, 0x18($sp) +/* 199CB8 8026B3D8 AFB00010 */ sw $s0, 0x10($sp) +/* 199CBC 8026B3DC 8E30000C */ lw $s0, 0xc($s1) +/* 199CC0 8026B3E0 8E050000 */ lw $a1, ($s0) +/* 199CC4 8026B3E4 0C0B1EAF */ jal get_variable +/* 199CC8 8026B3E8 26100004 */ addiu $s0, $s0, 4 +/* 199CCC 8026B3EC 0040202D */ daddu $a0, $v0, $zero +/* 199CD0 8026B3F0 2402FF81 */ addiu $v0, $zero, -0x7f +/* 199CD4 8026B3F4 14820002 */ bne $a0, $v0, .L8026B400 +/* 199CD8 8026B3F8 00000000 */ nop +/* 199CDC 8026B3FC 8E240148 */ lw $a0, 0x148($s1) +.L8026B400: +/* 199CE0 8026B400 0C09A75B */ jal get_actor +/* 199CE4 8026B404 8E100000 */ lw $s0, ($s0) +/* 199CE8 8026B408 0220202D */ daddu $a0, $s1, $zero +/* 199CEC 8026B40C C440018C */ lwc1 $f0, 0x18c($v0) +/* 199CF0 8026B410 4600008D */ trunc.w.s $f2, $f0 +/* 199CF4 8026B414 44061000 */ mfc1 $a2, $f2 +/* 199CF8 8026B418 0C0B2026 */ jal set_variable +/* 199CFC 8026B41C 0200282D */ daddu $a1, $s0, $zero +/* 199D00 8026B420 8FBF0018 */ lw $ra, 0x18($sp) +/* 199D04 8026B424 8FB10014 */ lw $s1, 0x14($sp) +/* 199D08 8026B428 8FB00010 */ lw $s0, 0x10($sp) +/* 199D0C 8026B42C 24020002 */ addiu $v0, $zero, 2 +/* 199D10 8026B430 03E00008 */ jr $ra +/* 199D14 8026B434 27BD0020 */ addiu $sp, $sp, 0x20 + +SetPartYaw: +/* 199D18 8026B438 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 199D1C 8026B43C AFB20018 */ sw $s2, 0x18($sp) +/* 199D20 8026B440 0080902D */ daddu $s2, $a0, $zero +/* 199D24 8026B444 AFBF001C */ sw $ra, 0x1c($sp) +/* 199D28 8026B448 AFB10014 */ sw $s1, 0x14($sp) +/* 199D2C 8026B44C AFB00010 */ sw $s0, 0x10($sp) +/* 199D30 8026B450 8E50000C */ lw $s0, 0xc($s2) +/* 199D34 8026B454 8E050000 */ lw $a1, ($s0) +/* 199D38 8026B458 0C0B1EAF */ jal get_variable +/* 199D3C 8026B45C 26100004 */ addiu $s0, $s0, 4 +/* 199D40 8026B460 0040882D */ daddu $s1, $v0, $zero +/* 199D44 8026B464 2402FF81 */ addiu $v0, $zero, -0x7f +/* 199D48 8026B468 16220002 */ bne $s1, $v0, .L8026B474 +/* 199D4C 8026B46C 00000000 */ nop +/* 199D50 8026B470 8E510148 */ lw $s1, 0x148($s2) +.L8026B474: +/* 199D54 8026B474 8E050000 */ lw $a1, ($s0) +/* 199D58 8026B478 26100004 */ addiu $s0, $s0, 4 +/* 199D5C 8026B47C 0C0B1EAF */ jal get_variable +/* 199D60 8026B480 0240202D */ daddu $a0, $s2, $zero +/* 199D64 8026B484 0240202D */ daddu $a0, $s2, $zero +/* 199D68 8026B488 8E050000 */ lw $a1, ($s0) +/* 199D6C 8026B48C 0C0B1EAF */ jal get_variable +/* 199D70 8026B490 0040802D */ daddu $s0, $v0, $zero +/* 199D74 8026B494 0220202D */ daddu $a0, $s1, $zero +/* 199D78 8026B498 0200282D */ daddu $a1, $s0, $zero +/* 199D7C 8026B49C 0C098FE7 */ jal set_part_yaw +/* 199D80 8026B4A0 0040302D */ daddu $a2, $v0, $zero +/* 199D84 8026B4A4 8FBF001C */ lw $ra, 0x1c($sp) +/* 199D88 8026B4A8 8FB20018 */ lw $s2, 0x18($sp) +/* 199D8C 8026B4AC 8FB10014 */ lw $s1, 0x14($sp) +/* 199D90 8026B4B0 8FB00010 */ lw $s0, 0x10($sp) +/* 199D94 8026B4B4 24020002 */ addiu $v0, $zero, 2 +/* 199D98 8026B4B8 03E00008 */ jr $ra +/* 199D9C 8026B4BC 27BD0020 */ addiu $sp, $sp, 0x20 + +GetPartYaw: +/* 199DA0 8026B4C0 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 199DA4 8026B4C4 AFB20018 */ sw $s2, 0x18($sp) +/* 199DA8 8026B4C8 0080902D */ daddu $s2, $a0, $zero +/* 199DAC 8026B4CC AFBF001C */ sw $ra, 0x1c($sp) +/* 199DB0 8026B4D0 AFB10014 */ sw $s1, 0x14($sp) +/* 199DB4 8026B4D4 AFB00010 */ sw $s0, 0x10($sp) +/* 199DB8 8026B4D8 8E51000C */ lw $s1, 0xc($s2) +/* 199DBC 8026B4DC 8E250000 */ lw $a1, ($s1) +/* 199DC0 8026B4E0 0C0B1EAF */ jal get_variable +/* 199DC4 8026B4E4 26310004 */ addiu $s1, $s1, 4 +/* 199DC8 8026B4E8 0040802D */ daddu $s0, $v0, $zero +/* 199DCC 8026B4EC 2402FF81 */ addiu $v0, $zero, -0x7f +/* 199DD0 8026B4F0 16020002 */ bne $s0, $v0, .L8026B4FC +/* 199DD4 8026B4F4 00000000 */ nop +/* 199DD8 8026B4F8 8E500148 */ lw $s0, 0x148($s2) +.L8026B4FC: +/* 199DDC 8026B4FC 8E250000 */ lw $a1, ($s1) +/* 199DE0 8026B500 26310004 */ addiu $s1, $s1, 4 +/* 199DE4 8026B504 0C0B1EAF */ jal get_variable +/* 199DE8 8026B508 0240202D */ daddu $a0, $s2, $zero +/* 199DEC 8026B50C 0200202D */ daddu $a0, $s0, $zero +/* 199DF0 8026B510 8E310000 */ lw $s1, ($s1) +/* 199DF4 8026B514 0C09A75B */ jal get_actor +/* 199DF8 8026B518 0040802D */ daddu $s0, $v0, $zero +/* 199DFC 8026B51C 0040202D */ daddu $a0, $v0, $zero +/* 199E00 8026B520 0C099117 */ jal get_actor_part +/* 199E04 8026B524 0200282D */ daddu $a1, $s0, $zero +/* 199E08 8026B528 0240202D */ daddu $a0, $s2, $zero +/* 199E0C 8026B52C C4400064 */ lwc1 $f0, 0x64($v0) +/* 199E10 8026B530 4600008D */ trunc.w.s $f2, $f0 +/* 199E14 8026B534 44061000 */ mfc1 $a2, $f2 +/* 199E18 8026B538 0C0B2026 */ jal set_variable +/* 199E1C 8026B53C 0220282D */ daddu $a1, $s1, $zero +/* 199E20 8026B540 8FBF001C */ lw $ra, 0x1c($sp) +/* 199E24 8026B544 8FB20018 */ lw $s2, 0x18($sp) +/* 199E28 8026B548 8FB10014 */ lw $s1, 0x14($sp) +/* 199E2C 8026B54C 8FB00010 */ lw $s0, 0x10($sp) +/* 199E30 8026B550 24020002 */ addiu $v0, $zero, 2 +/* 199E34 8026B554 03E00008 */ jr $ra +/* 199E38 8026B558 27BD0020 */ addiu $sp, $sp, 0x20 + +SetActorJumpGravity: +/* 199E3C 8026B55C 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 199E40 8026B560 AFB20018 */ sw $s2, 0x18($sp) +/* 199E44 8026B564 0080902D */ daddu $s2, $a0, $zero +/* 199E48 8026B568 AFBF001C */ sw $ra, 0x1c($sp) +/* 199E4C 8026B56C AFB10014 */ sw $s1, 0x14($sp) +/* 199E50 8026B570 AFB00010 */ sw $s0, 0x10($sp) +/* 199E54 8026B574 F7B40020 */ sdc1 $f20, 0x20($sp) +/* 199E58 8026B578 8E51000C */ lw $s1, 0xc($s2) +/* 199E5C 8026B57C 8E250000 */ lw $a1, ($s1) +/* 199E60 8026B580 0C0B1EAF */ jal get_variable +/* 199E64 8026B584 26310004 */ addiu $s1, $s1, 4 +/* 199E68 8026B588 0040802D */ daddu $s0, $v0, $zero +/* 199E6C 8026B58C 2402FF81 */ addiu $v0, $zero, -0x7f +/* 199E70 8026B590 16020002 */ bne $s0, $v0, .L8026B59C +/* 199E74 8026B594 00000000 */ nop +/* 199E78 8026B598 8E500148 */ lw $s0, 0x148($s2) +.L8026B59C: +/* 199E7C 8026B59C 8E250000 */ lw $a1, ($s1) +/* 199E80 8026B5A0 0C0B210B */ jal get_float_variable +/* 199E84 8026B5A4 0240202D */ daddu $a0, $s2, $zero +/* 199E88 8026B5A8 0200202D */ daddu $a0, $s0, $zero +/* 199E8C 8026B5AC 0C09A75B */ jal get_actor +/* 199E90 8026B5B0 46000506 */ mov.s $f20, $f0 +/* 199E94 8026B5B4 E4540048 */ swc1 $f20, 0x48($v0) +/* 199E98 8026B5B8 8FBF001C */ lw $ra, 0x1c($sp) +/* 199E9C 8026B5BC 8FB20018 */ lw $s2, 0x18($sp) +/* 199EA0 8026B5C0 8FB10014 */ lw $s1, 0x14($sp) +/* 199EA4 8026B5C4 8FB00010 */ lw $s0, 0x10($sp) +/* 199EA8 8026B5C8 D7B40020 */ ldc1 $f20, 0x20($sp) +/* 199EAC 8026B5CC 24020002 */ addiu $v0, $zero, 2 +/* 199EB0 8026B5D0 03E00008 */ jr $ra +/* 199EB4 8026B5D4 27BD0028 */ addiu $sp, $sp, 0x28 + +SetActorIdleJumpGravity: +/* 199EB8 8026B5D8 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 199EBC 8026B5DC AFB20018 */ sw $s2, 0x18($sp) +/* 199EC0 8026B5E0 0080902D */ daddu $s2, $a0, $zero +/* 199EC4 8026B5E4 AFBF001C */ sw $ra, 0x1c($sp) +/* 199EC8 8026B5E8 AFB10014 */ sw $s1, 0x14($sp) +/* 199ECC 8026B5EC AFB00010 */ sw $s0, 0x10($sp) +/* 199ED0 8026B5F0 F7B40020 */ sdc1 $f20, 0x20($sp) +/* 199ED4 8026B5F4 8E51000C */ lw $s1, 0xc($s2) +/* 199ED8 8026B5F8 8E250000 */ lw $a1, ($s1) +/* 199EDC 8026B5FC 0C0B1EAF */ jal get_variable +/* 199EE0 8026B600 26310004 */ addiu $s1, $s1, 4 +/* 199EE4 8026B604 0040802D */ daddu $s0, $v0, $zero +/* 199EE8 8026B608 2402FF81 */ addiu $v0, $zero, -0x7f +/* 199EEC 8026B60C 16020002 */ bne $s0, $v0, .L8026B618 +/* 199EF0 8026B610 00000000 */ nop +/* 199EF4 8026B614 8E500148 */ lw $s0, 0x148($s2) +.L8026B618: +/* 199EF8 8026B618 8E250000 */ lw $a1, ($s1) +/* 199EFC 8026B61C 0C0B210B */ jal get_float_variable +/* 199F00 8026B620 0240202D */ daddu $a0, $s2, $zero +/* 199F04 8026B624 0200202D */ daddu $a0, $s0, $zero +/* 199F08 8026B628 0C09A75B */ jal get_actor +/* 199F0C 8026B62C 46000506 */ mov.s $f20, $f0 +/* 199F10 8026B630 E4540104 */ swc1 $f20, 0x104($v0) +/* 199F14 8026B634 8FBF001C */ lw $ra, 0x1c($sp) +/* 199F18 8026B638 8FB20018 */ lw $s2, 0x18($sp) +/* 199F1C 8026B63C 8FB10014 */ lw $s1, 0x14($sp) +/* 199F20 8026B640 8FB00010 */ lw $s0, 0x10($sp) +/* 199F24 8026B644 D7B40020 */ ldc1 $f20, 0x20($sp) +/* 199F28 8026B648 24020002 */ addiu $v0, $zero, 2 +/* 199F2C 8026B64C 03E00008 */ jr $ra +/* 199F30 8026B650 27BD0028 */ addiu $sp, $sp, 0x28 + +SetActorSpeed: +/* 199F34 8026B654 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 199F38 8026B658 AFB20018 */ sw $s2, 0x18($sp) +/* 199F3C 8026B65C 0080902D */ daddu $s2, $a0, $zero +/* 199F40 8026B660 AFBF001C */ sw $ra, 0x1c($sp) +/* 199F44 8026B664 AFB10014 */ sw $s1, 0x14($sp) +/* 199F48 8026B668 AFB00010 */ sw $s0, 0x10($sp) +/* 199F4C 8026B66C F7B40020 */ sdc1 $f20, 0x20($sp) +/* 199F50 8026B670 8E51000C */ lw $s1, 0xc($s2) +/* 199F54 8026B674 8E250000 */ lw $a1, ($s1) +/* 199F58 8026B678 0C0B1EAF */ jal get_variable +/* 199F5C 8026B67C 26310004 */ addiu $s1, $s1, 4 +/* 199F60 8026B680 0040802D */ daddu $s0, $v0, $zero +/* 199F64 8026B684 2402FF81 */ addiu $v0, $zero, -0x7f +/* 199F68 8026B688 16020002 */ bne $s0, $v0, .L8026B694 +/* 199F6C 8026B68C 00000000 */ nop +/* 199F70 8026B690 8E500148 */ lw $s0, 0x148($s2) +.L8026B694: +/* 199F74 8026B694 8E250000 */ lw $a1, ($s1) +/* 199F78 8026B698 0C0B210B */ jal get_float_variable +/* 199F7C 8026B69C 0240202D */ daddu $a0, $s2, $zero +/* 199F80 8026B6A0 0200202D */ daddu $a0, $s0, $zero +/* 199F84 8026B6A4 0C09A75B */ jal get_actor +/* 199F88 8026B6A8 46000506 */ mov.s $f20, $f0 +/* 199F8C 8026B6AC E454004C */ swc1 $f20, 0x4c($v0) +/* 199F90 8026B6B0 8FBF001C */ lw $ra, 0x1c($sp) +/* 199F94 8026B6B4 8FB20018 */ lw $s2, 0x18($sp) +/* 199F98 8026B6B8 8FB10014 */ lw $s1, 0x14($sp) +/* 199F9C 8026B6BC 8FB00010 */ lw $s0, 0x10($sp) +/* 199FA0 8026B6C0 D7B40020 */ ldc1 $f20, 0x20($sp) +/* 199FA4 8026B6C4 24020002 */ addiu $v0, $zero, 2 +/* 199FA8 8026B6C8 03E00008 */ jr $ra +/* 199FAC 8026B6CC 27BD0028 */ addiu $sp, $sp, 0x28 + +SetActorIdleSpeed: +/* 199FB0 8026B6D0 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 199FB4 8026B6D4 AFB20018 */ sw $s2, 0x18($sp) +/* 199FB8 8026B6D8 0080902D */ daddu $s2, $a0, $zero +/* 199FBC 8026B6DC AFBF001C */ sw $ra, 0x1c($sp) +/* 199FC0 8026B6E0 AFB10014 */ sw $s1, 0x14($sp) +/* 199FC4 8026B6E4 AFB00010 */ sw $s0, 0x10($sp) +/* 199FC8 8026B6E8 F7B40020 */ sdc1 $f20, 0x20($sp) +/* 199FCC 8026B6EC 8E51000C */ lw $s1, 0xc($s2) +/* 199FD0 8026B6F0 8E250000 */ lw $a1, ($s1) +/* 199FD4 8026B6F4 0C0B1EAF */ jal get_variable +/* 199FD8 8026B6F8 26310004 */ addiu $s1, $s1, 4 +/* 199FDC 8026B6FC 0040802D */ daddu $s0, $v0, $zero +/* 199FE0 8026B700 2402FF81 */ addiu $v0, $zero, -0x7f +/* 199FE4 8026B704 16020002 */ bne $s0, $v0, .L8026B710 +/* 199FE8 8026B708 00000000 */ nop +/* 199FEC 8026B70C 8E500148 */ lw $s0, 0x148($s2) +.L8026B710: +/* 199FF0 8026B710 8E250000 */ lw $a1, ($s1) +/* 199FF4 8026B714 0C0B210B */ jal get_float_variable +/* 199FF8 8026B718 0240202D */ daddu $a0, $s2, $zero +/* 199FFC 8026B71C 0200202D */ daddu $a0, $s0, $zero +/* 19A000 8026B720 0C09A75B */ jal get_actor +/* 19A004 8026B724 46000506 */ mov.s $f20, $f0 +/* 19A008 8026B728 E4540108 */ swc1 $f20, 0x108($v0) +/* 19A00C 8026B72C 8FBF001C */ lw $ra, 0x1c($sp) +/* 19A010 8026B730 8FB20018 */ lw $s2, 0x18($sp) +/* 19A014 8026B734 8FB10014 */ lw $s1, 0x14($sp) +/* 19A018 8026B738 8FB00010 */ lw $s0, 0x10($sp) +/* 19A01C 8026B73C D7B40020 */ ldc1 $f20, 0x20($sp) +/* 19A020 8026B740 24020002 */ addiu $v0, $zero, 2 +/* 19A024 8026B744 03E00008 */ jr $ra +/* 19A028 8026B748 27BD0028 */ addiu $sp, $sp, 0x28 + +SetPartJumpGravity: +/* 19A02C 8026B74C 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 19A030 8026B750 AFB20018 */ sw $s2, 0x18($sp) +/* 19A034 8026B754 0080902D */ daddu $s2, $a0, $zero +/* 19A038 8026B758 AFBF001C */ sw $ra, 0x1c($sp) +/* 19A03C 8026B75C AFB10014 */ sw $s1, 0x14($sp) +/* 19A040 8026B760 AFB00010 */ sw $s0, 0x10($sp) +/* 19A044 8026B764 F7B40020 */ sdc1 $f20, 0x20($sp) +/* 19A048 8026B768 8E50000C */ lw $s0, 0xc($s2) +/* 19A04C 8026B76C 8E050000 */ lw $a1, ($s0) +/* 19A050 8026B770 0C0B1EAF */ jal get_variable +/* 19A054 8026B774 26100004 */ addiu $s0, $s0, 4 +/* 19A058 8026B778 0040882D */ daddu $s1, $v0, $zero +/* 19A05C 8026B77C 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19A060 8026B780 16220002 */ bne $s1, $v0, .L8026B78C +/* 19A064 8026B784 00000000 */ nop +/* 19A068 8026B788 8E510148 */ lw $s1, 0x148($s2) +.L8026B78C: +/* 19A06C 8026B78C 8E050000 */ lw $a1, ($s0) +/* 19A070 8026B790 26100004 */ addiu $s0, $s0, 4 +/* 19A074 8026B794 0C0B1EAF */ jal get_variable +/* 19A078 8026B798 0240202D */ daddu $a0, $s2, $zero +/* 19A07C 8026B79C 0240202D */ daddu $a0, $s2, $zero +/* 19A080 8026B7A0 8E050000 */ lw $a1, ($s0) +/* 19A084 8026B7A4 0C0B210B */ jal get_float_variable +/* 19A088 8026B7A8 0040802D */ daddu $s0, $v0, $zero +/* 19A08C 8026B7AC 0220202D */ daddu $a0, $s1, $zero +/* 19A090 8026B7B0 0C09A75B */ jal get_actor +/* 19A094 8026B7B4 46000506 */ mov.s $f20, $f0 +/* 19A098 8026B7B8 0040202D */ daddu $a0, $v0, $zero +/* 19A09C 8026B7BC 0C099117 */ jal get_actor_part +/* 19A0A0 8026B7C0 0200282D */ daddu $a1, $s0, $zero +/* 19A0A4 8026B7C4 8C430010 */ lw $v1, 0x10($v0) +/* 19A0A8 8026B7C8 E4740024 */ swc1 $f20, 0x24($v1) +/* 19A0AC 8026B7CC 8FBF001C */ lw $ra, 0x1c($sp) +/* 19A0B0 8026B7D0 8FB20018 */ lw $s2, 0x18($sp) +/* 19A0B4 8026B7D4 8FB10014 */ lw $s1, 0x14($sp) +/* 19A0B8 8026B7D8 8FB00010 */ lw $s0, 0x10($sp) +/* 19A0BC 8026B7DC D7B40020 */ ldc1 $f20, 0x20($sp) +/* 19A0C0 8026B7E0 24020002 */ addiu $v0, $zero, 2 +/* 19A0C4 8026B7E4 03E00008 */ jr $ra +/* 19A0C8 8026B7E8 27BD0028 */ addiu $sp, $sp, 0x28 + +SetPartMoveSpeed: +/* 19A0CC 8026B7EC 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 19A0D0 8026B7F0 AFB20018 */ sw $s2, 0x18($sp) +/* 19A0D4 8026B7F4 0080902D */ daddu $s2, $a0, $zero +/* 19A0D8 8026B7F8 AFBF001C */ sw $ra, 0x1c($sp) +/* 19A0DC 8026B7FC AFB10014 */ sw $s1, 0x14($sp) +/* 19A0E0 8026B800 AFB00010 */ sw $s0, 0x10($sp) +/* 19A0E4 8026B804 F7B40020 */ sdc1 $f20, 0x20($sp) +/* 19A0E8 8026B808 8E50000C */ lw $s0, 0xc($s2) +/* 19A0EC 8026B80C 8E050000 */ lw $a1, ($s0) +/* 19A0F0 8026B810 0C0B1EAF */ jal get_variable +/* 19A0F4 8026B814 26100004 */ addiu $s0, $s0, 4 +/* 19A0F8 8026B818 0040882D */ daddu $s1, $v0, $zero +/* 19A0FC 8026B81C 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19A100 8026B820 16220002 */ bne $s1, $v0, .L8026B82C +/* 19A104 8026B824 00000000 */ nop +/* 19A108 8026B828 8E510148 */ lw $s1, 0x148($s2) +.L8026B82C: +/* 19A10C 8026B82C 8E050000 */ lw $a1, ($s0) +/* 19A110 8026B830 26100004 */ addiu $s0, $s0, 4 +/* 19A114 8026B834 0C0B1EAF */ jal get_variable +/* 19A118 8026B838 0240202D */ daddu $a0, $s2, $zero +/* 19A11C 8026B83C 0240202D */ daddu $a0, $s2, $zero +/* 19A120 8026B840 8E050000 */ lw $a1, ($s0) +/* 19A124 8026B844 0C0B210B */ jal get_float_variable +/* 19A128 8026B848 0040802D */ daddu $s0, $v0, $zero +/* 19A12C 8026B84C 0220202D */ daddu $a0, $s1, $zero +/* 19A130 8026B850 0C09A75B */ jal get_actor +/* 19A134 8026B854 46000506 */ mov.s $f20, $f0 +/* 19A138 8026B858 0040202D */ daddu $a0, $v0, $zero +/* 19A13C 8026B85C 0C099117 */ jal get_actor_part +/* 19A140 8026B860 0200282D */ daddu $a1, $s0, $zero +/* 19A144 8026B864 8C430010 */ lw $v1, 0x10($v0) +/* 19A148 8026B868 E4740028 */ swc1 $f20, 0x28($v1) +/* 19A14C 8026B86C 8FBF001C */ lw $ra, 0x1c($sp) +/* 19A150 8026B870 8FB20018 */ lw $s2, 0x18($sp) +/* 19A154 8026B874 8FB10014 */ lw $s1, 0x14($sp) +/* 19A158 8026B878 8FB00010 */ lw $s0, 0x10($sp) +/* 19A15C 8026B87C D7B40020 */ ldc1 $f20, 0x20($sp) +/* 19A160 8026B880 24020002 */ addiu $v0, $zero, 2 +/* 19A164 8026B884 03E00008 */ jr $ra +/* 19A168 8026B888 27BD0028 */ addiu $sp, $sp, 0x28 + +SetJumpAnimations: +/* 19A16C 8026B88C 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 19A170 8026B890 AFB10014 */ sw $s1, 0x14($sp) +/* 19A174 8026B894 0080882D */ daddu $s1, $a0, $zero +/* 19A178 8026B898 AFBF0020 */ sw $ra, 0x20($sp) +/* 19A17C 8026B89C AFB3001C */ sw $s3, 0x1c($sp) +/* 19A180 8026B8A0 AFB20018 */ sw $s2, 0x18($sp) +/* 19A184 8026B8A4 AFB00010 */ sw $s0, 0x10($sp) +/* 19A188 8026B8A8 8E32000C */ lw $s2, 0xc($s1) +/* 19A18C 8026B8AC 8E450000 */ lw $a1, ($s2) +/* 19A190 8026B8B0 0C0B1EAF */ jal get_variable +/* 19A194 8026B8B4 26520004 */ addiu $s2, $s2, 4 +/* 19A198 8026B8B8 0040802D */ daddu $s0, $v0, $zero +/* 19A19C 8026B8BC 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19A1A0 8026B8C0 16020002 */ bne $s0, $v0, .L8026B8CC +/* 19A1A4 8026B8C4 00000000 */ nop +/* 19A1A8 8026B8C8 8E300148 */ lw $s0, 0x148($s1) +.L8026B8CC: +/* 19A1AC 8026B8CC 8E450000 */ lw $a1, ($s2) +/* 19A1B0 8026B8D0 26520004 */ addiu $s2, $s2, 4 +/* 19A1B4 8026B8D4 0C0B1EAF */ jal get_variable +/* 19A1B8 8026B8D8 0220202D */ daddu $a0, $s1, $zero +/* 19A1BC 8026B8DC 8E530000 */ lw $s3, ($s2) +/* 19A1C0 8026B8E0 26520004 */ addiu $s2, $s2, 4 +/* 19A1C4 8026B8E4 0200202D */ daddu $a0, $s0, $zero +/* 19A1C8 8026B8E8 8E510000 */ lw $s1, ($s2) +/* 19A1CC 8026B8EC 8E520004 */ lw $s2, 4($s2) +/* 19A1D0 8026B8F0 0C09A75B */ jal get_actor +/* 19A1D4 8026B8F4 0040802D */ daddu $s0, $v0, $zero +/* 19A1D8 8026B8F8 0040182D */ daddu $v1, $v0, $zero +/* 19A1DC 8026B8FC A0700077 */ sb $s0, 0x77($v1) +/* 19A1E0 8026B900 AC730064 */ sw $s3, 0x64($v1) +/* 19A1E4 8026B904 AC710068 */ sw $s1, 0x68($v1) +/* 19A1E8 8026B908 AC72006C */ sw $s2, 0x6c($v1) +/* 19A1EC 8026B90C 8FBF0020 */ lw $ra, 0x20($sp) +/* 19A1F0 8026B910 8FB3001C */ lw $s3, 0x1c($sp) +/* 19A1F4 8026B914 8FB20018 */ lw $s2, 0x18($sp) +/* 19A1F8 8026B918 8FB10014 */ lw $s1, 0x14($sp) +/* 19A1FC 8026B91C 8FB00010 */ lw $s0, 0x10($sp) +/* 19A200 8026B920 24020002 */ addiu $v0, $zero, 2 +/* 19A204 8026B924 03E00008 */ jr $ra +/* 19A208 8026B928 27BD0028 */ addiu $sp, $sp, 0x28 + +AddActorPos: +/* 19A20C 8026B92C 27BDFFC8 */ addiu $sp, $sp, -0x38 +/* 19A210 8026B930 AFB20018 */ sw $s2, 0x18($sp) +/* 19A214 8026B934 0080902D */ daddu $s2, $a0, $zero +/* 19A218 8026B938 AFBF001C */ sw $ra, 0x1c($sp) +/* 19A21C 8026B93C AFB10014 */ sw $s1, 0x14($sp) +/* 19A220 8026B940 AFB00010 */ sw $s0, 0x10($sp) +/* 19A224 8026B944 F7B80030 */ sdc1 $f24, 0x30($sp) +/* 19A228 8026B948 F7B60028 */ sdc1 $f22, 0x28($sp) +/* 19A22C 8026B94C F7B40020 */ sdc1 $f20, 0x20($sp) +/* 19A230 8026B950 8E50000C */ lw $s0, 0xc($s2) +/* 19A234 8026B954 8E050000 */ lw $a1, ($s0) +/* 19A238 8026B958 0C0B1EAF */ jal get_variable +/* 19A23C 8026B95C 26100004 */ addiu $s0, $s0, 4 +/* 19A240 8026B960 0040882D */ daddu $s1, $v0, $zero +/* 19A244 8026B964 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19A248 8026B968 16220002 */ bne $s1, $v0, .L8026B974 +/* 19A24C 8026B96C 00000000 */ nop +/* 19A250 8026B970 8E510148 */ lw $s1, 0x148($s2) +.L8026B974: +/* 19A254 8026B974 8E050000 */ lw $a1, ($s0) +/* 19A258 8026B978 26100004 */ addiu $s0, $s0, 4 +/* 19A25C 8026B97C 0C0B210B */ jal get_float_variable +/* 19A260 8026B980 0240202D */ daddu $a0, $s2, $zero +/* 19A264 8026B984 8E050000 */ lw $a1, ($s0) +/* 19A268 8026B988 26100004 */ addiu $s0, $s0, 4 +/* 19A26C 8026B98C 0240202D */ daddu $a0, $s2, $zero +/* 19A270 8026B990 0C0B210B */ jal get_float_variable +/* 19A274 8026B994 46000606 */ mov.s $f24, $f0 +/* 19A278 8026B998 0240202D */ daddu $a0, $s2, $zero +/* 19A27C 8026B99C 8E050000 */ lw $a1, ($s0) +/* 19A280 8026B9A0 0C0B210B */ jal get_float_variable +/* 19A284 8026B9A4 46000506 */ mov.s $f20, $f0 +/* 19A288 8026B9A8 0220202D */ daddu $a0, $s1, $zero +/* 19A28C 8026B9AC 0C09A75B */ jal get_actor +/* 19A290 8026B9B0 46000586 */ mov.s $f22, $f0 +/* 19A294 8026B9B4 0040182D */ daddu $v1, $v0, $zero +/* 19A298 8026B9B8 C4640144 */ lwc1 $f4, 0x144($v1) +/* 19A29C 8026B9BC 46182100 */ add.s $f4, $f4, $f24 +/* 19A2A0 8026B9C0 C4620148 */ lwc1 $f2, 0x148($v1) +/* 19A2A4 8026B9C4 46141080 */ add.s $f2, $f2, $f20 +/* 19A2A8 8026B9C8 C460014C */ lwc1 $f0, 0x14c($v1) +/* 19A2AC 8026B9CC 46160000 */ add.s $f0, $f0, $f22 +/* 19A2B0 8026B9D0 E4640144 */ swc1 $f4, 0x144($v1) +/* 19A2B4 8026B9D4 E4620148 */ swc1 $f2, 0x148($v1) +/* 19A2B8 8026B9D8 E460014C */ swc1 $f0, 0x14c($v1) +/* 19A2BC 8026B9DC 8FBF001C */ lw $ra, 0x1c($sp) +/* 19A2C0 8026B9E0 8FB20018 */ lw $s2, 0x18($sp) +/* 19A2C4 8026B9E4 8FB10014 */ lw $s1, 0x14($sp) +/* 19A2C8 8026B9E8 8FB00010 */ lw $s0, 0x10($sp) +/* 19A2CC 8026B9EC D7B80030 */ ldc1 $f24, 0x30($sp) +/* 19A2D0 8026B9F0 D7B60028 */ ldc1 $f22, 0x28($sp) +/* 19A2D4 8026B9F4 D7B40020 */ ldc1 $f20, 0x20($sp) +/* 19A2D8 8026B9F8 24020002 */ addiu $v0, $zero, 2 +/* 19A2DC 8026B9FC 03E00008 */ jr $ra +/* 19A2E0 8026BA00 27BD0038 */ addiu $sp, $sp, 0x38 + +SetActorDispOffset: +/* 19A2E4 8026BA04 27BDFFC8 */ addiu $sp, $sp, -0x38 +/* 19A2E8 8026BA08 AFB20018 */ sw $s2, 0x18($sp) +/* 19A2EC 8026BA0C 0080902D */ daddu $s2, $a0, $zero +/* 19A2F0 8026BA10 AFBF001C */ sw $ra, 0x1c($sp) +/* 19A2F4 8026BA14 AFB10014 */ sw $s1, 0x14($sp) +/* 19A2F8 8026BA18 AFB00010 */ sw $s0, 0x10($sp) +/* 19A2FC 8026BA1C F7B80030 */ sdc1 $f24, 0x30($sp) +/* 19A300 8026BA20 F7B60028 */ sdc1 $f22, 0x28($sp) +/* 19A304 8026BA24 F7B40020 */ sdc1 $f20, 0x20($sp) +/* 19A308 8026BA28 8E50000C */ lw $s0, 0xc($s2) +/* 19A30C 8026BA2C 8E050000 */ lw $a1, ($s0) +/* 19A310 8026BA30 0C0B1EAF */ jal get_variable +/* 19A314 8026BA34 26100004 */ addiu $s0, $s0, 4 +/* 19A318 8026BA38 0040882D */ daddu $s1, $v0, $zero +/* 19A31C 8026BA3C 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19A320 8026BA40 16220002 */ bne $s1, $v0, .L8026BA4C +/* 19A324 8026BA44 00000000 */ nop +/* 19A328 8026BA48 8E510148 */ lw $s1, 0x148($s2) +.L8026BA4C: +/* 19A32C 8026BA4C 8E050000 */ lw $a1, ($s0) +/* 19A330 8026BA50 26100004 */ addiu $s0, $s0, 4 +/* 19A334 8026BA54 0C0B210B */ jal get_float_variable +/* 19A338 8026BA58 0240202D */ daddu $a0, $s2, $zero +/* 19A33C 8026BA5C 8E050000 */ lw $a1, ($s0) +/* 19A340 8026BA60 26100004 */ addiu $s0, $s0, 4 +/* 19A344 8026BA64 0240202D */ daddu $a0, $s2, $zero +/* 19A348 8026BA68 0C0B210B */ jal get_float_variable +/* 19A34C 8026BA6C 46000606 */ mov.s $f24, $f0 +/* 19A350 8026BA70 0240202D */ daddu $a0, $s2, $zero +/* 19A354 8026BA74 8E050000 */ lw $a1, ($s0) +/* 19A358 8026BA78 0C0B210B */ jal get_float_variable +/* 19A35C 8026BA7C 46000586 */ mov.s $f22, $f0 +/* 19A360 8026BA80 0220202D */ daddu $a0, $s1, $zero +/* 19A364 8026BA84 0C09A75B */ jal get_actor +/* 19A368 8026BA88 46000506 */ mov.s $f20, $f0 +/* 19A36C 8026BA8C 0040202D */ daddu $a0, $v0, $zero +/* 19A370 8026BA90 4600C08D */ trunc.w.s $f2, $f24 +/* 19A374 8026BA94 44031000 */ mfc1 $v1, $f2 +/* 19A378 8026BA98 00000000 */ nop +/* 19A37C 8026BA9C A4830150 */ sh $v1, 0x150($a0) +/* 19A380 8026BAA0 4600B08D */ trunc.w.s $f2, $f22 +/* 19A384 8026BAA4 44031000 */ mfc1 $v1, $f2 +/* 19A388 8026BAA8 00000000 */ nop +/* 19A38C 8026BAAC A4830152 */ sh $v1, 0x152($a0) +/* 19A390 8026BAB0 4600A08D */ trunc.w.s $f2, $f20 +/* 19A394 8026BAB4 44031000 */ mfc1 $v1, $f2 +/* 19A398 8026BAB8 00000000 */ nop +/* 19A39C 8026BABC A4830154 */ sh $v1, 0x154($a0) +/* 19A3A0 8026BAC0 8FBF001C */ lw $ra, 0x1c($sp) +/* 19A3A4 8026BAC4 8FB20018 */ lw $s2, 0x18($sp) +/* 19A3A8 8026BAC8 8FB10014 */ lw $s1, 0x14($sp) +/* 19A3AC 8026BACC 8FB00010 */ lw $s0, 0x10($sp) +/* 19A3B0 8026BAD0 D7B80030 */ ldc1 $f24, 0x30($sp) +/* 19A3B4 8026BAD4 D7B60028 */ ldc1 $f22, 0x28($sp) +/* 19A3B8 8026BAD8 D7B40020 */ ldc1 $f20, 0x20($sp) +/* 19A3BC 8026BADC 24020002 */ addiu $v0, $zero, 2 +/* 19A3C0 8026BAE0 03E00008 */ jr $ra +/* 19A3C4 8026BAE4 27BD0038 */ addiu $sp, $sp, 0x38 + +GetPartDispOffset: +/* 19A3C8 8026BAE8 27BDFFC8 */ addiu $sp, $sp, -0x38 +/* 19A3CC 8026BAEC AFB20018 */ sw $s2, 0x18($sp) +/* 19A3D0 8026BAF0 0080902D */ daddu $s2, $a0, $zero +/* 19A3D4 8026BAF4 AFBF0024 */ sw $ra, 0x24($sp) +/* 19A3D8 8026BAF8 AFB40020 */ sw $s4, 0x20($sp) +/* 19A3DC 8026BAFC AFB3001C */ sw $s3, 0x1c($sp) +/* 19A3E0 8026BB00 AFB10014 */ sw $s1, 0x14($sp) +/* 19A3E4 8026BB04 AFB00010 */ sw $s0, 0x10($sp) +/* 19A3E8 8026BB08 F7B60030 */ sdc1 $f22, 0x30($sp) +/* 19A3EC 8026BB0C F7B40028 */ sdc1 $f20, 0x28($sp) +/* 19A3F0 8026BB10 8E51000C */ lw $s1, 0xc($s2) +/* 19A3F4 8026BB14 8E250000 */ lw $a1, ($s1) +/* 19A3F8 8026BB18 0C0B1EAF */ jal get_variable +/* 19A3FC 8026BB1C 26310004 */ addiu $s1, $s1, 4 +/* 19A400 8026BB20 0040802D */ daddu $s0, $v0, $zero +/* 19A404 8026BB24 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19A408 8026BB28 16020002 */ bne $s0, $v0, .L8026BB34 +/* 19A40C 8026BB2C 00000000 */ nop +/* 19A410 8026BB30 8E500148 */ lw $s0, 0x148($s2) +.L8026BB34: +/* 19A414 8026BB34 8E250000 */ lw $a1, ($s1) +/* 19A418 8026BB38 26310004 */ addiu $s1, $s1, 4 +/* 19A41C 8026BB3C 0C0B1EAF */ jal get_variable +/* 19A420 8026BB40 0240202D */ daddu $a0, $s2, $zero +/* 19A424 8026BB44 8E330000 */ lw $s3, ($s1) +/* 19A428 8026BB48 26310004 */ addiu $s1, $s1, 4 +/* 19A42C 8026BB4C 0200202D */ daddu $a0, $s0, $zero +/* 19A430 8026BB50 8E340000 */ lw $s4, ($s1) +/* 19A434 8026BB54 8E310004 */ lw $s1, 4($s1) +/* 19A438 8026BB58 0C09A75B */ jal get_actor +/* 19A43C 8026BB5C 0040802D */ daddu $s0, $v0, $zero +/* 19A440 8026BB60 0040202D */ daddu $a0, $v0, $zero +/* 19A444 8026BB64 0C099117 */ jal get_actor_part +/* 19A448 8026BB68 0200282D */ daddu $a1, $s0, $zero +/* 19A44C 8026BB6C 0040202D */ daddu $a0, $v0, $zero +/* 19A450 8026BB70 8C820000 */ lw $v0, ($a0) +/* 19A454 8026BB74 3C030010 */ lui $v1, 0x10 +/* 19A458 8026BB78 00431024 */ and $v0, $v0, $v1 +/* 19A45C 8026BB7C 14400008 */ bnez $v0, .L8026BBA0 +/* 19A460 8026BB80 00000000 */ nop +/* 19A464 8026BB84 84820014 */ lh $v0, 0x14($a0) +/* 19A468 8026BB88 84830018 */ lh $v1, 0x18($a0) +/* 19A46C 8026BB8C 44820000 */ mtc1 $v0, $f0 +/* 19A470 8026BB90 00000000 */ nop +/* 19A474 8026BB94 46800020 */ cvt.s.w $f0, $f0 +/* 19A478 8026BB98 0809AEEE */ j func_8026BBB8 +/* 19A47C 8026BB9C 84820016 */ lh $v0, 0x16($a0) + +.L8026BBA0: +/* 19A480 8026BBA0 8482001A */ lh $v0, 0x1a($a0) +/* 19A484 8026BBA4 8483001E */ lh $v1, 0x1e($a0) +/* 19A488 8026BBA8 44820000 */ mtc1 $v0, $f0 +/* 19A48C 8026BBAC 00000000 */ nop +/* 19A490 8026BBB0 46800020 */ cvt.s.w $f0, $f0 +/* 19A494 8026BBB4 8482001C */ lh $v0, 0x1c($a0) +func_8026BBB8: +/* 19A498 8026BBB8 4483B000 */ mtc1 $v1, $f22 +/* 19A49C 8026BBBC 00000000 */ nop +/* 19A4A0 8026BBC0 4680B5A0 */ cvt.s.w $f22, $f22 +/* 19A4A4 8026BBC4 4482A000 */ mtc1 $v0, $f20 +/* 19A4A8 8026BBC8 00000000 */ nop +/* 19A4AC 8026BBCC 4680A520 */ cvt.s.w $f20, $f20 +/* 19A4B0 8026BBD0 0240202D */ daddu $a0, $s2, $zero +/* 19A4B4 8026BBD4 4600008D */ trunc.w.s $f2, $f0 +/* 19A4B8 8026BBD8 44061000 */ mfc1 $a2, $f2 +/* 19A4BC 8026BBDC 0C0B2026 */ jal set_variable +/* 19A4C0 8026BBE0 0260282D */ daddu $a1, $s3, $zero +/* 19A4C4 8026BBE4 0240202D */ daddu $a0, $s2, $zero +/* 19A4C8 8026BBE8 4600A08D */ trunc.w.s $f2, $f20 +/* 19A4CC 8026BBEC 44061000 */ mfc1 $a2, $f2 +/* 19A4D0 8026BBF0 0C0B2026 */ jal set_variable +/* 19A4D4 8026BBF4 0280282D */ daddu $a1, $s4, $zero +/* 19A4D8 8026BBF8 0240202D */ daddu $a0, $s2, $zero +/* 19A4DC 8026BBFC 4600B08D */ trunc.w.s $f2, $f22 +/* 19A4E0 8026BC00 44061000 */ mfc1 $a2, $f2 +/* 19A4E4 8026BC04 0C0B2026 */ jal set_variable +/* 19A4E8 8026BC08 0220282D */ daddu $a1, $s1, $zero +/* 19A4EC 8026BC0C 8FBF0024 */ lw $ra, 0x24($sp) +/* 19A4F0 8026BC10 8FB40020 */ lw $s4, 0x20($sp) +/* 19A4F4 8026BC14 8FB3001C */ lw $s3, 0x1c($sp) +/* 19A4F8 8026BC18 8FB20018 */ lw $s2, 0x18($sp) +/* 19A4FC 8026BC1C 8FB10014 */ lw $s1, 0x14($sp) +/* 19A500 8026BC20 8FB00010 */ lw $s0, 0x10($sp) +/* 19A504 8026BC24 D7B60030 */ ldc1 $f22, 0x30($sp) +/* 19A508 8026BC28 D7B40028 */ ldc1 $f20, 0x28($sp) +/* 19A50C 8026BC2C 24020002 */ addiu $v0, $zero, 2 +/* 19A510 8026BC30 03E00008 */ jr $ra +/* 19A514 8026BC34 27BD0038 */ addiu $sp, $sp, 0x38 + +SetPartDispOffset: +/* 19A518 8026BC38 27BDFFC0 */ addiu $sp, $sp, -0x40 +/* 19A51C 8026BC3C AFB20018 */ sw $s2, 0x18($sp) +/* 19A520 8026BC40 0080902D */ daddu $s2, $a0, $zero +/* 19A524 8026BC44 AFBF0020 */ sw $ra, 0x20($sp) +/* 19A528 8026BC48 AFB3001C */ sw $s3, 0x1c($sp) +/* 19A52C 8026BC4C AFB10014 */ sw $s1, 0x14($sp) +/* 19A530 8026BC50 AFB00010 */ sw $s0, 0x10($sp) +/* 19A534 8026BC54 F7B80038 */ sdc1 $f24, 0x38($sp) +/* 19A538 8026BC58 F7B60030 */ sdc1 $f22, 0x30($sp) +/* 19A53C 8026BC5C F7B40028 */ sdc1 $f20, 0x28($sp) +/* 19A540 8026BC60 8E51000C */ lw $s1, 0xc($s2) +/* 19A544 8026BC64 8E250000 */ lw $a1, ($s1) +/* 19A548 8026BC68 0C0B1EAF */ jal get_variable +/* 19A54C 8026BC6C 26310004 */ addiu $s1, $s1, 4 +/* 19A550 8026BC70 0040982D */ daddu $s3, $v0, $zero +/* 19A554 8026BC74 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19A558 8026BC78 16620002 */ bne $s3, $v0, .L8026BC84 +/* 19A55C 8026BC7C 00000000 */ nop +/* 19A560 8026BC80 8E530148 */ lw $s3, 0x148($s2) +.L8026BC84: +/* 19A564 8026BC84 8E250000 */ lw $a1, ($s1) +/* 19A568 8026BC88 26310004 */ addiu $s1, $s1, 4 +/* 19A56C 8026BC8C 0C0B1EAF */ jal get_variable +/* 19A570 8026BC90 0240202D */ daddu $a0, $s2, $zero +/* 19A574 8026BC94 8E250000 */ lw $a1, ($s1) +/* 19A578 8026BC98 26310004 */ addiu $s1, $s1, 4 +/* 19A57C 8026BC9C 0240202D */ daddu $a0, $s2, $zero +/* 19A580 8026BCA0 0C0B210B */ jal get_float_variable +/* 19A584 8026BCA4 0040802D */ daddu $s0, $v0, $zero +/* 19A588 8026BCA8 8E250000 */ lw $a1, ($s1) +/* 19A58C 8026BCAC 26310004 */ addiu $s1, $s1, 4 +/* 19A590 8026BCB0 0240202D */ daddu $a0, $s2, $zero +/* 19A594 8026BCB4 0C0B210B */ jal get_float_variable +/* 19A598 8026BCB8 46000506 */ mov.s $f20, $f0 +/* 19A59C 8026BCBC 0240202D */ daddu $a0, $s2, $zero +/* 19A5A0 8026BCC0 8E250000 */ lw $a1, ($s1) +/* 19A5A4 8026BCC4 0C0B210B */ jal get_float_variable +/* 19A5A8 8026BCC8 46000586 */ mov.s $f22, $f0 +/* 19A5AC 8026BCCC 0260202D */ daddu $a0, $s3, $zero +/* 19A5B0 8026BCD0 0C09A75B */ jal get_actor +/* 19A5B4 8026BCD4 46000606 */ mov.s $f24, $f0 +/* 19A5B8 8026BCD8 0040202D */ daddu $a0, $v0, $zero +/* 19A5BC 8026BCDC 0C099117 */ jal get_actor_part +/* 19A5C0 8026BCE0 0200282D */ daddu $a1, $s0, $zero +/* 19A5C4 8026BCE4 0040202D */ daddu $a0, $v0, $zero +/* 19A5C8 8026BCE8 8C820000 */ lw $v0, ($a0) +/* 19A5CC 8026BCEC 3C030010 */ lui $v1, 0x10 +/* 19A5D0 8026BCF0 00431024 */ and $v0, $v0, $v1 +/* 19A5D4 8026BCF4 1440000D */ bnez $v0, .L8026BD2C +/* 19A5D8 8026BCF8 00000000 */ nop +/* 19A5DC 8026BCFC 4600A08D */ trunc.w.s $f2, $f20 +/* 19A5E0 8026BD00 44021000 */ mfc1 $v0, $f2 +/* 19A5E4 8026BD04 00000000 */ nop +/* 19A5E8 8026BD08 A4820014 */ sh $v0, 0x14($a0) +/* 19A5EC 8026BD0C 4600B08D */ trunc.w.s $f2, $f22 +/* 19A5F0 8026BD10 44021000 */ mfc1 $v0, $f2 +/* 19A5F4 8026BD14 00000000 */ nop +/* 19A5F8 8026BD18 A4820016 */ sh $v0, 0x16($a0) +/* 19A5FC 8026BD1C 4600C08D */ trunc.w.s $f2, $f24 +/* 19A600 8026BD20 44021000 */ mfc1 $v0, $f2 +/* 19A604 8026BD24 0809AF57 */ j func_8026BD5C +/* 19A608 8026BD28 A4820018 */ sh $v0, 0x18($a0) + +.L8026BD2C: +/* 19A60C 8026BD2C 4600A08D */ trunc.w.s $f2, $f20 +/* 19A610 8026BD30 44021000 */ mfc1 $v0, $f2 +/* 19A614 8026BD34 00000000 */ nop +/* 19A618 8026BD38 A482001A */ sh $v0, 0x1a($a0) +/* 19A61C 8026BD3C 4600B08D */ trunc.w.s $f2, $f22 +/* 19A620 8026BD40 44021000 */ mfc1 $v0, $f2 +/* 19A624 8026BD44 00000000 */ nop +/* 19A628 8026BD48 A482001C */ sh $v0, 0x1c($a0) +/* 19A62C 8026BD4C 4600C08D */ trunc.w.s $f2, $f24 +/* 19A630 8026BD50 44021000 */ mfc1 $v0, $f2 +/* 19A634 8026BD54 00000000 */ nop +/* 19A638 8026BD58 A482001E */ sh $v0, 0x1e($a0) +func_8026BD5C: +/* 19A63C 8026BD5C 8FBF0020 */ lw $ra, 0x20($sp) +/* 19A640 8026BD60 8FB3001C */ lw $s3, 0x1c($sp) +/* 19A644 8026BD64 8FB20018 */ lw $s2, 0x18($sp) +/* 19A648 8026BD68 8FB10014 */ lw $s1, 0x14($sp) +/* 19A64C 8026BD6C 8FB00010 */ lw $s0, 0x10($sp) +/* 19A650 8026BD70 D7B80038 */ ldc1 $f24, 0x38($sp) +/* 19A654 8026BD74 D7B60030 */ ldc1 $f22, 0x30($sp) +/* 19A658 8026BD78 D7B40028 */ ldc1 $f20, 0x28($sp) +/* 19A65C 8026BD7C 24020002 */ addiu $v0, $zero, 2 +/* 19A660 8026BD80 03E00008 */ jr $ra +/* 19A664 8026BD84 27BD0040 */ addiu $sp, $sp, 0x40 + +AddPartDispOffset: +/* 19A668 8026BD88 27BDFFC0 */ addiu $sp, $sp, -0x40 +/* 19A66C 8026BD8C AFB20018 */ sw $s2, 0x18($sp) +/* 19A670 8026BD90 0080902D */ daddu $s2, $a0, $zero +/* 19A674 8026BD94 AFBF0020 */ sw $ra, 0x20($sp) +/* 19A678 8026BD98 AFB3001C */ sw $s3, 0x1c($sp) +/* 19A67C 8026BD9C AFB10014 */ sw $s1, 0x14($sp) +/* 19A680 8026BDA0 AFB00010 */ sw $s0, 0x10($sp) +/* 19A684 8026BDA4 F7B80038 */ sdc1 $f24, 0x38($sp) +/* 19A688 8026BDA8 F7B60030 */ sdc1 $f22, 0x30($sp) +/* 19A68C 8026BDAC F7B40028 */ sdc1 $f20, 0x28($sp) +/* 19A690 8026BDB0 8E51000C */ lw $s1, 0xc($s2) +/* 19A694 8026BDB4 8E250000 */ lw $a1, ($s1) +/* 19A698 8026BDB8 0C0B1EAF */ jal get_variable +/* 19A69C 8026BDBC 26310004 */ addiu $s1, $s1, 4 +/* 19A6A0 8026BDC0 0040982D */ daddu $s3, $v0, $zero +/* 19A6A4 8026BDC4 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19A6A8 8026BDC8 16620002 */ bne $s3, $v0, .L8026BDD4 +/* 19A6AC 8026BDCC 00000000 */ nop +/* 19A6B0 8026BDD0 8E530148 */ lw $s3, 0x148($s2) +.L8026BDD4: +/* 19A6B4 8026BDD4 8E250000 */ lw $a1, ($s1) +/* 19A6B8 8026BDD8 26310004 */ addiu $s1, $s1, 4 +/* 19A6BC 8026BDDC 0C0B1EAF */ jal get_variable +/* 19A6C0 8026BDE0 0240202D */ daddu $a0, $s2, $zero +/* 19A6C4 8026BDE4 8E250000 */ lw $a1, ($s1) +/* 19A6C8 8026BDE8 26310004 */ addiu $s1, $s1, 4 +/* 19A6CC 8026BDEC 0240202D */ daddu $a0, $s2, $zero +/* 19A6D0 8026BDF0 0C0B210B */ jal get_float_variable +/* 19A6D4 8026BDF4 0040802D */ daddu $s0, $v0, $zero +/* 19A6D8 8026BDF8 8E250000 */ lw $a1, ($s1) +/* 19A6DC 8026BDFC 26310004 */ addiu $s1, $s1, 4 +/* 19A6E0 8026BE00 0240202D */ daddu $a0, $s2, $zero +/* 19A6E4 8026BE04 0C0B210B */ jal get_float_variable +/* 19A6E8 8026BE08 46000506 */ mov.s $f20, $f0 +/* 19A6EC 8026BE0C 0240202D */ daddu $a0, $s2, $zero +/* 19A6F0 8026BE10 8E250000 */ lw $a1, ($s1) +/* 19A6F4 8026BE14 0C0B210B */ jal get_float_variable +/* 19A6F8 8026BE18 46000586 */ mov.s $f22, $f0 +/* 19A6FC 8026BE1C 0260202D */ daddu $a0, $s3, $zero +/* 19A700 8026BE20 0C09A75B */ jal get_actor +/* 19A704 8026BE24 46000606 */ mov.s $f24, $f0 +/* 19A708 8026BE28 0040202D */ daddu $a0, $v0, $zero +/* 19A70C 8026BE2C 0C099117 */ jal get_actor_part +/* 19A710 8026BE30 0200282D */ daddu $a1, $s0, $zero +/* 19A714 8026BE34 0040202D */ daddu $a0, $v0, $zero +/* 19A718 8026BE38 8C820000 */ lw $v0, ($a0) +/* 19A71C 8026BE3C 3C030010 */ lui $v1, 0x10 +/* 19A720 8026BE40 00431024 */ and $v0, $v0, $v1 +/* 19A724 8026BE44 1440001B */ bnez $v0, .L8026BEB4 +/* 19A728 8026BE48 00000000 */ nop +/* 19A72C 8026BE4C 84820014 */ lh $v0, 0x14($a0) +/* 19A730 8026BE50 44820000 */ mtc1 $v0, $f0 +/* 19A734 8026BE54 00000000 */ nop +/* 19A738 8026BE58 46800020 */ cvt.s.w $f0, $f0 +/* 19A73C 8026BE5C 46140000 */ add.s $f0, $f0, $f20 +/* 19A740 8026BE60 84820016 */ lh $v0, 0x16($a0) +/* 19A744 8026BE64 44821000 */ mtc1 $v0, $f2 +/* 19A748 8026BE68 00000000 */ nop +/* 19A74C 8026BE6C 468010A0 */ cvt.s.w $f2, $f2 +/* 19A750 8026BE70 46161080 */ add.s $f2, $f2, $f22 +/* 19A754 8026BE74 84820018 */ lh $v0, 0x18($a0) +/* 19A758 8026BE78 4600010D */ trunc.w.s $f4, $f0 +/* 19A75C 8026BE7C 44032000 */ mfc1 $v1, $f4 +/* 19A760 8026BE80 44820000 */ mtc1 $v0, $f0 +/* 19A764 8026BE84 00000000 */ nop +/* 19A768 8026BE88 46800020 */ cvt.s.w $f0, $f0 +/* 19A76C 8026BE8C 46180000 */ add.s $f0, $f0, $f24 +/* 19A770 8026BE90 A4830014 */ sh $v1, 0x14($a0) +/* 19A774 8026BE94 4600110D */ trunc.w.s $f4, $f2 +/* 19A778 8026BE98 44022000 */ mfc1 $v0, $f4 +/* 19A77C 8026BE9C 00000000 */ nop +/* 19A780 8026BEA0 A4820016 */ sh $v0, 0x16($a0) +/* 19A784 8026BEA4 4600010D */ trunc.w.s $f4, $f0 +/* 19A788 8026BEA8 44022000 */ mfc1 $v0, $f4 +/* 19A78C 8026BEAC 0809AFC7 */ j func_8026BF1C +/* 19A790 8026BEB0 A4820018 */ sh $v0, 0x18($a0) + +.L8026BEB4: +/* 19A794 8026BEB4 8482001A */ lh $v0, 0x1a($a0) +/* 19A798 8026BEB8 44820000 */ mtc1 $v0, $f0 +/* 19A79C 8026BEBC 00000000 */ nop +/* 19A7A0 8026BEC0 46800020 */ cvt.s.w $f0, $f0 +/* 19A7A4 8026BEC4 46140000 */ add.s $f0, $f0, $f20 +/* 19A7A8 8026BEC8 8482001C */ lh $v0, 0x1c($a0) +/* 19A7AC 8026BECC 44821000 */ mtc1 $v0, $f2 +/* 19A7B0 8026BED0 00000000 */ nop +/* 19A7B4 8026BED4 468010A0 */ cvt.s.w $f2, $f2 +/* 19A7B8 8026BED8 46161080 */ add.s $f2, $f2, $f22 +/* 19A7BC 8026BEDC 8482001E */ lh $v0, 0x1e($a0) +/* 19A7C0 8026BEE0 4600010D */ trunc.w.s $f4, $f0 +/* 19A7C4 8026BEE4 44032000 */ mfc1 $v1, $f4 +/* 19A7C8 8026BEE8 44820000 */ mtc1 $v0, $f0 +/* 19A7CC 8026BEEC 00000000 */ nop +/* 19A7D0 8026BEF0 46800020 */ cvt.s.w $f0, $f0 +/* 19A7D4 8026BEF4 46180000 */ add.s $f0, $f0, $f24 +/* 19A7D8 8026BEF8 A483001A */ sh $v1, 0x1a($a0) +/* 19A7DC 8026BEFC 4600110D */ trunc.w.s $f4, $f2 +/* 19A7E0 8026BF00 44022000 */ mfc1 $v0, $f4 +/* 19A7E4 8026BF04 00000000 */ nop +/* 19A7E8 8026BF08 A482001C */ sh $v0, 0x1c($a0) +/* 19A7EC 8026BF0C 4600010D */ trunc.w.s $f4, $f0 +/* 19A7F0 8026BF10 44022000 */ mfc1 $v0, $f4 +/* 19A7F4 8026BF14 00000000 */ nop +/* 19A7F8 8026BF18 A482001E */ sh $v0, 0x1e($a0) +func_8026BF1C: +/* 19A7FC 8026BF1C 8FBF0020 */ lw $ra, 0x20($sp) +/* 19A800 8026BF20 8FB3001C */ lw $s3, 0x1c($sp) +/* 19A804 8026BF24 8FB20018 */ lw $s2, 0x18($sp) +/* 19A808 8026BF28 8FB10014 */ lw $s1, 0x14($sp) +/* 19A80C 8026BF2C 8FB00010 */ lw $s0, 0x10($sp) +/* 19A810 8026BF30 D7B80038 */ ldc1 $f24, 0x38($sp) +/* 19A814 8026BF34 D7B60030 */ ldc1 $f22, 0x30($sp) +/* 19A818 8026BF38 D7B40028 */ ldc1 $f20, 0x28($sp) +/* 19A81C 8026BF3C 24020002 */ addiu $v0, $zero, 2 +/* 19A820 8026BF40 03E00008 */ jr $ra +/* 19A824 8026BF44 27BD0040 */ addiu $sp, $sp, 0x40 + +/* 19A828 8026BF48 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 19A82C 8026BF4C AFBF0018 */ sw $ra, 0x18($sp) +/* 19A830 8026BF50 AFB10014 */ sw $s1, 0x14($sp) +/* 19A834 8026BF54 AFB00010 */ sw $s0, 0x10($sp) +/* 19A838 8026BF58 8C82000C */ lw $v0, 0xc($a0) +/* 19A83C 8026BF5C 3C10800E */ lui $s0, 0x800e +/* 19A840 8026BF60 2610C070 */ addiu $s0, $s0, -0x3f90 +/* 19A844 8026BF64 8C450000 */ lw $a1, ($v0) +/* 19A848 8026BF68 0C0B1EAF */ jal get_variable +/* 19A84C 8026BF6C 0200882D */ daddu $s1, $s0, $zero +/* 19A850 8026BF70 10400005 */ beqz $v0, .L8026BF88 +/* 19A854 8026BF74 00000000 */ nop +/* 19A858 8026BF78 9202008C */ lbu $v0, 0x8c($s0) +/* 19A85C 8026BF7C 24420001 */ addiu $v0, $v0, 1 +/* 19A860 8026BF80 0809AFE7 */ j func_8026BF9C +/* 19A864 8026BF84 A202008C */ sb $v0, 0x8c($s0) + +.L8026BF88: +/* 19A868 8026BF88 8222008C */ lb $v0, 0x8c($s1) +/* 19A86C 8026BF8C 9223008C */ lbu $v1, 0x8c($s1) +/* 19A870 8026BF90 18400002 */ blez $v0, .L8026BF9C +/* 19A874 8026BF94 2462FFFF */ addiu $v0, $v1, -1 +/* 19A878 8026BF98 A222008C */ sb $v0, 0x8c($s1) +func_8026BF9C: +.L8026BF9C: +/* 19A87C 8026BF9C 8FBF0018 */ lw $ra, 0x18($sp) +/* 19A880 8026BFA0 8FB10014 */ lw $s1, 0x14($sp) +/* 19A884 8026BFA4 8FB00010 */ lw $s0, 0x10($sp) +/* 19A888 8026BFA8 24020002 */ addiu $v0, $zero, 2 +/* 19A88C 8026BFAC 03E00008 */ jr $ra +/* 19A890 8026BFB0 27BD0020 */ addiu $sp, $sp, 0x20 + +GetActorVar: +/* 19A894 8026BFB4 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 19A898 8026BFB8 AFB20018 */ sw $s2, 0x18($sp) +/* 19A89C 8026BFBC 0080902D */ daddu $s2, $a0, $zero +/* 19A8A0 8026BFC0 AFBF001C */ sw $ra, 0x1c($sp) +/* 19A8A4 8026BFC4 AFB10014 */ sw $s1, 0x14($sp) +/* 19A8A8 8026BFC8 AFB00010 */ sw $s0, 0x10($sp) +/* 19A8AC 8026BFCC 8E51000C */ lw $s1, 0xc($s2) +/* 19A8B0 8026BFD0 8E250000 */ lw $a1, ($s1) +/* 19A8B4 8026BFD4 0C0B1EAF */ jal get_variable +/* 19A8B8 8026BFD8 26310004 */ addiu $s1, $s1, 4 +/* 19A8BC 8026BFDC 0040802D */ daddu $s0, $v0, $zero +/* 19A8C0 8026BFE0 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19A8C4 8026BFE4 16020002 */ bne $s0, $v0, .L8026BFF0 +/* 19A8C8 8026BFE8 00000000 */ nop +/* 19A8CC 8026BFEC 8E500148 */ lw $s0, 0x148($s2) +.L8026BFF0: +/* 19A8D0 8026BFF0 8E250000 */ lw $a1, ($s1) +/* 19A8D4 8026BFF4 26310004 */ addiu $s1, $s1, 4 +/* 19A8D8 8026BFF8 0C0B1EAF */ jal get_variable +/* 19A8DC 8026BFFC 0240202D */ daddu $a0, $s2, $zero +/* 19A8E0 8026C000 0200202D */ daddu $a0, $s0, $zero +/* 19A8E4 8026C004 8E310000 */ lw $s1, ($s1) +/* 19A8E8 8026C008 0C09A75B */ jal get_actor +/* 19A8EC 8026C00C 0040802D */ daddu $s0, $v0, $zero +/* 19A8F0 8026C010 0240202D */ daddu $a0, $s2, $zero +/* 19A8F4 8026C014 00108080 */ sll $s0, $s0, 2 +/* 19A8F8 8026C018 00501021 */ addu $v0, $v0, $s0 +/* 19A8FC 8026C01C 8C460088 */ lw $a2, 0x88($v0) +/* 19A900 8026C020 0C0B2026 */ jal set_variable +/* 19A904 8026C024 0220282D */ daddu $a1, $s1, $zero +/* 19A908 8026C028 8FBF001C */ lw $ra, 0x1c($sp) +/* 19A90C 8026C02C 8FB20018 */ lw $s2, 0x18($sp) +/* 19A910 8026C030 8FB10014 */ lw $s1, 0x14($sp) +/* 19A914 8026C034 8FB00010 */ lw $s0, 0x10($sp) +/* 19A918 8026C038 24020002 */ addiu $v0, $zero, 2 +/* 19A91C 8026C03C 03E00008 */ jr $ra +/* 19A920 8026C040 27BD0020 */ addiu $sp, $sp, 0x20 + +SetActorVar: +/* 19A924 8026C044 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 19A928 8026C048 AFB20018 */ sw $s2, 0x18($sp) +/* 19A92C 8026C04C 0080902D */ daddu $s2, $a0, $zero +/* 19A930 8026C050 AFBF001C */ sw $ra, 0x1c($sp) +/* 19A934 8026C054 AFB10014 */ sw $s1, 0x14($sp) +/* 19A938 8026C058 AFB00010 */ sw $s0, 0x10($sp) +/* 19A93C 8026C05C 8E50000C */ lw $s0, 0xc($s2) +/* 19A940 8026C060 8E050000 */ lw $a1, ($s0) +/* 19A944 8026C064 0C0B1EAF */ jal get_variable +/* 19A948 8026C068 26100004 */ addiu $s0, $s0, 4 +/* 19A94C 8026C06C 0040882D */ daddu $s1, $v0, $zero +/* 19A950 8026C070 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19A954 8026C074 16220002 */ bne $s1, $v0, .L8026C080 +/* 19A958 8026C078 00000000 */ nop +/* 19A95C 8026C07C 8E510148 */ lw $s1, 0x148($s2) +.L8026C080: +/* 19A960 8026C080 8E050000 */ lw $a1, ($s0) +/* 19A964 8026C084 26100004 */ addiu $s0, $s0, 4 +/* 19A968 8026C088 0C0B1EAF */ jal get_variable +/* 19A96C 8026C08C 0240202D */ daddu $a0, $s2, $zero +/* 19A970 8026C090 0240202D */ daddu $a0, $s2, $zero +/* 19A974 8026C094 8E050000 */ lw $a1, ($s0) +/* 19A978 8026C098 0C0B1EAF */ jal get_variable +/* 19A97C 8026C09C 0040802D */ daddu $s0, $v0, $zero +/* 19A980 8026C0A0 0220202D */ daddu $a0, $s1, $zero +/* 19A984 8026C0A4 0C09A75B */ jal get_actor +/* 19A988 8026C0A8 0040882D */ daddu $s1, $v0, $zero +/* 19A98C 8026C0AC 00108080 */ sll $s0, $s0, 2 +/* 19A990 8026C0B0 00501821 */ addu $v1, $v0, $s0 +/* 19A994 8026C0B4 AC710088 */ sw $s1, 0x88($v1) +/* 19A998 8026C0B8 8FBF001C */ lw $ra, 0x1c($sp) +/* 19A99C 8026C0BC 8FB20018 */ lw $s2, 0x18($sp) +/* 19A9A0 8026C0C0 8FB10014 */ lw $s1, 0x14($sp) +/* 19A9A4 8026C0C4 8FB00010 */ lw $s0, 0x10($sp) +/* 19A9A8 8026C0C8 24020002 */ addiu $v0, $zero, 2 +/* 19A9AC 8026C0CC 03E00008 */ jr $ra +/* 19A9B0 8026C0D0 27BD0020 */ addiu $sp, $sp, 0x20 + +AddActorVar: +/* 19A9B4 8026C0D4 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 19A9B8 8026C0D8 AFB20018 */ sw $s2, 0x18($sp) +/* 19A9BC 8026C0DC 0080902D */ daddu $s2, $a0, $zero +/* 19A9C0 8026C0E0 AFBF001C */ sw $ra, 0x1c($sp) +/* 19A9C4 8026C0E4 AFB10014 */ sw $s1, 0x14($sp) +/* 19A9C8 8026C0E8 AFB00010 */ sw $s0, 0x10($sp) +/* 19A9CC 8026C0EC 8E50000C */ lw $s0, 0xc($s2) +/* 19A9D0 8026C0F0 8E050000 */ lw $a1, ($s0) +/* 19A9D4 8026C0F4 0C0B1EAF */ jal get_variable +/* 19A9D8 8026C0F8 26100004 */ addiu $s0, $s0, 4 +/* 19A9DC 8026C0FC 0040882D */ daddu $s1, $v0, $zero +/* 19A9E0 8026C100 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19A9E4 8026C104 16220002 */ bne $s1, $v0, .L8026C110 +/* 19A9E8 8026C108 00000000 */ nop +/* 19A9EC 8026C10C 8E510148 */ lw $s1, 0x148($s2) +.L8026C110: +/* 19A9F0 8026C110 8E050000 */ lw $a1, ($s0) +/* 19A9F4 8026C114 26100004 */ addiu $s0, $s0, 4 +/* 19A9F8 8026C118 0C0B1EAF */ jal get_variable +/* 19A9FC 8026C11C 0240202D */ daddu $a0, $s2, $zero +/* 19AA00 8026C120 0240202D */ daddu $a0, $s2, $zero +/* 19AA04 8026C124 8E050000 */ lw $a1, ($s0) +/* 19AA08 8026C128 0C0B1EAF */ jal get_variable +/* 19AA0C 8026C12C 0040802D */ daddu $s0, $v0, $zero +/* 19AA10 8026C130 0220202D */ daddu $a0, $s1, $zero +/* 19AA14 8026C134 0C09A75B */ jal get_actor +/* 19AA18 8026C138 0040882D */ daddu $s1, $v0, $zero +/* 19AA1C 8026C13C 2444000C */ addiu $a0, $v0, 0xc +/* 19AA20 8026C140 00108080 */ sll $s0, $s0, 2 +/* 19AA24 8026C144 00902021 */ addu $a0, $a0, $s0 +/* 19AA28 8026C148 8C83007C */ lw $v1, 0x7c($a0) +/* 19AA2C 8026C14C 00711821 */ addu $v1, $v1, $s1 +/* 19AA30 8026C150 AC83007C */ sw $v1, 0x7c($a0) +/* 19AA34 8026C154 8FBF001C */ lw $ra, 0x1c($sp) +/* 19AA38 8026C158 8FB20018 */ lw $s2, 0x18($sp) +/* 19AA3C 8026C15C 8FB10014 */ lw $s1, 0x14($sp) +/* 19AA40 8026C160 8FB00010 */ lw $s0, 0x10($sp) +/* 19AA44 8026C164 24020002 */ addiu $v0, $zero, 2 +/* 19AA48 8026C168 03E00008 */ jr $ra +/* 19AA4C 8026C16C 27BD0020 */ addiu $sp, $sp, 0x20 + +GetPartMovementVar: +/* 19AA50 8026C170 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 19AA54 8026C174 AFB3001C */ sw $s3, 0x1c($sp) +/* 19AA58 8026C178 0080982D */ daddu $s3, $a0, $zero +/* 19AA5C 8026C17C AFBF0020 */ sw $ra, 0x20($sp) +/* 19AA60 8026C180 AFB20018 */ sw $s2, 0x18($sp) +/* 19AA64 8026C184 AFB10014 */ sw $s1, 0x14($sp) +/* 19AA68 8026C188 AFB00010 */ sw $s0, 0x10($sp) +/* 19AA6C 8026C18C 8E72000C */ lw $s2, 0xc($s3) +/* 19AA70 8026C190 8E450000 */ lw $a1, ($s2) +/* 19AA74 8026C194 0C0B1EAF */ jal get_variable +/* 19AA78 8026C198 26520004 */ addiu $s2, $s2, 4 +/* 19AA7C 8026C19C 0040802D */ daddu $s0, $v0, $zero +/* 19AA80 8026C1A0 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19AA84 8026C1A4 16020002 */ bne $s0, $v0, .L8026C1B0 +/* 19AA88 8026C1A8 00000000 */ nop +/* 19AA8C 8026C1AC 8E700148 */ lw $s0, 0x148($s3) +.L8026C1B0: +/* 19AA90 8026C1B0 8E450000 */ lw $a1, ($s2) +/* 19AA94 8026C1B4 26520004 */ addiu $s2, $s2, 4 +/* 19AA98 8026C1B8 0C0B1EAF */ jal get_variable +/* 19AA9C 8026C1BC 0260202D */ daddu $a0, $s3, $zero +/* 19AAA0 8026C1C0 8E450000 */ lw $a1, ($s2) +/* 19AAA4 8026C1C4 26520004 */ addiu $s2, $s2, 4 +/* 19AAA8 8026C1C8 0260202D */ daddu $a0, $s3, $zero +/* 19AAAC 8026C1CC 0C0B1EAF */ jal get_variable +/* 19AAB0 8026C1D0 0040882D */ daddu $s1, $v0, $zero +/* 19AAB4 8026C1D4 0200202D */ daddu $a0, $s0, $zero +/* 19AAB8 8026C1D8 8E520000 */ lw $s2, ($s2) +/* 19AABC 8026C1DC 0C09A75B */ jal get_actor +/* 19AAC0 8026C1E0 0040802D */ daddu $s0, $v0, $zero +/* 19AAC4 8026C1E4 0040202D */ daddu $a0, $v0, $zero +/* 19AAC8 8026C1E8 0C099117 */ jal get_actor_part +/* 19AACC 8026C1EC 0220282D */ daddu $a1, $s1, $zero +/* 19AAD0 8026C1F0 0260202D */ daddu $a0, $s3, $zero +/* 19AAD4 8026C1F4 8C420010 */ lw $v0, 0x10($v0) +/* 19AAD8 8026C1F8 00108080 */ sll $s0, $s0, 2 +/* 19AADC 8026C1FC 00501021 */ addu $v0, $v0, $s0 +/* 19AAE0 8026C200 8C46004C */ lw $a2, 0x4c($v0) +/* 19AAE4 8026C204 0C0B2026 */ jal set_variable +/* 19AAE8 8026C208 0240282D */ daddu $a1, $s2, $zero +/* 19AAEC 8026C20C 8FBF0020 */ lw $ra, 0x20($sp) +/* 19AAF0 8026C210 8FB3001C */ lw $s3, 0x1c($sp) +/* 19AAF4 8026C214 8FB20018 */ lw $s2, 0x18($sp) +/* 19AAF8 8026C218 8FB10014 */ lw $s1, 0x14($sp) +/* 19AAFC 8026C21C 8FB00010 */ lw $s0, 0x10($sp) +/* 19AB00 8026C220 24020002 */ addiu $v0, $zero, 2 +/* 19AB04 8026C224 03E00008 */ jr $ra +/* 19AB08 8026C228 27BD0028 */ addiu $sp, $sp, 0x28 + +SetPartMovementVar: +/* 19AB0C 8026C22C 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 19AB10 8026C230 AFB3001C */ sw $s3, 0x1c($sp) +/* 19AB14 8026C234 0080982D */ daddu $s3, $a0, $zero +/* 19AB18 8026C238 AFBF0020 */ sw $ra, 0x20($sp) +/* 19AB1C 8026C23C AFB20018 */ sw $s2, 0x18($sp) +/* 19AB20 8026C240 AFB10014 */ sw $s1, 0x14($sp) +/* 19AB24 8026C244 AFB00010 */ sw $s0, 0x10($sp) +/* 19AB28 8026C248 8E70000C */ lw $s0, 0xc($s3) +/* 19AB2C 8026C24C 8E050000 */ lw $a1, ($s0) +/* 19AB30 8026C250 0C0B1EAF */ jal get_variable +/* 19AB34 8026C254 26100004 */ addiu $s0, $s0, 4 +/* 19AB38 8026C258 0040882D */ daddu $s1, $v0, $zero +/* 19AB3C 8026C25C 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19AB40 8026C260 16220002 */ bne $s1, $v0, .L8026C26C +/* 19AB44 8026C264 00000000 */ nop +/* 19AB48 8026C268 8E710148 */ lw $s1, 0x148($s3) +.L8026C26C: +/* 19AB4C 8026C26C 8E050000 */ lw $a1, ($s0) +/* 19AB50 8026C270 26100004 */ addiu $s0, $s0, 4 +/* 19AB54 8026C274 0C0B1EAF */ jal get_variable +/* 19AB58 8026C278 0260202D */ daddu $a0, $s3, $zero +/* 19AB5C 8026C27C 8E050000 */ lw $a1, ($s0) +/* 19AB60 8026C280 26100004 */ addiu $s0, $s0, 4 +/* 19AB64 8026C284 0260202D */ daddu $a0, $s3, $zero +/* 19AB68 8026C288 0C0B1EAF */ jal get_variable +/* 19AB6C 8026C28C 0040902D */ daddu $s2, $v0, $zero +/* 19AB70 8026C290 0260202D */ daddu $a0, $s3, $zero +/* 19AB74 8026C294 8E050000 */ lw $a1, ($s0) +/* 19AB78 8026C298 0C0B1EAF */ jal get_variable +/* 19AB7C 8026C29C 0040802D */ daddu $s0, $v0, $zero +/* 19AB80 8026C2A0 0220202D */ daddu $a0, $s1, $zero +/* 19AB84 8026C2A4 0C09A75B */ jal get_actor +/* 19AB88 8026C2A8 0040882D */ daddu $s1, $v0, $zero +/* 19AB8C 8026C2AC 0040202D */ daddu $a0, $v0, $zero +/* 19AB90 8026C2B0 0C099117 */ jal get_actor_part +/* 19AB94 8026C2B4 0240282D */ daddu $a1, $s2, $zero +/* 19AB98 8026C2B8 8C430010 */ lw $v1, 0x10($v0) +/* 19AB9C 8026C2BC 24020002 */ addiu $v0, $zero, 2 +/* 19ABA0 8026C2C0 00508004 */ sllv $s0, $s0, $v0 +/* 19ABA4 8026C2C4 00701821 */ addu $v1, $v1, $s0 +/* 19ABA8 8026C2C8 AC71004C */ sw $s1, 0x4c($v1) +/* 19ABAC 8026C2CC 8FBF0020 */ lw $ra, 0x20($sp) +/* 19ABB0 8026C2D0 8FB3001C */ lw $s3, 0x1c($sp) +/* 19ABB4 8026C2D4 8FB20018 */ lw $s2, 0x18($sp) +/* 19ABB8 8026C2D8 8FB10014 */ lw $s1, 0x14($sp) +/* 19ABBC 8026C2DC 8FB00010 */ lw $s0, 0x10($sp) +/* 19ABC0 8026C2E0 03E00008 */ jr $ra +/* 19ABC4 8026C2E4 27BD0028 */ addiu $sp, $sp, 0x28 + +AddPartMovementVar: +/* 19ABC8 8026C2E8 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 19ABCC 8026C2EC AFB3001C */ sw $s3, 0x1c($sp) +/* 19ABD0 8026C2F0 0080982D */ daddu $s3, $a0, $zero +/* 19ABD4 8026C2F4 AFBF0020 */ sw $ra, 0x20($sp) +/* 19ABD8 8026C2F8 AFB20018 */ sw $s2, 0x18($sp) +/* 19ABDC 8026C2FC AFB10014 */ sw $s1, 0x14($sp) +/* 19ABE0 8026C300 AFB00010 */ sw $s0, 0x10($sp) +/* 19ABE4 8026C304 8E70000C */ lw $s0, 0xc($s3) +/* 19ABE8 8026C308 8E050000 */ lw $a1, ($s0) +/* 19ABEC 8026C30C 0C0B1EAF */ jal get_variable +/* 19ABF0 8026C310 26100004 */ addiu $s0, $s0, 4 +/* 19ABF4 8026C314 0040902D */ daddu $s2, $v0, $zero +/* 19ABF8 8026C318 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19ABFC 8026C31C 16420002 */ bne $s2, $v0, .L8026C328 +/* 19AC00 8026C320 00000000 */ nop +/* 19AC04 8026C324 8E720148 */ lw $s2, 0x148($s3) +.L8026C328: +/* 19AC08 8026C328 8E050000 */ lw $a1, ($s0) +/* 19AC0C 8026C32C 26100004 */ addiu $s0, $s0, 4 +/* 19AC10 8026C330 0C0B1EAF */ jal get_variable +/* 19AC14 8026C334 0260202D */ daddu $a0, $s3, $zero +/* 19AC18 8026C338 8E050000 */ lw $a1, ($s0) +/* 19AC1C 8026C33C 26100004 */ addiu $s0, $s0, 4 +/* 19AC20 8026C340 0260202D */ daddu $a0, $s3, $zero +/* 19AC24 8026C344 0C0B1EAF */ jal get_variable +/* 19AC28 8026C348 0040882D */ daddu $s1, $v0, $zero +/* 19AC2C 8026C34C 0260202D */ daddu $a0, $s3, $zero +/* 19AC30 8026C350 8E050000 */ lw $a1, ($s0) +/* 19AC34 8026C354 0C0B1EAF */ jal get_variable +/* 19AC38 8026C358 0040802D */ daddu $s0, $v0, $zero +/* 19AC3C 8026C35C 0240202D */ daddu $a0, $s2, $zero +/* 19AC40 8026C360 0C09A75B */ jal get_actor +/* 19AC44 8026C364 0040902D */ daddu $s2, $v0, $zero +/* 19AC48 8026C368 0040202D */ daddu $a0, $v0, $zero +/* 19AC4C 8026C36C 0C099117 */ jal get_actor_part +/* 19AC50 8026C370 0220282D */ daddu $a1, $s1, $zero +/* 19AC54 8026C374 8C440010 */ lw $a0, 0x10($v0) +/* 19AC58 8026C378 00108080 */ sll $s0, $s0, 2 +/* 19AC5C 8026C37C 00902021 */ addu $a0, $a0, $s0 +/* 19AC60 8026C380 8C83004C */ lw $v1, 0x4c($a0) +/* 19AC64 8026C384 00721821 */ addu $v1, $v1, $s2 +/* 19AC68 8026C388 AC83004C */ sw $v1, 0x4c($a0) +/* 19AC6C 8026C38C 8FBF0020 */ lw $ra, 0x20($sp) +/* 19AC70 8026C390 8FB3001C */ lw $s3, 0x1c($sp) +/* 19AC74 8026C394 8FB20018 */ lw $s2, 0x18($sp) +/* 19AC78 8026C398 8FB10014 */ lw $s1, 0x14($sp) +/* 19AC7C 8026C39C 8FB00010 */ lw $s0, 0x10($sp) +/* 19AC80 8026C3A0 24020002 */ addiu $v0, $zero, 2 +/* 19AC84 8026C3A4 03E00008 */ jr $ra +/* 19AC88 8026C3A8 27BD0028 */ addiu $sp, $sp, 0x28 + +SetActorRotation: +/* 19AC8C 8026C3AC 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 19AC90 8026C3B0 AFB20018 */ sw $s2, 0x18($sp) +/* 19AC94 8026C3B4 0080902D */ daddu $s2, $a0, $zero +/* 19AC98 8026C3B8 AFBF0020 */ sw $ra, 0x20($sp) +/* 19AC9C 8026C3BC AFB3001C */ sw $s3, 0x1c($sp) +/* 19ACA0 8026C3C0 AFB10014 */ sw $s1, 0x14($sp) +/* 19ACA4 8026C3C4 AFB00010 */ sw $s0, 0x10($sp) +/* 19ACA8 8026C3C8 8E50000C */ lw $s0, 0xc($s2) +/* 19ACAC 8026C3CC 8E050000 */ lw $a1, ($s0) +/* 19ACB0 8026C3D0 0C0B1EAF */ jal get_variable +/* 19ACB4 8026C3D4 26100004 */ addiu $s0, $s0, 4 +/* 19ACB8 8026C3D8 0040882D */ daddu $s1, $v0, $zero +/* 19ACBC 8026C3DC 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19ACC0 8026C3E0 16220002 */ bne $s1, $v0, .L8026C3EC +/* 19ACC4 8026C3E4 00000000 */ nop +/* 19ACC8 8026C3E8 8E510148 */ lw $s1, 0x148($s2) +.L8026C3EC: +/* 19ACCC 8026C3EC 8E050000 */ lw $a1, ($s0) +/* 19ACD0 8026C3F0 26100004 */ addiu $s0, $s0, 4 +/* 19ACD4 8026C3F4 0C0B210B */ jal get_float_variable +/* 19ACD8 8026C3F8 0240202D */ daddu $a0, $s2, $zero +/* 19ACDC 8026C3FC 8E050000 */ lw $a1, ($s0) +/* 19ACE0 8026C400 26100004 */ addiu $s0, $s0, 4 +/* 19ACE4 8026C404 4600008D */ trunc.w.s $f2, $f0 +/* 19ACE8 8026C408 44131000 */ mfc1 $s3, $f2 +/* 19ACEC 8026C40C 0C0B210B */ jal get_float_variable +/* 19ACF0 8026C410 0240202D */ daddu $a0, $s2, $zero +/* 19ACF4 8026C414 8E050000 */ lw $a1, ($s0) +/* 19ACF8 8026C418 4600008D */ trunc.w.s $f2, $f0 +/* 19ACFC 8026C41C 44101000 */ mfc1 $s0, $f2 +/* 19AD00 8026C420 0C0B210B */ jal get_float_variable +/* 19AD04 8026C424 0240202D */ daddu $a0, $s2, $zero +/* 19AD08 8026C428 0220202D */ daddu $a0, $s1, $zero +/* 19AD0C 8026C42C 4600008D */ trunc.w.s $f2, $f0 +/* 19AD10 8026C430 44111000 */ mfc1 $s1, $f2 +/* 19AD14 8026C434 0C09A75B */ jal get_actor +/* 19AD18 8026C438 00000000 */ nop +/* 19AD1C 8026C43C 3C03F119 */ lui $v1, 0xf119 +/* 19AD20 8026C440 34634D80 */ ori $v1, $v1, 0x4d80 +/* 19AD24 8026C444 12630005 */ beq $s3, $v1, .L8026C45C +/* 19AD28 8026C448 00000000 */ nop +/* 19AD2C 8026C44C 44930000 */ mtc1 $s3, $f0 +/* 19AD30 8026C450 00000000 */ nop +/* 19AD34 8026C454 46800020 */ cvt.s.w $f0, $f0 +/* 19AD38 8026C458 E440015C */ swc1 $f0, 0x15c($v0) +.L8026C45C: +/* 19AD3C 8026C45C 12030005 */ beq $s0, $v1, .L8026C474 +/* 19AD40 8026C460 00000000 */ nop +/* 19AD44 8026C464 44900000 */ mtc1 $s0, $f0 +/* 19AD48 8026C468 00000000 */ nop +/* 19AD4C 8026C46C 46800020 */ cvt.s.w $f0, $f0 +/* 19AD50 8026C470 E4400160 */ swc1 $f0, 0x160($v0) +.L8026C474: +/* 19AD54 8026C474 12230005 */ beq $s1, $v1, .L8026C48C +/* 19AD58 8026C478 00000000 */ nop +/* 19AD5C 8026C47C 44910000 */ mtc1 $s1, $f0 +/* 19AD60 8026C480 00000000 */ nop +/* 19AD64 8026C484 46800020 */ cvt.s.w $f0, $f0 +/* 19AD68 8026C488 E4400164 */ swc1 $f0, 0x164($v0) +.L8026C48C: +/* 19AD6C 8026C48C 8FBF0020 */ lw $ra, 0x20($sp) +/* 19AD70 8026C490 8FB3001C */ lw $s3, 0x1c($sp) +/* 19AD74 8026C494 8FB20018 */ lw $s2, 0x18($sp) +/* 19AD78 8026C498 8FB10014 */ lw $s1, 0x14($sp) +/* 19AD7C 8026C49C 8FB00010 */ lw $s0, 0x10($sp) +/* 19AD80 8026C4A0 24020002 */ addiu $v0, $zero, 2 +/* 19AD84 8026C4A4 03E00008 */ jr $ra +/* 19AD88 8026C4A8 27BD0028 */ addiu $sp, $sp, 0x28 + +SetActorRotationOffset: +/* 19AD8C 8026C4AC 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 19AD90 8026C4B0 AFB10014 */ sw $s1, 0x14($sp) +/* 19AD94 8026C4B4 0080882D */ daddu $s1, $a0, $zero +/* 19AD98 8026C4B8 AFBF0020 */ sw $ra, 0x20($sp) +/* 19AD9C 8026C4BC AFB3001C */ sw $s3, 0x1c($sp) +/* 19ADA0 8026C4C0 AFB20018 */ sw $s2, 0x18($sp) +/* 19ADA4 8026C4C4 AFB00010 */ sw $s0, 0x10($sp) +/* 19ADA8 8026C4C8 8E30000C */ lw $s0, 0xc($s1) +/* 19ADAC 8026C4CC 8E050000 */ lw $a1, ($s0) +/* 19ADB0 8026C4D0 0C0B1EAF */ jal get_variable +/* 19ADB4 8026C4D4 26100004 */ addiu $s0, $s0, 4 +/* 19ADB8 8026C4D8 0040982D */ daddu $s3, $v0, $zero +/* 19ADBC 8026C4DC 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19ADC0 8026C4E0 16620002 */ bne $s3, $v0, .L8026C4EC +/* 19ADC4 8026C4E4 00000000 */ nop +/* 19ADC8 8026C4E8 8E330148 */ lw $s3, 0x148($s1) +.L8026C4EC: +/* 19ADCC 8026C4EC 8E050000 */ lw $a1, ($s0) +/* 19ADD0 8026C4F0 26100004 */ addiu $s0, $s0, 4 +/* 19ADD4 8026C4F4 0C0B210B */ jal get_float_variable +/* 19ADD8 8026C4F8 0220202D */ daddu $a0, $s1, $zero +/* 19ADDC 8026C4FC 8E050000 */ lw $a1, ($s0) +/* 19ADE0 8026C500 26100004 */ addiu $s0, $s0, 4 +/* 19ADE4 8026C504 4600008D */ trunc.w.s $f2, $f0 +/* 19ADE8 8026C508 44121000 */ mfc1 $s2, $f2 +/* 19ADEC 8026C50C 0C0B210B */ jal get_float_variable +/* 19ADF0 8026C510 0220202D */ daddu $a0, $s1, $zero +/* 19ADF4 8026C514 0220202D */ daddu $a0, $s1, $zero +/* 19ADF8 8026C518 8E050000 */ lw $a1, ($s0) +/* 19ADFC 8026C51C 4600008D */ trunc.w.s $f2, $f0 +/* 19AE00 8026C520 44111000 */ mfc1 $s1, $f2 +/* 19AE04 8026C524 0C0B210B */ jal get_float_variable +/* 19AE08 8026C528 00000000 */ nop +/* 19AE0C 8026C52C 4600008D */ trunc.w.s $f2, $f0 +/* 19AE10 8026C530 44101000 */ mfc1 $s0, $f2 +/* 19AE14 8026C534 0C09A75B */ jal get_actor +/* 19AE18 8026C538 0260202D */ daddu $a0, $s3, $zero +/* 19AE1C 8026C53C 0040182D */ daddu $v1, $v0, $zero +/* 19AE20 8026C540 A4720168 */ sh $s2, 0x168($v1) +/* 19AE24 8026C544 A471016A */ sh $s1, 0x16a($v1) +/* 19AE28 8026C548 A470016C */ sh $s0, 0x16c($v1) +/* 19AE2C 8026C54C 8FBF0020 */ lw $ra, 0x20($sp) +/* 19AE30 8026C550 8FB3001C */ lw $s3, 0x1c($sp) +/* 19AE34 8026C554 8FB20018 */ lw $s2, 0x18($sp) +/* 19AE38 8026C558 8FB10014 */ lw $s1, 0x14($sp) +/* 19AE3C 8026C55C 8FB00010 */ lw $s0, 0x10($sp) +/* 19AE40 8026C560 24020002 */ addiu $v0, $zero, 2 +/* 19AE44 8026C564 03E00008 */ jr $ra +/* 19AE48 8026C568 27BD0028 */ addiu $sp, $sp, 0x28 + +GetActorRotation: +/* 19AE4C 8026C56C 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 19AE50 8026C570 AFB40020 */ sw $s4, 0x20($sp) +/* 19AE54 8026C574 0080A02D */ daddu $s4, $a0, $zero +/* 19AE58 8026C578 AFBF0024 */ sw $ra, 0x24($sp) +/* 19AE5C 8026C57C AFB3001C */ sw $s3, 0x1c($sp) +/* 19AE60 8026C580 AFB20018 */ sw $s2, 0x18($sp) +/* 19AE64 8026C584 AFB10014 */ sw $s1, 0x14($sp) +/* 19AE68 8026C588 AFB00010 */ sw $s0, 0x10($sp) +/* 19AE6C 8026C58C 8E90000C */ lw $s0, 0xc($s4) +/* 19AE70 8026C590 8E050000 */ lw $a1, ($s0) +/* 19AE74 8026C594 0C0B1EAF */ jal get_variable +/* 19AE78 8026C598 26100004 */ addiu $s0, $s0, 4 +/* 19AE7C 8026C59C 0040202D */ daddu $a0, $v0, $zero +/* 19AE80 8026C5A0 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19AE84 8026C5A4 14820002 */ bne $a0, $v0, .L8026C5B0 +/* 19AE88 8026C5A8 00000000 */ nop +/* 19AE8C 8026C5AC 8E840148 */ lw $a0, 0x148($s4) +.L8026C5B0: +/* 19AE90 8026C5B0 8E110000 */ lw $s1, ($s0) +/* 19AE94 8026C5B4 26100004 */ addiu $s0, $s0, 4 +/* 19AE98 8026C5B8 8E120000 */ lw $s2, ($s0) +/* 19AE9C 8026C5BC 0C09A75B */ jal get_actor +/* 19AEA0 8026C5C0 8E130004 */ lw $s3, 4($s0) +/* 19AEA4 8026C5C4 0280202D */ daddu $a0, $s4, $zero +/* 19AEA8 8026C5C8 0040802D */ daddu $s0, $v0, $zero +/* 19AEAC 8026C5CC C600015C */ lwc1 $f0, 0x15c($s0) +/* 19AEB0 8026C5D0 4600008D */ trunc.w.s $f2, $f0 +/* 19AEB4 8026C5D4 44061000 */ mfc1 $a2, $f2 +/* 19AEB8 8026C5D8 0C0B2026 */ jal set_variable +/* 19AEBC 8026C5DC 0220282D */ daddu $a1, $s1, $zero +/* 19AEC0 8026C5E0 0280202D */ daddu $a0, $s4, $zero +/* 19AEC4 8026C5E4 C6000160 */ lwc1 $f0, 0x160($s0) +/* 19AEC8 8026C5E8 4600008D */ trunc.w.s $f2, $f0 +/* 19AECC 8026C5EC 44061000 */ mfc1 $a2, $f2 +/* 19AED0 8026C5F0 0C0B2026 */ jal set_variable +/* 19AED4 8026C5F4 0240282D */ daddu $a1, $s2, $zero +/* 19AED8 8026C5F8 0280202D */ daddu $a0, $s4, $zero +/* 19AEDC 8026C5FC C6000164 */ lwc1 $f0, 0x164($s0) +/* 19AEE0 8026C600 4600008D */ trunc.w.s $f2, $f0 +/* 19AEE4 8026C604 44061000 */ mfc1 $a2, $f2 +/* 19AEE8 8026C608 0C0B2026 */ jal set_variable +/* 19AEEC 8026C60C 0260282D */ daddu $a1, $s3, $zero +/* 19AEF0 8026C610 8FBF0024 */ lw $ra, 0x24($sp) +/* 19AEF4 8026C614 8FB40020 */ lw $s4, 0x20($sp) +/* 19AEF8 8026C618 8FB3001C */ lw $s3, 0x1c($sp) +/* 19AEFC 8026C61C 8FB20018 */ lw $s2, 0x18($sp) +/* 19AF00 8026C620 8FB10014 */ lw $s1, 0x14($sp) +/* 19AF04 8026C624 8FB00010 */ lw $s0, 0x10($sp) +/* 19AF08 8026C628 24020002 */ addiu $v0, $zero, 2 +/* 19AF0C 8026C62C 03E00008 */ jr $ra +/* 19AF10 8026C630 27BD0028 */ addiu $sp, $sp, 0x28 + +SetPartRotation: +/* 19AF14 8026C634 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 19AF18 8026C638 AFB10014 */ sw $s1, 0x14($sp) +/* 19AF1C 8026C63C 0080882D */ daddu $s1, $a0, $zero +/* 19AF20 8026C640 AFBF0024 */ sw $ra, 0x24($sp) +/* 19AF24 8026C644 AFB40020 */ sw $s4, 0x20($sp) +/* 19AF28 8026C648 AFB3001C */ sw $s3, 0x1c($sp) +/* 19AF2C 8026C64C AFB20018 */ sw $s2, 0x18($sp) +/* 19AF30 8026C650 AFB00010 */ sw $s0, 0x10($sp) +/* 19AF34 8026C654 8E30000C */ lw $s0, 0xc($s1) +/* 19AF38 8026C658 8E050000 */ lw $a1, ($s0) +/* 19AF3C 8026C65C 0C0B1EAF */ jal get_variable +/* 19AF40 8026C660 26100004 */ addiu $s0, $s0, 4 +/* 19AF44 8026C664 0040982D */ daddu $s3, $v0, $zero +/* 19AF48 8026C668 8E050000 */ lw $a1, ($s0) +/* 19AF4C 8026C66C 26100004 */ addiu $s0, $s0, 4 +/* 19AF50 8026C670 0C0B1EAF */ jal get_variable +/* 19AF54 8026C674 0220202D */ daddu $a0, $s1, $zero +/* 19AF58 8026C678 0040A02D */ daddu $s4, $v0, $zero +/* 19AF5C 8026C67C 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19AF60 8026C680 16620002 */ bne $s3, $v0, .L8026C68C +/* 19AF64 8026C684 00000000 */ nop +/* 19AF68 8026C688 8E330148 */ lw $s3, 0x148($s1) +.L8026C68C: +/* 19AF6C 8026C68C 8E050000 */ lw $a1, ($s0) +/* 19AF70 8026C690 26100004 */ addiu $s0, $s0, 4 +/* 19AF74 8026C694 0C0B210B */ jal get_float_variable +/* 19AF78 8026C698 0220202D */ daddu $a0, $s1, $zero +/* 19AF7C 8026C69C 8E050000 */ lw $a1, ($s0) +/* 19AF80 8026C6A0 26100004 */ addiu $s0, $s0, 4 +/* 19AF84 8026C6A4 4600008D */ trunc.w.s $f2, $f0 +/* 19AF88 8026C6A8 44121000 */ mfc1 $s2, $f2 +/* 19AF8C 8026C6AC 0C0B210B */ jal get_float_variable +/* 19AF90 8026C6B0 0220202D */ daddu $a0, $s1, $zero +/* 19AF94 8026C6B4 0220202D */ daddu $a0, $s1, $zero +/* 19AF98 8026C6B8 8E050000 */ lw $a1, ($s0) +/* 19AF9C 8026C6BC 4600008D */ trunc.w.s $f2, $f0 +/* 19AFA0 8026C6C0 44111000 */ mfc1 $s1, $f2 +/* 19AFA4 8026C6C4 0C0B210B */ jal get_float_variable +/* 19AFA8 8026C6C8 00000000 */ nop +/* 19AFAC 8026C6CC 4600008D */ trunc.w.s $f2, $f0 +/* 19AFB0 8026C6D0 44101000 */ mfc1 $s0, $f2 +/* 19AFB4 8026C6D4 0C09A75B */ jal get_actor +/* 19AFB8 8026C6D8 0260202D */ daddu $a0, $s3, $zero +/* 19AFBC 8026C6DC 0040202D */ daddu $a0, $v0, $zero +/* 19AFC0 8026C6E0 0C099117 */ jal get_actor_part +/* 19AFC4 8026C6E4 0280282D */ daddu $a1, $s4, $zero +/* 19AFC8 8026C6E8 0040182D */ daddu $v1, $v0, $zero +/* 19AFCC 8026C6EC 44920000 */ mtc1 $s2, $f0 +/* 19AFD0 8026C6F0 00000000 */ nop +/* 19AFD4 8026C6F4 46800020 */ cvt.s.w $f0, $f0 +/* 19AFD8 8026C6F8 E4600038 */ swc1 $f0, 0x38($v1) +/* 19AFDC 8026C6FC 44910000 */ mtc1 $s1, $f0 +/* 19AFE0 8026C700 00000000 */ nop +/* 19AFE4 8026C704 46800020 */ cvt.s.w $f0, $f0 +/* 19AFE8 8026C708 E460003C */ swc1 $f0, 0x3c($v1) +/* 19AFEC 8026C70C 44900000 */ mtc1 $s0, $f0 +/* 19AFF0 8026C710 00000000 */ nop +/* 19AFF4 8026C714 46800020 */ cvt.s.w $f0, $f0 +/* 19AFF8 8026C718 E4600040 */ swc1 $f0, 0x40($v1) +/* 19AFFC 8026C71C 8FBF0024 */ lw $ra, 0x24($sp) +/* 19B000 8026C720 8FB40020 */ lw $s4, 0x20($sp) +/* 19B004 8026C724 8FB3001C */ lw $s3, 0x1c($sp) +/* 19B008 8026C728 8FB20018 */ lw $s2, 0x18($sp) +/* 19B00C 8026C72C 8FB10014 */ lw $s1, 0x14($sp) +/* 19B010 8026C730 8FB00010 */ lw $s0, 0x10($sp) +/* 19B014 8026C734 24020002 */ addiu $v0, $zero, 2 +/* 19B018 8026C738 03E00008 */ jr $ra +/* 19B01C 8026C73C 27BD0028 */ addiu $sp, $sp, 0x28 + +SetPartRotationOffset: +/* 19B020 8026C740 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 19B024 8026C744 AFB10014 */ sw $s1, 0x14($sp) +/* 19B028 8026C748 0080882D */ daddu $s1, $a0, $zero +/* 19B02C 8026C74C AFBF0024 */ sw $ra, 0x24($sp) +/* 19B030 8026C750 AFB40020 */ sw $s4, 0x20($sp) +/* 19B034 8026C754 AFB3001C */ sw $s3, 0x1c($sp) +/* 19B038 8026C758 AFB20018 */ sw $s2, 0x18($sp) +/* 19B03C 8026C75C AFB00010 */ sw $s0, 0x10($sp) +/* 19B040 8026C760 8E30000C */ lw $s0, 0xc($s1) +/* 19B044 8026C764 8E050000 */ lw $a1, ($s0) +/* 19B048 8026C768 0C0B1EAF */ jal get_variable +/* 19B04C 8026C76C 26100004 */ addiu $s0, $s0, 4 +/* 19B050 8026C770 0040982D */ daddu $s3, $v0, $zero +/* 19B054 8026C774 8E050000 */ lw $a1, ($s0) +/* 19B058 8026C778 26100004 */ addiu $s0, $s0, 4 +/* 19B05C 8026C77C 0C0B1EAF */ jal get_variable +/* 19B060 8026C780 0220202D */ daddu $a0, $s1, $zero +/* 19B064 8026C784 0040A02D */ daddu $s4, $v0, $zero +/* 19B068 8026C788 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19B06C 8026C78C 16620002 */ bne $s3, $v0, .L8026C798 +/* 19B070 8026C790 00000000 */ nop +/* 19B074 8026C794 8E330148 */ lw $s3, 0x148($s1) +.L8026C798: +/* 19B078 8026C798 8E050000 */ lw $a1, ($s0) +/* 19B07C 8026C79C 26100004 */ addiu $s0, $s0, 4 +/* 19B080 8026C7A0 0C0B210B */ jal get_float_variable +/* 19B084 8026C7A4 0220202D */ daddu $a0, $s1, $zero +/* 19B088 8026C7A8 8E050000 */ lw $a1, ($s0) +/* 19B08C 8026C7AC 26100004 */ addiu $s0, $s0, 4 +/* 19B090 8026C7B0 4600008D */ trunc.w.s $f2, $f0 +/* 19B094 8026C7B4 44121000 */ mfc1 $s2, $f2 +/* 19B098 8026C7B8 0C0B210B */ jal get_float_variable +/* 19B09C 8026C7BC 0220202D */ daddu $a0, $s1, $zero +/* 19B0A0 8026C7C0 0220202D */ daddu $a0, $s1, $zero +/* 19B0A4 8026C7C4 8E050000 */ lw $a1, ($s0) +/* 19B0A8 8026C7C8 4600008D */ trunc.w.s $f2, $f0 +/* 19B0AC 8026C7CC 44111000 */ mfc1 $s1, $f2 +/* 19B0B0 8026C7D0 0C0B210B */ jal get_float_variable +/* 19B0B4 8026C7D4 00000000 */ nop +/* 19B0B8 8026C7D8 4600008D */ trunc.w.s $f2, $f0 +/* 19B0BC 8026C7DC 44101000 */ mfc1 $s0, $f2 +/* 19B0C0 8026C7E0 0C09A75B */ jal get_actor +/* 19B0C4 8026C7E4 0260202D */ daddu $a0, $s3, $zero +/* 19B0C8 8026C7E8 0040202D */ daddu $a0, $v0, $zero +/* 19B0CC 8026C7EC 0C099117 */ jal get_actor_part +/* 19B0D0 8026C7F0 0280282D */ daddu $a1, $s4, $zero +/* 19B0D4 8026C7F4 0040182D */ daddu $v1, $v0, $zero +/* 19B0D8 8026C7F8 A4720044 */ sh $s2, 0x44($v1) +/* 19B0DC 8026C7FC A4710046 */ sh $s1, 0x46($v1) +/* 19B0E0 8026C800 A4700048 */ sh $s0, 0x48($v1) +/* 19B0E4 8026C804 8FBF0024 */ lw $ra, 0x24($sp) +/* 19B0E8 8026C808 8FB40020 */ lw $s4, 0x20($sp) +/* 19B0EC 8026C80C 8FB3001C */ lw $s3, 0x1c($sp) +/* 19B0F0 8026C810 8FB20018 */ lw $s2, 0x18($sp) +/* 19B0F4 8026C814 8FB10014 */ lw $s1, 0x14($sp) +/* 19B0F8 8026C818 8FB00010 */ lw $s0, 0x10($sp) +/* 19B0FC 8026C81C 24020002 */ addiu $v0, $zero, 2 +/* 19B100 8026C820 03E00008 */ jr $ra +/* 19B104 8026C824 27BD0028 */ addiu $sp, $sp, 0x28 + +GetPartRotation: +/* 19B108 8026C828 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* 19B10C 8026C82C AFB40020 */ sw $s4, 0x20($sp) +/* 19B110 8026C830 0080A02D */ daddu $s4, $a0, $zero +/* 19B114 8026C834 AFBF0028 */ sw $ra, 0x28($sp) +/* 19B118 8026C838 AFB50024 */ sw $s5, 0x24($sp) +/* 19B11C 8026C83C AFB3001C */ sw $s3, 0x1c($sp) +/* 19B120 8026C840 AFB20018 */ sw $s2, 0x18($sp) +/* 19B124 8026C844 AFB10014 */ sw $s1, 0x14($sp) +/* 19B128 8026C848 AFB00010 */ sw $s0, 0x10($sp) +/* 19B12C 8026C84C 8E90000C */ lw $s0, 0xc($s4) +/* 19B130 8026C850 8E050000 */ lw $a1, ($s0) +/* 19B134 8026C854 0C0B1EAF */ jal get_variable +/* 19B138 8026C858 26100004 */ addiu $s0, $s0, 4 +/* 19B13C 8026C85C 0040902D */ daddu $s2, $v0, $zero +/* 19B140 8026C860 8E050000 */ lw $a1, ($s0) +/* 19B144 8026C864 26100004 */ addiu $s0, $s0, 4 +/* 19B148 8026C868 0C0B1EAF */ jal get_variable +/* 19B14C 8026C86C 0280202D */ daddu $a0, $s4, $zero +/* 19B150 8026C870 0040A82D */ daddu $s5, $v0, $zero +/* 19B154 8026C874 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19B158 8026C878 16420002 */ bne $s2, $v0, .L8026C884 +/* 19B15C 8026C87C 00000000 */ nop +/* 19B160 8026C880 8E920148 */ lw $s2, 0x148($s4) +.L8026C884: +/* 19B164 8026C884 8E110000 */ lw $s1, ($s0) +/* 19B168 8026C888 26100004 */ addiu $s0, $s0, 4 +/* 19B16C 8026C88C 0240202D */ daddu $a0, $s2, $zero +/* 19B170 8026C890 8E120000 */ lw $s2, ($s0) +/* 19B174 8026C894 0C09A75B */ jal get_actor +/* 19B178 8026C898 8E130004 */ lw $s3, 4($s0) +/* 19B17C 8026C89C 0040202D */ daddu $a0, $v0, $zero +/* 19B180 8026C8A0 0C099117 */ jal get_actor_part +/* 19B184 8026C8A4 02A0282D */ daddu $a1, $s5, $zero +/* 19B188 8026C8A8 0280202D */ daddu $a0, $s4, $zero +/* 19B18C 8026C8AC 0040802D */ daddu $s0, $v0, $zero +/* 19B190 8026C8B0 8E060038 */ lw $a2, 0x38($s0) +/* 19B194 8026C8B4 0C0B2190 */ jal set_float_variable +/* 19B198 8026C8B8 0220282D */ daddu $a1, $s1, $zero +/* 19B19C 8026C8BC 0280202D */ daddu $a0, $s4, $zero +/* 19B1A0 8026C8C0 8E06003C */ lw $a2, 0x3c($s0) +/* 19B1A4 8026C8C4 0C0B2190 */ jal set_float_variable +/* 19B1A8 8026C8C8 0240282D */ daddu $a1, $s2, $zero +/* 19B1AC 8026C8CC 0280202D */ daddu $a0, $s4, $zero +/* 19B1B0 8026C8D0 8E060040 */ lw $a2, 0x40($s0) +/* 19B1B4 8026C8D4 0C0B2190 */ jal set_float_variable +/* 19B1B8 8026C8D8 0260282D */ daddu $a1, $s3, $zero +/* 19B1BC 8026C8DC 8FBF0028 */ lw $ra, 0x28($sp) +/* 19B1C0 8026C8E0 8FB50024 */ lw $s5, 0x24($sp) +/* 19B1C4 8026C8E4 8FB40020 */ lw $s4, 0x20($sp) +/* 19B1C8 8026C8E8 8FB3001C */ lw $s3, 0x1c($sp) +/* 19B1CC 8026C8EC 8FB20018 */ lw $s2, 0x18($sp) +/* 19B1D0 8026C8F0 8FB10014 */ lw $s1, 0x14($sp) +/* 19B1D4 8026C8F4 8FB00010 */ lw $s0, 0x10($sp) +/* 19B1D8 8026C8F8 24020002 */ addiu $v0, $zero, 2 +/* 19B1DC 8026C8FC 03E00008 */ jr $ra +/* 19B1E0 8026C900 27BD0030 */ addiu $sp, $sp, 0x30 + +SetActorScale: +/* 19B1E4 8026C904 27BDFFC8 */ addiu $sp, $sp, -0x38 +/* 19B1E8 8026C908 AFB20018 */ sw $s2, 0x18($sp) +/* 19B1EC 8026C90C 0080902D */ daddu $s2, $a0, $zero +/* 19B1F0 8026C910 AFBF001C */ sw $ra, 0x1c($sp) +/* 19B1F4 8026C914 AFB10014 */ sw $s1, 0x14($sp) +/* 19B1F8 8026C918 AFB00010 */ sw $s0, 0x10($sp) +/* 19B1FC 8026C91C F7B80030 */ sdc1 $f24, 0x30($sp) +/* 19B200 8026C920 F7B60028 */ sdc1 $f22, 0x28($sp) +/* 19B204 8026C924 F7B40020 */ sdc1 $f20, 0x20($sp) +/* 19B208 8026C928 8E50000C */ lw $s0, 0xc($s2) +/* 19B20C 8026C92C 8E050000 */ lw $a1, ($s0) +/* 19B210 8026C930 0C0B1EAF */ jal get_variable +/* 19B214 8026C934 26100004 */ addiu $s0, $s0, 4 +/* 19B218 8026C938 0040882D */ daddu $s1, $v0, $zero +/* 19B21C 8026C93C 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19B220 8026C940 16220002 */ bne $s1, $v0, .L8026C94C +/* 19B224 8026C944 00000000 */ nop +/* 19B228 8026C948 8E510148 */ lw $s1, 0x148($s2) +.L8026C94C: +/* 19B22C 8026C94C 8E050000 */ lw $a1, ($s0) +/* 19B230 8026C950 26100004 */ addiu $s0, $s0, 4 +/* 19B234 8026C954 0C0B210B */ jal get_float_variable +/* 19B238 8026C958 0240202D */ daddu $a0, $s2, $zero +/* 19B23C 8026C95C 8E050000 */ lw $a1, ($s0) +/* 19B240 8026C960 26100004 */ addiu $s0, $s0, 4 +/* 19B244 8026C964 0240202D */ daddu $a0, $s2, $zero +/* 19B248 8026C968 0C0B210B */ jal get_float_variable +/* 19B24C 8026C96C 46000606 */ mov.s $f24, $f0 +/* 19B250 8026C970 0240202D */ daddu $a0, $s2, $zero +/* 19B254 8026C974 8E050000 */ lw $a1, ($s0) +/* 19B258 8026C978 0C0B210B */ jal get_float_variable +/* 19B25C 8026C97C 46000586 */ mov.s $f22, $f0 +/* 19B260 8026C980 0220202D */ daddu $a0, $s1, $zero +/* 19B264 8026C984 0C09A75B */ jal get_actor +/* 19B268 8026C988 46000506 */ mov.s $f20, $f0 +/* 19B26C 8026C98C 0040182D */ daddu $v1, $v0, $zero +/* 19B270 8026C990 E4780170 */ swc1 $f24, 0x170($v1) +/* 19B274 8026C994 E4760174 */ swc1 $f22, 0x174($v1) +/* 19B278 8026C998 E4740178 */ swc1 $f20, 0x178($v1) +/* 19B27C 8026C99C 8FBF001C */ lw $ra, 0x1c($sp) +/* 19B280 8026C9A0 8FB20018 */ lw $s2, 0x18($sp) +/* 19B284 8026C9A4 8FB10014 */ lw $s1, 0x14($sp) +/* 19B288 8026C9A8 8FB00010 */ lw $s0, 0x10($sp) +/* 19B28C 8026C9AC D7B80030 */ ldc1 $f24, 0x30($sp) +/* 19B290 8026C9B0 D7B60028 */ ldc1 $f22, 0x28($sp) +/* 19B294 8026C9B4 D7B40020 */ ldc1 $f20, 0x20($sp) +/* 19B298 8026C9B8 24020002 */ addiu $v0, $zero, 2 +/* 19B29C 8026C9BC 03E00008 */ jr $ra +/* 19B2A0 8026C9C0 27BD0038 */ addiu $sp, $sp, 0x38 + +SetActorScaleModifier: +/* 19B2A4 8026C9C4 27BDFFC8 */ addiu $sp, $sp, -0x38 +/* 19B2A8 8026C9C8 AFB20018 */ sw $s2, 0x18($sp) +/* 19B2AC 8026C9CC 0080902D */ daddu $s2, $a0, $zero +/* 19B2B0 8026C9D0 AFBF001C */ sw $ra, 0x1c($sp) +/* 19B2B4 8026C9D4 AFB10014 */ sw $s1, 0x14($sp) +/* 19B2B8 8026C9D8 AFB00010 */ sw $s0, 0x10($sp) +/* 19B2BC 8026C9DC F7B80030 */ sdc1 $f24, 0x30($sp) +/* 19B2C0 8026C9E0 F7B60028 */ sdc1 $f22, 0x28($sp) +/* 19B2C4 8026C9E4 F7B40020 */ sdc1 $f20, 0x20($sp) +/* 19B2C8 8026C9E8 8E50000C */ lw $s0, 0xc($s2) +/* 19B2CC 8026C9EC 8E050000 */ lw $a1, ($s0) +/* 19B2D0 8026C9F0 0C0B1EAF */ jal get_variable +/* 19B2D4 8026C9F4 26100004 */ addiu $s0, $s0, 4 +/* 19B2D8 8026C9F8 0040882D */ daddu $s1, $v0, $zero +/* 19B2DC 8026C9FC 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19B2E0 8026CA00 16220002 */ bne $s1, $v0, .L8026CA0C +/* 19B2E4 8026CA04 00000000 */ nop +/* 19B2E8 8026CA08 8E510148 */ lw $s1, 0x148($s2) +.L8026CA0C: +/* 19B2EC 8026CA0C 8E050000 */ lw $a1, ($s0) +/* 19B2F0 8026CA10 26100004 */ addiu $s0, $s0, 4 +/* 19B2F4 8026CA14 0C0B210B */ jal get_float_variable +/* 19B2F8 8026CA18 0240202D */ daddu $a0, $s2, $zero +/* 19B2FC 8026CA1C 8E050000 */ lw $a1, ($s0) +/* 19B300 8026CA20 26100004 */ addiu $s0, $s0, 4 +/* 19B304 8026CA24 0240202D */ daddu $a0, $s2, $zero +/* 19B308 8026CA28 0C0B210B */ jal get_float_variable +/* 19B30C 8026CA2C 46000606 */ mov.s $f24, $f0 +/* 19B310 8026CA30 0240202D */ daddu $a0, $s2, $zero +/* 19B314 8026CA34 8E050000 */ lw $a1, ($s0) +/* 19B318 8026CA38 0C0B210B */ jal get_float_variable +/* 19B31C 8026CA3C 46000586 */ mov.s $f22, $f0 +/* 19B320 8026CA40 0220202D */ daddu $a0, $s1, $zero +/* 19B324 8026CA44 0C09A75B */ jal get_actor +/* 19B328 8026CA48 46000506 */ mov.s $f20, $f0 +/* 19B32C 8026CA4C 0040182D */ daddu $v1, $v0, $zero +/* 19B330 8026CA50 E478017C */ swc1 $f24, 0x17c($v1) +/* 19B334 8026CA54 E4760180 */ swc1 $f22, 0x180($v1) +/* 19B338 8026CA58 E4740184 */ swc1 $f20, 0x184($v1) +/* 19B33C 8026CA5C 8FBF001C */ lw $ra, 0x1c($sp) +/* 19B340 8026CA60 8FB20018 */ lw $s2, 0x18($sp) +/* 19B344 8026CA64 8FB10014 */ lw $s1, 0x14($sp) +/* 19B348 8026CA68 8FB00010 */ lw $s0, 0x10($sp) +/* 19B34C 8026CA6C D7B80030 */ ldc1 $f24, 0x30($sp) +/* 19B350 8026CA70 D7B60028 */ ldc1 $f22, 0x28($sp) +/* 19B354 8026CA74 D7B40020 */ ldc1 $f20, 0x20($sp) +/* 19B358 8026CA78 24020002 */ addiu $v0, $zero, 2 +/* 19B35C 8026CA7C 03E00008 */ jr $ra +/* 19B360 8026CA80 27BD0038 */ addiu $sp, $sp, 0x38 + +GetActorScale: +/* 19B364 8026CA84 27BDFFC8 */ addiu $sp, $sp, -0x38 +/* 19B368 8026CA88 AFB10014 */ sw $s1, 0x14($sp) +/* 19B36C 8026CA8C 0080882D */ daddu $s1, $a0, $zero +/* 19B370 8026CA90 AFBF0018 */ sw $ra, 0x18($sp) +/* 19B374 8026CA94 AFB00010 */ sw $s0, 0x10($sp) +/* 19B378 8026CA98 F7B80030 */ sdc1 $f24, 0x30($sp) +/* 19B37C 8026CA9C F7B60028 */ sdc1 $f22, 0x28($sp) +/* 19B380 8026CAA0 F7B40020 */ sdc1 $f20, 0x20($sp) +/* 19B384 8026CAA4 8E30000C */ lw $s0, 0xc($s1) +/* 19B388 8026CAA8 8E050000 */ lw $a1, ($s0) +/* 19B38C 8026CAAC 0C0B1EAF */ jal get_variable +/* 19B390 8026CAB0 26100004 */ addiu $s0, $s0, 4 +/* 19B394 8026CAB4 0040202D */ daddu $a0, $v0, $zero +/* 19B398 8026CAB8 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19B39C 8026CABC 14820002 */ bne $a0, $v0, .L8026CAC8 +/* 19B3A0 8026CAC0 00000000 */ nop +/* 19B3A4 8026CAC4 8E240148 */ lw $a0, 0x148($s1) +.L8026CAC8: +/* 19B3A8 8026CAC8 C6140000 */ lwc1 $f20, ($s0) +/* 19B3AC 8026CACC 4680A520 */ cvt.s.w $f20, $f20 +/* 19B3B0 8026CAD0 26100004 */ addiu $s0, $s0, 4 +/* 19B3B4 8026CAD4 C6160000 */ lwc1 $f22, ($s0) +/* 19B3B8 8026CAD8 4680B5A0 */ cvt.s.w $f22, $f22 +/* 19B3BC 8026CADC C6180004 */ lwc1 $f24, 4($s0) +/* 19B3C0 8026CAE0 0C09A75B */ jal get_actor +/* 19B3C4 8026CAE4 4680C620 */ cvt.s.w $f24, $f24 +/* 19B3C8 8026CAE8 0040802D */ daddu $s0, $v0, $zero +/* 19B3CC 8026CAEC 8E060170 */ lw $a2, 0x170($s0) +/* 19B3D0 8026CAF0 4600A08D */ trunc.w.s $f2, $f20 +/* 19B3D4 8026CAF4 44051000 */ mfc1 $a1, $f2 +/* 19B3D8 8026CAF8 0C0B2190 */ jal set_float_variable +/* 19B3DC 8026CAFC 0220202D */ daddu $a0, $s1, $zero +/* 19B3E0 8026CB00 8E060174 */ lw $a2, 0x174($s0) +/* 19B3E4 8026CB04 4600B08D */ trunc.w.s $f2, $f22 +/* 19B3E8 8026CB08 44051000 */ mfc1 $a1, $f2 +/* 19B3EC 8026CB0C 0C0B2190 */ jal set_float_variable +/* 19B3F0 8026CB10 0220202D */ daddu $a0, $s1, $zero +/* 19B3F4 8026CB14 8E060178 */ lw $a2, 0x178($s0) +/* 19B3F8 8026CB18 4600C08D */ trunc.w.s $f2, $f24 +/* 19B3FC 8026CB1C 44051000 */ mfc1 $a1, $f2 +/* 19B400 8026CB20 0C0B2190 */ jal set_float_variable +/* 19B404 8026CB24 0220202D */ daddu $a0, $s1, $zero +/* 19B408 8026CB28 8FBF0018 */ lw $ra, 0x18($sp) +/* 19B40C 8026CB2C 8FB10014 */ lw $s1, 0x14($sp) +/* 19B410 8026CB30 8FB00010 */ lw $s0, 0x10($sp) +/* 19B414 8026CB34 D7B80030 */ ldc1 $f24, 0x30($sp) +/* 19B418 8026CB38 D7B60028 */ ldc1 $f22, 0x28($sp) +/* 19B41C 8026CB3C D7B40020 */ ldc1 $f20, 0x20($sp) +/* 19B420 8026CB40 24020002 */ addiu $v0, $zero, 2 +/* 19B424 8026CB44 03E00008 */ jr $ra +/* 19B428 8026CB48 27BD0038 */ addiu $sp, $sp, 0x38 + +SetPartScale: +/* 19B42C 8026CB4C 27BDFFC0 */ addiu $sp, $sp, -0x40 +/* 19B430 8026CB50 AFB10014 */ sw $s1, 0x14($sp) +/* 19B434 8026CB54 0080882D */ daddu $s1, $a0, $zero +/* 19B438 8026CB58 AFBF0020 */ sw $ra, 0x20($sp) +/* 19B43C 8026CB5C AFB3001C */ sw $s3, 0x1c($sp) +/* 19B440 8026CB60 AFB20018 */ sw $s2, 0x18($sp) +/* 19B444 8026CB64 AFB00010 */ sw $s0, 0x10($sp) +/* 19B448 8026CB68 F7B80038 */ sdc1 $f24, 0x38($sp) +/* 19B44C 8026CB6C F7B60030 */ sdc1 $f22, 0x30($sp) +/* 19B450 8026CB70 F7B40028 */ sdc1 $f20, 0x28($sp) +/* 19B454 8026CB74 8E30000C */ lw $s0, 0xc($s1) +/* 19B458 8026CB78 8E050000 */ lw $a1, ($s0) +/* 19B45C 8026CB7C 0C0B1EAF */ jal get_variable +/* 19B460 8026CB80 26100004 */ addiu $s0, $s0, 4 +/* 19B464 8026CB84 0040902D */ daddu $s2, $v0, $zero +/* 19B468 8026CB88 8E050000 */ lw $a1, ($s0) +/* 19B46C 8026CB8C 26100004 */ addiu $s0, $s0, 4 +/* 19B470 8026CB90 0C0B1EAF */ jal get_variable +/* 19B474 8026CB94 0220202D */ daddu $a0, $s1, $zero +/* 19B478 8026CB98 0040982D */ daddu $s3, $v0, $zero +/* 19B47C 8026CB9C 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19B480 8026CBA0 16420002 */ bne $s2, $v0, .L8026CBAC +/* 19B484 8026CBA4 00000000 */ nop +/* 19B488 8026CBA8 8E320148 */ lw $s2, 0x148($s1) +.L8026CBAC: +/* 19B48C 8026CBAC 8E050000 */ lw $a1, ($s0) +/* 19B490 8026CBB0 26100004 */ addiu $s0, $s0, 4 +/* 19B494 8026CBB4 0C0B210B */ jal get_float_variable +/* 19B498 8026CBB8 0220202D */ daddu $a0, $s1, $zero +/* 19B49C 8026CBBC 8E050000 */ lw $a1, ($s0) +/* 19B4A0 8026CBC0 26100004 */ addiu $s0, $s0, 4 +/* 19B4A4 8026CBC4 0220202D */ daddu $a0, $s1, $zero +/* 19B4A8 8026CBC8 0C0B210B */ jal get_float_variable +/* 19B4AC 8026CBCC 46000606 */ mov.s $f24, $f0 +/* 19B4B0 8026CBD0 0220202D */ daddu $a0, $s1, $zero +/* 19B4B4 8026CBD4 8E050000 */ lw $a1, ($s0) +/* 19B4B8 8026CBD8 0C0B210B */ jal get_float_variable +/* 19B4BC 8026CBDC 46000586 */ mov.s $f22, $f0 +/* 19B4C0 8026CBE0 0240202D */ daddu $a0, $s2, $zero +/* 19B4C4 8026CBE4 0C09A75B */ jal get_actor +/* 19B4C8 8026CBE8 46000506 */ mov.s $f20, $f0 +/* 19B4CC 8026CBEC 0040202D */ daddu $a0, $v0, $zero +/* 19B4D0 8026CBF0 0C099117 */ jal get_actor_part +/* 19B4D4 8026CBF4 0260282D */ daddu $a1, $s3, $zero +/* 19B4D8 8026CBF8 0040182D */ daddu $v1, $v0, $zero +/* 19B4DC 8026CBFC E478004C */ swc1 $f24, 0x4c($v1) +/* 19B4E0 8026CC00 E4760050 */ swc1 $f22, 0x50($v1) +/* 19B4E4 8026CC04 E4740054 */ swc1 $f20, 0x54($v1) +/* 19B4E8 8026CC08 8FBF0020 */ lw $ra, 0x20($sp) +/* 19B4EC 8026CC0C 8FB3001C */ lw $s3, 0x1c($sp) +/* 19B4F0 8026CC10 8FB20018 */ lw $s2, 0x18($sp) +/* 19B4F4 8026CC14 8FB10014 */ lw $s1, 0x14($sp) +/* 19B4F8 8026CC18 8FB00010 */ lw $s0, 0x10($sp) +/* 19B4FC 8026CC1C D7B80038 */ ldc1 $f24, 0x38($sp) +/* 19B500 8026CC20 D7B60030 */ ldc1 $f22, 0x30($sp) +/* 19B504 8026CC24 D7B40028 */ ldc1 $f20, 0x28($sp) +/* 19B508 8026CC28 24020002 */ addiu $v0, $zero, 2 +/* 19B50C 8026CC2C 03E00008 */ jr $ra +/* 19B510 8026CC30 27BD0040 */ addiu $sp, $sp, 0x40 + +GetPartScale: +/* 19B514 8026CC34 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* 19B518 8026CC38 AFB40020 */ sw $s4, 0x20($sp) +/* 19B51C 8026CC3C 0080A02D */ daddu $s4, $a0, $zero +/* 19B520 8026CC40 AFBF0028 */ sw $ra, 0x28($sp) +/* 19B524 8026CC44 AFB50024 */ sw $s5, 0x24($sp) +/* 19B528 8026CC48 AFB3001C */ sw $s3, 0x1c($sp) +/* 19B52C 8026CC4C AFB20018 */ sw $s2, 0x18($sp) +/* 19B530 8026CC50 AFB10014 */ sw $s1, 0x14($sp) +/* 19B534 8026CC54 AFB00010 */ sw $s0, 0x10($sp) +/* 19B538 8026CC58 8E90000C */ lw $s0, 0xc($s4) +/* 19B53C 8026CC5C 8E050000 */ lw $a1, ($s0) +/* 19B540 8026CC60 0C0B1EAF */ jal get_variable +/* 19B544 8026CC64 26100004 */ addiu $s0, $s0, 4 +/* 19B548 8026CC68 0040902D */ daddu $s2, $v0, $zero +/* 19B54C 8026CC6C 8E050000 */ lw $a1, ($s0) +/* 19B550 8026CC70 26100004 */ addiu $s0, $s0, 4 +/* 19B554 8026CC74 0C0B1EAF */ jal get_variable +/* 19B558 8026CC78 0280202D */ daddu $a0, $s4, $zero +/* 19B55C 8026CC7C 0040A82D */ daddu $s5, $v0, $zero +/* 19B560 8026CC80 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19B564 8026CC84 16420002 */ bne $s2, $v0, .L8026CC90 +/* 19B568 8026CC88 00000000 */ nop +/* 19B56C 8026CC8C 8E920148 */ lw $s2, 0x148($s4) +.L8026CC90: +/* 19B570 8026CC90 8E110000 */ lw $s1, ($s0) +/* 19B574 8026CC94 26100004 */ addiu $s0, $s0, 4 +/* 19B578 8026CC98 0240202D */ daddu $a0, $s2, $zero +/* 19B57C 8026CC9C 8E120000 */ lw $s2, ($s0) +/* 19B580 8026CCA0 0C09A75B */ jal get_actor +/* 19B584 8026CCA4 8E130004 */ lw $s3, 4($s0) +/* 19B588 8026CCA8 0040202D */ daddu $a0, $v0, $zero +/* 19B58C 8026CCAC 0C099117 */ jal get_actor_part +/* 19B590 8026CCB0 02A0282D */ daddu $a1, $s5, $zero +/* 19B594 8026CCB4 0280202D */ daddu $a0, $s4, $zero +/* 19B598 8026CCB8 0040802D */ daddu $s0, $v0, $zero +/* 19B59C 8026CCBC 8E06004C */ lw $a2, 0x4c($s0) +/* 19B5A0 8026CCC0 0C0B2190 */ jal set_float_variable +/* 19B5A4 8026CCC4 0220282D */ daddu $a1, $s1, $zero +/* 19B5A8 8026CCC8 0280202D */ daddu $a0, $s4, $zero +/* 19B5AC 8026CCCC 8E060050 */ lw $a2, 0x50($s0) +/* 19B5B0 8026CCD0 0C0B2190 */ jal set_float_variable +/* 19B5B4 8026CCD4 0240282D */ daddu $a1, $s2, $zero +/* 19B5B8 8026CCD8 0280202D */ daddu $a0, $s4, $zero +/* 19B5BC 8026CCDC 8E060054 */ lw $a2, 0x54($s0) +/* 19B5C0 8026CCE0 0C0B2190 */ jal set_float_variable +/* 19B5C4 8026CCE4 0260282D */ daddu $a1, $s3, $zero +/* 19B5C8 8026CCE8 8FBF0028 */ lw $ra, 0x28($sp) +/* 19B5CC 8026CCEC 8FB50024 */ lw $s5, 0x24($sp) +/* 19B5D0 8026CCF0 8FB40020 */ lw $s4, 0x20($sp) +/* 19B5D4 8026CCF4 8FB3001C */ lw $s3, 0x1c($sp) +/* 19B5D8 8026CCF8 8FB20018 */ lw $s2, 0x18($sp) +/* 19B5DC 8026CCFC 8FB10014 */ lw $s1, 0x14($sp) +/* 19B5E0 8026CD00 8FB00010 */ lw $s0, 0x10($sp) +/* 19B5E4 8026CD04 24020002 */ addiu $v0, $zero, 2 +/* 19B5E8 8026CD08 03E00008 */ jr $ra +/* 19B5EC 8026CD0C 27BD0030 */ addiu $sp, $sp, 0x30 + +GetBattleFlags: +/* 19B5F0 8026CD10 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 19B5F4 8026CD14 AFBF0010 */ sw $ra, 0x10($sp) +/* 19B5F8 8026CD18 8C82000C */ lw $v0, 0xc($a0) +/* 19B5FC 8026CD1C 3C06800E */ lui $a2, 0x800e +/* 19B600 8026CD20 8CC6C070 */ lw $a2, -0x3f90($a2) +/* 19B604 8026CD24 0C0B2026 */ jal set_variable +/* 19B608 8026CD28 8C450000 */ lw $a1, ($v0) +/* 19B60C 8026CD2C 8FBF0010 */ lw $ra, 0x10($sp) +/* 19B610 8026CD30 24020002 */ addiu $v0, $zero, 2 +/* 19B614 8026CD34 03E00008 */ jr $ra +/* 19B618 8026CD38 27BD0018 */ addiu $sp, $sp, 0x18 + +SetBattleFlagBits: +/* 19B61C 8026CD3C 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 19B620 8026CD40 AFBF0014 */ sw $ra, 0x14($sp) +/* 19B624 8026CD44 AFB00010 */ sw $s0, 0x10($sp) +/* 19B628 8026CD48 8C82000C */ lw $v0, 0xc($a0) +/* 19B62C 8026CD4C 8C450004 */ lw $a1, 4($v0) +/* 19B630 8026CD50 0C0B1EAF */ jal get_variable +/* 19B634 8026CD54 8C500000 */ lw $s0, ($v0) +/* 19B638 8026CD58 10400007 */ beqz $v0, .L8026CD78 +/* 19B63C 8026CD5C 00102027 */ nor $a0, $zero, $s0 +/* 19B640 8026CD60 3C03800E */ lui $v1, 0x800e +/* 19B644 8026CD64 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 19B648 8026CD68 8C620000 */ lw $v0, ($v1) +/* 19B64C 8026CD6C 00501025 */ or $v0, $v0, $s0 +/* 19B650 8026CD70 0809B363 */ j func_8026CD8C +/* 19B654 8026CD74 AC620000 */ sw $v0, ($v1) + +.L8026CD78: +/* 19B658 8026CD78 3C02800E */ lui $v0, 0x800e +/* 19B65C 8026CD7C 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 19B660 8026CD80 8C430000 */ lw $v1, ($v0) +/* 19B664 8026CD84 00641824 */ and $v1, $v1, $a0 +/* 19B668 8026CD88 AC430000 */ sw $v1, ($v0) +func_8026CD8C: +/* 19B66C 8026CD8C 8FBF0014 */ lw $ra, 0x14($sp) +/* 19B670 8026CD90 8FB00010 */ lw $s0, 0x10($sp) +/* 19B674 8026CD94 24020002 */ addiu $v0, $zero, 2 +/* 19B678 8026CD98 03E00008 */ jr $ra +/* 19B67C 8026CD9C 27BD0018 */ addiu $sp, $sp, 0x18 + +GetBattleFlags2: +/* 19B680 8026CDA0 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 19B684 8026CDA4 AFBF0010 */ sw $ra, 0x10($sp) +/* 19B688 8026CDA8 8C82000C */ lw $v0, 0xc($a0) +/* 19B68C 8026CDAC 3C06800E */ lui $a2, 0x800e +/* 19B690 8026CDB0 8CC6C074 */ lw $a2, -0x3f8c($a2) +/* 19B694 8026CDB4 0C0B2026 */ jal set_variable +/* 19B698 8026CDB8 8C450000 */ lw $a1, ($v0) +/* 19B69C 8026CDBC 8FBF0010 */ lw $ra, 0x10($sp) +/* 19B6A0 8026CDC0 24020002 */ addiu $v0, $zero, 2 +/* 19B6A4 8026CDC4 03E00008 */ jr $ra +/* 19B6A8 8026CDC8 27BD0018 */ addiu $sp, $sp, 0x18 + +SetBattleFlagBits2: +/* 19B6AC 8026CDCC 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 19B6B0 8026CDD0 AFBF0014 */ sw $ra, 0x14($sp) +/* 19B6B4 8026CDD4 AFB00010 */ sw $s0, 0x10($sp) +/* 19B6B8 8026CDD8 8C82000C */ lw $v0, 0xc($a0) +/* 19B6BC 8026CDDC 8C450004 */ lw $a1, 4($v0) +/* 19B6C0 8026CDE0 0C0B1EAF */ jal get_variable +/* 19B6C4 8026CDE4 8C500000 */ lw $s0, ($v0) +/* 19B6C8 8026CDE8 10400007 */ beqz $v0, .L8026CE08 +/* 19B6CC 8026CDEC 00102027 */ nor $a0, $zero, $s0 +/* 19B6D0 8026CDF0 3C03800E */ lui $v1, 0x800e +/* 19B6D4 8026CDF4 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 19B6D8 8026CDF8 8C620004 */ lw $v0, 4($v1) +/* 19B6DC 8026CDFC 00501025 */ or $v0, $v0, $s0 +/* 19B6E0 8026CE00 0809B387 */ j func_8026CE1C +/* 19B6E4 8026CE04 AC620004 */ sw $v0, 4($v1) + +.L8026CE08: +/* 19B6E8 8026CE08 3C02800E */ lui $v0, 0x800e +/* 19B6EC 8026CE0C 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 19B6F0 8026CE10 8C430004 */ lw $v1, 4($v0) +/* 19B6F4 8026CE14 00641824 */ and $v1, $v1, $a0 +/* 19B6F8 8026CE18 AC430004 */ sw $v1, 4($v0) +func_8026CE1C: +/* 19B6FC 8026CE1C 8FBF0014 */ lw $ra, 0x14($sp) +/* 19B700 8026CE20 8FB00010 */ lw $s0, 0x10($sp) +/* 19B704 8026CE24 24020002 */ addiu $v0, $zero, 2 +/* 19B708 8026CE28 03E00008 */ jr $ra +/* 19B70C 8026CE2C 27BD0018 */ addiu $sp, $sp, 0x18 + +SetActorFlags: +/* 19B710 8026CE30 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 19B714 8026CE34 AFB10014 */ sw $s1, 0x14($sp) +/* 19B718 8026CE38 0080882D */ daddu $s1, $a0, $zero +/* 19B71C 8026CE3C AFBF0018 */ sw $ra, 0x18($sp) +/* 19B720 8026CE40 AFB00010 */ sw $s0, 0x10($sp) +/* 19B724 8026CE44 8E30000C */ lw $s0, 0xc($s1) +/* 19B728 8026CE48 8E050000 */ lw $a1, ($s0) +/* 19B72C 8026CE4C 0C0B1EAF */ jal get_variable +/* 19B730 8026CE50 26100004 */ addiu $s0, $s0, 4 +/* 19B734 8026CE54 0040202D */ daddu $a0, $v0, $zero +/* 19B738 8026CE58 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19B73C 8026CE5C 14820002 */ bne $a0, $v0, .L8026CE68 +/* 19B740 8026CE60 00000000 */ nop +/* 19B744 8026CE64 8E240148 */ lw $a0, 0x148($s1) +.L8026CE68: +/* 19B748 8026CE68 0C09A75B */ jal get_actor +/* 19B74C 8026CE6C 8E100000 */ lw $s0, ($s0) +/* 19B750 8026CE70 AC500000 */ sw $s0, ($v0) +/* 19B754 8026CE74 8FBF0018 */ lw $ra, 0x18($sp) +/* 19B758 8026CE78 8FB10014 */ lw $s1, 0x14($sp) +/* 19B75C 8026CE7C 8FB00010 */ lw $s0, 0x10($sp) +/* 19B760 8026CE80 24020002 */ addiu $v0, $zero, 2 +/* 19B764 8026CE84 03E00008 */ jr $ra +/* 19B768 8026CE88 27BD0020 */ addiu $sp, $sp, 0x20 + +SetActorFlagBits: +/* 19B76C 8026CE8C 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 19B770 8026CE90 AFB20018 */ sw $s2, 0x18($sp) +/* 19B774 8026CE94 0080902D */ daddu $s2, $a0, $zero +/* 19B778 8026CE98 AFBF001C */ sw $ra, 0x1c($sp) +/* 19B77C 8026CE9C AFB10014 */ sw $s1, 0x14($sp) +/* 19B780 8026CEA0 AFB00010 */ sw $s0, 0x10($sp) +/* 19B784 8026CEA4 8E50000C */ lw $s0, 0xc($s2) +/* 19B788 8026CEA8 8E050000 */ lw $a1, ($s0) +/* 19B78C 8026CEAC 0C0B1EAF */ jal get_variable +/* 19B790 8026CEB0 26100004 */ addiu $s0, $s0, 4 +/* 19B794 8026CEB4 0040882D */ daddu $s1, $v0, $zero +/* 19B798 8026CEB8 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19B79C 8026CEBC 16220002 */ bne $s1, $v0, .L8026CEC8 +/* 19B7A0 8026CEC0 0240202D */ daddu $a0, $s2, $zero +/* 19B7A4 8026CEC4 8E510148 */ lw $s1, 0x148($s2) +.L8026CEC8: +/* 19B7A8 8026CEC8 8E050004 */ lw $a1, 4($s0) +/* 19B7AC 8026CECC 0C0B1EAF */ jal get_variable +/* 19B7B0 8026CED0 8E120000 */ lw $s2, ($s0) +/* 19B7B4 8026CED4 0220202D */ daddu $a0, $s1, $zero +/* 19B7B8 8026CED8 0C09A75B */ jal get_actor +/* 19B7BC 8026CEDC 0040802D */ daddu $s0, $v0, $zero +/* 19B7C0 8026CEE0 12000004 */ beqz $s0, .L8026CEF4 +/* 19B7C4 8026CEE4 0040202D */ daddu $a0, $v0, $zero +/* 19B7C8 8026CEE8 8C820000 */ lw $v0, ($a0) +/* 19B7CC 8026CEEC 0809B3C0 */ j func_8026CF00 +/* 19B7D0 8026CEF0 00521025 */ or $v0, $v0, $s2 + +.L8026CEF4: +/* 19B7D4 8026CEF4 8C820000 */ lw $v0, ($a0) +/* 19B7D8 8026CEF8 00121827 */ nor $v1, $zero, $s2 +/* 19B7DC 8026CEFC 00431024 */ and $v0, $v0, $v1 +func_8026CF00: +/* 19B7E0 8026CF00 AC820000 */ sw $v0, ($a0) +/* 19B7E4 8026CF04 8FBF001C */ lw $ra, 0x1c($sp) +/* 19B7E8 8026CF08 8FB20018 */ lw $s2, 0x18($sp) +/* 19B7EC 8026CF0C 8FB10014 */ lw $s1, 0x14($sp) +/* 19B7F0 8026CF10 8FB00010 */ lw $s0, 0x10($sp) +/* 19B7F4 8026CF14 24020002 */ addiu $v0, $zero, 2 +/* 19B7F8 8026CF18 03E00008 */ jr $ra +/* 19B7FC 8026CF1C 27BD0020 */ addiu $sp, $sp, 0x20 + +GetActorFlags: +/* 19B800 8026CF20 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 19B804 8026CF24 AFB10014 */ sw $s1, 0x14($sp) +/* 19B808 8026CF28 0080882D */ daddu $s1, $a0, $zero +/* 19B80C 8026CF2C AFBF0018 */ sw $ra, 0x18($sp) +/* 19B810 8026CF30 AFB00010 */ sw $s0, 0x10($sp) +/* 19B814 8026CF34 8E30000C */ lw $s0, 0xc($s1) +/* 19B818 8026CF38 8E050000 */ lw $a1, ($s0) +/* 19B81C 8026CF3C 0C0B1EAF */ jal get_variable +/* 19B820 8026CF40 26100004 */ addiu $s0, $s0, 4 +/* 19B824 8026CF44 0040202D */ daddu $a0, $v0, $zero +/* 19B828 8026CF48 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19B82C 8026CF4C 14820002 */ bne $a0, $v0, .L8026CF58 +/* 19B830 8026CF50 00000000 */ nop +/* 19B834 8026CF54 8E240148 */ lw $a0, 0x148($s1) +.L8026CF58: +/* 19B838 8026CF58 0C09A75B */ jal get_actor +/* 19B83C 8026CF5C 8E100000 */ lw $s0, ($s0) +/* 19B840 8026CF60 0220202D */ daddu $a0, $s1, $zero +/* 19B844 8026CF64 8C460000 */ lw $a2, ($v0) +/* 19B848 8026CF68 0C0B2026 */ jal set_variable +/* 19B84C 8026CF6C 0200282D */ daddu $a1, $s0, $zero +/* 19B850 8026CF70 8FBF0018 */ lw $ra, 0x18($sp) +/* 19B854 8026CF74 8FB10014 */ lw $s1, 0x14($sp) +/* 19B858 8026CF78 8FB00010 */ lw $s0, 0x10($sp) +/* 19B85C 8026CF7C 24020002 */ addiu $v0, $zero, 2 +/* 19B860 8026CF80 03E00008 */ jr $ra +/* 19B864 8026CF84 27BD0020 */ addiu $sp, $sp, 0x20 + +SetPartFlags: +/* 19B868 8026CF88 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 19B86C 8026CF8C AFB20018 */ sw $s2, 0x18($sp) +/* 19B870 8026CF90 0080902D */ daddu $s2, $a0, $zero +/* 19B874 8026CF94 AFBF001C */ sw $ra, 0x1c($sp) +/* 19B878 8026CF98 AFB10014 */ sw $s1, 0x14($sp) +/* 19B87C 8026CF9C AFB00010 */ sw $s0, 0x10($sp) +/* 19B880 8026CFA0 8E51000C */ lw $s1, 0xc($s2) +/* 19B884 8026CFA4 8E250000 */ lw $a1, ($s1) +/* 19B888 8026CFA8 0C0B1EAF */ jal get_variable +/* 19B88C 8026CFAC 26310004 */ addiu $s1, $s1, 4 +/* 19B890 8026CFB0 0040802D */ daddu $s0, $v0, $zero +/* 19B894 8026CFB4 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19B898 8026CFB8 16020002 */ bne $s0, $v0, .L8026CFC4 +/* 19B89C 8026CFBC 00000000 */ nop +/* 19B8A0 8026CFC0 8E500148 */ lw $s0, 0x148($s2) +.L8026CFC4: +/* 19B8A4 8026CFC4 8E250000 */ lw $a1, ($s1) +/* 19B8A8 8026CFC8 26310004 */ addiu $s1, $s1, 4 +/* 19B8AC 8026CFCC 0C0B1EAF */ jal get_variable +/* 19B8B0 8026CFD0 0240202D */ daddu $a0, $s2, $zero +/* 19B8B4 8026CFD4 0200202D */ daddu $a0, $s0, $zero +/* 19B8B8 8026CFD8 8E310000 */ lw $s1, ($s1) +/* 19B8BC 8026CFDC 0C09A75B */ jal get_actor +/* 19B8C0 8026CFE0 0040802D */ daddu $s0, $v0, $zero +/* 19B8C4 8026CFE4 0040202D */ daddu $a0, $v0, $zero +/* 19B8C8 8026CFE8 0C099117 */ jal get_actor_part +/* 19B8CC 8026CFEC 0200282D */ daddu $a1, $s0, $zero +/* 19B8D0 8026CFF0 AC510000 */ sw $s1, ($v0) +/* 19B8D4 8026CFF4 8FBF001C */ lw $ra, 0x1c($sp) +/* 19B8D8 8026CFF8 8FB20018 */ lw $s2, 0x18($sp) +/* 19B8DC 8026CFFC 8FB10014 */ lw $s1, 0x14($sp) +/* 19B8E0 8026D000 8FB00010 */ lw $s0, 0x10($sp) +/* 19B8E4 8026D004 24020002 */ addiu $v0, $zero, 2 +/* 19B8E8 8026D008 03E00008 */ jr $ra +/* 19B8EC 8026D00C 27BD0020 */ addiu $sp, $sp, 0x20 + +SetPartFlagBits: +/* 19B8F0 8026D010 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 19B8F4 8026D014 AFB10014 */ sw $s1, 0x14($sp) +/* 19B8F8 8026D018 0080882D */ daddu $s1, $a0, $zero +/* 19B8FC 8026D01C AFBF0020 */ sw $ra, 0x20($sp) +/* 19B900 8026D020 AFB3001C */ sw $s3, 0x1c($sp) +/* 19B904 8026D024 AFB20018 */ sw $s2, 0x18($sp) +/* 19B908 8026D028 AFB00010 */ sw $s0, 0x10($sp) +/* 19B90C 8026D02C 8E30000C */ lw $s0, 0xc($s1) +/* 19B910 8026D030 8E050000 */ lw $a1, ($s0) +/* 19B914 8026D034 0C0B1EAF */ jal get_variable +/* 19B918 8026D038 26100004 */ addiu $s0, $s0, 4 +/* 19B91C 8026D03C 0040902D */ daddu $s2, $v0, $zero +/* 19B920 8026D040 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19B924 8026D044 16420002 */ bne $s2, $v0, .L8026D050 +/* 19B928 8026D048 00000000 */ nop +/* 19B92C 8026D04C 8E320148 */ lw $s2, 0x148($s1) +.L8026D050: +/* 19B930 8026D050 8E050000 */ lw $a1, ($s0) +/* 19B934 8026D054 26100004 */ addiu $s0, $s0, 4 +/* 19B938 8026D058 0C0B1EAF */ jal get_variable +/* 19B93C 8026D05C 0220202D */ daddu $a0, $s1, $zero +/* 19B940 8026D060 0220202D */ daddu $a0, $s1, $zero +/* 19B944 8026D064 8E050004 */ lw $a1, 4($s0) +/* 19B948 8026D068 8E130000 */ lw $s3, ($s0) +/* 19B94C 8026D06C 0C0B1EAF */ jal get_variable +/* 19B950 8026D070 0040882D */ daddu $s1, $v0, $zero +/* 19B954 8026D074 0240202D */ daddu $a0, $s2, $zero +/* 19B958 8026D078 0C09A75B */ jal get_actor +/* 19B95C 8026D07C 0040802D */ daddu $s0, $v0, $zero +/* 19B960 8026D080 0040202D */ daddu $a0, $v0, $zero +/* 19B964 8026D084 0C099117 */ jal get_actor_part +/* 19B968 8026D088 0220282D */ daddu $a1, $s1, $zero +/* 19B96C 8026D08C 12000004 */ beqz $s0, .L8026D0A0 +/* 19B970 8026D090 0040202D */ daddu $a0, $v0, $zero +/* 19B974 8026D094 8C820000 */ lw $v0, ($a0) +/* 19B978 8026D098 0809B42B */ j func_8026D0AC +/* 19B97C 8026D09C 00531025 */ or $v0, $v0, $s3 + +.L8026D0A0: +/* 19B980 8026D0A0 8C820000 */ lw $v0, ($a0) +/* 19B984 8026D0A4 00131827 */ nor $v1, $zero, $s3 +/* 19B988 8026D0A8 00431024 */ and $v0, $v0, $v1 +func_8026D0AC: +/* 19B98C 8026D0AC AC820000 */ sw $v0, ($a0) +/* 19B990 8026D0B0 8FBF0020 */ lw $ra, 0x20($sp) +/* 19B994 8026D0B4 8FB3001C */ lw $s3, 0x1c($sp) +/* 19B998 8026D0B8 8FB20018 */ lw $s2, 0x18($sp) +/* 19B99C 8026D0BC 8FB10014 */ lw $s1, 0x14($sp) +/* 19B9A0 8026D0C0 8FB00010 */ lw $s0, 0x10($sp) +/* 19B9A4 8026D0C4 24020002 */ addiu $v0, $zero, 2 +/* 19B9A8 8026D0C8 03E00008 */ jr $ra +/* 19B9AC 8026D0CC 27BD0028 */ addiu $sp, $sp, 0x28 + +SetPartTargetFlags: +/* 19B9B0 8026D0D0 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 19B9B4 8026D0D4 AFB20018 */ sw $s2, 0x18($sp) +/* 19B9B8 8026D0D8 0080902D */ daddu $s2, $a0, $zero +/* 19B9BC 8026D0DC AFBF001C */ sw $ra, 0x1c($sp) +/* 19B9C0 8026D0E0 AFB10014 */ sw $s1, 0x14($sp) +/* 19B9C4 8026D0E4 AFB00010 */ sw $s0, 0x10($sp) +/* 19B9C8 8026D0E8 8E51000C */ lw $s1, 0xc($s2) +/* 19B9CC 8026D0EC 8E250000 */ lw $a1, ($s1) +/* 19B9D0 8026D0F0 0C0B1EAF */ jal get_variable +/* 19B9D4 8026D0F4 26310004 */ addiu $s1, $s1, 4 +/* 19B9D8 8026D0F8 0040802D */ daddu $s0, $v0, $zero +/* 19B9DC 8026D0FC 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19B9E0 8026D100 16020002 */ bne $s0, $v0, .L8026D10C +/* 19B9E4 8026D104 00000000 */ nop +/* 19B9E8 8026D108 8E500148 */ lw $s0, 0x148($s2) +.L8026D10C: +/* 19B9EC 8026D10C 8E250000 */ lw $a1, ($s1) +/* 19B9F0 8026D110 26310004 */ addiu $s1, $s1, 4 +/* 19B9F4 8026D114 0C0B1EAF */ jal get_variable +/* 19B9F8 8026D118 0240202D */ daddu $a0, $s2, $zero +/* 19B9FC 8026D11C 0200202D */ daddu $a0, $s0, $zero +/* 19BA00 8026D120 8E310000 */ lw $s1, ($s1) +/* 19BA04 8026D124 0C09A75B */ jal get_actor +/* 19BA08 8026D128 0040802D */ daddu $s0, $v0, $zero +/* 19BA0C 8026D12C 0040202D */ daddu $a0, $v0, $zero +/* 19BA10 8026D130 0C099117 */ jal get_actor_part +/* 19BA14 8026D134 0200282D */ daddu $a1, $s0, $zero +/* 19BA18 8026D138 AC510004 */ sw $s1, 4($v0) +/* 19BA1C 8026D13C 8FBF001C */ lw $ra, 0x1c($sp) +/* 19BA20 8026D140 8FB20018 */ lw $s2, 0x18($sp) +/* 19BA24 8026D144 8FB10014 */ lw $s1, 0x14($sp) +/* 19BA28 8026D148 8FB00010 */ lw $s0, 0x10($sp) +/* 19BA2C 8026D14C 24020002 */ addiu $v0, $zero, 2 +/* 19BA30 8026D150 03E00008 */ jr $ra +/* 19BA34 8026D154 27BD0020 */ addiu $sp, $sp, 0x20 + +SetPartTargetFlagBits: +/* 19BA38 8026D158 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 19BA3C 8026D15C AFB10014 */ sw $s1, 0x14($sp) +/* 19BA40 8026D160 0080882D */ daddu $s1, $a0, $zero +/* 19BA44 8026D164 AFBF0020 */ sw $ra, 0x20($sp) +/* 19BA48 8026D168 AFB3001C */ sw $s3, 0x1c($sp) +/* 19BA4C 8026D16C AFB20018 */ sw $s2, 0x18($sp) +/* 19BA50 8026D170 AFB00010 */ sw $s0, 0x10($sp) +/* 19BA54 8026D174 8E30000C */ lw $s0, 0xc($s1) +/* 19BA58 8026D178 8E050000 */ lw $a1, ($s0) +/* 19BA5C 8026D17C 0C0B1EAF */ jal get_variable +/* 19BA60 8026D180 26100004 */ addiu $s0, $s0, 4 +/* 19BA64 8026D184 0040902D */ daddu $s2, $v0, $zero +/* 19BA68 8026D188 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19BA6C 8026D18C 16420002 */ bne $s2, $v0, .L8026D198 +/* 19BA70 8026D190 00000000 */ nop +/* 19BA74 8026D194 8E320148 */ lw $s2, 0x148($s1) +.L8026D198: +/* 19BA78 8026D198 8E050000 */ lw $a1, ($s0) +/* 19BA7C 8026D19C 26100004 */ addiu $s0, $s0, 4 +/* 19BA80 8026D1A0 0C0B1EAF */ jal get_variable +/* 19BA84 8026D1A4 0220202D */ daddu $a0, $s1, $zero +/* 19BA88 8026D1A8 0220202D */ daddu $a0, $s1, $zero +/* 19BA8C 8026D1AC 8E050004 */ lw $a1, 4($s0) +/* 19BA90 8026D1B0 8E130000 */ lw $s3, ($s0) +/* 19BA94 8026D1B4 0C0B1EAF */ jal get_variable +/* 19BA98 8026D1B8 0040882D */ daddu $s1, $v0, $zero +/* 19BA9C 8026D1BC 0240202D */ daddu $a0, $s2, $zero +/* 19BAA0 8026D1C0 0C09A75B */ jal get_actor +/* 19BAA4 8026D1C4 0040802D */ daddu $s0, $v0, $zero +/* 19BAA8 8026D1C8 0040202D */ daddu $a0, $v0, $zero +/* 19BAAC 8026D1CC 0C099117 */ jal get_actor_part +/* 19BAB0 8026D1D0 0220282D */ daddu $a1, $s1, $zero +/* 19BAB4 8026D1D4 12000004 */ beqz $s0, .L8026D1E8 +/* 19BAB8 8026D1D8 0040202D */ daddu $a0, $v0, $zero +/* 19BABC 8026D1DC 8C820004 */ lw $v0, 4($a0) +/* 19BAC0 8026D1E0 0809B47D */ j func_8026D1F4 +/* 19BAC4 8026D1E4 00531025 */ or $v0, $v0, $s3 + +.L8026D1E8: +/* 19BAC8 8026D1E8 8C820004 */ lw $v0, 4($a0) +/* 19BACC 8026D1EC 00131827 */ nor $v1, $zero, $s3 +/* 19BAD0 8026D1F0 00431024 */ and $v0, $v0, $v1 +func_8026D1F4: +/* 19BAD4 8026D1F4 AC820004 */ sw $v0, 4($a0) +/* 19BAD8 8026D1F8 8FBF0020 */ lw $ra, 0x20($sp) +/* 19BADC 8026D1FC 8FB3001C */ lw $s3, 0x1c($sp) +/* 19BAE0 8026D200 8FB20018 */ lw $s2, 0x18($sp) +/* 19BAE4 8026D204 8FB10014 */ lw $s1, 0x14($sp) +/* 19BAE8 8026D208 8FB00010 */ lw $s0, 0x10($sp) +/* 19BAEC 8026D20C 24020002 */ addiu $v0, $zero, 2 +/* 19BAF0 8026D210 03E00008 */ jr $ra +/* 19BAF4 8026D214 27BD0028 */ addiu $sp, $sp, 0x28 + +GetPartFlags: +/* 19BAF8 8026D218 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 19BAFC 8026D21C AFB20018 */ sw $s2, 0x18($sp) +/* 19BB00 8026D220 0080902D */ daddu $s2, $a0, $zero +/* 19BB04 8026D224 AFBF001C */ sw $ra, 0x1c($sp) +/* 19BB08 8026D228 AFB10014 */ sw $s1, 0x14($sp) +/* 19BB0C 8026D22C AFB00010 */ sw $s0, 0x10($sp) +/* 19BB10 8026D230 8E51000C */ lw $s1, 0xc($s2) +/* 19BB14 8026D234 8E250000 */ lw $a1, ($s1) +/* 19BB18 8026D238 0C0B1EAF */ jal get_variable +/* 19BB1C 8026D23C 26310004 */ addiu $s1, $s1, 4 +/* 19BB20 8026D240 0040802D */ daddu $s0, $v0, $zero +/* 19BB24 8026D244 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19BB28 8026D248 16020002 */ bne $s0, $v0, .L8026D254 +/* 19BB2C 8026D24C 00000000 */ nop +/* 19BB30 8026D250 8E500148 */ lw $s0, 0x148($s2) +.L8026D254: +/* 19BB34 8026D254 8E250000 */ lw $a1, ($s1) +/* 19BB38 8026D258 26310004 */ addiu $s1, $s1, 4 +/* 19BB3C 8026D25C 0C0B1EAF */ jal get_variable +/* 19BB40 8026D260 0240202D */ daddu $a0, $s2, $zero +/* 19BB44 8026D264 0200202D */ daddu $a0, $s0, $zero +/* 19BB48 8026D268 8E310000 */ lw $s1, ($s1) +/* 19BB4C 8026D26C 0C09A75B */ jal get_actor +/* 19BB50 8026D270 0040802D */ daddu $s0, $v0, $zero +/* 19BB54 8026D274 0040202D */ daddu $a0, $v0, $zero +/* 19BB58 8026D278 0C099117 */ jal get_actor_part +/* 19BB5C 8026D27C 0200282D */ daddu $a1, $s0, $zero +/* 19BB60 8026D280 0240202D */ daddu $a0, $s2, $zero +/* 19BB64 8026D284 8C460000 */ lw $a2, ($v0) +/* 19BB68 8026D288 0C0B2026 */ jal set_variable +/* 19BB6C 8026D28C 0220282D */ daddu $a1, $s1, $zero +/* 19BB70 8026D290 8FBF001C */ lw $ra, 0x1c($sp) +/* 19BB74 8026D294 8FB20018 */ lw $s2, 0x18($sp) +/* 19BB78 8026D298 8FB10014 */ lw $s1, 0x14($sp) +/* 19BB7C 8026D29C 8FB00010 */ lw $s0, 0x10($sp) +/* 19BB80 8026D2A0 24020002 */ addiu $v0, $zero, 2 +/* 19BB84 8026D2A4 03E00008 */ jr $ra +/* 19BB88 8026D2A8 27BD0020 */ addiu $sp, $sp, 0x20 + +GetPartTargetFlags: +/* 19BB8C 8026D2AC 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 19BB90 8026D2B0 AFB20018 */ sw $s2, 0x18($sp) +/* 19BB94 8026D2B4 0080902D */ daddu $s2, $a0, $zero +/* 19BB98 8026D2B8 AFBF001C */ sw $ra, 0x1c($sp) +/* 19BB9C 8026D2BC AFB10014 */ sw $s1, 0x14($sp) +/* 19BBA0 8026D2C0 AFB00010 */ sw $s0, 0x10($sp) +/* 19BBA4 8026D2C4 8E51000C */ lw $s1, 0xc($s2) +/* 19BBA8 8026D2C8 8E250000 */ lw $a1, ($s1) +/* 19BBAC 8026D2CC 0C0B1EAF */ jal get_variable +/* 19BBB0 8026D2D0 26310004 */ addiu $s1, $s1, 4 +/* 19BBB4 8026D2D4 0040802D */ daddu $s0, $v0, $zero +/* 19BBB8 8026D2D8 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19BBBC 8026D2DC 16020002 */ bne $s0, $v0, .L8026D2E8 +/* 19BBC0 8026D2E0 00000000 */ nop +/* 19BBC4 8026D2E4 8E500148 */ lw $s0, 0x148($s2) +.L8026D2E8: +/* 19BBC8 8026D2E8 8E250000 */ lw $a1, ($s1) +/* 19BBCC 8026D2EC 26310004 */ addiu $s1, $s1, 4 +/* 19BBD0 8026D2F0 0C0B1EAF */ jal get_variable +/* 19BBD4 8026D2F4 0240202D */ daddu $a0, $s2, $zero +/* 19BBD8 8026D2F8 0200202D */ daddu $a0, $s0, $zero +/* 19BBDC 8026D2FC 8E310000 */ lw $s1, ($s1) +/* 19BBE0 8026D300 0C09A75B */ jal get_actor +/* 19BBE4 8026D304 0040802D */ daddu $s0, $v0, $zero +/* 19BBE8 8026D308 0040202D */ daddu $a0, $v0, $zero +/* 19BBEC 8026D30C 0C099117 */ jal get_actor_part +/* 19BBF0 8026D310 0200282D */ daddu $a1, $s0, $zero +/* 19BBF4 8026D314 0240202D */ daddu $a0, $s2, $zero +/* 19BBF8 8026D318 8C460004 */ lw $a2, 4($v0) +/* 19BBFC 8026D31C 0C0B2026 */ jal set_variable +/* 19BC00 8026D320 0220282D */ daddu $a1, $s1, $zero +/* 19BC04 8026D324 8FBF001C */ lw $ra, 0x1c($sp) +/* 19BC08 8026D328 8FB20018 */ lw $s2, 0x18($sp) +/* 19BC0C 8026D32C 8FB10014 */ lw $s1, 0x14($sp) +/* 19BC10 8026D330 8FB00010 */ lw $s0, 0x10($sp) +/* 19BC14 8026D334 24020002 */ addiu $v0, $zero, 2 +/* 19BC18 8026D338 03E00008 */ jr $ra +/* 19BC1C 8026D33C 27BD0020 */ addiu $sp, $sp, 0x20 + +SetPartEventFlags: +/* 19BC20 8026D340 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 19BC24 8026D344 AFB20018 */ sw $s2, 0x18($sp) +/* 19BC28 8026D348 0080902D */ daddu $s2, $a0, $zero +/* 19BC2C 8026D34C AFBF001C */ sw $ra, 0x1c($sp) +/* 19BC30 8026D350 AFB10014 */ sw $s1, 0x14($sp) +/* 19BC34 8026D354 AFB00010 */ sw $s0, 0x10($sp) +/* 19BC38 8026D358 8E51000C */ lw $s1, 0xc($s2) +/* 19BC3C 8026D35C 8E250000 */ lw $a1, ($s1) +/* 19BC40 8026D360 0C0B1EAF */ jal get_variable +/* 19BC44 8026D364 26310004 */ addiu $s1, $s1, 4 +/* 19BC48 8026D368 0040802D */ daddu $s0, $v0, $zero +/* 19BC4C 8026D36C 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19BC50 8026D370 16020002 */ bne $s0, $v0, .L8026D37C +/* 19BC54 8026D374 00000000 */ nop +/* 19BC58 8026D378 8E500148 */ lw $s0, 0x148($s2) +.L8026D37C: +/* 19BC5C 8026D37C 8E250000 */ lw $a1, ($s1) +/* 19BC60 8026D380 26310004 */ addiu $s1, $s1, 4 +/* 19BC64 8026D384 0C0B1EAF */ jal get_variable +/* 19BC68 8026D388 0240202D */ daddu $a0, $s2, $zero +/* 19BC6C 8026D38C 0200202D */ daddu $a0, $s0, $zero +/* 19BC70 8026D390 8E310000 */ lw $s1, ($s1) +/* 19BC74 8026D394 0C09A75B */ jal get_actor +/* 19BC78 8026D398 0040802D */ daddu $s0, $v0, $zero +/* 19BC7C 8026D39C 0040202D */ daddu $a0, $v0, $zero +/* 19BC80 8026D3A0 0C099117 */ jal get_actor_part +/* 19BC84 8026D3A4 0200282D */ daddu $a1, $s0, $zero +/* 19BC88 8026D3A8 AC51007C */ sw $s1, 0x7c($v0) +/* 19BC8C 8026D3AC 8FBF001C */ lw $ra, 0x1c($sp) +/* 19BC90 8026D3B0 8FB20018 */ lw $s2, 0x18($sp) +/* 19BC94 8026D3B4 8FB10014 */ lw $s1, 0x14($sp) +/* 19BC98 8026D3B8 8FB00010 */ lw $s0, 0x10($sp) +/* 19BC9C 8026D3BC 24020002 */ addiu $v0, $zero, 2 +/* 19BCA0 8026D3C0 03E00008 */ jr $ra +/* 19BCA4 8026D3C4 27BD0020 */ addiu $sp, $sp, 0x20 + +SetPartEventBits: +/* 19BCA8 8026D3C8 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 19BCAC 8026D3CC AFB10014 */ sw $s1, 0x14($sp) +/* 19BCB0 8026D3D0 0080882D */ daddu $s1, $a0, $zero +/* 19BCB4 8026D3D4 AFBF0020 */ sw $ra, 0x20($sp) +/* 19BCB8 8026D3D8 AFB3001C */ sw $s3, 0x1c($sp) +/* 19BCBC 8026D3DC AFB20018 */ sw $s2, 0x18($sp) +/* 19BCC0 8026D3E0 AFB00010 */ sw $s0, 0x10($sp) +/* 19BCC4 8026D3E4 8E30000C */ lw $s0, 0xc($s1) +/* 19BCC8 8026D3E8 8E050000 */ lw $a1, ($s0) +/* 19BCCC 8026D3EC 0C0B1EAF */ jal get_variable +/* 19BCD0 8026D3F0 26100004 */ addiu $s0, $s0, 4 +/* 19BCD4 8026D3F4 0040902D */ daddu $s2, $v0, $zero +/* 19BCD8 8026D3F8 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19BCDC 8026D3FC 16420002 */ bne $s2, $v0, .L8026D408 +/* 19BCE0 8026D400 00000000 */ nop +/* 19BCE4 8026D404 8E320148 */ lw $s2, 0x148($s1) +.L8026D408: +/* 19BCE8 8026D408 8E050000 */ lw $a1, ($s0) +/* 19BCEC 8026D40C 26100004 */ addiu $s0, $s0, 4 +/* 19BCF0 8026D410 0C0B1EAF */ jal get_variable +/* 19BCF4 8026D414 0220202D */ daddu $a0, $s1, $zero +/* 19BCF8 8026D418 0220202D */ daddu $a0, $s1, $zero +/* 19BCFC 8026D41C 8E050004 */ lw $a1, 4($s0) +/* 19BD00 8026D420 8E130000 */ lw $s3, ($s0) +/* 19BD04 8026D424 0C0B1EAF */ jal get_variable +/* 19BD08 8026D428 0040882D */ daddu $s1, $v0, $zero +/* 19BD0C 8026D42C 0240202D */ daddu $a0, $s2, $zero +/* 19BD10 8026D430 0C09A75B */ jal get_actor +/* 19BD14 8026D434 0040802D */ daddu $s0, $v0, $zero +/* 19BD18 8026D438 0040202D */ daddu $a0, $v0, $zero +/* 19BD1C 8026D43C 0C099117 */ jal get_actor_part +/* 19BD20 8026D440 0220282D */ daddu $a1, $s1, $zero +/* 19BD24 8026D444 12000004 */ beqz $s0, .L8026D458 +/* 19BD28 8026D448 0040202D */ daddu $a0, $v0, $zero +/* 19BD2C 8026D44C 8C82007C */ lw $v0, 0x7c($a0) +/* 19BD30 8026D450 0809B519 */ j func_8026D464 +/* 19BD34 8026D454 00531025 */ or $v0, $v0, $s3 + +.L8026D458: +/* 19BD38 8026D458 8C82007C */ lw $v0, 0x7c($a0) +/* 19BD3C 8026D45C 00131827 */ nor $v1, $zero, $s3 +/* 19BD40 8026D460 00431024 */ and $v0, $v0, $v1 +func_8026D464: +/* 19BD44 8026D464 AC82007C */ sw $v0, 0x7c($a0) +/* 19BD48 8026D468 8FBF0020 */ lw $ra, 0x20($sp) +/* 19BD4C 8026D46C 8FB3001C */ lw $s3, 0x1c($sp) +/* 19BD50 8026D470 8FB20018 */ lw $s2, 0x18($sp) +/* 19BD54 8026D474 8FB10014 */ lw $s1, 0x14($sp) +/* 19BD58 8026D478 8FB00010 */ lw $s0, 0x10($sp) +/* 19BD5C 8026D47C 24020002 */ addiu $v0, $zero, 2 +/* 19BD60 8026D480 03E00008 */ jr $ra +/* 19BD64 8026D484 27BD0028 */ addiu $sp, $sp, 0x28 + +GetPartEventFlags: +/* 19BD68 8026D488 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 19BD6C 8026D48C AFB20018 */ sw $s2, 0x18($sp) +/* 19BD70 8026D490 0080902D */ daddu $s2, $a0, $zero +/* 19BD74 8026D494 AFBF001C */ sw $ra, 0x1c($sp) +/* 19BD78 8026D498 AFB10014 */ sw $s1, 0x14($sp) +/* 19BD7C 8026D49C AFB00010 */ sw $s0, 0x10($sp) +/* 19BD80 8026D4A0 8E51000C */ lw $s1, 0xc($s2) +/* 19BD84 8026D4A4 8E250000 */ lw $a1, ($s1) +/* 19BD88 8026D4A8 0C0B1EAF */ jal get_variable +/* 19BD8C 8026D4AC 26310004 */ addiu $s1, $s1, 4 +/* 19BD90 8026D4B0 0040802D */ daddu $s0, $v0, $zero +/* 19BD94 8026D4B4 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19BD98 8026D4B8 16020002 */ bne $s0, $v0, .L8026D4C4 +/* 19BD9C 8026D4BC 00000000 */ nop +/* 19BDA0 8026D4C0 8E500148 */ lw $s0, 0x148($s2) +.L8026D4C4: +/* 19BDA4 8026D4C4 8E250000 */ lw $a1, ($s1) +/* 19BDA8 8026D4C8 26310004 */ addiu $s1, $s1, 4 +/* 19BDAC 8026D4CC 0C0B1EAF */ jal get_variable +/* 19BDB0 8026D4D0 0240202D */ daddu $a0, $s2, $zero +/* 19BDB4 8026D4D4 0200202D */ daddu $a0, $s0, $zero +/* 19BDB8 8026D4D8 8E310000 */ lw $s1, ($s1) +/* 19BDBC 8026D4DC 0C09A75B */ jal get_actor +/* 19BDC0 8026D4E0 0040802D */ daddu $s0, $v0, $zero +/* 19BDC4 8026D4E4 0040202D */ daddu $a0, $v0, $zero +/* 19BDC8 8026D4E8 0C099117 */ jal get_actor_part +/* 19BDCC 8026D4EC 0200282D */ daddu $a1, $s0, $zero +/* 19BDD0 8026D4F0 0240202D */ daddu $a0, $s2, $zero +/* 19BDD4 8026D4F4 8C46007C */ lw $a2, 0x7c($v0) +/* 19BDD8 8026D4F8 0C0B2026 */ jal set_variable +/* 19BDDC 8026D4FC 0220282D */ daddu $a1, $s1, $zero +/* 19BDE0 8026D500 8FBF001C */ lw $ra, 0x1c($sp) +/* 19BDE4 8026D504 8FB20018 */ lw $s2, 0x18($sp) +/* 19BDE8 8026D508 8FB10014 */ lw $s1, 0x14($sp) +/* 19BDEC 8026D50C 8FB00010 */ lw $s0, 0x10($sp) +/* 19BDF0 8026D510 24020002 */ addiu $v0, $zero, 2 +/* 19BDF4 8026D514 03E00008 */ jr $ra +/* 19BDF8 8026D518 27BD0020 */ addiu $sp, $sp, 0x20 + +/* 19BDFC 8026D51C 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 19BE00 8026D520 AFB20018 */ sw $s2, 0x18($sp) +/* 19BE04 8026D524 0080902D */ daddu $s2, $a0, $zero +/* 19BE08 8026D528 AFBF001C */ sw $ra, 0x1c($sp) +/* 19BE0C 8026D52C AFB10014 */ sw $s1, 0x14($sp) +/* 19BE10 8026D530 AFB00010 */ sw $s0, 0x10($sp) +/* 19BE14 8026D534 8E51000C */ lw $s1, 0xc($s2) +/* 19BE18 8026D538 8E250000 */ lw $a1, ($s1) +/* 19BE1C 8026D53C 0C0B1EAF */ jal get_variable +/* 19BE20 8026D540 26310004 */ addiu $s1, $s1, 4 +/* 19BE24 8026D544 0040802D */ daddu $s0, $v0, $zero +/* 19BE28 8026D548 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19BE2C 8026D54C 16020002 */ bne $s0, $v0, .L8026D558 +/* 19BE30 8026D550 00000000 */ nop +/* 19BE34 8026D554 8E500148 */ lw $s0, 0x148($s2) +.L8026D558: +/* 19BE38 8026D558 8E250000 */ lw $a1, ($s1) +/* 19BE3C 8026D55C 26310004 */ addiu $s1, $s1, 4 +/* 19BE40 8026D560 0C0B1EAF */ jal get_variable +/* 19BE44 8026D564 0240202D */ daddu $a0, $s2, $zero +/* 19BE48 8026D568 0200202D */ daddu $a0, $s0, $zero +/* 19BE4C 8026D56C 8E310000 */ lw $s1, ($s1) +/* 19BE50 8026D570 0C09A75B */ jal get_actor +/* 19BE54 8026D574 0040802D */ daddu $s0, $v0, $zero +/* 19BE58 8026D578 0040202D */ daddu $a0, $v0, $zero +/* 19BE5C 8026D57C 0C099117 */ jal get_actor_part +/* 19BE60 8026D580 0200282D */ daddu $a1, $s0, $zero +/* 19BE64 8026D584 AC510080 */ sw $s1, 0x80($v0) +/* 19BE68 8026D588 8FBF001C */ lw $ra, 0x1c($sp) +/* 19BE6C 8026D58C 8FB20018 */ lw $s2, 0x18($sp) +/* 19BE70 8026D590 8FB10014 */ lw $s1, 0x14($sp) +/* 19BE74 8026D594 8FB00010 */ lw $s0, 0x10($sp) +/* 19BE78 8026D598 24020002 */ addiu $v0, $zero, 2 +/* 19BE7C 8026D59C 03E00008 */ jr $ra +/* 19BE80 8026D5A0 27BD0020 */ addiu $sp, $sp, 0x20 + +/* 19BE84 8026D5A4 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 19BE88 8026D5A8 AFB10014 */ sw $s1, 0x14($sp) +/* 19BE8C 8026D5AC 0080882D */ daddu $s1, $a0, $zero +/* 19BE90 8026D5B0 AFBF0020 */ sw $ra, 0x20($sp) +/* 19BE94 8026D5B4 AFB3001C */ sw $s3, 0x1c($sp) +/* 19BE98 8026D5B8 AFB20018 */ sw $s2, 0x18($sp) +/* 19BE9C 8026D5BC AFB00010 */ sw $s0, 0x10($sp) +/* 19BEA0 8026D5C0 8E30000C */ lw $s0, 0xc($s1) +/* 19BEA4 8026D5C4 8E050000 */ lw $a1, ($s0) +/* 19BEA8 8026D5C8 0C0B1EAF */ jal get_variable +/* 19BEAC 8026D5CC 26100004 */ addiu $s0, $s0, 4 +/* 19BEB0 8026D5D0 0040902D */ daddu $s2, $v0, $zero +/* 19BEB4 8026D5D4 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19BEB8 8026D5D8 16420002 */ bne $s2, $v0, .L8026D5E4 +/* 19BEBC 8026D5DC 00000000 */ nop +/* 19BEC0 8026D5E0 8E320148 */ lw $s2, 0x148($s1) +.L8026D5E4: +/* 19BEC4 8026D5E4 8E050000 */ lw $a1, ($s0) +/* 19BEC8 8026D5E8 26100004 */ addiu $s0, $s0, 4 +/* 19BECC 8026D5EC 0C0B1EAF */ jal get_variable +/* 19BED0 8026D5F0 0220202D */ daddu $a0, $s1, $zero +/* 19BED4 8026D5F4 0220202D */ daddu $a0, $s1, $zero +/* 19BED8 8026D5F8 8E050004 */ lw $a1, 4($s0) +/* 19BEDC 8026D5FC 8E130000 */ lw $s3, ($s0) +/* 19BEE0 8026D600 0C0B1EAF */ jal get_variable +/* 19BEE4 8026D604 0040882D */ daddu $s1, $v0, $zero +/* 19BEE8 8026D608 0240202D */ daddu $a0, $s2, $zero +/* 19BEEC 8026D60C 0C09A75B */ jal get_actor +/* 19BEF0 8026D610 0040802D */ daddu $s0, $v0, $zero +/* 19BEF4 8026D614 0040202D */ daddu $a0, $v0, $zero +/* 19BEF8 8026D618 0C099117 */ jal get_actor_part +/* 19BEFC 8026D61C 0220282D */ daddu $a1, $s1, $zero +/* 19BF00 8026D620 12000004 */ beqz $s0, .L8026D634 +/* 19BF04 8026D624 0040202D */ daddu $a0, $v0, $zero +/* 19BF08 8026D628 8C820080 */ lw $v0, 0x80($a0) +/* 19BF0C 8026D62C 0809B590 */ j func_8026D640 +/* 19BF10 8026D630 00531025 */ or $v0, $v0, $s3 + +.L8026D634: +/* 19BF14 8026D634 8C820080 */ lw $v0, 0x80($a0) +/* 19BF18 8026D638 00131827 */ nor $v1, $zero, $s3 +/* 19BF1C 8026D63C 00431024 */ and $v0, $v0, $v1 +func_8026D640: +/* 19BF20 8026D640 AC820080 */ sw $v0, 0x80($a0) +/* 19BF24 8026D644 8FBF0020 */ lw $ra, 0x20($sp) +/* 19BF28 8026D648 8FB3001C */ lw $s3, 0x1c($sp) +/* 19BF2C 8026D64C 8FB20018 */ lw $s2, 0x18($sp) +/* 19BF30 8026D650 8FB10014 */ lw $s1, 0x14($sp) +/* 19BF34 8026D654 8FB00010 */ lw $s0, 0x10($sp) +/* 19BF38 8026D658 24020002 */ addiu $v0, $zero, 2 +/* 19BF3C 8026D65C 03E00008 */ jr $ra +/* 19BF40 8026D660 27BD0028 */ addiu $sp, $sp, 0x28 + +HPBarToHome: +/* 19BF44 8026D664 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 19BF48 8026D668 AFB00010 */ sw $s0, 0x10($sp) +/* 19BF4C 8026D66C 0080802D */ daddu $s0, $a0, $zero +/* 19BF50 8026D670 AFBF0014 */ sw $ra, 0x14($sp) +/* 19BF54 8026D674 8E02000C */ lw $v0, 0xc($s0) +/* 19BF58 8026D678 0C0B1EAF */ jal get_variable +/* 19BF5C 8026D67C 8C450000 */ lw $a1, ($v0) +/* 19BF60 8026D680 0040202D */ daddu $a0, $v0, $zero +/* 19BF64 8026D684 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19BF68 8026D688 14820002 */ bne $a0, $v0, .L8026D694 +/* 19BF6C 8026D68C 00000000 */ nop +/* 19BF70 8026D690 8E040148 */ lw $a0, 0x148($s0) +.L8026D694: +/* 19BF74 8026D694 0C09A75B */ jal get_actor +/* 19BF78 8026D698 00000000 */ nop +/* 19BF7C 8026D69C 0040282D */ daddu $a1, $v0, $zero +/* 19BF80 8026D6A0 8CA20008 */ lw $v0, 8($a1) +/* 19BF84 8026D6A4 80420022 */ lb $v0, 0x22($v0) +/* 19BF88 8026D6A8 C4A00138 */ lwc1 $f0, 0x138($a1) +/* 19BF8C 8026D6AC 44821000 */ mtc1 $v0, $f2 +/* 19BF90 8026D6B0 00000000 */ nop +/* 19BF94 8026D6B4 468010A0 */ cvt.s.w $f2, $f2 +/* 19BF98 8026D6B8 46020000 */ add.s $f0, $f0, $f2 +/* 19BF9C 8026D6BC 8CA30008 */ lw $v1, 8($a1) +/* 19BFA0 8026D6C0 C4A20140 */ lwc1 $f2, 0x140($a1) +/* 19BFA4 8026D6C4 4600018D */ trunc.w.s $f6, $f0 +/* 19BFA8 8026D6C8 44023000 */ mfc1 $v0, $f6 +/* 19BFAC 8026D6CC 00000000 */ nop +/* 19BFB0 8026D6D0 A4A20156 */ sh $v0, 0x156($a1) +/* 19BFB4 8026D6D4 80620023 */ lb $v0, 0x23($v1) +/* 19BFB8 8026D6D8 C4A0013C */ lwc1 $f0, 0x13c($a1) +/* 19BFBC 8026D6DC 44822000 */ mtc1 $v0, $f4 +/* 19BFC0 8026D6E0 00000000 */ nop +/* 19BFC4 8026D6E4 46802120 */ cvt.s.w $f4, $f4 +/* 19BFC8 8026D6E8 4600118D */ trunc.w.s $f6, $f2 +/* 19BFCC 8026D6EC 44023000 */ mfc1 $v0, $f6 +/* 19BFD0 8026D6F0 46040000 */ add.s $f0, $f0, $f4 +/* 19BFD4 8026D6F4 A4A2015A */ sh $v0, 0x15a($a1) +/* 19BFD8 8026D6F8 8CA20000 */ lw $v0, ($a1) +/* 19BFDC 8026D6FC 30420800 */ andi $v0, $v0, 0x800 +/* 19BFE0 8026D700 4600018D */ trunc.w.s $f6, $f0 +/* 19BFE4 8026D704 44033000 */ mfc1 $v1, $f6 +/* 19BFE8 8026D708 10400011 */ beqz $v0, .L8026D750 +/* 19BFEC 8026D70C A4A30158 */ sh $v1, 0x158($a1) +/* 19BFF0 8026D710 90A20191 */ lbu $v0, 0x191($a1) +/* 19BFF4 8026D714 C4A0013C */ lwc1 $f0, 0x13c($a1) +/* 19BFF8 8026D718 44821000 */ mtc1 $v0, $f2 +/* 19BFFC 8026D71C 00000000 */ nop +/* 19C000 8026D720 468010A0 */ cvt.s.w $f2, $f2 +/* 19C004 8026D724 8CA20008 */ lw $v0, 8($a1) +/* 19C008 8026D728 46020001 */ sub.s $f0, $f0, $f2 +/* 19C00C 8026D72C 80420023 */ lb $v0, 0x23($v0) +/* 19C010 8026D730 44821000 */ mtc1 $v0, $f2 +/* 19C014 8026D734 00000000 */ nop +/* 19C018 8026D738 468010A0 */ cvt.s.w $f2, $f2 +/* 19C01C 8026D73C 46020001 */ sub.s $f0, $f0, $f2 +/* 19C020 8026D740 4600018D */ trunc.w.s $f6, $f0 +/* 19C024 8026D744 44023000 */ mfc1 $v0, $f6 +/* 19C028 8026D748 00000000 */ nop +/* 19C02C 8026D74C A4A20158 */ sh $v0, 0x158($a1) +.L8026D750: +/* 19C030 8026D750 80A201B8 */ lb $v0, 0x1b8($a1) +/* 19C034 8026D754 80A401B9 */ lb $a0, 0x1b9($a1) +/* 19C038 8026D758 00021840 */ sll $v1, $v0, 1 +/* 19C03C 8026D75C 00621821 */ addu $v1, $v1, $v0 +/* 19C040 8026D760 000318C0 */ sll $v1, $v1, 3 +/* 19C044 8026D764 00621821 */ addu $v1, $v1, $v0 +/* 19C048 8026D768 14800002 */ bnez $a0, .L8026D774 +/* 19C04C 8026D76C 0064001A */ div $zero, $v1, $a0 +/* 19C050 8026D770 0007000D */ break 7 +.L8026D774: +/* 19C054 8026D774 2401FFFF */ addiu $at, $zero, -1 +/* 19C058 8026D778 14810004 */ bne $a0, $at, .L8026D78C +/* 19C05C 8026D77C 3C018000 */ lui $at, 0x8000 +/* 19C060 8026D780 14610002 */ bne $v1, $at, .L8026D78C +/* 19C064 8026D784 00000000 */ nop +/* 19C068 8026D788 0006000D */ break 6 +.L8026D78C: +/* 19C06C 8026D78C 00001812 */ mflo $v1 +/* 19C070 8026D790 A0A301BC */ sb $v1, 0x1bc($a1) +/* 19C074 8026D794 8FBF0014 */ lw $ra, 0x14($sp) +/* 19C078 8026D798 8FB00010 */ lw $s0, 0x10($sp) +/* 19C07C 8026D79C 24020002 */ addiu $v0, $zero, 2 +/* 19C080 8026D7A0 03E00008 */ jr $ra +/* 19C084 8026D7A4 27BD0018 */ addiu $sp, $sp, 0x18 + +HPBarToCurrent: +/* 19C088 8026D7A8 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 19C08C 8026D7AC AFB00010 */ sw $s0, 0x10($sp) +/* 19C090 8026D7B0 0080802D */ daddu $s0, $a0, $zero +/* 19C094 8026D7B4 AFBF0014 */ sw $ra, 0x14($sp) +/* 19C098 8026D7B8 8E02000C */ lw $v0, 0xc($s0) +/* 19C09C 8026D7BC 0C0B1EAF */ jal get_variable +/* 19C0A0 8026D7C0 8C450000 */ lw $a1, ($v0) +/* 19C0A4 8026D7C4 0040202D */ daddu $a0, $v0, $zero +/* 19C0A8 8026D7C8 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19C0AC 8026D7CC 14820002 */ bne $a0, $v0, .L8026D7D8 +/* 19C0B0 8026D7D0 00000000 */ nop +/* 19C0B4 8026D7D4 8E040148 */ lw $a0, 0x148($s0) +.L8026D7D8: +/* 19C0B8 8026D7D8 0C09A75B */ jal get_actor +/* 19C0BC 8026D7DC 00000000 */ nop +/* 19C0C0 8026D7E0 0040282D */ daddu $a1, $v0, $zero +/* 19C0C4 8026D7E4 8CA20008 */ lw $v0, 8($a1) +/* 19C0C8 8026D7E8 80420022 */ lb $v0, 0x22($v0) +/* 19C0CC 8026D7EC C4A00144 */ lwc1 $f0, 0x144($a1) +/* 19C0D0 8026D7F0 44821000 */ mtc1 $v0, $f2 +/* 19C0D4 8026D7F4 00000000 */ nop +/* 19C0D8 8026D7F8 468010A0 */ cvt.s.w $f2, $f2 +/* 19C0DC 8026D7FC 46020000 */ add.s $f0, $f0, $f2 +/* 19C0E0 8026D800 8CA30008 */ lw $v1, 8($a1) +/* 19C0E4 8026D804 C4A2014C */ lwc1 $f2, 0x14c($a1) +/* 19C0E8 8026D808 4600018D */ trunc.w.s $f6, $f0 +/* 19C0EC 8026D80C 44023000 */ mfc1 $v0, $f6 +/* 19C0F0 8026D810 00000000 */ nop +/* 19C0F4 8026D814 A4A20156 */ sh $v0, 0x156($a1) +/* 19C0F8 8026D818 80620023 */ lb $v0, 0x23($v1) +/* 19C0FC 8026D81C C4A00148 */ lwc1 $f0, 0x148($a1) +/* 19C100 8026D820 44822000 */ mtc1 $v0, $f4 +/* 19C104 8026D824 00000000 */ nop +/* 19C108 8026D828 46802120 */ cvt.s.w $f4, $f4 +/* 19C10C 8026D82C 4600118D */ trunc.w.s $f6, $f2 +/* 19C110 8026D830 44023000 */ mfc1 $v0, $f6 +/* 19C114 8026D834 46040000 */ add.s $f0, $f0, $f4 +/* 19C118 8026D838 A4A2015A */ sh $v0, 0x15a($a1) +/* 19C11C 8026D83C 8CA20000 */ lw $v0, ($a1) +/* 19C120 8026D840 30420800 */ andi $v0, $v0, 0x800 +/* 19C124 8026D844 4600018D */ trunc.w.s $f6, $f0 +/* 19C128 8026D848 44033000 */ mfc1 $v1, $f6 +/* 19C12C 8026D84C 10400011 */ beqz $v0, .L8026D894 +/* 19C130 8026D850 A4A30158 */ sh $v1, 0x158($a1) +/* 19C134 8026D854 90A20191 */ lbu $v0, 0x191($a1) +/* 19C138 8026D858 C4A00148 */ lwc1 $f0, 0x148($a1) +/* 19C13C 8026D85C 44821000 */ mtc1 $v0, $f2 +/* 19C140 8026D860 00000000 */ nop +/* 19C144 8026D864 468010A0 */ cvt.s.w $f2, $f2 +/* 19C148 8026D868 8CA20008 */ lw $v0, 8($a1) +/* 19C14C 8026D86C 46020001 */ sub.s $f0, $f0, $f2 +/* 19C150 8026D870 80420023 */ lb $v0, 0x23($v0) +/* 19C154 8026D874 44821000 */ mtc1 $v0, $f2 +/* 19C158 8026D878 00000000 */ nop +/* 19C15C 8026D87C 468010A0 */ cvt.s.w $f2, $f2 +/* 19C160 8026D880 46020001 */ sub.s $f0, $f0, $f2 +/* 19C164 8026D884 4600018D */ trunc.w.s $f6, $f0 +/* 19C168 8026D888 44023000 */ mfc1 $v0, $f6 +/* 19C16C 8026D88C 00000000 */ nop +/* 19C170 8026D890 A4A20158 */ sh $v0, 0x158($a1) +.L8026D894: +/* 19C174 8026D894 80A201B8 */ lb $v0, 0x1b8($a1) +/* 19C178 8026D898 80A401B9 */ lb $a0, 0x1b9($a1) +/* 19C17C 8026D89C 00021840 */ sll $v1, $v0, 1 +/* 19C180 8026D8A0 00621821 */ addu $v1, $v1, $v0 +/* 19C184 8026D8A4 000318C0 */ sll $v1, $v1, 3 +/* 19C188 8026D8A8 00621821 */ addu $v1, $v1, $v0 +/* 19C18C 8026D8AC 14800002 */ bnez $a0, .L8026D8B8 +/* 19C190 8026D8B0 0064001A */ div $zero, $v1, $a0 +/* 19C194 8026D8B4 0007000D */ break 7 +.L8026D8B8: +/* 19C198 8026D8B8 2401FFFF */ addiu $at, $zero, -1 +/* 19C19C 8026D8BC 14810004 */ bne $a0, $at, .L8026D8D0 +/* 19C1A0 8026D8C0 3C018000 */ lui $at, 0x8000 +/* 19C1A4 8026D8C4 14610002 */ bne $v1, $at, .L8026D8D0 +/* 19C1A8 8026D8C8 00000000 */ nop +/* 19C1AC 8026D8CC 0006000D */ break 6 +.L8026D8D0: +/* 19C1B0 8026D8D0 00001812 */ mflo $v1 +/* 19C1B4 8026D8D4 A0A301BC */ sb $v1, 0x1bc($a1) +/* 19C1B8 8026D8D8 8FBF0014 */ lw $ra, 0x14($sp) +/* 19C1BC 8026D8DC 8FB00010 */ lw $s0, 0x10($sp) +/* 19C1C0 8026D8E0 24020002 */ addiu $v0, $zero, 2 +/* 19C1C4 8026D8E4 03E00008 */ jr $ra +/* 19C1C8 8026D8E8 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 19C1CC 8026D8EC 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 19C1D0 8026D8F0 AFB00010 */ sw $s0, 0x10($sp) +/* 19C1D4 8026D8F4 0080802D */ daddu $s0, $a0, $zero +/* 19C1D8 8026D8F8 AFBF0014 */ sw $ra, 0x14($sp) +/* 19C1DC 8026D8FC 8E02000C */ lw $v0, 0xc($s0) +/* 19C1E0 8026D900 0C0B1EAF */ jal get_variable +/* 19C1E4 8026D904 8C450000 */ lw $a1, ($v0) +/* 19C1E8 8026D908 0040202D */ daddu $a0, $v0, $zero +/* 19C1EC 8026D90C 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19C1F0 8026D910 14820002 */ bne $a0, $v0, .L8026D91C +/* 19C1F4 8026D914 00000000 */ nop +/* 19C1F8 8026D918 8E040148 */ lw $a0, 0x148($s0) +.L8026D91C: +/* 19C1FC 8026D91C 0C09A75B */ jal get_actor +/* 19C200 8026D920 00000000 */ nop +/* 19C204 8026D924 0C099ABE */ jal func_80266AF8 +/* 19C208 8026D928 0040202D */ daddu $a0, $v0, $zero +/* 19C20C 8026D92C 8FBF0014 */ lw $ra, 0x14($sp) +/* 19C210 8026D930 8FB00010 */ lw $s0, 0x10($sp) +/* 19C214 8026D934 24020002 */ addiu $v0, $zero, 2 +/* 19C218 8026D938 03E00008 */ jr $ra +/* 19C21C 8026D93C 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 19C220 8026D940 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 19C224 8026D944 AFB10014 */ sw $s1, 0x14($sp) +/* 19C228 8026D948 0080882D */ daddu $s1, $a0, $zero +/* 19C22C 8026D94C AFBF001C */ sw $ra, 0x1c($sp) +/* 19C230 8026D950 AFB20018 */ sw $s2, 0x18($sp) +/* 19C234 8026D954 AFB00010 */ sw $s0, 0x10($sp) +/* 19C238 8026D958 8E30000C */ lw $s0, 0xc($s1) +/* 19C23C 8026D95C 8E050000 */ lw $a1, ($s0) +/* 19C240 8026D960 0C0B1EAF */ jal get_variable +/* 19C244 8026D964 26100004 */ addiu $s0, $s0, 4 +/* 19C248 8026D968 0040902D */ daddu $s2, $v0, $zero +/* 19C24C 8026D96C 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19C250 8026D970 16420002 */ bne $s2, $v0, .L8026D97C +/* 19C254 8026D974 00000000 */ nop +/* 19C258 8026D978 8E320148 */ lw $s2, 0x148($s1) +.L8026D97C: +/* 19C25C 8026D97C 8E050000 */ lw $a1, ($s0) +/* 19C260 8026D980 26100004 */ addiu $s0, $s0, 4 +/* 19C264 8026D984 0C0B1EAF */ jal get_variable +/* 19C268 8026D988 0220202D */ daddu $a0, $s1, $zero +/* 19C26C 8026D98C 0220202D */ daddu $a0, $s1, $zero +/* 19C270 8026D990 8E050000 */ lw $a1, ($s0) +/* 19C274 8026D994 0C0B1EAF */ jal get_variable +/* 19C278 8026D998 0040882D */ daddu $s1, $v0, $zero +/* 19C27C 8026D99C 0240202D */ daddu $a0, $s2, $zero +/* 19C280 8026D9A0 0C09A75B */ jal get_actor +/* 19C284 8026D9A4 0040802D */ daddu $s0, $v0, $zero +/* 19C288 8026D9A8 0040202D */ daddu $a0, $v0, $zero +/* 19C28C 8026D9AC 8C820008 */ lw $v0, 8($a0) +/* 19C290 8026D9B0 A0910198 */ sb $s1, 0x198($a0) +/* 19C294 8026D9B4 A0900199 */ sb $s0, 0x199($a0) +/* 19C298 8026D9B8 80420022 */ lb $v0, 0x22($v0) +/* 19C29C 8026D9BC C4820138 */ lwc1 $f2, 0x138($a0) +/* 19C2A0 8026D9C0 44820000 */ mtc1 $v0, $f0 +/* 19C2A4 8026D9C4 00000000 */ nop +/* 19C2A8 8026D9C8 46800020 */ cvt.s.w $f0, $f0 +/* 19C2AC 8026D9CC 46001080 */ add.s $f2, $f2, $f0 +/* 19C2B0 8026D9D0 80820198 */ lb $v0, 0x198($a0) +/* 19C2B4 8026D9D4 44820000 */ mtc1 $v0, $f0 +/* 19C2B8 8026D9D8 00000000 */ nop +/* 19C2BC 8026D9DC 46800020 */ cvt.s.w $f0, $f0 +/* 19C2C0 8026D9E0 46001080 */ add.s $f2, $f2, $f0 +/* 19C2C4 8026D9E4 8C830008 */ lw $v1, 8($a0) +/* 19C2C8 8026D9E8 4600118D */ trunc.w.s $f6, $f2 +/* 19C2CC 8026D9EC 44023000 */ mfc1 $v0, $f6 +/* 19C2D0 8026D9F0 00000000 */ nop +/* 19C2D4 8026D9F4 A4820156 */ sh $v0, 0x156($a0) +/* 19C2D8 8026D9F8 80620023 */ lb $v0, 0x23($v1) +/* 19C2DC 8026D9FC C482013C */ lwc1 $f2, 0x13c($a0) +/* 19C2E0 8026DA00 44820000 */ mtc1 $v0, $f0 +/* 19C2E4 8026DA04 00000000 */ nop +/* 19C2E8 8026DA08 46800020 */ cvt.s.w $f0, $f0 +/* 19C2EC 8026DA0C 46001080 */ add.s $f2, $f2, $f0 +/* 19C2F0 8026DA10 80820199 */ lb $v0, 0x199($a0) +/* 19C2F4 8026DA14 C4800140 */ lwc1 $f0, 0x140($a0) +/* 19C2F8 8026DA18 44822000 */ mtc1 $v0, $f4 +/* 19C2FC 8026DA1C 00000000 */ nop +/* 19C300 8026DA20 46802120 */ cvt.s.w $f4, $f4 +/* 19C304 8026DA24 4600018D */ trunc.w.s $f6, $f0 +/* 19C308 8026DA28 44023000 */ mfc1 $v0, $f6 +/* 19C30C 8026DA2C 00000000 */ nop +/* 19C310 8026DA30 A482015A */ sh $v0, 0x15a($a0) +/* 19C314 8026DA34 8C820000 */ lw $v0, ($a0) +/* 19C318 8026DA38 46041080 */ add.s $f2, $f2, $f4 +/* 19C31C 8026DA3C 30420800 */ andi $v0, $v0, 0x800 +/* 19C320 8026DA40 4600118D */ trunc.w.s $f6, $f2 +/* 19C324 8026DA44 44033000 */ mfc1 $v1, $f6 +/* 19C328 8026DA48 1040000B */ beqz $v0, .L8026DA78 +/* 19C32C 8026DA4C A4830158 */ sh $v1, 0x158($a0) +/* 19C330 8026DA50 90820191 */ lbu $v0, 0x191($a0) +/* 19C334 8026DA54 C480013C */ lwc1 $f0, 0x13c($a0) +/* 19C338 8026DA58 44821000 */ mtc1 $v0, $f2 +/* 19C33C 8026DA5C 00000000 */ nop +/* 19C340 8026DA60 468010A0 */ cvt.s.w $f2, $f2 +/* 19C344 8026DA64 46020001 */ sub.s $f0, $f0, $f2 +/* 19C348 8026DA68 4600018D */ trunc.w.s $f6, $f0 +/* 19C34C 8026DA6C 44023000 */ mfc1 $v0, $f6 +/* 19C350 8026DA70 00000000 */ nop +/* 19C354 8026DA74 A4820158 */ sh $v0, 0x158($a0) +.L8026DA78: +/* 19C358 8026DA78 8FBF001C */ lw $ra, 0x1c($sp) +/* 19C35C 8026DA7C 8FB20018 */ lw $s2, 0x18($sp) +/* 19C360 8026DA80 8FB10014 */ lw $s1, 0x14($sp) +/* 19C364 8026DA84 8FB00010 */ lw $s0, 0x10($sp) +/* 19C368 8026DA88 24020002 */ addiu $v0, $zero, 2 +/* 19C36C 8026DA8C 03E00008 */ jr $ra +/* 19C370 8026DA90 27BD0020 */ addiu $sp, $sp, 0x20 + +/* 19C374 8026DA94 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 19C378 8026DA98 AFB10014 */ sw $s1, 0x14($sp) +/* 19C37C 8026DA9C 0080882D */ daddu $s1, $a0, $zero +/* 19C380 8026DAA0 AFBF0024 */ sw $ra, 0x24($sp) +/* 19C384 8026DAA4 AFB40020 */ sw $s4, 0x20($sp) +/* 19C388 8026DAA8 AFB3001C */ sw $s3, 0x1c($sp) +/* 19C38C 8026DAAC AFB20018 */ sw $s2, 0x18($sp) +/* 19C390 8026DAB0 AFB00010 */ sw $s0, 0x10($sp) +/* 19C394 8026DAB4 8E30000C */ lw $s0, 0xc($s1) +/* 19C398 8026DAB8 8E050000 */ lw $a1, ($s0) +/* 19C39C 8026DABC 0C0B1EAF */ jal get_variable +/* 19C3A0 8026DAC0 26100004 */ addiu $s0, $s0, 4 +/* 19C3A4 8026DAC4 0040A02D */ daddu $s4, $v0, $zero +/* 19C3A8 8026DAC8 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19C3AC 8026DACC 16820002 */ bne $s4, $v0, .L8026DAD8 +/* 19C3B0 8026DAD0 00000000 */ nop +/* 19C3B4 8026DAD4 8E340148 */ lw $s4, 0x148($s1) +.L8026DAD8: +/* 19C3B8 8026DAD8 8E050000 */ lw $a1, ($s0) +/* 19C3BC 8026DADC 26100004 */ addiu $s0, $s0, 4 +/* 19C3C0 8026DAE0 0C0B1EAF */ jal get_variable +/* 19C3C4 8026DAE4 0220202D */ daddu $a0, $s1, $zero +/* 19C3C8 8026DAE8 8E050000 */ lw $a1, ($s0) +/* 19C3CC 8026DAEC 26100004 */ addiu $s0, $s0, 4 +/* 19C3D0 8026DAF0 0220202D */ daddu $a0, $s1, $zero +/* 19C3D4 8026DAF4 0C0B1EAF */ jal get_variable +/* 19C3D8 8026DAF8 0040982D */ daddu $s3, $v0, $zero +/* 19C3DC 8026DAFC 8E050000 */ lw $a1, ($s0) +/* 19C3E0 8026DB00 26100004 */ addiu $s0, $s0, 4 +/* 19C3E4 8026DB04 0220202D */ daddu $a0, $s1, $zero +/* 19C3E8 8026DB08 0C0B1EAF */ jal get_variable +/* 19C3EC 8026DB0C 0040902D */ daddu $s2, $v0, $zero +/* 19C3F0 8026DB10 0220202D */ daddu $a0, $s1, $zero +/* 19C3F4 8026DB14 8E050000 */ lw $a1, ($s0) +/* 19C3F8 8026DB18 0C0B1EAF */ jal get_variable +/* 19C3FC 8026DB1C 0040882D */ daddu $s1, $v0, $zero +/* 19C400 8026DB20 0280202D */ daddu $a0, $s4, $zero +/* 19C404 8026DB24 0C09A75B */ jal get_actor +/* 19C408 8026DB28 0040802D */ daddu $s0, $v0, $zero +/* 19C40C 8026DB2C 0040182D */ daddu $v1, $v0, $zero +/* 19C410 8026DB30 A0730194 */ sb $s3, 0x194($v1) +/* 19C414 8026DB34 A0720195 */ sb $s2, 0x195($v1) +/* 19C418 8026DB38 A0710196 */ sb $s1, 0x196($v1) +/* 19C41C 8026DB3C A0700197 */ sb $s0, 0x197($v1) +/* 19C420 8026DB40 8FBF0024 */ lw $ra, 0x24($sp) +/* 19C424 8026DB44 8FB40020 */ lw $s4, 0x20($sp) +/* 19C428 8026DB48 8FB3001C */ lw $s3, 0x1c($sp) +/* 19C42C 8026DB4C 8FB20018 */ lw $s2, 0x18($sp) +/* 19C430 8026DB50 8FB10014 */ lw $s1, 0x14($sp) +/* 19C434 8026DB54 8FB00010 */ lw $s0, 0x10($sp) +/* 19C438 8026DB58 24020002 */ addiu $v0, $zero, 2 +/* 19C43C 8026DB5C 03E00008 */ jr $ra +/* 19C440 8026DB60 27BD0028 */ addiu $sp, $sp, 0x28 + +SummonEnemy: +/* 19C444 8026DB64 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 19C448 8026DB68 AFB20018 */ sw $s2, 0x18($sp) +/* 19C44C 8026DB6C 0080902D */ daddu $s2, $a0, $zero +/* 19C450 8026DB70 AFB10014 */ sw $s1, 0x14($sp) +/* 19C454 8026DB74 3C11800E */ lui $s1, 0x800e +/* 19C458 8026DB78 2631C070 */ addiu $s1, $s1, -0x3f90 +/* 19C45C 8026DB7C AFBF001C */ sw $ra, 0x1c($sp) +/* 19C460 8026DB80 AFB00010 */ sw $s0, 0x10($sp) +/* 19C464 8026DB84 8E50000C */ lw $s0, 0xc($s2) +/* 19C468 8026DB88 54A00001 */ bnezl $a1, .L8026DB90 +/* 19C46C 8026DB8C AE400070 */ sw $zero, 0x70($s2) +.L8026DB90: +/* 19C470 8026DB90 8E430070 */ lw $v1, 0x70($s2) +/* 19C474 8026DB94 10600005 */ beqz $v1, .L8026DBAC +/* 19C478 8026DB98 24020001 */ addiu $v0, $zero, 1 +/* 19C47C 8026DB9C 10620011 */ beq $v1, $v0, .L8026DBE4 +/* 19C480 8026DBA0 0000102D */ daddu $v0, $zero, $zero +/* 19C484 8026DBA4 0809B77A */ j func_8026DDE8 +/* 19C488 8026DBA8 00000000 */ nop + +.L8026DBAC: +/* 19C48C 8026DBAC 8E050000 */ lw $a1, ($s0) +/* 19C490 8026DBB0 26100004 */ addiu $s0, $s0, 4 +/* 19C494 8026DBB4 0C0B1EAF */ jal get_variable +/* 19C498 8026DBB8 0240202D */ daddu $a0, $s2, $zero +/* 19C49C 8026DBBC 0C0994E9 */ jal create_actor +/* 19C4A0 8026DBC0 0040202D */ daddu $a0, $v0, $zero +/* 19C4A4 8026DBC4 AE420074 */ sw $v0, 0x74($s2) +/* 19C4A8 8026DBC8 8E050000 */ lw $a1, ($s0) +/* 19C4AC 8026DBCC 0C0B1EAF */ jal get_variable +/* 19C4B0 8026DBD0 0240202D */ daddu $a0, $s2, $zero +/* 19C4B4 8026DBD4 AE420078 */ sw $v0, 0x78($s2) +/* 19C4B8 8026DBD8 24020001 */ addiu $v0, $zero, 1 +/* 19C4BC 8026DBDC 0809B779 */ j func_8026DDE4 +/* 19C4C0 8026DBE0 AE420070 */ sw $v0, 0x70($s2) + +.L8026DBE4: +/* 19C4C4 8026DBE4 8E500074 */ lw $s0, 0x74($s2) +/* 19C4C8 8026DBE8 0C0B1059 */ jal does_script_exist +/* 19C4CC 8026DBEC 8E0401E4 */ lw $a0, 0x1e4($s0) +/* 19C4D0 8026DBF0 1440007D */ bnez $v0, .L8026DDE8 +/* 19C4D4 8026DBF4 0000102D */ daddu $v0, $zero, $zero +/* 19C4D8 8026DBF8 82220170 */ lb $v0, 0x170($s1) +/* 19C4DC 8026DBFC 14400040 */ bnez $v0, .L8026DD00 +/* 19C4E0 8026DC00 262E0140 */ addiu $t6, $s1, 0x140 +/* 19C4E4 8026DC04 0000582D */ daddu $t3, $zero, $zero +/* 19C4E8 8026DC08 0160202D */ daddu $a0, $t3, $zero +/* 19C4EC 8026DC0C 0220282D */ daddu $a1, $s1, $zero +/* 19C4F0 8026DC10 0220182D */ daddu $v1, $s1, $zero +.L8026DC14: +/* 19C4F4 8026DC14 8CA200E0 */ lw $v0, 0xe0($a1) +/* 19C4F8 8026DC18 50400006 */ beql $v0, $zero, .L8026DC34 +/* 19C4FC 8026DC1C 24840001 */ addiu $a0, $a0, 1 +/* 19C500 8026DC20 34820200 */ ori $v0, $a0, 0x200 +/* 19C504 8026DC24 A4620140 */ sh $v0, 0x140($v1) +/* 19C508 8026DC28 24630002 */ addiu $v1, $v1, 2 +/* 19C50C 8026DC2C 256B0001 */ addiu $t3, $t3, 1 +/* 19C510 8026DC30 24840001 */ addiu $a0, $a0, 1 +.L8026DC34: +/* 19C514 8026DC34 28820018 */ slti $v0, $a0, 0x18 +/* 19C518 8026DC38 1440FFF6 */ bnez $v0, .L8026DC14 +/* 19C51C 8026DC3C 24A50004 */ addiu $a1, $a1, 4 +/* 19C520 8026DC40 A22B0171 */ sb $t3, 0x171($s1) +/* 19C524 8026DC44 8E420078 */ lw $v0, 0x78($s2) +/* 19C528 8026DC48 10400002 */ beqz $v0, .L8026DC54 +/* 19C52C 8026DC4C 240C03E8 */ addiu $t4, $zero, 0x3e8 +/* 19C530 8026DC50 240CFC18 */ addiu $t4, $zero, -0x3e8 +.L8026DC54: +/* 19C534 8026DC54 262E0140 */ addiu $t6, $s1, 0x140 +/* 19C538 8026DC58 2562FFFF */ addiu $v0, $t3, -1 +/* 19C53C 8026DC5C 1840005D */ blez $v0, .L8026DDD4 +/* 19C540 8026DC60 0000202D */ daddu $a0, $zero, $zero +/* 19C544 8026DC64 0040782D */ daddu $t7, $v0, $zero +/* 19C548 8026DC68 01C0682D */ daddu $t5, $t6, $zero +.L8026DC6C: +/* 19C54C 8026DC6C 24880001 */ addiu $t0, $a0, 1 +/* 19C550 8026DC70 010B102A */ slt $v0, $t0, $t3 +/* 19C554 8026DC74 5040001D */ beql $v0, $zero, .L8026DCEC +/* 19C558 8026DC78 24840001 */ addiu $a0, $a0, 1 +/* 19C55C 8026DC7C 01A0502D */ daddu $t2, $t5, $zero +/* 19C560 8026DC80 00081040 */ sll $v0, $t0, 1 +/* 19C564 8026DC84 004E3821 */ addu $a3, $v0, $t6 +.L8026DC88: +/* 19C568 8026DC88 95490000 */ lhu $t1, ($t2) +/* 19C56C 8026DC8C 312200FF */ andi $v0, $t1, 0xff +/* 19C570 8026DC90 00021080 */ sll $v0, $v0, 2 +/* 19C574 8026DC94 02221021 */ addu $v0, $s1, $v0 +/* 19C578 8026DC98 8C4200E0 */ lw $v0, 0xe0($v0) +/* 19C57C 8026DC9C 804501F1 */ lb $a1, 0x1f1($v0) +/* 19C580 8026DCA0 50500001 */ beql $v0, $s0, .L8026DCA8 +/* 19C584 8026DCA4 00AC2821 */ addu $a1, $a1, $t4 +.L8026DCA8: +/* 19C588 8026DCA8 94E60000 */ lhu $a2, ($a3) +/* 19C58C 8026DCAC 30C200FF */ andi $v0, $a2, 0xff +/* 19C590 8026DCB0 00021080 */ sll $v0, $v0, 2 +/* 19C594 8026DCB4 02221021 */ addu $v0, $s1, $v0 +/* 19C598 8026DCB8 8C4200E0 */ lw $v0, 0xe0($v0) +/* 19C59C 8026DCBC 804301F1 */ lb $v1, 0x1f1($v0) +/* 19C5A0 8026DCC0 50500001 */ beql $v0, $s0, .L8026DCC8 +/* 19C5A4 8026DCC4 006C1821 */ addu $v1, $v1, $t4 +.L8026DCC8: +/* 19C5A8 8026DCC8 00A3102A */ slt $v0, $a1, $v1 +/* 19C5AC 8026DCCC 10400003 */ beqz $v0, .L8026DCDC +/* 19C5B0 8026DCD0 25080001 */ addiu $t0, $t0, 1 +/* 19C5B4 8026DCD4 A5460000 */ sh $a2, ($t2) +/* 19C5B8 8026DCD8 A4E90000 */ sh $t1, ($a3) +.L8026DCDC: +/* 19C5BC 8026DCDC 010B102A */ slt $v0, $t0, $t3 +/* 19C5C0 8026DCE0 1440FFE9 */ bnez $v0, .L8026DC88 +/* 19C5C4 8026DCE4 24E70002 */ addiu $a3, $a3, 2 +/* 19C5C8 8026DCE8 24840001 */ addiu $a0, $a0, 1 +.L8026DCEC: +/* 19C5CC 8026DCEC 008F102A */ slt $v0, $a0, $t7 +/* 19C5D0 8026DCF0 1440FFDE */ bnez $v0, .L8026DC6C +/* 19C5D4 8026DCF4 25AD0002 */ addiu $t5, $t5, 2 +/* 19C5D8 8026DCF8 0809B775 */ j func_8026DDD4 +/* 19C5DC 8026DCFC 00000000 */ nop + +.L8026DD00: +/* 19C5E0 8026DD00 822B0171 */ lb $t3, 0x171($s1) +/* 19C5E4 8026DD04 1960000D */ blez $t3, .L8026DD3C +/* 19C5E8 8026DD08 0000202D */ daddu $a0, $zero, $zero +/* 19C5EC 8026DD0C 2405FFFF */ addiu $a1, $zero, -1 +/* 19C5F0 8026DD10 01C0182D */ daddu $v1, $t6, $zero +.L8026DD14: +/* 19C5F4 8026DD14 90620001 */ lbu $v0, 1($v1) +/* 19C5F8 8026DD18 00021080 */ sll $v0, $v0, 2 +/* 19C5FC 8026DD1C 02221021 */ addu $v0, $s1, $v0 +/* 19C600 8026DD20 8C4200E0 */ lw $v0, 0xe0($v0) +/* 19C604 8026DD24 50500001 */ beql $v0, $s0, .L8026DD2C +/* 19C608 8026DD28 A4650000 */ sh $a1, ($v1) +.L8026DD2C: +/* 19C60C 8026DD2C 24840001 */ addiu $a0, $a0, 1 +/* 19C610 8026DD30 008B102A */ slt $v0, $a0, $t3 +/* 19C614 8026DD34 1440FFF7 */ bnez $v0, .L8026DD14 +/* 19C618 8026DD38 24630002 */ addiu $v1, $v1, 2 +.L8026DD3C: +/* 19C61C 8026DD3C 8E420078 */ lw $v0, 0x78($s2) +/* 19C620 8026DD40 1440001C */ bnez $v0, .L8026DDB4 +/* 19C624 8026DD44 0160202D */ daddu $a0, $t3, $zero +/* 19C628 8026DD48 82220170 */ lb $v0, 0x170($s1) +/* 19C62C 8026DD4C 0082102A */ slt $v0, $a0, $v0 +/* 19C630 8026DD50 1440000B */ bnez $v0, .L8026DD80 +/* 19C634 8026DD54 00041840 */ sll $v1, $a0, 1 +.L8026DD58: +/* 19C638 8026DD58 2484FFFF */ addiu $a0, $a0, -1 +/* 19C63C 8026DD5C 00041040 */ sll $v0, $a0, 1 +/* 19C640 8026DD60 02221021 */ addu $v0, $s1, $v0 +/* 19C644 8026DD64 94420140 */ lhu $v0, 0x140($v0) +/* 19C648 8026DD68 02231821 */ addu $v1, $s1, $v1 +/* 19C64C 8026DD6C A4620140 */ sh $v0, 0x140($v1) +/* 19C650 8026DD70 82220170 */ lb $v0, 0x170($s1) +/* 19C654 8026DD74 0082102A */ slt $v0, $a0, $v0 +/* 19C658 8026DD78 1040FFF7 */ beqz $v0, .L8026DD58 +/* 19C65C 8026DD7C 00041840 */ sll $v1, $a0, 1 +.L8026DD80: +/* 19C660 8026DD80 82220170 */ lb $v0, 0x170($s1) +/* 19C664 8026DD84 96030192 */ lhu $v1, 0x192($s0) +/* 19C668 8026DD88 2442FFFF */ addiu $v0, $v0, -1 +/* 19C66C 8026DD8C 00021040 */ sll $v0, $v0, 1 +/* 19C670 8026DD90 02221021 */ addu $v0, $s1, $v0 +/* 19C674 8026DD94 A4430140 */ sh $v1, 0x140($v0) +/* 19C678 8026DD98 92220171 */ lbu $v0, 0x171($s1) +/* 19C67C 8026DD9C 92230170 */ lbu $v1, 0x170($s1) +/* 19C680 8026DDA0 24420001 */ addiu $v0, $v0, 1 +/* 19C684 8026DDA4 24630001 */ addiu $v1, $v1, 1 +/* 19C688 8026DDA8 A2220171 */ sb $v0, 0x171($s1) +/* 19C68C 8026DDAC 0809B775 */ j func_8026DDD4 +/* 19C690 8026DDB0 A2230170 */ sb $v1, 0x170($s1) + +.L8026DDB4: +/* 19C694 8026DDB4 82220171 */ lb $v0, 0x171($s1) +/* 19C698 8026DDB8 96030192 */ lhu $v1, 0x192($s0) +/* 19C69C 8026DDBC 00021040 */ sll $v0, $v0, 1 +/* 19C6A0 8026DDC0 02221021 */ addu $v0, $s1, $v0 +/* 19C6A4 8026DDC4 A4430140 */ sh $v1, 0x140($v0) +/* 19C6A8 8026DDC8 92220171 */ lbu $v0, 0x171($s1) +/* 19C6AC 8026DDCC 24420001 */ addiu $v0, $v0, 1 +/* 19C6B0 8026DDD0 A2220171 */ sb $v0, 0x171($s1) +func_8026DDD4: +.L8026DDD4: +/* 19C6B4 8026DDD4 86030192 */ lh $v1, 0x192($s0) +/* 19C6B8 8026DDD8 24020002 */ addiu $v0, $zero, 2 +/* 19C6BC 8026DDDC 0809B77A */ j func_8026DDE8 +/* 19C6C0 8026DDE0 AE430084 */ sw $v1, 0x84($s2) + +func_8026DDE4: +/* 19C6C4 8026DDE4 0000102D */ daddu $v0, $zero, $zero +func_8026DDE8: +.L8026DDE8: +/* 19C6C8 8026DDE8 8FBF001C */ lw $ra, 0x1c($sp) +/* 19C6CC 8026DDEC 8FB20018 */ lw $s2, 0x18($sp) +/* 19C6D0 8026DDF0 8FB10014 */ lw $s1, 0x14($sp) +/* 19C6D4 8026DDF4 8FB00010 */ lw $s0, 0x10($sp) +/* 19C6D8 8026DDF8 03E00008 */ jr $ra +/* 19C6DC 8026DDFC 27BD0020 */ addiu $sp, $sp, 0x20 + +GetOwnerID: +/* 19C6E0 8026DE00 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 19C6E4 8026DE04 AFBF0010 */ sw $ra, 0x10($sp) +/* 19C6E8 8026DE08 8C82000C */ lw $v0, 0xc($a0) +/* 19C6EC 8026DE0C 8C860148 */ lw $a2, 0x148($a0) +/* 19C6F0 8026DE10 0C0B2026 */ jal set_variable +/* 19C6F4 8026DE14 8C450000 */ lw $a1, ($v0) +/* 19C6F8 8026DE18 8FBF0010 */ lw $ra, 0x10($sp) +/* 19C6FC 8026DE1C 24020002 */ addiu $v0, $zero, 2 +/* 19C700 8026DE20 03E00008 */ jr $ra +/* 19C704 8026DE24 27BD0018 */ addiu $sp, $sp, 0x18 + +SetOwnerID: +/* 19C708 8026DE28 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 19C70C 8026DE2C AFB00010 */ sw $s0, 0x10($sp) +/* 19C710 8026DE30 0080802D */ daddu $s0, $a0, $zero +/* 19C714 8026DE34 AFBF0014 */ sw $ra, 0x14($sp) +/* 19C718 8026DE38 8E02000C */ lw $v0, 0xc($s0) +/* 19C71C 8026DE3C 0C0B1EAF */ jal get_variable +/* 19C720 8026DE40 8C450000 */ lw $a1, ($v0) +/* 19C724 8026DE44 AE020148 */ sw $v0, 0x148($s0) +/* 19C728 8026DE48 8FBF0014 */ lw $ra, 0x14($sp) +/* 19C72C 8026DE4C 8FB00010 */ lw $s0, 0x10($sp) +/* 19C730 8026DE50 24020002 */ addiu $v0, $zero, 2 +/* 19C734 8026DE54 03E00008 */ jr $ra +/* 19C738 8026DE58 27BD0018 */ addiu $sp, $sp, 0x18 + +ActorExists: +/* 19C73C 8026DE5C 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 19C740 8026DE60 AFB20018 */ sw $s2, 0x18($sp) +/* 19C744 8026DE64 0080902D */ daddu $s2, $a0, $zero +/* 19C748 8026DE68 AFBF0020 */ sw $ra, 0x20($sp) +/* 19C74C 8026DE6C AFB3001C */ sw $s3, 0x1c($sp) +/* 19C750 8026DE70 AFB10014 */ sw $s1, 0x14($sp) +/* 19C754 8026DE74 AFB00010 */ sw $s0, 0x10($sp) +/* 19C758 8026DE78 8E51000C */ lw $s1, 0xc($s2) +/* 19C75C 8026DE7C 3C13800E */ lui $s3, 0x800e +/* 19C760 8026DE80 8E73C14C */ lw $s3, -0x3eb4($s3) +/* 19C764 8026DE84 8E250000 */ lw $a1, ($s1) +/* 19C768 8026DE88 0C0B1EAF */ jal get_variable +/* 19C76C 8026DE8C 26310004 */ addiu $s1, $s1, 4 +/* 19C770 8026DE90 0040802D */ daddu $s0, $v0, $zero +/* 19C774 8026DE94 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19C778 8026DE98 16020002 */ bne $s0, $v0, .L8026DEA4 +/* 19C77C 8026DE9C 00000000 */ nop +/* 19C780 8026DEA0 8E500148 */ lw $s0, 0x148($s2) +.L8026DEA4: +/* 19C784 8026DEA4 0C09A75B */ jal get_actor +/* 19C788 8026DEA8 0200202D */ daddu $a0, $s0, $zero +/* 19C78C 8026DEAC 0002302B */ sltu $a2, $zero, $v0 +/* 19C790 8026DEB0 24020100 */ addiu $v0, $zero, 0x100 +/* 19C794 8026DEB4 16020003 */ bne $s0, $v0, .L8026DEC4 +/* 19C798 8026DEB8 00000000 */ nop +/* 19C79C 8026DEBC 52600001 */ beql $s3, $zero, .L8026DEC4 +/* 19C7A0 8026DEC0 0000302D */ daddu $a2, $zero, $zero +.L8026DEC4: +/* 19C7A4 8026DEC4 8E250000 */ lw $a1, ($s1) +/* 19C7A8 8026DEC8 0C0B2026 */ jal set_variable +/* 19C7AC 8026DECC 0240202D */ daddu $a0, $s2, $zero +/* 19C7B0 8026DED0 8FBF0020 */ lw $ra, 0x20($sp) +/* 19C7B4 8026DED4 8FB3001C */ lw $s3, 0x1c($sp) +/* 19C7B8 8026DED8 8FB20018 */ lw $s2, 0x18($sp) +/* 19C7BC 8026DEDC 8FB10014 */ lw $s1, 0x14($sp) +/* 19C7C0 8026DEE0 8FB00010 */ lw $s0, 0x10($sp) +/* 19C7C4 8026DEE4 24020002 */ addiu $v0, $zero, 2 +/* 19C7C8 8026DEE8 03E00008 */ jr $ra +/* 19C7CC 8026DEEC 27BD0028 */ addiu $sp, $sp, 0x28 + +/* 19C7D0 8026DEF0 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 19C7D4 8026DEF4 AFB20018 */ sw $s2, 0x18($sp) +/* 19C7D8 8026DEF8 0080902D */ daddu $s2, $a0, $zero +/* 19C7DC 8026DEFC AFBF0020 */ sw $ra, 0x20($sp) +/* 19C7E0 8026DF00 AFB3001C */ sw $s3, 0x1c($sp) +/* 19C7E4 8026DF04 AFB10014 */ sw $s1, 0x14($sp) +/* 19C7E8 8026DF08 AFB00010 */ sw $s0, 0x10($sp) +/* 19C7EC 8026DF0C 8E50000C */ lw $s0, 0xc($s2) +/* 19C7F0 8026DF10 8E050000 */ lw $a1, ($s0) +/* 19C7F4 8026DF14 0C0B1EAF */ jal get_variable +/* 19C7F8 8026DF18 26100004 */ addiu $s0, $s0, 4 +/* 19C7FC 8026DF1C 0040882D */ daddu $s1, $v0, $zero +/* 19C800 8026DF20 8E050000 */ lw $a1, ($s0) +/* 19C804 8026DF24 26100004 */ addiu $s0, $s0, 4 +/* 19C808 8026DF28 0C0B1EAF */ jal get_variable +/* 19C80C 8026DF2C 0240202D */ daddu $a0, $s2, $zero +/* 19C810 8026DF30 0040982D */ daddu $s3, $v0, $zero +/* 19C814 8026DF34 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19C818 8026DF38 16220002 */ bne $s1, $v0, .L8026DF44 +/* 19C81C 8026DF3C 8E100000 */ lw $s0, ($s0) +/* 19C820 8026DF40 8E510148 */ lw $s1, 0x148($s2) +.L8026DF44: +/* 19C824 8026DF44 0C09A75B */ jal get_actor +/* 19C828 8026DF48 0220202D */ daddu $a0, $s1, $zero +/* 19C82C 8026DF4C 0040202D */ daddu $a0, $v0, $zero +/* 19C830 8026DF50 0C099117 */ jal get_actor_part +/* 19C834 8026DF54 0260282D */ daddu $a1, $s3, $zero +/* 19C838 8026DF58 0240202D */ daddu $a0, $s2, $zero +/* 19C83C 8026DF5C 8C460084 */ lw $a2, 0x84($v0) +/* 19C840 8026DF60 0C0B2026 */ jal set_variable +/* 19C844 8026DF64 0200282D */ daddu $a1, $s0, $zero +/* 19C848 8026DF68 8FBF0020 */ lw $ra, 0x20($sp) +/* 19C84C 8026DF6C 8FB3001C */ lw $s3, 0x1c($sp) +/* 19C850 8026DF70 8FB20018 */ lw $s2, 0x18($sp) +/* 19C854 8026DF74 8FB10014 */ lw $s1, 0x14($sp) +/* 19C858 8026DF78 8FB00010 */ lw $s0, 0x10($sp) +/* 19C85C 8026DF7C 24020002 */ addiu $v0, $zero, 2 +/* 19C860 8026DF80 03E00008 */ jr $ra +/* 19C864 8026DF84 27BD0028 */ addiu $sp, $sp, 0x28 + +/* 19C868 8026DF88 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 19C86C 8026DF8C AFB20018 */ sw $s2, 0x18($sp) +/* 19C870 8026DF90 0080902D */ daddu $s2, $a0, $zero +/* 19C874 8026DF94 AFBF0020 */ sw $ra, 0x20($sp) +/* 19C878 8026DF98 AFB3001C */ sw $s3, 0x1c($sp) +/* 19C87C 8026DF9C AFB10014 */ sw $s1, 0x14($sp) +/* 19C880 8026DFA0 AFB00010 */ sw $s0, 0x10($sp) +/* 19C884 8026DFA4 8E50000C */ lw $s0, 0xc($s2) +/* 19C888 8026DFA8 8E050000 */ lw $a1, ($s0) +/* 19C88C 8026DFAC 0C0B1EAF */ jal get_variable +/* 19C890 8026DFB0 26100004 */ addiu $s0, $s0, 4 +/* 19C894 8026DFB4 0040882D */ daddu $s1, $v0, $zero +/* 19C898 8026DFB8 8E050000 */ lw $a1, ($s0) +/* 19C89C 8026DFBC 26100004 */ addiu $s0, $s0, 4 +/* 19C8A0 8026DFC0 0C0B1EAF */ jal get_variable +/* 19C8A4 8026DFC4 0240202D */ daddu $a0, $s2, $zero +/* 19C8A8 8026DFC8 0040982D */ daddu $s3, $v0, $zero +/* 19C8AC 8026DFCC 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19C8B0 8026DFD0 16220002 */ bne $s1, $v0, .L8026DFDC +/* 19C8B4 8026DFD4 8E100000 */ lw $s0, ($s0) +/* 19C8B8 8026DFD8 8E510148 */ lw $s1, 0x148($s2) +.L8026DFDC: +/* 19C8BC 8026DFDC 0C09A75B */ jal get_actor +/* 19C8C0 8026DFE0 0220202D */ daddu $a0, $s1, $zero +/* 19C8C4 8026DFE4 0040202D */ daddu $a0, $v0, $zero +/* 19C8C8 8026DFE8 0C099117 */ jal get_actor_part +/* 19C8CC 8026DFEC 0260282D */ daddu $a1, $s3, $zero +/* 19C8D0 8026DFF0 0240202D */ daddu $a0, $s2, $zero +/* 19C8D4 8026DFF4 8C46008C */ lw $a2, 0x8c($v0) +/* 19C8D8 8026DFF8 0C0B2026 */ jal set_variable +/* 19C8DC 8026DFFC 0200282D */ daddu $a1, $s0, $zero +/* 19C8E0 8026E000 8FBF0020 */ lw $ra, 0x20($sp) +/* 19C8E4 8026E004 8FB3001C */ lw $s3, 0x1c($sp) +/* 19C8E8 8026E008 8FB20018 */ lw $s2, 0x18($sp) +/* 19C8EC 8026E00C 8FB10014 */ lw $s1, 0x14($sp) +/* 19C8F0 8026E010 8FB00010 */ lw $s0, 0x10($sp) +/* 19C8F4 8026E014 24020002 */ addiu $v0, $zero, 2 +/* 19C8F8 8026E018 03E00008 */ jr $ra +/* 19C8FC 8026E01C 27BD0028 */ addiu $sp, $sp, 0x28 + +/* 19C900 8026E020 8C82000C */ lw $v0, 0xc($a0) +/* 19C904 8026E024 8C420000 */ lw $v0, ($v0) +/* 19C908 8026E028 3C01800E */ lui $at, 0x800e +/* 19C90C 8026E02C A422C0E0 */ sh $v0, -0x3f20($at) +/* 19C910 8026E030 03E00008 */ jr $ra +/* 19C914 8026E034 24020002 */ addiu $v0, $zero, 2 + +/* 19C918 8026E038 8C82000C */ lw $v0, 0xc($a0) +/* 19C91C 8026E03C 8C420000 */ lw $v0, ($v0) +/* 19C920 8026E040 3C01800E */ lui $at, 0x800e +/* 19C924 8026E044 AC22C0E4 */ sw $v0, -0x3f1c($at) +/* 19C928 8026E048 03E00008 */ jr $ra +/* 19C92C 8026E04C 24020002 */ addiu $v0, $zero, 2 + +SetBattleInputMask: +/* 19C930 8026E050 8C82000C */ lw $v0, 0xc($a0) +/* 19C934 8026E054 8C420000 */ lw $v0, ($v0) +/* 19C938 8026E058 3C01800E */ lui $at, 0x800e +/* 19C93C 8026E05C AC22C294 */ sw $v0, -0x3d6c($at) +/* 19C940 8026E060 03E00008 */ jr $ra +/* 19C944 8026E064 24020002 */ addiu $v0, $zero, 2 + +SetBattleInputButtons: +/* 19C948 8026E068 8C82000C */ lw $v0, 0xc($a0) +/* 19C94C 8026E06C 8C450000 */ lw $a1, ($v0) +/* 19C950 8026E070 24420004 */ addiu $v0, $v0, 4 +/* 19C954 8026E074 8C430000 */ lw $v1, ($v0) +/* 19C958 8026E078 8C440004 */ lw $a0, 4($v0) +/* 19C95C 8026E07C 3C02800E */ lui $v0, 0x800e +/* 19C960 8026E080 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 19C964 8026E084 AC450210 */ sw $a1, 0x210($v0) +/* 19C968 8026E088 AC430214 */ sw $v1, 0x214($v0) +/* 19C96C 8026E08C AC440218 */ sw $a0, 0x218($v0) +/* 19C970 8026E090 03E00008 */ jr $ra +/* 19C974 8026E094 24020002 */ addiu $v0, $zero, 2 + +CheckButtonPress: +/* 19C978 8026E098 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 19C97C 8026E09C AFBF0010 */ sw $ra, 0x10($sp) +/* 19C980 8026E0A0 8C82000C */ lw $v0, 0xc($a0) +/* 19C984 8026E0A4 3C06800E */ lui $a2, 0x800e +/* 19C988 8026E0A8 8CC6C284 */ lw $a2, -0x3d7c($a2) +/* 19C98C 8026E0AC 8C430000 */ lw $v1, ($v0) +/* 19C990 8026E0B0 8C450004 */ lw $a1, 4($v0) +/* 19C994 8026E0B4 00C33024 */ and $a2, $a2, $v1 +/* 19C998 8026E0B8 0C0B2026 */ jal set_variable +/* 19C99C 8026E0BC 0006302B */ sltu $a2, $zero, $a2 +/* 19C9A0 8026E0C0 8FBF0010 */ lw $ra, 0x10($sp) +/* 19C9A4 8026E0C4 24020002 */ addiu $v0, $zero, 2 +/* 19C9A8 8026E0C8 03E00008 */ jr $ra +/* 19C9AC 8026E0CC 27BD0018 */ addiu $sp, $sp, 0x18 + +CheckButtonHeld: +/* 19C9B0 8026E0D0 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 19C9B4 8026E0D4 AFBF0010 */ sw $ra, 0x10($sp) +/* 19C9B8 8026E0D8 8C82000C */ lw $v0, 0xc($a0) +/* 19C9BC 8026E0DC 3C06800E */ lui $a2, 0x800e +/* 19C9C0 8026E0E0 8CC6C288 */ lw $a2, -0x3d78($a2) +/* 19C9C4 8026E0E4 8C430000 */ lw $v1, ($v0) +/* 19C9C8 8026E0E8 8C450004 */ lw $a1, 4($v0) +/* 19C9CC 8026E0EC 00C33024 */ and $a2, $a2, $v1 +/* 19C9D0 8026E0F0 0C0B2026 */ jal set_variable +/* 19C9D4 8026E0F4 0006302B */ sltu $a2, $zero, $a2 +/* 19C9D8 8026E0F8 8FBF0010 */ lw $ra, 0x10($sp) +/* 19C9DC 8026E0FC 24020002 */ addiu $v0, $zero, 2 +/* 19C9E0 8026E100 03E00008 */ jr $ra +/* 19C9E4 8026E104 27BD0018 */ addiu $sp, $sp, 0x18 + +CheckButtonDown: +/* 19C9E8 8026E108 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 19C9EC 8026E10C AFBF0010 */ sw $ra, 0x10($sp) +/* 19C9F0 8026E110 8C82000C */ lw $v0, 0xc($a0) +/* 19C9F4 8026E114 3C06800E */ lui $a2, 0x800e +/* 19C9F8 8026E118 8CC6C280 */ lw $a2, -0x3d80($a2) +/* 19C9FC 8026E11C 8C430000 */ lw $v1, ($v0) +/* 19CA00 8026E120 8C450004 */ lw $a1, 4($v0) +/* 19CA04 8026E124 00C33024 */ and $a2, $a2, $v1 +/* 19CA08 8026E128 0C0B2026 */ jal set_variable +/* 19CA0C 8026E12C 0006302B */ sltu $a2, $zero, $a2 +/* 19CA10 8026E130 8FBF0010 */ lw $ra, 0x10($sp) +/* 19CA14 8026E134 24020002 */ addiu $v0, $zero, 2 +/* 19CA18 8026E138 03E00008 */ jr $ra +/* 19CA1C 8026E13C 27BD0018 */ addiu $sp, $sp, 0x18 + +GetBattleState: +/* 19CA20 8026E140 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 19CA24 8026E144 AFBF0010 */ sw $ra, 0x10($sp) +/* 19CA28 8026E148 8C82000C */ lw $v0, 0xc($a0) +/* 19CA2C 8026E14C 3C06800E */ lui $a2, 0x800e +/* 19CA30 8026E150 8CC6C068 */ lw $a2, -0x3f98($a2) +/* 19CA34 8026E154 0C0B2026 */ jal set_variable +/* 19CA38 8026E158 8C450000 */ lw $a1, ($v0) +/* 19CA3C 8026E15C 8FBF0010 */ lw $ra, 0x10($sp) +/* 19CA40 8026E160 24020002 */ addiu $v0, $zero, 2 +/* 19CA44 8026E164 03E00008 */ jr $ra +/* 19CA48 8026E168 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 19CA4C 8026E16C 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 19CA50 8026E170 AFBF0010 */ sw $ra, 0x10($sp) +/* 19CA54 8026E174 8C82000C */ lw $v0, 0xc($a0) +/* 19CA58 8026E178 0C0B1EAF */ jal get_variable +/* 19CA5C 8026E17C 8C450000 */ lw $a1, ($v0) +/* 19CA60 8026E180 0C090464 */ jal func_80241190 +/* 19CA64 8026E184 0040202D */ daddu $a0, $v0, $zero +/* 19CA68 8026E188 8FBF0010 */ lw $ra, 0x10($sp) +/* 19CA6C 8026E18C 24020002 */ addiu $v0, $zero, 2 +/* 19CA70 8026E190 03E00008 */ jr $ra +/* 19CA74 8026E194 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 19CA78 8026E198 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 19CA7C 8026E19C AFB00010 */ sw $s0, 0x10($sp) +/* 19CA80 8026E1A0 3C10800E */ lui $s0, 0x800e +/* 19CA84 8026E1A4 2610C070 */ addiu $s0, $s0, -0x3f90 +/* 19CA88 8026E1A8 AFBF0014 */ sw $ra, 0x14($sp) +/* 19CA8C 8026E1AC 10A00008 */ beqz $a1, .L8026E1D0 +/* 19CA90 8026E1B0 8C82000C */ lw $v0, 0xc($a0) +/* 19CA94 8026E1B4 0C0B1EAF */ jal get_variable +/* 19CA98 8026E1B8 8C450000 */ lw $a1, ($v0) +/* 19CA9C 8026E1BC 0040182D */ daddu $v1, $v0, $zero +/* 19CAA0 8026E1C0 54600003 */ bnezl $v1, .L8026E1D0 +/* 19CAA4 8026E1C4 A2030095 */ sb $v1, 0x95($s0) +/* 19CAA8 8026E1C8 0809B87D */ j func_8026E1F4 +/* 19CAAC 8026E1CC A2000095 */ sb $zero, 0x95($s0) + +.L8026E1D0: +/* 19CAB0 8026E1D0 82030095 */ lb $v1, 0x95($s0) +/* 19CAB4 8026E1D4 50600008 */ beql $v1, $zero, .L8026E1F8 +/* 19CAB8 8026E1D8 24020002 */ addiu $v0, $zero, 2 +/* 19CABC 8026E1DC 3C02800E */ lui $v0, 0x800e +/* 19CAC0 8026E1E0 8C42C068 */ lw $v0, -0x3f98($v0) +/* 19CAC4 8026E1E4 00431026 */ xor $v0, $v0, $v1 +/* 19CAC8 8026E1E8 2C420001 */ sltiu $v0, $v0, 1 +/* 19CACC 8026E1EC 0809B87E */ j func_8026E1F8 +/* 19CAD0 8026E1F0 00021040 */ sll $v0, $v0, 1 + +func_8026E1F4: +/* 19CAD4 8026E1F4 24020002 */ addiu $v0, $zero, 2 +func_8026E1F8: +.L8026E1F8: +/* 19CAD8 8026E1F8 8FBF0014 */ lw $ra, 0x14($sp) +/* 19CADC 8026E1FC 8FB00010 */ lw $s0, 0x10($sp) +/* 19CAE0 8026E200 03E00008 */ jr $ra +/* 19CAE4 8026E204 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 19CAE8 8026E208 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 19CAEC 8026E20C AFBF0014 */ sw $ra, 0x14($sp) +/* 19CAF0 8026E210 AFB00010 */ sw $s0, 0x10($sp) +/* 19CAF4 8026E214 8C82000C */ lw $v0, 0xc($a0) +/* 19CAF8 8026E218 0C0B1EAF */ jal get_variable +/* 19CAFC 8026E21C 8C450000 */ lw $a1, ($v0) +/* 19CB00 8026E220 3C10800E */ lui $s0, 0x800e +/* 19CB04 8026E224 2610C070 */ addiu $s0, $s0, -0x3f90 +/* 19CB08 8026E228 0040182D */ daddu $v1, $v0, $zero +/* 19CB0C 8026E22C 10600005 */ beqz $v1, .L8026E244 +/* 19CB10 8026E230 24020001 */ addiu $v0, $zero, 1 +/* 19CB14 8026E234 10620004 */ beq $v1, $v0, .L8026E248 +/* 19CB18 8026E238 2402FFFF */ addiu $v0, $zero, -1 +/* 19CB1C 8026E23C 0809B893 */ j func_8026E24C +/* 19CB20 8026E240 00000000 */ nop + +.L8026E244: +/* 19CB24 8026E244 24020001 */ addiu $v0, $zero, 1 +.L8026E248: +/* 19CB28 8026E248 A2020094 */ sb $v0, 0x94($s0) +func_8026E24C: +/* 19CB2C 8026E24C 8FBF0014 */ lw $ra, 0x14($sp) +/* 19CB30 8026E250 8FB00010 */ lw $s0, 0x10($sp) +/* 19CB34 8026E254 24020002 */ addiu $v0, $zero, 2 +/* 19CB38 8026E258 03E00008 */ jr $ra +/* 19CB3C 8026E25C 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 19CB40 8026E260 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 19CB44 8026E264 AFB20018 */ sw $s2, 0x18($sp) +/* 19CB48 8026E268 0080902D */ daddu $s2, $a0, $zero +/* 19CB4C 8026E26C AFBF001C */ sw $ra, 0x1c($sp) +/* 19CB50 8026E270 AFB10014 */ sw $s1, 0x14($sp) +/* 19CB54 8026E274 AFB00010 */ sw $s0, 0x10($sp) +/* 19CB58 8026E278 8E50000C */ lw $s0, 0xc($s2) +/* 19CB5C 8026E27C 8E050000 */ lw $a1, ($s0) +/* 19CB60 8026E280 0C0B1EAF */ jal get_variable +/* 19CB64 8026E284 26100004 */ addiu $s0, $s0, 4 +/* 19CB68 8026E288 0040882D */ daddu $s1, $v0, $zero +/* 19CB6C 8026E28C 8E050000 */ lw $a1, ($s0) +/* 19CB70 8026E290 0C0B1EAF */ jal get_variable +/* 19CB74 8026E294 0240202D */ daddu $a0, $s2, $zero +/* 19CB78 8026E298 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19CB7C 8026E29C 16220002 */ bne $s1, $v0, .L8026E2A8 +/* 19CB80 8026E2A0 00000000 */ nop +/* 19CB84 8026E2A4 8E510148 */ lw $s1, 0x148($s2) +.L8026E2A8: +/* 19CB88 8026E2A8 0C09A75B */ jal get_actor +/* 19CB8C 8026E2AC 0220202D */ daddu $a0, $s1, $zero +/* 19CB90 8026E2B0 8FBF001C */ lw $ra, 0x1c($sp) +/* 19CB94 8026E2B4 8FB20018 */ lw $s2, 0x18($sp) +/* 19CB98 8026E2B8 8FB10014 */ lw $s1, 0x14($sp) +/* 19CB9C 8026E2BC 8FB00010 */ lw $s0, 0x10($sp) +/* 19CBA0 8026E2C0 24020002 */ addiu $v0, $zero, 2 +/* 19CBA4 8026E2C4 03E00008 */ jr $ra +/* 19CBA8 8026E2C8 27BD0020 */ addiu $sp, $sp, 0x20 + +PlayerCreateTargetList: +/* 19CBAC 8026E2CC 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 19CBB0 8026E2D0 0080102D */ daddu $v0, $a0, $zero +/* 19CBB4 8026E2D4 AFBF0014 */ sw $ra, 0x14($sp) +/* 19CBB8 8026E2D8 AFB00010 */ sw $s0, 0x10($sp) +/* 19CBBC 8026E2DC 8C440148 */ lw $a0, 0x148($v0) +/* 19CBC0 8026E2E0 0C09A75B */ jal get_actor +/* 19CBC4 8026E2E4 8C50000C */ lw $s0, 0xc($v0) +/* 19CBC8 8026E2E8 8E030000 */ lw $v1, ($s0) +/* 19CBCC 8026E2EC 3C01800E */ lui $at, 0x800e +/* 19CBD0 8026E2F0 AC23C1F4 */ sw $v1, -0x3e0c($at) +/* 19CBD4 8026E2F4 0C098C0B */ jal player_create_target_list +/* 19CBD8 8026E2F8 0040202D */ daddu $a0, $v0, $zero +/* 19CBDC 8026E2FC 8FBF0014 */ lw $ra, 0x14($sp) +/* 19CBE0 8026E300 8FB00010 */ lw $s0, 0x10($sp) +/* 19CBE4 8026E304 24020002 */ addiu $v0, $zero, 2 +/* 19CBE8 8026E308 03E00008 */ jr $ra +/* 19CBEC 8026E30C 27BD0018 */ addiu $sp, $sp, 0x18 + +EnemyCreateTargetList: +/* 19CBF0 8026E310 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 19CBF4 8026E314 0080102D */ daddu $v0, $a0, $zero +/* 19CBF8 8026E318 AFBF0014 */ sw $ra, 0x14($sp) +/* 19CBFC 8026E31C AFB00010 */ sw $s0, 0x10($sp) +/* 19CC00 8026E320 8C440148 */ lw $a0, 0x148($v0) +/* 19CC04 8026E324 0C09A75B */ jal get_actor +/* 19CC08 8026E328 8C50000C */ lw $s0, 0xc($v0) +/* 19CC0C 8026E32C 8E030000 */ lw $v1, ($s0) +/* 19CC10 8026E330 3C01800E */ lui $at, 0x800e +/* 19CC14 8026E334 AC23C1F4 */ sw $v1, -0x3e0c($at) +/* 19CC18 8026E338 0C098C12 */ jal enemy_create_target_list +/* 19CC1C 8026E33C 0040202D */ daddu $a0, $v0, $zero +/* 19CC20 8026E340 8FBF0014 */ lw $ra, 0x14($sp) +/* 19CC24 8026E344 8FB00010 */ lw $s0, 0x10($sp) +/* 19CC28 8026E348 24020002 */ addiu $v0, $zero, 2 +/* 19CC2C 8026E34C 03E00008 */ jr $ra +/* 19CC30 8026E350 27BD0018 */ addiu $sp, $sp, 0x18 + +InitTargetIterator: +/* 19CC34 8026E354 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 19CC38 8026E358 AFBF0010 */ sw $ra, 0x10($sp) +/* 19CC3C 8026E35C 0C09A75B */ jal get_actor +/* 19CC40 8026E360 8C840148 */ lw $a0, 0x148($a0) +/* 19CC44 8026E364 0040202D */ daddu $a0, $v0, $zero +/* 19CC48 8026E368 80820425 */ lb $v0, 0x425($a0) +/* 19CC4C 8026E36C 00821021 */ addu $v0, $a0, $v0 +/* 19CC50 8026E370 8043040D */ lb $v1, 0x40d($v0) +/* 19CC54 8026E374 00031080 */ sll $v0, $v1, 2 +/* 19CC58 8026E378 00431021 */ addu $v0, $v0, $v1 +/* 19CC5C 8026E37C 00021080 */ sll $v0, $v0, 2 +/* 19CC60 8026E380 2442022C */ addiu $v0, $v0, 0x22c +/* 19CC64 8026E384 00821021 */ addu $v0, $a0, $v0 +/* 19CC68 8026E388 94430000 */ lhu $v1, ($v0) +/* 19CC6C 8026E38C A4830428 */ sh $v1, 0x428($a0) +/* 19CC70 8026E390 90430003 */ lbu $v1, 3($v0) +/* 19CC74 8026E394 A0830426 */ sb $v1, 0x426($a0) +/* 19CC78 8026E398 8FBF0010 */ lw $ra, 0x10($sp) +/* 19CC7C 8026E39C 24020002 */ addiu $v0, $zero, 2 +/* 19CC80 8026E3A0 03E00008 */ jr $ra +/* 19CC84 8026E3A4 27BD0018 */ addiu $sp, $sp, 0x18 + +SetOwnerTarget: +/* 19CC88 8026E3A8 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 19CC8C 8026E3AC AFB10014 */ sw $s1, 0x14($sp) +/* 19CC90 8026E3B0 0080882D */ daddu $s1, $a0, $zero +/* 19CC94 8026E3B4 AFBF001C */ sw $ra, 0x1c($sp) +/* 19CC98 8026E3B8 AFB20018 */ sw $s2, 0x18($sp) +/* 19CC9C 8026E3BC AFB00010 */ sw $s0, 0x10($sp) +/* 19CCA0 8026E3C0 8E240148 */ lw $a0, 0x148($s1) +/* 19CCA4 8026E3C4 0C09A75B */ jal get_actor +/* 19CCA8 8026E3C8 8E30000C */ lw $s0, 0xc($s1) +/* 19CCAC 8026E3CC 8E050000 */ lw $a1, ($s0) +/* 19CCB0 8026E3D0 26100004 */ addiu $s0, $s0, 4 +/* 19CCB4 8026E3D4 0220202D */ daddu $a0, $s1, $zero +/* 19CCB8 8026E3D8 0C0B1EAF */ jal get_variable +/* 19CCBC 8026E3DC 0040902D */ daddu $s2, $v0, $zero +/* 19CCC0 8026E3E0 0220202D */ daddu $a0, $s1, $zero +/* 19CCC4 8026E3E4 8E050000 */ lw $a1, ($s0) +/* 19CCC8 8026E3E8 0C0B1EAF */ jal get_variable +/* 19CCCC 8026E3EC 0040802D */ daddu $s0, $v0, $zero +/* 19CCD0 8026E3F0 A2420426 */ sb $v0, 0x426($s2) +/* 19CCD4 8026E3F4 A6500428 */ sh $s0, 0x428($s2) +/* 19CCD8 8026E3F8 8FBF001C */ lw $ra, 0x1c($sp) +/* 19CCDC 8026E3FC 8FB20018 */ lw $s2, 0x18($sp) +/* 19CCE0 8026E400 8FB10014 */ lw $s1, 0x14($sp) +/* 19CCE4 8026E404 8FB00010 */ lw $s0, 0x10($sp) +/* 19CCE8 8026E408 24020002 */ addiu $v0, $zero, 2 +/* 19CCEC 8026E40C 03E00008 */ jr $ra +/* 19CCF0 8026E410 27BD0020 */ addiu $sp, $sp, 0x20 + +ChooseNextTarget: +/* 19CCF4 8026E414 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 19CCF8 8026E418 AFB20018 */ sw $s2, 0x18($sp) +/* 19CCFC 8026E41C 0080902D */ daddu $s2, $a0, $zero +/* 19CD00 8026E420 AFBF001C */ sw $ra, 0x1c($sp) +/* 19CD04 8026E424 AFB10014 */ sw $s1, 0x14($sp) +/* 19CD08 8026E428 AFB00010 */ sw $s0, 0x10($sp) +/* 19CD0C 8026E42C 8E440148 */ lw $a0, 0x148($s2) +/* 19CD10 8026E430 0C09A75B */ jal get_actor +/* 19CD14 8026E434 8E50000C */ lw $s0, 0xc($s2) +/* 19CD18 8026E438 8E050000 */ lw $a1, ($s0) +/* 19CD1C 8026E43C 26100004 */ addiu $s0, $s0, 4 +/* 19CD20 8026E440 0240202D */ daddu $a0, $s2, $zero +/* 19CD24 8026E444 0C0B1EAF */ jal get_variable +/* 19CD28 8026E448 0040882D */ daddu $s1, $v0, $zero +/* 19CD2C 8026E44C 0040202D */ daddu $a0, $v0, $zero +/* 19CD30 8026E450 2402FFFF */ addiu $v0, $zero, -1 +/* 19CD34 8026E454 8E050000 */ lw $a1, ($s0) +/* 19CD38 8026E458 14820004 */ bne $a0, $v0, .L8026E46C +/* 19CD3C 8026E45C 2402000A */ addiu $v0, $zero, 0xa +/* 19CD40 8026E460 8223040D */ lb $v1, 0x40d($s1) +/* 19CD44 8026E464 0809B924 */ j func_8026E490 +/* 19CD48 8026E468 A2200425 */ sb $zero, 0x425($s1) + +.L8026E46C: +/* 19CD4C 8026E46C 14820013 */ bne $a0, $v0, .L8026E4BC +/* 19CD50 8026E470 00000000 */ nop +/* 19CD54 8026E474 9222040C */ lbu $v0, 0x40c($s1) +/* 19CD58 8026E478 2442FFFF */ addiu $v0, $v0, -1 +/* 19CD5C 8026E47C A2220425 */ sb $v0, 0x425($s1) +/* 19CD60 8026E480 00021600 */ sll $v0, $v0, 0x18 +/* 19CD64 8026E484 00021603 */ sra $v0, $v0, 0x18 +/* 19CD68 8026E488 02221021 */ addu $v0, $s1, $v0 +/* 19CD6C 8026E48C 8043040D */ lb $v1, 0x40d($v0) +func_8026E490: +/* 19CD70 8026E490 00031080 */ sll $v0, $v1, 2 +/* 19CD74 8026E494 00431021 */ addu $v0, $v0, $v1 +/* 19CD78 8026E498 00021080 */ sll $v0, $v0, 2 +/* 19CD7C 8026E49C 2442022C */ addiu $v0, $v0, 0x22c +/* 19CD80 8026E4A0 02221821 */ addu $v1, $s1, $v0 +/* 19CD84 8026E4A4 94620000 */ lhu $v0, ($v1) +/* 19CD88 8026E4A8 A6220428 */ sh $v0, 0x428($s1) +/* 19CD8C 8026E4AC 90630003 */ lbu $v1, 3($v1) +/* 19CD90 8026E4B0 24020002 */ addiu $v0, $zero, 2 +/* 19CD94 8026E4B4 0809B950 */ j func_8026E540 +/* 19CD98 8026E4B8 A2230426 */ sb $v1, 0x426($s1) + +.L8026E4BC: +/* 19CD9C 8026E4BC 82230425 */ lb $v1, 0x425($s1) +/* 19CDA0 8026E4C0 8222040C */ lb $v0, 0x40c($s1) +/* 19CDA4 8026E4C4 14800003 */ bnez $a0, .L8026E4D4 +/* 19CDA8 8026E4C8 0000302D */ daddu $a2, $zero, $zero +/* 19CDAC 8026E4CC 0809B936 */ j func_8026E4D8 +/* 19CDB0 8026E4D0 24630001 */ addiu $v1, $v1, 1 + +.L8026E4D4: +/* 19CDB4 8026E4D4 2463FFFF */ addiu $v1, $v1, -1 +func_8026E4D8: +/* 19CDB8 8026E4D8 04630004 */ bgezl $v1, .L8026E4EC +/* 19CDBC 8026E4DC 0062102A */ slt $v0, $v1, $v0 +/* 19CDC0 8026E4E0 2443FFFF */ addiu $v1, $v0, -1 +/* 19CDC4 8026E4E4 2406FFFF */ addiu $a2, $zero, -1 +/* 19CDC8 8026E4E8 0062102A */ slt $v0, $v1, $v0 +.L8026E4EC: +/* 19CDCC 8026E4EC 14400004 */ bnez $v0, .L8026E500 +/* 19CDD0 8026E4F0 00031600 */ sll $v0, $v1, 0x18 +/* 19CDD4 8026E4F4 0000182D */ daddu $v1, $zero, $zero +/* 19CDD8 8026E4F8 2406FFFF */ addiu $a2, $zero, -1 +/* 19CDDC 8026E4FC 00031600 */ sll $v0, $v1, 0x18 +.L8026E500: +/* 19CDE0 8026E500 00021603 */ sra $v0, $v0, 0x18 +/* 19CDE4 8026E504 02221021 */ addu $v0, $s1, $v0 +/* 19CDE8 8026E508 A2230425 */ sb $v1, 0x425($s1) +/* 19CDEC 8026E50C 8043040D */ lb $v1, 0x40d($v0) +/* 19CDF0 8026E510 00031080 */ sll $v0, $v1, 2 +/* 19CDF4 8026E514 00431021 */ addu $v0, $v0, $v1 +/* 19CDF8 8026E518 00021080 */ sll $v0, $v0, 2 +/* 19CDFC 8026E51C 2442022C */ addiu $v0, $v0, 0x22c +/* 19CE00 8026E520 02221821 */ addu $v1, $s1, $v0 +/* 19CE04 8026E524 94620000 */ lhu $v0, ($v1) +/* 19CE08 8026E528 A6220428 */ sh $v0, 0x428($s1) +/* 19CE0C 8026E52C 90620003 */ lbu $v0, 3($v1) +/* 19CE10 8026E530 0240202D */ daddu $a0, $s2, $zero +/* 19CE14 8026E534 0C0B2026 */ jal set_variable +/* 19CE18 8026E538 A2220426 */ sb $v0, 0x426($s1) +/* 19CE1C 8026E53C 24020002 */ addiu $v0, $zero, 2 +func_8026E540: +/* 19CE20 8026E540 8FBF001C */ lw $ra, 0x1c($sp) +/* 19CE24 8026E544 8FB20018 */ lw $s2, 0x18($sp) +/* 19CE28 8026E548 8FB10014 */ lw $s1, 0x14($sp) +/* 19CE2C 8026E54C 8FB00010 */ lw $s0, 0x10($sp) +/* 19CE30 8026E550 03E00008 */ jr $ra +/* 19CE34 8026E554 27BD0020 */ addiu $sp, $sp, 0x20 + +/* 19CE38 8026E558 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 19CE3C 8026E55C AFB3001C */ sw $s3, 0x1c($sp) +/* 19CE40 8026E560 0080982D */ daddu $s3, $a0, $zero +/* 19CE44 8026E564 AFBF0020 */ sw $ra, 0x20($sp) +/* 19CE48 8026E568 AFB20018 */ sw $s2, 0x18($sp) +/* 19CE4C 8026E56C AFB10014 */ sw $s1, 0x14($sp) +/* 19CE50 8026E570 AFB00010 */ sw $s0, 0x10($sp) +/* 19CE54 8026E574 8E70000C */ lw $s0, 0xc($s3) +/* 19CE58 8026E578 8E050000 */ lw $a1, ($s0) +/* 19CE5C 8026E57C 0C0B1EAF */ jal get_variable +/* 19CE60 8026E580 26100004 */ addiu $s0, $s0, 4 +/* 19CE64 8026E584 0040882D */ daddu $s1, $v0, $zero +/* 19CE68 8026E588 8E050000 */ lw $a1, ($s0) +/* 19CE6C 8026E58C 26100004 */ addiu $s0, $s0, 4 +/* 19CE70 8026E590 0C0B1EAF */ jal get_variable +/* 19CE74 8026E594 0260202D */ daddu $a0, $s3, $zero +/* 19CE78 8026E598 0040902D */ daddu $s2, $v0, $zero +/* 19CE7C 8026E59C 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19CE80 8026E5A0 16220002 */ bne $s1, $v0, .L8026E5AC +/* 19CE84 8026E5A4 8E100000 */ lw $s0, ($s0) +/* 19CE88 8026E5A8 8E710148 */ lw $s1, 0x148($s3) +.L8026E5AC: +/* 19CE8C 8026E5AC 0C09A75B */ jal get_actor +/* 19CE90 8026E5B0 0220202D */ daddu $a0, $s1, $zero +/* 19CE94 8026E5B4 0040202D */ daddu $a0, $v0, $zero +/* 19CE98 8026E5B8 C4820148 */ lwc1 $f2, 0x148($a0) +/* 19CE9C 8026E5BC 3C014220 */ lui $at, 0x4220 +/* 19CEA0 8026E5C0 44810000 */ mtc1 $at, $f0 +/* 19CEA4 8026E5C4 C4840144 */ lwc1 $f4, 0x144($a0) +/* 19CEA8 8026E5C8 C486014C */ lwc1 $f6, 0x14c($a0) +/* 19CEAC 8026E5CC 4600103C */ c.lt.s $f2, $f0 +/* 19CEB0 8026E5D0 00000000 */ nop +/* 19CEB4 8026E5D4 45000003 */ bc1f .L8026E5E4 +/* 19CEB8 8026E5D8 2406FFFF */ addiu $a2, $zero, -1 +/* 19CEBC 8026E5DC 0809B988 */ j func_8026E620 +/* 19CEC0 8026E5E0 0000402D */ daddu $t0, $zero, $zero + +.L8026E5E4: +/* 19CEC4 8026E5E4 3C0142AA */ lui $at, 0x42aa +/* 19CEC8 8026E5E8 44810000 */ mtc1 $at, $f0 +/* 19CECC 8026E5EC 00000000 */ nop +/* 19CED0 8026E5F0 4600103C */ c.lt.s $f2, $f0 +/* 19CED4 8026E5F4 00000000 */ nop +/* 19CED8 8026E5F8 45010009 */ bc1t .L8026E620 +/* 19CEDC 8026E5FC 24080001 */ addiu $t0, $zero, 1 +/* 19CEE0 8026E600 3C0142C8 */ lui $at, 0x42c8 +/* 19CEE4 8026E604 44810000 */ mtc1 $at, $f0 +/* 19CEE8 8026E608 00000000 */ nop +/* 19CEEC 8026E60C 4600103C */ c.lt.s $f2, $f0 +/* 19CEF0 8026E610 00000000 */ nop +/* 19CEF4 8026E614 45000002 */ bc1f .L8026E620 +/* 19CEF8 8026E618 24080003 */ addiu $t0, $zero, 3 +/* 19CEFC 8026E61C 24080002 */ addiu $t0, $zero, 2 +func_8026E620: +.L8026E620: +/* 19CF00 8026E620 3C0141C8 */ lui $at, 0x41c8 +/* 19CF04 8026E624 44810000 */ mtc1 $at, $f0 +/* 19CF08 8026E628 00000000 */ nop +/* 19CF0C 8026E62C 4600203C */ c.lt.s $f4, $f0 +/* 19CF10 8026E630 00000000 */ nop +/* 19CF14 8026E634 45010010 */ bc1t .L8026E678 +/* 19CF18 8026E638 0000282D */ daddu $a1, $zero, $zero +/* 19CF1C 8026E63C 3C014282 */ lui $at, 0x4282 +/* 19CF20 8026E640 44810000 */ mtc1 $at, $f0 +/* 19CF24 8026E644 00000000 */ nop +/* 19CF28 8026E648 4600203C */ c.lt.s $f4, $f0 +/* 19CF2C 8026E64C 00000000 */ nop +/* 19CF30 8026E650 45010009 */ bc1t .L8026E678 +/* 19CF34 8026E654 24050001 */ addiu $a1, $zero, 1 +/* 19CF38 8026E658 3C0142D2 */ lui $at, 0x42d2 +/* 19CF3C 8026E65C 44810000 */ mtc1 $at, $f0 +/* 19CF40 8026E660 00000000 */ nop +/* 19CF44 8026E664 4600203C */ c.lt.s $f4, $f0 +/* 19CF48 8026E668 00000000 */ nop +/* 19CF4C 8026E66C 45000002 */ bc1f .L8026E678 +/* 19CF50 8026E670 24050003 */ addiu $a1, $zero, 3 +/* 19CF54 8026E674 24050002 */ addiu $a1, $zero, 2 +.L8026E678: +/* 19CF58 8026E678 3C01C1F0 */ lui $at, 0xc1f0 +/* 19CF5C 8026E67C 44810000 */ mtc1 $at, $f0 +/* 19CF60 8026E680 00000000 */ nop +/* 19CF64 8026E684 4600303C */ c.lt.s $f6, $f0 +/* 19CF68 8026E688 00000000 */ nop +/* 19CF6C 8026E68C 45000002 */ bc1f .L8026E698 +/* 19CF70 8026E690 24070001 */ addiu $a3, $zero, 1 +/* 19CF74 8026E694 0000382D */ daddu $a3, $zero, $zero +.L8026E698: +/* 19CF78 8026E698 1240000C */ beqz $s2, .L8026E6CC +/* 19CF7C 8026E69C 00000000 */ nop +/* 19CF80 8026E6A0 1E400006 */ bgtz $s2, .L8026E6BC +/* 19CF84 8026E6A4 24020001 */ addiu $v0, $zero, 1 +/* 19CF88 8026E6A8 2402FFFF */ addiu $v0, $zero, -1 +/* 19CF8C 8026E6AC 12420045 */ beq $s2, $v0, .L8026E7C4 +/* 19CF90 8026E6B0 00000000 */ nop +/* 19CF94 8026E6B4 0809BA0F */ j func_8026E83C +/* 19CF98 8026E6B8 0260202D */ daddu $a0, $s3, $zero + +.L8026E6BC: +/* 19CF9C 8026E6BC 12420022 */ beq $s2, $v0, .L8026E748 +/* 19CFA0 8026E6C0 00000000 */ nop +/* 19CFA4 8026E6C4 0809BA0F */ j func_8026E83C +/* 19CFA8 8026E6C8 0260202D */ daddu $a0, $s3, $zero + +.L8026E6CC: +/* 19CFAC 8026E6CC 8082040C */ lb $v0, 0x40c($a0) +/* 19CFB0 8026E6D0 18400059 */ blez $v0, .L8026E838 +/* 19CFB4 8026E6D4 0000882D */ daddu $s1, $zero, $zero +/* 19CFB8 8026E6D8 0040482D */ daddu $t1, $v0, $zero +/* 19CFBC 8026E6DC 00911021 */ addu $v0, $a0, $s1 +.L8026E6E0: +/* 19CFC0 8026E6E0 8043040D */ lb $v1, 0x40d($v0) +/* 19CFC4 8026E6E4 00031080 */ sll $v0, $v1, 2 +/* 19CFC8 8026E6E8 00431021 */ addu $v0, $v0, $v1 +/* 19CFCC 8026E6EC 00021080 */ sll $v0, $v0, 2 +/* 19CFD0 8026E6F0 2442022C */ addiu $v0, $v0, 0x22c +/* 19CFD4 8026E6F4 00821821 */ addu $v1, $a0, $v0 +/* 19CFD8 8026E6F8 80620011 */ lb $v0, 0x11($v1) +/* 19CFDC 8026E6FC 5445000D */ bnel $v0, $a1, .L8026E734 +/* 19CFE0 8026E700 26310001 */ addiu $s1, $s1, 1 +/* 19CFE4 8026E704 80620013 */ lb $v0, 0x13($v1) +/* 19CFE8 8026E708 1447000A */ bne $v0, $a3, .L8026E734 +/* 19CFEC 8026E70C 26310001 */ addiu $s1, $s1, 1 +/* 19CFF0 8026E710 80620012 */ lb $v0, 0x12($v1) +/* 19CFF4 8026E714 0048102A */ slt $v0, $v0, $t0 +/* 19CFF8 8026E718 10400006 */ beqz $v0, .L8026E734 +/* 19CFFC 8026E71C 00000000 */ nop +/* 19D000 8026E720 94620000 */ lhu $v0, ($v1) +/* 19D004 8026E724 A4820428 */ sh $v0, 0x428($a0) +/* 19D008 8026E728 90620003 */ lbu $v0, 3($v1) +/* 19D00C 8026E72C 0000302D */ daddu $a2, $zero, $zero +/* 19D010 8026E730 A0820426 */ sb $v0, 0x426($a0) +.L8026E734: +/* 19D014 8026E734 0229102A */ slt $v0, $s1, $t1 +/* 19D018 8026E738 1440FFE9 */ bnez $v0, .L8026E6E0 +/* 19D01C 8026E73C 00911021 */ addu $v0, $a0, $s1 +/* 19D020 8026E740 0809BA0F */ j func_8026E83C +/* 19D024 8026E744 0260202D */ daddu $a0, $s3, $zero + +.L8026E748: +/* 19D028 8026E748 8082040C */ lb $v0, 0x40c($a0) +/* 19D02C 8026E74C 1840003A */ blez $v0, .L8026E838 +/* 19D030 8026E750 0000882D */ daddu $s1, $zero, $zero +/* 19D034 8026E754 0040482D */ daddu $t1, $v0, $zero +/* 19D038 8026E758 00911021 */ addu $v0, $a0, $s1 +.L8026E75C: +/* 19D03C 8026E75C 8043040D */ lb $v1, 0x40d($v0) +/* 19D040 8026E760 00031080 */ sll $v0, $v1, 2 +/* 19D044 8026E764 00431021 */ addu $v0, $v0, $v1 +/* 19D048 8026E768 00021080 */ sll $v0, $v0, 2 +/* 19D04C 8026E76C 2442022C */ addiu $v0, $v0, 0x22c +/* 19D050 8026E770 00821821 */ addu $v1, $a0, $v0 +/* 19D054 8026E774 80620011 */ lb $v0, 0x11($v1) +/* 19D058 8026E778 5445000D */ bnel $v0, $a1, .L8026E7B0 +/* 19D05C 8026E77C 26310001 */ addiu $s1, $s1, 1 +/* 19D060 8026E780 80620013 */ lb $v0, 0x13($v1) +/* 19D064 8026E784 1447000A */ bne $v0, $a3, .L8026E7B0 +/* 19D068 8026E788 26310001 */ addiu $s1, $s1, 1 +/* 19D06C 8026E78C 80620012 */ lb $v0, 0x12($v1) +/* 19D070 8026E790 0048102A */ slt $v0, $v0, $t0 +/* 19D074 8026E794 10400006 */ beqz $v0, .L8026E7B0 +/* 19D078 8026E798 00000000 */ nop +/* 19D07C 8026E79C 94620000 */ lhu $v0, ($v1) +/* 19D080 8026E7A0 A4820428 */ sh $v0, 0x428($a0) +/* 19D084 8026E7A4 90620003 */ lbu $v0, 3($v1) +/* 19D088 8026E7A8 0000302D */ daddu $a2, $zero, $zero +/* 19D08C 8026E7AC A0820426 */ sb $v0, 0x426($a0) +.L8026E7B0: +/* 19D090 8026E7B0 0229102A */ slt $v0, $s1, $t1 +/* 19D094 8026E7B4 1440FFE9 */ bnez $v0, .L8026E75C +/* 19D098 8026E7B8 00911021 */ addu $v0, $a0, $s1 +/* 19D09C 8026E7BC 0809BA0F */ j func_8026E83C +/* 19D0A0 8026E7C0 0260202D */ daddu $a0, $s3, $zero + +.L8026E7C4: +/* 19D0A4 8026E7C4 8082040C */ lb $v0, 0x40c($a0) +/* 19D0A8 8026E7C8 1840001B */ blez $v0, .L8026E838 +/* 19D0AC 8026E7CC 0000882D */ daddu $s1, $zero, $zero +/* 19D0B0 8026E7D0 0040482D */ daddu $t1, $v0, $zero +/* 19D0B4 8026E7D4 00911021 */ addu $v0, $a0, $s1 +.L8026E7D8: +/* 19D0B8 8026E7D8 8043040D */ lb $v1, 0x40d($v0) +/* 19D0BC 8026E7DC 00031080 */ sll $v0, $v1, 2 +/* 19D0C0 8026E7E0 00431021 */ addu $v0, $v0, $v1 +/* 19D0C4 8026E7E4 00021080 */ sll $v0, $v0, 2 +/* 19D0C8 8026E7E8 2442022C */ addiu $v0, $v0, 0x22c +/* 19D0CC 8026E7EC 00821821 */ addu $v1, $a0, $v0 +/* 19D0D0 8026E7F0 80620011 */ lb $v0, 0x11($v1) +/* 19D0D4 8026E7F4 5445000D */ bnel $v0, $a1, .L8026E82C +/* 19D0D8 8026E7F8 26310001 */ addiu $s1, $s1, 1 +/* 19D0DC 8026E7FC 80620013 */ lb $v0, 0x13($v1) +/* 19D0E0 8026E800 1447000A */ bne $v0, $a3, .L8026E82C +/* 19D0E4 8026E804 26310001 */ addiu $s1, $s1, 1 +/* 19D0E8 8026E808 80620012 */ lb $v0, 0x12($v1) +/* 19D0EC 8026E80C 0048102A */ slt $v0, $v0, $t0 +/* 19D0F0 8026E810 10400006 */ beqz $v0, .L8026E82C +/* 19D0F4 8026E814 00000000 */ nop +/* 19D0F8 8026E818 94620000 */ lhu $v0, ($v1) +/* 19D0FC 8026E81C A4820428 */ sh $v0, 0x428($a0) +/* 19D100 8026E820 90620003 */ lbu $v0, 3($v1) +/* 19D104 8026E824 0000302D */ daddu $a2, $zero, $zero +/* 19D108 8026E828 A0820426 */ sb $v0, 0x426($a0) +.L8026E82C: +/* 19D10C 8026E82C 0229102A */ slt $v0, $s1, $t1 +/* 19D110 8026E830 1440FFE9 */ bnez $v0, .L8026E7D8 +/* 19D114 8026E834 00911021 */ addu $v0, $a0, $s1 +.L8026E838: +/* 19D118 8026E838 0260202D */ daddu $a0, $s3, $zero +func_8026E83C: +/* 19D11C 8026E83C 0C0B2026 */ jal set_variable +/* 19D120 8026E840 0200282D */ daddu $a1, $s0, $zero +/* 19D124 8026E844 8FBF0020 */ lw $ra, 0x20($sp) +/* 19D128 8026E848 8FB3001C */ lw $s3, 0x1c($sp) +/* 19D12C 8026E84C 8FB20018 */ lw $s2, 0x18($sp) +/* 19D130 8026E850 8FB10014 */ lw $s1, 0x14($sp) +/* 19D134 8026E854 8FB00010 */ lw $s0, 0x10($sp) +/* 19D138 8026E858 24020002 */ addiu $v0, $zero, 2 +/* 19D13C 8026E85C 03E00008 */ jr $ra +/* 19D140 8026E860 27BD0028 */ addiu $sp, $sp, 0x28 + +GetTargetListLength: +/* 19D144 8026E864 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 19D148 8026E868 AFB00010 */ sw $s0, 0x10($sp) +/* 19D14C 8026E86C 0080802D */ daddu $s0, $a0, $zero +/* 19D150 8026E870 AFBF0018 */ sw $ra, 0x18($sp) +/* 19D154 8026E874 AFB10014 */ sw $s1, 0x14($sp) +/* 19D158 8026E878 8E040148 */ lw $a0, 0x148($s0) +/* 19D15C 8026E87C 0C09A75B */ jal get_actor +/* 19D160 8026E880 8E11000C */ lw $s1, 0xc($s0) +/* 19D164 8026E884 8E250000 */ lw $a1, ($s1) +/* 19D168 8026E888 8046040C */ lb $a2, 0x40c($v0) +/* 19D16C 8026E88C 0C0B2026 */ jal set_variable +/* 19D170 8026E890 0200202D */ daddu $a0, $s0, $zero +/* 19D174 8026E894 8FBF0018 */ lw $ra, 0x18($sp) +/* 19D178 8026E898 8FB10014 */ lw $s1, 0x14($sp) +/* 19D17C 8026E89C 8FB00010 */ lw $s0, 0x10($sp) +/* 19D180 8026E8A0 24020002 */ addiu $v0, $zero, 2 +/* 19D184 8026E8A4 03E00008 */ jr $ra +/* 19D188 8026E8A8 27BD0020 */ addiu $sp, $sp, 0x20 + +GetOwnerTarget: +/* 19D18C 8026E8AC 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 19D190 8026E8B0 AFB10014 */ sw $s1, 0x14($sp) +/* 19D194 8026E8B4 0080882D */ daddu $s1, $a0, $zero +/* 19D198 8026E8B8 AFBF001C */ sw $ra, 0x1c($sp) +/* 19D19C 8026E8BC AFB20018 */ sw $s2, 0x18($sp) +/* 19D1A0 8026E8C0 AFB00010 */ sw $s0, 0x10($sp) +/* 19D1A4 8026E8C4 8E240148 */ lw $a0, 0x148($s1) +/* 19D1A8 8026E8C8 0C09A75B */ jal get_actor +/* 19D1AC 8026E8CC 8E30000C */ lw $s0, 0xc($s1) +/* 19D1B0 8026E8D0 0040902D */ daddu $s2, $v0, $zero +/* 19D1B4 8026E8D4 8E050000 */ lw $a1, ($s0) +/* 19D1B8 8026E8D8 86460428 */ lh $a2, 0x428($s2) +/* 19D1BC 8026E8DC 8E100004 */ lw $s0, 4($s0) +/* 19D1C0 8026E8E0 0C0B2026 */ jal set_variable +/* 19D1C4 8026E8E4 0220202D */ daddu $a0, $s1, $zero +/* 19D1C8 8026E8E8 0220202D */ daddu $a0, $s1, $zero +/* 19D1CC 8026E8EC 82460426 */ lb $a2, 0x426($s2) +/* 19D1D0 8026E8F0 0C0B2026 */ jal set_variable +/* 19D1D4 8026E8F4 0200282D */ daddu $a1, $s0, $zero +/* 19D1D8 8026E8F8 8FBF001C */ lw $ra, 0x1c($sp) +/* 19D1DC 8026E8FC 8FB20018 */ lw $s2, 0x18($sp) +/* 19D1E0 8026E900 8FB10014 */ lw $s1, 0x14($sp) +/* 19D1E4 8026E904 8FB00010 */ lw $s0, 0x10($sp) +/* 19D1E8 8026E908 24020002 */ addiu $v0, $zero, 2 +/* 19D1EC 8026E90C 03E00008 */ jr $ra +/* 19D1F0 8026E910 27BD0020 */ addiu $sp, $sp, 0x20 + +/* 19D1F4 8026E914 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 19D1F8 8026E918 AFB00010 */ sw $s0, 0x10($sp) +/* 19D1FC 8026E91C 0080802D */ daddu $s0, $a0, $zero +/* 19D200 8026E920 AFB20018 */ sw $s2, 0x18($sp) +/* 19D204 8026E924 3C12800E */ lui $s2, 0x800e +/* 19D208 8026E928 2652C070 */ addiu $s2, $s2, -0x3f90 +/* 19D20C 8026E92C AFBF001C */ sw $ra, 0x1c($sp) +/* 19D210 8026E930 AFB10014 */ sw $s1, 0x14($sp) +/* 19D214 8026E934 8E02000C */ lw $v0, 0xc($s0) +/* 19D218 8026E938 864601A4 */ lh $a2, 0x1a4($s2) +/* 19D21C 8026E93C 8C450000 */ lw $a1, ($v0) +/* 19D220 8026E940 0C0B2026 */ jal set_variable +/* 19D224 8026E944 8C510004 */ lw $s1, 4($v0) +/* 19D228 8026E948 0200202D */ daddu $a0, $s0, $zero +/* 19D22C 8026E94C 824601A6 */ lb $a2, 0x1a6($s2) +/* 19D230 8026E950 0C0B2026 */ jal set_variable +/* 19D234 8026E954 0220282D */ daddu $a1, $s1, $zero +/* 19D238 8026E958 8FBF001C */ lw $ra, 0x1c($sp) +/* 19D23C 8026E95C 8FB20018 */ lw $s2, 0x18($sp) +/* 19D240 8026E960 8FB10014 */ lw $s1, 0x14($sp) +/* 19D244 8026E964 8FB00010 */ lw $s0, 0x10($sp) +/* 19D248 8026E968 24020002 */ addiu $v0, $zero, 2 +/* 19D24C 8026E96C 03E00008 */ jr $ra +/* 19D250 8026E970 27BD0020 */ addiu $sp, $sp, 0x20 + +GetPlayerActorID: +/* 19D254 8026E974 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 19D258 8026E978 AFBF0010 */ sw $ra, 0x10($sp) +/* 19D25C 8026E97C 8C82000C */ lw $v0, 0xc($a0) +/* 19D260 8026E980 3C06800E */ lui $a2, 0x800e +/* 19D264 8026E984 84C6C218 */ lh $a2, -0x3de8($a2) +/* 19D268 8026E988 0C0B2026 */ jal set_variable +/* 19D26C 8026E98C 8C450000 */ lw $a1, ($v0) +/* 19D270 8026E990 8FBF0010 */ lw $ra, 0x10($sp) +/* 19D274 8026E994 24020002 */ addiu $v0, $zero, 2 +/* 19D278 8026E998 03E00008 */ jr $ra +/* 19D27C 8026E99C 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 19D280 8026E9A0 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 19D284 8026E9A4 AFB10014 */ sw $s1, 0x14($sp) +/* 19D288 8026E9A8 0080882D */ daddu $s1, $a0, $zero +/* 19D28C 8026E9AC AFBF0018 */ sw $ra, 0x18($sp) +/* 19D290 8026E9B0 AFB00010 */ sw $s0, 0x10($sp) +/* 19D294 8026E9B4 8E30000C */ lw $s0, 0xc($s1) +/* 19D298 8026E9B8 8E050000 */ lw $a1, ($s0) +/* 19D29C 8026E9BC 0C0B1EAF */ jal get_variable +/* 19D2A0 8026E9C0 26100004 */ addiu $s0, $s0, 4 +/* 19D2A4 8026E9C4 0220202D */ daddu $a0, $s1, $zero +/* 19D2A8 8026E9C8 8E050000 */ lw $a1, ($s0) +/* 19D2AC 8026E9CC 0C0B1EAF */ jal get_variable +/* 19D2B0 8026E9D0 0040802D */ daddu $s0, $v0, $zero +/* 19D2B4 8026E9D4 3C03800E */ lui $v1, 0x800e +/* 19D2B8 8026E9D8 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 19D2BC 8026E9DC A06201A6 */ sb $v0, 0x1a6($v1) +/* 19D2C0 8026E9E0 A47001A4 */ sh $s0, 0x1a4($v1) +/* 19D2C4 8026E9E4 8FBF0018 */ lw $ra, 0x18($sp) +/* 19D2C8 8026E9E8 8FB10014 */ lw $s1, 0x14($sp) +/* 19D2CC 8026E9EC 8FB00010 */ lw $s0, 0x10($sp) +/* 19D2D0 8026E9F0 24020002 */ addiu $v0, $zero, 2 +/* 19D2D4 8026E9F4 03E00008 */ jr $ra +/* 19D2D8 8026E9F8 27BD0020 */ addiu $sp, $sp, 0x20 + +GetDistanceToGoal: +/* 19D2DC 8026E9FC 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 19D2E0 8026EA00 AFB10014 */ sw $s1, 0x14($sp) +/* 19D2E4 8026EA04 0080882D */ daddu $s1, $a0, $zero +/* 19D2E8 8026EA08 AFBF0018 */ sw $ra, 0x18($sp) +/* 19D2EC 8026EA0C AFB00010 */ sw $s0, 0x10($sp) +/* 19D2F0 8026EA10 8E30000C */ lw $s0, 0xc($s1) +/* 19D2F4 8026EA14 8E050000 */ lw $a1, ($s0) +/* 19D2F8 8026EA18 0C0B1EAF */ jal get_variable +/* 19D2FC 8026EA1C 26100004 */ addiu $s0, $s0, 4 +/* 19D300 8026EA20 0040202D */ daddu $a0, $v0, $zero +/* 19D304 8026EA24 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19D308 8026EA28 14820002 */ bne $a0, $v0, .L8026EA34 +/* 19D30C 8026EA2C 8E100000 */ lw $s0, ($s0) +/* 19D310 8026EA30 8E240148 */ lw $a0, 0x148($s1) +.L8026EA34: +/* 19D314 8026EA34 0C09A75B */ jal get_actor +/* 19D318 8026EA38 00000000 */ nop +/* 19D31C 8026EA3C 8C460018 */ lw $a2, 0x18($v0) +/* 19D320 8026EA40 C44C0144 */ lwc1 $f12, 0x144($v0) +/* 19D324 8026EA44 C44E014C */ lwc1 $f14, 0x14c($v0) +/* 19D328 8026EA48 0C00A7B5 */ jal dist2D +/* 19D32C 8026EA4C 8C470020 */ lw $a3, 0x20($v0) +/* 19D330 8026EA50 0220202D */ daddu $a0, $s1, $zero +/* 19D334 8026EA54 4600008D */ trunc.w.s $f2, $f0 +/* 19D338 8026EA58 44061000 */ mfc1 $a2, $f2 +/* 19D33C 8026EA5C 0C0B2026 */ jal set_variable +/* 19D340 8026EA60 0200282D */ daddu $a1, $s0, $zero +/* 19D344 8026EA64 8FBF0018 */ lw $ra, 0x18($sp) +/* 19D348 8026EA68 8FB10014 */ lw $s1, 0x14($sp) +/* 19D34C 8026EA6C 8FB00010 */ lw $s0, 0x10($sp) +/* 19D350 8026EA70 24020002 */ addiu $v0, $zero, 2 +/* 19D354 8026EA74 03E00008 */ jr $ra +/* 19D358 8026EA78 27BD0020 */ addiu $sp, $sp, 0x20 + +/* 19D35C 8026EA7C 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 19D360 8026EA80 AFB20018 */ sw $s2, 0x18($sp) +/* 19D364 8026EA84 0080902D */ daddu $s2, $a0, $zero +/* 19D368 8026EA88 AFBF0020 */ sw $ra, 0x20($sp) +/* 19D36C 8026EA8C AFB3001C */ sw $s3, 0x1c($sp) +/* 19D370 8026EA90 AFB10014 */ sw $s1, 0x14($sp) +/* 19D374 8026EA94 AFB00010 */ sw $s0, 0x10($sp) +/* 19D378 8026EA98 8E50000C */ lw $s0, 0xc($s2) +/* 19D37C 8026EA9C 8E050000 */ lw $a1, ($s0) +/* 19D380 8026EAA0 0C0B1EAF */ jal get_variable +/* 19D384 8026EAA4 26100004 */ addiu $s0, $s0, 4 +/* 19D388 8026EAA8 0040882D */ daddu $s1, $v0, $zero +/* 19D38C 8026EAAC 8E050000 */ lw $a1, ($s0) +/* 19D390 8026EAB0 26100004 */ addiu $s0, $s0, 4 +/* 19D394 8026EAB4 0C0B1EAF */ jal get_variable +/* 19D398 8026EAB8 0240202D */ daddu $a0, $s2, $zero +/* 19D39C 8026EABC 0240202D */ daddu $a0, $s2, $zero +/* 19D3A0 8026EAC0 8E050000 */ lw $a1, ($s0) +/* 19D3A4 8026EAC4 0C0B1EAF */ jal get_variable +/* 19D3A8 8026EAC8 0040802D */ daddu $s0, $v0, $zero +/* 19D3AC 8026EACC 0040982D */ daddu $s3, $v0, $zero +/* 19D3B0 8026EAD0 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19D3B4 8026EAD4 16220002 */ bne $s1, $v0, .L8026EAE0 +/* 19D3B8 8026EAD8 00000000 */ nop +/* 19D3BC 8026EADC 8E510148 */ lw $s1, 0x148($s2) +.L8026EAE0: +/* 19D3C0 8026EAE0 0C09A75B */ jal get_actor +/* 19D3C4 8026EAE4 0220202D */ daddu $a0, $s1, $zero +/* 19D3C8 8026EAE8 0040202D */ daddu $a0, $v0, $zero +/* 19D3CC 8026EAEC 0C099117 */ jal get_actor_part +/* 19D3D0 8026EAF0 0200282D */ daddu $a1, $s0, $zero +/* 19D3D4 8026EAF4 0040202D */ daddu $a0, $v0, $zero +/* 19D3D8 8026EAF8 0C099B5B */ jal func_80266D6C +/* 19D3DC 8026EAFC 0260282D */ daddu $a1, $s3, $zero +/* 19D3E0 8026EB00 8FBF0020 */ lw $ra, 0x20($sp) +/* 19D3E4 8026EB04 8FB3001C */ lw $s3, 0x1c($sp) +/* 19D3E8 8026EB08 8FB20018 */ lw $s2, 0x18($sp) +/* 19D3EC 8026EB0C 8FB10014 */ lw $s1, 0x14($sp) +/* 19D3F0 8026EB10 8FB00010 */ lw $s0, 0x10($sp) +/* 19D3F4 8026EB14 24020002 */ addiu $v0, $zero, 2 +/* 19D3F8 8026EB18 03E00008 */ jr $ra +/* 19D3FC 8026EB1C 27BD0028 */ addiu $sp, $sp, 0x28 + +/* 19D400 8026EB20 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 19D404 8026EB24 AFB20018 */ sw $s2, 0x18($sp) +/* 19D408 8026EB28 0080902D */ daddu $s2, $a0, $zero +/* 19D40C 8026EB2C AFBF0020 */ sw $ra, 0x20($sp) +/* 19D410 8026EB30 AFB3001C */ sw $s3, 0x1c($sp) +/* 19D414 8026EB34 AFB10014 */ sw $s1, 0x14($sp) +/* 19D418 8026EB38 AFB00010 */ sw $s0, 0x10($sp) +/* 19D41C 8026EB3C 8E51000C */ lw $s1, 0xc($s2) +/* 19D420 8026EB40 8E250000 */ lw $a1, ($s1) +/* 19D424 8026EB44 0C0B1EAF */ jal get_variable +/* 19D428 8026EB48 26310004 */ addiu $s1, $s1, 4 +/* 19D42C 8026EB4C 0040802D */ daddu $s0, $v0, $zero +/* 19D430 8026EB50 8E250000 */ lw $a1, ($s1) +/* 19D434 8026EB54 26310004 */ addiu $s1, $s1, 4 +/* 19D438 8026EB58 0C0B1EAF */ jal get_variable +/* 19D43C 8026EB5C 0240202D */ daddu $a0, $s2, $zero +/* 19D440 8026EB60 0040982D */ daddu $s3, $v0, $zero +/* 19D444 8026EB64 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19D448 8026EB68 16020002 */ bne $s0, $v0, .L8026EB74 +/* 19D44C 8026EB6C 00000000 */ nop +/* 19D450 8026EB70 8E500148 */ lw $s0, 0x148($s2) +.L8026EB74: +/* 19D454 8026EB74 0C09A75B */ jal get_actor +/* 19D458 8026EB78 0200202D */ daddu $a0, $s0, $zero +/* 19D45C 8026EB7C 0040202D */ daddu $a0, $v0, $zero +/* 19D460 8026EB80 0C099117 */ jal get_actor_part +/* 19D464 8026EB84 0260282D */ daddu $a1, $s3, $zero +/* 19D468 8026EB88 8E250000 */ lw $a1, ($s1) +/* 19D46C 8026EB8C 26310004 */ addiu $s1, $s1, 4 +/* 19D470 8026EB90 8C5000C0 */ lw $s0, 0xc0($v0) +/* 19D474 8026EB94 0C0B1EAF */ jal get_variable +/* 19D478 8026EB98 0240202D */ daddu $a0, $s2, $zero +/* 19D47C 8026EB9C A6020740 */ sh $v0, 0x740($s0) +/* 19D480 8026EBA0 8E250000 */ lw $a1, ($s1) +/* 19D484 8026EBA4 26310004 */ addiu $s1, $s1, 4 +/* 19D488 8026EBA8 0C0B1EAF */ jal get_variable +/* 19D48C 8026EBAC 0240202D */ daddu $a0, $s2, $zero +/* 19D490 8026EBB0 A6020742 */ sh $v0, 0x742($s0) +/* 19D494 8026EBB4 8E250000 */ lw $a1, ($s1) +/* 19D498 8026EBB8 26310004 */ addiu $s1, $s1, 4 +/* 19D49C 8026EBBC 0C0B1EAF */ jal get_variable +/* 19D4A0 8026EBC0 0240202D */ daddu $a0, $s2, $zero +/* 19D4A4 8026EBC4 A6020744 */ sh $v0, 0x744($s0) +/* 19D4A8 8026EBC8 8E250000 */ lw $a1, ($s1) +/* 19D4AC 8026EBCC 0C0B1EAF */ jal get_variable +/* 19D4B0 8026EBD0 0240202D */ daddu $a0, $s2, $zero +/* 19D4B4 8026EBD4 A6020746 */ sh $v0, 0x746($s0) +/* 19D4B8 8026EBD8 8FBF0020 */ lw $ra, 0x20($sp) +/* 19D4BC 8026EBDC 8FB3001C */ lw $s3, 0x1c($sp) +/* 19D4C0 8026EBE0 8FB20018 */ lw $s2, 0x18($sp) +/* 19D4C4 8026EBE4 8FB10014 */ lw $s1, 0x14($sp) +/* 19D4C8 8026EBE8 8FB00010 */ lw $s0, 0x10($sp) +/* 19D4CC 8026EBEC 24020002 */ addiu $v0, $zero, 2 +/* 19D4D0 8026EBF0 03E00008 */ jr $ra +/* 19D4D4 8026EBF4 27BD0028 */ addiu $sp, $sp, 0x28 + +/* 19D4D8 8026EBF8 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 19D4DC 8026EBFC AFB20018 */ sw $s2, 0x18($sp) +/* 19D4E0 8026EC00 0080902D */ daddu $s2, $a0, $zero +/* 19D4E4 8026EC04 AFBF0020 */ sw $ra, 0x20($sp) +/* 19D4E8 8026EC08 AFB3001C */ sw $s3, 0x1c($sp) +/* 19D4EC 8026EC0C AFB10014 */ sw $s1, 0x14($sp) +/* 19D4F0 8026EC10 AFB00010 */ sw $s0, 0x10($sp) +/* 19D4F4 8026EC14 8E51000C */ lw $s1, 0xc($s2) +/* 19D4F8 8026EC18 8E250000 */ lw $a1, ($s1) +/* 19D4FC 8026EC1C 0C0B1EAF */ jal get_variable +/* 19D500 8026EC20 26310004 */ addiu $s1, $s1, 4 +/* 19D504 8026EC24 0040802D */ daddu $s0, $v0, $zero +/* 19D508 8026EC28 8E250000 */ lw $a1, ($s1) +/* 19D50C 8026EC2C 26310004 */ addiu $s1, $s1, 4 +/* 19D510 8026EC30 0C0B1EAF */ jal get_variable +/* 19D514 8026EC34 0240202D */ daddu $a0, $s2, $zero +/* 19D518 8026EC38 0040982D */ daddu $s3, $v0, $zero +/* 19D51C 8026EC3C 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19D520 8026EC40 16020002 */ bne $s0, $v0, .L8026EC4C +/* 19D524 8026EC44 00000000 */ nop +/* 19D528 8026EC48 8E500148 */ lw $s0, 0x148($s2) +.L8026EC4C: +/* 19D52C 8026EC4C 0C09A75B */ jal get_actor +/* 19D530 8026EC50 0200202D */ daddu $a0, $s0, $zero +/* 19D534 8026EC54 0040202D */ daddu $a0, $v0, $zero +/* 19D538 8026EC58 0C099117 */ jal get_actor_part +/* 19D53C 8026EC5C 0260282D */ daddu $a1, $s3, $zero +/* 19D540 8026EC60 8E250000 */ lw $a1, ($s1) +/* 19D544 8026EC64 26310004 */ addiu $s1, $s1, 4 +/* 19D548 8026EC68 8C5000C0 */ lw $s0, 0xc0($v0) +/* 19D54C 8026EC6C 0C0B1EAF */ jal get_variable +/* 19D550 8026EC70 0240202D */ daddu $a0, $s2, $zero +/* 19D554 8026EC74 A6020740 */ sh $v0, 0x740($s0) +/* 19D558 8026EC78 8E250000 */ lw $a1, ($s1) +/* 19D55C 8026EC7C 26310004 */ addiu $s1, $s1, 4 +/* 19D560 8026EC80 0C0B1EAF */ jal get_variable +/* 19D564 8026EC84 0240202D */ daddu $a0, $s2, $zero +/* 19D568 8026EC88 A6020742 */ sh $v0, 0x742($s0) +/* 19D56C 8026EC8C 8E250000 */ lw $a1, ($s1) +/* 19D570 8026EC90 26310004 */ addiu $s1, $s1, 4 +/* 19D574 8026EC94 0C0B1EAF */ jal get_variable +/* 19D578 8026EC98 0240202D */ daddu $a0, $s2, $zero +/* 19D57C 8026EC9C A6020744 */ sh $v0, 0x744($s0) +/* 19D580 8026ECA0 8E250000 */ lw $a1, ($s1) +/* 19D584 8026ECA4 26310004 */ addiu $s1, $s1, 4 +/* 19D588 8026ECA8 0C0B1EAF */ jal get_variable +/* 19D58C 8026ECAC 0240202D */ daddu $a0, $s2, $zero +/* 19D590 8026ECB0 A6020746 */ sh $v0, 0x746($s0) +/* 19D594 8026ECB4 8E250000 */ lw $a1, ($s1) +/* 19D598 8026ECB8 26310004 */ addiu $s1, $s1, 4 +/* 19D59C 8026ECBC 0C0B1EAF */ jal get_variable +/* 19D5A0 8026ECC0 0240202D */ daddu $a0, $s2, $zero +/* 19D5A4 8026ECC4 A6020748 */ sh $v0, 0x748($s0) +/* 19D5A8 8026ECC8 8E250000 */ lw $a1, ($s1) +/* 19D5AC 8026ECCC 26310004 */ addiu $s1, $s1, 4 +/* 19D5B0 8026ECD0 0C0B1EAF */ jal get_variable +/* 19D5B4 8026ECD4 0240202D */ daddu $a0, $s2, $zero +/* 19D5B8 8026ECD8 A602074A */ sh $v0, 0x74a($s0) +/* 19D5BC 8026ECDC 8E250000 */ lw $a1, ($s1) +/* 19D5C0 8026ECE0 26310004 */ addiu $s1, $s1, 4 +/* 19D5C4 8026ECE4 0C0B1EAF */ jal get_variable +/* 19D5C8 8026ECE8 0240202D */ daddu $a0, $s2, $zero +/* 19D5CC 8026ECEC A602074C */ sh $v0, 0x74c($s0) +/* 19D5D0 8026ECF0 8E250000 */ lw $a1, ($s1) +/* 19D5D4 8026ECF4 0C0B1EAF */ jal get_variable +/* 19D5D8 8026ECF8 0240202D */ daddu $a0, $s2, $zero +/* 19D5DC 8026ECFC A602074E */ sh $v0, 0x74e($s0) +/* 19D5E0 8026ED00 8FBF0020 */ lw $ra, 0x20($sp) +/* 19D5E4 8026ED04 8FB3001C */ lw $s3, 0x1c($sp) +/* 19D5E8 8026ED08 8FB20018 */ lw $s2, 0x18($sp) +/* 19D5EC 8026ED0C 8FB10014 */ lw $s1, 0x14($sp) +/* 19D5F0 8026ED10 8FB00010 */ lw $s0, 0x10($sp) +/* 19D5F4 8026ED14 24020002 */ addiu $v0, $zero, 2 +/* 19D5F8 8026ED18 03E00008 */ jr $ra +/* 19D5FC 8026ED1C 27BD0028 */ addiu $sp, $sp, 0x28 + +/* 19D600 8026ED20 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 19D604 8026ED24 AFB20018 */ sw $s2, 0x18($sp) +/* 19D608 8026ED28 0080902D */ daddu $s2, $a0, $zero +/* 19D60C 8026ED2C AFBF0020 */ sw $ra, 0x20($sp) +/* 19D610 8026ED30 AFB3001C */ sw $s3, 0x1c($sp) +/* 19D614 8026ED34 AFB10014 */ sw $s1, 0x14($sp) +/* 19D618 8026ED38 AFB00010 */ sw $s0, 0x10($sp) +/* 19D61C 8026ED3C 8E50000C */ lw $s0, 0xc($s2) +/* 19D620 8026ED40 8E050000 */ lw $a1, ($s0) +/* 19D624 8026ED44 0C0B1EAF */ jal get_variable +/* 19D628 8026ED48 26100004 */ addiu $s0, $s0, 4 +/* 19D62C 8026ED4C 0040882D */ daddu $s1, $v0, $zero +/* 19D630 8026ED50 8E050000 */ lw $a1, ($s0) +/* 19D634 8026ED54 26100004 */ addiu $s0, $s0, 4 +/* 19D638 8026ED58 0C0B1EAF */ jal get_variable +/* 19D63C 8026ED5C 0240202D */ daddu $a0, $s2, $zero +/* 19D640 8026ED60 0240202D */ daddu $a0, $s2, $zero +/* 19D644 8026ED64 8E050000 */ lw $a1, ($s0) +/* 19D648 8026ED68 0C0B1EAF */ jal get_variable +/* 19D64C 8026ED6C 0040802D */ daddu $s0, $v0, $zero +/* 19D650 8026ED70 0040982D */ daddu $s3, $v0, $zero +/* 19D654 8026ED74 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19D658 8026ED78 16220002 */ bne $s1, $v0, .L8026ED84 +/* 19D65C 8026ED7C 00000000 */ nop +/* 19D660 8026ED80 8E510148 */ lw $s1, 0x148($s2) +.L8026ED84: +/* 19D664 8026ED84 0C09A75B */ jal get_actor +/* 19D668 8026ED88 0220202D */ daddu $a0, $s1, $zero +/* 19D66C 8026ED8C 0040202D */ daddu $a0, $v0, $zero +/* 19D670 8026ED90 0C099117 */ jal get_actor_part +/* 19D674 8026ED94 0200282D */ daddu $a1, $s0, $zero +/* 19D678 8026ED98 12600005 */ beqz $s3, .L8026EDB0 +/* 19D67C 8026ED9C 0040202D */ daddu $a0, $v0, $zero +/* 19D680 8026EDA0 8C820000 */ lw $v0, ($a0) +/* 19D684 8026EDA4 3C030100 */ lui $v1, 0x100 +/* 19D688 8026EDA8 0809BB70 */ j func_8026EDC0 +/* 19D68C 8026EDAC 00431025 */ or $v0, $v0, $v1 + +.L8026EDB0: +/* 19D690 8026EDB0 3C03FEFF */ lui $v1, 0xfeff +/* 19D694 8026EDB4 8C820000 */ lw $v0, ($a0) +/* 19D698 8026EDB8 3463FFFF */ ori $v1, $v1, 0xffff +/* 19D69C 8026EDBC 00431024 */ and $v0, $v0, $v1 +func_8026EDC0: +/* 19D6A0 8026EDC0 AC820000 */ sw $v0, ($a0) +/* 19D6A4 8026EDC4 8FBF0020 */ lw $ra, 0x20($sp) +/* 19D6A8 8026EDC8 8FB3001C */ lw $s3, 0x1c($sp) +/* 19D6AC 8026EDCC 8FB20018 */ lw $s2, 0x18($sp) +/* 19D6B0 8026EDD0 8FB10014 */ lw $s1, 0x14($sp) +/* 19D6B4 8026EDD4 8FB00010 */ lw $s0, 0x10($sp) +/* 19D6B8 8026EDD8 24020002 */ addiu $v0, $zero, 2 +/* 19D6BC 8026EDDC 03E00008 */ jr $ra +/* 19D6C0 8026EDE0 27BD0028 */ addiu $sp, $sp, 0x28 + +/* 19D6C4 8026EDE4 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 19D6C8 8026EDE8 AFB20018 */ sw $s2, 0x18($sp) +/* 19D6CC 8026EDEC 0080902D */ daddu $s2, $a0, $zero +/* 19D6D0 8026EDF0 AFBF0020 */ sw $ra, 0x20($sp) +/* 19D6D4 8026EDF4 AFB3001C */ sw $s3, 0x1c($sp) +/* 19D6D8 8026EDF8 AFB10014 */ sw $s1, 0x14($sp) +/* 19D6DC 8026EDFC AFB00010 */ sw $s0, 0x10($sp) +/* 19D6E0 8026EE00 8E50000C */ lw $s0, 0xc($s2) +/* 19D6E4 8026EE04 8E050000 */ lw $a1, ($s0) +/* 19D6E8 8026EE08 0C0B1EAF */ jal get_variable +/* 19D6EC 8026EE0C 26100004 */ addiu $s0, $s0, 4 +/* 19D6F0 8026EE10 0040882D */ daddu $s1, $v0, $zero +/* 19D6F4 8026EE14 8E050000 */ lw $a1, ($s0) +/* 19D6F8 8026EE18 26100004 */ addiu $s0, $s0, 4 +/* 19D6FC 8026EE1C 0C0B1EAF */ jal get_variable +/* 19D700 8026EE20 0240202D */ daddu $a0, $s2, $zero +/* 19D704 8026EE24 0240202D */ daddu $a0, $s2, $zero +/* 19D708 8026EE28 8E050000 */ lw $a1, ($s0) +/* 19D70C 8026EE2C 0C0B1EAF */ jal get_variable +/* 19D710 8026EE30 0040802D */ daddu $s0, $v0, $zero +/* 19D714 8026EE34 0040982D */ daddu $s3, $v0, $zero +/* 19D718 8026EE38 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19D71C 8026EE3C 16220002 */ bne $s1, $v0, .L8026EE48 +/* 19D720 8026EE40 00000000 */ nop +/* 19D724 8026EE44 8E510148 */ lw $s1, 0x148($s2) +.L8026EE48: +/* 19D728 8026EE48 0C09A75B */ jal get_actor +/* 19D72C 8026EE4C 0220202D */ daddu $a0, $s1, $zero +/* 19D730 8026EE50 0040202D */ daddu $a0, $v0, $zero +/* 19D734 8026EE54 0C099117 */ jal get_actor_part +/* 19D738 8026EE58 0200282D */ daddu $a1, $s0, $zero +/* 19D73C 8026EE5C 0040202D */ daddu $a0, $v0, $zero +/* 19D740 8026EE60 0C099BAA */ jal func_80266EA8 +/* 19D744 8026EE64 0260282D */ daddu $a1, $s3, $zero +/* 19D748 8026EE68 8FBF0020 */ lw $ra, 0x20($sp) +/* 19D74C 8026EE6C 8FB3001C */ lw $s3, 0x1c($sp) +/* 19D750 8026EE70 8FB20018 */ lw $s2, 0x18($sp) +/* 19D754 8026EE74 8FB10014 */ lw $s1, 0x14($sp) +/* 19D758 8026EE78 8FB00010 */ lw $s0, 0x10($sp) +/* 19D75C 8026EE7C 24020002 */ addiu $v0, $zero, 2 +/* 19D760 8026EE80 03E00008 */ jr $ra +/* 19D764 8026EE84 27BD0028 */ addiu $sp, $sp, 0x28 + +AddActorDecoration: +/* 19D768 8026EE88 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 19D76C 8026EE8C AFB20018 */ sw $s2, 0x18($sp) +/* 19D770 8026EE90 0080902D */ daddu $s2, $a0, $zero +/* 19D774 8026EE94 AFBF0024 */ sw $ra, 0x24($sp) +/* 19D778 8026EE98 AFB40020 */ sw $s4, 0x20($sp) +/* 19D77C 8026EE9C AFB3001C */ sw $s3, 0x1c($sp) +/* 19D780 8026EEA0 AFB10014 */ sw $s1, 0x14($sp) +/* 19D784 8026EEA4 AFB00010 */ sw $s0, 0x10($sp) +/* 19D788 8026EEA8 8E50000C */ lw $s0, 0xc($s2) +/* 19D78C 8026EEAC 8E050000 */ lw $a1, ($s0) +/* 19D790 8026EEB0 0C0B1EAF */ jal get_variable +/* 19D794 8026EEB4 26100004 */ addiu $s0, $s0, 4 +/* 19D798 8026EEB8 0040882D */ daddu $s1, $v0, $zero +/* 19D79C 8026EEBC 8E050000 */ lw $a1, ($s0) +/* 19D7A0 8026EEC0 26100004 */ addiu $s0, $s0, 4 +/* 19D7A4 8026EEC4 0C0B1EAF */ jal get_variable +/* 19D7A8 8026EEC8 0240202D */ daddu $a0, $s2, $zero +/* 19D7AC 8026EECC 8E050000 */ lw $a1, ($s0) +/* 19D7B0 8026EED0 26100004 */ addiu $s0, $s0, 4 +/* 19D7B4 8026EED4 0240202D */ daddu $a0, $s2, $zero +/* 19D7B8 8026EED8 0C0B1EAF */ jal get_variable +/* 19D7BC 8026EEDC 0040A02D */ daddu $s4, $v0, $zero +/* 19D7C0 8026EEE0 0240202D */ daddu $a0, $s2, $zero +/* 19D7C4 8026EEE4 8E050000 */ lw $a1, ($s0) +/* 19D7C8 8026EEE8 0C0B1EAF */ jal get_variable +/* 19D7CC 8026EEEC 0040982D */ daddu $s3, $v0, $zero +/* 19D7D0 8026EEF0 0040802D */ daddu $s0, $v0, $zero +/* 19D7D4 8026EEF4 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19D7D8 8026EEF8 16220002 */ bne $s1, $v0, .L8026EF04 +/* 19D7DC 8026EEFC 00000000 */ nop +/* 19D7E0 8026EF00 8E510148 */ lw $s1, 0x148($s2) +.L8026EF04: +/* 19D7E4 8026EF04 0C09A75B */ jal get_actor +/* 19D7E8 8026EF08 0220202D */ daddu $a0, $s1, $zero +/* 19D7EC 8026EF0C 0040202D */ daddu $a0, $v0, $zero +/* 19D7F0 8026EF10 0C099117 */ jal get_actor_part +/* 19D7F4 8026EF14 0280282D */ daddu $a1, $s4, $zero +/* 19D7F8 8026EF18 0040202D */ daddu $a0, $v0, $zero +/* 19D7FC 8026EF1C 0260282D */ daddu $a1, $s3, $zero +/* 19D800 8026EF20 0C099C45 */ jal add_part_decoration +/* 19D804 8026EF24 0200302D */ daddu $a2, $s0, $zero +/* 19D808 8026EF28 8FBF0024 */ lw $ra, 0x24($sp) +/* 19D80C 8026EF2C 8FB40020 */ lw $s4, 0x20($sp) +/* 19D810 8026EF30 8FB3001C */ lw $s3, 0x1c($sp) +/* 19D814 8026EF34 8FB20018 */ lw $s2, 0x18($sp) +/* 19D818 8026EF38 8FB10014 */ lw $s1, 0x14($sp) +/* 19D81C 8026EF3C 8FB00010 */ lw $s0, 0x10($sp) +/* 19D820 8026EF40 24020002 */ addiu $v0, $zero, 2 +/* 19D824 8026EF44 03E00008 */ jr $ra +/* 19D828 8026EF48 27BD0028 */ addiu $sp, $sp, 0x28 + +RemoveActorDecoration: +/* 19D82C 8026EF4C 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 19D830 8026EF50 AFB20018 */ sw $s2, 0x18($sp) +/* 19D834 8026EF54 0080902D */ daddu $s2, $a0, $zero +/* 19D838 8026EF58 AFBF0020 */ sw $ra, 0x20($sp) +/* 19D83C 8026EF5C AFB3001C */ sw $s3, 0x1c($sp) +/* 19D840 8026EF60 AFB10014 */ sw $s1, 0x14($sp) +/* 19D844 8026EF64 AFB00010 */ sw $s0, 0x10($sp) +/* 19D848 8026EF68 8E50000C */ lw $s0, 0xc($s2) +/* 19D84C 8026EF6C 8E050000 */ lw $a1, ($s0) +/* 19D850 8026EF70 0C0B1EAF */ jal get_variable +/* 19D854 8026EF74 26100004 */ addiu $s0, $s0, 4 +/* 19D858 8026EF78 0040882D */ daddu $s1, $v0, $zero +/* 19D85C 8026EF7C 8E050000 */ lw $a1, ($s0) +/* 19D860 8026EF80 26100004 */ addiu $s0, $s0, 4 +/* 19D864 8026EF84 0C0B1EAF */ jal get_variable +/* 19D868 8026EF88 0240202D */ daddu $a0, $s2, $zero +/* 19D86C 8026EF8C 0240202D */ daddu $a0, $s2, $zero +/* 19D870 8026EF90 8E050000 */ lw $a1, ($s0) +/* 19D874 8026EF94 0C0B1EAF */ jal get_variable +/* 19D878 8026EF98 0040802D */ daddu $s0, $v0, $zero +/* 19D87C 8026EF9C 0040982D */ daddu $s3, $v0, $zero +/* 19D880 8026EFA0 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19D884 8026EFA4 16220002 */ bne $s1, $v0, .L8026EFB0 +/* 19D888 8026EFA8 00000000 */ nop +/* 19D88C 8026EFAC 8E510148 */ lw $s1, 0x148($s2) +.L8026EFB0: +/* 19D890 8026EFB0 0C09A75B */ jal get_actor +/* 19D894 8026EFB4 0220202D */ daddu $a0, $s1, $zero +/* 19D898 8026EFB8 0040202D */ daddu $a0, $v0, $zero +/* 19D89C 8026EFBC 0C099117 */ jal get_actor_part +/* 19D8A0 8026EFC0 0200282D */ daddu $a1, $s0, $zero +/* 19D8A4 8026EFC4 0040202D */ daddu $a0, $v0, $zero +/* 19D8A8 8026EFC8 0C099C86 */ jal remove_part_decoration +/* 19D8AC 8026EFCC 0260282D */ daddu $a1, $s3, $zero +/* 19D8B0 8026EFD0 8FBF0020 */ lw $ra, 0x20($sp) +/* 19D8B4 8026EFD4 8FB3001C */ lw $s3, 0x1c($sp) +/* 19D8B8 8026EFD8 8FB20018 */ lw $s2, 0x18($sp) +/* 19D8BC 8026EFDC 8FB10014 */ lw $s1, 0x14($sp) +/* 19D8C0 8026EFE0 8FB00010 */ lw $s0, 0x10($sp) +/* 19D8C4 8026EFE4 24020002 */ addiu $v0, $zero, 2 +/* 19D8C8 8026EFE8 03E00008 */ jr $ra +/* 19D8CC 8026EFEC 27BD0028 */ addiu $sp, $sp, 0x28 + +ModifyActorDecoration: +/* 19D8D0 8026EFF0 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 19D8D4 8026EFF4 AFB20018 */ sw $s2, 0x18($sp) +/* 19D8D8 8026EFF8 0080902D */ daddu $s2, $a0, $zero +/* 19D8DC 8026EFFC AFBF0024 */ sw $ra, 0x24($sp) +/* 19D8E0 8026F000 AFB40020 */ sw $s4, 0x20($sp) +/* 19D8E4 8026F004 AFB3001C */ sw $s3, 0x1c($sp) +/* 19D8E8 8026F008 AFB10014 */ sw $s1, 0x14($sp) +/* 19D8EC 8026F00C AFB00010 */ sw $s0, 0x10($sp) +/* 19D8F0 8026F010 8E51000C */ lw $s1, 0xc($s2) +/* 19D8F4 8026F014 8E250000 */ lw $a1, ($s1) +/* 19D8F8 8026F018 0C0B1EAF */ jal get_variable +/* 19D8FC 8026F01C 26310004 */ addiu $s1, $s1, 4 +/* 19D900 8026F020 0040802D */ daddu $s0, $v0, $zero +/* 19D904 8026F024 8E250000 */ lw $a1, ($s1) +/* 19D908 8026F028 26310004 */ addiu $s1, $s1, 4 +/* 19D90C 8026F02C 0C0B1EAF */ jal get_variable +/* 19D910 8026F030 0240202D */ daddu $a0, $s2, $zero +/* 19D914 8026F034 8E250000 */ lw $a1, ($s1) +/* 19D918 8026F038 26310004 */ addiu $s1, $s1, 4 +/* 19D91C 8026F03C 0240202D */ daddu $a0, $s2, $zero +/* 19D920 8026F040 0C0B1EAF */ jal get_variable +/* 19D924 8026F044 0040982D */ daddu $s3, $v0, $zero +/* 19D928 8026F048 0040A02D */ daddu $s4, $v0, $zero +/* 19D92C 8026F04C 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19D930 8026F050 16020002 */ bne $s0, $v0, .L8026F05C +/* 19D934 8026F054 00000000 */ nop +/* 19D938 8026F058 8E500148 */ lw $s0, 0x148($s2) +.L8026F05C: +/* 19D93C 8026F05C 0C09A75B */ jal get_actor +/* 19D940 8026F060 0200202D */ daddu $a0, $s0, $zero +/* 19D944 8026F064 0040202D */ daddu $a0, $v0, $zero +/* 19D948 8026F068 0C099117 */ jal get_actor_part +/* 19D94C 8026F06C 0260282D */ daddu $a1, $s3, $zero +/* 19D950 8026F070 8E250000 */ lw $a1, ($s1) +/* 19D954 8026F074 26310004 */ addiu $s1, $s1, 4 +/* 19D958 8026F078 8C5000C0 */ lw $s0, 0xc0($v0) +/* 19D95C 8026F07C 0C0B1EAF */ jal get_variable +/* 19D960 8026F080 0240202D */ daddu $a0, $s2, $zero +/* 19D964 8026F084 00141900 */ sll $v1, $s4, 4 +/* 19D968 8026F088 02038021 */ addu $s0, $s0, $v1 +/* 19D96C 8026F08C A60208C6 */ sh $v0, 0x8c6($s0) +/* 19D970 8026F090 8E250000 */ lw $a1, ($s1) +/* 19D974 8026F094 26310004 */ addiu $s1, $s1, 4 +/* 19D978 8026F098 0C0B1EAF */ jal get_variable +/* 19D97C 8026F09C 0240202D */ daddu $a0, $s2, $zero +/* 19D980 8026F0A0 A60208C8 */ sh $v0, 0x8c8($s0) +/* 19D984 8026F0A4 8E250000 */ lw $a1, ($s1) +/* 19D988 8026F0A8 26310004 */ addiu $s1, $s1, 4 +/* 19D98C 8026F0AC 0C0B1EAF */ jal get_variable +/* 19D990 8026F0B0 0240202D */ daddu $a0, $s2, $zero +/* 19D994 8026F0B4 A60208CA */ sh $v0, 0x8ca($s0) +/* 19D998 8026F0B8 8E250000 */ lw $a1, ($s1) +/* 19D99C 8026F0BC 0C0B1EAF */ jal get_variable +/* 19D9A0 8026F0C0 0240202D */ daddu $a0, $s2, $zero +/* 19D9A4 8026F0C4 A60208CC */ sh $v0, 0x8cc($s0) +/* 19D9A8 8026F0C8 8FBF0024 */ lw $ra, 0x24($sp) +/* 19D9AC 8026F0CC 8FB40020 */ lw $s4, 0x20($sp) +/* 19D9B0 8026F0D0 8FB3001C */ lw $s3, 0x1c($sp) +/* 19D9B4 8026F0D4 8FB20018 */ lw $s2, 0x18($sp) +/* 19D9B8 8026F0D8 8FB10014 */ lw $s1, 0x14($sp) +/* 19D9BC 8026F0DC 8FB00010 */ lw $s0, 0x10($sp) +/* 19D9C0 8026F0E0 24020002 */ addiu $v0, $zero, 2 +/* 19D9C4 8026F0E4 03E00008 */ jr $ra +/* 19D9C8 8026F0E8 27BD0028 */ addiu $sp, $sp, 0x28 + +UseIdleAnimation: +/* 19D9CC 8026F0EC 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 19D9D0 8026F0F0 AFB20018 */ sw $s2, 0x18($sp) +/* 19D9D4 8026F0F4 0080902D */ daddu $s2, $a0, $zero +/* 19D9D8 8026F0F8 AFBF001C */ sw $ra, 0x1c($sp) +/* 19D9DC 8026F0FC AFB10014 */ sw $s1, 0x14($sp) +/* 19D9E0 8026F100 AFB00010 */ sw $s0, 0x10($sp) +/* 19D9E4 8026F104 8E50000C */ lw $s0, 0xc($s2) +/* 19D9E8 8026F108 8E050000 */ lw $a1, ($s0) +/* 19D9EC 8026F10C 0C0B1EAF */ jal get_variable +/* 19D9F0 8026F110 26100004 */ addiu $s0, $s0, 4 +/* 19D9F4 8026F114 0040882D */ daddu $s1, $v0, $zero +/* 19D9F8 8026F118 8E050000 */ lw $a1, ($s0) +/* 19D9FC 8026F11C 0C0B1EAF */ jal get_variable +/* 19DA00 8026F120 0240202D */ daddu $a0, $s2, $zero +/* 19DA04 8026F124 0040802D */ daddu $s0, $v0, $zero +/* 19DA08 8026F128 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19DA0C 8026F12C 16220002 */ bne $s1, $v0, .L8026F138 +/* 19DA10 8026F130 00000000 */ nop +/* 19DA14 8026F134 8E510148 */ lw $s1, 0x148($s2) +.L8026F138: +/* 19DA18 8026F138 0C09A75B */ jal get_actor +/* 19DA1C 8026F13C 0220202D */ daddu $a0, $s1, $zero +/* 19DA20 8026F140 1600000C */ bnez $s0, .L8026F174 +/* 19DA24 8026F144 0040202D */ daddu $a0, $v0, $zero +/* 19DA28 8026F148 3C05FBFF */ lui $a1, 0xfbff +/* 19DA2C 8026F14C 34A5FFFF */ ori $a1, $a1, 0xffff +/* 19DA30 8026F150 3C03F7FF */ lui $v1, 0xf7ff +/* 19DA34 8026F154 8C820000 */ lw $v0, ($a0) +/* 19DA38 8026F158 3463FFFF */ ori $v1, $v1, 0xffff +/* 19DA3C 8026F15C 00451024 */ and $v0, $v0, $a1 +/* 19DA40 8026F160 00431024 */ and $v0, $v0, $v1 +/* 19DA44 8026F164 0C099B90 */ jal func_80266E40 +/* 19DA48 8026F168 AC820000 */ sw $v0, ($a0) +/* 19DA4C 8026F16C 0809BC61 */ j func_8026F184 +/* 19DA50 8026F170 00000000 */ nop + +.L8026F174: +/* 19DA54 8026F174 8C820000 */ lw $v0, ($a0) +/* 19DA58 8026F178 3C030400 */ lui $v1, 0x400 +/* 19DA5C 8026F17C 00431025 */ or $v0, $v0, $v1 +/* 19DA60 8026F180 AC820000 */ sw $v0, ($a0) +func_8026F184: +/* 19DA64 8026F184 8FBF001C */ lw $ra, 0x1c($sp) +/* 19DA68 8026F188 8FB20018 */ lw $s2, 0x18($sp) +/* 19DA6C 8026F18C 8FB10014 */ lw $s1, 0x14($sp) +/* 19DA70 8026F190 8FB00010 */ lw $s0, 0x10($sp) +/* 19DA74 8026F194 24020002 */ addiu $v0, $zero, 2 +/* 19DA78 8026F198 03E00008 */ jr $ra +/* 19DA7C 8026F19C 27BD0020 */ addiu $sp, $sp, 0x20 + +/* 19DA80 8026F1A0 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 19DA84 8026F1A4 AFB20018 */ sw $s2, 0x18($sp) +/* 19DA88 8026F1A8 0080902D */ daddu $s2, $a0, $zero +/* 19DA8C 8026F1AC AFBF001C */ sw $ra, 0x1c($sp) +/* 19DA90 8026F1B0 AFB10014 */ sw $s1, 0x14($sp) +/* 19DA94 8026F1B4 AFB00010 */ sw $s0, 0x10($sp) +/* 19DA98 8026F1B8 8E50000C */ lw $s0, 0xc($s2) +/* 19DA9C 8026F1BC 8E050000 */ lw $a1, ($s0) +/* 19DAA0 8026F1C0 0C0B1EAF */ jal get_variable +/* 19DAA4 8026F1C4 26100004 */ addiu $s0, $s0, 4 +/* 19DAA8 8026F1C8 0040882D */ daddu $s1, $v0, $zero +/* 19DAAC 8026F1CC 8E050000 */ lw $a1, ($s0) +/* 19DAB0 8026F1D0 0C0B1EAF */ jal get_variable +/* 19DAB4 8026F1D4 0240202D */ daddu $a0, $s2, $zero +/* 19DAB8 8026F1D8 0040802D */ daddu $s0, $v0, $zero +/* 19DABC 8026F1DC 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19DAC0 8026F1E0 16220002 */ bne $s1, $v0, .L8026F1EC +/* 19DAC4 8026F1E4 00000000 */ nop +/* 19DAC8 8026F1E8 8E510148 */ lw $s1, 0x148($s2) +.L8026F1EC: +/* 19DACC 8026F1EC 0C09A75B */ jal get_actor +/* 19DAD0 8026F1F0 0220202D */ daddu $a0, $s1, $zero +/* 19DAD4 8026F1F4 16000007 */ bnez $s0, .L8026F214 +/* 19DAD8 8026F1F8 0040202D */ daddu $a0, $v0, $zero +/* 19DADC 8026F1FC 3C03F7FF */ lui $v1, 0xf7ff +/* 19DAE0 8026F200 8C820000 */ lw $v0, ($a0) +/* 19DAE4 8026F204 3463FFFF */ ori $v1, $v1, 0xffff +/* 19DAE8 8026F208 00431024 */ and $v0, $v0, $v1 +/* 19DAEC 8026F20C 0C099B90 */ jal func_80266E40 +/* 19DAF0 8026F210 AC820000 */ sw $v0, ($a0) +.L8026F214: +/* 19DAF4 8026F214 8FBF001C */ lw $ra, 0x1c($sp) +/* 19DAF8 8026F218 8FB20018 */ lw $s2, 0x18($sp) +/* 19DAFC 8026F21C 8FB10014 */ lw $s1, 0x14($sp) +/* 19DB00 8026F220 8FB00010 */ lw $s0, 0x10($sp) +/* 19DB04 8026F224 24020002 */ addiu $v0, $zero, 2 +/* 19DB08 8026F228 03E00008 */ jr $ra +/* 19DB0C 8026F22C 27BD0020 */ addiu $sp, $sp, 0x20 + +GetStatusFlags: +/* 19DB10 8026F230 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 19DB14 8026F234 AFB10014 */ sw $s1, 0x14($sp) +/* 19DB18 8026F238 0080882D */ daddu $s1, $a0, $zero +/* 19DB1C 8026F23C AFBF001C */ sw $ra, 0x1c($sp) +/* 19DB20 8026F240 AFB20018 */ sw $s2, 0x18($sp) +/* 19DB24 8026F244 AFB00010 */ sw $s0, 0x10($sp) +/* 19DB28 8026F248 8E30000C */ lw $s0, 0xc($s1) +/* 19DB2C 8026F24C 8E050000 */ lw $a1, ($s0) +/* 19DB30 8026F250 0C0B1EAF */ jal get_variable +/* 19DB34 8026F254 26100004 */ addiu $s0, $s0, 4 +/* 19DB38 8026F258 0040202D */ daddu $a0, $v0, $zero +/* 19DB3C 8026F25C 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19DB40 8026F260 14820002 */ bne $a0, $v0, .L8026F26C +/* 19DB44 8026F264 8E120000 */ lw $s2, ($s0) +/* 19DB48 8026F268 8E240148 */ lw $a0, 0x148($s1) +.L8026F26C: +/* 19DB4C 8026F26C 0C09A75B */ jal get_actor +/* 19DB50 8026F270 0000802D */ daddu $s0, $zero, $zero +/* 19DB54 8026F274 0040202D */ daddu $a0, $v0, $zero +/* 19DB58 8026F278 94820192 */ lhu $v0, 0x192($a0) +/* 19DB5C 8026F27C 80830210 */ lb $v1, 0x210($a0) +/* 19DB60 8026F280 10600020 */ beqz $v1, .L8026F304 +/* 19DB64 8026F284 30460700 */ andi $a2, $v0, 0x700 +/* 19DB68 8026F288 38620008 */ xori $v0, $v1, 8 +/* 19DB6C 8026F28C 2C420001 */ sltiu $v0, $v0, 1 +/* 19DB70 8026F290 00028540 */ sll $s0, $v0, 0x15 +/* 19DB74 8026F294 24020007 */ addiu $v0, $zero, 7 +/* 19DB78 8026F298 50620001 */ beql $v1, $v0, .L8026F2A0 +/* 19DB7C 8026F29C 36104000 */ ori $s0, $s0, 0x4000 +.L8026F2A0: +/* 19DB80 8026F2A0 24020006 */ addiu $v0, $zero, 6 +/* 19DB84 8026F2A4 50620001 */ beql $v1, $v0, .L8026F2AC +/* 19DB88 8026F2A8 36101000 */ ori $s0, $s0, 0x1000 +.L8026F2AC: +/* 19DB8C 8026F2AC 24020005 */ addiu $v0, $zero, 5 +/* 19DB90 8026F2B0 14620004 */ bne $v1, $v0, .L8026F2C4 +/* 19DB94 8026F2B4 24020004 */ addiu $v0, $zero, 4 +/* 19DB98 8026F2B8 3C020001 */ lui $v0, 1 +/* 19DB9C 8026F2BC 02028025 */ or $s0, $s0, $v0 +/* 19DBA0 8026F2C0 24020004 */ addiu $v0, $zero, 4 +.L8026F2C4: +/* 19DBA4 8026F2C4 14620004 */ bne $v1, $v0, .L8026F2D8 +/* 19DBA8 8026F2C8 24020003 */ addiu $v0, $zero, 3 +/* 19DBAC 8026F2CC 3C020004 */ lui $v0, 4 +/* 19DBB0 8026F2D0 02028025 */ or $s0, $s0, $v0 +/* 19DBB4 8026F2D4 24020003 */ addiu $v0, $zero, 3 +.L8026F2D8: +/* 19DBB8 8026F2D8 50620001 */ beql $v1, $v0, .L8026F2E0 +/* 19DBBC 8026F2DC 36108000 */ ori $s0, $s0, 0x8000 +.L8026F2E0: +/* 19DBC0 8026F2E0 24020009 */ addiu $v0, $zero, 9 +/* 19DBC4 8026F2E4 14620004 */ bne $v1, $v0, .L8026F2F8 +/* 19DBC8 8026F2E8 2402000A */ addiu $v0, $zero, 0xa +/* 19DBCC 8026F2EC 3C020002 */ lui $v0, 2 +/* 19DBD0 8026F2F0 02028025 */ or $s0, $s0, $v0 +/* 19DBD4 8026F2F4 2402000A */ addiu $v0, $zero, 0xa +.L8026F2F8: +/* 19DBD8 8026F2F8 14620002 */ bne $v1, $v0, .L8026F304 +/* 19DBDC 8026F2FC 3C020008 */ lui $v0, 8 +/* 19DBE0 8026F300 02028025 */ or $s0, $s0, $v0 +.L8026F304: +/* 19DBE4 8026F304 80830212 */ lb $v1, 0x212($a0) +/* 19DBE8 8026F308 10600003 */ beqz $v1, .L8026F318 +/* 19DBEC 8026F30C 2402000B */ addiu $v0, $zero, 0xb +/* 19DBF0 8026F310 50620001 */ beql $v1, $v0, .L8026F318 +/* 19DBF4 8026F314 36102000 */ ori $s0, $s0, 0x2000 +.L8026F318: +/* 19DBF8 8026F318 80830214 */ lb $v1, 0x214($a0) +/* 19DBFC 8026F31C 10600004 */ beqz $v1, .L8026F330 +/* 19DC00 8026F320 2402000C */ addiu $v0, $zero, 0xc +/* 19DC04 8026F324 14620002 */ bne $v1, $v0, .L8026F330 +/* 19DC08 8026F328 3C020010 */ lui $v0, 0x10 +/* 19DC0C 8026F32C 02028025 */ or $s0, $s0, $v0 +.L8026F330: +/* 19DC10 8026F330 80830216 */ lb $v1, 0x216($a0) +/* 19DC14 8026F334 10600004 */ beqz $v1, .L8026F348 +/* 19DC18 8026F338 2402000D */ addiu $v0, $zero, 0xd +/* 19DC1C 8026F33C 14620002 */ bne $v1, $v0, .L8026F348 +/* 19DC20 8026F340 3C020100 */ lui $v0, 0x100 +/* 19DC24 8026F344 02028025 */ or $s0, $s0, $v0 +.L8026F348: +/* 19DC28 8026F348 80830218 */ lb $v1, 0x218($a0) +/* 19DC2C 8026F34C 10600004 */ beqz $v1, .L8026F360 +/* 19DC30 8026F350 2402000E */ addiu $v0, $zero, 0xe +/* 19DC34 8026F354 14620002 */ bne $v1, $v0, .L8026F360 +/* 19DC38 8026F358 3C020400 */ lui $v0, 0x400 +/* 19DC3C 8026F35C 02028025 */ or $s0, $s0, $v0 +.L8026F360: +/* 19DC40 8026F360 8C8301F4 */ lw $v1, 0x1f4($a0) +/* 19DC44 8026F364 1060000D */ beqz $v1, .L8026F39C +/* 19DC48 8026F368 24020100 */ addiu $v0, $zero, 0x100 +/* 19DC4C 8026F36C 3C050400 */ lui $a1, 0x400 +.L8026F370: +/* 19DC50 8026F370 8C620000 */ lw $v0, ($v1) +/* 19DC54 8026F374 30420100 */ andi $v0, $v0, 0x100 +/* 19DC58 8026F378 54400001 */ bnezl $v0, .L8026F380 +/* 19DC5C 8026F37C 02058025 */ or $s0, $s0, $a1 +.L8026F380: +/* 19DC60 8026F380 8C62007C */ lw $v0, 0x7c($v1) +/* 19DC64 8026F384 30420020 */ andi $v0, $v0, 0x20 +/* 19DC68 8026F388 54400001 */ bnezl $v0, .L8026F390 +/* 19DC6C 8026F38C 02058025 */ or $s0, $s0, $a1 +.L8026F390: +/* 19DC70 8026F390 8C63000C */ lw $v1, 0xc($v1) +/* 19DC74 8026F394 1460FFF6 */ bnez $v1, .L8026F370 +/* 19DC78 8026F398 24020100 */ addiu $v0, $zero, 0x100 +.L8026F39C: +/* 19DC7C 8026F39C 10C20005 */ beq $a2, $v0, .L8026F3B4 +/* 19DC80 8026F3A0 28C20101 */ slti $v0, $a2, 0x101 +/* 19DC84 8026F3A4 10400009 */ beqz $v0, .L8026F3CC +/* 19DC88 8026F3A8 00000000 */ nop +/* 19DC8C 8026F3AC 14C00007 */ bnez $a2, .L8026F3CC +/* 19DC90 8026F3B0 00000000 */ nop +.L8026F3B4: +/* 19DC94 8026F3B4 3C02800E */ lui $v0, 0x800e +/* 19DC98 8026F3B8 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 19DC9C 8026F3BC 8042009A */ lb $v0, 0x9a($v0) +/* 19DCA0 8026F3C0 10400002 */ beqz $v0, .L8026F3CC +/* 19DCA4 8026F3C4 3C020400 */ lui $v0, 0x400 +/* 19DCA8 8026F3C8 02028025 */ or $s0, $s0, $v0 +.L8026F3CC: +/* 19DCAC 8026F3CC 80820220 */ lb $v0, 0x220($a0) +/* 19DCB0 8026F3D0 10400002 */ beqz $v0, .L8026F3DC +/* 19DCB4 8026F3D4 3C020200 */ lui $v0, 0x200 +/* 19DCB8 8026F3D8 02028025 */ or $s0, $s0, $v0 +.L8026F3DC: +/* 19DCBC 8026F3DC 80820221 */ lb $v0, 0x221($a0) +/* 19DCC0 8026F3E0 10400002 */ beqz $v0, .L8026F3EC +/* 19DCC4 8026F3E4 3C020800 */ lui $v0, 0x800 +/* 19DCC8 8026F3E8 02028025 */ or $s0, $s0, $v0 +.L8026F3EC: +/* 19DCCC 8026F3EC 80820222 */ lb $v0, 0x222($a0) +/* 19DCD0 8026F3F0 10400002 */ beqz $v0, .L8026F3FC +/* 19DCD4 8026F3F4 3C021000 */ lui $v0, 0x1000 +/* 19DCD8 8026F3F8 02028025 */ or $s0, $s0, $v0 +.L8026F3FC: +/* 19DCDC 8026F3FC 80820223 */ lb $v0, 0x223($a0) +/* 19DCE0 8026F400 10400002 */ beqz $v0, .L8026F40C +/* 19DCE4 8026F404 3C022000 */ lui $v0, 0x2000 +/* 19DCE8 8026F408 02028025 */ or $s0, $s0, $v0 +.L8026F40C: +/* 19DCEC 8026F40C 0C099CAB */ jal heroes_is_ability_active +/* 19DCF0 8026F410 24050016 */ addiu $a1, $zero, 0x16 +/* 19DCF4 8026F414 10400002 */ beqz $v0, .L8026F420 +/* 19DCF8 8026F418 3C024000 */ lui $v0, 0x4000 +/* 19DCFC 8026F41C 02028025 */ or $s0, $s0, $v0 +.L8026F420: +/* 19DD00 8026F420 0220202D */ daddu $a0, $s1, $zero +/* 19DD04 8026F424 0240282D */ daddu $a1, $s2, $zero +/* 19DD08 8026F428 0C0B2026 */ jal set_variable +/* 19DD0C 8026F42C 0200302D */ daddu $a2, $s0, $zero +/* 19DD10 8026F430 8FBF001C */ lw $ra, 0x1c($sp) +/* 19DD14 8026F434 8FB20018 */ lw $s2, 0x18($sp) +/* 19DD18 8026F438 8FB10014 */ lw $s1, 0x14($sp) +/* 19DD1C 8026F43C 8FB00010 */ lw $s0, 0x10($sp) +/* 19DD20 8026F440 24020002 */ addiu $v0, $zero, 2 +/* 19DD24 8026F444 03E00008 */ jr $ra +/* 19DD28 8026F448 27BD0020 */ addiu $sp, $sp, 0x20 + +RemovePlayerBuffs: +/* 19DD2C 8026F44C 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 19DD30 8026F450 AFBF0010 */ sw $ra, 0x10($sp) +/* 19DD34 8026F454 8C82000C */ lw $v0, 0xc($a0) +/* 19DD38 8026F458 0C099D15 */ jal remove_player_buffs +/* 19DD3C 8026F45C 8C440000 */ lw $a0, ($v0) +/* 19DD40 8026F460 8FBF0010 */ lw $ra, 0x10($sp) +/* 19DD44 8026F464 24020002 */ addiu $v0, $zero, 2 +/* 19DD48 8026F468 03E00008 */ jr $ra +/* 19DD4C 8026F46C 27BD0018 */ addiu $sp, $sp, 0x18 + +SetPartAlpha: +/* 19DD50 8026F470 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 19DD54 8026F474 AFB20018 */ sw $s2, 0x18($sp) +/* 19DD58 8026F478 0080902D */ daddu $s2, $a0, $zero +/* 19DD5C 8026F47C AFBF0024 */ sw $ra, 0x24($sp) +/* 19DD60 8026F480 AFB40020 */ sw $s4, 0x20($sp) +/* 19DD64 8026F484 AFB3001C */ sw $s3, 0x1c($sp) +/* 19DD68 8026F488 AFB10014 */ sw $s1, 0x14($sp) +/* 19DD6C 8026F48C AFB00010 */ sw $s0, 0x10($sp) +/* 19DD70 8026F490 8E50000C */ lw $s0, 0xc($s2) +/* 19DD74 8026F494 8E050000 */ lw $a1, ($s0) +/* 19DD78 8026F498 0C0B1EAF */ jal get_variable +/* 19DD7C 8026F49C 26100004 */ addiu $s0, $s0, 4 +/* 19DD80 8026F4A0 0040882D */ daddu $s1, $v0, $zero +/* 19DD84 8026F4A4 8E050000 */ lw $a1, ($s0) +/* 19DD88 8026F4A8 26100004 */ addiu $s0, $s0, 4 +/* 19DD8C 8026F4AC 0C0B1EAF */ jal get_variable +/* 19DD90 8026F4B0 0240202D */ daddu $a0, $s2, $zero +/* 19DD94 8026F4B4 0240202D */ daddu $a0, $s2, $zero +/* 19DD98 8026F4B8 8E050000 */ lw $a1, ($s0) +/* 19DD9C 8026F4BC 0C0B1EAF */ jal get_variable +/* 19DDA0 8026F4C0 0040A02D */ daddu $s4, $v0, $zero +/* 19DDA4 8026F4C4 0040982D */ daddu $s3, $v0, $zero +/* 19DDA8 8026F4C8 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19DDAC 8026F4CC 16220002 */ bne $s1, $v0, .L8026F4D8 +/* 19DDB0 8026F4D0 00000000 */ nop +/* 19DDB4 8026F4D4 8E510148 */ lw $s1, 0x148($s2) +.L8026F4D8: +/* 19DDB8 8026F4D8 0C09A75B */ jal get_actor +/* 19DDBC 8026F4DC 0220202D */ daddu $a0, $s1, $zero +/* 19DDC0 8026F4E0 0040802D */ daddu $s0, $v0, $zero +/* 19DDC4 8026F4E4 0200202D */ daddu $a0, $s0, $zero +/* 19DDC8 8026F4E8 0C099117 */ jal get_actor_part +/* 19DDCC 8026F4EC 0280282D */ daddu $a1, $s4, $zero +/* 19DDD0 8026F4F0 A4530098 */ sh $s3, 0x98($v0) +/* 19DDD4 8026F4F4 240200FF */ addiu $v0, $zero, 0xff +/* 19DDD8 8026F4F8 16620002 */ bne $s3, $v0, .L8026F504 +/* 19DDDC 8026F4FC 24020022 */ addiu $v0, $zero, 0x22 +/* 19DDE0 8026F500 2402000D */ addiu $v0, $zero, 0xd +.L8026F504: +/* 19DDE4 8026F504 A6020434 */ sh $v0, 0x434($s0) +/* 19DDE8 8026F508 8FBF0024 */ lw $ra, 0x24($sp) +/* 19DDEC 8026F50C 8FB40020 */ lw $s4, 0x20($sp) +/* 19DDF0 8026F510 8FB3001C */ lw $s3, 0x1c($sp) +/* 19DDF4 8026F514 8FB20018 */ lw $s2, 0x18($sp) +/* 19DDF8 8026F518 8FB10014 */ lw $s1, 0x14($sp) +/* 19DDFC 8026F51C 8FB00010 */ lw $s0, 0x10($sp) +/* 19DE00 8026F520 24020002 */ addiu $v0, $zero, 2 +/* 19DE04 8026F524 03E00008 */ jr $ra +/* 19DE08 8026F528 27BD0028 */ addiu $sp, $sp, 0x28 + +CreatePartShadow: +/* 19DE0C 8026F52C 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 19DE10 8026F530 AFB20018 */ sw $s2, 0x18($sp) +/* 19DE14 8026F534 0080902D */ daddu $s2, $a0, $zero +/* 19DE18 8026F538 AFBF001C */ sw $ra, 0x1c($sp) +/* 19DE1C 8026F53C AFB10014 */ sw $s1, 0x14($sp) +/* 19DE20 8026F540 AFB00010 */ sw $s0, 0x10($sp) +/* 19DE24 8026F544 8E50000C */ lw $s0, 0xc($s2) +/* 19DE28 8026F548 8E050000 */ lw $a1, ($s0) +/* 19DE2C 8026F54C 0C0B1EAF */ jal get_variable +/* 19DE30 8026F550 26100004 */ addiu $s0, $s0, 4 +/* 19DE34 8026F554 0040882D */ daddu $s1, $v0, $zero +/* 19DE38 8026F558 8E050000 */ lw $a1, ($s0) +/* 19DE3C 8026F55C 0C0B1EAF */ jal get_variable +/* 19DE40 8026F560 0240202D */ daddu $a0, $s2, $zero +/* 19DE44 8026F564 0040282D */ daddu $a1, $v0, $zero +/* 19DE48 8026F568 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19DE4C 8026F56C 16220002 */ bne $s1, $v0, .L8026F578 +/* 19DE50 8026F570 00000000 */ nop +/* 19DE54 8026F574 8E510148 */ lw $s1, 0x148($s2) +.L8026F578: +/* 19DE58 8026F578 0C099CC7 */ jal create_part_shadow +/* 19DE5C 8026F57C 0220202D */ daddu $a0, $s1, $zero +/* 19DE60 8026F580 8FBF001C */ lw $ra, 0x1c($sp) +/* 19DE64 8026F584 8FB20018 */ lw $s2, 0x18($sp) +/* 19DE68 8026F588 8FB10014 */ lw $s1, 0x14($sp) +/* 19DE6C 8026F58C 8FB00010 */ lw $s0, 0x10($sp) +/* 19DE70 8026F590 24020002 */ addiu $v0, $zero, 2 +/* 19DE74 8026F594 03E00008 */ jr $ra +/* 19DE78 8026F598 27BD0020 */ addiu $sp, $sp, 0x20 + +RemovePartShadow: +/* 19DE7C 8026F59C 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 19DE80 8026F5A0 AFB20018 */ sw $s2, 0x18($sp) +/* 19DE84 8026F5A4 0080902D */ daddu $s2, $a0, $zero +/* 19DE88 8026F5A8 AFBF001C */ sw $ra, 0x1c($sp) +/* 19DE8C 8026F5AC AFB10014 */ sw $s1, 0x14($sp) +/* 19DE90 8026F5B0 AFB00010 */ sw $s0, 0x10($sp) +/* 19DE94 8026F5B4 8E50000C */ lw $s0, 0xc($s2) +/* 19DE98 8026F5B8 8E050000 */ lw $a1, ($s0) +/* 19DE9C 8026F5BC 0C0B1EAF */ jal get_variable +/* 19DEA0 8026F5C0 26100004 */ addiu $s0, $s0, 4 +/* 19DEA4 8026F5C4 0040882D */ daddu $s1, $v0, $zero +/* 19DEA8 8026F5C8 8E050000 */ lw $a1, ($s0) +/* 19DEAC 8026F5CC 0C0B1EAF */ jal get_variable +/* 19DEB0 8026F5D0 0240202D */ daddu $a0, $s2, $zero +/* 19DEB4 8026F5D4 0040282D */ daddu $a1, $v0, $zero +/* 19DEB8 8026F5D8 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19DEBC 8026F5DC 16220002 */ bne $s1, $v0, .L8026F5E8 +/* 19DEC0 8026F5E0 00000000 */ nop +/* 19DEC4 8026F5E4 8E510148 */ lw $s1, 0x148($s2) +.L8026F5E8: +/* 19DEC8 8026F5E8 0C099CE8 */ jal remove_part_shadow +/* 19DECC 8026F5EC 0220202D */ daddu $a0, $s1, $zero +/* 19DED0 8026F5F0 8FBF001C */ lw $ra, 0x1c($sp) +/* 19DED4 8026F5F4 8FB20018 */ lw $s2, 0x18($sp) +/* 19DED8 8026F5F8 8FB10014 */ lw $s1, 0x14($sp) +/* 19DEDC 8026F5FC 8FB00010 */ lw $s0, 0x10($sp) +/* 19DEE0 8026F600 24020002 */ addiu $v0, $zero, 2 +/* 19DEE4 8026F604 03E00008 */ jr $ra +/* 19DEE8 8026F608 27BD0020 */ addiu $sp, $sp, 0x20 + +/* 19DEEC 8026F60C 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 19DEF0 8026F610 AFBF0010 */ sw $ra, 0x10($sp) +/* 19DEF4 8026F614 8C82000C */ lw $v0, 0xc($a0) +/* 19DEF8 8026F618 0C0B1EAF */ jal get_variable +/* 19DEFC 8026F61C 8C450000 */ lw $a1, ($v0) +/* 19DF00 8026F620 8FBF0010 */ lw $ra, 0x10($sp) +/* 19DF04 8026F624 3C01800E */ lui $at, 0x800e +/* 19DF08 8026F628 A022C0FD */ sb $v0, -0x3f03($at) +/* 19DF0C 8026F62C 24020002 */ addiu $v0, $zero, 2 +/* 19DF10 8026F630 03E00008 */ jr $ra +/* 19DF14 8026F634 27BD0018 */ addiu $sp, $sp, 0x18 + +SetBattleVar: +/* 19DF18 8026F638 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 19DF1C 8026F63C AFB10014 */ sw $s1, 0x14($sp) +/* 19DF20 8026F640 0080882D */ daddu $s1, $a0, $zero +/* 19DF24 8026F644 AFBF0018 */ sw $ra, 0x18($sp) +/* 19DF28 8026F648 AFB00010 */ sw $s0, 0x10($sp) +/* 19DF2C 8026F64C 8E30000C */ lw $s0, 0xc($s1) +/* 19DF30 8026F650 8E050000 */ lw $a1, ($s0) +/* 19DF34 8026F654 0C0B1EAF */ jal get_variable +/* 19DF38 8026F658 26100004 */ addiu $s0, $s0, 4 +/* 19DF3C 8026F65C 0220202D */ daddu $a0, $s1, $zero +/* 19DF40 8026F660 8E050000 */ lw $a1, ($s0) +/* 19DF44 8026F664 0C0B1EAF */ jal get_variable +/* 19DF48 8026F668 0040802D */ daddu $s0, $v0, $zero +/* 19DF4C 8026F66C 00108080 */ sll $s0, $s0, 2 +/* 19DF50 8026F670 3C01800E */ lui $at, 0x800e +/* 19DF54 8026F674 00300821 */ addu $at, $at, $s0 +/* 19DF58 8026F678 AC22C078 */ sw $v0, -0x3f88($at) +/* 19DF5C 8026F67C 8FBF0018 */ lw $ra, 0x18($sp) +/* 19DF60 8026F680 8FB10014 */ lw $s1, 0x14($sp) +/* 19DF64 8026F684 8FB00010 */ lw $s0, 0x10($sp) +/* 19DF68 8026F688 24020002 */ addiu $v0, $zero, 2 +/* 19DF6C 8026F68C 03E00008 */ jr $ra +/* 19DF70 8026F690 27BD0020 */ addiu $sp, $sp, 0x20 + +GetBattleVar: +/* 19DF74 8026F694 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 19DF78 8026F698 AFB10014 */ sw $s1, 0x14($sp) +/* 19DF7C 8026F69C 0080882D */ daddu $s1, $a0, $zero +/* 19DF80 8026F6A0 AFBF0018 */ sw $ra, 0x18($sp) +/* 19DF84 8026F6A4 AFB00010 */ sw $s0, 0x10($sp) +/* 19DF88 8026F6A8 8E30000C */ lw $s0, 0xc($s1) +/* 19DF8C 8026F6AC 8E050000 */ lw $a1, ($s0) +/* 19DF90 8026F6B0 0C0B1EAF */ jal get_variable +/* 19DF94 8026F6B4 26100004 */ addiu $s0, $s0, 4 +/* 19DF98 8026F6B8 00021080 */ sll $v0, $v0, 2 +/* 19DF9C 8026F6BC 8E050000 */ lw $a1, ($s0) +/* 19DFA0 8026F6C0 3C06800E */ lui $a2, 0x800e +/* 19DFA4 8026F6C4 00C23021 */ addu $a2, $a2, $v0 +/* 19DFA8 8026F6C8 8CC6C078 */ lw $a2, -0x3f88($a2) +/* 19DFAC 8026F6CC 0C0B2026 */ jal set_variable +/* 19DFB0 8026F6D0 0220202D */ daddu $a0, $s1, $zero +/* 19DFB4 8026F6D4 8FBF0018 */ lw $ra, 0x18($sp) +/* 19DFB8 8026F6D8 8FB10014 */ lw $s1, 0x14($sp) +/* 19DFBC 8026F6DC 8FB00010 */ lw $s0, 0x10($sp) +/* 19DFC0 8026F6E0 24020002 */ addiu $v0, $zero, 2 +/* 19DFC4 8026F6E4 03E00008 */ jr $ra +/* 19DFC8 8026F6E8 27BD0020 */ addiu $sp, $sp, 0x20 + +ResetAllActorSounds: +/* 19DFCC 8026F6EC 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 19DFD0 8026F6F0 AFB00010 */ sw $s0, 0x10($sp) +/* 19DFD4 8026F6F4 0080802D */ daddu $s0, $a0, $zero +/* 19DFD8 8026F6F8 AFBF0014 */ sw $ra, 0x14($sp) +/* 19DFDC 8026F6FC 8E02000C */ lw $v0, 0xc($s0) +/* 19DFE0 8026F700 0C0B1EAF */ jal get_variable +/* 19DFE4 8026F704 8C450000 */ lw $a1, ($v0) +/* 19DFE8 8026F708 0040202D */ daddu $a0, $v0, $zero +/* 19DFEC 8026F70C 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19DFF0 8026F710 14820002 */ bne $a0, $v0, .L8026F71C +/* 19DFF4 8026F714 00000000 */ nop +/* 19DFF8 8026F718 8E040148 */ lw $a0, 0x148($s0) +.L8026F71C: +/* 19DFFC 8026F71C 0C09A75B */ jal get_actor +/* 19E000 8026F720 00000000 */ nop +/* 19E004 8026F724 0C099EA7 */ jal reset_all_actor_sounds +/* 19E008 8026F728 0040202D */ daddu $a0, $v0, $zero +/* 19E00C 8026F72C 8FBF0014 */ lw $ra, 0x14($sp) +/* 19E010 8026F730 8FB00010 */ lw $s0, 0x10($sp) +/* 19E014 8026F734 24020002 */ addiu $v0, $zero, 2 +/* 19E018 8026F738 03E00008 */ jr $ra +/* 19E01C 8026F73C 27BD0018 */ addiu $sp, $sp, 0x18 + +SetActorSounds: +/* 19E020 8026F740 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 19E024 8026F744 AFB20018 */ sw $s2, 0x18($sp) +/* 19E028 8026F748 0080902D */ daddu $s2, $a0, $zero +/* 19E02C 8026F74C AFBF0020 */ sw $ra, 0x20($sp) +/* 19E030 8026F750 AFB3001C */ sw $s3, 0x1c($sp) +/* 19E034 8026F754 AFB10014 */ sw $s1, 0x14($sp) +/* 19E038 8026F758 AFB00010 */ sw $s0, 0x10($sp) +/* 19E03C 8026F75C 8E50000C */ lw $s0, 0xc($s2) +/* 19E040 8026F760 8E050000 */ lw $a1, ($s0) +/* 19E044 8026F764 0C0B1EAF */ jal get_variable +/* 19E048 8026F768 26100004 */ addiu $s0, $s0, 4 +/* 19E04C 8026F76C 0040882D */ daddu $s1, $v0, $zero +/* 19E050 8026F770 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19E054 8026F774 16220002 */ bne $s1, $v0, .L8026F780 +/* 19E058 8026F778 00000000 */ nop +/* 19E05C 8026F77C 8E510148 */ lw $s1, 0x148($s2) +.L8026F780: +/* 19E060 8026F780 8E050000 */ lw $a1, ($s0) +/* 19E064 8026F784 26100004 */ addiu $s0, $s0, 4 +/* 19E068 8026F788 0C0B1EAF */ jal get_variable +/* 19E06C 8026F78C 0240202D */ daddu $a0, $s2, $zero +/* 19E070 8026F790 8E050000 */ lw $a1, ($s0) +/* 19E074 8026F794 26100004 */ addiu $s0, $s0, 4 +/* 19E078 8026F798 0240202D */ daddu $a0, $s2, $zero +/* 19E07C 8026F79C 0C0B1EAF */ jal get_variable +/* 19E080 8026F7A0 0040982D */ daddu $s3, $v0, $zero +/* 19E084 8026F7A4 0240202D */ daddu $a0, $s2, $zero +/* 19E088 8026F7A8 8E050000 */ lw $a1, ($s0) +/* 19E08C 8026F7AC 0C0B1EAF */ jal get_variable +/* 19E090 8026F7B0 0040802D */ daddu $s0, $v0, $zero +/* 19E094 8026F7B4 0220202D */ daddu $a0, $s1, $zero +/* 19E098 8026F7B8 0C09A75B */ jal get_actor +/* 19E09C 8026F7BC 0040882D */ daddu $s1, $v0, $zero +/* 19E0A0 8026F7C0 0040182D */ daddu $v1, $v0, $zero +/* 19E0A4 8026F7C4 2E620006 */ sltiu $v0, $s3, 6 +/* 19E0A8 8026F7C8 10400013 */ beqz $v0, .L8026F818 +/* 19E0AC 8026F7CC 00131080 */ sll $v0, $s3, 2 +/* 19E0B0 8026F7D0 3C01802A */ lui $at, 0x802a +/* 19E0B4 8026F7D4 00220821 */ addu $at, $at, $v0 +/* 19E0B8 8026F7D8 8C22D7C0 */ lw $v0, -0x2840($at) +/* 19E0BC 8026F7DC 00400008 */ jr $v0 +/* 19E0C0 8026F7E0 00000000 */ nop +/* 19E0C4 8026F7E4 AC70019C */ sw $s0, 0x19c($v1) +/* 19E0C8 8026F7E8 0809BE06 */ j func_8026F818 +/* 19E0CC 8026F7EC AC7101A0 */ sw $s1, 0x1a0($v1) + +/* 19E0D0 8026F7F0 AC7001A4 */ sw $s0, 0x1a4($v1) +/* 19E0D4 8026F7F4 0809BE06 */ j func_8026F818 +/* 19E0D8 8026F7F8 AC7101A8 */ sw $s1, 0x1a8($v1) + +/* 19E0DC 8026F7FC 0809BE06 */ j func_8026F818 +/* 19E0E0 8026F800 AC7001AC */ sw $s0, 0x1ac($v1) + +/* 19E0E4 8026F804 0809BE06 */ j func_8026F818 +/* 19E0E8 8026F808 AC7001B0 */ sw $s0, 0x1b0($v1) + +/* 19E0EC 8026F80C 0809BE06 */ j func_8026F818 +/* 19E0F0 8026F810 A47001B4 */ sh $s0, 0x1b4($v1) + +/* 19E0F4 8026F814 A47001B6 */ sh $s0, 0x1b6($v1) +func_8026F818: +.L8026F818: +/* 19E0F8 8026F818 8FBF0020 */ lw $ra, 0x20($sp) +/* 19E0FC 8026F81C 8FB3001C */ lw $s3, 0x1c($sp) +/* 19E100 8026F820 8FB20018 */ lw $s2, 0x18($sp) +/* 19E104 8026F824 8FB10014 */ lw $s1, 0x14($sp) +/* 19E108 8026F828 8FB00010 */ lw $s0, 0x10($sp) +/* 19E10C 8026F82C 24020002 */ addiu $v0, $zero, 2 +/* 19E110 8026F830 03E00008 */ jr $ra +/* 19E114 8026F834 27BD0028 */ addiu $sp, $sp, 0x28 + +ResetActorSounds: +/* 19E118 8026F838 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 19E11C 8026F83C AFB20018 */ sw $s2, 0x18($sp) +/* 19E120 8026F840 0080902D */ daddu $s2, $a0, $zero +/* 19E124 8026F844 AFBF0020 */ sw $ra, 0x20($sp) +/* 19E128 8026F848 AFB3001C */ sw $s3, 0x1c($sp) +/* 19E12C 8026F84C AFB10014 */ sw $s1, 0x14($sp) +/* 19E130 8026F850 AFB00010 */ sw $s0, 0x10($sp) +/* 19E134 8026F854 8E50000C */ lw $s0, 0xc($s2) +/* 19E138 8026F858 8E050000 */ lw $a1, ($s0) +/* 19E13C 8026F85C 0C0B1EAF */ jal get_variable +/* 19E140 8026F860 26100004 */ addiu $s0, $s0, 4 +/* 19E144 8026F864 0040882D */ daddu $s1, $v0, $zero +/* 19E148 8026F868 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19E14C 8026F86C 16220002 */ bne $s1, $v0, .L8026F878 +/* 19E150 8026F870 00000000 */ nop +/* 19E154 8026F874 8E510148 */ lw $s1, 0x148($s2) +.L8026F878: +/* 19E158 8026F878 8E050000 */ lw $a1, ($s0) +/* 19E15C 8026F87C 26100004 */ addiu $s0, $s0, 4 +/* 19E160 8026F880 0C0B1EAF */ jal get_variable +/* 19E164 8026F884 0240202D */ daddu $a0, $s2, $zero +/* 19E168 8026F888 8E050000 */ lw $a1, ($s0) +/* 19E16C 8026F88C 26100004 */ addiu $s0, $s0, 4 +/* 19E170 8026F890 0240202D */ daddu $a0, $s2, $zero +/* 19E174 8026F894 0C0B1EAF */ jal get_variable +/* 19E178 8026F898 0040982D */ daddu $s3, $v0, $zero +/* 19E17C 8026F89C 8E050000 */ lw $a1, ($s0) +/* 19E180 8026F8A0 0C0B1EAF */ jal get_variable +/* 19E184 8026F8A4 0240202D */ daddu $a0, $s2, $zero +/* 19E188 8026F8A8 0C09A75B */ jal get_actor +/* 19E18C 8026F8AC 0220202D */ daddu $a0, $s1, $zero +/* 19E190 8026F8B0 0040202D */ daddu $a0, $v0, $zero +/* 19E194 8026F8B4 2E620006 */ sltiu $v0, $s3, 6 +/* 19E198 8026F8B8 10400049 */ beqz $v0, .L8026F9E0 +/* 19E19C 8026F8BC 00131080 */ sll $v0, $s3, 2 +/* 19E1A0 8026F8C0 3C01802A */ lui $at, 0x802a +/* 19E1A4 8026F8C4 00220821 */ addu $at, $at, $v0 +/* 19E1A8 8026F8C8 8C22D7D8 */ lw $v0, -0x2828($at) +/* 19E1AC 8026F8CC 00400008 */ jr $v0 +/* 19E1B0 8026F8D0 00000000 */ nop +/* 19E1B4 8026F8D4 90830136 */ lbu $v1, 0x136($a0) +/* 19E1B8 8026F8D8 000310C0 */ sll $v0, $v1, 3 +/* 19E1BC 8026F8DC 00431023 */ subu $v0, $v0, $v1 +/* 19E1C0 8026F8E0 00021080 */ sll $v0, $v0, 2 +/* 19E1C4 8026F8E4 3C018028 */ lui $at, 0x8028 +/* 19E1C8 8026F8E8 00220821 */ addu $at, $at, $v0 +/* 19E1CC 8026F8EC 8C221468 */ lw $v0, 0x1468($at) +/* 19E1D0 8026F8F0 AC82019C */ sw $v0, 0x19c($a0) +/* 19E1D4 8026F8F4 000310C0 */ sll $v0, $v1, 3 +/* 19E1D8 8026F8F8 00431023 */ subu $v0, $v0, $v1 +/* 19E1DC 8026F8FC 00021080 */ sll $v0, $v0, 2 +/* 19E1E0 8026F900 3C018028 */ lui $at, 0x8028 +/* 19E1E4 8026F904 00220821 */ addu $at, $at, $v0 +/* 19E1E8 8026F908 8C22146C */ lw $v0, 0x146c($at) +/* 19E1EC 8026F90C 0809BE78 */ j func_8026F9E0 +/* 19E1F0 8026F910 AC8201A0 */ sw $v0, 0x1a0($a0) + +/* 19E1F4 8026F914 90830136 */ lbu $v1, 0x136($a0) +/* 19E1F8 8026F918 000310C0 */ sll $v0, $v1, 3 +/* 19E1FC 8026F91C 00431023 */ subu $v0, $v0, $v1 +/* 19E200 8026F920 00021080 */ sll $v0, $v0, 2 +/* 19E204 8026F924 3C018028 */ lui $at, 0x8028 +/* 19E208 8026F928 00220821 */ addu $at, $at, $v0 +/* 19E20C 8026F92C 8C221470 */ lw $v0, 0x1470($at) +/* 19E210 8026F930 AC8201A4 */ sw $v0, 0x1a4($a0) +/* 19E214 8026F934 000310C0 */ sll $v0, $v1, 3 +/* 19E218 8026F938 00431023 */ subu $v0, $v0, $v1 +/* 19E21C 8026F93C 00021080 */ sll $v0, $v0, 2 +/* 19E220 8026F940 3C018028 */ lui $at, 0x8028 +/* 19E224 8026F944 00220821 */ addu $at, $at, $v0 +/* 19E228 8026F948 8C221474 */ lw $v0, 0x1474($at) +/* 19E22C 8026F94C 0809BE78 */ j func_8026F9E0 +/* 19E230 8026F950 AC8201A8 */ sw $v0, 0x1a8($a0) + +/* 19E234 8026F954 90820136 */ lbu $v0, 0x136($a0) +/* 19E238 8026F958 000218C0 */ sll $v1, $v0, 3 +/* 19E23C 8026F95C 00621823 */ subu $v1, $v1, $v0 +/* 19E240 8026F960 00031880 */ sll $v1, $v1, 2 +/* 19E244 8026F964 3C028028 */ lui $v0, 0x8028 +/* 19E248 8026F968 00431021 */ addu $v0, $v0, $v1 +/* 19E24C 8026F96C 8C421478 */ lw $v0, 0x1478($v0) +/* 19E250 8026F970 0809BE78 */ j func_8026F9E0 +/* 19E254 8026F974 AC8201AC */ sw $v0, 0x1ac($a0) + +/* 19E258 8026F978 90820136 */ lbu $v0, 0x136($a0) +/* 19E25C 8026F97C 000218C0 */ sll $v1, $v0, 3 +/* 19E260 8026F980 00621823 */ subu $v1, $v1, $v0 +/* 19E264 8026F984 00031880 */ sll $v1, $v1, 2 +/* 19E268 8026F988 3C028028 */ lui $v0, 0x8028 +/* 19E26C 8026F98C 00431021 */ addu $v0, $v0, $v1 +/* 19E270 8026F990 8C42147C */ lw $v0, 0x147c($v0) +/* 19E274 8026F994 0809BE78 */ j func_8026F9E0 +/* 19E278 8026F998 AC8201B0 */ sw $v0, 0x1b0($a0) + +/* 19E27C 8026F99C 90820136 */ lbu $v0, 0x136($a0) +/* 19E280 8026F9A0 000218C0 */ sll $v1, $v0, 3 +/* 19E284 8026F9A4 00621823 */ subu $v1, $v1, $v0 +/* 19E288 8026F9A8 00031880 */ sll $v1, $v1, 2 +/* 19E28C 8026F9AC 3C028028 */ lui $v0, 0x8028 +/* 19E290 8026F9B0 00431021 */ addu $v0, $v0, $v1 +/* 19E294 8026F9B4 94421480 */ lhu $v0, 0x1480($v0) +/* 19E298 8026F9B8 0809BE78 */ j func_8026F9E0 +/* 19E29C 8026F9BC A48201B4 */ sh $v0, 0x1b4($a0) + +/* 19E2A0 8026F9C0 90820136 */ lbu $v0, 0x136($a0) +/* 19E2A4 8026F9C4 000218C0 */ sll $v1, $v0, 3 +/* 19E2A8 8026F9C8 00621823 */ subu $v1, $v1, $v0 +/* 19E2AC 8026F9CC 00031880 */ sll $v1, $v1, 2 +/* 19E2B0 8026F9D0 3C028028 */ lui $v0, 0x8028 +/* 19E2B4 8026F9D4 00431021 */ addu $v0, $v0, $v1 +/* 19E2B8 8026F9D8 94421482 */ lhu $v0, 0x1482($v0) +/* 19E2BC 8026F9DC A48201B6 */ sh $v0, 0x1b6($a0) +func_8026F9E0: +.L8026F9E0: +/* 19E2C0 8026F9E0 8FBF0020 */ lw $ra, 0x20($sp) +/* 19E2C4 8026F9E4 8FB3001C */ lw $s3, 0x1c($sp) +/* 19E2C8 8026F9E8 8FB20018 */ lw $s2, 0x18($sp) +/* 19E2CC 8026F9EC 8FB10014 */ lw $s1, 0x14($sp) +/* 19E2D0 8026F9F0 8FB00010 */ lw $s0, 0x10($sp) +/* 19E2D4 8026F9F4 24020002 */ addiu $v0, $zero, 2 +/* 19E2D8 8026F9F8 03E00008 */ jr $ra +/* 19E2DC 8026F9FC 27BD0028 */ addiu $sp, $sp, 0x28 + +SetPartSounds: +/* 19E2E0 8026FA00 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 19E2E4 8026FA04 AFB20018 */ sw $s2, 0x18($sp) +/* 19E2E8 8026FA08 0080902D */ daddu $s2, $a0, $zero +/* 19E2EC 8026FA0C AFBF0024 */ sw $ra, 0x24($sp) +/* 19E2F0 8026FA10 AFB40020 */ sw $s4, 0x20($sp) +/* 19E2F4 8026FA14 AFB3001C */ sw $s3, 0x1c($sp) +/* 19E2F8 8026FA18 AFB10014 */ sw $s1, 0x14($sp) +/* 19E2FC 8026FA1C AFB00010 */ sw $s0, 0x10($sp) +/* 19E300 8026FA20 8E51000C */ lw $s1, 0xc($s2) +/* 19E304 8026FA24 8E250000 */ lw $a1, ($s1) +/* 19E308 8026FA28 0C0B1EAF */ jal get_variable +/* 19E30C 8026FA2C 26310004 */ addiu $s1, $s1, 4 +/* 19E310 8026FA30 0040982D */ daddu $s3, $v0, $zero +/* 19E314 8026FA34 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19E318 8026FA38 16620002 */ bne $s3, $v0, .L8026FA44 +/* 19E31C 8026FA3C 00000000 */ nop +/* 19E320 8026FA40 8E530148 */ lw $s3, 0x148($s2) +.L8026FA44: +/* 19E324 8026FA44 8E250000 */ lw $a1, ($s1) +/* 19E328 8026FA48 26310004 */ addiu $s1, $s1, 4 +/* 19E32C 8026FA4C 0C0B1EAF */ jal get_variable +/* 19E330 8026FA50 0240202D */ daddu $a0, $s2, $zero +/* 19E334 8026FA54 8E250000 */ lw $a1, ($s1) +/* 19E338 8026FA58 26310004 */ addiu $s1, $s1, 4 +/* 19E33C 8026FA5C 0240202D */ daddu $a0, $s2, $zero +/* 19E340 8026FA60 0C0B1EAF */ jal get_variable +/* 19E344 8026FA64 0040802D */ daddu $s0, $v0, $zero +/* 19E348 8026FA68 8E250000 */ lw $a1, ($s1) +/* 19E34C 8026FA6C 26310004 */ addiu $s1, $s1, 4 +/* 19E350 8026FA70 0240202D */ daddu $a0, $s2, $zero +/* 19E354 8026FA74 0C0B1EAF */ jal get_variable +/* 19E358 8026FA78 0040A02D */ daddu $s4, $v0, $zero +/* 19E35C 8026FA7C 0240202D */ daddu $a0, $s2, $zero +/* 19E360 8026FA80 8E250000 */ lw $a1, ($s1) +/* 19E364 8026FA84 0C0B1EAF */ jal get_variable +/* 19E368 8026FA88 0040882D */ daddu $s1, $v0, $zero +/* 19E36C 8026FA8C 0260202D */ daddu $a0, $s3, $zero +/* 19E370 8026FA90 0C09A75B */ jal get_actor +/* 19E374 8026FA94 0040902D */ daddu $s2, $v0, $zero +/* 19E378 8026FA98 0040202D */ daddu $a0, $v0, $zero +/* 19E37C 8026FA9C 0C099117 */ jal get_actor_part +/* 19E380 8026FAA0 0200282D */ daddu $a1, $s0, $zero +/* 19E384 8026FAA4 0040182D */ daddu $v1, $v0, $zero +/* 19E388 8026FAA8 2E820006 */ sltiu $v0, $s4, 6 +/* 19E38C 8026FAAC 10400013 */ beqz $v0, .L8026FAFC +/* 19E390 8026FAB0 00141080 */ sll $v0, $s4, 2 +/* 19E394 8026FAB4 3C01802A */ lui $at, 0x802a +/* 19E398 8026FAB8 00220821 */ addu $at, $at, $v0 +/* 19E39C 8026FABC 8C22D7F0 */ lw $v0, -0x2810($at) +/* 19E3A0 8026FAC0 00400008 */ jr $v0 +/* 19E3A4 8026FAC4 00000000 */ nop +/* 19E3A8 8026FAC8 AC7100A4 */ sw $s1, 0xa4($v1) +/* 19E3AC 8026FACC 0809BEBF */ j func_8026FAFC +/* 19E3B0 8026FAD0 AC7200A8 */ sw $s2, 0xa8($v1) + +/* 19E3B4 8026FAD4 AC7100AC */ sw $s1, 0xac($v1) +/* 19E3B8 8026FAD8 0809BEBF */ j func_8026FAFC +/* 19E3BC 8026FADC AC7200B0 */ sw $s2, 0xb0($v1) + +/* 19E3C0 8026FAE0 0809BEBF */ j func_8026FAFC +/* 19E3C4 8026FAE4 AC7100B4 */ sw $s1, 0xb4($v1) + +/* 19E3C8 8026FAE8 0809BEBF */ j func_8026FAFC +/* 19E3CC 8026FAEC AC7100B8 */ sw $s1, 0xb8($v1) + +/* 19E3D0 8026FAF0 0809BEBF */ j func_8026FAFC +/* 19E3D4 8026FAF4 A47100BC */ sh $s1, 0xbc($v1) + +/* 19E3D8 8026FAF8 A47100BE */ sh $s1, 0xbe($v1) +func_8026FAFC: +.L8026FAFC: +/* 19E3DC 8026FAFC 8FBF0024 */ lw $ra, 0x24($sp) +/* 19E3E0 8026FB00 8FB40020 */ lw $s4, 0x20($sp) +/* 19E3E4 8026FB04 8FB3001C */ lw $s3, 0x1c($sp) +/* 19E3E8 8026FB08 8FB20018 */ lw $s2, 0x18($sp) +/* 19E3EC 8026FB0C 8FB10014 */ lw $s1, 0x14($sp) +/* 19E3F0 8026FB10 8FB00010 */ lw $s0, 0x10($sp) +/* 19E3F4 8026FB14 24020002 */ addiu $v0, $zero, 2 +/* 19E3F8 8026FB18 03E00008 */ jr $ra +/* 19E3FC 8026FB1C 27BD0028 */ addiu $sp, $sp, 0x28 + +SetActorType: +/* 19E400 8026FB20 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 19E404 8026FB24 AFB20018 */ sw $s2, 0x18($sp) +/* 19E408 8026FB28 0080902D */ daddu $s2, $a0, $zero +/* 19E40C 8026FB2C AFBF001C */ sw $ra, 0x1c($sp) +/* 19E410 8026FB30 AFB10014 */ sw $s1, 0x14($sp) +/* 19E414 8026FB34 AFB00010 */ sw $s0, 0x10($sp) +/* 19E418 8026FB38 8E51000C */ lw $s1, 0xc($s2) +/* 19E41C 8026FB3C 8E250000 */ lw $a1, ($s1) +/* 19E420 8026FB40 0C0B1EAF */ jal get_variable +/* 19E424 8026FB44 26310004 */ addiu $s1, $s1, 4 +/* 19E428 8026FB48 0040802D */ daddu $s0, $v0, $zero +/* 19E42C 8026FB4C 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19E430 8026FB50 16020002 */ bne $s0, $v0, .L8026FB5C +/* 19E434 8026FB54 00000000 */ nop +/* 19E438 8026FB58 8E500148 */ lw $s0, 0x148($s2) +.L8026FB5C: +/* 19E43C 8026FB5C 8E250000 */ lw $a1, ($s1) +/* 19E440 8026FB60 0C0B1EAF */ jal get_variable +/* 19E444 8026FB64 0240202D */ daddu $a0, $s2, $zero +/* 19E448 8026FB68 0200202D */ daddu $a0, $s0, $zero +/* 19E44C 8026FB6C 0C09A75B */ jal get_actor +/* 19E450 8026FB70 0040882D */ daddu $s1, $v0, $zero +/* 19E454 8026FB74 0040802D */ daddu $s0, $v0, $zero +/* 19E458 8026FB78 0C094F08 */ jal is_actor_hp_bar_visible +/* 19E45C 8026FB7C 0200202D */ daddu $a0, $s0, $zero +/* 19E460 8026FB80 50400004 */ beql $v0, $zero, .L8026FB94 +/* 19E464 8026FB84 A2110136 */ sb $s1, 0x136($s0) +/* 19E468 8026FB88 0C094F9E */ jal load_tattle_flags +/* 19E46C 8026FB8C 0220202D */ daddu $a0, $s1, $zero +/* 19E470 8026FB90 A2110136 */ sb $s1, 0x136($s0) +.L8026FB94: +/* 19E474 8026FB94 8FBF001C */ lw $ra, 0x1c($sp) +/* 19E478 8026FB98 8FB20018 */ lw $s2, 0x18($sp) +/* 19E47C 8026FB9C 8FB10014 */ lw $s1, 0x14($sp) +/* 19E480 8026FBA0 8FB00010 */ lw $s0, 0x10($sp) +/* 19E484 8026FBA4 24020002 */ addiu $v0, $zero, 2 +/* 19E488 8026FBA8 03E00008 */ jr $ra +/* 19E48C 8026FBAC 27BD0020 */ addiu $sp, $sp, 0x20 + +ShowShockEffect: +/* 19E490 8026FBB0 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 19E494 8026FBB4 AFB00010 */ sw $s0, 0x10($sp) +/* 19E498 8026FBB8 0080802D */ daddu $s0, $a0, $zero +/* 19E49C 8026FBBC AFBF0014 */ sw $ra, 0x14($sp) +/* 19E4A0 8026FBC0 8E02000C */ lw $v0, 0xc($s0) +/* 19E4A4 8026FBC4 0C0B1EAF */ jal get_variable +/* 19E4A8 8026FBC8 8C450000 */ lw $a1, ($v0) +/* 19E4AC 8026FBCC 0040202D */ daddu $a0, $v0, $zero +/* 19E4B0 8026FBD0 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19E4B4 8026FBD4 14820002 */ bne $a0, $v0, .L8026FBE0 +/* 19E4B8 8026FBD8 00000000 */ nop +/* 19E4BC 8026FBDC 8E040148 */ lw $a0, 0x148($s0) +.L8026FBE0: +/* 19E4C0 8026FBE0 0C09A75B */ jal get_actor +/* 19E4C4 8026FBE4 00000000 */ nop +/* 19E4C8 8026FBE8 0C09451D */ jal func_80251474 +/* 19E4CC 8026FBEC 0040202D */ daddu $a0, $v0, $zero +/* 19E4D0 8026FBF0 8FBF0014 */ lw $ra, 0x14($sp) +/* 19E4D4 8026FBF4 8FB00010 */ lw $s0, 0x10($sp) +/* 19E4D8 8026FBF8 24020002 */ addiu $v0, $zero, 2 +/* 19E4DC 8026FBFC 03E00008 */ jr $ra +/* 19E4E0 8026FC00 27BD0018 */ addiu $sp, $sp, 0x18 + +GetActorAttackBoost: +/* 19E4E4 8026FC04 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 19E4E8 8026FC08 AFB10014 */ sw $s1, 0x14($sp) +/* 19E4EC 8026FC0C 0080882D */ daddu $s1, $a0, $zero +/* 19E4F0 8026FC10 AFBF0018 */ sw $ra, 0x18($sp) +/* 19E4F4 8026FC14 AFB00010 */ sw $s0, 0x10($sp) +/* 19E4F8 8026FC18 8E30000C */ lw $s0, 0xc($s1) +/* 19E4FC 8026FC1C 8E050000 */ lw $a1, ($s0) +/* 19E500 8026FC20 0C0B1EAF */ jal get_variable +/* 19E504 8026FC24 26100004 */ addiu $s0, $s0, 4 +/* 19E508 8026FC28 0040202D */ daddu $a0, $v0, $zero +/* 19E50C 8026FC2C 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19E510 8026FC30 14820002 */ bne $a0, $v0, .L8026FC3C +/* 19E514 8026FC34 00000000 */ nop +/* 19E518 8026FC38 8E240148 */ lw $a0, 0x148($s1) +.L8026FC3C: +/* 19E51C 8026FC3C 0C09A75B */ jal get_actor +/* 19E520 8026FC40 8E100000 */ lw $s0, ($s0) +/* 19E524 8026FC44 0220202D */ daddu $a0, $s1, $zero +/* 19E528 8026FC48 80460221 */ lb $a2, 0x221($v0) +/* 19E52C 8026FC4C 0C0B2026 */ jal set_variable +/* 19E530 8026FC50 0200282D */ daddu $a1, $s0, $zero +/* 19E534 8026FC54 8FBF0018 */ lw $ra, 0x18($sp) +/* 19E538 8026FC58 8FB10014 */ lw $s1, 0x14($sp) +/* 19E53C 8026FC5C 8FB00010 */ lw $s0, 0x10($sp) +/* 19E540 8026FC60 24020002 */ addiu $v0, $zero, 2 +/* 19E544 8026FC64 03E00008 */ jr $ra +/* 19E548 8026FC68 27BD0020 */ addiu $sp, $sp, 0x20 + +GetActorDefenseBoost: +/* 19E54C 8026FC6C 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 19E550 8026FC70 AFB10014 */ sw $s1, 0x14($sp) +/* 19E554 8026FC74 0080882D */ daddu $s1, $a0, $zero +/* 19E558 8026FC78 AFBF0018 */ sw $ra, 0x18($sp) +/* 19E55C 8026FC7C AFB00010 */ sw $s0, 0x10($sp) +/* 19E560 8026FC80 8E30000C */ lw $s0, 0xc($s1) +/* 19E564 8026FC84 8E050000 */ lw $a1, ($s0) +/* 19E568 8026FC88 0C0B1EAF */ jal get_variable +/* 19E56C 8026FC8C 26100004 */ addiu $s0, $s0, 4 +/* 19E570 8026FC90 0040202D */ daddu $a0, $v0, $zero +/* 19E574 8026FC94 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19E578 8026FC98 14820002 */ bne $a0, $v0, .L8026FCA4 +/* 19E57C 8026FC9C 00000000 */ nop +/* 19E580 8026FCA0 8E240148 */ lw $a0, 0x148($s1) +.L8026FCA4: +/* 19E584 8026FCA4 0C09A75B */ jal get_actor +/* 19E588 8026FCA8 8E100000 */ lw $s0, ($s0) +/* 19E58C 8026FCAC 0220202D */ daddu $a0, $s1, $zero +/* 19E590 8026FCB0 80460222 */ lb $a2, 0x222($v0) +/* 19E594 8026FCB4 0C0B2026 */ jal set_variable +/* 19E598 8026FCB8 0200282D */ daddu $a1, $s0, $zero +/* 19E59C 8026FCBC 8FBF0018 */ lw $ra, 0x18($sp) +/* 19E5A0 8026FCC0 8FB10014 */ lw $s1, 0x14($sp) +/* 19E5A4 8026FCC4 8FB00010 */ lw $s0, 0x10($sp) +/* 19E5A8 8026FCC8 24020002 */ addiu $v0, $zero, 2 +/* 19E5AC 8026FCCC 03E00008 */ jr $ra +/* 19E5B0 8026FCD0 27BD0020 */ addiu $sp, $sp, 0x20 + +BoostAttack: +/* 19E5B4 8026FCD4 27BDFFC0 */ addiu $sp, $sp, -0x40 +/* 19E5B8 8026FCD8 AFB20020 */ sw $s2, 0x20($sp) +/* 19E5BC 8026FCDC 0080902D */ daddu $s2, $a0, $zero +/* 19E5C0 8026FCE0 AFBF0024 */ sw $ra, 0x24($sp) +/* 19E5C4 8026FCE4 AFB1001C */ sw $s1, 0x1c($sp) +/* 19E5C8 8026FCE8 AFB00018 */ sw $s0, 0x18($sp) +/* 19E5CC 8026FCEC F7B80038 */ sdc1 $f24, 0x38($sp) +/* 19E5D0 8026FCF0 F7B60030 */ sdc1 $f22, 0x30($sp) +/* 19E5D4 8026FCF4 F7B40028 */ sdc1 $f20, 0x28($sp) +/* 19E5D8 8026FCF8 8E51000C */ lw $s1, 0xc($s2) +/* 19E5DC 8026FCFC 54A00001 */ bnezl $a1, .L8026FD04 +/* 19E5E0 8026FD00 AE400070 */ sw $zero, 0x70($s2) +.L8026FD04: +/* 19E5E4 8026FD04 8E420070 */ lw $v0, 0x70($s2) +/* 19E5E8 8026FD08 1440002D */ bnez $v0, .L8026FDC0 +/* 19E5EC 8026FD0C 00000000 */ nop +/* 19E5F0 8026FD10 8E250000 */ lw $a1, ($s1) +/* 19E5F4 8026FD14 26310004 */ addiu $s1, $s1, 4 +/* 19E5F8 8026FD18 0C0B1EAF */ jal get_variable +/* 19E5FC 8026FD1C 0240202D */ daddu $a0, $s2, $zero +/* 19E600 8026FD20 0040802D */ daddu $s0, $v0, $zero +/* 19E604 8026FD24 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19E608 8026FD28 16020002 */ bne $s0, $v0, .L8026FD34 +/* 19E60C 8026FD2C 00000000 */ nop +/* 19E610 8026FD30 8E500148 */ lw $s0, 0x148($s2) +.L8026FD34: +/* 19E614 8026FD34 8E250000 */ lw $a1, ($s1) +/* 19E618 8026FD38 0C0B1EAF */ jal get_variable +/* 19E61C 8026FD3C 0240202D */ daddu $a0, $s2, $zero +/* 19E620 8026FD40 0040882D */ daddu $s1, $v0, $zero +/* 19E624 8026FD44 0C09A75B */ jal get_actor +/* 19E628 8026FD48 0200202D */ daddu $a0, $s0, $zero +/* 19E62C 8026FD4C 0040802D */ daddu $s0, $v0, $zero +/* 19E630 8026FD50 24040008 */ addiu $a0, $zero, 8 +/* 19E634 8026FD54 AE500074 */ sw $s0, 0x74($s2) +/* 19E638 8026FD58 0C093903 */ jal func_8024E40C +/* 19E63C 8026FD5C AE510078 */ sw $s1, 0x78($s2) +/* 19E640 8026FD60 0C093978 */ jal set_cam_zoffset +/* 19E644 8026FD64 2404000C */ addiu $a0, $zero, 0xc +/* 19E648 8026FD68 86040192 */ lh $a0, 0x192($s0) +/* 19E64C 8026FD6C 0C09390F */ jal cam_target_actor +/* 19E650 8026FD70 00000000 */ nop +/* 19E654 8026FD74 0C093965 */ jal set_cam_zoom +/* 19E658 8026FD78 240400FA */ addiu $a0, $zero, 0xfa +/* 19E65C 8026FD7C 0C093936 */ jal move_cam_over +/* 19E660 8026FD80 2404000A */ addiu $a0, $zero, 0xa +/* 19E664 8026FD84 0C093983 */ jal func_8024E60C +/* 19E668 8026FD88 00000000 */ nop +/* 19E66C 8026FD8C 8E020000 */ lw $v0, ($s0) +/* 19E670 8026FD90 30420800 */ andi $v0, $v0, 0x800 +/* 19E674 8026FD94 10400004 */ beqz $v0, .L8026FDA8 +/* 19E678 8026FD98 24020001 */ addiu $v0, $zero, 1 +/* 19E67C 8026FD9C 0C093978 */ jal set_cam_zoffset +/* 19E680 8026FDA0 0000202D */ daddu $a0, $zero, $zero +/* 19E684 8026FDA4 24020001 */ addiu $v0, $zero, 1 +.L8026FDA8: +/* 19E688 8026FDA8 3C01802A */ lui $at, 0x802a +/* 19E68C 8026FDAC A022FBD4 */ sb $v0, -0x42c($at) +/* 19E690 8026FDB0 24020005 */ addiu $v0, $zero, 5 +/* 19E694 8026FDB4 AE42007C */ sw $v0, 0x7c($s2) +/* 19E698 8026FDB8 24020001 */ addiu $v0, $zero, 1 +/* 19E69C 8026FDBC AE420070 */ sw $v0, 0x70($s2) +.L8026FDC0: +/* 19E6A0 8026FDC0 0C09A75B */ jal get_actor +/* 19E6A4 8026FDC4 8E440148 */ lw $a0, 0x148($s2) +/* 19E6A8 8026FDC8 8E500074 */ lw $s0, 0x74($s2) +/* 19E6AC 8026FDCC 8E510078 */ lw $s1, 0x78($s2) +/* 19E6B0 8026FDD0 86020150 */ lh $v0, 0x150($s0) +/* 19E6B4 8026FDD4 8E030000 */ lw $v1, ($s0) +/* 19E6B8 8026FDD8 C6000144 */ lwc1 $f0, 0x144($s0) +/* 19E6BC 8026FDDC 44821000 */ mtc1 $v0, $f2 +/* 19E6C0 8026FDE0 00000000 */ nop +/* 19E6C4 8026FDE4 468010A0 */ cvt.s.w $f2, $f2 +/* 19E6C8 8026FDE8 30620800 */ andi $v0, $v1, 0x800 +/* 19E6CC 8026FDEC 1040000E */ beqz $v0, .L8026FE28 +/* 19E6D0 8026FDF0 46020280 */ add.s $f10, $f0, $f2 +/* 19E6D4 8026FDF4 86020152 */ lh $v0, 0x152($s0) +/* 19E6D8 8026FDF8 C6020148 */ lwc1 $f2, 0x148($s0) +/* 19E6DC 8026FDFC 44820000 */ mtc1 $v0, $f0 +/* 19E6E0 8026FE00 00000000 */ nop +/* 19E6E4 8026FE04 46800020 */ cvt.s.w $f0, $f0 +/* 19E6E8 8026FE08 92020191 */ lbu $v0, 0x191($s0) +/* 19E6EC 8026FE0C 46001080 */ add.s $f2, $f2, $f0 +/* 19E6F0 8026FE10 00021042 */ srl $v0, $v0, 1 +/* 19E6F4 8026FE14 44820000 */ mtc1 $v0, $f0 +/* 19E6F8 8026FE18 00000000 */ nop +/* 19E6FC 8026FE1C 46800020 */ cvt.s.w $f0, $f0 +/* 19E700 8026FE20 0809BFA5 */ j func_8026FE94 +/* 19E704 8026FE24 46001181 */ sub.s $f6, $f2, $f0 + +.L8026FE28: +/* 19E708 8026FE28 30628000 */ andi $v0, $v1, 0x8000 +/* 19E70C 8026FE2C 1440000E */ bnez $v0, .L8026FE68 +/* 19E710 8026FE30 00000000 */ nop +/* 19E714 8026FE34 86020152 */ lh $v0, 0x152($s0) +/* 19E718 8026FE38 C6020148 */ lwc1 $f2, 0x148($s0) +/* 19E71C 8026FE3C 44820000 */ mtc1 $v0, $f0 +/* 19E720 8026FE40 00000000 */ nop +/* 19E724 8026FE44 46800020 */ cvt.s.w $f0, $f0 +/* 19E728 8026FE48 92020191 */ lbu $v0, 0x191($s0) +/* 19E72C 8026FE4C 46001080 */ add.s $f2, $f2, $f0 +/* 19E730 8026FE50 00021042 */ srl $v0, $v0, 1 +/* 19E734 8026FE54 44820000 */ mtc1 $v0, $f0 +/* 19E738 8026FE58 00000000 */ nop +/* 19E73C 8026FE5C 46800020 */ cvt.s.w $f0, $f0 +/* 19E740 8026FE60 0809BFA5 */ j func_8026FE94 +/* 19E744 8026FE64 46020180 */ add.s $f6, $f0, $f2 + +.L8026FE68: +/* 19E748 8026FE68 86020152 */ lh $v0, 0x152($s0) +/* 19E74C 8026FE6C C6000148 */ lwc1 $f0, 0x148($s0) +/* 19E750 8026FE70 44821000 */ mtc1 $v0, $f2 +/* 19E754 8026FE74 00000000 */ nop +/* 19E758 8026FE78 468010A0 */ cvt.s.w $f2, $f2 +/* 19E75C 8026FE7C 92020191 */ lbu $v0, 0x191($s0) +/* 19E760 8026FE80 46020000 */ add.s $f0, $f0, $f2 +/* 19E764 8026FE84 44821000 */ mtc1 $v0, $f2 +/* 19E768 8026FE88 00000000 */ nop +/* 19E76C 8026FE8C 468010A0 */ cvt.s.w $f2, $f2 +/* 19E770 8026FE90 46020180 */ add.s $f6, $f0, $f2 +func_8026FE94: +/* 19E774 8026FE94 86020154 */ lh $v0, 0x154($s0) +/* 19E778 8026FE98 86030150 */ lh $v1, 0x150($s0) +/* 19E77C 8026FE9C C600014C */ lwc1 $f0, 0x14c($s0) +/* 19E780 8026FEA0 44821000 */ mtc1 $v0, $f2 +/* 19E784 8026FEA4 00000000 */ nop +/* 19E788 8026FEA8 468010A0 */ cvt.s.w $f2, $f2 +/* 19E78C 8026FEAC 44832000 */ mtc1 $v1, $f4 +/* 19E790 8026FEB0 00000000 */ nop +/* 19E794 8026FEB4 46802120 */ cvt.s.w $f4, $f4 +/* 19E798 8026FEB8 92020190 */ lbu $v0, 0x190($s0) +/* 19E79C 8026FEBC 46020000 */ add.s $f0, $f0, $f2 +/* 19E7A0 8026FEC0 3C014120 */ lui $at, 0x4120 +/* 19E7A4 8026FEC4 44811000 */ mtc1 $at, $f2 +/* 19E7A8 8026FEC8 8E030000 */ lw $v1, ($s0) +/* 19E7AC 8026FECC 46020200 */ add.s $f8, $f0, $f2 +/* 19E7B0 8026FED0 C6000144 */ lwc1 $f0, 0x144($s0) +/* 19E7B4 8026FED4 00021042 */ srl $v0, $v0, 1 +/* 19E7B8 8026FED8 46040000 */ add.s $f0, $f0, $f4 +/* 19E7BC 8026FEDC 44821000 */ mtc1 $v0, $f2 +/* 19E7C0 8026FEE0 00000000 */ nop +/* 19E7C4 8026FEE4 468010A0 */ cvt.s.w $f2, $f2 +/* 19E7C8 8026FEE8 30620800 */ andi $v0, $v1, 0x800 +/* 19E7CC 8026FEEC 1040000D */ beqz $v0, .L8026FF24 +/* 19E7D0 8026FEF0 46020600 */ add.s $f24, $f0, $f2 +/* 19E7D4 8026FEF4 86020152 */ lh $v0, 0x152($s0) +/* 19E7D8 8026FEF8 C6000148 */ lwc1 $f0, 0x148($s0) +/* 19E7DC 8026FEFC 44821000 */ mtc1 $v0, $f2 +/* 19E7E0 8026FF00 00000000 */ nop +/* 19E7E4 8026FF04 468010A0 */ cvt.s.w $f2, $f2 +/* 19E7E8 8026FF08 92020191 */ lbu $v0, 0x191($s0) +/* 19E7EC 8026FF0C 46020000 */ add.s $f0, $f0, $f2 +/* 19E7F0 8026FF10 44821000 */ mtc1 $v0, $f2 +/* 19E7F4 8026FF14 00000000 */ nop +/* 19E7F8 8026FF18 468010A0 */ cvt.s.w $f2, $f2 +/* 19E7FC 8026FF1C 0809BFE4 */ j func_8026FF90 +/* 19E800 8026FF20 46020501 */ sub.s $f20, $f0, $f2 + +.L8026FF24: +/* 19E804 8026FF24 30628000 */ andi $v0, $v1, 0x8000 +/* 19E808 8026FF28 1440000D */ bnez $v0, .L8026FF60 +/* 19E80C 8026FF2C 00000000 */ nop +/* 19E810 8026FF30 86020152 */ lh $v0, 0x152($s0) +/* 19E814 8026FF34 C6000148 */ lwc1 $f0, 0x148($s0) +/* 19E818 8026FF38 44821000 */ mtc1 $v0, $f2 +/* 19E81C 8026FF3C 00000000 */ nop +/* 19E820 8026FF40 468010A0 */ cvt.s.w $f2, $f2 +/* 19E824 8026FF44 92020191 */ lbu $v0, 0x191($s0) +/* 19E828 8026FF48 46020000 */ add.s $f0, $f0, $f2 +/* 19E82C 8026FF4C 44821000 */ mtc1 $v0, $f2 +/* 19E830 8026FF50 00000000 */ nop +/* 19E834 8026FF54 468010A0 */ cvt.s.w $f2, $f2 +/* 19E838 8026FF58 0809BFE4 */ j func_8026FF90 +/* 19E83C 8026FF5C 46001500 */ add.s $f20, $f2, $f0 + +.L8026FF60: +/* 19E840 8026FF60 86020152 */ lh $v0, 0x152($s0) +/* 19E844 8026FF64 C6020148 */ lwc1 $f2, 0x148($s0) +/* 19E848 8026FF68 44820000 */ mtc1 $v0, $f0 +/* 19E84C 8026FF6C 00000000 */ nop +/* 19E850 8026FF70 46800020 */ cvt.s.w $f0, $f0 +/* 19E854 8026FF74 92020191 */ lbu $v0, 0x191($s0) +/* 19E858 8026FF78 46001080 */ add.s $f2, $f2, $f0 +/* 19E85C 8026FF7C 00021040 */ sll $v0, $v0, 1 +/* 19E860 8026FF80 44820000 */ mtc1 $v0, $f0 +/* 19E864 8026FF84 00000000 */ nop +/* 19E868 8026FF88 46800020 */ cvt.s.w $f0, $f0 +/* 19E86C 8026FF8C 46001500 */ add.s $f20, $f2, $f0 +func_8026FF90: +/* 19E870 8026FF90 86020154 */ lh $v0, 0x154($s0) +/* 19E874 8026FF94 C600014C */ lwc1 $f0, 0x14c($s0) +/* 19E878 8026FF98 44821000 */ mtc1 $v0, $f2 +/* 19E87C 8026FF9C 00000000 */ nop +/* 19E880 8026FFA0 468010A0 */ cvt.s.w $f2, $f2 +/* 19E884 8026FFA4 46020000 */ add.s $f0, $f0, $f2 +/* 19E888 8026FFA8 8E420070 */ lw $v0, 0x70($s2) +/* 19E88C 8026FFAC 3C014120 */ lui $at, 0x4120 +/* 19E890 8026FFB0 44811000 */ mtc1 $at, $f2 +/* 19E894 8026FFB4 2443FFFF */ addiu $v1, $v0, -1 +/* 19E898 8026FFB8 2C620005 */ sltiu $v0, $v1, 5 +/* 19E89C 8026FFBC 10400063 */ beqz $v0, .L8027014C +/* 19E8A0 8026FFC0 46020580 */ add.s $f22, $f0, $f2 +/* 19E8A4 8026FFC4 00031080 */ sll $v0, $v1, 2 +/* 19E8A8 8026FFC8 3C01802A */ lui $at, 0x802a +/* 19E8AC 8026FFCC 00220821 */ addu $at, $at, $v0 +/* 19E8B0 8026FFD0 8C22D808 */ lw $v0, -0x27f8($at) +/* 19E8B4 8026FFD4 00400008 */ jr $v0 +/* 19E8B8 8026FFD8 00000000 */ nop +/* 19E8BC 8026FFDC 8E42007C */ lw $v0, 0x7c($s2) +/* 19E8C0 8026FFE0 1440004D */ bnez $v0, .L80270118 +/* 19E8C4 8026FFE4 2442FFFF */ addiu $v0, $v0, -1 +/* 19E8C8 8026FFE8 24040002 */ addiu $a0, $zero, 2 +/* 19E8CC 8026FFEC 44055000 */ mfc1 $a1, $f10 +/* 19E8D0 8026FFF0 44063000 */ mfc1 $a2, $f6 +/* 19E8D4 8026FFF4 44074000 */ mfc1 $a3, $f8 +/* 19E8D8 8026FFF8 3C013F80 */ lui $at, 0x3f80 +/* 19E8DC 8026FFFC 44810000 */ mtc1 $at, $f0 +/* 19E8E0 80270000 2410001E */ addiu $s0, $zero, 0x1e +/* 19E8E4 80270004 AFB00014 */ sw $s0, 0x14($sp) +/* 19E8E8 80270008 0C01C2EC */ jal func_80070BB0 +/* 19E8EC 8027000C E7A00010 */ swc1 $f0, 0x10($sp) +/* 19E8F0 80270010 0C0938F6 */ jal func_8024E3D8 +/* 19E8F4 80270014 24040013 */ addiu $a0, $zero, 0x13 +/* 19E8F8 80270018 24020002 */ addiu $v0, $zero, 2 +/* 19E8FC 8027001C AE50007C */ sw $s0, 0x7c($s2) +/* 19E900 80270020 0809C053 */ j func_8027014C +/* 19E904 80270024 AE420070 */ sw $v0, 0x70($s2) + +/* 19E908 80270028 8E42007C */ lw $v0, 0x7c($s2) +/* 19E90C 8027002C 1440003A */ bnez $v0, .L80270118 +/* 19E910 80270030 2442FFFF */ addiu $v0, $v0, -1 +/* 19E914 80270034 0200202D */ daddu $a0, $s0, $zero +/* 19E918 80270038 0C09DC58 */ jal dispatch_event_actor +/* 19E91C 8027003C 2405003F */ addiu $a1, $zero, 0x3f +/* 19E920 80270040 0C093903 */ jal func_8024E40C +/* 19E924 80270044 24040002 */ addiu $a0, $zero, 2 +/* 19E928 80270048 0C093936 */ jal move_cam_over +/* 19E92C 8027004C 2404000F */ addiu $a0, $zero, 0xf +/* 19E930 80270050 92020221 */ lbu $v0, 0x221($s0) +/* 19E934 80270054 24030001 */ addiu $v1, $zero, 1 +/* 19E938 80270058 A2030220 */ sb $v1, 0x220($s0) +/* 19E93C 8027005C 00511021 */ addu $v0, $v0, $s1 +/* 19E940 80270060 A2020221 */ sb $v0, 0x221($s0) +/* 19E944 80270064 00021600 */ sll $v0, $v0, 0x18 +/* 19E948 80270068 00021603 */ sra $v0, $v0, 0x18 +/* 19E94C 8027006C 28420015 */ slti $v0, $v0, 0x15 +/* 19E950 80270070 14400003 */ bnez $v0, .L80270080 +/* 19E954 80270074 2624FFFF */ addiu $a0, $s1, -1 +/* 19E958 80270078 24020014 */ addiu $v0, $zero, 0x14 +/* 19E95C 8027007C A2020221 */ sb $v0, 0x221($s0) +.L80270080: +/* 19E960 80270080 4405C000 */ mfc1 $a1, $f24 +/* 19E964 80270084 4406A000 */ mfc1 $a2, $f20 +/* 19E968 80270088 4407B000 */ mfc1 $a3, $f22 +/* 19E96C 8027008C 3C013F80 */ lui $at, 0x3f80 +/* 19E970 80270090 44810000 */ mtc1 $at, $f0 +/* 19E974 80270094 2402003C */ addiu $v0, $zero, 0x3c +/* 19E978 80270098 AFA20014 */ sw $v0, 0x14($sp) +/* 19E97C 8027009C 0C01C634 */ jal func_800718D0 +/* 19E980 802700A0 E7A00010 */ swc1 $f0, 0x10($sp) +/* 19E984 802700A4 2402000F */ addiu $v0, $zero, 0xf +/* 19E988 802700A8 AE42007C */ sw $v0, 0x7c($s2) +/* 19E98C 802700AC 24020003 */ addiu $v0, $zero, 3 +/* 19E990 802700B0 0809C053 */ j func_8027014C +/* 19E994 802700B4 AE420070 */ sw $v0, 0x70($s2) + +/* 19E998 802700B8 8E42007C */ lw $v0, 0x7c($s2) +/* 19E99C 802700BC 14400016 */ bnez $v0, .L80270118 +/* 19E9A0 802700C0 2442FFFF */ addiu $v0, $v0, -1 +/* 19E9A4 802700C4 2404001D */ addiu $a0, $zero, 0x1d +/* 19E9A8 802700C8 2405003C */ addiu $a1, $zero, 0x3c +/* 19E9AC 802700CC 0C093E81 */ jal show_variable_battle_message +/* 19E9B0 802700D0 0220302D */ daddu $a2, $s1, $zero +/* 19E9B4 802700D4 24020004 */ addiu $v0, $zero, 4 +/* 19E9B8 802700D8 0809C053 */ j func_8027014C +/* 19E9BC 802700DC AE420070 */ sw $v0, 0x70($s2) + +/* 19E9C0 802700E0 0C093EAD */ jal is_popup_displayed +/* 19E9C4 802700E4 00000000 */ nop +/* 19E9C8 802700E8 14400019 */ bnez $v0, .L80270150 +/* 19E9CC 802700EC 0000102D */ daddu $v0, $zero, $zero +/* 19E9D0 802700F0 0C093903 */ jal func_8024E40C +/* 19E9D4 802700F4 24040002 */ addiu $a0, $zero, 2 +/* 19E9D8 802700F8 2402000A */ addiu $v0, $zero, 0xa +/* 19E9DC 802700FC AE42007C */ sw $v0, 0x7c($s2) +/* 19E9E0 80270100 24020005 */ addiu $v0, $zero, 5 +/* 19E9E4 80270104 0809C053 */ j func_8027014C +/* 19E9E8 80270108 AE420070 */ sw $v0, 0x70($s2) + +/* 19E9EC 8027010C 8E42007C */ lw $v0, 0x7c($s2) +/* 19E9F0 80270110 10400003 */ beqz $v0, .L80270120 +/* 19E9F4 80270114 2442FFFF */ addiu $v0, $v0, -1 +.L80270118: +/* 19E9F8 80270118 0809C053 */ j func_8027014C +/* 19E9FC 8027011C AE42007C */ sw $v0, 0x7c($s2) + +.L80270120: +/* 19EA00 80270120 8E0201D8 */ lw $v0, 0x1d8($s0) +/* 19EA04 80270124 10400005 */ beqz $v0, .L8027013C +/* 19EA08 80270128 00000000 */ nop +/* 19EA0C 8027012C 0C0B1059 */ jal does_script_exist +/* 19EA10 80270130 8E0401E8 */ lw $a0, 0x1e8($s0) +/* 19EA14 80270134 14400006 */ bnez $v0, .L80270150 +/* 19EA18 80270138 0000102D */ daddu $v0, $zero, $zero +.L8027013C: +/* 19EA1C 8027013C 3C01802A */ lui $at, 0x802a +/* 19EA20 80270140 A020FBD4 */ sb $zero, -0x42c($at) +/* 19EA24 80270144 0809C054 */ j func_80270150 +/* 19EA28 80270148 24020002 */ addiu $v0, $zero, 2 + +func_8027014C: +.L8027014C: +/* 19EA2C 8027014C 0000102D */ daddu $v0, $zero, $zero +func_80270150: +.L80270150: +/* 19EA30 80270150 8FBF0024 */ lw $ra, 0x24($sp) +/* 19EA34 80270154 8FB20020 */ lw $s2, 0x20($sp) +/* 19EA38 80270158 8FB1001C */ lw $s1, 0x1c($sp) +/* 19EA3C 8027015C 8FB00018 */ lw $s0, 0x18($sp) +/* 19EA40 80270160 D7B80038 */ ldc1 $f24, 0x38($sp) +/* 19EA44 80270164 D7B60030 */ ldc1 $f22, 0x30($sp) +/* 19EA48 80270168 D7B40028 */ ldc1 $f20, 0x28($sp) +/* 19EA4C 8027016C 03E00008 */ jr $ra +/* 19EA50 80270170 27BD0040 */ addiu $sp, $sp, 0x40 + +BoostDefense: +/* 19EA54 80270174 27BDFFC0 */ addiu $sp, $sp, -0x40 +/* 19EA58 80270178 AFB20020 */ sw $s2, 0x20($sp) +/* 19EA5C 8027017C 0080902D */ daddu $s2, $a0, $zero +/* 19EA60 80270180 AFBF0024 */ sw $ra, 0x24($sp) +/* 19EA64 80270184 AFB1001C */ sw $s1, 0x1c($sp) +/* 19EA68 80270188 AFB00018 */ sw $s0, 0x18($sp) +/* 19EA6C 8027018C F7B80038 */ sdc1 $f24, 0x38($sp) +/* 19EA70 80270190 F7B60030 */ sdc1 $f22, 0x30($sp) +/* 19EA74 80270194 F7B40028 */ sdc1 $f20, 0x28($sp) +/* 19EA78 80270198 8E51000C */ lw $s1, 0xc($s2) +/* 19EA7C 8027019C 54A00001 */ bnezl $a1, .L802701A4 +/* 19EA80 802701A0 AE400070 */ sw $zero, 0x70($s2) +.L802701A4: +/* 19EA84 802701A4 8E420070 */ lw $v0, 0x70($s2) +/* 19EA88 802701A8 1440002D */ bnez $v0, .L80270260 +/* 19EA8C 802701AC 00000000 */ nop +/* 19EA90 802701B0 8E250000 */ lw $a1, ($s1) +/* 19EA94 802701B4 26310004 */ addiu $s1, $s1, 4 +/* 19EA98 802701B8 0C0B1EAF */ jal get_variable +/* 19EA9C 802701BC 0240202D */ daddu $a0, $s2, $zero +/* 19EAA0 802701C0 0040802D */ daddu $s0, $v0, $zero +/* 19EAA4 802701C4 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19EAA8 802701C8 16020002 */ bne $s0, $v0, .L802701D4 +/* 19EAAC 802701CC 00000000 */ nop +/* 19EAB0 802701D0 8E500148 */ lw $s0, 0x148($s2) +.L802701D4: +/* 19EAB4 802701D4 8E250000 */ lw $a1, ($s1) +/* 19EAB8 802701D8 0C0B1EAF */ jal get_variable +/* 19EABC 802701DC 0240202D */ daddu $a0, $s2, $zero +/* 19EAC0 802701E0 0040882D */ daddu $s1, $v0, $zero +/* 19EAC4 802701E4 0C09A75B */ jal get_actor +/* 19EAC8 802701E8 0200202D */ daddu $a0, $s0, $zero +/* 19EACC 802701EC 0040802D */ daddu $s0, $v0, $zero +/* 19EAD0 802701F0 24040008 */ addiu $a0, $zero, 8 +/* 19EAD4 802701F4 AE500074 */ sw $s0, 0x74($s2) +/* 19EAD8 802701F8 0C093903 */ jal func_8024E40C +/* 19EADC 802701FC AE510078 */ sw $s1, 0x78($s2) +/* 19EAE0 80270200 0C093978 */ jal set_cam_zoffset +/* 19EAE4 80270204 2404000C */ addiu $a0, $zero, 0xc +/* 19EAE8 80270208 86040192 */ lh $a0, 0x192($s0) +/* 19EAEC 8027020C 0C09390F */ jal cam_target_actor +/* 19EAF0 80270210 00000000 */ nop +/* 19EAF4 80270214 0C093965 */ jal set_cam_zoom +/* 19EAF8 80270218 240400FA */ addiu $a0, $zero, 0xfa +/* 19EAFC 8027021C 0C093936 */ jal move_cam_over +/* 19EB00 80270220 2404000A */ addiu $a0, $zero, 0xa +/* 19EB04 80270224 0C093983 */ jal func_8024E60C +/* 19EB08 80270228 00000000 */ nop +/* 19EB0C 8027022C 8E020000 */ lw $v0, ($s0) +/* 19EB10 80270230 30420800 */ andi $v0, $v0, 0x800 +/* 19EB14 80270234 10400004 */ beqz $v0, .L80270248 +/* 19EB18 80270238 24020001 */ addiu $v0, $zero, 1 +/* 19EB1C 8027023C 0C093978 */ jal set_cam_zoffset +/* 19EB20 80270240 0000202D */ daddu $a0, $zero, $zero +/* 19EB24 80270244 24020001 */ addiu $v0, $zero, 1 +.L80270248: +/* 19EB28 80270248 3C01802A */ lui $at, 0x802a +/* 19EB2C 8027024C A022FBD4 */ sb $v0, -0x42c($at) +/* 19EB30 80270250 24020005 */ addiu $v0, $zero, 5 +/* 19EB34 80270254 AE42007C */ sw $v0, 0x7c($s2) +/* 19EB38 80270258 24020001 */ addiu $v0, $zero, 1 +/* 19EB3C 8027025C AE420070 */ sw $v0, 0x70($s2) +.L80270260: +/* 19EB40 80270260 0C09A75B */ jal get_actor +/* 19EB44 80270264 8E440148 */ lw $a0, 0x148($s2) +/* 19EB48 80270268 8E500074 */ lw $s0, 0x74($s2) +/* 19EB4C 8027026C 8E510078 */ lw $s1, 0x78($s2) +/* 19EB50 80270270 86020150 */ lh $v0, 0x150($s0) +/* 19EB54 80270274 8E030000 */ lw $v1, ($s0) +/* 19EB58 80270278 C6000144 */ lwc1 $f0, 0x144($s0) +/* 19EB5C 8027027C 44821000 */ mtc1 $v0, $f2 +/* 19EB60 80270280 00000000 */ nop +/* 19EB64 80270284 468010A0 */ cvt.s.w $f2, $f2 +/* 19EB68 80270288 30620800 */ andi $v0, $v1, 0x800 +/* 19EB6C 8027028C 1040000E */ beqz $v0, .L802702C8 +/* 19EB70 80270290 46020280 */ add.s $f10, $f0, $f2 +/* 19EB74 80270294 86020152 */ lh $v0, 0x152($s0) +/* 19EB78 80270298 C6020148 */ lwc1 $f2, 0x148($s0) +/* 19EB7C 8027029C 44820000 */ mtc1 $v0, $f0 +/* 19EB80 802702A0 00000000 */ nop +/* 19EB84 802702A4 46800020 */ cvt.s.w $f0, $f0 +/* 19EB88 802702A8 92020191 */ lbu $v0, 0x191($s0) +/* 19EB8C 802702AC 46001080 */ add.s $f2, $f2, $f0 +/* 19EB90 802702B0 00021042 */ srl $v0, $v0, 1 +/* 19EB94 802702B4 44820000 */ mtc1 $v0, $f0 +/* 19EB98 802702B8 00000000 */ nop +/* 19EB9C 802702BC 46800020 */ cvt.s.w $f0, $f0 +/* 19EBA0 802702C0 0809C0CD */ j func_80270334 +/* 19EBA4 802702C4 46001181 */ sub.s $f6, $f2, $f0 + +.L802702C8: +/* 19EBA8 802702C8 30628000 */ andi $v0, $v1, 0x8000 +/* 19EBAC 802702CC 1440000E */ bnez $v0, .L80270308 +/* 19EBB0 802702D0 00000000 */ nop +/* 19EBB4 802702D4 86020152 */ lh $v0, 0x152($s0) +/* 19EBB8 802702D8 C6020148 */ lwc1 $f2, 0x148($s0) +/* 19EBBC 802702DC 44820000 */ mtc1 $v0, $f0 +/* 19EBC0 802702E0 00000000 */ nop +/* 19EBC4 802702E4 46800020 */ cvt.s.w $f0, $f0 +/* 19EBC8 802702E8 92020191 */ lbu $v0, 0x191($s0) +/* 19EBCC 802702EC 46001080 */ add.s $f2, $f2, $f0 +/* 19EBD0 802702F0 00021042 */ srl $v0, $v0, 1 +/* 19EBD4 802702F4 44820000 */ mtc1 $v0, $f0 +/* 19EBD8 802702F8 00000000 */ nop +/* 19EBDC 802702FC 46800020 */ cvt.s.w $f0, $f0 +/* 19EBE0 80270300 0809C0CD */ j func_80270334 +/* 19EBE4 80270304 46020180 */ add.s $f6, $f0, $f2 + +.L80270308: +/* 19EBE8 80270308 86020152 */ lh $v0, 0x152($s0) +/* 19EBEC 8027030C C6000148 */ lwc1 $f0, 0x148($s0) +/* 19EBF0 80270310 44821000 */ mtc1 $v0, $f2 +/* 19EBF4 80270314 00000000 */ nop +/* 19EBF8 80270318 468010A0 */ cvt.s.w $f2, $f2 +/* 19EBFC 8027031C 92020191 */ lbu $v0, 0x191($s0) +/* 19EC00 80270320 46020000 */ add.s $f0, $f0, $f2 +/* 19EC04 80270324 44821000 */ mtc1 $v0, $f2 +/* 19EC08 80270328 00000000 */ nop +/* 19EC0C 8027032C 468010A0 */ cvt.s.w $f2, $f2 +/* 19EC10 80270330 46020180 */ add.s $f6, $f0, $f2 +func_80270334: +/* 19EC14 80270334 86020154 */ lh $v0, 0x154($s0) +/* 19EC18 80270338 86030150 */ lh $v1, 0x150($s0) +/* 19EC1C 8027033C C600014C */ lwc1 $f0, 0x14c($s0) +/* 19EC20 80270340 44821000 */ mtc1 $v0, $f2 +/* 19EC24 80270344 00000000 */ nop +/* 19EC28 80270348 468010A0 */ cvt.s.w $f2, $f2 +/* 19EC2C 8027034C 44832000 */ mtc1 $v1, $f4 +/* 19EC30 80270350 00000000 */ nop +/* 19EC34 80270354 46802120 */ cvt.s.w $f4, $f4 +/* 19EC38 80270358 92020190 */ lbu $v0, 0x190($s0) +/* 19EC3C 8027035C 46020000 */ add.s $f0, $f0, $f2 +/* 19EC40 80270360 3C014120 */ lui $at, 0x4120 +/* 19EC44 80270364 44811000 */ mtc1 $at, $f2 +/* 19EC48 80270368 8E030000 */ lw $v1, ($s0) +/* 19EC4C 8027036C 46020200 */ add.s $f8, $f0, $f2 +/* 19EC50 80270370 C6000144 */ lwc1 $f0, 0x144($s0) +/* 19EC54 80270374 00021042 */ srl $v0, $v0, 1 +/* 19EC58 80270378 46040000 */ add.s $f0, $f0, $f4 +/* 19EC5C 8027037C 44821000 */ mtc1 $v0, $f2 +/* 19EC60 80270380 00000000 */ nop +/* 19EC64 80270384 468010A0 */ cvt.s.w $f2, $f2 +/* 19EC68 80270388 30620800 */ andi $v0, $v1, 0x800 +/* 19EC6C 8027038C 1040000D */ beqz $v0, .L802703C4 +/* 19EC70 80270390 46020600 */ add.s $f24, $f0, $f2 +/* 19EC74 80270394 86020152 */ lh $v0, 0x152($s0) +/* 19EC78 80270398 C6000148 */ lwc1 $f0, 0x148($s0) +/* 19EC7C 8027039C 44821000 */ mtc1 $v0, $f2 +/* 19EC80 802703A0 00000000 */ nop +/* 19EC84 802703A4 468010A0 */ cvt.s.w $f2, $f2 +/* 19EC88 802703A8 92020191 */ lbu $v0, 0x191($s0) +/* 19EC8C 802703AC 46020000 */ add.s $f0, $f0, $f2 +/* 19EC90 802703B0 44821000 */ mtc1 $v0, $f2 +/* 19EC94 802703B4 00000000 */ nop +/* 19EC98 802703B8 468010A0 */ cvt.s.w $f2, $f2 +/* 19EC9C 802703BC 0809C10C */ j func_80270430 +/* 19ECA0 802703C0 46020501 */ sub.s $f20, $f0, $f2 + +.L802703C4: +/* 19ECA4 802703C4 30628000 */ andi $v0, $v1, 0x8000 +/* 19ECA8 802703C8 1440000D */ bnez $v0, .L80270400 +/* 19ECAC 802703CC 00000000 */ nop +/* 19ECB0 802703D0 86020152 */ lh $v0, 0x152($s0) +/* 19ECB4 802703D4 C6000148 */ lwc1 $f0, 0x148($s0) +/* 19ECB8 802703D8 44821000 */ mtc1 $v0, $f2 +/* 19ECBC 802703DC 00000000 */ nop +/* 19ECC0 802703E0 468010A0 */ cvt.s.w $f2, $f2 +/* 19ECC4 802703E4 92020191 */ lbu $v0, 0x191($s0) +/* 19ECC8 802703E8 46020000 */ add.s $f0, $f0, $f2 +/* 19ECCC 802703EC 44821000 */ mtc1 $v0, $f2 +/* 19ECD0 802703F0 00000000 */ nop +/* 19ECD4 802703F4 468010A0 */ cvt.s.w $f2, $f2 +/* 19ECD8 802703F8 0809C10C */ j func_80270430 +/* 19ECDC 802703FC 46001500 */ add.s $f20, $f2, $f0 + +.L80270400: +/* 19ECE0 80270400 86020152 */ lh $v0, 0x152($s0) +/* 19ECE4 80270404 C6020148 */ lwc1 $f2, 0x148($s0) +/* 19ECE8 80270408 44820000 */ mtc1 $v0, $f0 +/* 19ECEC 8027040C 00000000 */ nop +/* 19ECF0 80270410 46800020 */ cvt.s.w $f0, $f0 +/* 19ECF4 80270414 92020191 */ lbu $v0, 0x191($s0) +/* 19ECF8 80270418 46001080 */ add.s $f2, $f2, $f0 +/* 19ECFC 8027041C 00021040 */ sll $v0, $v0, 1 +/* 19ED00 80270420 44820000 */ mtc1 $v0, $f0 +/* 19ED04 80270424 00000000 */ nop +/* 19ED08 80270428 46800020 */ cvt.s.w $f0, $f0 +/* 19ED0C 8027042C 46001500 */ add.s $f20, $f2, $f0 +func_80270430: +/* 19ED10 80270430 86020154 */ lh $v0, 0x154($s0) +/* 19ED14 80270434 C600014C */ lwc1 $f0, 0x14c($s0) +/* 19ED18 80270438 44821000 */ mtc1 $v0, $f2 +/* 19ED1C 8027043C 00000000 */ nop +/* 19ED20 80270440 468010A0 */ cvt.s.w $f2, $f2 +/* 19ED24 80270444 46020000 */ add.s $f0, $f0, $f2 +/* 19ED28 80270448 8E420070 */ lw $v0, 0x70($s2) +/* 19ED2C 8027044C 3C014120 */ lui $at, 0x4120 +/* 19ED30 80270450 44811000 */ mtc1 $at, $f2 +/* 19ED34 80270454 2443FFFF */ addiu $v1, $v0, -1 +/* 19ED38 80270458 2C620005 */ sltiu $v0, $v1, 5 +/* 19ED3C 8027045C 10400063 */ beqz $v0, .L802705EC +/* 19ED40 80270460 46020580 */ add.s $f22, $f0, $f2 +/* 19ED44 80270464 00031080 */ sll $v0, $v1, 2 +/* 19ED48 80270468 3C01802A */ lui $at, 0x802a +/* 19ED4C 8027046C 00220821 */ addu $at, $at, $v0 +/* 19ED50 80270470 8C22D820 */ lw $v0, -0x27e0($at) +/* 19ED54 80270474 00400008 */ jr $v0 +/* 19ED58 80270478 00000000 */ nop +/* 19ED5C 8027047C 8E42007C */ lw $v0, 0x7c($s2) +/* 19ED60 80270480 1440004D */ bnez $v0, .L802705B8 +/* 19ED64 80270484 2442FFFF */ addiu $v0, $v0, -1 +/* 19ED68 80270488 24040002 */ addiu $a0, $zero, 2 +/* 19ED6C 8027048C 44055000 */ mfc1 $a1, $f10 +/* 19ED70 80270490 44063000 */ mfc1 $a2, $f6 +/* 19ED74 80270494 44074000 */ mfc1 $a3, $f8 +/* 19ED78 80270498 3C013F80 */ lui $at, 0x3f80 +/* 19ED7C 8027049C 44810000 */ mtc1 $at, $f0 +/* 19ED80 802704A0 2410001E */ addiu $s0, $zero, 0x1e +/* 19ED84 802704A4 AFB00014 */ sw $s0, 0x14($sp) +/* 19ED88 802704A8 0C01C2EC */ jal func_80070BB0 +/* 19ED8C 802704AC E7A00010 */ swc1 $f0, 0x10($sp) +/* 19ED90 802704B0 0C0938F6 */ jal func_8024E3D8 +/* 19ED94 802704B4 24040013 */ addiu $a0, $zero, 0x13 +/* 19ED98 802704B8 24020002 */ addiu $v0, $zero, 2 +/* 19ED9C 802704BC AE50007C */ sw $s0, 0x7c($s2) +/* 19EDA0 802704C0 0809C17B */ j func_802705EC +/* 19EDA4 802704C4 AE420070 */ sw $v0, 0x70($s2) + +/* 19EDA8 802704C8 8E42007C */ lw $v0, 0x7c($s2) +/* 19EDAC 802704CC 1440003A */ bnez $v0, .L802705B8 +/* 19EDB0 802704D0 2442FFFF */ addiu $v0, $v0, -1 +/* 19EDB4 802704D4 0200202D */ daddu $a0, $s0, $zero +/* 19EDB8 802704D8 0C09DC58 */ jal dispatch_event_actor +/* 19EDBC 802704DC 2405003F */ addiu $a1, $zero, 0x3f +/* 19EDC0 802704E0 0C093903 */ jal func_8024E40C +/* 19EDC4 802704E4 24040002 */ addiu $a0, $zero, 2 +/* 19EDC8 802704E8 0C093936 */ jal move_cam_over +/* 19EDCC 802704EC 2404000F */ addiu $a0, $zero, 0xf +/* 19EDD0 802704F0 92020222 */ lbu $v0, 0x222($s0) +/* 19EDD4 802704F4 24030001 */ addiu $v1, $zero, 1 +/* 19EDD8 802704F8 A2030220 */ sb $v1, 0x220($s0) +/* 19EDDC 802704FC 00511021 */ addu $v0, $v0, $s1 +/* 19EDE0 80270500 A2020222 */ sb $v0, 0x222($s0) +/* 19EDE4 80270504 00021600 */ sll $v0, $v0, 0x18 +/* 19EDE8 80270508 00021603 */ sra $v0, $v0, 0x18 +/* 19EDEC 8027050C 28420015 */ slti $v0, $v0, 0x15 +/* 19EDF0 80270510 14400003 */ bnez $v0, .L80270520 +/* 19EDF4 80270514 26240005 */ addiu $a0, $s1, 5 +/* 19EDF8 80270518 24020014 */ addiu $v0, $zero, 0x14 +/* 19EDFC 8027051C A2020222 */ sb $v0, 0x222($s0) +.L80270520: +/* 19EE00 80270520 4405C000 */ mfc1 $a1, $f24 +/* 19EE04 80270524 4406A000 */ mfc1 $a2, $f20 +/* 19EE08 80270528 4407B000 */ mfc1 $a3, $f22 +/* 19EE0C 8027052C 3C013F80 */ lui $at, 0x3f80 +/* 19EE10 80270530 44810000 */ mtc1 $at, $f0 +/* 19EE14 80270534 2402003C */ addiu $v0, $zero, 0x3c +/* 19EE18 80270538 AFA20014 */ sw $v0, 0x14($sp) +/* 19EE1C 8027053C 0C01C634 */ jal func_800718D0 +/* 19EE20 80270540 E7A00010 */ swc1 $f0, 0x10($sp) +/* 19EE24 80270544 2402000F */ addiu $v0, $zero, 0xf +/* 19EE28 80270548 AE42007C */ sw $v0, 0x7c($s2) +/* 19EE2C 8027054C 24020003 */ addiu $v0, $zero, 3 +/* 19EE30 80270550 0809C17B */ j func_802705EC +/* 19EE34 80270554 AE420070 */ sw $v0, 0x70($s2) + +/* 19EE38 80270558 8E42007C */ lw $v0, 0x7c($s2) +/* 19EE3C 8027055C 14400016 */ bnez $v0, .L802705B8 +/* 19EE40 80270560 2442FFFF */ addiu $v0, $v0, -1 +/* 19EE44 80270564 2404001E */ addiu $a0, $zero, 0x1e +/* 19EE48 80270568 2405003C */ addiu $a1, $zero, 0x3c +/* 19EE4C 8027056C 0C093E81 */ jal show_variable_battle_message +/* 19EE50 80270570 0220302D */ daddu $a2, $s1, $zero +/* 19EE54 80270574 24020004 */ addiu $v0, $zero, 4 +/* 19EE58 80270578 0809C17B */ j func_802705EC +/* 19EE5C 8027057C AE420070 */ sw $v0, 0x70($s2) + +/* 19EE60 80270580 0C093EAD */ jal is_popup_displayed +/* 19EE64 80270584 00000000 */ nop +/* 19EE68 80270588 14400019 */ bnez $v0, .L802705F0 +/* 19EE6C 8027058C 0000102D */ daddu $v0, $zero, $zero +/* 19EE70 80270590 0C093903 */ jal func_8024E40C +/* 19EE74 80270594 24040002 */ addiu $a0, $zero, 2 +/* 19EE78 80270598 2402000A */ addiu $v0, $zero, 0xa +/* 19EE7C 8027059C AE42007C */ sw $v0, 0x7c($s2) +/* 19EE80 802705A0 24020005 */ addiu $v0, $zero, 5 +/* 19EE84 802705A4 0809C17B */ j func_802705EC +/* 19EE88 802705A8 AE420070 */ sw $v0, 0x70($s2) + +/* 19EE8C 802705AC 8E42007C */ lw $v0, 0x7c($s2) +/* 19EE90 802705B0 10400003 */ beqz $v0, .L802705C0 +/* 19EE94 802705B4 2442FFFF */ addiu $v0, $v0, -1 +.L802705B8: +/* 19EE98 802705B8 0809C17B */ j func_802705EC +/* 19EE9C 802705BC AE42007C */ sw $v0, 0x7c($s2) + +.L802705C0: +/* 19EEA0 802705C0 8E0201D8 */ lw $v0, 0x1d8($s0) +/* 19EEA4 802705C4 10400005 */ beqz $v0, .L802705DC +/* 19EEA8 802705C8 00000000 */ nop +/* 19EEAC 802705CC 0C0B1059 */ jal does_script_exist +/* 19EEB0 802705D0 8E0401E8 */ lw $a0, 0x1e8($s0) +/* 19EEB4 802705D4 14400006 */ bnez $v0, .L802705F0 +/* 19EEB8 802705D8 0000102D */ daddu $v0, $zero, $zero +.L802705DC: +/* 19EEBC 802705DC 3C01802A */ lui $at, 0x802a +/* 19EEC0 802705E0 A020FBD4 */ sb $zero, -0x42c($at) +/* 19EEC4 802705E4 0809C17C */ j func_802705F0 +/* 19EEC8 802705E8 24020002 */ addiu $v0, $zero, 2 + +func_802705EC: +.L802705EC: +/* 19EECC 802705EC 0000102D */ daddu $v0, $zero, $zero +func_802705F0: +.L802705F0: +/* 19EED0 802705F0 8FBF0024 */ lw $ra, 0x24($sp) +/* 19EED4 802705F4 8FB20020 */ lw $s2, 0x20($sp) +/* 19EED8 802705F8 8FB1001C */ lw $s1, 0x1c($sp) +/* 19EEDC 802705FC 8FB00018 */ lw $s0, 0x18($sp) +/* 19EEE0 80270600 D7B80038 */ ldc1 $f24, 0x38($sp) +/* 19EEE4 80270604 D7B60030 */ ldc1 $f22, 0x30($sp) +/* 19EEE8 80270608 D7B40028 */ ldc1 $f20, 0x28($sp) +/* 19EEEC 8027060C 03E00008 */ jr $ra +/* 19EEF0 80270610 27BD0040 */ addiu $sp, $sp, 0x40 + +VanishActor: +/* 19EEF4 80270614 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 19EEF8 80270618 AFB20020 */ sw $s2, 0x20($sp) +/* 19EEFC 8027061C 0080902D */ daddu $s2, $a0, $zero +/* 19EF00 80270620 AFBF0024 */ sw $ra, 0x24($sp) +/* 19EF04 80270624 AFB1001C */ sw $s1, 0x1c($sp) +/* 19EF08 80270628 AFB00018 */ sw $s0, 0x18($sp) +/* 19EF0C 8027062C 8E51000C */ lw $s1, 0xc($s2) +/* 19EF10 80270630 54A00001 */ bnezl $a1, .L80270638 +/* 19EF14 80270634 AE400070 */ sw $zero, 0x70($s2) +.L80270638: +/* 19EF18 80270638 8E420070 */ lw $v0, 0x70($s2) +/* 19EF1C 8027063C 1440002D */ bnez $v0, .L802706F4 +/* 19EF20 80270640 00000000 */ nop +/* 19EF24 80270644 8E250000 */ lw $a1, ($s1) +/* 19EF28 80270648 26310004 */ addiu $s1, $s1, 4 +/* 19EF2C 8027064C 0C0B1EAF */ jal get_variable +/* 19EF30 80270650 0240202D */ daddu $a0, $s2, $zero +/* 19EF34 80270654 0040802D */ daddu $s0, $v0, $zero +/* 19EF38 80270658 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19EF3C 8027065C 16020002 */ bne $s0, $v0, .L80270668 +/* 19EF40 80270660 00000000 */ nop +/* 19EF44 80270664 8E500148 */ lw $s0, 0x148($s2) +.L80270668: +/* 19EF48 80270668 8E250000 */ lw $a1, ($s1) +/* 19EF4C 8027066C 0C0B1EAF */ jal get_variable +/* 19EF50 80270670 0240202D */ daddu $a0, $s2, $zero +/* 19EF54 80270674 0040882D */ daddu $s1, $v0, $zero +/* 19EF58 80270678 0C09A75B */ jal get_actor +/* 19EF5C 8027067C 0200202D */ daddu $a0, $s0, $zero +/* 19EF60 80270680 0040802D */ daddu $s0, $v0, $zero +/* 19EF64 80270684 24040008 */ addiu $a0, $zero, 8 +/* 19EF68 80270688 AE500074 */ sw $s0, 0x74($s2) +/* 19EF6C 8027068C 0C093903 */ jal func_8024E40C +/* 19EF70 80270690 AE510078 */ sw $s1, 0x78($s2) +/* 19EF74 80270694 0C093978 */ jal set_cam_zoffset +/* 19EF78 80270698 2404000C */ addiu $a0, $zero, 0xc +/* 19EF7C 8027069C 86040192 */ lh $a0, 0x192($s0) +/* 19EF80 802706A0 0C09390F */ jal cam_target_actor +/* 19EF84 802706A4 00000000 */ nop +/* 19EF88 802706A8 0C093965 */ jal set_cam_zoom +/* 19EF8C 802706AC 240400FA */ addiu $a0, $zero, 0xfa +/* 19EF90 802706B0 0C093936 */ jal move_cam_over +/* 19EF94 802706B4 2404000A */ addiu $a0, $zero, 0xa +/* 19EF98 802706B8 0C093983 */ jal func_8024E60C +/* 19EF9C 802706BC 00000000 */ nop +/* 19EFA0 802706C0 8E020000 */ lw $v0, ($s0) +/* 19EFA4 802706C4 30420800 */ andi $v0, $v0, 0x800 +/* 19EFA8 802706C8 10400004 */ beqz $v0, .L802706DC +/* 19EFAC 802706CC 24020001 */ addiu $v0, $zero, 1 +/* 19EFB0 802706D0 0C093978 */ jal set_cam_zoffset +/* 19EFB4 802706D4 0000202D */ daddu $a0, $zero, $zero +/* 19EFB8 802706D8 24020001 */ addiu $v0, $zero, 1 +.L802706DC: +/* 19EFBC 802706DC 3C01802A */ lui $at, 0x802a +/* 19EFC0 802706E0 A022FBD4 */ sb $v0, -0x42c($at) +/* 19EFC4 802706E4 24020005 */ addiu $v0, $zero, 5 +/* 19EFC8 802706E8 AE42007C */ sw $v0, 0x7c($s2) +/* 19EFCC 802706EC 24020001 */ addiu $v0, $zero, 1 +/* 19EFD0 802706F0 AE420070 */ sw $v0, 0x70($s2) +.L802706F4: +/* 19EFD4 802706F4 0C09A75B */ jal get_actor +/* 19EFD8 802706F8 8E440148 */ lw $a0, 0x148($s2) +/* 19EFDC 802706FC 8E500074 */ lw $s0, 0x74($s2) +/* 19EFE0 80270700 8E510078 */ lw $s1, 0x78($s2) +/* 19EFE4 80270704 86020150 */ lh $v0, 0x150($s0) +/* 19EFE8 80270708 8E030000 */ lw $v1, ($s0) +/* 19EFEC 8027070C C6000144 */ lwc1 $f0, 0x144($s0) +/* 19EFF0 80270710 44821000 */ mtc1 $v0, $f2 +/* 19EFF4 80270714 00000000 */ nop +/* 19EFF8 80270718 468010A0 */ cvt.s.w $f2, $f2 +/* 19EFFC 8027071C 30620800 */ andi $v0, $v1, 0x800 +/* 19F000 80270720 1040000E */ beqz $v0, .L8027075C +/* 19F004 80270724 46020180 */ add.s $f6, $f0, $f2 +/* 19F008 80270728 86020152 */ lh $v0, 0x152($s0) +/* 19F00C 8027072C C6020148 */ lwc1 $f2, 0x148($s0) +/* 19F010 80270730 44820000 */ mtc1 $v0, $f0 +/* 19F014 80270734 00000000 */ nop +/* 19F018 80270738 46800020 */ cvt.s.w $f0, $f0 +/* 19F01C 8027073C 92020191 */ lbu $v0, 0x191($s0) +/* 19F020 80270740 46001080 */ add.s $f2, $f2, $f0 +/* 19F024 80270744 00021042 */ srl $v0, $v0, 1 +/* 19F028 80270748 44820000 */ mtc1 $v0, $f0 +/* 19F02C 8027074C 00000000 */ nop +/* 19F030 80270750 46800020 */ cvt.s.w $f0, $f0 +/* 19F034 80270754 0809C1F2 */ j func_802707C8 +/* 19F038 80270758 46001101 */ sub.s $f4, $f2, $f0 + +.L8027075C: +/* 19F03C 8027075C 30628000 */ andi $v0, $v1, 0x8000 +/* 19F040 80270760 1440000E */ bnez $v0, .L8027079C +/* 19F044 80270764 00000000 */ nop +/* 19F048 80270768 86020152 */ lh $v0, 0x152($s0) +/* 19F04C 8027076C C6020148 */ lwc1 $f2, 0x148($s0) +/* 19F050 80270770 44820000 */ mtc1 $v0, $f0 +/* 19F054 80270774 00000000 */ nop +/* 19F058 80270778 46800020 */ cvt.s.w $f0, $f0 +/* 19F05C 8027077C 92020191 */ lbu $v0, 0x191($s0) +/* 19F060 80270780 46001080 */ add.s $f2, $f2, $f0 +/* 19F064 80270784 00021042 */ srl $v0, $v0, 1 +/* 19F068 80270788 44820000 */ mtc1 $v0, $f0 +/* 19F06C 8027078C 00000000 */ nop +/* 19F070 80270790 46800020 */ cvt.s.w $f0, $f0 +/* 19F074 80270794 0809C1F2 */ j func_802707C8 +/* 19F078 80270798 46020100 */ add.s $f4, $f0, $f2 + +.L8027079C: +/* 19F07C 8027079C 86020152 */ lh $v0, 0x152($s0) +/* 19F080 802707A0 C6000148 */ lwc1 $f0, 0x148($s0) +/* 19F084 802707A4 44821000 */ mtc1 $v0, $f2 +/* 19F088 802707A8 00000000 */ nop +/* 19F08C 802707AC 468010A0 */ cvt.s.w $f2, $f2 +/* 19F090 802707B0 92020191 */ lbu $v0, 0x191($s0) +/* 19F094 802707B4 46020000 */ add.s $f0, $f0, $f2 +/* 19F098 802707B8 44821000 */ mtc1 $v0, $f2 +/* 19F09C 802707BC 00000000 */ nop +/* 19F0A0 802707C0 468010A0 */ cvt.s.w $f2, $f2 +/* 19F0A4 802707C4 46020100 */ add.s $f4, $f0, $f2 +func_802707C8: +/* 19F0A8 802707C8 86020154 */ lh $v0, 0x154($s0) +/* 19F0AC 802707CC C600014C */ lwc1 $f0, 0x14c($s0) +/* 19F0B0 802707D0 44821000 */ mtc1 $v0, $f2 +/* 19F0B4 802707D4 00000000 */ nop +/* 19F0B8 802707D8 468010A0 */ cvt.s.w $f2, $f2 +/* 19F0BC 802707DC 46020000 */ add.s $f0, $f0, $f2 +/* 19F0C0 802707E0 8E420070 */ lw $v0, 0x70($s2) +/* 19F0C4 802707E4 3C014120 */ lui $at, 0x4120 +/* 19F0C8 802707E8 44811000 */ mtc1 $at, $f2 +/* 19F0CC 802707EC 2443FFFF */ addiu $v1, $v0, -1 +/* 19F0D0 802707F0 2C620005 */ sltiu $v0, $v1, 5 +/* 19F0D4 802707F4 10400052 */ beqz $v0, .L80270940 +/* 19F0D8 802707F8 46020080 */ add.s $f2, $f0, $f2 +/* 19F0DC 802707FC 00031080 */ sll $v0, $v1, 2 +/* 19F0E0 80270800 3C01802A */ lui $at, 0x802a +/* 19F0E4 80270804 00220821 */ addu $at, $at, $v0 +/* 19F0E8 80270808 8C22D838 */ lw $v0, -0x27c8($at) +/* 19F0EC 8027080C 00400008 */ jr $v0 +/* 19F0F0 80270810 00000000 */ nop +/* 19F0F4 80270814 8E42007C */ lw $v0, 0x7c($s2) +/* 19F0F8 80270818 1440003C */ bnez $v0, .L8027090C +/* 19F0FC 8027081C 2442FFFF */ addiu $v0, $v0, -1 +/* 19F100 80270820 24040003 */ addiu $a0, $zero, 3 +/* 19F104 80270824 44053000 */ mfc1 $a1, $f6 +/* 19F108 80270828 44062000 */ mfc1 $a2, $f4 +/* 19F10C 8027082C 3C013F80 */ lui $at, 0x3f80 +/* 19F110 80270830 44810000 */ mtc1 $at, $f0 +/* 19F114 80270834 44071000 */ mfc1 $a3, $f2 +/* 19F118 80270838 2410001E */ addiu $s0, $zero, 0x1e +/* 19F11C 8027083C AFB00014 */ sw $s0, 0x14($sp) +/* 19F120 80270840 0C01C2EC */ jal func_80070BB0 +/* 19F124 80270844 E7A00010 */ swc1 $f0, 0x10($sp) +/* 19F128 80270848 0C0938F6 */ jal func_8024E3D8 +/* 19F12C 8027084C 24040013 */ addiu $a0, $zero, 0x13 +/* 19F130 80270850 24020002 */ addiu $v0, $zero, 2 +/* 19F134 80270854 AE50007C */ sw $s0, 0x7c($s2) +/* 19F138 80270858 0809C250 */ j func_80270940 +/* 19F13C 8027085C AE420070 */ sw $v0, 0x70($s2) + +/* 19F140 80270860 8E42007C */ lw $v0, 0x7c($s2) +/* 19F144 80270864 14400029 */ bnez $v0, .L8027090C +/* 19F148 80270868 2442FFFF */ addiu $v0, $v0, -1 +/* 19F14C 8027086C 0200202D */ daddu $a0, $s0, $zero +/* 19F150 80270870 0C09DC58 */ jal dispatch_event_actor +/* 19F154 80270874 2405003F */ addiu $a1, $zero, 0x3f +/* 19F158 80270878 0C093903 */ jal func_8024E40C +/* 19F15C 8027087C 24040002 */ addiu $a0, $zero, 2 +/* 19F160 80270880 0C093936 */ jal move_cam_over +/* 19F164 80270884 2404000F */ addiu $a0, $zero, 0xf +/* 19F168 80270888 0200202D */ daddu $a0, $s0, $zero +/* 19F16C 8027088C 2405000E */ addiu $a1, $zero, 0xe +/* 19F170 80270890 0C0997D0 */ jal inflict_status +/* 19F174 80270894 0220302D */ daddu $a2, $s1, $zero +/* 19F178 80270898 2402000F */ addiu $v0, $zero, 0xf +/* 19F17C 8027089C AE42007C */ sw $v0, 0x7c($s2) +/* 19F180 802708A0 24020003 */ addiu $v0, $zero, 3 +/* 19F184 802708A4 0809C250 */ j func_80270940 +/* 19F188 802708A8 AE420070 */ sw $v0, 0x70($s2) + +/* 19F18C 802708AC 8E42007C */ lw $v0, 0x7c($s2) +/* 19F190 802708B0 14400016 */ bnez $v0, .L8027090C +/* 19F194 802708B4 2442FFFF */ addiu $v0, $v0, -1 +/* 19F198 802708B8 24040021 */ addiu $a0, $zero, 0x21 +/* 19F19C 802708BC 2405003C */ addiu $a1, $zero, 0x3c +/* 19F1A0 802708C0 0C093E81 */ jal show_variable_battle_message +/* 19F1A4 802708C4 0220302D */ daddu $a2, $s1, $zero +/* 19F1A8 802708C8 24020004 */ addiu $v0, $zero, 4 +/* 19F1AC 802708CC 0809C250 */ j func_80270940 +/* 19F1B0 802708D0 AE420070 */ sw $v0, 0x70($s2) + +/* 19F1B4 802708D4 0C093EAD */ jal is_popup_displayed +/* 19F1B8 802708D8 00000000 */ nop +/* 19F1BC 802708DC 14400019 */ bnez $v0, .L80270944 +/* 19F1C0 802708E0 0000102D */ daddu $v0, $zero, $zero +/* 19F1C4 802708E4 0C093903 */ jal func_8024E40C +/* 19F1C8 802708E8 24040002 */ addiu $a0, $zero, 2 +/* 19F1CC 802708EC 2402000A */ addiu $v0, $zero, 0xa +/* 19F1D0 802708F0 AE42007C */ sw $v0, 0x7c($s2) +/* 19F1D4 802708F4 24020005 */ addiu $v0, $zero, 5 +/* 19F1D8 802708F8 0809C250 */ j func_80270940 +/* 19F1DC 802708FC AE420070 */ sw $v0, 0x70($s2) + +/* 19F1E0 80270900 8E42007C */ lw $v0, 0x7c($s2) +/* 19F1E4 80270904 10400003 */ beqz $v0, .L80270914 +/* 19F1E8 80270908 2442FFFF */ addiu $v0, $v0, -1 +.L8027090C: +/* 19F1EC 8027090C 0809C250 */ j func_80270940 +/* 19F1F0 80270910 AE42007C */ sw $v0, 0x7c($s2) + +.L80270914: +/* 19F1F4 80270914 8E0201D8 */ lw $v0, 0x1d8($s0) +/* 19F1F8 80270918 10400005 */ beqz $v0, .L80270930 +/* 19F1FC 8027091C 00000000 */ nop +/* 19F200 80270920 0C0B1059 */ jal does_script_exist +/* 19F204 80270924 8E0401E8 */ lw $a0, 0x1e8($s0) +/* 19F208 80270928 14400006 */ bnez $v0, .L80270944 +/* 19F20C 8027092C 0000102D */ daddu $v0, $zero, $zero +.L80270930: +/* 19F210 80270930 3C01802A */ lui $at, 0x802a +/* 19F214 80270934 A020FBD4 */ sb $zero, -0x42c($at) +/* 19F218 80270938 0809C251 */ j func_80270944 +/* 19F21C 8027093C 24020002 */ addiu $v0, $zero, 2 + +func_80270940: +.L80270940: +/* 19F220 80270940 0000102D */ daddu $v0, $zero, $zero +func_80270944: +.L80270944: +/* 19F224 80270944 8FBF0024 */ lw $ra, 0x24($sp) +/* 19F228 80270948 8FB20020 */ lw $s2, 0x20($sp) +/* 19F22C 8027094C 8FB1001C */ lw $s1, 0x1c($sp) +/* 19F230 80270950 8FB00018 */ lw $s0, 0x18($sp) +/* 19F234 80270954 03E00008 */ jr $ra +/* 19F238 80270958 27BD0028 */ addiu $sp, $sp, 0x28 + +ElectrifyActor: +/* 19F23C 8027095C 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 19F240 80270960 AFB20020 */ sw $s2, 0x20($sp) +/* 19F244 80270964 0080902D */ daddu $s2, $a0, $zero +/* 19F248 80270968 AFBF0024 */ sw $ra, 0x24($sp) +/* 19F24C 8027096C AFB1001C */ sw $s1, 0x1c($sp) +/* 19F250 80270970 AFB00018 */ sw $s0, 0x18($sp) +/* 19F254 80270974 8E51000C */ lw $s1, 0xc($s2) +/* 19F258 80270978 54A00001 */ bnezl $a1, .L80270980 +/* 19F25C 8027097C AE400070 */ sw $zero, 0x70($s2) +.L80270980: +/* 19F260 80270980 8E420070 */ lw $v0, 0x70($s2) +/* 19F264 80270984 1440002D */ bnez $v0, .L80270A3C +/* 19F268 80270988 00000000 */ nop +/* 19F26C 8027098C 8E250000 */ lw $a1, ($s1) +/* 19F270 80270990 26310004 */ addiu $s1, $s1, 4 +/* 19F274 80270994 0C0B1EAF */ jal get_variable +/* 19F278 80270998 0240202D */ daddu $a0, $s2, $zero +/* 19F27C 8027099C 0040802D */ daddu $s0, $v0, $zero +/* 19F280 802709A0 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19F284 802709A4 16020002 */ bne $s0, $v0, .L802709B0 +/* 19F288 802709A8 00000000 */ nop +/* 19F28C 802709AC 8E500148 */ lw $s0, 0x148($s2) +.L802709B0: +/* 19F290 802709B0 8E250000 */ lw $a1, ($s1) +/* 19F294 802709B4 0C0B1EAF */ jal get_variable +/* 19F298 802709B8 0240202D */ daddu $a0, $s2, $zero +/* 19F29C 802709BC 0040882D */ daddu $s1, $v0, $zero +/* 19F2A0 802709C0 0C09A75B */ jal get_actor +/* 19F2A4 802709C4 0200202D */ daddu $a0, $s0, $zero +/* 19F2A8 802709C8 0040802D */ daddu $s0, $v0, $zero +/* 19F2AC 802709CC 24040008 */ addiu $a0, $zero, 8 +/* 19F2B0 802709D0 AE500074 */ sw $s0, 0x74($s2) +/* 19F2B4 802709D4 0C093903 */ jal func_8024E40C +/* 19F2B8 802709D8 AE510078 */ sw $s1, 0x78($s2) +/* 19F2BC 802709DC 0C093978 */ jal set_cam_zoffset +/* 19F2C0 802709E0 2404000C */ addiu $a0, $zero, 0xc +/* 19F2C4 802709E4 86040192 */ lh $a0, 0x192($s0) +/* 19F2C8 802709E8 0C09390F */ jal cam_target_actor +/* 19F2CC 802709EC 00000000 */ nop +/* 19F2D0 802709F0 0C093965 */ jal set_cam_zoom +/* 19F2D4 802709F4 240400FA */ addiu $a0, $zero, 0xfa +/* 19F2D8 802709F8 0C093936 */ jal move_cam_over +/* 19F2DC 802709FC 2404000A */ addiu $a0, $zero, 0xa +/* 19F2E0 80270A00 0C093983 */ jal func_8024E60C +/* 19F2E4 80270A04 00000000 */ nop +/* 19F2E8 80270A08 8E020000 */ lw $v0, ($s0) +/* 19F2EC 80270A0C 30420800 */ andi $v0, $v0, 0x800 +/* 19F2F0 80270A10 10400004 */ beqz $v0, .L80270A24 +/* 19F2F4 80270A14 24020001 */ addiu $v0, $zero, 1 +/* 19F2F8 80270A18 0C093978 */ jal set_cam_zoffset +/* 19F2FC 80270A1C 0000202D */ daddu $a0, $zero, $zero +/* 19F300 80270A20 24020001 */ addiu $v0, $zero, 1 +.L80270A24: +/* 19F304 80270A24 3C01802A */ lui $at, 0x802a +/* 19F308 80270A28 A022FBD4 */ sb $v0, -0x42c($at) +/* 19F30C 80270A2C 24020005 */ addiu $v0, $zero, 5 +/* 19F310 80270A30 AE42007C */ sw $v0, 0x7c($s2) +/* 19F314 80270A34 24020001 */ addiu $v0, $zero, 1 +/* 19F318 80270A38 AE420070 */ sw $v0, 0x70($s2) +.L80270A3C: +/* 19F31C 80270A3C 0C09A75B */ jal get_actor +/* 19F320 80270A40 8E440148 */ lw $a0, 0x148($s2) +/* 19F324 80270A44 8E500074 */ lw $s0, 0x74($s2) +/* 19F328 80270A48 8E510078 */ lw $s1, 0x78($s2) +/* 19F32C 80270A4C 86020150 */ lh $v0, 0x150($s0) +/* 19F330 80270A50 8E030000 */ lw $v1, ($s0) +/* 19F334 80270A54 C6000144 */ lwc1 $f0, 0x144($s0) +/* 19F338 80270A58 44821000 */ mtc1 $v0, $f2 +/* 19F33C 80270A5C 00000000 */ nop +/* 19F340 80270A60 468010A0 */ cvt.s.w $f2, $f2 +/* 19F344 80270A64 30620800 */ andi $v0, $v1, 0x800 +/* 19F348 80270A68 1040000E */ beqz $v0, .L80270AA4 +/* 19F34C 80270A6C 46020180 */ add.s $f6, $f0, $f2 +/* 19F350 80270A70 86020152 */ lh $v0, 0x152($s0) +/* 19F354 80270A74 C6020148 */ lwc1 $f2, 0x148($s0) +/* 19F358 80270A78 44820000 */ mtc1 $v0, $f0 +/* 19F35C 80270A7C 00000000 */ nop +/* 19F360 80270A80 46800020 */ cvt.s.w $f0, $f0 +/* 19F364 80270A84 92020191 */ lbu $v0, 0x191($s0) +/* 19F368 80270A88 46001080 */ add.s $f2, $f2, $f0 +/* 19F36C 80270A8C 00021042 */ srl $v0, $v0, 1 +/* 19F370 80270A90 44820000 */ mtc1 $v0, $f0 +/* 19F374 80270A94 00000000 */ nop +/* 19F378 80270A98 46800020 */ cvt.s.w $f0, $f0 +/* 19F37C 80270A9C 0809C2C4 */ j func_80270B10 +/* 19F380 80270AA0 46001101 */ sub.s $f4, $f2, $f0 + +.L80270AA4: +/* 19F384 80270AA4 30628000 */ andi $v0, $v1, 0x8000 +/* 19F388 80270AA8 1440000E */ bnez $v0, .L80270AE4 +/* 19F38C 80270AAC 00000000 */ nop +/* 19F390 80270AB0 86020152 */ lh $v0, 0x152($s0) +/* 19F394 80270AB4 C6020148 */ lwc1 $f2, 0x148($s0) +/* 19F398 80270AB8 44820000 */ mtc1 $v0, $f0 +/* 19F39C 80270ABC 00000000 */ nop +/* 19F3A0 80270AC0 46800020 */ cvt.s.w $f0, $f0 +/* 19F3A4 80270AC4 92020191 */ lbu $v0, 0x191($s0) +/* 19F3A8 80270AC8 46001080 */ add.s $f2, $f2, $f0 +/* 19F3AC 80270ACC 00021042 */ srl $v0, $v0, 1 +/* 19F3B0 80270AD0 44820000 */ mtc1 $v0, $f0 +/* 19F3B4 80270AD4 00000000 */ nop +/* 19F3B8 80270AD8 46800020 */ cvt.s.w $f0, $f0 +/* 19F3BC 80270ADC 0809C2C4 */ j func_80270B10 +/* 19F3C0 80270AE0 46020100 */ add.s $f4, $f0, $f2 + +.L80270AE4: +/* 19F3C4 80270AE4 86020152 */ lh $v0, 0x152($s0) +/* 19F3C8 80270AE8 C6000148 */ lwc1 $f0, 0x148($s0) +/* 19F3CC 80270AEC 44821000 */ mtc1 $v0, $f2 +/* 19F3D0 80270AF0 00000000 */ nop +/* 19F3D4 80270AF4 468010A0 */ cvt.s.w $f2, $f2 +/* 19F3D8 80270AF8 92020191 */ lbu $v0, 0x191($s0) +/* 19F3DC 80270AFC 46020000 */ add.s $f0, $f0, $f2 +/* 19F3E0 80270B00 44821000 */ mtc1 $v0, $f2 +/* 19F3E4 80270B04 00000000 */ nop +/* 19F3E8 80270B08 468010A0 */ cvt.s.w $f2, $f2 +/* 19F3EC 80270B0C 46020100 */ add.s $f4, $f0, $f2 +func_80270B10: +/* 19F3F0 80270B10 86020154 */ lh $v0, 0x154($s0) +/* 19F3F4 80270B14 C600014C */ lwc1 $f0, 0x14c($s0) +/* 19F3F8 80270B18 44821000 */ mtc1 $v0, $f2 +/* 19F3FC 80270B1C 00000000 */ nop +/* 19F400 80270B20 468010A0 */ cvt.s.w $f2, $f2 +/* 19F404 80270B24 46020000 */ add.s $f0, $f0, $f2 +/* 19F408 80270B28 8E420070 */ lw $v0, 0x70($s2) +/* 19F40C 80270B2C 3C014120 */ lui $at, 0x4120 +/* 19F410 80270B30 44811000 */ mtc1 $at, $f2 +/* 19F414 80270B34 2443FFFF */ addiu $v1, $v0, -1 +/* 19F418 80270B38 2C620005 */ sltiu $v0, $v1, 5 +/* 19F41C 80270B3C 10400052 */ beqz $v0, .L80270C88 +/* 19F420 80270B40 46020080 */ add.s $f2, $f0, $f2 +/* 19F424 80270B44 00031080 */ sll $v0, $v1, 2 +/* 19F428 80270B48 3C01802A */ lui $at, 0x802a +/* 19F42C 80270B4C 00220821 */ addu $at, $at, $v0 +/* 19F430 80270B50 8C22D850 */ lw $v0, -0x27b0($at) +/* 19F434 80270B54 00400008 */ jr $v0 +/* 19F438 80270B58 00000000 */ nop +/* 19F43C 80270B5C 8E42007C */ lw $v0, 0x7c($s2) +/* 19F440 80270B60 1440003C */ bnez $v0, .L80270C54 +/* 19F444 80270B64 2442FFFF */ addiu $v0, $v0, -1 +/* 19F448 80270B68 24040008 */ addiu $a0, $zero, 8 +/* 19F44C 80270B6C 44053000 */ mfc1 $a1, $f6 +/* 19F450 80270B70 44062000 */ mfc1 $a2, $f4 +/* 19F454 80270B74 3C013F80 */ lui $at, 0x3f80 +/* 19F458 80270B78 44810000 */ mtc1 $at, $f0 +/* 19F45C 80270B7C 44071000 */ mfc1 $a3, $f2 +/* 19F460 80270B80 2410001E */ addiu $s0, $zero, 0x1e +/* 19F464 80270B84 AFB00014 */ sw $s0, 0x14($sp) +/* 19F468 80270B88 0C01C64C */ jal func_80071930 +/* 19F46C 80270B8C E7A00010 */ swc1 $f0, 0x10($sp) +/* 19F470 80270B90 0C0938F6 */ jal func_8024E3D8 +/* 19F474 80270B94 24040013 */ addiu $a0, $zero, 0x13 +/* 19F478 80270B98 24020002 */ addiu $v0, $zero, 2 +/* 19F47C 80270B9C AE50007C */ sw $s0, 0x7c($s2) +/* 19F480 80270BA0 0809C322 */ j func_80270C88 +/* 19F484 80270BA4 AE420070 */ sw $v0, 0x70($s2) + +/* 19F488 80270BA8 8E42007C */ lw $v0, 0x7c($s2) +/* 19F48C 80270BAC 14400029 */ bnez $v0, .L80270C54 +/* 19F490 80270BB0 2442FFFF */ addiu $v0, $v0, -1 +/* 19F494 80270BB4 0200202D */ daddu $a0, $s0, $zero +/* 19F498 80270BB8 0C09DC58 */ jal dispatch_event_actor +/* 19F49C 80270BBC 2405003F */ addiu $a1, $zero, 0x3f +/* 19F4A0 80270BC0 0C093903 */ jal func_8024E40C +/* 19F4A4 80270BC4 24040002 */ addiu $a0, $zero, 2 +/* 19F4A8 80270BC8 0C093936 */ jal move_cam_over +/* 19F4AC 80270BCC 2404000F */ addiu $a0, $zero, 0xf +/* 19F4B0 80270BD0 0200202D */ daddu $a0, $s0, $zero +/* 19F4B4 80270BD4 2405000B */ addiu $a1, $zero, 0xb +/* 19F4B8 80270BD8 0C0997D0 */ jal inflict_status +/* 19F4BC 80270BDC 0220302D */ daddu $a2, $s1, $zero +/* 19F4C0 80270BE0 2402000F */ addiu $v0, $zero, 0xf +/* 19F4C4 80270BE4 AE42007C */ sw $v0, 0x7c($s2) +/* 19F4C8 80270BE8 24020003 */ addiu $v0, $zero, 3 +/* 19F4CC 80270BEC 0809C322 */ j func_80270C88 +/* 19F4D0 80270BF0 AE420070 */ sw $v0, 0x70($s2) + +/* 19F4D4 80270BF4 8E42007C */ lw $v0, 0x7c($s2) +/* 19F4D8 80270BF8 14400016 */ bnez $v0, .L80270C54 +/* 19F4DC 80270BFC 2442FFFF */ addiu $v0, $v0, -1 +/* 19F4E0 80270C00 24040022 */ addiu $a0, $zero, 0x22 +/* 19F4E4 80270C04 2405003C */ addiu $a1, $zero, 0x3c +/* 19F4E8 80270C08 0C093E81 */ jal show_variable_battle_message +/* 19F4EC 80270C0C 0220302D */ daddu $a2, $s1, $zero +/* 19F4F0 80270C10 24020004 */ addiu $v0, $zero, 4 +/* 19F4F4 80270C14 0809C322 */ j func_80270C88 +/* 19F4F8 80270C18 AE420070 */ sw $v0, 0x70($s2) + +/* 19F4FC 80270C1C 0C093EAD */ jal is_popup_displayed +/* 19F500 80270C20 00000000 */ nop +/* 19F504 80270C24 14400019 */ bnez $v0, .L80270C8C +/* 19F508 80270C28 0000102D */ daddu $v0, $zero, $zero +/* 19F50C 80270C2C 0C093903 */ jal func_8024E40C +/* 19F510 80270C30 24040002 */ addiu $a0, $zero, 2 +/* 19F514 80270C34 2402000A */ addiu $v0, $zero, 0xa +/* 19F518 80270C38 AE42007C */ sw $v0, 0x7c($s2) +/* 19F51C 80270C3C 24020005 */ addiu $v0, $zero, 5 +/* 19F520 80270C40 0809C322 */ j func_80270C88 +/* 19F524 80270C44 AE420070 */ sw $v0, 0x70($s2) + +/* 19F528 80270C48 8E42007C */ lw $v0, 0x7c($s2) +/* 19F52C 80270C4C 10400003 */ beqz $v0, .L80270C5C +/* 19F530 80270C50 2442FFFF */ addiu $v0, $v0, -1 +.L80270C54: +/* 19F534 80270C54 0809C322 */ j func_80270C88 +/* 19F538 80270C58 AE42007C */ sw $v0, 0x7c($s2) + +.L80270C5C: +/* 19F53C 80270C5C 8E0201D8 */ lw $v0, 0x1d8($s0) +/* 19F540 80270C60 10400005 */ beqz $v0, .L80270C78 +/* 19F544 80270C64 00000000 */ nop +/* 19F548 80270C68 0C0B1059 */ jal does_script_exist +/* 19F54C 80270C6C 8E0401E8 */ lw $a0, 0x1e8($s0) +/* 19F550 80270C70 14400006 */ bnez $v0, .L80270C8C +/* 19F554 80270C74 0000102D */ daddu $v0, $zero, $zero +.L80270C78: +/* 19F558 80270C78 3C01802A */ lui $at, 0x802a +/* 19F55C 80270C7C A020FBD4 */ sb $zero, -0x42c($at) +/* 19F560 80270C80 0809C323 */ j func_80270C8C +/* 19F564 80270C84 24020002 */ addiu $v0, $zero, 2 + +func_80270C88: +.L80270C88: +/* 19F568 80270C88 0000102D */ daddu $v0, $zero, $zero +func_80270C8C: +.L80270C8C: +/* 19F56C 80270C8C 8FBF0024 */ lw $ra, 0x24($sp) +/* 19F570 80270C90 8FB20020 */ lw $s2, 0x20($sp) +/* 19F574 80270C94 8FB1001C */ lw $s1, 0x1c($sp) +/* 19F578 80270C98 8FB00018 */ lw $s0, 0x18($sp) +/* 19F57C 80270C9C 03E00008 */ jr $ra +/* 19F580 80270CA0 27BD0028 */ addiu $sp, $sp, 0x28 + +HealActor: +/* 19F584 80270CA4 27BDFFA0 */ addiu $sp, $sp, -0x60 +/* 19F588 80270CA8 AFB20020 */ sw $s2, 0x20($sp) +/* 19F58C 80270CAC 0080902D */ daddu $s2, $a0, $zero +/* 19F590 80270CB0 AFBF0028 */ sw $ra, 0x28($sp) +/* 19F594 80270CB4 AFB30024 */ sw $s3, 0x24($sp) +/* 19F598 80270CB8 AFB1001C */ sw $s1, 0x1c($sp) +/* 19F59C 80270CBC AFB00018 */ sw $s0, 0x18($sp) +/* 19F5A0 80270CC0 F7BE0058 */ sdc1 $f30, 0x58($sp) +/* 19F5A4 80270CC4 F7BC0050 */ sdc1 $f28, 0x50($sp) +/* 19F5A8 80270CC8 F7BA0048 */ sdc1 $f26, 0x48($sp) +/* 19F5AC 80270CCC F7B80040 */ sdc1 $f24, 0x40($sp) +/* 19F5B0 80270CD0 F7B60038 */ sdc1 $f22, 0x38($sp) +/* 19F5B4 80270CD4 F7B40030 */ sdc1 $f20, 0x30($sp) +/* 19F5B8 80270CD8 8E50000C */ lw $s0, 0xc($s2) +/* 19F5BC 80270CDC 54A00001 */ bnezl $a1, .L80270CE4 +/* 19F5C0 80270CE0 AE400070 */ sw $zero, 0x70($s2) +.L80270CE4: +/* 19F5C4 80270CE4 8E420070 */ lw $v0, 0x70($s2) +/* 19F5C8 80270CE8 1440002B */ bnez $v0, .L80270D98 +/* 19F5CC 80270CEC 00000000 */ nop +/* 19F5D0 80270CF0 8E050000 */ lw $a1, ($s0) +/* 19F5D4 80270CF4 26100004 */ addiu $s0, $s0, 4 +/* 19F5D8 80270CF8 0C0B1EAF */ jal get_variable +/* 19F5DC 80270CFC 0240202D */ daddu $a0, $s2, $zero +/* 19F5E0 80270D00 0040882D */ daddu $s1, $v0, $zero +/* 19F5E4 80270D04 2402FF81 */ addiu $v0, $zero, -0x7f +/* 19F5E8 80270D08 16220002 */ bne $s1, $v0, .L80270D14 +/* 19F5EC 80270D0C 00000000 */ nop +/* 19F5F0 80270D10 8E510148 */ lw $s1, 0x148($s2) +.L80270D14: +/* 19F5F4 80270D14 8E050000 */ lw $a1, ($s0) +/* 19F5F8 80270D18 26100004 */ addiu $s0, $s0, 4 +/* 19F5FC 80270D1C 0C0B1EAF */ jal get_variable +/* 19F600 80270D20 0240202D */ daddu $a0, $s2, $zero +/* 19F604 80270D24 0040982D */ daddu $s3, $v0, $zero +/* 19F608 80270D28 8E050000 */ lw $a1, ($s0) +/* 19F60C 80270D2C 0C0B1EAF */ jal get_variable +/* 19F610 80270D30 0240202D */ daddu $a0, $s2, $zero +/* 19F614 80270D34 3C01802A */ lui $at, 0x802a +/* 19F618 80270D38 AC22FBD0 */ sw $v0, -0x430($at) +/* 19F61C 80270D3C 0C09A75B */ jal get_actor +/* 19F620 80270D40 0220202D */ daddu $a0, $s1, $zero +/* 19F624 80270D44 0040802D */ daddu $s0, $v0, $zero +/* 19F628 80270D48 24040008 */ addiu $a0, $zero, 8 +/* 19F62C 80270D4C AE500074 */ sw $s0, 0x74($s2) +/* 19F630 80270D50 0C093903 */ jal func_8024E40C +/* 19F634 80270D54 AE530078 */ sw $s3, 0x78($s2) +/* 19F638 80270D58 0C093978 */ jal set_cam_zoffset +/* 19F63C 80270D5C 2404000C */ addiu $a0, $zero, 0xc +/* 19F640 80270D60 86040192 */ lh $a0, 0x192($s0) +/* 19F644 80270D64 0C09390F */ jal cam_target_actor +/* 19F648 80270D68 00000000 */ nop +/* 19F64C 80270D6C 0C093936 */ jal move_cam_over +/* 19F650 80270D70 2404000A */ addiu $a0, $zero, 0xa +/* 19F654 80270D74 0C093983 */ jal func_8024E60C +/* 19F658 80270D78 00000000 */ nop +/* 19F65C 80270D7C 24020001 */ addiu $v0, $zero, 1 +/* 19F660 80270D80 3C01802A */ lui $at, 0x802a +/* 19F664 80270D84 A022FBD4 */ sb $v0, -0x42c($at) +/* 19F668 80270D88 24020005 */ addiu $v0, $zero, 5 +/* 19F66C 80270D8C AE42007C */ sw $v0, 0x7c($s2) +/* 19F670 80270D90 24020001 */ addiu $v0, $zero, 1 +/* 19F674 80270D94 AE420070 */ sw $v0, 0x70($s2) +.L80270D98: +/* 19F678 80270D98 0C09A75B */ jal get_actor +/* 19F67C 80270D9C 8E440148 */ lw $a0, 0x148($s2) +/* 19F680 80270DA0 8E500074 */ lw $s0, 0x74($s2) +/* 19F684 80270DA4 8E530078 */ lw $s3, 0x78($s2) +/* 19F688 80270DA8 86020150 */ lh $v0, 0x150($s0) +/* 19F68C 80270DAC 8E030000 */ lw $v1, ($s0) +/* 19F690 80270DB0 C6000144 */ lwc1 $f0, 0x144($s0) +/* 19F694 80270DB4 44821000 */ mtc1 $v0, $f2 +/* 19F698 80270DB8 00000000 */ nop +/* 19F69C 80270DBC 468010A0 */ cvt.s.w $f2, $f2 +/* 19F6A0 80270DC0 30620800 */ andi $v0, $v1, 0x800 +/* 19F6A4 80270DC4 1040000E */ beqz $v0, .L80270E00 +/* 19F6A8 80270DC8 46020780 */ add.s $f30, $f0, $f2 +/* 19F6AC 80270DCC 86020152 */ lh $v0, 0x152($s0) +/* 19F6B0 80270DD0 C6020148 */ lwc1 $f2, 0x148($s0) +/* 19F6B4 80270DD4 44820000 */ mtc1 $v0, $f0 +/* 19F6B8 80270DD8 00000000 */ nop +/* 19F6BC 80270DDC 46800020 */ cvt.s.w $f0, $f0 +/* 19F6C0 80270DE0 92020191 */ lbu $v0, 0x191($s0) +/* 19F6C4 80270DE4 46001080 */ add.s $f2, $f2, $f0 +/* 19F6C8 80270DE8 00021042 */ srl $v0, $v0, 1 +/* 19F6CC 80270DEC 44820000 */ mtc1 $v0, $f0 +/* 19F6D0 80270DF0 00000000 */ nop +/* 19F6D4 80270DF4 46800020 */ cvt.s.w $f0, $f0 +/* 19F6D8 80270DF8 0809C39B */ j func_80270E6C +/* 19F6DC 80270DFC 46001601 */ sub.s $f24, $f2, $f0 + +.L80270E00: +/* 19F6E0 80270E00 30628000 */ andi $v0, $v1, 0x8000 +/* 19F6E4 80270E04 1440000E */ bnez $v0, .L80270E40 +/* 19F6E8 80270E08 00000000 */ nop +/* 19F6EC 80270E0C 86020152 */ lh $v0, 0x152($s0) +/* 19F6F0 80270E10 C6020148 */ lwc1 $f2, 0x148($s0) +/* 19F6F4 80270E14 44820000 */ mtc1 $v0, $f0 +/* 19F6F8 80270E18 00000000 */ nop +/* 19F6FC 80270E1C 46800020 */ cvt.s.w $f0, $f0 +/* 19F700 80270E20 92020191 */ lbu $v0, 0x191($s0) +/* 19F704 80270E24 46001080 */ add.s $f2, $f2, $f0 +/* 19F708 80270E28 00021042 */ srl $v0, $v0, 1 +/* 19F70C 80270E2C 44820000 */ mtc1 $v0, $f0 +/* 19F710 80270E30 00000000 */ nop +/* 19F714 80270E34 46800020 */ cvt.s.w $f0, $f0 +/* 19F718 80270E38 0809C39B */ j func_80270E6C +/* 19F71C 80270E3C 46020600 */ add.s $f24, $f0, $f2 + +.L80270E40: +/* 19F720 80270E40 86020152 */ lh $v0, 0x152($s0) +/* 19F724 80270E44 C6000148 */ lwc1 $f0, 0x148($s0) +/* 19F728 80270E48 44821000 */ mtc1 $v0, $f2 +/* 19F72C 80270E4C 00000000 */ nop +/* 19F730 80270E50 468010A0 */ cvt.s.w $f2, $f2 +/* 19F734 80270E54 92020191 */ lbu $v0, 0x191($s0) +/* 19F738 80270E58 46020000 */ add.s $f0, $f0, $f2 +/* 19F73C 80270E5C 44821000 */ mtc1 $v0, $f2 +/* 19F740 80270E60 00000000 */ nop +/* 19F744 80270E64 468010A0 */ cvt.s.w $f2, $f2 +/* 19F748 80270E68 46020600 */ add.s $f24, $f0, $f2 +func_80270E6C: +/* 19F74C 80270E6C 86020154 */ lh $v0, 0x154($s0) +/* 19F750 80270E70 86030150 */ lh $v1, 0x150($s0) +/* 19F754 80270E74 C600014C */ lwc1 $f0, 0x14c($s0) +/* 19F758 80270E78 44821000 */ mtc1 $v0, $f2 +/* 19F75C 80270E7C 00000000 */ nop +/* 19F760 80270E80 468010A0 */ cvt.s.w $f2, $f2 +/* 19F764 80270E84 44832000 */ mtc1 $v1, $f4 +/* 19F768 80270E88 00000000 */ nop +/* 19F76C 80270E8C 46802120 */ cvt.s.w $f4, $f4 +/* 19F770 80270E90 92020190 */ lbu $v0, 0x190($s0) +/* 19F774 80270E94 46020000 */ add.s $f0, $f0, $f2 +/* 19F778 80270E98 3C014120 */ lui $at, 0x4120 +/* 19F77C 80270E9C 44811000 */ mtc1 $at, $f2 +/* 19F780 80270EA0 8E030000 */ lw $v1, ($s0) +/* 19F784 80270EA4 46020700 */ add.s $f28, $f0, $f2 +/* 19F788 80270EA8 C6000144 */ lwc1 $f0, 0x144($s0) +/* 19F78C 80270EAC 00021042 */ srl $v0, $v0, 1 +/* 19F790 80270EB0 46040000 */ add.s $f0, $f0, $f4 +/* 19F794 80270EB4 44821000 */ mtc1 $v0, $f2 +/* 19F798 80270EB8 00000000 */ nop +/* 19F79C 80270EBC 468010A0 */ cvt.s.w $f2, $f2 +/* 19F7A0 80270EC0 30620800 */ andi $v0, $v1, 0x800 +/* 19F7A4 80270EC4 1040000D */ beqz $v0, .L80270EFC +/* 19F7A8 80270EC8 46020680 */ add.s $f26, $f0, $f2 +/* 19F7AC 80270ECC 86020152 */ lh $v0, 0x152($s0) +/* 19F7B0 80270ED0 C6000148 */ lwc1 $f0, 0x148($s0) +/* 19F7B4 80270ED4 44821000 */ mtc1 $v0, $f2 +/* 19F7B8 80270ED8 00000000 */ nop +/* 19F7BC 80270EDC 468010A0 */ cvt.s.w $f2, $f2 +/* 19F7C0 80270EE0 92020191 */ lbu $v0, 0x191($s0) +/* 19F7C4 80270EE4 46020000 */ add.s $f0, $f0, $f2 +/* 19F7C8 80270EE8 44821000 */ mtc1 $v0, $f2 +/* 19F7CC 80270EEC 00000000 */ nop +/* 19F7D0 80270EF0 468010A0 */ cvt.s.w $f2, $f2 +/* 19F7D4 80270EF4 0809C3DA */ j func_80270F68 +/* 19F7D8 80270EF8 46020501 */ sub.s $f20, $f0, $f2 + +.L80270EFC: +/* 19F7DC 80270EFC 30628000 */ andi $v0, $v1, 0x8000 +/* 19F7E0 80270F00 1440000D */ bnez $v0, .L80270F38 +/* 19F7E4 80270F04 00000000 */ nop +/* 19F7E8 80270F08 86020152 */ lh $v0, 0x152($s0) +/* 19F7EC 80270F0C C6000148 */ lwc1 $f0, 0x148($s0) +/* 19F7F0 80270F10 44821000 */ mtc1 $v0, $f2 +/* 19F7F4 80270F14 00000000 */ nop +/* 19F7F8 80270F18 468010A0 */ cvt.s.w $f2, $f2 +/* 19F7FC 80270F1C 92020191 */ lbu $v0, 0x191($s0) +/* 19F800 80270F20 46020000 */ add.s $f0, $f0, $f2 +/* 19F804 80270F24 44821000 */ mtc1 $v0, $f2 +/* 19F808 80270F28 00000000 */ nop +/* 19F80C 80270F2C 468010A0 */ cvt.s.w $f2, $f2 +/* 19F810 80270F30 0809C3DA */ j func_80270F68 +/* 19F814 80270F34 46001500 */ add.s $f20, $f2, $f0 + +.L80270F38: +/* 19F818 80270F38 86020152 */ lh $v0, 0x152($s0) +/* 19F81C 80270F3C C6020148 */ lwc1 $f2, 0x148($s0) +/* 19F820 80270F40 44820000 */ mtc1 $v0, $f0 +/* 19F824 80270F44 00000000 */ nop +/* 19F828 80270F48 46800020 */ cvt.s.w $f0, $f0 +/* 19F82C 80270F4C 92020191 */ lbu $v0, 0x191($s0) +/* 19F830 80270F50 46001080 */ add.s $f2, $f2, $f0 +/* 19F834 80270F54 00021040 */ sll $v0, $v0, 1 +/* 19F838 80270F58 44820000 */ mtc1 $v0, $f0 +/* 19F83C 80270F5C 00000000 */ nop +/* 19F840 80270F60 46800020 */ cvt.s.w $f0, $f0 +/* 19F844 80270F64 46001500 */ add.s $f20, $f2, $f0 +func_80270F68: +/* 19F848 80270F68 86020154 */ lh $v0, 0x154($s0) +/* 19F84C 80270F6C C600014C */ lwc1 $f0, 0x14c($s0) +/* 19F850 80270F70 44821000 */ mtc1 $v0, $f2 +/* 19F854 80270F74 00000000 */ nop +/* 19F858 80270F78 468010A0 */ cvt.s.w $f2, $f2 +/* 19F85C 80270F7C 46020000 */ add.s $f0, $f0, $f2 +/* 19F860 80270F80 8E420070 */ lw $v0, 0x70($s2) +/* 19F864 80270F84 3C014120 */ lui $at, 0x4120 +/* 19F868 80270F88 44811000 */ mtc1 $at, $f2 +/* 19F86C 80270F8C 2443FFFF */ addiu $v1, $v0, -1 +/* 19F870 80270F90 2C620005 */ sltiu $v0, $v1, 5 +/* 19F874 80270F94 1040005F */ beqz $v0, .L80271114 +/* 19F878 80270F98 46020580 */ add.s $f22, $f0, $f2 +/* 19F87C 80270F9C 00031080 */ sll $v0, $v1, 2 +/* 19F880 80270FA0 3C01802A */ lui $at, 0x802a +/* 19F884 80270FA4 00220821 */ addu $at, $at, $v0 +/* 19F888 80270FA8 8C22D868 */ lw $v0, -0x2798($at) +/* 19F88C 80270FAC 00400008 */ jr $v0 +/* 19F890 80270FB0 00000000 */ nop +/* 19F894 80270FB4 8E42007C */ lw $v0, 0x7c($s2) +/* 19F898 80270FB8 14400049 */ bnez $v0, .L802710E0 +/* 19F89C 80270FBC 2442FFFF */ addiu $v0, $v0, -1 +/* 19F8A0 80270FC0 0200202D */ daddu $a0, $s0, $zero +/* 19F8A4 80270FC4 0C09DC58 */ jal dispatch_event_actor +/* 19F8A8 80270FC8 2405003F */ addiu $a1, $zero, 0x3f +/* 19F8AC 80270FCC 4405D000 */ mfc1 $a1, $f26 +/* 19F8B0 80270FD0 4406A000 */ mfc1 $a2, $f20 +/* 19F8B4 80270FD4 4407B000 */ mfc1 $a3, $f22 +/* 19F8B8 80270FD8 0000202D */ daddu $a0, $zero, $zero +/* 19F8BC 80270FDC 0C01C424 */ jal func_80071090 +/* 19F8C0 80270FE0 AFB30010 */ sw $s3, 0x10($sp) +/* 19F8C4 80270FE4 4600F306 */ mov.s $f12, $f30 +/* 19F8C8 80270FE8 4600C386 */ mov.s $f14, $f24 +/* 19F8CC 80270FEC 4406E000 */ mfc1 $a2, $f28 +/* 19F8D0 80270FF0 0C0B5D18 */ jal func_802D7460 +/* 19F8D4 80270FF4 0260382D */ daddu $a3, $s3, $zero +/* 19F8D8 80270FF8 2402001E */ addiu $v0, $zero, 0x1e +/* 19F8DC 80270FFC AE42007C */ sw $v0, 0x7c($s2) +/* 19F8E0 80271000 24020002 */ addiu $v0, $zero, 2 +/* 19F8E4 80271004 0809C445 */ j func_80271114 +/* 19F8E8 80271008 AE420070 */ sw $v0, 0x70($s2) + +/* 19F8EC 8027100C 8E42007C */ lw $v0, 0x7c($s2) +/* 19F8F0 80271010 14400033 */ bnez $v0, .L802710E0 +/* 19F8F4 80271014 2442FFFF */ addiu $v0, $v0, -1 +/* 19F8F8 80271018 0C093903 */ jal func_8024E40C +/* 19F8FC 8027101C 24040002 */ addiu $a0, $zero, 2 +/* 19F900 80271020 0C093936 */ jal move_cam_over +/* 19F904 80271024 2404000F */ addiu $a0, $zero, 0xf +/* 19F908 80271028 920201B8 */ lbu $v0, 0x1b8($s0) +/* 19F90C 8027102C 820301B9 */ lb $v1, 0x1b9($s0) +/* 19F910 80271030 00531021 */ addu $v0, $v0, $s3 +/* 19F914 80271034 A20201B8 */ sb $v0, 0x1b8($s0) +/* 19F918 80271038 00021600 */ sll $v0, $v0, 0x18 +/* 19F91C 8027103C 00021603 */ sra $v0, $v0, 0x18 +/* 19F920 80271040 0062182A */ slt $v1, $v1, $v0 +/* 19F924 80271044 920201B9 */ lbu $v0, 0x1b9($s0) +/* 19F928 80271048 54600001 */ bnezl $v1, .L80271050 +/* 19F92C 8027104C A20201B8 */ sb $v0, 0x1b8($s0) +.L80271050: +/* 19F930 80271050 4600F306 */ mov.s $f12, $f30 +/* 19F934 80271054 4600C386 */ mov.s $f14, $f24 +/* 19F938 80271058 4406E000 */ mfc1 $a2, $f28 +/* 19F93C 8027105C 0C0B5D30 */ jal func_802D74C0 +/* 19F940 80271060 0260382D */ daddu $a3, $s3, $zero +/* 19F944 80271064 2402000F */ addiu $v0, $zero, 0xf +/* 19F948 80271068 AE42007C */ sw $v0, 0x7c($s2) +/* 19F94C 8027106C 24020003 */ addiu $v0, $zero, 3 +/* 19F950 80271070 0809C445 */ j func_80271114 +/* 19F954 80271074 AE420070 */ sw $v0, 0x70($s2) + +/* 19F958 80271078 8E42007C */ lw $v0, 0x7c($s2) +/* 19F95C 8027107C 14400018 */ bnez $v0, .L802710E0 +/* 19F960 80271080 2442FFFF */ addiu $v0, $v0, -1 +/* 19F964 80271084 3C02802A */ lui $v0, 0x802a +/* 19F968 80271088 8C42FBD0 */ lw $v0, -0x430($v0) +/* 19F96C 8027108C 14400002 */ bnez $v0, .L80271098 +/* 19F970 80271090 24040020 */ addiu $a0, $zero, 0x20 +/* 19F974 80271094 2404001F */ addiu $a0, $zero, 0x1f +.L80271098: +/* 19F978 80271098 2405003C */ addiu $a1, $zero, 0x3c +/* 19F97C 8027109C 0C093E81 */ jal show_variable_battle_message +/* 19F980 802710A0 0260302D */ daddu $a2, $s3, $zero +/* 19F984 802710A4 24020004 */ addiu $v0, $zero, 4 +/* 19F988 802710A8 0809C445 */ j func_80271114 +/* 19F98C 802710AC AE420070 */ sw $v0, 0x70($s2) + +/* 19F990 802710B0 0C093EAD */ jal is_popup_displayed +/* 19F994 802710B4 00000000 */ nop +/* 19F998 802710B8 14400017 */ bnez $v0, .L80271118 +/* 19F99C 802710BC 0000102D */ daddu $v0, $zero, $zero +/* 19F9A0 802710C0 2402000A */ addiu $v0, $zero, 0xa +/* 19F9A4 802710C4 AE42007C */ sw $v0, 0x7c($s2) +/* 19F9A8 802710C8 24020005 */ addiu $v0, $zero, 5 +/* 19F9AC 802710CC 0809C445 */ j func_80271114 +/* 19F9B0 802710D0 AE420070 */ sw $v0, 0x70($s2) + +/* 19F9B4 802710D4 8E42007C */ lw $v0, 0x7c($s2) +/* 19F9B8 802710D8 10400003 */ beqz $v0, .L802710E8 +/* 19F9BC 802710DC 2442FFFF */ addiu $v0, $v0, -1 +.L802710E0: +/* 19F9C0 802710E0 0809C445 */ j func_80271114 +/* 19F9C4 802710E4 AE42007C */ sw $v0, 0x7c($s2) + +.L802710E8: +/* 19F9C8 802710E8 8E0201D8 */ lw $v0, 0x1d8($s0) +/* 19F9CC 802710EC 10400005 */ beqz $v0, .L80271104 +/* 19F9D0 802710F0 00000000 */ nop +/* 19F9D4 802710F4 0C0B1059 */ jal does_script_exist +/* 19F9D8 802710F8 8E0401E8 */ lw $a0, 0x1e8($s0) +/* 19F9DC 802710FC 14400006 */ bnez $v0, .L80271118 +/* 19F9E0 80271100 0000102D */ daddu $v0, $zero, $zero +.L80271104: +/* 19F9E4 80271104 3C01802A */ lui $at, 0x802a +/* 19F9E8 80271108 A020FBD4 */ sb $zero, -0x42c($at) +/* 19F9EC 8027110C 0809C446 */ j func_80271118 +/* 19F9F0 80271110 24020002 */ addiu $v0, $zero, 2 + +func_80271114: +.L80271114: +/* 19F9F4 80271114 0000102D */ daddu $v0, $zero, $zero +func_80271118: +.L80271118: +/* 19F9F8 80271118 8FBF0028 */ lw $ra, 0x28($sp) +/* 19F9FC 8027111C 8FB30024 */ lw $s3, 0x24($sp) +/* 19FA00 80271120 8FB20020 */ lw $s2, 0x20($sp) +/* 19FA04 80271124 8FB1001C */ lw $s1, 0x1c($sp) +/* 19FA08 80271128 8FB00018 */ lw $s0, 0x18($sp) +/* 19FA0C 8027112C D7BE0058 */ ldc1 $f30, 0x58($sp) +/* 19FA10 80271130 D7BC0050 */ ldc1 $f28, 0x50($sp) +/* 19FA14 80271134 D7BA0048 */ ldc1 $f26, 0x48($sp) +/* 19FA18 80271138 D7B80040 */ ldc1 $f24, 0x40($sp) +/* 19FA1C 8027113C D7B60038 */ ldc1 $f22, 0x38($sp) +/* 19FA20 80271140 D7B40030 */ ldc1 $f20, 0x30($sp) +/* 19FA24 80271144 03E00008 */ jr $ra +/* 19FA28 80271148 27BD0060 */ addiu $sp, $sp, 0x60 + +WaitForBuffDone: +/* 19FA2C 8027114C 3C02802A */ lui $v0, 0x802a +/* 19FA30 80271150 8042FBD4 */ lb $v0, -0x42c($v0) +/* 19FA34 80271154 2C420001 */ sltiu $v0, $v0, 1 +/* 19FA38 80271158 03E00008 */ jr $ra +/* 19FA3C 8027115C 00021040 */ sll $v0, $v0, 1 + +CopyBuffs: +/* 19FA40 80271160 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 19FA44 80271164 AFB10014 */ sw $s1, 0x14($sp) +/* 19FA48 80271168 0080882D */ daddu $s1, $a0, $zero +/* 19FA4C 8027116C AFBF001C */ sw $ra, 0x1c($sp) +/* 19FA50 80271170 AFB20018 */ sw $s2, 0x18($sp) +/* 19FA54 80271174 AFB00010 */ sw $s0, 0x10($sp) +/* 19FA58 80271178 8E30000C */ lw $s0, 0xc($s1) +/* 19FA5C 8027117C 8E050000 */ lw $a1, ($s0) +/* 19FA60 80271180 0C0B1EAF */ jal get_variable +/* 19FA64 80271184 26100004 */ addiu $s0, $s0, 4 +/* 19FA68 80271188 2412FF81 */ addiu $s2, $zero, -0x7f +/* 19FA6C 8027118C 14520002 */ bne $v0, $s2, .L80271198 +/* 19FA70 80271190 00000000 */ nop +/* 19FA74 80271194 8E220148 */ lw $v0, 0x148($s1) +.L80271198: +/* 19FA78 80271198 0C09A75B */ jal get_actor +/* 19FA7C 8027119C 0040202D */ daddu $a0, $v0, $zero +/* 19FA80 802711A0 0220202D */ daddu $a0, $s1, $zero +/* 19FA84 802711A4 8E050000 */ lw $a1, ($s0) +/* 19FA88 802711A8 0C0B1EAF */ jal get_variable +/* 19FA8C 802711AC 0040802D */ daddu $s0, $v0, $zero +/* 19FA90 802711B0 14520002 */ bne $v0, $s2, .L802711BC +/* 19FA94 802711B4 00000000 */ nop +/* 19FA98 802711B8 8E220148 */ lw $v0, 0x148($s1) +.L802711BC: +/* 19FA9C 802711BC 0C09A75B */ jal get_actor +/* 19FAA0 802711C0 0040202D */ daddu $a0, $v0, $zero +/* 19FAA4 802711C4 92040220 */ lbu $a0, 0x220($s0) +/* 19FAA8 802711C8 0040182D */ daddu $v1, $v0, $zero +/* 19FAAC 802711CC A0640220 */ sb $a0, 0x220($v1) +/* 19FAB0 802711D0 92020221 */ lbu $v0, 0x221($s0) +/* 19FAB4 802711D4 A0620221 */ sb $v0, 0x221($v1) +/* 19FAB8 802711D8 92020222 */ lbu $v0, 0x222($s0) +/* 19FABC 802711DC A0620222 */ sb $v0, 0x222($v1) +/* 19FAC0 802711E0 92020223 */ lbu $v0, 0x223($s0) +/* 19FAC4 802711E4 A0620223 */ sb $v0, 0x223($v1) +/* 19FAC8 802711E8 92040224 */ lbu $a0, 0x224($s0) +/* 19FACC 802711EC A0640224 */ sb $a0, 0x224($v1) +/* 19FAD0 802711F0 8FBF001C */ lw $ra, 0x1c($sp) +/* 19FAD4 802711F4 8FB20018 */ lw $s2, 0x18($sp) +/* 19FAD8 802711F8 8FB10014 */ lw $s1, 0x14($sp) +/* 19FADC 802711FC 8FB00010 */ lw $s0, 0x10($sp) +/* 19FAE0 80271200 24020002 */ addiu $v0, $zero, 2 +/* 19FAE4 80271204 03E00008 */ jr $ra +/* 19FAE8 80271208 27BD0020 */ addiu $sp, $sp, 0x20 + +/* 19FAEC 8027120C 00000000 */ nop +/* 19FAF0 80271210 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 19FAF4 80271214 0080102D */ daddu $v0, $a0, $zero +/* 19FAF8 80271218 AFBF0010 */ sw $ra, 0x10($sp) +/* 19FAFC 8027121C C4400084 */ lwc1 $f0, 0x84($v0) +/* 19FB00 80271220 46800020 */ cvt.s.w $f0, $f0 +/* 19FB04 80271224 44050000 */ mfc1 $a1, $f0 +/* 19FB08 80271228 C4400088 */ lwc1 $f0, 0x88($v0) +/* 19FB0C 8027122C 46800020 */ cvt.s.w $f0, $f0 +/* 19FB10 80271230 44060000 */ mfc1 $a2, $f0 +/* 19FB14 80271234 C440008C */ lwc1 $f0, 0x8c($v0) +/* 19FB18 80271238 46800020 */ cvt.s.w $f0, $f0 +/* 19FB1C 8027123C 44070000 */ mfc1 $a3, $f0 +/* 19FB20 80271240 0C01C2BC */ jal func_80070AF0 +/* 19FB24 80271244 0000202D */ daddu $a0, $zero, $zero +/* 19FB28 80271248 8FBF0010 */ lw $ra, 0x10($sp) +/* 19FB2C 8027124C 24020002 */ addiu $v0, $zero, 2 +/* 19FB30 80271250 03E00008 */ jr $ra +/* 19FB34 80271254 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 19FB38 80271258 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 19FB3C 8027125C 0080102D */ daddu $v0, $a0, $zero +/* 19FB40 80271260 AFBF0010 */ sw $ra, 0x10($sp) +/* 19FB44 80271264 C4400084 */ lwc1 $f0, 0x84($v0) +/* 19FB48 80271268 46800020 */ cvt.s.w $f0, $f0 +/* 19FB4C 8027126C 44050000 */ mfc1 $a1, $f0 +/* 19FB50 80271270 C4400088 */ lwc1 $f0, 0x88($v0) +/* 19FB54 80271274 46800020 */ cvt.s.w $f0, $f0 +/* 19FB58 80271278 44060000 */ mfc1 $a2, $f0 +/* 19FB5C 8027127C C440008C */ lwc1 $f0, 0x8c($v0) +/* 19FB60 80271280 46800020 */ cvt.s.w $f0, $f0 +/* 19FB64 80271284 44070000 */ mfc1 $a3, $f0 +/* 19FB68 80271288 0C01C2BC */ jal func_80070AF0 +/* 19FB6C 8027128C 24040001 */ addiu $a0, $zero, 1 +/* 19FB70 80271290 8FBF0010 */ lw $ra, 0x10($sp) +/* 19FB74 80271294 24020002 */ addiu $v0, $zero, 2 +/* 19FB78 80271298 03E00008 */ jr $ra +/* 19FB7C 8027129C 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 19FB80 802712A0 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 19FB84 802712A4 0080102D */ daddu $v0, $a0, $zero +/* 19FB88 802712A8 AFBF0010 */ sw $ra, 0x10($sp) +/* 19FB8C 802712AC C4400084 */ lwc1 $f0, 0x84($v0) +/* 19FB90 802712B0 46800020 */ cvt.s.w $f0, $f0 +/* 19FB94 802712B4 44050000 */ mfc1 $a1, $f0 +/* 19FB98 802712B8 C4400088 */ lwc1 $f0, 0x88($v0) +/* 19FB9C 802712BC 46800020 */ cvt.s.w $f0, $f0 +/* 19FBA0 802712C0 44060000 */ mfc1 $a2, $f0 +/* 19FBA4 802712C4 C440008C */ lwc1 $f0, 0x8c($v0) +/* 19FBA8 802712C8 46800020 */ cvt.s.w $f0, $f0 +/* 19FBAC 802712CC 44070000 */ mfc1 $a3, $f0 +/* 19FBB0 802712D0 0C01C2BC */ jal func_80070AF0 +/* 19FBB4 802712D4 24040002 */ addiu $a0, $zero, 2 +/* 19FBB8 802712D8 8C44000C */ lw $a0, 0xc($v0) +/* 19FBBC 802712DC 240300C8 */ addiu $v1, $zero, 0xc8 +/* 19FBC0 802712E0 A0830038 */ sb $v1, 0x38($a0) +/* 19FBC4 802712E4 8C44000C */ lw $a0, 0xc($v0) +/* 19FBC8 802712E8 24030078 */ addiu $v1, $zero, 0x78 +/* 19FBCC 802712EC A0830039 */ sb $v1, 0x39($a0) +/* 19FBD0 802712F0 8C43000C */ lw $v1, 0xc($v0) +/* 19FBD4 802712F4 A060003A */ sb $zero, 0x3a($v1) +/* 19FBD8 802712F8 8C44000C */ lw $a0, 0xc($v0) +/* 19FBDC 802712FC 240300EA */ addiu $v1, $zero, 0xea +/* 19FBE0 80271300 A083003B */ sb $v1, 0x3b($a0) +/* 19FBE4 80271304 8C44000C */ lw $a0, 0xc($v0) +/* 19FBE8 80271308 240300C1 */ addiu $v1, $zero, 0xc1 +/* 19FBEC 8027130C A083003C */ sb $v1, 0x3c($a0) +/* 19FBF0 80271310 8C43000C */ lw $v1, 0xc($v0) +/* 19FBF4 80271314 A060003D */ sb $zero, 0x3d($v1) +/* 19FBF8 80271318 8FBF0010 */ lw $ra, 0x10($sp) +/* 19FBFC 8027131C 24020002 */ addiu $v0, $zero, 2 +/* 19FC00 80271320 03E00008 */ jr $ra +/* 19FC04 80271324 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 19FC08 80271328 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 19FC0C 8027132C 0080102D */ daddu $v0, $a0, $zero +/* 19FC10 80271330 AFBF0010 */ sw $ra, 0x10($sp) +/* 19FC14 80271334 C4400084 */ lwc1 $f0, 0x84($v0) +/* 19FC18 80271338 46800020 */ cvt.s.w $f0, $f0 +/* 19FC1C 8027133C 44050000 */ mfc1 $a1, $f0 +/* 19FC20 80271340 C4400088 */ lwc1 $f0, 0x88($v0) +/* 19FC24 80271344 46800020 */ cvt.s.w $f0, $f0 +/* 19FC28 80271348 44060000 */ mfc1 $a2, $f0 +/* 19FC2C 8027134C C440008C */ lwc1 $f0, 0x8c($v0) +/* 19FC30 80271350 46800020 */ cvt.s.w $f0, $f0 +/* 19FC34 80271354 44070000 */ mfc1 $a3, $f0 +/* 19FC38 80271358 0C01C2BC */ jal func_80070AF0 +/* 19FC3C 8027135C 24040002 */ addiu $a0, $zero, 2 +/* 19FC40 80271360 8C44000C */ lw $a0, 0xc($v0) +/* 19FC44 80271364 2403003C */ addiu $v1, $zero, 0x3c +/* 19FC48 80271368 A0830038 */ sb $v1, 0x38($a0) +/* 19FC4C 8027136C 8C44000C */ lw $a0, 0xc($v0) +/* 19FC50 80271370 240300A0 */ addiu $v1, $zero, 0xa0 +/* 19FC54 80271374 A0830039 */ sb $v1, 0x39($a0) +/* 19FC58 80271378 8C43000C */ lw $v1, 0xc($v0) +/* 19FC5C 8027137C A060003A */ sb $zero, 0x3a($v1) +/* 19FC60 80271380 8C44000C */ lw $a0, 0xc($v0) +/* 19FC64 80271384 2403005A */ addiu $v1, $zero, 0x5a +/* 19FC68 80271388 A083003B */ sb $v1, 0x3b($a0) +/* 19FC6C 8027138C 8C44000C */ lw $a0, 0xc($v0) +/* 19FC70 80271390 240300F0 */ addiu $v1, $zero, 0xf0 +/* 19FC74 80271394 A083003C */ sb $v1, 0x3c($a0) +/* 19FC78 80271398 8C43000C */ lw $v1, 0xc($v0) +/* 19FC7C 8027139C A060003D */ sb $zero, 0x3d($v1) +/* 19FC80 802713A0 8FBF0010 */ lw $ra, 0x10($sp) +/* 19FC84 802713A4 24020002 */ addiu $v0, $zero, 2 +/* 19FC88 802713A8 03E00008 */ jr $ra +/* 19FC8C 802713AC 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 19FC90 802713B0 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 19FC94 802713B4 0080102D */ daddu $v0, $a0, $zero +/* 19FC98 802713B8 AFBF0010 */ sw $ra, 0x10($sp) +/* 19FC9C 802713BC C4400084 */ lwc1 $f0, 0x84($v0) +/* 19FCA0 802713C0 46800020 */ cvt.s.w $f0, $f0 +/* 19FCA4 802713C4 44050000 */ mfc1 $a1, $f0 +/* 19FCA8 802713C8 C4400088 */ lwc1 $f0, 0x88($v0) +/* 19FCAC 802713CC 46800020 */ cvt.s.w $f0, $f0 +/* 19FCB0 802713D0 44060000 */ mfc1 $a2, $f0 +/* 19FCB4 802713D4 C440008C */ lwc1 $f0, 0x8c($v0) +/* 19FCB8 802713D8 46800020 */ cvt.s.w $f0, $f0 +/* 19FCBC 802713DC 44070000 */ mfc1 $a3, $f0 +/* 19FCC0 802713E0 0C01C2BC */ jal func_80070AF0 +/* 19FCC4 802713E4 24040002 */ addiu $a0, $zero, 2 +/* 19FCC8 802713E8 0040282D */ daddu $a1, $v0, $zero +/* 19FCCC 802713EC 8CA2000C */ lw $v0, 0xc($a1) +/* 19FCD0 802713F0 240400CD */ addiu $a0, $zero, 0xcd +/* 19FCD4 802713F4 A0440038 */ sb $a0, 0x38($v0) +/* 19FCD8 802713F8 8CA2000C */ lw $v0, 0xc($a1) +/* 19FCDC 802713FC A0400039 */ sb $zero, 0x39($v0) +/* 19FCE0 80271400 8CA3000C */ lw $v1, 0xc($a1) +/* 19FCE4 80271404 24020028 */ addiu $v0, $zero, 0x28 +/* 19FCE8 80271408 A062003A */ sb $v0, 0x3a($v1) +/* 19FCEC 8027140C 8CA3000C */ lw $v1, 0xc($a1) +/* 19FCF0 80271410 A064003B */ sb $a0, 0x3b($v1) +/* 19FCF4 80271414 8CA4000C */ lw $a0, 0xc($a1) +/* 19FCF8 80271418 24030020 */ addiu $v1, $zero, 0x20 +/* 19FCFC 8027141C A083003C */ sb $v1, 0x3c($a0) +/* 19FD00 80271420 8CA4000C */ lw $a0, 0xc($a1) +/* 19FD04 80271424 240300F2 */ addiu $v1, $zero, 0xf2 +/* 19FD08 80271428 A083003D */ sb $v1, 0x3d($a0) +/* 19FD0C 8027142C 8FBF0010 */ lw $ra, 0x10($sp) +/* 19FD10 80271430 24020002 */ addiu $v0, $zero, 2 +/* 19FD14 80271434 03E00008 */ jr $ra +/* 19FD18 80271438 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 19FD1C 8027143C 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 19FD20 80271440 0080102D */ daddu $v0, $a0, $zero +/* 19FD24 80271444 AFBF0010 */ sw $ra, 0x10($sp) +/* 19FD28 80271448 C4400084 */ lwc1 $f0, 0x84($v0) +/* 19FD2C 8027144C 46800020 */ cvt.s.w $f0, $f0 +/* 19FD30 80271450 44050000 */ mfc1 $a1, $f0 +/* 19FD34 80271454 C4400088 */ lwc1 $f0, 0x88($v0) +/* 19FD38 80271458 46800020 */ cvt.s.w $f0, $f0 +/* 19FD3C 8027145C 44060000 */ mfc1 $a2, $f0 +/* 19FD40 80271460 C440008C */ lwc1 $f0, 0x8c($v0) +/* 19FD44 80271464 46800020 */ cvt.s.w $f0, $f0 +/* 19FD48 80271468 44070000 */ mfc1 $a3, $f0 +/* 19FD4C 8027146C 0C01C2A4 */ jal func_80070A90 +/* 19FD50 80271470 0000202D */ daddu $a0, $zero, $zero +/* 19FD54 80271474 8FBF0010 */ lw $ra, 0x10($sp) +/* 19FD58 80271478 24020002 */ addiu $v0, $zero, 2 +/* 19FD5C 8027147C 03E00008 */ jr $ra +/* 19FD60 80271480 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 19FD64 80271484 27BDFFB0 */ addiu $sp, $sp, -0x50 +/* 19FD68 80271488 AFB00028 */ sw $s0, 0x28($sp) +/* 19FD6C 8027148C 0080802D */ daddu $s0, $a0, $zero +/* 19FD70 80271490 AFBF0034 */ sw $ra, 0x34($sp) +/* 19FD74 80271494 AFB20030 */ sw $s2, 0x30($sp) +/* 19FD78 80271498 AFB1002C */ sw $s1, 0x2c($sp) +/* 19FD7C 8027149C F7B80048 */ sdc1 $f24, 0x48($sp) +/* 19FD80 802714A0 F7B60040 */ sdc1 $f22, 0x40($sp) +/* 19FD84 802714A4 F7B40038 */ sdc1 $f20, 0x38($sp) +/* 19FD88 802714A8 C6000084 */ lwc1 $f0, 0x84($s0) +/* 19FD8C 802714AC 46800020 */ cvt.s.w $f0, $f0 +/* 19FD90 802714B0 44050000 */ mfc1 $a1, $f0 +/* 19FD94 802714B4 C6000088 */ lwc1 $f0, 0x88($s0) +/* 19FD98 802714B8 46800020 */ cvt.s.w $f0, $f0 +/* 19FD9C 802714BC 44060000 */ mfc1 $a2, $f0 +/* 19FDA0 802714C0 C600008C */ lwc1 $f0, 0x8c($s0) +/* 19FDA4 802714C4 46800020 */ cvt.s.w $f0, $f0 +/* 19FDA8 802714C8 0000202D */ daddu $a0, $zero, $zero +/* 19FDAC 802714CC 2412000A */ addiu $s2, $zero, 0xa +/* 19FDB0 802714D0 8E020090 */ lw $v0, 0x90($s0) +/* 19FDB4 802714D4 44070000 */ mfc1 $a3, $f0 +/* 19FDB8 802714D8 3C013F80 */ lui $at, 0x3f80 +/* 19FDBC 802714DC 4481C000 */ mtc1 $at, $f24 +/* 19FDC0 802714E0 90430191 */ lbu $v1, 0x191($v0) +/* 19FDC4 802714E4 90420190 */ lbu $v0, 0x190($v0) +/* 19FDC8 802714E8 2411001E */ addiu $s1, $zero, 0x1e +/* 19FDCC 802714EC E7B80018 */ swc1 $f24, 0x18($sp) +/* 19FDD0 802714F0 AFB2001C */ sw $s2, 0x1c($sp) +/* 19FDD4 802714F4 AFB10020 */ sw $s1, 0x20($sp) +/* 19FDD8 802714F8 4483B000 */ mtc1 $v1, $f22 +/* 19FDDC 802714FC 00000000 */ nop +/* 19FDE0 80271500 4680B5A0 */ cvt.s.w $f22, $f22 +/* 19FDE4 80271504 00021042 */ srl $v0, $v0, 1 +/* 19FDE8 80271508 4482A000 */ mtc1 $v0, $f20 +/* 19FDEC 8027150C 00000000 */ nop +/* 19FDF0 80271510 4680A520 */ cvt.s.w $f20, $f20 +/* 19FDF4 80271514 E7B60010 */ swc1 $f22, 0x10($sp) +/* 19FDF8 80271518 0C01C8D4 */ jal func_80072350 +/* 19FDFC 8027151C E7B40014 */ swc1 $f20, 0x14($sp) +/* 19FE00 80271520 C6000084 */ lwc1 $f0, 0x84($s0) +/* 19FE04 80271524 46800020 */ cvt.s.w $f0, $f0 +/* 19FE08 80271528 44050000 */ mfc1 $a1, $f0 +/* 19FE0C 8027152C C6000088 */ lwc1 $f0, 0x88($s0) +/* 19FE10 80271530 46800020 */ cvt.s.w $f0, $f0 +/* 19FE14 80271534 44060000 */ mfc1 $a2, $f0 +/* 19FE18 80271538 C600008C */ lwc1 $f0, 0x8c($s0) +/* 19FE1C 8027153C 46800020 */ cvt.s.w $f0, $f0 +/* 19FE20 80271540 44070000 */ mfc1 $a3, $f0 +/* 19FE24 80271544 24040001 */ addiu $a0, $zero, 1 +/* 19FE28 80271548 E7B60010 */ swc1 $f22, 0x10($sp) +/* 19FE2C 8027154C E7B40014 */ swc1 $f20, 0x14($sp) +/* 19FE30 80271550 E7B80018 */ swc1 $f24, 0x18($sp) +/* 19FE34 80271554 AFB2001C */ sw $s2, 0x1c($sp) +/* 19FE38 80271558 0C01C8D4 */ jal func_80072350 +/* 19FE3C 8027155C AFB10020 */ sw $s1, 0x20($sp) +/* 19FE40 80271560 8FBF0034 */ lw $ra, 0x34($sp) +/* 19FE44 80271564 8FB20030 */ lw $s2, 0x30($sp) +/* 19FE48 80271568 8FB1002C */ lw $s1, 0x2c($sp) +/* 19FE4C 8027156C 8FB00028 */ lw $s0, 0x28($sp) +/* 19FE50 80271570 D7B80048 */ ldc1 $f24, 0x48($sp) +/* 19FE54 80271574 D7B60040 */ ldc1 $f22, 0x40($sp) +/* 19FE58 80271578 D7B40038 */ ldc1 $f20, 0x38($sp) +/* 19FE5C 8027157C 24020002 */ addiu $v0, $zero, 2 +/* 19FE60 80271580 03E00008 */ jr $ra +/* 19FE64 80271584 27BD0050 */ addiu $sp, $sp, 0x50 + +/* 19FE68 80271588 27BDFFC8 */ addiu $sp, $sp, -0x38 +/* 19FE6C 8027158C F7B60030 */ sdc1 $f22, 0x30($sp) +/* 19FE70 80271590 3C013F80 */ lui $at, 0x3f80 +/* 19FE74 80271594 4481B000 */ mtc1 $at, $f22 +/* 19FE78 80271598 AFB1001C */ sw $s1, 0x1c($sp) +/* 19FE7C 8027159C 0080882D */ daddu $s1, $a0, $zero +/* 19FE80 802715A0 AFB00018 */ sw $s0, 0x18($sp) +/* 19FE84 802715A4 0000802D */ daddu $s0, $zero, $zero +/* 19FE88 802715A8 AFB20020 */ sw $s2, 0x20($sp) +/* 19FE8C 802715AC 24120019 */ addiu $s2, $zero, 0x19 +/* 19FE90 802715B0 AFBF0024 */ sw $ra, 0x24($sp) +/* 19FE94 802715B4 F7B40028 */ sdc1 $f20, 0x28($sp) +.L802715B8: +/* 19FE98 802715B8 0C00A67F */ jal rand_int +/* 19FE9C 802715BC 2404001E */ addiu $a0, $zero, 0x1e +/* 19FEA0 802715C0 24040014 */ addiu $a0, $zero, 0x14 +/* 19FEA4 802715C4 8E230084 */ lw $v1, 0x84($s1) +/* 19FEA8 802715C8 00621821 */ addu $v1, $v1, $v0 +/* 19FEAC 802715CC 2463FFF1 */ addiu $v1, $v1, -0xf +/* 19FEB0 802715D0 4483A000 */ mtc1 $v1, $f20 +/* 19FEB4 802715D4 00000000 */ nop +/* 19FEB8 802715D8 4680A520 */ cvt.s.w $f20, $f20 +/* 19FEBC 802715DC 0C00A67F */ jal rand_int +/* 19FEC0 802715E0 26100001 */ addiu $s0, $s0, 1 +/* 19FEC4 802715E4 8E230088 */ lw $v1, 0x88($s1) +/* 19FEC8 802715E8 8E27008C */ lw $a3, 0x8c($s1) +/* 19FECC 802715EC 4405A000 */ mfc1 $a1, $f20 +/* 19FED0 802715F0 00621821 */ addu $v1, $v1, $v0 +/* 19FED4 802715F4 2463FFF1 */ addiu $v1, $v1, -0xf +/* 19FED8 802715F8 24E70005 */ addiu $a3, $a3, 5 +/* 19FEDC 802715FC 44830000 */ mtc1 $v1, $f0 +/* 19FEE0 80271600 00000000 */ nop +/* 19FEE4 80271604 46800020 */ cvt.s.w $f0, $f0 +/* 19FEE8 80271608 44060000 */ mfc1 $a2, $f0 +/* 19FEEC 8027160C 44870000 */ mtc1 $a3, $f0 +/* 19FEF0 80271610 00000000 */ nop +/* 19FEF4 80271614 46800020 */ cvt.s.w $f0, $f0 +/* 19FEF8 80271618 44070000 */ mfc1 $a3, $f0 +/* 19FEFC 8027161C 0000202D */ daddu $a0, $zero, $zero +/* 19FF00 80271620 E7B60010 */ swc1 $f22, 0x10($sp) +/* 19FF04 80271624 0C01C7FC */ jal func_80071FF0 +/* 19FF08 80271628 AFB20014 */ sw $s2, 0x14($sp) +/* 19FF0C 8027162C 2A020014 */ slti $v0, $s0, 0x14 +/* 19FF10 80271630 1440FFE1 */ bnez $v0, .L802715B8 +/* 19FF14 80271634 24020002 */ addiu $v0, $zero, 2 +/* 19FF18 80271638 8FBF0024 */ lw $ra, 0x24($sp) +/* 19FF1C 8027163C 8FB20020 */ lw $s2, 0x20($sp) +/* 19FF20 80271640 8FB1001C */ lw $s1, 0x1c($sp) +/* 19FF24 80271644 8FB00018 */ lw $s0, 0x18($sp) +/* 19FF28 80271648 D7B60030 */ ldc1 $f22, 0x30($sp) +/* 19FF2C 8027164C D7B40028 */ ldc1 $f20, 0x28($sp) +/* 19FF30 80271650 03E00008 */ jr $ra +/* 19FF34 80271654 27BD0038 */ addiu $sp, $sp, 0x38 + +dispatch_event_player: +/* 19FF38 80271658 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 19FF3C 8027165C 2405000A */ addiu $a1, $zero, 0xa +/* 19FF40 80271660 AFB00010 */ sw $s0, 0x10($sp) +/* 19FF44 80271664 3C10800E */ lui $s0, 0x800e +/* 19FF48 80271668 8E10C148 */ lw $s0, -0x3eb8($s0) +/* 19FF4C 8027166C AFBF001C */ sw $ra, 0x1c($sp) +/* 19FF50 80271670 AFB20018 */ sw $s2, 0x18($sp) +/* 19FF54 80271674 AFB10014 */ sw $s1, 0x14($sp) +/* 19FF58 80271678 A20401F0 */ sb $a0, 0x1f0($s0) +/* 19FF5C 8027167C 3C048028 */ lui $a0, 0x8028 +/* 19FF60 80271680 248452D4 */ addiu $a0, $a0, 0x52d4 +/* 19FF64 80271684 8E1101D8 */ lw $s1, 0x1d8($s0) +/* 19FF68 80271688 8E1201E8 */ lw $s2, 0x1e8($s0) +/* 19FF6C 8027168C 0C0B0CF8 */ jal start_script +/* 19FF70 80271690 24060020 */ addiu $a2, $zero, 0x20 +/* 19FF74 80271694 AE0201D8 */ sw $v0, 0x1d8($s0) +/* 19FF78 80271698 8C430144 */ lw $v1, 0x144($v0) +/* 19FF7C 8027169C AE0301E8 */ sw $v1, 0x1e8($s0) +/* 19FF80 802716A0 AC400148 */ sw $zero, 0x148($v0) +/* 19FF84 802716A4 8E0201D4 */ lw $v0, 0x1d4($s0) +/* 19FF88 802716A8 10400004 */ beqz $v0, .L802716BC +/* 19FF8C 802716AC 00000000 */ nop +/* 19FF90 802716B0 0C0B102B */ jal kill_script_by_ID +/* 19FF94 802716B4 8E0401E4 */ lw $a0, 0x1e4($s0) +/* 19FF98 802716B8 AE0001D4 */ sw $zero, 0x1d4($s0) +.L802716BC: +/* 19FF9C 802716BC 12200003 */ beqz $s1, .L802716CC +/* 19FFA0 802716C0 00000000 */ nop +/* 19FFA4 802716C4 0C0B102B */ jal kill_script_by_ID +/* 19FFA8 802716C8 0240202D */ daddu $a0, $s2, $zero +.L802716CC: +/* 19FFAC 802716CC 8FBF001C */ lw $ra, 0x1c($sp) +/* 19FFB0 802716D0 8FB20018 */ lw $s2, 0x18($sp) +/* 19FFB4 802716D4 8FB10014 */ lw $s1, 0x14($sp) +/* 19FFB8 802716D8 8FB00010 */ lw $s0, 0x10($sp) +/* 19FFBC 802716DC 03E00008 */ jr $ra +/* 19FFC0 802716E0 27BD0020 */ addiu $sp, $sp, 0x20 + +dispatch_event_player_continue_turn: +/* 19FFC4 802716E4 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 19FFC8 802716E8 2405000A */ addiu $a1, $zero, 0xa +/* 19FFCC 802716EC AFB00010 */ sw $s0, 0x10($sp) +/* 19FFD0 802716F0 3C10800E */ lui $s0, 0x800e +/* 19FFD4 802716F4 8E10C148 */ lw $s0, -0x3eb8($s0) +/* 19FFD8 802716F8 AFBF001C */ sw $ra, 0x1c($sp) +/* 19FFDC 802716FC AFB20018 */ sw $s2, 0x18($sp) +/* 19FFE0 80271700 AFB10014 */ sw $s1, 0x14($sp) +/* 19FFE4 80271704 A20401F0 */ sb $a0, 0x1f0($s0) +/* 19FFE8 80271708 3C048028 */ lui $a0, 0x8028 +/* 19FFEC 8027170C 248452D4 */ addiu $a0, $a0, 0x52d4 +/* 19FFF0 80271710 8E1101D8 */ lw $s1, 0x1d8($s0) +/* 19FFF4 80271714 8E1201E8 */ lw $s2, 0x1e8($s0) +/* 19FFF8 80271718 0C0B0CF8 */ jal start_script +/* 19FFFC 8027171C 24060020 */ addiu $a2, $zero, 0x20 +/* 1A0000 80271720 AE0201D8 */ sw $v0, 0x1d8($s0) +/* 1A0004 80271724 8C430144 */ lw $v1, 0x144($v0) +/* 1A0008 80271728 AE0301E8 */ sw $v1, 0x1e8($s0) +/* 1A000C 8027172C 12200003 */ beqz $s1, .L8027173C +/* 1A0010 80271730 AC400148 */ sw $zero, 0x148($v0) +/* 1A0014 80271734 0C0B102B */ jal kill_script_by_ID +/* 1A0018 80271738 0240202D */ daddu $a0, $s2, $zero +.L8027173C: +/* 1A001C 8027173C 8FBF001C */ lw $ra, 0x1c($sp) +/* 1A0020 80271740 8FB20018 */ lw $s2, 0x18($sp) +/* 1A0024 80271744 8FB10014 */ lw $s1, 0x14($sp) +/* 1A0028 80271748 8FB00010 */ lw $s0, 0x10($sp) +/* 1A002C 8027174C 03E00008 */ jr $ra +/* 1A0030 80271750 27BD0020 */ addiu $sp, $sp, 0x20 + +calc_player_test_enemy: +/* 1A0034 80271754 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* 1A0038 80271758 AFB20020 */ sw $s2, 0x20($sp) +/* 1A003C 8027175C 3C12800E */ lui $s2, 0x800e +/* 1A0040 80271760 2652C070 */ addiu $s2, $s2, -0x3f90 +/* 1A0044 80271764 AFBF002C */ sw $ra, 0x2c($sp) +/* 1A0048 80271768 AFB40028 */ sw $s4, 0x28($sp) +/* 1A004C 8027176C AFB30024 */ sw $s3, 0x24($sp) +/* 1A0050 80271770 AFB1001C */ sw $s1, 0x1c($sp) +/* 1A0054 80271774 AFB00018 */ sw $s0, 0x18($sp) +/* 1A0058 80271778 964201A0 */ lhu $v0, 0x1a0($s2) +/* 1A005C 8027177C 864401A0 */ lh $a0, 0x1a0($s2) +/* 1A0060 80271780 924301A2 */ lbu $v1, 0x1a2($s2) +/* 1A0064 80271784 8E5400D8 */ lw $s4, 0xd8($s2) +/* 1A0068 80271788 825101A2 */ lb $s1, 0x1a2($s2) +/* 1A006C 8027178C A64201A4 */ sh $v0, 0x1a4($s2) +/* 1A0070 80271790 0C09A75B */ jal get_actor +/* 1A0074 80271794 A24301A6 */ sb $v1, 0x1a6($s2) +/* 1A0078 80271798 0040982D */ daddu $s3, $v0, $zero +/* 1A007C 8027179C 12600060 */ beqz $s3, .L80271920 +/* 1A0080 802717A0 2690000C */ addiu $s0, $s4, 0xc +/* 1A0084 802717A4 0260202D */ daddu $a0, $s3, $zero +/* 1A0088 802717A8 0C099117 */ jal get_actor_part +/* 1A008C 802717AC 0220282D */ daddu $a1, $s1, $zero +/* 1A0090 802717B0 0040882D */ daddu $s1, $v0, $zero +/* 1A0094 802717B4 16200003 */ bnez $s1, .L802717C4 +/* 1A0098 802717B8 00000000 */ nop +func_802717BC: +/* 1A009C 802717BC 0809C5EF */ j func_802717BC +/* 1A00A0 802717C0 00000000 */ nop + +.L802717C4: +/* 1A00A4 802717C4 8E24007C */ lw $a0, 0x7c($s1) +/* 1A00A8 802717C8 30820020 */ andi $v0, $a0, 0x20 +/* 1A00AC 802717CC 14400055 */ bnez $v0, .L80271924 +/* 1A00B0 802717D0 24020006 */ addiu $v0, $zero, 6 +/* 1A00B4 802717D4 82630218 */ lb $v1, 0x218($s3) +/* 1A00B8 802717D8 2402000E */ addiu $v0, $zero, 0xe +/* 1A00BC 802717DC 10620007 */ beq $v1, $v0, .L802717FC +/* 1A00C0 802717E0 30820800 */ andi $v0, $a0, 0x800 +/* 1A00C4 802717E4 10400007 */ beqz $v0, .L80271804 +/* 1A00C8 802717E8 00000000 */ nop +/* 1A00CC 802717EC 8E420188 */ lw $v0, 0x188($s2) +/* 1A00D0 802717F0 30420800 */ andi $v0, $v0, 0x800 +/* 1A00D4 802717F4 14400003 */ bnez $v0, .L80271804 +/* 1A00D8 802717F8 00000000 */ nop +.L802717FC: +/* 1A00DC 802717FC 0809C649 */ j func_80271924 +/* 1A00E0 80271800 24020006 */ addiu $v0, $zero, 6 + +.L80271804: +/* 1A00E4 80271804 82630214 */ lb $v1, 0x214($s3) +/* 1A00E8 80271808 2402000C */ addiu $v0, $zero, 0xc +/* 1A00EC 8027180C 14620009 */ bne $v1, $v0, .L80271834 +/* 1A00F0 80271810 2404010C */ addiu $a0, $zero, 0x10c +/* 1A00F4 80271814 C6000014 */ lwc1 $f0, 0x14($s0) +/* 1A00F8 80271818 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A00FC 8027181C 8E06000C */ lw $a2, 0xc($s0) +/* 1A0100 80271820 8E070010 */ lw $a3, 0x10($s0) +/* 1A0104 80271824 0C052757 */ jal play_sound_at_position +/* 1A0108 80271828 0000282D */ daddu $a1, $zero, $zero +/* 1A010C 8027182C 0809C649 */ j func_80271924 +/* 1A0110 80271830 24020008 */ addiu $v0, $zero, 8 + +.L80271834: +/* 1A0114 80271834 8E420188 */ lw $v0, 0x188($s2) +/* 1A0118 80271838 30420080 */ andi $v0, $v0, 0x80 +/* 1A011C 8027183C 10400012 */ beqz $v0, .L80271888 +/* 1A0120 80271840 3C031000 */ lui $v1, 0x1000 +/* 1A0124 80271844 8E22007C */ lw $v0, 0x7c($s1) +/* 1A0128 80271848 30420010 */ andi $v0, $v0, 0x10 +/* 1A012C 8027184C 1040000E */ beqz $v0, .L80271888 +/* 1A0130 80271850 0280202D */ daddu $a0, $s4, $zero +/* 1A0134 80271854 0C099CAB */ jal heroes_is_ability_active +/* 1A0138 80271858 24050002 */ addiu $a1, $zero, 2 +/* 1A013C 8027185C 1440000A */ bnez $v0, .L80271888 +/* 1A0140 80271860 3C031000 */ lui $v1, 0x1000 +/* 1A0144 80271864 C6000014 */ lwc1 $f0, 0x14($s0) +/* 1A0148 80271868 24040108 */ addiu $a0, $zero, 0x108 +/* 1A014C 8027186C E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A0150 80271870 8E06000C */ lw $a2, 0xc($s0) +/* 1A0154 80271874 8E070010 */ lw $a3, 0x10($s0) +/* 1A0158 80271878 0C052757 */ jal play_sound_at_position +/* 1A015C 8027187C 0000282D */ daddu $a1, $zero, $zero +/* 1A0160 80271880 0809C649 */ j func_80271924 +/* 1A0164 80271884 24020004 */ addiu $v0, $zero, 4 + +.L80271888: +/* 1A0168 80271888 8E420188 */ lw $v0, 0x188($s2) +/* 1A016C 8027188C 34630080 */ ori $v1, $v1, 0x80 +/* 1A0170 80271890 00431024 */ and $v0, $v0, $v1 +/* 1A0174 80271894 1440001B */ bnez $v0, .L80271904 +/* 1A0178 80271898 3C030001 */ lui $v1, 1 +/* 1A017C 8027189C 8E22007C */ lw $v0, 0x7c($s1) +/* 1A0180 802718A0 00431024 */ and $v0, $v0, $v1 +/* 1A0184 802718A4 10400017 */ beqz $v0, .L80271904 +/* 1A0188 802718A8 00000000 */ nop +/* 1A018C 802718AC 8E42018C */ lw $v0, 0x18c($s2) +/* 1A0190 802718B0 30420004 */ andi $v0, $v0, 4 +/* 1A0194 802718B4 14400013 */ bnez $v0, .L80271904 +/* 1A0198 802718B8 0280202D */ daddu $a0, $s4, $zero +/* 1A019C 802718BC 0C099CAB */ jal heroes_is_ability_active +/* 1A01A0 802718C0 24050002 */ addiu $a1, $zero, 2 +/* 1A01A4 802718C4 1440000F */ bnez $v0, .L80271904 +/* 1A01A8 802718C8 24040108 */ addiu $a0, $zero, 0x108 +/* 1A01AC 802718CC C6000014 */ lwc1 $f0, 0x14($s0) +/* 1A01B0 802718D0 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A01B4 802718D4 8E06000C */ lw $a2, 0xc($s0) +/* 1A01B8 802718D8 8E070010 */ lw $a3, 0x10($s0) +/* 1A01BC 802718DC 0C052757 */ jal play_sound_at_position +/* 1A01C0 802718E0 0000282D */ daddu $a1, $zero, $zero +/* 1A01C4 802718E4 24040001 */ addiu $a0, $zero, 1 +/* 1A01C8 802718E8 0C09CCEA */ jal dispatch_damage_event_player_1 +/* 1A01CC 802718EC 2405002A */ addiu $a1, $zero, 0x2a +/* 1A01D0 802718F0 0260202D */ daddu $a0, $s3, $zero +/* 1A01D4 802718F4 0C09DC58 */ jal dispatch_event_actor +/* 1A01D8 802718F8 2405001B */ addiu $a1, $zero, 0x1b +/* 1A01DC 802718FC 0809C649 */ j func_80271924 +/* 1A01E0 80271900 2402FFFF */ addiu $v0, $zero, -1 + +.L80271904: +/* 1A01E4 80271904 82820212 */ lb $v0, 0x212($s4) +/* 1A01E8 80271908 2404000B */ addiu $a0, $zero, 0xb +/* 1A01EC 8027190C 10440005 */ beq $v0, $a0, .L80271924 +/* 1A01F0 80271910 0000102D */ daddu $v0, $zero, $zero +/* 1A01F4 80271914 82630212 */ lb $v1, 0x212($s3) +/* 1A01F8 80271918 10640002 */ beq $v1, $a0, .L80271924 +/* 1A01FC 8027191C 24020007 */ addiu $v0, $zero, 7 +.L80271920: +/* 1A0200 80271920 0000102D */ daddu $v0, $zero, $zero +func_80271924: +.L80271924: +/* 1A0204 80271924 8FBF002C */ lw $ra, 0x2c($sp) +/* 1A0208 80271928 8FB40028 */ lw $s4, 0x28($sp) +/* 1A020C 8027192C 8FB30024 */ lw $s3, 0x24($sp) +/* 1A0210 80271930 8FB20020 */ lw $s2, 0x20($sp) +/* 1A0214 80271934 8FB1001C */ lw $s1, 0x1c($sp) +/* 1A0218 80271938 8FB00018 */ lw $s0, 0x18($sp) +/* 1A021C 8027193C 03E00008 */ jr $ra +/* 1A0220 80271940 27BD0030 */ addiu $sp, $sp, 0x30 + +calc_player_damage_enemy: +/* 1A0224 80271944 27BDFFA0 */ addiu $sp, $sp, -0x60 +/* 1A0228 80271948 AFB40048 */ sw $s4, 0x48($sp) +/* 1A022C 8027194C 3C14800E */ lui $s4, 0x800e +/* 1A0230 80271950 2694C070 */ addiu $s4, $s4, -0x3f90 +/* 1A0234 80271954 AFBF005C */ sw $ra, 0x5c($sp) +/* 1A0238 80271958 AFBE0058 */ sw $fp, 0x58($sp) +/* 1A023C 8027195C AFB70054 */ sw $s7, 0x54($sp) +/* 1A0240 80271960 AFB60050 */ sw $s6, 0x50($sp) +/* 1A0244 80271964 AFB5004C */ sw $s5, 0x4c($sp) +/* 1A0248 80271968 AFB30044 */ sw $s3, 0x44($sp) +/* 1A024C 8027196C AFB20040 */ sw $s2, 0x40($sp) +/* 1A0250 80271970 AFB1003C */ sw $s1, 0x3c($sp) +/* 1A0254 80271974 AFB00038 */ sw $s0, 0x38($sp) +/* 1A0258 80271978 AFA00020 */ sw $zero, 0x20($sp) +/* 1A025C 8027197C AFA00028 */ sw $zero, 0x28($sp) +/* 1A0260 80271980 AFA0002C */ sw $zero, 0x2c($sp) +/* 1A0264 80271984 AFA00030 */ sw $zero, 0x30($sp) +/* 1A0268 80271988 AFA0001C */ sw $zero, 0x1c($sp) +/* 1A026C 8027198C AFA00024 */ sw $zero, 0x24($sp) +/* 1A0270 80271990 8E8800D8 */ lw $t0, 0xd8($s4) +/* 1A0274 80271994 0000B02D */ daddu $s6, $zero, $zero +/* 1A0278 80271998 A2800199 */ sb $zero, 0x199($s4) +/* 1A027C 8027199C A6800180 */ sh $zero, 0x180($s4) +/* 1A0280 802719A0 AFA80018 */ sw $t0, 0x18($sp) +/* 1A0284 802719A4 968301A0 */ lhu $v1, 0x1a0($s4) +/* 1A0288 802719A8 868401A0 */ lh $a0, 0x1a0($s4) +/* 1A028C 802719AC 928201A2 */ lbu $v0, 0x1a2($s4) +/* 1A0290 802719B0 95050192 */ lhu $a1, 0x192($t0) +/* 1A0294 802719B4 829001A2 */ lb $s0, 0x1a2($s4) +/* 1A0298 802719B8 02C0B82D */ daddu $s7, $s6, $zero +/* 1A029C 802719BC A68301A4 */ sh $v1, 0x1a4($s4) +/* 1A02A0 802719C0 A28201A6 */ sb $v0, 0x1a6($s4) +/* 1A02A4 802719C4 0C09A75B */ jal get_actor +/* 1A02A8 802719C8 A68501A8 */ sh $a1, 0x1a8($s4) +/* 1A02AC 802719CC 8FA80018 */ lw $t0, 0x18($sp) +/* 1A02B0 802719D0 0040982D */ daddu $s3, $v0, $zero +/* 1A02B4 802719D4 16600003 */ bnez $s3, .L802719E4 +/* 1A02B8 802719D8 2512000C */ addiu $s2, $t0, 0xc +/* 1A02BC 802719DC 0809CC63 */ j func_8027318C +/* 1A02C0 802719E0 02C0102D */ daddu $v0, $s6, $zero + +.L802719E4: +/* 1A02C4 802719E4 0260202D */ daddu $a0, $s3, $zero +/* 1A02C8 802719E8 0C099117 */ jal get_actor_part +/* 1A02CC 802719EC 0200282D */ daddu $a1, $s0, $zero +/* 1A02D0 802719F0 0040F02D */ daddu $fp, $v0, $zero +/* 1A02D4 802719F4 57C00003 */ bnezl $fp, .L80271A04 +/* 1A02D8 802719F8 A66001F8 */ sh $zero, 0x1f8($s3) +func_802719FC: +/* 1A02DC 802719FC 0809C67F */ j func_802719FC +/* 1A02E0 80271A00 00000000 */ nop + +.L80271A04: +/* 1A02E4 80271A04 3C02800E */ lui $v0, 0x800e +/* 1A02E8 80271A08 8C42C070 */ lw $v0, -0x3f90($v0) +/* 1A02EC 80271A0C 30420800 */ andi $v0, $v0, 0x800 +/* 1A02F0 80271A10 10400003 */ beqz $v0, .L80271A20 +/* 1A02F4 80271A14 24150002 */ addiu $s5, $zero, 2 +/* 1A02F8 80271A18 0809C965 */ j func_80272594 +/* 1A02FC 80271A1C 24110017 */ addiu $s1, $zero, 0x17 + +.L80271A20: +/* 1A0300 80271A20 8FA40018 */ lw $a0, 0x18($sp) +/* 1A0304 80271A24 0C099CAB */ jal heroes_is_ability_active +/* 1A0308 80271A28 2405000D */ addiu $a1, $zero, 0xd +/* 1A030C 80271A2C 10400006 */ beqz $v0, .L80271A48 +/* 1A0310 80271A30 3C021000 */ lui $v0, 0x1000 +/* 1A0314 80271A34 8E830188 */ lw $v1, 0x188($s4) +/* 1A0318 80271A38 00621024 */ and $v0, $v1, $v0 +/* 1A031C 80271A3C 14400002 */ bnez $v0, .L80271A48 +/* 1A0320 80271A40 34620008 */ ori $v0, $v1, 8 +/* 1A0324 80271A44 AE820188 */ sw $v0, 0x188($s4) +.L80271A48: +/* 1A0328 80271A48 8FC4007C */ lw $a0, 0x7c($fp) +/* 1A032C 80271A4C 30820020 */ andi $v0, $a0, 0x20 +/* 1A0330 80271A50 144005CE */ bnez $v0, .L8027318C +/* 1A0334 80271A54 24020006 */ addiu $v0, $zero, 6 +/* 1A0338 80271A58 82630218 */ lb $v1, 0x218($s3) +/* 1A033C 80271A5C 2402000E */ addiu $v0, $zero, 0xe +/* 1A0340 80271A60 10620007 */ beq $v1, $v0, .L80271A80 +/* 1A0344 80271A64 30820800 */ andi $v0, $a0, 0x800 +/* 1A0348 80271A68 10400007 */ beqz $v0, .L80271A88 +/* 1A034C 80271A6C 00000000 */ nop +/* 1A0350 80271A70 8E820188 */ lw $v0, 0x188($s4) +/* 1A0354 80271A74 30420800 */ andi $v0, $v0, 0x800 +/* 1A0358 80271A78 14400003 */ bnez $v0, .L80271A88 +/* 1A035C 80271A7C 00000000 */ nop +.L80271A80: +/* 1A0360 80271A80 0809CC63 */ j func_8027318C +/* 1A0364 80271A84 24020006 */ addiu $v0, $zero, 6 + +.L80271A88: +/* 1A0368 80271A88 82630214 */ lb $v1, 0x214($s3) +/* 1A036C 80271A8C 2402000C */ addiu $v0, $zero, 0xc +/* 1A0370 80271A90 14620019 */ bne $v1, $v0, .L80271AF8 +/* 1A0374 80271A94 2404010C */ addiu $a0, $zero, 0x10c +/* 1A0378 80271A98 C6400014 */ lwc1 $f0, 0x14($s2) +/* 1A037C 80271A9C E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A0380 80271AA0 8E46000C */ lw $a2, 0xc($s2) +/* 1A0384 80271AA4 8E470010 */ lw $a3, 0x10($s2) +/* 1A0388 80271AA8 0C052757 */ jal play_sound_at_position +/* 1A038C 80271AAC 0000282D */ daddu $a1, $zero, $zero +/* 1A0390 80271AB0 24020001 */ addiu $v0, $zero, 1 +/* 1A0394 80271AB4 AFA20010 */ sw $v0, 0x10($sp) +/* 1A0398 80271AB8 AFA20014 */ sw $v0, 0x14($sp) +/* 1A039C 80271ABC C64C000C */ lwc1 $f12, 0xc($s2) +/* 1A03A0 80271AC0 C64E0010 */ lwc1 $f14, 0x10($s2) +/* 1A03A4 80271AC4 8E460014 */ lw $a2, 0x14($s2) +/* 1A03A8 80271AC8 0C093BF8 */ jal func_8024EFE0 +/* 1A03AC 80271ACC 0000382D */ daddu $a3, $zero, $zero +/* 1A03B0 80271AD0 AFA00010 */ sw $zero, 0x10($sp) +/* 1A03B4 80271AD4 C64C000C */ lwc1 $f12, 0xc($s2) +/* 1A03B8 80271AD8 C64E0010 */ lwc1 $f14, 0x10($s2) +/* 1A03BC 80271ADC 8E460014 */ lw $a2, 0x14($s2) +/* 1A03C0 80271AE0 0C09996B */ jal show_damage_popup +/* 1A03C4 80271AE4 0000382D */ daddu $a3, $zero, $zero +/* 1A03C8 80271AE8 3C02800E */ lui $v0, 0x800e +/* 1A03CC 80271AEC 8C42C070 */ lw $v0, -0x3f90($v0) +/* 1A03D0 80271AF0 0809C963 */ j func_8027258C +/* 1A03D4 80271AF4 30420240 */ andi $v0, $v0, 0x240 + +.L80271AF8: +/* 1A03D8 80271AF8 8FC20080 */ lw $v0, 0x80($fp) +/* 1A03DC 80271AFC 8E830188 */ lw $v1, 0x188($s4) +/* 1A03E0 80271B00 00431024 */ and $v0, $v0, $v1 +/* 1A03E4 80271B04 10400003 */ beqz $v0, .L80271B14 +/* 1A03E8 80271B08 30620080 */ andi $v0, $v1, 0x80 +/* 1A03EC 80271B0C 24080001 */ addiu $t0, $zero, 1 +/* 1A03F0 80271B10 AFA8001C */ sw $t0, 0x1c($sp) +.L80271B14: +/* 1A03F4 80271B14 1040000A */ beqz $v0, .L80271B40 +/* 1A03F8 80271B18 3C031000 */ lui $v1, 0x1000 +/* 1A03FC 80271B1C 8FC2007C */ lw $v0, 0x7c($fp) +/* 1A0400 80271B20 30420010 */ andi $v0, $v0, 0x10 +/* 1A0404 80271B24 10400006 */ beqz $v0, .L80271B40 +/* 1A0408 80271B28 00000000 */ nop +/* 1A040C 80271B2C 8FA40018 */ lw $a0, 0x18($sp) +/* 1A0410 80271B30 0C099CAB */ jal heroes_is_ability_active +/* 1A0414 80271B34 24050002 */ addiu $a1, $zero, 2 +/* 1A0418 80271B38 1040005C */ beqz $v0, .L80271CAC +/* 1A041C 80271B3C 3C031000 */ lui $v1, 0x1000 +.L80271B40: +/* 1A0420 80271B40 8E820188 */ lw $v0, 0x188($s4) +/* 1A0424 80271B44 34630040 */ ori $v1, $v1, 0x40 +/* 1A0428 80271B48 00431024 */ and $v0, $v0, $v1 +/* 1A042C 80271B4C 1440002E */ bnez $v0, .L80271C08 +/* 1A0430 80271B50 00000000 */ nop +/* 1A0434 80271B54 8FC3007C */ lw $v1, 0x7c($fp) +/* 1A0438 80271B58 30628000 */ andi $v0, $v1, 0x8000 +/* 1A043C 80271B5C 1040000D */ beqz $v0, .L80271B94 +/* 1A0440 80271B60 240400E2 */ addiu $a0, $zero, 0xe2 +/* 1A0444 80271B64 C6400014 */ lwc1 $f0, 0x14($s2) +/* 1A0448 80271B68 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A044C 80271B6C 8E46000C */ lw $a2, 0xc($s2) +/* 1A0450 80271B70 8E470010 */ lw $a3, 0x10($s2) +/* 1A0454 80271B74 0C052757 */ jal play_sound_at_position +/* 1A0458 80271B78 0000282D */ daddu $a1, $zero, $zero +/* 1A045C 80271B7C 24040001 */ addiu $a0, $zero, 1 +/* 1A0460 80271B80 0C09CCEA */ jal dispatch_damage_event_player_1 +/* 1A0464 80271B84 2405002C */ addiu $a1, $zero, 0x2c +/* 1A0468 80271B88 0260202D */ daddu $a0, $s3, $zero +/* 1A046C 80271B8C 0809C737 */ j func_80271CDC +/* 1A0470 80271B90 24050022 */ addiu $a1, $zero, 0x22 + +.L80271B94: +/* 1A0474 80271B94 30620002 */ andi $v0, $v1, 2 +/* 1A0478 80271B98 1040001B */ beqz $v0, .L80271C08 +/* 1A047C 80271B9C 00000000 */ nop +/* 1A0480 80271BA0 8E82018C */ lw $v0, 0x18c($s4) +/* 1A0484 80271BA4 30420010 */ andi $v0, $v0, 0x10 +/* 1A0488 80271BA8 14400017 */ bnez $v0, .L80271C08 +/* 1A048C 80271BAC 00000000 */ nop +/* 1A0490 80271BB0 8FA40018 */ lw $a0, 0x18($sp) +/* 1A0494 80271BB4 0C099CAB */ jal heroes_is_ability_active +/* 1A0498 80271BB8 24050007 */ addiu $a1, $zero, 7 +/* 1A049C 80271BBC 14400012 */ bnez $v0, .L80271C08 +/* 1A04A0 80271BC0 00000000 */ nop +/* 1A04A4 80271BC4 8FA40018 */ lw $a0, 0x18($sp) +/* 1A04A8 80271BC8 0C099CAB */ jal heroes_is_ability_active +/* 1A04AC 80271BCC 2405000D */ addiu $a1, $zero, 0xd +/* 1A04B0 80271BD0 1440000D */ bnez $v0, .L80271C08 +/* 1A04B4 80271BD4 240400E2 */ addiu $a0, $zero, 0xe2 +/* 1A04B8 80271BD8 C6400014 */ lwc1 $f0, 0x14($s2) +/* 1A04BC 80271BDC E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A04C0 80271BE0 8E46000C */ lw $a2, 0xc($s2) +/* 1A04C4 80271BE4 8E470010 */ lw $a3, 0x10($s2) +/* 1A04C8 80271BE8 0C052757 */ jal play_sound_at_position +/* 1A04CC 80271BEC 0000282D */ daddu $a1, $zero, $zero +/* 1A04D0 80271BF0 24040001 */ addiu $a0, $zero, 1 +/* 1A04D4 80271BF4 0C09CCEA */ jal dispatch_damage_event_player_1 +/* 1A04D8 80271BF8 2405002C */ addiu $a1, $zero, 0x2c +/* 1A04DC 80271BFC 0260202D */ daddu $a0, $s3, $zero +/* 1A04E0 80271C00 0809C737 */ j func_80271CDC +/* 1A04E4 80271C04 2405001C */ addiu $a1, $zero, 0x1c + +.L80271C08: +/* 1A04E8 80271C08 3C10800E */ lui $s0, 0x800e +/* 1A04EC 80271C0C 2610C070 */ addiu $s0, $s0, -0x3f90 +/* 1A04F0 80271C10 8E020000 */ lw $v0, ($s0) +/* 1A04F4 80271C14 30420020 */ andi $v0, $v0, 0x20 +/* 1A04F8 80271C18 10400012 */ beqz $v0, .L80271C64 +/* 1A04FC 80271C1C 3C031000 */ lui $v1, 0x1000 +/* 1A0500 80271C20 8E820188 */ lw $v0, 0x188($s4) +/* 1A0504 80271C24 30420002 */ andi $v0, $v0, 2 +/* 1A0508 80271C28 1040000E */ beqz $v0, .L80271C64 +/* 1A050C 80271C2C 00000000 */ nop +/* 1A0510 80271C30 8FC2007C */ lw $v0, 0x7c($fp) +/* 1A0514 80271C34 30420600 */ andi $v0, $v0, 0x600 +/* 1A0518 80271C38 1040000A */ beqz $v0, .L80271C64 +/* 1A051C 80271C3C 240400E2 */ addiu $a0, $zero, 0xe2 +/* 1A0520 80271C40 C6400014 */ lwc1 $f0, 0x14($s2) +/* 1A0524 80271C44 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A0528 80271C48 8E46000C */ lw $a2, 0xc($s2) +/* 1A052C 80271C4C 8E470010 */ lw $a3, 0x10($s2) +/* 1A0530 80271C50 0C052757 */ jal play_sound_at_position +/* 1A0534 80271C54 0000282D */ daddu $a1, $zero, $zero +/* 1A0538 80271C58 0260202D */ daddu $a0, $s3, $zero +/* 1A053C 80271C5C 0809C95F */ j func_8027257C +/* 1A0540 80271C60 24050022 */ addiu $a1, $zero, 0x22 + +.L80271C64: +/* 1A0544 80271C64 8E820188 */ lw $v0, 0x188($s4) +/* 1A0548 80271C68 34630040 */ ori $v1, $v1, 0x40 +/* 1A054C 80271C6C 00431024 */ and $v0, $v0, $v1 +/* 1A0550 80271C70 1440001E */ bnez $v0, .L80271CEC +/* 1A0554 80271C74 3C030020 */ lui $v1, 0x20 +/* 1A0558 80271C78 8FC2007C */ lw $v0, 0x7c($fp) +/* 1A055C 80271C7C 00431024 */ and $v0, $v0, $v1 +/* 1A0560 80271C80 1040001A */ beqz $v0, .L80271CEC +/* 1A0564 80271C84 00000000 */ nop +/* 1A0568 80271C88 8E82018C */ lw $v0, 0x18c($s4) +/* 1A056C 80271C8C 30420080 */ andi $v0, $v0, 0x80 +/* 1A0570 80271C90 14400016 */ bnez $v0, .L80271CEC +/* 1A0574 80271C94 00000000 */ nop +/* 1A0578 80271C98 8FA40018 */ lw $a0, 0x18($sp) +/* 1A057C 80271C9C 0C099CAB */ jal heroes_is_ability_active +/* 1A0580 80271CA0 24050002 */ addiu $a1, $zero, 2 +/* 1A0584 80271CA4 14400011 */ bnez $v0, .L80271CEC +/* 1A0588 80271CA8 00000000 */ nop +.L80271CAC: +/* 1A058C 80271CAC C6400014 */ lwc1 $f0, 0x14($s2) +/* 1A0590 80271CB0 24040108 */ addiu $a0, $zero, 0x108 +/* 1A0594 80271CB4 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A0598 80271CB8 8E46000C */ lw $a2, 0xc($s2) +/* 1A059C 80271CBC 8E470010 */ lw $a3, 0x10($s2) +/* 1A05A0 80271CC0 0C052757 */ jal play_sound_at_position +/* 1A05A4 80271CC4 0000282D */ daddu $a1, $zero, $zero +/* 1A05A8 80271CC8 24040001 */ addiu $a0, $zero, 1 +/* 1A05AC 80271CCC 0C09CCEA */ jal dispatch_damage_event_player_1 +/* 1A05B0 80271CD0 2405002A */ addiu $a1, $zero, 0x2a +/* 1A05B4 80271CD4 0260202D */ daddu $a0, $s3, $zero +/* 1A05B8 80271CD8 2405001B */ addiu $a1, $zero, 0x1b +func_80271CDC: +/* 1A05BC 80271CDC 0C09DC58 */ jal dispatch_event_actor +/* 1A05C0 80271CE0 00000000 */ nop +/* 1A05C4 80271CE4 0809CC63 */ j func_8027318C +/* 1A05C8 80271CE8 2402FFFF */ addiu $v0, $zero, -1 + +.L80271CEC: +/* 1A05CC 80271CEC 8E820188 */ lw $v0, 0x188($s4) +/* 1A05D0 80271CF0 30420002 */ andi $v0, $v0, 2 +/* 1A05D4 80271CF4 10400011 */ beqz $v0, .L80271D3C +/* 1A05D8 80271CF8 0000202D */ daddu $a0, $zero, $zero +/* 1A05DC 80271CFC 24020018 */ addiu $v0, $zero, 0x18 +/* 1A05E0 80271D00 C6440014 */ lwc1 $f4, 0x14($s2) +/* 1A05E4 80271D04 3C0140A0 */ lui $at, 0x40a0 +/* 1A05E8 80271D08 44810000 */ mtc1 $at, $f0 +/* 1A05EC 80271D0C 3C013F80 */ lui $at, 0x3f80 +/* 1A05F0 80271D10 44811000 */ mtc1 $at, $f2 +/* 1A05F4 80271D14 46002102 */ mul.s $f4, $f4, $f0 +/* 1A05F8 80271D18 00000000 */ nop +/* 1A05FC 80271D1C AFA20014 */ sw $v0, 0x14($sp) +/* 1A0600 80271D20 E7A20010 */ swc1 $f2, 0x10($sp) +/* 1A0604 80271D24 8E45000C */ lw $a1, 0xc($s2) +/* 1A0608 80271D28 8E460010 */ lw $a2, 0x10($s2) +/* 1A060C 80271D2C 44072000 */ mfc1 $a3, $f4 +/* 1A0610 80271D30 24080001 */ addiu $t0, $zero, 1 +/* 1A0614 80271D34 0C01C184 */ jal func_80070610 +/* 1A0618 80271D38 AFA80028 */ sw $t0, 0x28($sp) +.L80271D3C: +/* 1A061C 80271D3C 8E820188 */ lw $v0, 0x188($s4) +/* 1A0620 80271D40 30420020 */ andi $v0, $v0, 0x20 +/* 1A0624 80271D44 10400005 */ beqz $v0, .L80271D5C +/* 1A0628 80271D48 00000000 */ nop +/* 1A062C 80271D4C 0C09451D */ jal func_80251474 +/* 1A0630 80271D50 0260202D */ daddu $a0, $s3, $zero +/* 1A0634 80271D54 24080001 */ addiu $t0, $zero, 1 +/* 1A0638 80271D58 AFA8002C */ sw $t0, 0x2c($sp) +.L80271D5C: +/* 1A063C 80271D5C 8E820188 */ lw $v0, 0x188($s4) +/* 1A0640 80271D60 30420004 */ andi $v0, $v0, 4 +/* 1A0644 80271D64 1040000E */ beqz $v0, .L80271DA0 +/* 1A0648 80271D68 24020018 */ addiu $v0, $zero, 0x18 +/* 1A064C 80271D6C C6440014 */ lwc1 $f4, 0x14($s2) +/* 1A0650 80271D70 3C0140A0 */ lui $at, 0x40a0 +/* 1A0654 80271D74 44810000 */ mtc1 $at, $f0 +/* 1A0658 80271D78 3C013F80 */ lui $at, 0x3f80 +/* 1A065C 80271D7C 44811000 */ mtc1 $at, $f2 +/* 1A0660 80271D80 AFA20014 */ sw $v0, 0x14($sp) +/* 1A0664 80271D84 46002100 */ add.s $f4, $f4, $f0 +/* 1A0668 80271D88 E7A20010 */ swc1 $f2, 0x10($sp) +/* 1A066C 80271D8C 8E45000C */ lw $a1, 0xc($s2) +/* 1A0670 80271D90 8E460010 */ lw $a2, 0x10($s2) +/* 1A0674 80271D94 44072000 */ mfc1 $a3, $f4 +/* 1A0678 80271D98 0C01C70C */ jal func_80071C30 +/* 1A067C 80271D9C 0000202D */ daddu $a0, $zero, $zero +.L80271DA0: +/* 1A0680 80271DA0 8E820188 */ lw $v0, 0x188($s4) +/* 1A0684 80271DA4 30420008 */ andi $v0, $v0, 8 +/* 1A0688 80271DA8 1040000C */ beqz $v0, .L80271DDC +/* 1A068C 80271DAC 0000202D */ daddu $a0, $zero, $zero +/* 1A0690 80271DB0 C6420014 */ lwc1 $f2, 0x14($s2) +/* 1A0694 80271DB4 3C0140A0 */ lui $at, 0x40a0 +/* 1A0698 80271DB8 44810000 */ mtc1 $at, $f0 +/* 1A069C 80271DBC 00000000 */ nop +/* 1A06A0 80271DC0 46001080 */ add.s $f2, $f2, $f0 +/* 1A06A4 80271DC4 8E45000C */ lw $a1, 0xc($s2) +/* 1A06A8 80271DC8 8E460010 */ lw $a2, 0x10($s2) +/* 1A06AC 80271DCC 44071000 */ mfc1 $a3, $f2 +/* 1A06B0 80271DD0 24080001 */ addiu $t0, $zero, 1 +/* 1A06B4 80271DD4 0C01C2A4 */ jal func_80070A90 +/* 1A06B8 80271DD8 AFA80030 */ sw $t0, 0x30($sp) +.L80271DDC: +/* 1A06BC 80271DDC 8FA40018 */ lw $a0, 0x18($sp) +/* 1A06C0 80271DE0 0C099CAB */ jal heroes_is_ability_active +/* 1A06C4 80271DE4 2405000F */ addiu $a1, $zero, 0xf +/* 1A06C8 80271DE8 0040802D */ daddu $s0, $v0, $zero +/* 1A06CC 80271DEC 1200002D */ beqz $s0, .L80271EA4 +/* 1A06D0 80271DF0 2402001E */ addiu $v0, $zero, 0x1e +/* 1A06D4 80271DF4 C6440014 */ lwc1 $f4, 0x14($s2) +/* 1A06D8 80271DF8 3C0140A0 */ lui $at, 0x40a0 +/* 1A06DC 80271DFC 44810000 */ mtc1 $at, $f0 +/* 1A06E0 80271E00 3C013F80 */ lui $at, 0x3f80 +/* 1A06E4 80271E04 44811000 */ mtc1 $at, $f2 +/* 1A06E8 80271E08 AFA20014 */ sw $v0, 0x14($sp) +/* 1A06EC 80271E0C 46002100 */ add.s $f4, $f4, $f0 +/* 1A06F0 80271E10 E7A20010 */ swc1 $f2, 0x10($sp) +/* 1A06F4 80271E14 8E45000C */ lw $a1, 0xc($s2) +/* 1A06F8 80271E18 8E460010 */ lw $a2, 0x10($s2) +/* 1A06FC 80271E1C 44072000 */ mfc1 $a3, $f4 +/* 1A0700 80271E20 0C01C9F4 */ jal func_800727D0 +/* 1A0704 80271E24 0000202D */ daddu $a0, $zero, $zero +/* 1A0708 80271E28 2603FFFF */ addiu $v1, $s0, -1 +/* 1A070C 80271E2C 2C620006 */ sltiu $v0, $v1, 6 +/* 1A0710 80271E30 1040001C */ beqz $v0, .L80271EA4 +/* 1A0714 80271E34 00031080 */ sll $v0, $v1, 2 +/* 1A0718 80271E38 3C01802A */ lui $at, 0x802a +/* 1A071C 80271E3C 00220821 */ addu $at, $at, $v0 +/* 1A0720 80271E40 8C22D880 */ lw $v0, -0x2780($at) +/* 1A0724 80271E44 00400008 */ jr $v0 +/* 1A0728 80271E48 00000000 */ nop +/* 1A072C 80271E4C C6400014 */ lwc1 $f0, 0x14($s2) +/* 1A0730 80271E50 0809C7A4 */ j func_80271E90 +/* 1A0734 80271E54 24040372 */ addiu $a0, $zero, 0x372 + +/* 1A0738 80271E58 C6400014 */ lwc1 $f0, 0x14($s2) +/* 1A073C 80271E5C 0809C7A4 */ j func_80271E90 +/* 1A0740 80271E60 240400F1 */ addiu $a0, $zero, 0xf1 + +/* 1A0744 80271E64 C6400014 */ lwc1 $f0, 0x14($s2) +/* 1A0748 80271E68 0809C7A4 */ j func_80271E90 +/* 1A074C 80271E6C 240400DC */ addiu $a0, $zero, 0xdc + +/* 1A0750 80271E70 C6400014 */ lwc1 $f0, 0x14($s2) +/* 1A0754 80271E74 0809C7A4 */ j func_80271E90 +/* 1A0758 80271E78 24042072 */ addiu $a0, $zero, 0x2072 + +/* 1A075C 80271E7C C6400014 */ lwc1 $f0, 0x14($s2) +/* 1A0760 80271E80 0809C7A4 */ j func_80271E90 +/* 1A0764 80271E84 24042073 */ addiu $a0, $zero, 0x2073 + +/* 1A0768 80271E88 C6400014 */ lwc1 $f0, 0x14($s2) +/* 1A076C 80271E8C 2404205B */ addiu $a0, $zero, 0x205b +func_80271E90: +/* 1A0770 80271E90 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A0774 80271E94 8E46000C */ lw $a2, 0xc($s2) +/* 1A0778 80271E98 8E470010 */ lw $a3, 0x10($s2) +/* 1A077C 80271E9C 0C052757 */ jal play_sound_at_position +/* 1A0780 80271EA0 0000282D */ daddu $a1, $zero, $zero +.L80271EA4: +/* 1A0784 80271EA4 0C03A752 */ jal is_ability_active +/* 1A0788 80271EA8 24040013 */ addiu $a0, $zero, 0x13 +/* 1A078C 80271EAC 1440001B */ bnez $v0, .L80271F1C +/* 1A0790 80271EB0 2403000B */ addiu $v1, $zero, 0xb +/* 1A0794 80271EB4 8FA80018 */ lw $t0, 0x18($sp) +/* 1A0798 80271EB8 81020212 */ lb $v0, 0x212($t0) +/* 1A079C 80271EBC 10430017 */ beq $v0, $v1, .L80271F1C +/* 1A07A0 80271EC0 00000000 */ nop +/* 1A07A4 80271EC4 82620212 */ lb $v0, 0x212($s3) +/* 1A07A8 80271EC8 10430005 */ beq $v0, $v1, .L80271EE0 +/* 1A07AC 80271ECC 3C031000 */ lui $v1, 0x1000 +/* 1A07B0 80271ED0 8FC2007C */ lw $v0, 0x7c($fp) +/* 1A07B4 80271ED4 30420080 */ andi $v0, $v0, 0x80 +/* 1A07B8 80271ED8 10400010 */ beqz $v0, .L80271F1C +/* 1A07BC 80271EDC 00000000 */ nop +.L80271EE0: +/* 1A07C0 80271EE0 8E820188 */ lw $v0, 0x188($s4) +/* 1A07C4 80271EE4 34630020 */ ori $v1, $v1, 0x20 +/* 1A07C8 80271EE8 00431024 */ and $v0, $v0, $v1 +/* 1A07CC 80271EEC 1440000B */ bnez $v0, .L80271F1C +/* 1A07D0 80271EF0 00000000 */ nop +/* 1A07D4 80271EF4 8E82018C */ lw $v0, 0x18c($s4) +/* 1A07D8 80271EF8 30420008 */ andi $v0, $v0, 8 +/* 1A07DC 80271EFC 14400007 */ bnez $v0, .L80271F1C +/* 1A07E0 80271F00 24080001 */ addiu $t0, $zero, 1 +/* 1A07E4 80271F04 3C03800E */ lui $v1, 0x800e +/* 1A07E8 80271F08 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 1A07EC 80271F0C 8C620000 */ lw $v0, ($v1) +/* 1A07F0 80271F10 AFA80020 */ sw $t0, 0x20($sp) +/* 1A07F4 80271F14 34420020 */ ori $v0, $v0, 0x20 +/* 1A07F8 80271F18 AC620000 */ sw $v0, ($v1) +.L80271F1C: +/* 1A07FC 80271F1C 8FC2007C */ lw $v0, 0x7c($fp) +/* 1A0800 80271F20 3C03000C */ lui $v1, 0xc +/* 1A0804 80271F24 00431024 */ and $v0, $v0, $v1 +/* 1A0808 80271F28 10400005 */ beqz $v0, .L80271F40 +/* 1A080C 80271F2C 3C03F7FF */ lui $v1, 0xf7ff +/* 1A0810 80271F30 8E820188 */ lw $v0, 0x188($s4) +/* 1A0814 80271F34 3463FFFF */ ori $v1, $v1, 0xffff +/* 1A0818 80271F38 00431024 */ and $v0, $v0, $v1 +/* 1A081C 80271F3C AE820188 */ sw $v0, 0x188($s4) +.L80271F40: +/* 1A0820 80271F40 8FC50078 */ lw $a1, 0x78($fp) +/* 1A0824 80271F44 8E860188 */ lw $a2, 0x188($s4) +/* 1A0828 80271F48 0C0998AF */ jal get_defense +/* 1A082C 80271F4C 0260202D */ daddu $a0, $s3, $zero +/* 1A0830 80271F50 0040A82D */ daddu $s5, $v0, $zero +/* 1A0834 80271F54 8E840188 */ lw $a0, 0x188($s4) +/* 1A0838 80271F58 3C020800 */ lui $v0, 0x800 +/* 1A083C 80271F5C 00821024 */ and $v0, $a0, $v0 +/* 1A0840 80271F60 14400003 */ bnez $v0, .L80271F70 +/* 1A0844 80271F64 00000000 */ nop +/* 1A0848 80271F68 82620222 */ lb $v0, 0x222($s3) +/* 1A084C 80271F6C 02A2A821 */ addu $s5, $s5, $v0 +.L80271F70: +/* 1A0850 80271F70 8FC2007C */ lw $v0, 0x7c($fp) +/* 1A0854 80271F74 30422000 */ andi $v0, $v0, 0x2000 +/* 1A0858 80271F78 54400001 */ bnezl $v0, .L80271F80 +/* 1A085C 80271F7C 26B5007F */ addiu $s5, $s5, 0x7f +.L80271F80: +/* 1A0860 80271F80 8690017E */ lh $s0, 0x17e($s4) +/* 1A0864 80271F84 0C098EC4 */ jal count_power_plus +/* 1A0868 80271F88 00000000 */ nop +/* 1A086C 80271F8C 828300AC */ lb $v1, 0xac($s4) +/* 1A0870 80271F90 1860000A */ blez $v1, .L80271FBC +/* 1A0874 80271F94 02028021 */ addu $s0, $s0, $v0 +/* 1A0878 80271F98 3C02800E */ lui $v0, 0x800e +/* 1A087C 80271F9C 8C42C070 */ lw $v0, -0x3f90($v0) +/* 1A0880 80271FA0 30420010 */ andi $v0, $v0, 0x10 +/* 1A0884 80271FA4 54400005 */ bnezl $v0, .L80271FBC +/* 1A0888 80271FA8 02038021 */ addu $s0, $s0, $v1 +/* 1A088C 80271FAC 8E820188 */ lw $v0, 0x188($s4) +/* 1A0890 80271FB0 30420080 */ andi $v0, $v0, 0x80 +/* 1A0894 80271FB4 54400001 */ bnezl $v0, .L80271FBC +/* 1A0898 80271FB8 02038021 */ addu $s0, $s0, $v1 +.L80271FBC: +/* 1A089C 80271FBC 82830097 */ lb $v1, 0x97($s4) +/* 1A08A0 80271FC0 1060000C */ beqz $v1, .L80271FF4 +/* 1A08A4 80271FC4 00000000 */ nop +/* 1A08A8 80271FC8 8E820188 */ lw $v0, 0x188($s4) +/* 1A08AC 80271FCC 30420080 */ andi $v0, $v0, 0x80 +/* 1A08B0 80271FD0 10400008 */ beqz $v0, .L80271FF4 +/* 1A08B4 80271FD4 3C04DFFF */ lui $a0, 0xdfff +/* 1A08B8 80271FD8 02038021 */ addu $s0, $s0, $v1 +/* 1A08BC 80271FDC 3C03800E */ lui $v1, 0x800e +/* 1A08C0 80271FE0 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 1A08C4 80271FE4 8C620000 */ lw $v0, ($v1) +/* 1A08C8 80271FE8 3484FFFF */ ori $a0, $a0, 0xffff +/* 1A08CC 80271FEC 00441024 */ and $v0, $v0, $a0 +/* 1A08D0 80271FF0 AC620000 */ sw $v0, ($v1) +.L80271FF4: +/* 1A08D4 80271FF4 82840096 */ lb $a0, 0x96($s4) +/* 1A08D8 80271FF8 1080000E */ beqz $a0, .L80272034 +/* 1A08DC 80271FFC 3C030024 */ lui $v1, 0x24 +/* 1A08E0 80272000 8E820188 */ lw $v0, 0x188($s4) +/* 1A08E4 80272004 34630040 */ ori $v1, $v1, 0x40 +/* 1A08E8 80272008 00431024 */ and $v0, $v0, $v1 +/* 1A08EC 8027200C 10400009 */ beqz $v0, .L80272034 +/* 1A08F0 80272010 00000000 */ nop +/* 1A08F4 80272014 02048021 */ addu $s0, $s0, $a0 +/* 1A08F8 80272018 3C04EFFF */ lui $a0, 0xefff +/* 1A08FC 8027201C 3C03800E */ lui $v1, 0x800e +/* 1A0900 80272020 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 1A0904 80272024 8C620000 */ lw $v0, ($v1) +/* 1A0908 80272028 3484FFFF */ ori $a0, $a0, 0xffff +/* 1A090C 8027202C 00441024 */ and $v0, $v0, $a0 +/* 1A0910 80272030 AC620000 */ sw $v0, ($v1) +.L80272034: +/* 1A0914 80272034 82820098 */ lb $v0, 0x98($s4) +/* 1A0918 80272038 54400001 */ bnezl $v0, .L80272040 +/* 1A091C 8027203C 26100002 */ addiu $s0, $s0, 2 +.L80272040: +/* 1A0920 80272040 8FA40018 */ lw $a0, 0x18($sp) +/* 1A0924 80272044 0C099CAB */ jal heroes_is_ability_active +/* 1A0928 80272048 24050015 */ addiu $a1, $zero, 0x15 +/* 1A092C 8027204C 54400001 */ bnezl $v0, .L80272054 +/* 1A0930 80272050 26100002 */ addiu $s0, $s0, 2 +.L80272054: +/* 1A0934 80272054 8FA40018 */ lw $a0, 0x18($sp) +/* 1A0938 80272058 0C099CAB */ jal heroes_is_ability_active +/* 1A093C 8027205C 24050022 */ addiu $a1, $zero, 0x22 +/* 1A0940 80272060 54400001 */ bnezl $v0, .L80272068 +/* 1A0944 80272064 26100001 */ addiu $s0, $s0, 1 +.L80272068: +/* 1A0948 80272068 8FA40018 */ lw $a0, 0x18($sp) +/* 1A094C 8027206C 0C099CAB */ jal heroes_is_ability_active +/* 1A0950 80272070 24050025 */ addiu $a1, $zero, 0x25 +/* 1A0954 80272074 54400001 */ bnezl $v0, .L8027207C +/* 1A0958 80272078 2610FFFF */ addiu $s0, $s0, -1 +.L8027207C: +/* 1A095C 8027207C 8282009B */ lb $v0, 0x9b($s4) +/* 1A0960 80272080 54400001 */ bnezl $v0, .L80272088 +/* 1A0964 80272084 26100001 */ addiu $s0, $s0, 1 +.L80272088: +/* 1A0968 80272088 8FA40018 */ lw $a0, 0x18($sp) +/* 1A096C 8027208C 80820221 */ lb $v0, 0x221($a0) +/* 1A0970 80272090 24050009 */ addiu $a1, $zero, 9 +/* 1A0974 80272094 0C099CAB */ jal heroes_is_ability_active +/* 1A0978 80272098 02028021 */ addu $s0, $s0, $v0 +/* 1A097C 8027209C 10400013 */ beqz $v0, .L802720EC +/* 1A0980 802720A0 00000000 */ nop +/* 1A0984 802720A4 92820089 */ lbu $v0, 0x89($s4) +/* 1A0988 802720A8 2610FFFF */ addiu $s0, $s0, -1 +/* 1A098C 802720AC 24420001 */ addiu $v0, $v0, 1 +/* 1A0990 802720B0 06010003 */ bgez $s0, .L802720C0 +/* 1A0994 802720B4 A2820089 */ sb $v0, 0x89($s4) +/* 1A0998 802720B8 00501021 */ addu $v0, $v0, $s0 +/* 1A099C 802720BC A2820089 */ sb $v0, 0x89($s4) +.L802720C0: +/* 1A09A0 802720C0 3C05800E */ lui $a1, 0x800e +/* 1A09A4 802720C4 24A5C070 */ addiu $a1, $a1, -0x3f90 +/* 1A09A8 802720C8 3C040400 */ lui $a0, 0x400 +/* 1A09AC 802720CC 8CA20004 */ lw $v0, 4($a1) +/* 1A09B0 802720D0 82830089 */ lb $v1, 0x89($s4) +/* 1A09B4 802720D4 00441025 */ or $v0, $v0, $a0 +/* 1A09B8 802720D8 28630006 */ slti $v1, $v1, 6 +/* 1A09BC 802720DC 14600003 */ bnez $v1, .L802720EC +/* 1A09C0 802720E0 ACA20004 */ sw $v0, 4($a1) +/* 1A09C4 802720E4 24020005 */ addiu $v0, $zero, 5 +/* 1A09C8 802720E8 A2820089 */ sb $v0, 0x89($s4) +.L802720EC: +/* 1A09CC 802720EC 8FA40018 */ lw $a0, 0x18($sp) +/* 1A09D0 802720F0 0C099CAB */ jal heroes_is_ability_active +/* 1A09D4 802720F4 24050024 */ addiu $a1, $zero, 0x24 +/* 1A09D8 802720F8 10400013 */ beqz $v0, .L80272148 +/* 1A09DC 802720FC 00000000 */ nop +/* 1A09E0 80272100 92820089 */ lbu $v0, 0x89($s4) +/* 1A09E4 80272104 2610FFFE */ addiu $s0, $s0, -2 +/* 1A09E8 80272108 24420002 */ addiu $v0, $v0, 2 +/* 1A09EC 8027210C 06010003 */ bgez $s0, .L8027211C +/* 1A09F0 80272110 A2820089 */ sb $v0, 0x89($s4) +/* 1A09F4 80272114 00501021 */ addu $v0, $v0, $s0 +/* 1A09F8 80272118 A2820089 */ sb $v0, 0x89($s4) +.L8027211C: +/* 1A09FC 8027211C 3C05800E */ lui $a1, 0x800e +/* 1A0A00 80272120 24A5C070 */ addiu $a1, $a1, -0x3f90 +/* 1A0A04 80272124 3C040400 */ lui $a0, 0x400 +/* 1A0A08 80272128 8CA20004 */ lw $v0, 4($a1) +/* 1A0A0C 8027212C 82830089 */ lb $v1, 0x89($s4) +/* 1A0A10 80272130 00441025 */ or $v0, $v0, $a0 +/* 1A0A14 80272134 28630006 */ slti $v1, $v1, 6 +/* 1A0A18 80272138 14600003 */ bnez $v1, .L80272148 +/* 1A0A1C 8027213C ACA20004 */ sw $v0, 4($a1) +/* 1A0A20 80272140 24020005 */ addiu $v0, $zero, 5 +/* 1A0A24 80272144 A2820089 */ sb $v0, 0x89($s4) +.L80272148: +/* 1A0A28 80272148 3C04800E */ lui $a0, 0x800e +/* 1A0A2C 8027214C 2484C070 */ addiu $a0, $a0, -0x3f90 +/* 1A0A30 80272150 8C820004 */ lw $v0, 4($a0) +/* 1A0A34 80272154 3C030800 */ lui $v1, 0x800 +/* 1A0A38 80272158 00431024 */ and $v0, $v0, $v1 +/* 1A0A3C 8027215C 1040001A */ beqz $v0, .L802721C8 +/* 1A0A40 80272160 00000000 */ nop +/* 1A0A44 80272164 8C820000 */ lw $v0, ($a0) +/* 1A0A48 80272168 30420010 */ andi $v0, $v0, 0x10 +/* 1A0A4C 8027216C 14400005 */ bnez $v0, .L80272184 +/* 1A0A50 80272170 00000000 */ nop +/* 1A0A54 80272174 8E820188 */ lw $v0, 0x188($s4) +/* 1A0A58 80272178 30420080 */ andi $v0, $v0, 0x80 +/* 1A0A5C 8027217C 10400012 */ beqz $v0, .L802721C8 +/* 1A0A60 80272180 00000000 */ nop +.L80272184: +/* 1A0A64 80272184 92830099 */ lbu $v1, 0x99($s4) +/* 1A0A68 80272188 30620002 */ andi $v0, $v1, 2 +/* 1A0A6C 8027218C 54400001 */ bnezl $v0, .L80272194 +/* 1A0A70 80272190 26100002 */ addiu $s0, $s0, 2 +.L80272194: +/* 1A0A74 80272194 30620001 */ andi $v0, $v1, 1 +/* 1A0A78 80272198 54400001 */ bnezl $v0, .L802721A0 +/* 1A0A7C 8027219C 26100004 */ addiu $s0, $s0, 4 +.L802721A0: +/* 1A0A80 802721A0 3C013F00 */ lui $at, 0x3f00 +/* 1A0A84 802721A4 44810000 */ mtc1 $at, $f0 +/* 1A0A88 802721A8 24020014 */ addiu $v0, $zero, 0x14 +/* 1A0A8C 802721AC AFA20014 */ sw $v0, 0x14($sp) +/* 1A0A90 802721B0 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A0A94 802721B4 8E45000C */ lw $a1, 0xc($s2) +/* 1A0A98 802721B8 8E460010 */ lw $a2, 0x10($s2) +/* 1A0A9C 802721BC 8E470014 */ lw $a3, 0x14($s2) +/* 1A0AA0 802721C0 0C01C2EC */ jal func_80070BB0 +/* 1A0AA4 802721C4 24040009 */ addiu $a0, $zero, 9 +.L802721C8: +/* 1A0AA8 802721C8 3C11800E */ lui $s1, 0x800e +/* 1A0AAC 802721CC 2631C070 */ addiu $s1, $s1, -0x3f90 +/* 1A0AB0 802721D0 8E220004 */ lw $v0, 4($s1) +/* 1A0AB4 802721D4 3C030100 */ lui $v1, 0x100 +/* 1A0AB8 802721D8 00431024 */ and $v0, $v0, $v1 +/* 1A0ABC 802721DC 14400016 */ bnez $v0, .L80272238 +/* 1A0AC0 802721E0 00000000 */ nop +/* 1A0AC4 802721E4 8FA40018 */ lw $a0, 0x18($sp) +/* 1A0AC8 802721E8 0C099CAB */ jal heroes_is_ability_active +/* 1A0ACC 802721EC 2405000A */ addiu $a1, $zero, 0xa +/* 1A0AD0 802721F0 10400011 */ beqz $v0, .L80272238 +/* 1A0AD4 802721F4 00000000 */ nop +/* 1A0AD8 802721F8 8E230000 */ lw $v1, ($s1) +/* 1A0ADC 802721FC 30620240 */ andi $v0, $v1, 0x240 +/* 1A0AE0 80272200 1440000D */ bnez $v0, .L80272238 +/* 1A0AE4 80272204 26100001 */ addiu $s0, $s0, 1 +/* 1A0AE8 80272208 24080001 */ addiu $t0, $zero, 1 +/* 1A0AEC 8027220C 0000802D */ daddu $s0, $zero, $zero +/* 1A0AF0 80272210 0200A82D */ daddu $s5, $s0, $zero +/* 1A0AF4 80272214 2402FFBF */ addiu $v0, $zero, -0x41 +/* 1A0AF8 80272218 00621024 */ and $v0, $v1, $v0 +/* 1A0AFC 8027221C 2403FDFF */ addiu $v1, $zero, -0x201 +/* 1A0B00 80272220 00431024 */ and $v0, $v0, $v1 +/* 1A0B04 80272224 2403FFEF */ addiu $v1, $zero, -0x11 +/* 1A0B08 80272228 00431024 */ and $v0, $v0, $v1 +/* 1A0B0C 8027222C 34420020 */ ori $v0, $v0, 0x20 +/* 1A0B10 80272230 AFA80024 */ sw $t0, 0x24($sp) +/* 1A0B14 80272234 AE220000 */ sw $v0, ($s1) +.L80272238: +/* 1A0B18 80272238 8FA80018 */ lw $t0, 0x18($sp) +/* 1A0B1C 8027223C 81030210 */ lb $v1, 0x210($t0) +/* 1A0B20 80272240 2402000A */ addiu $v0, $zero, 0xa +/* 1A0B24 80272244 14620007 */ bne $v1, $v0, .L80272264 +/* 1A0B28 80272248 00000000 */ nop +/* 1A0B2C 8027224C 1A000005 */ blez $s0, .L80272264 +/* 1A0B30 80272250 001017C2 */ srl $v0, $s0, 0x1f +/* 1A0B34 80272254 02021021 */ addu $v0, $s0, $v0 +/* 1A0B38 80272258 00028043 */ sra $s0, $v0, 1 +/* 1A0B3C 8027225C 52000001 */ beql $s0, $zero, .L80272264 +/* 1A0B40 80272260 24100001 */ addiu $s0, $zero, 1 +.L80272264: +/* 1A0B44 80272264 3C02800E */ lui $v0, 0x800e +/* 1A0B48 80272268 8C42C070 */ lw $v0, -0x3f90($v0) +/* 1A0B4C 8027226C 30420020 */ andi $v0, $v0, 0x20 +/* 1A0B50 80272270 1040000B */ beqz $v0, .L802722A0 +/* 1A0B54 80272274 00000000 */ nop +/* 1A0B58 80272278 8E820188 */ lw $v0, 0x188($s4) +/* 1A0B5C 8027227C 30420200 */ andi $v0, $v0, 0x200 +/* 1A0B60 80272280 10400007 */ beqz $v0, .L802722A0 +/* 1A0B64 80272284 00000000 */ nop +/* 1A0B68 80272288 8FC2007C */ lw $v0, 0x7c($fp) +/* 1A0B6C 8027228C 30420200 */ andi $v0, $v0, 0x200 +/* 1A0B70 80272290 10400003 */ beqz $v0, .L802722A0 +/* 1A0B74 80272294 00000000 */ nop +/* 1A0B78 80272298 0000A82D */ daddu $s5, $zero, $zero +/* 1A0B7C 8027229C 827001B8 */ lb $s0, 0x1b8($s3) +.L802722A0: +/* 1A0B80 802722A0 8E820188 */ lw $v0, 0x188($s4) +/* 1A0B84 802722A4 3C034000 */ lui $v1, 0x4000 +/* 1A0B88 802722A8 00431024 */ and $v0, $v0, $v1 +/* 1A0B8C 802722AC 10400004 */ beqz $v0, .L802722C0 +/* 1A0B90 802722B0 2A020064 */ slti $v0, $s0, 0x64 +/* 1A0B94 802722B4 0000A82D */ daddu $s5, $zero, $zero +/* 1A0B98 802722B8 02A0802D */ daddu $s0, $s5, $zero +/* 1A0B9C 802722BC 2A020064 */ slti $v0, $s0, 0x64 +.L802722C0: +/* 1A0BA0 802722C0 50400001 */ beql $v0, $zero, .L802722C8 +/* 1A0BA4 802722C4 24100063 */ addiu $s0, $zero, 0x63 +.L802722C8: +/* 1A0BA8 802722C8 06020001 */ bltzl $s0, .L802722D0 +/* 1A0BAC 802722CC 0000A82D */ daddu $s5, $zero, $zero +.L802722D0: +/* 1A0BB0 802722D0 02158023 */ subu $s0, $s0, $s5 +/* 1A0BB4 802722D4 06010002 */ bgez $s0, .L802722E0 +/* 1A0BB8 802722D8 A66001FA */ sh $zero, 0x1fa($s3) +/* 1A0BBC 802722DC 0000802D */ daddu $s0, $zero, $zero +.L802722E0: +/* 1A0BC0 802722E0 8E820188 */ lw $v0, 0x188($s4) +/* 1A0BC4 802722E4 3C030010 */ lui $v1, 0x10 +/* 1A0BC8 802722E8 00431024 */ and $v0, $v0, $v1 +/* 1A0BCC 802722EC 10400007 */ beqz $v0, .L8027230C +/* 1A0BD0 802722F0 00000000 */ nop +/* 1A0BD4 802722F4 1A000005 */ blez $s0, .L8027230C +/* 1A0BD8 802722F8 00000000 */ nop +/* 1A0BDC 802722FC 82820198 */ lb $v0, 0x198($s4) +/* 1A0BE0 80272300 02028021 */ addu $s0, $s0, $v0 +/* 1A0BE4 80272304 5A000001 */ blezl $s0, .L8027230C +/* 1A0BE8 80272308 24100001 */ addiu $s0, $zero, 1 +.L8027230C: +/* 1A0BEC 8027230C 1E000017 */ bgtz $s0, .L8027236C +/* 1A0BF0 80272310 A6800180 */ sh $zero, 0x180($s4) +/* 1A0BF4 80272314 A66001FA */ sh $zero, 0x1fa($s3) +/* 1A0BF8 80272318 8E820188 */ lw $v0, 0x188($s4) +/* 1A0BFC 8027231C 3C034000 */ lui $v1, 0x4000 +/* 1A0C00 80272320 00431024 */ and $v0, $v0, $v1 +/* 1A0C04 80272324 1440000B */ bnez $v0, .L80272354 +/* 1A0C08 80272328 24150002 */ addiu $s5, $zero, 2 +/* 1A0C0C 8027232C 24110017 */ addiu $s1, $zero, 0x17 +/* 1A0C10 80272330 C6400014 */ lwc1 $f0, 0x14($s2) +/* 1A0C14 80272334 2404010C */ addiu $a0, $zero, 0x10c +/* 1A0C18 80272338 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A0C1C 8027233C 8E46000C */ lw $a2, 0xc($s2) +/* 1A0C20 80272340 8E470010 */ lw $a3, 0x10($s2) +/* 1A0C24 80272344 0C052757 */ jal play_sound_at_position +/* 1A0C28 80272348 0000282D */ daddu $a1, $zero, $zero +/* 1A0C2C 8027234C 0809C900 */ j func_80272400 +/* 1A0C30 80272350 A6800180 */ sh $zero, 0x180($s4) + +.L80272354: +/* 1A0C34 80272354 826201B8 */ lb $v0, 0x1b8($s3) +/* 1A0C38 80272358 1C400002 */ bgtz $v0, .L80272364 +/* 1A0C3C 8027235C 24110017 */ addiu $s1, $zero, 0x17 +/* 1A0C40 80272360 24110020 */ addiu $s1, $zero, 0x20 +.L80272364: +/* 1A0C44 80272364 0809C900 */ j func_80272400 +/* 1A0C48 80272368 A6800180 */ sh $zero, 0x180($s4) + +.L8027236C: +/* 1A0C4C 8027236C 24110009 */ addiu $s1, $zero, 9 +/* 1A0C50 80272370 966201FC */ lhu $v0, 0x1fc($s3) +/* 1A0C54 80272374 966301FA */ lhu $v1, 0x1fa($s3) +/* 1A0C58 80272378 00501021 */ addu $v0, $v0, $s0 +/* 1A0C5C 8027237C 00701823 */ subu $v1, $v1, $s0 +/* 1A0C60 80272380 A66201FC */ sh $v0, 0x1fc($s3) +/* 1A0C64 80272384 A66301FA */ sh $v1, 0x1fa($s3) +/* 1A0C68 80272388 8FC20000 */ lw $v0, ($fp) +/* 1A0C6C 8027238C 30422000 */ andi $v0, $v0, 0x2000 +/* 1A0C70 80272390 14400016 */ bnez $v0, .L802723EC +/* 1A0C74 80272394 0000A82D */ daddu $s5, $zero, $zero +/* 1A0C78 80272398 3C02800E */ lui $v0, 0x800e +/* 1A0C7C 8027239C 8C42C070 */ lw $v0, -0x3f90($v0) +/* 1A0C80 802723A0 3C030200 */ lui $v1, 0x200 +/* 1A0C84 802723A4 00431024 */ and $v0, $v0, $v1 +/* 1A0C88 802723A8 14400010 */ bnez $v0, .L802723EC +/* 1A0C8C 802723AC 00000000 */ nop +/* 1A0C90 802723B0 8FA8001C */ lw $t0, 0x1c($sp) +/* 1A0C94 802723B4 1500000D */ bnez $t0, .L802723EC +/* 1A0C98 802723B8 00000000 */ nop +/* 1A0C9C 802723BC 8FC20004 */ lw $v0, 4($fp) +/* 1A0CA0 802723C0 30420004 */ andi $v0, $v0, 4 +/* 1A0CA4 802723C4 14400009 */ bnez $v0, .L802723EC +/* 1A0CA8 802723C8 00000000 */ nop +/* 1A0CAC 802723CC 926201B8 */ lbu $v0, 0x1b8($s3) +/* 1A0CB0 802723D0 00501023 */ subu $v0, $v0, $s0 +/* 1A0CB4 802723D4 A26201B8 */ sb $v0, 0x1b8($s3) +/* 1A0CB8 802723D8 00021600 */ sll $v0, $v0, 0x18 +/* 1A0CBC 802723DC 1C400003 */ bgtz $v0, .L802723EC +/* 1A0CC0 802723E0 00000000 */ nop +/* 1A0CC4 802723E4 A26001B8 */ sb $zero, 0x1b8($s3) +/* 1A0CC8 802723E8 24110020 */ addiu $s1, $zero, 0x20 +.L802723EC: +/* 1A0CCC 802723EC 96820180 */ lhu $v0, 0x180($s4) +/* 1A0CD0 802723F0 00501021 */ addu $v0, $v0, $s0 +/* 1A0CD4 802723F4 A6820180 */ sh $v0, 0x180($s4) +/* 1A0CD8 802723F8 A66201F8 */ sh $v0, 0x1f8($s3) +/* 1A0CDC 802723FC A66001FA */ sh $zero, 0x1fa($s3) +func_80272400: +/* 1A0CE0 80272400 8FC20000 */ lw $v0, ($fp) +/* 1A0CE4 80272404 30422000 */ andi $v0, $v0, 0x2000 +/* 1A0CE8 80272408 10400037 */ beqz $v0, .L802724E8 +/* 1A0CEC 8027240C 00000000 */ nop +/* 1A0CF0 80272410 0C03A752 */ jal is_ability_active +/* 1A0CF4 80272414 24040013 */ addiu $a0, $zero, 0x13 +/* 1A0CF8 80272418 14400017 */ bnez $v0, .L80272478 +/* 1A0CFC 8027241C 2403000B */ addiu $v1, $zero, 0xb +/* 1A0D00 80272420 8FA80018 */ lw $t0, 0x18($sp) +/* 1A0D04 80272424 81020212 */ lb $v0, 0x212($t0) +/* 1A0D08 80272428 10430013 */ beq $v0, $v1, .L80272478 +/* 1A0D0C 8027242C 00000000 */ nop +/* 1A0D10 80272430 82620212 */ lb $v0, 0x212($s3) +/* 1A0D14 80272434 10430005 */ beq $v0, $v1, .L8027244C +/* 1A0D18 80272438 00000000 */ nop +/* 1A0D1C 8027243C 8FC2007C */ lw $v0, 0x7c($fp) +/* 1A0D20 80272440 30420080 */ andi $v0, $v0, 0x80 +/* 1A0D24 80272444 1040000C */ beqz $v0, .L80272478 +/* 1A0D28 80272448 00000000 */ nop +.L8027244C: +/* 1A0D2C 8027244C 8E830188 */ lw $v1, 0x188($s4) +/* 1A0D30 80272450 3C021000 */ lui $v0, 0x1000 +/* 1A0D34 80272454 00621024 */ and $v0, $v1, $v0 +/* 1A0D38 80272458 14400007 */ bnez $v0, .L80272478 +/* 1A0D3C 8027245C 00000000 */ nop +/* 1A0D40 80272460 8E82018C */ lw $v0, 0x18c($s4) +/* 1A0D44 80272464 30420008 */ andi $v0, $v0, 8 +/* 1A0D48 80272468 14400003 */ bnez $v0, .L80272478 +/* 1A0D4C 8027246C 30620020 */ andi $v0, $v1, 0x20 +/* 1A0D50 80272470 10400338 */ beqz $v0, .L80273154 +/* 1A0D54 80272474 00000000 */ nop +.L80272478: +/* 1A0D58 80272478 3C10800E */ lui $s0, 0x800e +/* 1A0D5C 8027247C 2610C070 */ addiu $s0, $s0, -0x3f90 +/* 1A0D60 80272480 8E020000 */ lw $v0, ($s0) +/* 1A0D64 80272484 30420020 */ andi $v0, $v0, 0x20 +/* 1A0D68 80272488 14400002 */ bnez $v0, .L80272494 +/* 1A0D6C 8027248C 24110019 */ addiu $s1, $zero, 0x19 +/* 1A0D70 80272490 24110017 */ addiu $s1, $zero, 0x17 +.L80272494: +/* 1A0D74 80272494 C6400014 */ lwc1 $f0, 0x14($s2) +/* 1A0D78 80272498 2404010C */ addiu $a0, $zero, 0x10c +/* 1A0D7C 8027249C E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A0D80 802724A0 8E46000C */ lw $a2, 0xc($s2) +/* 1A0D84 802724A4 8E470010 */ lw $a3, 0x10($s2) +/* 1A0D88 802724A8 0C052757 */ jal play_sound_at_position +/* 1A0D8C 802724AC 0000282D */ daddu $a1, $zero, $zero +/* 1A0D90 802724B0 0260202D */ daddu $a0, $s3, $zero +/* 1A0D94 802724B4 0C09DC58 */ jal dispatch_event_actor +/* 1A0D98 802724B8 0220282D */ daddu $a1, $s1, $zero +/* 1A0D9C 802724BC 24020001 */ addiu $v0, $zero, 1 +/* 1A0DA0 802724C0 AFA20010 */ sw $v0, 0x10($sp) +/* 1A0DA4 802724C4 24020003 */ addiu $v0, $zero, 3 +/* 1A0DA8 802724C8 AFA20014 */ sw $v0, 0x14($sp) +/* 1A0DAC 802724CC C64C000C */ lwc1 $f12, 0xc($s2) +/* 1A0DB0 802724D0 C64E0010 */ lwc1 $f14, 0x10($s2) +/* 1A0DB4 802724D4 8E460014 */ lw $a2, 0x14($s2) +/* 1A0DB8 802724D8 0C093BF8 */ jal func_8024EFE0 +/* 1A0DBC 802724DC 0000382D */ daddu $a3, $zero, $zero +/* 1A0DC0 802724E0 0809C961 */ j func_80272584 +/* 1A0DC4 802724E4 00000000 */ nop + +.L802724E8: +/* 1A0DC8 802724E8 3C10800E */ lui $s0, 0x800e +/* 1A0DCC 802724EC 2610C070 */ addiu $s0, $s0, -0x3f90 +/* 1A0DD0 802724F0 8E020000 */ lw $v0, ($s0) +/* 1A0DD4 802724F4 30420020 */ andi $v0, $v0, 0x20 +/* 1A0DD8 802724F8 10400038 */ beqz $v0, .L802725DC +/* 1A0DDC 802724FC 24020020 */ addiu $v0, $zero, 0x20 +/* 1A0DE0 80272500 8E820188 */ lw $v0, 0x188($s4) +/* 1A0DE4 80272504 30421000 */ andi $v0, $v0, 0x1000 +/* 1A0DE8 80272508 10400022 */ beqz $v0, .L80272594 +/* 1A0DEC 8027250C 00000000 */ nop +/* 1A0DF0 80272510 0C00A67F */ jal rand_int +/* 1A0DF4 80272514 24040063 */ addiu $a0, $zero, 0x63 +/* 1A0DF8 80272518 8E630008 */ lw $v1, 8($s3) +/* 1A0DFC 8027251C 90640018 */ lbu $a0, 0x18($v1) +/* 1A0E00 80272520 92830194 */ lbu $v1, 0x194($s4) +/* 1A0E04 80272524 00830018 */ mult $a0, $v1 +/* 1A0E08 80272528 00002012 */ mflo $a0 +/* 1A0E0C 8027252C 3C0351EB */ lui $v1, 0x51eb +/* 1A0E10 80272530 3463851F */ ori $v1, $v1, 0x851f +/* 1A0E14 80272534 00830018 */ mult $a0, $v1 +/* 1A0E18 80272538 000427C3 */ sra $a0, $a0, 0x1f +/* 1A0E1C 8027253C 00001810 */ mfhi $v1 +/* 1A0E20 80272540 00031943 */ sra $v1, $v1, 5 +/* 1A0E24 80272544 00641823 */ subu $v1, $v1, $a0 +/* 1A0E28 80272548 0043102A */ slt $v0, $v0, $v1 +/* 1A0E2C 8027254C 10400011 */ beqz $v0, .L80272594 +/* 1A0E30 80272550 00000000 */ nop +/* 1A0E34 80272554 92620210 */ lbu $v0, 0x210($s3) +/* 1A0E38 80272558 2442FFFD */ addiu $v0, $v0, -3 +/* 1A0E3C 8027255C 2C420006 */ sltiu $v0, $v0, 6 +/* 1A0E40 80272560 1440000C */ bnez $v0, .L80272594 +/* 1A0E44 80272564 00000000 */ nop +/* 1A0E48 80272568 8E620000 */ lw $v0, ($s3) +/* 1A0E4C 8027256C 30420400 */ andi $v0, $v0, 0x400 +/* 1A0E50 80272570 14400008 */ bnez $v0, .L80272594 +/* 1A0E54 80272574 0260202D */ daddu $a0, $s3, $zero +/* 1A0E58 80272578 24050039 */ addiu $a1, $zero, 0x39 +func_8027257C: +/* 1A0E5C 8027257C 0C09DC58 */ jal dispatch_event_actor +/* 1A0E60 80272580 00000000 */ nop +func_80272584: +/* 1A0E64 80272584 8E020000 */ lw $v0, ($s0) +/* 1A0E68 80272588 30420240 */ andi $v0, $v0, 0x240 +func_8027258C: +/* 1A0E6C 8027258C 0809CC63 */ j func_8027318C +/* 1A0E70 80272590 0002102B */ sltu $v0, $zero, $v0 + +func_80272594: +.L80272594: +/* 1A0E74 80272594 3C02800E */ lui $v0, 0x800e +/* 1A0E78 80272598 8C42C070 */ lw $v0, -0x3f90($v0) +/* 1A0E7C 8027259C 30420020 */ andi $v0, $v0, 0x20 +/* 1A0E80 802725A0 1040000D */ beqz $v0, .L802725D8 +/* 1A0E84 802725A4 24020009 */ addiu $v0, $zero, 9 +/* 1A0E88 802725A8 52220001 */ beql $s1, $v0, .L802725B0 +/* 1A0E8C 802725AC 2411000A */ addiu $s1, $zero, 0xa +.L802725B0: +/* 1A0E90 802725B0 24020017 */ addiu $v0, $zero, 0x17 +/* 1A0E94 802725B4 52220001 */ beql $s1, $v0, .L802725BC +/* 1A0E98 802725B8 24110019 */ addiu $s1, $zero, 0x19 +.L802725BC: +/* 1A0E9C 802725BC 826201B8 */ lb $v0, 0x1b8($s3) +/* 1A0EA0 802725C0 1C400008 */ bgtz $v0, .L802725E4 +/* 1A0EA4 802725C4 24020019 */ addiu $v0, $zero, 0x19 +/* 1A0EA8 802725C8 52220006 */ beql $s1, $v0, .L802725E4 +/* 1A0EAC 802725CC 24110020 */ addiu $s1, $zero, 0x20 +/* 1A0EB0 802725D0 0809C979 */ j func_802725E4 +/* 1A0EB4 802725D4 00000000 */ nop + +.L802725D8: +/* 1A0EB8 802725D8 24020020 */ addiu $v0, $zero, 0x20 +.L802725DC: +/* 1A0EBC 802725DC 52220001 */ beql $s1, $v0, .L802725E4 +/* 1A0EC0 802725E0 24110009 */ addiu $s1, $zero, 9 +func_802725E4: +.L802725E4: +/* 1A0EC4 802725E4 3C10800E */ lui $s0, 0x800e +/* 1A0EC8 802725E8 2610C070 */ addiu $s0, $s0, -0x3f90 +/* 1A0ECC 802725EC 8E020000 */ lw $v0, ($s0) +/* 1A0ED0 802725F0 30420020 */ andi $v0, $v0, 0x20 +/* 1A0ED4 802725F4 14400007 */ bnez $v0, .L80272614 +/* 1A0ED8 802725F8 00000000 */ nop +/* 1A0EDC 802725FC 0C099B85 */ jal func_80266E14 +/* 1A0EE0 80272600 03C0202D */ daddu $a0, $fp, $zero +/* 1A0EE4 80272604 8E020000 */ lw $v0, ($s0) +/* 1A0EE8 80272608 30420020 */ andi $v0, $v0, 0x20 +/* 1A0EEC 8027260C 1040006F */ beqz $v0, .L802727CC +/* 1A0EF0 80272610 00000000 */ nop +.L80272614: +/* 1A0EF4 80272614 8E820188 */ lw $v0, 0x188($s4) +/* 1A0EF8 80272618 3C030400 */ lui $v1, 0x400 +/* 1A0EFC 8027261C 00431024 */ and $v0, $v0, $v1 +/* 1A0F00 80272620 10400021 */ beqz $v0, .L802726A8 +/* 1A0F04 80272624 240200FF */ addiu $v0, $zero, 0xff +/* 1A0F08 80272628 8E640008 */ lw $a0, 8($s3) +/* 1A0F0C 8027262C 9083001D */ lbu $v1, 0x1d($a0) +/* 1A0F10 80272630 1062001D */ beq $v1, $v0, .L802726A8 +/* 1A0F14 80272634 00000000 */ nop +/* 1A0F18 80272638 3C028011 */ lui $v0, 0x8011 +/* 1A0F1C 8027263C 2442F290 */ addiu $v0, $v0, -0xd70 +/* 1A0F20 80272640 80420001 */ lb $v0, 1($v0) +/* 1A0F24 80272644 24420001 */ addiu $v0, $v0, 1 +/* 1A0F28 80272648 0043102A */ slt $v0, $v0, $v1 +/* 1A0F2C 8027264C 14400016 */ bnez $v0, .L802726A8 +/* 1A0F30 80272650 00000000 */ nop +/* 1A0F34 80272654 86820180 */ lh $v0, 0x180($s4) +/* 1A0F38 80272658 18400013 */ blez $v0, .L802726A8 +/* 1A0F3C 8027265C 00000000 */ nop +/* 1A0F40 80272660 8E020000 */ lw $v0, ($s0) +/* 1A0F44 80272664 30420040 */ andi $v0, $v0, 0x40 +/* 1A0F48 80272668 1040000F */ beqz $v0, .L802726A8 +/* 1A0F4C 8027266C 24020009 */ addiu $v0, $zero, 9 +/* 1A0F50 80272670 52220001 */ beql $s1, $v0, .L80272678 +/* 1A0F54 80272674 2411000B */ addiu $s1, $zero, 0xb +.L80272678: +/* 1A0F58 80272678 2402000A */ addiu $v0, $zero, 0xa +/* 1A0F5C 8027267C 52220001 */ beql $s1, $v0, .L80272684 +/* 1A0F60 80272680 2411000B */ addiu $s1, $zero, 0xb +.L80272684: +/* 1A0F64 80272684 24020017 */ addiu $v0, $zero, 0x17 +/* 1A0F68 80272688 52220001 */ beql $s1, $v0, .L80272690 +/* 1A0F6C 8027268C 2411000B */ addiu $s1, $zero, 0xb +.L80272690: +/* 1A0F70 80272690 24020019 */ addiu $v0, $zero, 0x19 +/* 1A0F74 80272694 52220001 */ beql $s1, $v0, .L8027269C +/* 1A0F78 80272698 2411000B */ addiu $s1, $zero, 0xb +.L8027269C: +/* 1A0F7C 8027269C 24020020 */ addiu $v0, $zero, 0x20 +/* 1A0F80 802726A0 52220001 */ beql $s1, $v0, .L802726A8 +/* 1A0F84 802726A4 24110021 */ addiu $s1, $zero, 0x21 +.L802726A8: +/* 1A0F88 802726A8 3C02800E */ lui $v0, 0x800e +/* 1A0F8C 802726AC 8C42C070 */ lw $v0, -0x3f90($v0) +/* 1A0F90 802726B0 30420020 */ andi $v0, $v0, 0x20 +/* 1A0F94 802726B4 10400045 */ beqz $v0, .L802727CC +/* 1A0F98 802726B8 3C031000 */ lui $v1, 0x1000 +/* 1A0F9C 802726BC 8E820188 */ lw $v0, 0x188($s4) +/* 1A0FA0 802726C0 00431024 */ and $v0, $v0, $v1 +/* 1A0FA4 802726C4 14400013 */ bnez $v0, .L80272714 +/* 1A0FA8 802726C8 3C030010 */ lui $v1, 0x10 +/* 1A0FAC 802726CC 8FC2007C */ lw $v0, 0x7c($fp) +/* 1A0FB0 802726D0 00431024 */ and $v0, $v0, $v1 +/* 1A0FB4 802726D4 1040000F */ beqz $v0, .L80272714 +/* 1A0FB8 802726D8 24020009 */ addiu $v0, $zero, 9 +/* 1A0FBC 802726DC 52220001 */ beql $s1, $v0, .L802726E4 +/* 1A0FC0 802726E0 24110015 */ addiu $s1, $zero, 0x15 +.L802726E4: +/* 1A0FC4 802726E4 2402000A */ addiu $v0, $zero, 0xa +/* 1A0FC8 802726E8 52220001 */ beql $s1, $v0, .L802726F0 +/* 1A0FCC 802726EC 24110015 */ addiu $s1, $zero, 0x15 +.L802726F0: +/* 1A0FD0 802726F0 24020017 */ addiu $v0, $zero, 0x17 +/* 1A0FD4 802726F4 52220001 */ beql $s1, $v0, .L802726FC +/* 1A0FD8 802726F8 24110015 */ addiu $s1, $zero, 0x15 +.L802726FC: +/* 1A0FDC 802726FC 24020019 */ addiu $v0, $zero, 0x19 +/* 1A0FE0 80272700 52220001 */ beql $s1, $v0, .L80272708 +/* 1A0FE4 80272704 24110015 */ addiu $s1, $zero, 0x15 +.L80272708: +/* 1A0FE8 80272708 24020020 */ addiu $v0, $zero, 0x20 +/* 1A0FEC 8027270C 52220001 */ beql $s1, $v0, .L80272714 +/* 1A0FF0 80272710 24110028 */ addiu $s1, $zero, 0x28 +.L80272714: +/* 1A0FF4 80272714 3C02800E */ lui $v0, 0x800e +/* 1A0FF8 80272718 8C42C070 */ lw $v0, -0x3f90($v0) +/* 1A0FFC 8027271C 30420020 */ andi $v0, $v0, 0x20 +/* 1A1000 80272720 1040002A */ beqz $v0, .L802727CC +/* 1A1004 80272724 00000000 */ nop +/* 1A1008 80272728 8E820188 */ lw $v0, 0x188($s4) +/* 1A100C 8027272C 30420480 */ andi $v0, $v0, 0x480 +/* 1A1010 80272730 1040000B */ beqz $v0, .L80272760 +/* 1A1014 80272734 00000000 */ nop +/* 1A1018 80272738 8FC2007C */ lw $v0, 0x7c($fp) +/* 1A101C 8027273C 30424000 */ andi $v0, $v0, 0x4000 +/* 1A1020 80272740 10400007 */ beqz $v0, .L80272760 +/* 1A1024 80272744 2402000A */ addiu $v0, $zero, 0xa +/* 1A1028 80272748 52220001 */ beql $s1, $v0, .L80272750 +/* 1A102C 8027274C 2411000C */ addiu $s1, $zero, 0xc +.L80272750: +/* 1A1030 80272750 24020019 */ addiu $v0, $zero, 0x19 +/* 1A1034 80272754 52220001 */ beql $s1, $v0, .L8027275C +/* 1A1038 80272758 2411000C */ addiu $s1, $zero, 0xc +.L8027275C: +/* 1A103C 8027275C 24160001 */ addiu $s6, $zero, 1 +.L80272760: +/* 1A1040 80272760 3C02800E */ lui $v0, 0x800e +/* 1A1044 80272764 8C42C070 */ lw $v0, -0x3f90($v0) +/* 1A1048 80272768 30420020 */ andi $v0, $v0, 0x20 +/* 1A104C 8027276C 10400017 */ beqz $v0, .L802727CC +/* 1A1050 80272770 00000000 */ nop +/* 1A1054 80272774 8E820188 */ lw $v0, 0x188($s4) +/* 1A1058 80272778 30420C80 */ andi $v0, $v0, 0xc80 +/* 1A105C 8027277C 1040000E */ beqz $v0, .L802727B8 +/* 1A1060 80272780 00000000 */ nop +/* 1A1064 80272784 8FC2007C */ lw $v0, 0x7c($fp) +/* 1A1068 80272788 30421000 */ andi $v0, $v0, 0x1000 +/* 1A106C 8027278C 1040000A */ beqz $v0, .L802727B8 +/* 1A1070 80272790 2402000A */ addiu $v0, $zero, 0xa +/* 1A1074 80272794 52220001 */ beql $s1, $v0, .L8027279C +/* 1A1078 80272798 2411000D */ addiu $s1, $zero, 0xd +.L8027279C: +/* 1A107C 8027279C 24020019 */ addiu $v0, $zero, 0x19 +/* 1A1080 802727A0 52220001 */ beql $s1, $v0, .L802727A8 +/* 1A1084 802727A4 2411000D */ addiu $s1, $zero, 0xd +.L802727A8: +/* 1A1088 802727A8 8E620000 */ lw $v0, ($s3) +/* 1A108C 802727AC 30420400 */ andi $v0, $v0, 0x400 +/* 1A1090 802727B0 50400001 */ beql $v0, $zero, .L802727B8 +/* 1A1094 802727B4 24160001 */ addiu $s6, $zero, 1 +.L802727B8: +/* 1A1098 802727B8 3C02800E */ lui $v0, 0x800e +/* 1A109C 802727BC 8C42C070 */ lw $v0, -0x3f90($v0) +/* 1A10A0 802727C0 30420020 */ andi $v0, $v0, 0x20 +/* 1A10A4 802727C4 14400017 */ bnez $v0, .L80272824 +/* 1A10A8 802727C8 00000000 */ nop +.L802727CC: +/* 1A10AC 802727CC 8E820188 */ lw $v0, 0x188($s4) +/* 1A10B0 802727D0 30420C80 */ andi $v0, $v0, 0xc80 +/* 1A10B4 802727D4 1040000E */ beqz $v0, .L80272810 +/* 1A10B8 802727D8 00000000 */ nop +/* 1A10BC 802727DC 8FC2007C */ lw $v0, 0x7c($fp) +/* 1A10C0 802727E0 30421000 */ andi $v0, $v0, 0x1000 +/* 1A10C4 802727E4 1040000A */ beqz $v0, .L80272810 +/* 1A10C8 802727E8 24020009 */ addiu $v0, $zero, 9 +/* 1A10CC 802727EC 52220001 */ beql $s1, $v0, .L802727F4 +/* 1A10D0 802727F0 2411000D */ addiu $s1, $zero, 0xd +.L802727F4: +/* 1A10D4 802727F4 24020017 */ addiu $v0, $zero, 0x17 +/* 1A10D8 802727F8 52220001 */ beql $s1, $v0, .L80272800 +/* 1A10DC 802727FC 2411000D */ addiu $s1, $zero, 0xd +.L80272800: +/* 1A10E0 80272800 8E620000 */ lw $v0, ($s3) +/* 1A10E4 80272804 30420400 */ andi $v0, $v0, 0x400 +/* 1A10E8 80272808 50400001 */ beql $v0, $zero, .L80272810 +/* 1A10EC 8027280C 24160001 */ addiu $s6, $zero, 1 +.L80272810: +/* 1A10F0 80272810 3C02800E */ lui $v0, 0x800e +/* 1A10F4 80272814 8C42C070 */ lw $v0, -0x3f90($v0) +/* 1A10F8 80272818 30420020 */ andi $v0, $v0, 0x20 +/* 1A10FC 8027281C 504000A2 */ beql $v0, $zero, .L80272AA8 +/* 1A1100 80272820 0260202D */ daddu $a0, $s3, $zero +.L80272824: +/* 1A1104 80272824 8E820188 */ lw $v0, 0x188($s4) +/* 1A1108 80272828 3C030002 */ lui $v1, 2 +/* 1A110C 8027282C 00431024 */ and $v0, $v0, $v1 +/* 1A1110 80272830 1040000B */ beqz $v0, .L80272860 +/* 1A1114 80272834 00000000 */ nop +/* 1A1118 80272838 8FC2007C */ lw $v0, 0x7c($fp) +/* 1A111C 8027283C 30421000 */ andi $v0, $v0, 0x1000 +/* 1A1120 80272840 10400007 */ beqz $v0, .L80272860 +/* 1A1124 80272844 2402000A */ addiu $v0, $zero, 0xa +/* 1A1128 80272848 52220001 */ beql $s1, $v0, .L80272850 +/* 1A112C 8027284C 24110012 */ addiu $s1, $zero, 0x12 +.L80272850: +/* 1A1130 80272850 24020019 */ addiu $v0, $zero, 0x19 +/* 1A1134 80272854 52220001 */ beql $s1, $v0, .L8027285C +/* 1A1138 80272858 24110012 */ addiu $s1, $zero, 0x12 +.L8027285C: +/* 1A113C 8027285C 24160001 */ addiu $s6, $zero, 1 +.L80272860: +/* 1A1140 80272860 3C02800E */ lui $v0, 0x800e +/* 1A1144 80272864 8C42C070 */ lw $v0, -0x3f90($v0) +/* 1A1148 80272868 30420020 */ andi $v0, $v0, 0x20 +/* 1A114C 8027286C 5040008E */ beql $v0, $zero, .L80272AA8 +/* 1A1150 80272870 0260202D */ daddu $a0, $s3, $zero +/* 1A1154 80272874 8E820188 */ lw $v0, 0x188($s4) +/* 1A1158 80272878 30420202 */ andi $v0, $v0, 0x202 +/* 1A115C 8027287C 10400008 */ beqz $v0, .L802728A0 +/* 1A1160 80272880 2402000A */ addiu $v0, $zero, 0xa +/* 1A1164 80272884 52220001 */ beql $s1, $v0, .L8027288C +/* 1A1168 80272888 2411000E */ addiu $s1, $zero, 0xe +.L8027288C: +/* 1A116C 8027288C 24020020 */ addiu $v0, $zero, 0x20 +/* 1A1170 80272890 52220001 */ beql $s1, $v0, .L80272898 +/* 1A1174 80272894 24110024 */ addiu $s1, $zero, 0x24 +.L80272898: +/* 1A1178 80272898 24080001 */ addiu $t0, $zero, 1 +/* 1A117C 8027289C AFA80028 */ sw $t0, 0x28($sp) +.L802728A0: +/* 1A1180 802728A0 3C02800E */ lui $v0, 0x800e +/* 1A1184 802728A4 8C42C070 */ lw $v0, -0x3f90($v0) +/* 1A1188 802728A8 30420020 */ andi $v0, $v0, 0x20 +/* 1A118C 802728AC 5040007E */ beql $v0, $zero, .L80272AA8 +/* 1A1190 802728B0 0260202D */ daddu $a0, $s3, $zero +/* 1A1194 802728B4 86820180 */ lh $v0, 0x180($s4) +/* 1A1198 802728B8 0440007A */ bltz $v0, .L80272AA4 +/* 1A119C 802728BC 24020020 */ addiu $v0, $zero, 0x20 +/* 1A11A0 802728C0 12220078 */ beq $s1, $v0, .L80272AA4 +/* 1A11A4 802728C4 24020021 */ addiu $v0, $zero, 0x21 +/* 1A11A8 802728C8 12220076 */ beq $s1, $v0, .L80272AA4 +/* 1A11AC 802728CC 24020022 */ addiu $v0, $zero, 0x22 +/* 1A11B0 802728D0 52220075 */ beql $s1, $v0, .L80272AA8 +/* 1A11B4 802728D4 0260202D */ daddu $a0, $s3, $zero +/* 1A11B8 802728D8 8FC20004 */ lw $v0, 4($fp) +/* 1A11BC 802728DC 30420004 */ andi $v0, $v0, 4 +/* 1A11C0 802728E0 14400070 */ bnez $v0, .L80272AA4 +/* 1A11C4 802728E4 3C030008 */ lui $v1, 8 +/* 1A11C8 802728E8 8E820190 */ lw $v0, 0x190($s4) +/* 1A11CC 802728EC 00431024 */ and $v0, $v0, $v1 +/* 1A11D0 802728F0 10400008 */ beqz $v0, .L80272914 +/* 1A11D4 802728F4 0260202D */ daddu $a0, $s3, $zero +/* 1A11D8 802728F8 2405000A */ addiu $a1, $zero, 0xa +/* 1A11DC 802728FC 0C099ADE */ jal try_inflict_status +/* 1A11E0 80272900 24060027 */ addiu $a2, $zero, 0x27 +/* 1A11E4 80272904 10400003 */ beqz $v0, .L80272914 +/* 1A11E8 80272908 00000000 */ nop +/* 1A11EC 8027290C 24160001 */ addiu $s6, $zero, 1 +/* 1A11F0 80272910 02C0B82D */ daddu $s7, $s6, $zero +.L80272914: +/* 1A11F4 80272914 8E820190 */ lw $v0, 0x190($s4) +/* 1A11F8 80272918 3C030002 */ lui $v1, 2 +/* 1A11FC 8027291C 00431024 */ and $v0, $v0, $v1 +/* 1A1200 80272920 10400008 */ beqz $v0, .L80272944 +/* 1A1204 80272924 0260202D */ daddu $a0, $s3, $zero +/* 1A1208 80272928 24050009 */ addiu $a1, $zero, 9 +/* 1A120C 8027292C 0C099ADE */ jal try_inflict_status +/* 1A1210 80272930 24060025 */ addiu $a2, $zero, 0x25 +/* 1A1214 80272934 10400003 */ beqz $v0, .L80272944 +/* 1A1218 80272938 00000000 */ nop +/* 1A121C 8027293C 24160001 */ addiu $s6, $zero, 1 +/* 1A1220 80272940 02C0B82D */ daddu $s7, $s6, $zero +.L80272944: +/* 1A1224 80272944 8E820190 */ lw $v0, 0x190($s4) +/* 1A1228 80272948 3C030010 */ lui $v1, 0x10 +/* 1A122C 8027294C 00431024 */ and $v0, $v0, $v1 +/* 1A1230 80272950 10400008 */ beqz $v0, .L80272974 +/* 1A1234 80272954 0260202D */ daddu $a0, $s3, $zero +/* 1A1238 80272958 2405000C */ addiu $a1, $zero, 0xc +/* 1A123C 8027295C 0C099ADE */ jal try_inflict_status +/* 1A1240 80272960 24060028 */ addiu $a2, $zero, 0x28 +/* 1A1244 80272964 10400003 */ beqz $v0, .L80272974 +/* 1A1248 80272968 00000000 */ nop +/* 1A124C 8027296C 24160001 */ addiu $s6, $zero, 1 +/* 1A1250 80272970 02C0B82D */ daddu $s7, $s6, $zero +.L80272974: +/* 1A1254 80272974 8E820190 */ lw $v0, 0x190($s4) +/* 1A1258 80272978 30421000 */ andi $v0, $v0, 0x1000 +/* 1A125C 8027297C 10400008 */ beqz $v0, .L802729A0 +/* 1A1260 80272980 0260202D */ daddu $a0, $s3, $zero +/* 1A1264 80272984 24050006 */ addiu $a1, $zero, 6 +/* 1A1268 80272988 0C099ADE */ jal try_inflict_status +/* 1A126C 8027298C 24060020 */ addiu $a2, $zero, 0x20 +/* 1A1270 80272990 10400003 */ beqz $v0, .L802729A0 +/* 1A1274 80272994 00000000 */ nop +/* 1A1278 80272998 24160001 */ addiu $s6, $zero, 1 +/* 1A127C 8027299C 02C0B82D */ daddu $s7, $s6, $zero +.L802729A0: +/* 1A1280 802729A0 8E820190 */ lw $v0, 0x190($s4) +/* 1A1284 802729A4 3C030020 */ lui $v1, 0x20 +/* 1A1288 802729A8 00431024 */ and $v0, $v0, $v1 +/* 1A128C 802729AC 10400008 */ beqz $v0, .L802729D0 +/* 1A1290 802729B0 0260202D */ daddu $a0, $s3, $zero +/* 1A1294 802729B4 24050008 */ addiu $a1, $zero, 8 +/* 1A1298 802729B8 0C099ADE */ jal try_inflict_status +/* 1A129C 802729BC 24060029 */ addiu $a2, $zero, 0x29 +/* 1A12A0 802729C0 10400003 */ beqz $v0, .L802729D0 +/* 1A12A4 802729C4 00000000 */ nop +/* 1A12A8 802729C8 24160001 */ addiu $s6, $zero, 1 +/* 1A12AC 802729CC 02C0B82D */ daddu $s7, $s6, $zero +.L802729D0: +/* 1A12B0 802729D0 8E820190 */ lw $v0, 0x190($s4) +/* 1A12B4 802729D4 30422000 */ andi $v0, $v0, 0x2000 +/* 1A12B8 802729D8 10400008 */ beqz $v0, .L802729FC +/* 1A12BC 802729DC 0260202D */ daddu $a0, $s3, $zero +/* 1A12C0 802729E0 2405000B */ addiu $a1, $zero, 0xb +/* 1A12C4 802729E4 0C099ADE */ jal try_inflict_status +/* 1A12C8 802729E8 24060021 */ addiu $a2, $zero, 0x21 +/* 1A12CC 802729EC 10400003 */ beqz $v0, .L802729FC +/* 1A12D0 802729F0 00000000 */ nop +/* 1A12D4 802729F4 24160001 */ addiu $s6, $zero, 1 +/* 1A12D8 802729F8 02C0B82D */ daddu $s7, $s6, $zero +.L802729FC: +/* 1A12DC 802729FC 8E820190 */ lw $v0, 0x190($s4) +/* 1A12E0 80272A00 30428000 */ andi $v0, $v0, 0x8000 +/* 1A12E4 80272A04 10400008 */ beqz $v0, .L80272A28 +/* 1A12E8 80272A08 0260202D */ daddu $a0, $s3, $zero +/* 1A12EC 80272A0C 24050003 */ addiu $a1, $zero, 3 +/* 1A12F0 80272A10 0C099ADE */ jal try_inflict_status +/* 1A12F4 80272A14 24060023 */ addiu $a2, $zero, 0x23 +/* 1A12F8 80272A18 10400003 */ beqz $v0, .L80272A28 +/* 1A12FC 80272A1C 00000000 */ nop +/* 1A1300 80272A20 24160001 */ addiu $s6, $zero, 1 +/* 1A1304 80272A24 02C0B82D */ daddu $s7, $s6, $zero +.L80272A28: +/* 1A1308 80272A28 8E820190 */ lw $v0, 0x190($s4) +/* 1A130C 80272A2C 3C030001 */ lui $v1, 1 +/* 1A1310 80272A30 00431024 */ and $v0, $v0, $v1 +/* 1A1314 80272A34 10400008 */ beqz $v0, .L80272A58 +/* 1A1318 80272A38 0260202D */ daddu $a0, $s3, $zero +/* 1A131C 80272A3C 24050005 */ addiu $a1, $zero, 5 +/* 1A1320 80272A40 0C099ADE */ jal try_inflict_status +/* 1A1324 80272A44 24060026 */ addiu $a2, $zero, 0x26 +/* 1A1328 80272A48 10400003 */ beqz $v0, .L80272A58 +/* 1A132C 80272A4C 00000000 */ nop +/* 1A1330 80272A50 24160001 */ addiu $s6, $zero, 1 +/* 1A1334 80272A54 02C0B82D */ daddu $s7, $s6, $zero +.L80272A58: +/* 1A1338 80272A58 8E820190 */ lw $v0, 0x190($s4) +/* 1A133C 80272A5C 3C030004 */ lui $v1, 4 +/* 1A1340 80272A60 00431024 */ and $v0, $v0, $v1 +/* 1A1344 80272A64 10400008 */ beqz $v0, .L80272A88 +/* 1A1348 80272A68 0260202D */ daddu $a0, $s3, $zero +/* 1A134C 80272A6C 24050004 */ addiu $a1, $zero, 4 +/* 1A1350 80272A70 0C099ADE */ jal try_inflict_status +/* 1A1354 80272A74 24060024 */ addiu $a2, $zero, 0x24 +/* 1A1358 80272A78 10400003 */ beqz $v0, .L80272A88 +/* 1A135C 80272A7C 00000000 */ nop +/* 1A1360 80272A80 24160001 */ addiu $s6, $zero, 1 +/* 1A1364 80272A84 02C0B82D */ daddu $s7, $s6, $zero +.L80272A88: +/* 1A1368 80272A88 12E00006 */ beqz $s7, .L80272AA4 +/* 1A136C 80272A8C 24020017 */ addiu $v0, $zero, 0x17 +/* 1A1370 80272A90 52220001 */ beql $s1, $v0, .L80272A98 +/* 1A1374 80272A94 24110009 */ addiu $s1, $zero, 9 +.L80272A98: +/* 1A1378 80272A98 24020019 */ addiu $v0, $zero, 0x19 +/* 1A137C 80272A9C 52220001 */ beql $s1, $v0, .L80272AA4 +/* 1A1380 80272AA0 2411000A */ addiu $s1, $zero, 0xa +.L80272AA4: +/* 1A1384 80272AA4 0260202D */ daddu $a0, $s3, $zero +.L80272AA8: +/* 1A1388 80272AA8 0220282D */ daddu $a1, $s1, $zero +/* 1A138C 80272AAC 0C09DC58 */ jal dispatch_event_actor +/* 1A1390 80272AB0 A2970199 */ sb $s7, 0x199($s4) +/* 1A1394 80272AB4 8E620000 */ lw $v0, ($s3) +/* 1A1398 80272AB8 3C030200 */ lui $v1, 0x200 +/* 1A139C 80272ABC 00431024 */ and $v0, $v0, $v1 +/* 1A13A0 80272AC0 1440002F */ bnez $v0, .L80272B80 +/* 1A13A4 80272AC4 00000000 */ nop +/* 1A13A8 80272AC8 86870180 */ lh $a3, 0x180($s4) +/* 1A13AC 80272ACC 14E0000F */ bnez $a3, .L80272B0C +/* 1A13B0 80272AD0 00000000 */ nop +/* 1A13B4 80272AD4 16C0002C */ bnez $s6, .L80272B88 +/* 1A13B8 80272AD8 00000000 */ nop +/* 1A13BC 80272ADC 16E00028 */ bnez $s7, .L80272B80 +/* 1A13C0 80272AE0 24020001 */ addiu $v0, $zero, 1 +/* 1A13C4 80272AE4 AFA20010 */ sw $v0, 0x10($sp) +/* 1A13C8 80272AE8 24020003 */ addiu $v0, $zero, 3 +/* 1A13CC 80272AEC AFA20014 */ sw $v0, 0x14($sp) +/* 1A13D0 80272AF0 C64C000C */ lwc1 $f12, 0xc($s2) +/* 1A13D4 80272AF4 C64E0010 */ lwc1 $f14, 0x10($s2) +/* 1A13D8 80272AF8 8E460014 */ lw $a2, 0x14($s2) +/* 1A13DC 80272AFC 0C093BF8 */ jal func_8024EFE0 +/* 1A13E0 80272B00 0000382D */ daddu $a3, $zero, $zero +/* 1A13E4 80272B04 0809CAE0 */ j func_80272B80 +/* 1A13E8 80272B08 00000000 */ nop + +.L80272B0C: +/* 1A13EC 80272B0C 8FA8001C */ lw $t0, 0x1c($sp) +/* 1A13F0 80272B10 1500001B */ bnez $t0, .L80272B80 +/* 1A13F4 80272B14 3C032000 */ lui $v1, 0x2000 +/* 1A13F8 80272B18 8E820188 */ lw $v0, 0x188($s4) +/* 1A13FC 80272B1C 34630040 */ ori $v1, $v1, 0x40 +/* 1A1400 80272B20 00431024 */ and $v0, $v0, $v1 +/* 1A1404 80272B24 10400007 */ beqz $v0, .L80272B44 +/* 1A1408 80272B28 AFA00010 */ sw $zero, 0x10($sp) +/* 1A140C 80272B2C C64C000C */ lwc1 $f12, 0xc($s2) +/* 1A1410 80272B30 C64E0010 */ lwc1 $f14, 0x10($s2) +/* 1A1414 80272B34 0C09996B */ jal show_damage_popup +/* 1A1418 80272B38 8E460014 */ lw $a2, 0x14($s2) +/* 1A141C 80272B3C 0809CAD5 */ j func_80272B54 +/* 1A1420 80272B40 00000000 */ nop + +.L80272B44: +/* 1A1424 80272B44 C64C000C */ lwc1 $f12, 0xc($s2) +/* 1A1428 80272B48 C64E0010 */ lwc1 $f14, 0x10($s2) +/* 1A142C 80272B4C 0C099937 */ jal func_802664DC +/* 1A1430 80272B50 8E460014 */ lw $a2, 0x14($s2) +func_80272B54: +/* 1A1434 80272B54 8FC20004 */ lw $v0, 4($fp) +/* 1A1438 80272B58 30420004 */ andi $v0, $v0, 4 +/* 1A143C 80272B5C 14400008 */ bnez $v0, .L80272B80 +/* 1A1440 80272B60 00000000 */ nop +/* 1A1444 80272B64 86820180 */ lh $v0, 0x180($s4) +/* 1A1448 80272B68 AFA20010 */ sw $v0, 0x10($sp) +/* 1A144C 80272B6C 8E45000C */ lw $a1, 0xc($s2) +/* 1A1450 80272B70 8E460010 */ lw $a2, 0x10($s2) +/* 1A1454 80272B74 8E470014 */ lw $a3, 0x14($s2) +/* 1A1458 80272B78 0C0999B9 */ jal func_802666E4 +/* 1A145C 80272B7C 0260202D */ daddu $a0, $s3, $zero +func_80272B80: +.L80272B80: +/* 1A1460 80272B80 12C00006 */ beqz $s6, .L80272B9C +/* 1A1464 80272B84 00000000 */ nop +.L80272B88: +/* 1A1468 80272B88 3C02800E */ lui $v0, 0x800e +/* 1A146C 80272B8C 8C42C070 */ lw $v0, -0x3f90($v0) +/* 1A1470 80272B90 30420040 */ andi $v0, $v0, 0x40 +/* 1A1474 80272B94 14400006 */ bnez $v0, .L80272BB0 +/* 1A1478 80272B98 00000000 */ nop +.L80272B9C: +/* 1A147C 80272B9C 3C02800E */ lui $v0, 0x800e +/* 1A1480 80272BA0 8C42C070 */ lw $v0, -0x3f90($v0) +/* 1A1484 80272BA4 30420040 */ andi $v0, $v0, 0x40 +/* 1A1488 80272BA8 1040002E */ beqz $v0, .L80272C64 +/* 1A148C 80272BAC 00000000 */ nop +.L80272BB0: +/* 1A1490 80272BB0 3C02800E */ lui $v0, 0x800e +/* 1A1494 80272BB4 8C42C070 */ lw $v0, -0x3f90($v0) +/* 1A1498 80272BB8 30420080 */ andi $v0, $v0, 0x80 +/* 1A149C 80272BBC 14400029 */ bnez $v0, .L80272C64 +/* 1A14A0 80272BC0 00000000 */ nop +/* 1A14A4 80272BC4 8FA80018 */ lw $t0, 0x18($sp) +/* 1A14A8 80272BC8 8D0201B0 */ lw $v0, 0x1b0($t0) +/* 1A14AC 80272BCC 10400008 */ beqz $v0, .L80272BF0 +/* 1A14B0 80272BD0 00000000 */ nop +/* 1A14B4 80272BD4 C6400014 */ lwc1 $f0, 0x14($s2) +/* 1A14B8 80272BD8 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A14BC 80272BDC 8D0401B0 */ lw $a0, 0x1b0($t0) +/* 1A14C0 80272BE0 8E46000C */ lw $a2, 0xc($s2) +/* 1A14C4 80272BE4 8E470010 */ lw $a3, 0x10($s2) +/* 1A14C8 80272BE8 0C052757 */ jal play_sound_at_position +/* 1A14CC 80272BEC 0000282D */ daddu $a1, $zero, $zero +.L80272BF0: +/* 1A14D0 80272BF0 86820180 */ lh $v0, 0x180($s4) +/* 1A14D4 80272BF4 18400006 */ blez $v0, .L80272C10 +/* 1A14D8 80272BF8 00000000 */ nop +/* 1A14DC 80272BFC 0C05272D */ jal play_sound +/* 1A14E0 80272C00 24040231 */ addiu $a0, $zero, 0x231 +/* 1A14E4 80272C04 86820180 */ lh $v0, 0x180($s4) +/* 1A14E8 80272C08 1C400008 */ bgtz $v0, .L80272C2C +/* 1A14EC 80272C0C 00000000 */ nop +.L80272C10: +/* 1A14F0 80272C10 8E820188 */ lw $v0, 0x188($s4) +/* 1A14F4 80272C14 3C034000 */ lui $v1, 0x4000 +/* 1A14F8 80272C18 00431024 */ and $v0, $v0, $v1 +/* 1A14FC 80272C1C 10400011 */ beqz $v0, .L80272C64 +/* 1A1500 80272C20 00000000 */ nop +/* 1A1504 80272C24 12C0000F */ beqz $s6, .L80272C64 +/* 1A1508 80272C28 00000000 */ nop +.L80272C2C: +/* 1A150C 80272C2C 8E820188 */ lw $v0, 0x188($s4) +/* 1A1510 80272C30 3C030100 */ lui $v1, 0x100 +/* 1A1514 80272C34 00431024 */ and $v0, $v0, $v1 +/* 1A1518 80272C38 14400004 */ bnez $v0, .L80272C4C +/* 1A151C 80272C3C 24040005 */ addiu $a0, $zero, 5 +/* 1A1520 80272C40 C6400014 */ lwc1 $f0, 0x14($s2) +/* 1A1524 80272C44 0809CB14 */ j func_80272C50 +/* 1A1528 80272C48 0000202D */ daddu $a0, $zero, $zero + +.L80272C4C: +/* 1A152C 80272C4C C6400014 */ lwc1 $f0, 0x14($s2) +func_80272C50: +/* 1A1530 80272C50 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A1534 80272C54 8E46000C */ lw $a2, 0xc($s2) +/* 1A1538 80272C58 8E470010 */ lw $a3, 0x10($s2) +/* 1A153C 80272C5C 0C0999FC */ jal func_802667F0 +/* 1A1540 80272C60 0260282D */ daddu $a1, $s3, $zero +.L80272C64: +/* 1A1544 80272C64 8FA80024 */ lw $t0, 0x24($sp) +/* 1A1548 80272C68 11000007 */ beqz $t0, .L80272C88 +/* 1A154C 80272C6C 24040001 */ addiu $a0, $zero, 1 +/* 1A1550 80272C70 C6400014 */ lwc1 $f0, 0x14($s2) +/* 1A1554 80272C74 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A1558 80272C78 8E46000C */ lw $a2, 0xc($s2) +/* 1A155C 80272C7C 8E470010 */ lw $a3, 0x10($s2) +/* 1A1560 80272C80 0C0999FC */ jal func_802667F0 +/* 1A1564 80272C84 0260282D */ daddu $a1, $s3, $zero +.L80272C88: +/* 1A1568 80272C88 3C02800E */ lui $v0, 0x800e +/* 1A156C 80272C8C 8C42C070 */ lw $v0, -0x3f90($v0) +/* 1A1570 80272C90 30420020 */ andi $v0, $v0, 0x20 +/* 1A1574 80272C94 10400003 */ beqz $v0, .L80272CA4 +/* 1A1578 80272C98 00000000 */ nop +/* 1A157C 80272C9C 0C099A5C */ jal func_80266970 +/* 1A1580 80272CA0 0260202D */ daddu $a0, $s3, $zero +.L80272CA4: +/* 1A1584 80272CA4 86820180 */ lh $v0, 0x180($s4) +/* 1A1588 80272CA8 1C400003 */ bgtz $v0, .L80272CB8 +/* 1A158C 80272CAC 00000000 */ nop +/* 1A1590 80272CB0 12C00020 */ beqz $s6, .L80272D34 +/* 1A1594 80272CB4 00000000 */ nop +.L80272CB8: +/* 1A1598 80272CB8 8FA8001C */ lw $t0, 0x1c($sp) +/* 1A159C 80272CBC 1500001C */ bnez $t0, .L80272D30 +/* 1A15A0 80272CC0 0260202D */ daddu $a0, $s3, $zero +/* 1A15A4 80272CC4 0C099C06 */ jal func_80267018 +/* 1A15A8 80272CC8 24050001 */ addiu $a1, $zero, 1 +/* 1A15AC 80272CCC 8FA80028 */ lw $t0, 0x28($sp) +/* 1A15B0 80272CD0 11000004 */ beqz $t0, .L80272CE4 +/* 1A15B4 80272CD4 240400EA */ addiu $a0, $zero, 0xea +/* 1A15B8 80272CD8 C6400014 */ lwc1 $f0, 0x14($s2) +/* 1A15BC 80272CDC 0809CB48 */ j func_80272D20 +/* 1A15C0 80272CE0 E7A00010 */ swc1 $f0, 0x10($sp) + +.L80272CE4: +/* 1A15C4 80272CE4 8FA8002C */ lw $t0, 0x2c($sp) +/* 1A15C8 80272CE8 11000004 */ beqz $t0, .L80272CFC +/* 1A15CC 80272CEC 2404037B */ addiu $a0, $zero, 0x37b +/* 1A15D0 80272CF0 C6400014 */ lwc1 $f0, 0x14($s2) +/* 1A15D4 80272CF4 0809CB48 */ j func_80272D20 +/* 1A15D8 80272CF8 E7A00010 */ swc1 $f0, 0x10($sp) + +.L80272CFC: +/* 1A15DC 80272CFC 8FA80030 */ lw $t0, 0x30($sp) +/* 1A15E0 80272D00 11000004 */ beqz $t0, .L80272D14 +/* 1A15E4 80272D04 240400EB */ addiu $a0, $zero, 0xeb +/* 1A15E8 80272D08 C6400014 */ lwc1 $f0, 0x14($s2) +/* 1A15EC 80272D0C 0809CB48 */ j func_80272D20 +/* 1A15F0 80272D10 E7A00010 */ swc1 $f0, 0x10($sp) + +.L80272D14: +/* 1A15F4 80272D14 C6400014 */ lwc1 $f0, 0x14($s2) +/* 1A15F8 80272D18 240400E9 */ addiu $a0, $zero, 0xe9 +/* 1A15FC 80272D1C E7A00010 */ swc1 $f0, 0x10($sp) +func_80272D20: +/* 1A1600 80272D20 8E46000C */ lw $a2, 0xc($s2) +/* 1A1604 80272D24 8E470010 */ lw $a3, 0x10($s2) +/* 1A1608 80272D28 0C052757 */ jal play_sound_at_position +/* 1A160C 80272D2C 0000282D */ daddu $a1, $zero, $zero +.L80272D30: +/* 1A1610 80272D30 86820180 */ lh $v0, 0x180($s4) +.L80272D34: +/* 1A1614 80272D34 1C400006 */ bgtz $v0, .L80272D50 +/* 1A1618 80272D38 00000000 */ nop +/* 1A161C 80272D3C 16C00004 */ bnez $s6, .L80272D50 +/* 1A1620 80272D40 00000000 */ nop +/* 1A1624 80272D44 8FA80020 */ lw $t0, 0x20($sp) +/* 1A1628 80272D48 11000005 */ beqz $t0, .L80272D60 +/* 1A162C 80272D4C 00000000 */ nop +.L80272D50: +/* 1A1630 80272D50 8FC20000 */ lw $v0, ($fp) +/* 1A1634 80272D54 30422000 */ andi $v0, $v0, 0x2000 +/* 1A1638 80272D58 10400008 */ beqz $v0, .L80272D7C +/* 1A163C 80272D5C 00000000 */ nop +.L80272D60: +/* 1A1640 80272D60 C6400014 */ lwc1 $f0, 0x14($s2) +/* 1A1644 80272D64 2404010C */ addiu $a0, $zero, 0x10c +/* 1A1648 80272D68 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A164C 80272D6C 8E46000C */ lw $a2, 0xc($s2) +/* 1A1650 80272D70 8E470010 */ lw $a3, 0x10($s2) +/* 1A1654 80272D74 0C052757 */ jal play_sound_at_position +/* 1A1658 80272D78 0000282D */ daddu $a1, $zero, $zero +.L80272D7C: +/* 1A165C 80272D7C 8E820190 */ lw $v0, 0x190($s4) +/* 1A1660 80272D80 30421000 */ andi $v0, $v0, 0x1000 +/* 1A1664 80272D84 10400018 */ beqz $v0, .L80272DE8 +/* 1A1668 80272D88 00000000 */ nop +/* 1A166C 80272D8C 12E00016 */ beqz $s7, .L80272DE8 +/* 1A1670 80272D90 00000000 */ nop +/* 1A1674 80272D94 3C048029 */ lui $a0, 0x8029 +/* 1A1678 80272D98 248445E0 */ addiu $a0, $a0, 0x45e0 +/* 1A167C 80272D9C 2405000A */ addiu $a1, $zero, 0xa +/* 1A1680 80272DA0 0C0B0CF8 */ jal start_script +/* 1A1684 80272DA4 0000302D */ daddu $a2, $zero, $zero +/* 1A1688 80272DA8 C640000C */ lwc1 $f0, 0xc($s2) +/* 1A168C 80272DAC 4600018D */ trunc.w.s $f6, $f0 +/* 1A1690 80272DB0 E4460084 */ swc1 $f6, 0x84($v0) +/* 1A1694 80272DB4 C6400010 */ lwc1 $f0, 0x10($s2) +/* 1A1698 80272DB8 4600018D */ trunc.w.s $f6, $f0 +/* 1A169C 80272DBC E4460088 */ swc1 $f6, 0x88($v0) +/* 1A16A0 80272DC0 C6400014 */ lwc1 $f0, 0x14($s2) +/* 1A16A4 80272DC4 4600018D */ trunc.w.s $f6, $f0 +/* 1A16A8 80272DC8 E446008C */ swc1 $f6, 0x8c($v0) +/* 1A16AC 80272DCC C6400014 */ lwc1 $f0, 0x14($s2) +/* 1A16B0 80272DD0 24042031 */ addiu $a0, $zero, 0x2031 +/* 1A16B4 80272DD4 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A16B8 80272DD8 8E46000C */ lw $a2, 0xc($s2) +/* 1A16BC 80272DDC 8E470010 */ lw $a3, 0x10($s2) +/* 1A16C0 80272DE0 0C052757 */ jal play_sound_at_position +/* 1A16C4 80272DE4 0000282D */ daddu $a1, $zero, $zero +.L80272DE8: +/* 1A16C8 80272DE8 8E820190 */ lw $v0, 0x190($s4) +/* 1A16CC 80272DEC 3C030004 */ lui $v1, 4 +/* 1A16D0 80272DF0 00431024 */ and $v0, $v0, $v1 +/* 1A16D4 80272DF4 10400018 */ beqz $v0, .L80272E58 +/* 1A16D8 80272DF8 00000000 */ nop +/* 1A16DC 80272DFC 12E00016 */ beqz $s7, .L80272E58 +/* 1A16E0 80272E00 00000000 */ nop +/* 1A16E4 80272E04 3C048029 */ lui $a0, 0x8029 +/* 1A16E8 80272E08 248445FC */ addiu $a0, $a0, 0x45fc +/* 1A16EC 80272E0C 2405000A */ addiu $a1, $zero, 0xa +/* 1A16F0 80272E10 0C0B0CF8 */ jal start_script +/* 1A16F4 80272E14 0000302D */ daddu $a2, $zero, $zero +/* 1A16F8 80272E18 C640000C */ lwc1 $f0, 0xc($s2) +/* 1A16FC 80272E1C 4600018D */ trunc.w.s $f6, $f0 +/* 1A1700 80272E20 E4460084 */ swc1 $f6, 0x84($v0) +/* 1A1704 80272E24 C6400010 */ lwc1 $f0, 0x10($s2) +/* 1A1708 80272E28 4600018D */ trunc.w.s $f6, $f0 +/* 1A170C 80272E2C E4460088 */ swc1 $f6, 0x88($v0) +/* 1A1710 80272E30 C6400014 */ lwc1 $f0, 0x14($s2) +/* 1A1714 80272E34 4600018D */ trunc.w.s $f6, $f0 +/* 1A1718 80272E38 E446008C */ swc1 $f6, 0x8c($v0) +/* 1A171C 80272E3C C6400014 */ lwc1 $f0, 0x14($s2) +/* 1A1720 80272E40 24042032 */ addiu $a0, $zero, 0x2032 +/* 1A1724 80272E44 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A1728 80272E48 8E46000C */ lw $a2, 0xc($s2) +/* 1A172C 80272E4C 8E470010 */ lw $a3, 0x10($s2) +/* 1A1730 80272E50 0C052757 */ jal play_sound_at_position +/* 1A1734 80272E54 0000282D */ daddu $a1, $zero, $zero +.L80272E58: +/* 1A1738 80272E58 8E820190 */ lw $v0, 0x190($s4) +/* 1A173C 80272E5C 3C030001 */ lui $v1, 1 +/* 1A1740 80272E60 00431024 */ and $v0, $v0, $v1 +/* 1A1744 80272E64 10400018 */ beqz $v0, .L80272EC8 +/* 1A1748 80272E68 00000000 */ nop +/* 1A174C 80272E6C 12E00016 */ beqz $s7, .L80272EC8 +/* 1A1750 80272E70 00000000 */ nop +/* 1A1754 80272E74 3C048029 */ lui $a0, 0x8029 +/* 1A1758 80272E78 24844618 */ addiu $a0, $a0, 0x4618 +/* 1A175C 80272E7C 2405000A */ addiu $a1, $zero, 0xa +/* 1A1760 80272E80 0C0B0CF8 */ jal start_script +/* 1A1764 80272E84 0000302D */ daddu $a2, $zero, $zero +/* 1A1768 80272E88 C640000C */ lwc1 $f0, 0xc($s2) +/* 1A176C 80272E8C 4600018D */ trunc.w.s $f6, $f0 +/* 1A1770 80272E90 E4460084 */ swc1 $f6, 0x84($v0) +/* 1A1774 80272E94 C6400010 */ lwc1 $f0, 0x10($s2) +/* 1A1778 80272E98 4600018D */ trunc.w.s $f6, $f0 +/* 1A177C 80272E9C E4460088 */ swc1 $f6, 0x88($v0) +/* 1A1780 80272EA0 C6400014 */ lwc1 $f0, 0x14($s2) +/* 1A1784 80272EA4 4600018D */ trunc.w.s $f6, $f0 +/* 1A1788 80272EA8 E446008C */ swc1 $f6, 0x8c($v0) +/* 1A178C 80272EAC C6400014 */ lwc1 $f0, 0x14($s2) +/* 1A1790 80272EB0 24042032 */ addiu $a0, $zero, 0x2032 +/* 1A1794 80272EB4 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A1798 80272EB8 8E46000C */ lw $a2, 0xc($s2) +/* 1A179C 80272EBC 8E470010 */ lw $a3, 0x10($s2) +/* 1A17A0 80272EC0 0C052757 */ jal play_sound_at_position +/* 1A17A4 80272EC4 0000282D */ daddu $a1, $zero, $zero +.L80272EC8: +/* 1A17A8 80272EC8 8E820190 */ lw $v0, 0x190($s4) +/* 1A17AC 80272ECC 3C030002 */ lui $v1, 2 +/* 1A17B0 80272ED0 00431024 */ and $v0, $v0, $v1 +/* 1A17B4 80272ED4 10400018 */ beqz $v0, .L80272F38 +/* 1A17B8 80272ED8 00000000 */ nop +/* 1A17BC 80272EDC 12E00016 */ beqz $s7, .L80272F38 +/* 1A17C0 80272EE0 00000000 */ nop +/* 1A17C4 80272EE4 3C048029 */ lui $a0, 0x8029 +/* 1A17C8 80272EE8 24844634 */ addiu $a0, $a0, 0x4634 +/* 1A17CC 80272EEC 2405000A */ addiu $a1, $zero, 0xa +/* 1A17D0 80272EF0 0C0B0CF8 */ jal start_script +/* 1A17D4 80272EF4 0000302D */ daddu $a2, $zero, $zero +/* 1A17D8 80272EF8 C640000C */ lwc1 $f0, 0xc($s2) +/* 1A17DC 80272EFC 4600018D */ trunc.w.s $f6, $f0 +/* 1A17E0 80272F00 E4460084 */ swc1 $f6, 0x84($v0) +/* 1A17E4 80272F04 C6400010 */ lwc1 $f0, 0x10($s2) +/* 1A17E8 80272F08 4600018D */ trunc.w.s $f6, $f0 +/* 1A17EC 80272F0C E4460088 */ swc1 $f6, 0x88($v0) +/* 1A17F0 80272F10 C6400014 */ lwc1 $f0, 0x14($s2) +/* 1A17F4 80272F14 4600018D */ trunc.w.s $f6, $f0 +/* 1A17F8 80272F18 E446008C */ swc1 $f6, 0x8c($v0) +/* 1A17FC 80272F1C C6400014 */ lwc1 $f0, 0x14($s2) +/* 1A1800 80272F20 24042032 */ addiu $a0, $zero, 0x2032 +/* 1A1804 80272F24 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A1808 80272F28 8E46000C */ lw $a2, 0xc($s2) +/* 1A180C 80272F2C 8E470010 */ lw $a3, 0x10($s2) +/* 1A1810 80272F30 0C052757 */ jal play_sound_at_position +/* 1A1814 80272F34 0000282D */ daddu $a1, $zero, $zero +.L80272F38: +/* 1A1818 80272F38 8E820190 */ lw $v0, 0x190($s4) +/* 1A181C 80272F3C 3C030020 */ lui $v1, 0x20 +/* 1A1820 80272F40 00431024 */ and $v0, $v0, $v1 +/* 1A1824 80272F44 10400018 */ beqz $v0, .L80272FA8 +/* 1A1828 80272F48 00000000 */ nop +/* 1A182C 80272F4C 12E00016 */ beqz $s7, .L80272FA8 +/* 1A1830 80272F50 00000000 */ nop +/* 1A1834 80272F54 3C048029 */ lui $a0, 0x8029 +/* 1A1838 80272F58 24844650 */ addiu $a0, $a0, 0x4650 +/* 1A183C 80272F5C 2405000A */ addiu $a1, $zero, 0xa +/* 1A1840 80272F60 0C0B0CF8 */ jal start_script +/* 1A1844 80272F64 0000302D */ daddu $a2, $zero, $zero +/* 1A1848 80272F68 C640000C */ lwc1 $f0, 0xc($s2) +/* 1A184C 80272F6C 4600018D */ trunc.w.s $f6, $f0 +/* 1A1850 80272F70 E4460084 */ swc1 $f6, 0x84($v0) +/* 1A1854 80272F74 C6400010 */ lwc1 $f0, 0x10($s2) +/* 1A1858 80272F78 4600018D */ trunc.w.s $f6, $f0 +/* 1A185C 80272F7C E4460088 */ swc1 $f6, 0x88($v0) +/* 1A1860 80272F80 C6400014 */ lwc1 $f0, 0x14($s2) +/* 1A1864 80272F84 4600018D */ trunc.w.s $f6, $f0 +/* 1A1868 80272F88 E446008C */ swc1 $f6, 0x8c($v0) +/* 1A186C 80272F8C C6400014 */ lwc1 $f0, 0x14($s2) +/* 1A1870 80272F90 24042032 */ addiu $a0, $zero, 0x2032 +/* 1A1874 80272F94 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A1878 80272F98 8E46000C */ lw $a2, 0xc($s2) +/* 1A187C 80272F9C 8E470010 */ lw $a3, 0x10($s2) +/* 1A1880 80272FA0 0C052757 */ jal play_sound_at_position +/* 1A1884 80272FA4 0000282D */ daddu $a1, $zero, $zero +.L80272FA8: +/* 1A1888 80272FA8 8E820190 */ lw $v0, 0x190($s4) +/* 1A188C 80272FAC 30424000 */ andi $v0, $v0, 0x4000 +/* 1A1890 80272FB0 10400019 */ beqz $v0, .L80273018 +/* 1A1894 80272FB4 00000000 */ nop +/* 1A1898 80272FB8 12E00017 */ beqz $s7, .L80273018 +/* 1A189C 80272FBC 00000000 */ nop +/* 1A18A0 80272FC0 3C048029 */ lui $a0, 0x8029 +/* 1A18A4 80272FC4 2484466C */ addiu $a0, $a0, 0x466c +/* 1A18A8 80272FC8 2405000A */ addiu $a1, $zero, 0xa +/* 1A18AC 80272FCC 0C0B0CF8 */ jal start_script +/* 1A18B0 80272FD0 0000302D */ daddu $a2, $zero, $zero +/* 1A18B4 80272FD4 C640000C */ lwc1 $f0, 0xc($s2) +/* 1A18B8 80272FD8 4600018D */ trunc.w.s $f6, $f0 +/* 1A18BC 80272FDC E4460084 */ swc1 $f6, 0x84($v0) +/* 1A18C0 80272FE0 C6400010 */ lwc1 $f0, 0x10($s2) +/* 1A18C4 80272FE4 4600018D */ trunc.w.s $f6, $f0 +/* 1A18C8 80272FE8 E4460088 */ swc1 $f6, 0x88($v0) +/* 1A18CC 80272FEC C6400014 */ lwc1 $f0, 0x14($s2) +/* 1A18D0 80272FF0 AC530090 */ sw $s3, 0x90($v0) +/* 1A18D4 80272FF4 4600018D */ trunc.w.s $f6, $f0 +/* 1A18D8 80272FF8 E446008C */ swc1 $f6, 0x8c($v0) +/* 1A18DC 80272FFC C6400014 */ lwc1 $f0, 0x14($s2) +/* 1A18E0 80273000 240400E3 */ addiu $a0, $zero, 0xe3 +/* 1A18E4 80273004 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A18E8 80273008 8E46000C */ lw $a2, 0xc($s2) +/* 1A18EC 8027300C 8E470010 */ lw $a3, 0x10($s2) +/* 1A18F0 80273010 0C052757 */ jal play_sound_at_position +/* 1A18F4 80273014 0000282D */ daddu $a1, $zero, $zero +.L80273018: +/* 1A18F8 80273018 8E820190 */ lw $v0, 0x190($s4) +/* 1A18FC 8027301C 3C030008 */ lui $v1, 8 +/* 1A1900 80273020 00431024 */ and $v0, $v0, $v1 +/* 1A1904 80273024 10400019 */ beqz $v0, .L8027308C +/* 1A1908 80273028 00000000 */ nop +/* 1A190C 8027302C 12E00017 */ beqz $s7, .L8027308C +/* 1A1910 80273030 00000000 */ nop +/* 1A1914 80273034 3C048029 */ lui $a0, 0x8029 +/* 1A1918 80273038 248446B8 */ addiu $a0, $a0, 0x46b8 +/* 1A191C 8027303C 2405000A */ addiu $a1, $zero, 0xa +/* 1A1920 80273040 0C0B0CF8 */ jal start_script +/* 1A1924 80273044 0000302D */ daddu $a2, $zero, $zero +/* 1A1928 80273048 C640000C */ lwc1 $f0, 0xc($s2) +/* 1A192C 8027304C 4600018D */ trunc.w.s $f6, $f0 +/* 1A1930 80273050 E4460084 */ swc1 $f6, 0x84($v0) +/* 1A1934 80273054 C6400010 */ lwc1 $f0, 0x10($s2) +/* 1A1938 80273058 4600018D */ trunc.w.s $f6, $f0 +/* 1A193C 8027305C E4460088 */ swc1 $f6, 0x88($v0) +/* 1A1940 80273060 C6400014 */ lwc1 $f0, 0x14($s2) +/* 1A1944 80273064 AC530090 */ sw $s3, 0x90($v0) +/* 1A1948 80273068 4600018D */ trunc.w.s $f6, $f0 +/* 1A194C 8027306C E446008C */ swc1 $f6, 0x8c($v0) +/* 1A1950 80273070 C6400014 */ lwc1 $f0, 0x14($s2) +/* 1A1954 80273074 24042032 */ addiu $a0, $zero, 0x2032 +/* 1A1958 80273078 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A195C 8027307C 8E46000C */ lw $a2, 0xc($s2) +/* 1A1960 80273080 8E470010 */ lw $a3, 0x10($s2) +/* 1A1964 80273084 0C052757 */ jal play_sound_at_position +/* 1A1968 80273088 0000282D */ daddu $a1, $zero, $zero +.L8027308C: +/* 1A196C 8027308C 8E820188 */ lw $v0, 0x188($s4) +/* 1A1970 80273090 30420040 */ andi $v0, $v0, 0x40 +/* 1A1974 80273094 1040000A */ beqz $v0, .L802730C0 +/* 1A1978 80273098 24020093 */ addiu $v0, $zero, 0x93 +/* 1A197C 8027309C 92630136 */ lbu $v1, 0x136($s3) +/* 1A1980 802730A0 14620007 */ bne $v1, $v0, .L802730C0 +/* 1A1984 802730A4 24040165 */ addiu $a0, $zero, 0x165 +/* 1A1988 802730A8 C6400014 */ lwc1 $f0, 0x14($s2) +/* 1A198C 802730AC E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A1990 802730B0 8E46000C */ lw $a2, 0xc($s2) +/* 1A1994 802730B4 8E470010 */ lw $a3, 0x10($s2) +/* 1A1998 802730B8 0C052757 */ jal play_sound_at_position +/* 1A199C 802730BC 0000282D */ daddu $a1, $zero, $zero +.L802730C0: +/* 1A19A0 802730C0 0C099AB7 */ jal func_80266ADC +/* 1A19A4 802730C4 0260202D */ daddu $a0, $s3, $zero +/* 1A19A8 802730C8 3C02800E */ lui $v0, 0x800e +/* 1A19AC 802730CC 8C42C070 */ lw $v0, -0x3f90($v0) +/* 1A19B0 802730D0 30420240 */ andi $v0, $v0, 0x240 +/* 1A19B4 802730D4 10400006 */ beqz $v0, .L802730F0 +/* 1A19B8 802730D8 00000000 */ nop +/* 1A19BC 802730DC 52A00001 */ beql $s5, $zero, .L802730E4 +/* 1A19C0 802730E0 24150001 */ addiu $s5, $zero, 1 +.L802730E4: +/* 1A19C4 802730E4 24020002 */ addiu $v0, $zero, 2 +/* 1A19C8 802730E8 52A20001 */ beql $s5, $v0, .L802730F0 +/* 1A19CC 802730EC 24150003 */ addiu $s5, $zero, 3 +.L802730F0: +/* 1A19D0 802730F0 0C03A752 */ jal is_ability_active +/* 1A19D4 802730F4 24040013 */ addiu $a0, $zero, 0x13 +/* 1A19D8 802730F8 14400024 */ bnez $v0, .L8027318C +/* 1A19DC 802730FC 02A0102D */ daddu $v0, $s5, $zero +/* 1A19E0 80273100 8FA80018 */ lw $t0, 0x18($sp) +/* 1A19E4 80273104 81020212 */ lb $v0, 0x212($t0) +/* 1A19E8 80273108 2403000B */ addiu $v1, $zero, 0xb +/* 1A19EC 8027310C 1043001F */ beq $v0, $v1, .L8027318C +/* 1A19F0 80273110 02A0102D */ daddu $v0, $s5, $zero +/* 1A19F4 80273114 82620212 */ lb $v0, 0x212($s3) +/* 1A19F8 80273118 10430005 */ beq $v0, $v1, .L80273130 +/* 1A19FC 8027311C 3C031000 */ lui $v1, 0x1000 +/* 1A1A00 80273120 8FC2007C */ lw $v0, 0x7c($fp) +/* 1A1A04 80273124 30420080 */ andi $v0, $v0, 0x80 +/* 1A1A08 80273128 10400018 */ beqz $v0, .L8027318C +/* 1A1A0C 8027312C 02A0102D */ daddu $v0, $s5, $zero +.L80273130: +/* 1A1A10 80273130 8E820188 */ lw $v0, 0x188($s4) +/* 1A1A14 80273134 34630020 */ ori $v1, $v1, 0x20 +/* 1A1A18 80273138 00431024 */ and $v0, $v0, $v1 +/* 1A1A1C 8027313C 14400013 */ bnez $v0, .L8027318C +/* 1A1A20 80273140 02A0102D */ daddu $v0, $s5, $zero +/* 1A1A24 80273144 8E82018C */ lw $v0, 0x18c($s4) +/* 1A1A28 80273148 30420008 */ andi $v0, $v0, 8 +/* 1A1A2C 8027314C 1440000F */ bnez $v0, .L8027318C +/* 1A1A30 80273150 02A0102D */ daddu $v0, $s5, $zero +.L80273154: +/* 1A1A34 80273154 C6400014 */ lwc1 $f0, 0x14($s2) +/* 1A1A38 80273158 2404037A */ addiu $a0, $zero, 0x37a +/* 1A1A3C 8027315C E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A1A40 80273160 8E46000C */ lw $a2, 0xc($s2) +/* 1A1A44 80273164 8E470010 */ lw $a3, 0x10($s2) +/* 1A1A48 80273168 0C052757 */ jal play_sound_at_position +/* 1A1A4C 8027316C 0000282D */ daddu $a1, $zero, $zero +/* 1A1A50 80273170 8FA40018 */ lw $a0, 0x18($sp) +/* 1A1A54 80273174 0C09451D */ jal func_80251474 +/* 1A1A58 80273178 00000000 */ nop +/* 1A1A5C 8027317C 24040001 */ addiu $a0, $zero, 1 +/* 1A1A60 80273180 0C09CCEA */ jal dispatch_damage_event_player_1 +/* 1A1A64 80273184 2405002F */ addiu $a1, $zero, 0x2f +/* 1A1A68 80273188 2402FFFF */ addiu $v0, $zero, -1 +func_8027318C: +.L8027318C: +/* 1A1A6C 8027318C 8FBF005C */ lw $ra, 0x5c($sp) +/* 1A1A70 80273190 8FBE0058 */ lw $fp, 0x58($sp) +/* 1A1A74 80273194 8FB70054 */ lw $s7, 0x54($sp) +/* 1A1A78 80273198 8FB60050 */ lw $s6, 0x50($sp) +/* 1A1A7C 8027319C 8FB5004C */ lw $s5, 0x4c($sp) +/* 1A1A80 802731A0 8FB40048 */ lw $s4, 0x48($sp) +/* 1A1A84 802731A4 8FB30044 */ lw $s3, 0x44($sp) +/* 1A1A88 802731A8 8FB20040 */ lw $s2, 0x40($sp) +/* 1A1A8C 802731AC 8FB1003C */ lw $s1, 0x3c($sp) +/* 1A1A90 802731B0 8FB00038 */ lw $s0, 0x38($sp) +/* 1A1A94 802731B4 03E00008 */ jr $ra +/* 1A1A98 802731B8 27BD0060 */ addiu $sp, $sp, 0x60 + +dispatch_damage_event_player: +/* 1A1A9C 802731BC 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* 1A1AA0 802731C0 00A0402D */ daddu $t0, $a1, $zero +/* 1A1AA4 802731C4 AFB30024 */ sw $s3, 0x24($sp) +/* 1A1AA8 802731C8 3C13800E */ lui $s3, 0x800e +/* 1A1AAC 802731CC 2673C070 */ addiu $s3, $s3, -0x3f90 +/* 1A1AB0 802731D0 AFBF0028 */ sw $ra, 0x28($sp) +/* 1A1AB4 802731D4 AFB20020 */ sw $s2, 0x20($sp) +/* 1A1AB8 802731D8 AFB1001C */ sw $s1, 0x1c($sp) +/* 1A1ABC 802731DC AFB00018 */ sw $s0, 0x18($sp) +/* 1A1AC0 802731E0 A664017E */ sh $a0, 0x17e($s3) +/* 1A1AC4 802731E4 00042400 */ sll $a0, $a0, 0x10 +/* 1A1AC8 802731E8 8E7000D8 */ lw $s0, 0xd8($s3) +/* 1A1ACC 802731EC 00043C03 */ sra $a3, $a0, 0x10 +/* 1A1AD0 802731F0 960201FA */ lhu $v0, 0x1fa($s0) +/* 1A1AD4 802731F4 3C058011 */ lui $a1, 0x8011 +/* 1A1AD8 802731F8 24A5F290 */ addiu $a1, $a1, -0xd70 +/* 1A1ADC 802731FC 00471021 */ addu $v0, $v0, $a3 +/* 1A1AE0 80273200 00021C00 */ sll $v1, $v0, 0x10 +/* 1A1AE4 80273204 00033C03 */ sra $a3, $v1, 0x10 +/* 1A1AE8 80273208 A60201FA */ sh $v0, 0x1fa($s0) +/* 1A1AEC 8027320C 90A40002 */ lbu $a0, 2($a1) +/* 1A1AF0 80273210 960201FC */ lhu $v0, 0x1fc($s0) +/* 1A1AF4 80273214 960301FA */ lhu $v1, 0x1fa($s0) +/* 1A1AF8 80273218 00471021 */ addu $v0, $v0, $a3 +/* 1A1AFC 8027321C 00671823 */ subu $v1, $v1, $a3 +/* 1A1B00 80273220 A60201FC */ sh $v0, 0x1fc($s0) +/* 1A1B04 80273224 A20401B8 */ sb $a0, 0x1b8($s0) +/* 1A1B08 80273228 A60301FA */ sh $v1, 0x1fa($s0) +/* 1A1B0C 8027322C A6600180 */ sh $zero, 0x180($s3) +/* 1A1B10 80273230 920201B8 */ lbu $v0, 0x1b8($s0) +/* 1A1B14 80273234 00471023 */ subu $v0, $v0, $a3 +/* 1A1B18 80273238 A20201B8 */ sb $v0, 0x1b8($s0) +/* 1A1B1C 8027323C 9262007B */ lbu $v0, 0x7b($s3) +/* 1A1B20 80273240 0100902D */ daddu $s2, $t0, $zero +/* 1A1B24 80273244 00471021 */ addu $v0, $v0, $a3 +/* 1A1B28 80273248 A262007B */ sb $v0, 0x7b($s3) +/* 1A1B2C 8027324C 820301B8 */ lb $v1, 0x1b8($s0) +/* 1A1B30 80273250 1C600006 */ bgtz $v1, .L8027326C +/* 1A1B34 80273254 2611000C */ addiu $s1, $s0, 0xc +/* 1A1B38 80273258 96620180 */ lhu $v0, 0x180($s3) +/* 1A1B3C 8027325C 24120020 */ addiu $s2, $zero, 0x20 +/* 1A1B40 80273260 00431021 */ addu $v0, $v0, $v1 +/* 1A1B44 80273264 A6620180 */ sh $v0, 0x180($s3) +/* 1A1B48 80273268 A20001B8 */ sb $zero, 0x1b8($s0) +.L8027326C: +/* 1A1B4C 8027326C 96620180 */ lhu $v0, 0x180($s3) +/* 1A1B50 80273270 00471021 */ addu $v0, $v0, $a3 +/* 1A1B54 80273274 A6620180 */ sh $v0, 0x180($s3) +/* 1A1B58 80273278 920201B8 */ lbu $v0, 0x1b8($s0) +/* 1A1B5C 8027327C A0A20002 */ sb $v0, 2($a1) +/* 1A1B60 80273280 24020009 */ addiu $v0, $zero, 9 +/* 1A1B64 80273284 52420001 */ beql $s2, $v0, .L8027328C +/* 1A1B68 80273288 2412000A */ addiu $s2, $zero, 0xa +.L8027328C: +/* 1A1B6C 8027328C 24020017 */ addiu $v0, $zero, 0x17 +/* 1A1B70 80273290 52420001 */ beql $s2, $v0, .L80273298 +/* 1A1B74 80273294 24120019 */ addiu $s2, $zero, 0x19 +.L80273298: +/* 1A1B78 80273298 24020020 */ addiu $v0, $zero, 0x20 +/* 1A1B7C 8027329C 16420009 */ bne $s2, $v0, .L802732C4 +/* 1A1B80 802732A0 2402002A */ addiu $v0, $zero, 0x2a +/* 1A1B84 802732A4 51020001 */ beql $t0, $v0, .L802732AC +/* 1A1B88 802732A8 24120027 */ addiu $s2, $zero, 0x27 +.L802732AC: +/* 1A1B8C 802732AC 2402002C */ addiu $v0, $zero, 0x2c +/* 1A1B90 802732B0 51020001 */ beql $t0, $v0, .L802732B8 +/* 1A1B94 802732B4 24120024 */ addiu $s2, $zero, 0x24 +.L802732B8: +/* 1A1B98 802732B8 2402002F */ addiu $v0, $zero, 0x2f +/* 1A1B9C 802732BC 51020001 */ beql $t0, $v0, .L802732C4 +/* 1A1BA0 802732C0 24120026 */ addiu $s2, $zero, 0x26 +.L802732C4: +/* 1A1BA4 802732C4 14C0000D */ bnez $a2, .L802732FC +/* 1A1BA8 802732C8 24020001 */ addiu $v0, $zero, 1 +/* 1A1BAC 802732CC 0220202D */ daddu $a0, $s1, $zero +/* 1A1BB0 802732D0 0000282D */ daddu $a1, $zero, $zero +/* 1A1BB4 802732D4 0C09A5D5 */ jal set_goal_pos_to_part +/* 1A1BB8 802732D8 00A0302D */ daddu $a2, $a1, $zero +/* 1A1BBC 802732DC C6200014 */ lwc1 $f0, 0x14($s1) +/* 1A1BC0 802732E0 240400E9 */ addiu $a0, $zero, 0xe9 +/* 1A1BC4 802732E4 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A1BC8 802732E8 8E26000C */ lw $a2, 0xc($s1) +/* 1A1BCC 802732EC 8E270010 */ lw $a3, 0x10($s1) +/* 1A1BD0 802732F0 0C052757 */ jal play_sound_at_position +/* 1A1BD4 802732F4 0000282D */ daddu $a1, $zero, $zero +/* 1A1BD8 802732F8 24020001 */ addiu $v0, $zero, 1 +.L802732FC: +/* 1A1BDC 802732FC AFA20010 */ sw $v0, 0x10($sp) +/* 1A1BE0 80273300 8E260014 */ lw $a2, 0x14($s1) +/* 1A1BE4 80273304 86670180 */ lh $a3, 0x180($s3) +/* 1A1BE8 80273308 C62C000C */ lwc1 $f12, 0xc($s1) +/* 1A1BEC 8027330C 0C09996B */ jal show_damage_popup +/* 1A1BF0 80273310 C62E0010 */ lwc1 $f14, 0x10($s1) +/* 1A1BF4 80273314 86620180 */ lh $v0, 0x180($s3) +/* 1A1BF8 80273318 AFA20010 */ sw $v0, 0x10($sp) +/* 1A1BFC 8027331C 8E25000C */ lw $a1, 0xc($s1) +/* 1A1C00 80273320 8E260010 */ lw $a2, 0x10($s1) +/* 1A1C04 80273324 8E270014 */ lw $a3, 0x14($s1) +/* 1A1C08 80273328 0C0999B9 */ jal func_802666E4 +/* 1A1C0C 8027332C 0200202D */ daddu $a0, $s0, $zero +/* 1A1C10 80273330 86620180 */ lh $v0, 0x180($s3) +/* 1A1C14 80273334 18400003 */ blez $v0, .L80273344 +/* 1A1C18 80273338 0200202D */ daddu $a0, $s0, $zero +/* 1A1C1C 8027333C 0C099C06 */ jal func_80267018 +/* 1A1C20 80273340 24050001 */ addiu $a1, $zero, 1 +.L80273344: +/* 1A1C24 80273344 3C10800E */ lui $s0, 0x800e +/* 1A1C28 80273348 8E10C070 */ lw $s0, -0x3f90($s0) +/* 1A1C2C 8027334C 0240202D */ daddu $a0, $s2, $zero +/* 1A1C30 80273350 32100240 */ andi $s0, $s0, 0x240 +/* 1A1C34 80273354 0C09C596 */ jal dispatch_event_player +/* 1A1C38 80273358 0010802B */ sltu $s0, $zero, $s0 +/* 1A1C3C 8027335C 0200102D */ daddu $v0, $s0, $zero +/* 1A1C40 80273360 8FBF0028 */ lw $ra, 0x28($sp) +/* 1A1C44 80273364 8FB30024 */ lw $s3, 0x24($sp) +/* 1A1C48 80273368 8FB20020 */ lw $s2, 0x20($sp) +/* 1A1C4C 8027336C 8FB1001C */ lw $s1, 0x1c($sp) +/* 1A1C50 80273370 8FB00018 */ lw $s0, 0x18($sp) +/* 1A1C54 80273374 03E00008 */ jr $ra +/* 1A1C58 80273378 27BD0030 */ addiu $sp, $sp, 0x30 + +dispatch_damage_event_player_0: +/* 1A1C5C 8027337C 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 1A1C60 80273380 3C02800E */ lui $v0, 0x800e +/* 1A1C64 80273384 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 1A1C68 80273388 0000302D */ daddu $a2, $zero, $zero +/* 1A1C6C 8027338C AFBF0010 */ sw $ra, 0x10($sp) +/* 1A1C70 80273390 AC400188 */ sw $zero, 0x188($v0) +/* 1A1C74 80273394 0C09CC6F */ jal dispatch_damage_event_player +/* 1A1C78 80273398 A040019A */ sb $zero, 0x19a($v0) +/* 1A1C7C 8027339C 8FBF0010 */ lw $ra, 0x10($sp) +/* 1A1C80 802733A0 03E00008 */ jr $ra +/* 1A1C84 802733A4 27BD0018 */ addiu $sp, $sp, 0x18 + +dispatch_damage_event_player_1: +/* 1A1C88 802733A8 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 1A1C8C 802733AC AFBF0010 */ sw $ra, 0x10($sp) +/* 1A1C90 802733B0 0C09CC6F */ jal dispatch_damage_event_player +/* 1A1C94 802733B4 24060001 */ addiu $a2, $zero, 1 +/* 1A1C98 802733B8 8FBF0010 */ lw $ra, 0x10($sp) +/* 1A1C9C 802733BC 03E00008 */ jr $ra +/* 1A1CA0 802733C0 27BD0018 */ addiu $sp, $sp, 0x18 + +GetMenuSelection: +/* 1A1CA4 802733C4 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 1A1CA8 802733C8 AFB00010 */ sw $s0, 0x10($sp) +/* 1A1CAC 802733CC 0080802D */ daddu $s0, $a0, $zero +/* 1A1CB0 802733D0 AFB10014 */ sw $s1, 0x14($sp) +/* 1A1CB4 802733D4 3C11800E */ lui $s1, 0x800e +/* 1A1CB8 802733D8 2631C070 */ addiu $s1, $s1, -0x3f90 +/* 1A1CBC 802733DC AFBF0020 */ sw $ra, 0x20($sp) +/* 1A1CC0 802733E0 AFB3001C */ sw $s3, 0x1c($sp) +/* 1A1CC4 802733E4 AFB20018 */ sw $s2, 0x18($sp) +/* 1A1CC8 802733E8 8E02000C */ lw $v0, 0xc($s0) +/* 1A1CCC 802733EC 82260178 */ lb $a2, 0x178($s1) +/* 1A1CD0 802733F0 8C450000 */ lw $a1, ($v0) +/* 1A1CD4 802733F4 24420004 */ addiu $v0, $v0, 4 +/* 1A1CD8 802733F8 8C520000 */ lw $s2, ($v0) +/* 1A1CDC 802733FC 0C0B2026 */ jal set_variable +/* 1A1CE0 80273400 8C530004 */ lw $s3, 4($v0) +/* 1A1CE4 80273404 0200202D */ daddu $a0, $s0, $zero +/* 1A1CE8 80273408 8626017A */ lh $a2, 0x17a($s1) +/* 1A1CEC 8027340C 0C0B2026 */ jal set_variable +/* 1A1CF0 80273410 0240282D */ daddu $a1, $s2, $zero +/* 1A1CF4 80273414 0200202D */ daddu $a0, $s0, $zero +/* 1A1CF8 80273418 8626017C */ lh $a2, 0x17c($s1) +/* 1A1CFC 8027341C 0C0B2026 */ jal set_variable +/* 1A1D00 80273420 0260282D */ daddu $a1, $s3, $zero +/* 1A1D04 80273424 8FBF0020 */ lw $ra, 0x20($sp) +/* 1A1D08 80273428 8FB3001C */ lw $s3, 0x1c($sp) +/* 1A1D0C 8027342C 8FB20018 */ lw $s2, 0x18($sp) +/* 1A1D10 80273430 8FB10014 */ lw $s1, 0x14($sp) +/* 1A1D14 80273434 8FB00010 */ lw $s0, 0x10($sp) +/* 1A1D18 80273438 24020002 */ addiu $v0, $zero, 2 +/* 1A1D1C 8027343C 03E00008 */ jr $ra +/* 1A1D20 80273440 27BD0028 */ addiu $sp, $sp, 0x28 + +/* 1A1D24 80273444 27BDFFA0 */ addiu $sp, $sp, -0x60 +/* 1A1D28 80273448 AFB20020 */ sw $s2, 0x20($sp) +/* 1A1D2C 8027344C 3C12800E */ lui $s2, 0x800e +/* 1A1D30 80273450 8E52C148 */ lw $s2, -0x3eb8($s2) +/* 1A1D34 80273454 AFB30024 */ sw $s3, 0x24($sp) +/* 1A1D38 80273458 0080982D */ daddu $s3, $a0, $zero +/* 1A1D3C 8027345C AFBF0028 */ sw $ra, 0x28($sp) +/* 1A1D40 80273460 AFB1001C */ sw $s1, 0x1c($sp) +/* 1A1D44 80273464 AFB00018 */ sw $s0, 0x18($sp) +/* 1A1D48 80273468 F7BE0058 */ sdc1 $f30, 0x58($sp) +/* 1A1D4C 8027346C F7BC0050 */ sdc1 $f28, 0x50($sp) +/* 1A1D50 80273470 F7BA0048 */ sdc1 $f26, 0x48($sp) +/* 1A1D54 80273474 F7B80040 */ sdc1 $f24, 0x40($sp) +/* 1A1D58 80273478 F7B60038 */ sdc1 $f22, 0x38($sp) +/* 1A1D5C 8027347C F7B40030 */ sdc1 $f20, 0x30($sp) +/* 1A1D60 80273480 8E70000C */ lw $s0, 0xc($s3) +/* 1A1D64 80273484 10A00002 */ beqz $a1, .L80273490 +/* 1A1D68 80273488 2651000C */ addiu $s1, $s2, 0xc +/* 1A1D6C 8027348C AE600070 */ sw $zero, 0x70($s3) +.L80273490: +/* 1A1D70 80273490 8E620070 */ lw $v0, 0x70($s3) +/* 1A1D74 80273494 14400081 */ bnez $v0, .L8027369C +/* 1A1D78 80273498 00000000 */ nop +/* 1A1D7C 8027349C 8E050000 */ lw $a1, ($s0) +/* 1A1D80 802734A0 26100004 */ addiu $s0, $s0, 4 +/* 1A1D84 802734A4 0C0B1EAF */ jal get_variable +/* 1A1D88 802734A8 0260202D */ daddu $a0, $s3, $zero +/* 1A1D8C 802734AC A6420070 */ sh $v0, 0x70($s2) +/* 1A1D90 802734B0 8E050000 */ lw $a1, ($s0) +/* 1A1D94 802734B4 26100004 */ addiu $s0, $s0, 4 +/* 1A1D98 802734B8 0C0B1EAF */ jal get_variable +/* 1A1D9C 802734BC 0260202D */ daddu $a0, $s3, $zero +/* 1A1DA0 802734C0 A6420072 */ sh $v0, 0x72($s2) +/* 1A1DA4 802734C4 8E050000 */ lw $a1, ($s0) +/* 1A1DA8 802734C8 0C0B1EAF */ jal get_variable +/* 1A1DAC 802734CC 0260202D */ daddu $a0, $s3, $zero +/* 1A1DB0 802734D0 AE620074 */ sw $v0, 0x74($s3) +/* 1A1DB4 802734D4 C6400148 */ lwc1 $f0, 0x148($s2) +/* 1A1DB8 802734D8 C65A0018 */ lwc1 $f26, 0x18($s2) +/* 1A1DBC 802734DC C65C0020 */ lwc1 $f28, 0x20($s2) +/* 1A1DC0 802734E0 C654014C */ lwc1 $f20, 0x14c($s2) +/* 1A1DC4 802734E4 C658001C */ lwc1 $f24, 0x1c($s2) +/* 1A1DC8 802734E8 E6400010 */ swc1 $f0, 0x10($s2) +/* 1A1DCC 802734EC 46000786 */ mov.s $f30, $f0 +/* 1A1DD0 802734F0 4406D000 */ mfc1 $a2, $f26 +/* 1A1DD4 802734F4 4407E000 */ mfc1 $a3, $f28 +/* 1A1DD8 802734F8 C6400144 */ lwc1 $f0, 0x144($s2) +/* 1A1DDC 802734FC 4600A386 */ mov.s $f14, $f20 +/* 1A1DE0 80273500 E6540014 */ swc1 $f20, 0x14($s2) +/* 1A1DE4 80273504 E640000C */ swc1 $f0, 0xc($s2) +/* 1A1DE8 80273508 46000586 */ mov.s $f22, $f0 +/* 1A1DEC 8027350C 0C00A720 */ jal atan2 +/* 1A1DF0 80273510 4600B306 */ mov.s $f12, $f22 +/* 1A1DF4 80273514 4600B306 */ mov.s $f12, $f22 +/* 1A1DF8 80273518 4600A386 */ mov.s $f14, $f20 +/* 1A1DFC 8027351C 4406D000 */ mfc1 $a2, $f26 +/* 1A1E00 80273520 4407E000 */ mfc1 $a3, $f28 +/* 1A1E04 80273524 461EC781 */ sub.s $f30, $f24, $f30 +/* 1A1E08 80273528 0C00A7B5 */ jal dist2D +/* 1A1E0C 8027352C E6400054 */ swc1 $f0, 0x54($s2) +/* 1A1E10 80273530 86420070 */ lh $v0, 0x70($s2) +/* 1A1E14 80273534 46000106 */ mov.s $f4, $f0 +/* 1A1E18 80273538 14400012 */ bnez $v0, .L80273584 +/* 1A1E1C 8027353C E6440058 */ swc1 $f4, 0x58($s2) +/* 1A1E20 80273540 C640004C */ lwc1 $f0, 0x4c($s2) +/* 1A1E24 80273544 C642004C */ lwc1 $f2, 0x4c($s2) +/* 1A1E28 80273548 46002003 */ div.s $f0, $f4, $f0 +/* 1A1E2C 8027354C 4600028D */ trunc.w.s $f10, $f0 +/* 1A1E30 80273550 44035000 */ mfc1 $v1, $f10 +/* 1A1E34 80273554 00000000 */ nop +/* 1A1E38 80273558 00031400 */ sll $v0, $v1, 0x10 +/* 1A1E3C 8027355C 00021403 */ sra $v0, $v0, 0x10 +/* 1A1E40 80273560 44820000 */ mtc1 $v0, $f0 +/* 1A1E44 80273564 00000000 */ nop +/* 1A1E48 80273568 46800020 */ cvt.s.w $f0, $f0 +/* 1A1E4C 8027356C 46020002 */ mul.s $f0, $f0, $f2 +/* 1A1E50 80273570 00000000 */ nop +/* 1A1E54 80273574 46002086 */ mov.s $f2, $f4 +/* 1A1E58 80273578 A6430070 */ sh $v1, 0x70($s2) +/* 1A1E5C 8027357C 0809CD6E */ j func_802735B8 +/* 1A1E60 80273580 46001201 */ sub.s $f8, $f2, $f0 + +.L80273584: +/* 1A1E64 80273584 44821000 */ mtc1 $v0, $f2 +/* 1A1E68 80273588 00000000 */ nop +/* 1A1E6C 8027358C 468010A0 */ cvt.s.w $f2, $f2 +/* 1A1E70 80273590 86420070 */ lh $v0, 0x70($s2) +/* 1A1E74 80273594 46022083 */ div.s $f2, $f4, $f2 +/* 1A1E78 80273598 44820000 */ mtc1 $v0, $f0 +/* 1A1E7C 8027359C 00000000 */ nop +/* 1A1E80 802735A0 46800020 */ cvt.s.w $f0, $f0 +/* 1A1E84 802735A4 46020002 */ mul.s $f0, $f0, $f2 +/* 1A1E88 802735A8 00000000 */ nop +/* 1A1E8C 802735AC C6440058 */ lwc1 $f4, 0x58($s2) +/* 1A1E90 802735B0 E642004C */ swc1 $f2, 0x4c($s2) +/* 1A1E94 802735B4 46002201 */ sub.s $f8, $f4, $f0 +func_802735B8: +/* 1A1E98 802735B8 86220064 */ lh $v0, 0x64($s1) +/* 1A1E9C 802735BC C622003C */ lwc1 $f2, 0x3c($s1) +/* 1A1EA0 802735C0 44823000 */ mtc1 $v0, $f6 +/* 1A1EA4 802735C4 00000000 */ nop +/* 1A1EA8 802735C8 468031A0 */ cvt.s.w $f6, $f6 +/* 1A1EAC 802735CC 46061082 */ mul.s $f2, $f2, $f6 +/* 1A1EB0 802735D0 00000000 */ nop +/* 1A1EB4 802735D4 3C013F00 */ lui $at, 0x3f00 +/* 1A1EB8 802735D8 44810000 */ mtc1 $at, $f0 +/* 1A1EBC 802735DC 00000000 */ nop +/* 1A1EC0 802735E0 46001082 */ mul.s $f2, $f2, $f0 +/* 1A1EC4 802735E4 00000000 */ nop +/* 1A1EC8 802735E8 0000202D */ daddu $a0, $zero, $zero +/* 1A1ECC 802735EC C6240040 */ lwc1 $f4, 0x40($s1) +/* 1A1ED0 802735F0 46003006 */ mov.s $f0, $f6 +/* 1A1ED4 802735F4 46004003 */ div.s $f0, $f8, $f0 +/* 1A1ED8 802735F8 46002100 */ add.s $f4, $f4, $f0 +/* 1A1EDC 802735FC 8E260058 */ lw $a2, 0x58($s1) +/* 1A1EE0 80273600 4606F183 */ div.s $f6, $f30, $f6 +/* 1A1EE4 80273604 46061080 */ add.s $f2, $f2, $f6 +/* 1A1EE8 80273608 0080282D */ daddu $a1, $a0, $zero +/* 1A1EEC 8027360C E6240040 */ swc1 $f4, 0x40($s1) +/* 1A1EF0 80273610 0C098F3F */ jal set_animation +/* 1A1EF4 80273614 E6220044 */ swc1 $f2, 0x44($s1) +/* 1A1EF8 80273618 86230064 */ lh $v1, 0x64($s1) +/* 1A1EFC 8027361C 240200B4 */ addiu $v0, $zero, 0xb4 +/* 1A1F00 80273620 14600002 */ bnez $v1, .L8027362C +/* 1A1F04 80273624 0043001A */ div $zero, $v0, $v1 +/* 1A1F08 80273628 0007000D */ break 7 +.L8027362C: +/* 1A1F0C 8027362C 2401FFFF */ addiu $at, $zero, -1 +/* 1A1F10 80273630 14610004 */ bne $v1, $at, .L80273644 +/* 1A1F14 80273634 3C018000 */ lui $at, 0x8000 +/* 1A1F18 80273638 14410002 */ bne $v0, $at, .L80273644 +/* 1A1F1C 8027363C 00000000 */ nop +/* 1A1F20 80273640 0006000D */ break 6 +.L80273644: +/* 1A1F24 80273644 00001012 */ mflo $v0 +/* 1A1F28 80273648 3C0142B4 */ lui $at, 0x42b4 +/* 1A1F2C 8027364C 44810000 */ mtc1 $at, $f0 +/* 1A1F30 80273650 C6220010 */ lwc1 $f2, 0x10($s1) +/* 1A1F34 80273654 E6200024 */ swc1 $f0, 0x24($s1) +/* 1A1F38 80273658 E622002C */ swc1 $f2, 0x2c($s1) +/* 1A1F3C 8027365C 44820000 */ mtc1 $v0, $f0 +/* 1A1F40 80273660 00000000 */ nop +/* 1A1F44 80273664 46800020 */ cvt.s.w $f0, $f0 +/* 1A1F48 80273668 E6200028 */ swc1 $f0, 0x28($s1) +/* 1A1F4C 8027366C 8E630074 */ lw $v1, 0x74($s3) +/* 1A1F50 80273670 24020002 */ addiu $v0, $zero, 2 +/* 1A1F54 80273674 10620007 */ beq $v1, $v0, .L80273694 +/* 1A1F58 80273678 24040160 */ addiu $a0, $zero, 0x160 +/* 1A1F5C 8027367C C640014C */ lwc1 $f0, 0x14c($s2) +/* 1A1F60 80273680 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A1F64 80273684 8E460144 */ lw $a2, 0x144($s2) +/* 1A1F68 80273688 8E470148 */ lw $a3, 0x148($s2) +/* 1A1F6C 8027368C 0C052757 */ jal play_sound_at_position +/* 1A1F70 80273690 0000282D */ daddu $a1, $zero, $zero +.L80273694: +/* 1A1F74 80273694 24020001 */ addiu $v0, $zero, 1 +/* 1A1F78 80273698 AE620070 */ sw $v0, 0x70($s3) +.L8027369C: +/* 1A1F7C 8027369C C6220044 */ lwc1 $f2, 0x44($s1) +/* 1A1F80 802736A0 44800000 */ mtc1 $zero, $f0 +/* 1A1F84 802736A4 00000000 */ nop +/* 1A1F88 802736A8 4600103C */ c.lt.s $f2, $f0 +/* 1A1F8C 802736AC 00000000 */ nop +/* 1A1F90 802736B0 45000004 */ bc1f .L802736C4 +/* 1A1F94 802736B4 0000202D */ daddu $a0, $zero, $zero +/* 1A1F98 802736B8 8E26005C */ lw $a2, 0x5c($s1) +/* 1A1F9C 802736BC 0C098F3F */ jal set_animation +/* 1A1FA0 802736C0 0080282D */ daddu $a1, $a0, $zero +.L802736C4: +/* 1A1FA4 802736C4 24020001 */ addiu $v0, $zero, 1 +/* 1A1FA8 802736C8 86230066 */ lh $v1, 0x66($s1) +/* 1A1FAC 802736CC C6260044 */ lwc1 $f6, 0x44($s1) +/* 1A1FB0 802736D0 10620007 */ beq $v1, $v0, .L802736F0 +/* 1A1FB4 802736D4 28620002 */ slti $v0, $v1, 2 +/* 1A1FB8 802736D8 1440001D */ bnez $v0, .L80273750 +/* 1A1FBC 802736DC 24020002 */ addiu $v0, $zero, 2 +/* 1A1FC0 802736E0 1062000C */ beq $v1, $v0, .L80273714 +/* 1A1FC4 802736E4 00000000 */ nop +/* 1A1FC8 802736E8 0809CDD4 */ j func_80273750 +/* 1A1FCC 802736EC 00000000 */ nop + +.L802736F0: +/* 1A1FD0 802736F0 C6200004 */ lwc1 $f0, 4($s1) +/* 1A1FD4 802736F4 C622002C */ lwc1 $f2, 0x2c($s1) +/* 1A1FD8 802736F8 46020001 */ sub.s $f0, $f0, $f2 +/* 1A1FDC 802736FC 3C014234 */ lui $at, 0x4234 +/* 1A1FE0 80273700 44811000 */ mtc1 $at, $f2 +/* 1A1FE4 80273704 00000000 */ nop +/* 1A1FE8 80273708 4600103C */ c.lt.s $f2, $f0 +/* 1A1FEC 8027370C 0809CDCD */ j func_80273734 +/* 1A1FF0 80273710 00000000 */ nop + +.L80273714: +/* 1A1FF4 80273714 C6200004 */ lwc1 $f0, 4($s1) +/* 1A1FF8 80273718 C622002C */ lwc1 $f2, 0x2c($s1) +/* 1A1FFC 8027371C 46020001 */ sub.s $f0, $f0, $f2 +/* 1A2000 80273720 3C01802A */ lui $at, 0x802a +/* 1A2004 80273724 D422D898 */ ldc1 $f2, -0x2768($at) +/* 1A2008 80273728 46000021 */ cvt.d.s $f0, $f0 +/* 1A200C 8027372C 4620103C */ c.lt.d $f2, $f0 +/* 1A2010 80273730 00000000 */ nop +func_80273734: +/* 1A2014 80273734 45000006 */ bc1f .L80273750 +/* 1A2018 80273738 00000000 */ nop +/* 1A201C 8027373C 3C013E80 */ lui $at, 0x3e80 +/* 1A2020 80273740 44810000 */ mtc1 $at, $f0 +/* 1A2024 80273744 00000000 */ nop +/* 1A2028 80273748 46003182 */ mul.s $f6, $f6, $f0 +/* 1A202C 8027374C 00000000 */ nop +func_80273750: +.L80273750: +/* 1A2030 80273750 C6240004 */ lwc1 $f4, 4($s1) +/* 1A2034 80273754 C6220044 */ lwc1 $f2, 0x44($s1) +/* 1A2038 80273758 46062100 */ add.s $f4, $f4, $f6 +/* 1A203C 8027375C C620003C */ lwc1 $f0, 0x3c($s1) +/* 1A2040 80273760 C62C0024 */ lwc1 $f12, 0x24($s1) +/* 1A2044 80273764 46001081 */ sub.s $f2, $f2, $f0 +/* 1A2048 80273768 3C0140C9 */ lui $at, 0x40c9 +/* 1A204C 8027376C 34210FD0 */ ori $at, $at, 0xfd0 +/* 1A2050 80273770 44810000 */ mtc1 $at, $f0 +/* 1A2054 80273774 C6340040 */ lwc1 $f20, 0x40($s1) +/* 1A2058 80273778 46006302 */ mul.s $f12, $f12, $f0 +/* 1A205C 8027377C 00000000 */ nop +/* 1A2060 80273780 3C0143B4 */ lui $at, 0x43b4 +/* 1A2064 80273784 44810000 */ mtc1 $at, $f0 +/* 1A2068 80273788 4600A521 */ cvt.d.s $f20, $f20 +/* 1A206C 8027378C E6240004 */ swc1 $f4, 4($s1) +/* 1A2070 80273790 E6220044 */ swc1 $f2, 0x44($s1) +/* 1A2074 80273794 0C00A85B */ jal sin_rad +/* 1A2078 80273798 46006303 */ div.s $f12, $f12, $f0 +/* 1A207C 8027379C 46000021 */ cvt.d.s $f0, $f0 +/* 1A2080 802737A0 4620A500 */ add.d $f20, $f20, $f0 +/* 1A2084 802737A4 8E260048 */ lw $a2, 0x48($s1) +/* 1A2088 802737A8 4620A520 */ cvt.s.d $f20, $f20 +/* 1A208C 802737AC 4405A000 */ mfc1 $a1, $f20 +/* 1A2090 802737B0 0C09904A */ jal add_xz_vec3f +/* 1A2094 802737B4 0220202D */ daddu $a0, $s1, $zero +/* 1A2098 802737B8 C62C0024 */ lwc1 $f12, 0x24($s1) +/* 1A209C 802737BC C6200028 */ lwc1 $f0, 0x28($s1) +/* 1A20A0 802737C0 46006300 */ add.s $f12, $f12, $f0 +/* 1A20A4 802737C4 0C00A6C9 */ jal clamp_angle +/* 1A20A8 802737C8 E62C0024 */ swc1 $f12, 0x24($s1) +/* 1A20AC 802737CC C6220000 */ lwc1 $f2, ($s1) +/* 1A20B0 802737D0 E6200024 */ swc1 $f0, 0x24($s1) +/* 1A20B4 802737D4 E6420144 */ swc1 $f2, 0x144($s2) +/* 1A20B8 802737D8 C6200004 */ lwc1 $f0, 4($s1) +/* 1A20BC 802737DC E6400148 */ swc1 $f0, 0x148($s2) +/* 1A20C0 802737E0 C6200008 */ lwc1 $f0, 8($s1) +/* 1A20C4 802737E4 E640014C */ swc1 $f0, 0x14c($s2) +/* 1A20C8 802737E8 96220064 */ lhu $v0, 0x64($s1) +/* 1A20CC 802737EC 2442FFFF */ addiu $v0, $v0, -1 +/* 1A20D0 802737F0 A6220064 */ sh $v0, 0x64($s1) +/* 1A20D4 802737F4 00021400 */ sll $v0, $v0, 0x10 +/* 1A20D8 802737F8 04410019 */ bgez $v0, .L80273860 +/* 1A20DC 802737FC 0000102D */ daddu $v0, $zero, $zero +/* 1A20E0 80273800 C6200010 */ lwc1 $f0, 0x10($s1) +/* 1A20E4 80273804 E6400148 */ swc1 $f0, 0x148($s2) +/* 1A20E8 80273808 8E630074 */ lw $v1, 0x74($s3) +/* 1A20EC 8027380C 24020001 */ addiu $v0, $zero, 1 +/* 1A20F0 80273810 1062000A */ beq $v1, $v0, .L8027383C +/* 1A20F4 80273814 24020002 */ addiu $v0, $zero, 2 +/* 1A20F8 80273818 C640018C */ lwc1 $f0, 0x18c($s2) +/* 1A20FC 8027381C E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A2100 80273820 8E450144 */ lw $a1, 0x144($s2) +/* 1A2104 80273824 8E460148 */ lw $a2, 0x148($s2) +/* 1A2108 80273828 8E47014C */ lw $a3, 0x14c($s2) +/* 1A210C 8027382C 0C0990BC */ jal play_movement_dust_effects +/* 1A2110 80273830 24040002 */ addiu $a0, $zero, 2 +/* 1A2114 80273834 8E630074 */ lw $v1, 0x74($s3) +/* 1A2118 80273838 24020002 */ addiu $v0, $zero, 2 +.L8027383C: +/* 1A211C 8027383C 10620007 */ beq $v1, $v0, .L8027385C +/* 1A2120 80273840 24040148 */ addiu $a0, $zero, 0x148 +/* 1A2124 80273844 C640014C */ lwc1 $f0, 0x14c($s2) +/* 1A2128 80273848 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A212C 8027384C 8E460144 */ lw $a2, 0x144($s2) +/* 1A2130 80273850 8E470148 */ lw $a3, 0x148($s2) +/* 1A2134 80273854 0C052757 */ jal play_sound_at_position +/* 1A2138 80273858 0000282D */ daddu $a1, $zero, $zero +.L8027385C: +/* 1A213C 8027385C 24020001 */ addiu $v0, $zero, 1 +.L80273860: +/* 1A2140 80273860 8FBF0028 */ lw $ra, 0x28($sp) +/* 1A2144 80273864 8FB30024 */ lw $s3, 0x24($sp) +/* 1A2148 80273868 8FB20020 */ lw $s2, 0x20($sp) +/* 1A214C 8027386C 8FB1001C */ lw $s1, 0x1c($sp) +/* 1A2150 80273870 8FB00018 */ lw $s0, 0x18($sp) +/* 1A2154 80273874 D7BE0058 */ ldc1 $f30, 0x58($sp) +/* 1A2158 80273878 D7BC0050 */ ldc1 $f28, 0x50($sp) +/* 1A215C 8027387C D7BA0048 */ ldc1 $f26, 0x48($sp) +/* 1A2160 80273880 D7B80040 */ ldc1 $f24, 0x40($sp) +/* 1A2164 80273884 D7B60038 */ ldc1 $f22, 0x38($sp) +/* 1A2168 80273888 D7B40030 */ ldc1 $f20, 0x30($sp) +/* 1A216C 8027388C 03E00008 */ jr $ra +/* 1A2170 80273890 27BD0060 */ addiu $sp, $sp, 0x60 + +PlayerFallToGoal: +/* 1A2174 80273894 27BDFFA8 */ addiu $sp, $sp, -0x58 +/* 1A2178 80273898 AFB00018 */ sw $s0, 0x18($sp) +/* 1A217C 8027389C 3C10800E */ lui $s0, 0x800e +/* 1A2180 802738A0 8E10C148 */ lw $s0, -0x3eb8($s0) +/* 1A2184 802738A4 AFB20020 */ sw $s2, 0x20($sp) +/* 1A2188 802738A8 0080902D */ daddu $s2, $a0, $zero +/* 1A218C 802738AC AFBF0024 */ sw $ra, 0x24($sp) +/* 1A2190 802738B0 AFB1001C */ sw $s1, 0x1c($sp) +/* 1A2194 802738B4 F7BE0050 */ sdc1 $f30, 0x50($sp) +/* 1A2198 802738B8 F7BC0048 */ sdc1 $f28, 0x48($sp) +/* 1A219C 802738BC F7BA0040 */ sdc1 $f26, 0x40($sp) +/* 1A21A0 802738C0 F7B80038 */ sdc1 $f24, 0x38($sp) +/* 1A21A4 802738C4 F7B60030 */ sdc1 $f22, 0x30($sp) +/* 1A21A8 802738C8 F7B40028 */ sdc1 $f20, 0x28($sp) +/* 1A21AC 802738CC 8E43000C */ lw $v1, 0xc($s2) +/* 1A21B0 802738D0 10A00002 */ beqz $a1, .L802738DC +/* 1A21B4 802738D4 2611000C */ addiu $s1, $s0, 0xc +/* 1A21B8 802738D8 AE400070 */ sw $zero, 0x70($s2) +.L802738DC: +/* 1A21BC 802738DC 8E420070 */ lw $v0, 0x70($s2) +/* 1A21C0 802738E0 14400046 */ bnez $v0, .L802739FC +/* 1A21C4 802738E4 00000000 */ nop +/* 1A21C8 802738E8 8C650000 */ lw $a1, ($v1) +/* 1A21CC 802738EC 0C0B1EAF */ jal get_variable +/* 1A21D0 802738F0 0240202D */ daddu $a0, $s2, $zero +/* 1A21D4 802738F4 C6000148 */ lwc1 $f0, 0x148($s0) +/* 1A21D8 802738F8 C61A0018 */ lwc1 $f26, 0x18($s0) +/* 1A21DC 802738FC C61C0020 */ lwc1 $f28, 0x20($s0) +/* 1A21E0 80273900 C614014C */ lwc1 $f20, 0x14c($s0) +/* 1A21E4 80273904 C618001C */ lwc1 $f24, 0x1c($s0) +/* 1A21E8 80273908 A6020070 */ sh $v0, 0x70($s0) +/* 1A21EC 8027390C E6000010 */ swc1 $f0, 0x10($s0) +/* 1A21F0 80273910 46000786 */ mov.s $f30, $f0 +/* 1A21F4 80273914 4406D000 */ mfc1 $a2, $f26 +/* 1A21F8 80273918 4407E000 */ mfc1 $a3, $f28 +/* 1A21FC 8027391C C6000144 */ lwc1 $f0, 0x144($s0) +/* 1A2200 80273920 4600A386 */ mov.s $f14, $f20 +/* 1A2204 80273924 E6140014 */ swc1 $f20, 0x14($s0) +/* 1A2208 80273928 E600000C */ swc1 $f0, 0xc($s0) +/* 1A220C 8027392C 46000586 */ mov.s $f22, $f0 +/* 1A2210 80273930 0C00A720 */ jal atan2 +/* 1A2214 80273934 4600B306 */ mov.s $f12, $f22 +/* 1A2218 80273938 4600B306 */ mov.s $f12, $f22 +/* 1A221C 8027393C 4600A386 */ mov.s $f14, $f20 +/* 1A2220 80273940 4406D000 */ mfc1 $a2, $f26 +/* 1A2224 80273944 4407E000 */ mfc1 $a3, $f28 +/* 1A2228 80273948 461EC781 */ sub.s $f30, $f24, $f30 +/* 1A222C 8027394C 0C00A7B5 */ jal dist2D +/* 1A2230 80273950 E6000054 */ swc1 $f0, 0x54($s0) +/* 1A2234 80273954 86020070 */ lh $v0, 0x70($s0) +/* 1A2238 80273958 46000086 */ mov.s $f2, $f0 +/* 1A223C 8027395C 14400007 */ bnez $v0, .L8027397C +/* 1A2240 80273960 E6020058 */ swc1 $f2, 0x58($s0) +/* 1A2244 80273964 C600004C */ lwc1 $f0, 0x4c($s0) +/* 1A2248 80273968 46001003 */ div.s $f0, $f2, $f0 +/* 1A224C 8027396C 4600018D */ trunc.w.s $f6, $f0 +/* 1A2250 80273970 44023000 */ mfc1 $v0, $f6 +/* 1A2254 80273974 0809CE64 */ j func_80273990 +/* 1A2258 80273978 A6020070 */ sh $v0, 0x70($s0) + +.L8027397C: +/* 1A225C 8027397C 44820000 */ mtc1 $v0, $f0 +/* 1A2260 80273980 00000000 */ nop +/* 1A2264 80273984 46800020 */ cvt.s.w $f0, $f0 +/* 1A2268 80273988 46001003 */ div.s $f0, $f2, $f0 +/* 1A226C 8027398C E600004C */ swc1 $f0, 0x4c($s0) +func_80273990: +/* 1A2270 80273990 86230064 */ lh $v1, 0x64($s1) +/* 1A2274 80273994 3C013FE0 */ lui $at, 0x3fe0 +/* 1A2278 80273998 44810800 */ mtc1 $at, $f1 +/* 1A227C 8027399C 44800000 */ mtc1 $zero, $f0 +/* 1A2280 802739A0 00031023 */ negu $v0, $v1 +/* 1A2284 802739A4 44821000 */ mtc1 $v0, $f2 +/* 1A2288 802739A8 00000000 */ nop +/* 1A228C 802739AC 468010A1 */ cvt.d.w $f2, $f2 +/* 1A2290 802739B0 46201082 */ mul.d $f2, $f2, $f0 +/* 1A2294 802739B4 00000000 */ nop +/* 1A2298 802739B8 0000202D */ daddu $a0, $zero, $zero +/* 1A229C 802739BC AE200044 */ sw $zero, 0x44($s1) +/* 1A22A0 802739C0 C6240044 */ lwc1 $f4, 0x44($s1) +/* 1A22A4 802739C4 44830000 */ mtc1 $v1, $f0 +/* 1A22A8 802739C8 00000000 */ nop +/* 1A22AC 802739CC 46800020 */ cvt.s.w $f0, $f0 +/* 1A22B0 802739D0 4600F003 */ div.s $f0, $f30, $f0 +/* 1A22B4 802739D4 46040001 */ sub.s $f0, $f0, $f4 +/* 1A22B8 802739D8 0080282D */ daddu $a1, $a0, $zero +/* 1A22BC 802739DC 8E260058 */ lw $a2, 0x58($s1) +/* 1A22C0 802739E0 46000021 */ cvt.d.s $f0, $f0 +/* 1A22C4 802739E4 46220003 */ div.d $f0, $f0, $f2 +/* 1A22C8 802739E8 46200020 */ cvt.s.d $f0, $f0 +/* 1A22CC 802739EC 0C098F3F */ jal set_animation +/* 1A22D0 802739F0 E620003C */ swc1 $f0, 0x3c($s1) +/* 1A22D4 802739F4 24020001 */ addiu $v0, $zero, 1 +/* 1A22D8 802739F8 AE420070 */ sw $v0, 0x70($s2) +.L802739FC: +/* 1A22DC 802739FC C6220044 */ lwc1 $f2, 0x44($s1) +/* 1A22E0 80273A00 44800000 */ mtc1 $zero, $f0 +/* 1A22E4 80273A04 00000000 */ nop +/* 1A22E8 80273A08 4600103C */ c.lt.s $f2, $f0 +/* 1A22EC 80273A0C 00000000 */ nop +/* 1A22F0 80273A10 45000004 */ bc1f .L80273A24 +/* 1A22F4 80273A14 0000202D */ daddu $a0, $zero, $zero +/* 1A22F8 80273A18 8E26005C */ lw $a2, 0x5c($s1) +/* 1A22FC 80273A1C 0C098F3F */ jal set_animation +/* 1A2300 80273A20 0080282D */ daddu $a1, $a0, $zero +.L80273A24: +/* 1A2304 80273A24 C6240004 */ lwc1 $f4, 4($s1) +/* 1A2308 80273A28 C6200044 */ lwc1 $f0, 0x44($s1) +/* 1A230C 80273A2C 8E250040 */ lw $a1, 0x40($s1) +/* 1A2310 80273A30 46002100 */ add.s $f4, $f4, $f0 +/* 1A2314 80273A34 C622003C */ lwc1 $f2, 0x3c($s1) +/* 1A2318 80273A38 8E260048 */ lw $a2, 0x48($s1) +/* 1A231C 80273A3C 46020001 */ sub.s $f0, $f0, $f2 +/* 1A2320 80273A40 0220202D */ daddu $a0, $s1, $zero +/* 1A2324 80273A44 E6240004 */ swc1 $f4, 4($s1) +/* 1A2328 80273A48 0C09904A */ jal add_xz_vec3f +/* 1A232C 80273A4C E6200044 */ swc1 $f0, 0x44($s1) +/* 1A2330 80273A50 C6200000 */ lwc1 $f0, ($s1) +/* 1A2334 80273A54 E6000144 */ swc1 $f0, 0x144($s0) +/* 1A2338 80273A58 C6200004 */ lwc1 $f0, 4($s1) +/* 1A233C 80273A5C E6000148 */ swc1 $f0, 0x148($s0) +/* 1A2340 80273A60 C6200008 */ lwc1 $f0, 8($s1) +/* 1A2344 80273A64 E600014C */ swc1 $f0, 0x14c($s0) +/* 1A2348 80273A68 96220064 */ lhu $v0, 0x64($s1) +/* 1A234C 80273A6C 2442FFFF */ addiu $v0, $v0, -1 +/* 1A2350 80273A70 A6220064 */ sh $v0, 0x64($s1) +/* 1A2354 80273A74 00021400 */ sll $v0, $v0, 0x10 +/* 1A2358 80273A78 04410016 */ bgez $v0, .L80273AD4 +/* 1A235C 80273A7C 0000102D */ daddu $v0, $zero, $zero +/* 1A2360 80273A80 C620000C */ lwc1 $f0, 0xc($s1) +/* 1A2364 80273A84 C602018C */ lwc1 $f2, 0x18c($s0) +/* 1A2368 80273A88 E6000144 */ swc1 $f0, 0x144($s0) +/* 1A236C 80273A8C C6200010 */ lwc1 $f0, 0x10($s1) +/* 1A2370 80273A90 E6000148 */ swc1 $f0, 0x148($s0) +/* 1A2374 80273A94 C6200014 */ lwc1 $f0, 0x14($s1) +/* 1A2378 80273A98 E600014C */ swc1 $f0, 0x14c($s0) +/* 1A237C 80273A9C E7A20010 */ swc1 $f2, 0x10($sp) +/* 1A2380 80273AA0 8E050144 */ lw $a1, 0x144($s0) +/* 1A2384 80273AA4 8E060148 */ lw $a2, 0x148($s0) +/* 1A2388 80273AA8 8E07014C */ lw $a3, 0x14c($s0) +/* 1A238C 80273AAC 0C0990BC */ jal play_movement_dust_effects +/* 1A2390 80273AB0 24040002 */ addiu $a0, $zero, 2 +/* 1A2394 80273AB4 C600014C */ lwc1 $f0, 0x14c($s0) +/* 1A2398 80273AB8 24040148 */ addiu $a0, $zero, 0x148 +/* 1A239C 80273ABC E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A23A0 80273AC0 8E060144 */ lw $a2, 0x144($s0) +/* 1A23A4 80273AC4 8E070148 */ lw $a3, 0x148($s0) +/* 1A23A8 80273AC8 0C052757 */ jal play_sound_at_position +/* 1A23AC 80273ACC 0000282D */ daddu $a1, $zero, $zero +/* 1A23B0 80273AD0 24020001 */ addiu $v0, $zero, 1 +.L80273AD4: +/* 1A23B4 80273AD4 8FBF0024 */ lw $ra, 0x24($sp) +/* 1A23B8 80273AD8 8FB20020 */ lw $s2, 0x20($sp) +/* 1A23BC 80273ADC 8FB1001C */ lw $s1, 0x1c($sp) +/* 1A23C0 80273AE0 8FB00018 */ lw $s0, 0x18($sp) +/* 1A23C4 80273AE4 D7BE0050 */ ldc1 $f30, 0x50($sp) +/* 1A23C8 80273AE8 D7BC0048 */ ldc1 $f28, 0x48($sp) +/* 1A23CC 80273AEC D7BA0040 */ ldc1 $f26, 0x40($sp) +/* 1A23D0 80273AF0 D7B80038 */ ldc1 $f24, 0x38($sp) +/* 1A23D4 80273AF4 D7B60030 */ ldc1 $f22, 0x30($sp) +/* 1A23D8 80273AF8 D7B40028 */ ldc1 $f20, 0x28($sp) +/* 1A23DC 80273AFC 03E00008 */ jr $ra +/* 1A23E0 80273B00 27BD0058 */ addiu $sp, $sp, 0x58 + +PlayerLandJump: +/* 1A23E4 80273B04 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 1A23E8 80273B08 AFB00018 */ sw $s0, 0x18($sp) +/* 1A23EC 80273B0C 3C10800E */ lui $s0, 0x800e +/* 1A23F0 80273B10 8E10C148 */ lw $s0, -0x3eb8($s0) +/* 1A23F4 80273B14 AFBF0020 */ sw $ra, 0x20($sp) +/* 1A23F8 80273B18 AFB1001C */ sw $s1, 0x1c($sp) +/* 1A23FC 80273B1C 10A00002 */ beqz $a1, .L80273B28 +/* 1A2400 80273B20 2611000C */ addiu $s1, $s0, 0xc +/* 1A2404 80273B24 AC800070 */ sw $zero, 0x70($a0) +.L80273B28: +/* 1A2408 80273B28 8C820070 */ lw $v0, 0x70($a0) +/* 1A240C 80273B2C 14400008 */ bnez $v0, .L80273B50 +/* 1A2410 80273B30 24020001 */ addiu $v0, $zero, 1 +/* 1A2414 80273B34 C6000144 */ lwc1 $f0, 0x144($s0) +/* 1A2418 80273B38 C6020148 */ lwc1 $f2, 0x148($s0) +/* 1A241C 80273B3C C604014C */ lwc1 $f4, 0x14c($s0) +/* 1A2420 80273B40 E600000C */ swc1 $f0, 0xc($s0) +/* 1A2424 80273B44 E6020010 */ swc1 $f2, 0x10($s0) +/* 1A2428 80273B48 E6040014 */ swc1 $f4, 0x14($s0) +/* 1A242C 80273B4C AC820070 */ sw $v0, 0x70($a0) +.L80273B50: +/* 1A2430 80273B50 C6020050 */ lwc1 $f2, 0x50($s0) +/* 1A2434 80273B54 44800000 */ mtc1 $zero, $f0 +/* 1A2438 80273B58 00000000 */ nop +/* 1A243C 80273B5C 4602003C */ c.lt.s $f0, $f2 +/* 1A2440 80273B60 00000000 */ nop +/* 1A2444 80273B64 45000006 */ bc1f .L80273B80 +/* 1A2448 80273B68 00000000 */ nop +/* 1A244C 80273B6C 8E060064 */ lw $a2, 0x64($s0) +/* 1A2450 80273B70 10C00003 */ beqz $a2, .L80273B80 +/* 1A2454 80273B74 0000202D */ daddu $a0, $zero, $zero +/* 1A2458 80273B78 0C098F3F */ jal set_animation +/* 1A245C 80273B7C 0080282D */ daddu $a1, $a0, $zero +.L80273B80: +/* 1A2460 80273B80 C6220044 */ lwc1 $f2, 0x44($s1) +/* 1A2464 80273B84 44800000 */ mtc1 $zero, $f0 +/* 1A2468 80273B88 00000000 */ nop +/* 1A246C 80273B8C 4600103C */ c.lt.s $f2, $f0 +/* 1A2470 80273B90 00000000 */ nop +/* 1A2474 80273B94 45000006 */ bc1f .L80273BB0 +/* 1A2478 80273B98 00000000 */ nop +/* 1A247C 80273B9C 8E26005C */ lw $a2, 0x5c($s1) +/* 1A2480 80273BA0 10C00003 */ beqz $a2, .L80273BB0 +/* 1A2484 80273BA4 0000202D */ daddu $a0, $zero, $zero +/* 1A2488 80273BA8 0C098F3F */ jal set_animation +/* 1A248C 80273BAC 0080282D */ daddu $a1, $a0, $zero +.L80273BB0: +/* 1A2490 80273BB0 C6240004 */ lwc1 $f4, 4($s1) +/* 1A2494 80273BB4 C6200044 */ lwc1 $f0, 0x44($s1) +/* 1A2498 80273BB8 8E250040 */ lw $a1, 0x40($s1) +/* 1A249C 80273BBC 46002100 */ add.s $f4, $f4, $f0 +/* 1A24A0 80273BC0 C622003C */ lwc1 $f2, 0x3c($s1) +/* 1A24A4 80273BC4 8E260048 */ lw $a2, 0x48($s1) +/* 1A24A8 80273BC8 46020001 */ sub.s $f0, $f0, $f2 +/* 1A24AC 80273BCC 0220202D */ daddu $a0, $s1, $zero +/* 1A24B0 80273BD0 E6240004 */ swc1 $f4, 4($s1) +/* 1A24B4 80273BD4 0C09904A */ jal add_xz_vec3f +/* 1A24B8 80273BD8 E6200044 */ swc1 $f0, 0x44($s1) +/* 1A24BC 80273BDC C6200000 */ lwc1 $f0, ($s1) +/* 1A24C0 80273BE0 44802000 */ mtc1 $zero, $f4 +/* 1A24C4 80273BE4 E6000144 */ swc1 $f0, 0x144($s0) +/* 1A24C8 80273BE8 C6200004 */ lwc1 $f0, 4($s1) +/* 1A24CC 80273BEC E6000148 */ swc1 $f0, 0x148($s0) +/* 1A24D0 80273BF0 46000086 */ mov.s $f2, $f0 +/* 1A24D4 80273BF4 C6200008 */ lwc1 $f0, 8($s1) +/* 1A24D8 80273BF8 4604103C */ c.lt.s $f2, $f4 +/* 1A24DC 80273BFC 00000000 */ nop +/* 1A24E0 80273C00 45010003 */ bc1t .L80273C10 +/* 1A24E4 80273C04 E600014C */ swc1 $f0, 0x14c($s0) +/* 1A24E8 80273C08 0809CF14 */ j func_80273C50 +/* 1A24EC 80273C0C 0000102D */ daddu $v0, $zero, $zero + +.L80273C10: +/* 1A24F0 80273C10 C600018C */ lwc1 $f0, 0x18c($s0) +/* 1A24F4 80273C14 E6040148 */ swc1 $f4, 0x148($s0) +/* 1A24F8 80273C18 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A24FC 80273C1C 8E050144 */ lw $a1, 0x144($s0) +/* 1A2500 80273C20 8E060148 */ lw $a2, 0x148($s0) +/* 1A2504 80273C24 8E07014C */ lw $a3, 0x14c($s0) +/* 1A2508 80273C28 0C0990BC */ jal play_movement_dust_effects +/* 1A250C 80273C2C 24040002 */ addiu $a0, $zero, 2 +/* 1A2510 80273C30 C600014C */ lwc1 $f0, 0x14c($s0) +/* 1A2514 80273C34 24040148 */ addiu $a0, $zero, 0x148 +/* 1A2518 80273C38 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A251C 80273C3C 8E060144 */ lw $a2, 0x144($s0) +/* 1A2520 80273C40 8E070148 */ lw $a3, 0x148($s0) +/* 1A2524 80273C44 0C052757 */ jal play_sound_at_position +/* 1A2528 80273C48 0000282D */ daddu $a1, $zero, $zero +/* 1A252C 80273C4C 24020001 */ addiu $v0, $zero, 1 +func_80273C50: +/* 1A2530 80273C50 8FBF0020 */ lw $ra, 0x20($sp) +/* 1A2534 80273C54 8FB1001C */ lw $s1, 0x1c($sp) +/* 1A2538 80273C58 8FB00018 */ lw $s0, 0x18($sp) +/* 1A253C 80273C5C 03E00008 */ jr $ra +/* 1A2540 80273C60 27BD0028 */ addiu $sp, $sp, 0x28 + +PlayerRunToGoal: +/* 1A2544 80273C64 27BDFFB8 */ addiu $sp, $sp, -0x48 +/* 1A2548 80273C68 AFB00018 */ sw $s0, 0x18($sp) +/* 1A254C 80273C6C 3C10800E */ lui $s0, 0x800e +/* 1A2550 80273C70 8E10C148 */ lw $s0, -0x3eb8($s0) +/* 1A2554 80273C74 AFB20020 */ sw $s2, 0x20($sp) +/* 1A2558 80273C78 0080902D */ daddu $s2, $a0, $zero +/* 1A255C 80273C7C AFBF0024 */ sw $ra, 0x24($sp) +/* 1A2560 80273C80 AFB1001C */ sw $s1, 0x1c($sp) +/* 1A2564 80273C84 F7BA0040 */ sdc1 $f26, 0x40($sp) +/* 1A2568 80273C88 F7B80038 */ sdc1 $f24, 0x38($sp) +/* 1A256C 80273C8C F7B60030 */ sdc1 $f22, 0x30($sp) +/* 1A2570 80273C90 F7B40028 */ sdc1 $f20, 0x28($sp) +/* 1A2574 80273C94 8E43000C */ lw $v1, 0xc($s2) +/* 1A2578 80273C98 10A00002 */ beqz $a1, .L80273CA4 +/* 1A257C 80273C9C 2611000C */ addiu $s1, $s0, 0xc +/* 1A2580 80273CA0 AE400070 */ sw $zero, 0x70($s2) +.L80273CA4: +/* 1A2584 80273CA4 8E420070 */ lw $v0, 0x70($s2) +/* 1A2588 80273CA8 14400041 */ bnez $v0, .L80273DB0 +/* 1A258C 80273CAC 00000000 */ nop +/* 1A2590 80273CB0 8C650000 */ lw $a1, ($v1) +/* 1A2594 80273CB4 0C0B1EAF */ jal get_variable +/* 1A2598 80273CB8 0240202D */ daddu $a0, $s2, $zero +/* 1A259C 80273CBC C6180018 */ lwc1 $f24, 0x18($s0) +/* 1A25A0 80273CC0 C61A0020 */ lwc1 $f26, 0x20($s0) +/* 1A25A4 80273CC4 C6000144 */ lwc1 $f0, 0x144($s0) +/* 1A25A8 80273CC8 C614014C */ lwc1 $f20, 0x14c($s0) +/* 1A25AC 80273CCC 4406C000 */ mfc1 $a2, $f24 +/* 1A25B0 80273CD0 4407D000 */ mfc1 $a3, $f26 +/* 1A25B4 80273CD4 A6020070 */ sh $v0, 0x70($s0) +/* 1A25B8 80273CD8 E600000C */ swc1 $f0, 0xc($s0) +/* 1A25BC 80273CDC C6000148 */ lwc1 $f0, 0x148($s0) +/* 1A25C0 80273CE0 C616000C */ lwc1 $f22, 0xc($s0) +/* 1A25C4 80273CE4 4600A386 */ mov.s $f14, $f20 +/* 1A25C8 80273CE8 E6140014 */ swc1 $f20, 0x14($s0) +/* 1A25CC 80273CEC 4600B306 */ mov.s $f12, $f22 +/* 1A25D0 80273CF0 0C00A720 */ jal atan2 +/* 1A25D4 80273CF4 E6000010 */ swc1 $f0, 0x10($s0) +/* 1A25D8 80273CF8 4600B306 */ mov.s $f12, $f22 +/* 1A25DC 80273CFC 4406C000 */ mfc1 $a2, $f24 +/* 1A25E0 80273D00 4407D000 */ mfc1 $a3, $f26 +/* 1A25E4 80273D04 4600A386 */ mov.s $f14, $f20 +/* 1A25E8 80273D08 0C00A7B5 */ jal dist2D +/* 1A25EC 80273D0C E6000054 */ swc1 $f0, 0x54($s0) +/* 1A25F0 80273D10 86020070 */ lh $v0, 0x70($s0) +/* 1A25F4 80273D14 46000086 */ mov.s $f2, $f0 +/* 1A25F8 80273D18 14400018 */ bnez $v0, .L80273D7C +/* 1A25FC 80273D1C E6020058 */ swc1 $f2, 0x58($s0) +/* 1A2600 80273D20 C600004C */ lwc1 $f0, 0x4c($s0) +/* 1A2604 80273D24 46001003 */ div.s $f0, $f2, $f0 +/* 1A2608 80273D28 4600020D */ trunc.w.s $f8, $f0 +/* 1A260C 80273D2C 44024000 */ mfc1 $v0, $f8 +/* 1A2610 80273D30 00000000 */ nop +/* 1A2614 80273D34 A6020070 */ sh $v0, 0x70($s0) +/* 1A2618 80273D38 00021400 */ sll $v0, $v0, 0x10 +/* 1A261C 80273D3C 14400002 */ bnez $v0, .L80273D48 +/* 1A2620 80273D40 24020001 */ addiu $v0, $zero, 1 +/* 1A2624 80273D44 A6020070 */ sh $v0, 0x70($s0) +.L80273D48: +/* 1A2628 80273D48 86020070 */ lh $v0, 0x70($s0) +/* 1A262C 80273D4C C602004C */ lwc1 $f2, 0x4c($s0) +/* 1A2630 80273D50 44823000 */ mtc1 $v0, $f6 +/* 1A2634 80273D54 00000000 */ nop +/* 1A2638 80273D58 468031A0 */ cvt.s.w $f6, $f6 +/* 1A263C 80273D5C 46023102 */ mul.s $f4, $f6, $f2 +/* 1A2640 80273D60 00000000 */ nop +/* 1A2644 80273D64 C6000058 */ lwc1 $f0, 0x58($s0) +/* 1A2648 80273D68 46040001 */ sub.s $f0, $f0, $f4 +/* 1A264C 80273D6C 46060003 */ div.s $f0, $f0, $f6 +/* 1A2650 80273D70 46001080 */ add.s $f2, $f2, $f0 +/* 1A2654 80273D74 0809CF64 */ j func_80273D90 +/* 1A2658 80273D78 E602004C */ swc1 $f2, 0x4c($s0) + +.L80273D7C: +/* 1A265C 80273D7C 44820000 */ mtc1 $v0, $f0 +/* 1A2660 80273D80 00000000 */ nop +/* 1A2664 80273D84 46800020 */ cvt.s.w $f0, $f0 +/* 1A2668 80273D88 46001003 */ div.s $f0, $f2, $f0 +/* 1A266C 80273D8C E600004C */ swc1 $f0, 0x4c($s0) +func_80273D90: +/* 1A2670 80273D90 860201B4 */ lh $v0, 0x1b4($s0) +/* 1A2674 80273D94 24420001 */ addiu $v0, $v0, 1 +/* 1A2678 80273D98 44820000 */ mtc1 $v0, $f0 +/* 1A267C 80273D9C 00000000 */ nop +/* 1A2680 80273DA0 46800020 */ cvt.s.w $f0, $f0 +/* 1A2684 80273DA4 24020001 */ addiu $v0, $zero, 1 +/* 1A2688 80273DA8 E620004C */ swc1 $f0, 0x4c($s1) +/* 1A268C 80273DAC AE420070 */ sw $v0, 0x70($s2) +.L80273DB0: +/* 1A2690 80273DB0 8E250040 */ lw $a1, 0x40($s1) +/* 1A2694 80273DB4 8E260048 */ lw $a2, 0x48($s1) +/* 1A2698 80273DB8 0C09904A */ jal add_xz_vec3f +/* 1A269C 80273DBC 0220202D */ daddu $a0, $s1, $zero +/* 1A26A0 80273DC0 C6200000 */ lwc1 $f0, ($s1) +/* 1A26A4 80273DC4 E6000144 */ swc1 $f0, 0x144($s0) +/* 1A26A8 80273DC8 C6200004 */ lwc1 $f0, 4($s1) +/* 1A26AC 80273DCC E6000148 */ swc1 $f0, 0x148($s0) +/* 1A26B0 80273DD0 C6200008 */ lwc1 $f0, 8($s1) +/* 1A26B4 80273DD4 E600014C */ swc1 $f0, 0x14c($s0) +/* 1A26B8 80273DD8 C6220040 */ lwc1 $f2, 0x40($s1) +/* 1A26BC 80273DDC 3C014080 */ lui $at, 0x4080 +/* 1A26C0 80273DE0 44810000 */ mtc1 $at, $f0 +/* 1A26C4 80273DE4 00000000 */ nop +/* 1A26C8 80273DE8 4600103C */ c.lt.s $f2, $f0 +/* 1A26CC 80273DEC 00000000 */ nop +/* 1A26D0 80273DF0 45000007 */ bc1f .L80273E10 +/* 1A26D4 80273DF4 0000202D */ daddu $a0, $zero, $zero +/* 1A26D8 80273DF8 C600018C */ lwc1 $f0, 0x18c($s0) +/* 1A26DC 80273DFC E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A26E0 80273E00 8E050144 */ lw $a1, 0x144($s0) +/* 1A26E4 80273E04 8E060148 */ lw $a2, 0x148($s0) +/* 1A26E8 80273E08 0809CF8A */ j func_80273E28 +/* 1A26EC 80273E0C 8E07014C */ lw $a3, 0x14c($s0) + +.L80273E10: +/* 1A26F0 80273E10 C600018C */ lwc1 $f0, 0x18c($s0) +/* 1A26F4 80273E14 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A26F8 80273E18 8E050144 */ lw $a1, 0x144($s0) +/* 1A26FC 80273E1C 8E060148 */ lw $a2, 0x148($s0) +/* 1A2700 80273E20 8E07014C */ lw $a3, 0x14c($s0) +/* 1A2704 80273E24 24040001 */ addiu $a0, $zero, 1 +func_80273E28: +/* 1A2708 80273E28 0C0990BC */ jal play_movement_dust_effects +/* 1A270C 80273E2C 00000000 */ nop +/* 1A2710 80273E30 C622004C */ lwc1 $f2, 0x4c($s1) +/* 1A2714 80273E34 C6200040 */ lwc1 $f0, 0x40($s1) +/* 1A2718 80273E38 46001080 */ add.s $f2, $f2, $f0 +/* 1A271C 80273E3C E622004C */ swc1 $f2, 0x4c($s1) +/* 1A2720 80273E40 860201B4 */ lh $v0, 0x1b4($s0) +/* 1A2724 80273E44 44820000 */ mtc1 $v0, $f0 +/* 1A2728 80273E48 00000000 */ nop +/* 1A272C 80273E4C 46800020 */ cvt.s.w $f0, $f0 +/* 1A2730 80273E50 4602003C */ c.lt.s $f0, $f2 +/* 1A2734 80273E54 00000000 */ nop +/* 1A2738 80273E58 45000013 */ bc1f .L80273EA8 +/* 1A273C 80273E5C 00000000 */ nop +/* 1A2740 80273E60 92020135 */ lbu $v0, 0x135($s0) +/* 1A2744 80273E64 24420001 */ addiu $v0, $v0, 1 +/* 1A2748 80273E68 A2020135 */ sb $v0, 0x135($s0) +/* 1A274C 80273E6C AE20004C */ sw $zero, 0x4c($s1) +/* 1A2750 80273E70 92020135 */ lbu $v0, 0x135($s0) +/* 1A2754 80273E74 30420001 */ andi $v0, $v0, 1 +/* 1A2758 80273E78 10400004 */ beqz $v0, .L80273E8C +/* 1A275C 80273E7C 24040141 */ addiu $a0, $zero, 0x141 +/* 1A2760 80273E80 C600014C */ lwc1 $f0, 0x14c($s0) +/* 1A2764 80273E84 0809CFA6 */ j func_80273E98 +/* 1A2768 80273E88 E7A00010 */ swc1 $f0, 0x10($sp) + +.L80273E8C: +/* 1A276C 80273E8C C600014C */ lwc1 $f0, 0x14c($s0) +/* 1A2770 80273E90 24040142 */ addiu $a0, $zero, 0x142 +/* 1A2774 80273E94 E7A00010 */ swc1 $f0, 0x10($sp) +func_80273E98: +/* 1A2778 80273E98 8E060144 */ lw $a2, 0x144($s0) +/* 1A277C 80273E9C 8E070148 */ lw $a3, 0x148($s0) +/* 1A2780 80273EA0 0C052757 */ jal play_sound_at_position +/* 1A2784 80273EA4 0000282D */ daddu $a1, $zero, $zero +.L80273EA8: +/* 1A2788 80273EA8 96220064 */ lhu $v0, 0x64($s1) +/* 1A278C 80273EAC 2442FFFF */ addiu $v0, $v0, -1 +/* 1A2790 80273EB0 A6220064 */ sh $v0, 0x64($s1) +/* 1A2794 80273EB4 00021400 */ sll $v0, $v0, 0x10 +/* 1A2798 80273EB8 1C400006 */ bgtz $v0, .L80273ED4 +/* 1A279C 80273EBC 0000102D */ daddu $v0, $zero, $zero +/* 1A27A0 80273EC0 C620000C */ lwc1 $f0, 0xc($s1) +/* 1A27A4 80273EC4 E6000144 */ swc1 $f0, 0x144($s0) +/* 1A27A8 80273EC8 C6200014 */ lwc1 $f0, 0x14($s1) +/* 1A27AC 80273ECC 24020002 */ addiu $v0, $zero, 2 +/* 1A27B0 80273ED0 E600014C */ swc1 $f0, 0x14c($s0) +.L80273ED4: +/* 1A27B4 80273ED4 8FBF0024 */ lw $ra, 0x24($sp) +/* 1A27B8 80273ED8 8FB20020 */ lw $s2, 0x20($sp) +/* 1A27BC 80273EDC 8FB1001C */ lw $s1, 0x1c($sp) +/* 1A27C0 80273EE0 8FB00018 */ lw $s0, 0x18($sp) +/* 1A27C4 80273EE4 D7BA0040 */ ldc1 $f26, 0x40($sp) +/* 1A27C8 80273EE8 D7B80038 */ ldc1 $f24, 0x38($sp) +/* 1A27CC 80273EEC D7B60030 */ ldc1 $f22, 0x30($sp) +/* 1A27D0 80273EF0 D7B40028 */ ldc1 $f20, 0x28($sp) +/* 1A27D4 80273EF4 03E00008 */ jr $ra +/* 1A27D8 80273EF8 27BD0048 */ addiu $sp, $sp, 0x48 + +CancelablePlayerRunToGoal: +/* 1A27DC 80273EFC 27BDFFB0 */ addiu $sp, $sp, -0x50 +/* 1A27E0 80273F00 AFB30024 */ sw $s3, 0x24($sp) +/* 1A27E4 80273F04 0080982D */ daddu $s3, $a0, $zero +/* 1A27E8 80273F08 AFB40028 */ sw $s4, 0x28($sp) +/* 1A27EC 80273F0C 3C14800E */ lui $s4, 0x800e +/* 1A27F0 80273F10 2694C070 */ addiu $s4, $s4, -0x3f90 +/* 1A27F4 80273F14 AFBF002C */ sw $ra, 0x2c($sp) +/* 1A27F8 80273F18 AFB20020 */ sw $s2, 0x20($sp) +/* 1A27FC 80273F1C AFB1001C */ sw $s1, 0x1c($sp) +/* 1A2800 80273F20 AFB00018 */ sw $s0, 0x18($sp) +/* 1A2804 80273F24 F7BA0048 */ sdc1 $f26, 0x48($sp) +/* 1A2808 80273F28 F7B80040 */ sdc1 $f24, 0x40($sp) +/* 1A280C 80273F2C F7B60038 */ sdc1 $f22, 0x38($sp) +/* 1A2810 80273F30 F7B40030 */ sdc1 $f20, 0x30($sp) +/* 1A2814 80273F34 8E9000D8 */ lw $s0, 0xd8($s4) +/* 1A2818 80273F38 8E71000C */ lw $s1, 0xc($s3) +/* 1A281C 80273F3C 10A00002 */ beqz $a1, .L80273F48 +/* 1A2820 80273F40 2612000C */ addiu $s2, $s0, 0xc +/* 1A2824 80273F44 AE600070 */ sw $zero, 0x70($s3) +.L80273F48: +/* 1A2828 80273F48 8E620070 */ lw $v0, 0x70($s3) +/* 1A282C 80273F4C 14400046 */ bnez $v0, .L80274068 +/* 1A2830 80273F50 00000000 */ nop +/* 1A2834 80273F54 8E250000 */ lw $a1, ($s1) +/* 1A2838 80273F58 26310004 */ addiu $s1, $s1, 4 +/* 1A283C 80273F5C 0C0B1EAF */ jal get_variable +/* 1A2840 80273F60 0260202D */ daddu $a0, $s3, $zero +/* 1A2844 80273F64 A6020070 */ sh $v0, 0x70($s0) +/* 1A2848 80273F68 8E220000 */ lw $v0, ($s1) +/* 1A284C 80273F6C AE620074 */ sw $v0, 0x74($s3) +/* 1A2850 80273F70 C6180018 */ lwc1 $f24, 0x18($s0) +/* 1A2854 80273F74 C61A0020 */ lwc1 $f26, 0x20($s0) +/* 1A2858 80273F78 C6000144 */ lwc1 $f0, 0x144($s0) +/* 1A285C 80273F7C C614014C */ lwc1 $f20, 0x14c($s0) +/* 1A2860 80273F80 4406C000 */ mfc1 $a2, $f24 +/* 1A2864 80273F84 4407D000 */ mfc1 $a3, $f26 +/* 1A2868 80273F88 E600000C */ swc1 $f0, 0xc($s0) +/* 1A286C 80273F8C C6000148 */ lwc1 $f0, 0x148($s0) +/* 1A2870 80273F90 C616000C */ lwc1 $f22, 0xc($s0) +/* 1A2874 80273F94 4600A386 */ mov.s $f14, $f20 +/* 1A2878 80273F98 E6140014 */ swc1 $f20, 0x14($s0) +/* 1A287C 80273F9C 4600B306 */ mov.s $f12, $f22 +/* 1A2880 80273FA0 0C00A720 */ jal atan2 +/* 1A2884 80273FA4 E6000010 */ swc1 $f0, 0x10($s0) +/* 1A2888 80273FA8 4600B306 */ mov.s $f12, $f22 +/* 1A288C 80273FAC 4406C000 */ mfc1 $a2, $f24 +/* 1A2890 80273FB0 4407D000 */ mfc1 $a3, $f26 +/* 1A2894 80273FB4 4600A386 */ mov.s $f14, $f20 +/* 1A2898 80273FB8 0C00A7B5 */ jal dist2D +/* 1A289C 80273FBC E6000054 */ swc1 $f0, 0x54($s0) +/* 1A28A0 80273FC0 86020070 */ lh $v0, 0x70($s0) +/* 1A28A4 80273FC4 46000086 */ mov.s $f2, $f0 +/* 1A28A8 80273FC8 14400015 */ bnez $v0, .L80274020 +/* 1A28AC 80273FCC E6020058 */ swc1 $f2, 0x58($s0) +/* 1A28B0 80273FD0 C600004C */ lwc1 $f0, 0x4c($s0) +/* 1A28B4 80273FD4 46001003 */ div.s $f0, $f2, $f0 +/* 1A28B8 80273FD8 4600020D */ trunc.w.s $f8, $f0 +/* 1A28BC 80273FDC 44034000 */ mfc1 $v1, $f8 +/* 1A28C0 80273FE0 00000000 */ nop +/* 1A28C4 80273FE4 00031400 */ sll $v0, $v1, 0x10 +/* 1A28C8 80273FE8 00021403 */ sra $v0, $v0, 0x10 +/* 1A28CC 80273FEC C602004C */ lwc1 $f2, 0x4c($s0) +/* 1A28D0 80273FF0 44823000 */ mtc1 $v0, $f6 +/* 1A28D4 80273FF4 00000000 */ nop +/* 1A28D8 80273FF8 468031A0 */ cvt.s.w $f6, $f6 +/* 1A28DC 80273FFC 46023102 */ mul.s $f4, $f6, $f2 +/* 1A28E0 80274000 00000000 */ nop +/* 1A28E4 80274004 C6000058 */ lwc1 $f0, 0x58($s0) +/* 1A28E8 80274008 46040001 */ sub.s $f0, $f0, $f4 +/* 1A28EC 8027400C 46060003 */ div.s $f0, $f0, $f6 +/* 1A28F0 80274010 46001080 */ add.s $f2, $f2, $f0 +/* 1A28F4 80274014 A6030070 */ sh $v1, 0x70($s0) +/* 1A28F8 80274018 0809D00D */ j func_80274034 +/* 1A28FC 8027401C E602004C */ swc1 $f2, 0x4c($s0) + +.L80274020: +/* 1A2900 80274020 44820000 */ mtc1 $v0, $f0 +/* 1A2904 80274024 00000000 */ nop +/* 1A2908 80274028 46800020 */ cvt.s.w $f0, $f0 +/* 1A290C 8027402C 46001003 */ div.s $f0, $f2, $f0 +/* 1A2910 80274030 E600004C */ swc1 $f0, 0x4c($s0) +func_80274034: +/* 1A2914 80274034 860201B4 */ lh $v0, 0x1b4($s0) +/* 1A2918 80274038 86430064 */ lh $v1, 0x64($s2) +/* 1A291C 8027403C 24420001 */ addiu $v0, $v0, 1 +/* 1A2920 80274040 44820000 */ mtc1 $v0, $f0 +/* 1A2924 80274044 00000000 */ nop +/* 1A2928 80274048 46800020 */ cvt.s.w $f0, $f0 +/* 1A292C 8027404C E640004C */ swc1 $f0, 0x4c($s2) +/* 1A2930 80274050 1060006C */ beqz $v1, .L80274204 +/* 1A2934 80274054 24020002 */ addiu $v0, $zero, 2 +/* 1A2938 80274058 24020001 */ addiu $v0, $zero, 1 +/* 1A293C 8027405C AE600078 */ sw $zero, 0x78($s3) +/* 1A2940 80274060 AE60007C */ sw $zero, 0x7c($s3) +/* 1A2944 80274064 AE620070 */ sw $v0, 0x70($s3) +.L80274068: +/* 1A2948 80274068 8E450040 */ lw $a1, 0x40($s2) +/* 1A294C 8027406C 8E460048 */ lw $a2, 0x48($s2) +/* 1A2950 80274070 0C09904A */ jal add_xz_vec3f +/* 1A2954 80274074 0240202D */ daddu $a0, $s2, $zero +/* 1A2958 80274078 C6400000 */ lwc1 $f0, ($s2) +/* 1A295C 8027407C E6000144 */ swc1 $f0, 0x144($s0) +/* 1A2960 80274080 C6400004 */ lwc1 $f0, 4($s2) +/* 1A2964 80274084 E6000148 */ swc1 $f0, 0x148($s0) +/* 1A2968 80274088 C6400008 */ lwc1 $f0, 8($s2) +/* 1A296C 8027408C E600014C */ swc1 $f0, 0x14c($s0) +/* 1A2970 80274090 C6420040 */ lwc1 $f2, 0x40($s2) +/* 1A2974 80274094 3C014080 */ lui $at, 0x4080 +/* 1A2978 80274098 44810000 */ mtc1 $at, $f0 +/* 1A297C 8027409C 00000000 */ nop +/* 1A2980 802740A0 4600103C */ c.lt.s $f2, $f0 +/* 1A2984 802740A4 00000000 */ nop +/* 1A2988 802740A8 45000007 */ bc1f .L802740C8 +/* 1A298C 802740AC 0000202D */ daddu $a0, $zero, $zero +/* 1A2990 802740B0 C600018C */ lwc1 $f0, 0x18c($s0) +/* 1A2994 802740B4 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A2998 802740B8 8E050144 */ lw $a1, 0x144($s0) +/* 1A299C 802740BC 8E060148 */ lw $a2, 0x148($s0) +/* 1A29A0 802740C0 0809D038 */ j func_802740E0 +/* 1A29A4 802740C4 8E07014C */ lw $a3, 0x14c($s0) + +.L802740C8: +/* 1A29A8 802740C8 C600018C */ lwc1 $f0, 0x18c($s0) +/* 1A29AC 802740CC E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A29B0 802740D0 8E050144 */ lw $a1, 0x144($s0) +/* 1A29B4 802740D4 8E060148 */ lw $a2, 0x148($s0) +/* 1A29B8 802740D8 8E07014C */ lw $a3, 0x14c($s0) +/* 1A29BC 802740DC 24040001 */ addiu $a0, $zero, 1 +func_802740E0: +/* 1A29C0 802740E0 0C0990BC */ jal play_movement_dust_effects +/* 1A29C4 802740E4 00000000 */ nop +/* 1A29C8 802740E8 C642004C */ lwc1 $f2, 0x4c($s2) +/* 1A29CC 802740EC C6400040 */ lwc1 $f0, 0x40($s2) +/* 1A29D0 802740F0 46001080 */ add.s $f2, $f2, $f0 +/* 1A29D4 802740F4 E642004C */ swc1 $f2, 0x4c($s2) +/* 1A29D8 802740F8 860201B4 */ lh $v0, 0x1b4($s0) +/* 1A29DC 802740FC 44820000 */ mtc1 $v0, $f0 +/* 1A29E0 80274100 00000000 */ nop +/* 1A29E4 80274104 46800020 */ cvt.s.w $f0, $f0 +/* 1A29E8 80274108 4602003C */ c.lt.s $f0, $f2 +/* 1A29EC 8027410C 00000000 */ nop +/* 1A29F0 80274110 45000013 */ bc1f .L80274160 +/* 1A29F4 80274114 00000000 */ nop +/* 1A29F8 80274118 92020135 */ lbu $v0, 0x135($s0) +/* 1A29FC 8027411C 24420001 */ addiu $v0, $v0, 1 +/* 1A2A00 80274120 A2020135 */ sb $v0, 0x135($s0) +/* 1A2A04 80274124 AE40004C */ sw $zero, 0x4c($s2) +/* 1A2A08 80274128 92020135 */ lbu $v0, 0x135($s0) +/* 1A2A0C 8027412C 30420001 */ andi $v0, $v0, 1 +/* 1A2A10 80274130 10400004 */ beqz $v0, .L80274144 +/* 1A2A14 80274134 24040141 */ addiu $a0, $zero, 0x141 +/* 1A2A18 80274138 C600014C */ lwc1 $f0, 0x14c($s0) +/* 1A2A1C 8027413C 0809D054 */ j func_80274150 +/* 1A2A20 80274140 E7A00010 */ swc1 $f0, 0x10($sp) + +.L80274144: +/* 1A2A24 80274144 C600014C */ lwc1 $f0, 0x14c($s0) +/* 1A2A28 80274148 24040142 */ addiu $a0, $zero, 0x142 +/* 1A2A2C 8027414C E7A00010 */ swc1 $f0, 0x10($sp) +func_80274150: +/* 1A2A30 80274150 8E060144 */ lw $a2, 0x144($s0) +/* 1A2A34 80274154 8E070148 */ lw $a3, 0x148($s0) +/* 1A2A38 80274158 0C052757 */ jal play_sound_at_position +/* 1A2A3C 8027415C 0000282D */ daddu $a1, $zero, $zero +.L80274160: +/* 1A2A40 80274160 8E62007C */ lw $v0, 0x7c($s3) +/* 1A2A44 80274164 2842000D */ slti $v0, $v0, 0xd +/* 1A2A48 80274168 14400013 */ bnez $v0, .L802741B8 +/* 1A2A4C 8027416C 00000000 */ nop +/* 1A2A50 80274170 8E620078 */ lw $v0, 0x78($s3) +/* 1A2A54 80274174 14400009 */ bnez $v0, .L8027419C +/* 1A2A58 80274178 00000000 */ nop +/* 1A2A5C 8027417C 8E820210 */ lw $v0, 0x210($s4) +/* 1A2A60 80274180 30428000 */ andi $v0, $v0, 0x8000 +/* 1A2A64 80274184 14400002 */ bnez $v0, .L80274190 +/* 1A2A68 80274188 24020001 */ addiu $v0, $zero, 1 +/* 1A2A6C 8027418C AE620078 */ sw $v0, 0x78($s3) +.L80274190: +/* 1A2A70 80274190 8E620078 */ lw $v0, 0x78($s3) +/* 1A2A74 80274194 10400008 */ beqz $v0, .L802741B8 +/* 1A2A78 80274198 00000000 */ nop +.L8027419C: +/* 1A2A7C 8027419C 8E820214 */ lw $v0, 0x214($s4) +/* 1A2A80 802741A0 30428000 */ andi $v0, $v0, 0x8000 +/* 1A2A84 802741A4 10400004 */ beqz $v0, .L802741B8 +/* 1A2A88 802741A8 0260202D */ daddu $a0, $s3, $zero +/* 1A2A8C 802741AC 8C850074 */ lw $a1, 0x74($a0) +/* 1A2A90 802741B0 0809D07E */ j func_802741F8 +/* 1A2A94 802741B4 24060001 */ addiu $a2, $zero, 1 + +.L802741B8: +/* 1A2A98 802741B8 8E62007C */ lw $v0, 0x7c($s3) +/* 1A2A9C 802741BC 24420001 */ addiu $v0, $v0, 1 +/* 1A2AA0 802741C0 AE62007C */ sw $v0, 0x7c($s3) +/* 1A2AA4 802741C4 96420064 */ lhu $v0, 0x64($s2) +/* 1A2AA8 802741C8 2442FFFF */ addiu $v0, $v0, -1 +/* 1A2AAC 802741CC A6420064 */ sh $v0, 0x64($s2) +/* 1A2AB0 802741D0 00021400 */ sll $v0, $v0, 0x10 +/* 1A2AB4 802741D4 1C40000B */ bgtz $v0, .L80274204 +/* 1A2AB8 802741D8 0000102D */ daddu $v0, $zero, $zero +/* 1A2ABC 802741DC C640000C */ lwc1 $f0, 0xc($s2) +/* 1A2AC0 802741E0 E6000144 */ swc1 $f0, 0x144($s0) +/* 1A2AC4 802741E4 C6400014 */ lwc1 $f0, 0x14($s2) +/* 1A2AC8 802741E8 0260202D */ daddu $a0, $s3, $zero +/* 1A2ACC 802741EC E600014C */ swc1 $f0, 0x14c($s0) +/* 1A2AD0 802741F0 8C850074 */ lw $a1, 0x74($a0) +/* 1A2AD4 802741F4 0000302D */ daddu $a2, $zero, $zero +func_802741F8: +/* 1A2AD8 802741F8 0C0B2026 */ jal set_variable +/* 1A2ADC 802741FC 00000000 */ nop +/* 1A2AE0 80274200 24020002 */ addiu $v0, $zero, 2 +.L80274204: +/* 1A2AE4 80274204 8FBF002C */ lw $ra, 0x2c($sp) +/* 1A2AE8 80274208 8FB40028 */ lw $s4, 0x28($sp) +/* 1A2AEC 8027420C 8FB30024 */ lw $s3, 0x24($sp) +/* 1A2AF0 80274210 8FB20020 */ lw $s2, 0x20($sp) +/* 1A2AF4 80274214 8FB1001C */ lw $s1, 0x1c($sp) +/* 1A2AF8 80274218 8FB00018 */ lw $s0, 0x18($sp) +/* 1A2AFC 8027421C D7BA0048 */ ldc1 $f26, 0x48($sp) +/* 1A2B00 80274220 D7B80040 */ ldc1 $f24, 0x40($sp) +/* 1A2B04 80274224 D7B60038 */ ldc1 $f22, 0x38($sp) +/* 1A2B08 80274228 D7B40030 */ ldc1 $f20, 0x30($sp) +/* 1A2B0C 8027422C 03E00008 */ jr $ra +/* 1A2B10 80274230 27BD0050 */ addiu $sp, $sp, 0x50 + +GetPlayerHP: +/* 1A2B14 80274234 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 1A2B18 80274238 AFBF0010 */ sw $ra, 0x10($sp) +/* 1A2B1C 8027423C 8C82000C */ lw $v0, 0xc($a0) +/* 1A2B20 80274240 3C068011 */ lui $a2, 0x8011 +/* 1A2B24 80274244 80C6F292 */ lb $a2, -0xd6e($a2) +/* 1A2B28 80274248 0C0B2026 */ jal set_variable +/* 1A2B2C 8027424C 8C450000 */ lw $a1, ($v0) +/* 1A2B30 80274250 8FBF0010 */ lw $ra, 0x10($sp) +/* 1A2B34 80274254 24020002 */ addiu $v0, $zero, 2 +/* 1A2B38 80274258 03E00008 */ jr $ra +/* 1A2B3C 8027425C 27BD0018 */ addiu $sp, $sp, 0x18 + +PlayerDamageEnemy: +/* 1A2B40 80274260 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 1A2B44 80274264 AFB20018 */ sw $s2, 0x18($sp) +/* 1A2B48 80274268 0080902D */ daddu $s2, $a0, $zero +/* 1A2B4C 8027426C AFBF0020 */ sw $ra, 0x20($sp) +/* 1A2B50 80274270 AFB3001C */ sw $s3, 0x1c($sp) +/* 1A2B54 80274274 AFB10014 */ sw $s1, 0x14($sp) +/* 1A2B58 80274278 AFB00010 */ sw $s0, 0x10($sp) +/* 1A2B5C 8027427C 8E50000C */ lw $s0, 0xc($s2) +/* 1A2B60 80274280 3C11800E */ lui $s1, 0x800e +/* 1A2B64 80274284 2631C070 */ addiu $s1, $s1, -0x3f90 +/* 1A2B68 80274288 8E130000 */ lw $s3, ($s0) +/* 1A2B6C 8027428C 26100004 */ addiu $s0, $s0, 4 +/* 1A2B70 80274290 8E020000 */ lw $v0, ($s0) +/* 1A2B74 80274294 26100004 */ addiu $s0, $s0, 4 +/* 1A2B78 80274298 AE220188 */ sw $v0, 0x188($s1) +/* 1A2B7C 8027429C 8E020000 */ lw $v0, ($s0) +/* 1A2B80 802742A0 26100004 */ addiu $s0, $s0, 4 +/* 1A2B84 802742A4 AE22018C */ sw $v0, 0x18c($s1) +/* 1A2B88 802742A8 8E020000 */ lw $v0, ($s0) +/* 1A2B8C 802742AC 26100004 */ addiu $s0, $s0, 4 +/* 1A2B90 802742B0 AE220190 */ sw $v0, 0x190($s1) +/* 1A2B94 802742B4 8E050000 */ lw $a1, ($s0) +/* 1A2B98 802742B8 0C0B1EAF */ jal get_variable +/* 1A2B9C 802742BC 26100004 */ addiu $s0, $s0, 4 +/* 1A2BA0 802742C0 A622017E */ sh $v0, 0x17e($s1) +/* 1A2BA4 802742C4 A2200198 */ sb $zero, 0x198($s1) +/* 1A2BA8 802742C8 8E100000 */ lw $s0, ($s0) +/* 1A2BAC 802742CC 24020030 */ addiu $v0, $zero, 0x30 +/* 1A2BB0 802742D0 32030030 */ andi $v1, $s0, 0x30 +/* 1A2BB4 802742D4 54620004 */ bnel $v1, $v0, .L802742E8 +/* 1A2BB8 802742D8 32020010 */ andi $v0, $s0, 0x10 +/* 1A2BBC 802742DC 8E220000 */ lw $v0, ($s1) +/* 1A2BC0 802742E0 0809D0CA */ j func_80274328 +/* 1A2BC4 802742E4 34420030 */ ori $v0, $v0, 0x30 + +.L802742E8: +/* 1A2BC8 802742E8 10400004 */ beqz $v0, .L802742FC +/* 1A2BCC 802742EC 2403FFDF */ addiu $v1, $zero, -0x21 +/* 1A2BD0 802742F0 8E220000 */ lw $v0, ($s1) +/* 1A2BD4 802742F4 0809D0C9 */ j func_80274324 +/* 1A2BD8 802742F8 34420010 */ ori $v0, $v0, 0x10 + +.L802742FC: +/* 1A2BDC 802742FC 32020020 */ andi $v0, $s0, 0x20 +/* 1A2BE0 80274300 10400005 */ beqz $v0, .L80274318 +/* 1A2BE4 80274304 2403FFEF */ addiu $v1, $zero, -0x11 +/* 1A2BE8 80274308 8E220000 */ lw $v0, ($s1) +/* 1A2BEC 8027430C 00431024 */ and $v0, $v0, $v1 +/* 1A2BF0 80274310 0809D0CA */ j func_80274328 +/* 1A2BF4 80274314 34420020 */ ori $v0, $v0, 0x20 + +.L80274318: +/* 1A2BF8 80274318 8E220000 */ lw $v0, ($s1) +/* 1A2BFC 8027431C 00431024 */ and $v0, $v0, $v1 +/* 1A2C00 80274320 2403FFDF */ addiu $v1, $zero, -0x21 +func_80274324: +/* 1A2C04 80274324 00431024 */ and $v0, $v0, $v1 +func_80274328: +/* 1A2C08 80274328 AE220000 */ sw $v0, ($s1) +/* 1A2C0C 8027432C 32020040 */ andi $v0, $s0, 0x40 +/* 1A2C10 80274330 10400007 */ beqz $v0, .L80274350 +/* 1A2C14 80274334 2404FFBF */ addiu $a0, $zero, -0x41 +/* 1A2C18 80274338 3C03800E */ lui $v1, 0x800e +/* 1A2C1C 8027433C 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 1A2C20 80274340 8C620000 */ lw $v0, ($v1) +/* 1A2C24 80274344 34420040 */ ori $v0, $v0, 0x40 +/* 1A2C28 80274348 0809D0D9 */ j func_80274364 +/* 1A2C2C 8027434C AC620000 */ sw $v0, ($v1) + +.L80274350: +/* 1A2C30 80274350 3C02800E */ lui $v0, 0x800e +/* 1A2C34 80274354 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 1A2C38 80274358 8C430000 */ lw $v1, ($v0) +/* 1A2C3C 8027435C 00641824 */ and $v1, $v1, $a0 +/* 1A2C40 80274360 AC430000 */ sw $v1, ($v0) +func_80274364: +/* 1A2C44 80274364 32020200 */ andi $v0, $s0, 0x200 +/* 1A2C48 80274368 10400007 */ beqz $v0, .L80274388 +/* 1A2C4C 8027436C 2404FDFF */ addiu $a0, $zero, -0x201 +/* 1A2C50 80274370 3C03800E */ lui $v1, 0x800e +/* 1A2C54 80274374 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 1A2C58 80274378 8C620000 */ lw $v0, ($v1) +/* 1A2C5C 8027437C 34420200 */ ori $v0, $v0, 0x200 +/* 1A2C60 80274380 0809D0E7 */ j func_8027439C +/* 1A2C64 80274384 AC620000 */ sw $v0, ($v1) + +.L80274388: +/* 1A2C68 80274388 3C02800E */ lui $v0, 0x800e +/* 1A2C6C 8027438C 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 1A2C70 80274390 8C430000 */ lw $v1, ($v0) +/* 1A2C74 80274394 00641824 */ and $v1, $v1, $a0 +/* 1A2C78 80274398 AC430000 */ sw $v1, ($v0) +func_8027439C: +/* 1A2C7C 8027439C 32020080 */ andi $v0, $s0, 0x80 +/* 1A2C80 802743A0 10400007 */ beqz $v0, .L802743C0 +/* 1A2C84 802743A4 2404FF7F */ addiu $a0, $zero, -0x81 +/* 1A2C88 802743A8 3C03800E */ lui $v1, 0x800e +/* 1A2C8C 802743AC 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 1A2C90 802743B0 8C620000 */ lw $v0, ($v1) +/* 1A2C94 802743B4 34420080 */ ori $v0, $v0, 0x80 +/* 1A2C98 802743B8 0809D0F5 */ j func_802743D4 +/* 1A2C9C 802743BC AC620000 */ sw $v0, ($v1) + +.L802743C0: +/* 1A2CA0 802743C0 3C02800E */ lui $v0, 0x800e +/* 1A2CA4 802743C4 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 1A2CA8 802743C8 8C430000 */ lw $v1, ($v0) +/* 1A2CAC 802743CC 00641824 */ and $v1, $v1, $a0 +/* 1A2CB0 802743D0 AC430000 */ sw $v1, ($v0) +func_802743D4: +/* 1A2CB4 802743D4 32020800 */ andi $v0, $s0, 0x800 +/* 1A2CB8 802743D8 10400007 */ beqz $v0, .L802743F8 +/* 1A2CBC 802743DC 2404F7FF */ addiu $a0, $zero, -0x801 +/* 1A2CC0 802743E0 3C03800E */ lui $v1, 0x800e +/* 1A2CC4 802743E4 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 1A2CC8 802743E8 8C620000 */ lw $v0, ($v1) +/* 1A2CCC 802743EC 34420800 */ ori $v0, $v0, 0x800 +/* 1A2CD0 802743F0 0809D103 */ j func_8027440C +/* 1A2CD4 802743F4 AC620000 */ sw $v0, ($v1) + +.L802743F8: +/* 1A2CD8 802743F8 3C02800E */ lui $v0, 0x800e +/* 1A2CDC 802743FC 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 1A2CE0 80274400 8C430000 */ lw $v1, ($v0) +/* 1A2CE4 80274404 00641824 */ and $v1, $v1, $a0 +/* 1A2CE8 80274408 AC430000 */ sw $v1, ($v0) +func_8027440C: +/* 1A2CEC 8027440C 0C09A75B */ jal get_actor +/* 1A2CF0 80274410 8E440148 */ lw $a0, 0x148($s2) +/* 1A2CF4 80274414 94430428 */ lhu $v1, 0x428($v0) +/* 1A2CF8 80274418 A62301A0 */ sh $v1, 0x1a0($s1) +/* 1A2CFC 8027441C 92230193 */ lbu $v1, 0x193($s1) +/* 1A2D00 80274420 90420426 */ lbu $v0, 0x426($v0) +/* 1A2D04 80274424 A2230194 */ sb $v1, 0x194($s1) +/* 1A2D08 80274428 306300FF */ andi $v1, $v1, 0xff +/* 1A2D0C 8027442C A22201A2 */ sb $v0, 0x1a2($s1) +/* 1A2D10 80274430 240200FF */ addiu $v0, $zero, 0xff +/* 1A2D14 80274434 50620001 */ beql $v1, $v0, .L8027443C +/* 1A2D18 80274438 A2200194 */ sb $zero, 0x194($s1) +.L8027443C: +/* 1A2D1C 8027443C 8E220190 */ lw $v0, 0x190($s1) +/* 1A2D20 80274440 30420F00 */ andi $v0, $v0, 0xf00 +/* 1A2D24 80274444 00021203 */ sra $v0, $v0, 8 +/* 1A2D28 80274448 0C09C651 */ jal calc_player_damage_enemy +/* 1A2D2C 8027444C A2220195 */ sb $v0, 0x195($s1) +/* 1A2D30 80274450 0440000B */ bltz $v0, .L80274480 +/* 1A2D34 80274454 0240202D */ daddu $a0, $s2, $zero +/* 1A2D38 80274458 0260282D */ daddu $a1, $s3, $zero +/* 1A2D3C 8027445C 0C0B2026 */ jal set_variable +/* 1A2D40 80274460 0040302D */ daddu $a2, $v0, $zero +/* 1A2D44 80274464 0C0B1069 */ jal does_script_exist_by_ref +/* 1A2D48 80274468 0240202D */ daddu $a0, $s2, $zero +/* 1A2D4C 8027446C 0040182D */ daddu $v1, $v0, $zero +/* 1A2D50 80274470 10600004 */ beqz $v1, .L80274484 +/* 1A2D54 80274474 240200FF */ addiu $v0, $zero, 0xff +/* 1A2D58 80274478 0809D121 */ j func_80274484 +/* 1A2D5C 8027447C 24020002 */ addiu $v0, $zero, 2 + +.L80274480: +/* 1A2D60 80274480 240200FF */ addiu $v0, $zero, 0xff +func_80274484: +.L80274484: +/* 1A2D64 80274484 8FBF0020 */ lw $ra, 0x20($sp) +/* 1A2D68 80274488 8FB3001C */ lw $s3, 0x1c($sp) +/* 1A2D6C 8027448C 8FB20018 */ lw $s2, 0x18($sp) +/* 1A2D70 80274490 8FB10014 */ lw $s1, 0x14($sp) +/* 1A2D74 80274494 8FB00010 */ lw $s0, 0x10($sp) +/* 1A2D78 80274498 03E00008 */ jr $ra +/* 1A2D7C 8027449C 27BD0028 */ addiu $sp, $sp, 0x28 + +PlayerPowerBounceEnemy: +/* 1A2D80 802744A0 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 1A2D84 802744A4 AFB20018 */ sw $s2, 0x18($sp) +/* 1A2D88 802744A8 0080902D */ daddu $s2, $a0, $zero +/* 1A2D8C 802744AC AFBF0020 */ sw $ra, 0x20($sp) +/* 1A2D90 802744B0 AFB3001C */ sw $s3, 0x1c($sp) +/* 1A2D94 802744B4 AFB10014 */ sw $s1, 0x14($sp) +/* 1A2D98 802744B8 AFB00010 */ sw $s0, 0x10($sp) +/* 1A2D9C 802744BC 8E50000C */ lw $s0, 0xc($s2) +/* 1A2DA0 802744C0 3C11800E */ lui $s1, 0x800e +/* 1A2DA4 802744C4 2631C070 */ addiu $s1, $s1, -0x3f90 +/* 1A2DA8 802744C8 8E130000 */ lw $s3, ($s0) +/* 1A2DAC 802744CC 26100004 */ addiu $s0, $s0, 4 +/* 1A2DB0 802744D0 8E020000 */ lw $v0, ($s0) +/* 1A2DB4 802744D4 26100004 */ addiu $s0, $s0, 4 +/* 1A2DB8 802744D8 AE220188 */ sw $v0, 0x188($s1) +/* 1A2DBC 802744DC 8E020000 */ lw $v0, ($s0) +/* 1A2DC0 802744E0 26100004 */ addiu $s0, $s0, 4 +/* 1A2DC4 802744E4 AE22018C */ sw $v0, 0x18c($s1) +/* 1A2DC8 802744E8 8E020000 */ lw $v0, ($s0) +/* 1A2DCC 802744EC 26100004 */ addiu $s0, $s0, 4 +/* 1A2DD0 802744F0 AE220190 */ sw $v0, 0x190($s1) +/* 1A2DD4 802744F4 8E050000 */ lw $a1, ($s0) +/* 1A2DD8 802744F8 0C0B1EAF */ jal get_variable +/* 1A2DDC 802744FC 26100004 */ addiu $s0, $s0, 4 +/* 1A2DE0 80274500 A622017E */ sh $v0, 0x17e($s1) +/* 1A2DE4 80274504 8E050000 */ lw $a1, ($s0) +/* 1A2DE8 80274508 26100004 */ addiu $s0, $s0, 4 +/* 1A2DEC 8027450C 0C0B1EAF */ jal get_variable +/* 1A2DF0 80274510 0240202D */ daddu $a0, $s2, $zero +/* 1A2DF4 80274514 A2220198 */ sb $v0, 0x198($s1) +/* 1A2DF8 80274518 8E100000 */ lw $s0, ($s0) +/* 1A2DFC 8027451C 24020030 */ addiu $v0, $zero, 0x30 +/* 1A2E00 80274520 32030030 */ andi $v1, $s0, 0x30 +/* 1A2E04 80274524 54620004 */ bnel $v1, $v0, .L80274538 +/* 1A2E08 80274528 32020010 */ andi $v0, $s0, 0x10 +/* 1A2E0C 8027452C 8E220000 */ lw $v0, ($s1) +/* 1A2E10 80274530 0809D15E */ j func_80274578 +/* 1A2E14 80274534 34420030 */ ori $v0, $v0, 0x30 + +.L80274538: +/* 1A2E18 80274538 10400004 */ beqz $v0, .L8027454C +/* 1A2E1C 8027453C 2403FFDF */ addiu $v1, $zero, -0x21 +/* 1A2E20 80274540 8E220000 */ lw $v0, ($s1) +/* 1A2E24 80274544 0809D15D */ j func_80274574 +/* 1A2E28 80274548 34420010 */ ori $v0, $v0, 0x10 + +.L8027454C: +/* 1A2E2C 8027454C 32020020 */ andi $v0, $s0, 0x20 +/* 1A2E30 80274550 10400005 */ beqz $v0, .L80274568 +/* 1A2E34 80274554 2403FFEF */ addiu $v1, $zero, -0x11 +/* 1A2E38 80274558 8E220000 */ lw $v0, ($s1) +/* 1A2E3C 8027455C 00431024 */ and $v0, $v0, $v1 +/* 1A2E40 80274560 0809D15E */ j func_80274578 +/* 1A2E44 80274564 34420020 */ ori $v0, $v0, 0x20 + +.L80274568: +/* 1A2E48 80274568 8E220000 */ lw $v0, ($s1) +/* 1A2E4C 8027456C 00431024 */ and $v0, $v0, $v1 +/* 1A2E50 80274570 2403FFDF */ addiu $v1, $zero, -0x21 +func_80274574: +/* 1A2E54 80274574 00431024 */ and $v0, $v0, $v1 +func_80274578: +/* 1A2E58 80274578 AE220000 */ sw $v0, ($s1) +/* 1A2E5C 8027457C 32020040 */ andi $v0, $s0, 0x40 +/* 1A2E60 80274580 10400007 */ beqz $v0, .L802745A0 +/* 1A2E64 80274584 2404FFBF */ addiu $a0, $zero, -0x41 +/* 1A2E68 80274588 3C03800E */ lui $v1, 0x800e +/* 1A2E6C 8027458C 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 1A2E70 80274590 8C620000 */ lw $v0, ($v1) +/* 1A2E74 80274594 34420040 */ ori $v0, $v0, 0x40 +/* 1A2E78 80274598 0809D16D */ j func_802745B4 +/* 1A2E7C 8027459C AC620000 */ sw $v0, ($v1) + +.L802745A0: +/* 1A2E80 802745A0 3C02800E */ lui $v0, 0x800e +/* 1A2E84 802745A4 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 1A2E88 802745A8 8C430000 */ lw $v1, ($v0) +/* 1A2E8C 802745AC 00641824 */ and $v1, $v1, $a0 +/* 1A2E90 802745B0 AC430000 */ sw $v1, ($v0) +func_802745B4: +/* 1A2E94 802745B4 32020200 */ andi $v0, $s0, 0x200 +/* 1A2E98 802745B8 10400007 */ beqz $v0, .L802745D8 +/* 1A2E9C 802745BC 2404FDFF */ addiu $a0, $zero, -0x201 +/* 1A2EA0 802745C0 3C03800E */ lui $v1, 0x800e +/* 1A2EA4 802745C4 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 1A2EA8 802745C8 8C620000 */ lw $v0, ($v1) +/* 1A2EAC 802745CC 34420200 */ ori $v0, $v0, 0x200 +/* 1A2EB0 802745D0 0809D17B */ j func_802745EC +/* 1A2EB4 802745D4 AC620000 */ sw $v0, ($v1) + +.L802745D8: +/* 1A2EB8 802745D8 3C02800E */ lui $v0, 0x800e +/* 1A2EBC 802745DC 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 1A2EC0 802745E0 8C430000 */ lw $v1, ($v0) +/* 1A2EC4 802745E4 00641824 */ and $v1, $v1, $a0 +/* 1A2EC8 802745E8 AC430000 */ sw $v1, ($v0) +func_802745EC: +/* 1A2ECC 802745EC 32020080 */ andi $v0, $s0, 0x80 +/* 1A2ED0 802745F0 10400007 */ beqz $v0, .L80274610 +/* 1A2ED4 802745F4 2404FF7F */ addiu $a0, $zero, -0x81 +/* 1A2ED8 802745F8 3C03800E */ lui $v1, 0x800e +/* 1A2EDC 802745FC 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 1A2EE0 80274600 8C620000 */ lw $v0, ($v1) +/* 1A2EE4 80274604 34420080 */ ori $v0, $v0, 0x80 +/* 1A2EE8 80274608 0809D189 */ j func_80274624 +/* 1A2EEC 8027460C AC620000 */ sw $v0, ($v1) + +.L80274610: +/* 1A2EF0 80274610 3C02800E */ lui $v0, 0x800e +/* 1A2EF4 80274614 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 1A2EF8 80274618 8C430000 */ lw $v1, ($v0) +/* 1A2EFC 8027461C 00641824 */ and $v1, $v1, $a0 +/* 1A2F00 80274620 AC430000 */ sw $v1, ($v0) +func_80274624: +/* 1A2F04 80274624 32020800 */ andi $v0, $s0, 0x800 +/* 1A2F08 80274628 10400007 */ beqz $v0, .L80274648 +/* 1A2F0C 8027462C 2404F7FF */ addiu $a0, $zero, -0x801 +/* 1A2F10 80274630 3C03800E */ lui $v1, 0x800e +/* 1A2F14 80274634 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 1A2F18 80274638 8C620000 */ lw $v0, ($v1) +/* 1A2F1C 8027463C 34420800 */ ori $v0, $v0, 0x800 +/* 1A2F20 80274640 0809D197 */ j func_8027465C +/* 1A2F24 80274644 AC620000 */ sw $v0, ($v1) + +.L80274648: +/* 1A2F28 80274648 3C02800E */ lui $v0, 0x800e +/* 1A2F2C 8027464C 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 1A2F30 80274650 8C430000 */ lw $v1, ($v0) +/* 1A2F34 80274654 00641824 */ and $v1, $v1, $a0 +/* 1A2F38 80274658 AC430000 */ sw $v1, ($v0) +func_8027465C: +/* 1A2F3C 8027465C 0C09A75B */ jal get_actor +/* 1A2F40 80274660 8E440148 */ lw $a0, 0x148($s2) +/* 1A2F44 80274664 94430428 */ lhu $v1, 0x428($v0) +/* 1A2F48 80274668 A62301A0 */ sh $v1, 0x1a0($s1) +/* 1A2F4C 8027466C 92230193 */ lbu $v1, 0x193($s1) +/* 1A2F50 80274670 90420426 */ lbu $v0, 0x426($v0) +/* 1A2F54 80274674 A2230194 */ sb $v1, 0x194($s1) +/* 1A2F58 80274678 306300FF */ andi $v1, $v1, 0xff +/* 1A2F5C 8027467C A22201A2 */ sb $v0, 0x1a2($s1) +/* 1A2F60 80274680 240200FF */ addiu $v0, $zero, 0xff +/* 1A2F64 80274684 50620001 */ beql $v1, $v0, .L8027468C +/* 1A2F68 80274688 A2200194 */ sb $zero, 0x194($s1) +.L8027468C: +/* 1A2F6C 8027468C 8E220190 */ lw $v0, 0x190($s1) +/* 1A2F70 80274690 30420F00 */ andi $v0, $v0, 0xf00 +/* 1A2F74 80274694 00021203 */ sra $v0, $v0, 8 +/* 1A2F78 80274698 0C09C651 */ jal calc_player_damage_enemy +/* 1A2F7C 8027469C A2220195 */ sb $v0, 0x195($s1) +/* 1A2F80 802746A0 0440000B */ bltz $v0, .L802746D0 +/* 1A2F84 802746A4 0240202D */ daddu $a0, $s2, $zero +/* 1A2F88 802746A8 0260282D */ daddu $a1, $s3, $zero +/* 1A2F8C 802746AC 0C0B2026 */ jal set_variable +/* 1A2F90 802746B0 0040302D */ daddu $a2, $v0, $zero +/* 1A2F94 802746B4 0C0B1069 */ jal does_script_exist_by_ref +/* 1A2F98 802746B8 0240202D */ daddu $a0, $s2, $zero +/* 1A2F9C 802746BC 0040182D */ daddu $v1, $v0, $zero +/* 1A2FA0 802746C0 10600004 */ beqz $v1, .L802746D4 +/* 1A2FA4 802746C4 240200FF */ addiu $v0, $zero, 0xff +/* 1A2FA8 802746C8 0809D1B5 */ j func_802746D4 +/* 1A2FAC 802746CC 24020002 */ addiu $v0, $zero, 2 + +.L802746D0: +/* 1A2FB0 802746D0 240200FF */ addiu $v0, $zero, 0xff +func_802746D4: +.L802746D4: +/* 1A2FB4 802746D4 8FBF0020 */ lw $ra, 0x20($sp) +/* 1A2FB8 802746D8 8FB3001C */ lw $s3, 0x1c($sp) +/* 1A2FBC 802746DC 8FB20018 */ lw $s2, 0x18($sp) +/* 1A2FC0 802746E0 8FB10014 */ lw $s1, 0x14($sp) +/* 1A2FC4 802746E4 8FB00010 */ lw $s0, 0x10($sp) +/* 1A2FC8 802746E8 03E00008 */ jr $ra +/* 1A2FCC 802746EC 27BD0028 */ addiu $sp, $sp, 0x28 + +PlayerTestEnemy: +/* 1A2FD0 802746F0 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 1A2FD4 802746F4 AFB20018 */ sw $s2, 0x18($sp) +/* 1A2FD8 802746F8 0080902D */ daddu $s2, $a0, $zero +/* 1A2FDC 802746FC AFBF0020 */ sw $ra, 0x20($sp) +/* 1A2FE0 80274700 AFB3001C */ sw $s3, 0x1c($sp) +/* 1A2FE4 80274704 AFB10014 */ sw $s1, 0x14($sp) +/* 1A2FE8 80274708 AFB00010 */ sw $s0, 0x10($sp) +/* 1A2FEC 8027470C 8E50000C */ lw $s0, 0xc($s2) +/* 1A2FF0 80274710 3C11800E */ lui $s1, 0x800e +/* 1A2FF4 80274714 2631C070 */ addiu $s1, $s1, -0x3f90 +/* 1A2FF8 80274718 8E130000 */ lw $s3, ($s0) +/* 1A2FFC 8027471C 26100004 */ addiu $s0, $s0, 4 +/* 1A3000 80274720 8E020000 */ lw $v0, ($s0) +/* 1A3004 80274724 26100004 */ addiu $s0, $s0, 4 +/* 1A3008 80274728 AE220188 */ sw $v0, 0x188($s1) +/* 1A300C 8027472C 8E020000 */ lw $v0, ($s0) +/* 1A3010 80274730 26100004 */ addiu $s0, $s0, 4 +/* 1A3014 80274734 AE22018C */ sw $v0, 0x18c($s1) +/* 1A3018 80274738 8E020000 */ lw $v0, ($s0) +/* 1A301C 8027473C 26100004 */ addiu $s0, $s0, 4 +/* 1A3020 80274740 AE220190 */ sw $v0, 0x190($s1) +/* 1A3024 80274744 8E050000 */ lw $a1, ($s0) +/* 1A3028 80274748 0C0B1EAF */ jal get_variable +/* 1A302C 8027474C 26100004 */ addiu $s0, $s0, 4 +/* 1A3030 80274750 A622017E */ sh $v0, 0x17e($s1) +/* 1A3034 80274754 A2200198 */ sb $zero, 0x198($s1) +/* 1A3038 80274758 8E100000 */ lw $s0, ($s0) +/* 1A303C 8027475C 24020030 */ addiu $v0, $zero, 0x30 +/* 1A3040 80274760 32030030 */ andi $v1, $s0, 0x30 +/* 1A3044 80274764 54620004 */ bnel $v1, $v0, .L80274778 +/* 1A3048 80274768 32020010 */ andi $v0, $s0, 0x10 +/* 1A304C 8027476C 8E220000 */ lw $v0, ($s1) +/* 1A3050 80274770 0809D1EE */ j func_802747B8 +/* 1A3054 80274774 34420030 */ ori $v0, $v0, 0x30 + +.L80274778: +/* 1A3058 80274778 10400004 */ beqz $v0, .L8027478C +/* 1A305C 8027477C 2403FFDF */ addiu $v1, $zero, -0x21 +/* 1A3060 80274780 8E220000 */ lw $v0, ($s1) +/* 1A3064 80274784 0809D1ED */ j func_802747B4 +/* 1A3068 80274788 34420010 */ ori $v0, $v0, 0x10 + +.L8027478C: +/* 1A306C 8027478C 32020020 */ andi $v0, $s0, 0x20 +/* 1A3070 80274790 10400005 */ beqz $v0, .L802747A8 +/* 1A3074 80274794 2403FFEF */ addiu $v1, $zero, -0x11 +/* 1A3078 80274798 8E220000 */ lw $v0, ($s1) +/* 1A307C 8027479C 00431024 */ and $v0, $v0, $v1 +/* 1A3080 802747A0 0809D1EE */ j func_802747B8 +/* 1A3084 802747A4 34420020 */ ori $v0, $v0, 0x20 + +.L802747A8: +/* 1A3088 802747A8 8E220000 */ lw $v0, ($s1) +/* 1A308C 802747AC 00431024 */ and $v0, $v0, $v1 +/* 1A3090 802747B0 2403FFDF */ addiu $v1, $zero, -0x21 +func_802747B4: +/* 1A3094 802747B4 00431024 */ and $v0, $v0, $v1 +func_802747B8: +/* 1A3098 802747B8 AE220000 */ sw $v0, ($s1) +/* 1A309C 802747BC 32020040 */ andi $v0, $s0, 0x40 +/* 1A30A0 802747C0 10400007 */ beqz $v0, .L802747E0 +/* 1A30A4 802747C4 2404FFBF */ addiu $a0, $zero, -0x41 +/* 1A30A8 802747C8 3C03800E */ lui $v1, 0x800e +/* 1A30AC 802747CC 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 1A30B0 802747D0 8C620000 */ lw $v0, ($v1) +/* 1A30B4 802747D4 34420040 */ ori $v0, $v0, 0x40 +/* 1A30B8 802747D8 0809D1FD */ j func_802747F4 +/* 1A30BC 802747DC AC620000 */ sw $v0, ($v1) + +.L802747E0: +/* 1A30C0 802747E0 3C02800E */ lui $v0, 0x800e +/* 1A30C4 802747E4 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 1A30C8 802747E8 8C430000 */ lw $v1, ($v0) +/* 1A30CC 802747EC 00641824 */ and $v1, $v1, $a0 +/* 1A30D0 802747F0 AC430000 */ sw $v1, ($v0) +func_802747F4: +/* 1A30D4 802747F4 32020200 */ andi $v0, $s0, 0x200 +/* 1A30D8 802747F8 10400007 */ beqz $v0, .L80274818 +/* 1A30DC 802747FC 2404FDFF */ addiu $a0, $zero, -0x201 +/* 1A30E0 80274800 3C03800E */ lui $v1, 0x800e +/* 1A30E4 80274804 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 1A30E8 80274808 8C620000 */ lw $v0, ($v1) +/* 1A30EC 8027480C 34420200 */ ori $v0, $v0, 0x200 +/* 1A30F0 80274810 0809D20B */ j func_8027482C +/* 1A30F4 80274814 AC620000 */ sw $v0, ($v1) + +.L80274818: +/* 1A30F8 80274818 3C02800E */ lui $v0, 0x800e +/* 1A30FC 8027481C 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 1A3100 80274820 8C430000 */ lw $v1, ($v0) +/* 1A3104 80274824 00641824 */ and $v1, $v1, $a0 +/* 1A3108 80274828 AC430000 */ sw $v1, ($v0) +func_8027482C: +/* 1A310C 8027482C 32020080 */ andi $v0, $s0, 0x80 +/* 1A3110 80274830 10400007 */ beqz $v0, .L80274850 +/* 1A3114 80274834 2404FF7F */ addiu $a0, $zero, -0x81 +/* 1A3118 80274838 3C03800E */ lui $v1, 0x800e +/* 1A311C 8027483C 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 1A3120 80274840 8C620000 */ lw $v0, ($v1) +/* 1A3124 80274844 34420080 */ ori $v0, $v0, 0x80 +/* 1A3128 80274848 0809D219 */ j func_80274864 +/* 1A312C 8027484C AC620000 */ sw $v0, ($v1) + +.L80274850: +/* 1A3130 80274850 3C02800E */ lui $v0, 0x800e +/* 1A3134 80274854 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 1A3138 80274858 8C430000 */ lw $v1, ($v0) +/* 1A313C 8027485C 00641824 */ and $v1, $v1, $a0 +/* 1A3140 80274860 AC430000 */ sw $v1, ($v0) +func_80274864: +/* 1A3144 80274864 32020800 */ andi $v0, $s0, 0x800 +/* 1A3148 80274868 10400007 */ beqz $v0, .L80274888 +/* 1A314C 8027486C 2404F7FF */ addiu $a0, $zero, -0x801 +/* 1A3150 80274870 3C03800E */ lui $v1, 0x800e +/* 1A3154 80274874 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 1A3158 80274878 8C620000 */ lw $v0, ($v1) +/* 1A315C 8027487C 34420800 */ ori $v0, $v0, 0x800 +/* 1A3160 80274880 0809D227 */ j func_8027489C +/* 1A3164 80274884 AC620000 */ sw $v0, ($v1) + +.L80274888: +/* 1A3168 80274888 3C02800E */ lui $v0, 0x800e +/* 1A316C 8027488C 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 1A3170 80274890 8C430000 */ lw $v1, ($v0) +/* 1A3174 80274894 00641824 */ and $v1, $v1, $a0 +/* 1A3178 80274898 AC430000 */ sw $v1, ($v0) +func_8027489C: +/* 1A317C 8027489C 0C09A75B */ jal get_actor +/* 1A3180 802748A0 8E440148 */ lw $a0, 0x148($s2) +/* 1A3184 802748A4 94430428 */ lhu $v1, 0x428($v0) +/* 1A3188 802748A8 A62301A0 */ sh $v1, 0x1a0($s1) +/* 1A318C 802748AC 92230193 */ lbu $v1, 0x193($s1) +/* 1A3190 802748B0 90420426 */ lbu $v0, 0x426($v0) +/* 1A3194 802748B4 A2230194 */ sb $v1, 0x194($s1) +/* 1A3198 802748B8 306300FF */ andi $v1, $v1, 0xff +/* 1A319C 802748BC A22201A2 */ sb $v0, 0x1a2($s1) +/* 1A31A0 802748C0 240200FF */ addiu $v0, $zero, 0xff +/* 1A31A4 802748C4 50620001 */ beql $v1, $v0, .L802748CC +/* 1A31A8 802748C8 A2200194 */ sb $zero, 0x194($s1) +.L802748CC: +/* 1A31AC 802748CC 8E220190 */ lw $v0, 0x190($s1) +/* 1A31B0 802748D0 30420F00 */ andi $v0, $v0, 0xf00 +/* 1A31B4 802748D4 00021203 */ sra $v0, $v0, 8 +/* 1A31B8 802748D8 0C09C5D5 */ jal calc_player_test_enemy +/* 1A31BC 802748DC A2220195 */ sb $v0, 0x195($s1) +/* 1A31C0 802748E0 04400006 */ bltz $v0, .L802748FC +/* 1A31C4 802748E4 0240202D */ daddu $a0, $s2, $zero +/* 1A31C8 802748E8 0260282D */ daddu $a1, $s3, $zero +/* 1A31CC 802748EC 0C0B2026 */ jal set_variable +/* 1A31D0 802748F0 0040302D */ daddu $a2, $v0, $zero +/* 1A31D4 802748F4 0809D240 */ j func_80274900 +/* 1A31D8 802748F8 24020002 */ addiu $v0, $zero, 2 + +.L802748FC: +/* 1A31DC 802748FC 240200FF */ addiu $v0, $zero, 0xff +func_80274900: +/* 1A31E0 80274900 8FBF0020 */ lw $ra, 0x20($sp) +/* 1A31E4 80274904 8FB3001C */ lw $s3, 0x1c($sp) +/* 1A31E8 80274908 8FB20018 */ lw $s2, 0x18($sp) +/* 1A31EC 8027490C 8FB10014 */ lw $s1, 0x14($sp) +/* 1A31F0 80274910 8FB00010 */ lw $s0, 0x10($sp) +/* 1A31F4 80274914 03E00008 */ jr $ra +/* 1A31F8 80274918 27BD0028 */ addiu $sp, $sp, 0x28 + +DispatchDamagePlayerEvent: +/* 1A31FC 8027491C 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 1A3200 80274920 AFB10014 */ sw $s1, 0x14($sp) +/* 1A3204 80274924 0080882D */ daddu $s1, $a0, $zero +/* 1A3208 80274928 AFBF0018 */ sw $ra, 0x18($sp) +/* 1A320C 8027492C AFB00010 */ sw $s0, 0x10($sp) +/* 1A3210 80274930 8E30000C */ lw $s0, 0xc($s1) +/* 1A3214 80274934 8E050000 */ lw $a1, ($s0) +/* 1A3218 80274938 0C0B1EAF */ jal get_variable +/* 1A321C 8027493C 26100004 */ addiu $s0, $s0, 4 +/* 1A3220 80274940 8E050000 */ lw $a1, ($s0) +/* 1A3224 80274944 0C09CCDF */ jal dispatch_damage_event_player_0 +/* 1A3228 80274948 0040202D */ daddu $a0, $v0, $zero +/* 1A322C 8027494C 04420005 */ bltzl $v0, .L80274964 +/* 1A3230 80274950 0000102D */ daddu $v0, $zero, $zero +/* 1A3234 80274954 0C0B1069 */ jal does_script_exist_by_ref +/* 1A3238 80274958 0220202D */ daddu $a0, $s1, $zero +/* 1A323C 8027495C 0002102B */ sltu $v0, $zero, $v0 +/* 1A3240 80274960 00021040 */ sll $v0, $v0, 1 +.L80274964: +/* 1A3244 80274964 8FBF0018 */ lw $ra, 0x18($sp) +/* 1A3248 80274968 8FB10014 */ lw $s1, 0x14($sp) +/* 1A324C 8027496C 8FB00010 */ lw $s0, 0x10($sp) +/* 1A3250 80274970 03E00008 */ jr $ra +/* 1A3254 80274974 27BD0020 */ addiu $sp, $sp, 0x20 + +EnablePlayerBlur: +/* 1A3258 80274978 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 1A325C 8027497C AFBF0010 */ sw $ra, 0x10($sp) +/* 1A3260 80274980 8C82000C */ lw $v0, 0xc($a0) +/* 1A3264 80274984 0C0B1EAF */ jal get_variable +/* 1A3268 80274988 8C450000 */ lw $a1, ($v0) +/* 1A326C 8027498C 0040182D */ daddu $v1, $v0, $zero +/* 1A3270 80274990 14600005 */ bnez $v1, .L802749A8 +/* 1A3274 80274994 24020001 */ addiu $v0, $zero, 1 +/* 1A3278 80274998 0C095245 */ jal disable_player_blur +/* 1A327C 8027499C 00000000 */ nop +/* 1A3280 802749A0 0809D272 */ j func_802749C8 +/* 1A3284 802749A4 00000000 */ nop + +.L802749A8: +/* 1A3288 802749A8 14620005 */ bne $v1, $v0, .L802749C0 +/* 1A328C 802749AC 00000000 */ nop +/* 1A3290 802749B0 0C0951B5 */ jal enable_player_blur +/* 1A3294 802749B4 00000000 */ nop +/* 1A3298 802749B8 0809D272 */ j func_802749C8 +/* 1A329C 802749BC 00000000 */ nop + +.L802749C0: +/* 1A32A0 802749C0 0C095254 */ jal func_80254950 +/* 1A32A4 802749C4 00000000 */ nop +func_802749C8: +/* 1A32A8 802749C8 8FBF0010 */ lw $ra, 0x10($sp) +/* 1A32AC 802749CC 24020002 */ addiu $v0, $zero, 2 +/* 1A32B0 802749D0 03E00008 */ jr $ra +/* 1A32B4 802749D4 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 1A32B8 802749D8 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 1A32BC 802749DC AFBF0010 */ sw $ra, 0x10($sp) +/* 1A32C0 802749E0 0C095268 */ jal func_802549A0 +/* 1A32C4 802749E4 00000000 */ nop +/* 1A32C8 802749E8 8FBF0010 */ lw $ra, 0x10($sp) +/* 1A32CC 802749EC 24020002 */ addiu $v0, $zero, 2 +/* 1A32D0 802749F0 03E00008 */ jr $ra +/* 1A32D4 802749F4 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 1A32D8 802749F8 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 1A32DC 802749FC AFBF0010 */ sw $ra, 0x10($sp) +/* 1A32E0 80274A00 0C095270 */ jal func_802549C0 +/* 1A32E4 80274A04 00000000 */ nop +/* 1A32E8 80274A08 8FBF0010 */ lw $ra, 0x10($sp) +/* 1A32EC 80274A0C 24020002 */ addiu $v0, $zero, 2 +/* 1A32F0 80274A10 03E00008 */ jr $ra +/* 1A32F4 80274A14 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 1A32F8 80274A18 27BDFFB0 */ addiu $sp, $sp, -0x50 +/* 1A32FC 80274A1C AFB30024 */ sw $s3, 0x24($sp) +/* 1A3300 80274A20 0080982D */ daddu $s3, $a0, $zero +/* 1A3304 80274A24 AFB40028 */ sw $s4, 0x28($sp) +/* 1A3308 80274A28 3C14800E */ lui $s4, 0x800e +/* 1A330C 80274A2C 2694C070 */ addiu $s4, $s4, -0x3f90 +/* 1A3310 80274A30 AFBF002C */ sw $ra, 0x2c($sp) +/* 1A3314 80274A34 AFB20020 */ sw $s2, 0x20($sp) +/* 1A3318 80274A38 AFB1001C */ sw $s1, 0x1c($sp) +/* 1A331C 80274A3C AFB00018 */ sw $s0, 0x18($sp) +/* 1A3320 80274A40 F7BA0048 */ sdc1 $f26, 0x48($sp) +/* 1A3324 80274A44 F7B80040 */ sdc1 $f24, 0x40($sp) +/* 1A3328 80274A48 F7B60038 */ sdc1 $f22, 0x38($sp) +/* 1A332C 80274A4C F7B40030 */ sdc1 $f20, 0x30($sp) +/* 1A3330 80274A50 8E9200D8 */ lw $s2, 0xd8($s4) +/* 1A3334 80274A54 8E71000C */ lw $s1, 0xc($s3) +/* 1A3338 80274A58 10A00010 */ beqz $a1, .L80274A9C +/* 1A333C 80274A5C 2650000C */ addiu $s0, $s2, 0xc +/* 1A3340 80274A60 8E250000 */ lw $a1, ($s1) +/* 1A3344 80274A64 0C0B1EAF */ jal get_variable +/* 1A3348 80274A68 26310004 */ addiu $s1, $s1, 4 +/* 1A334C 80274A6C A6420070 */ sh $v0, 0x70($s2) +/* 1A3350 80274A70 8E250000 */ lw $a1, ($s1) +/* 1A3354 80274A74 0C0B1EAF */ jal get_variable +/* 1A3358 80274A78 0260202D */ daddu $a0, $s3, $zero +/* 1A335C 80274A7C A6420072 */ sh $v0, 0x72($s2) +/* 1A3360 80274A80 AE600074 */ sw $zero, 0x74($s3) +/* 1A3364 80274A84 AE600070 */ sw $zero, 0x70($s3) +/* 1A3368 80274A88 86430072 */ lh $v1, 0x72($s2) +/* 1A336C 80274A8C 24020001 */ addiu $v0, $zero, 1 +/* 1A3370 80274A90 14620002 */ bne $v1, $v0, .L80274A9C +/* 1A3374 80274A94 24020002 */ addiu $v0, $zero, 2 +/* 1A3378 80274A98 AE620070 */ sw $v0, 0x70($s3) +.L80274A9C: +/* 1A337C 80274A9C 8E620070 */ lw $v0, 0x70($s3) +/* 1A3380 80274AA0 144000FC */ bnez $v0, .L80274E94 +/* 1A3384 80274AA4 00000000 */ nop +/* 1A3388 80274AA8 C6400144 */ lwc1 $f0, 0x144($s2) +/* 1A338C 80274AAC C618000C */ lwc1 $f24, 0xc($s0) +/* 1A3390 80274AB0 C61A0014 */ lwc1 $f26, 0x14($s0) +/* 1A3394 80274AB4 E6000000 */ swc1 $f0, ($s0) +/* 1A3398 80274AB8 C6400148 */ lwc1 $f0, 0x148($s2) +/* 1A339C 80274ABC 4406C000 */ mfc1 $a2, $f24 +/* 1A33A0 80274AC0 4407D000 */ mfc1 $a3, $f26 +/* 1A33A4 80274AC4 C6160000 */ lwc1 $f22, ($s0) +/* 1A33A8 80274AC8 E6000004 */ swc1 $f0, 4($s0) +/* 1A33AC 80274ACC C654014C */ lwc1 $f20, 0x14c($s2) +/* 1A33B0 80274AD0 4600B306 */ mov.s $f12, $f22 +/* 1A33B4 80274AD4 4600A386 */ mov.s $f14, $f20 +/* 1A33B8 80274AD8 0C00A720 */ jal atan2 +/* 1A33BC 80274ADC E6140008 */ swc1 $f20, 8($s0) +/* 1A33C0 80274AE0 4600B306 */ mov.s $f12, $f22 +/* 1A33C4 80274AE4 4406C000 */ mfc1 $a2, $f24 +/* 1A33C8 80274AE8 4407D000 */ mfc1 $a3, $f26 +/* 1A33CC 80274AEC 4600A386 */ mov.s $f14, $f20 +/* 1A33D0 80274AF0 0C00A7B5 */ jal dist2D +/* 1A33D4 80274AF4 E6000048 */ swc1 $f0, 0x48($s0) +/* 1A33D8 80274AF8 86020064 */ lh $v0, 0x64($s0) +/* 1A33DC 80274AFC 46000106 */ mov.s $f4, $f0 +/* 1A33E0 80274B00 14400012 */ bnez $v0, .L80274B4C +/* 1A33E4 80274B04 E604004C */ swc1 $f4, 0x4c($s0) +/* 1A33E8 80274B08 C6000040 */ lwc1 $f0, 0x40($s0) +/* 1A33EC 80274B0C C6020040 */ lwc1 $f2, 0x40($s0) +/* 1A33F0 80274B10 46002003 */ div.s $f0, $f4, $f0 +/* 1A33F4 80274B14 4600028D */ trunc.w.s $f10, $f0 +/* 1A33F8 80274B18 44035000 */ mfc1 $v1, $f10 +/* 1A33FC 80274B1C 00000000 */ nop +/* 1A3400 80274B20 00031400 */ sll $v0, $v1, 0x10 +/* 1A3404 80274B24 00021403 */ sra $v0, $v0, 0x10 +/* 1A3408 80274B28 44820000 */ mtc1 $v0, $f0 +/* 1A340C 80274B2C 00000000 */ nop +/* 1A3410 80274B30 46800020 */ cvt.s.w $f0, $f0 +/* 1A3414 80274B34 46020002 */ mul.s $f0, $f0, $f2 +/* 1A3418 80274B38 00000000 */ nop +/* 1A341C 80274B3C 46002086 */ mov.s $f2, $f4 +/* 1A3420 80274B40 A6030064 */ sh $v1, 0x64($s0) +/* 1A3424 80274B44 0809D2E0 */ j func_80274B80 +/* 1A3428 80274B48 46001201 */ sub.s $f8, $f2, $f0 + +.L80274B4C: +/* 1A342C 80274B4C 44821000 */ mtc1 $v0, $f2 +/* 1A3430 80274B50 00000000 */ nop +/* 1A3434 80274B54 468010A0 */ cvt.s.w $f2, $f2 +/* 1A3438 80274B58 86020064 */ lh $v0, 0x64($s0) +/* 1A343C 80274B5C 46022083 */ div.s $f2, $f4, $f2 +/* 1A3440 80274B60 44820000 */ mtc1 $v0, $f0 +/* 1A3444 80274B64 00000000 */ nop +/* 1A3448 80274B68 46800020 */ cvt.s.w $f0, $f0 +/* 1A344C 80274B6C 46020002 */ mul.s $f0, $f0, $f2 +/* 1A3450 80274B70 00000000 */ nop +/* 1A3454 80274B74 C604004C */ lwc1 $f4, 0x4c($s0) +/* 1A3458 80274B78 E6020040 */ swc1 $f2, 0x40($s0) +/* 1A345C 80274B7C 46002201 */ sub.s $f8, $f4, $f0 +func_80274B80: +/* 1A3460 80274B80 86030064 */ lh $v1, 0x64($s0) +/* 1A3464 80274B84 106001BD */ beqz $v1, .L8027527C +/* 1A3468 80274B88 24020002 */ addiu $v0, $zero, 2 +/* 1A346C 80274B8C 86020064 */ lh $v0, 0x64($s0) +/* 1A3470 80274B90 C602000C */ lwc1 $f2, 0xc($s0) +/* 1A3474 80274B94 3C014049 */ lui $at, 0x4049 +/* 1A3478 80274B98 34210FD0 */ ori $at, $at, 0xfd0 +/* 1A347C 80274B9C 44810000 */ mtc1 $at, $f0 +/* 1A3480 80274BA0 C6040000 */ lwc1 $f4, ($s0) +/* 1A3484 80274BA4 44823000 */ mtc1 $v0, $f6 +/* 1A3488 80274BA8 00000000 */ nop +/* 1A348C 80274BAC 468031A0 */ cvt.s.w $f6, $f6 +/* 1A3490 80274BB0 46060003 */ div.s $f0, $f0, $f6 +/* 1A3494 80274BB4 46041081 */ sub.s $f2, $f2, $f4 +/* 1A3498 80274BB8 E600003C */ swc1 $f0, 0x3c($s0) +/* 1A349C 80274BBC 44830000 */ mtc1 $v1, $f0 +/* 1A34A0 80274BC0 00000000 */ nop +/* 1A34A4 80274BC4 46800020 */ cvt.s.w $f0, $f0 +/* 1A34A8 80274BC8 46001083 */ div.s $f2, $f2, $f0 +/* 1A34AC 80274BCC C6000010 */ lwc1 $f0, 0x10($s0) +/* 1A34B0 80274BD0 E6020030 */ swc1 $f2, 0x30($s0) +/* 1A34B4 80274BD4 C6020004 */ lwc1 $f2, 4($s0) +/* 1A34B8 80274BD8 AE000044 */ sw $zero, 0x44($s0) +/* 1A34BC 80274BDC 46020001 */ sub.s $f0, $f0, $f2 +/* 1A34C0 80274BE0 C6040014 */ lwc1 $f4, 0x14($s0) +/* 1A34C4 80274BE4 46003086 */ mov.s $f2, $f6 +/* 1A34C8 80274BE8 46020003 */ div.s $f0, $f0, $f2 +/* 1A34CC 80274BEC E6000034 */ swc1 $f0, 0x34($s0) +/* 1A34D0 80274BF0 46003006 */ mov.s $f0, $f6 +/* 1A34D4 80274BF4 46004003 */ div.s $f0, $f8, $f0 +/* 1A34D8 80274BF8 C6020008 */ lwc1 $f2, 8($s0) +/* 1A34DC 80274BFC 86020066 */ lh $v0, 0x66($s0) +/* 1A34E0 80274C00 46022101 */ sub.s $f4, $f4, $f2 +/* 1A34E4 80274C04 C6020040 */ lwc1 $f2, 0x40($s0) +/* 1A34E8 80274C08 28420003 */ slti $v0, $v0, 3 +/* 1A34EC 80274C0C 46001080 */ add.s $f2, $f2, $f0 +/* 1A34F0 80274C10 46062103 */ div.s $f4, $f4, $f6 +/* 1A34F4 80274C14 E6040038 */ swc1 $f4, 0x38($s0) +/* 1A34F8 80274C18 10400045 */ beqz $v0, .L80274D30 +/* 1A34FC 80274C1C E6020040 */ swc1 $f2, 0x40($s0) +/* 1A3500 80274C20 86020064 */ lh $v0, 0x64($s0) +/* 1A3504 80274C24 24030168 */ addiu $v1, $zero, 0x168 +/* 1A3508 80274C28 14400002 */ bnez $v0, .L80274C34 +/* 1A350C 80274C2C 0062001A */ div $zero, $v1, $v0 +/* 1A3510 80274C30 0007000D */ break 7 +.L80274C34: +/* 1A3514 80274C34 2401FFFF */ addiu $at, $zero, -1 +/* 1A3518 80274C38 14410004 */ bne $v0, $at, .L80274C4C +/* 1A351C 80274C3C 3C018000 */ lui $at, 0x8000 +/* 1A3520 80274C40 14610002 */ bne $v1, $at, .L80274C4C +/* 1A3524 80274C44 00000000 */ nop +/* 1A3528 80274C48 0006000D */ break 6 +.L80274C4C: +/* 1A352C 80274C4C 00001812 */ mflo $v1 +/* 1A3530 80274C50 C608004C */ lwc1 $f8, 0x4c($s0) +/* 1A3534 80274C54 3C014034 */ lui $at, 0x4034 +/* 1A3538 80274C58 44811800 */ mtc1 $at, $f3 +/* 1A353C 80274C5C 44801000 */ mtc1 $zero, $f2 +/* 1A3540 80274C60 46004021 */ cvt.d.s $f0, $f8 +/* 1A3544 80274C64 46220001 */ sub.d $f0, $f0, $f2 +/* 1A3548 80274C68 3C014018 */ lui $at, 0x4018 +/* 1A354C 80274C6C 44811800 */ mtc1 $at, $f3 +/* 1A3550 80274C70 44801000 */ mtc1 $zero, $f2 +/* 1A3554 80274C74 46200220 */ cvt.s.d $f8, $f0 +/* 1A3558 80274C78 46004021 */ cvt.d.s $f0, $f8 +/* 1A355C 80274C7C 46220003 */ div.d $f0, $f0, $f2 +/* 1A3560 80274C80 46200220 */ cvt.s.d $f8, $f0 +/* 1A3564 80274C84 3C01802A */ lui $at, 0x802a +/* 1A3568 80274C88 D422D8A0 */ ldc1 $f2, -0x2760($at) +/* 1A356C 80274C8C 46004021 */ cvt.d.s $f0, $f8 +/* 1A3570 80274C90 46220000 */ add.d $f0, $f0, $f2 +/* 1A3574 80274C94 3C0142B4 */ lui $at, 0x42b4 +/* 1A3578 80274C98 44811000 */ mtc1 $at, $f2 +/* 1A357C 80274C9C 46200220 */ cvt.s.d $f8, $f0 +/* 1A3580 80274CA0 44830000 */ mtc1 $v1, $f0 +/* 1A3584 80274CA4 00000000 */ nop +/* 1A3588 80274CA8 46800020 */ cvt.s.w $f0, $f0 +/* 1A358C 80274CAC 86030066 */ lh $v1, 0x66($s0) +/* 1A3590 80274CB0 24020002 */ addiu $v0, $zero, 2 +/* 1A3594 80274CB4 E6020024 */ swc1 $f2, 0x24($s0) +/* 1A3598 80274CB8 E6080050 */ swc1 $f8, 0x50($s0) +/* 1A359C 80274CBC 14620008 */ bne $v1, $v0, .L80274CE0 +/* 1A35A0 80274CC0 E6000028 */ swc1 $f0, 0x28($s0) +/* 1A35A4 80274CC4 3C01802A */ lui $at, 0x802a +/* 1A35A8 80274CC8 D422D8A8 */ ldc1 $f2, -0x2758($at) +/* 1A35AC 80274CCC 46004021 */ cvt.d.s $f0, $f8 +/* 1A35B0 80274CD0 46220002 */ mul.d $f0, $f0, $f2 +/* 1A35B4 80274CD4 00000000 */ nop +/* 1A35B8 80274CD8 46200020 */ cvt.s.d $f0, $f0 +/* 1A35BC 80274CDC E6000050 */ swc1 $f0, 0x50($s0) +.L80274CE0: +/* 1A35C0 80274CE0 C60C0024 */ lwc1 $f12, 0x24($s0) +/* 1A35C4 80274CE4 3C0140C9 */ lui $at, 0x40c9 +/* 1A35C8 80274CE8 34210FD0 */ ori $at, $at, 0xfd0 +/* 1A35CC 80274CEC 44810000 */ mtc1 $at, $f0 +/* 1A35D0 80274CF0 C6140044 */ lwc1 $f20, 0x44($s0) +/* 1A35D4 80274CF4 C616003C */ lwc1 $f22, 0x3c($s0) +/* 1A35D8 80274CF8 AE000018 */ sw $zero, 0x18($s0) +/* 1A35DC 80274CFC 46006302 */ mul.s $f12, $f12, $f0 +/* 1A35E0 80274D00 00000000 */ nop +/* 1A35E4 80274D04 AE00001C */ sw $zero, 0x1c($s0) +/* 1A35E8 80274D08 4600A521 */ cvt.d.s $f20, $f20 +/* 1A35EC 80274D0C 3C0143B4 */ lui $at, 0x43b4 +/* 1A35F0 80274D10 44810000 */ mtc1 $at, $f0 +/* 1A35F4 80274D14 4600B5A1 */ cvt.d.s $f22, $f22 +/* 1A35F8 80274D18 0C00A85B */ jal sin_rad +/* 1A35FC 80274D1C 46006303 */ div.s $f12, $f12, $f0 +/* 1A3600 80274D20 3C01802A */ lui $at, 0x802a +/* 1A3604 80274D24 D422D8B0 */ ldc1 $f2, -0x2750($at) +/* 1A3608 80274D28 0809D390 */ j func_80274E40 +/* 1A360C 80274D2C 46000021 */ cvt.d.s $f0, $f0 + +.L80274D30: +/* 1A3610 80274D30 86020064 */ lh $v0, 0x64($s0) +/* 1A3614 80274D34 24030168 */ addiu $v1, $zero, 0x168 +/* 1A3618 80274D38 14400002 */ bnez $v0, .L80274D44 +/* 1A361C 80274D3C 0062001A */ div $zero, $v1, $v0 +/* 1A3620 80274D40 0007000D */ break 7 +.L80274D44: +/* 1A3624 80274D44 2401FFFF */ addiu $at, $zero, -1 +/* 1A3628 80274D48 14410004 */ bne $v0, $at, .L80274D5C +/* 1A362C 80274D4C 3C018000 */ lui $at, 0x8000 +/* 1A3630 80274D50 14610002 */ bne $v1, $at, .L80274D5C +/* 1A3634 80274D54 00000000 */ nop +/* 1A3638 80274D58 0006000D */ break 6 +.L80274D5C: +/* 1A363C 80274D5C 00001812 */ mflo $v1 +/* 1A3640 80274D60 C608004C */ lwc1 $f8, 0x4c($s0) +/* 1A3644 80274D64 3C014034 */ lui $at, 0x4034 +/* 1A3648 80274D68 44811800 */ mtc1 $at, $f3 +/* 1A364C 80274D6C 44801000 */ mtc1 $zero, $f2 +/* 1A3650 80274D70 46004021 */ cvt.d.s $f0, $f8 +/* 1A3654 80274D74 46220001 */ sub.d $f0, $f0, $f2 +/* 1A3658 80274D78 3C014018 */ lui $at, 0x4018 +/* 1A365C 80274D7C 44811800 */ mtc1 $at, $f3 +/* 1A3660 80274D80 44801000 */ mtc1 $zero, $f2 +/* 1A3664 80274D84 46200220 */ cvt.s.d $f8, $f0 +/* 1A3668 80274D88 46004021 */ cvt.d.s $f0, $f8 +/* 1A366C 80274D8C 46220003 */ div.d $f0, $f0, $f2 +/* 1A3670 80274D90 46200220 */ cvt.s.d $f8, $f0 +/* 1A3674 80274D94 3C01802A */ lui $at, 0x802a +/* 1A3678 80274D98 D422D8B8 */ ldc1 $f2, -0x2748($at) +/* 1A367C 80274D9C 46004021 */ cvt.d.s $f0, $f8 +/* 1A3680 80274DA0 46220000 */ add.d $f0, $f0, $f2 +/* 1A3684 80274DA4 3C0142B4 */ lui $at, 0x42b4 +/* 1A3688 80274DA8 44811000 */ mtc1 $at, $f2 +/* 1A368C 80274DAC 46200220 */ cvt.s.d $f8, $f0 +/* 1A3690 80274DB0 44830000 */ mtc1 $v1, $f0 +/* 1A3694 80274DB4 00000000 */ nop +/* 1A3698 80274DB8 46800020 */ cvt.s.w $f0, $f0 +/* 1A369C 80274DBC 86030066 */ lh $v1, 0x66($s0) +/* 1A36A0 80274DC0 24020004 */ addiu $v0, $zero, 4 +/* 1A36A4 80274DC4 E6020024 */ swc1 $f2, 0x24($s0) +/* 1A36A8 80274DC8 E6080050 */ swc1 $f8, 0x50($s0) +/* 1A36AC 80274DCC 14620009 */ bne $v1, $v0, .L80274DF4 +/* 1A36B0 80274DD0 E6000028 */ swc1 $f0, 0x28($s0) +/* 1A36B4 80274DD4 3C013FF4 */ lui $at, 0x3ff4 +/* 1A36B8 80274DD8 44811800 */ mtc1 $at, $f3 +/* 1A36BC 80274DDC 44801000 */ mtc1 $zero, $f2 +/* 1A36C0 80274DE0 46004021 */ cvt.d.s $f0, $f8 +/* 1A36C4 80274DE4 46220002 */ mul.d $f0, $f0, $f2 +/* 1A36C8 80274DE8 00000000 */ nop +/* 1A36CC 80274DEC 46200020 */ cvt.s.d $f0, $f0 +/* 1A36D0 80274DF0 E6000050 */ swc1 $f0, 0x50($s0) +.L80274DF4: +/* 1A36D4 80274DF4 C60C0024 */ lwc1 $f12, 0x24($s0) +/* 1A36D8 80274DF8 3C0140C9 */ lui $at, 0x40c9 +/* 1A36DC 80274DFC 34210FD0 */ ori $at, $at, 0xfd0 +/* 1A36E0 80274E00 44810000 */ mtc1 $at, $f0 +/* 1A36E4 80274E04 C6140044 */ lwc1 $f20, 0x44($s0) +/* 1A36E8 80274E08 C616003C */ lwc1 $f22, 0x3c($s0) +/* 1A36EC 80274E0C AE000018 */ sw $zero, 0x18($s0) +/* 1A36F0 80274E10 46006302 */ mul.s $f12, $f12, $f0 +/* 1A36F4 80274E14 00000000 */ nop +/* 1A36F8 80274E18 AE00001C */ sw $zero, 0x1c($s0) +/* 1A36FC 80274E1C 4600A521 */ cvt.d.s $f20, $f20 +/* 1A3700 80274E20 3C0143B4 */ lui $at, 0x43b4 +/* 1A3704 80274E24 44810000 */ mtc1 $at, $f0 +/* 1A3708 80274E28 4600B5A1 */ cvt.d.s $f22, $f22 +/* 1A370C 80274E2C 0C00A85B */ jal sin_rad +/* 1A3710 80274E30 46006303 */ div.s $f12, $f12, $f0 +/* 1A3714 80274E34 3C01802A */ lui $at, 0x802a +/* 1A3718 80274E38 D422D8C0 */ ldc1 $f2, -0x2740($at) +/* 1A371C 80274E3C 46000021 */ cvt.d.s $f0, $f0 +func_80274E40: +/* 1A3720 80274E40 46220002 */ mul.d $f0, $f0, $f2 +/* 1A3724 80274E44 00000000 */ nop +/* 1A3728 80274E48 46360002 */ mul.d $f0, $f0, $f22 +/* 1A372C 80274E4C 00000000 */ nop +/* 1A3730 80274E50 46360000 */ add.d $f0, $f0, $f22 +/* 1A3734 80274E54 4620A500 */ add.d $f20, $f20, $f0 +/* 1A3738 80274E58 4620A520 */ cvt.s.d $f20, $f20 +/* 1A373C 80274E5C E6140044 */ swc1 $f20, 0x44($s0) +/* 1A3740 80274E60 0000202D */ daddu $a0, $zero, $zero +/* 1A3744 80274E64 8E060058 */ lw $a2, 0x58($s0) +/* 1A3748 80274E68 0C098F3F */ jal set_animation +/* 1A374C 80274E6C 0080282D */ daddu $a1, $a0, $zero +/* 1A3750 80274E70 C640014C */ lwc1 $f0, 0x14c($s2) +/* 1A3754 80274E74 24040160 */ addiu $a0, $zero, 0x160 +/* 1A3758 80274E78 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A375C 80274E7C 8E460144 */ lw $a2, 0x144($s2) +/* 1A3760 80274E80 8E470148 */ lw $a3, 0x148($s2) +/* 1A3764 80274E84 0C052757 */ jal play_sound_at_position +/* 1A3768 80274E88 0000282D */ daddu $a1, $zero, $zero +/* 1A376C 80274E8C 24020001 */ addiu $v0, $zero, 1 +/* 1A3770 80274E90 AE620070 */ sw $v0, 0x70($s3) +.L80274E94: +/* 1A3774 80274E94 8E630070 */ lw $v1, 0x70($s3) +/* 1A3778 80274E98 24020002 */ addiu $v0, $zero, 2 +/* 1A377C 80274E9C 10620089 */ beq $v1, $v0, .L802750C4 +/* 1A3780 80274EA0 28620003 */ slti $v0, $v1, 3 +/* 1A3784 80274EA4 10400005 */ beqz $v0, .L80274EBC +/* 1A3788 80274EA8 24020001 */ addiu $v0, $zero, 1 +/* 1A378C 80274EAC 10620008 */ beq $v1, $v0, .L80274ED0 +/* 1A3790 80274EB0 0000102D */ daddu $v0, $zero, $zero +/* 1A3794 80274EB4 0809D49F */ j func_8027527C +/* 1A3798 80274EB8 00000000 */ nop + +.L80274EBC: +/* 1A379C 80274EBC 24020003 */ addiu $v0, $zero, 3 +/* 1A37A0 80274EC0 106200B2 */ beq $v1, $v0, .L8027518C +/* 1A37A4 80274EC4 0000102D */ daddu $v0, $zero, $zero +/* 1A37A8 80274EC8 0809D49F */ j func_8027527C +/* 1A37AC 80274ECC 00000000 */ nop + +.L80274ED0: +/* 1A37B0 80274ED0 C6020044 */ lwc1 $f2, 0x44($s0) +/* 1A37B4 80274ED4 3C013FC9 */ lui $at, 0x3fc9 +/* 1A37B8 80274ED8 34210FD0 */ ori $at, $at, 0xfd0 +/* 1A37BC 80274EDC 44810000 */ mtc1 $at, $f0 +/* 1A37C0 80274EE0 00000000 */ nop +/* 1A37C4 80274EE4 4602003C */ c.lt.s $f0, $f2 +/* 1A37C8 80274EE8 00000000 */ nop +/* 1A37CC 80274EEC 45000004 */ bc1f .L80274F00 +/* 1A37D0 80274EF0 0000202D */ daddu $a0, $zero, $zero +/* 1A37D4 80274EF4 8E06005C */ lw $a2, 0x5c($s0) +/* 1A37D8 80274EF8 0C098F3F */ jal set_animation +/* 1A37DC 80274EFC 0080282D */ daddu $a1, $a0, $zero +.L80274F00: +/* 1A37E0 80274F00 C6060000 */ lwc1 $f6, ($s0) +/* 1A37E4 80274F04 C6000030 */ lwc1 $f0, 0x30($s0) +/* 1A37E8 80274F08 C6040004 */ lwc1 $f4, 4($s0) +/* 1A37EC 80274F0C 46003180 */ add.s $f6, $f6, $f0 +/* 1A37F0 80274F10 C6000034 */ lwc1 $f0, 0x34($s0) +/* 1A37F4 80274F14 C6020008 */ lwc1 $f2, 8($s0) +/* 1A37F8 80274F18 46002100 */ add.s $f4, $f4, $f0 +/* 1A37FC 80274F1C C6000038 */ lwc1 $f0, 0x38($s0) +/* 1A3800 80274F20 46001080 */ add.s $f2, $f2, $f0 +/* 1A3804 80274F24 E6060000 */ swc1 $f6, ($s0) +/* 1A3808 80274F28 E6040004 */ swc1 $f4, 4($s0) +/* 1A380C 80274F2C E6020008 */ swc1 $f2, 8($s0) +/* 1A3810 80274F30 C6400148 */ lwc1 $f0, 0x148($s2) +/* 1A3814 80274F34 46003086 */ mov.s $f2, $f6 +/* 1A3818 80274F38 E6000018 */ swc1 $f0, 0x18($s0) +/* 1A381C 80274F3C E6420144 */ swc1 $f2, 0x144($s2) +/* 1A3820 80274F40 0C00A85B */ jal sin_rad +/* 1A3824 80274F44 C60C0044 */ lwc1 $f12, 0x44($s0) +/* 1A3828 80274F48 C6020050 */ lwc1 $f2, 0x50($s0) +/* 1A382C 80274F4C 46001082 */ mul.s $f2, $f2, $f0 +/* 1A3830 80274F50 00000000 */ nop +/* 1A3834 80274F54 C6000004 */ lwc1 $f0, 4($s0) +/* 1A3838 80274F58 46020000 */ add.s $f0, $f0, $f2 +/* 1A383C 80274F5C E6400148 */ swc1 $f0, 0x148($s2) +/* 1A3840 80274F60 C6000008 */ lwc1 $f0, 8($s0) +/* 1A3844 80274F64 E640014C */ swc1 $f0, 0x14c($s2) +/* 1A3848 80274F68 C6020010 */ lwc1 $f2, 0x10($s0) +/* 1A384C 80274F6C C6400148 */ lwc1 $f0, 0x148($s2) +/* 1A3850 80274F70 4602003C */ c.lt.s $f0, $f2 +/* 1A3854 80274F74 00000000 */ nop +/* 1A3858 80274F78 45000005 */ bc1f .L80274F90 +/* 1A385C 80274F7C 00000000 */ nop +/* 1A3860 80274F80 86020064 */ lh $v0, 0x64($s0) +/* 1A3864 80274F84 28420003 */ slti $v0, $v0, 3 +/* 1A3868 80274F88 54400001 */ bnezl $v0, .L80274F90 +/* 1A386C 80274F8C E6420148 */ swc1 $f2, 0x148($s2) +.L80274F90: +/* 1A3870 80274F90 86020066 */ lh $v0, 0x66($s0) +/* 1A3874 80274F94 C6400148 */ lwc1 $f0, 0x148($s2) +/* 1A3878 80274F98 28420003 */ slti $v0, $v0, 3 +/* 1A387C 80274F9C 10400013 */ beqz $v0, .L80274FEC +/* 1A3880 80274FA0 E600001C */ swc1 $f0, 0x1c($s0) +/* 1A3884 80274FA4 C60C0024 */ lwc1 $f12, 0x24($s0) +/* 1A3888 80274FA8 3C0140C9 */ lui $at, 0x40c9 +/* 1A388C 80274FAC 34210FD0 */ ori $at, $at, 0xfd0 +/* 1A3890 80274FB0 44810000 */ mtc1 $at, $f0 +/* 1A3894 80274FB4 C6140044 */ lwc1 $f20, 0x44($s0) +/* 1A3898 80274FB8 46006302 */ mul.s $f12, $f12, $f0 +/* 1A389C 80274FBC 00000000 */ nop +/* 1A38A0 80274FC0 C616003C */ lwc1 $f22, 0x3c($s0) +/* 1A38A4 80274FC4 4600A521 */ cvt.d.s $f20, $f20 +/* 1A38A8 80274FC8 3C0143B4 */ lui $at, 0x43b4 +/* 1A38AC 80274FCC 44810000 */ mtc1 $at, $f0 +/* 1A38B0 80274FD0 4600B5A1 */ cvt.d.s $f22, $f22 +/* 1A38B4 80274FD4 0C00A85B */ jal sin_rad +/* 1A38B8 80274FD8 46006303 */ div.s $f12, $f12, $f0 +/* 1A38BC 80274FDC 3C01802A */ lui $at, 0x802a +/* 1A38C0 80274FE0 D422D8C8 */ ldc1 $f2, -0x2738($at) +/* 1A38C4 80274FE4 0809D40C */ j func_80275030 +/* 1A38C8 80274FE8 46000021 */ cvt.d.s $f0, $f0 + +.L80274FEC: +/* 1A38CC 80274FEC C60C0024 */ lwc1 $f12, 0x24($s0) +/* 1A38D0 80274FF0 3C0140C9 */ lui $at, 0x40c9 +/* 1A38D4 80274FF4 34210FD0 */ ori $at, $at, 0xfd0 +/* 1A38D8 80274FF8 44810000 */ mtc1 $at, $f0 +/* 1A38DC 80274FFC C6140044 */ lwc1 $f20, 0x44($s0) +/* 1A38E0 80275000 46006302 */ mul.s $f12, $f12, $f0 +/* 1A38E4 80275004 00000000 */ nop +/* 1A38E8 80275008 C616003C */ lwc1 $f22, 0x3c($s0) +/* 1A38EC 8027500C 4600A521 */ cvt.d.s $f20, $f20 +/* 1A38F0 80275010 3C0143B4 */ lui $at, 0x43b4 +/* 1A38F4 80275014 44810000 */ mtc1 $at, $f0 +/* 1A38F8 80275018 4600B5A1 */ cvt.d.s $f22, $f22 +/* 1A38FC 8027501C 0C00A85B */ jal sin_rad +/* 1A3900 80275020 46006303 */ div.s $f12, $f12, $f0 +/* 1A3904 80275024 3C01802A */ lui $at, 0x802a +/* 1A3908 80275028 D422D8D0 */ ldc1 $f2, -0x2730($at) +/* 1A390C 8027502C 46000021 */ cvt.d.s $f0, $f0 +func_80275030: +/* 1A3910 80275030 46220002 */ mul.d $f0, $f0, $f2 +/* 1A3914 80275034 00000000 */ nop +/* 1A3918 80275038 46360002 */ mul.d $f0, $f0, $f22 +/* 1A391C 8027503C 00000000 */ nop +/* 1A3920 80275040 46360000 */ add.d $f0, $f0, $f22 +/* 1A3924 80275044 4620A500 */ add.d $f20, $f20, $f0 +/* 1A3928 80275048 4620A520 */ cvt.s.d $f20, $f20 +/* 1A392C 8027504C E6140044 */ swc1 $f20, 0x44($s0) +/* 1A3930 80275050 C60C0024 */ lwc1 $f12, 0x24($s0) +/* 1A3934 80275054 C6000028 */ lwc1 $f0, 0x28($s0) +/* 1A3938 80275058 46006300 */ add.s $f12, $f12, $f0 +/* 1A393C 8027505C 0C00A6C9 */ jal clamp_angle +/* 1A3940 80275060 E60C0024 */ swc1 $f12, 0x24($s0) +/* 1A3944 80275064 96020064 */ lhu $v0, 0x64($s0) +/* 1A3948 80275068 E6000024 */ swc1 $f0, 0x24($s0) +/* 1A394C 8027506C 2442FFFF */ addiu $v0, $v0, -1 +/* 1A3950 80275070 A6020064 */ sh $v0, 0x64($s0) +/* 1A3954 80275074 00021400 */ sll $v0, $v0, 0x10 +/* 1A3958 80275078 14400080 */ bnez $v0, .L8027527C +/* 1A395C 8027507C 0000102D */ daddu $v0, $zero, $zero +/* 1A3960 80275080 C6000010 */ lwc1 $f0, 0x10($s0) +/* 1A3964 80275084 0000202D */ daddu $a0, $zero, $zero +/* 1A3968 80275088 E6400148 */ swc1 $f0, 0x148($s2) +/* 1A396C 8027508C C6000018 */ lwc1 $f0, 0x18($s0) +/* 1A3970 80275090 C602001C */ lwc1 $f2, 0x1c($s0) +/* 1A3974 80275094 8E060060 */ lw $a2, 0x60($s0) +/* 1A3978 80275098 46020001 */ sub.s $f0, $f0, $f2 +/* 1A397C 8027509C 3C013FE6 */ lui $at, 0x3fe6 +/* 1A3980 802750A0 34216666 */ ori $at, $at, 0x6666 +/* 1A3984 802750A4 44811000 */ mtc1 $at, $f2 +/* 1A3988 802750A8 0080282D */ daddu $a1, $a0, $zero +/* 1A398C 802750AC E602003C */ swc1 $f2, 0x3c($s0) +/* 1A3990 802750B0 46000007 */ neg.s $f0, $f0 +/* 1A3994 802750B4 0C098F3F */ jal set_animation +/* 1A3998 802750B8 E6000044 */ swc1 $f0, 0x44($s0) +/* 1A399C 802750BC 0809D49F */ j func_8027527C +/* 1A39A0 802750C0 24020001 */ addiu $v0, $zero, 1 + +.L802750C4: +/* 1A39A4 802750C4 82820083 */ lb $v0, 0x83($s4) +/* 1A39A8 802750C8 10400063 */ beqz $v0, .L80275258 +/* 1A39AC 802750CC 24020001 */ addiu $v0, $zero, 1 +/* 1A39B0 802750D0 A6020064 */ sh $v0, 0x64($s0) +/* 1A39B4 802750D4 86020064 */ lh $v0, 0x64($s0) +/* 1A39B8 802750D8 24030168 */ addiu $v1, $zero, 0x168 +/* 1A39BC 802750DC 14400002 */ bnez $v0, .L802750E8 +/* 1A39C0 802750E0 0062001A */ div $zero, $v1, $v0 +/* 1A39C4 802750E4 0007000D */ break 7 +.L802750E8: +/* 1A39C8 802750E8 2401FFFF */ addiu $at, $zero, -1 +/* 1A39CC 802750EC 14410004 */ bne $v0, $at, .L80275100 +/* 1A39D0 802750F0 3C018000 */ lui $at, 0x8000 +/* 1A39D4 802750F4 14610002 */ bne $v1, $at, .L80275100 +/* 1A39D8 802750F8 00000000 */ nop +/* 1A39DC 802750FC 0006000D */ break 6 +.L80275100: +/* 1A39E0 80275100 00001812 */ mflo $v1 +/* 1A39E4 80275104 C6020018 */ lwc1 $f2, 0x18($s0) +/* 1A39E8 80275108 C600001C */ lwc1 $f0, 0x1c($s0) +/* 1A39EC 8027510C 3C013FE6 */ lui $at, 0x3fe6 +/* 1A39F0 80275110 34216666 */ ori $at, $at, 0x6666 +/* 1A39F4 80275114 44814000 */ mtc1 $at, $f8 +/* 1A39F8 80275118 C604001C */ lwc1 $f4, 0x1c($s0) +/* 1A39FC 8027511C 46001081 */ sub.s $f2, $f2, $f0 +/* 1A3A00 80275120 C6000018 */ lwc1 $f0, 0x18($s0) +/* 1A3A04 80275124 3C0142B4 */ lui $at, 0x42b4 +/* 1A3A08 80275128 44813000 */ mtc1 $at, $f6 +/* 1A3A0C 8027512C 46040001 */ sub.s $f0, $f0, $f4 +/* 1A3A10 80275130 E608003C */ swc1 $f8, 0x3c($s0) +/* 1A3A14 80275134 E6060024 */ swc1 $f6, 0x24($s0) +/* 1A3A18 80275138 46001087 */ neg.s $f2, $f2 +/* 1A3A1C 8027513C E6020044 */ swc1 $f2, 0x44($s0) +/* 1A3A20 80275140 3C01802A */ lui $at, 0x802a +/* 1A3A24 80275144 D422D8D8 */ ldc1 $f2, -0x2728($at) +/* 1A3A28 80275148 46000005 */ abs.s $f0, $f0 +/* 1A3A2C 8027514C 46000021 */ cvt.d.s $f0, $f0 +/* 1A3A30 80275150 46220003 */ div.d $f0, $f0, $f2 +/* 1A3A34 80275154 46200020 */ cvt.s.d $f0, $f0 +/* 1A3A38 80275158 E6000050 */ swc1 $f0, 0x50($s0) +/* 1A3A3C 8027515C 44830000 */ mtc1 $v1, $f0 +/* 1A3A40 80275160 00000000 */ nop +/* 1A3A44 80275164 46800020 */ cvt.s.w $f0, $f0 +/* 1A3A48 80275168 E6000028 */ swc1 $f0, 0x28($s0) +/* 1A3A4C 8027516C C6400144 */ lwc1 $f0, 0x144($s2) +/* 1A3A50 80275170 E6000000 */ swc1 $f0, ($s0) +/* 1A3A54 80275174 C6400148 */ lwc1 $f0, 0x148($s2) +/* 1A3A58 80275178 E6000004 */ swc1 $f0, 4($s0) +/* 1A3A5C 8027517C C640014C */ lwc1 $f0, 0x14c($s2) +/* 1A3A60 80275180 24020003 */ addiu $v0, $zero, 3 +/* 1A3A64 80275184 E6000008 */ swc1 $f0, 8($s0) +/* 1A3A68 80275188 AE620070 */ sw $v0, 0x70($s3) +.L8027518C: +/* 1A3A6C 8027518C C60C0024 */ lwc1 $f12, 0x24($s0) +/* 1A3A70 80275190 3C0140C9 */ lui $at, 0x40c9 +/* 1A3A74 80275194 34210FD0 */ ori $at, $at, 0xfd0 +/* 1A3A78 80275198 4481B000 */ mtc1 $at, $f22 +/* 1A3A7C 8027519C 00000000 */ nop +/* 1A3A80 802751A0 46166302 */ mul.s $f12, $f12, $f22 +/* 1A3A84 802751A4 00000000 */ nop +/* 1A3A88 802751A8 C6140000 */ lwc1 $f20, ($s0) +/* 1A3A8C 802751AC 3C0143B4 */ lui $at, 0x43b4 +/* 1A3A90 802751B0 4481C000 */ mtc1 $at, $f24 +/* 1A3A94 802751B4 4600A521 */ cvt.d.s $f20, $f20 +/* 1A3A98 802751B8 0C00A85B */ jal sin_rad +/* 1A3A9C 802751BC 46186303 */ div.s $f12, $f12, $f24 +/* 1A3AA0 802751C0 C6020050 */ lwc1 $f2, 0x50($s0) +/* 1A3AA4 802751C4 46001082 */ mul.s $f2, $f2, $f0 +/* 1A3AA8 802751C8 00000000 */ nop +/* 1A3AAC 802751CC C60C0024 */ lwc1 $f12, 0x24($s0) +/* 1A3AB0 802751D0 46166302 */ mul.s $f12, $f12, $f22 +/* 1A3AB4 802751D4 00000000 */ nop +/* 1A3AB8 802751D8 3C01802A */ lui $at, 0x802a +/* 1A3ABC 802751DC D420D8E0 */ ldc1 $f0, -0x2720($at) +/* 1A3AC0 802751E0 460010A1 */ cvt.d.s $f2, $f2 +/* 1A3AC4 802751E4 46201083 */ div.d $f2, $f2, $f0 +/* 1A3AC8 802751E8 4622A500 */ add.d $f20, $f20, $f2 +/* 1A3ACC 802751EC 46186303 */ div.s $f12, $f12, $f24 +/* 1A3AD0 802751F0 4620A520 */ cvt.s.d $f20, $f20 +/* 1A3AD4 802751F4 0C00A85B */ jal sin_rad +/* 1A3AD8 802751F8 E6140000 */ swc1 $f20, ($s0) +/* 1A3ADC 802751FC C6020050 */ lwc1 $f2, 0x50($s0) +/* 1A3AE0 80275200 46001082 */ mul.s $f2, $f2, $f0 +/* 1A3AE4 80275204 00000000 */ nop +/* 1A3AE8 80275208 C60C0024 */ lwc1 $f12, 0x24($s0) +/* 1A3AEC 8027520C C6000028 */ lwc1 $f0, 0x28($s0) +/* 1A3AF0 80275210 46006300 */ add.s $f12, $f12, $f0 +/* 1A3AF4 80275214 C6000004 */ lwc1 $f0, 4($s0) +/* 1A3AF8 80275218 46020001 */ sub.s $f0, $f0, $f2 +/* 1A3AFC 8027521C E60C0024 */ swc1 $f12, 0x24($s0) +/* 1A3B00 80275220 0C00A6C9 */ jal clamp_angle +/* 1A3B04 80275224 E6000004 */ swc1 $f0, 4($s0) +/* 1A3B08 80275228 C6020000 */ lwc1 $f2, ($s0) +/* 1A3B0C 8027522C E6000024 */ swc1 $f0, 0x24($s0) +/* 1A3B10 80275230 E6420144 */ swc1 $f2, 0x144($s2) +/* 1A3B14 80275234 C6000004 */ lwc1 $f0, 4($s0) +/* 1A3B18 80275238 E6400148 */ swc1 $f0, 0x148($s2) +/* 1A3B1C 8027523C C6000008 */ lwc1 $f0, 8($s0) +/* 1A3B20 80275240 E640014C */ swc1 $f0, 0x14c($s2) +/* 1A3B24 80275244 3C02800E */ lui $v0, 0x800e +/* 1A3B28 80275248 8C42C070 */ lw $v0, -0x3f90($v0) +/* 1A3B2C 8027524C 30422000 */ andi $v0, $v0, 0x2000 +/* 1A3B30 80275250 10400003 */ beqz $v0, .L80275260 +/* 1A3B34 80275254 00000000 */ nop +.L80275258: +/* 1A3B38 80275258 0809D49F */ j func_8027527C +/* 1A3B3C 8027525C 24020002 */ addiu $v0, $zero, 2 + +.L80275260: +/* 1A3B40 80275260 96030064 */ lhu $v1, 0x64($s0) +/* 1A3B44 80275264 2463FFFF */ addiu $v1, $v1, -1 +/* 1A3B48 80275268 A6030064 */ sh $v1, 0x64($s0) +/* 1A3B4C 8027526C 00031C00 */ sll $v1, $v1, 0x10 +/* 1A3B50 80275270 10600002 */ beqz $v1, .L8027527C +/* 1A3B54 80275274 24020001 */ addiu $v0, $zero, 1 +/* 1A3B58 80275278 0000102D */ daddu $v0, $zero, $zero +func_8027527C: +.L8027527C: +/* 1A3B5C 8027527C 8FBF002C */ lw $ra, 0x2c($sp) +/* 1A3B60 80275280 8FB40028 */ lw $s4, 0x28($sp) +/* 1A3B64 80275284 8FB30024 */ lw $s3, 0x24($sp) +/* 1A3B68 80275288 8FB20020 */ lw $s2, 0x20($sp) +/* 1A3B6C 8027528C 8FB1001C */ lw $s1, 0x1c($sp) +/* 1A3B70 80275290 8FB00018 */ lw $s0, 0x18($sp) +/* 1A3B74 80275294 D7BA0048 */ ldc1 $f26, 0x48($sp) +/* 1A3B78 80275298 D7B80040 */ ldc1 $f24, 0x40($sp) +/* 1A3B7C 8027529C D7B60038 */ ldc1 $f22, 0x38($sp) +/* 1A3B80 802752A0 D7B40030 */ ldc1 $f20, 0x30($sp) +/* 1A3B84 802752A4 03E00008 */ jr $ra +/* 1A3B88 802752A8 27BD0050 */ addiu $sp, $sp, 0x50 + +/* 1A3B8C 802752AC 27BDFFB0 */ addiu $sp, $sp, -0x50 +/* 1A3B90 802752B0 AFB20020 */ sw $s2, 0x20($sp) +/* 1A3B94 802752B4 3C12800E */ lui $s2, 0x800e +/* 1A3B98 802752B8 8E52C148 */ lw $s2, -0x3eb8($s2) +/* 1A3B9C 802752BC AFB30024 */ sw $s3, 0x24($sp) +/* 1A3BA0 802752C0 0080982D */ daddu $s3, $a0, $zero +/* 1A3BA4 802752C4 AFBF0028 */ sw $ra, 0x28($sp) +/* 1A3BA8 802752C8 AFB1001C */ sw $s1, 0x1c($sp) +/* 1A3BAC 802752CC AFB00018 */ sw $s0, 0x18($sp) +/* 1A3BB0 802752D0 F7BA0048 */ sdc1 $f26, 0x48($sp) +/* 1A3BB4 802752D4 F7B80040 */ sdc1 $f24, 0x40($sp) +/* 1A3BB8 802752D8 F7B60038 */ sdc1 $f22, 0x38($sp) +/* 1A3BBC 802752DC F7B40030 */ sdc1 $f20, 0x30($sp) +/* 1A3BC0 802752E0 8E71000C */ lw $s1, 0xc($s3) +/* 1A3BC4 802752E4 10A00019 */ beqz $a1, .L8027534C +/* 1A3BC8 802752E8 2650000C */ addiu $s0, $s2, 0xc +/* 1A3BCC 802752EC 8E250000 */ lw $a1, ($s1) +/* 1A3BD0 802752F0 0C0B1EAF */ jal get_variable +/* 1A3BD4 802752F4 26310004 */ addiu $s1, $s1, 4 +/* 1A3BD8 802752F8 A6420070 */ sh $v0, 0x70($s2) +/* 1A3BDC 802752FC 8E250000 */ lw $a1, ($s1) +/* 1A3BE0 80275300 0C0B1EAF */ jal get_variable +/* 1A3BE4 80275304 0260202D */ daddu $a0, $s3, $zero +/* 1A3BE8 80275308 A6420072 */ sh $v0, 0x72($s2) +/* 1A3BEC 8027530C AE600070 */ sw $zero, 0x70($s3) +/* 1A3BF0 80275310 86430072 */ lh $v1, 0x72($s2) +/* 1A3BF4 80275314 24020001 */ addiu $v0, $zero, 1 +/* 1A3BF8 80275318 10620005 */ beq $v1, $v0, .L80275330 +/* 1A3BFC 8027531C 24020005 */ addiu $v0, $zero, 5 +/* 1A3C00 80275320 10620003 */ beq $v1, $v0, .L80275330 +/* 1A3C04 80275324 24020006 */ addiu $v0, $zero, 6 +/* 1A3C08 80275328 14620003 */ bne $v1, $v0, .L80275338 +/* 1A3C0C 8027532C 00000000 */ nop +.L80275330: +/* 1A3C10 80275330 2402000A */ addiu $v0, $zero, 0xa +/* 1A3C14 80275334 AE620070 */ sw $v0, 0x70($s3) +.L80275338: +/* 1A3C18 80275338 86030066 */ lh $v1, 0x66($s0) +/* 1A3C1C 8027533C 24020002 */ addiu $v0, $zero, 2 +/* 1A3C20 80275340 14620002 */ bne $v1, $v0, .L8027534C +/* 1A3C24 80275344 24020014 */ addiu $v0, $zero, 0x14 +/* 1A3C28 80275348 AE620070 */ sw $v0, 0x70($s3) +.L8027534C: +/* 1A3C2C 8027534C 8E630070 */ lw $v1, 0x70($s3) +/* 1A3C30 80275350 2402000A */ addiu $v0, $zero, 0xa +/* 1A3C34 80275354 106200C0 */ beq $v1, $v0, .L80275658 +/* 1A3C38 80275358 2862000B */ slti $v0, $v1, 0xb +/* 1A3C3C 8027535C 10400005 */ beqz $v0, .L80275374 +/* 1A3C40 80275360 24020014 */ addiu $v0, $zero, 0x14 +/* 1A3C44 80275364 10600007 */ beqz $v1, .L80275384 +/* 1A3C48 80275368 24020002 */ addiu $v0, $zero, 2 +/* 1A3C4C 8027536C 0809D679 */ j func_802759E4 +/* 1A3C50 80275370 00000000 */ nop + +.L80275374: +/* 1A3C54 80275374 10620172 */ beq $v1, $v0, .L80275940 +/* 1A3C58 80275378 24020001 */ addiu $v0, $zero, 1 +/* 1A3C5C 8027537C 0809D677 */ j func_802759DC +/* 1A3C60 80275380 00000000 */ nop + +.L80275384: +/* 1A3C64 80275384 C6400144 */ lwc1 $f0, 0x144($s2) +/* 1A3C68 80275388 C618000C */ lwc1 $f24, 0xc($s0) +/* 1A3C6C 8027538C C61A0014 */ lwc1 $f26, 0x14($s0) +/* 1A3C70 80275390 E6000000 */ swc1 $f0, ($s0) +/* 1A3C74 80275394 46000586 */ mov.s $f22, $f0 +/* 1A3C78 80275398 4406C000 */ mfc1 $a2, $f24 +/* 1A3C7C 8027539C C6400148 */ lwc1 $f0, 0x148($s2) +/* 1A3C80 802753A0 4600B306 */ mov.s $f12, $f22 +/* 1A3C84 802753A4 E6000004 */ swc1 $f0, 4($s0) +/* 1A3C88 802753A8 C640014C */ lwc1 $f0, 0x14c($s2) +/* 1A3C8C 802753AC 4407D000 */ mfc1 $a3, $f26 +/* 1A3C90 802753B0 46000506 */ mov.s $f20, $f0 +/* 1A3C94 802753B4 4600A386 */ mov.s $f14, $f20 +/* 1A3C98 802753B8 0C00A720 */ jal atan2 +/* 1A3C9C 802753BC E6140008 */ swc1 $f20, 8($s0) +/* 1A3CA0 802753C0 4600B306 */ mov.s $f12, $f22 +/* 1A3CA4 802753C4 4406C000 */ mfc1 $a2, $f24 +/* 1A3CA8 802753C8 4407D000 */ mfc1 $a3, $f26 +/* 1A3CAC 802753CC 4600A386 */ mov.s $f14, $f20 +/* 1A3CB0 802753D0 0C00A7B5 */ jal dist2D +/* 1A3CB4 802753D4 E6000048 */ swc1 $f0, 0x48($s0) +/* 1A3CB8 802753D8 86020064 */ lh $v0, 0x64($s0) +/* 1A3CBC 802753DC 46000106 */ mov.s $f4, $f0 +/* 1A3CC0 802753E0 14400012 */ bnez $v0, .L8027542C +/* 1A3CC4 802753E4 E604004C */ swc1 $f4, 0x4c($s0) +/* 1A3CC8 802753E8 C6000040 */ lwc1 $f0, 0x40($s0) +/* 1A3CCC 802753EC C6020040 */ lwc1 $f2, 0x40($s0) +/* 1A3CD0 802753F0 46002003 */ div.s $f0, $f4, $f0 +/* 1A3CD4 802753F4 4600028D */ trunc.w.s $f10, $f0 +/* 1A3CD8 802753F8 44035000 */ mfc1 $v1, $f10 +/* 1A3CDC 802753FC 00000000 */ nop +/* 1A3CE0 80275400 00031400 */ sll $v0, $v1, 0x10 +/* 1A3CE4 80275404 00021403 */ sra $v0, $v0, 0x10 +/* 1A3CE8 80275408 44820000 */ mtc1 $v0, $f0 +/* 1A3CEC 8027540C 00000000 */ nop +/* 1A3CF0 80275410 46800020 */ cvt.s.w $f0, $f0 +/* 1A3CF4 80275414 46020002 */ mul.s $f0, $f0, $f2 +/* 1A3CF8 80275418 00000000 */ nop +/* 1A3CFC 8027541C 46002086 */ mov.s $f2, $f4 +/* 1A3D00 80275420 A6030064 */ sh $v1, 0x64($s0) +/* 1A3D04 80275424 0809D518 */ j func_80275460 +/* 1A3D08 80275428 46001201 */ sub.s $f8, $f2, $f0 + +.L8027542C: +/* 1A3D0C 8027542C 44821000 */ mtc1 $v0, $f2 +/* 1A3D10 80275430 00000000 */ nop +/* 1A3D14 80275434 468010A0 */ cvt.s.w $f2, $f2 +/* 1A3D18 80275438 86020064 */ lh $v0, 0x64($s0) +/* 1A3D1C 8027543C 46022083 */ div.s $f2, $f4, $f2 +/* 1A3D20 80275440 44820000 */ mtc1 $v0, $f0 +/* 1A3D24 80275444 00000000 */ nop +/* 1A3D28 80275448 46800020 */ cvt.s.w $f0, $f0 +/* 1A3D2C 8027544C 46020002 */ mul.s $f0, $f0, $f2 +/* 1A3D30 80275450 00000000 */ nop +/* 1A3D34 80275454 C604004C */ lwc1 $f4, 0x4c($s0) +/* 1A3D38 80275458 E6020040 */ swc1 $f2, 0x40($s0) +/* 1A3D3C 8027545C 46002201 */ sub.s $f8, $f4, $f0 +func_80275460: +/* 1A3D40 80275460 86030064 */ lh $v1, 0x64($s0) +/* 1A3D44 80275464 1060029B */ beqz $v1, .L80275ED4 +/* 1A3D48 80275468 24020002 */ addiu $v0, $zero, 2 +/* 1A3D4C 8027546C 86020064 */ lh $v0, 0x64($s0) +/* 1A3D50 80275470 C602000C */ lwc1 $f2, 0xc($s0) +/* 1A3D54 80275474 3C013FC9 */ lui $at, 0x3fc9 +/* 1A3D58 80275478 34210FD0 */ ori $at, $at, 0xfd0 +/* 1A3D5C 8027547C 44810000 */ mtc1 $at, $f0 +/* 1A3D60 80275480 C6040000 */ lwc1 $f4, ($s0) +/* 1A3D64 80275484 44823000 */ mtc1 $v0, $f6 +/* 1A3D68 80275488 00000000 */ nop +/* 1A3D6C 8027548C 468031A0 */ cvt.s.w $f6, $f6 +/* 1A3D70 80275490 46060003 */ div.s $f0, $f0, $f6 +/* 1A3D74 80275494 46041081 */ sub.s $f2, $f2, $f4 +/* 1A3D78 80275498 E600003C */ swc1 $f0, 0x3c($s0) +/* 1A3D7C 8027549C 44830000 */ mtc1 $v1, $f0 +/* 1A3D80 802754A0 00000000 */ nop +/* 1A3D84 802754A4 46800020 */ cvt.s.w $f0, $f0 +/* 1A3D88 802754A8 46001083 */ div.s $f2, $f2, $f0 +/* 1A3D8C 802754AC C6000010 */ lwc1 $f0, 0x10($s0) +/* 1A3D90 802754B0 0000202D */ daddu $a0, $zero, $zero +/* 1A3D94 802754B4 E6020030 */ swc1 $f2, 0x30($s0) +/* 1A3D98 802754B8 C6020004 */ lwc1 $f2, 4($s0) +/* 1A3D9C 802754BC 8E060058 */ lw $a2, 0x58($s0) +/* 1A3DA0 802754C0 46020001 */ sub.s $f0, $f0, $f2 +/* 1A3DA4 802754C4 C6040014 */ lwc1 $f4, 0x14($s0) +/* 1A3DA8 802754C8 46003086 */ mov.s $f2, $f6 +/* 1A3DAC 802754CC 46020003 */ div.s $f0, $f0, $f2 +/* 1A3DB0 802754D0 C6020008 */ lwc1 $f2, 8($s0) +/* 1A3DB4 802754D4 0080282D */ daddu $a1, $a0, $zero +/* 1A3DB8 802754D8 AE000044 */ sw $zero, 0x44($s0) +/* 1A3DBC 802754DC E6000034 */ swc1 $f0, 0x34($s0) +/* 1A3DC0 802754E0 46003006 */ mov.s $f0, $f6 +/* 1A3DC4 802754E4 46022101 */ sub.s $f4, $f4, $f2 +/* 1A3DC8 802754E8 C6020040 */ lwc1 $f2, 0x40($s0) +/* 1A3DCC 802754EC 46004003 */ div.s $f0, $f8, $f0 +/* 1A3DD0 802754F0 46001080 */ add.s $f2, $f2, $f0 +/* 1A3DD4 802754F4 46062103 */ div.s $f4, $f4, $f6 +/* 1A3DD8 802754F8 E6040038 */ swc1 $f4, 0x38($s0) +/* 1A3DDC 802754FC 0C098F3F */ jal set_animation +/* 1A3DE0 80275500 E6020040 */ swc1 $f2, 0x40($s0) +/* 1A3DE4 80275504 C640014C */ lwc1 $f0, 0x14c($s2) +/* 1A3DE8 80275508 24040160 */ addiu $a0, $zero, 0x160 +/* 1A3DEC 8027550C E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A3DF0 80275510 8E460144 */ lw $a2, 0x144($s2) +/* 1A3DF4 80275514 8E470148 */ lw $a3, 0x148($s2) +/* 1A3DF8 80275518 0C052757 */ jal play_sound_at_position +/* 1A3DFC 8027551C 0000282D */ daddu $a1, $zero, $zero +/* 1A3E00 80275520 86030064 */ lh $v1, 0x64($s0) +/* 1A3E04 80275524 24020168 */ addiu $v0, $zero, 0x168 +/* 1A3E08 80275528 14600002 */ bnez $v1, .L80275534 +/* 1A3E0C 8027552C 0043001A */ div $zero, $v0, $v1 +/* 1A3E10 80275530 0007000D */ break 7 +.L80275534: +/* 1A3E14 80275534 2401FFFF */ addiu $at, $zero, -1 +/* 1A3E18 80275538 14610004 */ bne $v1, $at, .L8027554C +/* 1A3E1C 8027553C 3C018000 */ lui $at, 0x8000 +/* 1A3E20 80275540 14410002 */ bne $v0, $at, .L8027554C +/* 1A3E24 80275544 00000000 */ nop +/* 1A3E28 80275548 0006000D */ break 6 +.L8027554C: +/* 1A3E2C 8027554C 00001012 */ mflo $v0 +/* 1A3E30 80275550 3C0142B4 */ lui $at, 0x42b4 +/* 1A3E34 80275554 44810000 */ mtc1 $at, $f0 +/* 1A3E38 80275558 3C014234 */ lui $at, 0x4234 +/* 1A3E3C 8027555C 44811000 */ mtc1 $at, $f2 +/* 1A3E40 80275560 86030066 */ lh $v1, 0x66($s0) +/* 1A3E44 80275564 E6000024 */ swc1 $f0, 0x24($s0) +/* 1A3E48 80275568 E6020050 */ swc1 $f2, 0x50($s0) +/* 1A3E4C 8027556C 44820000 */ mtc1 $v0, $f0 +/* 1A3E50 80275570 00000000 */ nop +/* 1A3E54 80275574 46800020 */ cvt.s.w $f0, $f0 +/* 1A3E58 80275578 24020004 */ addiu $v0, $zero, 4 +/* 1A3E5C 8027557C 14620005 */ bne $v1, $v0, .L80275594 +/* 1A3E60 80275580 E6000028 */ swc1 $f0, 0x28($s0) +/* 1A3E64 80275584 3C014261 */ lui $at, 0x4261 +/* 1A3E68 80275588 44810000 */ mtc1 $at, $f0 +/* 1A3E6C 8027558C 00000000 */ nop +/* 1A3E70 80275590 E6000050 */ swc1 $f0, 0x50($s0) +.L80275594: +/* 1A3E74 80275594 86020066 */ lh $v0, 0x66($s0) +/* 1A3E78 80275598 AE000018 */ sw $zero, 0x18($s0) +/* 1A3E7C 8027559C 14400013 */ bnez $v0, .L802755EC +/* 1A3E80 802755A0 AE00001C */ sw $zero, 0x1c($s0) +/* 1A3E84 802755A4 C60C0024 */ lwc1 $f12, 0x24($s0) +/* 1A3E88 802755A8 3C0140C9 */ lui $at, 0x40c9 +/* 1A3E8C 802755AC 34210FD0 */ ori $at, $at, 0xfd0 +/* 1A3E90 802755B0 44810000 */ mtc1 $at, $f0 +/* 1A3E94 802755B4 C6140044 */ lwc1 $f20, 0x44($s0) +/* 1A3E98 802755B8 46006302 */ mul.s $f12, $f12, $f0 +/* 1A3E9C 802755BC 00000000 */ nop +/* 1A3EA0 802755C0 C616003C */ lwc1 $f22, 0x3c($s0) +/* 1A3EA4 802755C4 4600A521 */ cvt.d.s $f20, $f20 +/* 1A3EA8 802755C8 3C0143B4 */ lui $at, 0x43b4 +/* 1A3EAC 802755CC 44810000 */ mtc1 $at, $f0 +/* 1A3EB0 802755D0 4600B5A1 */ cvt.d.s $f22, $f22 +/* 1A3EB4 802755D4 0C00A85B */ jal sin_rad +/* 1A3EB8 802755D8 46006303 */ div.s $f12, $f12, $f0 +/* 1A3EBC 802755DC 3C01802A */ lui $at, 0x802a +/* 1A3EC0 802755E0 D422D8E8 */ ldc1 $f2, -0x2718($at) +/* 1A3EC4 802755E4 0809D58C */ j func_80275630 +/* 1A3EC8 802755E8 46000021 */ cvt.d.s $f0, $f0 + +.L802755EC: +/* 1A3ECC 802755EC C60C0024 */ lwc1 $f12, 0x24($s0) +/* 1A3ED0 802755F0 3C0140C9 */ lui $at, 0x40c9 +/* 1A3ED4 802755F4 34210FD0 */ ori $at, $at, 0xfd0 +/* 1A3ED8 802755F8 44810000 */ mtc1 $at, $f0 +/* 1A3EDC 802755FC C6140044 */ lwc1 $f20, 0x44($s0) +/* 1A3EE0 80275600 46006302 */ mul.s $f12, $f12, $f0 +/* 1A3EE4 80275604 00000000 */ nop +/* 1A3EE8 80275608 C616003C */ lwc1 $f22, 0x3c($s0) +/* 1A3EEC 8027560C 4600A521 */ cvt.d.s $f20, $f20 +/* 1A3EF0 80275610 3C0143B4 */ lui $at, 0x43b4 +/* 1A3EF4 80275614 44810000 */ mtc1 $at, $f0 +/* 1A3EF8 80275618 4600B5A1 */ cvt.d.s $f22, $f22 +/* 1A3EFC 8027561C 0C00A85B */ jal sin_rad +/* 1A3F00 80275620 46006303 */ div.s $f12, $f12, $f0 +/* 1A3F04 80275624 3C01802A */ lui $at, 0x802a +/* 1A3F08 80275628 D422D8F0 */ ldc1 $f2, -0x2710($at) +/* 1A3F0C 8027562C 46000021 */ cvt.d.s $f0, $f0 +func_80275630: +/* 1A3F10 80275630 46220002 */ mul.d $f0, $f0, $f2 +/* 1A3F14 80275634 00000000 */ nop +/* 1A3F18 80275638 46360002 */ mul.d $f0, $f0, $f22 +/* 1A3F1C 8027563C 00000000 */ nop +/* 1A3F20 80275640 46360000 */ add.d $f0, $f0, $f22 +/* 1A3F24 80275644 4620A500 */ add.d $f20, $f20, $f0 +/* 1A3F28 80275648 4620A520 */ cvt.s.d $f20, $f20 +/* 1A3F2C 8027564C E6140044 */ swc1 $f20, 0x44($s0) +/* 1A3F30 80275650 0809D676 */ j func_802759D8 +/* 1A3F34 80275654 24020001 */ addiu $v0, $zero, 1 + +.L80275658: +/* 1A3F38 80275658 C6400144 */ lwc1 $f0, 0x144($s2) +/* 1A3F3C 8027565C C618000C */ lwc1 $f24, 0xc($s0) +/* 1A3F40 80275660 C61A0014 */ lwc1 $f26, 0x14($s0) +/* 1A3F44 80275664 E6000000 */ swc1 $f0, ($s0) +/* 1A3F48 80275668 46000586 */ mov.s $f22, $f0 +/* 1A3F4C 8027566C 4406C000 */ mfc1 $a2, $f24 +/* 1A3F50 80275670 C6400148 */ lwc1 $f0, 0x148($s2) +/* 1A3F54 80275674 4600B306 */ mov.s $f12, $f22 +/* 1A3F58 80275678 E6000004 */ swc1 $f0, 4($s0) +/* 1A3F5C 8027567C C640014C */ lwc1 $f0, 0x14c($s2) +/* 1A3F60 80275680 4407D000 */ mfc1 $a3, $f26 +/* 1A3F64 80275684 46000506 */ mov.s $f20, $f0 +/* 1A3F68 80275688 4600A386 */ mov.s $f14, $f20 +/* 1A3F6C 8027568C 0C00A720 */ jal atan2 +/* 1A3F70 80275690 E6140008 */ swc1 $f20, 8($s0) +/* 1A3F74 80275694 4600B306 */ mov.s $f12, $f22 +/* 1A3F78 80275698 4406C000 */ mfc1 $a2, $f24 +/* 1A3F7C 8027569C 4407D000 */ mfc1 $a3, $f26 +/* 1A3F80 802756A0 4600A386 */ mov.s $f14, $f20 +/* 1A3F84 802756A4 0C00A7B5 */ jal dist2D +/* 1A3F88 802756A8 E6000048 */ swc1 $f0, 0x48($s0) +/* 1A3F8C 802756AC 86020064 */ lh $v0, 0x64($s0) +/* 1A3F90 802756B0 46000106 */ mov.s $f4, $f0 +/* 1A3F94 802756B4 14400012 */ bnez $v0, .L80275700 +/* 1A3F98 802756B8 E604004C */ swc1 $f4, 0x4c($s0) +/* 1A3F9C 802756BC C6000040 */ lwc1 $f0, 0x40($s0) +/* 1A3FA0 802756C0 C6020040 */ lwc1 $f2, 0x40($s0) +/* 1A3FA4 802756C4 46002003 */ div.s $f0, $f4, $f0 +/* 1A3FA8 802756C8 4600028D */ trunc.w.s $f10, $f0 +/* 1A3FAC 802756CC 44035000 */ mfc1 $v1, $f10 +/* 1A3FB0 802756D0 00000000 */ nop +/* 1A3FB4 802756D4 00031400 */ sll $v0, $v1, 0x10 +/* 1A3FB8 802756D8 00021403 */ sra $v0, $v0, 0x10 +/* 1A3FBC 802756DC 44820000 */ mtc1 $v0, $f0 +/* 1A3FC0 802756E0 00000000 */ nop +/* 1A3FC4 802756E4 46800020 */ cvt.s.w $f0, $f0 +/* 1A3FC8 802756E8 46020002 */ mul.s $f0, $f0, $f2 +/* 1A3FCC 802756EC 00000000 */ nop +/* 1A3FD0 802756F0 46002086 */ mov.s $f2, $f4 +/* 1A3FD4 802756F4 A6030064 */ sh $v1, 0x64($s0) +/* 1A3FD8 802756F8 0809D5CD */ j func_80275734 +/* 1A3FDC 802756FC 46001201 */ sub.s $f8, $f2, $f0 + +.L80275700: +/* 1A3FE0 80275700 44821000 */ mtc1 $v0, $f2 +/* 1A3FE4 80275704 00000000 */ nop +/* 1A3FE8 80275708 468010A0 */ cvt.s.w $f2, $f2 +/* 1A3FEC 8027570C 86020064 */ lh $v0, 0x64($s0) +/* 1A3FF0 80275710 46022083 */ div.s $f2, $f4, $f2 +/* 1A3FF4 80275714 44820000 */ mtc1 $v0, $f0 +/* 1A3FF8 80275718 00000000 */ nop +/* 1A3FFC 8027571C 46800020 */ cvt.s.w $f0, $f0 +/* 1A4000 80275720 46020002 */ mul.s $f0, $f0, $f2 +/* 1A4004 80275724 00000000 */ nop +/* 1A4008 80275728 C604004C */ lwc1 $f4, 0x4c($s0) +/* 1A400C 8027572C E6020040 */ swc1 $f2, 0x40($s0) +/* 1A4010 80275730 46002201 */ sub.s $f8, $f4, $f0 +func_80275734: +/* 1A4014 80275734 86030064 */ lh $v1, 0x64($s0) +/* 1A4018 80275738 106001DD */ beqz $v1, .L80275EB0 +/* 1A401C 8027573C 0000202D */ daddu $a0, $zero, $zero +/* 1A4020 80275740 8E060060 */ lw $a2, 0x60($s0) +/* 1A4024 80275744 3C013FC9 */ lui $at, 0x3fc9 +/* 1A4028 80275748 34210FD0 */ ori $at, $at, 0xfd0 +/* 1A402C 8027574C 44810000 */ mtc1 $at, $f0 +/* 1A4030 80275750 86020064 */ lh $v0, 0x64($s0) +/* 1A4034 80275754 C602000C */ lwc1 $f2, 0xc($s0) +/* 1A4038 80275758 C6040000 */ lwc1 $f4, ($s0) +/* 1A403C 8027575C 24420001 */ addiu $v0, $v0, 1 +/* 1A4040 80275760 44823000 */ mtc1 $v0, $f6 +/* 1A4044 80275764 00000000 */ nop +/* 1A4048 80275768 468031A0 */ cvt.s.w $f6, $f6 +/* 1A404C 8027576C 46041081 */ sub.s $f2, $f2, $f4 +/* 1A4050 80275770 E6000044 */ swc1 $f0, 0x44($s0) +/* 1A4054 80275774 3C013F49 */ lui $at, 0x3f49 +/* 1A4058 80275778 34210FD0 */ ori $at, $at, 0xfd0 +/* 1A405C 8027577C 44810000 */ mtc1 $at, $f0 +/* 1A4060 80275780 86020064 */ lh $v0, 0x64($s0) +/* 1A4064 80275784 46060003 */ div.s $f0, $f0, $f6 +/* 1A4068 80275788 E600003C */ swc1 $f0, 0x3c($s0) +/* 1A406C 8027578C 44830000 */ mtc1 $v1, $f0 +/* 1A4070 80275790 00000000 */ nop +/* 1A4074 80275794 46800020 */ cvt.s.w $f0, $f0 +/* 1A4078 80275798 46001083 */ div.s $f2, $f2, $f0 +/* 1A407C 8027579C C6000010 */ lwc1 $f0, 0x10($s0) +/* 1A4080 802757A0 E6020030 */ swc1 $f2, 0x30($s0) +/* 1A4084 802757A4 C6020004 */ lwc1 $f2, 4($s0) +/* 1A4088 802757A8 C6040014 */ lwc1 $f4, 0x14($s0) +/* 1A408C 802757AC 46020001 */ sub.s $f0, $f0, $f2 +/* 1A4090 802757B0 44821000 */ mtc1 $v0, $f2 +/* 1A4094 802757B4 00000000 */ nop +/* 1A4098 802757B8 468010A0 */ cvt.s.w $f2, $f2 +/* 1A409C 802757BC 46001186 */ mov.s $f6, $f2 +/* 1A40A0 802757C0 46020003 */ div.s $f0, $f0, $f2 +/* 1A40A4 802757C4 C6020008 */ lwc1 $f2, 8($s0) +/* 1A40A8 802757C8 0080282D */ daddu $a1, $a0, $zero +/* 1A40AC 802757CC E6000034 */ swc1 $f0, 0x34($s0) +/* 1A40B0 802757D0 46003006 */ mov.s $f0, $f6 +/* 1A40B4 802757D4 46022101 */ sub.s $f4, $f4, $f2 +/* 1A40B8 802757D8 C6020040 */ lwc1 $f2, 0x40($s0) +/* 1A40BC 802757DC 46004003 */ div.s $f0, $f8, $f0 +/* 1A40C0 802757E0 46001080 */ add.s $f2, $f2, $f0 +/* 1A40C4 802757E4 46062103 */ div.s $f4, $f4, $f6 +/* 1A40C8 802757E8 E6040038 */ swc1 $f4, 0x38($s0) +/* 1A40CC 802757EC 0C098F3F */ jal set_animation +/* 1A40D0 802757F0 E6020040 */ swc1 $f2, 0x40($s0) +/* 1A40D4 802757F4 86030064 */ lh $v1, 0x64($s0) +/* 1A40D8 802757F8 24020168 */ addiu $v0, $zero, 0x168 +/* 1A40DC 802757FC 14600002 */ bnez $v1, .L80275808 +/* 1A40E0 80275800 0043001A */ div $zero, $v0, $v1 +/* 1A40E4 80275804 0007000D */ break 7 +.L80275808: +/* 1A40E8 80275808 2401FFFF */ addiu $at, $zero, -1 +/* 1A40EC 8027580C 14610004 */ bne $v1, $at, .L80275820 +/* 1A40F0 80275810 3C018000 */ lui $at, 0x8000 +/* 1A40F4 80275814 14410002 */ bne $v0, $at, .L80275820 +/* 1A40F8 80275818 00000000 */ nop +/* 1A40FC 8027581C 0006000D */ break 6 +.L80275820: +/* 1A4100 80275820 00001012 */ mflo $v0 +/* 1A4104 80275824 3C0142B4 */ lui $at, 0x42b4 +/* 1A4108 80275828 44810000 */ mtc1 $at, $f0 +/* 1A410C 8027582C 3C014234 */ lui $at, 0x4234 +/* 1A4110 80275830 44811000 */ mtc1 $at, $f2 +/* 1A4114 80275834 86030066 */ lh $v1, 0x66($s0) +/* 1A4118 80275838 E6000024 */ swc1 $f0, 0x24($s0) +/* 1A411C 8027583C E6020050 */ swc1 $f2, 0x50($s0) +/* 1A4120 80275840 44820000 */ mtc1 $v0, $f0 +/* 1A4124 80275844 00000000 */ nop +/* 1A4128 80275848 46800020 */ cvt.s.w $f0, $f0 +/* 1A412C 8027584C 24020005 */ addiu $v0, $zero, 5 +/* 1A4130 80275850 14620005 */ bne $v1, $v0, .L80275868 +/* 1A4134 80275854 E6000028 */ swc1 $f0, 0x28($s0) +/* 1A4138 80275858 3C014261 */ lui $at, 0x4261 +/* 1A413C 8027585C 44810000 */ mtc1 $at, $f0 +/* 1A4140 80275860 00000000 */ nop +/* 1A4144 80275864 E6000050 */ swc1 $f0, 0x50($s0) +.L80275868: +/* 1A4148 80275868 86030066 */ lh $v1, 0x66($s0) +/* 1A414C 8027586C 24020001 */ addiu $v0, $zero, 1 +/* 1A4150 80275870 AE000018 */ sw $zero, 0x18($s0) +/* 1A4154 80275874 14620013 */ bne $v1, $v0, .L802758C4 +/* 1A4158 80275878 AE00001C */ sw $zero, 0x1c($s0) +/* 1A415C 8027587C C60C0024 */ lwc1 $f12, 0x24($s0) +/* 1A4160 80275880 3C0140C9 */ lui $at, 0x40c9 +/* 1A4164 80275884 34210FD0 */ ori $at, $at, 0xfd0 +/* 1A4168 80275888 44810000 */ mtc1 $at, $f0 +/* 1A416C 8027588C C6140044 */ lwc1 $f20, 0x44($s0) +/* 1A4170 80275890 46006302 */ mul.s $f12, $f12, $f0 +/* 1A4174 80275894 00000000 */ nop +/* 1A4178 80275898 C616003C */ lwc1 $f22, 0x3c($s0) +/* 1A417C 8027589C 4600A521 */ cvt.d.s $f20, $f20 +/* 1A4180 802758A0 3C0143B4 */ lui $at, 0x43b4 +/* 1A4184 802758A4 44810000 */ mtc1 $at, $f0 +/* 1A4188 802758A8 4600B5A1 */ cvt.d.s $f22, $f22 +/* 1A418C 802758AC 0C00A85B */ jal sin_rad +/* 1A4190 802758B0 46006303 */ div.s $f12, $f12, $f0 +/* 1A4194 802758B4 3C01802A */ lui $at, 0x802a +/* 1A4198 802758B8 D422D8F8 */ ldc1 $f2, -0x2708($at) +/* 1A419C 802758BC 0809D642 */ j func_80275908 +/* 1A41A0 802758C0 46000021 */ cvt.d.s $f0, $f0 + +.L802758C4: +/* 1A41A4 802758C4 C60C0024 */ lwc1 $f12, 0x24($s0) +/* 1A41A8 802758C8 3C0140C9 */ lui $at, 0x40c9 +/* 1A41AC 802758CC 34210FD0 */ ori $at, $at, 0xfd0 +/* 1A41B0 802758D0 44810000 */ mtc1 $at, $f0 +/* 1A41B4 802758D4 C6140044 */ lwc1 $f20, 0x44($s0) +/* 1A41B8 802758D8 46006302 */ mul.s $f12, $f12, $f0 +/* 1A41BC 802758DC 00000000 */ nop +/* 1A41C0 802758E0 C616003C */ lwc1 $f22, 0x3c($s0) +/* 1A41C4 802758E4 4600A521 */ cvt.d.s $f20, $f20 +/* 1A41C8 802758E8 3C0143B4 */ lui $at, 0x43b4 +/* 1A41CC 802758EC 44810000 */ mtc1 $at, $f0 +/* 1A41D0 802758F0 4600B5A1 */ cvt.d.s $f22, $f22 +/* 1A41D4 802758F4 0C00A85B */ jal sin_rad +/* 1A41D8 802758F8 46006303 */ div.s $f12, $f12, $f0 +/* 1A41DC 802758FC 3C01802A */ lui $at, 0x802a +/* 1A41E0 80275900 D422D900 */ ldc1 $f2, -0x2700($at) +/* 1A41E4 80275904 46000021 */ cvt.d.s $f0, $f0 +func_80275908: +/* 1A41E8 80275908 46220002 */ mul.d $f0, $f0, $f2 +/* 1A41EC 8027590C 00000000 */ nop +/* 1A41F0 80275910 46360002 */ mul.d $f0, $f0, $f22 +/* 1A41F4 80275914 00000000 */ nop +/* 1A41F8 80275918 46360000 */ add.d $f0, $f0, $f22 +/* 1A41FC 8027591C 4620A500 */ add.d $f20, $f20, $f0 +/* 1A4200 80275920 4620A520 */ cvt.s.d $f20, $f20 +/* 1A4204 80275924 E6140044 */ swc1 $f20, 0x44($s0) +/* 1A4208 80275928 C6400148 */ lwc1 $f0, 0x148($s2) +/* 1A420C 8027592C C6020050 */ lwc1 $f2, 0x50($s0) +/* 1A4210 80275930 46020001 */ sub.s $f0, $f0, $f2 +/* 1A4214 80275934 2402000B */ addiu $v0, $zero, 0xb +/* 1A4218 80275938 0809D676 */ j func_802759D8 +/* 1A421C 8027593C E6000004 */ swc1 $f0, 4($s0) + +.L80275940: +/* 1A4220 80275940 A6020064 */ sh $v0, 0x64($s0) +/* 1A4224 80275944 86020064 */ lh $v0, 0x64($s0) +/* 1A4228 80275948 24030168 */ addiu $v1, $zero, 0x168 +/* 1A422C 8027594C 14400002 */ bnez $v0, .L80275958 +/* 1A4230 80275950 0062001A */ div $zero, $v1, $v0 +/* 1A4234 80275954 0007000D */ break 7 +.L80275958: +/* 1A4238 80275958 2401FFFF */ addiu $at, $zero, -1 +/* 1A423C 8027595C 14410004 */ bne $v0, $at, .L80275970 +/* 1A4240 80275960 3C018000 */ lui $at, 0x8000 +/* 1A4244 80275964 14610002 */ bne $v1, $at, .L80275970 +/* 1A4248 80275968 00000000 */ nop +/* 1A424C 8027596C 0006000D */ break 6 +.L80275970: +/* 1A4250 80275970 00001812 */ mflo $v1 +/* 1A4254 80275974 C6000018 */ lwc1 $f0, 0x18($s0) +/* 1A4258 80275978 C602001C */ lwc1 $f2, 0x1c($s0) +/* 1A425C 8027597C 46020001 */ sub.s $f0, $f0, $f2 +/* 1A4260 80275980 3C0142B4 */ lui $at, 0x42b4 +/* 1A4264 80275984 44811000 */ mtc1 $at, $f2 +/* 1A4268 80275988 00000000 */ nop +/* 1A426C 8027598C E6020024 */ swc1 $f2, 0x24($s0) +/* 1A4270 80275990 3C01802A */ lui $at, 0x802a +/* 1A4274 80275994 D422D908 */ ldc1 $f2, -0x26f8($at) +/* 1A4278 80275998 46000005 */ abs.s $f0, $f0 +/* 1A427C 8027599C 46000021 */ cvt.d.s $f0, $f0 +/* 1A4280 802759A0 46220003 */ div.d $f0, $f0, $f2 +/* 1A4284 802759A4 46200020 */ cvt.s.d $f0, $f0 +/* 1A4288 802759A8 E6000050 */ swc1 $f0, 0x50($s0) +/* 1A428C 802759AC 44830000 */ mtc1 $v1, $f0 +/* 1A4290 802759B0 00000000 */ nop +/* 1A4294 802759B4 46800020 */ cvt.s.w $f0, $f0 +/* 1A4298 802759B8 E6000028 */ swc1 $f0, 0x28($s0) +/* 1A429C 802759BC C6400144 */ lwc1 $f0, 0x144($s2) +/* 1A42A0 802759C0 E6000000 */ swc1 $f0, ($s0) +/* 1A42A4 802759C4 C6400148 */ lwc1 $f0, 0x148($s2) +/* 1A42A8 802759C8 E6000004 */ swc1 $f0, 4($s0) +/* 1A42AC 802759CC C640014C */ lwc1 $f0, 0x14c($s2) +/* 1A42B0 802759D0 24020015 */ addiu $v0, $zero, 0x15 +/* 1A42B4 802759D4 E6000008 */ swc1 $f0, 8($s0) +func_802759D8: +/* 1A42B8 802759D8 AE620070 */ sw $v0, 0x70($s3) +func_802759DC: +/* 1A42BC 802759DC 8E630070 */ lw $v1, 0x70($s3) +/* 1A42C0 802759E0 24020002 */ addiu $v0, $zero, 2 +func_802759E4: +/* 1A42C4 802759E4 10620085 */ beq $v1, $v0, .L80275BFC +/* 1A42C8 802759E8 28620003 */ slti $v0, $v1, 3 +/* 1A42CC 802759EC 10400005 */ beqz $v0, .L80275A04 +/* 1A42D0 802759F0 24020001 */ addiu $v0, $zero, 1 +/* 1A42D4 802759F4 1062000A */ beq $v1, $v0, .L80275A20 +/* 1A42D8 802759F8 0000102D */ daddu $v0, $zero, $zero +/* 1A42DC 802759FC 0809D7B5 */ j func_80275ED4 +/* 1A42E0 80275A00 00000000 */ nop + +.L80275A04: +/* 1A42E4 80275A04 2402000B */ addiu $v0, $zero, 0xb +/* 1A42E8 80275A08 10620090 */ beq $v1, $v0, .L80275C4C +/* 1A42EC 80275A0C 24020015 */ addiu $v0, $zero, 0x15 +/* 1A42F0 80275A10 106200F4 */ beq $v1, $v0, .L80275DE4 +/* 1A42F4 80275A14 0000102D */ daddu $v0, $zero, $zero +/* 1A42F8 80275A18 0809D7B5 */ j func_80275ED4 +/* 1A42FC 80275A1C 00000000 */ nop + +.L80275A20: +/* 1A4300 80275A20 86020066 */ lh $v0, 0x66($s0) +/* 1A4304 80275A24 14400013 */ bnez $v0, .L80275A74 +/* 1A4308 80275A28 00000000 */ nop +/* 1A430C 80275A2C C60C0024 */ lwc1 $f12, 0x24($s0) +/* 1A4310 80275A30 3C0140C9 */ lui $at, 0x40c9 +/* 1A4314 80275A34 34210FD0 */ ori $at, $at, 0xfd0 +/* 1A4318 80275A38 44810000 */ mtc1 $at, $f0 +/* 1A431C 80275A3C C6140044 */ lwc1 $f20, 0x44($s0) +/* 1A4320 80275A40 46006302 */ mul.s $f12, $f12, $f0 +/* 1A4324 80275A44 00000000 */ nop +/* 1A4328 80275A48 C616003C */ lwc1 $f22, 0x3c($s0) +/* 1A432C 80275A4C 4600A521 */ cvt.d.s $f20, $f20 +/* 1A4330 80275A50 3C0143B4 */ lui $at, 0x43b4 +/* 1A4334 80275A54 44810000 */ mtc1 $at, $f0 +/* 1A4338 80275A58 4600B5A1 */ cvt.d.s $f22, $f22 +/* 1A433C 80275A5C 0C00A85B */ jal sin_rad +/* 1A4340 80275A60 46006303 */ div.s $f12, $f12, $f0 +/* 1A4344 80275A64 3C01802A */ lui $at, 0x802a +/* 1A4348 80275A68 D422D910 */ ldc1 $f2, -0x26f0($at) +/* 1A434C 80275A6C 0809D6AE */ j func_80275AB8 +/* 1A4350 80275A70 46000021 */ cvt.d.s $f0, $f0 + +.L80275A74: +/* 1A4354 80275A74 C60C0024 */ lwc1 $f12, 0x24($s0) +/* 1A4358 80275A78 3C0140C9 */ lui $at, 0x40c9 +/* 1A435C 80275A7C 34210FD0 */ ori $at, $at, 0xfd0 +/* 1A4360 80275A80 44810000 */ mtc1 $at, $f0 +/* 1A4364 80275A84 C6140044 */ lwc1 $f20, 0x44($s0) +/* 1A4368 80275A88 46006302 */ mul.s $f12, $f12, $f0 +/* 1A436C 80275A8C 00000000 */ nop +/* 1A4370 80275A90 C616003C */ lwc1 $f22, 0x3c($s0) +/* 1A4374 80275A94 4600A521 */ cvt.d.s $f20, $f20 +/* 1A4378 80275A98 3C0143B4 */ lui $at, 0x43b4 +/* 1A437C 80275A9C 44810000 */ mtc1 $at, $f0 +/* 1A4380 80275AA0 4600B5A1 */ cvt.d.s $f22, $f22 +/* 1A4384 80275AA4 0C00A85B */ jal sin_rad +/* 1A4388 80275AA8 46006303 */ div.s $f12, $f12, $f0 +/* 1A438C 80275AAC 3C01802A */ lui $at, 0x802a +/* 1A4390 80275AB0 D422D918 */ ldc1 $f2, -0x26e8($at) +/* 1A4394 80275AB4 46000021 */ cvt.d.s $f0, $f0 +func_80275AB8: +/* 1A4398 80275AB8 46220002 */ mul.d $f0, $f0, $f2 +/* 1A439C 80275ABC 00000000 */ nop +/* 1A43A0 80275AC0 46360002 */ mul.d $f0, $f0, $f22 +/* 1A43A4 80275AC4 00000000 */ nop +/* 1A43A8 80275AC8 46360000 */ add.d $f0, $f0, $f22 +/* 1A43AC 80275ACC 4620A500 */ add.d $f20, $f20, $f0 +/* 1A43B0 80275AD0 4620A520 */ cvt.s.d $f20, $f20 +/* 1A43B4 80275AD4 E6140044 */ swc1 $f20, 0x44($s0) +/* 1A43B8 80275AD8 C6060000 */ lwc1 $f6, ($s0) +/* 1A43BC 80275ADC C6000030 */ lwc1 $f0, 0x30($s0) +/* 1A43C0 80275AE0 C6040004 */ lwc1 $f4, 4($s0) +/* 1A43C4 80275AE4 46003180 */ add.s $f6, $f6, $f0 +/* 1A43C8 80275AE8 C6000034 */ lwc1 $f0, 0x34($s0) +/* 1A43CC 80275AEC C6020008 */ lwc1 $f2, 8($s0) +/* 1A43D0 80275AF0 46002100 */ add.s $f4, $f4, $f0 +/* 1A43D4 80275AF4 C6000038 */ lwc1 $f0, 0x38($s0) +/* 1A43D8 80275AF8 46001080 */ add.s $f2, $f2, $f0 +/* 1A43DC 80275AFC E6060000 */ swc1 $f6, ($s0) +/* 1A43E0 80275B00 E6040004 */ swc1 $f4, 4($s0) +/* 1A43E4 80275B04 E6020008 */ swc1 $f2, 8($s0) +/* 1A43E8 80275B08 C6400148 */ lwc1 $f0, 0x148($s2) +/* 1A43EC 80275B0C 46003086 */ mov.s $f2, $f6 +/* 1A43F0 80275B10 E6000018 */ swc1 $f0, 0x18($s0) +/* 1A43F4 80275B14 E6420144 */ swc1 $f2, 0x144($s2) +/* 1A43F8 80275B18 C60C0044 */ lwc1 $f12, 0x44($s0) +/* 1A43FC 80275B1C 3C013FC9 */ lui $at, 0x3fc9 +/* 1A4400 80275B20 34210FD0 */ ori $at, $at, 0xfd0 +/* 1A4404 80275B24 4481A000 */ mtc1 $at, $f20 +/* 1A4408 80275B28 0C00A85B */ jal sin_rad +/* 1A440C 80275B2C 00000000 */ nop +/* 1A4410 80275B30 46140302 */ mul.s $f12, $f0, $f20 +/* 1A4414 80275B34 0C00A85B */ jal sin_rad +/* 1A4418 80275B38 00000000 */ nop +/* 1A441C 80275B3C 46140302 */ mul.s $f12, $f0, $f20 +/* 1A4420 80275B40 0C00A85B */ jal sin_rad +/* 1A4424 80275B44 00000000 */ nop +/* 1A4428 80275B48 C6020050 */ lwc1 $f2, 0x50($s0) +/* 1A442C 80275B4C 46001082 */ mul.s $f2, $f2, $f0 +/* 1A4430 80275B50 00000000 */ nop +/* 1A4434 80275B54 C6000004 */ lwc1 $f0, 4($s0) +/* 1A4438 80275B58 46020000 */ add.s $f0, $f0, $f2 +/* 1A443C 80275B5C E6400148 */ swc1 $f0, 0x148($s2) +/* 1A4440 80275B60 C6000008 */ lwc1 $f0, 8($s0) +/* 1A4444 80275B64 E640014C */ swc1 $f0, 0x14c($s2) +/* 1A4448 80275B68 C60C0024 */ lwc1 $f12, 0x24($s0) +/* 1A444C 80275B6C C6000028 */ lwc1 $f0, 0x28($s0) +/* 1A4450 80275B70 46006300 */ add.s $f12, $f12, $f0 +/* 1A4454 80275B74 C6400148 */ lwc1 $f0, 0x148($s2) +/* 1A4458 80275B78 E600001C */ swc1 $f0, 0x1c($s0) +/* 1A445C 80275B7C 0C00A6C9 */ jal clamp_angle +/* 1A4460 80275B80 E60C0024 */ swc1 $f12, 0x24($s0) +/* 1A4464 80275B84 96020064 */ lhu $v0, 0x64($s0) +/* 1A4468 80275B88 E6000024 */ swc1 $f0, 0x24($s0) +/* 1A446C 80275B8C 2442FFFF */ addiu $v0, $v0, -1 +/* 1A4470 80275B90 A6020064 */ sh $v0, 0x64($s0) +/* 1A4474 80275B94 00021400 */ sll $v0, $v0, 0x10 +/* 1A4478 80275B98 144000CE */ bnez $v0, .L80275ED4 +/* 1A447C 80275B9C 0000102D */ daddu $v0, $zero, $zero +/* 1A4480 80275BA0 C640014C */ lwc1 $f0, 0x14c($s2) +/* 1A4484 80275BA4 24040160 */ addiu $a0, $zero, 0x160 +/* 1A4488 80275BA8 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A448C 80275BAC 8E460144 */ lw $a2, 0x144($s2) +/* 1A4490 80275BB0 8E470148 */ lw $a3, 0x148($s2) +/* 1A4494 80275BB4 0C052757 */ jal play_sound_at_position +/* 1A4498 80275BB8 0000282D */ daddu $a1, $zero, $zero +/* 1A449C 80275BBC 0000202D */ daddu $a0, $zero, $zero +/* 1A44A0 80275BC0 8E06005C */ lw $a2, 0x5c($s0) +/* 1A44A4 80275BC4 0C098F3F */ jal set_animation +/* 1A44A8 80275BC8 0080282D */ daddu $a1, $a0, $zero +/* 1A44AC 80275BCC C6420164 */ lwc1 $f2, 0x164($s2) +/* 1A44B0 80275BD0 3C014284 */ lui $at, 0x4284 +/* 1A44B4 80275BD4 44810000 */ mtc1 $at, $f0 +/* 1A44B8 80275BD8 2402000E */ addiu $v0, $zero, 0xe +/* 1A44BC 80275BDC 46001081 */ sub.s $f2, $f2, $f0 +/* 1A44C0 80275BE0 A642016A */ sh $v0, 0x16a($s2) +/* 1A44C4 80275BE4 24020007 */ addiu $v0, $zero, 7 +/* 1A44C8 80275BE8 E6420164 */ swc1 $f2, 0x164($s2) +/* 1A44CC 80275BEC A6020064 */ sh $v0, 0x64($s0) +/* 1A44D0 80275BF0 24020002 */ addiu $v0, $zero, 2 +/* 1A44D4 80275BF4 0809D7B4 */ j func_80275ED0 +/* 1A44D8 80275BF8 AE620070 */ sw $v0, 0x70($s3) + +.L80275BFC: +/* 1A44DC 80275BFC C6420164 */ lwc1 $f2, 0x164($s2) +/* 1A44E0 80275C00 3C014284 */ lui $at, 0x4284 +/* 1A44E4 80275C04 44810000 */ mtc1 $at, $f0 +/* 1A44E8 80275C08 00000000 */ nop +/* 1A44EC 80275C0C 46001081 */ sub.s $f2, $f2, $f0 +/* 1A44F0 80275C10 2402000E */ addiu $v0, $zero, 0xe +/* 1A44F4 80275C14 A642016A */ sh $v0, 0x16a($s2) +/* 1A44F8 80275C18 E6420164 */ swc1 $f2, 0x164($s2) +/* 1A44FC 80275C1C 96020064 */ lhu $v0, 0x64($s0) +/* 1A4500 80275C20 2442FFFF */ addiu $v0, $v0, -1 +/* 1A4504 80275C24 A6020064 */ sh $v0, 0x64($s0) +/* 1A4508 80275C28 00021400 */ sll $v0, $v0, 0x10 +/* 1A450C 80275C2C 144000A9 */ bnez $v0, .L80275ED4 +/* 1A4510 80275C30 0000102D */ daddu $v0, $zero, $zero +/* 1A4514 80275C34 0000202D */ daddu $a0, $zero, $zero +/* 1A4518 80275C38 AE400164 */ sw $zero, 0x164($s2) +/* 1A451C 80275C3C A640016A */ sh $zero, 0x16a($s2) +/* 1A4520 80275C40 8E060060 */ lw $a2, 0x60($s0) +/* 1A4524 80275C44 0809D775 */ j func_80275DD4 +/* 1A4528 80275C48 0080282D */ daddu $a1, $a0, $zero + +.L80275C4C: +/* 1A452C 80275C4C C6060000 */ lwc1 $f6, ($s0) +/* 1A4530 80275C50 C6000030 */ lwc1 $f0, 0x30($s0) +/* 1A4534 80275C54 C6040004 */ lwc1 $f4, 4($s0) +/* 1A4538 80275C58 46003180 */ add.s $f6, $f6, $f0 +/* 1A453C 80275C5C C6000034 */ lwc1 $f0, 0x34($s0) +/* 1A4540 80275C60 C6020008 */ lwc1 $f2, 8($s0) +/* 1A4544 80275C64 46002100 */ add.s $f4, $f4, $f0 +/* 1A4548 80275C68 C6000038 */ lwc1 $f0, 0x38($s0) +/* 1A454C 80275C6C 46001080 */ add.s $f2, $f2, $f0 +/* 1A4550 80275C70 E6060000 */ swc1 $f6, ($s0) +/* 1A4554 80275C74 E6040004 */ swc1 $f4, 4($s0) +/* 1A4558 80275C78 E6020008 */ swc1 $f2, 8($s0) +/* 1A455C 80275C7C C6400148 */ lwc1 $f0, 0x148($s2) +/* 1A4560 80275C80 46003086 */ mov.s $f2, $f6 +/* 1A4564 80275C84 E6000018 */ swc1 $f0, 0x18($s0) +/* 1A4568 80275C88 E6420144 */ swc1 $f2, 0x144($s2) +/* 1A456C 80275C8C 0C00A85B */ jal sin_rad +/* 1A4570 80275C90 C60C0044 */ lwc1 $f12, 0x44($s0) +/* 1A4574 80275C94 C6020050 */ lwc1 $f2, 0x50($s0) +/* 1A4578 80275C98 46001082 */ mul.s $f2, $f2, $f0 +/* 1A457C 80275C9C 00000000 */ nop +/* 1A4580 80275CA0 C6000004 */ lwc1 $f0, 4($s0) +/* 1A4584 80275CA4 46020000 */ add.s $f0, $f0, $f2 +/* 1A4588 80275CA8 E6400148 */ swc1 $f0, 0x148($s2) +/* 1A458C 80275CAC C6000008 */ lwc1 $f0, 8($s0) +/* 1A4590 80275CB0 E640014C */ swc1 $f0, 0x14c($s2) +/* 1A4594 80275CB4 C6020010 */ lwc1 $f2, 0x10($s0) +/* 1A4598 80275CB8 C6400148 */ lwc1 $f0, 0x148($s2) +/* 1A459C 80275CBC 4602003C */ c.lt.s $f0, $f2 +/* 1A45A0 80275CC0 00000000 */ nop +/* 1A45A4 80275CC4 45030001 */ bc1tl .L80275CCC +/* 1A45A8 80275CC8 E6420148 */ swc1 $f2, 0x148($s2) +.L80275CCC: +/* 1A45AC 80275CCC C6400148 */ lwc1 $f0, 0x148($s2) +/* 1A45B0 80275CD0 86030066 */ lh $v1, 0x66($s0) +/* 1A45B4 80275CD4 24020001 */ addiu $v0, $zero, 1 +/* 1A45B8 80275CD8 14620013 */ bne $v1, $v0, .L80275D28 +/* 1A45BC 80275CDC E600001C */ swc1 $f0, 0x1c($s0) +/* 1A45C0 80275CE0 C60C0024 */ lwc1 $f12, 0x24($s0) +/* 1A45C4 80275CE4 3C0140C9 */ lui $at, 0x40c9 +/* 1A45C8 80275CE8 34210FD0 */ ori $at, $at, 0xfd0 +/* 1A45CC 80275CEC 44810000 */ mtc1 $at, $f0 +/* 1A45D0 80275CF0 C6140044 */ lwc1 $f20, 0x44($s0) +/* 1A45D4 80275CF4 46006302 */ mul.s $f12, $f12, $f0 +/* 1A45D8 80275CF8 00000000 */ nop +/* 1A45DC 80275CFC C616003C */ lwc1 $f22, 0x3c($s0) +/* 1A45E0 80275D00 4600A521 */ cvt.d.s $f20, $f20 +/* 1A45E4 80275D04 3C0143B4 */ lui $at, 0x43b4 +/* 1A45E8 80275D08 44810000 */ mtc1 $at, $f0 +/* 1A45EC 80275D0C 4600B5A1 */ cvt.d.s $f22, $f22 +/* 1A45F0 80275D10 0C00A85B */ jal sin_rad +/* 1A45F4 80275D14 46006303 */ div.s $f12, $f12, $f0 +/* 1A45F8 80275D18 3C01802A */ lui $at, 0x802a +/* 1A45FC 80275D1C D422D920 */ ldc1 $f2, -0x26e0($at) +/* 1A4600 80275D20 0809D75B */ j func_80275D6C +/* 1A4604 80275D24 46000021 */ cvt.d.s $f0, $f0 + +.L80275D28: +/* 1A4608 80275D28 C60C0024 */ lwc1 $f12, 0x24($s0) +/* 1A460C 80275D2C 3C0140C9 */ lui $at, 0x40c9 +/* 1A4610 80275D30 34210FD0 */ ori $at, $at, 0xfd0 +/* 1A4614 80275D34 44810000 */ mtc1 $at, $f0 +/* 1A4618 80275D38 C6140044 */ lwc1 $f20, 0x44($s0) +/* 1A461C 80275D3C 46006302 */ mul.s $f12, $f12, $f0 +/* 1A4620 80275D40 00000000 */ nop +/* 1A4624 80275D44 C616003C */ lwc1 $f22, 0x3c($s0) +/* 1A4628 80275D48 4600A521 */ cvt.d.s $f20, $f20 +/* 1A462C 80275D4C 3C0143B4 */ lui $at, 0x43b4 +/* 1A4630 80275D50 44810000 */ mtc1 $at, $f0 +/* 1A4634 80275D54 4600B5A1 */ cvt.d.s $f22, $f22 +/* 1A4638 80275D58 0C00A85B */ jal sin_rad +/* 1A463C 80275D5C 46006303 */ div.s $f12, $f12, $f0 +/* 1A4640 80275D60 3C01802A */ lui $at, 0x802a +/* 1A4644 80275D64 D422D928 */ ldc1 $f2, -0x26d8($at) +/* 1A4648 80275D68 46000021 */ cvt.d.s $f0, $f0 +func_80275D6C: +/* 1A464C 80275D6C 46220002 */ mul.d $f0, $f0, $f2 +/* 1A4650 80275D70 00000000 */ nop +/* 1A4654 80275D74 46360002 */ mul.d $f0, $f0, $f22 +/* 1A4658 80275D78 00000000 */ nop +/* 1A465C 80275D7C 46360000 */ add.d $f0, $f0, $f22 +/* 1A4660 80275D80 4620A500 */ add.d $f20, $f20, $f0 +/* 1A4664 80275D84 4620A520 */ cvt.s.d $f20, $f20 +/* 1A4668 80275D88 E6140044 */ swc1 $f20, 0x44($s0) +/* 1A466C 80275D8C C60C0024 */ lwc1 $f12, 0x24($s0) +/* 1A4670 80275D90 C6000028 */ lwc1 $f0, 0x28($s0) +/* 1A4674 80275D94 46006300 */ add.s $f12, $f12, $f0 +/* 1A4678 80275D98 0C00A6C9 */ jal clamp_angle +/* 1A467C 80275D9C E60C0024 */ swc1 $f12, 0x24($s0) +/* 1A4680 80275DA0 96020064 */ lhu $v0, 0x64($s0) +/* 1A4684 80275DA4 E6000024 */ swc1 $f0, 0x24($s0) +/* 1A4688 80275DA8 2442FFFF */ addiu $v0, $v0, -1 +/* 1A468C 80275DAC A6020064 */ sh $v0, 0x64($s0) +/* 1A4690 80275DB0 00021400 */ sll $v0, $v0, 0x10 +/* 1A4694 80275DB4 14400047 */ bnez $v0, .L80275ED4 +/* 1A4698 80275DB8 0000102D */ daddu $v0, $zero, $zero +/* 1A469C 80275DBC 0000202D */ daddu $a0, $zero, $zero +/* 1A46A0 80275DC0 0080282D */ daddu $a1, $a0, $zero +/* 1A46A4 80275DC4 3C060001 */ lui $a2, 1 +/* 1A46A8 80275DC8 C6000010 */ lwc1 $f0, 0x10($s0) +/* 1A46AC 80275DCC 34C6000C */ ori $a2, $a2, 0xc +/* 1A46B0 80275DD0 E6400148 */ swc1 $f0, 0x148($s2) +func_80275DD4: +/* 1A46B4 80275DD4 0C098F3F */ jal set_animation +/* 1A46B8 80275DD8 00000000 */ nop +/* 1A46BC 80275DDC 0809D7B5 */ j func_80275ED4 +/* 1A46C0 80275DE0 24020001 */ addiu $v0, $zero, 1 + +.L80275DE4: +/* 1A46C4 80275DE4 C60C0024 */ lwc1 $f12, 0x24($s0) +/* 1A46C8 80275DE8 3C0140C9 */ lui $at, 0x40c9 +/* 1A46CC 80275DEC 34210FD0 */ ori $at, $at, 0xfd0 +/* 1A46D0 80275DF0 4481B000 */ mtc1 $at, $f22 +/* 1A46D4 80275DF4 00000000 */ nop +/* 1A46D8 80275DF8 46166302 */ mul.s $f12, $f12, $f22 +/* 1A46DC 80275DFC 00000000 */ nop +/* 1A46E0 80275E00 C6140000 */ lwc1 $f20, ($s0) +/* 1A46E4 80275E04 3C0143B4 */ lui $at, 0x43b4 +/* 1A46E8 80275E08 4481C000 */ mtc1 $at, $f24 +/* 1A46EC 80275E0C 4600A521 */ cvt.d.s $f20, $f20 +/* 1A46F0 80275E10 0C00A85B */ jal sin_rad +/* 1A46F4 80275E14 46186303 */ div.s $f12, $f12, $f24 +/* 1A46F8 80275E18 C6020050 */ lwc1 $f2, 0x50($s0) +/* 1A46FC 80275E1C 46001082 */ mul.s $f2, $f2, $f0 +/* 1A4700 80275E20 00000000 */ nop +/* 1A4704 80275E24 C60C0024 */ lwc1 $f12, 0x24($s0) +/* 1A4708 80275E28 46166302 */ mul.s $f12, $f12, $f22 +/* 1A470C 80275E2C 00000000 */ nop +/* 1A4710 80275E30 3C01802A */ lui $at, 0x802a +/* 1A4714 80275E34 D420D930 */ ldc1 $f0, -0x26d0($at) +/* 1A4718 80275E38 460010A1 */ cvt.d.s $f2, $f2 +/* 1A471C 80275E3C 46201083 */ div.d $f2, $f2, $f0 +/* 1A4720 80275E40 4622A500 */ add.d $f20, $f20, $f2 +/* 1A4724 80275E44 46186303 */ div.s $f12, $f12, $f24 +/* 1A4728 80275E48 4620A520 */ cvt.s.d $f20, $f20 +/* 1A472C 80275E4C 0C00A85B */ jal sin_rad +/* 1A4730 80275E50 E6140000 */ swc1 $f20, ($s0) +/* 1A4734 80275E54 C6020050 */ lwc1 $f2, 0x50($s0) +/* 1A4738 80275E58 46001082 */ mul.s $f2, $f2, $f0 +/* 1A473C 80275E5C 00000000 */ nop +/* 1A4740 80275E60 C60C0024 */ lwc1 $f12, 0x24($s0) +/* 1A4744 80275E64 C6000028 */ lwc1 $f0, 0x28($s0) +/* 1A4748 80275E68 46006300 */ add.s $f12, $f12, $f0 +/* 1A474C 80275E6C C6000004 */ lwc1 $f0, 4($s0) +/* 1A4750 80275E70 46020001 */ sub.s $f0, $f0, $f2 +/* 1A4754 80275E74 E60C0024 */ swc1 $f12, 0x24($s0) +/* 1A4758 80275E78 0C00A6C9 */ jal clamp_angle +/* 1A475C 80275E7C E6000004 */ swc1 $f0, 4($s0) +/* 1A4760 80275E80 C6020000 */ lwc1 $f2, ($s0) +/* 1A4764 80275E84 E6000024 */ swc1 $f0, 0x24($s0) +/* 1A4768 80275E88 E6420144 */ swc1 $f2, 0x144($s2) +/* 1A476C 80275E8C C6000004 */ lwc1 $f0, 4($s0) +/* 1A4770 80275E90 E6400148 */ swc1 $f0, 0x148($s2) +/* 1A4774 80275E94 C6000008 */ lwc1 $f0, 8($s0) +/* 1A4778 80275E98 E640014C */ swc1 $f0, 0x14c($s2) +/* 1A477C 80275E9C 3C02800E */ lui $v0, 0x800e +/* 1A4780 80275EA0 8C42C070 */ lw $v0, -0x3f90($v0) +/* 1A4784 80275EA4 30422000 */ andi $v0, $v0, 0x2000 +/* 1A4788 80275EA8 10400003 */ beqz $v0, .L80275EB8 +/* 1A478C 80275EAC 00000000 */ nop +.L80275EB0: +/* 1A4790 80275EB0 0809D7B5 */ j func_80275ED4 +/* 1A4794 80275EB4 24020002 */ addiu $v0, $zero, 2 + +.L80275EB8: +/* 1A4798 80275EB8 96030064 */ lhu $v1, 0x64($s0) +/* 1A479C 80275EBC 2463FFFF */ addiu $v1, $v1, -1 +/* 1A47A0 80275EC0 A6030064 */ sh $v1, 0x64($s0) +/* 1A47A4 80275EC4 00031C00 */ sll $v1, $v1, 0x10 +/* 1A47A8 80275EC8 10600002 */ beqz $v1, .L80275ED4 +/* 1A47AC 80275ECC 24020001 */ addiu $v0, $zero, 1 +func_80275ED0: +/* 1A47B0 80275ED0 0000102D */ daddu $v0, $zero, $zero +func_80275ED4: +.L80275ED4: +/* 1A47B4 80275ED4 8FBF0028 */ lw $ra, 0x28($sp) +/* 1A47B8 80275ED8 8FB30024 */ lw $s3, 0x24($sp) +/* 1A47BC 80275EDC 8FB20020 */ lw $s2, 0x20($sp) +/* 1A47C0 80275EE0 8FB1001C */ lw $s1, 0x1c($sp) +/* 1A47C4 80275EE4 8FB00018 */ lw $s0, 0x18($sp) +/* 1A47C8 80275EE8 D7BA0048 */ ldc1 $f26, 0x48($sp) +/* 1A47CC 80275EEC D7B80040 */ ldc1 $f24, 0x40($sp) +/* 1A47D0 80275EF0 D7B60038 */ ldc1 $f22, 0x38($sp) +/* 1A47D4 80275EF4 D7B40030 */ ldc1 $f20, 0x30($sp) +/* 1A47D8 80275EF8 03E00008 */ jr $ra +/* 1A47DC 80275EFC 27BD0050 */ addiu $sp, $sp, 0x50 + +/* 1A47E0 80275F00 27BDFFB0 */ addiu $sp, $sp, -0x50 +/* 1A47E4 80275F04 AFB20020 */ sw $s2, 0x20($sp) +/* 1A47E8 80275F08 3C12800E */ lui $s2, 0x800e +/* 1A47EC 80275F0C 8E52C148 */ lw $s2, -0x3eb8($s2) +/* 1A47F0 80275F10 AFB30024 */ sw $s3, 0x24($sp) +/* 1A47F4 80275F14 0080982D */ daddu $s3, $a0, $zero +/* 1A47F8 80275F18 AFBF0028 */ sw $ra, 0x28($sp) +/* 1A47FC 80275F1C AFB1001C */ sw $s1, 0x1c($sp) +/* 1A4800 80275F20 AFB00018 */ sw $s0, 0x18($sp) +/* 1A4804 80275F24 F7BA0048 */ sdc1 $f26, 0x48($sp) +/* 1A4808 80275F28 F7B80040 */ sdc1 $f24, 0x40($sp) +/* 1A480C 80275F2C F7B60038 */ sdc1 $f22, 0x38($sp) +/* 1A4810 80275F30 F7B40030 */ sdc1 $f20, 0x30($sp) +/* 1A4814 80275F34 8E71000C */ lw $s1, 0xc($s3) +/* 1A4818 80275F38 10A0001E */ beqz $a1, .L80275FB4 +/* 1A481C 80275F3C 2650000C */ addiu $s0, $s2, 0xc +/* 1A4820 80275F40 8E250000 */ lw $a1, ($s1) +/* 1A4824 80275F44 0C0B1EAF */ jal get_variable +/* 1A4828 80275F48 26310004 */ addiu $s1, $s1, 4 +/* 1A482C 80275F4C A6420070 */ sh $v0, 0x70($s2) +/* 1A4830 80275F50 8E250000 */ lw $a1, ($s1) +/* 1A4834 80275F54 0C0B1EAF */ jal get_variable +/* 1A4838 80275F58 0260202D */ daddu $a0, $s3, $zero +/* 1A483C 80275F5C A6420072 */ sh $v0, 0x72($s2) +/* 1A4840 80275F60 AE600074 */ sw $zero, 0x74($s3) +/* 1A4844 80275F64 AE600070 */ sw $zero, 0x70($s3) +/* 1A4848 80275F68 86430072 */ lh $v1, 0x72($s2) +/* 1A484C 80275F6C 24020001 */ addiu $v0, $zero, 1 +/* 1A4850 80275F70 14620005 */ bne $v1, $v0, .L80275F88 +/* 1A4854 80275F74 24020003 */ addiu $v0, $zero, 3 +/* 1A4858 80275F78 2402000B */ addiu $v0, $zero, 0xb +/* 1A485C 80275F7C AE620070 */ sw $v0, 0x70($s3) +/* 1A4860 80275F80 86430072 */ lh $v1, 0x72($s2) +/* 1A4864 80275F84 24020003 */ addiu $v0, $zero, 3 +.L80275F88: +/* 1A4868 80275F88 14620002 */ bne $v1, $v0, .L80275F94 +/* 1A486C 80275F8C 24020014 */ addiu $v0, $zero, 0x14 +/* 1A4870 80275F90 AE620070 */ sw $v0, 0x70($s3) +.L80275F94: +/* 1A4874 80275F94 86430072 */ lh $v1, 0x72($s2) +/* 1A4878 80275F98 24020002 */ addiu $v0, $zero, 2 +/* 1A487C 80275F9C 10620003 */ beq $v1, $v0, .L80275FAC +/* 1A4880 80275FA0 24020004 */ addiu $v0, $zero, 4 +/* 1A4884 80275FA4 14620003 */ bne $v1, $v0, .L80275FB4 +/* 1A4888 80275FA8 00000000 */ nop +.L80275FAC: +/* 1A488C 80275FAC 2402001E */ addiu $v0, $zero, 0x1e +/* 1A4890 80275FB0 AE620070 */ sw $v0, 0x70($s3) +.L80275FB4: +/* 1A4894 80275FB4 8E630070 */ lw $v1, 0x70($s3) +/* 1A4898 80275FB8 2402000A */ addiu $v0, $zero, 0xa +/* 1A489C 80275FBC 106200BC */ beq $v1, $v0, .L802762B0 +/* 1A48A0 80275FC0 2862000B */ slti $v0, $v1, 0xb +/* 1A48A4 80275FC4 10400005 */ beqz $v0, .L80275FDC +/* 1A48A8 80275FC8 24020014 */ addiu $v0, $zero, 0x14 +/* 1A48AC 80275FCC 10600009 */ beqz $v1, .L80275FF4 +/* 1A48B0 80275FD0 00000000 */ nop +/* 1A48B4 80275FD4 0809DA2C */ j func_802768B0 +/* 1A48B8 80275FD8 00000000 */ nop + +.L80275FDC: +/* 1A48BC 80275FDC 10620163 */ beq $v1, $v0, .L8027656C +/* 1A48C0 80275FE0 2402001E */ addiu $v0, $zero, 0x1e +/* 1A48C4 80275FE4 1062018F */ beq $v1, $v0, .L80276624 +/* 1A48C8 80275FE8 00000000 */ nop +/* 1A48CC 80275FEC 0809DA2C */ j func_802768B0 +/* 1A48D0 80275FF0 00000000 */ nop + +.L80275FF4: +/* 1A48D4 80275FF4 C6400144 */ lwc1 $f0, 0x144($s2) +/* 1A48D8 80275FF8 C618000C */ lwc1 $f24, 0xc($s0) +/* 1A48DC 80275FFC C61A0014 */ lwc1 $f26, 0x14($s0) +/* 1A48E0 80276000 E6000000 */ swc1 $f0, ($s0) +/* 1A48E4 80276004 46000586 */ mov.s $f22, $f0 +/* 1A48E8 80276008 4406C000 */ mfc1 $a2, $f24 +/* 1A48EC 8027600C C6400148 */ lwc1 $f0, 0x148($s2) +/* 1A48F0 80276010 4600B306 */ mov.s $f12, $f22 +/* 1A48F4 80276014 E6000004 */ swc1 $f0, 4($s0) +/* 1A48F8 80276018 C640014C */ lwc1 $f0, 0x14c($s2) +/* 1A48FC 8027601C 4407D000 */ mfc1 $a3, $f26 +/* 1A4900 80276020 46000506 */ mov.s $f20, $f0 +/* 1A4904 80276024 46000386 */ mov.s $f14, $f0 +/* 1A4908 80276028 0C00A720 */ jal atan2 +/* 1A490C 8027602C E6140008 */ swc1 $f20, 8($s0) +/* 1A4910 80276030 4600B306 */ mov.s $f12, $f22 +/* 1A4914 80276034 4406C000 */ mfc1 $a2, $f24 +/* 1A4918 80276038 4407D000 */ mfc1 $a3, $f26 +/* 1A491C 8027603C 4600A386 */ mov.s $f14, $f20 +/* 1A4920 80276040 0C00A7B5 */ jal dist2D +/* 1A4924 80276044 E6000048 */ swc1 $f0, 0x48($s0) +/* 1A4928 80276048 86020064 */ lh $v0, 0x64($s0) +/* 1A492C 8027604C 46000106 */ mov.s $f4, $f0 +/* 1A4930 80276050 14400012 */ bnez $v0, .L8027609C +/* 1A4934 80276054 E604004C */ swc1 $f4, 0x4c($s0) +/* 1A4938 80276058 C6000040 */ lwc1 $f0, 0x40($s0) +/* 1A493C 8027605C C6020040 */ lwc1 $f2, 0x40($s0) +/* 1A4940 80276060 46002003 */ div.s $f0, $f4, $f0 +/* 1A4944 80276064 4600028D */ trunc.w.s $f10, $f0 +/* 1A4948 80276068 44035000 */ mfc1 $v1, $f10 +/* 1A494C 8027606C 00000000 */ nop +/* 1A4950 80276070 00031400 */ sll $v0, $v1, 0x10 +/* 1A4954 80276074 00021403 */ sra $v0, $v0, 0x10 +/* 1A4958 80276078 44820000 */ mtc1 $v0, $f0 +/* 1A495C 8027607C 00000000 */ nop +/* 1A4960 80276080 46800020 */ cvt.s.w $f0, $f0 +/* 1A4964 80276084 46020002 */ mul.s $f0, $f0, $f2 +/* 1A4968 80276088 00000000 */ nop +/* 1A496C 8027608C 46002086 */ mov.s $f2, $f4 +/* 1A4970 80276090 A6030064 */ sh $v1, 0x64($s0) +/* 1A4974 80276094 0809D834 */ j func_802760D0 +/* 1A4978 80276098 46001201 */ sub.s $f8, $f2, $f0 + +.L8027609C: +/* 1A497C 8027609C 44821000 */ mtc1 $v0, $f2 +/* 1A4980 802760A0 00000000 */ nop +/* 1A4984 802760A4 468010A0 */ cvt.s.w $f2, $f2 +/* 1A4988 802760A8 86020064 */ lh $v0, 0x64($s0) +/* 1A498C 802760AC 46022083 */ div.s $f2, $f4, $f2 +/* 1A4990 802760B0 44820000 */ mtc1 $v0, $f0 +/* 1A4994 802760B4 00000000 */ nop +/* 1A4998 802760B8 46800020 */ cvt.s.w $f0, $f0 +/* 1A499C 802760BC 46020002 */ mul.s $f0, $f0, $f2 +/* 1A49A0 802760C0 00000000 */ nop +/* 1A49A4 802760C4 C604004C */ lwc1 $f4, 0x4c($s0) +/* 1A49A8 802760C8 E6020040 */ swc1 $f2, 0x40($s0) +/* 1A49AC 802760CC 46002201 */ sub.s $f8, $f4, $f0 +func_802760D0: +/* 1A49B0 802760D0 86020064 */ lh $v0, 0x64($s0) +/* 1A49B4 802760D4 3C014049 */ lui $at, 0x4049 +/* 1A49B8 802760D8 34210FD0 */ ori $at, $at, 0xfd0 +/* 1A49BC 802760DC 44812000 */ mtc1 $at, $f4 +/* 1A49C0 802760E0 C602000C */ lwc1 $f2, 0xc($s0) +/* 1A49C4 802760E4 44820000 */ mtc1 $v0, $f0 +/* 1A49C8 802760E8 00000000 */ nop +/* 1A49CC 802760EC 46800020 */ cvt.s.w $f0, $f0 +/* 1A49D0 802760F0 46002103 */ div.s $f4, $f4, $f0 +/* 1A49D4 802760F4 C6000000 */ lwc1 $f0, ($s0) +/* 1A49D8 802760F8 46001081 */ sub.s $f2, $f2, $f0 +/* 1A49DC 802760FC 8E06005C */ lw $a2, 0x5c($s0) +/* 1A49E0 80276100 44820000 */ mtc1 $v0, $f0 +/* 1A49E4 80276104 00000000 */ nop +/* 1A49E8 80276108 46800020 */ cvt.s.w $f0, $f0 +/* 1A49EC 8027610C 46001083 */ div.s $f2, $f2, $f0 +/* 1A49F0 80276110 C6000010 */ lwc1 $f0, 0x10($s0) +/* 1A49F4 80276114 0000202D */ daddu $a0, $zero, $zero +/* 1A49F8 80276118 E604003C */ swc1 $f4, 0x3c($s0) +/* 1A49FC 8027611C E6020030 */ swc1 $f2, 0x30($s0) +/* 1A4A00 80276120 C6020004 */ lwc1 $f2, 4($s0) +/* 1A4A04 80276124 C6040014 */ lwc1 $f4, 0x14($s0) +/* 1A4A08 80276128 46020001 */ sub.s $f0, $f0, $f2 +/* 1A4A0C 8027612C 44821000 */ mtc1 $v0, $f2 +/* 1A4A10 80276130 00000000 */ nop +/* 1A4A14 80276134 468010A0 */ cvt.s.w $f2, $f2 +/* 1A4A18 80276138 46001186 */ mov.s $f6, $f2 +/* 1A4A1C 8027613C 46020003 */ div.s $f0, $f0, $f2 +/* 1A4A20 80276140 C6020008 */ lwc1 $f2, 8($s0) +/* 1A4A24 80276144 0080282D */ daddu $a1, $a0, $zero +/* 1A4A28 80276148 AE000044 */ sw $zero, 0x44($s0) +/* 1A4A2C 8027614C E6000034 */ swc1 $f0, 0x34($s0) +/* 1A4A30 80276150 46003006 */ mov.s $f0, $f6 +/* 1A4A34 80276154 46022101 */ sub.s $f4, $f4, $f2 +/* 1A4A38 80276158 C6020040 */ lwc1 $f2, 0x40($s0) +/* 1A4A3C 8027615C 46004003 */ div.s $f0, $f8, $f0 +/* 1A4A40 80276160 46001080 */ add.s $f2, $f2, $f0 +/* 1A4A44 80276164 46062103 */ div.s $f4, $f4, $f6 +/* 1A4A48 80276168 E6040038 */ swc1 $f4, 0x38($s0) +/* 1A4A4C 8027616C 0C098F3F */ jal set_animation +/* 1A4A50 80276170 E6020040 */ swc1 $f2, 0x40($s0) +/* 1A4A54 80276174 C640014C */ lwc1 $f0, 0x14c($s2) +/* 1A4A58 80276178 24040160 */ addiu $a0, $zero, 0x160 +/* 1A4A5C 8027617C E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A4A60 80276180 8E460144 */ lw $a2, 0x144($s2) +/* 1A4A64 80276184 8E470148 */ lw $a3, 0x148($s2) +/* 1A4A68 80276188 0C052757 */ jal play_sound_at_position +/* 1A4A6C 8027618C 0000282D */ daddu $a1, $zero, $zero +/* 1A4A70 80276190 C640014C */ lwc1 $f0, 0x14c($s2) +/* 1A4A74 80276194 24040147 */ addiu $a0, $zero, 0x147 +/* 1A4A78 80276198 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A4A7C 8027619C 8E460144 */ lw $a2, 0x144($s2) +/* 1A4A80 802761A0 8E470148 */ lw $a3, 0x148($s2) +/* 1A4A84 802761A4 0C052757 */ jal play_sound_at_position +/* 1A4A88 802761A8 0000282D */ daddu $a1, $zero, $zero +/* 1A4A8C 802761AC 86020064 */ lh $v0, 0x64($s0) +/* 1A4A90 802761B0 24030168 */ addiu $v1, $zero, 0x168 +/* 1A4A94 802761B4 14400002 */ bnez $v0, .L802761C0 +/* 1A4A98 802761B8 0062001A */ div $zero, $v1, $v0 +/* 1A4A9C 802761BC 0007000D */ break 7 +.L802761C0: +/* 1A4AA0 802761C0 2401FFFF */ addiu $at, $zero, -1 +/* 1A4AA4 802761C4 14410004 */ bne $v0, $at, .L802761D8 +/* 1A4AA8 802761C8 3C018000 */ lui $at, 0x8000 +/* 1A4AAC 802761CC 14610002 */ bne $v1, $at, .L802761D8 +/* 1A4AB0 802761D0 00000000 */ nop +/* 1A4AB4 802761D4 0006000D */ break 6 +.L802761D8: +/* 1A4AB8 802761D8 00001812 */ mflo $v1 +/* 1A4ABC 802761DC C608004C */ lwc1 $f8, 0x4c($s0) +/* 1A4AC0 802761E0 3C014034 */ lui $at, 0x4034 +/* 1A4AC4 802761E4 44811800 */ mtc1 $at, $f3 +/* 1A4AC8 802761E8 44801000 */ mtc1 $zero, $f2 +/* 1A4ACC 802761EC C6140044 */ lwc1 $f20, 0x44($s0) +/* 1A4AD0 802761F0 C616003C */ lwc1 $f22, 0x3c($s0) +/* 1A4AD4 802761F4 46004021 */ cvt.d.s $f0, $f8 +/* 1A4AD8 802761F8 46220001 */ sub.d $f0, $f0, $f2 +/* 1A4ADC 802761FC 3C0142B4 */ lui $at, 0x42b4 +/* 1A4AE0 80276200 44811000 */ mtc1 $at, $f2 +/* 1A4AE4 80276204 AE000018 */ sw $zero, 0x18($s0) +/* 1A4AE8 80276208 AE00001C */ sw $zero, 0x1c($s0) +/* 1A4AEC 8027620C E6020024 */ swc1 $f2, 0x24($s0) +/* 1A4AF0 80276210 3C014018 */ lui $at, 0x4018 +/* 1A4AF4 80276214 44811800 */ mtc1 $at, $f3 +/* 1A4AF8 80276218 44801000 */ mtc1 $zero, $f2 +/* 1A4AFC 8027621C C60C0024 */ lwc1 $f12, 0x24($s0) +/* 1A4B00 80276220 46200220 */ cvt.s.d $f8, $f0 +/* 1A4B04 80276224 46004021 */ cvt.d.s $f0, $f8 +/* 1A4B08 80276228 46220003 */ div.d $f0, $f0, $f2 +/* 1A4B0C 8027622C 46200220 */ cvt.s.d $f8, $f0 +/* 1A4B10 80276230 3C01802A */ lui $at, 0x802a +/* 1A4B14 80276234 D420D938 */ ldc1 $f0, -0x26c8($at) +/* 1A4B18 80276238 460040A1 */ cvt.d.s $f2, $f8 +/* 1A4B1C 8027623C 46201080 */ add.d $f2, $f2, $f0 +/* 1A4B20 80276240 3C0140C9 */ lui $at, 0x40c9 +/* 1A4B24 80276244 34210FD0 */ ori $at, $at, 0xfd0 +/* 1A4B28 80276248 44810000 */ mtc1 $at, $f0 +/* 1A4B2C 8027624C 4600A521 */ cvt.d.s $f20, $f20 +/* 1A4B30 80276250 46006302 */ mul.s $f12, $f12, $f0 +/* 1A4B34 80276254 00000000 */ nop +/* 1A4B38 80276258 4600B5A1 */ cvt.d.s $f22, $f22 +/* 1A4B3C 8027625C 3C0143B4 */ lui $at, 0x43b4 +/* 1A4B40 80276260 44810000 */ mtc1 $at, $f0 +/* 1A4B44 80276264 46201220 */ cvt.s.d $f8, $f2 +/* 1A4B48 80276268 E6080050 */ swc1 $f8, 0x50($s0) +/* 1A4B4C 8027626C 46006303 */ div.s $f12, $f12, $f0 +/* 1A4B50 80276270 44830000 */ mtc1 $v1, $f0 +/* 1A4B54 80276274 00000000 */ nop +/* 1A4B58 80276278 46800020 */ cvt.s.w $f0, $f0 +/* 1A4B5C 8027627C 0C00A85B */ jal sin_rad +/* 1A4B60 80276280 E6000028 */ swc1 $f0, 0x28($s0) +/* 1A4B64 80276284 3C01802A */ lui $at, 0x802a +/* 1A4B68 80276288 D422D940 */ ldc1 $f2, -0x26c0($at) +/* 1A4B6C 8027628C 46000021 */ cvt.d.s $f0, $f0 +/* 1A4B70 80276290 46220002 */ mul.d $f0, $f0, $f2 +/* 1A4B74 80276294 00000000 */ nop +/* 1A4B78 80276298 46360002 */ mul.d $f0, $f0, $f22 +/* 1A4B7C 8027629C 00000000 */ nop +/* 1A4B80 802762A0 46360000 */ add.d $f0, $f0, $f22 +/* 1A4B84 802762A4 4620A500 */ add.d $f20, $f20, $f0 +/* 1A4B88 802762A8 0809DA29 */ j func_802768A4 +/* 1A4B8C 802762AC 24020001 */ addiu $v0, $zero, 1 + +.L802762B0: +/* 1A4B90 802762B0 C6400144 */ lwc1 $f0, 0x144($s2) +/* 1A4B94 802762B4 C618000C */ lwc1 $f24, 0xc($s0) +/* 1A4B98 802762B8 C61A0014 */ lwc1 $f26, 0x14($s0) +/* 1A4B9C 802762BC E6000000 */ swc1 $f0, ($s0) +/* 1A4BA0 802762C0 46000586 */ mov.s $f22, $f0 +/* 1A4BA4 802762C4 4406C000 */ mfc1 $a2, $f24 +/* 1A4BA8 802762C8 C6400148 */ lwc1 $f0, 0x148($s2) +/* 1A4BAC 802762CC 4600B306 */ mov.s $f12, $f22 +/* 1A4BB0 802762D0 E6000004 */ swc1 $f0, 4($s0) +/* 1A4BB4 802762D4 C640014C */ lwc1 $f0, 0x14c($s2) +/* 1A4BB8 802762D8 4407D000 */ mfc1 $a3, $f26 +/* 1A4BBC 802762DC 46000506 */ mov.s $f20, $f0 +/* 1A4BC0 802762E0 4600A386 */ mov.s $f14, $f20 +/* 1A4BC4 802762E4 0C00A720 */ jal atan2 +/* 1A4BC8 802762E8 E6140008 */ swc1 $f20, 8($s0) +/* 1A4BCC 802762EC 4600B306 */ mov.s $f12, $f22 +/* 1A4BD0 802762F0 4406C000 */ mfc1 $a2, $f24 +/* 1A4BD4 802762F4 4407D000 */ mfc1 $a3, $f26 +/* 1A4BD8 802762F8 4600A386 */ mov.s $f14, $f20 +/* 1A4BDC 802762FC 0C00A7B5 */ jal dist2D +/* 1A4BE0 80276300 E6000048 */ swc1 $f0, 0x48($s0) +/* 1A4BE4 80276304 86020064 */ lh $v0, 0x64($s0) +/* 1A4BE8 80276308 46000106 */ mov.s $f4, $f0 +/* 1A4BEC 8027630C 14400012 */ bnez $v0, .L80276358 +/* 1A4BF0 80276310 E604004C */ swc1 $f4, 0x4c($s0) +/* 1A4BF4 80276314 C6000040 */ lwc1 $f0, 0x40($s0) +/* 1A4BF8 80276318 C6020040 */ lwc1 $f2, 0x40($s0) +/* 1A4BFC 8027631C 46002003 */ div.s $f0, $f4, $f0 +/* 1A4C00 80276320 4600028D */ trunc.w.s $f10, $f0 +/* 1A4C04 80276324 44035000 */ mfc1 $v1, $f10 +/* 1A4C08 80276328 00000000 */ nop +/* 1A4C0C 8027632C 00031400 */ sll $v0, $v1, 0x10 +/* 1A4C10 80276330 00021403 */ sra $v0, $v0, 0x10 +/* 1A4C14 80276334 44820000 */ mtc1 $v0, $f0 +/* 1A4C18 80276338 00000000 */ nop +/* 1A4C1C 8027633C 46800020 */ cvt.s.w $f0, $f0 +/* 1A4C20 80276340 46020002 */ mul.s $f0, $f0, $f2 +/* 1A4C24 80276344 00000000 */ nop +/* 1A4C28 80276348 46002086 */ mov.s $f2, $f4 +/* 1A4C2C 8027634C A6030064 */ sh $v1, 0x64($s0) +/* 1A4C30 80276350 0809D8E3 */ j func_8027638C +/* 1A4C34 80276354 46001201 */ sub.s $f8, $f2, $f0 + +.L80276358: +/* 1A4C38 80276358 44821000 */ mtc1 $v0, $f2 +/* 1A4C3C 8027635C 00000000 */ nop +/* 1A4C40 80276360 468010A0 */ cvt.s.w $f2, $f2 +/* 1A4C44 80276364 86020064 */ lh $v0, 0x64($s0) +/* 1A4C48 80276368 46022083 */ div.s $f2, $f4, $f2 +/* 1A4C4C 8027636C 44820000 */ mtc1 $v0, $f0 +/* 1A4C50 80276370 00000000 */ nop +/* 1A4C54 80276374 46800020 */ cvt.s.w $f0, $f0 +/* 1A4C58 80276378 46020002 */ mul.s $f0, $f0, $f2 +/* 1A4C5C 8027637C 00000000 */ nop +/* 1A4C60 80276380 C604004C */ lwc1 $f4, 0x4c($s0) +/* 1A4C64 80276384 E6020040 */ swc1 $f2, 0x40($s0) +/* 1A4C68 80276388 46002201 */ sub.s $f8, $f4, $f0 +func_8027638C: +/* 1A4C6C 8027638C 86020064 */ lh $v0, 0x64($s0) +/* 1A4C70 80276390 3C014049 */ lui $at, 0x4049 +/* 1A4C74 80276394 34210FD0 */ ori $at, $at, 0xfd0 +/* 1A4C78 80276398 44812000 */ mtc1 $at, $f4 +/* 1A4C7C 8027639C C602000C */ lwc1 $f2, 0xc($s0) +/* 1A4C80 802763A0 44820000 */ mtc1 $v0, $f0 +/* 1A4C84 802763A4 00000000 */ nop +/* 1A4C88 802763A8 46800020 */ cvt.s.w $f0, $f0 +/* 1A4C8C 802763AC 46002103 */ div.s $f4, $f4, $f0 +/* 1A4C90 802763B0 C6000000 */ lwc1 $f0, ($s0) +/* 1A4C94 802763B4 46001081 */ sub.s $f2, $f2, $f0 +/* 1A4C98 802763B8 8E060058 */ lw $a2, 0x58($s0) +/* 1A4C9C 802763BC 44820000 */ mtc1 $v0, $f0 +/* 1A4CA0 802763C0 00000000 */ nop +/* 1A4CA4 802763C4 46800020 */ cvt.s.w $f0, $f0 +/* 1A4CA8 802763C8 46001083 */ div.s $f2, $f2, $f0 +/* 1A4CAC 802763CC C6000010 */ lwc1 $f0, 0x10($s0) +/* 1A4CB0 802763D0 0000202D */ daddu $a0, $zero, $zero +/* 1A4CB4 802763D4 E604003C */ swc1 $f4, 0x3c($s0) +/* 1A4CB8 802763D8 E6020030 */ swc1 $f2, 0x30($s0) +/* 1A4CBC 802763DC C6020004 */ lwc1 $f2, 4($s0) +/* 1A4CC0 802763E0 C6040014 */ lwc1 $f4, 0x14($s0) +/* 1A4CC4 802763E4 46020001 */ sub.s $f0, $f0, $f2 +/* 1A4CC8 802763E8 44821000 */ mtc1 $v0, $f2 +/* 1A4CCC 802763EC 00000000 */ nop +/* 1A4CD0 802763F0 468010A0 */ cvt.s.w $f2, $f2 +/* 1A4CD4 802763F4 46001186 */ mov.s $f6, $f2 +/* 1A4CD8 802763F8 46020003 */ div.s $f0, $f0, $f2 +/* 1A4CDC 802763FC C6020008 */ lwc1 $f2, 8($s0) +/* 1A4CE0 80276400 0080282D */ daddu $a1, $a0, $zero +/* 1A4CE4 80276404 AE000044 */ sw $zero, 0x44($s0) +/* 1A4CE8 80276408 E6000034 */ swc1 $f0, 0x34($s0) +/* 1A4CEC 8027640C 46003006 */ mov.s $f0, $f6 +/* 1A4CF0 80276410 46022101 */ sub.s $f4, $f4, $f2 +/* 1A4CF4 80276414 C6020040 */ lwc1 $f2, 0x40($s0) +/* 1A4CF8 80276418 46004003 */ div.s $f0, $f8, $f0 +/* 1A4CFC 8027641C 46001080 */ add.s $f2, $f2, $f0 +/* 1A4D00 80276420 46062103 */ div.s $f4, $f4, $f6 +/* 1A4D04 80276424 E6040038 */ swc1 $f4, 0x38($s0) +/* 1A4D08 80276428 0C098F3F */ jal set_animation +/* 1A4D0C 8027642C E6020040 */ swc1 $f2, 0x40($s0) +/* 1A4D10 80276430 C640014C */ lwc1 $f0, 0x14c($s2) +/* 1A4D14 80276434 24040160 */ addiu $a0, $zero, 0x160 +/* 1A4D18 80276438 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A4D1C 8027643C 8E460144 */ lw $a2, 0x144($s2) +/* 1A4D20 80276440 8E470148 */ lw $a3, 0x148($s2) +/* 1A4D24 80276444 0C052757 */ jal play_sound_at_position +/* 1A4D28 80276448 0000282D */ daddu $a1, $zero, $zero +/* 1A4D2C 8027644C C640014C */ lwc1 $f0, 0x14c($s2) +/* 1A4D30 80276450 24040147 */ addiu $a0, $zero, 0x147 +/* 1A4D34 80276454 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A4D38 80276458 8E460144 */ lw $a2, 0x144($s2) +/* 1A4D3C 8027645C 8E470148 */ lw $a3, 0x148($s2) +/* 1A4D40 80276460 0C052757 */ jal play_sound_at_position +/* 1A4D44 80276464 0000282D */ daddu $a1, $zero, $zero +/* 1A4D48 80276468 86020064 */ lh $v0, 0x64($s0) +/* 1A4D4C 8027646C 24030168 */ addiu $v1, $zero, 0x168 +/* 1A4D50 80276470 14400002 */ bnez $v0, .L8027647C +/* 1A4D54 80276474 0062001A */ div $zero, $v1, $v0 +/* 1A4D58 80276478 0007000D */ break 7 +.L8027647C: +/* 1A4D5C 8027647C 2401FFFF */ addiu $at, $zero, -1 +/* 1A4D60 80276480 14410004 */ bne $v0, $at, .L80276494 +/* 1A4D64 80276484 3C018000 */ lui $at, 0x8000 +/* 1A4D68 80276488 14610002 */ bne $v1, $at, .L80276494 +/* 1A4D6C 8027648C 00000000 */ nop +/* 1A4D70 80276490 0006000D */ break 6 +.L80276494: +/* 1A4D74 80276494 00001812 */ mflo $v1 +/* 1A4D78 80276498 C608004C */ lwc1 $f8, 0x4c($s0) +/* 1A4D7C 8027649C 3C014034 */ lui $at, 0x4034 +/* 1A4D80 802764A0 44811800 */ mtc1 $at, $f3 +/* 1A4D84 802764A4 44801000 */ mtc1 $zero, $f2 +/* 1A4D88 802764A8 C6140044 */ lwc1 $f20, 0x44($s0) +/* 1A4D8C 802764AC C616003C */ lwc1 $f22, 0x3c($s0) +/* 1A4D90 802764B0 46004021 */ cvt.d.s $f0, $f8 +/* 1A4D94 802764B4 46220001 */ sub.d $f0, $f0, $f2 +/* 1A4D98 802764B8 3C0142B4 */ lui $at, 0x42b4 +/* 1A4D9C 802764BC 44811000 */ mtc1 $at, $f2 +/* 1A4DA0 802764C0 AE000018 */ sw $zero, 0x18($s0) +/* 1A4DA4 802764C4 AE00001C */ sw $zero, 0x1c($s0) +/* 1A4DA8 802764C8 E6020024 */ swc1 $f2, 0x24($s0) +/* 1A4DAC 802764CC 3C014018 */ lui $at, 0x4018 +/* 1A4DB0 802764D0 44811800 */ mtc1 $at, $f3 +/* 1A4DB4 802764D4 44801000 */ mtc1 $zero, $f2 +/* 1A4DB8 802764D8 C60C0024 */ lwc1 $f12, 0x24($s0) +/* 1A4DBC 802764DC 46200220 */ cvt.s.d $f8, $f0 +/* 1A4DC0 802764E0 46004021 */ cvt.d.s $f0, $f8 +/* 1A4DC4 802764E4 46220003 */ div.d $f0, $f0, $f2 +/* 1A4DC8 802764E8 46200220 */ cvt.s.d $f8, $f0 +/* 1A4DCC 802764EC 3C01802A */ lui $at, 0x802a +/* 1A4DD0 802764F0 D420D948 */ ldc1 $f0, -0x26b8($at) +/* 1A4DD4 802764F4 460040A1 */ cvt.d.s $f2, $f8 +/* 1A4DD8 802764F8 46201080 */ add.d $f2, $f2, $f0 +/* 1A4DDC 802764FC 3C0140C9 */ lui $at, 0x40c9 +/* 1A4DE0 80276500 34210FD0 */ ori $at, $at, 0xfd0 +/* 1A4DE4 80276504 44810000 */ mtc1 $at, $f0 +/* 1A4DE8 80276508 4600A521 */ cvt.d.s $f20, $f20 +/* 1A4DEC 8027650C 46006302 */ mul.s $f12, $f12, $f0 +/* 1A4DF0 80276510 00000000 */ nop +/* 1A4DF4 80276514 4600B5A1 */ cvt.d.s $f22, $f22 +/* 1A4DF8 80276518 3C0143B4 */ lui $at, 0x43b4 +/* 1A4DFC 8027651C 44810000 */ mtc1 $at, $f0 +/* 1A4E00 80276520 46201220 */ cvt.s.d $f8, $f2 +/* 1A4E04 80276524 E6080050 */ swc1 $f8, 0x50($s0) +/* 1A4E08 80276528 46006303 */ div.s $f12, $f12, $f0 +/* 1A4E0C 8027652C 44830000 */ mtc1 $v1, $f0 +/* 1A4E10 80276530 00000000 */ nop +/* 1A4E14 80276534 46800020 */ cvt.s.w $f0, $f0 +/* 1A4E18 80276538 0C00A85B */ jal sin_rad +/* 1A4E1C 8027653C E6000028 */ swc1 $f0, 0x28($s0) +/* 1A4E20 80276540 3C01802A */ lui $at, 0x802a +/* 1A4E24 80276544 D422D950 */ ldc1 $f2, -0x26b0($at) +/* 1A4E28 80276548 46000021 */ cvt.d.s $f0, $f0 +/* 1A4E2C 8027654C 46220002 */ mul.d $f0, $f0, $f2 +/* 1A4E30 80276550 00000000 */ nop +/* 1A4E34 80276554 46360002 */ mul.d $f0, $f0, $f22 +/* 1A4E38 80276558 00000000 */ nop +/* 1A4E3C 8027655C 46360000 */ add.d $f0, $f0, $f22 +/* 1A4E40 80276560 4620A500 */ add.d $f20, $f20, $f0 +/* 1A4E44 80276564 0809DA29 */ j func_802768A4 +/* 1A4E48 80276568 2402000B */ addiu $v0, $zero, 0xb + +.L8027656C: +/* 1A4E4C 8027656C 0000202D */ daddu $a0, $zero, $zero +/* 1A4E50 80276570 24050001 */ addiu $a1, $zero, 1 +/* 1A4E54 80276574 3C060001 */ lui $a2, 1 +/* 1A4E58 80276578 34C6000C */ ori $a2, $a2, 0xc +/* 1A4E5C 8027657C 00A0102D */ daddu $v0, $a1, $zero +/* 1A4E60 80276580 0C098F3F */ jal set_animation +/* 1A4E64 80276584 A6020064 */ sh $v0, 0x64($s0) +/* 1A4E68 80276588 AE400160 */ sw $zero, 0x160($s2) +/* 1A4E6C 8027658C 86020064 */ lh $v0, 0x64($s0) +/* 1A4E70 80276590 24030168 */ addiu $v1, $zero, 0x168 +/* 1A4E74 80276594 14400002 */ bnez $v0, .L802765A0 +/* 1A4E78 80276598 0062001A */ div $zero, $v1, $v0 +/* 1A4E7C 8027659C 0007000D */ break 7 +.L802765A0: +/* 1A4E80 802765A0 2401FFFF */ addiu $at, $zero, -1 +/* 1A4E84 802765A4 14410004 */ bne $v0, $at, .L802765B8 +/* 1A4E88 802765A8 3C018000 */ lui $at, 0x8000 +/* 1A4E8C 802765AC 14610002 */ bne $v1, $at, .L802765B8 +/* 1A4E90 802765B0 00000000 */ nop +/* 1A4E94 802765B4 0006000D */ break 6 +.L802765B8: +/* 1A4E98 802765B8 00001812 */ mflo $v1 +/* 1A4E9C 802765BC C6000018 */ lwc1 $f0, 0x18($s0) +/* 1A4EA0 802765C0 C602001C */ lwc1 $f2, 0x1c($s0) +/* 1A4EA4 802765C4 46020001 */ sub.s $f0, $f0, $f2 +/* 1A4EA8 802765C8 3C0142B4 */ lui $at, 0x42b4 +/* 1A4EAC 802765CC 44811000 */ mtc1 $at, $f2 +/* 1A4EB0 802765D0 00000000 */ nop +/* 1A4EB4 802765D4 E6020024 */ swc1 $f2, 0x24($s0) +/* 1A4EB8 802765D8 3C01802A */ lui $at, 0x802a +/* 1A4EBC 802765DC D422D958 */ ldc1 $f2, -0x26a8($at) +/* 1A4EC0 802765E0 46000005 */ abs.s $f0, $f0 +/* 1A4EC4 802765E4 46000021 */ cvt.d.s $f0, $f0 +/* 1A4EC8 802765E8 46220003 */ div.d $f0, $f0, $f2 +/* 1A4ECC 802765EC 46200020 */ cvt.s.d $f0, $f0 +/* 1A4ED0 802765F0 E6000050 */ swc1 $f0, 0x50($s0) +/* 1A4ED4 802765F4 44830000 */ mtc1 $v1, $f0 +/* 1A4ED8 802765F8 00000000 */ nop +/* 1A4EDC 802765FC 46800020 */ cvt.s.w $f0, $f0 +/* 1A4EE0 80276600 E6000028 */ swc1 $f0, 0x28($s0) +/* 1A4EE4 80276604 C6400144 */ lwc1 $f0, 0x144($s2) +/* 1A4EE8 80276608 E6000000 */ swc1 $f0, ($s0) +/* 1A4EEC 8027660C C6400148 */ lwc1 $f0, 0x148($s2) +/* 1A4EF0 80276610 E6000004 */ swc1 $f0, 4($s0) +/* 1A4EF4 80276614 C640014C */ lwc1 $f0, 0x14c($s2) +/* 1A4EF8 80276618 24020015 */ addiu $v0, $zero, 0x15 +/* 1A4EFC 8027661C 0809DA2B */ j func_802768AC +/* 1A4F00 80276620 E6000008 */ swc1 $f0, 8($s0) + +.L80276624: +/* 1A4F04 80276624 C6400144 */ lwc1 $f0, 0x144($s2) +/* 1A4F08 80276628 C618000C */ lwc1 $f24, 0xc($s0) +/* 1A4F0C 8027662C C61A0014 */ lwc1 $f26, 0x14($s0) +/* 1A4F10 80276630 E6000000 */ swc1 $f0, ($s0) +/* 1A4F14 80276634 46000586 */ mov.s $f22, $f0 +/* 1A4F18 80276638 4406C000 */ mfc1 $a2, $f24 +/* 1A4F1C 8027663C C6400148 */ lwc1 $f0, 0x148($s2) +/* 1A4F20 80276640 4600B306 */ mov.s $f12, $f22 +/* 1A4F24 80276644 E6000004 */ swc1 $f0, 4($s0) +/* 1A4F28 80276648 C640014C */ lwc1 $f0, 0x14c($s2) +/* 1A4F2C 8027664C 4407D000 */ mfc1 $a3, $f26 +/* 1A4F30 80276650 46000506 */ mov.s $f20, $f0 +/* 1A4F34 80276654 46000386 */ mov.s $f14, $f0 +/* 1A4F38 80276658 0C00A720 */ jal atan2 +/* 1A4F3C 8027665C E6140008 */ swc1 $f20, 8($s0) +/* 1A4F40 80276660 4600B306 */ mov.s $f12, $f22 +/* 1A4F44 80276664 4406C000 */ mfc1 $a2, $f24 +/* 1A4F48 80276668 4407D000 */ mfc1 $a3, $f26 +/* 1A4F4C 8027666C 4600A386 */ mov.s $f14, $f20 +/* 1A4F50 80276670 0C00A7B5 */ jal dist2D +/* 1A4F54 80276674 E6000048 */ swc1 $f0, 0x48($s0) +/* 1A4F58 80276678 86020064 */ lh $v0, 0x64($s0) +/* 1A4F5C 8027667C 46000106 */ mov.s $f4, $f0 +/* 1A4F60 80276680 14400012 */ bnez $v0, .L802766CC +/* 1A4F64 80276684 E604004C */ swc1 $f4, 0x4c($s0) +/* 1A4F68 80276688 C6000040 */ lwc1 $f0, 0x40($s0) +/* 1A4F6C 8027668C C6020040 */ lwc1 $f2, 0x40($s0) +/* 1A4F70 80276690 46002003 */ div.s $f0, $f4, $f0 +/* 1A4F74 80276694 4600028D */ trunc.w.s $f10, $f0 +/* 1A4F78 80276698 44035000 */ mfc1 $v1, $f10 +/* 1A4F7C 8027669C 00000000 */ nop +/* 1A4F80 802766A0 00031400 */ sll $v0, $v1, 0x10 +/* 1A4F84 802766A4 00021403 */ sra $v0, $v0, 0x10 +/* 1A4F88 802766A8 44820000 */ mtc1 $v0, $f0 +/* 1A4F8C 802766AC 00000000 */ nop +/* 1A4F90 802766B0 46800020 */ cvt.s.w $f0, $f0 +/* 1A4F94 802766B4 46020002 */ mul.s $f0, $f0, $f2 +/* 1A4F98 802766B8 00000000 */ nop +/* 1A4F9C 802766BC 46002086 */ mov.s $f2, $f4 +/* 1A4FA0 802766C0 A6030064 */ sh $v1, 0x64($s0) +/* 1A4FA4 802766C4 0809D9C0 */ j func_80276700 +/* 1A4FA8 802766C8 46001201 */ sub.s $f8, $f2, $f0 + +.L802766CC: +/* 1A4FAC 802766CC 44821000 */ mtc1 $v0, $f2 +/* 1A4FB0 802766D0 00000000 */ nop +/* 1A4FB4 802766D4 468010A0 */ cvt.s.w $f2, $f2 +/* 1A4FB8 802766D8 86020064 */ lh $v0, 0x64($s0) +/* 1A4FBC 802766DC 46022083 */ div.s $f2, $f4, $f2 +/* 1A4FC0 802766E0 44820000 */ mtc1 $v0, $f0 +/* 1A4FC4 802766E4 00000000 */ nop +/* 1A4FC8 802766E8 46800020 */ cvt.s.w $f0, $f0 +/* 1A4FCC 802766EC 46020002 */ mul.s $f0, $f0, $f2 +/* 1A4FD0 802766F0 00000000 */ nop +/* 1A4FD4 802766F4 C604004C */ lwc1 $f4, 0x4c($s0) +/* 1A4FD8 802766F8 E6020040 */ swc1 $f2, 0x40($s0) +/* 1A4FDC 802766FC 46002201 */ sub.s $f8, $f4, $f0 +func_80276700: +/* 1A4FE0 80276700 86020064 */ lh $v0, 0x64($s0) +/* 1A4FE4 80276704 3C014049 */ lui $at, 0x4049 +/* 1A4FE8 80276708 34210FD0 */ ori $at, $at, 0xfd0 +/* 1A4FEC 8027670C 44812000 */ mtc1 $at, $f4 +/* 1A4FF0 80276710 C602000C */ lwc1 $f2, 0xc($s0) +/* 1A4FF4 80276714 24420001 */ addiu $v0, $v0, 1 +/* 1A4FF8 80276718 44820000 */ mtc1 $v0, $f0 +/* 1A4FFC 8027671C 00000000 */ nop +/* 1A5000 80276720 46800020 */ cvt.s.w $f0, $f0 +/* 1A5004 80276724 46002103 */ div.s $f4, $f4, $f0 +/* 1A5008 80276728 C6000000 */ lwc1 $f0, ($s0) +/* 1A500C 8027672C 86020064 */ lh $v0, 0x64($s0) +/* 1A5010 80276730 46001081 */ sub.s $f2, $f2, $f0 +/* 1A5014 80276734 8E060058 */ lw $a2, 0x58($s0) +/* 1A5018 80276738 44820000 */ mtc1 $v0, $f0 +/* 1A501C 8027673C 00000000 */ nop +/* 1A5020 80276740 46800020 */ cvt.s.w $f0, $f0 +/* 1A5024 80276744 46001083 */ div.s $f2, $f2, $f0 +/* 1A5028 80276748 C6000010 */ lwc1 $f0, 0x10($s0) +/* 1A502C 8027674C 0000202D */ daddu $a0, $zero, $zero +/* 1A5030 80276750 E604003C */ swc1 $f4, 0x3c($s0) +/* 1A5034 80276754 E6020030 */ swc1 $f2, 0x30($s0) +/* 1A5038 80276758 C6020004 */ lwc1 $f2, 4($s0) +/* 1A503C 8027675C C6040014 */ lwc1 $f4, 0x14($s0) +/* 1A5040 80276760 46020001 */ sub.s $f0, $f0, $f2 +/* 1A5044 80276764 44821000 */ mtc1 $v0, $f2 +/* 1A5048 80276768 00000000 */ nop +/* 1A504C 8027676C 468010A0 */ cvt.s.w $f2, $f2 +/* 1A5050 80276770 46001186 */ mov.s $f6, $f2 +/* 1A5054 80276774 46020003 */ div.s $f0, $f0, $f2 +/* 1A5058 80276778 C6020008 */ lwc1 $f2, 8($s0) +/* 1A505C 8027677C 0080282D */ daddu $a1, $a0, $zero +/* 1A5060 80276780 AE000044 */ sw $zero, 0x44($s0) +/* 1A5064 80276784 E6000034 */ swc1 $f0, 0x34($s0) +/* 1A5068 80276788 46003006 */ mov.s $f0, $f6 +/* 1A506C 8027678C 46022101 */ sub.s $f4, $f4, $f2 +/* 1A5070 80276790 C6020040 */ lwc1 $f2, 0x40($s0) +/* 1A5074 80276794 46004003 */ div.s $f0, $f8, $f0 +/* 1A5078 80276798 46001080 */ add.s $f2, $f2, $f0 +/* 1A507C 8027679C 46062103 */ div.s $f4, $f4, $f6 +/* 1A5080 802767A0 E6040038 */ swc1 $f4, 0x38($s0) +/* 1A5084 802767A4 0C098F3F */ jal set_animation +/* 1A5088 802767A8 E6020040 */ swc1 $f2, 0x40($s0) +/* 1A508C 802767AC C640014C */ lwc1 $f0, 0x14c($s2) +/* 1A5090 802767B0 24040160 */ addiu $a0, $zero, 0x160 +/* 1A5094 802767B4 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A5098 802767B8 8E460144 */ lw $a2, 0x144($s2) +/* 1A509C 802767BC 8E470148 */ lw $a3, 0x148($s2) +/* 1A50A0 802767C0 0C052757 */ jal play_sound_at_position +/* 1A50A4 802767C4 0000282D */ daddu $a1, $zero, $zero +/* 1A50A8 802767C8 86030064 */ lh $v1, 0x64($s0) +/* 1A50AC 802767CC 24020168 */ addiu $v0, $zero, 0x168 +/* 1A50B0 802767D0 14600002 */ bnez $v1, .L802767DC +/* 1A50B4 802767D4 0043001A */ div $zero, $v0, $v1 +/* 1A50B8 802767D8 0007000D */ break 7 +.L802767DC: +/* 1A50BC 802767DC 2401FFFF */ addiu $at, $zero, -1 +/* 1A50C0 802767E0 14610004 */ bne $v1, $at, .L802767F4 +/* 1A50C4 802767E4 3C018000 */ lui $at, 0x8000 +/* 1A50C8 802767E8 14410002 */ bne $v0, $at, .L802767F4 +/* 1A50CC 802767EC 00000000 */ nop +/* 1A50D0 802767F0 0006000D */ break 6 +.L802767F4: +/* 1A50D4 802767F4 00001012 */ mflo $v0 +/* 1A50D8 802767F8 3C0142B4 */ lui $at, 0x42b4 +/* 1A50DC 802767FC 44810000 */ mtc1 $at, $f0 +/* 1A50E0 80276800 3C014234 */ lui $at, 0x4234 +/* 1A50E4 80276804 44811000 */ mtc1 $at, $f2 +/* 1A50E8 80276808 86030066 */ lh $v1, 0x66($s0) +/* 1A50EC 8027680C E6000024 */ swc1 $f0, 0x24($s0) +/* 1A50F0 80276810 E6020050 */ swc1 $f2, 0x50($s0) +/* 1A50F4 80276814 44820000 */ mtc1 $v0, $f0 +/* 1A50F8 80276818 00000000 */ nop +/* 1A50FC 8027681C 46800020 */ cvt.s.w $f0, $f0 +/* 1A5100 80276820 24020004 */ addiu $v0, $zero, 4 +/* 1A5104 80276824 14620005 */ bne $v1, $v0, .L8027683C +/* 1A5108 80276828 E6000028 */ swc1 $f0, 0x28($s0) +/* 1A510C 8027682C 3C014261 */ lui $at, 0x4261 +/* 1A5110 80276830 44810000 */ mtc1 $at, $f0 +/* 1A5114 80276834 00000000 */ nop +/* 1A5118 80276838 E6000050 */ swc1 $f0, 0x50($s0) +.L8027683C: +/* 1A511C 8027683C C60C0024 */ lwc1 $f12, 0x24($s0) +/* 1A5120 80276840 3C0140C9 */ lui $at, 0x40c9 +/* 1A5124 80276844 34210FD0 */ ori $at, $at, 0xfd0 +/* 1A5128 80276848 44810000 */ mtc1 $at, $f0 +/* 1A512C 8027684C C6140044 */ lwc1 $f20, 0x44($s0) +/* 1A5130 80276850 C616003C */ lwc1 $f22, 0x3c($s0) +/* 1A5134 80276854 AE000018 */ sw $zero, 0x18($s0) +/* 1A5138 80276858 46006302 */ mul.s $f12, $f12, $f0 +/* 1A513C 8027685C 00000000 */ nop +/* 1A5140 80276860 AE00001C */ sw $zero, 0x1c($s0) +/* 1A5144 80276864 4600A521 */ cvt.d.s $f20, $f20 +/* 1A5148 80276868 3C0143B4 */ lui $at, 0x43b4 +/* 1A514C 8027686C 44810000 */ mtc1 $at, $f0 +/* 1A5150 80276870 4600B5A1 */ cvt.d.s $f22, $f22 +/* 1A5154 80276874 0C00A85B */ jal sin_rad +/* 1A5158 80276878 46006303 */ div.s $f12, $f12, $f0 +/* 1A515C 8027687C 3C01802A */ lui $at, 0x802a +/* 1A5160 80276880 D422D960 */ ldc1 $f2, -0x26a0($at) +/* 1A5164 80276884 46000021 */ cvt.d.s $f0, $f0 +/* 1A5168 80276888 46220002 */ mul.d $f0, $f0, $f2 +/* 1A516C 8027688C 00000000 */ nop +/* 1A5170 80276890 46360002 */ mul.d $f0, $f0, $f22 +/* 1A5174 80276894 00000000 */ nop +/* 1A5178 80276898 46360000 */ add.d $f0, $f0, $f22 +/* 1A517C 8027689C 4620A500 */ add.d $f20, $f20, $f0 +/* 1A5180 802768A0 2402001F */ addiu $v0, $zero, 0x1f +func_802768A4: +/* 1A5184 802768A4 4620A520 */ cvt.s.d $f20, $f20 +/* 1A5188 802768A8 E6140044 */ swc1 $f20, 0x44($s0) +func_802768AC: +/* 1A518C 802768AC AE620070 */ sw $v0, 0x70($s3) +func_802768B0: +/* 1A5190 802768B0 8E640070 */ lw $a0, 0x70($s3) +/* 1A5194 802768B4 2402000B */ addiu $v0, $zero, 0xb +/* 1A5198 802768B8 10820060 */ beq $a0, $v0, .L80276A3C +/* 1A519C 802768BC 2882000C */ slti $v0, $a0, 0xc +/* 1A51A0 802768C0 10400005 */ beqz $v0, .L802768D8 +/* 1A51A4 802768C4 24020001 */ addiu $v0, $zero, 1 +/* 1A51A8 802768C8 1082000A */ beq $a0, $v0, .L802768F4 +/* 1A51AC 802768CC 0000102D */ daddu $v0, $zero, $zero +/* 1A51B0 802768D0 0809DBA2 */ j func_80276E88 +/* 1A51B4 802768D4 00000000 */ nop + +.L802768D8: +/* 1A51B8 802768D8 24020015 */ addiu $v0, $zero, 0x15 +/* 1A51BC 802768DC 108200C7 */ beq $a0, $v0, .L80276BFC +/* 1A51C0 802768E0 2402001F */ addiu $v0, $zero, 0x1f +/* 1A51C4 802768E4 10820100 */ beq $a0, $v0, .L80276CE8 +/* 1A51C8 802768E8 0000102D */ daddu $v0, $zero, $zero +/* 1A51CC 802768EC 0809DBA2 */ j func_80276E88 +/* 1A51D0 802768F0 00000000 */ nop + +.L802768F4: +/* 1A51D4 802768F4 C60C0024 */ lwc1 $f12, 0x24($s0) +/* 1A51D8 802768F8 3C0140C9 */ lui $at, 0x40c9 +/* 1A51DC 802768FC 34210FD0 */ ori $at, $at, 0xfd0 +/* 1A51E0 80276900 44810000 */ mtc1 $at, $f0 +/* 1A51E4 80276904 C6160044 */ lwc1 $f22, 0x44($s0) +/* 1A51E8 80276908 46006302 */ mul.s $f12, $f12, $f0 +/* 1A51EC 8027690C 00000000 */ nop +/* 1A51F0 80276910 C614003C */ lwc1 $f20, 0x3c($s0) +/* 1A51F4 80276914 4600B5A1 */ cvt.d.s $f22, $f22 +/* 1A51F8 80276918 3C0143B4 */ lui $at, 0x43b4 +/* 1A51FC 8027691C 44810000 */ mtc1 $at, $f0 +/* 1A5200 80276920 4600A521 */ cvt.d.s $f20, $f20 +/* 1A5204 80276924 0C00A85B */ jal sin_rad +/* 1A5208 80276928 46006303 */ div.s $f12, $f12, $f0 +/* 1A520C 8027692C 3C01802A */ lui $at, 0x802a +/* 1A5210 80276930 D422D968 */ ldc1 $f2, -0x2698($at) +/* 1A5214 80276934 46000021 */ cvt.d.s $f0, $f0 +/* 1A5218 80276938 46220002 */ mul.d $f0, $f0, $f2 +/* 1A521C 8027693C 00000000 */ nop +/* 1A5220 80276940 46340002 */ mul.d $f0, $f0, $f20 +/* 1A5224 80276944 00000000 */ nop +/* 1A5228 80276948 C6080000 */ lwc1 $f8, ($s0) +/* 1A522C 8027694C C6020030 */ lwc1 $f2, 0x30($s0) +/* 1A5230 80276950 C6060004 */ lwc1 $f6, 4($s0) +/* 1A5234 80276954 46024200 */ add.s $f8, $f8, $f2 +/* 1A5238 80276958 C6020034 */ lwc1 $f2, 0x34($s0) +/* 1A523C 8027695C C6040008 */ lwc1 $f4, 8($s0) +/* 1A5240 80276960 46023180 */ add.s $f6, $f6, $f2 +/* 1A5244 80276964 C6020038 */ lwc1 $f2, 0x38($s0) +/* 1A5248 80276968 46022100 */ add.s $f4, $f4, $f2 +/* 1A524C 8027696C 46340000 */ add.d $f0, $f0, $f20 +/* 1A5250 80276970 E6080000 */ swc1 $f8, ($s0) +/* 1A5254 80276974 4620B580 */ add.d $f22, $f22, $f0 +/* 1A5258 80276978 E6060004 */ swc1 $f6, 4($s0) +/* 1A525C 8027697C E6040008 */ swc1 $f4, 8($s0) +/* 1A5260 80276980 4620B5A0 */ cvt.s.d $f22, $f22 +/* 1A5264 80276984 E6160044 */ swc1 $f22, 0x44($s0) +/* 1A5268 80276988 C6400148 */ lwc1 $f0, 0x148($s2) +/* 1A526C 8027698C 46004086 */ mov.s $f2, $f8 +/* 1A5270 80276990 E6000018 */ swc1 $f0, 0x18($s0) +/* 1A5274 80276994 E6420144 */ swc1 $f2, 0x144($s2) +/* 1A5278 80276998 0C00A85B */ jal sin_rad +/* 1A527C 8027699C C60C0044 */ lwc1 $f12, 0x44($s0) +/* 1A5280 802769A0 C6020050 */ lwc1 $f2, 0x50($s0) +/* 1A5284 802769A4 46001082 */ mul.s $f2, $f2, $f0 +/* 1A5288 802769A8 00000000 */ nop +/* 1A528C 802769AC C6000004 */ lwc1 $f0, 4($s0) +/* 1A5290 802769B0 46020000 */ add.s $f0, $f0, $f2 +/* 1A5294 802769B4 E6400148 */ swc1 $f0, 0x148($s2) +/* 1A5298 802769B8 C6000008 */ lwc1 $f0, 8($s0) +/* 1A529C 802769BC E640014C */ swc1 $f0, 0x14c($s2) +/* 1A52A0 802769C0 C60C0024 */ lwc1 $f12, 0x24($s0) +/* 1A52A4 802769C4 C6000028 */ lwc1 $f0, 0x28($s0) +/* 1A52A8 802769C8 46006300 */ add.s $f12, $f12, $f0 +/* 1A52AC 802769CC C6400148 */ lwc1 $f0, 0x148($s2) +/* 1A52B0 802769D0 E600001C */ swc1 $f0, 0x1c($s0) +/* 1A52B4 802769D4 0C00A6C9 */ jal clamp_angle +/* 1A52B8 802769D8 E60C0024 */ swc1 $f12, 0x24($s0) +/* 1A52BC 802769DC E6000024 */ swc1 $f0, 0x24($s0) +/* 1A52C0 802769E0 C64C0160 */ lwc1 $f12, 0x160($s2) +/* 1A52C4 802769E4 3C014305 */ lui $at, 0x4305 +/* 1A52C8 802769E8 44810000 */ mtc1 $at, $f0 +/* 1A52CC 802769EC 00000000 */ nop +/* 1A52D0 802769F0 46006300 */ add.s $f12, $f12, $f0 +/* 1A52D4 802769F4 0C00A6C9 */ jal clamp_angle +/* 1A52D8 802769F8 E64C0160 */ swc1 $f12, 0x160($s2) +/* 1A52DC 802769FC E6400160 */ swc1 $f0, 0x160($s2) +/* 1A52E0 80276A00 3C02800E */ lui $v0, 0x800e +/* 1A52E4 80276A04 8C42C070 */ lw $v0, -0x3f90($v0) +/* 1A52E8 80276A08 30422000 */ andi $v0, $v0, 0x2000 +/* 1A52EC 80276A0C 1440011E */ bnez $v0, .L80276E88 +/* 1A52F0 80276A10 24020002 */ addiu $v0, $zero, 2 +/* 1A52F4 80276A14 96020064 */ lhu $v0, 0x64($s0) +/* 1A52F8 80276A18 24030004 */ addiu $v1, $zero, 4 +/* 1A52FC 80276A1C 2442FFFF */ addiu $v0, $v0, -1 +/* 1A5300 80276A20 A6020064 */ sh $v0, 0x64($s0) +/* 1A5304 80276A24 00021400 */ sll $v0, $v0, 0x10 +/* 1A5308 80276A28 00021403 */ sra $v0, $v0, 0x10 +/* 1A530C 80276A2C 14430116 */ bne $v0, $v1, .L80276E88 +/* 1A5310 80276A30 0000102D */ daddu $v0, $zero, $zero +/* 1A5314 80276A34 0809DBA2 */ j func_80276E88 +/* 1A5318 80276A38 24020001 */ addiu $v0, $zero, 1 + +.L80276A3C: +/* 1A531C 80276A3C C60C0024 */ lwc1 $f12, 0x24($s0) +/* 1A5320 80276A40 3C0140C9 */ lui $at, 0x40c9 +/* 1A5324 80276A44 34210FD0 */ ori $at, $at, 0xfd0 +/* 1A5328 80276A48 44810000 */ mtc1 $at, $f0 +/* 1A532C 80276A4C C6160044 */ lwc1 $f22, 0x44($s0) +/* 1A5330 80276A50 46006302 */ mul.s $f12, $f12, $f0 +/* 1A5334 80276A54 00000000 */ nop +/* 1A5338 80276A58 C614003C */ lwc1 $f20, 0x3c($s0) +/* 1A533C 80276A5C 4600B5A1 */ cvt.d.s $f22, $f22 +/* 1A5340 80276A60 3C0143B4 */ lui $at, 0x43b4 +/* 1A5344 80276A64 44810000 */ mtc1 $at, $f0 +/* 1A5348 80276A68 4600A521 */ cvt.d.s $f20, $f20 +/* 1A534C 80276A6C 0C00A85B */ jal sin_rad +/* 1A5350 80276A70 46006303 */ div.s $f12, $f12, $f0 +/* 1A5354 80276A74 3C01802A */ lui $at, 0x802a +/* 1A5358 80276A78 D422D970 */ ldc1 $f2, -0x2690($at) +/* 1A535C 80276A7C 46000021 */ cvt.d.s $f0, $f0 +/* 1A5360 80276A80 46220002 */ mul.d $f0, $f0, $f2 +/* 1A5364 80276A84 00000000 */ nop +/* 1A5368 80276A88 46340002 */ mul.d $f0, $f0, $f20 +/* 1A536C 80276A8C 00000000 */ nop +/* 1A5370 80276A90 C6080000 */ lwc1 $f8, ($s0) +/* 1A5374 80276A94 C6020030 */ lwc1 $f2, 0x30($s0) +/* 1A5378 80276A98 C6060004 */ lwc1 $f6, 4($s0) +/* 1A537C 80276A9C 46024200 */ add.s $f8, $f8, $f2 +/* 1A5380 80276AA0 C6020034 */ lwc1 $f2, 0x34($s0) +/* 1A5384 80276AA4 C6040008 */ lwc1 $f4, 8($s0) +/* 1A5388 80276AA8 46023180 */ add.s $f6, $f6, $f2 +/* 1A538C 80276AAC C6020038 */ lwc1 $f2, 0x38($s0) +/* 1A5390 80276AB0 46022100 */ add.s $f4, $f4, $f2 +/* 1A5394 80276AB4 46340000 */ add.d $f0, $f0, $f20 +/* 1A5398 80276AB8 E6080000 */ swc1 $f8, ($s0) +/* 1A539C 80276ABC 4620B580 */ add.d $f22, $f22, $f0 +/* 1A53A0 80276AC0 E6060004 */ swc1 $f6, 4($s0) +/* 1A53A4 80276AC4 E6040008 */ swc1 $f4, 8($s0) +/* 1A53A8 80276AC8 4620B5A0 */ cvt.s.d $f22, $f22 +/* 1A53AC 80276ACC E6160044 */ swc1 $f22, 0x44($s0) +/* 1A53B0 80276AD0 C6400148 */ lwc1 $f0, 0x148($s2) +/* 1A53B4 80276AD4 46004086 */ mov.s $f2, $f8 +/* 1A53B8 80276AD8 E6000018 */ swc1 $f0, 0x18($s0) +/* 1A53BC 80276ADC E6420144 */ swc1 $f2, 0x144($s2) +/* 1A53C0 80276AE0 0C00A85B */ jal sin_rad +/* 1A53C4 80276AE4 C60C0044 */ lwc1 $f12, 0x44($s0) +/* 1A53C8 80276AE8 C6020050 */ lwc1 $f2, 0x50($s0) +/* 1A53CC 80276AEC 46001082 */ mul.s $f2, $f2, $f0 +/* 1A53D0 80276AF0 00000000 */ nop +/* 1A53D4 80276AF4 C6000004 */ lwc1 $f0, 4($s0) +/* 1A53D8 80276AF8 46020000 */ add.s $f0, $f0, $f2 +/* 1A53DC 80276AFC E6400148 */ swc1 $f0, 0x148($s2) +/* 1A53E0 80276B00 C6000008 */ lwc1 $f0, 8($s0) +/* 1A53E4 80276B04 E640014C */ swc1 $f0, 0x14c($s2) +/* 1A53E8 80276B08 C6020010 */ lwc1 $f2, 0x10($s0) +/* 1A53EC 80276B0C C6400148 */ lwc1 $f0, 0x148($s2) +/* 1A53F0 80276B10 4602003C */ c.lt.s $f0, $f2 +/* 1A53F4 80276B14 00000000 */ nop +/* 1A53F8 80276B18 45000005 */ bc1f .L80276B30 +/* 1A53FC 80276B1C 00000000 */ nop +/* 1A5400 80276B20 86020064 */ lh $v0, 0x64($s0) +/* 1A5404 80276B24 28420003 */ slti $v0, $v0, 3 +/* 1A5408 80276B28 54400001 */ bnezl $v0, .L80276B30 +/* 1A540C 80276B2C E6420148 */ swc1 $f2, 0x148($s2) +.L80276B30: +/* 1A5410 80276B30 C60C0024 */ lwc1 $f12, 0x24($s0) +/* 1A5414 80276B34 C6000028 */ lwc1 $f0, 0x28($s0) +/* 1A5418 80276B38 46006300 */ add.s $f12, $f12, $f0 +/* 1A541C 80276B3C C6400148 */ lwc1 $f0, 0x148($s2) +/* 1A5420 80276B40 E600001C */ swc1 $f0, 0x1c($s0) +/* 1A5424 80276B44 0C00A6C9 */ jal clamp_angle +/* 1A5428 80276B48 E60C0024 */ swc1 $f12, 0x24($s0) +/* 1A542C 80276B4C 0000202D */ daddu $a0, $zero, $zero +/* 1A5430 80276B50 8E06005C */ lw $a2, 0x5c($s0) +/* 1A5434 80276B54 0080282D */ daddu $a1, $a0, $zero +/* 1A5438 80276B58 0C098F3F */ jal set_animation +/* 1A543C 80276B5C E6000024 */ swc1 $f0, 0x24($s0) +/* 1A5440 80276B60 C64C0160 */ lwc1 $f12, 0x160($s2) +/* 1A5444 80276B64 3C014305 */ lui $at, 0x4305 +/* 1A5448 80276B68 44810000 */ mtc1 $at, $f0 +/* 1A544C 80276B6C 00000000 */ nop +/* 1A5450 80276B70 46006300 */ add.s $f12, $f12, $f0 +/* 1A5454 80276B74 0C00A6C9 */ jal clamp_angle +/* 1A5458 80276B78 E64C0160 */ swc1 $f12, 0x160($s2) +/* 1A545C 80276B7C E6400160 */ swc1 $f0, 0x160($s2) +/* 1A5460 80276B80 96020064 */ lhu $v0, 0x64($s0) +/* 1A5464 80276B84 2442FFFF */ addiu $v0, $v0, -1 +/* 1A5468 80276B88 A6020064 */ sh $v0, 0x64($s0) +/* 1A546C 80276B8C 00021400 */ sll $v0, $v0, 0x10 +/* 1A5470 80276B90 144000BD */ bnez $v0, .L80276E88 +/* 1A5474 80276B94 0000102D */ daddu $v0, $zero, $zero +/* 1A5478 80276B98 C6000018 */ lwc1 $f0, 0x18($s0) +/* 1A547C 80276B9C C602001C */ lwc1 $f2, 0x1c($s0) +/* 1A5480 80276BA0 3C013FE6 */ lui $at, 0x3fe6 +/* 1A5484 80276BA4 34216666 */ ori $at, $at, 0x6666 +/* 1A5488 80276BA8 44812000 */ mtc1 $at, $f4 +/* 1A548C 80276BAC 46020001 */ sub.s $f0, $f0, $f2 +/* 1A5490 80276BB0 C6020010 */ lwc1 $f2, 0x10($s0) +/* 1A5494 80276BB4 0000202D */ daddu $a0, $zero, $zero +/* 1A5498 80276BB8 E604003C */ swc1 $f4, 0x3c($s0) +/* 1A549C 80276BBC 46000007 */ neg.s $f0, $f0 +/* 1A54A0 80276BC0 E6000044 */ swc1 $f0, 0x44($s0) +/* 1A54A4 80276BC4 E6420148 */ swc1 $f2, 0x148($s2) +/* 1A54A8 80276BC8 AE400160 */ sw $zero, 0x160($s2) +/* 1A54AC 80276BCC 8E060060 */ lw $a2, 0x60($s0) +/* 1A54B0 80276BD0 0C098F3F */ jal set_animation +/* 1A54B4 80276BD4 0080282D */ daddu $a1, $a0, $zero +/* 1A54B8 80276BD8 C640018C */ lwc1 $f0, 0x18c($s2) +/* 1A54BC 80276BDC E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A54C0 80276BE0 8E450144 */ lw $a1, 0x144($s2) +/* 1A54C4 80276BE4 8E460148 */ lw $a2, 0x148($s2) +/* 1A54C8 80276BE8 8E47014C */ lw $a3, 0x14c($s2) +/* 1A54CC 80276BEC 0C0990BC */ jal play_movement_dust_effects +/* 1A54D0 80276BF0 24040002 */ addiu $a0, $zero, 2 +/* 1A54D4 80276BF4 0809DBA2 */ j func_80276E88 +/* 1A54D8 80276BF8 24020001 */ addiu $v0, $zero, 1 + +.L80276BFC: +/* 1A54DC 80276BFC C60C0024 */ lwc1 $f12, 0x24($s0) +/* 1A54E0 80276C00 3C0140C9 */ lui $at, 0x40c9 +/* 1A54E4 80276C04 34210FD0 */ ori $at, $at, 0xfd0 +/* 1A54E8 80276C08 4481B000 */ mtc1 $at, $f22 +/* 1A54EC 80276C0C 00000000 */ nop +/* 1A54F0 80276C10 46166302 */ mul.s $f12, $f12, $f22 +/* 1A54F4 80276C14 00000000 */ nop +/* 1A54F8 80276C18 C6140000 */ lwc1 $f20, ($s0) +/* 1A54FC 80276C1C 3C0143B4 */ lui $at, 0x43b4 +/* 1A5500 80276C20 4481C000 */ mtc1 $at, $f24 +/* 1A5504 80276C24 4600A521 */ cvt.d.s $f20, $f20 +/* 1A5508 80276C28 0C00A85B */ jal sin_rad +/* 1A550C 80276C2C 46186303 */ div.s $f12, $f12, $f24 +/* 1A5510 80276C30 C6020050 */ lwc1 $f2, 0x50($s0) +/* 1A5514 80276C34 46001082 */ mul.s $f2, $f2, $f0 +/* 1A5518 80276C38 00000000 */ nop +/* 1A551C 80276C3C C60C0024 */ lwc1 $f12, 0x24($s0) +/* 1A5520 80276C40 46166302 */ mul.s $f12, $f12, $f22 +/* 1A5524 80276C44 00000000 */ nop +/* 1A5528 80276C48 3C01802A */ lui $at, 0x802a +/* 1A552C 80276C4C D420D978 */ ldc1 $f0, -0x2688($at) +/* 1A5530 80276C50 460010A1 */ cvt.d.s $f2, $f2 +/* 1A5534 80276C54 46201083 */ div.d $f2, $f2, $f0 +/* 1A5538 80276C58 4622A500 */ add.d $f20, $f20, $f2 +/* 1A553C 80276C5C 46186303 */ div.s $f12, $f12, $f24 +/* 1A5540 80276C60 4620A520 */ cvt.s.d $f20, $f20 +/* 1A5544 80276C64 0C00A85B */ jal sin_rad +/* 1A5548 80276C68 E6140000 */ swc1 $f20, ($s0) +/* 1A554C 80276C6C C6020050 */ lwc1 $f2, 0x50($s0) +/* 1A5550 80276C70 46001082 */ mul.s $f2, $f2, $f0 +/* 1A5554 80276C74 00000000 */ nop +/* 1A5558 80276C78 C60C0024 */ lwc1 $f12, 0x24($s0) +/* 1A555C 80276C7C C6000028 */ lwc1 $f0, 0x28($s0) +/* 1A5560 80276C80 46006300 */ add.s $f12, $f12, $f0 +/* 1A5564 80276C84 C6000004 */ lwc1 $f0, 4($s0) +/* 1A5568 80276C88 46020001 */ sub.s $f0, $f0, $f2 +/* 1A556C 80276C8C E60C0024 */ swc1 $f12, 0x24($s0) +/* 1A5570 80276C90 0C00A6C9 */ jal clamp_angle +/* 1A5574 80276C94 E6000004 */ swc1 $f0, 4($s0) +/* 1A5578 80276C98 C6020000 */ lwc1 $f2, ($s0) +/* 1A557C 80276C9C E6000024 */ swc1 $f0, 0x24($s0) +/* 1A5580 80276CA0 E6420144 */ swc1 $f2, 0x144($s2) +/* 1A5584 80276CA4 C6000004 */ lwc1 $f0, 4($s0) +/* 1A5588 80276CA8 E6400148 */ swc1 $f0, 0x148($s2) +/* 1A558C 80276CAC C6000008 */ lwc1 $f0, 8($s0) +/* 1A5590 80276CB0 E640014C */ swc1 $f0, 0x14c($s2) +/* 1A5594 80276CB4 3C02800E */ lui $v0, 0x800e +/* 1A5598 80276CB8 8C42C070 */ lw $v0, -0x3f90($v0) +/* 1A559C 80276CBC 30422000 */ andi $v0, $v0, 0x2000 +/* 1A55A0 80276CC0 14400071 */ bnez $v0, .L80276E88 +/* 1A55A4 80276CC4 24020002 */ addiu $v0, $zero, 2 +/* 1A55A8 80276CC8 96020064 */ lhu $v0, 0x64($s0) +/* 1A55AC 80276CCC 2442FFFF */ addiu $v0, $v0, -1 +/* 1A55B0 80276CD0 A6020064 */ sh $v0, 0x64($s0) +/* 1A55B4 80276CD4 00021400 */ sll $v0, $v0, 0x10 +/* 1A55B8 80276CD8 1440006B */ bnez $v0, .L80276E88 +/* 1A55BC 80276CDC 0000102D */ daddu $v0, $zero, $zero +/* 1A55C0 80276CE0 0809DBA2 */ j func_80276E88 +/* 1A55C4 80276CE4 24020001 */ addiu $v0, $zero, 1 + +.L80276CE8: +/* 1A55C8 80276CE8 C60C0024 */ lwc1 $f12, 0x24($s0) +/* 1A55CC 80276CEC 3C0140C9 */ lui $at, 0x40c9 +/* 1A55D0 80276CF0 34210FD0 */ ori $at, $at, 0xfd0 +/* 1A55D4 80276CF4 44810000 */ mtc1 $at, $f0 +/* 1A55D8 80276CF8 C6160044 */ lwc1 $f22, 0x44($s0) +/* 1A55DC 80276CFC 46006302 */ mul.s $f12, $f12, $f0 +/* 1A55E0 80276D00 00000000 */ nop +/* 1A55E4 80276D04 C614003C */ lwc1 $f20, 0x3c($s0) +/* 1A55E8 80276D08 4600B5A1 */ cvt.d.s $f22, $f22 +/* 1A55EC 80276D0C 3C0143B4 */ lui $at, 0x43b4 +/* 1A55F0 80276D10 44810000 */ mtc1 $at, $f0 +/* 1A55F4 80276D14 4600A521 */ cvt.d.s $f20, $f20 +/* 1A55F8 80276D18 0C00A85B */ jal sin_rad +/* 1A55FC 80276D1C 46006303 */ div.s $f12, $f12, $f0 +/* 1A5600 80276D20 3C01802A */ lui $at, 0x802a +/* 1A5604 80276D24 D422D980 */ ldc1 $f2, -0x2680($at) +/* 1A5608 80276D28 46000021 */ cvt.d.s $f0, $f0 +/* 1A560C 80276D2C 46220002 */ mul.d $f0, $f0, $f2 +/* 1A5610 80276D30 00000000 */ nop +/* 1A5614 80276D34 46340002 */ mul.d $f0, $f0, $f20 +/* 1A5618 80276D38 00000000 */ nop +/* 1A561C 80276D3C C6080000 */ lwc1 $f8, ($s0) +/* 1A5620 80276D40 C6020030 */ lwc1 $f2, 0x30($s0) +/* 1A5624 80276D44 C6060004 */ lwc1 $f6, 4($s0) +/* 1A5628 80276D48 46024200 */ add.s $f8, $f8, $f2 +/* 1A562C 80276D4C C6020034 */ lwc1 $f2, 0x34($s0) +/* 1A5630 80276D50 C6040008 */ lwc1 $f4, 8($s0) +/* 1A5634 80276D54 46023180 */ add.s $f6, $f6, $f2 +/* 1A5638 80276D58 C6020038 */ lwc1 $f2, 0x38($s0) +/* 1A563C 80276D5C 46022100 */ add.s $f4, $f4, $f2 +/* 1A5640 80276D60 46340000 */ add.d $f0, $f0, $f20 +/* 1A5644 80276D64 E6080000 */ swc1 $f8, ($s0) +/* 1A5648 80276D68 4620B580 */ add.d $f22, $f22, $f0 +/* 1A564C 80276D6C E6060004 */ swc1 $f6, 4($s0) +/* 1A5650 80276D70 E6040008 */ swc1 $f4, 8($s0) +/* 1A5654 80276D74 4620B5A0 */ cvt.s.d $f22, $f22 +/* 1A5658 80276D78 E6160044 */ swc1 $f22, 0x44($s0) +/* 1A565C 80276D7C C6400148 */ lwc1 $f0, 0x148($s2) +/* 1A5660 80276D80 46004086 */ mov.s $f2, $f8 +/* 1A5664 80276D84 E6000018 */ swc1 $f0, 0x18($s0) +/* 1A5668 80276D88 E6420144 */ swc1 $f2, 0x144($s2) +/* 1A566C 80276D8C 0C00A85B */ jal sin_rad +/* 1A5670 80276D90 C60C0044 */ lwc1 $f12, 0x44($s0) +/* 1A5674 80276D94 C6020050 */ lwc1 $f2, 0x50($s0) +/* 1A5678 80276D98 46001082 */ mul.s $f2, $f2, $f0 +/* 1A567C 80276D9C 00000000 */ nop +/* 1A5680 80276DA0 C6000004 */ lwc1 $f0, 4($s0) +/* 1A5684 80276DA4 46020000 */ add.s $f0, $f0, $f2 +/* 1A5688 80276DA8 E6400148 */ swc1 $f0, 0x148($s2) +/* 1A568C 80276DAC C6000008 */ lwc1 $f0, 8($s0) +/* 1A5690 80276DB0 E640014C */ swc1 $f0, 0x14c($s2) +/* 1A5694 80276DB4 C6020010 */ lwc1 $f2, 0x10($s0) +/* 1A5698 80276DB8 C6400148 */ lwc1 $f0, 0x148($s2) +/* 1A569C 80276DBC 4602003C */ c.lt.s $f0, $f2 +/* 1A56A0 80276DC0 00000000 */ nop +/* 1A56A4 80276DC4 45000005 */ bc1f .L80276DDC +/* 1A56A8 80276DC8 00000000 */ nop +/* 1A56AC 80276DCC 86020064 */ lh $v0, 0x64($s0) +/* 1A56B0 80276DD0 28420003 */ slti $v0, $v0, 3 +/* 1A56B4 80276DD4 54400001 */ bnezl $v0, .L80276DDC +/* 1A56B8 80276DD8 E6420148 */ swc1 $f2, 0x148($s2) +.L80276DDC: +/* 1A56BC 80276DDC C60C0024 */ lwc1 $f12, 0x24($s0) +/* 1A56C0 80276DE0 C6000028 */ lwc1 $f0, 0x28($s0) +/* 1A56C4 80276DE4 46006300 */ add.s $f12, $f12, $f0 +/* 1A56C8 80276DE8 C6400148 */ lwc1 $f0, 0x148($s2) +/* 1A56CC 80276DEC E600001C */ swc1 $f0, 0x1c($s0) +/* 1A56D0 80276DF0 0C00A6C9 */ jal clamp_angle +/* 1A56D4 80276DF4 E60C0024 */ swc1 $f12, 0x24($s0) +/* 1A56D8 80276DF8 0000202D */ daddu $a0, $zero, $zero +/* 1A56DC 80276DFC 8E06005C */ lw $a2, 0x5c($s0) +/* 1A56E0 80276E00 0080282D */ daddu $a1, $a0, $zero +/* 1A56E4 80276E04 0C098F3F */ jal set_animation +/* 1A56E8 80276E08 E6000024 */ swc1 $f0, 0x24($s0) +/* 1A56EC 80276E0C C64C0160 */ lwc1 $f12, 0x160($s2) +/* 1A56F0 80276E10 3C014305 */ lui $at, 0x4305 +/* 1A56F4 80276E14 44810000 */ mtc1 $at, $f0 +/* 1A56F8 80276E18 00000000 */ nop +/* 1A56FC 80276E1C 46006300 */ add.s $f12, $f12, $f0 +/* 1A5700 80276E20 0C00A6C9 */ jal clamp_angle +/* 1A5704 80276E24 E64C0160 */ swc1 $f12, 0x160($s2) +/* 1A5708 80276E28 E6400160 */ swc1 $f0, 0x160($s2) +/* 1A570C 80276E2C 96020064 */ lhu $v0, 0x64($s0) +/* 1A5710 80276E30 2442FFFF */ addiu $v0, $v0, -1 +/* 1A5714 80276E34 A6020064 */ sh $v0, 0x64($s0) +/* 1A5718 80276E38 00021400 */ sll $v0, $v0, 0x10 +/* 1A571C 80276E3C 14400012 */ bnez $v0, .L80276E88 +/* 1A5720 80276E40 0000102D */ daddu $v0, $zero, $zero +/* 1A5724 80276E44 C6000010 */ lwc1 $f0, 0x10($s0) +/* 1A5728 80276E48 0000202D */ daddu $a0, $zero, $zero +/* 1A572C 80276E4C AE400160 */ sw $zero, 0x160($s2) +/* 1A5730 80276E50 E6400148 */ swc1 $f0, 0x148($s2) +/* 1A5734 80276E54 8E060060 */ lw $a2, 0x60($s0) +/* 1A5738 80276E58 0C098F3F */ jal set_animation +/* 1A573C 80276E5C 0080282D */ daddu $a1, $a0, $zero +/* 1A5740 80276E60 C6020018 */ lwc1 $f2, 0x18($s0) +/* 1A5744 80276E64 C600001C */ lwc1 $f0, 0x1c($s0) +/* 1A5748 80276E68 46001081 */ sub.s $f2, $f2, $f0 +/* 1A574C 80276E6C 3C013FE6 */ lui $at, 0x3fe6 +/* 1A5750 80276E70 34216666 */ ori $at, $at, 0x6666 +/* 1A5754 80276E74 44810000 */ mtc1 $at, $f0 +/* 1A5758 80276E78 24020001 */ addiu $v0, $zero, 1 +/* 1A575C 80276E7C E600003C */ swc1 $f0, 0x3c($s0) +/* 1A5760 80276E80 46001087 */ neg.s $f2, $f2 +/* 1A5764 80276E84 E6020044 */ swc1 $f2, 0x44($s0) +func_80276E88: +.L80276E88: +/* 1A5768 80276E88 8FBF0028 */ lw $ra, 0x28($sp) +/* 1A576C 80276E8C 8FB30024 */ lw $s3, 0x24($sp) +/* 1A5770 80276E90 8FB20020 */ lw $s2, 0x20($sp) +/* 1A5774 80276E94 8FB1001C */ lw $s1, 0x1c($sp) +/* 1A5778 80276E98 8FB00018 */ lw $s0, 0x18($sp) +/* 1A577C 80276E9C D7BA0048 */ ldc1 $f26, 0x48($sp) +/* 1A5780 80276EA0 D7B80040 */ ldc1 $f24, 0x40($sp) +/* 1A5784 80276EA4 D7B60038 */ ldc1 $f22, 0x38($sp) +/* 1A5788 80276EA8 D7B40030 */ ldc1 $f20, 0x30($sp) +/* 1A578C 80276EAC 03E00008 */ jr $ra +/* 1A5790 80276EB0 27BD0050 */ addiu $sp, $sp, 0x50 + +DidActionSucceed: +/* 1A5794 80276EB4 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 1A5798 80276EB8 AFBF0010 */ sw $ra, 0x10($sp) +/* 1A579C 80276EBC 8C82000C */ lw $v0, 0xc($a0) +/* 1A57A0 80276EC0 3C03800E */ lui $v1, 0x800e +/* 1A57A4 80276EC4 8063C0F1 */ lb $v1, -0x3f0f($v1) +/* 1A57A8 80276EC8 8C450000 */ lw $a1, ($v0) +/* 1A57AC 80276ECC 04610002 */ bgez $v1, .L80276ED8 +/* 1A57B0 80276ED0 0000302D */ daddu $a2, $zero, $zero +/* 1A57B4 80276ED4 00C0182D */ daddu $v1, $a2, $zero +.L80276ED8: +/* 1A57B8 80276ED8 00C3102A */ slt $v0, $a2, $v1 +/* 1A57BC 80276EDC 54400001 */ bnezl $v0, .L80276EE4 +/* 1A57C0 80276EE0 0060302D */ daddu $a2, $v1, $zero +.L80276EE4: +/* 1A57C4 80276EE4 0C0B2026 */ jal set_variable +/* 1A57C8 80276EE8 00000000 */ nop +/* 1A57CC 80276EEC 8FBF0010 */ lw $ra, 0x10($sp) +/* 1A57D0 80276EF0 24020002 */ addiu $v0, $zero, 2 +/* 1A57D4 80276EF4 03E00008 */ jr $ra +/* 1A57D8 80276EF8 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 1A57DC 80276EFC 3C02800E */ lui $v0, 0x800e +/* 1A57E0 80276F00 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 1A57E4 80276F04 8C430000 */ lw $v1, ($v0) +/* 1A57E8 80276F08 3C040020 */ lui $a0, 0x20 +/* 1A57EC 80276F0C 00641825 */ or $v1, $v1, $a0 +/* 1A57F0 80276F10 AC430000 */ sw $v1, ($v0) +/* 1A57F4 80276F14 03E00008 */ jr $ra +/* 1A57F8 80276F18 24020002 */ addiu $v0, $zero, 2 + +/* 1A57FC 80276F1C 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 1A5800 80276F20 AFBF0010 */ sw $ra, 0x10($sp) +/* 1A5804 80276F24 8C82000C */ lw $v0, 0xc($a0) +/* 1A5808 80276F28 0C0B1EAF */ jal get_variable +/* 1A580C 80276F2C 8C450000 */ lw $a1, ($v0) +/* 1A5810 80276F30 0C09C596 */ jal dispatch_event_player +/* 1A5814 80276F34 0040202D */ daddu $a0, $v0, $zero +/* 1A5818 80276F38 8FBF0010 */ lw $ra, 0x10($sp) +/* 1A581C 80276F3C 24020002 */ addiu $v0, $zero, 2 +/* 1A5820 80276F40 03E00008 */ jr $ra +/* 1A5824 80276F44 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 1A5828 80276F48 00000000 */ nop +/* 1A582C 80276F4C 00000000 */ nop +func_80276F50: +/* 1A5830 80276F50 8C8301F4 */ lw $v1, 0x1f4($a0) +/* 1A5834 80276F54 1060000B */ beqz $v1, .L80276F84 +/* 1A5838 80276F58 0000202D */ daddu $a0, $zero, $zero +/* 1A583C 80276F5C 3C05000C */ lui $a1, 0xc +.L80276F60: +/* 1A5840 80276F60 8C62007C */ lw $v0, 0x7c($v1) +/* 1A5844 80276F64 00451024 */ and $v0, $v0, $a1 +/* 1A5848 80276F68 10400003 */ beqz $v0, .L80276F78 +/* 1A584C 80276F6C 00000000 */ nop +/* 1A5850 80276F70 0809DBE1 */ j func_80276F84 +/* 1A5854 80276F74 24040001 */ addiu $a0, $zero, 1 + +.L80276F78: +/* 1A5858 80276F78 8C63000C */ lw $v1, 0xc($v1) +/* 1A585C 80276F7C 1460FFF8 */ bnez $v1, .L80276F60 +/* 1A5860 80276F80 00000000 */ nop +func_80276F84: +.L80276F84: +/* 1A5864 80276F84 03E00008 */ jr $ra +/* 1A5868 80276F88 0080102D */ daddu $v0, $a0, $zero + +dispatch_event_general: +/* 1A586C 80276F8C 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 1A5870 80276F90 AFBF0010 */ sw $ra, 0x10($sp) +/* 1A5874 80276F94 94820192 */ lhu $v0, 0x192($a0) +/* 1A5878 80276F98 30430700 */ andi $v1, $v0, 0x700 +/* 1A587C 80276F9C 24020100 */ addiu $v0, $zero, 0x100 +/* 1A5880 80276FA0 1062000F */ beq $v1, $v0, .L80276FE0 +/* 1A5884 80276FA4 28620101 */ slti $v0, $v1, 0x101 +/* 1A5888 80276FA8 50400005 */ beql $v0, $zero, .L80276FC0 +/* 1A588C 80276FAC 24020200 */ addiu $v0, $zero, 0x200 +/* 1A5890 80276FB0 10600007 */ beqz $v1, .L80276FD0 +/* 1A5894 80276FB4 00000000 */ nop +/* 1A5898 80276FB8 0809DBFE */ j func_80276FF8 +/* 1A589C 80276FBC 00000000 */ nop + +.L80276FC0: +/* 1A58A0 80276FC0 1062000B */ beq $v1, $v0, .L80276FF0 +/* 1A58A4 80276FC4 00000000 */ nop +/* 1A58A8 80276FC8 0809DBFE */ j func_80276FF8 +/* 1A58AC 80276FCC 00000000 */ nop + +.L80276FD0: +/* 1A58B0 80276FD0 0C09C596 */ jal dispatch_event_player +/* 1A58B4 80276FD4 00A0202D */ daddu $a0, $a1, $zero +/* 1A58B8 80276FD8 0809DBFE */ j func_80276FF8 +/* 1A58BC 80276FDC 00000000 */ nop + +.L80276FE0: +/* 1A58C0 80276FE0 0C09F7A0 */ jal dispatch_event_partner +/* 1A58C4 80276FE4 00A0202D */ daddu $a0, $a1, $zero +/* 1A58C8 80276FE8 0809DBFE */ j func_80276FF8 +/* 1A58CC 80276FEC 00000000 */ nop + +.L80276FF0: +/* 1A58D0 80276FF0 0C09DC58 */ jal dispatch_event_actor +/* 1A58D4 80276FF4 00000000 */ nop +func_80276FF8: +/* 1A58D8 80276FF8 8FBF0010 */ lw $ra, 0x10($sp) +/* 1A58DC 80276FFC 03E00008 */ jr $ra +/* 1A58E0 80277000 27BD0018 */ addiu $sp, $sp, 0x18 + +play_hit_sound: +/* 1A58E4 80277004 44850000 */ mtc1 $a1, $f0 +/* 1A58E8 80277008 44861000 */ mtc1 $a2, $f2 +/* 1A58EC 8027700C 44872000 */ mtc1 $a3, $f4 +/* 1A58F0 80277010 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 1A58F4 80277014 AFBF0018 */ sw $ra, 0x18($sp) +/* 1A58F8 80277018 94820192 */ lhu $v0, 0x192($a0) +/* 1A58FC 8027701C 8FA40030 */ lw $a0, 0x30($sp) +/* 1A5900 80277020 30430700 */ andi $v1, $v0, 0x700 +/* 1A5904 80277024 2C820006 */ sltiu $v0, $a0, 6 +/* 1A5908 80277028 1040004A */ beqz $v0, .L80277154 +/* 1A590C 8027702C 00041080 */ sll $v0, $a0, 2 +/* 1A5910 80277030 3C01802A */ lui $at, 0x802a +/* 1A5914 80277034 00220821 */ addu $at, $at, $v0 +/* 1A5918 80277038 8C22D990 */ lw $v0, -0x2670($at) +/* 1A591C 8027703C 00400008 */ jr $v0 +/* 1A5920 80277040 00000000 */ nop +/* 1A5924 80277044 0809DC50 */ j func_80277140 +/* 1A5928 80277048 2404010C */ addiu $a0, $zero, 0x10c + +/* 1A592C 8027704C 0809DC50 */ j func_80277140 +/* 1A5930 80277050 2404010D */ addiu $a0, $zero, 0x10d + +/* 1A5934 80277054 24020100 */ addiu $v0, $zero, 0x100 +/* 1A5938 80277058 1062000B */ beq $v1, $v0, .L80277088 +/* 1A593C 8027705C 28620101 */ slti $v0, $v1, 0x101 +/* 1A5940 80277060 50400005 */ beql $v0, $zero, .L80277078 +/* 1A5944 80277064 24020200 */ addiu $v0, $zero, 0x200 +/* 1A5948 80277068 10600035 */ beqz $v1, .L80277140 +/* 1A594C 8027706C 240400E1 */ addiu $a0, $zero, 0xe1 +/* 1A5950 80277070 0809DC55 */ j func_80277154 +/* 1A5954 80277074 00000000 */ nop + +.L80277078: +/* 1A5958 80277078 10620031 */ beq $v1, $v0, .L80277140 +/* 1A595C 8027707C 240400E9 */ addiu $a0, $zero, 0xe9 +/* 1A5960 80277080 0809DC55 */ j func_80277154 +/* 1A5964 80277084 00000000 */ nop + +.L80277088: +/* 1A5968 80277088 0809DC50 */ j func_80277140 +/* 1A596C 8027708C 240400E9 */ addiu $a0, $zero, 0xe9 + +/* 1A5970 80277090 24020100 */ addiu $v0, $zero, 0x100 +/* 1A5974 80277094 1062000B */ beq $v1, $v0, .L802770C4 +/* 1A5978 80277098 28620101 */ slti $v0, $v1, 0x101 +/* 1A597C 8027709C 50400005 */ beql $v0, $zero, .L802770B4 +/* 1A5980 802770A0 24020200 */ addiu $v0, $zero, 0x200 +/* 1A5984 802770A4 10600026 */ beqz $v1, .L80277140 +/* 1A5988 802770A8 240400E2 */ addiu $a0, $zero, 0xe2 +/* 1A598C 802770AC 0809DC55 */ j func_80277154 +/* 1A5990 802770B0 00000000 */ nop + +.L802770B4: +/* 1A5994 802770B4 10620022 */ beq $v1, $v0, .L80277140 +/* 1A5998 802770B8 240400EA */ addiu $a0, $zero, 0xea +/* 1A599C 802770BC 0809DC55 */ j func_80277154 +/* 1A59A0 802770C0 00000000 */ nop + +.L802770C4: +/* 1A59A4 802770C4 0809DC50 */ j func_80277140 +/* 1A59A8 802770C8 240400EA */ addiu $a0, $zero, 0xea + +/* 1A59AC 802770CC 24020100 */ addiu $v0, $zero, 0x100 +/* 1A59B0 802770D0 1062000B */ beq $v1, $v0, .L80277100 +/* 1A59B4 802770D4 28620101 */ slti $v0, $v1, 0x101 +/* 1A59B8 802770D8 50400005 */ beql $v0, $zero, .L802770F0 +/* 1A59BC 802770DC 24020200 */ addiu $v0, $zero, 0x200 +/* 1A59C0 802770E0 10600017 */ beqz $v1, .L80277140 +/* 1A59C4 802770E4 240400E3 */ addiu $a0, $zero, 0xe3 +/* 1A59C8 802770E8 0809DC55 */ j func_80277154 +/* 1A59CC 802770EC 00000000 */ nop + +.L802770F0: +/* 1A59D0 802770F0 10620013 */ beq $v1, $v0, .L80277140 +/* 1A59D4 802770F4 240400EB */ addiu $a0, $zero, 0xeb +/* 1A59D8 802770F8 0809DC55 */ j func_80277154 +/* 1A59DC 802770FC 00000000 */ nop + +.L80277100: +/* 1A59E0 80277100 0809DC50 */ j func_80277140 +/* 1A59E4 80277104 240400EB */ addiu $a0, $zero, 0xeb + +/* 1A59E8 80277108 24020100 */ addiu $v0, $zero, 0x100 +/* 1A59EC 8027710C 1062000B */ beq $v1, $v0, .L8027713C +/* 1A59F0 80277110 28620101 */ slti $v0, $v1, 0x101 +/* 1A59F4 80277114 50400005 */ beql $v0, $zero, .L8027712C +/* 1A59F8 80277118 24020200 */ addiu $v0, $zero, 0x200 +/* 1A59FC 8027711C 10600008 */ beqz $v1, .L80277140 +/* 1A5A00 80277120 2404037A */ addiu $a0, $zero, 0x37a +/* 1A5A04 80277124 0809DC55 */ j func_80277154 +/* 1A5A08 80277128 00000000 */ nop + +.L8027712C: +/* 1A5A0C 8027712C 10620004 */ beq $v1, $v0, .L80277140 +/* 1A5A10 80277130 2404037B */ addiu $a0, $zero, 0x37b +/* 1A5A14 80277134 0809DC55 */ j func_80277154 +/* 1A5A18 80277138 00000000 */ nop + +.L8027713C: +/* 1A5A1C 8027713C 2404037B */ addiu $a0, $zero, 0x37b +func_80277140: +.L80277140: +/* 1A5A20 80277140 44060000 */ mfc1 $a2, $f0 +/* 1A5A24 80277144 44071000 */ mfc1 $a3, $f2 +/* 1A5A28 80277148 0000282D */ daddu $a1, $zero, $zero +/* 1A5A2C 8027714C 0C052757 */ jal play_sound_at_position +/* 1A5A30 80277150 E7A40010 */ swc1 $f4, 0x10($sp) +func_80277154: +.L80277154: +/* 1A5A34 80277154 8FBF0018 */ lw $ra, 0x18($sp) +/* 1A5A38 80277158 03E00008 */ jr $ra +/* 1A5A3C 8027715C 27BD0020 */ addiu $sp, $sp, 0x20 + +dispatch_event_actor: +/* 1A5A40 80277160 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 1A5A44 80277164 AFB00010 */ sw $s0, 0x10($sp) +/* 1A5A48 80277168 0080802D */ daddu $s0, $a0, $zero +/* 1A5A4C 8027716C AFBF001C */ sw $ra, 0x1c($sp) +/* 1A5A50 80277170 AFB20018 */ sw $s2, 0x18($sp) +/* 1A5A54 80277174 AFB10014 */ sw $s1, 0x14($sp) +/* 1A5A58 80277178 8E1201D8 */ lw $s2, 0x1d8($s0) +/* 1A5A5C 8027717C 8E0201C8 */ lw $v0, 0x1c8($s0) +/* 1A5A60 80277180 8E1101E8 */ lw $s1, 0x1e8($s0) +/* 1A5A64 80277184 1040000A */ beqz $v0, .L802771B0 +/* 1A5A68 80277188 0040202D */ daddu $a0, $v0, $zero +/* 1A5A6C 8027718C A20501F0 */ sb $a1, 0x1f0($s0) +/* 1A5A70 80277190 2405000A */ addiu $a1, $zero, 0xa +/* 1A5A74 80277194 0C0B0CF8 */ jal start_script +/* 1A5A78 80277198 24060020 */ addiu $a2, $zero, 0x20 +/* 1A5A7C 8027719C AE0201D8 */ sw $v0, 0x1d8($s0) +/* 1A5A80 802771A0 8C430144 */ lw $v1, 0x144($v0) +/* 1A5A84 802771A4 86040192 */ lh $a0, 0x192($s0) +/* 1A5A88 802771A8 AE0301E8 */ sw $v1, 0x1e8($s0) +/* 1A5A8C 802771AC AC440148 */ sw $a0, 0x148($v0) +.L802771B0: +/* 1A5A90 802771B0 8E0201D4 */ lw $v0, 0x1d4($s0) +/* 1A5A94 802771B4 10400006 */ beqz $v0, .L802771D0 +/* 1A5A98 802771B8 00000000 */ nop +/* 1A5A9C 802771BC 0C0B11E4 */ jal get_script_by_index +/* 1A5AA0 802771C0 8E0401E4 */ lw $a0, 0x1e4($s0) +/* 1A5AA4 802771C4 0C0B102B */ jal kill_script_by_ID +/* 1A5AA8 802771C8 8E0401E4 */ lw $a0, 0x1e4($s0) +/* 1A5AAC 802771CC AE0001D4 */ sw $zero, 0x1d4($s0) +.L802771D0: +/* 1A5AB0 802771D0 12400003 */ beqz $s2, .L802771E0 +/* 1A5AB4 802771D4 00000000 */ nop +/* 1A5AB8 802771D8 0C0B102B */ jal kill_script_by_ID +/* 1A5ABC 802771DC 0220202D */ daddu $a0, $s1, $zero +.L802771E0: +/* 1A5AC0 802771E0 8FBF001C */ lw $ra, 0x1c($sp) +/* 1A5AC4 802771E4 8FB20018 */ lw $s2, 0x18($sp) +/* 1A5AC8 802771E8 8FB10014 */ lw $s1, 0x14($sp) +/* 1A5ACC 802771EC 8FB00010 */ lw $s0, 0x10($sp) +/* 1A5AD0 802771F0 03E00008 */ jr $ra +/* 1A5AD4 802771F4 27BD0020 */ addiu $sp, $sp, 0x20 + +calc_enemy_test_target: +/* 1A5AD8 802771F8 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 1A5ADC 802771FC AFB20018 */ sw $s2, 0x18($sp) +/* 1A5AE0 80277200 3C12800E */ lui $s2, 0x800e +/* 1A5AE4 80277204 2652C070 */ addiu $s2, $s2, -0x3f90 +/* 1A5AE8 80277208 AFBF0020 */ sw $ra, 0x20($sp) +/* 1A5AEC 8027720C AFB3001C */ sw $s3, 0x1c($sp) +/* 1A5AF0 80277210 AFB10014 */ sw $s1, 0x14($sp) +/* 1A5AF4 80277214 AFB00010 */ sw $s0, 0x10($sp) +/* 1A5AF8 80277218 964301A0 */ lhu $v1, 0x1a0($s2) +/* 1A5AFC 8027721C 865301A0 */ lh $s3, 0x1a0($s2) +/* 1A5B00 80277220 924201A2 */ lbu $v0, 0x1a2($s2) +/* 1A5B04 80277224 825101A2 */ lb $s1, 0x1a2($s2) +/* 1A5B08 80277228 0260202D */ daddu $a0, $s3, $zero +/* 1A5B0C 8027722C A64301A4 */ sh $v1, 0x1a4($s2) +/* 1A5B10 80277230 0C09A75B */ jal get_actor +/* 1A5B14 80277234 A24201A6 */ sb $v0, 0x1a6($s2) +/* 1A5B18 80277238 0040802D */ daddu $s0, $v0, $zero +/* 1A5B1C 8027723C 1200001C */ beqz $s0, .L802772B0 +/* 1A5B20 80277240 0200202D */ daddu $a0, $s0, $zero +/* 1A5B24 80277244 0C099117 */ jal get_actor_part +/* 1A5B28 80277248 0220282D */ daddu $a1, $s1, $zero +/* 1A5B2C 8027724C 0040182D */ daddu $v1, $v0, $zero +/* 1A5B30 80277250 14600003 */ bnez $v1, .L80277260 +/* 1A5B34 80277254 32640700 */ andi $a0, $s3, 0x700 +func_80277258: +/* 1A5B38 80277258 0809DC96 */ j func_80277258 +/* 1A5B3C 8027725C 00000000 */ nop + +.L80277260: +/* 1A5B40 80277260 24020100 */ addiu $v0, $zero, 0x100 +/* 1A5B44 80277264 1082000A */ beq $a0, $v0, .L80277290 +/* 1A5B48 80277268 28820101 */ slti $v0, $a0, 0x101 +/* 1A5B4C 8027726C 1040000A */ beqz $v0, .L80277298 +/* 1A5B50 80277270 00000000 */ nop +/* 1A5B54 80277274 14800008 */ bnez $a0, .L80277298 +/* 1A5B58 80277278 00000000 */ nop +/* 1A5B5C 8027727C 3C028011 */ lui $v0, 0x8011 +/* 1A5B60 80277280 2442F290 */ addiu $v0, $v0, -0xd70 +/* 1A5B64 80277284 90420002 */ lbu $v0, 2($v0) +/* 1A5B68 80277288 0809DCA6 */ j func_80277298 +/* 1A5B6C 8027728C A20201B8 */ sb $v0, 0x1b8($s0) + +.L80277290: +/* 1A5B70 80277290 2402007F */ addiu $v0, $zero, 0x7f +/* 1A5B74 80277294 A20201B8 */ sb $v0, 0x1b8($s0) +func_80277298: +.L80277298: +/* 1A5B78 80277298 8E420188 */ lw $v0, 0x188($s2) +/* 1A5B7C 8027729C 04410006 */ bgez $v0, .L802772B8 +/* 1A5B80 802772A0 00000000 */ nop +/* 1A5B84 802772A4 0200202D */ daddu $a0, $s0, $zero +/* 1A5B88 802772A8 0C09DBE3 */ jal dispatch_event_general +/* 1A5B8C 802772AC 24050037 */ addiu $a1, $zero, 0x37 +.L802772B0: +/* 1A5B90 802772B0 0809DD04 */ j func_80277410 +/* 1A5B94 802772B4 0000102D */ daddu $v0, $zero, $zero + +.L802772B8: +/* 1A5B98 802772B8 8C62007C */ lw $v0, 0x7c($v1) +/* 1A5B9C 802772BC 30420020 */ andi $v0, $v0, 0x20 +/* 1A5BA0 802772C0 14400007 */ bnez $v0, .L802772E0 +/* 1A5BA4 802772C4 0000882D */ daddu $s1, $zero, $zero +/* 1A5BA8 802772C8 8242009A */ lb $v0, 0x9a($s2) +/* 1A5BAC 802772CC 14400004 */ bnez $v0, .L802772E0 +/* 1A5BB0 802772D0 2402000E */ addiu $v0, $zero, 0xe +/* 1A5BB4 802772D4 82030218 */ lb $v1, 0x218($s0) +/* 1A5BB8 802772D8 14620006 */ bne $v1, $v0, .L802772F4 +/* 1A5BBC 802772DC 24020006 */ addiu $v0, $zero, 6 +.L802772E0: +/* 1A5BC0 802772E0 8E420188 */ lw $v0, 0x188($s2) +/* 1A5BC4 802772E4 30420010 */ andi $v0, $v0, 0x10 +/* 1A5BC8 802772E8 50400001 */ beql $v0, $zero, .L802772F0 +/* 1A5BCC 802772EC 24110006 */ addiu $s1, $zero, 6 +.L802772F0: +/* 1A5BD0 802772F0 24020006 */ addiu $v0, $zero, 6 +.L802772F4: +/* 1A5BD4 802772F4 12220046 */ beq $s1, $v0, .L80277410 +/* 1A5BD8 802772F8 00000000 */ nop +/* 1A5BDC 802772FC 24020100 */ addiu $v0, $zero, 0x100 +/* 1A5BE0 80277300 10820033 */ beq $a0, $v0, .L802773D0 +/* 1A5BE4 80277304 0000882D */ daddu $s1, $zero, $zero +/* 1A5BE8 80277308 28820101 */ slti $v0, $a0, 0x101 +/* 1A5BEC 8027730C 10400031 */ beqz $v0, .L802773D4 +/* 1A5BF0 80277310 24020006 */ addiu $v0, $zero, 6 +/* 1A5BF4 80277314 1480002F */ bnez $a0, .L802773D4 +/* 1A5BF8 80277318 00000000 */ nop +/* 1A5BFC 8027731C 824200A4 */ lb $v0, 0xa4($s2) +/* 1A5C00 80277320 10400009 */ beqz $v0, .L80277348 +/* 1A5C04 80277324 0200202D */ daddu $a0, $s0, $zero +/* 1A5C08 80277328 0C00A67F */ jal rand_int +/* 1A5C0C 8027732C 24040064 */ addiu $a0, $zero, 0x64 +/* 1A5C10 80277330 824300A5 */ lb $v1, 0xa5($s2) +/* 1A5C14 80277334 0043102A */ slt $v0, $v0, $v1 +/* 1A5C18 80277338 54400025 */ bnezl $v0, .L802773D0 +/* 1A5C1C 8027733C 24110006 */ addiu $s1, $zero, 6 +/* 1A5C20 80277340 0809DCF5 */ j func_802773D4 +/* 1A5C24 80277344 24020006 */ addiu $v0, $zero, 6 + +.L80277348: +/* 1A5C28 80277348 0C099CAB */ jal heroes_is_ability_active +/* 1A5C2C 8027734C 24050008 */ addiu $a1, $zero, 8 +/* 1A5C30 80277350 10400007 */ beqz $v0, .L80277370 +/* 1A5C34 80277354 0200202D */ daddu $a0, $s0, $zero +/* 1A5C38 80277358 0C00A67F */ jal rand_int +/* 1A5C3C 8027735C 24040064 */ addiu $a0, $zero, 0x64 +/* 1A5C40 80277360 2842000A */ slti $v0, $v0, 0xa +/* 1A5C44 80277364 5440001A */ bnezl $v0, .L802773D0 +/* 1A5C48 80277368 24110005 */ addiu $s1, $zero, 5 +/* 1A5C4C 8027736C 0200202D */ daddu $a0, $s0, $zero +.L80277370: +/* 1A5C50 80277370 0C099CAB */ jal heroes_is_ability_active +/* 1A5C54 80277374 24050021 */ addiu $a1, $zero, 0x21 +/* 1A5C58 80277378 1040000B */ beqz $v0, .L802773A8 +/* 1A5C5C 8027737C 0200202D */ daddu $a0, $s0, $zero +/* 1A5C60 80277380 820201B8 */ lb $v0, 0x1b8($s0) +/* 1A5C64 80277384 28420006 */ slti $v0, $v0, 6 +/* 1A5C68 80277388 10400007 */ beqz $v0, .L802773A8 +/* 1A5C6C 8027738C 00000000 */ nop +/* 1A5C70 80277390 0C00A67F */ jal rand_int +/* 1A5C74 80277394 24040064 */ addiu $a0, $zero, 0x64 +/* 1A5C78 80277398 2842001E */ slti $v0, $v0, 0x1e +/* 1A5C7C 8027739C 5440000C */ bnezl $v0, .L802773D0 +/* 1A5C80 802773A0 24110005 */ addiu $s1, $zero, 5 +/* 1A5C84 802773A4 0200202D */ daddu $a0, $s0, $zero +.L802773A8: +/* 1A5C88 802773A8 0C099CAB */ jal heroes_is_ability_active +/* 1A5C8C 802773AC 24050023 */ addiu $a1, $zero, 0x23 +/* 1A5C90 802773B0 10400008 */ beqz $v0, .L802773D4 +/* 1A5C94 802773B4 24020006 */ addiu $v0, $zero, 6 +/* 1A5C98 802773B8 0C00A67F */ jal rand_int +/* 1A5C9C 802773BC 24040064 */ addiu $a0, $zero, 0x64 +/* 1A5CA0 802773C0 28420014 */ slti $v0, $v0, 0x14 +/* 1A5CA4 802773C4 10400003 */ beqz $v0, .L802773D4 +/* 1A5CA8 802773C8 24020006 */ addiu $v0, $zero, 6 +/* 1A5CAC 802773CC 24110005 */ addiu $s1, $zero, 5 +.L802773D0: +/* 1A5CB0 802773D0 24020006 */ addiu $v0, $zero, 6 +func_802773D4: +.L802773D4: +/* 1A5CB4 802773D4 1222000E */ beq $s1, $v0, .L80277410 +/* 1A5CB8 802773D8 00000000 */ nop +/* 1A5CBC 802773DC 24020005 */ addiu $v0, $zero, 5 +/* 1A5CC0 802773E0 1222000B */ beq $s1, $v0, .L80277410 +/* 1A5CC4 802773E4 00000000 */ nop +/* 1A5CC8 802773E8 82030214 */ lb $v1, 0x214($s0) +/* 1A5CCC 802773EC 2402000C */ addiu $v0, $zero, 0xc +/* 1A5CD0 802773F0 10620006 */ beq $v1, $v0, .L8027740C +/* 1A5CD4 802773F4 2403000B */ addiu $v1, $zero, 0xb +/* 1A5CD8 802773F8 82040212 */ lb $a0, 0x212($s0) +/* 1A5CDC 802773FC 10830004 */ beq $a0, $v1, .L80277410 +/* 1A5CE0 80277400 24020007 */ addiu $v0, $zero, 7 +/* 1A5CE4 80277404 0809DD04 */ j func_80277410 +/* 1A5CE8 80277408 0000102D */ daddu $v0, $zero, $zero + +.L8027740C: +/* 1A5CEC 8027740C 24020008 */ addiu $v0, $zero, 8 +func_80277410: +.L80277410: +/* 1A5CF0 80277410 8FBF0020 */ lw $ra, 0x20($sp) +/* 1A5CF4 80277414 8FB3001C */ lw $s3, 0x1c($sp) +/* 1A5CF8 80277418 8FB20018 */ lw $s2, 0x18($sp) +/* 1A5CFC 8027741C 8FB10014 */ lw $s1, 0x14($sp) +/* 1A5D00 80277420 8FB00010 */ lw $s0, 0x10($sp) +/* 1A5D04 80277424 03E00008 */ jr $ra +/* 1A5D08 80277428 27BD0028 */ addiu $sp, $sp, 0x28 + +calc_enemy_damage_target: +/* 1A5D0C 8027742C 27BDFFA8 */ addiu $sp, $sp, -0x58 +/* 1A5D10 80277430 AFB50044 */ sw $s5, 0x44($sp) +/* 1A5D14 80277434 0000A82D */ daddu $s5, $zero, $zero +/* 1A5D18 80277438 AFB40040 */ sw $s4, 0x40($sp) +/* 1A5D1C 8027743C 3C14800E */ lui $s4, 0x800e +/* 1A5D20 80277440 2694C070 */ addiu $s4, $s4, -0x3f90 +/* 1A5D24 80277444 AFBF0054 */ sw $ra, 0x54($sp) +/* 1A5D28 80277448 AFBE0050 */ sw $fp, 0x50($sp) +/* 1A5D2C 8027744C AFB7004C */ sw $s7, 0x4c($sp) +/* 1A5D30 80277450 AFB60048 */ sw $s6, 0x48($sp) +/* 1A5D34 80277454 AFB3003C */ sw $s3, 0x3c($sp) +/* 1A5D38 80277458 AFB20038 */ sw $s2, 0x38($sp) +/* 1A5D3C 8027745C AFB10034 */ sw $s1, 0x34($sp) +/* 1A5D40 80277460 AFB00030 */ sw $s0, 0x30($sp) +/* 1A5D44 80277464 AFA40058 */ sw $a0, 0x58($sp) +/* 1A5D48 80277468 AFA00020 */ sw $zero, 0x20($sp) +/* 1A5D4C 8027746C AFA00024 */ sw $zero, 0x24($sp) +/* 1A5D50 80277470 AFA00028 */ sw $zero, 0x28($sp) +/* 1A5D54 80277474 869001A0 */ lh $s0, 0x1a0($s4) +/* 1A5D58 80277478 829201A2 */ lb $s2, 0x1a2($s4) +/* 1A5D5C 8027747C 02A0B82D */ daddu $s7, $s5, $zero +/* 1A5D60 80277480 A2800199 */ sb $zero, 0x199($s4) +/* 1A5D64 80277484 A6800180 */ sh $zero, 0x180($s4) +/* 1A5D68 80277488 8FA80058 */ lw $t0, 0x58($sp) +/* 1A5D6C 8027748C 0200202D */ daddu $a0, $s0, $zero +/* 1A5D70 80277490 95020192 */ lhu $v0, 0x192($t0) +/* 1A5D74 80277494 2511000C */ addiu $s1, $t0, 0xc +/* 1A5D78 80277498 A69001A4 */ sh $s0, 0x1a4($s4) +/* 1A5D7C 8027749C A29201A6 */ sb $s2, 0x1a6($s4) +/* 1A5D80 802774A0 0C09A75B */ jal get_actor +/* 1A5D84 802774A4 A68201A8 */ sh $v0, 0x1a8($s4) +/* 1A5D88 802774A8 0040982D */ daddu $s3, $v0, $zero +/* 1A5D8C 802774AC 16600003 */ bnez $s3, .L802774BC +/* 1A5D90 802774B0 0260202D */ daddu $a0, $s3, $zero +/* 1A5D94 802774B4 0809E1A9 */ j func_802786A4 +/* 1A5D98 802774B8 0000102D */ daddu $v0, $zero, $zero + +.L802774BC: +/* 1A5D9C 802774BC 0C099117 */ jal get_actor_part +/* 1A5DA0 802774C0 0240282D */ daddu $a1, $s2, $zero +/* 1A5DA4 802774C4 14400003 */ bnez $v0, .L802774D4 +/* 1A5DA8 802774C8 AFA20018 */ sw $v0, 0x18($sp) +func_802774CC: +/* 1A5DAC 802774CC 0809DD33 */ j func_802774CC +/* 1A5DB0 802774D0 00000000 */ nop + +.L802774D4: +/* 1A5DB4 802774D4 32160700 */ andi $s6, $s0, 0x700 +/* 1A5DB8 802774D8 24020100 */ addiu $v0, $zero, 0x100 +/* 1A5DBC 802774DC 12C2000A */ beq $s6, $v0, .L80277508 +/* 1A5DC0 802774E0 A66001F8 */ sh $zero, 0x1f8($s3) +/* 1A5DC4 802774E4 2AC20101 */ slti $v0, $s6, 0x101 +/* 1A5DC8 802774E8 10400009 */ beqz $v0, .L80277510 +/* 1A5DCC 802774EC 00000000 */ nop +/* 1A5DD0 802774F0 16C00007 */ bnez $s6, .L80277510 +/* 1A5DD4 802774F4 00000000 */ nop +/* 1A5DD8 802774F8 3C028011 */ lui $v0, 0x8011 +/* 1A5DDC 802774FC 9042F292 */ lbu $v0, -0xd6e($v0) +/* 1A5DE0 80277500 0809DD44 */ j func_80277510 +/* 1A5DE4 80277504 A26201B8 */ sb $v0, 0x1b8($s3) + +.L80277508: +/* 1A5DE8 80277508 2402007F */ addiu $v0, $zero, 0x7f +/* 1A5DEC 8027750C A26201B8 */ sb $v0, 0x1b8($s3) +func_80277510: +.L80277510: +/* 1A5DF0 80277510 8FA80018 */ lw $t0, 0x18($sp) +/* 1A5DF4 80277514 8D04007C */ lw $a0, 0x7c($t0) +/* 1A5DF8 80277518 30820020 */ andi $v0, $a0, 0x20 +/* 1A5DFC 8027751C 14400461 */ bnez $v0, .L802786A4 +/* 1A5E00 80277520 24020006 */ addiu $v0, $zero, 6 +/* 1A5E04 80277524 82630218 */ lb $v1, 0x218($s3) +/* 1A5E08 80277528 2402000E */ addiu $v0, $zero, 0xe +/* 1A5E0C 8027752C 10620007 */ beq $v1, $v0, .L8027754C +/* 1A5E10 80277530 30820800 */ andi $v0, $a0, 0x800 +/* 1A5E14 80277534 10400007 */ beqz $v0, .L80277554 +/* 1A5E18 80277538 00000000 */ nop +/* 1A5E1C 8027753C 8E820188 */ lw $v0, 0x188($s4) +/* 1A5E20 80277540 30420800 */ andi $v0, $v0, 0x800 +/* 1A5E24 80277544 14400003 */ bnez $v0, .L80277554 +/* 1A5E28 80277548 00000000 */ nop +.L8027754C: +/* 1A5E2C 8027754C 0809E1A9 */ j func_802786A4 +/* 1A5E30 80277550 24020006 */ addiu $v0, $zero, 6 + +.L80277554: +/* 1A5E34 80277554 82630214 */ lb $v1, 0x214($s3) +/* 1A5E38 80277558 2402000C */ addiu $v0, $zero, 0xc +/* 1A5E3C 8027755C 1462001A */ bne $v1, $v0, .L802775C8 +/* 1A5E40 80277560 24020001 */ addiu $v0, $zero, 1 +/* 1A5E44 80277564 AFA20010 */ sw $v0, 0x10($sp) +/* 1A5E48 80277568 2402FFFF */ addiu $v0, $zero, -1 +/* 1A5E4C 8027756C AFA20014 */ sw $v0, 0x14($sp) +/* 1A5E50 80277570 C62C000C */ lwc1 $f12, 0xc($s1) +/* 1A5E54 80277574 C62E0010 */ lwc1 $f14, 0x10($s1) +/* 1A5E58 80277578 8E260014 */ lw $a2, 0x14($s1) +/* 1A5E5C 8027757C 0C093BF8 */ jal func_8024EFE0 +/* 1A5E60 80277580 0000382D */ daddu $a3, $zero, $zero +/* 1A5E64 80277584 AFA00010 */ sw $zero, 0x10($sp) +/* 1A5E68 80277588 C62C000C */ lwc1 $f12, 0xc($s1) +/* 1A5E6C 8027758C C62E0010 */ lwc1 $f14, 0x10($s1) +/* 1A5E70 80277590 8E260014 */ lw $a2, 0x14($s1) +/* 1A5E74 80277594 0C09996B */ jal show_damage_popup +/* 1A5E78 80277598 0000382D */ daddu $a3, $zero, $zero +/* 1A5E7C 8027759C AFA00010 */ sw $zero, 0x10($sp) +/* 1A5E80 802775A0 8E25000C */ lw $a1, 0xc($s1) +/* 1A5E84 802775A4 8E260010 */ lw $a2, 0x10($s1) +/* 1A5E88 802775A8 8E270014 */ lw $a3, 0x14($s1) +/* 1A5E8C 802775AC 0C09DC01 */ jal play_hit_sound +/* 1A5E90 802775B0 8FA40058 */ lw $a0, 0x58($sp) +/* 1A5E94 802775B4 0260202D */ daddu $a0, $s3, $zero +/* 1A5E98 802775B8 0C09DBE3 */ jal dispatch_event_general +/* 1A5E9C 802775BC 24050019 */ addiu $a1, $zero, 0x19 +/* 1A5EA0 802775C0 0809E1A9 */ j func_802786A4 +/* 1A5EA4 802775C4 0000102D */ daddu $v0, $zero, $zero + +.L802775C8: +/* 1A5EA8 802775C8 8E830188 */ lw $v1, 0x188($s4) +/* 1A5EAC 802775CC 30620200 */ andi $v0, $v1, 0x200 +/* 1A5EB0 802775D0 10400014 */ beqz $v0, .L80277624 +/* 1A5EB4 802775D4 3C021000 */ lui $v0, 0x1000 +/* 1A5EB8 802775D8 00621024 */ and $v0, $v1, $v0 +/* 1A5EBC 802775DC 14400011 */ bnez $v0, .L80277624 +/* 1A5EC0 802775E0 00000000 */ nop +/* 1A5EC4 802775E4 8FA80018 */ lw $t0, 0x18($sp) +/* 1A5EC8 802775E8 8D02007C */ lw $v0, 0x7c($t0) +/* 1A5ECC 802775EC 30420200 */ andi $v0, $v0, 0x200 +/* 1A5ED0 802775F0 1040000C */ beqz $v0, .L80277624 +/* 1A5ED4 802775F4 24020003 */ addiu $v0, $zero, 3 +/* 1A5ED8 802775F8 AFA20010 */ sw $v0, 0x10($sp) +/* 1A5EDC 802775FC 8E25000C */ lw $a1, 0xc($s1) +/* 1A5EE0 80277600 8E260010 */ lw $a2, 0x10($s1) +/* 1A5EE4 80277604 8E270014 */ lw $a3, 0x14($s1) +/* 1A5EE8 80277608 0C09DC01 */ jal play_hit_sound +/* 1A5EEC 8027760C 8FA40058 */ lw $a0, 0x58($sp) +/* 1A5EF0 80277610 0260202D */ daddu $a0, $s3, $zero +/* 1A5EF4 80277614 0C09DBE3 */ jal dispatch_event_general +/* 1A5EF8 80277618 24050022 */ addiu $a1, $zero, 0x22 +/* 1A5EFC 8027761C 0809E1A9 */ j func_802786A4 +/* 1A5F00 80277620 2402FFFF */ addiu $v0, $zero, -1 + +.L80277624: +/* 1A5F04 80277624 8E820188 */ lw $v0, 0x188($s4) +/* 1A5F08 80277628 30420800 */ andi $v0, $v0, 0x800 +/* 1A5F0C 8027762C 1040000D */ beqz $v0, .L80277664 +/* 1A5F10 80277630 00000000 */ nop +/* 1A5F14 80277634 8E620000 */ lw $v0, ($s3) +/* 1A5F18 80277638 30420200 */ andi $v0, $v0, 0x200 +/* 1A5F1C 8027763C 10400009 */ beqz $v0, .L80277664 +/* 1A5F20 80277640 24020001 */ addiu $v0, $zero, 1 +/* 1A5F24 80277644 AFA20010 */ sw $v0, 0x10($sp) +/* 1A5F28 80277648 8E25000C */ lw $a1, 0xc($s1) +/* 1A5F2C 8027764C 8E260010 */ lw $a2, 0x10($s1) +/* 1A5F30 80277650 8E270014 */ lw $a3, 0x14($s1) +/* 1A5F34 80277654 0C09DC01 */ jal play_hit_sound +/* 1A5F38 80277658 8FA40058 */ lw $a0, 0x58($sp) +/* 1A5F3C 8027765C 0809E1A9 */ j func_802786A4 +/* 1A5F40 80277660 24020002 */ addiu $v0, $zero, 2 + +.L80277664: +/* 1A5F44 80277664 8E820188 */ lw $v0, 0x188($s4) +/* 1A5F48 80277668 30420002 */ andi $v0, $v0, 2 +/* 1A5F4C 8027766C 10400010 */ beqz $v0, .L802776B0 +/* 1A5F50 80277670 0000202D */ daddu $a0, $zero, $zero +/* 1A5F54 80277674 C6240014 */ lwc1 $f4, 0x14($s1) +/* 1A5F58 80277678 3C0140A0 */ lui $at, 0x40a0 +/* 1A5F5C 8027767C 44810000 */ mtc1 $at, $f0 +/* 1A5F60 80277680 3C013F80 */ lui $at, 0x3f80 +/* 1A5F64 80277684 44811000 */ mtc1 $at, $f2 +/* 1A5F68 80277688 24020018 */ addiu $v0, $zero, 0x18 +/* 1A5F6C 8027768C AFA20014 */ sw $v0, 0x14($sp) +/* 1A5F70 80277690 46002100 */ add.s $f4, $f4, $f0 +/* 1A5F74 80277694 E7A20010 */ swc1 $f2, 0x10($sp) +/* 1A5F78 80277698 8E25000C */ lw $a1, 0xc($s1) +/* 1A5F7C 8027769C 8E260010 */ lw $a2, 0x10($s1) +/* 1A5F80 802776A0 44072000 */ mfc1 $a3, $f4 +/* 1A5F84 802776A4 24080001 */ addiu $t0, $zero, 1 +/* 1A5F88 802776A8 0C01C184 */ jal func_80070610 +/* 1A5F8C 802776AC AFA80020 */ sw $t0, 0x20($sp) +.L802776B0: +/* 1A5F90 802776B0 8E820188 */ lw $v0, 0x188($s4) +/* 1A5F94 802776B4 30420020 */ andi $v0, $v0, 0x20 +/* 1A5F98 802776B8 10400005 */ beqz $v0, .L802776D0 +/* 1A5F9C 802776BC 00000000 */ nop +/* 1A5FA0 802776C0 0C09451D */ jal func_80251474 +/* 1A5FA4 802776C4 0260202D */ daddu $a0, $s3, $zero +/* 1A5FA8 802776C8 24080001 */ addiu $t0, $zero, 1 +/* 1A5FAC 802776CC AFA80024 */ sw $t0, 0x24($sp) +.L802776D0: +/* 1A5FB0 802776D0 8E820188 */ lw $v0, 0x188($s4) +/* 1A5FB4 802776D4 30420004 */ andi $v0, $v0, 4 +/* 1A5FB8 802776D8 1040000E */ beqz $v0, .L80277714 +/* 1A5FBC 802776DC 24020018 */ addiu $v0, $zero, 0x18 +/* 1A5FC0 802776E0 C6240014 */ lwc1 $f4, 0x14($s1) +/* 1A5FC4 802776E4 3C0140A0 */ lui $at, 0x40a0 +/* 1A5FC8 802776E8 44810000 */ mtc1 $at, $f0 +/* 1A5FCC 802776EC 3C013F80 */ lui $at, 0x3f80 +/* 1A5FD0 802776F0 44811000 */ mtc1 $at, $f2 +/* 1A5FD4 802776F4 AFA20014 */ sw $v0, 0x14($sp) +/* 1A5FD8 802776F8 46002100 */ add.s $f4, $f4, $f0 +/* 1A5FDC 802776FC E7A20010 */ swc1 $f2, 0x10($sp) +/* 1A5FE0 80277700 8E25000C */ lw $a1, 0xc($s1) +/* 1A5FE4 80277704 8E260010 */ lw $a2, 0x10($s1) +/* 1A5FE8 80277708 44072000 */ mfc1 $a3, $f4 +/* 1A5FEC 8027770C 0C01C70C */ jal func_80071C30 +/* 1A5FF0 80277710 0000202D */ daddu $a0, $zero, $zero +.L80277714: +/* 1A5FF4 80277714 8E820188 */ lw $v0, 0x188($s4) +/* 1A5FF8 80277718 30420008 */ andi $v0, $v0, 8 +/* 1A5FFC 8027771C 1040000B */ beqz $v0, .L8027774C +/* 1A6000 80277720 00000000 */ nop +/* 1A6004 80277724 C6220014 */ lwc1 $f2, 0x14($s1) +/* 1A6008 80277728 3C0140A0 */ lui $at, 0x40a0 +/* 1A600C 8027772C 44810000 */ mtc1 $at, $f0 +/* 1A6010 80277730 00000000 */ nop +/* 1A6014 80277734 46001080 */ add.s $f2, $f2, $f0 +/* 1A6018 80277738 8E25000C */ lw $a1, 0xc($s1) +/* 1A601C 8027773C 8E260010 */ lw $a2, 0x10($s1) +/* 1A6020 80277740 44071000 */ mfc1 $a3, $f2 +/* 1A6024 80277744 0C01C2A4 */ jal func_80070A90 +/* 1A6028 80277748 0000202D */ daddu $a0, $zero, $zero +.L8027774C: +/* 1A602C 8027774C 8FA80058 */ lw $t0, 0x58($sp) +/* 1A6030 80277750 81020212 */ lb $v0, 0x212($t0) +/* 1A6034 80277754 2403000B */ addiu $v1, $zero, 0xb +/* 1A6038 80277758 5043001E */ beql $v0, $v1, .L802777D4 +/* 1A603C 8027775C 3C047FFF */ lui $a0, 0x7fff +/* 1A6040 80277760 82620212 */ lb $v0, 0x212($s3) +/* 1A6044 80277764 10430006 */ beq $v0, $v1, .L80277780 +/* 1A6048 80277768 3C031000 */ lui $v1, 0x1000 +/* 1A604C 8027776C 8FA80018 */ lw $t0, 0x18($sp) +/* 1A6050 80277770 8D02007C */ lw $v0, 0x7c($t0) +/* 1A6054 80277774 30420080 */ andi $v0, $v0, 0x80 +/* 1A6058 80277778 50400016 */ beql $v0, $zero, .L802777D4 +/* 1A605C 8027777C 3C047FFF */ lui $a0, 0x7fff +.L80277780: +/* 1A6060 80277780 8E820188 */ lw $v0, 0x188($s4) +/* 1A6064 80277784 34630020 */ ori $v1, $v1, 0x20 +/* 1A6068 80277788 00431024 */ and $v0, $v0, $v1 +/* 1A606C 8027778C 14400011 */ bnez $v0, .L802777D4 +/* 1A6070 80277790 3C047FFF */ lui $a0, 0x7fff +/* 1A6074 80277794 8E82018C */ lw $v0, 0x18c($s4) +/* 1A6078 80277798 30420008 */ andi $v0, $v0, 8 +/* 1A607C 8027779C 1440000E */ bnez $v0, .L802777D8 +/* 1A6080 802777A0 3484FFFF */ ori $a0, $a0, 0xffff +/* 1A6084 802777A4 8FA40058 */ lw $a0, 0x58($sp) +/* 1A6088 802777A8 0C09DBD4 */ jal func_80276F50 +/* 1A608C 802777AC 00000000 */ nop +/* 1A6090 802777B0 14400008 */ bnez $v0, .L802777D4 +/* 1A6094 802777B4 3C047FFF */ lui $a0, 0x7fff +/* 1A6098 802777B8 3C03800E */ lui $v1, 0x800e +/* 1A609C 802777BC 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 1A60A0 802777C0 8C620000 */ lw $v0, ($v1) +/* 1A60A4 802777C4 24080001 */ addiu $t0, $zero, 1 +/* 1A60A8 802777C8 AFA80028 */ sw $t0, 0x28($sp) +/* 1A60AC 802777CC 34420020 */ ori $v0, $v0, 0x20 +/* 1A60B0 802777D0 AC620000 */ sw $v0, ($v1) +.L802777D4: +/* 1A60B4 802777D4 3484FFFF */ ori $a0, $a0, 0xffff +.L802777D8: +/* 1A60B8 802777D8 3C03800E */ lui $v1, 0x800e +/* 1A60BC 802777DC 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 1A60C0 802777E0 8C620000 */ lw $v0, ($v1) +/* 1A60C4 802777E4 8E860188 */ lw $a2, 0x188($s4) +/* 1A60C8 802777E8 00441024 */ and $v0, $v0, $a0 +/* 1A60CC 802777EC AC620000 */ sw $v0, ($v1) +/* 1A60D0 802777F0 8FA80018 */ lw $t0, 0x18($sp) +/* 1A60D4 802777F4 8D050078 */ lw $a1, 0x78($t0) +/* 1A60D8 802777F8 0C0998AF */ jal get_defense +/* 1A60DC 802777FC 0260202D */ daddu $a0, $s3, $zero +/* 1A60E0 80277800 0040202D */ daddu $a0, $v0, $zero +/* 1A60E4 80277804 8E830188 */ lw $v1, 0x188($s4) +/* 1A60E8 80277808 3C020800 */ lui $v0, 0x800 +/* 1A60EC 8027780C 00621024 */ and $v0, $v1, $v0 +/* 1A60F0 80277810 14400010 */ bnez $v0, .L80277854 +/* 1A60F4 80277814 00000000 */ nop +/* 1A60F8 80277818 82620222 */ lb $v0, 0x222($s3) +/* 1A60FC 8027781C 16C0000D */ bnez $s6, .L80277854 +/* 1A6100 80277820 00822021 */ addu $a0, $a0, $v0 +/* 1A6104 80277824 8282009D */ lb $v0, 0x9d($s4) +/* 1A6108 80277828 18400004 */ blez $v0, .L8027783C +/* 1A610C 8027782C 30620202 */ andi $v0, $v1, 0x202 +/* 1A6110 80277830 50400002 */ beql $v0, $zero, .L8027783C +/* 1A6114 80277834 24840001 */ addiu $a0, $a0, 1 +/* 1A6118 80277838 24840002 */ addiu $a0, $a0, 2 +.L8027783C: +/* 1A611C 8027783C 3C02800E */ lui $v0, 0x800e +/* 1A6120 80277840 8C42C070 */ lw $v0, -0x3f90($v0) +/* 1A6124 80277844 3C030040 */ lui $v1, 0x40 +/* 1A6128 80277848 00431024 */ and $v0, $v0, $v1 +/* 1A612C 8027784C 54400001 */ bnezl $v0, .L80277854 +/* 1A6130 80277850 24840001 */ addiu $a0, $a0, 1 +.L80277854: +/* 1A6134 80277854 8690017E */ lh $s0, 0x17e($s4) +/* 1A6138 80277858 24020100 */ addiu $v0, $zero, 0x100 +/* 1A613C 8027785C 12C20007 */ beq $s6, $v0, .L8027787C +/* 1A6140 80277860 2AC20101 */ slti $v0, $s6, 0x101 +/* 1A6144 80277864 10400005 */ beqz $v0, .L8027787C +/* 1A6148 80277868 00000000 */ nop +/* 1A614C 8027786C 16C00003 */ bnez $s6, .L8027787C +/* 1A6150 80277870 00000000 */ nop +/* 1A6154 80277874 828200AD */ lb $v0, 0xad($s4) +/* 1A6158 80277878 02028023 */ subu $s0, $s0, $v0 +.L8027787C: +/* 1A615C 8027787C 8FA80058 */ lw $t0, 0x58($sp) +/* 1A6160 80277880 81020221 */ lb $v0, 0x221($t0) +/* 1A6164 80277884 81030224 */ lb $v1, 0x224($t0) +/* 1A6168 80277888 10600004 */ beqz $v1, .L8027789C +/* 1A616C 8027788C 02028021 */ addu $s0, $s0, $v0 +/* 1A6170 80277890 81020223 */ lb $v0, 0x223($t0) +/* 1A6174 80277894 02028023 */ subu $s0, $s0, $v0 +/* 1A6178 80277898 8FA80058 */ lw $t0, 0x58($sp) +.L8027789C: +/* 1A617C 8027789C 81030210 */ lb $v1, 0x210($t0) +/* 1A6180 802778A0 2402000A */ addiu $v0, $zero, 0xa +/* 1A6184 802778A4 14620006 */ bne $v1, $v0, .L802778C0 +/* 1A6188 802778A8 2A020064 */ slti $v0, $s0, 0x64 +/* 1A618C 802778AC 1A000003 */ blez $s0, .L802778BC +/* 1A6190 802778B0 001017C2 */ srl $v0, $s0, 0x1f +/* 1A6194 802778B4 02021021 */ addu $v0, $s0, $v0 +/* 1A6198 802778B8 00028043 */ sra $s0, $v0, 1 +.L802778BC: +/* 1A619C 802778BC 2A020064 */ slti $v0, $s0, 0x64 +.L802778C0: +/* 1A61A0 802778C0 50400001 */ beql $v0, $zero, .L802778C8 +/* 1A61A4 802778C4 24100063 */ addiu $s0, $zero, 0x63 +.L802778C8: +/* 1A61A8 802778C8 5A000001 */ blezl $s0, .L802778D0 +/* 1A61AC 802778CC 0000202D */ daddu $a0, $zero, $zero +.L802778D0: +/* 1A61B0 802778D0 A66001FA */ sh $zero, 0x1fa($s3) +/* 1A61B4 802778D4 16C00020 */ bnez $s6, .L80277958 +/* 1A61B8 802778D8 02048023 */ subu $s0, $s0, $a0 +/* 1A61BC 802778DC 0260202D */ daddu $a0, $s3, $zero +/* 1A61C0 802778E0 0C099CAB */ jal heroes_is_ability_active +/* 1A61C4 802778E4 24050007 */ addiu $a1, $zero, 7 +/* 1A61C8 802778E8 10400006 */ beqz $v0, .L80277904 +/* 1A61CC 802778EC 0260202D */ daddu $a0, $s3, $zero +/* 1A61D0 802778F0 8E820188 */ lw $v0, 0x188($s4) +/* 1A61D4 802778F4 30420002 */ andi $v0, $v0, 2 +/* 1A61D8 802778F8 54400002 */ bnezl $v0, .L80277904 +/* 1A61DC 802778FC 2610FFFF */ addiu $s0, $s0, -1 +/* 1A61E0 80277900 0260202D */ daddu $a0, $s3, $zero +.L80277904: +/* 1A61E4 80277904 0C099CAB */ jal heroes_is_ability_active +/* 1A61E8 80277908 2405001B */ addiu $a1, $zero, 0x1b +/* 1A61EC 8027790C 02028023 */ subu $s0, $s0, $v0 +/* 1A61F0 80277910 0260202D */ daddu $a0, $s3, $zero +/* 1A61F4 80277914 0C099CAB */ jal heroes_is_ability_active +/* 1A61F8 80277918 24050025 */ addiu $a1, $zero, 0x25 +/* 1A61FC 8027791C 02028023 */ subu $s0, $s0, $v0 +/* 1A6200 80277920 0260202D */ daddu $a0, $s3, $zero +/* 1A6204 80277924 0C099CAB */ jal heroes_is_ability_active +/* 1A6208 80277928 24050022 */ addiu $a1, $zero, 0x22 +/* 1A620C 8027792C 826301B8 */ lb $v1, 0x1b8($s3) +/* 1A6210 80277930 28630006 */ slti $v1, $v1, 6 +/* 1A6214 80277934 10600008 */ beqz $v1, .L80277958 +/* 1A6218 80277938 02028021 */ addu $s0, $s0, $v0 +/* 1A621C 8027793C 0260202D */ daddu $a0, $s3, $zero +/* 1A6220 80277940 0C099CAB */ jal heroes_is_ability_active +/* 1A6224 80277944 24050020 */ addiu $a1, $zero, 0x20 +/* 1A6228 80277948 10400003 */ beqz $v0, .L80277958 +/* 1A622C 8027794C 001017C2 */ srl $v0, $s0, 0x1f +/* 1A6230 80277950 02021021 */ addu $v0, $s0, $v0 +/* 1A6234 80277954 00028043 */ sra $s0, $v0, 1 +.L80277958: +/* 1A6238 80277958 12C00005 */ beqz $s6, .L80277970 +/* 1A623C 8027795C 24020100 */ addiu $v0, $zero, 0x100 +/* 1A6240 80277960 12C20021 */ beq $s6, $v0, .L802779E8 +/* 1A6244 80277964 00000000 */ nop +/* 1A6248 80277968 0809DEA0 */ j func_80277A80 +/* 1A624C 8027796C 00000000 */ nop + +.L80277970: +/* 1A6250 80277970 82620210 */ lb $v0, 0x210($s3) +/* 1A6254 80277974 10400003 */ beqz $v0, .L80277984 +/* 1A6258 80277978 28420009 */ slti $v0, $v0, 9 +/* 1A625C 8027797C 14400040 */ bnez $v0, .L80277A80 +/* 1A6260 80277980 00000000 */ nop +.L80277984: +/* 1A6264 80277984 82620214 */ lb $v0, 0x214($s3) +/* 1A6268 80277988 1440003D */ bnez $v0, .L80277A80 +/* 1A626C 8027798C 3C030200 */ lui $v1, 0x200 +/* 1A6270 80277990 8E820188 */ lw $v0, 0x188($s4) +/* 1A6274 80277994 00431024 */ and $v0, $v0, $v1 +/* 1A6278 80277998 14400039 */ bnez $v0, .L80277A80 +/* 1A627C 8027799C 00000000 */ nop +/* 1A6280 802779A0 0260202D */ daddu $a0, $s3, $zero +/* 1A6284 802779A4 0C099CAB */ jal heroes_is_ability_active +/* 1A6288 802779A8 24050015 */ addiu $a1, $zero, 0x15 +/* 1A628C 802779AC 10400005 */ beqz $v0, .L802779C4 +/* 1A6290 802779B0 00000000 */ nop +/* 1A6294 802779B4 0C00A67F */ jal rand_int +/* 1A6298 802779B8 24040001 */ addiu $a0, $zero, 1 +/* 1A629C 802779BC 0809DE73 */ j func_802779CC +/* 1A62A0 802779C0 00000000 */ nop + +.L802779C4: +/* 1A62A4 802779C4 0C09A3B3 */ jal check_block_input +/* 1A62A8 802779C8 34048000 */ ori $a0, $zero, 0x8000 +func_802779CC: +/* 1A62AC 802779CC 1040002A */ beqz $v0, .L80277A78 +/* 1A62B0 802779D0 0260202D */ daddu $a0, $s3, $zero +/* 1A62B4 802779D4 2610FFFF */ addiu $s0, $s0, -1 +/* 1A62B8 802779D8 0C099CAB */ jal heroes_is_ability_active +/* 1A62BC 802779DC 24050033 */ addiu $a1, $zero, 0x33 +/* 1A62C0 802779E0 0809DE89 */ j func_80277A24 +/* 1A62C4 802779E4 02028023 */ subu $s0, $s0, $v0 + +.L802779E8: +/* 1A62C8 802779E8 82620214 */ lb $v0, 0x214($s3) +/* 1A62CC 802779EC 14400024 */ bnez $v0, .L80277A80 +/* 1A62D0 802779F0 00000000 */ nop +/* 1A62D4 802779F4 82620216 */ lb $v0, 0x216($s3) +/* 1A62D8 802779F8 14400021 */ bnez $v0, .L80277A80 +/* 1A62DC 802779FC 3C030200 */ lui $v1, 0x200 +/* 1A62E0 80277A00 8E820188 */ lw $v0, 0x188($s4) +/* 1A62E4 80277A04 00431024 */ and $v0, $v0, $v1 +/* 1A62E8 80277A08 1440001D */ bnez $v0, .L80277A80 +/* 1A62EC 80277A0C 00000000 */ nop +/* 1A62F0 80277A10 0C09A3B3 */ jal check_block_input +/* 1A62F4 80277A14 34048000 */ ori $a0, $zero, 0x8000 +/* 1A62F8 80277A18 10400017 */ beqz $v0, .L80277A78 +/* 1A62FC 80277A1C 00000000 */ nop +/* 1A6300 80277A20 0000802D */ daddu $s0, $zero, $zero +func_80277A24: +/* 1A6304 80277A24 C6200014 */ lwc1 $f0, 0x14($s1) +/* 1A6308 80277A28 24040231 */ addiu $a0, $zero, 0x231 +/* 1A630C 80277A2C E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A6310 80277A30 8E26000C */ lw $a2, 0xc($s1) +/* 1A6314 80277A34 8E270010 */ lw $a3, 0x10($s1) +/* 1A6318 80277A38 0C052757 */ jal play_sound_at_position +/* 1A631C 80277A3C 0000282D */ daddu $a1, $zero, $zero +/* 1A6320 80277A40 C6200014 */ lwc1 $f0, 0x14($s1) +/* 1A6324 80277A44 0000202D */ daddu $a0, $zero, $zero +/* 1A6328 80277A48 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A632C 80277A4C 8E26000C */ lw $a2, 0xc($s1) +/* 1A6330 80277A50 8E270010 */ lw $a3, 0x10($s1) +/* 1A6334 80277A54 0C0999FC */ jal func_802667F0 +/* 1A6338 80277A58 0260282D */ daddu $a1, $s3, $zero +/* 1A633C 80277A5C 3C04800E */ lui $a0, 0x800e +/* 1A6340 80277A60 2484C070 */ addiu $a0, $a0, -0x3f90 +/* 1A6344 80277A64 8C820000 */ lw $v0, ($a0) +/* 1A6348 80277A68 3C038000 */ lui $v1, 0x8000 +/* 1A634C 80277A6C 00431025 */ or $v0, $v0, $v1 +/* 1A6350 80277A70 0809DEA0 */ j func_80277A80 +/* 1A6354 80277A74 AC820000 */ sw $v0, ($a0) + +.L80277A78: +/* 1A6358 80277A78 0C099A5C */ jal func_80266970 +/* 1A635C 80277A7C 0260202D */ daddu $a0, $s3, $zero +func_80277A80: +.L80277A80: +/* 1A6360 80277A80 3C1E800E */ lui $fp, 0x800e +/* 1A6364 80277A84 27DEC070 */ addiu $fp, $fp, -0x3f90 +/* 1A6368 80277A88 8FC20000 */ lw $v0, ($fp) +/* 1A636C 80277A8C 30420020 */ andi $v0, $v0, 0x20 +/* 1A6370 80277A90 10400003 */ beqz $v0, .L80277AA0 +/* 1A6374 80277A94 00000000 */ nop +/* 1A6378 80277A98 0C099A5C */ jal func_80266970 +/* 1A637C 80277A9C 0260202D */ daddu $a0, $s3, $zero +.L80277AA0: +/* 1A6380 80277AA0 1E000011 */ bgtz $s0, .L80277AE8 +/* 1A6384 80277AA4 24120009 */ addiu $s2, $zero, 9 +/* 1A6388 80277AA8 A66001FA */ sh $zero, 0x1fa($s3) +/* 1A638C 80277AAC 8E820188 */ lw $v0, 0x188($s4) +/* 1A6390 80277AB0 3C034000 */ lui $v1, 0x4000 +/* 1A6394 80277AB4 00431024 */ and $v0, $v0, $v1 +/* 1A6398 80277AB8 14400004 */ bnez $v0, .L80277ACC +/* 1A639C 80277ABC 24080002 */ addiu $t0, $zero, 2 +/* 1A63A0 80277AC0 AFA8001C */ sw $t0, 0x1c($sp) +/* 1A63A4 80277AC4 0809DEB8 */ j func_80277AE0 +/* 1A63A8 80277AC8 24120017 */ addiu $s2, $zero, 0x17 + +.L80277ACC: +/* 1A63AC 80277ACC AFA8001C */ sw $t0, 0x1c($sp) +/* 1A63B0 80277AD0 826201B8 */ lb $v0, 0x1b8($s3) +/* 1A63B4 80277AD4 1C400002 */ bgtz $v0, .L80277AE0 +/* 1A63B8 80277AD8 24120017 */ addiu $s2, $zero, 0x17 +/* 1A63BC 80277ADC 24120020 */ addiu $s2, $zero, 0x20 +func_80277AE0: +.L80277AE0: +/* 1A63C0 80277AE0 0809DEE3 */ j func_80277B8C +/* 1A63C4 80277AE4 A6800180 */ sh $zero, 0x180($s4) + +.L80277AE8: +/* 1A63C8 80277AE8 966201FC */ lhu $v0, 0x1fc($s3) +/* 1A63CC 80277AEC 966301FA */ lhu $v1, 0x1fa($s3) +/* 1A63D0 80277AF0 00501021 */ addu $v0, $v0, $s0 +/* 1A63D4 80277AF4 00701823 */ subu $v1, $v1, $s0 +/* 1A63D8 80277AF8 A66201FC */ sh $v0, 0x1fc($s3) +/* 1A63DC 80277AFC A66301FA */ sh $v1, 0x1fa($s3) +/* 1A63E0 80277B00 A6800180 */ sh $zero, 0x180($s4) +/* 1A63E4 80277B04 8FA80018 */ lw $t0, 0x18($sp) +/* 1A63E8 80277B08 8D020000 */ lw $v0, ($t0) +/* 1A63EC 80277B0C 30422000 */ andi $v0, $v0, 0x2000 +/* 1A63F0 80277B10 14400012 */ bnez $v0, .L80277B5C +/* 1A63F4 80277B14 AFA0001C */ sw $zero, 0x1c($sp) +/* 1A63F8 80277B18 8FC20000 */ lw $v0, ($fp) +/* 1A63FC 80277B1C 3C030200 */ lui $v1, 0x200 +/* 1A6400 80277B20 00431024 */ and $v0, $v0, $v1 +/* 1A6404 80277B24 1440000D */ bnez $v0, .L80277B5C +/* 1A6408 80277B28 3C030040 */ lui $v1, 0x40 +/* 1A640C 80277B2C 8E620000 */ lw $v0, ($s3) +/* 1A6410 80277B30 00431024 */ and $v0, $v0, $v1 +/* 1A6414 80277B34 14400004 */ bnez $v0, .L80277B48 +/* 1A6418 80277B38 00000000 */ nop +/* 1A641C 80277B3C 926201B8 */ lbu $v0, 0x1b8($s3) +/* 1A6420 80277B40 00501023 */ subu $v0, $v0, $s0 +/* 1A6424 80277B44 A26201B8 */ sb $v0, 0x1b8($s3) +.L80277B48: +/* 1A6428 80277B48 826201B8 */ lb $v0, 0x1b8($s3) +/* 1A642C 80277B4C 1C400003 */ bgtz $v0, .L80277B5C +/* 1A6430 80277B50 00000000 */ nop +/* 1A6434 80277B54 A26001B8 */ sb $zero, 0x1b8($s3) +/* 1A6438 80277B58 24120020 */ addiu $s2, $zero, 0x20 +.L80277B5C: +/* 1A643C 80277B5C 96820180 */ lhu $v0, 0x180($s4) +/* 1A6440 80277B60 00501021 */ addu $v0, $v0, $s0 +/* 1A6444 80277B64 A6820180 */ sh $v0, 0x180($s4) +/* 1A6448 80277B68 A66201F8 */ sh $v0, 0x1f8($s3) +/* 1A644C 80277B6C 16C00007 */ bnez $s6, .L80277B8C +/* 1A6450 80277B70 A66001FA */ sh $zero, 0x1fa($s3) +/* 1A6454 80277B74 9282007B */ lbu $v0, 0x7b($s4) +/* 1A6458 80277B78 00501021 */ addu $v0, $v0, $s0 +/* 1A645C 80277B7C A282007B */ sb $v0, 0x7b($s4) +/* 1A6460 80277B80 926201B8 */ lbu $v0, 0x1b8($s3) +/* 1A6464 80277B84 3C018011 */ lui $at, 0x8011 +/* 1A6468 80277B88 A022F292 */ sb $v0, -0xd6e($at) +func_80277B8C: +.L80277B8C: +/* 1A646C 80277B8C 3C02800E */ lui $v0, 0x800e +/* 1A6470 80277B90 8C42C070 */ lw $v0, -0x3f90($v0) +/* 1A6474 80277B94 30420020 */ andi $v0, $v0, 0x20 +/* 1A6478 80277B98 1040000D */ beqz $v0, .L80277BD0 +/* 1A647C 80277B9C 24020009 */ addiu $v0, $zero, 9 +/* 1A6480 80277BA0 52420001 */ beql $s2, $v0, .L80277BA8 +/* 1A6484 80277BA4 2412000A */ addiu $s2, $zero, 0xa +.L80277BA8: +/* 1A6488 80277BA8 24020017 */ addiu $v0, $zero, 0x17 +/* 1A648C 80277BAC 52420001 */ beql $s2, $v0, .L80277BB4 +/* 1A6490 80277BB0 24120019 */ addiu $s2, $zero, 0x19 +.L80277BB4: +/* 1A6494 80277BB4 826201B8 */ lb $v0, 0x1b8($s3) +/* 1A6498 80277BB8 1C400008 */ bgtz $v0, .L80277BDC +/* 1A649C 80277BBC 24020019 */ addiu $v0, $zero, 0x19 +/* 1A64A0 80277BC0 52420006 */ beql $s2, $v0, .L80277BDC +/* 1A64A4 80277BC4 24120020 */ addiu $s2, $zero, 0x20 +/* 1A64A8 80277BC8 0809DEF7 */ j func_80277BDC +/* 1A64AC 80277BCC 00000000 */ nop + +.L80277BD0: +/* 1A64B0 80277BD0 24020020 */ addiu $v0, $zero, 0x20 +/* 1A64B4 80277BD4 52420001 */ beql $s2, $v0, .L80277BDC +/* 1A64B8 80277BD8 24120009 */ addiu $s2, $zero, 9 +func_80277BDC: +.L80277BDC: +/* 1A64BC 80277BDC 3C10800E */ lui $s0, 0x800e +/* 1A64C0 80277BE0 2610C070 */ addiu $s0, $s0, -0x3f90 +/* 1A64C4 80277BE4 8E020000 */ lw $v0, ($s0) +/* 1A64C8 80277BE8 30420020 */ andi $v0, $v0, 0x20 +/* 1A64CC 80277BEC 14400007 */ bnez $v0, .L80277C0C +/* 1A64D0 80277BF0 00000000 */ nop +/* 1A64D4 80277BF4 0C099B85 */ jal func_80266E14 +/* 1A64D8 80277BF8 8FA40018 */ lw $a0, 0x18($sp) +/* 1A64DC 80277BFC 8E020000 */ lw $v0, ($s0) +/* 1A64E0 80277C00 30420020 */ andi $v0, $v0, 0x20 +/* 1A64E4 80277C04 10400014 */ beqz $v0, .L80277C58 +/* 1A64E8 80277C08 00000000 */ nop +.L80277C0C: +/* 1A64EC 80277C0C 8E820188 */ lw $v0, 0x188($s4) +/* 1A64F0 80277C10 30420C80 */ andi $v0, $v0, 0xc80 +/* 1A64F4 80277C14 1040000B */ beqz $v0, .L80277C44 +/* 1A64F8 80277C18 00000000 */ nop +/* 1A64FC 80277C1C 8FA80018 */ lw $t0, 0x18($sp) +/* 1A6500 80277C20 8D02007C */ lw $v0, 0x7c($t0) +/* 1A6504 80277C24 30421000 */ andi $v0, $v0, 0x1000 +/* 1A6508 80277C28 10400006 */ beqz $v0, .L80277C44 +/* 1A650C 80277C2C 2402000A */ addiu $v0, $zero, 0xa +/* 1A6510 80277C30 52420001 */ beql $s2, $v0, .L80277C38 +/* 1A6514 80277C34 2412000D */ addiu $s2, $zero, 0xd +.L80277C38: +/* 1A6518 80277C38 24020019 */ addiu $v0, $zero, 0x19 +/* 1A651C 80277C3C 52420001 */ beql $s2, $v0, .L80277C44 +/* 1A6520 80277C40 2412000D */ addiu $s2, $zero, 0xd +.L80277C44: +/* 1A6524 80277C44 3C02800E */ lui $v0, 0x800e +/* 1A6528 80277C48 8C42C070 */ lw $v0, -0x3f90($v0) +/* 1A652C 80277C4C 30420020 */ andi $v0, $v0, 0x20 +/* 1A6530 80277C50 14400014 */ bnez $v0, .L80277CA4 +/* 1A6534 80277C54 00000000 */ nop +.L80277C58: +/* 1A6538 80277C58 8E820188 */ lw $v0, 0x188($s4) +/* 1A653C 80277C5C 30420C80 */ andi $v0, $v0, 0xc80 +/* 1A6540 80277C60 1040000B */ beqz $v0, .L80277C90 +/* 1A6544 80277C64 00000000 */ nop +/* 1A6548 80277C68 8FA80018 */ lw $t0, 0x18($sp) +/* 1A654C 80277C6C 8D02007C */ lw $v0, 0x7c($t0) +/* 1A6550 80277C70 30421000 */ andi $v0, $v0, 0x1000 +/* 1A6554 80277C74 10400006 */ beqz $v0, .L80277C90 +/* 1A6558 80277C78 24020009 */ addiu $v0, $zero, 9 +/* 1A655C 80277C7C 52420001 */ beql $s2, $v0, .L80277C84 +/* 1A6560 80277C80 2412000D */ addiu $s2, $zero, 0xd +.L80277C84: +/* 1A6564 80277C84 24020017 */ addiu $v0, $zero, 0x17 +/* 1A6568 80277C88 52420001 */ beql $s2, $v0, .L80277C90 +/* 1A656C 80277C8C 2412000D */ addiu $s2, $zero, 0xd +.L80277C90: +/* 1A6570 80277C90 3C02800E */ lui $v0, 0x800e +/* 1A6574 80277C94 8C42C070 */ lw $v0, -0x3f90($v0) +/* 1A6578 80277C98 30420020 */ andi $v0, $v0, 0x20 +/* 1A657C 80277C9C 1040000C */ beqz $v0, .L80277CD0 +/* 1A6580 80277CA0 00000000 */ nop +.L80277CA4: +/* 1A6584 80277CA4 8E820188 */ lw $v0, 0x188($s4) +/* 1A6588 80277CA8 30424202 */ andi $v0, $v0, 0x4202 +/* 1A658C 80277CAC 10400008 */ beqz $v0, .L80277CD0 +/* 1A6590 80277CB0 2402000A */ addiu $v0, $zero, 0xa +/* 1A6594 80277CB4 52420001 */ beql $s2, $v0, .L80277CBC +/* 1A6598 80277CB8 2412000E */ addiu $s2, $zero, 0xe +.L80277CBC: +/* 1A659C 80277CBC 24020020 */ addiu $v0, $zero, 0x20 +/* 1A65A0 80277CC0 52420001 */ beql $s2, $v0, .L80277CC8 +/* 1A65A4 80277CC4 24120029 */ addiu $s2, $zero, 0x29 +.L80277CC8: +/* 1A65A8 80277CC8 24080001 */ addiu $t0, $zero, 1 +/* 1A65AC 80277CCC AFA80020 */ sw $t0, 0x20($sp) +.L80277CD0: +/* 1A65B0 80277CD0 3C02800E */ lui $v0, 0x800e +/* 1A65B4 80277CD4 8C42C070 */ lw $v0, -0x3f90($v0) +/* 1A65B8 80277CD8 0441000F */ bgez $v0, .L80277D18 +/* 1A65BC 80277CDC 24020009 */ addiu $v0, $zero, 9 +/* 1A65C0 80277CE0 52420001 */ beql $s2, $v0, .L80277CE8 +/* 1A65C4 80277CE4 24120018 */ addiu $s2, $zero, 0x18 +.L80277CE8: +/* 1A65C8 80277CE8 2402000A */ addiu $v0, $zero, 0xa +/* 1A65CC 80277CEC 52420001 */ beql $s2, $v0, .L80277CF4 +/* 1A65D0 80277CF0 2412001A */ addiu $s2, $zero, 0x1a +.L80277CF4: +/* 1A65D4 80277CF4 24020017 */ addiu $v0, $zero, 0x17 +/* 1A65D8 80277CF8 52420001 */ beql $s2, $v0, .L80277D00 +/* 1A65DC 80277CFC 24120018 */ addiu $s2, $zero, 0x18 +.L80277D00: +/* 1A65E0 80277D00 24020019 */ addiu $v0, $zero, 0x19 +/* 1A65E4 80277D04 52420001 */ beql $s2, $v0, .L80277D0C +/* 1A65E8 80277D08 2412001A */ addiu $s2, $zero, 0x1a +.L80277D0C: +/* 1A65EC 80277D0C 2402000E */ addiu $v0, $zero, 0xe +/* 1A65F0 80277D10 52420001 */ beql $s2, $v0, .L80277D18 +/* 1A65F4 80277D14 2412001A */ addiu $s2, $zero, 0x1a +.L80277D18: +/* 1A65F8 80277D18 3C04800E */ lui $a0, 0x800e +/* 1A65FC 80277D1C 2484C070 */ addiu $a0, $a0, -0x3f90 +/* 1A6600 80277D20 8C830000 */ lw $v1, ($a0) +/* 1A6604 80277D24 30620020 */ andi $v0, $v1, 0x20 +/* 1A6608 80277D28 104000B2 */ beqz $v0, .L80277FF4 +/* 1A660C 80277D2C 24020100 */ addiu $v0, $zero, 0x100 +/* 1A6610 80277D30 86820180 */ lh $v0, 0x180($s4) +/* 1A6614 80277D34 044000AE */ bltz $v0, .L80277FF0 +/* 1A6618 80277D38 24020020 */ addiu $v0, $zero, 0x20 +/* 1A661C 80277D3C 124200AC */ beq $s2, $v0, .L80277FF0 +/* 1A6620 80277D40 24020021 */ addiu $v0, $zero, 0x21 +/* 1A6624 80277D44 124200AA */ beq $s2, $v0, .L80277FF0 +/* 1A6628 80277D48 24020022 */ addiu $v0, $zero, 0x22 +/* 1A662C 80277D4C 124200A9 */ beq $s2, $v0, .L80277FF4 +/* 1A6630 80277D50 24020100 */ addiu $v0, $zero, 0x100 +/* 1A6634 80277D54 046000A7 */ bltz $v1, .L80277FF4 +/* 1A6638 80277D58 3C030100 */ lui $v1, 0x100 +/* 1A663C 80277D5C 8C820004 */ lw $v0, 4($a0) +/* 1A6640 80277D60 00431024 */ and $v0, $v0, $v1 +/* 1A6644 80277D64 144000A3 */ bnez $v0, .L80277FF4 +/* 1A6648 80277D68 24020100 */ addiu $v0, $zero, 0x100 +/* 1A664C 80277D6C 16C0000A */ bnez $s6, .L80277D98 +/* 1A6650 80277D70 00000000 */ nop +/* 1A6654 80277D74 0C03A752 */ jal is_ability_active +/* 1A6658 80277D78 24040037 */ addiu $a0, $zero, 0x37 +/* 1A665C 80277D7C 10400006 */ beqz $v0, .L80277D98 +/* 1A6660 80277D80 00000000 */ nop +/* 1A6664 80277D84 0C00A67F */ jal rand_int +/* 1A6668 80277D88 24040064 */ addiu $a0, $zero, 0x64 +/* 1A666C 80277D8C 28420032 */ slti $v0, $v0, 0x32 +/* 1A6670 80277D90 14400098 */ bnez $v0, .L80277FF4 +/* 1A6674 80277D94 24020100 */ addiu $v0, $zero, 0x100 +.L80277D98: +/* 1A6678 80277D98 8E820190 */ lw $v0, 0x190($s4) +/* 1A667C 80277D9C 3C030008 */ lui $v1, 8 +/* 1A6680 80277DA0 00431024 */ and $v0, $v0, $v1 +/* 1A6684 80277DA4 10400008 */ beqz $v0, .L80277DC8 +/* 1A6688 80277DA8 0260202D */ daddu $a0, $s3, $zero +/* 1A668C 80277DAC 2405000A */ addiu $a1, $zero, 0xa +/* 1A6690 80277DB0 0C099ADE */ jal try_inflict_status +/* 1A6694 80277DB4 24060027 */ addiu $a2, $zero, 0x27 +/* 1A6698 80277DB8 10400003 */ beqz $v0, .L80277DC8 +/* 1A669C 80277DBC 00000000 */ nop +/* 1A66A0 80277DC0 24150001 */ addiu $s5, $zero, 1 +/* 1A66A4 80277DC4 02A0B82D */ daddu $s7, $s5, $zero +.L80277DC8: +/* 1A66A8 80277DC8 8E820190 */ lw $v0, 0x190($s4) +/* 1A66AC 80277DCC 3C030002 */ lui $v1, 2 +/* 1A66B0 80277DD0 00431024 */ and $v0, $v0, $v1 +/* 1A66B4 80277DD4 10400008 */ beqz $v0, .L80277DF8 +/* 1A66B8 80277DD8 0260202D */ daddu $a0, $s3, $zero +/* 1A66BC 80277DDC 24050009 */ addiu $a1, $zero, 9 +/* 1A66C0 80277DE0 0C099ADE */ jal try_inflict_status +/* 1A66C4 80277DE4 24060025 */ addiu $a2, $zero, 0x25 +/* 1A66C8 80277DE8 10400003 */ beqz $v0, .L80277DF8 +/* 1A66CC 80277DEC 00000000 */ nop +/* 1A66D0 80277DF0 24150001 */ addiu $s5, $zero, 1 +/* 1A66D4 80277DF4 02A0B82D */ daddu $s7, $s5, $zero +.L80277DF8: +/* 1A66D8 80277DF8 8E820190 */ lw $v0, 0x190($s4) +/* 1A66DC 80277DFC 3C030010 */ lui $v1, 0x10 +/* 1A66E0 80277E00 00431024 */ and $v0, $v0, $v1 +/* 1A66E4 80277E04 10400008 */ beqz $v0, .L80277E28 +/* 1A66E8 80277E08 0260202D */ daddu $a0, $s3, $zero +/* 1A66EC 80277E0C 2405000C */ addiu $a1, $zero, 0xc +/* 1A66F0 80277E10 0C099ADE */ jal try_inflict_status +/* 1A66F4 80277E14 24060028 */ addiu $a2, $zero, 0x28 +/* 1A66F8 80277E18 10400003 */ beqz $v0, .L80277E28 +/* 1A66FC 80277E1C 00000000 */ nop +/* 1A6700 80277E20 24150001 */ addiu $s5, $zero, 1 +/* 1A6704 80277E24 02A0B82D */ daddu $s7, $s5, $zero +.L80277E28: +/* 1A6708 80277E28 8E820190 */ lw $v0, 0x190($s4) +/* 1A670C 80277E2C 30421000 */ andi $v0, $v0, 0x1000 +/* 1A6710 80277E30 10400008 */ beqz $v0, .L80277E54 +/* 1A6714 80277E34 0260202D */ daddu $a0, $s3, $zero +/* 1A6718 80277E38 24050006 */ addiu $a1, $zero, 6 +/* 1A671C 80277E3C 0C099ADE */ jal try_inflict_status +/* 1A6720 80277E40 24060020 */ addiu $a2, $zero, 0x20 +/* 1A6724 80277E44 10400003 */ beqz $v0, .L80277E54 +/* 1A6728 80277E48 00000000 */ nop +/* 1A672C 80277E4C 24150001 */ addiu $s5, $zero, 1 +/* 1A6730 80277E50 02A0B82D */ daddu $s7, $s5, $zero +.L80277E54: +/* 1A6734 80277E54 8E820190 */ lw $v0, 0x190($s4) +/* 1A6738 80277E58 3C030004 */ lui $v1, 4 +/* 1A673C 80277E5C 00431024 */ and $v0, $v0, $v1 +/* 1A6740 80277E60 10400008 */ beqz $v0, .L80277E84 +/* 1A6744 80277E64 0260202D */ daddu $a0, $s3, $zero +/* 1A6748 80277E68 24050004 */ addiu $a1, $zero, 4 +/* 1A674C 80277E6C 0C099ADE */ jal try_inflict_status +/* 1A6750 80277E70 24060024 */ addiu $a2, $zero, 0x24 +/* 1A6754 80277E74 10400003 */ beqz $v0, .L80277E84 +/* 1A6758 80277E78 00000000 */ nop +/* 1A675C 80277E7C 24150001 */ addiu $s5, $zero, 1 +/* 1A6760 80277E80 02A0B82D */ daddu $s7, $s5, $zero +.L80277E84: +/* 1A6764 80277E84 8E820190 */ lw $v0, 0x190($s4) +/* 1A6768 80277E88 3C030020 */ lui $v1, 0x20 +/* 1A676C 80277E8C 00431024 */ and $v0, $v0, $v1 +/* 1A6770 80277E90 10400008 */ beqz $v0, .L80277EB4 +/* 1A6774 80277E94 0260202D */ daddu $a0, $s3, $zero +/* 1A6778 80277E98 24050008 */ addiu $a1, $zero, 8 +/* 1A677C 80277E9C 0C099ADE */ jal try_inflict_status +/* 1A6780 80277EA0 24060029 */ addiu $a2, $zero, 0x29 +/* 1A6784 80277EA4 10400003 */ beqz $v0, .L80277EB4 +/* 1A6788 80277EA8 00000000 */ nop +/* 1A678C 80277EAC 24150001 */ addiu $s5, $zero, 1 +/* 1A6790 80277EB0 02A0B82D */ daddu $s7, $s5, $zero +.L80277EB4: +/* 1A6794 80277EB4 8E820190 */ lw $v0, 0x190($s4) +/* 1A6798 80277EB8 30422000 */ andi $v0, $v0, 0x2000 +/* 1A679C 80277EBC 10400008 */ beqz $v0, .L80277EE0 +/* 1A67A0 80277EC0 0260202D */ daddu $a0, $s3, $zero +/* 1A67A4 80277EC4 2405000B */ addiu $a1, $zero, 0xb +/* 1A67A8 80277EC8 0C099ADE */ jal try_inflict_status +/* 1A67AC 80277ECC 24060021 */ addiu $a2, $zero, 0x21 +/* 1A67B0 80277ED0 10400003 */ beqz $v0, .L80277EE0 +/* 1A67B4 80277ED4 00000000 */ nop +/* 1A67B8 80277ED8 24150001 */ addiu $s5, $zero, 1 +/* 1A67BC 80277EDC 02A0B82D */ daddu $s7, $s5, $zero +.L80277EE0: +/* 1A67C0 80277EE0 8E820190 */ lw $v0, 0x190($s4) +/* 1A67C4 80277EE4 3C030001 */ lui $v1, 1 +/* 1A67C8 80277EE8 00431024 */ and $v0, $v0, $v1 +/* 1A67CC 80277EEC 10400008 */ beqz $v0, .L80277F10 +/* 1A67D0 80277EF0 0260202D */ daddu $a0, $s3, $zero +/* 1A67D4 80277EF4 24050005 */ addiu $a1, $zero, 5 +/* 1A67D8 80277EF8 0C099ADE */ jal try_inflict_status +/* 1A67DC 80277EFC 24060026 */ addiu $a2, $zero, 0x26 +/* 1A67E0 80277F00 10400003 */ beqz $v0, .L80277F10 +/* 1A67E4 80277F04 00000000 */ nop +/* 1A67E8 80277F08 24150001 */ addiu $s5, $zero, 1 +/* 1A67EC 80277F0C 02A0B82D */ daddu $s7, $s5, $zero +.L80277F10: +/* 1A67F0 80277F10 8E820190 */ lw $v0, 0x190($s4) +/* 1A67F4 80277F14 30428000 */ andi $v0, $v0, 0x8000 +/* 1A67F8 80277F18 10400008 */ beqz $v0, .L80277F3C +/* 1A67FC 80277F1C 0260202D */ daddu $a0, $s3, $zero +/* 1A6800 80277F20 24050003 */ addiu $a1, $zero, 3 +/* 1A6804 80277F24 0C099ADE */ jal try_inflict_status +/* 1A6808 80277F28 24060023 */ addiu $a2, $zero, 0x23 +/* 1A680C 80277F2C 10400003 */ beqz $v0, .L80277F3C +/* 1A6810 80277F30 00000000 */ nop +/* 1A6814 80277F34 24150001 */ addiu $s5, $zero, 1 +/* 1A6818 80277F38 02A0B82D */ daddu $s7, $s5, $zero +.L80277F3C: +/* 1A681C 80277F3C 8E820190 */ lw $v0, 0x190($s4) +/* 1A6820 80277F40 3C030001 */ lui $v1, 1 +/* 1A6824 80277F44 00431024 */ and $v0, $v0, $v1 +/* 1A6828 80277F48 10400008 */ beqz $v0, .L80277F6C +/* 1A682C 80277F4C 0260202D */ daddu $a0, $s3, $zero +/* 1A6830 80277F50 24050005 */ addiu $a1, $zero, 5 +/* 1A6834 80277F54 0C099ADE */ jal try_inflict_status +/* 1A6838 80277F58 24060026 */ addiu $a2, $zero, 0x26 +/* 1A683C 80277F5C 10400003 */ beqz $v0, .L80277F6C +/* 1A6840 80277F60 00000000 */ nop +/* 1A6844 80277F64 24150001 */ addiu $s5, $zero, 1 +/* 1A6848 80277F68 02A0B82D */ daddu $s7, $s5, $zero +.L80277F6C: +/* 1A684C 80277F6C 8E820190 */ lw $v0, 0x190($s4) +/* 1A6850 80277F70 3C030004 */ lui $v1, 4 +/* 1A6854 80277F74 00431024 */ and $v0, $v0, $v1 +/* 1A6858 80277F78 10400008 */ beqz $v0, .L80277F9C +/* 1A685C 80277F7C 0260202D */ daddu $a0, $s3, $zero +/* 1A6860 80277F80 24050004 */ addiu $a1, $zero, 4 +/* 1A6864 80277F84 0C099ADE */ jal try_inflict_status +/* 1A6868 80277F88 24060024 */ addiu $a2, $zero, 0x24 +/* 1A686C 80277F8C 10400003 */ beqz $v0, .L80277F9C +/* 1A6870 80277F90 00000000 */ nop +/* 1A6874 80277F94 24150001 */ addiu $s5, $zero, 1 +/* 1A6878 80277F98 02A0B82D */ daddu $s7, $s5, $zero +.L80277F9C: +/* 1A687C 80277F9C 8E820190 */ lw $v0, 0x190($s4) +/* 1A6880 80277FA0 30424000 */ andi $v0, $v0, 0x4000 +/* 1A6884 80277FA4 1040000B */ beqz $v0, .L80277FD4 +/* 1A6888 80277FA8 24020007 */ addiu $v0, $zero, 7 +/* 1A688C 80277FAC 82630210 */ lb $v1, 0x210($s3) +/* 1A6890 80277FB0 10620008 */ beq $v1, $v0, .L80277FD4 +/* 1A6894 80277FB4 0260202D */ daddu $a0, $s3, $zero +/* 1A6898 80277FB8 0040282D */ daddu $a1, $v0, $zero +/* 1A689C 80277FBC 0C099ADE */ jal try_inflict_status +/* 1A68A0 80277FC0 24060022 */ addiu $a2, $zero, 0x22 +/* 1A68A4 80277FC4 10400003 */ beqz $v0, .L80277FD4 +/* 1A68A8 80277FC8 00000000 */ nop +/* 1A68AC 80277FCC 24150001 */ addiu $s5, $zero, 1 +/* 1A68B0 80277FD0 02A0B82D */ daddu $s7, $s5, $zero +.L80277FD4: +/* 1A68B4 80277FD4 12A00006 */ beqz $s5, .L80277FF0 +/* 1A68B8 80277FD8 24020017 */ addiu $v0, $zero, 0x17 +/* 1A68BC 80277FDC 52420001 */ beql $s2, $v0, .L80277FE4 +/* 1A68C0 80277FE0 24120009 */ addiu $s2, $zero, 9 +.L80277FE4: +/* 1A68C4 80277FE4 24020019 */ addiu $v0, $zero, 0x19 +/* 1A68C8 80277FE8 52420001 */ beql $s2, $v0, .L80277FF0 +/* 1A68CC 80277FEC 2412000A */ addiu $s2, $zero, 0xa +.L80277FF0: +/* 1A68D0 80277FF0 24020100 */ addiu $v0, $zero, 0x100 +.L80277FF4: +/* 1A68D4 80277FF4 12C20010 */ beq $s6, $v0, .L80278038 +/* 1A68D8 80277FF8 A2950199 */ sb $s5, 0x199($s4) +/* 1A68DC 80277FFC 2AC20101 */ slti $v0, $s6, 0x101 +/* 1A68E0 80278000 10400005 */ beqz $v0, .L80278018 +/* 1A68E4 80278004 24020200 */ addiu $v0, $zero, 0x200 +/* 1A68E8 80278008 12C00007 */ beqz $s6, .L80278028 +/* 1A68EC 8027800C 24020100 */ addiu $v0, $zero, 0x100 +/* 1A68F0 80278010 0809E016 */ j func_80278058 +/* 1A68F4 80278014 00000000 */ nop + +.L80278018: +/* 1A68F8 80278018 12C2000B */ beq $s6, $v0, .L80278048 +/* 1A68FC 8027801C 24020100 */ addiu $v0, $zero, 0x100 +/* 1A6900 80278020 0809E016 */ j func_80278058 +/* 1A6904 80278024 00000000 */ nop + +.L80278028: +/* 1A6908 80278028 0C09C596 */ jal dispatch_event_player +/* 1A690C 8027802C 0240202D */ daddu $a0, $s2, $zero +/* 1A6910 80278030 0809E016 */ j func_80278058 +/* 1A6914 80278034 24020100 */ addiu $v0, $zero, 0x100 + +.L80278038: +/* 1A6918 80278038 0C09F7A0 */ jal dispatch_event_partner +/* 1A691C 8027803C 0240202D */ daddu $a0, $s2, $zero +/* 1A6920 80278040 0809E016 */ j func_80278058 +/* 1A6924 80278044 24020100 */ addiu $v0, $zero, 0x100 + +.L80278048: +/* 1A6928 80278048 0260202D */ daddu $a0, $s3, $zero +/* 1A692C 8027804C 0C09DC58 */ jal dispatch_event_actor +/* 1A6930 80278050 0240282D */ daddu $a1, $s2, $zero +/* 1A6934 80278054 24020100 */ addiu $v0, $zero, 0x100 +func_80278058: +/* 1A6938 80278058 16C2000F */ bne $s6, $v0, .L80278098 +/* 1A693C 8027805C 00000000 */ nop +/* 1A6940 80278060 86860180 */ lh $a2, 0x180($s4) +/* 1A6944 80278064 18C0000C */ blez $a2, .L80278098 +/* 1A6948 80278068 00000000 */ nop +/* 1A694C 8027806C 3C02800E */ lui $v0, 0x800e +/* 1A6950 80278070 8C42C070 */ lw $v0, -0x3f90($v0) +/* 1A6954 80278074 30420020 */ andi $v0, $v0, 0x20 +/* 1A6958 80278078 10400007 */ beqz $v0, .L80278098 +/* 1A695C 8027807C 3C030040 */ lui $v1, 0x40 +/* 1A6960 80278080 8E620000 */ lw $v0, ($s3) +/* 1A6964 80278084 00431024 */ and $v0, $v0, $v1 +/* 1A6968 80278088 14400003 */ bnez $v0, .L80278098 +/* 1A696C 8027808C 0260202D */ daddu $a0, $s3, $zero +/* 1A6970 80278090 0C099895 */ jal inflict_partner_ko +/* 1A6974 80278094 2405000D */ addiu $a1, $zero, 0xd +.L80278098: +/* 1A6978 80278098 8E620000 */ lw $v0, ($s3) +/* 1A697C 8027809C 3C030200 */ lui $v1, 0x200 +/* 1A6980 802780A0 00431024 */ and $v0, $v0, $v1 +/* 1A6984 802780A4 1440004C */ bnez $v0, .L802781D8 +/* 1A6988 802780A8 24020100 */ addiu $v0, $zero, 0x100 +/* 1A698C 802780AC 12C2000B */ beq $s6, $v0, .L802780DC +/* 1A6990 802780B0 2AC20101 */ slti $v0, $s6, 0x101 +/* 1A6994 802780B4 10400005 */ beqz $v0, .L802780CC +/* 1A6998 802780B8 24020200 */ addiu $v0, $zero, 0x200 +/* 1A699C 802780BC 12C00007 */ beqz $s6, .L802780DC +/* 1A69A0 802780C0 00000000 */ nop +/* 1A69A4 802780C4 0809E076 */ j func_802781D8 +/* 1A69A8 802780C8 00000000 */ nop + +.L802780CC: +/* 1A69AC 802780CC 12C2001B */ beq $s6, $v0, .L8027813C +/* 1A69B0 802780D0 00000000 */ nop +/* 1A69B4 802780D4 0809E076 */ j func_802781D8 +/* 1A69B8 802780D8 00000000 */ nop + +.L802780DC: +/* 1A69BC 802780DC 86870180 */ lh $a3, 0x180($s4) +/* 1A69C0 802780E0 14E00008 */ bnez $a3, .L80278104 +/* 1A69C4 802780E4 3C032000 */ lui $v1, 0x2000 +/* 1A69C8 802780E8 16E0003B */ bnez $s7, .L802781D8 +/* 1A69CC 802780EC 00000000 */ nop +/* 1A69D0 802780F0 16A00039 */ bnez $s5, .L802781D8 +/* 1A69D4 802780F4 24020001 */ addiu $v0, $zero, 1 +/* 1A69D8 802780F8 AFA20010 */ sw $v0, 0x10($sp) +/* 1A69DC 802780FC 0809E058 */ j func_80278160 +/* 1A69E0 80278100 2402FFFD */ addiu $v0, $zero, -3 + +.L80278104: +/* 1A69E4 80278104 8E820188 */ lw $v0, 0x188($s4) +/* 1A69E8 80278108 34630040 */ ori $v1, $v1, 0x40 +/* 1A69EC 8027810C 00431024 */ and $v0, $v0, $v1 +/* 1A69F0 80278110 10400008 */ beqz $v0, .L80278134 +/* 1A69F4 80278114 24020001 */ addiu $v0, $zero, 1 +/* 1A69F8 80278118 AFA20010 */ sw $v0, 0x10($sp) +/* 1A69FC 8027811C C62C000C */ lwc1 $f12, 0xc($s1) +/* 1A6A00 80278120 C62E0010 */ lwc1 $f14, 0x10($s1) +/* 1A6A04 80278124 0C09996B */ jal show_damage_popup +/* 1A6A08 80278128 8E260014 */ lw $a2, 0x14($s1) +/* 1A6A0C 8027812C 0809E06F */ j func_802781BC +/* 1A6A10 80278130 00000000 */ nop + +.L80278134: +/* 1A6A14 80278134 0809E06B */ j func_802781AC +/* 1A6A18 80278138 AFA20010 */ sw $v0, 0x10($sp) + +.L8027813C: +/* 1A6A1C 8027813C 86870180 */ lh $a3, 0x180($s4) +/* 1A6A20 80278140 14E0000F */ bnez $a3, .L80278180 +/* 1A6A24 80278144 3C032000 */ lui $v1, 0x2000 +/* 1A6A28 80278148 16E00023 */ bnez $s7, .L802781D8 +/* 1A6A2C 8027814C 00000000 */ nop +/* 1A6A30 80278150 16A00021 */ bnez $s5, .L802781D8 +/* 1A6A34 80278154 24020001 */ addiu $v0, $zero, 1 +/* 1A6A38 80278158 AFA20010 */ sw $v0, 0x10($sp) +/* 1A6A3C 8027815C 24020003 */ addiu $v0, $zero, 3 +func_80278160: +/* 1A6A40 80278160 AFA20014 */ sw $v0, 0x14($sp) +/* 1A6A44 80278164 C62C000C */ lwc1 $f12, 0xc($s1) +/* 1A6A48 80278168 C62E0010 */ lwc1 $f14, 0x10($s1) +/* 1A6A4C 8027816C 8E260014 */ lw $a2, 0x14($s1) +/* 1A6A50 80278170 0C093BF8 */ jal func_8024EFE0 +/* 1A6A54 80278174 0000382D */ daddu $a3, $zero, $zero +/* 1A6A58 80278178 0809E076 */ j func_802781D8 +/* 1A6A5C 8027817C 00000000 */ nop + +.L80278180: +/* 1A6A60 80278180 8E820188 */ lw $v0, 0x188($s4) +/* 1A6A64 80278184 34630040 */ ori $v1, $v1, 0x40 +/* 1A6A68 80278188 00431024 */ and $v0, $v0, $v1 +/* 1A6A6C 8027818C 10400007 */ beqz $v0, .L802781AC +/* 1A6A70 80278190 AFA00010 */ sw $zero, 0x10($sp) +/* 1A6A74 80278194 C62C000C */ lwc1 $f12, 0xc($s1) +/* 1A6A78 80278198 C62E0010 */ lwc1 $f14, 0x10($s1) +/* 1A6A7C 8027819C 0C09996B */ jal show_damage_popup +/* 1A6A80 802781A0 8E260014 */ lw $a2, 0x14($s1) +/* 1A6A84 802781A4 0809E06F */ j func_802781BC +/* 1A6A88 802781A8 00000000 */ nop + +func_802781AC: +.L802781AC: +/* 1A6A8C 802781AC C62C000C */ lwc1 $f12, 0xc($s1) +/* 1A6A90 802781B0 C62E0010 */ lwc1 $f14, 0x10($s1) +/* 1A6A94 802781B4 0C099937 */ jal func_802664DC +/* 1A6A98 802781B8 8E260014 */ lw $a2, 0x14($s1) +func_802781BC: +/* 1A6A9C 802781BC 86820180 */ lh $v0, 0x180($s4) +/* 1A6AA0 802781C0 AFA20010 */ sw $v0, 0x10($sp) +/* 1A6AA4 802781C4 8E25000C */ lw $a1, 0xc($s1) +/* 1A6AA8 802781C8 8E260010 */ lw $a2, 0x10($s1) +/* 1A6AAC 802781CC 8E270014 */ lw $a3, 0x14($s1) +/* 1A6AB0 802781D0 0C0999B9 */ jal func_802666E4 +/* 1A6AB4 802781D4 0260202D */ daddu $a0, $s3, $zero +func_802781D8: +.L802781D8: +/* 1A6AB8 802781D8 86820180 */ lh $v0, 0x180($s4) +/* 1A6ABC 802781DC 1840001F */ blez $v0, .L8027825C +/* 1A6AC0 802781E0 00000000 */ nop +/* 1A6AC4 802781E4 0260202D */ daddu $a0, $s3, $zero +/* 1A6AC8 802781E8 0C099C06 */ jal func_80267018 +/* 1A6ACC 802781EC 24050001 */ addiu $a1, $zero, 1 +/* 1A6AD0 802781F0 8FA80058 */ lw $t0, 0x58($sp) +/* 1A6AD4 802781F4 8D0201B0 */ lw $v0, 0x1b0($t0) +/* 1A6AD8 802781F8 10400008 */ beqz $v0, .L8027821C +/* 1A6ADC 802781FC 00000000 */ nop +/* 1A6AE0 80278200 C6200014 */ lwc1 $f0, 0x14($s1) +/* 1A6AE4 80278204 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A6AE8 80278208 8D0401B0 */ lw $a0, 0x1b0($t0) +/* 1A6AEC 8027820C 8E26000C */ lw $a2, 0xc($s1) +/* 1A6AF0 80278210 8E270010 */ lw $a3, 0x10($s1) +/* 1A6AF4 80278214 0C052757 */ jal play_sound_at_position +/* 1A6AF8 80278218 0000282D */ daddu $a1, $zero, $zero +.L8027821C: +/* 1A6AFC 8027821C 8FA80020 */ lw $t0, 0x20($sp) +/* 1A6B00 80278220 15000005 */ bnez $t0, .L80278238 +/* 1A6B04 80278224 24020003 */ addiu $v0, $zero, 3 +/* 1A6B08 80278228 8FA80024 */ lw $t0, 0x24($sp) +/* 1A6B0C 8027822C 15000002 */ bnez $t0, .L80278238 +/* 1A6B10 80278230 24020005 */ addiu $v0, $zero, 5 +/* 1A6B14 80278234 24020002 */ addiu $v0, $zero, 2 +.L80278238: +/* 1A6B18 80278238 AFA20010 */ sw $v0, 0x10($sp) +/* 1A6B1C 8027823C 8E25000C */ lw $a1, 0xc($s1) +/* 1A6B20 80278240 8E260010 */ lw $a2, 0x10($s1) +/* 1A6B24 80278244 8E270014 */ lw $a3, 0x14($s1) +/* 1A6B28 80278248 0C09DC01 */ jal play_hit_sound +/* 1A6B2C 8027824C 0260202D */ daddu $a0, $s3, $zero +/* 1A6B30 80278250 86820180 */ lh $v0, 0x180($s4) +/* 1A6B34 80278254 1C400006 */ bgtz $v0, .L80278270 +/* 1A6B38 80278258 00000000 */ nop +.L8027825C: +/* 1A6B3C 8027825C 16E00004 */ bnez $s7, .L80278270 +/* 1A6B40 80278260 00000000 */ nop +/* 1A6B44 80278264 8FA80028 */ lw $t0, 0x28($sp) +/* 1A6B48 80278268 11000006 */ beqz $t0, .L80278284 +/* 1A6B4C 8027826C 00000000 */ nop +.L80278270: +/* 1A6B50 80278270 8FA80018 */ lw $t0, 0x18($sp) +/* 1A6B54 80278274 8D020000 */ lw $v0, ($t0) +/* 1A6B58 80278278 30422000 */ andi $v0, $v0, 0x2000 +/* 1A6B5C 8027827C 10400008 */ beqz $v0, .L802782A0 +/* 1A6B60 80278280 00000000 */ nop +.L80278284: +/* 1A6B64 80278284 C6200014 */ lwc1 $f0, 0x14($s1) +/* 1A6B68 80278288 2404010C */ addiu $a0, $zero, 0x10c +/* 1A6B6C 8027828C E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A6B70 80278290 8E26000C */ lw $a2, 0xc($s1) +/* 1A6B74 80278294 8E270010 */ lw $a3, 0x10($s1) +/* 1A6B78 80278298 0C052757 */ jal play_sound_at_position +/* 1A6B7C 8027829C 0000282D */ daddu $a1, $zero, $zero +.L802782A0: +/* 1A6B80 802782A0 8E820190 */ lw $v0, 0x190($s4) +/* 1A6B84 802782A4 30421000 */ andi $v0, $v0, 0x1000 +/* 1A6B88 802782A8 10400018 */ beqz $v0, .L8027830C +/* 1A6B8C 802782AC 00000000 */ nop +/* 1A6B90 802782B0 12A00016 */ beqz $s5, .L8027830C +/* 1A6B94 802782B4 00000000 */ nop +/* 1A6B98 802782B8 3C048029 */ lui $a0, 0x8029 +/* 1A6B9C 802782BC 248445E0 */ addiu $a0, $a0, 0x45e0 +/* 1A6BA0 802782C0 2405000A */ addiu $a1, $zero, 0xa +/* 1A6BA4 802782C4 0C0B0CF8 */ jal start_script +/* 1A6BA8 802782C8 0000302D */ daddu $a2, $zero, $zero +/* 1A6BAC 802782CC C620000C */ lwc1 $f0, 0xc($s1) +/* 1A6BB0 802782D0 4600018D */ trunc.w.s $f6, $f0 +/* 1A6BB4 802782D4 E4460084 */ swc1 $f6, 0x84($v0) +/* 1A6BB8 802782D8 C6200010 */ lwc1 $f0, 0x10($s1) +/* 1A6BBC 802782DC 4600018D */ trunc.w.s $f6, $f0 +/* 1A6BC0 802782E0 E4460088 */ swc1 $f6, 0x88($v0) +/* 1A6BC4 802782E4 C6200014 */ lwc1 $f0, 0x14($s1) +/* 1A6BC8 802782E8 4600018D */ trunc.w.s $f6, $f0 +/* 1A6BCC 802782EC E446008C */ swc1 $f6, 0x8c($v0) +/* 1A6BD0 802782F0 C6200014 */ lwc1 $f0, 0x14($s1) +/* 1A6BD4 802782F4 24042031 */ addiu $a0, $zero, 0x2031 +/* 1A6BD8 802782F8 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A6BDC 802782FC 8E26000C */ lw $a2, 0xc($s1) +/* 1A6BE0 80278300 8E270010 */ lw $a3, 0x10($s1) +/* 1A6BE4 80278304 0C052757 */ jal play_sound_at_position +/* 1A6BE8 80278308 0000282D */ daddu $a1, $zero, $zero +.L8027830C: +/* 1A6BEC 8027830C 8E820190 */ lw $v0, 0x190($s4) +/* 1A6BF0 80278310 3C030004 */ lui $v1, 4 +/* 1A6BF4 80278314 00431024 */ and $v0, $v0, $v1 +/* 1A6BF8 80278318 10400018 */ beqz $v0, .L8027837C +/* 1A6BFC 8027831C 00000000 */ nop +/* 1A6C00 80278320 12A00016 */ beqz $s5, .L8027837C +/* 1A6C04 80278324 00000000 */ nop +/* 1A6C08 80278328 3C048029 */ lui $a0, 0x8029 +/* 1A6C0C 8027832C 248445FC */ addiu $a0, $a0, 0x45fc +/* 1A6C10 80278330 2405000A */ addiu $a1, $zero, 0xa +/* 1A6C14 80278334 0C0B0CF8 */ jal start_script +/* 1A6C18 80278338 0000302D */ daddu $a2, $zero, $zero +/* 1A6C1C 8027833C C620000C */ lwc1 $f0, 0xc($s1) +/* 1A6C20 80278340 4600018D */ trunc.w.s $f6, $f0 +/* 1A6C24 80278344 E4460084 */ swc1 $f6, 0x84($v0) +/* 1A6C28 80278348 C6200010 */ lwc1 $f0, 0x10($s1) +/* 1A6C2C 8027834C 4600018D */ trunc.w.s $f6, $f0 +/* 1A6C30 80278350 E4460088 */ swc1 $f6, 0x88($v0) +/* 1A6C34 80278354 C6200014 */ lwc1 $f0, 0x14($s1) +/* 1A6C38 80278358 4600018D */ trunc.w.s $f6, $f0 +/* 1A6C3C 8027835C E446008C */ swc1 $f6, 0x8c($v0) +/* 1A6C40 80278360 C6200014 */ lwc1 $f0, 0x14($s1) +/* 1A6C44 80278364 24042032 */ addiu $a0, $zero, 0x2032 +/* 1A6C48 80278368 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A6C4C 8027836C 8E26000C */ lw $a2, 0xc($s1) +/* 1A6C50 80278370 8E270010 */ lw $a3, 0x10($s1) +/* 1A6C54 80278374 0C052757 */ jal play_sound_at_position +/* 1A6C58 80278378 0000282D */ daddu $a1, $zero, $zero +.L8027837C: +/* 1A6C5C 8027837C 8E820190 */ lw $v0, 0x190($s4) +/* 1A6C60 80278380 3C030001 */ lui $v1, 1 +/* 1A6C64 80278384 00431024 */ and $v0, $v0, $v1 +/* 1A6C68 80278388 10400018 */ beqz $v0, .L802783EC +/* 1A6C6C 8027838C 00000000 */ nop +/* 1A6C70 80278390 12A00016 */ beqz $s5, .L802783EC +/* 1A6C74 80278394 00000000 */ nop +/* 1A6C78 80278398 3C048029 */ lui $a0, 0x8029 +/* 1A6C7C 8027839C 24844618 */ addiu $a0, $a0, 0x4618 +/* 1A6C80 802783A0 2405000A */ addiu $a1, $zero, 0xa +/* 1A6C84 802783A4 0C0B0CF8 */ jal start_script +/* 1A6C88 802783A8 0000302D */ daddu $a2, $zero, $zero +/* 1A6C8C 802783AC C620000C */ lwc1 $f0, 0xc($s1) +/* 1A6C90 802783B0 4600018D */ trunc.w.s $f6, $f0 +/* 1A6C94 802783B4 E4460084 */ swc1 $f6, 0x84($v0) +/* 1A6C98 802783B8 C6200010 */ lwc1 $f0, 0x10($s1) +/* 1A6C9C 802783BC 4600018D */ trunc.w.s $f6, $f0 +/* 1A6CA0 802783C0 E4460088 */ swc1 $f6, 0x88($v0) +/* 1A6CA4 802783C4 C6200014 */ lwc1 $f0, 0x14($s1) +/* 1A6CA8 802783C8 4600018D */ trunc.w.s $f6, $f0 +/* 1A6CAC 802783CC E446008C */ swc1 $f6, 0x8c($v0) +/* 1A6CB0 802783D0 C6200014 */ lwc1 $f0, 0x14($s1) +/* 1A6CB4 802783D4 24042032 */ addiu $a0, $zero, 0x2032 +/* 1A6CB8 802783D8 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A6CBC 802783DC 8E26000C */ lw $a2, 0xc($s1) +/* 1A6CC0 802783E0 8E270010 */ lw $a3, 0x10($s1) +/* 1A6CC4 802783E4 0C052757 */ jal play_sound_at_position +/* 1A6CC8 802783E8 0000282D */ daddu $a1, $zero, $zero +.L802783EC: +/* 1A6CCC 802783EC 8E820190 */ lw $v0, 0x190($s4) +/* 1A6CD0 802783F0 3C030002 */ lui $v1, 2 +/* 1A6CD4 802783F4 00431024 */ and $v0, $v0, $v1 +/* 1A6CD8 802783F8 10400018 */ beqz $v0, .L8027845C +/* 1A6CDC 802783FC 00000000 */ nop +/* 1A6CE0 80278400 12A00016 */ beqz $s5, .L8027845C +/* 1A6CE4 80278404 00000000 */ nop +/* 1A6CE8 80278408 3C048029 */ lui $a0, 0x8029 +/* 1A6CEC 8027840C 24844634 */ addiu $a0, $a0, 0x4634 +/* 1A6CF0 80278410 2405000A */ addiu $a1, $zero, 0xa +/* 1A6CF4 80278414 0C0B0CF8 */ jal start_script +/* 1A6CF8 80278418 0000302D */ daddu $a2, $zero, $zero +/* 1A6CFC 8027841C C620000C */ lwc1 $f0, 0xc($s1) +/* 1A6D00 80278420 4600018D */ trunc.w.s $f6, $f0 +/* 1A6D04 80278424 E4460084 */ swc1 $f6, 0x84($v0) +/* 1A6D08 80278428 C6200010 */ lwc1 $f0, 0x10($s1) +/* 1A6D0C 8027842C 4600018D */ trunc.w.s $f6, $f0 +/* 1A6D10 80278430 E4460088 */ swc1 $f6, 0x88($v0) +/* 1A6D14 80278434 C6200014 */ lwc1 $f0, 0x14($s1) +/* 1A6D18 80278438 4600018D */ trunc.w.s $f6, $f0 +/* 1A6D1C 8027843C E446008C */ swc1 $f6, 0x8c($v0) +/* 1A6D20 80278440 C6200014 */ lwc1 $f0, 0x14($s1) +/* 1A6D24 80278444 24042032 */ addiu $a0, $zero, 0x2032 +/* 1A6D28 80278448 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A6D2C 8027844C 8E26000C */ lw $a2, 0xc($s1) +/* 1A6D30 80278450 8E270010 */ lw $a3, 0x10($s1) +/* 1A6D34 80278454 0C052757 */ jal play_sound_at_position +/* 1A6D38 80278458 0000282D */ daddu $a1, $zero, $zero +.L8027845C: +/* 1A6D3C 8027845C 8E820190 */ lw $v0, 0x190($s4) +/* 1A6D40 80278460 3C030020 */ lui $v1, 0x20 +/* 1A6D44 80278464 00431024 */ and $v0, $v0, $v1 +/* 1A6D48 80278468 10400018 */ beqz $v0, .L802784CC +/* 1A6D4C 8027846C 00000000 */ nop +/* 1A6D50 80278470 12A00016 */ beqz $s5, .L802784CC +/* 1A6D54 80278474 00000000 */ nop +/* 1A6D58 80278478 3C048029 */ lui $a0, 0x8029 +/* 1A6D5C 8027847C 24844650 */ addiu $a0, $a0, 0x4650 +/* 1A6D60 80278480 2405000A */ addiu $a1, $zero, 0xa +/* 1A6D64 80278484 0C0B0CF8 */ jal start_script +/* 1A6D68 80278488 0000302D */ daddu $a2, $zero, $zero +/* 1A6D6C 8027848C C620000C */ lwc1 $f0, 0xc($s1) +/* 1A6D70 80278490 4600018D */ trunc.w.s $f6, $f0 +/* 1A6D74 80278494 E4460084 */ swc1 $f6, 0x84($v0) +/* 1A6D78 80278498 C6200010 */ lwc1 $f0, 0x10($s1) +/* 1A6D7C 8027849C 4600018D */ trunc.w.s $f6, $f0 +/* 1A6D80 802784A0 E4460088 */ swc1 $f6, 0x88($v0) +/* 1A6D84 802784A4 C6200014 */ lwc1 $f0, 0x14($s1) +/* 1A6D88 802784A8 4600018D */ trunc.w.s $f6, $f0 +/* 1A6D8C 802784AC E446008C */ swc1 $f6, 0x8c($v0) +/* 1A6D90 802784B0 C6200014 */ lwc1 $f0, 0x14($s1) +/* 1A6D94 802784B4 24042032 */ addiu $a0, $zero, 0x2032 +/* 1A6D98 802784B8 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A6D9C 802784BC 8E26000C */ lw $a2, 0xc($s1) +/* 1A6DA0 802784C0 8E270010 */ lw $a3, 0x10($s1) +/* 1A6DA4 802784C4 0C052757 */ jal play_sound_at_position +/* 1A6DA8 802784C8 0000282D */ daddu $a1, $zero, $zero +.L802784CC: +/* 1A6DAC 802784CC 8E820190 */ lw $v0, 0x190($s4) +/* 1A6DB0 802784D0 30424000 */ andi $v0, $v0, 0x4000 +/* 1A6DB4 802784D4 10400019 */ beqz $v0, .L8027853C +/* 1A6DB8 802784D8 00000000 */ nop +/* 1A6DBC 802784DC 12A00017 */ beqz $s5, .L8027853C +/* 1A6DC0 802784E0 00000000 */ nop +/* 1A6DC4 802784E4 3C048029 */ lui $a0, 0x8029 +/* 1A6DC8 802784E8 2484466C */ addiu $a0, $a0, 0x466c +/* 1A6DCC 802784EC 2405000A */ addiu $a1, $zero, 0xa +/* 1A6DD0 802784F0 0C0B0CF8 */ jal start_script +/* 1A6DD4 802784F4 0000302D */ daddu $a2, $zero, $zero +/* 1A6DD8 802784F8 C620000C */ lwc1 $f0, 0xc($s1) +/* 1A6DDC 802784FC 4600018D */ trunc.w.s $f6, $f0 +/* 1A6DE0 80278500 E4460084 */ swc1 $f6, 0x84($v0) +/* 1A6DE4 80278504 C6200010 */ lwc1 $f0, 0x10($s1) +/* 1A6DE8 80278508 4600018D */ trunc.w.s $f6, $f0 +/* 1A6DEC 8027850C E4460088 */ swc1 $f6, 0x88($v0) +/* 1A6DF0 80278510 C6200014 */ lwc1 $f0, 0x14($s1) +/* 1A6DF4 80278514 AC530090 */ sw $s3, 0x90($v0) +/* 1A6DF8 80278518 4600018D */ trunc.w.s $f6, $f0 +/* 1A6DFC 8027851C E446008C */ swc1 $f6, 0x8c($v0) +/* 1A6E00 80278520 C6200014 */ lwc1 $f0, 0x14($s1) +/* 1A6E04 80278524 240400EB */ addiu $a0, $zero, 0xeb +/* 1A6E08 80278528 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A6E0C 8027852C 8E26000C */ lw $a2, 0xc($s1) +/* 1A6E10 80278530 8E270010 */ lw $a3, 0x10($s1) +/* 1A6E14 80278534 0C052757 */ jal play_sound_at_position +/* 1A6E18 80278538 0000282D */ daddu $a1, $zero, $zero +.L8027853C: +/* 1A6E1C 8027853C 8E820190 */ lw $v0, 0x190($s4) +/* 1A6E20 80278540 3C030008 */ lui $v1, 8 +/* 1A6E24 80278544 00431024 */ and $v0, $v0, $v1 +/* 1A6E28 80278548 10400019 */ beqz $v0, .L802785B0 +/* 1A6E2C 8027854C 00000000 */ nop +/* 1A6E30 80278550 12A00017 */ beqz $s5, .L802785B0 +/* 1A6E34 80278554 00000000 */ nop +/* 1A6E38 80278558 3C048029 */ lui $a0, 0x8029 +/* 1A6E3C 8027855C 248446B8 */ addiu $a0, $a0, 0x46b8 +/* 1A6E40 80278560 2405000A */ addiu $a1, $zero, 0xa +/* 1A6E44 80278564 0C0B0CF8 */ jal start_script +/* 1A6E48 80278568 0000302D */ daddu $a2, $zero, $zero +/* 1A6E4C 8027856C C620000C */ lwc1 $f0, 0xc($s1) +/* 1A6E50 80278570 4600018D */ trunc.w.s $f6, $f0 +/* 1A6E54 80278574 E4460084 */ swc1 $f6, 0x84($v0) +/* 1A6E58 80278578 C6200010 */ lwc1 $f0, 0x10($s1) +/* 1A6E5C 8027857C 4600018D */ trunc.w.s $f6, $f0 +/* 1A6E60 80278580 E4460088 */ swc1 $f6, 0x88($v0) +/* 1A6E64 80278584 C6200014 */ lwc1 $f0, 0x14($s1) +/* 1A6E68 80278588 AC530090 */ sw $s3, 0x90($v0) +/* 1A6E6C 8027858C 4600018D */ trunc.w.s $f6, $f0 +/* 1A6E70 80278590 E446008C */ swc1 $f6, 0x8c($v0) +/* 1A6E74 80278594 C6200014 */ lwc1 $f0, 0x14($s1) +/* 1A6E78 80278598 24042032 */ addiu $a0, $zero, 0x2032 +/* 1A6E7C 8027859C E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A6E80 802785A0 8E26000C */ lw $a2, 0xc($s1) +/* 1A6E84 802785A4 8E270010 */ lw $a3, 0x10($s1) +/* 1A6E88 802785A8 0C052757 */ jal play_sound_at_position +/* 1A6E8C 802785AC 0000282D */ daddu $a1, $zero, $zero +.L802785B0: +/* 1A6E90 802785B0 8E820188 */ lw $v0, 0x188($s4) +/* 1A6E94 802785B4 30420040 */ andi $v0, $v0, 0x40 +/* 1A6E98 802785B8 1040000A */ beqz $v0, .L802785E4 +/* 1A6E9C 802785BC 24020093 */ addiu $v0, $zero, 0x93 +/* 1A6EA0 802785C0 92630136 */ lbu $v1, 0x136($s3) +/* 1A6EA4 802785C4 14620007 */ bne $v1, $v0, .L802785E4 +/* 1A6EA8 802785C8 24040165 */ addiu $a0, $zero, 0x165 +/* 1A6EAC 802785CC C6200014 */ lwc1 $f0, 0x14($s1) +/* 1A6EB0 802785D0 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A6EB4 802785D4 8E26000C */ lw $a2, 0xc($s1) +/* 1A6EB8 802785D8 8E270010 */ lw $a3, 0x10($s1) +/* 1A6EBC 802785DC 0C052757 */ jal play_sound_at_position +/* 1A6EC0 802785E0 0000282D */ daddu $a1, $zero, $zero +.L802785E4: +/* 1A6EC4 802785E4 0C099AB7 */ jal func_80266ADC +/* 1A6EC8 802785E8 0260202D */ daddu $a0, $s3, $zero +/* 1A6ECC 802785EC 8FA80058 */ lw $t0, 0x58($sp) +/* 1A6ED0 802785F0 81020212 */ lb $v0, 0x212($t0) +/* 1A6ED4 802785F4 2403000B */ addiu $v1, $zero, 0xb +/* 1A6ED8 802785F8 10430029 */ beq $v0, $v1, .L802786A0 +/* 1A6EDC 802785FC 00000000 */ nop +/* 1A6EE0 80278600 82620212 */ lb $v0, 0x212($s3) +/* 1A6EE4 80278604 10430006 */ beq $v0, $v1, .L80278620 +/* 1A6EE8 80278608 00000000 */ nop +/* 1A6EEC 8027860C 8FA80018 */ lw $t0, 0x18($sp) +/* 1A6EF0 80278610 8D02007C */ lw $v0, 0x7c($t0) +/* 1A6EF4 80278614 30420080 */ andi $v0, $v0, 0x80 +/* 1A6EF8 80278618 10400021 */ beqz $v0, .L802786A0 +/* 1A6EFC 8027861C 00000000 */ nop +.L80278620: +/* 1A6F00 80278620 8E820188 */ lw $v0, 0x188($s4) +/* 1A6F04 80278624 3C031000 */ lui $v1, 0x1000 +/* 1A6F08 80278628 00431024 */ and $v0, $v0, $v1 +/* 1A6F0C 8027862C 1440001C */ bnez $v0, .L802786A0 +/* 1A6F10 80278630 00000000 */ nop +/* 1A6F14 80278634 8E82018C */ lw $v0, 0x18c($s4) +/* 1A6F18 80278638 30420008 */ andi $v0, $v0, 8 +/* 1A6F1C 8027863C 14400018 */ bnez $v0, .L802786A0 +/* 1A6F20 80278640 2402000E */ addiu $v0, $zero, 0xe +/* 1A6F24 80278644 8FA80058 */ lw $t0, 0x58($sp) +/* 1A6F28 80278648 81030218 */ lb $v1, 0x218($t0) +/* 1A6F2C 8027864C 10620014 */ beq $v1, $v0, .L802786A0 +/* 1A6F30 80278650 00000000 */ nop +/* 1A6F34 80278654 0C09DBD4 */ jal func_80276F50 +/* 1A6F38 80278658 0100202D */ daddu $a0, $t0, $zero +/* 1A6F3C 8027865C 14400010 */ bnez $v0, .L802786A0 +/* 1A6F40 80278660 2404037B */ addiu $a0, $zero, 0x37b +/* 1A6F44 80278664 C6200014 */ lwc1 $f0, 0x14($s1) +/* 1A6F48 80278668 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A6F4C 8027866C 8E26000C */ lw $a2, 0xc($s1) +/* 1A6F50 80278670 8E270010 */ lw $a3, 0x10($s1) +/* 1A6F54 80278674 0C052757 */ jal play_sound_at_position +/* 1A6F58 80278678 0000282D */ daddu $a1, $zero, $zero +/* 1A6F5C 8027867C 8FA40058 */ lw $a0, 0x58($sp) +/* 1A6F60 80278680 0C09451D */ jal func_80251474 +/* 1A6F64 80278684 00000000 */ nop +/* 1A6F68 80278688 24050001 */ addiu $a1, $zero, 1 +/* 1A6F6C 8027868C 8FA40058 */ lw $a0, 0x58($sp) +/* 1A6F70 80278690 0C09E245 */ jal dispatch_damage_event_actor_1 +/* 1A6F74 80278694 2406002F */ addiu $a2, $zero, 0x2f +/* 1A6F78 80278698 0809E1A9 */ j func_802786A4 +/* 1A6F7C 8027869C 2402FFFF */ addiu $v0, $zero, -1 + +.L802786A0: +/* 1A6F80 802786A0 8FA2001C */ lw $v0, 0x1c($sp) +func_802786A4: +.L802786A4: +/* 1A6F84 802786A4 8FBF0054 */ lw $ra, 0x54($sp) +/* 1A6F88 802786A8 8FBE0050 */ lw $fp, 0x50($sp) +/* 1A6F8C 802786AC 8FB7004C */ lw $s7, 0x4c($sp) +/* 1A6F90 802786B0 8FB60048 */ lw $s6, 0x48($sp) +/* 1A6F94 802786B4 8FB50044 */ lw $s5, 0x44($sp) +/* 1A6F98 802786B8 8FB40040 */ lw $s4, 0x40($sp) +/* 1A6F9C 802786BC 8FB3003C */ lw $s3, 0x3c($sp) +/* 1A6FA0 802786C0 8FB20038 */ lw $s2, 0x38($sp) +/* 1A6FA4 802786C4 8FB10034 */ lw $s1, 0x34($sp) +/* 1A6FA8 802786C8 8FB00030 */ lw $s0, 0x30($sp) +/* 1A6FAC 802786CC 03E00008 */ jr $ra +/* 1A6FB0 802786D0 27BD0058 */ addiu $sp, $sp, 0x58 + +dispatch_damage_event_actor: +/* 1A6FB4 802786D4 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* 1A6FB8 802786D8 AFB00018 */ sw $s0, 0x18($sp) +/* 1A6FBC 802786DC 0080802D */ daddu $s0, $a0, $zero +/* 1A6FC0 802786E0 AFB20020 */ sw $s2, 0x20($sp) +/* 1A6FC4 802786E4 00C0902D */ daddu $s2, $a2, $zero +/* 1A6FC8 802786E8 AFB30024 */ sw $s3, 0x24($sp) +/* 1A6FCC 802786EC 3C13800E */ lui $s3, 0x800e +/* 1A6FD0 802786F0 2673C070 */ addiu $s3, $s3, -0x3f90 +/* 1A6FD4 802786F4 AFBF0028 */ sw $ra, 0x28($sp) +/* 1A6FD8 802786F8 AFB1001C */ sw $s1, 0x1c($sp) +/* 1A6FDC 802786FC A665017E */ sh $a1, 0x17e($s3) +/* 1A6FE0 80278700 00052C00 */ sll $a1, $a1, 0x10 +/* 1A6FE4 80278704 00052C03 */ sra $a1, $a1, 0x10 +/* 1A6FE8 80278708 960301FA */ lhu $v1, 0x1fa($s0) +/* 1A6FEC 8027870C 960201FC */ lhu $v0, 0x1fc($s0) +/* 1A6FF0 80278710 00651821 */ addu $v1, $v1, $a1 +/* 1A6FF4 80278714 A60301FA */ sh $v1, 0x1fa($s0) +/* 1A6FF8 80278718 00031C00 */ sll $v1, $v1, 0x10 +/* 1A6FFC 8027871C 00031C03 */ sra $v1, $v1, 0x10 +/* 1A7000 80278720 960401FA */ lhu $a0, 0x1fa($s0) +/* 1A7004 80278724 00431021 */ addu $v0, $v0, $v1 +/* 1A7008 80278728 A60201FC */ sh $v0, 0x1fc($s0) +/* 1A700C 8027872C 00832023 */ subu $a0, $a0, $v1 +/* 1A7010 80278730 A60401FA */ sh $a0, 0x1fa($s0) +/* 1A7014 80278734 A6600180 */ sh $zero, 0x180($s3) +/* 1A7018 80278738 920201B8 */ lbu $v0, 0x1b8($s0) +/* 1A701C 8027873C 0060282D */ daddu $a1, $v1, $zero +/* 1A7020 80278740 00451023 */ subu $v0, $v0, $a1 +/* 1A7024 80278744 A20201B8 */ sb $v0, 0x1b8($s0) +/* 1A7028 80278748 00021600 */ sll $v0, $v0, 0x18 +/* 1A702C 8027874C 00021E03 */ sra $v1, $v0, 0x18 +/* 1A7030 80278750 1C600006 */ bgtz $v1, .L8027876C +/* 1A7034 80278754 2611000C */ addiu $s1, $s0, 0xc +/* 1A7038 80278758 96620180 */ lhu $v0, 0x180($s3) +/* 1A703C 8027875C 24120020 */ addiu $s2, $zero, 0x20 +/* 1A7040 80278760 00431021 */ addu $v0, $v0, $v1 +/* 1A7044 80278764 A6620180 */ sh $v0, 0x180($s3) +/* 1A7048 80278768 A20001B8 */ sb $zero, 0x1b8($s0) +.L8027876C: +/* 1A704C 8027876C 96620180 */ lhu $v0, 0x180($s3) +/* 1A7050 80278770 00451021 */ addu $v0, $v0, $a1 +/* 1A7054 80278774 A6620180 */ sh $v0, 0x180($s3) +/* 1A7058 80278778 A60201F8 */ sh $v0, 0x1f8($s0) +/* 1A705C 8027877C 8E620000 */ lw $v0, ($s3) +/* 1A7060 80278780 30420020 */ andi $v0, $v0, 0x20 +/* 1A7064 80278784 10400007 */ beqz $v0, .L802787A4 +/* 1A7068 80278788 A260019A */ sb $zero, 0x19a($s3) +/* 1A706C 8027878C 24020009 */ addiu $v0, $zero, 9 +/* 1A7070 80278790 52420001 */ beql $s2, $v0, .L80278798 +/* 1A7074 80278794 2412000A */ addiu $s2, $zero, 0xa +.L80278798: +/* 1A7078 80278798 24020017 */ addiu $v0, $zero, 0x17 +/* 1A707C 8027879C 52420001 */ beql $s2, $v0, .L802787A4 +/* 1A7080 802787A0 24120019 */ addiu $s2, $zero, 0x19 +.L802787A4: +/* 1A7084 802787A4 24020020 */ addiu $v0, $zero, 0x20 +/* 1A7088 802787A8 16420006 */ bne $s2, $v0, .L802787C4 +/* 1A708C 802787AC 24020011 */ addiu $v0, $zero, 0x11 +/* 1A7090 802787B0 50C20001 */ beql $a2, $v0, .L802787B8 +/* 1A7094 802787B4 24120025 */ addiu $s2, $zero, 0x25 +.L802787B8: +/* 1A7098 802787B8 2402002F */ addiu $v0, $zero, 0x2f +/* 1A709C 802787BC 50C20001 */ beql $a2, $v0, .L802787C4 +/* 1A70A0 802787C0 24120026 */ addiu $s2, $zero, 0x26 +.L802787C4: +/* 1A70A4 802787C4 54E0002C */ bnezl $a3, .L80278878 +/* 1A70A8 802787C8 AFA00010 */ sw $zero, 0x10($sp) +/* 1A70AC 802787CC 0200202D */ daddu $a0, $s0, $zero +/* 1A70B0 802787D0 86110428 */ lh $s1, 0x428($s0) +/* 1A70B4 802787D4 0C098C8C */ jal func_80263230 +/* 1A70B8 802787D8 0200282D */ daddu $a1, $s0, $zero +/* 1A70BC 802787DC 50400032 */ beql $v0, $zero, .L802788A8 +/* 1A70C0 802787E0 A6110428 */ sh $s1, 0x428($s0) +/* 1A70C4 802787E4 86020230 */ lh $v0, 0x230($s0) +/* 1A70C8 802787E8 86030232 */ lh $v1, 0x232($s0) +/* 1A70CC 802787EC 86040234 */ lh $a0, 0x234($s0) +/* 1A70D0 802787F0 AFA00010 */ sw $zero, 0x10($sp) +/* 1A70D4 802787F4 86670180 */ lh $a3, 0x180($s3) +/* 1A70D8 802787F8 44826000 */ mtc1 $v0, $f12 +/* 1A70DC 802787FC 00000000 */ nop +/* 1A70E0 80278800 46806320 */ cvt.s.w $f12, $f12 +/* 1A70E4 80278804 44840000 */ mtc1 $a0, $f0 +/* 1A70E8 80278808 00000000 */ nop +/* 1A70EC 8027880C 46800020 */ cvt.s.w $f0, $f0 +/* 1A70F0 80278810 44060000 */ mfc1 $a2, $f0 +/* 1A70F4 80278814 44837000 */ mtc1 $v1, $f14 +/* 1A70F8 80278818 00000000 */ nop +/* 1A70FC 8027881C 0C09996B */ jal show_damage_popup +/* 1A7100 80278820 468073A0 */ cvt.s.w $f14, $f14 +/* 1A7104 80278824 86020230 */ lh $v0, 0x230($s0) +/* 1A7108 80278828 86030232 */ lh $v1, 0x232($s0) +/* 1A710C 8027882C 44820000 */ mtc1 $v0, $f0 +/* 1A7110 80278830 00000000 */ nop +/* 1A7114 80278834 46800020 */ cvt.s.w $f0, $f0 +/* 1A7118 80278838 44050000 */ mfc1 $a1, $f0 +/* 1A711C 8027883C 44830000 */ mtc1 $v1, $f0 +/* 1A7120 80278840 00000000 */ nop +/* 1A7124 80278844 46800020 */ cvt.s.w $f0, $f0 +/* 1A7128 80278848 44060000 */ mfc1 $a2, $f0 +/* 1A712C 8027884C 86020234 */ lh $v0, 0x234($s0) +/* 1A7130 80278850 86630180 */ lh $v1, 0x180($s3) +/* 1A7134 80278854 44820000 */ mtc1 $v0, $f0 +/* 1A7138 80278858 00000000 */ nop +/* 1A713C 8027885C 46800020 */ cvt.s.w $f0, $f0 +/* 1A7140 80278860 44070000 */ mfc1 $a3, $f0 +/* 1A7144 80278864 0200202D */ daddu $a0, $s0, $zero +/* 1A7148 80278868 0C0999B9 */ jal func_802666E4 +/* 1A714C 8027886C AFA30010 */ sw $v1, 0x10($sp) +/* 1A7150 80278870 0809E22A */ j func_802788A8 +/* 1A7154 80278874 A6110428 */ sh $s1, 0x428($s0) + +.L80278878: +/* 1A7158 80278878 C62C000C */ lwc1 $f12, 0xc($s1) +/* 1A715C 8027887C C62E0010 */ lwc1 $f14, 0x10($s1) +/* 1A7160 80278880 86670180 */ lh $a3, 0x180($s3) +/* 1A7164 80278884 0C09996B */ jal show_damage_popup +/* 1A7168 80278888 8E260014 */ lw $a2, 0x14($s1) +/* 1A716C 8027888C 86620180 */ lh $v0, 0x180($s3) +/* 1A7170 80278890 AFA20010 */ sw $v0, 0x10($sp) +/* 1A7174 80278894 8E25000C */ lw $a1, 0xc($s1) +/* 1A7178 80278898 8E260010 */ lw $a2, 0x10($s1) +/* 1A717C 8027889C 8E270014 */ lw $a3, 0x14($s1) +/* 1A7180 802788A0 0C0999B9 */ jal func_802666E4 +/* 1A7184 802788A4 0200202D */ daddu $a0, $s0, $zero +func_802788A8: +.L802788A8: +/* 1A7188 802788A8 86620180 */ lh $v0, 0x180($s3) +/* 1A718C 802788AC 18400003 */ blez $v0, .L802788BC +/* 1A7190 802788B0 0200202D */ daddu $a0, $s0, $zero +/* 1A7194 802788B4 0C099C06 */ jal func_80267018 +/* 1A7198 802788B8 24050001 */ addiu $a1, $zero, 1 +.L802788BC: +/* 1A719C 802788BC 0200202D */ daddu $a0, $s0, $zero +/* 1A71A0 802788C0 0240282D */ daddu $a1, $s2, $zero +/* 1A71A4 802788C4 8C820000 */ lw $v0, ($a0) +/* 1A71A8 802788C8 3C030008 */ lui $v1, 8 +/* 1A71AC 802788CC 00431025 */ or $v0, $v0, $v1 +/* 1A71B0 802788D0 0C09DC58 */ jal dispatch_event_actor +/* 1A71B4 802788D4 AC820000 */ sw $v0, ($a0) +/* 1A71B8 802788D8 8FBF0028 */ lw $ra, 0x28($sp) +/* 1A71BC 802788DC 8FB30024 */ lw $s3, 0x24($sp) +/* 1A71C0 802788E0 8FB20020 */ lw $s2, 0x20($sp) +/* 1A71C4 802788E4 8FB1001C */ lw $s1, 0x1c($sp) +/* 1A71C8 802788E8 8FB00018 */ lw $s0, 0x18($sp) +/* 1A71CC 802788EC 0000102D */ daddu $v0, $zero, $zero +/* 1A71D0 802788F0 03E00008 */ jr $ra +/* 1A71D4 802788F4 27BD0030 */ addiu $sp, $sp, 0x30 + +dispatch_damage_event_actor_0: +/* 1A71D8 802788F8 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 1A71DC 802788FC AFBF0010 */ sw $ra, 0x10($sp) +/* 1A71E0 80278900 0C09E1B5 */ jal dispatch_damage_event_actor +/* 1A71E4 80278904 0000382D */ daddu $a3, $zero, $zero +/* 1A71E8 80278908 8FBF0010 */ lw $ra, 0x10($sp) +/* 1A71EC 8027890C 03E00008 */ jr $ra +/* 1A71F0 80278910 27BD0018 */ addiu $sp, $sp, 0x18 + +dispatch_damage_event_actor_1: +/* 1A71F4 80278914 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 1A71F8 80278918 AFBF0010 */ sw $ra, 0x10($sp) +/* 1A71FC 8027891C 0C09E1B5 */ jal dispatch_damage_event_actor +/* 1A7200 80278920 24070001 */ addiu $a3, $zero, 1 +/* 1A7204 80278924 8FBF0010 */ lw $ra, 0x10($sp) +/* 1A7208 80278928 03E00008 */ jr $ra +/* 1A720C 8027892C 27BD0018 */ addiu $sp, $sp, 0x18 + +BindTakeTurn: +/* 1A7210 80278930 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 1A7214 80278934 AFB20018 */ sw $s2, 0x18($sp) +/* 1A7218 80278938 0080902D */ daddu $s2, $a0, $zero +/* 1A721C 8027893C AFBF001C */ sw $ra, 0x1c($sp) +/* 1A7220 80278940 AFB10014 */ sw $s1, 0x14($sp) +/* 1A7224 80278944 AFB00010 */ sw $s0, 0x10($sp) +/* 1A7228 80278948 8E51000C */ lw $s1, 0xc($s2) +/* 1A722C 8027894C 8E250000 */ lw $a1, ($s1) +/* 1A7230 80278950 0C0B1EAF */ jal get_variable +/* 1A7234 80278954 26310004 */ addiu $s1, $s1, 4 +/* 1A7238 80278958 0040802D */ daddu $s0, $v0, $zero +/* 1A723C 8027895C 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1A7240 80278960 16020002 */ bne $s0, $v0, .L8027896C +/* 1A7244 80278964 00000000 */ nop +/* 1A7248 80278968 8E500148 */ lw $s0, 0x148($s2) +.L8027896C: +/* 1A724C 8027896C 8E250000 */ lw $a1, ($s1) +/* 1A7250 80278970 0C0B1EAF */ jal get_variable +/* 1A7254 80278974 0240202D */ daddu $a0, $s2, $zero +/* 1A7258 80278978 0200202D */ daddu $a0, $s0, $zero +/* 1A725C 8027897C 0C09A75B */ jal get_actor +/* 1A7260 80278980 0040802D */ daddu $s0, $v0, $zero +/* 1A7264 80278984 AC5001C4 */ sw $s0, 0x1c4($v0) +/* 1A7268 80278988 8FBF001C */ lw $ra, 0x1c($sp) +/* 1A726C 8027898C 8FB20018 */ lw $s2, 0x18($sp) +/* 1A7270 80278990 8FB10014 */ lw $s1, 0x14($sp) +/* 1A7274 80278994 8FB00010 */ lw $s0, 0x10($sp) +/* 1A7278 80278998 24020002 */ addiu $v0, $zero, 2 +/* 1A727C 8027899C 03E00008 */ jr $ra +/* 1A7280 802789A0 27BD0020 */ addiu $sp, $sp, 0x20 + +PauseTakeTurn: +/* 1A7284 802789A4 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 1A7288 802789A8 AFB20018 */ sw $s2, 0x18($sp) +/* 1A728C 802789AC 0080902D */ daddu $s2, $a0, $zero +/* 1A7290 802789B0 AFBF001C */ sw $ra, 0x1c($sp) +/* 1A7294 802789B4 AFB10014 */ sw $s1, 0x14($sp) +/* 1A7298 802789B8 AFB00010 */ sw $s0, 0x10($sp) +/* 1A729C 802789BC 8E51000C */ lw $s1, 0xc($s2) +/* 1A72A0 802789C0 8E250000 */ lw $a1, ($s1) +/* 1A72A4 802789C4 0C0B1EAF */ jal get_variable +/* 1A72A8 802789C8 26310004 */ addiu $s1, $s1, 4 +/* 1A72AC 802789CC 0040802D */ daddu $s0, $v0, $zero +/* 1A72B0 802789D0 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1A72B4 802789D4 16020002 */ bne $s0, $v0, .L802789E0 +/* 1A72B8 802789D8 00000000 */ nop +/* 1A72BC 802789DC 8E500148 */ lw $s0, 0x148($s2) +.L802789E0: +/* 1A72C0 802789E0 8E250000 */ lw $a1, ($s1) +/* 1A72C4 802789E4 0C0B1EAF */ jal get_variable +/* 1A72C8 802789E8 0240202D */ daddu $a0, $s2, $zero +/* 1A72CC 802789EC 0C09A75B */ jal get_actor +/* 1A72D0 802789F0 0200202D */ daddu $a0, $s0, $zero +/* 1A72D4 802789F4 8C4401E4 */ lw $a0, 0x1e4($v0) +/* 1A72D8 802789F8 0C0B1108 */ jal suspend_all_script +/* 1A72DC 802789FC 00000000 */ nop +/* 1A72E0 80278A00 8FBF001C */ lw $ra, 0x1c($sp) +/* 1A72E4 80278A04 8FB20018 */ lw $s2, 0x18($sp) +/* 1A72E8 80278A08 8FB10014 */ lw $s1, 0x14($sp) +/* 1A72EC 80278A0C 8FB00010 */ lw $s0, 0x10($sp) +/* 1A72F0 80278A10 24020002 */ addiu $v0, $zero, 2 +/* 1A72F4 80278A14 03E00008 */ jr $ra +/* 1A72F8 80278A18 27BD0020 */ addiu $sp, $sp, 0x20 + +ResumeTakeTurn: +/* 1A72FC 80278A1C 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 1A7300 80278A20 AFB20018 */ sw $s2, 0x18($sp) +/* 1A7304 80278A24 0080902D */ daddu $s2, $a0, $zero +/* 1A7308 80278A28 AFBF001C */ sw $ra, 0x1c($sp) +/* 1A730C 80278A2C AFB10014 */ sw $s1, 0x14($sp) +/* 1A7310 80278A30 AFB00010 */ sw $s0, 0x10($sp) +/* 1A7314 80278A34 8E51000C */ lw $s1, 0xc($s2) +/* 1A7318 80278A38 8E250000 */ lw $a1, ($s1) +/* 1A731C 80278A3C 0C0B1EAF */ jal get_variable +/* 1A7320 80278A40 26310004 */ addiu $s1, $s1, 4 +/* 1A7324 80278A44 0040802D */ daddu $s0, $v0, $zero +/* 1A7328 80278A48 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1A732C 80278A4C 16020002 */ bne $s0, $v0, .L80278A58 +/* 1A7330 80278A50 00000000 */ nop +/* 1A7334 80278A54 8E500148 */ lw $s0, 0x148($s2) +.L80278A58: +/* 1A7338 80278A58 8E250000 */ lw $a1, ($s1) +/* 1A733C 80278A5C 0C0B1EAF */ jal get_variable +/* 1A7340 80278A60 0240202D */ daddu $a0, $s2, $zero +/* 1A7344 80278A64 0C09A75B */ jal get_actor +/* 1A7348 80278A68 0200202D */ daddu $a0, $s0, $zero +/* 1A734C 80278A6C 8C4401E4 */ lw $a0, 0x1e4($v0) +/* 1A7350 80278A70 0C0B1123 */ jal resume_all_script +/* 1A7354 80278A74 00000000 */ nop +/* 1A7358 80278A78 8FBF001C */ lw $ra, 0x1c($sp) +/* 1A735C 80278A7C 8FB20018 */ lw $s2, 0x18($sp) +/* 1A7360 80278A80 8FB10014 */ lw $s1, 0x14($sp) +/* 1A7364 80278A84 8FB00010 */ lw $s0, 0x10($sp) +/* 1A7368 80278A88 24020002 */ addiu $v0, $zero, 2 +/* 1A736C 80278A8C 03E00008 */ jr $ra +/* 1A7370 80278A90 27BD0020 */ addiu $sp, $sp, 0x20 + +BindIdle: +/* 1A7374 80278A94 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 1A7378 80278A98 AFB10014 */ sw $s1, 0x14($sp) +/* 1A737C 80278A9C 0080882D */ daddu $s1, $a0, $zero +/* 1A7380 80278AA0 AFBF001C */ sw $ra, 0x1c($sp) +/* 1A7384 80278AA4 AFB20018 */ sw $s2, 0x18($sp) +/* 1A7388 80278AA8 AFB00010 */ sw $s0, 0x10($sp) +/* 1A738C 80278AAC 8E30000C */ lw $s0, 0xc($s1) +/* 1A7390 80278AB0 8E050000 */ lw $a1, ($s0) +/* 1A7394 80278AB4 0C0B1EAF */ jal get_variable +/* 1A7398 80278AB8 26100004 */ addiu $s0, $s0, 4 +/* 1A739C 80278ABC 0040902D */ daddu $s2, $v0, $zero +/* 1A73A0 80278AC0 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1A73A4 80278AC4 16420002 */ bne $s2, $v0, .L80278AD0 +/* 1A73A8 80278AC8 00000000 */ nop +/* 1A73AC 80278ACC 8E320148 */ lw $s2, 0x148($s1) +.L80278AD0: +/* 1A73B0 80278AD0 8E050000 */ lw $a1, ($s0) +/* 1A73B4 80278AD4 0C0B1EAF */ jal get_variable +/* 1A73B8 80278AD8 0220202D */ daddu $a0, $s1, $zero +/* 1A73BC 80278ADC 0240202D */ daddu $a0, $s2, $zero +/* 1A73C0 80278AE0 0C09A75B */ jal get_actor +/* 1A73C4 80278AE4 0040882D */ daddu $s1, $v0, $zero +/* 1A73C8 80278AE8 0040802D */ daddu $s0, $v0, $zero +/* 1A73CC 80278AEC 8E0201D0 */ lw $v0, 0x1d0($s0) +/* 1A73D0 80278AF0 10400006 */ beqz $v0, .L80278B0C +/* 1A73D4 80278AF4 0220202D */ daddu $a0, $s1, $zero +/* 1A73D8 80278AF8 8E0401E0 */ lw $a0, 0x1e0($s0) +/* 1A73DC 80278AFC 0C0B102B */ jal kill_script_by_ID +/* 1A73E0 80278B00 00000000 */ nop +/* 1A73E4 80278B04 AE0001D0 */ sw $zero, 0x1d0($s0) +/* 1A73E8 80278B08 0220202D */ daddu $a0, $s1, $zero +.L80278B0C: +/* 1A73EC 80278B0C 2405000A */ addiu $a1, $zero, 0xa +/* 1A73F0 80278B10 0000302D */ daddu $a2, $zero, $zero +/* 1A73F4 80278B14 0C0B0CF8 */ jal start_script +/* 1A73F8 80278B18 AE0401C0 */ sw $a0, 0x1c0($s0) +/* 1A73FC 80278B1C 0040182D */ daddu $v1, $v0, $zero +/* 1A7400 80278B20 AE0301D0 */ sw $v1, 0x1d0($s0) +/* 1A7404 80278B24 8C640144 */ lw $a0, 0x144($v1) +/* 1A7408 80278B28 AE0401E0 */ sw $a0, 0x1e0($s0) +/* 1A740C 80278B2C AC720148 */ sw $s2, 0x148($v1) +/* 1A7410 80278B30 8FBF001C */ lw $ra, 0x1c($sp) +/* 1A7414 80278B34 8FB20018 */ lw $s2, 0x18($sp) +/* 1A7418 80278B38 8FB10014 */ lw $s1, 0x14($sp) +/* 1A741C 80278B3C 8FB00010 */ lw $s0, 0x10($sp) +/* 1A7420 80278B40 24020002 */ addiu $v0, $zero, 2 +/* 1A7424 80278B44 03E00008 */ jr $ra +/* 1A7428 80278B48 27BD0020 */ addiu $sp, $sp, 0x20 + +EnableIdleScript: +/* 1A742C 80278B4C 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 1A7430 80278B50 AFB20018 */ sw $s2, 0x18($sp) +/* 1A7434 80278B54 0080902D */ daddu $s2, $a0, $zero +/* 1A7438 80278B58 AFBF001C */ sw $ra, 0x1c($sp) +/* 1A743C 80278B5C AFB10014 */ sw $s1, 0x14($sp) +/* 1A7440 80278B60 AFB00010 */ sw $s0, 0x10($sp) +/* 1A7444 80278B64 8E51000C */ lw $s1, 0xc($s2) +/* 1A7448 80278B68 8E250000 */ lw $a1, ($s1) +/* 1A744C 80278B6C 0C0B1EAF */ jal get_variable +/* 1A7450 80278B70 26310004 */ addiu $s1, $s1, 4 +/* 1A7454 80278B74 0040802D */ daddu $s0, $v0, $zero +/* 1A7458 80278B78 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1A745C 80278B7C 16020002 */ bne $s0, $v0, .L80278B88 +/* 1A7460 80278B80 00000000 */ nop +/* 1A7464 80278B84 8E500148 */ lw $s0, 0x148($s2) +.L80278B88: +/* 1A7468 80278B88 8E250000 */ lw $a1, ($s1) +/* 1A746C 80278B8C 0C0B1EAF */ jal get_variable +/* 1A7470 80278B90 0240202D */ daddu $a0, $s2, $zero +/* 1A7474 80278B94 0200202D */ daddu $a0, $s0, $zero +/* 1A7478 80278B98 0C09A75B */ jal get_actor +/* 1A747C 80278B9C 0040802D */ daddu $s0, $v0, $zero +/* 1A7480 80278BA0 0040882D */ daddu $s1, $v0, $zero +/* 1A7484 80278BA4 8E2401D0 */ lw $a0, 0x1d0($s1) +/* 1A7488 80278BA8 10800016 */ beqz $a0, .L80278C04 +/* 1A748C 80278BAC 00000000 */ nop +/* 1A7490 80278BB0 12000012 */ beqz $s0, .L80278BFC +/* 1A7494 80278BB4 00000000 */ nop +/* 1A7498 80278BB8 1E000006 */ bgtz $s0, .L80278BD4 +/* 1A749C 80278BBC 24020001 */ addiu $v0, $zero, 1 +/* 1A74A0 80278BC0 2402FFFF */ addiu $v0, $zero, -1 +/* 1A74A4 80278BC4 12020007 */ beq $s0, $v0, .L80278BE4 +/* 1A74A8 80278BC8 00000000 */ nop +/* 1A74AC 80278BCC 0809E301 */ j func_80278C04 +/* 1A74B0 80278BD0 00000000 */ nop + +.L80278BD4: +/* 1A74B4 80278BD4 12020005 */ beq $s0, $v0, .L80278BEC +/* 1A74B8 80278BD8 00000000 */ nop +/* 1A74BC 80278BDC 0809E301 */ j func_80278C04 +/* 1A74C0 80278BE0 00000000 */ nop + +.L80278BE4: +/* 1A74C4 80278BE4 0C0B0F41 */ jal restart_script +/* 1A74C8 80278BE8 00000000 */ nop +.L80278BEC: +/* 1A74CC 80278BEC 0C0B1123 */ jal resume_all_script +/* 1A74D0 80278BF0 8E2401E0 */ lw $a0, 0x1e0($s1) +/* 1A74D4 80278BF4 0809E301 */ j func_80278C04 +/* 1A74D8 80278BF8 00000000 */ nop + +.L80278BFC: +/* 1A74DC 80278BFC 0C0B1108 */ jal suspend_all_script +/* 1A74E0 80278C00 8E2401E0 */ lw $a0, 0x1e0($s1) +func_80278C04: +.L80278C04: +/* 1A74E4 80278C04 8FBF001C */ lw $ra, 0x1c($sp) +/* 1A74E8 80278C08 8FB20018 */ lw $s2, 0x18($sp) +/* 1A74EC 80278C0C 8FB10014 */ lw $s1, 0x14($sp) +/* 1A74F0 80278C10 8FB00010 */ lw $s0, 0x10($sp) +/* 1A74F4 80278C14 24020002 */ addiu $v0, $zero, 2 +/* 1A74F8 80278C18 03E00008 */ jr $ra +/* 1A74FC 80278C1C 27BD0020 */ addiu $sp, $sp, 0x20 + +BindHandleEvent: +/* 1A7500 80278C20 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 1A7504 80278C24 AFB20018 */ sw $s2, 0x18($sp) +/* 1A7508 80278C28 0080902D */ daddu $s2, $a0, $zero +/* 1A750C 80278C2C AFBF001C */ sw $ra, 0x1c($sp) +/* 1A7510 80278C30 AFB10014 */ sw $s1, 0x14($sp) +/* 1A7514 80278C34 AFB00010 */ sw $s0, 0x10($sp) +/* 1A7518 80278C38 8E51000C */ lw $s1, 0xc($s2) +/* 1A751C 80278C3C 8E250000 */ lw $a1, ($s1) +/* 1A7520 80278C40 0C0B1EAF */ jal get_variable +/* 1A7524 80278C44 26310004 */ addiu $s1, $s1, 4 +/* 1A7528 80278C48 0040802D */ daddu $s0, $v0, $zero +/* 1A752C 80278C4C 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1A7530 80278C50 16020002 */ bne $s0, $v0, .L80278C5C +/* 1A7534 80278C54 00000000 */ nop +/* 1A7538 80278C58 8E500148 */ lw $s0, 0x148($s2) +.L80278C5C: +/* 1A753C 80278C5C 8E250000 */ lw $a1, ($s1) +/* 1A7540 80278C60 0C0B1EAF */ jal get_variable +/* 1A7544 80278C64 0240202D */ daddu $a0, $s2, $zero +/* 1A7548 80278C68 0200202D */ daddu $a0, $s0, $zero +/* 1A754C 80278C6C 0C09A75B */ jal get_actor +/* 1A7550 80278C70 0040802D */ daddu $s0, $v0, $zero +/* 1A7554 80278C74 AC5001C8 */ sw $s0, 0x1c8($v0) +/* 1A7558 80278C78 8FBF001C */ lw $ra, 0x1c($sp) +/* 1A755C 80278C7C 8FB20018 */ lw $s2, 0x18($sp) +/* 1A7560 80278C80 8FB10014 */ lw $s1, 0x14($sp) +/* 1A7564 80278C84 8FB00010 */ lw $s0, 0x10($sp) +/* 1A7568 80278C88 24020002 */ addiu $v0, $zero, 2 +/* 1A756C 80278C8C 03E00008 */ jr $ra +/* 1A7570 80278C90 27BD0020 */ addiu $sp, $sp, 0x20 + +BindNextTurn: +/* 1A7574 80278C94 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 1A7578 80278C98 AFB20018 */ sw $s2, 0x18($sp) +/* 1A757C 80278C9C 0080902D */ daddu $s2, $a0, $zero +/* 1A7580 80278CA0 AFBF001C */ sw $ra, 0x1c($sp) +/* 1A7584 80278CA4 AFB10014 */ sw $s1, 0x14($sp) +/* 1A7588 80278CA8 AFB00010 */ sw $s0, 0x10($sp) +/* 1A758C 80278CAC 8E51000C */ lw $s1, 0xc($s2) +/* 1A7590 80278CB0 8E250000 */ lw $a1, ($s1) +/* 1A7594 80278CB4 0C0B1EAF */ jal get_variable +/* 1A7598 80278CB8 26310004 */ addiu $s1, $s1, 4 +/* 1A759C 80278CBC 0040802D */ daddu $s0, $v0, $zero +/* 1A75A0 80278CC0 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1A75A4 80278CC4 16020002 */ bne $s0, $v0, .L80278CD0 +/* 1A75A8 80278CC8 00000000 */ nop +/* 1A75AC 80278CCC 8E500148 */ lw $s0, 0x148($s2) +.L80278CD0: +/* 1A75B0 80278CD0 8E250000 */ lw $a1, ($s1) +/* 1A75B4 80278CD4 0C0B1EAF */ jal get_variable +/* 1A75B8 80278CD8 0240202D */ daddu $a0, $s2, $zero +/* 1A75BC 80278CDC 0200202D */ daddu $a0, $s0, $zero +/* 1A75C0 80278CE0 0C09A75B */ jal get_actor +/* 1A75C4 80278CE4 0040802D */ daddu $s0, $v0, $zero +/* 1A75C8 80278CE8 AC5001CC */ sw $s0, 0x1cc($v0) +/* 1A75CC 80278CEC 8FBF001C */ lw $ra, 0x1c($sp) +/* 1A75D0 80278CF0 8FB20018 */ lw $s2, 0x18($sp) +/* 1A75D4 80278CF4 8FB10014 */ lw $s1, 0x14($sp) +/* 1A75D8 80278CF8 8FB00010 */ lw $s0, 0x10($sp) +/* 1A75DC 80278CFC 24020002 */ addiu $v0, $zero, 2 +/* 1A75E0 80278D00 03E00008 */ jr $ra +/* 1A75E4 80278D04 27BD0020 */ addiu $sp, $sp, 0x20 + +JumpToGoal: +/* 1A75E8 80278D08 27BDFFA0 */ addiu $sp, $sp, -0x60 +/* 1A75EC 80278D0C AFB30024 */ sw $s3, 0x24($sp) +/* 1A75F0 80278D10 0080982D */ daddu $s3, $a0, $zero +/* 1A75F4 80278D14 AFBF0028 */ sw $ra, 0x28($sp) +/* 1A75F8 80278D18 AFB20020 */ sw $s2, 0x20($sp) +/* 1A75FC 80278D1C AFB1001C */ sw $s1, 0x1c($sp) +/* 1A7600 80278D20 AFB00018 */ sw $s0, 0x18($sp) +/* 1A7604 80278D24 F7BE0058 */ sdc1 $f30, 0x58($sp) +/* 1A7608 80278D28 F7BC0050 */ sdc1 $f28, 0x50($sp) +/* 1A760C 80278D2C F7BA0048 */ sdc1 $f26, 0x48($sp) +/* 1A7610 80278D30 F7B80040 */ sdc1 $f24, 0x40($sp) +/* 1A7614 80278D34 F7B60038 */ sdc1 $f22, 0x38($sp) +/* 1A7618 80278D38 F7B40030 */ sdc1 $f20, 0x30($sp) +/* 1A761C 80278D3C 8E71000C */ lw $s1, 0xc($s3) +/* 1A7620 80278D40 54A00001 */ bnezl $a1, .L80278D48 +/* 1A7624 80278D44 AE600070 */ sw $zero, 0x70($s3) +.L80278D48: +/* 1A7628 80278D48 8E620070 */ lw $v0, 0x70($s3) +/* 1A762C 80278D4C 14400096 */ bnez $v0, .L80278FA8 +/* 1A7630 80278D50 00000000 */ nop +/* 1A7634 80278D54 8E250000 */ lw $a1, ($s1) +/* 1A7638 80278D58 26310004 */ addiu $s1, $s1, 4 +/* 1A763C 80278D5C 0C0B1EAF */ jal get_variable +/* 1A7640 80278D60 0260202D */ daddu $a0, $s3, $zero +/* 1A7644 80278D64 0040202D */ daddu $a0, $v0, $zero +/* 1A7648 80278D68 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1A764C 80278D6C 14820002 */ bne $a0, $v0, .L80278D78 +/* 1A7650 80278D70 00000000 */ nop +/* 1A7654 80278D74 8E640148 */ lw $a0, 0x148($s3) +.L80278D78: +/* 1A7658 80278D78 0C09A75B */ jal get_actor +/* 1A765C 80278D7C 00000000 */ nop +/* 1A7660 80278D80 0040802D */ daddu $s0, $v0, $zero +/* 1A7664 80278D84 2612000C */ addiu $s2, $s0, 0xc +/* 1A7668 80278D88 AE700074 */ sw $s0, 0x74($s3) +/* 1A766C 80278D8C 8E250000 */ lw $a1, ($s1) +/* 1A7670 80278D90 26310004 */ addiu $s1, $s1, 4 +/* 1A7674 80278D94 0C0B1EAF */ jal get_variable +/* 1A7678 80278D98 0260202D */ daddu $a0, $s3, $zero +/* 1A767C 80278D9C A6020070 */ sh $v0, 0x70($s0) +/* 1A7680 80278DA0 8E250000 */ lw $a1, ($s1) +/* 1A7684 80278DA4 26310004 */ addiu $s1, $s1, 4 +/* 1A7688 80278DA8 0C0B1EAF */ jal get_variable +/* 1A768C 80278DAC 0260202D */ daddu $a0, $s3, $zero +/* 1A7690 80278DB0 AE620078 */ sw $v0, 0x78($s3) +/* 1A7694 80278DB4 AE60007C */ sw $zero, 0x7c($s3) +/* 1A7698 80278DB8 8E250000 */ lw $a1, ($s1) +/* 1A769C 80278DBC 26310004 */ addiu $s1, $s1, 4 +/* 1A76A0 80278DC0 0C0B1EAF */ jal get_variable +/* 1A76A4 80278DC4 0260202D */ daddu $a0, $s3, $zero +/* 1A76A8 80278DC8 10400004 */ beqz $v0, .L80278DDC +/* 1A76AC 80278DCC 00000000 */ nop +/* 1A76B0 80278DD0 8E62007C */ lw $v0, 0x7c($s3) +/* 1A76B4 80278DD4 34420001 */ ori $v0, $v0, 1 +/* 1A76B8 80278DD8 AE62007C */ sw $v0, 0x7c($s3) +.L80278DDC: +/* 1A76BC 80278DDC 8E250000 */ lw $a1, ($s1) +/* 1A76C0 80278DE0 0C0B1EAF */ jal get_variable +/* 1A76C4 80278DE4 0260202D */ daddu $a0, $s3, $zero +/* 1A76C8 80278DE8 10400004 */ beqz $v0, .L80278DFC +/* 1A76CC 80278DEC 00000000 */ nop +/* 1A76D0 80278DF0 8E62007C */ lw $v0, 0x7c($s3) +/* 1A76D4 80278DF4 34420002 */ ori $v0, $v0, 2 +/* 1A76D8 80278DF8 AE62007C */ sw $v0, 0x7c($s3) +.L80278DFC: +/* 1A76DC 80278DFC C6000148 */ lwc1 $f0, 0x148($s0) +/* 1A76E0 80278E00 C61A0018 */ lwc1 $f26, 0x18($s0) +/* 1A76E4 80278E04 C61C0020 */ lwc1 $f28, 0x20($s0) +/* 1A76E8 80278E08 C614014C */ lwc1 $f20, 0x14c($s0) +/* 1A76EC 80278E0C C618001C */ lwc1 $f24, 0x1c($s0) +/* 1A76F0 80278E10 E6000010 */ swc1 $f0, 0x10($s0) +/* 1A76F4 80278E14 46000786 */ mov.s $f30, $f0 +/* 1A76F8 80278E18 4406D000 */ mfc1 $a2, $f26 +/* 1A76FC 80278E1C 4407E000 */ mfc1 $a3, $f28 +/* 1A7700 80278E20 C6000144 */ lwc1 $f0, 0x144($s0) +/* 1A7704 80278E24 4600A386 */ mov.s $f14, $f20 +/* 1A7708 80278E28 E6140014 */ swc1 $f20, 0x14($s0) +/* 1A770C 80278E2C E600000C */ swc1 $f0, 0xc($s0) +/* 1A7710 80278E30 46000586 */ mov.s $f22, $f0 +/* 1A7714 80278E34 0C00A720 */ jal atan2 +/* 1A7718 80278E38 4600B306 */ mov.s $f12, $f22 +/* 1A771C 80278E3C 4600B306 */ mov.s $f12, $f22 +/* 1A7720 80278E40 4600A386 */ mov.s $f14, $f20 +/* 1A7724 80278E44 4406D000 */ mfc1 $a2, $f26 +/* 1A7728 80278E48 4407E000 */ mfc1 $a3, $f28 +/* 1A772C 80278E4C 461EC781 */ sub.s $f30, $f24, $f30 +/* 1A7730 80278E50 0C00A7B5 */ jal dist2D +/* 1A7734 80278E54 E6000054 */ swc1 $f0, 0x54($s0) +/* 1A7738 80278E58 86020070 */ lh $v0, 0x70($s0) +/* 1A773C 80278E5C 46000106 */ mov.s $f4, $f0 +/* 1A7740 80278E60 14400012 */ bnez $v0, .L80278EAC +/* 1A7744 80278E64 E6040058 */ swc1 $f4, 0x58($s0) +/* 1A7748 80278E68 C600004C */ lwc1 $f0, 0x4c($s0) +/* 1A774C 80278E6C C602004C */ lwc1 $f2, 0x4c($s0) +/* 1A7750 80278E70 46002003 */ div.s $f0, $f4, $f0 +/* 1A7754 80278E74 4600028D */ trunc.w.s $f10, $f0 +/* 1A7758 80278E78 44035000 */ mfc1 $v1, $f10 +/* 1A775C 80278E7C 00000000 */ nop +/* 1A7760 80278E80 00031400 */ sll $v0, $v1, 0x10 +/* 1A7764 80278E84 00021403 */ sra $v0, $v0, 0x10 +/* 1A7768 80278E88 44820000 */ mtc1 $v0, $f0 +/* 1A776C 80278E8C 00000000 */ nop +/* 1A7770 80278E90 46800020 */ cvt.s.w $f0, $f0 +/* 1A7774 80278E94 46020002 */ mul.s $f0, $f0, $f2 +/* 1A7778 80278E98 00000000 */ nop +/* 1A777C 80278E9C 46002086 */ mov.s $f2, $f4 +/* 1A7780 80278EA0 A6030070 */ sh $v1, 0x70($s0) +/* 1A7784 80278EA4 0809E3B8 */ j func_80278EE0 +/* 1A7788 80278EA8 46001201 */ sub.s $f8, $f2, $f0 + +.L80278EAC: +/* 1A778C 80278EAC 44821000 */ mtc1 $v0, $f2 +/* 1A7790 80278EB0 00000000 */ nop +/* 1A7794 80278EB4 468010A0 */ cvt.s.w $f2, $f2 +/* 1A7798 80278EB8 86020070 */ lh $v0, 0x70($s0) +/* 1A779C 80278EBC 46022083 */ div.s $f2, $f4, $f2 +/* 1A77A0 80278EC0 44820000 */ mtc1 $v0, $f0 +/* 1A77A4 80278EC4 00000000 */ nop +/* 1A77A8 80278EC8 46800020 */ cvt.s.w $f0, $f0 +/* 1A77AC 80278ECC 46020002 */ mul.s $f0, $f0, $f2 +/* 1A77B0 80278ED0 00000000 */ nop +/* 1A77B4 80278ED4 C6040058 */ lwc1 $f4, 0x58($s0) +/* 1A77B8 80278ED8 E602004C */ swc1 $f2, 0x4c($s0) +/* 1A77BC 80278EDC 46002201 */ sub.s $f8, $f4, $f0 +func_80278EE0: +/* 1A77C0 80278EE0 86420064 */ lh $v0, 0x64($s2) +/* 1A77C4 80278EE4 14400003 */ bnez $v0, .L80278EF4 +/* 1A77C8 80278EE8 00000000 */ nop +/* 1A77CC 80278EEC 0809E436 */ j func_802790D8 +/* 1A77D0 80278EF0 24020002 */ addiu $v0, $zero, 2 + +.L80278EF4: +/* 1A77D4 80278EF4 C642003C */ lwc1 $f2, 0x3c($s2) +/* 1A77D8 80278EF8 44823000 */ mtc1 $v0, $f6 +/* 1A77DC 80278EFC 00000000 */ nop +/* 1A77E0 80278F00 468031A0 */ cvt.s.w $f6, $f6 +/* 1A77E4 80278F04 46061082 */ mul.s $f2, $f2, $f6 +/* 1A77E8 80278F08 00000000 */ nop +/* 1A77EC 80278F0C 3C013F00 */ lui $at, 0x3f00 +/* 1A77F0 80278F10 44810000 */ mtc1 $at, $f0 +/* 1A77F4 80278F14 00000000 */ nop +/* 1A77F8 80278F18 46001082 */ mul.s $f2, $f2, $f0 +/* 1A77FC 80278F1C 00000000 */ nop +/* 1A7800 80278F20 86420064 */ lh $v0, 0x64($s2) +/* 1A7804 80278F24 C6440040 */ lwc1 $f4, 0x40($s2) +/* 1A7808 80278F28 44820000 */ mtc1 $v0, $f0 +/* 1A780C 80278F2C 00000000 */ nop +/* 1A7810 80278F30 46800020 */ cvt.s.w $f0, $f0 +/* 1A7814 80278F34 46004003 */ div.s $f0, $f8, $f0 +/* 1A7818 80278F38 46002100 */ add.s $f4, $f4, $f0 +/* 1A781C 80278F3C 4606F183 */ div.s $f6, $f30, $f6 +/* 1A7820 80278F40 46061080 */ add.s $f2, $f2, $f6 +/* 1A7824 80278F44 E6440040 */ swc1 $f4, 0x40($s2) +/* 1A7828 80278F48 E6420044 */ swc1 $f2, 0x44($s2) +/* 1A782C 80278F4C 8E620078 */ lw $v0, 0x78($s3) +/* 1A7830 80278F50 10400005 */ beqz $v0, .L80278F68 +/* 1A7834 80278F54 00000000 */ nop +/* 1A7838 80278F58 86040192 */ lh $a0, 0x192($s0) +/* 1A783C 80278F5C 82050077 */ lb $a1, 0x77($s0) +/* 1A7840 80278F60 0C098F3F */ jal set_animation +/* 1A7844 80278F64 8E060064 */ lw $a2, 0x64($s0) +.L80278F68: +/* 1A7848 80278F68 8E62007C */ lw $v0, 0x7c($s3) +/* 1A784C 80278F6C 30420002 */ andi $v0, $v0, 2 +/* 1A7850 80278F70 1440000C */ bnez $v0, .L80278FA4 +/* 1A7854 80278F74 24020001 */ addiu $v0, $zero, 1 +/* 1A7858 80278F78 8E0201AC */ lw $v0, 0x1ac($s0) +/* 1A785C 80278F7C 10400009 */ beqz $v0, .L80278FA4 +/* 1A7860 80278F80 24020001 */ addiu $v0, $zero, 1 +/* 1A7864 80278F84 C600014C */ lwc1 $f0, 0x14c($s0) +/* 1A7868 80278F88 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A786C 80278F8C 8E0401AC */ lw $a0, 0x1ac($s0) +/* 1A7870 80278F90 8E060144 */ lw $a2, 0x144($s0) +/* 1A7874 80278F94 8E070148 */ lw $a3, 0x148($s0) +/* 1A7878 80278F98 0C052757 */ jal play_sound_at_position +/* 1A787C 80278F9C 0000282D */ daddu $a1, $zero, $zero +/* 1A7880 80278FA0 24020001 */ addiu $v0, $zero, 1 +.L80278FA4: +/* 1A7884 80278FA4 AE620070 */ sw $v0, 0x70($s3) +.L80278FA8: +/* 1A7888 80278FA8 8E700074 */ lw $s0, 0x74($s3) +/* 1A788C 80278FAC C6000050 */ lwc1 $f0, 0x50($s0) +/* 1A7890 80278FB0 C6020010 */ lwc1 $f2, 0x10($s0) +/* 1A7894 80278FB4 46000106 */ mov.s $f4, $f0 +/* 1A7898 80278FB8 46001080 */ add.s $f2, $f2, $f0 +/* 1A789C 80278FBC C6000048 */ lwc1 $f0, 0x48($s0) +/* 1A78A0 80278FC0 46002101 */ sub.s $f4, $f4, $f0 +/* 1A78A4 80278FC4 E6020010 */ swc1 $f2, 0x10($s0) +/* 1A78A8 80278FC8 E6040050 */ swc1 $f4, 0x50($s0) +/* 1A78AC 80278FCC 8E620078 */ lw $v0, 0x78($s3) +/* 1A78B0 80278FD0 1040000B */ beqz $v0, .L80279000 +/* 1A78B4 80278FD4 2612000C */ addiu $s2, $s0, 0xc +/* 1A78B8 80278FD8 44800000 */ mtc1 $zero, $f0 +/* 1A78BC 80278FDC 00000000 */ nop +/* 1A78C0 80278FE0 4600203C */ c.lt.s $f4, $f0 +/* 1A78C4 80278FE4 00000000 */ nop +/* 1A78C8 80278FE8 45000005 */ bc1f .L80279000 +/* 1A78CC 80278FEC 00000000 */ nop +/* 1A78D0 80278FF0 86040192 */ lh $a0, 0x192($s0) +/* 1A78D4 80278FF4 82050077 */ lb $a1, 0x77($s0) +/* 1A78D8 80278FF8 0C098F3F */ jal set_animation +/* 1A78DC 80278FFC 8E060068 */ lw $a2, 0x68($s0) +.L80279000: +/* 1A78E0 80279000 C6420044 */ lwc1 $f2, 0x44($s2) +/* 1A78E4 80279004 44800000 */ mtc1 $zero, $f0 +/* 1A78E8 80279008 00000000 */ nop +/* 1A78EC 8027900C 4600103C */ c.lt.s $f2, $f0 +/* 1A78F0 80279010 00000000 */ nop +/* 1A78F4 80279014 45000007 */ bc1f .L80279034 +/* 1A78F8 80279018 00000000 */ nop +/* 1A78FC 8027901C C6400004 */ lwc1 $f0, 4($s2) +/* 1A7900 80279020 C6420010 */ lwc1 $f2, 0x10($s2) +/* 1A7904 80279024 4602003C */ c.lt.s $f0, $f2 +/* 1A7908 80279028 00000000 */ nop +/* 1A790C 8027902C 45030001 */ bc1tl .L80279034 +/* 1A7910 80279030 E6420004 */ swc1 $f2, 4($s2) +.L80279034: +/* 1A7914 80279034 8E450040 */ lw $a1, 0x40($s2) +/* 1A7918 80279038 8E460048 */ lw $a2, 0x48($s2) +/* 1A791C 8027903C 0C09904A */ jal add_xz_vec3f +/* 1A7920 80279040 0240202D */ daddu $a0, $s2, $zero +/* 1A7924 80279044 C6400000 */ lwc1 $f0, ($s2) +/* 1A7928 80279048 E6000144 */ swc1 $f0, 0x144($s0) +/* 1A792C 8027904C C6400004 */ lwc1 $f0, 4($s2) +/* 1A7930 80279050 E6000148 */ swc1 $f0, 0x148($s0) +/* 1A7934 80279054 C6400008 */ lwc1 $f0, 8($s2) +/* 1A7938 80279058 E600014C */ swc1 $f0, 0x14c($s0) +/* 1A793C 8027905C 96420064 */ lhu $v0, 0x64($s2) +/* 1A7940 80279060 2442FFFF */ addiu $v0, $v0, -1 +/* 1A7944 80279064 A6420064 */ sh $v0, 0x64($s2) +/* 1A7948 80279068 00021400 */ sll $v0, $v0, 0x10 +/* 1A794C 8027906C 1C40001A */ bgtz $v0, .L802790D8 +/* 1A7950 80279070 0000102D */ daddu $v0, $zero, $zero +/* 1A7954 80279074 8E62007C */ lw $v0, 0x7c($s3) +/* 1A7958 80279078 30420001 */ andi $v0, $v0, 1 +/* 1A795C 8027907C 10400008 */ beqz $v0, .L802790A0 +/* 1A7960 80279080 00000000 */ nop +/* 1A7964 80279084 C6400048 */ lwc1 $f0, 0x48($s2) +/* 1A7968 80279088 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A796C 8027908C 8E45000C */ lw $a1, 0xc($s2) +/* 1A7970 80279090 8E460010 */ lw $a2, 0x10($s2) +/* 1A7974 80279094 8E470014 */ lw $a3, 0x14($s2) +/* 1A7978 80279098 0C0990BC */ jal play_movement_dust_effects +/* 1A797C 8027909C 24040002 */ addiu $a0, $zero, 2 +.L802790A0: +/* 1A7980 802790A0 C640000C */ lwc1 $f0, 0xc($s2) +/* 1A7984 802790A4 E6000144 */ swc1 $f0, 0x144($s0) +/* 1A7988 802790A8 C6400010 */ lwc1 $f0, 0x10($s2) +/* 1A798C 802790AC E6000148 */ swc1 $f0, 0x148($s0) +/* 1A7990 802790B0 C6400014 */ lwc1 $f0, 0x14($s2) +/* 1A7994 802790B4 E600014C */ swc1 $f0, 0x14c($s0) +/* 1A7998 802790B8 8E620078 */ lw $v0, 0x78($s3) +/* 1A799C 802790BC 10400006 */ beqz $v0, .L802790D8 +/* 1A79A0 802790C0 24020001 */ addiu $v0, $zero, 1 +/* 1A79A4 802790C4 86040192 */ lh $a0, 0x192($s0) +/* 1A79A8 802790C8 8245006B */ lb $a1, 0x6b($s2) +/* 1A79AC 802790CC 0C098F3F */ jal set_animation +/* 1A79B0 802790D0 8E460060 */ lw $a2, 0x60($s2) +/* 1A79B4 802790D4 24020001 */ addiu $v0, $zero, 1 +func_802790D8: +.L802790D8: +/* 1A79B8 802790D8 8FBF0028 */ lw $ra, 0x28($sp) +/* 1A79BC 802790DC 8FB30024 */ lw $s3, 0x24($sp) +/* 1A79C0 802790E0 8FB20020 */ lw $s2, 0x20($sp) +/* 1A79C4 802790E4 8FB1001C */ lw $s1, 0x1c($sp) +/* 1A79C8 802790E8 8FB00018 */ lw $s0, 0x18($sp) +/* 1A79CC 802790EC D7BE0058 */ ldc1 $f30, 0x58($sp) +/* 1A79D0 802790F0 D7BC0050 */ ldc1 $f28, 0x50($sp) +/* 1A79D4 802790F4 D7BA0048 */ ldc1 $f26, 0x48($sp) +/* 1A79D8 802790F8 D7B80040 */ ldc1 $f24, 0x40($sp) +/* 1A79DC 802790FC D7B60038 */ ldc1 $f22, 0x38($sp) +/* 1A79E0 80279100 D7B40030 */ ldc1 $f20, 0x30($sp) +/* 1A79E4 80279104 03E00008 */ jr $ra +/* 1A79E8 80279108 27BD0060 */ addiu $sp, $sp, 0x60 + +IdleJumpToGoal: +/* 1A79EC 8027910C 27BDFFA8 */ addiu $sp, $sp, -0x58 +/* 1A79F0 80279110 AFB20020 */ sw $s2, 0x20($sp) +/* 1A79F4 80279114 0080902D */ daddu $s2, $a0, $zero +/* 1A79F8 80279118 AFBF0024 */ sw $ra, 0x24($sp) +/* 1A79FC 8027911C AFB1001C */ sw $s1, 0x1c($sp) +/* 1A7A00 80279120 AFB00018 */ sw $s0, 0x18($sp) +/* 1A7A04 80279124 F7BE0050 */ sdc1 $f30, 0x50($sp) +/* 1A7A08 80279128 F7BC0048 */ sdc1 $f28, 0x48($sp) +/* 1A7A0C 8027912C F7BA0040 */ sdc1 $f26, 0x40($sp) +/* 1A7A10 80279130 F7B80038 */ sdc1 $f24, 0x38($sp) +/* 1A7A14 80279134 F7B60030 */ sdc1 $f22, 0x30($sp) +/* 1A7A18 80279138 F7B40028 */ sdc1 $f20, 0x28($sp) +/* 1A7A1C 8027913C 8E51000C */ lw $s1, 0xc($s2) +/* 1A7A20 80279140 54A00001 */ bnezl $a1, .L80279148 +/* 1A7A24 80279144 AE400070 */ sw $zero, 0x70($s2) +.L80279148: +/* 1A7A28 80279148 8E420070 */ lw $v0, 0x70($s2) +/* 1A7A2C 8027914C 14400073 */ bnez $v0, .L8027931C +/* 1A7A30 80279150 00000000 */ nop +/* 1A7A34 80279154 8E250000 */ lw $a1, ($s1) +/* 1A7A38 80279158 26310004 */ addiu $s1, $s1, 4 +/* 1A7A3C 8027915C 0C0B1EAF */ jal get_variable +/* 1A7A40 80279160 0240202D */ daddu $a0, $s2, $zero +/* 1A7A44 80279164 0040202D */ daddu $a0, $v0, $zero +/* 1A7A48 80279168 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1A7A4C 8027916C 14820002 */ bne $a0, $v0, .L80279178 +/* 1A7A50 80279170 00000000 */ nop +/* 1A7A54 80279174 8E440148 */ lw $a0, 0x148($s2) +.L80279178: +/* 1A7A58 80279178 0C09A75B */ jal get_actor +/* 1A7A5C 8027917C 00000000 */ nop +/* 1A7A60 80279180 0040802D */ daddu $s0, $v0, $zero +/* 1A7A64 80279184 AE500074 */ sw $s0, 0x74($s2) +/* 1A7A68 80279188 8E250000 */ lw $a1, ($s1) +/* 1A7A6C 8027918C 26310004 */ addiu $s1, $s1, 4 +/* 1A7A70 80279190 0C0B1EAF */ jal get_variable +/* 1A7A74 80279194 0240202D */ daddu $a0, $s2, $zero +/* 1A7A78 80279198 A6020120 */ sh $v0, 0x120($s0) +/* 1A7A7C 8027919C 8E250000 */ lw $a1, ($s1) +/* 1A7A80 802791A0 26310004 */ addiu $s1, $s1, 4 +/* 1A7A84 802791A4 0C0B1EAF */ jal get_variable +/* 1A7A88 802791A8 0240202D */ daddu $a0, $s2, $zero +/* 1A7A8C 802791AC AE420078 */ sw $v0, 0x78($s2) +/* 1A7A90 802791B0 8E250000 */ lw $a1, ($s1) +/* 1A7A94 802791B4 0C0B1EAF */ jal get_variable +/* 1A7A98 802791B8 0240202D */ daddu $a0, $s2, $zero +/* 1A7A9C 802791BC AE42007C */ sw $v0, 0x7c($s2) +/* 1A7AA0 802791C0 C6000148 */ lwc1 $f0, 0x148($s0) +/* 1A7AA4 802791C4 C61A00D4 */ lwc1 $f26, 0xd4($s0) +/* 1A7AA8 802791C8 C61C00DC */ lwc1 $f28, 0xdc($s0) +/* 1A7AAC 802791CC C614014C */ lwc1 $f20, 0x14c($s0) +/* 1A7AB0 802791D0 C61800D8 */ lwc1 $f24, 0xd8($s0) +/* 1A7AB4 802791D4 261100C8 */ addiu $s1, $s0, 0xc8 +/* 1A7AB8 802791D8 E60000CC */ swc1 $f0, 0xcc($s0) +/* 1A7ABC 802791DC 46000786 */ mov.s $f30, $f0 +/* 1A7AC0 802791E0 4406D000 */ mfc1 $a2, $f26 +/* 1A7AC4 802791E4 4407E000 */ mfc1 $a3, $f28 +/* 1A7AC8 802791E8 C6000144 */ lwc1 $f0, 0x144($s0) +/* 1A7ACC 802791EC 4600A386 */ mov.s $f14, $f20 +/* 1A7AD0 802791F0 E61400D0 */ swc1 $f20, 0xd0($s0) +/* 1A7AD4 802791F4 E60000C8 */ swc1 $f0, 0xc8($s0) +/* 1A7AD8 802791F8 46000586 */ mov.s $f22, $f0 +/* 1A7ADC 802791FC 0C00A720 */ jal atan2 +/* 1A7AE0 80279200 4600B306 */ mov.s $f12, $f22 +/* 1A7AE4 80279204 4600B306 */ mov.s $f12, $f22 +/* 1A7AE8 80279208 4600A386 */ mov.s $f14, $f20 +/* 1A7AEC 8027920C 4406D000 */ mfc1 $a2, $f26 +/* 1A7AF0 80279210 4407E000 */ mfc1 $a3, $f28 +/* 1A7AF4 80279214 461EC781 */ sub.s $f30, $f24, $f30 +/* 1A7AF8 80279218 0C00A7B5 */ jal dist2D +/* 1A7AFC 8027921C E6000110 */ swc1 $f0, 0x110($s0) +/* 1A7B00 80279220 86020120 */ lh $v0, 0x120($s0) +/* 1A7B04 80279224 46000106 */ mov.s $f4, $f0 +/* 1A7B08 80279228 14400012 */ bnez $v0, .L80279274 +/* 1A7B0C 8027922C E6040114 */ swc1 $f4, 0x114($s0) +/* 1A7B10 80279230 C6000108 */ lwc1 $f0, 0x108($s0) +/* 1A7B14 80279234 C6020108 */ lwc1 $f2, 0x108($s0) +/* 1A7B18 80279238 46002003 */ div.s $f0, $f4, $f0 +/* 1A7B1C 8027923C 4600028D */ trunc.w.s $f10, $f0 +/* 1A7B20 80279240 44035000 */ mfc1 $v1, $f10 +/* 1A7B24 80279244 00000000 */ nop +/* 1A7B28 80279248 00031400 */ sll $v0, $v1, 0x10 +/* 1A7B2C 8027924C 00021403 */ sra $v0, $v0, 0x10 +/* 1A7B30 80279250 44820000 */ mtc1 $v0, $f0 +/* 1A7B34 80279254 00000000 */ nop +/* 1A7B38 80279258 46800020 */ cvt.s.w $f0, $f0 +/* 1A7B3C 8027925C 46020002 */ mul.s $f0, $f0, $f2 +/* 1A7B40 80279260 00000000 */ nop +/* 1A7B44 80279264 46002086 */ mov.s $f2, $f4 +/* 1A7B48 80279268 A6030120 */ sh $v1, 0x120($s0) +/* 1A7B4C 8027926C 0809E4AA */ j func_802792A8 +/* 1A7B50 80279270 46001201 */ sub.s $f8, $f2, $f0 + +.L80279274: +/* 1A7B54 80279274 44821000 */ mtc1 $v0, $f2 +/* 1A7B58 80279278 00000000 */ nop +/* 1A7B5C 8027927C 468010A0 */ cvt.s.w $f2, $f2 +/* 1A7B60 80279280 86020120 */ lh $v0, 0x120($s0) +/* 1A7B64 80279284 46022083 */ div.s $f2, $f4, $f2 +/* 1A7B68 80279288 44820000 */ mtc1 $v0, $f0 +/* 1A7B6C 8027928C 00000000 */ nop +/* 1A7B70 80279290 46800020 */ cvt.s.w $f0, $f0 +/* 1A7B74 80279294 46020002 */ mul.s $f0, $f0, $f2 +/* 1A7B78 80279298 00000000 */ nop +/* 1A7B7C 8027929C C6040114 */ lwc1 $f4, 0x114($s0) +/* 1A7B80 802792A0 E6020108 */ swc1 $f2, 0x108($s0) +/* 1A7B84 802792A4 46002201 */ sub.s $f8, $f4, $f0 +func_802792A8: +/* 1A7B88 802792A8 86220058 */ lh $v0, 0x58($s1) +/* 1A7B8C 802792AC 14400003 */ bnez $v0, .L802792BC +/* 1A7B90 802792B0 00000000 */ nop +/* 1A7B94 802792B4 0809E4FC */ j func_802793F0 +/* 1A7B98 802792B8 24020002 */ addiu $v0, $zero, 2 + +.L802792BC: +/* 1A7B9C 802792BC C622003C */ lwc1 $f2, 0x3c($s1) +/* 1A7BA0 802792C0 44823000 */ mtc1 $v0, $f6 +/* 1A7BA4 802792C4 00000000 */ nop +/* 1A7BA8 802792C8 468031A0 */ cvt.s.w $f6, $f6 +/* 1A7BAC 802792CC 46061082 */ mul.s $f2, $f2, $f6 +/* 1A7BB0 802792D0 00000000 */ nop +/* 1A7BB4 802792D4 3C013F00 */ lui $at, 0x3f00 +/* 1A7BB8 802792D8 44810000 */ mtc1 $at, $f0 +/* 1A7BBC 802792DC 00000000 */ nop +/* 1A7BC0 802792E0 46001082 */ mul.s $f2, $f2, $f0 +/* 1A7BC4 802792E4 00000000 */ nop +/* 1A7BC8 802792E8 86220058 */ lh $v0, 0x58($s1) +/* 1A7BCC 802792EC C6240040 */ lwc1 $f4, 0x40($s1) +/* 1A7BD0 802792F0 44820000 */ mtc1 $v0, $f0 +/* 1A7BD4 802792F4 00000000 */ nop +/* 1A7BD8 802792F8 46800020 */ cvt.s.w $f0, $f0 +/* 1A7BDC 802792FC 46004003 */ div.s $f0, $f8, $f0 +/* 1A7BE0 80279300 46002100 */ add.s $f4, $f4, $f0 +/* 1A7BE4 80279304 4606F183 */ div.s $f6, $f30, $f6 +/* 1A7BE8 80279308 46061080 */ add.s $f2, $f2, $f6 +/* 1A7BEC 8027930C 24020001 */ addiu $v0, $zero, 1 +/* 1A7BF0 80279310 E6240040 */ swc1 $f4, 0x40($s1) +/* 1A7BF4 80279314 E6220044 */ swc1 $f2, 0x44($s1) +/* 1A7BF8 80279318 AE420070 */ sw $v0, 0x70($s2) +.L8027931C: +/* 1A7BFC 8027931C 8E500074 */ lw $s0, 0x74($s2) +/* 1A7C00 80279320 C600010C */ lwc1 $f0, 0x10c($s0) +/* 1A7C04 80279324 C60400CC */ lwc1 $f4, 0xcc($s0) +/* 1A7C08 80279328 46000086 */ mov.s $f2, $f0 +/* 1A7C0C 8027932C 46002100 */ add.s $f4, $f4, $f0 +/* 1A7C10 80279330 C6000104 */ lwc1 $f0, 0x104($s0) +/* 1A7C14 80279334 46001081 */ sub.s $f2, $f2, $f0 +/* 1A7C18 80279338 44800000 */ mtc1 $zero, $f0 +/* 1A7C1C 8027933C 261100C8 */ addiu $s1, $s0, 0xc8 +/* 1A7C20 80279340 E60400CC */ swc1 $f4, 0xcc($s0) +/* 1A7C24 80279344 4600103C */ c.lt.s $f2, $f0 +/* 1A7C28 80279348 00000000 */ nop +/* 1A7C2C 8027934C 45000007 */ bc1f .L8027936C +/* 1A7C30 80279350 E602010C */ swc1 $f2, 0x10c($s0) +/* 1A7C34 80279354 C60200D8 */ lwc1 $f2, 0xd8($s0) +/* 1A7C38 80279358 46002006 */ mov.s $f0, $f4 +/* 1A7C3C 8027935C 4602003C */ c.lt.s $f0, $f2 +/* 1A7C40 80279360 00000000 */ nop +/* 1A7C44 80279364 45030001 */ bc1tl .L8027936C +/* 1A7C48 80279368 E60200CC */ swc1 $f2, 0xcc($s0) +.L8027936C: +/* 1A7C4C 8027936C 8E250040 */ lw $a1, 0x40($s1) +/* 1A7C50 80279370 8E260048 */ lw $a2, 0x48($s1) +/* 1A7C54 80279374 0C099096 */ jal add_xz_vec3f_copy2 +/* 1A7C58 80279378 0220202D */ daddu $a0, $s1, $zero +/* 1A7C5C 8027937C C6200000 */ lwc1 $f0, ($s1) +/* 1A7C60 80279380 E6000144 */ swc1 $f0, 0x144($s0) +/* 1A7C64 80279384 C6200004 */ lwc1 $f0, 4($s1) +/* 1A7C68 80279388 E6000148 */ swc1 $f0, 0x148($s0) +/* 1A7C6C 8027938C C6200008 */ lwc1 $f0, 8($s1) +/* 1A7C70 80279390 E600014C */ swc1 $f0, 0x14c($s0) +/* 1A7C74 80279394 96220058 */ lhu $v0, 0x58($s1) +/* 1A7C78 80279398 2442FFFF */ addiu $v0, $v0, -1 +/* 1A7C7C 8027939C A6220058 */ sh $v0, 0x58($s1) +/* 1A7C80 802793A0 00021400 */ sll $v0, $v0, 0x10 +/* 1A7C84 802793A4 1C400012 */ bgtz $v0, .L802793F0 +/* 1A7C88 802793A8 0000102D */ daddu $v0, $zero, $zero +/* 1A7C8C 802793AC 8E42007C */ lw $v0, 0x7c($s2) +/* 1A7C90 802793B0 10400008 */ beqz $v0, .L802793D4 +/* 1A7C94 802793B4 00000000 */ nop +/* 1A7C98 802793B8 C6200048 */ lwc1 $f0, 0x48($s1) +/* 1A7C9C 802793BC E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A7CA0 802793C0 8E25000C */ lw $a1, 0xc($s1) +/* 1A7CA4 802793C4 8E260010 */ lw $a2, 0x10($s1) +/* 1A7CA8 802793C8 8E270014 */ lw $a3, 0x14($s1) +/* 1A7CAC 802793CC 0C0990BC */ jal play_movement_dust_effects +/* 1A7CB0 802793D0 24040002 */ addiu $a0, $zero, 2 +.L802793D4: +/* 1A7CB4 802793D4 C620000C */ lwc1 $f0, 0xc($s1) +/* 1A7CB8 802793D8 E6000144 */ swc1 $f0, 0x144($s0) +/* 1A7CBC 802793DC C6200010 */ lwc1 $f0, 0x10($s1) +/* 1A7CC0 802793E0 E6000148 */ swc1 $f0, 0x148($s0) +/* 1A7CC4 802793E4 C6200014 */ lwc1 $f0, 0x14($s1) +/* 1A7CC8 802793E8 24020001 */ addiu $v0, $zero, 1 +/* 1A7CCC 802793EC E600014C */ swc1 $f0, 0x14c($s0) +func_802793F0: +.L802793F0: +/* 1A7CD0 802793F0 8FBF0024 */ lw $ra, 0x24($sp) +/* 1A7CD4 802793F4 8FB20020 */ lw $s2, 0x20($sp) +/* 1A7CD8 802793F8 8FB1001C */ lw $s1, 0x1c($sp) +/* 1A7CDC 802793FC 8FB00018 */ lw $s0, 0x18($sp) +/* 1A7CE0 80279400 D7BE0050 */ ldc1 $f30, 0x50($sp) +/* 1A7CE4 80279404 D7BC0048 */ ldc1 $f28, 0x48($sp) +/* 1A7CE8 80279408 D7BA0040 */ ldc1 $f26, 0x40($sp) +/* 1A7CEC 8027940C D7B80038 */ ldc1 $f24, 0x38($sp) +/* 1A7CF0 80279410 D7B60030 */ ldc1 $f22, 0x30($sp) +/* 1A7CF4 80279414 D7B40028 */ ldc1 $f20, 0x28($sp) +/* 1A7CF8 80279418 03E00008 */ jr $ra +/* 1A7CFC 8027941C 27BD0058 */ addiu $sp, $sp, 0x58 + +JumpToGoalSimple2: +/* 1A7D00 80279420 27BDFFA8 */ addiu $sp, $sp, -0x58 +/* 1A7D04 80279424 AFB20020 */ sw $s2, 0x20($sp) +/* 1A7D08 80279428 0080902D */ daddu $s2, $a0, $zero +/* 1A7D0C 8027942C AFBF0024 */ sw $ra, 0x24($sp) +/* 1A7D10 80279430 AFB1001C */ sw $s1, 0x1c($sp) +/* 1A7D14 80279434 AFB00018 */ sw $s0, 0x18($sp) +/* 1A7D18 80279438 F7BE0050 */ sdc1 $f30, 0x50($sp) +/* 1A7D1C 8027943C F7BC0048 */ sdc1 $f28, 0x48($sp) +/* 1A7D20 80279440 F7BA0040 */ sdc1 $f26, 0x40($sp) +/* 1A7D24 80279444 F7B80038 */ sdc1 $f24, 0x38($sp) +/* 1A7D28 80279448 F7B60030 */ sdc1 $f22, 0x30($sp) +/* 1A7D2C 8027944C F7B40028 */ sdc1 $f20, 0x28($sp) +/* 1A7D30 80279450 8E51000C */ lw $s1, 0xc($s2) +/* 1A7D34 80279454 54A00001 */ bnezl $a1, .L8027945C +/* 1A7D38 80279458 AE400070 */ sw $zero, 0x70($s2) +.L8027945C: +/* 1A7D3C 8027945C 8E420070 */ lw $v0, 0x70($s2) +/* 1A7D40 80279460 14400073 */ bnez $v0, .L80279630 +/* 1A7D44 80279464 00000000 */ nop +/* 1A7D48 80279468 8E250000 */ lw $a1, ($s1) +/* 1A7D4C 8027946C 26310004 */ addiu $s1, $s1, 4 +/* 1A7D50 80279470 0C0B1EAF */ jal get_variable +/* 1A7D54 80279474 0240202D */ daddu $a0, $s2, $zero +/* 1A7D58 80279478 0040202D */ daddu $a0, $v0, $zero +/* 1A7D5C 8027947C 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1A7D60 80279480 14820002 */ bne $a0, $v0, .L8027948C +/* 1A7D64 80279484 00000000 */ nop +/* 1A7D68 80279488 8E440148 */ lw $a0, 0x148($s2) +.L8027948C: +/* 1A7D6C 8027948C 0C09A75B */ jal get_actor +/* 1A7D70 80279490 00000000 */ nop +/* 1A7D74 80279494 0040802D */ daddu $s0, $v0, $zero +/* 1A7D78 80279498 AE500074 */ sw $s0, 0x74($s2) +/* 1A7D7C 8027949C 8E250000 */ lw $a1, ($s1) +/* 1A7D80 802794A0 0C0B1EAF */ jal get_variable +/* 1A7D84 802794A4 0240202D */ daddu $a0, $s2, $zero +/* 1A7D88 802794A8 C6000148 */ lwc1 $f0, 0x148($s0) +/* 1A7D8C 802794AC C61A0018 */ lwc1 $f26, 0x18($s0) +/* 1A7D90 802794B0 C61C0020 */ lwc1 $f28, 0x20($s0) +/* 1A7D94 802794B4 C614014C */ lwc1 $f20, 0x14c($s0) +/* 1A7D98 802794B8 C618001C */ lwc1 $f24, 0x1c($s0) +/* 1A7D9C 802794BC 2611000C */ addiu $s1, $s0, 0xc +/* 1A7DA0 802794C0 A6020070 */ sh $v0, 0x70($s0) +/* 1A7DA4 802794C4 E6000010 */ swc1 $f0, 0x10($s0) +/* 1A7DA8 802794C8 46000786 */ mov.s $f30, $f0 +/* 1A7DAC 802794CC 4406D000 */ mfc1 $a2, $f26 +/* 1A7DB0 802794D0 4407E000 */ mfc1 $a3, $f28 +/* 1A7DB4 802794D4 C6000144 */ lwc1 $f0, 0x144($s0) +/* 1A7DB8 802794D8 4600A386 */ mov.s $f14, $f20 +/* 1A7DBC 802794DC E6140014 */ swc1 $f20, 0x14($s0) +/* 1A7DC0 802794E0 E600000C */ swc1 $f0, 0xc($s0) +/* 1A7DC4 802794E4 46000586 */ mov.s $f22, $f0 +/* 1A7DC8 802794E8 0C00A720 */ jal atan2 +/* 1A7DCC 802794EC 4600B306 */ mov.s $f12, $f22 +/* 1A7DD0 802794F0 4600B306 */ mov.s $f12, $f22 +/* 1A7DD4 802794F4 4600A386 */ mov.s $f14, $f20 +/* 1A7DD8 802794F8 4406D000 */ mfc1 $a2, $f26 +/* 1A7DDC 802794FC 4407E000 */ mfc1 $a3, $f28 +/* 1A7DE0 80279500 4618F781 */ sub.s $f30, $f30, $f24 +/* 1A7DE4 80279504 0C00A7B5 */ jal dist2D +/* 1A7DE8 80279508 E6000054 */ swc1 $f0, 0x54($s0) +/* 1A7DEC 8027950C 86020070 */ lh $v0, 0x70($s0) +/* 1A7DF0 80279510 46000106 */ mov.s $f4, $f0 +/* 1A7DF4 80279514 14400012 */ bnez $v0, .L80279560 +/* 1A7DF8 80279518 E6040058 */ swc1 $f4, 0x58($s0) +/* 1A7DFC 8027951C C600004C */ lwc1 $f0, 0x4c($s0) +/* 1A7E00 80279520 C602004C */ lwc1 $f2, 0x4c($s0) +/* 1A7E04 80279524 46002003 */ div.s $f0, $f4, $f0 +/* 1A7E08 80279528 4600028D */ trunc.w.s $f10, $f0 +/* 1A7E0C 8027952C 44035000 */ mfc1 $v1, $f10 +/* 1A7E10 80279530 00000000 */ nop +/* 1A7E14 80279534 00031400 */ sll $v0, $v1, 0x10 +/* 1A7E18 80279538 00021403 */ sra $v0, $v0, 0x10 +/* 1A7E1C 8027953C 44820000 */ mtc1 $v0, $f0 +/* 1A7E20 80279540 00000000 */ nop +/* 1A7E24 80279544 46800020 */ cvt.s.w $f0, $f0 +/* 1A7E28 80279548 46020002 */ mul.s $f0, $f0, $f2 +/* 1A7E2C 8027954C 00000000 */ nop +/* 1A7E30 80279550 46002086 */ mov.s $f2, $f4 +/* 1A7E34 80279554 A6030070 */ sh $v1, 0x70($s0) +/* 1A7E38 80279558 0809E565 */ j func_80279594 +/* 1A7E3C 8027955C 46001201 */ sub.s $f8, $f2, $f0 + +.L80279560: +/* 1A7E40 80279560 44821000 */ mtc1 $v0, $f2 +/* 1A7E44 80279564 00000000 */ nop +/* 1A7E48 80279568 468010A0 */ cvt.s.w $f2, $f2 +/* 1A7E4C 8027956C 86020070 */ lh $v0, 0x70($s0) +/* 1A7E50 80279570 46022083 */ div.s $f2, $f4, $f2 +/* 1A7E54 80279574 44820000 */ mtc1 $v0, $f0 +/* 1A7E58 80279578 00000000 */ nop +/* 1A7E5C 8027957C 46800020 */ cvt.s.w $f0, $f0 +/* 1A7E60 80279580 46020002 */ mul.s $f0, $f0, $f2 +/* 1A7E64 80279584 00000000 */ nop +/* 1A7E68 80279588 C6040058 */ lwc1 $f4, 0x58($s0) +/* 1A7E6C 8027958C E602004C */ swc1 $f2, 0x4c($s0) +/* 1A7E70 80279590 46002201 */ sub.s $f8, $f4, $f0 +func_80279594: +/* 1A7E74 80279594 86220064 */ lh $v0, 0x64($s1) +/* 1A7E78 80279598 14400003 */ bnez $v0, .L802795A8 +/* 1A7E7C 8027959C 00000000 */ nop +/* 1A7E80 802795A0 0809E5BE */ j func_802796F8 +/* 1A7E84 802795A4 24020002 */ addiu $v0, $zero, 2 + +.L802795A8: +/* 1A7E88 802795A8 C622003C */ lwc1 $f2, 0x3c($s1) +/* 1A7E8C 802795AC 44823000 */ mtc1 $v0, $f6 +/* 1A7E90 802795B0 00000000 */ nop +/* 1A7E94 802795B4 468031A0 */ cvt.s.w $f6, $f6 +/* 1A7E98 802795B8 46061082 */ mul.s $f2, $f2, $f6 +/* 1A7E9C 802795BC 00000000 */ nop +/* 1A7EA0 802795C0 3C013F00 */ lui $at, 0x3f00 +/* 1A7EA4 802795C4 44810000 */ mtc1 $at, $f0 +/* 1A7EA8 802795C8 00000000 */ nop +/* 1A7EAC 802795CC 46001082 */ mul.s $f2, $f2, $f0 +/* 1A7EB0 802795D0 00000000 */ nop +/* 1A7EB4 802795D4 86220064 */ lh $v0, 0x64($s1) +/* 1A7EB8 802795D8 C6240040 */ lwc1 $f4, 0x40($s1) +/* 1A7EBC 802795DC 44820000 */ mtc1 $v0, $f0 +/* 1A7EC0 802795E0 00000000 */ nop +/* 1A7EC4 802795E4 46800020 */ cvt.s.w $f0, $f0 +/* 1A7EC8 802795E8 46004003 */ div.s $f0, $f8, $f0 +/* 1A7ECC 802795EC 46002100 */ add.s $f4, $f4, $f0 +/* 1A7ED0 802795F0 4606F183 */ div.s $f6, $f30, $f6 +/* 1A7ED4 802795F4 46061080 */ add.s $f2, $f2, $f6 +/* 1A7ED8 802795F8 E6240040 */ swc1 $f4, 0x40($s1) +/* 1A7EDC 802795FC E6220044 */ swc1 $f2, 0x44($s1) +/* 1A7EE0 80279600 8E0201AC */ lw $v0, 0x1ac($s0) +/* 1A7EE4 80279604 10400009 */ beqz $v0, .L8027962C +/* 1A7EE8 80279608 24020001 */ addiu $v0, $zero, 1 +/* 1A7EEC 8027960C C600014C */ lwc1 $f0, 0x14c($s0) +/* 1A7EF0 80279610 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A7EF4 80279614 8E0401AC */ lw $a0, 0x1ac($s0) +/* 1A7EF8 80279618 8E060144 */ lw $a2, 0x144($s0) +/* 1A7EFC 8027961C 8E070148 */ lw $a3, 0x148($s0) +/* 1A7F00 80279620 0C052757 */ jal play_sound_at_position +/* 1A7F04 80279624 0000282D */ daddu $a1, $zero, $zero +/* 1A7F08 80279628 24020001 */ addiu $v0, $zero, 1 +.L8027962C: +/* 1A7F0C 8027962C AE420070 */ sw $v0, 0x70($s2) +.L80279630: +/* 1A7F10 80279630 8E500074 */ lw $s0, 0x74($s2) +/* 1A7F14 80279634 C6000050 */ lwc1 $f0, 0x50($s0) +/* 1A7F18 80279638 C6040010 */ lwc1 $f4, 0x10($s0) +/* 1A7F1C 8027963C 46000086 */ mov.s $f2, $f0 +/* 1A7F20 80279640 46002101 */ sub.s $f4, $f4, $f0 +/* 1A7F24 80279644 C6000048 */ lwc1 $f0, 0x48($s0) +/* 1A7F28 80279648 46001081 */ sub.s $f2, $f2, $f0 +/* 1A7F2C 8027964C 44800000 */ mtc1 $zero, $f0 +/* 1A7F30 80279650 2611000C */ addiu $s1, $s0, 0xc +/* 1A7F34 80279654 E6040010 */ swc1 $f4, 0x10($s0) +/* 1A7F38 80279658 4602003C */ c.lt.s $f0, $f2 +/* 1A7F3C 8027965C 00000000 */ nop +/* 1A7F40 80279660 45000007 */ bc1f .L80279680 +/* 1A7F44 80279664 E6020050 */ swc1 $f2, 0x50($s0) +/* 1A7F48 80279668 C602001C */ lwc1 $f2, 0x1c($s0) +/* 1A7F4C 8027966C 46002006 */ mov.s $f0, $f4 +/* 1A7F50 80279670 4600103C */ c.lt.s $f2, $f0 +/* 1A7F54 80279674 00000000 */ nop +/* 1A7F58 80279678 45030001 */ bc1tl .L80279680 +/* 1A7F5C 8027967C E6020010 */ swc1 $f2, 0x10($s0) +.L80279680: +/* 1A7F60 80279680 8E250040 */ lw $a1, 0x40($s1) +/* 1A7F64 80279684 8E260048 */ lw $a2, 0x48($s1) +/* 1A7F68 80279688 0C09904A */ jal add_xz_vec3f +/* 1A7F6C 8027968C 0220202D */ daddu $a0, $s1, $zero +/* 1A7F70 80279690 C6200000 */ lwc1 $f0, ($s1) +/* 1A7F74 80279694 E6000144 */ swc1 $f0, 0x144($s0) +/* 1A7F78 80279698 C6200004 */ lwc1 $f0, 4($s1) +/* 1A7F7C 8027969C E6000148 */ swc1 $f0, 0x148($s0) +/* 1A7F80 802796A0 C6200008 */ lwc1 $f0, 8($s1) +/* 1A7F84 802796A4 E600014C */ swc1 $f0, 0x14c($s0) +/* 1A7F88 802796A8 96220064 */ lhu $v0, 0x64($s1) +/* 1A7F8C 802796AC 2442FFFF */ addiu $v0, $v0, -1 +/* 1A7F90 802796B0 A6220064 */ sh $v0, 0x64($s1) +/* 1A7F94 802796B4 00021400 */ sll $v0, $v0, 0x10 +/* 1A7F98 802796B8 1C40000F */ bgtz $v0, .L802796F8 +/* 1A7F9C 802796BC 0000102D */ daddu $v0, $zero, $zero +/* 1A7FA0 802796C0 C6200048 */ lwc1 $f0, 0x48($s1) +/* 1A7FA4 802796C4 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A7FA8 802796C8 8E25000C */ lw $a1, 0xc($s1) +/* 1A7FAC 802796CC 8E260010 */ lw $a2, 0x10($s1) +/* 1A7FB0 802796D0 8E270014 */ lw $a3, 0x14($s1) +/* 1A7FB4 802796D4 0C0990BC */ jal play_movement_dust_effects +/* 1A7FB8 802796D8 24040002 */ addiu $a0, $zero, 2 +/* 1A7FBC 802796DC C620000C */ lwc1 $f0, 0xc($s1) +/* 1A7FC0 802796E0 E6000144 */ swc1 $f0, 0x144($s0) +/* 1A7FC4 802796E4 C6200010 */ lwc1 $f0, 0x10($s1) +/* 1A7FC8 802796E8 E6000148 */ swc1 $f0, 0x148($s0) +/* 1A7FCC 802796EC C6200014 */ lwc1 $f0, 0x14($s1) +/* 1A7FD0 802796F0 24020001 */ addiu $v0, $zero, 1 +/* 1A7FD4 802796F4 E600014C */ swc1 $f0, 0x14c($s0) +func_802796F8: +.L802796F8: +/* 1A7FD8 802796F8 8FBF0024 */ lw $ra, 0x24($sp) +/* 1A7FDC 802796FC 8FB20020 */ lw $s2, 0x20($sp) +/* 1A7FE0 80279700 8FB1001C */ lw $s1, 0x1c($sp) +/* 1A7FE4 80279704 8FB00018 */ lw $s0, 0x18($sp) +/* 1A7FE8 80279708 D7BE0050 */ ldc1 $f30, 0x50($sp) +/* 1A7FEC 8027970C D7BC0048 */ ldc1 $f28, 0x48($sp) +/* 1A7FF0 80279710 D7BA0040 */ ldc1 $f26, 0x40($sp) +/* 1A7FF4 80279714 D7B80038 */ ldc1 $f24, 0x38($sp) +/* 1A7FF8 80279718 D7B60030 */ ldc1 $f22, 0x30($sp) +/* 1A7FFC 8027971C D7B40028 */ ldc1 $f20, 0x28($sp) +/* 1A8000 80279720 03E00008 */ jr $ra +/* 1A8004 80279724 27BD0058 */ addiu $sp, $sp, 0x58 + +JumpWithBounce: +/* 1A8008 80279728 27BDFFA8 */ addiu $sp, $sp, -0x58 +/* 1A800C 8027972C AFB20020 */ sw $s2, 0x20($sp) +/* 1A8010 80279730 0080902D */ daddu $s2, $a0, $zero +/* 1A8014 80279734 AFBF0024 */ sw $ra, 0x24($sp) +/* 1A8018 80279738 AFB1001C */ sw $s1, 0x1c($sp) +/* 1A801C 8027973C AFB00018 */ sw $s0, 0x18($sp) +/* 1A8020 80279740 F7BE0050 */ sdc1 $f30, 0x50($sp) +/* 1A8024 80279744 F7BC0048 */ sdc1 $f28, 0x48($sp) +/* 1A8028 80279748 F7BA0040 */ sdc1 $f26, 0x40($sp) +/* 1A802C 8027974C F7B80038 */ sdc1 $f24, 0x38($sp) +/* 1A8030 80279750 F7B60030 */ sdc1 $f22, 0x30($sp) +/* 1A8034 80279754 F7B40028 */ sdc1 $f20, 0x28($sp) +/* 1A8038 80279758 8E51000C */ lw $s1, 0xc($s2) +/* 1A803C 8027975C 54A00001 */ bnezl $a1, .L80279764 +/* 1A8040 80279760 AE400070 */ sw $zero, 0x70($s2) +.L80279764: +/* 1A8044 80279764 8E420070 */ lw $v0, 0x70($s2) +/* 1A8048 80279768 14400079 */ bnez $v0, .L80279950 +/* 1A804C 8027976C 24040002 */ addiu $a0, $zero, 2 +/* 1A8050 80279770 8E250000 */ lw $a1, ($s1) +/* 1A8054 80279774 26310004 */ addiu $s1, $s1, 4 +/* 1A8058 80279778 0C0B1EAF */ jal get_variable +/* 1A805C 8027977C 0240202D */ daddu $a0, $s2, $zero +/* 1A8060 80279780 0040202D */ daddu $a0, $v0, $zero +/* 1A8064 80279784 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1A8068 80279788 14820002 */ bne $a0, $v0, .L80279794 +/* 1A806C 8027978C 00000000 */ nop +/* 1A8070 80279790 8E440148 */ lw $a0, 0x148($s2) +.L80279794: +/* 1A8074 80279794 0C09A75B */ jal get_actor +/* 1A8078 80279798 00000000 */ nop +/* 1A807C 8027979C 0040802D */ daddu $s0, $v0, $zero +/* 1A8080 802797A0 AE500074 */ sw $s0, 0x74($s2) +/* 1A8084 802797A4 8E250000 */ lw $a1, ($s1) +/* 1A8088 802797A8 26310004 */ addiu $s1, $s1, 4 +/* 1A808C 802797AC 0C0B1EAF */ jal get_variable +/* 1A8090 802797B0 0240202D */ daddu $a0, $s2, $zero +/* 1A8094 802797B4 A6020070 */ sh $v0, 0x70($s0) +/* 1A8098 802797B8 8E250000 */ lw $a1, ($s1) +/* 1A809C 802797BC 0C0B210B */ jal get_float_variable +/* 1A80A0 802797C0 0240202D */ daddu $a0, $s2, $zero +/* 1A80A4 802797C4 C6020148 */ lwc1 $f2, 0x148($s0) +/* 1A80A8 802797C8 C61A0018 */ lwc1 $f26, 0x18($s0) +/* 1A80AC 802797CC C61C0020 */ lwc1 $f28, 0x20($s0) +/* 1A80B0 802797D0 C614014C */ lwc1 $f20, 0x14c($s0) +/* 1A80B4 802797D4 C618001C */ lwc1 $f24, 0x1c($s0) +/* 1A80B8 802797D8 2611000C */ addiu $s1, $s0, 0xc +/* 1A80BC 802797DC E600005C */ swc1 $f0, 0x5c($s0) +/* 1A80C0 802797E0 E6020010 */ swc1 $f2, 0x10($s0) +/* 1A80C4 802797E4 46001786 */ mov.s $f30, $f2 +/* 1A80C8 802797E8 4406D000 */ mfc1 $a2, $f26 +/* 1A80CC 802797EC 4407E000 */ mfc1 $a3, $f28 +/* 1A80D0 802797F0 C6020144 */ lwc1 $f2, 0x144($s0) +/* 1A80D4 802797F4 4600A386 */ mov.s $f14, $f20 +/* 1A80D8 802797F8 E6140014 */ swc1 $f20, 0x14($s0) +/* 1A80DC 802797FC E602000C */ swc1 $f2, 0xc($s0) +/* 1A80E0 80279800 46001586 */ mov.s $f22, $f2 +/* 1A80E4 80279804 0C00A720 */ jal atan2 +/* 1A80E8 80279808 4600B306 */ mov.s $f12, $f22 +/* 1A80EC 8027980C 4600B306 */ mov.s $f12, $f22 +/* 1A80F0 80279810 4600A386 */ mov.s $f14, $f20 +/* 1A80F4 80279814 4406D000 */ mfc1 $a2, $f26 +/* 1A80F8 80279818 4407E000 */ mfc1 $a3, $f28 +/* 1A80FC 8027981C 461EC781 */ sub.s $f30, $f24, $f30 +/* 1A8100 80279820 0C00A7B5 */ jal dist2D +/* 1A8104 80279824 E6000054 */ swc1 $f0, 0x54($s0) +/* 1A8108 80279828 86020070 */ lh $v0, 0x70($s0) +/* 1A810C 8027982C 46000106 */ mov.s $f4, $f0 +/* 1A8110 80279830 14400012 */ bnez $v0, .L8027987C +/* 1A8114 80279834 E6040058 */ swc1 $f4, 0x58($s0) +/* 1A8118 80279838 C600004C */ lwc1 $f0, 0x4c($s0) +/* 1A811C 8027983C C602004C */ lwc1 $f2, 0x4c($s0) +/* 1A8120 80279840 46002003 */ div.s $f0, $f4, $f0 +/* 1A8124 80279844 4600028D */ trunc.w.s $f10, $f0 +/* 1A8128 80279848 44035000 */ mfc1 $v1, $f10 +/* 1A812C 8027984C 00000000 */ nop +/* 1A8130 80279850 00031400 */ sll $v0, $v1, 0x10 +/* 1A8134 80279854 00021403 */ sra $v0, $v0, 0x10 +/* 1A8138 80279858 44820000 */ mtc1 $v0, $f0 +/* 1A813C 8027985C 00000000 */ nop +/* 1A8140 80279860 46800020 */ cvt.s.w $f0, $f0 +/* 1A8144 80279864 46020002 */ mul.s $f0, $f0, $f2 +/* 1A8148 80279868 00000000 */ nop +/* 1A814C 8027986C 46002086 */ mov.s $f2, $f4 +/* 1A8150 80279870 A6030070 */ sh $v1, 0x70($s0) +/* 1A8154 80279874 0809E62C */ j func_802798B0 +/* 1A8158 80279878 46001201 */ sub.s $f8, $f2, $f0 + +.L8027987C: +/* 1A815C 8027987C 44821000 */ mtc1 $v0, $f2 +/* 1A8160 80279880 00000000 */ nop +/* 1A8164 80279884 468010A0 */ cvt.s.w $f2, $f2 +/* 1A8168 80279888 86020070 */ lh $v0, 0x70($s0) +/* 1A816C 8027988C 46022083 */ div.s $f2, $f4, $f2 +/* 1A8170 80279890 44820000 */ mtc1 $v0, $f0 +/* 1A8174 80279894 00000000 */ nop +/* 1A8178 80279898 46800020 */ cvt.s.w $f0, $f0 +/* 1A817C 8027989C 46020002 */ mul.s $f0, $f0, $f2 +/* 1A8180 802798A0 00000000 */ nop +/* 1A8184 802798A4 C6040058 */ lwc1 $f4, 0x58($s0) +/* 1A8188 802798A8 E602004C */ swc1 $f2, 0x4c($s0) +/* 1A818C 802798AC 46002201 */ sub.s $f8, $f4, $f0 +func_802798B0: +/* 1A8190 802798B0 86220064 */ lh $v0, 0x64($s1) +/* 1A8194 802798B4 14400003 */ bnez $v0, .L802798C4 +/* 1A8198 802798B8 00000000 */ nop +/* 1A819C 802798BC 0809E6A9 */ j func_80279AA4 +/* 1A81A0 802798C0 24020002 */ addiu $v0, $zero, 2 + +.L802798C4: +/* 1A81A4 802798C4 C622003C */ lwc1 $f2, 0x3c($s1) +/* 1A81A8 802798C8 44823000 */ mtc1 $v0, $f6 +/* 1A81AC 802798CC 00000000 */ nop +/* 1A81B0 802798D0 468031A0 */ cvt.s.w $f6, $f6 +/* 1A81B4 802798D4 46061082 */ mul.s $f2, $f2, $f6 +/* 1A81B8 802798D8 00000000 */ nop +/* 1A81BC 802798DC 3C013F00 */ lui $at, 0x3f00 +/* 1A81C0 802798E0 44810000 */ mtc1 $at, $f0 +/* 1A81C4 802798E4 00000000 */ nop +/* 1A81C8 802798E8 46001082 */ mul.s $f2, $f2, $f0 +/* 1A81CC 802798EC 00000000 */ nop +/* 1A81D0 802798F0 86220064 */ lh $v0, 0x64($s1) +/* 1A81D4 802798F4 C6240040 */ lwc1 $f4, 0x40($s1) +/* 1A81D8 802798F8 44820000 */ mtc1 $v0, $f0 +/* 1A81DC 802798FC 00000000 */ nop +/* 1A81E0 80279900 46800020 */ cvt.s.w $f0, $f0 +/* 1A81E4 80279904 46004003 */ div.s $f0, $f8, $f0 +/* 1A81E8 80279908 46002100 */ add.s $f4, $f4, $f0 +/* 1A81EC 8027990C 4606F183 */ div.s $f6, $f30, $f6 +/* 1A81F0 80279910 46061080 */ add.s $f2, $f2, $f6 +/* 1A81F4 80279914 E6240040 */ swc1 $f4, 0x40($s1) +/* 1A81F8 80279918 E6220044 */ swc1 $f2, 0x44($s1) +/* 1A81FC 8027991C 8E0201AC */ lw $v0, 0x1ac($s0) +/* 1A8200 80279920 10400009 */ beqz $v0, .L80279948 +/* 1A8204 80279924 24020001 */ addiu $v0, $zero, 1 +/* 1A8208 80279928 C600014C */ lwc1 $f0, 0x14c($s0) +/* 1A820C 8027992C E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A8210 80279930 8E0401AC */ lw $a0, 0x1ac($s0) +/* 1A8214 80279934 8E060144 */ lw $a2, 0x144($s0) +/* 1A8218 80279938 8E070148 */ lw $a3, 0x148($s0) +/* 1A821C 8027993C 0C052757 */ jal play_sound_at_position +/* 1A8220 80279940 0000282D */ daddu $a1, $zero, $zero +/* 1A8224 80279944 24020001 */ addiu $v0, $zero, 1 +.L80279948: +/* 1A8228 80279948 AE420070 */ sw $v0, 0x70($s2) +/* 1A822C 8027994C 24040002 */ addiu $a0, $zero, 2 +.L80279950: +/* 1A8230 80279950 8E500074 */ lw $s0, 0x74($s2) +/* 1A8234 80279954 8E430070 */ lw $v1, 0x70($s2) +/* 1A8238 80279958 1064002D */ beq $v1, $a0, .L80279A10 +/* 1A823C 8027995C 2611000C */ addiu $s1, $s0, 0xc +/* 1A8240 80279960 28620003 */ slti $v0, $v1, 3 +/* 1A8244 80279964 10400005 */ beqz $v0, .L8027997C +/* 1A8248 80279968 24020001 */ addiu $v0, $zero, 1 +/* 1A824C 8027996C 10620008 */ beq $v1, $v0, .L80279990 +/* 1A8250 80279970 00000000 */ nop +/* 1A8254 80279974 0809E6A2 */ j func_80279A88 +/* 1A8258 80279978 00000000 */ nop + +.L8027997C: +/* 1A825C 8027997C 24020003 */ addiu $v0, $zero, 3 +/* 1A8260 80279980 10620048 */ beq $v1, $v0, .L80279AA4 +/* 1A8264 80279984 24020002 */ addiu $v0, $zero, 2 +/* 1A8268 80279988 0809E6A2 */ j func_80279A88 +/* 1A826C 8027998C 00000000 */ nop + +.L80279990: +/* 1A8270 80279990 C6000050 */ lwc1 $f0, 0x50($s0) +/* 1A8274 80279994 C6040010 */ lwc1 $f4, 0x10($s0) +/* 1A8278 80279998 46000086 */ mov.s $f2, $f0 +/* 1A827C 8027999C 46002100 */ add.s $f4, $f4, $f0 +/* 1A8280 802799A0 C6000048 */ lwc1 $f0, 0x48($s0) +/* 1A8284 802799A4 46001081 */ sub.s $f2, $f2, $f0 +/* 1A8288 802799A8 44800000 */ mtc1 $zero, $f0 +/* 1A828C 802799AC E6040010 */ swc1 $f4, 0x10($s0) +/* 1A8290 802799B0 4600103C */ c.lt.s $f2, $f0 +/* 1A8294 802799B4 00000000 */ nop +/* 1A8298 802799B8 4500000F */ bc1f .L802799F8 +/* 1A829C 802799BC E6020050 */ swc1 $f2, 0x50($s0) +/* 1A82A0 802799C0 C600001C */ lwc1 $f0, 0x1c($s0) +/* 1A82A4 802799C4 46002086 */ mov.s $f2, $f4 +/* 1A82A8 802799C8 4600103C */ c.lt.s $f2, $f0 +/* 1A82AC 802799CC 00000000 */ nop +/* 1A82B0 802799D0 45000009 */ bc1f .L802799F8 +/* 1A82B4 802799D4 00000000 */ nop +/* 1A82B8 802799D8 C6020050 */ lwc1 $f2, 0x50($s0) +/* 1A82BC 802799DC C604005C */ lwc1 $f4, 0x5c($s0) +/* 1A82C0 802799E0 C6000048 */ lwc1 $f0, 0x48($s0) +/* 1A82C4 802799E4 46041083 */ div.s $f2, $f2, $f4 +/* 1A82C8 802799E8 46000007 */ neg.s $f0, $f0 +/* 1A82CC 802799EC E6000048 */ swc1 $f0, 0x48($s0) +/* 1A82D0 802799F0 E6020050 */ swc1 $f2, 0x50($s0) +/* 1A82D4 802799F4 AE440070 */ sw $a0, 0x70($s2) +.L802799F8: +/* 1A82D8 802799F8 8E250040 */ lw $a1, 0x40($s1) +/* 1A82DC 802799FC 8E260048 */ lw $a2, 0x48($s1) +/* 1A82E0 80279A00 0C09904A */ jal add_xz_vec3f +/* 1A82E4 80279A04 0220202D */ daddu $a0, $s1, $zero +/* 1A82E8 80279A08 0809E6A2 */ j func_80279A88 +/* 1A82EC 80279A0C 00000000 */ nop + +.L80279A10: +/* 1A82F0 80279A10 C6000050 */ lwc1 $f0, 0x50($s0) +/* 1A82F4 80279A14 C6040010 */ lwc1 $f4, 0x10($s0) +/* 1A82F8 80279A18 46000086 */ mov.s $f2, $f0 +/* 1A82FC 80279A1C 46002100 */ add.s $f4, $f4, $f0 +/* 1A8300 80279A20 C6000048 */ lwc1 $f0, 0x48($s0) +/* 1A8304 80279A24 46001081 */ sub.s $f2, $f2, $f0 +/* 1A8308 80279A28 44800000 */ mtc1 $zero, $f0 +/* 1A830C 80279A2C E6040010 */ swc1 $f4, 0x10($s0) +/* 1A8310 80279A30 4602003C */ c.lt.s $f0, $f2 +/* 1A8314 80279A34 00000000 */ nop +/* 1A8318 80279A38 45000009 */ bc1f .L80279A60 +/* 1A831C 80279A3C E6020050 */ swc1 $f2, 0x50($s0) +/* 1A8320 80279A40 C602001C */ lwc1 $f2, 0x1c($s0) +/* 1A8324 80279A44 46002006 */ mov.s $f0, $f4 +/* 1A8328 80279A48 4600103C */ c.lt.s $f2, $f0 +/* 1A832C 80279A4C 00000000 */ nop +/* 1A8330 80279A50 45000003 */ bc1f .L80279A60 +/* 1A8334 80279A54 24020003 */ addiu $v0, $zero, 3 +/* 1A8338 80279A58 E6020010 */ swc1 $f2, 0x10($s0) +/* 1A833C 80279A5C AE420070 */ sw $v0, 0x70($s2) +.L80279A60: +/* 1A8340 80279A60 8E250040 */ lw $a1, 0x40($s1) +/* 1A8344 80279A64 8E260048 */ lw $a2, 0x48($s1) +/* 1A8348 80279A68 0C09904A */ jal add_xz_vec3f +/* 1A834C 80279A6C 0220202D */ daddu $a0, $s1, $zero +/* 1A8350 80279A70 C6200000 */ lwc1 $f0, ($s1) +/* 1A8354 80279A74 E6000144 */ swc1 $f0, 0x144($s0) +/* 1A8358 80279A78 C6200004 */ lwc1 $f0, 4($s1) +/* 1A835C 80279A7C E6000148 */ swc1 $f0, 0x148($s0) +/* 1A8360 80279A80 C6200008 */ lwc1 $f0, 8($s1) +/* 1A8364 80279A84 E600014C */ swc1 $f0, 0x14c($s0) +func_80279A88: +/* 1A8368 80279A88 C6200000 */ lwc1 $f0, ($s1) +/* 1A836C 80279A8C E6000144 */ swc1 $f0, 0x144($s0) +/* 1A8370 80279A90 C6200004 */ lwc1 $f0, 4($s1) +/* 1A8374 80279A94 E6000148 */ swc1 $f0, 0x148($s0) +/* 1A8378 80279A98 C6200008 */ lwc1 $f0, 8($s1) +/* 1A837C 80279A9C 0000102D */ daddu $v0, $zero, $zero +/* 1A8380 80279AA0 E600014C */ swc1 $f0, 0x14c($s0) +func_80279AA4: +.L80279AA4: +/* 1A8384 80279AA4 8FBF0024 */ lw $ra, 0x24($sp) +/* 1A8388 80279AA8 8FB20020 */ lw $s2, 0x20($sp) +/* 1A838C 80279AAC 8FB1001C */ lw $s1, 0x1c($sp) +/* 1A8390 80279AB0 8FB00018 */ lw $s0, 0x18($sp) +/* 1A8394 80279AB4 D7BE0050 */ ldc1 $f30, 0x50($sp) +/* 1A8398 80279AB8 D7BC0048 */ ldc1 $f28, 0x48($sp) +/* 1A839C 80279ABC D7BA0040 */ ldc1 $f26, 0x40($sp) +/* 1A83A0 80279AC0 D7B80038 */ ldc1 $f24, 0x38($sp) +/* 1A83A4 80279AC4 D7B60030 */ ldc1 $f22, 0x30($sp) +/* 1A83A8 80279AC8 D7B40028 */ ldc1 $f20, 0x28($sp) +/* 1A83AC 80279ACC 03E00008 */ jr $ra +/* 1A83B0 80279AD0 27BD0058 */ addiu $sp, $sp, 0x58 + +LandJump: +/* 1A83B4 80279AD4 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 1A83B8 80279AD8 AFB1001C */ sw $s1, 0x1c($sp) +/* 1A83BC 80279ADC 0080882D */ daddu $s1, $a0, $zero +/* 1A83C0 80279AE0 AFBF0020 */ sw $ra, 0x20($sp) +/* 1A83C4 80279AE4 AFB00018 */ sw $s0, 0x18($sp) +/* 1A83C8 80279AE8 8E23000C */ lw $v1, 0xc($s1) +/* 1A83CC 80279AEC 54A00001 */ bnezl $a1, .L80279AF4 +/* 1A83D0 80279AF0 AE200070 */ sw $zero, 0x70($s1) +.L80279AF4: +/* 1A83D4 80279AF4 8E220070 */ lw $v0, 0x70($s1) +/* 1A83D8 80279AF8 14400015 */ bnez $v0, .L80279B50 +/* 1A83DC 80279AFC 00000000 */ nop +/* 1A83E0 80279B00 8C650000 */ lw $a1, ($v1) +/* 1A83E4 80279B04 0C0B1EAF */ jal get_variable +/* 1A83E8 80279B08 0220202D */ daddu $a0, $s1, $zero +/* 1A83EC 80279B0C 0040202D */ daddu $a0, $v0, $zero +/* 1A83F0 80279B10 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1A83F4 80279B14 14820002 */ bne $a0, $v0, .L80279B20 +/* 1A83F8 80279B18 00000000 */ nop +/* 1A83FC 80279B1C 8E240148 */ lw $a0, 0x148($s1) +.L80279B20: +/* 1A8400 80279B20 0C09A75B */ jal get_actor +/* 1A8404 80279B24 00000000 */ nop +/* 1A8408 80279B28 0040802D */ daddu $s0, $v0, $zero +/* 1A840C 80279B2C AE300074 */ sw $s0, 0x74($s1) +/* 1A8410 80279B30 C6000144 */ lwc1 $f0, 0x144($s0) +/* 1A8414 80279B34 C6020148 */ lwc1 $f2, 0x148($s0) +/* 1A8418 80279B38 C604014C */ lwc1 $f4, 0x14c($s0) +/* 1A841C 80279B3C 24020001 */ addiu $v0, $zero, 1 +/* 1A8420 80279B40 E600000C */ swc1 $f0, 0xc($s0) +/* 1A8424 80279B44 E6020010 */ swc1 $f2, 0x10($s0) +/* 1A8428 80279B48 E6040014 */ swc1 $f4, 0x14($s0) +/* 1A842C 80279B4C AE220070 */ sw $v0, 0x70($s1) +.L80279B50: +/* 1A8430 80279B50 8E300074 */ lw $s0, 0x74($s1) +/* 1A8434 80279B54 C6040010 */ lwc1 $f4, 0x10($s0) +/* 1A8438 80279B58 C6000050 */ lwc1 $f0, 0x50($s0) +/* 1A843C 80279B5C 8E05004C */ lw $a1, 0x4c($s0) +/* 1A8440 80279B60 46002100 */ add.s $f4, $f4, $f0 +/* 1A8444 80279B64 C6020048 */ lwc1 $f2, 0x48($s0) +/* 1A8448 80279B68 8E060054 */ lw $a2, 0x54($s0) +/* 1A844C 80279B6C 46020001 */ sub.s $f0, $f0, $f2 +/* 1A8450 80279B70 2604000C */ addiu $a0, $s0, 0xc +/* 1A8454 80279B74 E6040010 */ swc1 $f4, 0x10($s0) +/* 1A8458 80279B78 0C09904A */ jal add_xz_vec3f +/* 1A845C 80279B7C E6000050 */ swc1 $f0, 0x50($s0) +/* 1A8460 80279B80 C6000010 */ lwc1 $f0, 0x10($s0) +/* 1A8464 80279B84 C6020014 */ lwc1 $f2, 0x14($s0) +/* 1A8468 80279B88 44803000 */ mtc1 $zero, $f6 +/* 1A846C 80279B8C E6000148 */ swc1 $f0, 0x148($s0) +/* 1A8470 80279B90 C600000C */ lwc1 $f0, 0xc($s0) +/* 1A8474 80279B94 C6040148 */ lwc1 $f4, 0x148($s0) +/* 1A8478 80279B98 E602014C */ swc1 $f2, 0x14c($s0) +/* 1A847C 80279B9C 4606203C */ c.lt.s $f4, $f6 +/* 1A8480 80279BA0 00000000 */ nop +/* 1A8484 80279BA4 45010003 */ bc1t .L80279BB4 +/* 1A8488 80279BA8 E6000144 */ swc1 $f0, 0x144($s0) +/* 1A848C 80279BAC 0809E6F6 */ j func_80279BD8 +/* 1A8490 80279BB0 0000102D */ daddu $v0, $zero, $zero + +.L80279BB4: +/* 1A8494 80279BB4 C600018C */ lwc1 $f0, 0x18c($s0) +/* 1A8498 80279BB8 E6060148 */ swc1 $f6, 0x148($s0) +/* 1A849C 80279BBC E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A84A0 80279BC0 8E050144 */ lw $a1, 0x144($s0) +/* 1A84A4 80279BC4 8E060148 */ lw $a2, 0x148($s0) +/* 1A84A8 80279BC8 8E07014C */ lw $a3, 0x14c($s0) +/* 1A84AC 80279BCC 0C0990BC */ jal play_movement_dust_effects +/* 1A84B0 80279BD0 24040002 */ addiu $a0, $zero, 2 +/* 1A84B4 80279BD4 24020001 */ addiu $v0, $zero, 1 +func_80279BD8: +/* 1A84B8 80279BD8 8FBF0020 */ lw $ra, 0x20($sp) +/* 1A84BC 80279BDC 8FB1001C */ lw $s1, 0x1c($sp) +/* 1A84C0 80279BE0 8FB00018 */ lw $s0, 0x18($sp) +/* 1A84C4 80279BE4 03E00008 */ jr $ra +/* 1A84C8 80279BE8 27BD0028 */ addiu $sp, $sp, 0x28 + +FallToGoal: +/* 1A84CC 80279BEC 27BDFFA8 */ addiu $sp, $sp, -0x58 +/* 1A84D0 80279BF0 AFB20020 */ sw $s2, 0x20($sp) +/* 1A84D4 80279BF4 0080902D */ daddu $s2, $a0, $zero +/* 1A84D8 80279BF8 AFBF0024 */ sw $ra, 0x24($sp) +/* 1A84DC 80279BFC AFB1001C */ sw $s1, 0x1c($sp) +/* 1A84E0 80279C00 AFB00018 */ sw $s0, 0x18($sp) +/* 1A84E4 80279C04 F7BE0050 */ sdc1 $f30, 0x50($sp) +/* 1A84E8 80279C08 F7BC0048 */ sdc1 $f28, 0x48($sp) +/* 1A84EC 80279C0C F7BA0040 */ sdc1 $f26, 0x40($sp) +/* 1A84F0 80279C10 F7B80038 */ sdc1 $f24, 0x38($sp) +/* 1A84F4 80279C14 F7B60030 */ sdc1 $f22, 0x30($sp) +/* 1A84F8 80279C18 F7B40028 */ sdc1 $f20, 0x28($sp) +/* 1A84FC 80279C1C 8E51000C */ lw $s1, 0xc($s2) +/* 1A8500 80279C20 54A00001 */ bnezl $a1, .L80279C28 +/* 1A8504 80279C24 AE400070 */ sw $zero, 0x70($s2) +.L80279C28: +/* 1A8508 80279C28 8E420070 */ lw $v0, 0x70($s2) +/* 1A850C 80279C2C 1440005A */ bnez $v0, .L80279D98 +/* 1A8510 80279C30 00000000 */ nop +/* 1A8514 80279C34 8E250000 */ lw $a1, ($s1) +/* 1A8518 80279C38 26310004 */ addiu $s1, $s1, 4 +/* 1A851C 80279C3C 0C0B1EAF */ jal get_variable +/* 1A8520 80279C40 0240202D */ daddu $a0, $s2, $zero +/* 1A8524 80279C44 0040202D */ daddu $a0, $v0, $zero +/* 1A8528 80279C48 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1A852C 80279C4C 14820002 */ bne $a0, $v0, .L80279C58 +/* 1A8530 80279C50 00000000 */ nop +/* 1A8534 80279C54 8E440148 */ lw $a0, 0x148($s2) +.L80279C58: +/* 1A8538 80279C58 0C09A75B */ jal get_actor +/* 1A853C 80279C5C 00000000 */ nop +/* 1A8540 80279C60 0040802D */ daddu $s0, $v0, $zero +/* 1A8544 80279C64 AE500074 */ sw $s0, 0x74($s2) +/* 1A8548 80279C68 8E250000 */ lw $a1, ($s1) +/* 1A854C 80279C6C 0C0B1EAF */ jal get_variable +/* 1A8550 80279C70 0240202D */ daddu $a0, $s2, $zero +/* 1A8554 80279C74 C6000148 */ lwc1 $f0, 0x148($s0) +/* 1A8558 80279C78 C61A0018 */ lwc1 $f26, 0x18($s0) +/* 1A855C 80279C7C C61C0020 */ lwc1 $f28, 0x20($s0) +/* 1A8560 80279C80 C614014C */ lwc1 $f20, 0x14c($s0) +/* 1A8564 80279C84 C618001C */ lwc1 $f24, 0x1c($s0) +/* 1A8568 80279C88 A6020070 */ sh $v0, 0x70($s0) +/* 1A856C 80279C8C E6000010 */ swc1 $f0, 0x10($s0) +/* 1A8570 80279C90 46000786 */ mov.s $f30, $f0 +/* 1A8574 80279C94 4406D000 */ mfc1 $a2, $f26 +/* 1A8578 80279C98 4407E000 */ mfc1 $a3, $f28 +/* 1A857C 80279C9C C6000144 */ lwc1 $f0, 0x144($s0) +/* 1A8580 80279CA0 4600A386 */ mov.s $f14, $f20 +/* 1A8584 80279CA4 E6140014 */ swc1 $f20, 0x14($s0) +/* 1A8588 80279CA8 E600000C */ swc1 $f0, 0xc($s0) +/* 1A858C 80279CAC 46000586 */ mov.s $f22, $f0 +/* 1A8590 80279CB0 0C00A720 */ jal atan2 +/* 1A8594 80279CB4 4600B306 */ mov.s $f12, $f22 +/* 1A8598 80279CB8 4600B306 */ mov.s $f12, $f22 +/* 1A859C 80279CBC 4600A386 */ mov.s $f14, $f20 +/* 1A85A0 80279CC0 4406D000 */ mfc1 $a2, $f26 +/* 1A85A4 80279CC4 4407E000 */ mfc1 $a3, $f28 +/* 1A85A8 80279CC8 461EC781 */ sub.s $f30, $f24, $f30 +/* 1A85AC 80279CCC 0C00A7B5 */ jal dist2D +/* 1A85B0 80279CD0 E6000054 */ swc1 $f0, 0x54($s0) +/* 1A85B4 80279CD4 46000086 */ mov.s $f2, $f0 +/* 1A85B8 80279CD8 86020070 */ lh $v0, 0x70($s0) +/* 1A85BC 80279CDC 2611000C */ addiu $s1, $s0, 0xc +/* 1A85C0 80279CE0 14400007 */ bnez $v0, .L80279D00 +/* 1A85C4 80279CE4 E6020058 */ swc1 $f2, 0x58($s0) +/* 1A85C8 80279CE8 C600004C */ lwc1 $f0, 0x4c($s0) +/* 1A85CC 80279CEC 46001003 */ div.s $f0, $f2, $f0 +/* 1A85D0 80279CF0 4600018D */ trunc.w.s $f6, $f0 +/* 1A85D4 80279CF4 44023000 */ mfc1 $v0, $f6 +/* 1A85D8 80279CF8 0809E745 */ j func_80279D14 +/* 1A85DC 80279CFC A6020070 */ sh $v0, 0x70($s0) + +.L80279D00: +/* 1A85E0 80279D00 44820000 */ mtc1 $v0, $f0 +/* 1A85E4 80279D04 00000000 */ nop +/* 1A85E8 80279D08 46800020 */ cvt.s.w $f0, $f0 +/* 1A85EC 80279D0C 46001003 */ div.s $f0, $f2, $f0 +/* 1A85F0 80279D10 E600004C */ swc1 $f0, 0x4c($s0) +func_80279D14: +/* 1A85F4 80279D14 86230064 */ lh $v1, 0x64($s1) +/* 1A85F8 80279D18 3C013FE0 */ lui $at, 0x3fe0 +/* 1A85FC 80279D1C 44810800 */ mtc1 $at, $f1 +/* 1A8600 80279D20 44800000 */ mtc1 $zero, $f0 +/* 1A8604 80279D24 00031023 */ negu $v0, $v1 +/* 1A8608 80279D28 44821000 */ mtc1 $v0, $f2 +/* 1A860C 80279D2C 00000000 */ nop +/* 1A8610 80279D30 468010A1 */ cvt.d.w $f2, $f2 +/* 1A8614 80279D34 46201082 */ mul.d $f2, $f2, $f0 +/* 1A8618 80279D38 00000000 */ nop +/* 1A861C 80279D3C AE200044 */ sw $zero, 0x44($s1) +/* 1A8620 80279D40 C6240044 */ lwc1 $f4, 0x44($s1) +/* 1A8624 80279D44 44830000 */ mtc1 $v1, $f0 +/* 1A8628 80279D48 00000000 */ nop +/* 1A862C 80279D4C 46800020 */ cvt.s.w $f0, $f0 +/* 1A8630 80279D50 4600F003 */ div.s $f0, $f30, $f0 +/* 1A8634 80279D54 46040001 */ sub.s $f0, $f0, $f4 +/* 1A8638 80279D58 46000021 */ cvt.d.s $f0, $f0 +/* 1A863C 80279D5C 46220003 */ div.d $f0, $f0, $f2 +/* 1A8640 80279D60 46200020 */ cvt.s.d $f0, $f0 +/* 1A8644 80279D64 E620003C */ swc1 $f0, 0x3c($s1) +/* 1A8648 80279D68 8E0201AC */ lw $v0, 0x1ac($s0) +/* 1A864C 80279D6C 10400009 */ beqz $v0, .L80279D94 +/* 1A8650 80279D70 24020001 */ addiu $v0, $zero, 1 +/* 1A8654 80279D74 C600014C */ lwc1 $f0, 0x14c($s0) +/* 1A8658 80279D78 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A865C 80279D7C 8E0401AC */ lw $a0, 0x1ac($s0) +/* 1A8660 80279D80 8E060144 */ lw $a2, 0x144($s0) +/* 1A8664 80279D84 8E070148 */ lw $a3, 0x148($s0) +/* 1A8668 80279D88 0C052757 */ jal play_sound_at_position +/* 1A866C 80279D8C 0000282D */ daddu $a1, $zero, $zero +/* 1A8670 80279D90 24020001 */ addiu $v0, $zero, 1 +.L80279D94: +/* 1A8674 80279D94 AE420070 */ sw $v0, 0x70($s2) +.L80279D98: +/* 1A8678 80279D98 8E500074 */ lw $s0, 0x74($s2) +/* 1A867C 80279D9C C6040010 */ lwc1 $f4, 0x10($s0) +/* 1A8680 80279DA0 C6000050 */ lwc1 $f0, 0x50($s0) +/* 1A8684 80279DA4 8E05004C */ lw $a1, 0x4c($s0) +/* 1A8688 80279DA8 46002100 */ add.s $f4, $f4, $f0 +/* 1A868C 80279DAC C6020048 */ lwc1 $f2, 0x48($s0) +/* 1A8690 80279DB0 8E060054 */ lw $a2, 0x54($s0) +/* 1A8694 80279DB4 46020001 */ sub.s $f0, $f0, $f2 +/* 1A8698 80279DB8 2604000C */ addiu $a0, $s0, 0xc +/* 1A869C 80279DBC E6040010 */ swc1 $f4, 0x10($s0) +/* 1A86A0 80279DC0 0C09904A */ jal add_xz_vec3f +/* 1A86A4 80279DC4 E6000050 */ swc1 $f0, 0x50($s0) +/* 1A86A8 80279DC8 C600000C */ lwc1 $f0, 0xc($s0) +/* 1A86AC 80279DCC C6020010 */ lwc1 $f2, 0x10($s0) +/* 1A86B0 80279DD0 96020070 */ lhu $v0, 0x70($s0) +/* 1A86B4 80279DD4 C6040014 */ lwc1 $f4, 0x14($s0) +/* 1A86B8 80279DD8 2442FFFF */ addiu $v0, $v0, -1 +/* 1A86BC 80279DDC A6020070 */ sh $v0, 0x70($s0) +/* 1A86C0 80279DE0 00021400 */ sll $v0, $v0, 0x10 +/* 1A86C4 80279DE4 E6000144 */ swc1 $f0, 0x144($s0) +/* 1A86C8 80279DE8 E6020148 */ swc1 $f2, 0x148($s0) +/* 1A86CC 80279DEC 18400003 */ blez $v0, .L80279DFC +/* 1A86D0 80279DF0 E604014C */ swc1 $f4, 0x14c($s0) +/* 1A86D4 80279DF4 0809E78D */ j func_80279E34 +/* 1A86D8 80279DF8 0000102D */ daddu $v0, $zero, $zero + +.L80279DFC: +/* 1A86DC 80279DFC C6000054 */ lwc1 $f0, 0x54($s0) +/* 1A86E0 80279E00 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A86E4 80279E04 8E050018 */ lw $a1, 0x18($s0) +/* 1A86E8 80279E08 8E06001C */ lw $a2, 0x1c($s0) +/* 1A86EC 80279E0C 8E070020 */ lw $a3, 0x20($s0) +/* 1A86F0 80279E10 0C0990BC */ jal play_movement_dust_effects +/* 1A86F4 80279E14 24040002 */ addiu $a0, $zero, 2 +/* 1A86F8 80279E18 C6000018 */ lwc1 $f0, 0x18($s0) +/* 1A86FC 80279E1C C602001C */ lwc1 $f2, 0x1c($s0) +/* 1A8700 80279E20 C6040020 */ lwc1 $f4, 0x20($s0) +/* 1A8704 80279E24 24020001 */ addiu $v0, $zero, 1 +/* 1A8708 80279E28 E6000144 */ swc1 $f0, 0x144($s0) +/* 1A870C 80279E2C E6020148 */ swc1 $f2, 0x148($s0) +/* 1A8710 80279E30 E604014C */ swc1 $f4, 0x14c($s0) +func_80279E34: +/* 1A8714 80279E34 8FBF0024 */ lw $ra, 0x24($sp) +/* 1A8718 80279E38 8FB20020 */ lw $s2, 0x20($sp) +/* 1A871C 80279E3C 8FB1001C */ lw $s1, 0x1c($sp) +/* 1A8720 80279E40 8FB00018 */ lw $s0, 0x18($sp) +/* 1A8724 80279E44 D7BE0050 */ ldc1 $f30, 0x50($sp) +/* 1A8728 80279E48 D7BC0048 */ ldc1 $f28, 0x48($sp) +/* 1A872C 80279E4C D7BA0040 */ ldc1 $f26, 0x40($sp) +/* 1A8730 80279E50 D7B80038 */ ldc1 $f24, 0x38($sp) +/* 1A8734 80279E54 D7B60030 */ ldc1 $f22, 0x30($sp) +/* 1A8738 80279E58 D7B40028 */ ldc1 $f20, 0x28($sp) +/* 1A873C 80279E5C 03E00008 */ jr $ra +/* 1A8740 80279E60 27BD0058 */ addiu $sp, $sp, 0x58 + +RunToGoal: +/* 1A8744 80279E64 27BDFFB8 */ addiu $sp, $sp, -0x48 +/* 1A8748 80279E68 AFB20020 */ sw $s2, 0x20($sp) +/* 1A874C 80279E6C 0080902D */ daddu $s2, $a0, $zero +/* 1A8750 80279E70 AFBF0024 */ sw $ra, 0x24($sp) +/* 1A8754 80279E74 AFB1001C */ sw $s1, 0x1c($sp) +/* 1A8758 80279E78 AFB00018 */ sw $s0, 0x18($sp) +/* 1A875C 80279E7C F7BA0040 */ sdc1 $f26, 0x40($sp) +/* 1A8760 80279E80 F7B80038 */ sdc1 $f24, 0x38($sp) +/* 1A8764 80279E84 F7B60030 */ sdc1 $f22, 0x30($sp) +/* 1A8768 80279E88 F7B40028 */ sdc1 $f20, 0x28($sp) +/* 1A876C 80279E8C 8E51000C */ lw $s1, 0xc($s2) +/* 1A8770 80279E90 54A00001 */ bnezl $a1, .L80279E98 +/* 1A8774 80279E94 AE400070 */ sw $zero, 0x70($s2) +.L80279E98: +/* 1A8778 80279E98 8E420070 */ lw $v0, 0x70($s2) +/* 1A877C 80279E9C 14400067 */ bnez $v0, .L8027A03C +/* 1A8780 80279EA0 00000000 */ nop +/* 1A8784 80279EA4 8E250000 */ lw $a1, ($s1) +/* 1A8788 80279EA8 26310004 */ addiu $s1, $s1, 4 +/* 1A878C 80279EAC 0C0B1EAF */ jal get_variable +/* 1A8790 80279EB0 0240202D */ daddu $a0, $s2, $zero +/* 1A8794 80279EB4 0040202D */ daddu $a0, $v0, $zero +/* 1A8798 80279EB8 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1A879C 80279EBC 14820002 */ bne $a0, $v0, .L80279EC8 +/* 1A87A0 80279EC0 00000000 */ nop +/* 1A87A4 80279EC4 8E440148 */ lw $a0, 0x148($s2) +.L80279EC8: +/* 1A87A8 80279EC8 0C09A75B */ jal get_actor +/* 1A87AC 80279ECC 00000000 */ nop +/* 1A87B0 80279ED0 0040802D */ daddu $s0, $v0, $zero +/* 1A87B4 80279ED4 AE500074 */ sw $s0, 0x74($s2) +/* 1A87B8 80279ED8 8E250000 */ lw $a1, ($s1) +/* 1A87BC 80279EDC 26310004 */ addiu $s1, $s1, 4 +/* 1A87C0 80279EE0 0C0B1EAF */ jal get_variable +/* 1A87C4 80279EE4 0240202D */ daddu $a0, $s2, $zero +/* 1A87C8 80279EE8 A6020070 */ sh $v0, 0x70($s0) +/* 1A87CC 80279EEC 8E250000 */ lw $a1, ($s1) +/* 1A87D0 80279EF0 0C0B1EAF */ jal get_variable +/* 1A87D4 80279EF4 0240202D */ daddu $a0, $s2, $zero +/* 1A87D8 80279EF8 AE420078 */ sw $v0, 0x78($s2) +/* 1A87DC 80279EFC C6160018 */ lwc1 $f22, 0x18($s0) +/* 1A87E0 80279F00 C6180020 */ lwc1 $f24, 0x20($s0) +/* 1A87E4 80279F04 C6000144 */ lwc1 $f0, 0x144($s0) +/* 1A87E8 80279F08 C614014C */ lwc1 $f20, 0x14c($s0) +/* 1A87EC 80279F0C C602001C */ lwc1 $f2, 0x1c($s0) +/* 1A87F0 80279F10 4406B000 */ mfc1 $a2, $f22 +/* 1A87F4 80279F14 4407C000 */ mfc1 $a3, $f24 +/* 1A87F8 80279F18 2611000C */ addiu $s1, $s0, 0xc +/* 1A87FC 80279F1C E600000C */ swc1 $f0, 0xc($s0) +/* 1A8800 80279F20 C6000148 */ lwc1 $f0, 0x148($s0) +/* 1A8804 80279F24 C61A000C */ lwc1 $f26, 0xc($s0) +/* 1A8808 80279F28 4600A386 */ mov.s $f14, $f20 +/* 1A880C 80279F2C E6140014 */ swc1 $f20, 0x14($s0) +/* 1A8810 80279F30 E6160024 */ swc1 $f22, 0x24($s0) +/* 1A8814 80279F34 E6020028 */ swc1 $f2, 0x28($s0) +/* 1A8818 80279F38 E618002C */ swc1 $f24, 0x2c($s0) +/* 1A881C 80279F3C 4600D306 */ mov.s $f12, $f26 +/* 1A8820 80279F40 0C00A720 */ jal atan2 +/* 1A8824 80279F44 E6000010 */ swc1 $f0, 0x10($s0) +/* 1A8828 80279F48 4600D306 */ mov.s $f12, $f26 +/* 1A882C 80279F4C 4406B000 */ mfc1 $a2, $f22 +/* 1A8830 80279F50 4407C000 */ mfc1 $a3, $f24 +/* 1A8834 80279F54 4600A386 */ mov.s $f14, $f20 +/* 1A8838 80279F58 0C00A7B5 */ jal dist2D +/* 1A883C 80279F5C E6000054 */ swc1 $f0, 0x54($s0) +/* 1A8840 80279F60 86020070 */ lh $v0, 0x70($s0) +/* 1A8844 80279F64 46000086 */ mov.s $f2, $f0 +/* 1A8848 80279F68 14400018 */ bnez $v0, .L80279FCC +/* 1A884C 80279F6C E6020058 */ swc1 $f2, 0x58($s0) +/* 1A8850 80279F70 C600004C */ lwc1 $f0, 0x4c($s0) +/* 1A8854 80279F74 46001003 */ div.s $f0, $f2, $f0 +/* 1A8858 80279F78 4600020D */ trunc.w.s $f8, $f0 +/* 1A885C 80279F7C 44024000 */ mfc1 $v0, $f8 +/* 1A8860 80279F80 00000000 */ nop +/* 1A8864 80279F84 A6020070 */ sh $v0, 0x70($s0) +/* 1A8868 80279F88 00021400 */ sll $v0, $v0, 0x10 +/* 1A886C 80279F8C 14400002 */ bnez $v0, .L80279F98 +/* 1A8870 80279F90 24020001 */ addiu $v0, $zero, 1 +/* 1A8874 80279F94 A6020070 */ sh $v0, 0x70($s0) +.L80279F98: +/* 1A8878 80279F98 86020070 */ lh $v0, 0x70($s0) +/* 1A887C 80279F9C C602004C */ lwc1 $f2, 0x4c($s0) +/* 1A8880 80279FA0 44823000 */ mtc1 $v0, $f6 +/* 1A8884 80279FA4 00000000 */ nop +/* 1A8888 80279FA8 468031A0 */ cvt.s.w $f6, $f6 +/* 1A888C 80279FAC 46023102 */ mul.s $f4, $f6, $f2 +/* 1A8890 80279FB0 00000000 */ nop +/* 1A8894 80279FB4 C6000058 */ lwc1 $f0, 0x58($s0) +/* 1A8898 80279FB8 46040001 */ sub.s $f0, $f0, $f4 +/* 1A889C 80279FBC 46060003 */ div.s $f0, $f0, $f6 +/* 1A88A0 80279FC0 46001080 */ add.s $f2, $f2, $f0 +/* 1A88A4 80279FC4 0809E7F8 */ j func_80279FE0 +/* 1A88A8 80279FC8 E602004C */ swc1 $f2, 0x4c($s0) + +.L80279FCC: +/* 1A88AC 80279FCC 44820000 */ mtc1 $v0, $f0 +/* 1A88B0 80279FD0 00000000 */ nop +/* 1A88B4 80279FD4 46800020 */ cvt.s.w $f0, $f0 +/* 1A88B8 80279FD8 46001003 */ div.s $f0, $f2, $f0 +/* 1A88BC 80279FDC E600004C */ swc1 $f0, 0x4c($s0) +func_80279FE0: +/* 1A88C0 80279FE0 860201B4 */ lh $v0, 0x1b4($s0) +/* 1A88C4 80279FE4 04420002 */ bltzl $v0, .L80279FF0 +/* 1A88C8 80279FE8 00021027 */ nor $v0, $zero, $v0 +/* 1A88CC 80279FEC 24420001 */ addiu $v0, $v0, 1 +.L80279FF0: +/* 1A88D0 80279FF0 44820000 */ mtc1 $v0, $f0 +/* 1A88D4 80279FF4 00000000 */ nop +/* 1A88D8 80279FF8 46800020 */ cvt.s.w $f0, $f0 +/* 1A88DC 80279FFC E620004C */ swc1 $f0, 0x4c($s1) +/* 1A88E0 8027A000 8E02019C */ lw $v0, 0x19c($s0) +/* 1A88E4 8027A004 1040000C */ beqz $v0, .L8027A038 +/* 1A88E8 8027A008 24020001 */ addiu $v0, $zero, 1 +/* 1A88EC 8027A00C 8E0201A0 */ lw $v0, 0x1a0($s0) +/* 1A88F0 8027A010 14400009 */ bnez $v0, .L8027A038 +/* 1A88F4 8027A014 24020001 */ addiu $v0, $zero, 1 +/* 1A88F8 8027A018 C600014C */ lwc1 $f0, 0x14c($s0) +/* 1A88FC 8027A01C E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A8900 8027A020 8E04019C */ lw $a0, 0x19c($s0) +/* 1A8904 8027A024 8E060144 */ lw $a2, 0x144($s0) +/* 1A8908 8027A028 8E070148 */ lw $a3, 0x148($s0) +/* 1A890C 8027A02C 0C052757 */ jal play_sound_at_position +/* 1A8910 8027A030 0000282D */ daddu $a1, $zero, $zero +/* 1A8914 8027A034 24020001 */ addiu $v0, $zero, 1 +.L8027A038: +/* 1A8918 8027A038 AE420070 */ sw $v0, 0x70($s2) +.L8027A03C: +/* 1A891C 8027A03C 8E500074 */ lw $s0, 0x74($s2) +/* 1A8920 8027A040 2611000C */ addiu $s1, $s0, 0xc +/* 1A8924 8027A044 8E05004C */ lw $a1, 0x4c($s0) +/* 1A8928 8027A048 8E060054 */ lw $a2, 0x54($s0) +/* 1A892C 8027A04C 0C09904A */ jal add_xz_vec3f +/* 1A8930 8027A050 0220202D */ daddu $a0, $s1, $zero +/* 1A8934 8027A054 8E420078 */ lw $v0, 0x78($s2) +/* 1A8938 8027A058 14400017 */ bnez $v0, .L8027A0B8 +/* 1A893C 8027A05C 00000000 */ nop +/* 1A8940 8027A060 C602004C */ lwc1 $f2, 0x4c($s0) +/* 1A8944 8027A064 3C014080 */ lui $at, 0x4080 +/* 1A8948 8027A068 44810000 */ mtc1 $at, $f0 +/* 1A894C 8027A06C 00000000 */ nop +/* 1A8950 8027A070 4600103C */ c.lt.s $f2, $f0 +/* 1A8954 8027A074 00000000 */ nop +/* 1A8958 8027A078 45000007 */ bc1f .L8027A098 +/* 1A895C 8027A07C 0000202D */ daddu $a0, $zero, $zero +/* 1A8960 8027A080 C6000054 */ lwc1 $f0, 0x54($s0) +/* 1A8964 8027A084 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A8968 8027A088 8E05000C */ lw $a1, 0xc($s0) +/* 1A896C 8027A08C 8E060010 */ lw $a2, 0x10($s0) +/* 1A8970 8027A090 0809E82C */ j func_8027A0B0 +/* 1A8974 8027A094 8E070014 */ lw $a3, 0x14($s0) + +.L8027A098: +/* 1A8978 8027A098 C6000054 */ lwc1 $f0, 0x54($s0) +/* 1A897C 8027A09C E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A8980 8027A0A0 8E05000C */ lw $a1, 0xc($s0) +/* 1A8984 8027A0A4 8E060010 */ lw $a2, 0x10($s0) +/* 1A8988 8027A0A8 8E070014 */ lw $a3, 0x14($s0) +/* 1A898C 8027A0AC 24040001 */ addiu $a0, $zero, 1 +func_8027A0B0: +/* 1A8990 8027A0B0 0C0990BC */ jal play_movement_dust_effects +/* 1A8994 8027A0B4 00000000 */ nop +.L8027A0B8: +/* 1A8998 8027A0B8 C6200000 */ lwc1 $f0, ($s1) +/* 1A899C 8027A0BC 8E02019C */ lw $v0, 0x19c($s0) +/* 1A89A0 8027A0C0 E6000144 */ swc1 $f0, 0x144($s0) +/* 1A89A4 8027A0C4 C6200008 */ lwc1 $f0, 8($s1) +/* 1A89A8 8027A0C8 1040004A */ beqz $v0, .L8027A1F4 +/* 1A89AC 8027A0CC E600014C */ swc1 $f0, 0x14c($s0) +/* 1A89B0 8027A0D0 8E0201A0 */ lw $v0, 0x1a0($s0) +/* 1A89B4 8027A0D4 10400047 */ beqz $v0, .L8027A1F4 +/* 1A89B8 8027A0D8 00000000 */ nop +/* 1A89BC 8027A0DC 860201B4 */ lh $v0, 0x1b4($s0) +/* 1A89C0 8027A0E0 0440001C */ bltz $v0, .L8027A154 +/* 1A89C4 8027A0E4 00000000 */ nop +/* 1A89C8 8027A0E8 C622004C */ lwc1 $f2, 0x4c($s1) +/* 1A89CC 8027A0EC C6200040 */ lwc1 $f0, 0x40($s1) +/* 1A89D0 8027A0F0 46001080 */ add.s $f2, $f2, $f0 +/* 1A89D4 8027A0F4 E622004C */ swc1 $f2, 0x4c($s1) +/* 1A89D8 8027A0F8 860201B4 */ lh $v0, 0x1b4($s0) +/* 1A89DC 8027A0FC 44820000 */ mtc1 $v0, $f0 +/* 1A89E0 8027A100 00000000 */ nop +/* 1A89E4 8027A104 46800020 */ cvt.s.w $f0, $f0 +/* 1A89E8 8027A108 4602003C */ c.lt.s $f0, $f2 +/* 1A89EC 8027A10C 00000000 */ nop +/* 1A89F0 8027A110 45000038 */ bc1f .L8027A1F4 +/* 1A89F4 8027A114 00000000 */ nop +/* 1A89F8 8027A118 92020135 */ lbu $v0, 0x135($s0) +/* 1A89FC 8027A11C 24420001 */ addiu $v0, $v0, 1 +/* 1A8A00 8027A120 A2020135 */ sb $v0, 0x135($s0) +/* 1A8A04 8027A124 AE20004C */ sw $zero, 0x4c($s1) +/* 1A8A08 8027A128 92020135 */ lbu $v0, 0x135($s0) +/* 1A8A0C 8027A12C 30420001 */ andi $v0, $v0, 1 +/* 1A8A10 8027A130 10400026 */ beqz $v0, .L8027A1CC +/* 1A8A14 8027A134 00000000 */ nop +/* 1A8A18 8027A138 8E02019C */ lw $v0, 0x19c($s0) +/* 1A8A1C 8027A13C 1040002D */ beqz $v0, .L8027A1F4 +/* 1A8A20 8027A140 00000000 */ nop +/* 1A8A24 8027A144 C600014C */ lwc1 $f0, 0x14c($s0) +/* 1A8A28 8027A148 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A8A2C 8027A14C 0809E879 */ j func_8027A1E4 +/* 1A8A30 8027A150 8E04019C */ lw $a0, 0x19c($s0) + +.L8027A154: +/* 1A8A34 8027A154 C622004C */ lwc1 $f2, 0x4c($s1) +/* 1A8A38 8027A158 3C013F80 */ lui $at, 0x3f80 +/* 1A8A3C 8027A15C 44810000 */ mtc1 $at, $f0 +/* 1A8A40 8027A160 00000000 */ nop +/* 1A8A44 8027A164 46001080 */ add.s $f2, $f2, $f0 +/* 1A8A48 8027A168 E622004C */ swc1 $f2, 0x4c($s1) +/* 1A8A4C 8027A16C 860201B4 */ lh $v0, 0x1b4($s0) +/* 1A8A50 8027A170 00021023 */ negu $v0, $v0 +/* 1A8A54 8027A174 44820000 */ mtc1 $v0, $f0 +/* 1A8A58 8027A178 00000000 */ nop +/* 1A8A5C 8027A17C 46800020 */ cvt.s.w $f0, $f0 +/* 1A8A60 8027A180 4602003E */ c.le.s $f0, $f2 +/* 1A8A64 8027A184 00000000 */ nop +/* 1A8A68 8027A188 4500001A */ bc1f .L8027A1F4 +/* 1A8A6C 8027A18C 00000000 */ nop +/* 1A8A70 8027A190 92020135 */ lbu $v0, 0x135($s0) +/* 1A8A74 8027A194 24420001 */ addiu $v0, $v0, 1 +/* 1A8A78 8027A198 A2020135 */ sb $v0, 0x135($s0) +/* 1A8A7C 8027A19C AE20004C */ sw $zero, 0x4c($s1) +/* 1A8A80 8027A1A0 92020135 */ lbu $v0, 0x135($s0) +/* 1A8A84 8027A1A4 30420001 */ andi $v0, $v0, 1 +/* 1A8A88 8027A1A8 10400008 */ beqz $v0, .L8027A1CC +/* 1A8A8C 8027A1AC 00000000 */ nop +/* 1A8A90 8027A1B0 8E02019C */ lw $v0, 0x19c($s0) +/* 1A8A94 8027A1B4 1040000F */ beqz $v0, .L8027A1F4 +/* 1A8A98 8027A1B8 00000000 */ nop +/* 1A8A9C 8027A1BC C600014C */ lwc1 $f0, 0x14c($s0) +/* 1A8AA0 8027A1C0 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A8AA4 8027A1C4 0809E879 */ j func_8027A1E4 +/* 1A8AA8 8027A1C8 8E04019C */ lw $a0, 0x19c($s0) + +.L8027A1CC: +/* 1A8AAC 8027A1CC 8E0201A0 */ lw $v0, 0x1a0($s0) +/* 1A8AB0 8027A1D0 10400008 */ beqz $v0, .L8027A1F4 +/* 1A8AB4 8027A1D4 00000000 */ nop +/* 1A8AB8 8027A1D8 C600014C */ lwc1 $f0, 0x14c($s0) +/* 1A8ABC 8027A1DC E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A8AC0 8027A1E0 8E0401A0 */ lw $a0, 0x1a0($s0) +func_8027A1E4: +/* 1A8AC4 8027A1E4 8E060144 */ lw $a2, 0x144($s0) +/* 1A8AC8 8027A1E8 8E070148 */ lw $a3, 0x148($s0) +/* 1A8ACC 8027A1EC 0C052757 */ jal play_sound_at_position +/* 1A8AD0 8027A1F0 0000282D */ daddu $a1, $zero, $zero +.L8027A1F4: +/* 1A8AD4 8027A1F4 96220064 */ lhu $v0, 0x64($s1) +/* 1A8AD8 8027A1F8 2442FFFF */ addiu $v0, $v0, -1 +/* 1A8ADC 8027A1FC A6220064 */ sh $v0, 0x64($s1) +/* 1A8AE0 8027A200 00021400 */ sll $v0, $v0, 0x10 +/* 1A8AE4 8027A204 1C40000D */ bgtz $v0, .L8027A23C +/* 1A8AE8 8027A208 0000102D */ daddu $v0, $zero, $zero +/* 1A8AEC 8027A20C C6200018 */ lwc1 $f0, 0x18($s1) +/* 1A8AF0 8027A210 8E04019C */ lw $a0, 0x19c($s0) +/* 1A8AF4 8027A214 E6000144 */ swc1 $f0, 0x144($s0) +/* 1A8AF8 8027A218 C6200020 */ lwc1 $f0, 0x20($s1) +/* 1A8AFC 8027A21C 10800006 */ beqz $a0, .L8027A238 +/* 1A8B00 8027A220 E600014C */ swc1 $f0, 0x14c($s0) +/* 1A8B04 8027A224 8E0201A0 */ lw $v0, 0x1a0($s0) +/* 1A8B08 8027A228 14400004 */ bnez $v0, .L8027A23C +/* 1A8B0C 8027A22C 24020001 */ addiu $v0, $zero, 1 +/* 1A8B10 8027A230 0C0154F0 */ jal func_800553C0 +/* 1A8B14 8027A234 00000000 */ nop +.L8027A238: +/* 1A8B18 8027A238 24020001 */ addiu $v0, $zero, 1 +.L8027A23C: +/* 1A8B1C 8027A23C 8FBF0024 */ lw $ra, 0x24($sp) +/* 1A8B20 8027A240 8FB20020 */ lw $s2, 0x20($sp) +/* 1A8B24 8027A244 8FB1001C */ lw $s1, 0x1c($sp) +/* 1A8B28 8027A248 8FB00018 */ lw $s0, 0x18($sp) +/* 1A8B2C 8027A24C D7BA0040 */ ldc1 $f26, 0x40($sp) +/* 1A8B30 8027A250 D7B80038 */ ldc1 $f24, 0x38($sp) +/* 1A8B34 8027A254 D7B60030 */ ldc1 $f22, 0x30($sp) +/* 1A8B38 8027A258 D7B40028 */ ldc1 $f20, 0x28($sp) +/* 1A8B3C 8027A25C 03E00008 */ jr $ra +/* 1A8B40 8027A260 27BD0048 */ addiu $sp, $sp, 0x48 + +IdleRunToGoal: +/* 1A8B44 8027A264 27BDFFB8 */ addiu $sp, $sp, -0x48 +/* 1A8B48 8027A268 AFB20020 */ sw $s2, 0x20($sp) +/* 1A8B4C 8027A26C 0080902D */ daddu $s2, $a0, $zero +/* 1A8B50 8027A270 AFBF0024 */ sw $ra, 0x24($sp) +/* 1A8B54 8027A274 AFB1001C */ sw $s1, 0x1c($sp) +/* 1A8B58 8027A278 AFB00018 */ sw $s0, 0x18($sp) +/* 1A8B5C 8027A27C F7BA0040 */ sdc1 $f26, 0x40($sp) +/* 1A8B60 8027A280 F7B80038 */ sdc1 $f24, 0x38($sp) +/* 1A8B64 8027A284 F7B60030 */ sdc1 $f22, 0x30($sp) +/* 1A8B68 8027A288 F7B40028 */ sdc1 $f20, 0x28($sp) +/* 1A8B6C 8027A28C 8E51000C */ lw $s1, 0xc($s2) +/* 1A8B70 8027A290 54A00001 */ bnezl $a1, .L8027A298 +/* 1A8B74 8027A294 AE400070 */ sw $zero, 0x70($s2) +.L8027A298: +/* 1A8B78 8027A298 8E420070 */ lw $v0, 0x70($s2) +/* 1A8B7C 8027A29C 14400055 */ bnez $v0, .L8027A3F4 +/* 1A8B80 8027A2A0 00000000 */ nop +/* 1A8B84 8027A2A4 8E250000 */ lw $a1, ($s1) +/* 1A8B88 8027A2A8 26310004 */ addiu $s1, $s1, 4 +/* 1A8B8C 8027A2AC 0C0B1EAF */ jal get_variable +/* 1A8B90 8027A2B0 0240202D */ daddu $a0, $s2, $zero +/* 1A8B94 8027A2B4 0040202D */ daddu $a0, $v0, $zero +/* 1A8B98 8027A2B8 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1A8B9C 8027A2BC 14820002 */ bne $a0, $v0, .L8027A2C8 +/* 1A8BA0 8027A2C0 00000000 */ nop +/* 1A8BA4 8027A2C4 8E440148 */ lw $a0, 0x148($s2) +.L8027A2C8: +/* 1A8BA8 8027A2C8 0C09A75B */ jal get_actor +/* 1A8BAC 8027A2CC 00000000 */ nop +/* 1A8BB0 8027A2D0 0040802D */ daddu $s0, $v0, $zero +/* 1A8BB4 8027A2D4 AE500074 */ sw $s0, 0x74($s2) +/* 1A8BB8 8027A2D8 8E250000 */ lw $a1, ($s1) +/* 1A8BBC 8027A2DC 0C0B1EAF */ jal get_variable +/* 1A8BC0 8027A2E0 0240202D */ daddu $a0, $s2, $zero +/* 1A8BC4 8027A2E4 C61600D4 */ lwc1 $f22, 0xd4($s0) +/* 1A8BC8 8027A2E8 C61800DC */ lwc1 $f24, 0xdc($s0) +/* 1A8BCC 8027A2EC C6000144 */ lwc1 $f0, 0x144($s0) +/* 1A8BD0 8027A2F0 C614014C */ lwc1 $f20, 0x14c($s0) +/* 1A8BD4 8027A2F4 C60200D8 */ lwc1 $f2, 0xd8($s0) +/* 1A8BD8 8027A2F8 4406B000 */ mfc1 $a2, $f22 +/* 1A8BDC 8027A2FC 4407C000 */ mfc1 $a3, $f24 +/* 1A8BE0 8027A300 261100C8 */ addiu $s1, $s0, 0xc8 +/* 1A8BE4 8027A304 A6020120 */ sh $v0, 0x120($s0) +/* 1A8BE8 8027A308 E60000C8 */ swc1 $f0, 0xc8($s0) +/* 1A8BEC 8027A30C C6000148 */ lwc1 $f0, 0x148($s0) +/* 1A8BF0 8027A310 C61A00C8 */ lwc1 $f26, 0xc8($s0) +/* 1A8BF4 8027A314 4600A386 */ mov.s $f14, $f20 +/* 1A8BF8 8027A318 E61400D0 */ swc1 $f20, 0xd0($s0) +/* 1A8BFC 8027A31C E61600E0 */ swc1 $f22, 0xe0($s0) +/* 1A8C00 8027A320 E60200E4 */ swc1 $f2, 0xe4($s0) +/* 1A8C04 8027A324 E61800E8 */ swc1 $f24, 0xe8($s0) +/* 1A8C08 8027A328 4600D306 */ mov.s $f12, $f26 +/* 1A8C0C 8027A32C 0C00A720 */ jal atan2 +/* 1A8C10 8027A330 E60000CC */ swc1 $f0, 0xcc($s0) +/* 1A8C14 8027A334 4600D306 */ mov.s $f12, $f26 +/* 1A8C18 8027A338 4406B000 */ mfc1 $a2, $f22 +/* 1A8C1C 8027A33C 4407C000 */ mfc1 $a3, $f24 +/* 1A8C20 8027A340 4600A386 */ mov.s $f14, $f20 +/* 1A8C24 8027A344 0C00A7B5 */ jal dist2D +/* 1A8C28 8027A348 E6000110 */ swc1 $f0, 0x110($s0) +/* 1A8C2C 8027A34C 86020120 */ lh $v0, 0x120($s0) +/* 1A8C30 8027A350 46000086 */ mov.s $f2, $f0 +/* 1A8C34 8027A354 14400018 */ bnez $v0, .L8027A3B8 +/* 1A8C38 8027A358 E6020114 */ swc1 $f2, 0x114($s0) +/* 1A8C3C 8027A35C C6000108 */ lwc1 $f0, 0x108($s0) +/* 1A8C40 8027A360 46001003 */ div.s $f0, $f2, $f0 +/* 1A8C44 8027A364 4600020D */ trunc.w.s $f8, $f0 +/* 1A8C48 8027A368 44024000 */ mfc1 $v0, $f8 +/* 1A8C4C 8027A36C 00000000 */ nop +/* 1A8C50 8027A370 A6020120 */ sh $v0, 0x120($s0) +/* 1A8C54 8027A374 00021400 */ sll $v0, $v0, 0x10 +/* 1A8C58 8027A378 14400002 */ bnez $v0, .L8027A384 +/* 1A8C5C 8027A37C 24020001 */ addiu $v0, $zero, 1 +/* 1A8C60 8027A380 A6020120 */ sh $v0, 0x120($s0) +.L8027A384: +/* 1A8C64 8027A384 86020120 */ lh $v0, 0x120($s0) +/* 1A8C68 8027A388 C6020108 */ lwc1 $f2, 0x108($s0) +/* 1A8C6C 8027A38C 44823000 */ mtc1 $v0, $f6 +/* 1A8C70 8027A390 00000000 */ nop +/* 1A8C74 8027A394 468031A0 */ cvt.s.w $f6, $f6 +/* 1A8C78 8027A398 46023102 */ mul.s $f4, $f6, $f2 +/* 1A8C7C 8027A39C 00000000 */ nop +/* 1A8C80 8027A3A0 C6000114 */ lwc1 $f0, 0x114($s0) +/* 1A8C84 8027A3A4 46040001 */ sub.s $f0, $f0, $f4 +/* 1A8C88 8027A3A8 46060003 */ div.s $f0, $f0, $f6 +/* 1A8C8C 8027A3AC 46001080 */ add.s $f2, $f2, $f0 +/* 1A8C90 8027A3B0 0809E8F3 */ j func_8027A3CC +/* 1A8C94 8027A3B4 E6020108 */ swc1 $f2, 0x108($s0) + +.L8027A3B8: +/* 1A8C98 8027A3B8 44820000 */ mtc1 $v0, $f0 +/* 1A8C9C 8027A3BC 00000000 */ nop +/* 1A8CA0 8027A3C0 46800020 */ cvt.s.w $f0, $f0 +/* 1A8CA4 8027A3C4 46001003 */ div.s $f0, $f2, $f0 +/* 1A8CA8 8027A3C8 E6000108 */ swc1 $f0, 0x108($s0) +func_8027A3CC: +/* 1A8CAC 8027A3CC 860201B4 */ lh $v0, 0x1b4($s0) +/* 1A8CB0 8027A3D0 04420002 */ bltzl $v0, .L8027A3DC +/* 1A8CB4 8027A3D4 00021027 */ nor $v0, $zero, $v0 +/* 1A8CB8 8027A3D8 24420001 */ addiu $v0, $v0, 1 +.L8027A3DC: +/* 1A8CBC 8027A3DC 44820000 */ mtc1 $v0, $f0 +/* 1A8CC0 8027A3E0 00000000 */ nop +/* 1A8CC4 8027A3E4 46800020 */ cvt.s.w $f0, $f0 +/* 1A8CC8 8027A3E8 E620004C */ swc1 $f0, 0x4c($s1) +/* 1A8CCC 8027A3EC 24020001 */ addiu $v0, $zero, 1 +/* 1A8CD0 8027A3F0 AE420070 */ sw $v0, 0x70($s2) +.L8027A3F4: +/* 1A8CD4 8027A3F4 8E500074 */ lw $s0, 0x74($s2) +/* 1A8CD8 8027A3F8 261100C8 */ addiu $s1, $s0, 0xc8 +/* 1A8CDC 8027A3FC 8E050108 */ lw $a1, 0x108($s0) +/* 1A8CE0 8027A400 8E060110 */ lw $a2, 0x110($s0) +/* 1A8CE4 8027A404 0C099096 */ jal add_xz_vec3f_copy2 +/* 1A8CE8 8027A408 0220202D */ daddu $a0, $s1, $zero +/* 1A8CEC 8027A40C C6020108 */ lwc1 $f2, 0x108($s0) +/* 1A8CF0 8027A410 3C014080 */ lui $at, 0x4080 +/* 1A8CF4 8027A414 44810000 */ mtc1 $at, $f0 +/* 1A8CF8 8027A418 00000000 */ nop +/* 1A8CFC 8027A41C 4600103C */ c.lt.s $f2, $f0 +/* 1A8D00 8027A420 00000000 */ nop +/* 1A8D04 8027A424 45000007 */ bc1f .L8027A444 +/* 1A8D08 8027A428 0000202D */ daddu $a0, $zero, $zero +/* 1A8D0C 8027A42C C6000110 */ lwc1 $f0, 0x110($s0) +/* 1A8D10 8027A430 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A8D14 8027A434 8E0500C8 */ lw $a1, 0xc8($s0) +/* 1A8D18 8027A438 8E0600CC */ lw $a2, 0xcc($s0) +/* 1A8D1C 8027A43C 0809E917 */ j func_8027A45C +/* 1A8D20 8027A440 8E0700D0 */ lw $a3, 0xd0($s0) + +.L8027A444: +/* 1A8D24 8027A444 C6000110 */ lwc1 $f0, 0x110($s0) +/* 1A8D28 8027A448 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A8D2C 8027A44C 8E0500C8 */ lw $a1, 0xc8($s0) +/* 1A8D30 8027A450 8E0600CC */ lw $a2, 0xcc($s0) +/* 1A8D34 8027A454 8E0700D0 */ lw $a3, 0xd0($s0) +/* 1A8D38 8027A458 24040001 */ addiu $a0, $zero, 1 +func_8027A45C: +/* 1A8D3C 8027A45C 0C0990BC */ jal play_movement_dust_effects +/* 1A8D40 8027A460 00000000 */ nop +/* 1A8D44 8027A464 C6200000 */ lwc1 $f0, ($s1) +/* 1A8D48 8027A468 E6000144 */ swc1 $f0, 0x144($s0) +/* 1A8D4C 8027A46C C6200008 */ lwc1 $f0, 8($s1) +/* 1A8D50 8027A470 E600014C */ swc1 $f0, 0x14c($s0) +/* 1A8D54 8027A474 96220058 */ lhu $v0, 0x58($s1) +/* 1A8D58 8027A478 2442FFFF */ addiu $v0, $v0, -1 +/* 1A8D5C 8027A47C A6220058 */ sh $v0, 0x58($s1) +/* 1A8D60 8027A480 00021400 */ sll $v0, $v0, 0x10 +/* 1A8D64 8027A484 1C40000D */ bgtz $v0, .L8027A4BC +/* 1A8D68 8027A488 0000102D */ daddu $v0, $zero, $zero +/* 1A8D6C 8027A48C C6200018 */ lwc1 $f0, 0x18($s1) +/* 1A8D70 8027A490 8E04019C */ lw $a0, 0x19c($s0) +/* 1A8D74 8027A494 E6000144 */ swc1 $f0, 0x144($s0) +/* 1A8D78 8027A498 C6200020 */ lwc1 $f0, 0x20($s1) +/* 1A8D7C 8027A49C 10800006 */ beqz $a0, .L8027A4B8 +/* 1A8D80 8027A4A0 E600014C */ swc1 $f0, 0x14c($s0) +/* 1A8D84 8027A4A4 8E0201A0 */ lw $v0, 0x1a0($s0) +/* 1A8D88 8027A4A8 14400004 */ bnez $v0, .L8027A4BC +/* 1A8D8C 8027A4AC 24020001 */ addiu $v0, $zero, 1 +/* 1A8D90 8027A4B0 0C0154F0 */ jal func_800553C0 +/* 1A8D94 8027A4B4 00000000 */ nop +.L8027A4B8: +/* 1A8D98 8027A4B8 24020001 */ addiu $v0, $zero, 1 +.L8027A4BC: +/* 1A8D9C 8027A4BC 8FBF0024 */ lw $ra, 0x24($sp) +/* 1A8DA0 8027A4C0 8FB20020 */ lw $s2, 0x20($sp) +/* 1A8DA4 8027A4C4 8FB1001C */ lw $s1, 0x1c($sp) +/* 1A8DA8 8027A4C8 8FB00018 */ lw $s0, 0x18($sp) +/* 1A8DAC 8027A4CC D7BA0040 */ ldc1 $f26, 0x40($sp) +/* 1A8DB0 8027A4D0 D7B80038 */ ldc1 $f24, 0x38($sp) +/* 1A8DB4 8027A4D4 D7B60030 */ ldc1 $f22, 0x30($sp) +/* 1A8DB8 8027A4D8 D7B40028 */ ldc1 $f20, 0x28($sp) +/* 1A8DBC 8027A4DC 03E00008 */ jr $ra +/* 1A8DC0 8027A4E0 27BD0048 */ addiu $sp, $sp, 0x48 + +JumpPartTo: +/* 1A8DC4 8027A4E4 27BDFFA0 */ addiu $sp, $sp, -0x60 +/* 1A8DC8 8027A4E8 AFB30024 */ sw $s3, 0x24($sp) +/* 1A8DCC 8027A4EC 0080982D */ daddu $s3, $a0, $zero +/* 1A8DD0 8027A4F0 AFBF0028 */ sw $ra, 0x28($sp) +/* 1A8DD4 8027A4F4 AFB20020 */ sw $s2, 0x20($sp) +/* 1A8DD8 8027A4F8 AFB1001C */ sw $s1, 0x1c($sp) +/* 1A8DDC 8027A4FC AFB00018 */ sw $s0, 0x18($sp) +/* 1A8DE0 8027A500 F7BE0058 */ sdc1 $f30, 0x58($sp) +/* 1A8DE4 8027A504 F7BC0050 */ sdc1 $f28, 0x50($sp) +/* 1A8DE8 8027A508 F7BA0048 */ sdc1 $f26, 0x48($sp) +/* 1A8DEC 8027A50C F7B80040 */ sdc1 $f24, 0x40($sp) +/* 1A8DF0 8027A510 F7B60038 */ sdc1 $f22, 0x38($sp) +/* 1A8DF4 8027A514 F7B40030 */ sdc1 $f20, 0x30($sp) +/* 1A8DF8 8027A518 8E72000C */ lw $s2, 0xc($s3) +/* 1A8DFC 8027A51C 54A00001 */ bnezl $a1, .L8027A524 +/* 1A8E00 8027A520 AE600070 */ sw $zero, 0x70($s3) +.L8027A524: +/* 1A8E04 8027A524 8E620070 */ lw $v0, 0x70($s3) +/* 1A8E08 8027A528 14400093 */ bnez $v0, .L8027A778 +/* 1A8E0C 8027A52C 00000000 */ nop +/* 1A8E10 8027A530 8E450000 */ lw $a1, ($s2) +/* 1A8E14 8027A534 26520004 */ addiu $s2, $s2, 4 +/* 1A8E18 8027A538 0C0B1EAF */ jal get_variable +/* 1A8E1C 8027A53C 0260202D */ daddu $a0, $s3, $zero +/* 1A8E20 8027A540 0040802D */ daddu $s0, $v0, $zero +/* 1A8E24 8027A544 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1A8E28 8027A548 16020002 */ bne $s0, $v0, .L8027A554 +/* 1A8E2C 8027A54C 00000000 */ nop +/* 1A8E30 8027A550 8E700148 */ lw $s0, 0x148($s3) +.L8027A554: +/* 1A8E34 8027A554 8E450000 */ lw $a1, ($s2) +/* 1A8E38 8027A558 26520004 */ addiu $s2, $s2, 4 +/* 1A8E3C 8027A55C 0C0B1EAF */ jal get_variable +/* 1A8E40 8027A560 0260202D */ daddu $a0, $s3, $zero +/* 1A8E44 8027A564 0200202D */ daddu $a0, $s0, $zero +/* 1A8E48 8027A568 0C09A75B */ jal get_actor +/* 1A8E4C 8027A56C 0040882D */ daddu $s1, $v0, $zero +/* 1A8E50 8027A570 0040802D */ daddu $s0, $v0, $zero +/* 1A8E54 8027A574 0200202D */ daddu $a0, $s0, $zero +/* 1A8E58 8027A578 0C099117 */ jal get_actor_part +/* 1A8E5C 8027A57C 0220282D */ daddu $a1, $s1, $zero +/* 1A8E60 8027A580 0040882D */ daddu $s1, $v0, $zero +/* 1A8E64 8027A584 AE700074 */ sw $s0, 0x74($s3) +/* 1A8E68 8027A588 AE710078 */ sw $s1, 0x78($s3) +/* 1A8E6C 8027A58C 8E450000 */ lw $a1, ($s2) +/* 1A8E70 8027A590 26520004 */ addiu $s2, $s2, 4 +/* 1A8E74 8027A594 8E300010 */ lw $s0, 0x10($s1) +/* 1A8E78 8027A598 0C0B1EAF */ jal get_variable +/* 1A8E7C 8027A59C 0260202D */ daddu $a0, $s3, $zero +/* 1A8E80 8027A5A0 4482E000 */ mtc1 $v0, $f28 +/* 1A8E84 8027A5A4 00000000 */ nop +/* 1A8E88 8027A5A8 4680E720 */ cvt.s.w $f28, $f28 +/* 1A8E8C 8027A5AC 8E450000 */ lw $a1, ($s2) +/* 1A8E90 8027A5B0 26520004 */ addiu $s2, $s2, 4 +/* 1A8E94 8027A5B4 0C0B1EAF */ jal get_variable +/* 1A8E98 8027A5B8 0260202D */ daddu $a0, $s3, $zero +/* 1A8E9C 8027A5BC 4482F000 */ mtc1 $v0, $f30 +/* 1A8EA0 8027A5C0 00000000 */ nop +/* 1A8EA4 8027A5C4 4680F7A0 */ cvt.s.w $f30, $f30 +/* 1A8EA8 8027A5C8 8E450000 */ lw $a1, ($s2) +/* 1A8EAC 8027A5CC 26520004 */ addiu $s2, $s2, 4 +/* 1A8EB0 8027A5D0 0C0B1EAF */ jal get_variable +/* 1A8EB4 8027A5D4 0260202D */ daddu $a0, $s3, $zero +/* 1A8EB8 8027A5D8 44820000 */ mtc1 $v0, $f0 +/* 1A8EBC 8027A5DC 00000000 */ nop +/* 1A8EC0 8027A5E0 46800020 */ cvt.s.w $f0, $f0 +/* 1A8EC4 8027A5E4 E61C000C */ swc1 $f28, 0xc($s0) +/* 1A8EC8 8027A5E8 E61E0010 */ swc1 $f30, 0x10($s0) +/* 1A8ECC 8027A5EC E6000014 */ swc1 $f0, 0x14($s0) +/* 1A8ED0 8027A5F0 8E450000 */ lw $a1, ($s2) +/* 1A8ED4 8027A5F4 26520004 */ addiu $s2, $s2, 4 +/* 1A8ED8 8027A5F8 0C0B1EAF */ jal get_variable +/* 1A8EDC 8027A5FC 0260202D */ daddu $a0, $s3, $zero +/* 1A8EE0 8027A600 A6020038 */ sh $v0, 0x38($s0) +/* 1A8EE4 8027A604 8E450000 */ lw $a1, ($s2) +/* 1A8EE8 8027A608 0C0B1EAF */ jal get_variable +/* 1A8EEC 8027A60C 0260202D */ daddu $a0, $s3, $zero +/* 1A8EF0 8027A610 AE62007C */ sw $v0, 0x7c($s3) +/* 1A8EF4 8027A614 C620002C */ lwc1 $f0, 0x2c($s1) +/* 1A8EF8 8027A618 C618000C */ lwc1 $f24, 0xc($s0) +/* 1A8EFC 8027A61C C61A0014 */ lwc1 $f26, 0x14($s0) +/* 1A8F00 8027A620 C6160010 */ lwc1 $f22, 0x10($s0) +/* 1A8F04 8027A624 E6000000 */ swc1 $f0, ($s0) +/* 1A8F08 8027A628 46000706 */ mov.s $f28, $f0 +/* 1A8F0C 8027A62C 4406C000 */ mfc1 $a2, $f24 +/* 1A8F10 8027A630 4407D000 */ mfc1 $a3, $f26 +/* 1A8F14 8027A634 C6200030 */ lwc1 $f0, 0x30($s1) +/* 1A8F18 8027A638 4600E306 */ mov.s $f12, $f28 +/* 1A8F1C 8027A63C E6000004 */ swc1 $f0, 4($s0) +/* 1A8F20 8027A640 C6340034 */ lwc1 $f20, 0x34($s1) +/* 1A8F24 8027A644 46000786 */ mov.s $f30, $f0 +/* 1A8F28 8027A648 4600A386 */ mov.s $f14, $f20 +/* 1A8F2C 8027A64C 0C00A720 */ jal atan2 +/* 1A8F30 8027A650 E6140008 */ swc1 $f20, 8($s0) +/* 1A8F34 8027A654 4600E306 */ mov.s $f12, $f28 +/* 1A8F38 8027A658 4600A386 */ mov.s $f14, $f20 +/* 1A8F3C 8027A65C 4406C000 */ mfc1 $a2, $f24 +/* 1A8F40 8027A660 4407D000 */ mfc1 $a3, $f26 +/* 1A8F44 8027A664 461EB781 */ sub.s $f30, $f22, $f30 +/* 1A8F48 8027A668 0C00A7B5 */ jal dist2D +/* 1A8F4C 8027A66C E6000030 */ swc1 $f0, 0x30($s0) +/* 1A8F50 8027A670 86020038 */ lh $v0, 0x38($s0) +/* 1A8F54 8027A674 46000106 */ mov.s $f4, $f0 +/* 1A8F58 8027A678 14400012 */ bnez $v0, .L8027A6C4 +/* 1A8F5C 8027A67C E6040034 */ swc1 $f4, 0x34($s0) +/* 1A8F60 8027A680 C6000028 */ lwc1 $f0, 0x28($s0) +/* 1A8F64 8027A684 C6020028 */ lwc1 $f2, 0x28($s0) +/* 1A8F68 8027A688 46002003 */ div.s $f0, $f4, $f0 +/* 1A8F6C 8027A68C 4600028D */ trunc.w.s $f10, $f0 +/* 1A8F70 8027A690 44035000 */ mfc1 $v1, $f10 +/* 1A8F74 8027A694 00000000 */ nop +/* 1A8F78 8027A698 00031400 */ sll $v0, $v1, 0x10 +/* 1A8F7C 8027A69C 00021403 */ sra $v0, $v0, 0x10 +/* 1A8F80 8027A6A0 44820000 */ mtc1 $v0, $f0 +/* 1A8F84 8027A6A4 00000000 */ nop +/* 1A8F88 8027A6A8 46800020 */ cvt.s.w $f0, $f0 +/* 1A8F8C 8027A6AC 46020002 */ mul.s $f0, $f0, $f2 +/* 1A8F90 8027A6B0 00000000 */ nop +/* 1A8F94 8027A6B4 46002086 */ mov.s $f2, $f4 +/* 1A8F98 8027A6B8 A6030038 */ sh $v1, 0x38($s0) +/* 1A8F9C 8027A6BC 0809E9BE */ j func_8027A6F8 +/* 1A8FA0 8027A6C0 46001201 */ sub.s $f8, $f2, $f0 + +.L8027A6C4: +/* 1A8FA4 8027A6C4 44821000 */ mtc1 $v0, $f2 +/* 1A8FA8 8027A6C8 00000000 */ nop +/* 1A8FAC 8027A6CC 468010A0 */ cvt.s.w $f2, $f2 +/* 1A8FB0 8027A6D0 86020038 */ lh $v0, 0x38($s0) +/* 1A8FB4 8027A6D4 46022083 */ div.s $f2, $f4, $f2 +/* 1A8FB8 8027A6D8 44820000 */ mtc1 $v0, $f0 +/* 1A8FBC 8027A6DC 00000000 */ nop +/* 1A8FC0 8027A6E0 46800020 */ cvt.s.w $f0, $f0 +/* 1A8FC4 8027A6E4 46020002 */ mul.s $f0, $f0, $f2 +/* 1A8FC8 8027A6E8 00000000 */ nop +/* 1A8FCC 8027A6EC C6040034 */ lwc1 $f4, 0x34($s0) +/* 1A8FD0 8027A6F0 E6020028 */ swc1 $f2, 0x28($s0) +/* 1A8FD4 8027A6F4 46002201 */ sub.s $f8, $f4, $f0 +func_8027A6F8: +/* 1A8FD8 8027A6F8 86020038 */ lh $v0, 0x38($s0) +/* 1A8FDC 8027A6FC C6020024 */ lwc1 $f2, 0x24($s0) +/* 1A8FE0 8027A700 44823000 */ mtc1 $v0, $f6 +/* 1A8FE4 8027A704 00000000 */ nop +/* 1A8FE8 8027A708 468031A0 */ cvt.s.w $f6, $f6 +/* 1A8FEC 8027A70C 46061082 */ mul.s $f2, $f2, $f6 +/* 1A8FF0 8027A710 00000000 */ nop +/* 1A8FF4 8027A714 3C013F00 */ lui $at, 0x3f00 +/* 1A8FF8 8027A718 44810000 */ mtc1 $at, $f0 +/* 1A8FFC 8027A71C 00000000 */ nop +/* 1A9000 8027A720 46001082 */ mul.s $f2, $f2, $f0 +/* 1A9004 8027A724 00000000 */ nop +/* 1A9008 8027A728 C6040028 */ lwc1 $f4, 0x28($s0) +/* 1A900C 8027A72C 46003006 */ mov.s $f0, $f6 +/* 1A9010 8027A730 46004003 */ div.s $f0, $f8, $f0 +/* 1A9014 8027A734 46002100 */ add.s $f4, $f4, $f0 +/* 1A9018 8027A738 4606F183 */ div.s $f6, $f30, $f6 +/* 1A901C 8027A73C 46061080 */ add.s $f2, $f2, $f6 +/* 1A9020 8027A740 E6040028 */ swc1 $f4, 0x28($s0) +/* 1A9024 8027A744 E602002C */ swc1 $f2, 0x2c($s0) +/* 1A9028 8027A748 8E2200B4 */ lw $v0, 0xb4($s1) +/* 1A902C 8027A74C 10400009 */ beqz $v0, .L8027A774 +/* 1A9030 8027A750 24020001 */ addiu $v0, $zero, 1 +/* 1A9034 8027A754 C6200034 */ lwc1 $f0, 0x34($s1) +/* 1A9038 8027A758 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A903C 8027A75C 8E2400B4 */ lw $a0, 0xb4($s1) +/* 1A9040 8027A760 8E26002C */ lw $a2, 0x2c($s1) +/* 1A9044 8027A764 8E270030 */ lw $a3, 0x30($s1) +/* 1A9048 8027A768 0C052757 */ jal play_sound_at_position +/* 1A904C 8027A76C 0000282D */ daddu $a1, $zero, $zero +/* 1A9050 8027A770 24020001 */ addiu $v0, $zero, 1 +.L8027A774: +/* 1A9054 8027A774 AE620070 */ sw $v0, 0x70($s3) +.L8027A778: +/* 1A9058 8027A778 8E710078 */ lw $s1, 0x78($s3) +/* 1A905C 8027A77C 8E300010 */ lw $s0, 0x10($s1) +/* 1A9060 8027A780 C6040004 */ lwc1 $f4, 4($s0) +/* 1A9064 8027A784 C600002C */ lwc1 $f0, 0x2c($s0) +/* 1A9068 8027A788 8E050028 */ lw $a1, 0x28($s0) +/* 1A906C 8027A78C 46002100 */ add.s $f4, $f4, $f0 +/* 1A9070 8027A790 C6020024 */ lwc1 $f2, 0x24($s0) +/* 1A9074 8027A794 8E060030 */ lw $a2, 0x30($s0) +/* 1A9078 8027A798 46020001 */ sub.s $f0, $f0, $f2 +/* 1A907C 8027A79C 0200202D */ daddu $a0, $s0, $zero +/* 1A9080 8027A7A0 E6040004 */ swc1 $f4, 4($s0) +/* 1A9084 8027A7A4 0C099070 */ jal add_xz_vec3f_copy1 +/* 1A9088 8027A7A8 E600002C */ swc1 $f0, 0x2c($s0) +/* 1A908C 8027A7AC C6000000 */ lwc1 $f0, ($s0) +/* 1A9090 8027A7B0 E620002C */ swc1 $f0, 0x2c($s1) +/* 1A9094 8027A7B4 C6000004 */ lwc1 $f0, 4($s0) +/* 1A9098 8027A7B8 E6200030 */ swc1 $f0, 0x30($s1) +/* 1A909C 8027A7BC C6000008 */ lwc1 $f0, 8($s0) +/* 1A90A0 8027A7C0 E6200034 */ swc1 $f0, 0x34($s1) +/* 1A90A4 8027A7C4 96020038 */ lhu $v0, 0x38($s0) +/* 1A90A8 8027A7C8 2442FFFF */ addiu $v0, $v0, -1 +/* 1A90AC 8027A7CC A6020038 */ sh $v0, 0x38($s0) +/* 1A90B0 8027A7D0 00021400 */ sll $v0, $v0, 0x10 +/* 1A90B4 8027A7D4 1C400012 */ bgtz $v0, .L8027A820 +/* 1A90B8 8027A7D8 0000102D */ daddu $v0, $zero, $zero +/* 1A90BC 8027A7DC 8E62007C */ lw $v0, 0x7c($s3) +/* 1A90C0 8027A7E0 10400008 */ beqz $v0, .L8027A804 +/* 1A90C4 8027A7E4 00000000 */ nop +/* 1A90C8 8027A7E8 C6000030 */ lwc1 $f0, 0x30($s0) +/* 1A90CC 8027A7EC E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A90D0 8027A7F0 8E05000C */ lw $a1, 0xc($s0) +/* 1A90D4 8027A7F4 8E060010 */ lw $a2, 0x10($s0) +/* 1A90D8 8027A7F8 8E070014 */ lw $a3, 0x14($s0) +/* 1A90DC 8027A7FC 0C0990BC */ jal play_movement_dust_effects +/* 1A90E0 8027A800 24040002 */ addiu $a0, $zero, 2 +.L8027A804: +/* 1A90E4 8027A804 C600000C */ lwc1 $f0, 0xc($s0) +/* 1A90E8 8027A808 E620002C */ swc1 $f0, 0x2c($s1) +/* 1A90EC 8027A80C C6000010 */ lwc1 $f0, 0x10($s0) +/* 1A90F0 8027A810 E6200030 */ swc1 $f0, 0x30($s1) +/* 1A90F4 8027A814 C6000014 */ lwc1 $f0, 0x14($s0) +/* 1A90F8 8027A818 24020001 */ addiu $v0, $zero, 1 +/* 1A90FC 8027A81C E6200034 */ swc1 $f0, 0x34($s1) +.L8027A820: +/* 1A9100 8027A820 8FBF0028 */ lw $ra, 0x28($sp) +/* 1A9104 8027A824 8FB30024 */ lw $s3, 0x24($sp) +/* 1A9108 8027A828 8FB20020 */ lw $s2, 0x20($sp) +/* 1A910C 8027A82C 8FB1001C */ lw $s1, 0x1c($sp) +/* 1A9110 8027A830 8FB00018 */ lw $s0, 0x18($sp) +/* 1A9114 8027A834 D7BE0058 */ ldc1 $f30, 0x58($sp) +/* 1A9118 8027A838 D7BC0050 */ ldc1 $f28, 0x50($sp) +/* 1A911C 8027A83C D7BA0048 */ ldc1 $f26, 0x48($sp) +/* 1A9120 8027A840 D7B80040 */ ldc1 $f24, 0x40($sp) +/* 1A9124 8027A844 D7B60038 */ ldc1 $f22, 0x38($sp) +/* 1A9128 8027A848 D7B40030 */ ldc1 $f20, 0x30($sp) +/* 1A912C 8027A84C 03E00008 */ jr $ra +/* 1A9130 8027A850 27BD0060 */ addiu $sp, $sp, 0x60 + +FallPartTo: +/* 1A9134 8027A854 27BDFFA0 */ addiu $sp, $sp, -0x60 +/* 1A9138 8027A858 AFB30024 */ sw $s3, 0x24($sp) +/* 1A913C 8027A85C 0080982D */ daddu $s3, $a0, $zero +/* 1A9140 8027A860 AFBF0028 */ sw $ra, 0x28($sp) +/* 1A9144 8027A864 AFB20020 */ sw $s2, 0x20($sp) +/* 1A9148 8027A868 AFB1001C */ sw $s1, 0x1c($sp) +/* 1A914C 8027A86C AFB00018 */ sw $s0, 0x18($sp) +/* 1A9150 8027A870 F7BE0058 */ sdc1 $f30, 0x58($sp) +/* 1A9154 8027A874 F7BC0050 */ sdc1 $f28, 0x50($sp) +/* 1A9158 8027A878 F7BA0048 */ sdc1 $f26, 0x48($sp) +/* 1A915C 8027A87C F7B80040 */ sdc1 $f24, 0x40($sp) +/* 1A9160 8027A880 F7B60038 */ sdc1 $f22, 0x38($sp) +/* 1A9164 8027A884 F7B40030 */ sdc1 $f20, 0x30($sp) +/* 1A9168 8027A888 8E72000C */ lw $s2, 0xc($s3) +/* 1A916C 8027A88C 54A00001 */ bnezl $a1, .L8027A894 +/* 1A9170 8027A890 AE600070 */ sw $zero, 0x70($s3) +.L8027A894: +/* 1A9174 8027A894 8E620070 */ lw $v0, 0x70($s3) +/* 1A9178 8027A898 1440007C */ bnez $v0, .L8027AA8C +/* 1A917C 8027A89C 00000000 */ nop +/* 1A9180 8027A8A0 8E450000 */ lw $a1, ($s2) +/* 1A9184 8027A8A4 26520004 */ addiu $s2, $s2, 4 +/* 1A9188 8027A8A8 0C0B1EAF */ jal get_variable +/* 1A918C 8027A8AC 0260202D */ daddu $a0, $s3, $zero +/* 1A9190 8027A8B0 0040802D */ daddu $s0, $v0, $zero +/* 1A9194 8027A8B4 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1A9198 8027A8B8 16020002 */ bne $s0, $v0, .L8027A8C4 +/* 1A919C 8027A8BC 00000000 */ nop +/* 1A91A0 8027A8C0 8E700148 */ lw $s0, 0x148($s3) +.L8027A8C4: +/* 1A91A4 8027A8C4 8E450000 */ lw $a1, ($s2) +/* 1A91A8 8027A8C8 26520004 */ addiu $s2, $s2, 4 +/* 1A91AC 8027A8CC 0C0B1EAF */ jal get_variable +/* 1A91B0 8027A8D0 0260202D */ daddu $a0, $s3, $zero +/* 1A91B4 8027A8D4 0200202D */ daddu $a0, $s0, $zero +/* 1A91B8 8027A8D8 0C09A75B */ jal get_actor +/* 1A91BC 8027A8DC 0040882D */ daddu $s1, $v0, $zero +/* 1A91C0 8027A8E0 0040802D */ daddu $s0, $v0, $zero +/* 1A91C4 8027A8E4 0200202D */ daddu $a0, $s0, $zero +/* 1A91C8 8027A8E8 0C099117 */ jal get_actor_part +/* 1A91CC 8027A8EC 0220282D */ daddu $a1, $s1, $zero +/* 1A91D0 8027A8F0 0040882D */ daddu $s1, $v0, $zero +/* 1A91D4 8027A8F4 AE700074 */ sw $s0, 0x74($s3) +/* 1A91D8 8027A8F8 AE710078 */ sw $s1, 0x78($s3) +/* 1A91DC 8027A8FC 8E450000 */ lw $a1, ($s2) +/* 1A91E0 8027A900 26520004 */ addiu $s2, $s2, 4 +/* 1A91E4 8027A904 8E300010 */ lw $s0, 0x10($s1) +/* 1A91E8 8027A908 0C0B1EAF */ jal get_variable +/* 1A91EC 8027A90C 0260202D */ daddu $a0, $s3, $zero +/* 1A91F0 8027A910 4482E000 */ mtc1 $v0, $f28 +/* 1A91F4 8027A914 00000000 */ nop +/* 1A91F8 8027A918 4680E720 */ cvt.s.w $f28, $f28 +/* 1A91FC 8027A91C 8E450000 */ lw $a1, ($s2) +/* 1A9200 8027A920 26520004 */ addiu $s2, $s2, 4 +/* 1A9204 8027A924 0C0B1EAF */ jal get_variable +/* 1A9208 8027A928 0260202D */ daddu $a0, $s3, $zero +/* 1A920C 8027A92C 4482F000 */ mtc1 $v0, $f30 +/* 1A9210 8027A930 00000000 */ nop +/* 1A9214 8027A934 4680F7A0 */ cvt.s.w $f30, $f30 +/* 1A9218 8027A938 8E450000 */ lw $a1, ($s2) +/* 1A921C 8027A93C 26520004 */ addiu $s2, $s2, 4 +/* 1A9220 8027A940 0C0B1EAF */ jal get_variable +/* 1A9224 8027A944 0260202D */ daddu $a0, $s3, $zero +/* 1A9228 8027A948 44820000 */ mtc1 $v0, $f0 +/* 1A922C 8027A94C 00000000 */ nop +/* 1A9230 8027A950 46800020 */ cvt.s.w $f0, $f0 +/* 1A9234 8027A954 E61C000C */ swc1 $f28, 0xc($s0) +/* 1A9238 8027A958 E61E0010 */ swc1 $f30, 0x10($s0) +/* 1A923C 8027A95C E6000014 */ swc1 $f0, 0x14($s0) +/* 1A9240 8027A960 8E450000 */ lw $a1, ($s2) +/* 1A9244 8027A964 0C0B1EAF */ jal get_variable +/* 1A9248 8027A968 0260202D */ daddu $a0, $s3, $zero +/* 1A924C 8027A96C A6020038 */ sh $v0, 0x38($s0) +/* 1A9250 8027A970 C620002C */ lwc1 $f0, 0x2c($s1) +/* 1A9254 8027A974 C618000C */ lwc1 $f24, 0xc($s0) +/* 1A9258 8027A978 C61A0014 */ lwc1 $f26, 0x14($s0) +/* 1A925C 8027A97C C6160010 */ lwc1 $f22, 0x10($s0) +/* 1A9260 8027A980 E6000000 */ swc1 $f0, ($s0) +/* 1A9264 8027A984 46000706 */ mov.s $f28, $f0 +/* 1A9268 8027A988 4406C000 */ mfc1 $a2, $f24 +/* 1A926C 8027A98C 4407D000 */ mfc1 $a3, $f26 +/* 1A9270 8027A990 C6200030 */ lwc1 $f0, 0x30($s1) +/* 1A9274 8027A994 4600E306 */ mov.s $f12, $f28 +/* 1A9278 8027A998 E6000004 */ swc1 $f0, 4($s0) +/* 1A927C 8027A99C C6340034 */ lwc1 $f20, 0x34($s1) +/* 1A9280 8027A9A0 46000786 */ mov.s $f30, $f0 +/* 1A9284 8027A9A4 4600A386 */ mov.s $f14, $f20 +/* 1A9288 8027A9A8 0C00A720 */ jal atan2 +/* 1A928C 8027A9AC E6140008 */ swc1 $f20, 8($s0) +/* 1A9290 8027A9B0 4600E306 */ mov.s $f12, $f28 +/* 1A9294 8027A9B4 4600A386 */ mov.s $f14, $f20 +/* 1A9298 8027A9B8 4406C000 */ mfc1 $a2, $f24 +/* 1A929C 8027A9BC 4407D000 */ mfc1 $a3, $f26 +/* 1A92A0 8027A9C0 461EB781 */ sub.s $f30, $f22, $f30 +/* 1A92A4 8027A9C4 0C00A7B5 */ jal dist2D +/* 1A92A8 8027A9C8 E6000030 */ swc1 $f0, 0x30($s0) +/* 1A92AC 8027A9CC 86020038 */ lh $v0, 0x38($s0) +/* 1A92B0 8027A9D0 46000086 */ mov.s $f2, $f0 +/* 1A92B4 8027A9D4 14400007 */ bnez $v0, .L8027A9F4 +/* 1A92B8 8027A9D8 E6020034 */ swc1 $f2, 0x34($s0) +/* 1A92BC 8027A9DC C6000028 */ lwc1 $f0, 0x28($s0) +/* 1A92C0 8027A9E0 46001003 */ div.s $f0, $f2, $f0 +/* 1A92C4 8027A9E4 4600018D */ trunc.w.s $f6, $f0 +/* 1A92C8 8027A9E8 44023000 */ mfc1 $v0, $f6 +/* 1A92CC 8027A9EC 0809EA82 */ j func_8027AA08 +/* 1A92D0 8027A9F0 A6020038 */ sh $v0, 0x38($s0) + +.L8027A9F4: +/* 1A92D4 8027A9F4 44820000 */ mtc1 $v0, $f0 +/* 1A92D8 8027A9F8 00000000 */ nop +/* 1A92DC 8027A9FC 46800020 */ cvt.s.w $f0, $f0 +/* 1A92E0 8027AA00 46001003 */ div.s $f0, $f2, $f0 +/* 1A92E4 8027AA04 E6000028 */ swc1 $f0, 0x28($s0) +func_8027AA08: +/* 1A92E8 8027AA08 86030038 */ lh $v1, 0x38($s0) +/* 1A92EC 8027AA0C 3C013FE0 */ lui $at, 0x3fe0 +/* 1A92F0 8027AA10 44810800 */ mtc1 $at, $f1 +/* 1A92F4 8027AA14 44800000 */ mtc1 $zero, $f0 +/* 1A92F8 8027AA18 00031023 */ negu $v0, $v1 +/* 1A92FC 8027AA1C 44821000 */ mtc1 $v0, $f2 +/* 1A9300 8027AA20 00000000 */ nop +/* 1A9304 8027AA24 468010A1 */ cvt.d.w $f2, $f2 +/* 1A9308 8027AA28 46201082 */ mul.d $f2, $f2, $f0 +/* 1A930C 8027AA2C 00000000 */ nop +/* 1A9310 8027AA30 AE00002C */ sw $zero, 0x2c($s0) +/* 1A9314 8027AA34 C604002C */ lwc1 $f4, 0x2c($s0) +/* 1A9318 8027AA38 44830000 */ mtc1 $v1, $f0 +/* 1A931C 8027AA3C 00000000 */ nop +/* 1A9320 8027AA40 46800020 */ cvt.s.w $f0, $f0 +/* 1A9324 8027AA44 4600F003 */ div.s $f0, $f30, $f0 +/* 1A9328 8027AA48 46040001 */ sub.s $f0, $f0, $f4 +/* 1A932C 8027AA4C 46000021 */ cvt.d.s $f0, $f0 +/* 1A9330 8027AA50 46220003 */ div.d $f0, $f0, $f2 +/* 1A9334 8027AA54 46200020 */ cvt.s.d $f0, $f0 +/* 1A9338 8027AA58 E6000024 */ swc1 $f0, 0x24($s0) +/* 1A933C 8027AA5C 8E2200B4 */ lw $v0, 0xb4($s1) +/* 1A9340 8027AA60 10400009 */ beqz $v0, .L8027AA88 +/* 1A9344 8027AA64 24020001 */ addiu $v0, $zero, 1 +/* 1A9348 8027AA68 C6200034 */ lwc1 $f0, 0x34($s1) +/* 1A934C 8027AA6C E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A9350 8027AA70 8E2400B4 */ lw $a0, 0xb4($s1) +/* 1A9354 8027AA74 8E26002C */ lw $a2, 0x2c($s1) +/* 1A9358 8027AA78 8E270030 */ lw $a3, 0x30($s1) +/* 1A935C 8027AA7C 0C052757 */ jal play_sound_at_position +/* 1A9360 8027AA80 0000282D */ daddu $a1, $zero, $zero +/* 1A9364 8027AA84 24020001 */ addiu $v0, $zero, 1 +.L8027AA88: +/* 1A9368 8027AA88 AE620070 */ sw $v0, 0x70($s3) +.L8027AA8C: +/* 1A936C 8027AA8C 8E710078 */ lw $s1, 0x78($s3) +/* 1A9370 8027AA90 8E300010 */ lw $s0, 0x10($s1) +/* 1A9374 8027AA94 C6040004 */ lwc1 $f4, 4($s0) +/* 1A9378 8027AA98 C600002C */ lwc1 $f0, 0x2c($s0) +/* 1A937C 8027AA9C 8E050028 */ lw $a1, 0x28($s0) +/* 1A9380 8027AAA0 46002100 */ add.s $f4, $f4, $f0 +/* 1A9384 8027AAA4 C6020024 */ lwc1 $f2, 0x24($s0) +/* 1A9388 8027AAA8 8E060030 */ lw $a2, 0x30($s0) +/* 1A938C 8027AAAC 46020001 */ sub.s $f0, $f0, $f2 +/* 1A9390 8027AAB0 0200202D */ daddu $a0, $s0, $zero +/* 1A9394 8027AAB4 E6040004 */ swc1 $f4, 4($s0) +/* 1A9398 8027AAB8 0C099070 */ jal add_xz_vec3f_copy1 +/* 1A939C 8027AABC E600002C */ swc1 $f0, 0x2c($s0) +/* 1A93A0 8027AAC0 C6000000 */ lwc1 $f0, ($s0) +/* 1A93A4 8027AAC4 E620002C */ swc1 $f0, 0x2c($s1) +/* 1A93A8 8027AAC8 C6000004 */ lwc1 $f0, 4($s0) +/* 1A93AC 8027AACC E6200030 */ swc1 $f0, 0x30($s1) +/* 1A93B0 8027AAD0 C6000008 */ lwc1 $f0, 8($s0) +/* 1A93B4 8027AAD4 E6200034 */ swc1 $f0, 0x34($s1) +/* 1A93B8 8027AAD8 96020038 */ lhu $v0, 0x38($s0) +/* 1A93BC 8027AADC 2442FFFF */ addiu $v0, $v0, -1 +/* 1A93C0 8027AAE0 A6020038 */ sh $v0, 0x38($s0) +/* 1A93C4 8027AAE4 00021400 */ sll $v0, $v0, 0x10 +/* 1A93C8 8027AAE8 1C40000F */ bgtz $v0, .L8027AB28 +/* 1A93CC 8027AAEC 0000102D */ daddu $v0, $zero, $zero +/* 1A93D0 8027AAF0 C6000030 */ lwc1 $f0, 0x30($s0) +/* 1A93D4 8027AAF4 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A93D8 8027AAF8 8E05000C */ lw $a1, 0xc($s0) +/* 1A93DC 8027AAFC 8E060010 */ lw $a2, 0x10($s0) +/* 1A93E0 8027AB00 8E070014 */ lw $a3, 0x14($s0) +/* 1A93E4 8027AB04 0C0990BC */ jal play_movement_dust_effects +/* 1A93E8 8027AB08 24040002 */ addiu $a0, $zero, 2 +/* 1A93EC 8027AB0C C600000C */ lwc1 $f0, 0xc($s0) +/* 1A93F0 8027AB10 E620002C */ swc1 $f0, 0x2c($s1) +/* 1A93F4 8027AB14 C6000010 */ lwc1 $f0, 0x10($s0) +/* 1A93F8 8027AB18 E6200030 */ swc1 $f0, 0x30($s1) +/* 1A93FC 8027AB1C C6000014 */ lwc1 $f0, 0x14($s0) +/* 1A9400 8027AB20 24020001 */ addiu $v0, $zero, 1 +/* 1A9404 8027AB24 E6200034 */ swc1 $f0, 0x34($s1) +.L8027AB28: +/* 1A9408 8027AB28 8FBF0028 */ lw $ra, 0x28($sp) +/* 1A940C 8027AB2C 8FB30024 */ lw $s3, 0x24($sp) +/* 1A9410 8027AB30 8FB20020 */ lw $s2, 0x20($sp) +/* 1A9414 8027AB34 8FB1001C */ lw $s1, 0x1c($sp) +/* 1A9418 8027AB38 8FB00018 */ lw $s0, 0x18($sp) +/* 1A941C 8027AB3C D7BE0058 */ ldc1 $f30, 0x58($sp) +/* 1A9420 8027AB40 D7BC0050 */ ldc1 $f28, 0x50($sp) +/* 1A9424 8027AB44 D7BA0048 */ ldc1 $f26, 0x48($sp) +/* 1A9428 8027AB48 D7B80040 */ ldc1 $f24, 0x40($sp) +/* 1A942C 8027AB4C D7B60038 */ ldc1 $f22, 0x38($sp) +/* 1A9430 8027AB50 D7B40030 */ ldc1 $f20, 0x30($sp) +/* 1A9434 8027AB54 03E00008 */ jr $ra +/* 1A9438 8027AB58 27BD0060 */ addiu $sp, $sp, 0x60 + +LandJumpPart: +/* 1A943C 8027AB5C 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 1A9440 8027AB60 AFB20020 */ sw $s2, 0x20($sp) +/* 1A9444 8027AB64 0080902D */ daddu $s2, $a0, $zero +/* 1A9448 8027AB68 AFBF0024 */ sw $ra, 0x24($sp) +/* 1A944C 8027AB6C AFB1001C */ sw $s1, 0x1c($sp) +/* 1A9450 8027AB70 AFB00018 */ sw $s0, 0x18($sp) +/* 1A9454 8027AB74 8E51000C */ lw $s1, 0xc($s2) +/* 1A9458 8027AB78 54A00001 */ bnezl $a1, .L8027AB80 +/* 1A945C 8027AB7C AE400070 */ sw $zero, 0x70($s2) +.L8027AB80: +/* 1A9460 8027AB80 8E420070 */ lw $v0, 0x70($s2) +/* 1A9464 8027AB84 14400020 */ bnez $v0, .L8027AC08 +/* 1A9468 8027AB88 00000000 */ nop +/* 1A946C 8027AB8C 8E250000 */ lw $a1, ($s1) +/* 1A9470 8027AB90 26310004 */ addiu $s1, $s1, 4 +/* 1A9474 8027AB94 0C0B1EAF */ jal get_variable +/* 1A9478 8027AB98 0240202D */ daddu $a0, $s2, $zero +/* 1A947C 8027AB9C 0040802D */ daddu $s0, $v0, $zero +/* 1A9480 8027ABA0 8E250000 */ lw $a1, ($s1) +/* 1A9484 8027ABA4 0C0B1EAF */ jal get_variable +/* 1A9488 8027ABA8 0240202D */ daddu $a0, $s2, $zero +/* 1A948C 8027ABAC 0040882D */ daddu $s1, $v0, $zero +/* 1A9490 8027ABB0 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1A9494 8027ABB4 16020002 */ bne $s0, $v0, .L8027ABC0 +/* 1A9498 8027ABB8 00000000 */ nop +/* 1A949C 8027ABBC 8E500148 */ lw $s0, 0x148($s2) +.L8027ABC0: +/* 1A94A0 8027ABC0 0C09A75B */ jal get_actor +/* 1A94A4 8027ABC4 0200202D */ daddu $a0, $s0, $zero +/* 1A94A8 8027ABC8 0040802D */ daddu $s0, $v0, $zero +/* 1A94AC 8027ABCC 0200202D */ daddu $a0, $s0, $zero +/* 1A94B0 8027ABD0 0C099117 */ jal get_actor_part +/* 1A94B4 8027ABD4 0220282D */ daddu $a1, $s1, $zero +/* 1A94B8 8027ABD8 0040882D */ daddu $s1, $v0, $zero +/* 1A94BC 8027ABDC AE500074 */ sw $s0, 0x74($s2) +/* 1A94C0 8027ABE0 AE510078 */ sw $s1, 0x78($s2) +/* 1A94C4 8027ABE4 8E300010 */ lw $s0, 0x10($s1) +/* 1A94C8 8027ABE8 C620002C */ lwc1 $f0, 0x2c($s1) +/* 1A94CC 8027ABEC E6000000 */ swc1 $f0, ($s0) +/* 1A94D0 8027ABF0 C6200030 */ lwc1 $f0, 0x30($s1) +/* 1A94D4 8027ABF4 E6000004 */ swc1 $f0, 4($s0) +/* 1A94D8 8027ABF8 C6200034 */ lwc1 $f0, 0x34($s1) +/* 1A94DC 8027ABFC 24020001 */ addiu $v0, $zero, 1 +/* 1A94E0 8027AC00 E6000008 */ swc1 $f0, 8($s0) +/* 1A94E4 8027AC04 AE420070 */ sw $v0, 0x70($s2) +.L8027AC08: +/* 1A94E8 8027AC08 8E510078 */ lw $s1, 0x78($s2) +/* 1A94EC 8027AC0C 8E300010 */ lw $s0, 0x10($s1) +/* 1A94F0 8027AC10 C6040004 */ lwc1 $f4, 4($s0) +/* 1A94F4 8027AC14 C600002C */ lwc1 $f0, 0x2c($s0) +/* 1A94F8 8027AC18 8E050028 */ lw $a1, 0x28($s0) +/* 1A94FC 8027AC1C 46002100 */ add.s $f4, $f4, $f0 +/* 1A9500 8027AC20 C6020024 */ lwc1 $f2, 0x24($s0) +/* 1A9504 8027AC24 8E060030 */ lw $a2, 0x30($s0) +/* 1A9508 8027AC28 46020001 */ sub.s $f0, $f0, $f2 +/* 1A950C 8027AC2C 0200202D */ daddu $a0, $s0, $zero +/* 1A9510 8027AC30 E6040004 */ swc1 $f4, 4($s0) +/* 1A9514 8027AC34 0C099070 */ jal add_xz_vec3f_copy1 +/* 1A9518 8027AC38 E600002C */ swc1 $f0, 0x2c($s0) +/* 1A951C 8027AC3C C6000000 */ lwc1 $f0, ($s0) +/* 1A9520 8027AC40 44802000 */ mtc1 $zero, $f4 +/* 1A9524 8027AC44 E620002C */ swc1 $f0, 0x2c($s1) +/* 1A9528 8027AC48 C6000004 */ lwc1 $f0, 4($s0) +/* 1A952C 8027AC4C E6200030 */ swc1 $f0, 0x30($s1) +/* 1A9530 8027AC50 C6220030 */ lwc1 $f2, 0x30($s1) +/* 1A9534 8027AC54 C6000008 */ lwc1 $f0, 8($s0) +/* 1A9538 8027AC58 4604103C */ c.lt.s $f2, $f4 +/* 1A953C 8027AC5C 00000000 */ nop +/* 1A9540 8027AC60 45010003 */ bc1t .L8027AC70 +/* 1A9544 8027AC64 E6200034 */ swc1 $f0, 0x34($s1) +/* 1A9548 8027AC68 0809EB25 */ j func_8027AC94 +/* 1A954C 8027AC6C 0000102D */ daddu $v0, $zero, $zero + +.L8027AC70: +/* 1A9550 8027AC70 C6200064 */ lwc1 $f0, 0x64($s1) +/* 1A9554 8027AC74 E6240030 */ swc1 $f4, 0x30($s1) +/* 1A9558 8027AC78 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A955C 8027AC7C 8E25002C */ lw $a1, 0x2c($s1) +/* 1A9560 8027AC80 8E260030 */ lw $a2, 0x30($s1) +/* 1A9564 8027AC84 8E270034 */ lw $a3, 0x34($s1) +/* 1A9568 8027AC88 0C0990BC */ jal play_movement_dust_effects +/* 1A956C 8027AC8C 24040002 */ addiu $a0, $zero, 2 +/* 1A9570 8027AC90 24020001 */ addiu $v0, $zero, 1 +func_8027AC94: +/* 1A9574 8027AC94 8FBF0024 */ lw $ra, 0x24($sp) +/* 1A9578 8027AC98 8FB20020 */ lw $s2, 0x20($sp) +/* 1A957C 8027AC9C 8FB1001C */ lw $s1, 0x1c($sp) +/* 1A9580 8027ACA0 8FB00018 */ lw $s0, 0x18($sp) +/* 1A9584 8027ACA4 03E00008 */ jr $ra +/* 1A9588 8027ACA8 27BD0028 */ addiu $sp, $sp, 0x28 + +RunPartTo: +/* 1A958C 8027ACAC 27BDFFB0 */ addiu $sp, $sp, -0x50 +/* 1A9590 8027ACB0 AFB40028 */ sw $s4, 0x28($sp) +/* 1A9594 8027ACB4 0080A02D */ daddu $s4, $a0, $zero +/* 1A9598 8027ACB8 AFBF002C */ sw $ra, 0x2c($sp) +/* 1A959C 8027ACBC AFB30024 */ sw $s3, 0x24($sp) +/* 1A95A0 8027ACC0 AFB20020 */ sw $s2, 0x20($sp) +/* 1A95A4 8027ACC4 AFB1001C */ sw $s1, 0x1c($sp) +/* 1A95A8 8027ACC8 AFB00018 */ sw $s0, 0x18($sp) +/* 1A95AC 8027ACCC F7BA0048 */ sdc1 $f26, 0x48($sp) +/* 1A95B0 8027ACD0 F7B80040 */ sdc1 $f24, 0x40($sp) +/* 1A95B4 8027ACD4 F7B60038 */ sdc1 $f22, 0x38($sp) +/* 1A95B8 8027ACD8 F7B40030 */ sdc1 $f20, 0x30($sp) +/* 1A95BC 8027ACDC 8E91000C */ lw $s1, 0xc($s4) +/* 1A95C0 8027ACE0 54A00001 */ bnezl $a1, .L8027ACE8 +/* 1A95C4 8027ACE4 AE800070 */ sw $zero, 0x70($s4) +.L8027ACE8: +/* 1A95C8 8027ACE8 8E820070 */ lw $v0, 0x70($s4) +/* 1A95CC 8027ACEC 1440006F */ bnez $v0, .L8027AEAC +/* 1A95D0 8027ACF0 00000000 */ nop +/* 1A95D4 8027ACF4 8E250000 */ lw $a1, ($s1) +/* 1A95D8 8027ACF8 26310004 */ addiu $s1, $s1, 4 +/* 1A95DC 8027ACFC 0C0B1EAF */ jal get_variable +/* 1A95E0 8027AD00 0280202D */ daddu $a0, $s4, $zero +/* 1A95E4 8027AD04 0040802D */ daddu $s0, $v0, $zero +/* 1A95E8 8027AD08 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1A95EC 8027AD0C 16020002 */ bne $s0, $v0, .L8027AD18 +/* 1A95F0 8027AD10 00000000 */ nop +/* 1A95F4 8027AD14 8E900148 */ lw $s0, 0x148($s4) +.L8027AD18: +/* 1A95F8 8027AD18 8E250000 */ lw $a1, ($s1) +/* 1A95FC 8027AD1C 26310004 */ addiu $s1, $s1, 4 +/* 1A9600 8027AD20 0C0B1EAF */ jal get_variable +/* 1A9604 8027AD24 0280202D */ daddu $a0, $s4, $zero +/* 1A9608 8027AD28 0200202D */ daddu $a0, $s0, $zero +/* 1A960C 8027AD2C 0C09A75B */ jal get_actor +/* 1A9610 8027AD30 0040802D */ daddu $s0, $v0, $zero +/* 1A9614 8027AD34 0040982D */ daddu $s3, $v0, $zero +/* 1A9618 8027AD38 0260202D */ daddu $a0, $s3, $zero +/* 1A961C 8027AD3C 0C099117 */ jal get_actor_part +/* 1A9620 8027AD40 0200282D */ daddu $a1, $s0, $zero +/* 1A9624 8027AD44 0040902D */ daddu $s2, $v0, $zero +/* 1A9628 8027AD48 AE930074 */ sw $s3, 0x74($s4) +/* 1A962C 8027AD4C AE920078 */ sw $s2, 0x78($s4) +/* 1A9630 8027AD50 8E250000 */ lw $a1, ($s1) +/* 1A9634 8027AD54 26310004 */ addiu $s1, $s1, 4 +/* 1A9638 8027AD58 8E500010 */ lw $s0, 0x10($s2) +/* 1A963C 8027AD5C 0C0B1EAF */ jal get_variable +/* 1A9640 8027AD60 0280202D */ daddu $a0, $s4, $zero +/* 1A9644 8027AD64 4482D000 */ mtc1 $v0, $f26 +/* 1A9648 8027AD68 00000000 */ nop +/* 1A964C 8027AD6C 4680D6A0 */ cvt.s.w $f26, $f26 +/* 1A9650 8027AD70 8E250000 */ lw $a1, ($s1) +/* 1A9654 8027AD74 26310004 */ addiu $s1, $s1, 4 +/* 1A9658 8027AD78 0C0B1EAF */ jal get_variable +/* 1A965C 8027AD7C 0280202D */ daddu $a0, $s4, $zero +/* 1A9660 8027AD80 8E250000 */ lw $a1, ($s1) +/* 1A9664 8027AD84 26310004 */ addiu $s1, $s1, 4 +/* 1A9668 8027AD88 4482A000 */ mtc1 $v0, $f20 +/* 1A966C 8027AD8C 00000000 */ nop +/* 1A9670 8027AD90 4680A520 */ cvt.s.w $f20, $f20 +/* 1A9674 8027AD94 0C0B1EAF */ jal get_variable +/* 1A9678 8027AD98 0280202D */ daddu $a0, $s4, $zero +/* 1A967C 8027AD9C 44820000 */ mtc1 $v0, $f0 +/* 1A9680 8027ADA0 00000000 */ nop +/* 1A9684 8027ADA4 46800020 */ cvt.s.w $f0, $f0 +/* 1A9688 8027ADA8 E61A000C */ swc1 $f26, 0xc($s0) +/* 1A968C 8027ADAC E6140010 */ swc1 $f20, 0x10($s0) +/* 1A9690 8027ADB0 E6000014 */ swc1 $f0, 0x14($s0) +/* 1A9694 8027ADB4 8E250000 */ lw $a1, ($s1) +/* 1A9698 8027ADB8 0C0B1EAF */ jal get_variable +/* 1A969C 8027ADBC 0280202D */ daddu $a0, $s4, $zero +/* 1A96A0 8027ADC0 A6020038 */ sh $v0, 0x38($s0) +/* 1A96A4 8027ADC4 C640002C */ lwc1 $f0, 0x2c($s2) +/* 1A96A8 8027ADC8 C616000C */ lwc1 $f22, 0xc($s0) +/* 1A96AC 8027ADCC C6180014 */ lwc1 $f24, 0x14($s0) +/* 1A96B0 8027ADD0 E6000000 */ swc1 $f0, ($s0) +/* 1A96B4 8027ADD4 46000686 */ mov.s $f26, $f0 +/* 1A96B8 8027ADD8 4406B000 */ mfc1 $a2, $f22 +/* 1A96BC 8027ADDC C6400030 */ lwc1 $f0, 0x30($s2) +/* 1A96C0 8027ADE0 4600D306 */ mov.s $f12, $f26 +/* 1A96C4 8027ADE4 E6000004 */ swc1 $f0, 4($s0) +/* 1A96C8 8027ADE8 C6540034 */ lwc1 $f20, 0x34($s2) +/* 1A96CC 8027ADEC 4407C000 */ mfc1 $a3, $f24 +/* 1A96D0 8027ADF0 4600A386 */ mov.s $f14, $f20 +/* 1A96D4 8027ADF4 0C00A720 */ jal atan2 +/* 1A96D8 8027ADF8 E6140008 */ swc1 $f20, 8($s0) +/* 1A96DC 8027ADFC 4600D306 */ mov.s $f12, $f26 +/* 1A96E0 8027AE00 4406B000 */ mfc1 $a2, $f22 +/* 1A96E4 8027AE04 4407C000 */ mfc1 $a3, $f24 +/* 1A96E8 8027AE08 4600A386 */ mov.s $f14, $f20 +/* 1A96EC 8027AE0C 0C00A7B5 */ jal dist2D +/* 1A96F0 8027AE10 E6000030 */ swc1 $f0, 0x30($s0) +/* 1A96F4 8027AE14 86020038 */ lh $v0, 0x38($s0) +/* 1A96F8 8027AE18 46000086 */ mov.s $f2, $f0 +/* 1A96FC 8027AE1C 14400007 */ bnez $v0, .L8027AE3C +/* 1A9700 8027AE20 E6020034 */ swc1 $f2, 0x34($s0) +/* 1A9704 8027AE24 C6000028 */ lwc1 $f0, 0x28($s0) +/* 1A9708 8027AE28 46001003 */ div.s $f0, $f2, $f0 +/* 1A970C 8027AE2C 4600010D */ trunc.w.s $f4, $f0 +/* 1A9710 8027AE30 44022000 */ mfc1 $v0, $f4 +/* 1A9714 8027AE34 0809EB94 */ j func_8027AE50 +/* 1A9718 8027AE38 A6020038 */ sh $v0, 0x38($s0) + +.L8027AE3C: +/* 1A971C 8027AE3C 44820000 */ mtc1 $v0, $f0 +/* 1A9720 8027AE40 00000000 */ nop +/* 1A9724 8027AE44 46800020 */ cvt.s.w $f0, $f0 +/* 1A9728 8027AE48 46001003 */ div.s $f0, $f2, $f0 +/* 1A972C 8027AE4C E6000028 */ swc1 $f0, 0x28($s0) +func_8027AE50: +/* 1A9730 8027AE50 864200BC */ lh $v0, 0xbc($s2) +/* 1A9734 8027AE54 04420002 */ bltzl $v0, .L8027AE60 +/* 1A9738 8027AE58 00021027 */ nor $v0, $zero, $v0 +/* 1A973C 8027AE5C 24420001 */ addiu $v0, $v0, 1 +.L8027AE60: +/* 1A9740 8027AE60 44820000 */ mtc1 $v0, $f0 +/* 1A9744 8027AE64 00000000 */ nop +/* 1A9748 8027AE68 46800020 */ cvt.s.w $f0, $f0 +/* 1A974C 8027AE6C E6000034 */ swc1 $f0, 0x34($s0) +/* 1A9750 8027AE70 8E4200A4 */ lw $v0, 0xa4($s2) +/* 1A9754 8027AE74 1040000C */ beqz $v0, .L8027AEA8 +/* 1A9758 8027AE78 24020001 */ addiu $v0, $zero, 1 +/* 1A975C 8027AE7C 8E4200A8 */ lw $v0, 0xa8($s2) +/* 1A9760 8027AE80 14400009 */ bnez $v0, .L8027AEA8 +/* 1A9764 8027AE84 24020001 */ addiu $v0, $zero, 1 +/* 1A9768 8027AE88 C6400034 */ lwc1 $f0, 0x34($s2) +/* 1A976C 8027AE8C E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A9770 8027AE90 8E4400A4 */ lw $a0, 0xa4($s2) +/* 1A9774 8027AE94 8E46002C */ lw $a2, 0x2c($s2) +/* 1A9778 8027AE98 8E470030 */ lw $a3, 0x30($s2) +/* 1A977C 8027AE9C 0C052757 */ jal play_sound_at_position +/* 1A9780 8027AEA0 0000282D */ daddu $a1, $zero, $zero +/* 1A9784 8027AEA4 24020001 */ addiu $v0, $zero, 1 +.L8027AEA8: +/* 1A9788 8027AEA8 AE820070 */ sw $v0, 0x70($s4) +.L8027AEAC: +/* 1A978C 8027AEAC 8E920078 */ lw $s2, 0x78($s4) +/* 1A9790 8027AEB0 8E500010 */ lw $s0, 0x10($s2) +/* 1A9794 8027AEB4 8E930074 */ lw $s3, 0x74($s4) +/* 1A9798 8027AEB8 8E050028 */ lw $a1, 0x28($s0) +/* 1A979C 8027AEBC 8E060030 */ lw $a2, 0x30($s0) +/* 1A97A0 8027AEC0 0C099070 */ jal add_xz_vec3f_copy1 +/* 1A97A4 8027AEC4 0200202D */ daddu $a0, $s0, $zero +/* 1A97A8 8027AEC8 C6020028 */ lwc1 $f2, 0x28($s0) +/* 1A97AC 8027AECC 3C014080 */ lui $at, 0x4080 +/* 1A97B0 8027AED0 44810000 */ mtc1 $at, $f0 +/* 1A97B4 8027AED4 00000000 */ nop +/* 1A97B8 8027AED8 4600103C */ c.lt.s $f2, $f0 +/* 1A97BC 8027AEDC 00000000 */ nop +/* 1A97C0 8027AEE0 45000007 */ bc1f .L8027AF00 +/* 1A97C4 8027AEE4 0000202D */ daddu $a0, $zero, $zero +/* 1A97C8 8027AEE8 C6000030 */ lwc1 $f0, 0x30($s0) +/* 1A97CC 8027AEEC E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A97D0 8027AEF0 8E050000 */ lw $a1, ($s0) +/* 1A97D4 8027AEF4 8E060004 */ lw $a2, 4($s0) +/* 1A97D8 8027AEF8 0809EBC6 */ j func_8027AF18 +/* 1A97DC 8027AEFC 8E070008 */ lw $a3, 8($s0) + +.L8027AF00: +/* 1A97E0 8027AF00 C6000030 */ lwc1 $f0, 0x30($s0) +/* 1A97E4 8027AF04 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A97E8 8027AF08 8E050000 */ lw $a1, ($s0) +/* 1A97EC 8027AF0C 8E060004 */ lw $a2, 4($s0) +/* 1A97F0 8027AF10 8E070008 */ lw $a3, 8($s0) +/* 1A97F4 8027AF14 24040001 */ addiu $a0, $zero, 1 +func_8027AF18: +/* 1A97F8 8027AF18 0C0990BC */ jal play_movement_dust_effects +/* 1A97FC 8027AF1C 00000000 */ nop +/* 1A9800 8027AF20 C6000000 */ lwc1 $f0, ($s0) +/* 1A9804 8027AF24 8E4200A4 */ lw $v0, 0xa4($s2) +/* 1A9808 8027AF28 E640002C */ swc1 $f0, 0x2c($s2) +/* 1A980C 8027AF2C C6000004 */ lwc1 $f0, 4($s0) +/* 1A9810 8027AF30 E6400030 */ swc1 $f0, 0x30($s2) +/* 1A9814 8027AF34 C6000008 */ lwc1 $f0, 8($s0) +/* 1A9818 8027AF38 1040004A */ beqz $v0, .L8027B064 +/* 1A981C 8027AF3C E6400034 */ swc1 $f0, 0x34($s2) +/* 1A9820 8027AF40 8E4200A8 */ lw $v0, 0xa8($s2) +/* 1A9824 8027AF44 10400047 */ beqz $v0, .L8027B064 +/* 1A9828 8027AF48 00000000 */ nop +/* 1A982C 8027AF4C 864200BC */ lh $v0, 0xbc($s2) +/* 1A9830 8027AF50 0440001C */ bltz $v0, .L8027AFC4 +/* 1A9834 8027AF54 00000000 */ nop +/* 1A9838 8027AF58 C6020034 */ lwc1 $f2, 0x34($s0) +/* 1A983C 8027AF5C C6000028 */ lwc1 $f0, 0x28($s0) +/* 1A9840 8027AF60 46001080 */ add.s $f2, $f2, $f0 +/* 1A9844 8027AF64 E6020034 */ swc1 $f2, 0x34($s0) +/* 1A9848 8027AF68 864200BC */ lh $v0, 0xbc($s2) +/* 1A984C 8027AF6C 44820000 */ mtc1 $v0, $f0 +/* 1A9850 8027AF70 00000000 */ nop +/* 1A9854 8027AF74 46800020 */ cvt.s.w $f0, $f0 +/* 1A9858 8027AF78 4602003C */ c.lt.s $f0, $f2 +/* 1A985C 8027AF7C 00000000 */ nop +/* 1A9860 8027AF80 45000038 */ bc1f .L8027B064 +/* 1A9864 8027AF84 00000000 */ nop +/* 1A9868 8027AF88 92620135 */ lbu $v0, 0x135($s3) +/* 1A986C 8027AF8C 24420001 */ addiu $v0, $v0, 1 +/* 1A9870 8027AF90 A2620135 */ sb $v0, 0x135($s3) +/* 1A9874 8027AF94 AE000034 */ sw $zero, 0x34($s0) +/* 1A9878 8027AF98 92620135 */ lbu $v0, 0x135($s3) +/* 1A987C 8027AF9C 30420001 */ andi $v0, $v0, 1 +/* 1A9880 8027AFA0 10400026 */ beqz $v0, .L8027B03C +/* 1A9884 8027AFA4 00000000 */ nop +/* 1A9888 8027AFA8 8E4200A4 */ lw $v0, 0xa4($s2) +/* 1A988C 8027AFAC 1040002D */ beqz $v0, .L8027B064 +/* 1A9890 8027AFB0 00000000 */ nop +/* 1A9894 8027AFB4 C6400034 */ lwc1 $f0, 0x34($s2) +/* 1A9898 8027AFB8 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A989C 8027AFBC 0809EC15 */ j func_8027B054 +/* 1A98A0 8027AFC0 8E4400A4 */ lw $a0, 0xa4($s2) + +.L8027AFC4: +/* 1A98A4 8027AFC4 C6020034 */ lwc1 $f2, 0x34($s0) +/* 1A98A8 8027AFC8 3C013F80 */ lui $at, 0x3f80 +/* 1A98AC 8027AFCC 44810000 */ mtc1 $at, $f0 +/* 1A98B0 8027AFD0 00000000 */ nop +/* 1A98B4 8027AFD4 46001080 */ add.s $f2, $f2, $f0 +/* 1A98B8 8027AFD8 E6020034 */ swc1 $f2, 0x34($s0) +/* 1A98BC 8027AFDC 864200BC */ lh $v0, 0xbc($s2) +/* 1A98C0 8027AFE0 00021023 */ negu $v0, $v0 +/* 1A98C4 8027AFE4 44820000 */ mtc1 $v0, $f0 +/* 1A98C8 8027AFE8 00000000 */ nop +/* 1A98CC 8027AFEC 46800020 */ cvt.s.w $f0, $f0 +/* 1A98D0 8027AFF0 4602003E */ c.le.s $f0, $f2 +/* 1A98D4 8027AFF4 00000000 */ nop +/* 1A98D8 8027AFF8 4500001A */ bc1f .L8027B064 +/* 1A98DC 8027AFFC 00000000 */ nop +/* 1A98E0 8027B000 92620135 */ lbu $v0, 0x135($s3) +/* 1A98E4 8027B004 24420001 */ addiu $v0, $v0, 1 +/* 1A98E8 8027B008 A2620135 */ sb $v0, 0x135($s3) +/* 1A98EC 8027B00C AE000034 */ sw $zero, 0x34($s0) +/* 1A98F0 8027B010 92620135 */ lbu $v0, 0x135($s3) +/* 1A98F4 8027B014 30420001 */ andi $v0, $v0, 1 +/* 1A98F8 8027B018 10400008 */ beqz $v0, .L8027B03C +/* 1A98FC 8027B01C 00000000 */ nop +/* 1A9900 8027B020 8E4200A4 */ lw $v0, 0xa4($s2) +/* 1A9904 8027B024 1040000F */ beqz $v0, .L8027B064 +/* 1A9908 8027B028 00000000 */ nop +/* 1A990C 8027B02C C6400034 */ lwc1 $f0, 0x34($s2) +/* 1A9910 8027B030 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A9914 8027B034 0809EC15 */ j func_8027B054 +/* 1A9918 8027B038 8E4400A4 */ lw $a0, 0xa4($s2) + +.L8027B03C: +/* 1A991C 8027B03C 8E4200A8 */ lw $v0, 0xa8($s2) +/* 1A9920 8027B040 10400008 */ beqz $v0, .L8027B064 +/* 1A9924 8027B044 00000000 */ nop +/* 1A9928 8027B048 C6400034 */ lwc1 $f0, 0x34($s2) +/* 1A992C 8027B04C E7A00010 */ swc1 $f0, 0x10($sp) +/* 1A9930 8027B050 8E4400A8 */ lw $a0, 0xa8($s2) +func_8027B054: +/* 1A9934 8027B054 8E46002C */ lw $a2, 0x2c($s2) +/* 1A9938 8027B058 8E470030 */ lw $a3, 0x30($s2) +/* 1A993C 8027B05C 0C052757 */ jal play_sound_at_position +/* 1A9940 8027B060 0000282D */ daddu $a1, $zero, $zero +.L8027B064: +/* 1A9944 8027B064 96020038 */ lhu $v0, 0x38($s0) +/* 1A9948 8027B068 2442FFFF */ addiu $v0, $v0, -1 +/* 1A994C 8027B06C A6020038 */ sh $v0, 0x38($s0) +/* 1A9950 8027B070 00021400 */ sll $v0, $v0, 0x10 +/* 1A9954 8027B074 1C40000D */ bgtz $v0, .L8027B0AC +/* 1A9958 8027B078 0000102D */ daddu $v0, $zero, $zero +/* 1A995C 8027B07C C600000C */ lwc1 $f0, 0xc($s0) +/* 1A9960 8027B080 8E4400A4 */ lw $a0, 0xa4($s2) +/* 1A9964 8027B084 E640002C */ swc1 $f0, 0x2c($s2) +/* 1A9968 8027B088 C6000014 */ lwc1 $f0, 0x14($s0) +/* 1A996C 8027B08C 10800006 */ beqz $a0, .L8027B0A8 +/* 1A9970 8027B090 E6400034 */ swc1 $f0, 0x34($s2) +/* 1A9974 8027B094 8E4200A8 */ lw $v0, 0xa8($s2) +/* 1A9978 8027B098 14400004 */ bnez $v0, .L8027B0AC +/* 1A997C 8027B09C 24020001 */ addiu $v0, $zero, 1 +/* 1A9980 8027B0A0 0C0154F0 */ jal func_800553C0 +/* 1A9984 8027B0A4 00000000 */ nop +.L8027B0A8: +/* 1A9988 8027B0A8 24020001 */ addiu $v0, $zero, 1 +.L8027B0AC: +/* 1A998C 8027B0AC 8FBF002C */ lw $ra, 0x2c($sp) +/* 1A9990 8027B0B0 8FB40028 */ lw $s4, 0x28($sp) +/* 1A9994 8027B0B4 8FB30024 */ lw $s3, 0x24($sp) +/* 1A9998 8027B0B8 8FB20020 */ lw $s2, 0x20($sp) +/* 1A999C 8027B0BC 8FB1001C */ lw $s1, 0x1c($sp) +/* 1A99A0 8027B0C0 8FB00018 */ lw $s0, 0x18($sp) +/* 1A99A4 8027B0C4 D7BA0048 */ ldc1 $f26, 0x48($sp) +/* 1A99A8 8027B0C8 D7B80040 */ ldc1 $f24, 0x40($sp) +/* 1A99AC 8027B0CC D7B60038 */ ldc1 $f22, 0x38($sp) +/* 1A99B0 8027B0D0 D7B40030 */ ldc1 $f20, 0x30($sp) +/* 1A99B4 8027B0D4 03E00008 */ jr $ra +/* 1A99B8 8027B0D8 27BD0050 */ addiu $sp, $sp, 0x50 + +update_lerp_battle: +/* 1A99BC 8027B0DC 27BDFFC0 */ addiu $sp, $sp, -0x40 +/* 1A99C0 8027B0E0 F7B80030 */ sdc1 $f24, 0x30($sp) +/* 1A99C4 8027B0E4 4485C000 */ mtc1 $a1, $f24 +/* 1A99C8 8027B0E8 F7BA0038 */ sdc1 $f26, 0x38($sp) +/* 1A99CC 8027B0EC 4486D000 */ mtc1 $a2, $f26 +/* 1A99D0 8027B0F0 AFB10014 */ sw $s1, 0x14($sp) +/* 1A99D4 8027B0F4 AFB00010 */ sw $s0, 0x10($sp) +/* 1A99D8 8027B0F8 8FB00050 */ lw $s0, 0x50($sp) +/* 1A99DC 8027B0FC 2C82000D */ sltiu $v0, $a0, 0xd +/* 1A99E0 8027B100 AFBF0018 */ sw $ra, 0x18($sp) +/* 1A99E4 8027B104 F7B60028 */ sdc1 $f22, 0x28($sp) +/* 1A99E8 8027B108 F7B40020 */ sdc1 $f20, 0x20($sp) +/* 1A99EC 8027B10C 1040013B */ beqz $v0, .L8027B5FC +/* 1A99F0 8027B110 00E0882D */ daddu $s1, $a3, $zero +/* 1A99F4 8027B114 00041080 */ sll $v0, $a0, 2 +/* 1A99F8 8027B118 3C01802A */ lui $at, 0x802a +/* 1A99FC 8027B11C 00220821 */ addu $at, $at, $v0 +/* 1A9A00 8027B120 8C22D9A8 */ lw $v0, -0x2658($at) +/* 1A9A04 8027B124 00400008 */ jr $v0 +/* 1A9A08 8027B128 00000000 */ nop +/* 1A9A0C 8027B12C 4618D001 */ sub.s $f0, $f26, $f24 +/* 1A9A10 8027B130 44911000 */ mtc1 $s1, $f2 +/* 1A9A14 8027B134 00000000 */ nop +/* 1A9A18 8027B138 468010A0 */ cvt.s.w $f2, $f2 +/* 1A9A1C 8027B13C 46020002 */ mul.s $f0, $f0, $f2 +/* 1A9A20 8027B140 00000000 */ nop +/* 1A9A24 8027B144 44901000 */ mtc1 $s0, $f2 +/* 1A9A28 8027B148 00000000 */ nop +/* 1A9A2C 8027B14C 468010A0 */ cvt.s.w $f2, $f2 +/* 1A9A30 8027B150 0809EC80 */ j func_8027B200 +/* 1A9A34 8027B154 46020003 */ div.s $f0, $f0, $f2 + +/* 1A9A38 8027B158 02310018 */ mult $s1, $s1 +/* 1A9A3C 8027B15C 00004012 */ mflo $t0 +/* 1A9A40 8027B160 00000000 */ nop +/* 1A9A44 8027B164 0809EC75 */ j func_8027B1D4 +/* 1A9A48 8027B168 02100018 */ mult $s0, $s0 + +/* 1A9A4C 8027B16C 02310018 */ mult $s1, $s1 +/* 1A9A50 8027B170 00004012 */ mflo $t0 +/* 1A9A54 8027B174 00000000 */ nop +/* 1A9A58 8027B178 0809EC6D */ j func_8027B1B4 +/* 1A9A5C 8027B17C 02100018 */ mult $s0, $s0 + +/* 1A9A60 8027B180 02310018 */ mult $s1, $s1 +/* 1A9A64 8027B184 00004012 */ mflo $t0 +/* 1A9A68 8027B188 00000000 */ nop +/* 1A9A6C 8027B18C 00000000 */ nop +/* 1A9A70 8027B190 02100018 */ mult $s0, $s0 +/* 1A9A74 8027B194 00001012 */ mflo $v0 +/* 1A9A78 8027B198 00000000 */ nop +/* 1A9A7C 8027B19C 00000000 */ nop +/* 1A9A80 8027B1A0 01110018 */ mult $t0, $s1 +/* 1A9A84 8027B1A4 00004012 */ mflo $t0 +/* 1A9A88 8027B1A8 00000000 */ nop +/* 1A9A8C 8027B1AC 00000000 */ nop +/* 1A9A90 8027B1B0 00500018 */ mult $v0, $s0 +func_8027B1B4: +/* 1A9A94 8027B1B4 00001012 */ mflo $v0 +/* 1A9A98 8027B1B8 00000000 */ nop +/* 1A9A9C 8027B1BC 00000000 */ nop +/* 1A9AA0 8027B1C0 01110018 */ mult $t0, $s1 +/* 1A9AA4 8027B1C4 00004012 */ mflo $t0 +/* 1A9AA8 8027B1C8 00000000 */ nop +/* 1A9AAC 8027B1CC 00000000 */ nop +/* 1A9AB0 8027B1D0 00500018 */ mult $v0, $s0 +func_8027B1D4: +/* 1A9AB4 8027B1D4 4618D081 */ sub.s $f2, $f26, $f24 +/* 1A9AB8 8027B1D8 44880000 */ mtc1 $t0, $f0 +/* 1A9ABC 8027B1DC 00000000 */ nop +/* 1A9AC0 8027B1E0 46800020 */ cvt.s.w $f0, $f0 +/* 1A9AC4 8027B1E4 46020002 */ mul.s $f0, $f0, $f2 +/* 1A9AC8 8027B1E8 00000000 */ nop +/* 1A9ACC 8027B1EC 00001012 */ mflo $v0 +/* 1A9AD0 8027B1F0 44821000 */ mtc1 $v0, $f2 +/* 1A9AD4 8027B1F4 00000000 */ nop +/* 1A9AD8 8027B1F8 468010A0 */ cvt.s.w $f2, $f2 +/* 1A9ADC 8027B1FC 46020003 */ div.s $f0, $f0, $f2 +func_8027B200: +/* 1A9AE0 8027B200 0809ED80 */ j func_8027B600 +/* 1A9AE4 8027B204 4600C000 */ add.s $f0, $f24, $f0 + +/* 1A9AE8 8027B208 44916000 */ mtc1 $s1, $f12 +/* 1A9AEC 8027B20C 00000000 */ nop +/* 1A9AF0 8027B210 46806320 */ cvt.s.w $f12, $f12 +/* 1A9AF4 8027B214 4490B000 */ mtc1 $s0, $f22 +/* 1A9AF8 8027B218 00000000 */ nop +/* 1A9AFC 8027B21C 4680B5A0 */ cvt.s.w $f22, $f22 +/* 1A9B00 8027B220 46166303 */ div.s $f12, $f12, $f22 +/* 1A9B04 8027B224 3C01802A */ lui $at, 0x802a +/* 1A9B08 8027B228 D420D9E0 */ ldc1 $f0, -0x2620($at) +/* 1A9B0C 8027B22C 46006321 */ cvt.d.s $f12, $f12 +/* 1A9B10 8027B230 46206302 */ mul.d $f12, $f12, $f0 +/* 1A9B14 8027B234 00000000 */ nop +/* 1A9B18 8027B238 3C014010 */ lui $at, 0x4010 +/* 1A9B1C 8027B23C 44810800 */ mtc1 $at, $f1 +/* 1A9B20 8027B240 44800000 */ mtc1 $zero, $f0 +/* 1A9B24 8027B244 00000000 */ nop +/* 1A9B28 8027B248 46206302 */ mul.d $f12, $f12, $f0 +/* 1A9B2C 8027B24C 00000000 */ nop +/* 1A9B30 8027B250 0809ECAF */ j func_8027B2BC +/* 1A9B34 8027B254 4618D501 */ sub.s $f20, $f26, $f24 + +/* 1A9B38 8027B258 02310018 */ mult $s1, $s1 +/* 1A9B3C 8027B25C 4490B000 */ mtc1 $s0, $f22 +/* 1A9B40 8027B260 00000000 */ nop +/* 1A9B44 8027B264 4680B5A0 */ cvt.s.w $f22, $f22 +/* 1A9B48 8027B268 3C01802A */ lui $at, 0x802a +/* 1A9B4C 8027B26C D420D9E8 */ ldc1 $f0, -0x2618($at) +/* 1A9B50 8027B270 00001812 */ mflo $v1 +/* 1A9B54 8027B274 44836000 */ mtc1 $v1, $f12 +/* 1A9B58 8027B278 00000000 */ nop +/* 1A9B5C 8027B27C 46806320 */ cvt.s.w $f12, $f12 +/* 1A9B60 8027B280 46166303 */ div.s $f12, $f12, $f22 +/* 1A9B64 8027B284 46006321 */ cvt.d.s $f12, $f12 +/* 1A9B68 8027B288 46206302 */ mul.d $f12, $f12, $f0 +/* 1A9B6C 8027B28C 00000000 */ nop +/* 1A9B70 8027B290 3C014010 */ lui $at, 0x4010 +/* 1A9B74 8027B294 44810800 */ mtc1 $at, $f1 +/* 1A9B78 8027B298 44800000 */ mtc1 $zero, $f0 +/* 1A9B7C 8027B29C 00000000 */ nop +/* 1A9B80 8027B2A0 46206302 */ mul.d $f12, $f12, $f0 +/* 1A9B84 8027B2A4 00000000 */ nop +/* 1A9B88 8027B2A8 3C01402E */ lui $at, 0x402e +/* 1A9B8C 8027B2AC 44810800 */ mtc1 $at, $f1 +/* 1A9B90 8027B2B0 44800000 */ mtc1 $zero, $f0 +/* 1A9B94 8027B2B4 4618D501 */ sub.s $f20, $f26, $f24 +/* 1A9B98 8027B2B8 46206303 */ div.d $f12, $f12, $f0 +func_8027B2BC: +/* 1A9B9C 8027B2BC 0C00A874 */ jal cos_rad +/* 1A9BA0 8027B2C0 46206320 */ cvt.s.d $f12, $f12 +/* 1A9BA4 8027B2C4 4600A502 */ mul.s $f20, $f20, $f0 +/* 1A9BA8 8027B2C8 00000000 */ nop +/* 1A9BAC 8027B2CC 4616B582 */ mul.s $f22, $f22, $f22 +/* 1A9BB0 8027B2D0 00000000 */ nop +/* 1A9BB4 8027B2D4 02111023 */ subu $v0, $s0, $s1 +/* 1A9BB8 8027B2D8 44820000 */ mtc1 $v0, $f0 +/* 1A9BBC 8027B2DC 00000000 */ nop +/* 1A9BC0 8027B2E0 46800020 */ cvt.s.w $f0, $f0 +/* 1A9BC4 8027B2E4 4600A502 */ mul.s $f20, $f20, $f0 +/* 1A9BC8 8027B2E8 00000000 */ nop +/* 1A9BCC 8027B2EC 4600A502 */ mul.s $f20, $f20, $f0 +/* 1A9BD0 8027B2F0 00000000 */ nop +/* 1A9BD4 8027B2F4 4616A503 */ div.s $f20, $f20, $f22 +/* 1A9BD8 8027B2F8 0809ED80 */ j func_8027B600 +/* 1A9BDC 8027B2FC 4614D001 */ sub.s $f0, $f26, $f20 + +/* 1A9BE0 8027B300 02113823 */ subu $a3, $s0, $s1 +/* 1A9BE4 8027B304 00E70018 */ mult $a3, $a3 +/* 1A9BE8 8027B308 4618D101 */ sub.s $f4, $f26, $f24 +/* 1A9BEC 8027B30C 00001812 */ mflo $v1 +/* 1A9BF0 8027B310 44830000 */ mtc1 $v1, $f0 +/* 1A9BF4 8027B314 00000000 */ nop +/* 1A9BF8 8027B318 46800020 */ cvt.s.w $f0, $f0 +/* 1A9BFC 8027B31C 46040002 */ mul.s $f0, $f0, $f4 +/* 1A9C00 8027B320 00000000 */ nop +/* 1A9C04 8027B324 02100018 */ mult $s0, $s0 +/* 1A9C08 8027B328 00001812 */ mflo $v1 +/* 1A9C0C 8027B32C 44831000 */ mtc1 $v1, $f2 +/* 1A9C10 8027B330 00000000 */ nop +/* 1A9C14 8027B334 468010A0 */ cvt.s.w $f2, $f2 +/* 1A9C18 8027B338 0809ECFB */ j func_8027B3EC +/* 1A9C1C 8027B33C 4604C100 */ add.s $f4, $f24, $f4 + +/* 1A9C20 8027B340 02113823 */ subu $a3, $s0, $s1 +/* 1A9C24 8027B344 00E70018 */ mult $a3, $a3 +/* 1A9C28 8027B348 00001012 */ mflo $v0 +/* 1A9C2C 8027B34C 00000000 */ nop +/* 1A9C30 8027B350 00000000 */ nop +/* 1A9C34 8027B354 00470018 */ mult $v0, $a3 +/* 1A9C38 8027B358 00004012 */ mflo $t0 +/* 1A9C3C 8027B35C 00000000 */ nop +/* 1A9C40 8027B360 0809ECEC */ j func_8027B3B0 +/* 1A9C44 8027B364 02100018 */ mult $s0, $s0 + +/* 1A9C48 8027B368 02113823 */ subu $a3, $s0, $s1 +/* 1A9C4C 8027B36C 00E70018 */ mult $a3, $a3 +/* 1A9C50 8027B370 00001012 */ mflo $v0 +/* 1A9C54 8027B374 00000000 */ nop +/* 1A9C58 8027B378 00000000 */ nop +/* 1A9C5C 8027B37C 00470018 */ mult $v0, $a3 +/* 1A9C60 8027B380 00004012 */ mflo $t0 +/* 1A9C64 8027B384 00000000 */ nop +/* 1A9C68 8027B388 00000000 */ nop +/* 1A9C6C 8027B38C 02100018 */ mult $s0, $s0 +/* 1A9C70 8027B390 00001012 */ mflo $v0 +/* 1A9C74 8027B394 00000000 */ nop +/* 1A9C78 8027B398 00000000 */ nop +/* 1A9C7C 8027B39C 01070018 */ mult $t0, $a3 +/* 1A9C80 8027B3A0 00004012 */ mflo $t0 +/* 1A9C84 8027B3A4 00000000 */ nop +/* 1A9C88 8027B3A8 00000000 */ nop +/* 1A9C8C 8027B3AC 00500018 */ mult $v0, $s0 +func_8027B3B0: +/* 1A9C90 8027B3B0 4618D101 */ sub.s $f4, $f26, $f24 +/* 1A9C94 8027B3B4 44880000 */ mtc1 $t0, $f0 +/* 1A9C98 8027B3B8 00000000 */ nop +/* 1A9C9C 8027B3BC 46800020 */ cvt.s.w $f0, $f0 +/* 1A9CA0 8027B3C0 46040002 */ mul.s $f0, $f0, $f4 +/* 1A9CA4 8027B3C4 00000000 */ nop +/* 1A9CA8 8027B3C8 00001012 */ mflo $v0 +/* 1A9CAC 8027B3CC 00000000 */ nop +/* 1A9CB0 8027B3D0 00000000 */ nop +/* 1A9CB4 8027B3D4 00500018 */ mult $v0, $s0 +/* 1A9CB8 8027B3D8 4604C100 */ add.s $f4, $f24, $f4 +/* 1A9CBC 8027B3DC 00001012 */ mflo $v0 +/* 1A9CC0 8027B3E0 44821000 */ mtc1 $v0, $f2 +/* 1A9CC4 8027B3E4 00000000 */ nop +/* 1A9CC8 8027B3E8 468010A0 */ cvt.s.w $f2, $f2 +func_8027B3EC: +/* 1A9CCC 8027B3EC 46020003 */ div.s $f0, $f0, $f2 +/* 1A9CD0 8027B3F0 0809ED80 */ j func_8027B600 +/* 1A9CD4 8027B3F4 46002001 */ sub.s $f0, $f4, $f0 + +/* 1A9CD8 8027B3F8 02310018 */ mult $s1, $s1 +/* 1A9CDC 8027B3FC 4490A000 */ mtc1 $s0, $f20 +/* 1A9CE0 8027B400 00000000 */ nop +/* 1A9CE4 8027B404 4680A520 */ cvt.s.w $f20, $f20 +/* 1A9CE8 8027B408 3C01802A */ lui $at, 0x802a +/* 1A9CEC 8027B40C D420D9F0 */ ldc1 $f0, -0x2610($at) +/* 1A9CF0 8027B410 00001812 */ mflo $v1 +/* 1A9CF4 8027B414 44836000 */ mtc1 $v1, $f12 +/* 1A9CF8 8027B418 00000000 */ nop +/* 1A9CFC 8027B41C 46806320 */ cvt.s.w $f12, $f12 +/* 1A9D00 8027B420 46146303 */ div.s $f12, $f12, $f20 +/* 1A9D04 8027B424 46006321 */ cvt.d.s $f12, $f12 +/* 1A9D08 8027B428 46206302 */ mul.d $f12, $f12, $f0 +/* 1A9D0C 8027B42C 00000000 */ nop +/* 1A9D10 8027B430 3C014010 */ lui $at, 0x4010 +/* 1A9D14 8027B434 44810800 */ mtc1 $at, $f1 +/* 1A9D18 8027B438 44800000 */ mtc1 $zero, $f0 +/* 1A9D1C 8027B43C 00000000 */ nop +/* 1A9D20 8027B440 46206302 */ mul.d $f12, $f12, $f0 +/* 1A9D24 8027B444 00000000 */ nop +/* 1A9D28 8027B448 3C014044 */ lui $at, 0x4044 +/* 1A9D2C 8027B44C 44810800 */ mtc1 $at, $f1 +/* 1A9D30 8027B450 44800000 */ mtc1 $zero, $f0 +/* 1A9D34 8027B454 00000000 */ nop +/* 1A9D38 8027B458 46206303 */ div.d $f12, $f12, $f0 +/* 1A9D3C 8027B45C 0C00A874 */ jal cos_rad +/* 1A9D40 8027B460 46206320 */ cvt.s.d $f12, $f12 +/* 1A9D44 8027B464 02111023 */ subu $v0, $s0, $s1 +/* 1A9D48 8027B468 44821000 */ mtc1 $v0, $f2 +/* 1A9D4C 8027B46C 00000000 */ nop +/* 1A9D50 8027B470 468010A0 */ cvt.s.w $f2, $f2 +/* 1A9D54 8027B474 46020002 */ mul.s $f0, $f0, $f2 +/* 1A9D58 8027B478 00000000 */ nop +/* 1A9D5C 8027B47C 4614A502 */ mul.s $f20, $f20, $f20 +/* 1A9D60 8027B480 00000000 */ nop +/* 1A9D64 8027B484 46020002 */ mul.s $f0, $f0, $f2 +/* 1A9D68 8027B488 00000000 */ nop +/* 1A9D6C 8027B48C 44801000 */ mtc1 $zero, $f2 +/* 1A9D70 8027B490 46140103 */ div.s $f4, $f0, $f20 +/* 1A9D74 8027B494 4602203C */ c.lt.s $f4, $f2 +/* 1A9D78 8027B498 00000000 */ nop +/* 1A9D7C 8027B49C 45030001 */ bc1tl .L8027B4A4 +/* 1A9D80 8027B4A0 46002107 */ neg.s $f4, $f4 +.L8027B4A4: +/* 1A9D84 8027B4A4 4618D001 */ sub.s $f0, $f26, $f24 +/* 1A9D88 8027B4A8 46040002 */ mul.s $f0, $f0, $f4 +/* 1A9D8C 8027B4AC 00000000 */ nop +/* 1A9D90 8027B4B0 0809ED80 */ j func_8027B600 +/* 1A9D94 8027B4B4 4600D001 */ sub.s $f0, $f26, $f0 + +/* 1A9D98 8027B4B8 44916000 */ mtc1 $s1, $f12 +/* 1A9D9C 8027B4BC 00000000 */ nop +/* 1A9DA0 8027B4C0 46806320 */ cvt.s.w $f12, $f12 +/* 1A9DA4 8027B4C4 3C01802A */ lui $at, 0x802a +/* 1A9DA8 8027B4C8 D420D9F8 */ ldc1 $f0, -0x2608($at) +/* 1A9DAC 8027B4CC 46006321 */ cvt.d.s $f12, $f12 +/* 1A9DB0 8027B4D0 46206302 */ mul.d $f12, $f12, $f0 +/* 1A9DB4 8027B4D4 00000000 */ nop +/* 1A9DB8 8027B4D8 4600C5A1 */ cvt.d.s $f22, $f24 +/* 1A9DBC 8027B4DC 4618D501 */ sub.s $f20, $f26, $f24 +/* 1A9DC0 8027B4E0 44900000 */ mtc1 $s0, $f0 +/* 1A9DC4 8027B4E4 00000000 */ nop +/* 1A9DC8 8027B4E8 46800020 */ cvt.s.w $f0, $f0 +/* 1A9DCC 8027B4EC 46000021 */ cvt.d.s $f0, $f0 +/* 1A9DD0 8027B4F0 4600A521 */ cvt.d.s $f20, $f20 +/* 1A9DD4 8027B4F4 46206303 */ div.d $f12, $f12, $f0 +/* 1A9DD8 8027B4F8 0C00A874 */ jal cos_rad +/* 1A9DDC 8027B4FC 46206320 */ cvt.s.d $f12, $f12 +/* 1A9DE0 8027B500 3C013FF0 */ lui $at, 0x3ff0 +/* 1A9DE4 8027B504 44811800 */ mtc1 $at, $f3 +/* 1A9DE8 8027B508 44801000 */ mtc1 $zero, $f2 +/* 1A9DEC 8027B50C 46000021 */ cvt.d.s $f0, $f0 +/* 1A9DF0 8027B510 46201081 */ sub.d $f2, $f2, $f0 +/* 1A9DF4 8027B514 4622A502 */ mul.d $f20, $f20, $f2 +/* 1A9DF8 8027B518 00000000 */ nop +/* 1A9DFC 8027B51C 3C013FE0 */ lui $at, 0x3fe0 +/* 1A9E00 8027B520 44810800 */ mtc1 $at, $f1 +/* 1A9E04 8027B524 44800000 */ mtc1 $zero, $f0 +/* 1A9E08 8027B528 00000000 */ nop +/* 1A9E0C 8027B52C 4620A502 */ mul.d $f20, $f20, $f0 +/* 1A9E10 8027B530 00000000 */ nop +/* 1A9E14 8027B534 0809ED7D */ j func_8027B5F4 +/* 1A9E18 8027B538 4634B580 */ add.d $f22, $f22, $f20 + +/* 1A9E1C 8027B53C 44916000 */ mtc1 $s1, $f12 +/* 1A9E20 8027B540 00000000 */ nop +/* 1A9E24 8027B544 46806320 */ cvt.s.w $f12, $f12 +/* 1A9E28 8027B548 3C01802A */ lui $at, 0x802a +/* 1A9E2C 8027B54C D420DA00 */ ldc1 $f0, -0x2600($at) +/* 1A9E30 8027B550 46006321 */ cvt.d.s $f12, $f12 +/* 1A9E34 8027B554 46206302 */ mul.d $f12, $f12, $f0 +/* 1A9E38 8027B558 00000000 */ nop +/* 1A9E3C 8027B55C 4618D501 */ sub.s $f20, $f26, $f24 +/* 1A9E40 8027B560 44900000 */ mtc1 $s0, $f0 +/* 1A9E44 8027B564 00000000 */ nop +/* 1A9E48 8027B568 46800020 */ cvt.s.w $f0, $f0 +/* 1A9E4C 8027B56C 46000021 */ cvt.d.s $f0, $f0 +/* 1A9E50 8027B570 46206303 */ div.d $f12, $f12, $f0 +/* 1A9E54 8027B574 0C00A85B */ jal sin_rad +/* 1A9E58 8027B578 46206320 */ cvt.s.d $f12, $f12 +/* 1A9E5C 8027B57C 4600A502 */ mul.s $f20, $f20, $f0 +/* 1A9E60 8027B580 00000000 */ nop +/* 1A9E64 8027B584 0809ED80 */ j func_8027B600 +/* 1A9E68 8027B588 4614C000 */ add.s $f0, $f24, $f20 + +/* 1A9E6C 8027B58C 44916000 */ mtc1 $s1, $f12 +/* 1A9E70 8027B590 00000000 */ nop +/* 1A9E74 8027B594 46806320 */ cvt.s.w $f12, $f12 +/* 1A9E78 8027B598 3C01802A */ lui $at, 0x802a +/* 1A9E7C 8027B59C D420DA08 */ ldc1 $f0, -0x25f8($at) +/* 1A9E80 8027B5A0 46006321 */ cvt.d.s $f12, $f12 +/* 1A9E84 8027B5A4 46206302 */ mul.d $f12, $f12, $f0 +/* 1A9E88 8027B5A8 00000000 */ nop +/* 1A9E8C 8027B5AC 4600C5A1 */ cvt.d.s $f22, $f24 +/* 1A9E90 8027B5B0 4618D501 */ sub.s $f20, $f26, $f24 +/* 1A9E94 8027B5B4 44900000 */ mtc1 $s0, $f0 +/* 1A9E98 8027B5B8 00000000 */ nop +/* 1A9E9C 8027B5BC 46800020 */ cvt.s.w $f0, $f0 +/* 1A9EA0 8027B5C0 46000021 */ cvt.d.s $f0, $f0 +/* 1A9EA4 8027B5C4 4600A521 */ cvt.d.s $f20, $f20 +/* 1A9EA8 8027B5C8 46206303 */ div.d $f12, $f12, $f0 +/* 1A9EAC 8027B5CC 0C00A874 */ jal cos_rad +/* 1A9EB0 8027B5D0 46206320 */ cvt.s.d $f12, $f12 +/* 1A9EB4 8027B5D4 3C013FF0 */ lui $at, 0x3ff0 +/* 1A9EB8 8027B5D8 44811800 */ mtc1 $at, $f3 +/* 1A9EBC 8027B5DC 44801000 */ mtc1 $zero, $f2 +/* 1A9EC0 8027B5E0 46000021 */ cvt.d.s $f0, $f0 +/* 1A9EC4 8027B5E4 46201081 */ sub.d $f2, $f2, $f0 +/* 1A9EC8 8027B5E8 4622A502 */ mul.d $f20, $f20, $f2 +/* 1A9ECC 8027B5EC 00000000 */ nop +/* 1A9ED0 8027B5F0 4634B580 */ add.d $f22, $f22, $f20 +func_8027B5F4: +/* 1A9ED4 8027B5F4 0809ED80 */ j func_8027B600 +/* 1A9ED8 8027B5F8 4620B020 */ cvt.s.d $f0, $f22 + +.L8027B5FC: +/* 1A9EDC 8027B5FC 44800000 */ mtc1 $zero, $f0 +func_8027B600: +/* 1A9EE0 8027B600 8FBF0018 */ lw $ra, 0x18($sp) +/* 1A9EE4 8027B604 8FB10014 */ lw $s1, 0x14($sp) +/* 1A9EE8 8027B608 8FB00010 */ lw $s0, 0x10($sp) +/* 1A9EEC 8027B60C D7BA0038 */ ldc1 $f26, 0x38($sp) +/* 1A9EF0 8027B610 D7B80030 */ ldc1 $f24, 0x30($sp) +/* 1A9EF4 8027B614 D7B60028 */ ldc1 $f22, 0x28($sp) +/* 1A9EF8 8027B618 D7B40020 */ ldc1 $f20, 0x20($sp) +/* 1A9EFC 8027B61C 03E00008 */ jr $ra +/* 1A9F00 8027B620 27BD0040 */ addiu $sp, $sp, 0x40 + +FlyToGoal: +/* 1A9F04 8027B624 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* 1A9F08 8027B628 AFB20020 */ sw $s2, 0x20($sp) +/* 1A9F0C 8027B62C 0080902D */ daddu $s2, $a0, $zero +/* 1A9F10 8027B630 AFBF0024 */ sw $ra, 0x24($sp) +/* 1A9F14 8027B634 AFB1001C */ sw $s1, 0x1c($sp) +/* 1A9F18 8027B638 AFB00018 */ sw $s0, 0x18($sp) +/* 1A9F1C 8027B63C F7B40028 */ sdc1 $f20, 0x28($sp) +/* 1A9F20 8027B640 10A0006C */ beqz $a1, .L8027B7F4 +/* 1A9F24 8027B644 8E51000C */ lw $s1, 0xc($s2) +/* 1A9F28 8027B648 8E250000 */ lw $a1, ($s1) +/* 1A9F2C 8027B64C 0C0B1EAF */ jal get_variable +/* 1A9F30 8027B650 26310004 */ addiu $s1, $s1, 4 +/* 1A9F34 8027B654 0040202D */ daddu $a0, $v0, $zero +/* 1A9F38 8027B658 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1A9F3C 8027B65C 14820002 */ bne $a0, $v0, .L8027B668 +/* 1A9F40 8027B660 00000000 */ nop +/* 1A9F44 8027B664 8E440148 */ lw $a0, 0x148($s2) +.L8027B668: +/* 1A9F48 8027B668 0C09A75B */ jal get_actor +/* 1A9F4C 8027B66C 00000000 */ nop +/* 1A9F50 8027B670 0040802D */ daddu $s0, $v0, $zero +/* 1A9F54 8027B674 AE500074 */ sw $s0, 0x74($s2) +/* 1A9F58 8027B678 8E250000 */ lw $a1, ($s1) +/* 1A9F5C 8027B67C 26310004 */ addiu $s1, $s1, 4 +/* 1A9F60 8027B680 0C0B1EAF */ jal get_variable +/* 1A9F64 8027B684 0240202D */ daddu $a0, $s2, $zero +/* 1A9F68 8027B688 A6020070 */ sh $v0, 0x70($s0) +/* 1A9F6C 8027B68C 8E250000 */ lw $a1, ($s1) +/* 1A9F70 8027B690 26310004 */ addiu $s1, $s1, 4 +/* 1A9F74 8027B694 0C0B1EAF */ jal get_variable +/* 1A9F78 8027B698 0240202D */ daddu $a0, $s2, $zero +/* 1A9F7C 8027B69C A6020072 */ sh $v0, 0x72($s0) +/* 1A9F80 8027B6A0 8E250000 */ lw $a1, ($s1) +/* 1A9F84 8027B6A4 0C0B1EAF */ jal get_variable +/* 1A9F88 8027B6A8 0240202D */ daddu $a0, $s2, $zero +/* 1A9F8C 8027B6AC AE42007C */ sw $v0, 0x7c($s2) +/* 1A9F90 8027B6B0 AE000078 */ sw $zero, 0x78($s0) +/* 1A9F94 8027B6B4 8E43007C */ lw $v1, 0x7c($s2) +/* 1A9F98 8027B6B8 28620064 */ slti $v0, $v1, 0x64 +/* 1A9F9C 8027B6BC 14400005 */ bnez $v0, .L8027B6D4 +/* 1A9FA0 8027B6C0 2611000C */ addiu $s1, $s0, 0xc +/* 1A9FA4 8027B6C4 2462FF9C */ addiu $v0, $v1, -0x64 +/* 1A9FA8 8027B6C8 AE42007C */ sw $v0, 0x7c($s2) +/* 1A9FAC 8027B6CC 24020001 */ addiu $v0, $zero, 1 +/* 1A9FB0 8027B6D0 AE020078 */ sw $v0, 0x78($s0) +.L8027B6D4: +/* 1A9FB4 8027B6D4 C6000018 */ lwc1 $f0, 0x18($s0) +/* 1A9FB8 8027B6D8 C6060144 */ lwc1 $f6, 0x144($s0) +/* 1A9FBC 8027B6DC 46003081 */ sub.s $f2, $f6, $f0 +/* 1A9FC0 8027B6E0 46021202 */ mul.s $f8, $f2, $f2 +/* 1A9FC4 8027B6E4 00000000 */ nop +/* 1A9FC8 8027B6E8 C6040148 */ lwc1 $f4, 0x148($s0) +/* 1A9FCC 8027B6EC C600001C */ lwc1 $f0, 0x1c($s0) +/* 1A9FD0 8027B6F0 46002081 */ sub.s $f2, $f4, $f0 +/* 1A9FD4 8027B6F4 46021282 */ mul.s $f10, $f2, $f2 +/* 1A9FD8 8027B6F8 00000000 */ nop +/* 1A9FDC 8027B6FC C6000020 */ lwc1 $f0, 0x20($s0) +/* 1A9FE0 8027B700 C602014C */ lwc1 $f2, 0x14c($s0) +/* 1A9FE4 8027B704 46001001 */ sub.s $f0, $f2, $f0 +/* 1A9FE8 8027B708 46000002 */ mul.s $f0, $f0, $f0 +/* 1A9FEC 8027B70C 00000000 */ nop +/* 1A9FF0 8027B710 E606000C */ swc1 $f6, 0xc($s0) +/* 1A9FF4 8027B714 E6060024 */ swc1 $f6, 0x24($s0) +/* 1A9FF8 8027B718 460A4200 */ add.s $f8, $f8, $f10 +/* 1A9FFC 8027B71C E6040010 */ swc1 $f4, 0x10($s0) +/* 1AA000 8027B720 E6040028 */ swc1 $f4, 0x28($s0) +/* 1AA004 8027B724 46004300 */ add.s $f12, $f8, $f0 +/* 1AA008 8027B728 E6020014 */ swc1 $f2, 0x14($s0) +/* 1AA00C 8027B72C E602002C */ swc1 $f2, 0x2c($s0) +/* 1AA010 8027B730 46006084 */ sqrt.s $f2, $f12 +/* 1AA014 8027B734 46021032 */ c.eq.s $f2, $f2 +/* 1AA018 8027B738 00000000 */ nop +/* 1AA01C 8027B73C 45010004 */ bc1t .L8027B750 +/* 1AA020 8027B740 00000000 */ nop +/* 1AA024 8027B744 0C0187BC */ jal sqrtf +/* 1AA028 8027B748 00000000 */ nop +/* 1AA02C 8027B74C 46000086 */ mov.s $f2, $f0 +.L8027B750: +/* 1AA030 8027B750 86020070 */ lh $v0, 0x70($s0) +/* 1AA034 8027B754 14400007 */ bnez $v0, .L8027B774 +/* 1AA038 8027B758 E6020058 */ swc1 $f2, 0x58($s0) +/* 1AA03C 8027B75C C600004C */ lwc1 $f0, 0x4c($s0) +/* 1AA040 8027B760 46001003 */ div.s $f0, $f2, $f0 +/* 1AA044 8027B764 4600038D */ trunc.w.s $f14, $f0 +/* 1AA048 8027B768 44027000 */ mfc1 $v0, $f14 +/* 1AA04C 8027B76C 0809EDE2 */ j func_8027B788 +/* 1AA050 8027B770 A6020070 */ sh $v0, 0x70($s0) + +.L8027B774: +/* 1AA054 8027B774 44820000 */ mtc1 $v0, $f0 +/* 1AA058 8027B778 00000000 */ nop +/* 1AA05C 8027B77C 46800020 */ cvt.s.w $f0, $f0 +/* 1AA060 8027B780 46001003 */ div.s $f0, $f2, $f0 +/* 1AA064 8027B784 E600004C */ swc1 $f0, 0x4c($s0) +func_8027B788: +/* 1AA068 8027B788 86220064 */ lh $v0, 0x64($s1) +/* 1AA06C 8027B78C 54400003 */ bnezl $v0, .L8027B79C +/* 1AA070 8027B790 AE200050 */ sw $zero, 0x50($s1) +.L8027B794: +/* 1AA074 8027B794 0809EEE7 */ j func_8027BB9C +/* 1AA078 8027B798 24020002 */ addiu $v0, $zero, 2 + +.L8027B79C: +/* 1AA07C 8027B79C AE200048 */ sw $zero, 0x48($s1) +/* 1AA080 8027B7A0 860201B6 */ lh $v0, 0x1b6($s0) +/* 1AA084 8027B7A4 04420002 */ bltzl $v0, .L8027B7B0 +/* 1AA088 8027B7A8 00021027 */ nor $v0, $zero, $v0 +/* 1AA08C 8027B7AC 24420001 */ addiu $v0, $v0, 1 +.L8027B7B0: +/* 1AA090 8027B7B0 44820000 */ mtc1 $v0, $f0 +/* 1AA094 8027B7B4 00000000 */ nop +/* 1AA098 8027B7B8 46800020 */ cvt.s.w $f0, $f0 +/* 1AA09C 8027B7BC E6200044 */ swc1 $f0, 0x44($s1) +/* 1AA0A0 8027B7C0 8E0201A4 */ lw $v0, 0x1a4($s0) +/* 1AA0A4 8027B7C4 1040000B */ beqz $v0, .L8027B7F4 +/* 1AA0A8 8027B7C8 00000000 */ nop +/* 1AA0AC 8027B7CC 8E0201A8 */ lw $v0, 0x1a8($s0) +/* 1AA0B0 8027B7D0 14400008 */ bnez $v0, .L8027B7F4 +/* 1AA0B4 8027B7D4 00000000 */ nop +/* 1AA0B8 8027B7D8 C600014C */ lwc1 $f0, 0x14c($s0) +/* 1AA0BC 8027B7DC E7A00010 */ swc1 $f0, 0x10($sp) +/* 1AA0C0 8027B7E0 8E0401A4 */ lw $a0, 0x1a4($s0) +/* 1AA0C4 8027B7E4 8E060144 */ lw $a2, 0x144($s0) +/* 1AA0C8 8027B7E8 8E070148 */ lw $a3, 0x148($s0) +/* 1AA0CC 8027B7EC 0C052757 */ jal play_sound_at_position +/* 1AA0D0 8027B7F0 0000282D */ daddu $a1, $zero, $zero +.L8027B7F4: +/* 1AA0D4 8027B7F4 8E500074 */ lw $s0, 0x74($s2) +/* 1AA0D8 8027B7F8 86020070 */ lh $v0, 0x70($s0) +/* 1AA0DC 8027B7FC C600005C */ lwc1 $f0, 0x5c($s0) +/* 1AA0E0 8027B800 AFA20010 */ sw $v0, 0x10($sp) +/* 1AA0E4 8027B804 8E44007C */ lw $a0, 0x7c($s2) +/* 1AA0E8 8027B808 8E050024 */ lw $a1, 0x24($s0) +/* 1AA0EC 8027B80C 8E060018 */ lw $a2, 0x18($s0) +/* 1AA0F0 8027B810 4600038D */ trunc.w.s $f14, $f0 +/* 1AA0F4 8027B814 44077000 */ mfc1 $a3, $f14 +/* 1AA0F8 8027B818 0C09EC37 */ jal update_lerp_battle +/* 1AA0FC 8027B81C 2611000C */ addiu $s1, $s0, 0xc +/* 1AA100 8027B820 C602005C */ lwc1 $f2, 0x5c($s0) +/* 1AA104 8027B824 86020070 */ lh $v0, 0x70($s0) +/* 1AA108 8027B828 E600000C */ swc1 $f0, 0xc($s0) +/* 1AA10C 8027B82C AFA20010 */ sw $v0, 0x10($sp) +/* 1AA110 8027B830 8E44007C */ lw $a0, 0x7c($s2) +/* 1AA114 8027B834 8E050028 */ lw $a1, 0x28($s0) +/* 1AA118 8027B838 8E06001C */ lw $a2, 0x1c($s0) +/* 1AA11C 8027B83C 4600138D */ trunc.w.s $f14, $f2 +/* 1AA120 8027B840 44077000 */ mfc1 $a3, $f14 +/* 1AA124 8027B844 0C09EC37 */ jal update_lerp_battle +/* 1AA128 8027B848 00000000 */ nop +/* 1AA12C 8027B84C C602005C */ lwc1 $f2, 0x5c($s0) +/* 1AA130 8027B850 86020070 */ lh $v0, 0x70($s0) +/* 1AA134 8027B854 E6000010 */ swc1 $f0, 0x10($s0) +/* 1AA138 8027B858 AFA20010 */ sw $v0, 0x10($sp) +/* 1AA13C 8027B85C 8E44007C */ lw $a0, 0x7c($s2) +/* 1AA140 8027B860 8E05002C */ lw $a1, 0x2c($s0) +/* 1AA144 8027B864 8E060020 */ lw $a2, 0x20($s0) +/* 1AA148 8027B868 4600138D */ trunc.w.s $f14, $f2 +/* 1AA14C 8027B86C 44077000 */ mfc1 $a3, $f14 +/* 1AA150 8027B870 0C09EC37 */ jal update_lerp_battle +/* 1AA154 8027B874 00000000 */ nop +/* 1AA158 8027B878 8E020078 */ lw $v0, 0x78($s0) +/* 1AA15C 8027B87C 10400012 */ beqz $v0, .L8027B8C8 +/* 1AA160 8027B880 E6000014 */ swc1 $f0, 0x14($s0) +/* 1AA164 8027B884 C6000010 */ lwc1 $f0, 0x10($s0) +/* 1AA168 8027B888 44801000 */ mtc1 $zero, $f2 +/* 1AA16C 8027B88C 00000000 */ nop +/* 1AA170 8027B890 4602003C */ c.lt.s $f0, $f2 +/* 1AA174 8027B894 00000000 */ nop +/* 1AA178 8027B898 4500000B */ bc1f .L8027B8C8 +/* 1AA17C 8027B89C 00000000 */ nop +/* 1AA180 8027B8A0 86020070 */ lh $v0, 0x70($s0) +/* 1AA184 8027B8A4 E602001C */ swc1 $f2, 0x1c($s0) +/* 1AA188 8027B8A8 C602000C */ lwc1 $f2, 0xc($s0) +/* 1AA18C 8027B8AC C6040014 */ lwc1 $f4, 0x14($s0) +/* 1AA190 8027B8B0 44820000 */ mtc1 $v0, $f0 +/* 1AA194 8027B8B4 00000000 */ nop +/* 1AA198 8027B8B8 46800020 */ cvt.s.w $f0, $f0 +/* 1AA19C 8027B8BC E600005C */ swc1 $f0, 0x5c($s0) +/* 1AA1A0 8027B8C0 E6020018 */ swc1 $f2, 0x18($s0) +/* 1AA1A4 8027B8C4 E6040020 */ swc1 $f4, 0x20($s0) +.L8027B8C8: +/* 1AA1A8 8027B8C8 C6200050 */ lwc1 $f0, 0x50($s1) +/* 1AA1AC 8027B8CC 3C013F80 */ lui $at, 0x3f80 +/* 1AA1B0 8027B8D0 44812000 */ mtc1 $at, $f4 +/* 1AA1B4 8027B8D4 86220064 */ lh $v0, 0x64($s1) +/* 1AA1B8 8027B8D8 46040000 */ add.s $f0, $f0, $f4 +/* 1AA1BC 8027B8DC 44821000 */ mtc1 $v0, $f2 +/* 1AA1C0 8027B8E0 00000000 */ nop +/* 1AA1C4 8027B8E4 468010A0 */ cvt.s.w $f2, $f2 +/* 1AA1C8 8027B8E8 4600103C */ c.lt.s $f2, $f0 +/* 1AA1CC 8027B8EC 00000000 */ nop +/* 1AA1D0 8027B8F0 45000010 */ bc1f .L8027B934 +/* 1AA1D4 8027B8F4 E6200050 */ swc1 $f0, 0x50($s1) +/* 1AA1D8 8027B8F8 C620000C */ lwc1 $f0, 0xc($s1) +/* 1AA1DC 8027B8FC 8E0401A4 */ lw $a0, 0x1a4($s0) +/* 1AA1E0 8027B900 E6000144 */ swc1 $f0, 0x144($s0) +/* 1AA1E4 8027B904 C6200010 */ lwc1 $f0, 0x10($s1) +/* 1AA1E8 8027B908 E6000148 */ swc1 $f0, 0x148($s0) +/* 1AA1EC 8027B90C C6200014 */ lwc1 $f0, 0x14($s1) +/* 1AA1F0 8027B910 1080FFA0 */ beqz $a0, .L8027B794 +/* 1AA1F4 8027B914 E600014C */ swc1 $f0, 0x14c($s0) +/* 1AA1F8 8027B918 8E0201A8 */ lw $v0, 0x1a8($s0) +/* 1AA1FC 8027B91C 1440009F */ bnez $v0, .L8027BB9C +/* 1AA200 8027B920 24020002 */ addiu $v0, $zero, 2 +/* 1AA204 8027B924 0C0154F0 */ jal func_800553C0 +/* 1AA208 8027B928 00000000 */ nop +/* 1AA20C 8027B92C 0809EEE7 */ j func_8027BB9C +/* 1AA210 8027B930 24020002 */ addiu $v0, $zero, 2 + +.L8027B934: +/* 1AA214 8027B934 8E0201A4 */ lw $v0, 0x1a4($s0) +/* 1AA218 8027B938 10400047 */ beqz $v0, .L8027BA58 +/* 1AA21C 8027B93C 00000000 */ nop +/* 1AA220 8027B940 8E0201A8 */ lw $v0, 0x1a8($s0) +/* 1AA224 8027B944 10400044 */ beqz $v0, .L8027BA58 +/* 1AA228 8027B948 00000000 */ nop +/* 1AA22C 8027B94C 860201B6 */ lh $v0, 0x1b6($s0) +/* 1AA230 8027B950 0440001C */ bltz $v0, .L8027B9C4 +/* 1AA234 8027B954 00000000 */ nop +/* 1AA238 8027B958 C6220044 */ lwc1 $f2, 0x44($s1) +/* 1AA23C 8027B95C C6200040 */ lwc1 $f0, 0x40($s1) +/* 1AA240 8027B960 46001080 */ add.s $f2, $f2, $f0 +/* 1AA244 8027B964 E6220044 */ swc1 $f2, 0x44($s1) +/* 1AA248 8027B968 860201B6 */ lh $v0, 0x1b6($s0) +/* 1AA24C 8027B96C 44820000 */ mtc1 $v0, $f0 +/* 1AA250 8027B970 00000000 */ nop +/* 1AA254 8027B974 46800020 */ cvt.s.w $f0, $f0 +/* 1AA258 8027B978 4602003C */ c.lt.s $f0, $f2 +/* 1AA25C 8027B97C 00000000 */ nop +/* 1AA260 8027B980 45000035 */ bc1f .L8027BA58 +/* 1AA264 8027B984 00000000 */ nop +/* 1AA268 8027B988 92020135 */ lbu $v0, 0x135($s0) +/* 1AA26C 8027B98C 24420001 */ addiu $v0, $v0, 1 +/* 1AA270 8027B990 A2020135 */ sb $v0, 0x135($s0) +/* 1AA274 8027B994 AE200044 */ sw $zero, 0x44($s1) +/* 1AA278 8027B998 92020135 */ lbu $v0, 0x135($s0) +/* 1AA27C 8027B99C 30420001 */ andi $v0, $v0, 1 +/* 1AA280 8027B9A0 10400023 */ beqz $v0, .L8027BA30 +/* 1AA284 8027B9A4 00000000 */ nop +/* 1AA288 8027B9A8 8E0201A4 */ lw $v0, 0x1a4($s0) +/* 1AA28C 8027B9AC 1040002A */ beqz $v0, .L8027BA58 +/* 1AA290 8027B9B0 00000000 */ nop +/* 1AA294 8027B9B4 C600014C */ lwc1 $f0, 0x14c($s0) +/* 1AA298 8027B9B8 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1AA29C 8027B9BC 0809EE92 */ j func_8027BA48 +/* 1AA2A0 8027B9C0 8E0401A4 */ lw $a0, 0x1a4($s0) + +.L8027B9C4: +/* 1AA2A4 8027B9C4 C6200044 */ lwc1 $f0, 0x44($s1) +/* 1AA2A8 8027B9C8 46040000 */ add.s $f0, $f0, $f4 +/* 1AA2AC 8027B9CC E6200044 */ swc1 $f0, 0x44($s1) +/* 1AA2B0 8027B9D0 860201B6 */ lh $v0, 0x1b6($s0) +/* 1AA2B4 8027B9D4 00021023 */ negu $v0, $v0 +/* 1AA2B8 8027B9D8 44821000 */ mtc1 $v0, $f2 +/* 1AA2BC 8027B9DC 00000000 */ nop +/* 1AA2C0 8027B9E0 468010A0 */ cvt.s.w $f2, $f2 +/* 1AA2C4 8027B9E4 4600103E */ c.le.s $f2, $f0 +/* 1AA2C8 8027B9E8 00000000 */ nop +/* 1AA2CC 8027B9EC 4500001A */ bc1f .L8027BA58 +/* 1AA2D0 8027B9F0 00000000 */ nop +/* 1AA2D4 8027B9F4 92020135 */ lbu $v0, 0x135($s0) +/* 1AA2D8 8027B9F8 24420001 */ addiu $v0, $v0, 1 +/* 1AA2DC 8027B9FC A2020135 */ sb $v0, 0x135($s0) +/* 1AA2E0 8027BA00 AE200044 */ sw $zero, 0x44($s1) +/* 1AA2E4 8027BA04 92020135 */ lbu $v0, 0x135($s0) +/* 1AA2E8 8027BA08 30420001 */ andi $v0, $v0, 1 +/* 1AA2EC 8027BA0C 10400008 */ beqz $v0, .L8027BA30 +/* 1AA2F0 8027BA10 00000000 */ nop +/* 1AA2F4 8027BA14 8E0201A4 */ lw $v0, 0x1a4($s0) +/* 1AA2F8 8027BA18 1040000F */ beqz $v0, .L8027BA58 +/* 1AA2FC 8027BA1C 00000000 */ nop +/* 1AA300 8027BA20 C600014C */ lwc1 $f0, 0x14c($s0) +/* 1AA304 8027BA24 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1AA308 8027BA28 0809EE92 */ j func_8027BA48 +/* 1AA30C 8027BA2C 8E0401A4 */ lw $a0, 0x1a4($s0) + +.L8027BA30: +/* 1AA310 8027BA30 8E0201A8 */ lw $v0, 0x1a8($s0) +/* 1AA314 8027BA34 10400008 */ beqz $v0, .L8027BA58 +/* 1AA318 8027BA38 00000000 */ nop +/* 1AA31C 8027BA3C C600014C */ lwc1 $f0, 0x14c($s0) +/* 1AA320 8027BA40 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1AA324 8027BA44 8E0401A8 */ lw $a0, 0x1a8($s0) +func_8027BA48: +/* 1AA328 8027BA48 8E060144 */ lw $a2, 0x144($s0) +/* 1AA32C 8027BA4C 8E070148 */ lw $a3, 0x148($s0) +/* 1AA330 8027BA50 0C052757 */ jal play_sound_at_position +/* 1AA334 8027BA54 0000282D */ daddu $a1, $zero, $zero +.L8027BA58: +/* 1AA338 8027BA58 C622000C */ lwc1 $f2, 0xc($s1) +/* 1AA33C 8027BA5C C6200000 */ lwc1 $f0, ($s1) +/* 1AA340 8027BA60 46001081 */ sub.s $f2, $f2, $f0 +/* 1AA344 8027BA64 46021102 */ mul.s $f4, $f2, $f2 +/* 1AA348 8027BA68 00000000 */ nop +/* 1AA34C 8027BA6C C6200004 */ lwc1 $f0, 4($s1) +/* 1AA350 8027BA70 C6220010 */ lwc1 $f2, 0x10($s1) +/* 1AA354 8027BA74 46001081 */ sub.s $f2, $f2, $f0 +/* 1AA358 8027BA78 46021182 */ mul.s $f6, $f2, $f2 +/* 1AA35C 8027BA7C 00000000 */ nop +/* 1AA360 8027BA80 C6200008 */ lwc1 $f0, 8($s1) +/* 1AA364 8027BA84 C6220014 */ lwc1 $f2, 0x14($s1) +/* 1AA368 8027BA88 46001001 */ sub.s $f0, $f2, $f0 +/* 1AA36C 8027BA8C 46000002 */ mul.s $f0, $f0, $f0 +/* 1AA370 8027BA90 00000000 */ nop +/* 1AA374 8027BA94 46062100 */ add.s $f4, $f4, $f6 +/* 1AA378 8027BA98 46002300 */ add.s $f12, $f4, $f0 +/* 1AA37C 8027BA9C 46006004 */ sqrt.s $f0, $f12 +/* 1AA380 8027BAA0 46000032 */ c.eq.s $f0, $f0 +/* 1AA384 8027BAA4 00000000 */ nop +/* 1AA388 8027BAA8 45010003 */ bc1t .L8027BAB8 +/* 1AA38C 8027BAAC 00000000 */ nop +/* 1AA390 8027BAB0 0C0187BC */ jal sqrtf +/* 1AA394 8027BAB4 00000000 */ nop +.L8027BAB8: +/* 1AA398 8027BAB8 4480A000 */ mtc1 $zero, $f20 +/* 1AA39C 8027BABC 46000086 */ mov.s $f2, $f0 +/* 1AA3A0 8027BAC0 46141032 */ c.eq.s $f2, $f20 +/* 1AA3A4 8027BAC4 00000000 */ nop +/* 1AA3A8 8027BAC8 45000003 */ bc1f .L8027BAD8 +/* 1AA3AC 8027BACC 00000000 */ nop +/* 1AA3B0 8027BAD0 3C013F80 */ lui $at, 0x3f80 +/* 1AA3B4 8027BAD4 44811000 */ mtc1 $at, $f2 +.L8027BAD8: +/* 1AA3B8 8027BAD8 C620004C */ lwc1 $f0, 0x4c($s1) +/* 1AA3BC 8027BADC 46140032 */ c.eq.s $f0, $f20 +/* 1AA3C0 8027BAE0 00000000 */ nop +/* 1AA3C4 8027BAE4 45000006 */ bc1f .L8027BB00 +/* 1AA3C8 8027BAE8 00000000 */ nop +/* 1AA3CC 8027BAEC 3C013F80 */ lui $at, 0x3f80 +/* 1AA3D0 8027BAF0 44810000 */ mtc1 $at, $f0 +/* 1AA3D4 8027BAF4 00000000 */ nop +/* 1AA3D8 8027BAF8 E620004C */ swc1 $f0, 0x4c($s1) +/* 1AA3DC 8027BAFC C620004C */ lwc1 $f0, 0x4c($s1) +.L8027BB00: +/* 1AA3E0 8027BB00 3C013FF0 */ lui $at, 0x3ff0 +/* 1AA3E4 8027BB04 44816800 */ mtc1 $at, $f13 +/* 1AA3E8 8027BB08 44806000 */ mtc1 $zero, $f12 +/* 1AA3EC 8027BB0C 46001003 */ div.s $f0, $f2, $f0 +/* 1AA3F0 8027BB10 46000021 */ cvt.d.s $f0, $f0 +/* 1AA3F4 8027BB14 46206301 */ sub.d $f12, $f12, $f0 +/* 1AA3F8 8027BB18 3C01802A */ lui $at, 0x802a +/* 1AA3FC 8027BB1C D420DA10 */ ldc1 $f0, -0x25f0($at) +/* 1AA400 8027BB20 46206302 */ mul.d $f12, $f12, $f0 +/* 1AA404 8027BB24 00000000 */ nop +/* 1AA408 8027BB28 0C00A8BB */ jal sin_deg +/* 1AA40C 8027BB2C 46206320 */ cvt.s.d $f12, $f12 +/* 1AA410 8027BB30 86230066 */ lh $v1, 0x66($s1) +/* 1AA414 8027BB34 14600002 */ bnez $v1, .L8027BB40 +/* 1AA418 8027BB38 46000106 */ mov.s $f4, $f0 +/* 1AA41C 8027BB3C 4600A106 */ mov.s $f4, $f20 +.L8027BB40: +/* 1AA420 8027BB40 04610007 */ bgez $v1, .L8027BB60 +/* 1AA424 8027BB44 00031023 */ negu $v0, $v1 +/* 1AA428 8027BB48 44821000 */ mtc1 $v0, $f2 +/* 1AA42C 8027BB4C 00000000 */ nop +/* 1AA430 8027BB50 468010A0 */ cvt.s.w $f2, $f2 +/* 1AA434 8027BB54 46002007 */ neg.s $f0, $f4 +/* 1AA438 8027BB58 46020102 */ mul.s $f4, $f0, $f2 +/* 1AA43C 8027BB5C 00000000 */ nop +.L8027BB60: +/* 1AA440 8027BB60 18600006 */ blez $v1, .L8027BB7C +/* 1AA444 8027BB64 00000000 */ nop +/* 1AA448 8027BB68 44830000 */ mtc1 $v1, $f0 +/* 1AA44C 8027BB6C 00000000 */ nop +/* 1AA450 8027BB70 46800020 */ cvt.s.w $f0, $f0 +/* 1AA454 8027BB74 46002102 */ mul.s $f4, $f4, $f0 +/* 1AA458 8027BB78 00000000 */ nop +.L8027BB7C: +/* 1AA45C 8027BB7C C6200000 */ lwc1 $f0, ($s1) +/* 1AA460 8027BB80 E6000144 */ swc1 $f0, 0x144($s0) +/* 1AA464 8027BB84 C6200004 */ lwc1 $f0, 4($s1) +/* 1AA468 8027BB88 46040000 */ add.s $f0, $f0, $f4 +/* 1AA46C 8027BB8C E6000148 */ swc1 $f0, 0x148($s0) +/* 1AA470 8027BB90 C6200008 */ lwc1 $f0, 8($s1) +/* 1AA474 8027BB94 0000102D */ daddu $v0, $zero, $zero +/* 1AA478 8027BB98 E600014C */ swc1 $f0, 0x14c($s0) +func_8027BB9C: +.L8027BB9C: +/* 1AA47C 8027BB9C 8FBF0024 */ lw $ra, 0x24($sp) +/* 1AA480 8027BBA0 8FB20020 */ lw $s2, 0x20($sp) +/* 1AA484 8027BBA4 8FB1001C */ lw $s1, 0x1c($sp) +/* 1AA488 8027BBA8 8FB00018 */ lw $s0, 0x18($sp) +/* 1AA48C 8027BBAC D7B40028 */ ldc1 $f20, 0x28($sp) +/* 1AA490 8027BBB0 03E00008 */ jr $ra +/* 1AA494 8027BBB4 27BD0030 */ addiu $sp, $sp, 0x30 + +IdleFlyToGoal: +/* 1AA498 8027BBB8 27BDFFC8 */ addiu $sp, $sp, -0x38 +/* 1AA49C 8027BBBC AFB20020 */ sw $s2, 0x20($sp) +/* 1AA4A0 8027BBC0 0080902D */ daddu $s2, $a0, $zero +/* 1AA4A4 8027BBC4 AFBF0024 */ sw $ra, 0x24($sp) +/* 1AA4A8 8027BBC8 AFB1001C */ sw $s1, 0x1c($sp) +/* 1AA4AC 8027BBCC AFB00018 */ sw $s0, 0x18($sp) +/* 1AA4B0 8027BBD0 F7B60030 */ sdc1 $f22, 0x30($sp) +/* 1AA4B4 8027BBD4 F7B40028 */ sdc1 $f20, 0x28($sp) +/* 1AA4B8 8027BBD8 10A0004F */ beqz $a1, .L8027BD18 +/* 1AA4BC 8027BBDC 8E51000C */ lw $s1, 0xc($s2) +/* 1AA4C0 8027BBE0 8E250000 */ lw $a1, ($s1) +/* 1AA4C4 8027BBE4 0C0B1EAF */ jal get_variable +/* 1AA4C8 8027BBE8 26310004 */ addiu $s1, $s1, 4 +/* 1AA4CC 8027BBEC 0040202D */ daddu $a0, $v0, $zero +/* 1AA4D0 8027BBF0 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1AA4D4 8027BBF4 14820002 */ bne $a0, $v0, .L8027BC00 +/* 1AA4D8 8027BBF8 00000000 */ nop +/* 1AA4DC 8027BBFC 8E440148 */ lw $a0, 0x148($s2) +.L8027BC00: +/* 1AA4E0 8027BC00 0C09A75B */ jal get_actor +/* 1AA4E4 8027BC04 00000000 */ nop +/* 1AA4E8 8027BC08 0040802D */ daddu $s0, $v0, $zero +/* 1AA4EC 8027BC0C AE500074 */ sw $s0, 0x74($s2) +/* 1AA4F0 8027BC10 8E250000 */ lw $a1, ($s1) +/* 1AA4F4 8027BC14 26310004 */ addiu $s1, $s1, 4 +/* 1AA4F8 8027BC18 0C0B1EAF */ jal get_variable +/* 1AA4FC 8027BC1C 0240202D */ daddu $a0, $s2, $zero +/* 1AA500 8027BC20 A6020120 */ sh $v0, 0x120($s0) +/* 1AA504 8027BC24 8E250000 */ lw $a1, ($s1) +/* 1AA508 8027BC28 26310004 */ addiu $s1, $s1, 4 +/* 1AA50C 8027BC2C 0C0B1EAF */ jal get_variable +/* 1AA510 8027BC30 0240202D */ daddu $a0, $s2, $zero +/* 1AA514 8027BC34 A6020122 */ sh $v0, 0x122($s0) +/* 1AA518 8027BC38 8E250000 */ lw $a1, ($s1) +/* 1AA51C 8027BC3C 0C0B1EAF */ jal get_variable +/* 1AA520 8027BC40 0240202D */ daddu $a0, $s2, $zero +/* 1AA524 8027BC44 AE42007C */ sw $v0, 0x7c($s2) +/* 1AA528 8027BC48 C60000D4 */ lwc1 $f0, 0xd4($s0) +/* 1AA52C 8027BC4C C6060144 */ lwc1 $f6, 0x144($s0) +/* 1AA530 8027BC50 46003081 */ sub.s $f2, $f6, $f0 +/* 1AA534 8027BC54 46021202 */ mul.s $f8, $f2, $f2 +/* 1AA538 8027BC58 00000000 */ nop +/* 1AA53C 8027BC5C C6040148 */ lwc1 $f4, 0x148($s0) +/* 1AA540 8027BC60 C60000D8 */ lwc1 $f0, 0xd8($s0) +/* 1AA544 8027BC64 46002081 */ sub.s $f2, $f4, $f0 +/* 1AA548 8027BC68 46021282 */ mul.s $f10, $f2, $f2 +/* 1AA54C 8027BC6C 00000000 */ nop +/* 1AA550 8027BC70 C60000DC */ lwc1 $f0, 0xdc($s0) +/* 1AA554 8027BC74 C602014C */ lwc1 $f2, 0x14c($s0) +/* 1AA558 8027BC78 46001001 */ sub.s $f0, $f2, $f0 +/* 1AA55C 8027BC7C 46000002 */ mul.s $f0, $f0, $f0 +/* 1AA560 8027BC80 00000000 */ nop +/* 1AA564 8027BC84 E60600C8 */ swc1 $f6, 0xc8($s0) +/* 1AA568 8027BC88 E60600E0 */ swc1 $f6, 0xe0($s0) +/* 1AA56C 8027BC8C 460A4200 */ add.s $f8, $f8, $f10 +/* 1AA570 8027BC90 E60400CC */ swc1 $f4, 0xcc($s0) +/* 1AA574 8027BC94 E60400E4 */ swc1 $f4, 0xe4($s0) +/* 1AA578 8027BC98 46004300 */ add.s $f12, $f8, $f0 +/* 1AA57C 8027BC9C E60200D0 */ swc1 $f2, 0xd0($s0) +/* 1AA580 8027BCA0 E60200E8 */ swc1 $f2, 0xe8($s0) +/* 1AA584 8027BCA4 46006084 */ sqrt.s $f2, $f12 +/* 1AA588 8027BCA8 46021032 */ c.eq.s $f2, $f2 +/* 1AA58C 8027BCAC 00000000 */ nop +/* 1AA590 8027BCB0 45010004 */ bc1t .L8027BCC4 +/* 1AA594 8027BCB4 261100C8 */ addiu $s1, $s0, 0xc8 +/* 1AA598 8027BCB8 0C0187BC */ jal sqrtf +/* 1AA59C 8027BCBC 00000000 */ nop +/* 1AA5A0 8027BCC0 46000086 */ mov.s $f2, $f0 +.L8027BCC4: +/* 1AA5A4 8027BCC4 86020120 */ lh $v0, 0x120($s0) +/* 1AA5A8 8027BCC8 14400007 */ bnez $v0, .L8027BCE8 +/* 1AA5AC 8027BCCC E6020114 */ swc1 $f2, 0x114($s0) +/* 1AA5B0 8027BCD0 C6000108 */ lwc1 $f0, 0x108($s0) +/* 1AA5B4 8027BCD4 46001003 */ div.s $f0, $f2, $f0 +/* 1AA5B8 8027BCD8 4600038D */ trunc.w.s $f14, $f0 +/* 1AA5BC 8027BCDC 44027000 */ mfc1 $v0, $f14 +/* 1AA5C0 8027BCE0 0809EF3F */ j func_8027BCFC +/* 1AA5C4 8027BCE4 A6020120 */ sh $v0, 0x120($s0) + +.L8027BCE8: +/* 1AA5C8 8027BCE8 44820000 */ mtc1 $v0, $f0 +/* 1AA5CC 8027BCEC 00000000 */ nop +/* 1AA5D0 8027BCF0 46800020 */ cvt.s.w $f0, $f0 +/* 1AA5D4 8027BCF4 46001003 */ div.s $f0, $f2, $f0 +/* 1AA5D8 8027BCF8 E6000108 */ swc1 $f0, 0x108($s0) +func_8027BCFC: +/* 1AA5DC 8027BCFC 86220058 */ lh $v0, 0x58($s1) +/* 1AA5E0 8027BD00 54400003 */ bnezl $v0, .L8027BD10 +/* 1AA5E4 8027BD04 AE200050 */ sw $zero, 0x50($s1) +/* 1AA5E8 8027BD08 0809EFC6 */ j func_8027BF18 +/* 1AA5EC 8027BD0C 24020002 */ addiu $v0, $zero, 2 + +.L8027BD10: +/* 1AA5F0 8027BD10 AE200048 */ sw $zero, 0x48($s1) +/* 1AA5F4 8027BD14 AE200044 */ sw $zero, 0x44($s1) +.L8027BD18: +/* 1AA5F8 8027BD18 8E500074 */ lw $s0, 0x74($s2) +/* 1AA5FC 8027BD1C 86020120 */ lh $v0, 0x120($s0) +/* 1AA600 8027BD20 C6000118 */ lwc1 $f0, 0x118($s0) +/* 1AA604 8027BD24 AFA20010 */ sw $v0, 0x10($sp) +/* 1AA608 8027BD28 8E44007C */ lw $a0, 0x7c($s2) +/* 1AA60C 8027BD2C 8E0500E0 */ lw $a1, 0xe0($s0) +/* 1AA610 8027BD30 8E0600D4 */ lw $a2, 0xd4($s0) +/* 1AA614 8027BD34 4600038D */ trunc.w.s $f14, $f0 +/* 1AA618 8027BD38 44077000 */ mfc1 $a3, $f14 +/* 1AA61C 8027BD3C 0C09EC37 */ jal update_lerp_battle +/* 1AA620 8027BD40 00000000 */ nop +/* 1AA624 8027BD44 C6020118 */ lwc1 $f2, 0x118($s0) +/* 1AA628 8027BD48 86020120 */ lh $v0, 0x120($s0) +/* 1AA62C 8027BD4C E60000C8 */ swc1 $f0, 0xc8($s0) +/* 1AA630 8027BD50 AFA20010 */ sw $v0, 0x10($sp) +/* 1AA634 8027BD54 8E44007C */ lw $a0, 0x7c($s2) +/* 1AA638 8027BD58 8E0500E4 */ lw $a1, 0xe4($s0) +/* 1AA63C 8027BD5C 8E0600D8 */ lw $a2, 0xd8($s0) +/* 1AA640 8027BD60 4600138D */ trunc.w.s $f14, $f2 +/* 1AA644 8027BD64 44077000 */ mfc1 $a3, $f14 +/* 1AA648 8027BD68 0C09EC37 */ jal update_lerp_battle +/* 1AA64C 8027BD6C 00000000 */ nop +/* 1AA650 8027BD70 C6020118 */ lwc1 $f2, 0x118($s0) +/* 1AA654 8027BD74 86020120 */ lh $v0, 0x120($s0) +/* 1AA658 8027BD78 E60000CC */ swc1 $f0, 0xcc($s0) +/* 1AA65C 8027BD7C AFA20010 */ sw $v0, 0x10($sp) +/* 1AA660 8027BD80 8E44007C */ lw $a0, 0x7c($s2) +/* 1AA664 8027BD84 8E0500E8 */ lw $a1, 0xe8($s0) +/* 1AA668 8027BD88 8E0600DC */ lw $a2, 0xdc($s0) +/* 1AA66C 8027BD8C 4600138D */ trunc.w.s $f14, $f2 +/* 1AA670 8027BD90 44077000 */ mfc1 $a3, $f14 +/* 1AA674 8027BD94 0C09EC37 */ jal update_lerp_battle +/* 1AA678 8027BD98 00000000 */ nop +/* 1AA67C 8027BD9C C6020118 */ lwc1 $f2, 0x118($s0) +/* 1AA680 8027BDA0 3C013F80 */ lui $at, 0x3f80 +/* 1AA684 8027BDA4 4481B000 */ mtc1 $at, $f22 +/* 1AA688 8027BDA8 86020120 */ lh $v0, 0x120($s0) +/* 1AA68C 8027BDAC 46161080 */ add.s $f2, $f2, $f22 +/* 1AA690 8027BDB0 E60000D0 */ swc1 $f0, 0xd0($s0) +/* 1AA694 8027BDB4 44820000 */ mtc1 $v0, $f0 +/* 1AA698 8027BDB8 00000000 */ nop +/* 1AA69C 8027BDBC 46800020 */ cvt.s.w $f0, $f0 +/* 1AA6A0 8027BDC0 4602003C */ c.lt.s $f0, $f2 +/* 1AA6A4 8027BDC4 00000000 */ nop +/* 1AA6A8 8027BDC8 45000009 */ bc1f .L8027BDF0 +/* 1AA6AC 8027BDCC E6020118 */ swc1 $f2, 0x118($s0) +/* 1AA6B0 8027BDD0 C60000D4 */ lwc1 $f0, 0xd4($s0) +/* 1AA6B4 8027BDD4 C60200D8 */ lwc1 $f2, 0xd8($s0) +/* 1AA6B8 8027BDD8 C60400DC */ lwc1 $f4, 0xdc($s0) +/* 1AA6BC 8027BDDC 24020002 */ addiu $v0, $zero, 2 +/* 1AA6C0 8027BDE0 E6000144 */ swc1 $f0, 0x144($s0) +/* 1AA6C4 8027BDE4 E6020148 */ swc1 $f2, 0x148($s0) +/* 1AA6C8 8027BDE8 0809EFC6 */ j func_8027BF18 +/* 1AA6CC 8027BDEC E604014C */ swc1 $f4, 0x14c($s0) + +.L8027BDF0: +/* 1AA6D0 8027BDF0 C60200D4 */ lwc1 $f2, 0xd4($s0) +/* 1AA6D4 8027BDF4 C60000C8 */ lwc1 $f0, 0xc8($s0) +/* 1AA6D8 8027BDF8 46001081 */ sub.s $f2, $f2, $f0 +/* 1AA6DC 8027BDFC 46021102 */ mul.s $f4, $f2, $f2 +/* 1AA6E0 8027BE00 00000000 */ nop +/* 1AA6E4 8027BE04 C60000CC */ lwc1 $f0, 0xcc($s0) +/* 1AA6E8 8027BE08 C60200D8 */ lwc1 $f2, 0xd8($s0) +/* 1AA6EC 8027BE0C 46001081 */ sub.s $f2, $f2, $f0 +/* 1AA6F0 8027BE10 46021182 */ mul.s $f6, $f2, $f2 +/* 1AA6F4 8027BE14 00000000 */ nop +/* 1AA6F8 8027BE18 C60000D0 */ lwc1 $f0, 0xd0($s0) +/* 1AA6FC 8027BE1C C60200DC */ lwc1 $f2, 0xdc($s0) +/* 1AA700 8027BE20 46001001 */ sub.s $f0, $f2, $f0 +/* 1AA704 8027BE24 46000002 */ mul.s $f0, $f0, $f0 +/* 1AA708 8027BE28 00000000 */ nop +/* 1AA70C 8027BE2C 46062100 */ add.s $f4, $f4, $f6 +/* 1AA710 8027BE30 46002300 */ add.s $f12, $f4, $f0 +/* 1AA714 8027BE34 46006004 */ sqrt.s $f0, $f12 +/* 1AA718 8027BE38 46000032 */ c.eq.s $f0, $f0 +/* 1AA71C 8027BE3C 00000000 */ nop +/* 1AA720 8027BE40 45010003 */ bc1t .L8027BE50 +/* 1AA724 8027BE44 00000000 */ nop +/* 1AA728 8027BE48 0C0187BC */ jal sqrtf +/* 1AA72C 8027BE4C 00000000 */ nop +.L8027BE50: +/* 1AA730 8027BE50 4480A000 */ mtc1 $zero, $f20 +/* 1AA734 8027BE54 46000086 */ mov.s $f2, $f0 +/* 1AA738 8027BE58 46141032 */ c.eq.s $f2, $f20 +/* 1AA73C 8027BE5C 00000000 */ nop +/* 1AA740 8027BE60 45030001 */ bc1tl .L8027BE68 +/* 1AA744 8027BE64 4600B086 */ mov.s $f2, $f22 +.L8027BE68: +/* 1AA748 8027BE68 C6000114 */ lwc1 $f0, 0x114($s0) +/* 1AA74C 8027BE6C 46140032 */ c.eq.s $f0, $f20 +/* 1AA750 8027BE70 00000000 */ nop +/* 1AA754 8027BE74 45030001 */ bc1tl .L8027BE7C +/* 1AA758 8027BE78 E6160114 */ swc1 $f22, 0x114($s0) +.L8027BE7C: +/* 1AA75C 8027BE7C C6000114 */ lwc1 $f0, 0x114($s0) +/* 1AA760 8027BE80 3C013FF0 */ lui $at, 0x3ff0 +/* 1AA764 8027BE84 44816800 */ mtc1 $at, $f13 +/* 1AA768 8027BE88 44806000 */ mtc1 $zero, $f12 +/* 1AA76C 8027BE8C 46001003 */ div.s $f0, $f2, $f0 +/* 1AA770 8027BE90 46000021 */ cvt.d.s $f0, $f0 +/* 1AA774 8027BE94 46206301 */ sub.d $f12, $f12, $f0 +/* 1AA778 8027BE98 3C01802A */ lui $at, 0x802a +/* 1AA77C 8027BE9C D420DA18 */ ldc1 $f0, -0x25e8($at) +/* 1AA780 8027BEA0 46206302 */ mul.d $f12, $f12, $f0 +/* 1AA784 8027BEA4 00000000 */ nop +/* 1AA788 8027BEA8 0C00A8BB */ jal sin_deg +/* 1AA78C 8027BEAC 46206320 */ cvt.s.d $f12, $f12 +/* 1AA790 8027BEB0 86030122 */ lh $v1, 0x122($s0) +/* 1AA794 8027BEB4 14600002 */ bnez $v1, .L8027BEC0 +/* 1AA798 8027BEB8 46000186 */ mov.s $f6, $f0 +/* 1AA79C 8027BEBC 4600A186 */ mov.s $f6, $f20 +.L8027BEC0: +/* 1AA7A0 8027BEC0 04610007 */ bgez $v1, .L8027BEE0 +/* 1AA7A4 8027BEC4 00031023 */ negu $v0, $v1 +/* 1AA7A8 8027BEC8 44821000 */ mtc1 $v0, $f2 +/* 1AA7AC 8027BECC 00000000 */ nop +/* 1AA7B0 8027BED0 468010A0 */ cvt.s.w $f2, $f2 +/* 1AA7B4 8027BED4 46003007 */ neg.s $f0, $f6 +/* 1AA7B8 8027BED8 46020182 */ mul.s $f6, $f0, $f2 +/* 1AA7BC 8027BEDC 00000000 */ nop +.L8027BEE0: +/* 1AA7C0 8027BEE0 18600006 */ blez $v1, .L8027BEFC +/* 1AA7C4 8027BEE4 0000102D */ daddu $v0, $zero, $zero +/* 1AA7C8 8027BEE8 44830000 */ mtc1 $v1, $f0 +/* 1AA7CC 8027BEEC 00000000 */ nop +/* 1AA7D0 8027BEF0 46800020 */ cvt.s.w $f0, $f0 +/* 1AA7D4 8027BEF4 46003182 */ mul.s $f6, $f6, $f0 +/* 1AA7D8 8027BEF8 00000000 */ nop +.L8027BEFC: +/* 1AA7DC 8027BEFC C60000C8 */ lwc1 $f0, 0xc8($s0) +/* 1AA7E0 8027BF00 C60200CC */ lwc1 $f2, 0xcc($s0) +/* 1AA7E4 8027BF04 C60400D0 */ lwc1 $f4, 0xd0($s0) +/* 1AA7E8 8027BF08 46061080 */ add.s $f2, $f2, $f6 +/* 1AA7EC 8027BF0C E6000144 */ swc1 $f0, 0x144($s0) +/* 1AA7F0 8027BF10 E604014C */ swc1 $f4, 0x14c($s0) +/* 1AA7F4 8027BF14 E6020148 */ swc1 $f2, 0x148($s0) +func_8027BF18: +/* 1AA7F8 8027BF18 8FBF0024 */ lw $ra, 0x24($sp) +/* 1AA7FC 8027BF1C 8FB20020 */ lw $s2, 0x20($sp) +/* 1AA800 8027BF20 8FB1001C */ lw $s1, 0x1c($sp) +/* 1AA804 8027BF24 8FB00018 */ lw $s0, 0x18($sp) +/* 1AA808 8027BF28 D7B60030 */ ldc1 $f22, 0x30($sp) +/* 1AA80C 8027BF2C D7B40028 */ ldc1 $f20, 0x28($sp) +/* 1AA810 8027BF30 03E00008 */ jr $ra +/* 1AA814 8027BF34 27BD0038 */ addiu $sp, $sp, 0x38 + +FlyPartTo: +/* 1AA818 8027BF38 27BDFFC8 */ addiu $sp, $sp, -0x38 +/* 1AA81C 8027BF3C AFB30024 */ sw $s3, 0x24($sp) +/* 1AA820 8027BF40 0080982D */ daddu $s3, $a0, $zero +/* 1AA824 8027BF44 AFBF002C */ sw $ra, 0x2c($sp) +/* 1AA828 8027BF48 AFB40028 */ sw $s4, 0x28($sp) +/* 1AA82C 8027BF4C AFB20020 */ sw $s2, 0x20($sp) +/* 1AA830 8027BF50 AFB1001C */ sw $s1, 0x1c($sp) +/* 1AA834 8027BF54 AFB00018 */ sw $s0, 0x18($sp) +/* 1AA838 8027BF58 F7B40030 */ sdc1 $f20, 0x30($sp) +/* 1AA83C 8027BF5C 10A0008A */ beqz $a1, .L8027C188 +/* 1AA840 8027BF60 8E71000C */ lw $s1, 0xc($s3) +/* 1AA844 8027BF64 8E250000 */ lw $a1, ($s1) +/* 1AA848 8027BF68 0C0B1EAF */ jal get_variable +/* 1AA84C 8027BF6C 26310004 */ addiu $s1, $s1, 4 +/* 1AA850 8027BF70 0040802D */ daddu $s0, $v0, $zero +/* 1AA854 8027BF74 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1AA858 8027BF78 16020002 */ bne $s0, $v0, .L8027BF84 +/* 1AA85C 8027BF7C 00000000 */ nop +/* 1AA860 8027BF80 8E700148 */ lw $s0, 0x148($s3) +.L8027BF84: +/* 1AA864 8027BF84 8E250000 */ lw $a1, ($s1) +/* 1AA868 8027BF88 26310004 */ addiu $s1, $s1, 4 +/* 1AA86C 8027BF8C 0C0B1EAF */ jal get_variable +/* 1AA870 8027BF90 0260202D */ daddu $a0, $s3, $zero +/* 1AA874 8027BF94 0200202D */ daddu $a0, $s0, $zero +/* 1AA878 8027BF98 0C09A75B */ jal get_actor +/* 1AA87C 8027BF9C 0040802D */ daddu $s0, $v0, $zero +/* 1AA880 8027BFA0 0040A02D */ daddu $s4, $v0, $zero +/* 1AA884 8027BFA4 0280202D */ daddu $a0, $s4, $zero +/* 1AA888 8027BFA8 0C099117 */ jal get_actor_part +/* 1AA88C 8027BFAC 0200282D */ daddu $a1, $s0, $zero +/* 1AA890 8027BFB0 0040902D */ daddu $s2, $v0, $zero +/* 1AA894 8027BFB4 AE740074 */ sw $s4, 0x74($s3) +/* 1AA898 8027BFB8 AE720078 */ sw $s2, 0x78($s3) +/* 1AA89C 8027BFBC 8E250000 */ lw $a1, ($s1) +/* 1AA8A0 8027BFC0 26310004 */ addiu $s1, $s1, 4 +/* 1AA8A4 8027BFC4 8E500010 */ lw $s0, 0x10($s2) +/* 1AA8A8 8027BFC8 0C0B1EAF */ jal get_variable +/* 1AA8AC 8027BFCC 0260202D */ daddu $a0, $s3, $zero +/* 1AA8B0 8027BFD0 44820000 */ mtc1 $v0, $f0 +/* 1AA8B4 8027BFD4 00000000 */ nop +/* 1AA8B8 8027BFD8 46800020 */ cvt.s.w $f0, $f0 +/* 1AA8BC 8027BFDC E600000C */ swc1 $f0, 0xc($s0) +/* 1AA8C0 8027BFE0 8E250000 */ lw $a1, ($s1) +/* 1AA8C4 8027BFE4 26310004 */ addiu $s1, $s1, 4 +/* 1AA8C8 8027BFE8 0C0B1EAF */ jal get_variable +/* 1AA8CC 8027BFEC 0260202D */ daddu $a0, $s3, $zero +/* 1AA8D0 8027BFF0 44820000 */ mtc1 $v0, $f0 +/* 1AA8D4 8027BFF4 00000000 */ nop +/* 1AA8D8 8027BFF8 46800020 */ cvt.s.w $f0, $f0 +/* 1AA8DC 8027BFFC E6000010 */ swc1 $f0, 0x10($s0) +/* 1AA8E0 8027C000 8E250000 */ lw $a1, ($s1) +/* 1AA8E4 8027C004 26310004 */ addiu $s1, $s1, 4 +/* 1AA8E8 8027C008 0C0B1EAF */ jal get_variable +/* 1AA8EC 8027C00C 0260202D */ daddu $a0, $s3, $zero +/* 1AA8F0 8027C010 44820000 */ mtc1 $v0, $f0 +/* 1AA8F4 8027C014 00000000 */ nop +/* 1AA8F8 8027C018 46800020 */ cvt.s.w $f0, $f0 +/* 1AA8FC 8027C01C E6000014 */ swc1 $f0, 0x14($s0) +/* 1AA900 8027C020 8E250000 */ lw $a1, ($s1) +/* 1AA904 8027C024 26310004 */ addiu $s1, $s1, 4 +/* 1AA908 8027C028 0C0B1EAF */ jal get_variable +/* 1AA90C 8027C02C 0260202D */ daddu $a0, $s3, $zero +/* 1AA910 8027C030 A6020038 */ sh $v0, 0x38($s0) +/* 1AA914 8027C034 8E250000 */ lw $a1, ($s1) +/* 1AA918 8027C038 26310004 */ addiu $s1, $s1, 4 +/* 1AA91C 8027C03C 0C0B1EAF */ jal get_variable +/* 1AA920 8027C040 0260202D */ daddu $a0, $s3, $zero +/* 1AA924 8027C044 A602003A */ sh $v0, 0x3a($s0) +/* 1AA928 8027C048 8E250000 */ lw $a1, ($s1) +/* 1AA92C 8027C04C 0C0B1EAF */ jal get_variable +/* 1AA930 8027C050 0260202D */ daddu $a0, $s3, $zero +/* 1AA934 8027C054 AE62007C */ sw $v0, 0x7c($s3) +/* 1AA938 8027C058 C602000C */ lwc1 $f2, 0xc($s0) +/* 1AA93C 8027C05C C640002C */ lwc1 $f0, 0x2c($s2) +/* 1AA940 8027C060 46020081 */ sub.s $f2, $f0, $f2 +/* 1AA944 8027C064 E6000000 */ swc1 $f0, ($s0) +/* 1AA948 8027C068 46021102 */ mul.s $f4, $f2, $f2 +/* 1AA94C 8027C06C 00000000 */ nop +/* 1AA950 8027C070 E6000018 */ swc1 $f0, 0x18($s0) +/* 1AA954 8027C074 C6400030 */ lwc1 $f0, 0x30($s2) +/* 1AA958 8027C078 C6020010 */ lwc1 $f2, 0x10($s0) +/* 1AA95C 8027C07C 46020081 */ sub.s $f2, $f0, $f2 +/* 1AA960 8027C080 E6000004 */ swc1 $f0, 4($s0) +/* 1AA964 8027C084 46021182 */ mul.s $f6, $f2, $f2 +/* 1AA968 8027C088 00000000 */ nop +/* 1AA96C 8027C08C E600001C */ swc1 $f0, 0x1c($s0) +/* 1AA970 8027C090 C6400034 */ lwc1 $f0, 0x34($s2) +/* 1AA974 8027C094 C6020014 */ lwc1 $f2, 0x14($s0) +/* 1AA978 8027C098 46020081 */ sub.s $f2, $f0, $f2 +/* 1AA97C 8027C09C 46021082 */ mul.s $f2, $f2, $f2 +/* 1AA980 8027C0A0 00000000 */ nop +/* 1AA984 8027C0A4 46062100 */ add.s $f4, $f4, $f6 +/* 1AA988 8027C0A8 46022300 */ add.s $f12, $f4, $f2 +/* 1AA98C 8027C0AC E6000008 */ swc1 $f0, 8($s0) +/* 1AA990 8027C0B0 46006084 */ sqrt.s $f2, $f12 +/* 1AA994 8027C0B4 46021032 */ c.eq.s $f2, $f2 +/* 1AA998 8027C0B8 00000000 */ nop +/* 1AA99C 8027C0BC 45010004 */ bc1t .L8027C0D0 +/* 1AA9A0 8027C0C0 E6000020 */ swc1 $f0, 0x20($s0) +/* 1AA9A4 8027C0C4 0C0187BC */ jal sqrtf +/* 1AA9A8 8027C0C8 00000000 */ nop +/* 1AA9AC 8027C0CC 46000086 */ mov.s $f2, $f0 +.L8027C0D0: +/* 1AA9B0 8027C0D0 86020038 */ lh $v0, 0x38($s0) +/* 1AA9B4 8027C0D4 14400007 */ bnez $v0, .L8027C0F4 +/* 1AA9B8 8027C0D8 E6020034 */ swc1 $f2, 0x34($s0) +/* 1AA9BC 8027C0DC C6000028 */ lwc1 $f0, 0x28($s0) +/* 1AA9C0 8027C0E0 46001003 */ div.s $f0, $f2, $f0 +/* 1AA9C4 8027C0E4 4600020D */ trunc.w.s $f8, $f0 +/* 1AA9C8 8027C0E8 44024000 */ mfc1 $v0, $f8 +/* 1AA9CC 8027C0EC 0809F042 */ j func_8027C108 +/* 1AA9D0 8027C0F0 A6020038 */ sh $v0, 0x38($s0) + +.L8027C0F4: +/* 1AA9D4 8027C0F4 44820000 */ mtc1 $v0, $f0 +/* 1AA9D8 8027C0F8 00000000 */ nop +/* 1AA9DC 8027C0FC 46800020 */ cvt.s.w $f0, $f0 +/* 1AA9E0 8027C100 46001003 */ div.s $f0, $f2, $f0 +/* 1AA9E4 8027C104 E6000028 */ swc1 $f0, 0x28($s0) +func_8027C108: +/* 1AA9E8 8027C108 86020038 */ lh $v0, 0x38($s0) +/* 1AA9EC 8027C10C 14400003 */ bnez $v0, .L8027C11C +/* 1AA9F0 8027C110 00000000 */ nop +.L8027C114: +/* 1AA9F4 8027C114 0809F12F */ j func_8027C4BC +/* 1AA9F8 8027C118 24020002 */ addiu $v0, $zero, 2 + +.L8027C11C: +/* 1AA9FC 8027C11C 8E4200AC */ lw $v0, 0xac($s2) +/* 1AAA00 8027C120 5040000C */ beql $v0, $zero, .L8027C154 +/* 1AAA04 8027C124 AE00003C */ sw $zero, 0x3c($s0) +/* 1AAA08 8027C128 8E4200B0 */ lw $v0, 0xb0($s2) +/* 1AAA0C 8027C12C 54400009 */ bnezl $v0, .L8027C154 +/* 1AAA10 8027C130 AE00003C */ sw $zero, 0x3c($s0) +/* 1AAA14 8027C134 C6400034 */ lwc1 $f0, 0x34($s2) +/* 1AAA18 8027C138 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1AAA1C 8027C13C 8E4400AC */ lw $a0, 0xac($s2) +/* 1AAA20 8027C140 8E46002C */ lw $a2, 0x2c($s2) +/* 1AAA24 8027C144 8E470030 */ lw $a3, 0x30($s2) +/* 1AAA28 8027C148 0C052757 */ jal play_sound_at_position +/* 1AAA2C 8027C14C 0000282D */ daddu $a1, $zero, $zero +/* 1AAA30 8027C150 AE00003C */ sw $zero, 0x3c($s0) +.L8027C154: +/* 1AAA34 8027C154 AE000030 */ sw $zero, 0x30($s0) +/* 1AAA38 8027C158 864200BE */ lh $v0, 0xbe($s2) +/* 1AAA3C 8027C15C 04400004 */ bltz $v0, .L8027C170 +/* 1AAA40 8027C160 00000000 */ nop +/* 1AAA44 8027C164 868201B6 */ lh $v0, 0x1b6($s4) +/* 1AAA48 8027C168 0809F05E */ j func_8027C178 +/* 1AAA4C 8027C16C 24420001 */ addiu $v0, $v0, 1 + +.L8027C170: +/* 1AAA50 8027C170 868201B6 */ lh $v0, 0x1b6($s4) +/* 1AAA54 8027C174 00021027 */ nor $v0, $zero, $v0 +func_8027C178: +/* 1AAA58 8027C178 44820000 */ mtc1 $v0, $f0 +/* 1AAA5C 8027C17C 00000000 */ nop +/* 1AAA60 8027C180 46800020 */ cvt.s.w $f0, $f0 +/* 1AAA64 8027C184 E600002C */ swc1 $f0, 0x2c($s0) +.L8027C188: +/* 1AAA68 8027C188 8E720078 */ lw $s2, 0x78($s3) +/* 1AAA6C 8027C18C 8E500010 */ lw $s0, 0x10($s2) +/* 1AAA70 8027C190 8E740074 */ lw $s4, 0x74($s3) +/* 1AAA74 8027C194 86020038 */ lh $v0, 0x38($s0) +/* 1AAA78 8027C198 AFA20010 */ sw $v0, 0x10($sp) +/* 1AAA7C 8027C19C 8E64007C */ lw $a0, 0x7c($s3) +/* 1AAA80 8027C1A0 8E050018 */ lw $a1, 0x18($s0) +/* 1AAA84 8027C1A4 8E06000C */ lw $a2, 0xc($s0) +/* 1AAA88 8027C1A8 0C09EC37 */ jal update_lerp_battle +/* 1AAA8C 8027C1AC 8E07003C */ lw $a3, 0x3c($s0) +/* 1AAA90 8027C1B0 86020038 */ lh $v0, 0x38($s0) +/* 1AAA94 8027C1B4 E6000000 */ swc1 $f0, ($s0) +/* 1AAA98 8027C1B8 AFA20010 */ sw $v0, 0x10($sp) +/* 1AAA9C 8027C1BC 8E64007C */ lw $a0, 0x7c($s3) +/* 1AAAA0 8027C1C0 8E05001C */ lw $a1, 0x1c($s0) +/* 1AAAA4 8027C1C4 8E060010 */ lw $a2, 0x10($s0) +/* 1AAAA8 8027C1C8 0C09EC37 */ jal update_lerp_battle +/* 1AAAAC 8027C1CC 8E07003C */ lw $a3, 0x3c($s0) +/* 1AAAB0 8027C1D0 86020038 */ lh $v0, 0x38($s0) +/* 1AAAB4 8027C1D4 E6000004 */ swc1 $f0, 4($s0) +/* 1AAAB8 8027C1D8 AFA20010 */ sw $v0, 0x10($sp) +/* 1AAABC 8027C1DC 8E64007C */ lw $a0, 0x7c($s3) +/* 1AAAC0 8027C1E0 8E050020 */ lw $a1, 0x20($s0) +/* 1AAAC4 8027C1E4 8E060014 */ lw $a2, 0x14($s0) +/* 1AAAC8 8027C1E8 0C09EC37 */ jal update_lerp_battle +/* 1AAACC 8027C1EC 8E07003C */ lw $a3, 0x3c($s0) +/* 1AAAD0 8027C1F0 8E02003C */ lw $v0, 0x3c($s0) +/* 1AAAD4 8027C1F4 86030038 */ lh $v1, 0x38($s0) +/* 1AAAD8 8027C1F8 E6000008 */ swc1 $f0, 8($s0) +/* 1AAADC 8027C1FC 24420001 */ addiu $v0, $v0, 1 +/* 1AAAE0 8027C200 0062182A */ slt $v1, $v1, $v0 +/* 1AAAE4 8027C204 10600010 */ beqz $v1, .L8027C248 +/* 1AAAE8 8027C208 AE02003C */ sw $v0, 0x3c($s0) +/* 1AAAEC 8027C20C C600000C */ lwc1 $f0, 0xc($s0) +/* 1AAAF0 8027C210 8E4400AC */ lw $a0, 0xac($s2) +/* 1AAAF4 8027C214 E640002C */ swc1 $f0, 0x2c($s2) +/* 1AAAF8 8027C218 C6000010 */ lwc1 $f0, 0x10($s0) +/* 1AAAFC 8027C21C E6400030 */ swc1 $f0, 0x30($s2) +/* 1AAB00 8027C220 C6000014 */ lwc1 $f0, 0x14($s0) +/* 1AAB04 8027C224 1080FFBB */ beqz $a0, .L8027C114 +/* 1AAB08 8027C228 E6400034 */ swc1 $f0, 0x34($s2) +/* 1AAB0C 8027C22C 8E4200B0 */ lw $v0, 0xb0($s2) +/* 1AAB10 8027C230 144000A2 */ bnez $v0, .L8027C4BC +/* 1AAB14 8027C234 24020002 */ addiu $v0, $zero, 2 +/* 1AAB18 8027C238 0C0154F0 */ jal func_800553C0 +/* 1AAB1C 8027C23C 00000000 */ nop +/* 1AAB20 8027C240 0809F12F */ j func_8027C4BC +/* 1AAB24 8027C244 24020002 */ addiu $v0, $zero, 2 + +.L8027C248: +/* 1AAB28 8027C248 8E4200AC */ lw $v0, 0xac($s2) +/* 1AAB2C 8027C24C 1040004A */ beqz $v0, .L8027C378 +/* 1AAB30 8027C250 00000000 */ nop +/* 1AAB34 8027C254 8E4200B0 */ lw $v0, 0xb0($s2) +/* 1AAB38 8027C258 10400047 */ beqz $v0, .L8027C378 +/* 1AAB3C 8027C25C 00000000 */ nop +/* 1AAB40 8027C260 864200BE */ lh $v0, 0xbe($s2) +/* 1AAB44 8027C264 0440001C */ bltz $v0, .L8027C2D8 +/* 1AAB48 8027C268 00000000 */ nop +/* 1AAB4C 8027C26C C602002C */ lwc1 $f2, 0x2c($s0) +/* 1AAB50 8027C270 C6000028 */ lwc1 $f0, 0x28($s0) +/* 1AAB54 8027C274 46001080 */ add.s $f2, $f2, $f0 +/* 1AAB58 8027C278 E602002C */ swc1 $f2, 0x2c($s0) +/* 1AAB5C 8027C27C 864200BE */ lh $v0, 0xbe($s2) +/* 1AAB60 8027C280 44820000 */ mtc1 $v0, $f0 +/* 1AAB64 8027C284 00000000 */ nop +/* 1AAB68 8027C288 46800020 */ cvt.s.w $f0, $f0 +/* 1AAB6C 8027C28C 4602003C */ c.lt.s $f0, $f2 +/* 1AAB70 8027C290 00000000 */ nop +/* 1AAB74 8027C294 45000038 */ bc1f .L8027C378 +/* 1AAB78 8027C298 00000000 */ nop +/* 1AAB7C 8027C29C 92820135 */ lbu $v0, 0x135($s4) +/* 1AAB80 8027C2A0 24420001 */ addiu $v0, $v0, 1 +/* 1AAB84 8027C2A4 A2820135 */ sb $v0, 0x135($s4) +/* 1AAB88 8027C2A8 AE00002C */ sw $zero, 0x2c($s0) +/* 1AAB8C 8027C2AC 92820135 */ lbu $v0, 0x135($s4) +/* 1AAB90 8027C2B0 30420001 */ andi $v0, $v0, 1 +/* 1AAB94 8027C2B4 10400026 */ beqz $v0, .L8027C350 +/* 1AAB98 8027C2B8 00000000 */ nop +/* 1AAB9C 8027C2BC 8E4200AC */ lw $v0, 0xac($s2) +/* 1AABA0 8027C2C0 1040002D */ beqz $v0, .L8027C378 +/* 1AABA4 8027C2C4 00000000 */ nop +/* 1AABA8 8027C2C8 C6400034 */ lwc1 $f0, 0x34($s2) +/* 1AABAC 8027C2CC E7A00010 */ swc1 $f0, 0x10($sp) +/* 1AABB0 8027C2D0 0809F0DA */ j func_8027C368 +/* 1AABB4 8027C2D4 8E4400AC */ lw $a0, 0xac($s2) + +.L8027C2D8: +/* 1AABB8 8027C2D8 C602002C */ lwc1 $f2, 0x2c($s0) +/* 1AABBC 8027C2DC 3C013F80 */ lui $at, 0x3f80 +/* 1AABC0 8027C2E0 44810000 */ mtc1 $at, $f0 +/* 1AABC4 8027C2E4 00000000 */ nop +/* 1AABC8 8027C2E8 46001080 */ add.s $f2, $f2, $f0 +/* 1AABCC 8027C2EC E602002C */ swc1 $f2, 0x2c($s0) +/* 1AABD0 8027C2F0 864200BE */ lh $v0, 0xbe($s2) +/* 1AABD4 8027C2F4 00021023 */ negu $v0, $v0 +/* 1AABD8 8027C2F8 44820000 */ mtc1 $v0, $f0 +/* 1AABDC 8027C2FC 00000000 */ nop +/* 1AABE0 8027C300 46800020 */ cvt.s.w $f0, $f0 +/* 1AABE4 8027C304 4602003E */ c.le.s $f0, $f2 +/* 1AABE8 8027C308 00000000 */ nop +/* 1AABEC 8027C30C 4500001A */ bc1f .L8027C378 +/* 1AABF0 8027C310 00000000 */ nop +/* 1AABF4 8027C314 92820135 */ lbu $v0, 0x135($s4) +/* 1AABF8 8027C318 24420001 */ addiu $v0, $v0, 1 +/* 1AABFC 8027C31C A2820135 */ sb $v0, 0x135($s4) +/* 1AAC00 8027C320 AE00002C */ sw $zero, 0x2c($s0) +/* 1AAC04 8027C324 92820135 */ lbu $v0, 0x135($s4) +/* 1AAC08 8027C328 30420001 */ andi $v0, $v0, 1 +/* 1AAC0C 8027C32C 10400008 */ beqz $v0, .L8027C350 +/* 1AAC10 8027C330 00000000 */ nop +/* 1AAC14 8027C334 8E4200AC */ lw $v0, 0xac($s2) +/* 1AAC18 8027C338 1040000F */ beqz $v0, .L8027C378 +/* 1AAC1C 8027C33C 00000000 */ nop +/* 1AAC20 8027C340 C6400034 */ lwc1 $f0, 0x34($s2) +/* 1AAC24 8027C344 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1AAC28 8027C348 0809F0DA */ j func_8027C368 +/* 1AAC2C 8027C34C 8E4400AC */ lw $a0, 0xac($s2) + +.L8027C350: +/* 1AAC30 8027C350 8E4200B0 */ lw $v0, 0xb0($s2) +/* 1AAC34 8027C354 10400008 */ beqz $v0, .L8027C378 +/* 1AAC38 8027C358 00000000 */ nop +/* 1AAC3C 8027C35C C6400034 */ lwc1 $f0, 0x34($s2) +/* 1AAC40 8027C360 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1AAC44 8027C364 8E4400B0 */ lw $a0, 0xb0($s2) +func_8027C368: +/* 1AAC48 8027C368 8E46002C */ lw $a2, 0x2c($s2) +/* 1AAC4C 8027C36C 8E470030 */ lw $a3, 0x30($s2) +/* 1AAC50 8027C370 0C052757 */ jal play_sound_at_position +/* 1AAC54 8027C374 0000282D */ daddu $a1, $zero, $zero +.L8027C378: +/* 1AAC58 8027C378 C602000C */ lwc1 $f2, 0xc($s0) +/* 1AAC5C 8027C37C C6000000 */ lwc1 $f0, ($s0) +/* 1AAC60 8027C380 46001081 */ sub.s $f2, $f2, $f0 +/* 1AAC64 8027C384 46021102 */ mul.s $f4, $f2, $f2 +/* 1AAC68 8027C388 00000000 */ nop +/* 1AAC6C 8027C38C C6000004 */ lwc1 $f0, 4($s0) +/* 1AAC70 8027C390 C6020010 */ lwc1 $f2, 0x10($s0) +/* 1AAC74 8027C394 46001081 */ sub.s $f2, $f2, $f0 +/* 1AAC78 8027C398 46021182 */ mul.s $f6, $f2, $f2 +/* 1AAC7C 8027C39C 00000000 */ nop +/* 1AAC80 8027C3A0 C6000008 */ lwc1 $f0, 8($s0) +/* 1AAC84 8027C3A4 C6020014 */ lwc1 $f2, 0x14($s0) +/* 1AAC88 8027C3A8 46001081 */ sub.s $f2, $f2, $f0 +/* 1AAC8C 8027C3AC 46021002 */ mul.s $f0, $f2, $f2 +/* 1AAC90 8027C3B0 00000000 */ nop +/* 1AAC94 8027C3B4 46062100 */ add.s $f4, $f4, $f6 +/* 1AAC98 8027C3B8 46002300 */ add.s $f12, $f4, $f0 +/* 1AAC9C 8027C3BC 46006004 */ sqrt.s $f0, $f12 +/* 1AACA0 8027C3C0 46000032 */ c.eq.s $f0, $f0 +/* 1AACA4 8027C3C4 00000000 */ nop +/* 1AACA8 8027C3C8 45010003 */ bc1t .L8027C3D8 +/* 1AACAC 8027C3CC 00000000 */ nop +/* 1AACB0 8027C3D0 0C0187BC */ jal sqrtf +/* 1AACB4 8027C3D4 00000000 */ nop +.L8027C3D8: +/* 1AACB8 8027C3D8 4480A000 */ mtc1 $zero, $f20 +/* 1AACBC 8027C3DC 46000086 */ mov.s $f2, $f0 +/* 1AACC0 8027C3E0 46141032 */ c.eq.s $f2, $f20 +/* 1AACC4 8027C3E4 00000000 */ nop +/* 1AACC8 8027C3E8 45000003 */ bc1f .L8027C3F8 +/* 1AACCC 8027C3EC 00000000 */ nop +/* 1AACD0 8027C3F0 3C013F80 */ lui $at, 0x3f80 +/* 1AACD4 8027C3F4 44811000 */ mtc1 $at, $f2 +.L8027C3F8: +/* 1AACD8 8027C3F8 C6000034 */ lwc1 $f0, 0x34($s0) +/* 1AACDC 8027C3FC 46140032 */ c.eq.s $f0, $f20 +/* 1AACE0 8027C400 00000000 */ nop +/* 1AACE4 8027C404 45000006 */ bc1f .L8027C420 +/* 1AACE8 8027C408 00000000 */ nop +/* 1AACEC 8027C40C 3C013F80 */ lui $at, 0x3f80 +/* 1AACF0 8027C410 44810000 */ mtc1 $at, $f0 +/* 1AACF4 8027C414 00000000 */ nop +/* 1AACF8 8027C418 E6000034 */ swc1 $f0, 0x34($s0) +/* 1AACFC 8027C41C C6000034 */ lwc1 $f0, 0x34($s0) +.L8027C420: +/* 1AAD00 8027C420 3C013FF0 */ lui $at, 0x3ff0 +/* 1AAD04 8027C424 44816800 */ mtc1 $at, $f13 +/* 1AAD08 8027C428 44806000 */ mtc1 $zero, $f12 +/* 1AAD0C 8027C42C 46001003 */ div.s $f0, $f2, $f0 +/* 1AAD10 8027C430 46000021 */ cvt.d.s $f0, $f0 +/* 1AAD14 8027C434 46206301 */ sub.d $f12, $f12, $f0 +/* 1AAD18 8027C438 3C01802A */ lui $at, 0x802a +/* 1AAD1C 8027C43C D420DA20 */ ldc1 $f0, -0x25e0($at) +/* 1AAD20 8027C440 46206302 */ mul.d $f12, $f12, $f0 +/* 1AAD24 8027C444 00000000 */ nop +/* 1AAD28 8027C448 0C00A8BB */ jal sin_deg +/* 1AAD2C 8027C44C 46206320 */ cvt.s.d $f12, $f12 +/* 1AAD30 8027C450 8603003A */ lh $v1, 0x3a($s0) +/* 1AAD34 8027C454 14600002 */ bnez $v1, .L8027C460 +/* 1AAD38 8027C458 46000106 */ mov.s $f4, $f0 +/* 1AAD3C 8027C45C 4600A106 */ mov.s $f4, $f20 +.L8027C460: +/* 1AAD40 8027C460 04610007 */ bgez $v1, .L8027C480 +/* 1AAD44 8027C464 00031023 */ negu $v0, $v1 +/* 1AAD48 8027C468 44821000 */ mtc1 $v0, $f2 +/* 1AAD4C 8027C46C 00000000 */ nop +/* 1AAD50 8027C470 468010A0 */ cvt.s.w $f2, $f2 +/* 1AAD54 8027C474 46002007 */ neg.s $f0, $f4 +/* 1AAD58 8027C478 46020102 */ mul.s $f4, $f0, $f2 +/* 1AAD5C 8027C47C 00000000 */ nop +.L8027C480: +/* 1AAD60 8027C480 18600006 */ blez $v1, .L8027C49C +/* 1AAD64 8027C484 00000000 */ nop +/* 1AAD68 8027C488 44830000 */ mtc1 $v1, $f0 +/* 1AAD6C 8027C48C 00000000 */ nop +/* 1AAD70 8027C490 46800020 */ cvt.s.w $f0, $f0 +/* 1AAD74 8027C494 46002102 */ mul.s $f4, $f4, $f0 +/* 1AAD78 8027C498 00000000 */ nop +.L8027C49C: +/* 1AAD7C 8027C49C C6000000 */ lwc1 $f0, ($s0) +/* 1AAD80 8027C4A0 E640002C */ swc1 $f0, 0x2c($s2) +/* 1AAD84 8027C4A4 C6000004 */ lwc1 $f0, 4($s0) +/* 1AAD88 8027C4A8 46040000 */ add.s $f0, $f0, $f4 +/* 1AAD8C 8027C4AC E6400030 */ swc1 $f0, 0x30($s2) +/* 1AAD90 8027C4B0 C6000008 */ lwc1 $f0, 8($s0) +/* 1AAD94 8027C4B4 0000102D */ daddu $v0, $zero, $zero +/* 1AAD98 8027C4B8 E6400034 */ swc1 $f0, 0x34($s2) +func_8027C4BC: +.L8027C4BC: +/* 1AAD9C 8027C4BC 8FBF002C */ lw $ra, 0x2c($sp) +/* 1AADA0 8027C4C0 8FB40028 */ lw $s4, 0x28($sp) +/* 1AADA4 8027C4C4 8FB30024 */ lw $s3, 0x24($sp) +/* 1AADA8 8027C4C8 8FB20020 */ lw $s2, 0x20($sp) +/* 1AADAC 8027C4CC 8FB1001C */ lw $s1, 0x1c($sp) +/* 1AADB0 8027C4D0 8FB00018 */ lw $s0, 0x18($sp) +/* 1AADB4 8027C4D4 D7B40030 */ ldc1 $f20, 0x30($sp) +/* 1AADB8 8027C4D8 03E00008 */ jr $ra +/* 1AADBC 8027C4DC 27BD0038 */ addiu $sp, $sp, 0x38 + +GetLastEvent: +/* 1AADC0 8027C4E0 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 1AADC4 8027C4E4 AFB10014 */ sw $s1, 0x14($sp) +/* 1AADC8 8027C4E8 0080882D */ daddu $s1, $a0, $zero +/* 1AADCC 8027C4EC AFBF0018 */ sw $ra, 0x18($sp) +/* 1AADD0 8027C4F0 AFB00010 */ sw $s0, 0x10($sp) +/* 1AADD4 8027C4F4 8E30000C */ lw $s0, 0xc($s1) +/* 1AADD8 8027C4F8 8E050000 */ lw $a1, ($s0) +/* 1AADDC 8027C4FC 0C0B1EAF */ jal get_variable +/* 1AADE0 8027C500 26100004 */ addiu $s0, $s0, 4 +/* 1AADE4 8027C504 0040202D */ daddu $a0, $v0, $zero +/* 1AADE8 8027C508 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1AADEC 8027C50C 14820002 */ bne $a0, $v0, .L8027C518 +/* 1AADF0 8027C510 00000000 */ nop +/* 1AADF4 8027C514 8E240148 */ lw $a0, 0x148($s1) +.L8027C518: +/* 1AADF8 8027C518 0C09A75B */ jal get_actor +/* 1AADFC 8027C51C 8E100000 */ lw $s0, ($s0) +/* 1AAE00 8027C520 0220202D */ daddu $a0, $s1, $zero +/* 1AAE04 8027C524 804601F0 */ lb $a2, 0x1f0($v0) +/* 1AAE08 8027C528 0C0B2026 */ jal set_variable +/* 1AAE0C 8027C52C 0200282D */ daddu $a1, $s0, $zero +/* 1AAE10 8027C530 8FBF0018 */ lw $ra, 0x18($sp) +/* 1AAE14 8027C534 8FB10014 */ lw $s1, 0x14($sp) +/* 1AAE18 8027C538 8FB00010 */ lw $s0, 0x10($sp) +/* 1AAE1C 8027C53C 24020002 */ addiu $v0, $zero, 2 +/* 1AAE20 8027C540 03E00008 */ jr $ra +/* 1AAE24 8027C544 27BD0020 */ addiu $sp, $sp, 0x20 + +SetTargetActor: +/* 1AAE28 8027C548 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 1AAE2C 8027C54C AFB20018 */ sw $s2, 0x18($sp) +/* 1AAE30 8027C550 0080902D */ daddu $s2, $a0, $zero +/* 1AAE34 8027C554 AFBF001C */ sw $ra, 0x1c($sp) +/* 1AAE38 8027C558 AFB10014 */ sw $s1, 0x14($sp) +/* 1AAE3C 8027C55C AFB00010 */ sw $s0, 0x10($sp) +/* 1AAE40 8027C560 8E51000C */ lw $s1, 0xc($s2) +/* 1AAE44 8027C564 8E250000 */ lw $a1, ($s1) +/* 1AAE48 8027C568 0C0B1EAF */ jal get_variable +/* 1AAE4C 8027C56C 26310004 */ addiu $s1, $s1, 4 +/* 1AAE50 8027C570 0040802D */ daddu $s0, $v0, $zero +/* 1AAE54 8027C574 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1AAE58 8027C578 16020002 */ bne $s0, $v0, .L8027C584 +/* 1AAE5C 8027C57C 00000000 */ nop +/* 1AAE60 8027C580 8E500148 */ lw $s0, 0x148($s2) +.L8027C584: +/* 1AAE64 8027C584 8E250000 */ lw $a1, ($s1) +/* 1AAE68 8027C588 0C0B1EAF */ jal get_variable +/* 1AAE6C 8027C58C 0240202D */ daddu $a0, $s2, $zero +/* 1AAE70 8027C590 0200202D */ daddu $a0, $s0, $zero +/* 1AAE74 8027C594 0C09A75B */ jal get_actor +/* 1AAE78 8027C598 0040802D */ daddu $s0, $v0, $zero +/* 1AAE7C 8027C59C 0040202D */ daddu $a0, $v0, $zero +/* 1AAE80 8027C5A0 24030001 */ addiu $v1, $zero, 1 +/* 1AAE84 8027C5A4 A4900428 */ sh $s0, 0x428($a0) +/* 1AAE88 8027C5A8 A0830426 */ sb $v1, 0x426($a0) +/* 1AAE8C 8027C5AC 8FBF001C */ lw $ra, 0x1c($sp) +/* 1AAE90 8027C5B0 8FB20018 */ lw $s2, 0x18($sp) +/* 1AAE94 8027C5B4 8FB10014 */ lw $s1, 0x14($sp) +/* 1AAE98 8027C5B8 8FB00010 */ lw $s0, 0x10($sp) +/* 1AAE9C 8027C5BC 24020002 */ addiu $v0, $zero, 2 +/* 1AAEA0 8027C5C0 03E00008 */ jr $ra +/* 1AAEA4 8027C5C4 27BD0020 */ addiu $sp, $sp, 0x20 + +SetEnemyHP: +/* 1AAEA8 8027C5C8 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 1AAEAC 8027C5CC AFB20018 */ sw $s2, 0x18($sp) +/* 1AAEB0 8027C5D0 0080902D */ daddu $s2, $a0, $zero +/* 1AAEB4 8027C5D4 AFBF001C */ sw $ra, 0x1c($sp) +/* 1AAEB8 8027C5D8 AFB10014 */ sw $s1, 0x14($sp) +/* 1AAEBC 8027C5DC AFB00010 */ sw $s0, 0x10($sp) +/* 1AAEC0 8027C5E0 8E51000C */ lw $s1, 0xc($s2) +/* 1AAEC4 8027C5E4 8E250000 */ lw $a1, ($s1) +/* 1AAEC8 8027C5E8 0C0B1EAF */ jal get_variable +/* 1AAECC 8027C5EC 26310004 */ addiu $s1, $s1, 4 +/* 1AAED0 8027C5F0 0040802D */ daddu $s0, $v0, $zero +/* 1AAED4 8027C5F4 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1AAED8 8027C5F8 16020002 */ bne $s0, $v0, .L8027C604 +/* 1AAEDC 8027C5FC 00000000 */ nop +/* 1AAEE0 8027C600 8E500148 */ lw $s0, 0x148($s2) +.L8027C604: +/* 1AAEE4 8027C604 8E250000 */ lw $a1, ($s1) +/* 1AAEE8 8027C608 0C0B1EAF */ jal get_variable +/* 1AAEEC 8027C60C 0240202D */ daddu $a0, $s2, $zero +/* 1AAEF0 8027C610 0200202D */ daddu $a0, $s0, $zero +/* 1AAEF4 8027C614 0C09A75B */ jal get_actor +/* 1AAEF8 8027C618 0040802D */ daddu $s0, $v0, $zero +/* 1AAEFC 8027C61C 0040282D */ daddu $a1, $v0, $zero +/* 1AAF00 8027C620 A0B001B8 */ sb $s0, 0x1b8($a1) +/* 1AAF04 8027C624 00108600 */ sll $s0, $s0, 0x18 +/* 1AAF08 8027C628 00108603 */ sra $s0, $s0, 0x18 +/* 1AAF0C 8027C62C 80A201B9 */ lb $v0, 0x1b9($a1) +/* 1AAF10 8027C630 90A301B9 */ lbu $v1, 0x1b9($a1) +/* 1AAF14 8027C634 0050102A */ slt $v0, $v0, $s0 +/* 1AAF18 8027C638 54400001 */ bnezl $v0, .L8027C640 +/* 1AAF1C 8027C63C A0A301B8 */ sb $v1, 0x1b8($a1) +.L8027C640: +/* 1AAF20 8027C640 80A201B8 */ lb $v0, 0x1b8($a1) +/* 1AAF24 8027C644 80A401B9 */ lb $a0, 0x1b9($a1) +/* 1AAF28 8027C648 00021840 */ sll $v1, $v0, 1 +/* 1AAF2C 8027C64C 00621821 */ addu $v1, $v1, $v0 +/* 1AAF30 8027C650 000318C0 */ sll $v1, $v1, 3 +/* 1AAF34 8027C654 00621821 */ addu $v1, $v1, $v0 +/* 1AAF38 8027C658 14800002 */ bnez $a0, .L8027C664 +/* 1AAF3C 8027C65C 0064001A */ div $zero, $v1, $a0 +/* 1AAF40 8027C660 0007000D */ break 7 +.L8027C664: +/* 1AAF44 8027C664 2401FFFF */ addiu $at, $zero, -1 +/* 1AAF48 8027C668 14810004 */ bne $a0, $at, .L8027C67C +/* 1AAF4C 8027C66C 3C018000 */ lui $at, 0x8000 +/* 1AAF50 8027C670 14610002 */ bne $v1, $at, .L8027C67C +/* 1AAF54 8027C674 00000000 */ nop +/* 1AAF58 8027C678 0006000D */ break 6 +.L8027C67C: +/* 1AAF5C 8027C67C 00001812 */ mflo $v1 +/* 1AAF60 8027C680 A0A301BC */ sb $v1, 0x1bc($a1) +/* 1AAF64 8027C684 8FBF001C */ lw $ra, 0x1c($sp) +/* 1AAF68 8027C688 8FB20018 */ lw $s2, 0x18($sp) +/* 1AAF6C 8027C68C 8FB10014 */ lw $s1, 0x14($sp) +/* 1AAF70 8027C690 8FB00010 */ lw $s0, 0x10($sp) +/* 1AAF74 8027C694 24020002 */ addiu $v0, $zero, 2 +/* 1AAF78 8027C698 03E00008 */ jr $ra +/* 1AAF7C 8027C69C 27BD0020 */ addiu $sp, $sp, 0x20 + +GetActorHP: +/* 1AAF80 8027C6A0 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 1AAF84 8027C6A4 AFB20018 */ sw $s2, 0x18($sp) +/* 1AAF88 8027C6A8 0080902D */ daddu $s2, $a0, $zero +/* 1AAF8C 8027C6AC AFBF001C */ sw $ra, 0x1c($sp) +/* 1AAF90 8027C6B0 AFB10014 */ sw $s1, 0x14($sp) +/* 1AAF94 8027C6B4 AFB00010 */ sw $s0, 0x10($sp) +/* 1AAF98 8027C6B8 8E51000C */ lw $s1, 0xc($s2) +/* 1AAF9C 8027C6BC 8E250000 */ lw $a1, ($s1) +/* 1AAFA0 8027C6C0 0C0B1EAF */ jal get_variable +/* 1AAFA4 8027C6C4 26310004 */ addiu $s1, $s1, 4 +/* 1AAFA8 8027C6C8 0040802D */ daddu $s0, $v0, $zero +/* 1AAFAC 8027C6CC 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1AAFB0 8027C6D0 16020002 */ bne $s0, $v0, .L8027C6DC +/* 1AAFB4 8027C6D4 00000000 */ nop +/* 1AAFB8 8027C6D8 8E500148 */ lw $s0, 0x148($s2) +.L8027C6DC: +/* 1AAFBC 8027C6DC 8E310000 */ lw $s1, ($s1) +/* 1AAFC0 8027C6E0 0C09A75B */ jal get_actor +/* 1AAFC4 8027C6E4 0200202D */ daddu $a0, $s0, $zero +/* 1AAFC8 8027C6E8 32040700 */ andi $a0, $s0, 0x700 +/* 1AAFCC 8027C6EC 10800006 */ beqz $a0, .L8027C708 +/* 1AAFD0 8027C6F0 0040302D */ daddu $a2, $v0, $zero +/* 1AAFD4 8027C6F4 24020100 */ addiu $v0, $zero, 0x100 +/* 1AAFD8 8027C6F8 50820009 */ beql $a0, $v0, .L8027C720 +/* 1AAFDC 8027C6FC 24060063 */ addiu $a2, $zero, 0x63 +/* 1AAFE0 8027C700 0809F1C7 */ j func_8027C71C +/* 1AAFE4 8027C704 00000000 */ nop + +.L8027C708: +/* 1AAFE8 8027C708 3C028011 */ lui $v0, 0x8011 +/* 1AAFEC 8027C70C 2442F290 */ addiu $v0, $v0, -0xd70 +/* 1AAFF0 8027C710 80460002 */ lb $a2, 2($v0) +/* 1AAFF4 8027C714 0809F1C9 */ j func_8027C724 +/* 1AAFF8 8027C718 0240202D */ daddu $a0, $s2, $zero + +func_8027C71C: +/* 1AAFFC 8027C71C 80C601B8 */ lb $a2, 0x1b8($a2) +.L8027C720: +/* 1AB000 8027C720 0240202D */ daddu $a0, $s2, $zero +func_8027C724: +/* 1AB004 8027C724 0C0B2026 */ jal set_variable +/* 1AB008 8027C728 0220282D */ daddu $a1, $s1, $zero +/* 1AB00C 8027C72C 8FBF001C */ lw $ra, 0x1c($sp) +/* 1AB010 8027C730 8FB20018 */ lw $s2, 0x18($sp) +/* 1AB014 8027C734 8FB10014 */ lw $s1, 0x14($sp) +/* 1AB018 8027C738 8FB00010 */ lw $s0, 0x10($sp) +/* 1AB01C 8027C73C 24020002 */ addiu $v0, $zero, 2 +/* 1AB020 8027C740 03E00008 */ jr $ra +/* 1AB024 8027C744 27BD0020 */ addiu $sp, $sp, 0x20 + +GetEnemyMaxHP: +/* 1AB028 8027C748 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 1AB02C 8027C74C AFB10014 */ sw $s1, 0x14($sp) +/* 1AB030 8027C750 0080882D */ daddu $s1, $a0, $zero +/* 1AB034 8027C754 AFBF0018 */ sw $ra, 0x18($sp) +/* 1AB038 8027C758 AFB00010 */ sw $s0, 0x10($sp) +/* 1AB03C 8027C75C 8E30000C */ lw $s0, 0xc($s1) +/* 1AB040 8027C760 8E050000 */ lw $a1, ($s0) +/* 1AB044 8027C764 0C0B1EAF */ jal get_variable +/* 1AB048 8027C768 26100004 */ addiu $s0, $s0, 4 +/* 1AB04C 8027C76C 0040202D */ daddu $a0, $v0, $zero +/* 1AB050 8027C770 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1AB054 8027C774 14820002 */ bne $a0, $v0, .L8027C780 +/* 1AB058 8027C778 00000000 */ nop +/* 1AB05C 8027C77C 8E240148 */ lw $a0, 0x148($s1) +.L8027C780: +/* 1AB060 8027C780 0C09A75B */ jal get_actor +/* 1AB064 8027C784 8E100000 */ lw $s0, ($s0) +/* 1AB068 8027C788 0220202D */ daddu $a0, $s1, $zero +/* 1AB06C 8027C78C 804601B9 */ lb $a2, 0x1b9($v0) +/* 1AB070 8027C790 0C0B2026 */ jal set_variable +/* 1AB074 8027C794 0200282D */ daddu $a1, $s0, $zero +/* 1AB078 8027C798 8FBF0018 */ lw $ra, 0x18($sp) +/* 1AB07C 8027C79C 8FB10014 */ lw $s1, 0x14($sp) +/* 1AB080 8027C7A0 8FB00010 */ lw $s0, 0x10($sp) +/* 1AB084 8027C7A4 24020002 */ addiu $v0, $zero, 2 +/* 1AB088 8027C7A8 03E00008 */ jr $ra +/* 1AB08C 8027C7AC 27BD0020 */ addiu $sp, $sp, 0x20 + +RemoveActor: +/* 1AB090 8027C7B0 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 1AB094 8027C7B4 AFB00010 */ sw $s0, 0x10($sp) +/* 1AB098 8027C7B8 0080802D */ daddu $s0, $a0, $zero +/* 1AB09C 8027C7BC AFBF0020 */ sw $ra, 0x20($sp) +/* 1AB0A0 8027C7C0 AFB3001C */ sw $s3, 0x1c($sp) +/* 1AB0A4 8027C7C4 AFB20018 */ sw $s2, 0x18($sp) +/* 1AB0A8 8027C7C8 AFB10014 */ sw $s1, 0x14($sp) +/* 1AB0AC 8027C7CC 8E02000C */ lw $v0, 0xc($s0) +/* 1AB0B0 8027C7D0 0C0B1EAF */ jal get_variable +/* 1AB0B4 8027C7D4 8C450000 */ lw $a1, ($v0) +/* 1AB0B8 8027C7D8 0040882D */ daddu $s1, $v0, $zero +/* 1AB0BC 8027C7DC 3C12800E */ lui $s2, 0x800e +/* 1AB0C0 8027C7E0 2652C070 */ addiu $s2, $s2, -0x3f90 +/* 1AB0C4 8027C7E4 3C13800B */ lui $s3, 0x800b +/* 1AB0C8 8027C7E8 26730F10 */ addiu $s3, $s3, 0xf10 +/* 1AB0CC 8027C7EC 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1AB0D0 8027C7F0 16220002 */ bne $s1, $v0, .L8027C7FC +/* 1AB0D4 8027C7F4 00000000 */ nop +/* 1AB0D8 8027C7F8 8E110148 */ lw $s1, 0x148($s0) +.L8027C7FC: +/* 1AB0DC 8027C7FC 0C09A75B */ jal get_actor +/* 1AB0E0 8027C800 0220202D */ daddu $a0, $s1, $zero +/* 1AB0E4 8027C804 0000282D */ daddu $a1, $zero, $zero +/* 1AB0E8 8027C808 0040202D */ daddu $a0, $v0, $zero +/* 1AB0EC 8027C80C 82460171 */ lb $a2, 0x171($s2) +/* 1AB0F0 8027C810 18C0000D */ blez $a2, .L8027C848 +/* 1AB0F4 8027C814 26420140 */ addiu $v0, $s2, 0x140 +/* 1AB0F8 8027C818 2407FFFF */ addiu $a3, $zero, -1 +/* 1AB0FC 8027C81C 0040182D */ daddu $v1, $v0, $zero +.L8027C820: +/* 1AB100 8027C820 90620001 */ lbu $v0, 1($v1) +/* 1AB104 8027C824 00021080 */ sll $v0, $v0, 2 +/* 1AB108 8027C828 02421021 */ addu $v0, $s2, $v0 +/* 1AB10C 8027C82C 8C4200E0 */ lw $v0, 0xe0($v0) +/* 1AB110 8027C830 50820001 */ beql $a0, $v0, .L8027C838 +/* 1AB114 8027C834 A4670000 */ sh $a3, ($v1) +.L8027C838: +/* 1AB118 8027C838 24A50001 */ addiu $a1, $a1, 1 +/* 1AB11C 8027C83C 00A6102A */ slt $v0, $a1, $a2 +/* 1AB120 8027C840 1440FFF7 */ bnez $v0, .L8027C820 +/* 1AB124 8027C844 24630002 */ addiu $v1, $v1, 2 +.L8027C848: +/* 1AB128 8027C848 90820207 */ lbu $v0, 0x207($a0) +/* 1AB12C 8027C84C 9663000E */ lhu $v1, 0xe($s3) +/* 1AB130 8027C850 00021600 */ sll $v0, $v0, 0x18 +/* 1AB134 8027C854 00021603 */ sra $v0, $v0, 0x18 +/* 1AB138 8027C858 00621821 */ addu $v1, $v1, $v0 +/* 1AB13C 8027C85C A663000E */ sh $v1, 0xe($s3) +/* 1AB140 8027C860 8C820008 */ lw $v0, 8($a0) +/* 1AB144 8027C864 9042001F */ lbu $v0, 0x1f($v0) +/* 1AB148 8027C868 00621821 */ addu $v1, $v1, $v0 +/* 1AB14C 8027C86C 0C0902EF */ jal delete_actor +/* 1AB150 8027C870 A663000E */ sh $v1, 0xe($s3) +/* 1AB154 8027C874 24020002 */ addiu $v0, $zero, 2 +/* 1AB158 8027C878 322300FF */ andi $v1, $s1, 0xff +/* 1AB15C 8027C87C 00431804 */ sllv $v1, $v1, $v0 +/* 1AB160 8027C880 02431821 */ addu $v1, $s2, $v1 +/* 1AB164 8027C884 AC6000E0 */ sw $zero, 0xe0($v1) +/* 1AB168 8027C888 8FBF0020 */ lw $ra, 0x20($sp) +/* 1AB16C 8027C88C 8FB3001C */ lw $s3, 0x1c($sp) +/* 1AB170 8027C890 8FB20018 */ lw $s2, 0x18($sp) +/* 1AB174 8027C894 8FB10014 */ lw $s1, 0x14($sp) +/* 1AB178 8027C898 8FB00010 */ lw $s0, 0x10($sp) +/* 1AB17C 8027C89C 03E00008 */ jr $ra +/* 1AB180 8027C8A0 27BD0028 */ addiu $sp, $sp, 0x28 + +DropStarPoints: +/* 1AB184 8027C8A4 27BDFFC8 */ addiu $sp, $sp, -0x38 +/* 1AB188 8027C8A8 AFB00020 */ sw $s0, 0x20($sp) +/* 1AB18C 8027C8AC 0080802D */ daddu $s0, $a0, $zero +/* 1AB190 8027C8B0 AFBF0034 */ sw $ra, 0x34($sp) +/* 1AB194 8027C8B4 AFB40030 */ sw $s4, 0x30($sp) +/* 1AB198 8027C8B8 AFB3002C */ sw $s3, 0x2c($sp) +/* 1AB19C 8027C8BC AFB20028 */ sw $s2, 0x28($sp) +/* 1AB1A0 8027C8C0 AFB10024 */ sw $s1, 0x24($sp) +/* 1AB1A4 8027C8C4 8E02000C */ lw $v0, 0xc($s0) +/* 1AB1A8 8027C8C8 0C0B1EAF */ jal get_variable +/* 1AB1AC 8027C8CC 8C450000 */ lw $a1, ($v0) +/* 1AB1B0 8027C8D0 0040202D */ daddu $a0, $v0, $zero +/* 1AB1B4 8027C8D4 3C14800E */ lui $s4, 0x800e +/* 1AB1B8 8027C8D8 2694C070 */ addiu $s4, $s4, -0x3f90 +/* 1AB1BC 8027C8DC 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1AB1C0 8027C8E0 14820002 */ bne $a0, $v0, .L8027C8EC +/* 1AB1C4 8027C8E4 00000000 */ nop +/* 1AB1C8 8027C8E8 8E040148 */ lw $a0, 0x148($s0) +.L8027C8EC: +/* 1AB1CC 8027C8EC 0C09A75B */ jal get_actor +/* 1AB1D0 8027C8F0 00000000 */ nop +/* 1AB1D4 8027C8F4 0040882D */ daddu $s1, $v0, $zero +/* 1AB1D8 8027C8F8 8E220008 */ lw $v0, 8($s1) +/* 1AB1DC 8027C8FC 90420006 */ lbu $v0, 6($v0) +/* 1AB1E0 8027C900 44800000 */ mtc1 $zero, $f0 +/* 1AB1E4 8027C904 44823000 */ mtc1 $v0, $f6 +/* 1AB1E8 8027C908 00000000 */ nop +/* 1AB1EC 8027C90C 468031A0 */ cvt.s.w $f6, $f6 +/* 1AB1F0 8027C910 46003032 */ c.eq.s $f6, $f0 +/* 1AB1F4 8027C914 00000000 */ nop +/* 1AB1F8 8027C918 45000003 */ bc1f .L8027C928 +/* 1AB1FC 8027C91C 00000000 */ nop +/* 1AB200 8027C920 3C013F80 */ lui $at, 0x3f80 +/* 1AB204 8027C924 44813000 */ mtc1 $at, $f6 +.L8027C928: +/* 1AB208 8027C928 3C028011 */ lui $v0, 0x8011 +/* 1AB20C 8027C92C 2442F290 */ addiu $v0, $v0, -0xd70 +/* 1AB210 8027C930 80430009 */ lb $v1, 9($v0) +/* 1AB214 8027C934 44832000 */ mtc1 $v1, $f4 +/* 1AB218 8027C938 00000000 */ nop +/* 1AB21C 8027C93C 46802120 */ cvt.s.w $f4, $f4 +/* 1AB220 8027C940 46002032 */ c.eq.s $f4, $f0 +/* 1AB224 8027C944 00000000 */ nop +/* 1AB228 8027C948 45000004 */ bc1f .L8027C95C +/* 1AB22C 8027C94C 00000000 */ nop +/* 1AB230 8027C950 3C013F80 */ lui $at, 0x3f80 +/* 1AB234 8027C954 44812000 */ mtc1 $at, $f4 +/* 1AB238 8027C958 00000000 */ nop +.L8027C95C: +/* 1AB23C 8027C95C 4604303C */ c.lt.s $f6, $f4 +/* 1AB240 8027C960 00000000 */ nop +/* 1AB244 8027C964 45010017 */ bc1t .L8027C9C4 +/* 1AB248 8027C968 46000086 */ mov.s $f2, $f0 +/* 1AB24C 8027C96C 46043081 */ sub.s $f2, $f6, $f4 +/* 1AB250 8027C970 3C013F00 */ lui $at, 0x3f00 +/* 1AB254 8027C974 44810000 */ mtc1 $at, $f0 +/* 1AB258 8027C978 00000000 */ nop +/* 1AB25C 8027C97C 46001082 */ mul.s $f2, $f2, $f0 +/* 1AB260 8027C980 00000000 */ nop +/* 1AB264 8027C984 8282008E */ lb $v0, 0x8e($s4) +/* 1AB268 8027C988 00021080 */ sll $v0, $v0, 2 +/* 1AB26C 8027C98C 3C018029 */ lui $at, 0x8029 +/* 1AB270 8027C990 00220821 */ addu $at, $at, $v0 +/* 1AB274 8027C994 C42046E0 */ lwc1 $f0, 0x46e0($at) +/* 1AB278 8027C998 46800020 */ cvt.s.w $f0, $f0 +/* 1AB27C 8027C99C 46001082 */ mul.s $f2, $f2, $f0 +/* 1AB280 8027C9A0 00000000 */ nop +/* 1AB284 8027C9A4 3C014248 */ lui $at, 0x4248 +/* 1AB288 8027C9A8 44810000 */ mtc1 $at, $f0 +/* 1AB28C 8027C9AC 00000000 */ nop +/* 1AB290 8027C9B0 46001000 */ add.s $f0, $f2, $f0 +/* 1AB294 8027C9B4 3C0142C8 */ lui $at, 0x42c8 +/* 1AB298 8027C9B8 44811000 */ mtc1 $at, $f2 +/* 1AB29C 8027C9BC 00000000 */ nop +/* 1AB2A0 8027C9C0 46020083 */ div.s $f2, $f0, $f2 +.L8027C9C4: +/* 1AB2A4 8027C9C4 4600120D */ trunc.w.s $f8, $f2 +/* 1AB2A8 8027C9C8 44134000 */ mfc1 $s3, $f8 +/* 1AB2AC 8027C9CC 2862001B */ slti $v0, $v1, 0x1b +/* 1AB2B0 8027C9D0 10400019 */ beqz $v0, .L8027CA38 +/* 1AB2B4 8027C9D4 00000000 */ nop +/* 1AB2B8 8027C9D8 8E220000 */ lw $v0, ($s1) +/* 1AB2BC 8027C9DC 30420800 */ andi $v0, $v0, 0x800 +/* 1AB2C0 8027C9E0 10400002 */ beqz $v0, .L8027C9EC +/* 1AB2C4 8027C9E4 24120017 */ addiu $s2, $zero, 0x17 +/* 1AB2C8 8027C9E8 24120019 */ addiu $s2, $zero, 0x19 +.L8027C9EC: +/* 1AB2CC 8027C9EC 1A60000D */ blez $s3, .L8027CA24 +/* 1AB2D0 8027C9F0 0000802D */ daddu $s0, $zero, $zero +/* 1AB2D4 8027C9F4 24040159 */ addiu $a0, $zero, 0x159 +.L8027C9F8: +/* 1AB2D8 8027C9F8 AFB20010 */ sw $s2, 0x10($sp) +/* 1AB2DC 8027C9FC AFB00014 */ sw $s0, 0x14($sp) +/* 1AB2E0 8027CA00 AFA00018 */ sw $zero, 0x18($sp) +/* 1AB2E4 8027CA04 8E250144 */ lw $a1, 0x144($s1) +/* 1AB2E8 8027CA08 8E260148 */ lw $a2, 0x148($s1) +/* 1AB2EC 8027CA0C 8E27014C */ lw $a3, 0x14c($s1) +/* 1AB2F0 8027CA10 0C04C6B2 */ jal make_item_entity_delayed +/* 1AB2F4 8027CA14 26100001 */ addiu $s0, $s0, 1 +/* 1AB2F8 8027CA18 0213102A */ slt $v0, $s0, $s3 +/* 1AB2FC 8027CA1C 1440FFF6 */ bnez $v0, .L8027C9F8 +/* 1AB300 8027CA20 24040159 */ addiu $a0, $zero, 0x159 +.L8027CA24: +/* 1AB304 8027CA24 92820079 */ lbu $v0, 0x79($s4) +/* 1AB308 8027CA28 24030028 */ addiu $v1, $zero, 0x28 +/* 1AB30C 8027CA2C A283007A */ sb $v1, 0x7a($s4) +/* 1AB310 8027CA30 00531021 */ addu $v0, $v0, $s3 +/* 1AB314 8027CA34 A2820079 */ sb $v0, 0x79($s4) +.L8027CA38: +/* 1AB318 8027CA38 3C03800E */ lui $v1, 0x800e +/* 1AB31C 8027CA3C 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 1AB320 8027CA40 8C640000 */ lw $a0, ($v1) +/* 1AB324 8027CA44 3C050100 */ lui $a1, 0x100 +/* 1AB328 8027CA48 00852025 */ or $a0, $a0, $a1 +/* 1AB32C 8027CA4C AC640000 */ sw $a0, ($v1) +/* 1AB330 8027CA50 8FBF0034 */ lw $ra, 0x34($sp) +/* 1AB334 8027CA54 8FB40030 */ lw $s4, 0x30($sp) +/* 1AB338 8027CA58 8FB3002C */ lw $s3, 0x2c($sp) +/* 1AB33C 8027CA5C 8FB20028 */ lw $s2, 0x28($sp) +/* 1AB340 8027CA60 8FB10024 */ lw $s1, 0x24($sp) +/* 1AB344 8027CA64 8FB00020 */ lw $s0, 0x20($sp) +/* 1AB348 8027CA68 24020002 */ addiu $v0, $zero, 2 +/* 1AB34C 8027CA6C 03E00008 */ jr $ra +/* 1AB350 8027CA70 27BD0038 */ addiu $sp, $sp, 0x38 + +SetDefenseTable: +/* 1AB354 8027CA74 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 1AB358 8027CA78 AFB10014 */ sw $s1, 0x14($sp) +/* 1AB35C 8027CA7C 0080882D */ daddu $s1, $a0, $zero +/* 1AB360 8027CA80 AFBF001C */ sw $ra, 0x1c($sp) +/* 1AB364 8027CA84 AFB20018 */ sw $s2, 0x18($sp) +/* 1AB368 8027CA88 AFB00010 */ sw $s0, 0x10($sp) +/* 1AB36C 8027CA8C 8E30000C */ lw $s0, 0xc($s1) +/* 1AB370 8027CA90 8E050000 */ lw $a1, ($s0) +/* 1AB374 8027CA94 0C0B1EAF */ jal get_variable +/* 1AB378 8027CA98 26100004 */ addiu $s0, $s0, 4 +/* 1AB37C 8027CA9C 0040902D */ daddu $s2, $v0, $zero +/* 1AB380 8027CAA0 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1AB384 8027CAA4 16420002 */ bne $s2, $v0, .L8027CAB0 +/* 1AB388 8027CAA8 00000000 */ nop +/* 1AB38C 8027CAAC 8E320148 */ lw $s2, 0x148($s1) +.L8027CAB0: +/* 1AB390 8027CAB0 8E050000 */ lw $a1, ($s0) +/* 1AB394 8027CAB4 26100004 */ addiu $s0, $s0, 4 +/* 1AB398 8027CAB8 0C0B1EAF */ jal get_variable +/* 1AB39C 8027CABC 0220202D */ daddu $a0, $s1, $zero +/* 1AB3A0 8027CAC0 0220202D */ daddu $a0, $s1, $zero +/* 1AB3A4 8027CAC4 8E050000 */ lw $a1, ($s0) +/* 1AB3A8 8027CAC8 0C0B1EAF */ jal get_variable +/* 1AB3AC 8027CACC 0040882D */ daddu $s1, $v0, $zero +/* 1AB3B0 8027CAD0 0240202D */ daddu $a0, $s2, $zero +/* 1AB3B4 8027CAD4 0C09A75B */ jal get_actor +/* 1AB3B8 8027CAD8 0040802D */ daddu $s0, $v0, $zero +/* 1AB3BC 8027CADC 0040202D */ daddu $a0, $v0, $zero +/* 1AB3C0 8027CAE0 0C099117 */ jal get_actor_part +/* 1AB3C4 8027CAE4 0220282D */ daddu $a1, $s1, $zero +/* 1AB3C8 8027CAE8 AC500078 */ sw $s0, 0x78($v0) +/* 1AB3CC 8027CAEC 8FBF001C */ lw $ra, 0x1c($sp) +/* 1AB3D0 8027CAF0 8FB20018 */ lw $s2, 0x18($sp) +/* 1AB3D4 8027CAF4 8FB10014 */ lw $s1, 0x14($sp) +/* 1AB3D8 8027CAF8 8FB00010 */ lw $s0, 0x10($sp) +/* 1AB3DC 8027CAFC 24020002 */ addiu $v0, $zero, 2 +/* 1AB3E0 8027CB00 03E00008 */ jr $ra +/* 1AB3E4 8027CB04 27BD0020 */ addiu $sp, $sp, 0x20 + +SetStatusTable: +/* 1AB3E8 8027CB08 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 1AB3EC 8027CB0C AFB20018 */ sw $s2, 0x18($sp) +/* 1AB3F0 8027CB10 0080902D */ daddu $s2, $a0, $zero +/* 1AB3F4 8027CB14 AFBF001C */ sw $ra, 0x1c($sp) +/* 1AB3F8 8027CB18 AFB10014 */ sw $s1, 0x14($sp) +/* 1AB3FC 8027CB1C AFB00010 */ sw $s0, 0x10($sp) +/* 1AB400 8027CB20 8E51000C */ lw $s1, 0xc($s2) +/* 1AB404 8027CB24 8E250000 */ lw $a1, ($s1) +/* 1AB408 8027CB28 0C0B1EAF */ jal get_variable +/* 1AB40C 8027CB2C 26310004 */ addiu $s1, $s1, 4 +/* 1AB410 8027CB30 0040802D */ daddu $s0, $v0, $zero +/* 1AB414 8027CB34 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1AB418 8027CB38 16020002 */ bne $s0, $v0, .L8027CB44 +/* 1AB41C 8027CB3C 00000000 */ nop +/* 1AB420 8027CB40 8E500148 */ lw $s0, 0x148($s2) +.L8027CB44: +/* 1AB424 8027CB44 8E250000 */ lw $a1, ($s1) +/* 1AB428 8027CB48 0C0B1EAF */ jal get_variable +/* 1AB42C 8027CB4C 0240202D */ daddu $a0, $s2, $zero +/* 1AB430 8027CB50 0200202D */ daddu $a0, $s0, $zero +/* 1AB434 8027CB54 0C09A75B */ jal get_actor +/* 1AB438 8027CB58 0040802D */ daddu $s0, $v0, $zero +/* 1AB43C 8027CB5C AC50020C */ sw $s0, 0x20c($v0) +/* 1AB440 8027CB60 8FBF001C */ lw $ra, 0x1c($sp) +/* 1AB444 8027CB64 8FB20018 */ lw $s2, 0x18($sp) +/* 1AB448 8027CB68 8FB10014 */ lw $s1, 0x14($sp) +/* 1AB44C 8027CB6C 8FB00010 */ lw $s0, 0x10($sp) +/* 1AB450 8027CB70 24020002 */ addiu $v0, $zero, 2 +/* 1AB454 8027CB74 03E00008 */ jr $ra +/* 1AB458 8027CB78 27BD0020 */ addiu $sp, $sp, 0x20 + +SetIdleAnimations: +/* 1AB45C 8027CB7C 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 1AB460 8027CB80 AFB10014 */ sw $s1, 0x14($sp) +/* 1AB464 8027CB84 0080882D */ daddu $s1, $a0, $zero +/* 1AB468 8027CB88 AFBF001C */ sw $ra, 0x1c($sp) +/* 1AB46C 8027CB8C AFB20018 */ sw $s2, 0x18($sp) +/* 1AB470 8027CB90 AFB00010 */ sw $s0, 0x10($sp) +/* 1AB474 8027CB94 8E30000C */ lw $s0, 0xc($s1) +/* 1AB478 8027CB98 8E050000 */ lw $a1, ($s0) +/* 1AB47C 8027CB9C 0C0B1EAF */ jal get_variable +/* 1AB480 8027CBA0 26100004 */ addiu $s0, $s0, 4 +/* 1AB484 8027CBA4 0040902D */ daddu $s2, $v0, $zero +/* 1AB488 8027CBA8 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1AB48C 8027CBAC 16420002 */ bne $s2, $v0, .L8027CBB8 +/* 1AB490 8027CBB0 00000000 */ nop +/* 1AB494 8027CBB4 8E320148 */ lw $s2, 0x148($s1) +.L8027CBB8: +/* 1AB498 8027CBB8 8E050000 */ lw $a1, ($s0) +/* 1AB49C 8027CBBC 26100004 */ addiu $s0, $s0, 4 +/* 1AB4A0 8027CBC0 0C0B1EAF */ jal get_variable +/* 1AB4A4 8027CBC4 0220202D */ daddu $a0, $s1, $zero +/* 1AB4A8 8027CBC8 0220202D */ daddu $a0, $s1, $zero +/* 1AB4AC 8027CBCC 8E050000 */ lw $a1, ($s0) +/* 1AB4B0 8027CBD0 0C0B1EAF */ jal get_variable +/* 1AB4B4 8027CBD4 0040882D */ daddu $s1, $v0, $zero +/* 1AB4B8 8027CBD8 0240202D */ daddu $a0, $s2, $zero +/* 1AB4BC 8027CBDC 0C09A75B */ jal get_actor +/* 1AB4C0 8027CBE0 0040802D */ daddu $s0, $v0, $zero +/* 1AB4C4 8027CBE4 0040202D */ daddu $a0, $v0, $zero +/* 1AB4C8 8027CBE8 0C099117 */ jal get_actor_part +/* 1AB4CC 8027CBEC 0220282D */ daddu $a1, $s1, $zero +/* 1AB4D0 8027CBF0 AC500094 */ sw $s0, 0x94($v0) +/* 1AB4D4 8027CBF4 8FBF001C */ lw $ra, 0x1c($sp) +/* 1AB4D8 8027CBF8 8FB20018 */ lw $s2, 0x18($sp) +/* 1AB4DC 8027CBFC 8FB10014 */ lw $s1, 0x14($sp) +/* 1AB4E0 8027CC00 8FB00010 */ lw $s0, 0x10($sp) +/* 1AB4E4 8027CC04 24020002 */ addiu $v0, $zero, 2 +/* 1AB4E8 8027CC08 03E00008 */ jr $ra +/* 1AB4EC 8027CC0C 27BD0020 */ addiu $sp, $sp, 0x20 + +/* 1AB4F0 8027CC10 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 1AB4F4 8027CC14 AFB3001C */ sw $s3, 0x1c($sp) +/* 1AB4F8 8027CC18 0080982D */ daddu $s3, $a0, $zero +/* 1AB4FC 8027CC1C AFBF0020 */ sw $ra, 0x20($sp) +/* 1AB500 8027CC20 AFB20018 */ sw $s2, 0x18($sp) +/* 1AB504 8027CC24 AFB10014 */ sw $s1, 0x14($sp) +/* 1AB508 8027CC28 AFB00010 */ sw $s0, 0x10($sp) +/* 1AB50C 8027CC2C 8E71000C */ lw $s1, 0xc($s3) +/* 1AB510 8027CC30 8E250000 */ lw $a1, ($s1) +/* 1AB514 8027CC34 0C0B1EAF */ jal get_variable +/* 1AB518 8027CC38 26310004 */ addiu $s1, $s1, 4 +/* 1AB51C 8027CC3C 0040902D */ daddu $s2, $v0, $zero +/* 1AB520 8027CC40 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1AB524 8027CC44 16420002 */ bne $s2, $v0, .L8027CC50 +/* 1AB528 8027CC48 00000000 */ nop +/* 1AB52C 8027CC4C 8E720148 */ lw $s2, 0x148($s3) +.L8027CC50: +/* 1AB530 8027CC50 8E250000 */ lw $a1, ($s1) +/* 1AB534 8027CC54 26310004 */ addiu $s1, $s1, 4 +/* 1AB538 8027CC58 0C0B1EAF */ jal get_variable +/* 1AB53C 8027CC5C 0260202D */ daddu $a0, $s3, $zero +/* 1AB540 8027CC60 8E250000 */ lw $a1, ($s1) +/* 1AB544 8027CC64 26310004 */ addiu $s1, $s1, 4 +/* 1AB548 8027CC68 0260202D */ daddu $a0, $s3, $zero +/* 1AB54C 8027CC6C 0C0B1EAF */ jal get_variable +/* 1AB550 8027CC70 0040802D */ daddu $s0, $v0, $zero +/* 1AB554 8027CC74 8E250000 */ lw $a1, ($s1) +/* 1AB558 8027CC78 0C0B1EAF */ jal get_variable +/* 1AB55C 8027CC7C 0260202D */ daddu $a0, $s3, $zero +/* 1AB560 8027CC80 0C09A75B */ jal get_actor +/* 1AB564 8027CC84 0240202D */ daddu $a0, $s2, $zero +/* 1AB568 8027CC88 0040202D */ daddu $a0, $v0, $zero +/* 1AB56C 8027CC8C 0C099117 */ jal get_actor_part +/* 1AB570 8027CC90 0200282D */ daddu $a1, $s0, $zero +/* 1AB574 8027CC94 8FBF0020 */ lw $ra, 0x20($sp) +/* 1AB578 8027CC98 8FB3001C */ lw $s3, 0x1c($sp) +/* 1AB57C 8027CC9C 8FB20018 */ lw $s2, 0x18($sp) +/* 1AB580 8027CCA0 8FB10014 */ lw $s1, 0x14($sp) +/* 1AB584 8027CCA4 8FB00010 */ lw $s0, 0x10($sp) +/* 1AB588 8027CCA8 24020002 */ addiu $v0, $zero, 2 +/* 1AB58C 8027CCAC 03E00008 */ jr $ra +/* 1AB590 8027CCB0 27BD0028 */ addiu $sp, $sp, 0x28 + +EnemyDamageTarget: +/* 1AB594 8027CCB4 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 1AB598 8027CCB8 AFB3001C */ sw $s3, 0x1c($sp) +/* 1AB59C 8027CCBC 0080982D */ daddu $s3, $a0, $zero +/* 1AB5A0 8027CCC0 AFBF0024 */ sw $ra, 0x24($sp) +/* 1AB5A4 8027CCC4 AFB40020 */ sw $s4, 0x20($sp) +/* 1AB5A8 8027CCC8 AFB20018 */ sw $s2, 0x18($sp) +/* 1AB5AC 8027CCCC AFB10014 */ sw $s1, 0x14($sp) +/* 1AB5B0 8027CCD0 AFB00010 */ sw $s0, 0x10($sp) +/* 1AB5B4 8027CCD4 8E70000C */ lw $s0, 0xc($s3) +/* 1AB5B8 8027CCD8 8E050000 */ lw $a1, ($s0) +/* 1AB5BC 8027CCDC 0C0B1EAF */ jal get_variable +/* 1AB5C0 8027CCE0 26100004 */ addiu $s0, $s0, 4 +/* 1AB5C4 8027CCE4 0040202D */ daddu $a0, $v0, $zero +/* 1AB5C8 8027CCE8 3C11800E */ lui $s1, 0x800e +/* 1AB5CC 8027CCEC 2631C070 */ addiu $s1, $s1, -0x3f90 +/* 1AB5D0 8027CCF0 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1AB5D4 8027CCF4 14820002 */ bne $a0, $v0, .L8027CD00 +/* 1AB5D8 8027CCF8 00000000 */ nop +/* 1AB5DC 8027CCFC 8E640148 */ lw $a0, 0x148($s3) +.L8027CD00: +/* 1AB5E0 8027CD00 0C09A75B */ jal get_actor +/* 1AB5E4 8027CD04 00000000 */ nop +/* 1AB5E8 8027CD08 8E140000 */ lw $s4, ($s0) +/* 1AB5EC 8027CD0C 26100004 */ addiu $s0, $s0, 4 +/* 1AB5F0 8027CD10 8E030000 */ lw $v1, ($s0) +/* 1AB5F4 8027CD14 26100004 */ addiu $s0, $s0, 4 +/* 1AB5F8 8027CD18 0260202D */ daddu $a0, $s3, $zero +/* 1AB5FC 8027CD1C 0040902D */ daddu $s2, $v0, $zero +/* 1AB600 8027CD20 AE230188 */ sw $v1, 0x188($s1) +/* 1AB604 8027CD24 8E030000 */ lw $v1, ($s0) +/* 1AB608 8027CD28 26100004 */ addiu $s0, $s0, 4 +/* 1AB60C 8027CD2C AE23018C */ sw $v1, 0x18c($s1) +/* 1AB610 8027CD30 8E030000 */ lw $v1, ($s0) +/* 1AB614 8027CD34 26100004 */ addiu $s0, $s0, 4 +/* 1AB618 8027CD38 AE230190 */ sw $v1, 0x190($s1) +/* 1AB61C 8027CD3C 8E050000 */ lw $a1, ($s0) +/* 1AB620 8027CD40 0C0B1EAF */ jal get_variable +/* 1AB624 8027CD44 26100004 */ addiu $s0, $s0, 4 +/* 1AB628 8027CD48 A622017E */ sh $v0, 0x17e($s1) +/* 1AB62C 8027CD4C 8E050000 */ lw $a1, ($s0) +/* 1AB630 8027CD50 30A20010 */ andi $v0, $a1, 0x10 +/* 1AB634 8027CD54 10400004 */ beqz $v0, .L8027CD68 +/* 1AB638 8027CD58 2403FFDF */ addiu $v1, $zero, -0x21 +/* 1AB63C 8027CD5C 8E220000 */ lw $v0, ($s1) +/* 1AB640 8027CD60 0809F364 */ j func_8027CD90 +/* 1AB644 8027CD64 34420010 */ ori $v0, $v0, 0x10 + +.L8027CD68: +/* 1AB648 8027CD68 30A20020 */ andi $v0, $a1, 0x20 +/* 1AB64C 8027CD6C 10400005 */ beqz $v0, .L8027CD84 +/* 1AB650 8027CD70 2403FFEF */ addiu $v1, $zero, -0x11 +/* 1AB654 8027CD74 8E220000 */ lw $v0, ($s1) +/* 1AB658 8027CD78 00431024 */ and $v0, $v0, $v1 +/* 1AB65C 8027CD7C 0809F365 */ j func_8027CD94 +/* 1AB660 8027CD80 34420020 */ ori $v0, $v0, 0x20 + +.L8027CD84: +/* 1AB664 8027CD84 8E220000 */ lw $v0, ($s1) +/* 1AB668 8027CD88 00431024 */ and $v0, $v0, $v1 +/* 1AB66C 8027CD8C 2403FFDF */ addiu $v1, $zero, -0x21 +func_8027CD90: +/* 1AB670 8027CD90 00431024 */ and $v0, $v0, $v1 +func_8027CD94: +/* 1AB674 8027CD94 AE220000 */ sw $v0, ($s1) +/* 1AB678 8027CD98 30A20040 */ andi $v0, $a1, 0x40 +/* 1AB67C 8027CD9C 10400007 */ beqz $v0, .L8027CDBC +/* 1AB680 8027CDA0 2404FFBF */ addiu $a0, $zero, -0x41 +/* 1AB684 8027CDA4 3C03800E */ lui $v1, 0x800e +/* 1AB688 8027CDA8 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 1AB68C 8027CDAC 8C620000 */ lw $v0, ($v1) +/* 1AB690 8027CDB0 34420040 */ ori $v0, $v0, 0x40 +/* 1AB694 8027CDB4 0809F374 */ j func_8027CDD0 +/* 1AB698 8027CDB8 AC620000 */ sw $v0, ($v1) + +.L8027CDBC: +/* 1AB69C 8027CDBC 3C02800E */ lui $v0, 0x800e +/* 1AB6A0 8027CDC0 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 1AB6A4 8027CDC4 8C430000 */ lw $v1, ($v0) +/* 1AB6A8 8027CDC8 00641824 */ and $v1, $v1, $a0 +/* 1AB6AC 8027CDCC AC430000 */ sw $v1, ($v0) +func_8027CDD0: +/* 1AB6B0 8027CDD0 30A20200 */ andi $v0, $a1, 0x200 +/* 1AB6B4 8027CDD4 10400007 */ beqz $v0, .L8027CDF4 +/* 1AB6B8 8027CDD8 2404FDFF */ addiu $a0, $zero, -0x201 +/* 1AB6BC 8027CDDC 3C03800E */ lui $v1, 0x800e +/* 1AB6C0 8027CDE0 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 1AB6C4 8027CDE4 8C620000 */ lw $v0, ($v1) +/* 1AB6C8 8027CDE8 34420200 */ ori $v0, $v0, 0x200 +/* 1AB6CC 8027CDEC 0809F382 */ j func_8027CE08 +/* 1AB6D0 8027CDF0 AC620000 */ sw $v0, ($v1) + +.L8027CDF4: +/* 1AB6D4 8027CDF4 3C02800E */ lui $v0, 0x800e +/* 1AB6D8 8027CDF8 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 1AB6DC 8027CDFC 8C430000 */ lw $v1, ($v0) +/* 1AB6E0 8027CE00 00641824 */ and $v1, $v1, $a0 +/* 1AB6E4 8027CE04 AC430000 */ sw $v1, ($v0) +func_8027CE08: +/* 1AB6E8 8027CE08 30A20080 */ andi $v0, $a1, 0x80 +/* 1AB6EC 8027CE0C 10400007 */ beqz $v0, .L8027CE2C +/* 1AB6F0 8027CE10 2404FF7F */ addiu $a0, $zero, -0x81 +/* 1AB6F4 8027CE14 3C03800E */ lui $v1, 0x800e +/* 1AB6F8 8027CE18 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 1AB6FC 8027CE1C 8C620000 */ lw $v0, ($v1) +/* 1AB700 8027CE20 34420080 */ ori $v0, $v0, 0x80 +/* 1AB704 8027CE24 0809F390 */ j func_8027CE40 +/* 1AB708 8027CE28 AC620000 */ sw $v0, ($v1) + +.L8027CE2C: +/* 1AB70C 8027CE2C 3C02800E */ lui $v0, 0x800e +/* 1AB710 8027CE30 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 1AB714 8027CE34 8C430000 */ lw $v1, ($v0) +/* 1AB718 8027CE38 00641824 */ and $v1, $v1, $a0 +/* 1AB71C 8027CE3C AC430000 */ sw $v1, ($v0) +func_8027CE40: +/* 1AB720 8027CE40 96420428 */ lhu $v0, 0x428($s2) +/* 1AB724 8027CE44 92230193 */ lbu $v1, 0x193($s1) +/* 1AB728 8027CE48 A62201A0 */ sh $v0, 0x1a0($s1) +/* 1AB72C 8027CE4C 92420426 */ lbu $v0, 0x426($s2) +/* 1AB730 8027CE50 A2230194 */ sb $v1, 0x194($s1) +/* 1AB734 8027CE54 306300FF */ andi $v1, $v1, 0xff +/* 1AB738 8027CE58 A22201A2 */ sb $v0, 0x1a2($s1) +/* 1AB73C 8027CE5C 240200FF */ addiu $v0, $zero, 0xff +/* 1AB740 8027CE60 50620001 */ beql $v1, $v0, .L8027CE68 +/* 1AB744 8027CE64 A2200194 */ sb $zero, 0x194($s1) +.L8027CE68: +/* 1AB748 8027CE68 8E220190 */ lw $v0, 0x190($s1) +/* 1AB74C 8027CE6C 0240202D */ daddu $a0, $s2, $zero +/* 1AB750 8027CE70 30420F00 */ andi $v0, $v0, 0xf00 +/* 1AB754 8027CE74 00021203 */ sra $v0, $v0, 8 +/* 1AB758 8027CE78 0C09DD0B */ jal calc_enemy_damage_target +/* 1AB75C 8027CE7C A2220195 */ sb $v0, 0x195($s1) +/* 1AB760 8027CE80 0440000B */ bltz $v0, .L8027CEB0 +/* 1AB764 8027CE84 0260202D */ daddu $a0, $s3, $zero +/* 1AB768 8027CE88 0280282D */ daddu $a1, $s4, $zero +/* 1AB76C 8027CE8C 0C0B2026 */ jal set_variable +/* 1AB770 8027CE90 0040302D */ daddu $a2, $v0, $zero +/* 1AB774 8027CE94 0C0B1069 */ jal does_script_exist_by_ref +/* 1AB778 8027CE98 0260202D */ daddu $a0, $s3, $zero +/* 1AB77C 8027CE9C 0040182D */ daddu $v1, $v0, $zero +/* 1AB780 8027CEA0 10600004 */ beqz $v1, .L8027CEB4 +/* 1AB784 8027CEA4 240200FF */ addiu $v0, $zero, 0xff +/* 1AB788 8027CEA8 0809F3AD */ j func_8027CEB4 +/* 1AB78C 8027CEAC 24020002 */ addiu $v0, $zero, 2 + +.L8027CEB0: +/* 1AB790 8027CEB0 240200FF */ addiu $v0, $zero, 0xff +func_8027CEB4: +.L8027CEB4: +/* 1AB794 8027CEB4 8FBF0024 */ lw $ra, 0x24($sp) +/* 1AB798 8027CEB8 8FB40020 */ lw $s4, 0x20($sp) +/* 1AB79C 8027CEBC 8FB3001C */ lw $s3, 0x1c($sp) +/* 1AB7A0 8027CEC0 8FB20018 */ lw $s2, 0x18($sp) +/* 1AB7A4 8027CEC4 8FB10014 */ lw $s1, 0x14($sp) +/* 1AB7A8 8027CEC8 8FB00010 */ lw $s0, 0x10($sp) +/* 1AB7AC 8027CECC 03E00008 */ jr $ra +/* 1AB7B0 8027CED0 27BD0028 */ addiu $sp, $sp, 0x28 + +EnemyFollowupAfflictTarget: +/* 1AB7B4 8027CED4 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 1AB7B8 8027CED8 AFB20018 */ sw $s2, 0x18($sp) +/* 1AB7BC 8027CEDC 0080902D */ daddu $s2, $a0, $zero +/* 1AB7C0 8027CEE0 AFBF0020 */ sw $ra, 0x20($sp) +/* 1AB7C4 8027CEE4 AFB3001C */ sw $s3, 0x1c($sp) +/* 1AB7C8 8027CEE8 AFB10014 */ sw $s1, 0x14($sp) +/* 1AB7CC 8027CEEC AFB00010 */ sw $s0, 0x10($sp) +/* 1AB7D0 8027CEF0 8E50000C */ lw $s0, 0xc($s2) +/* 1AB7D4 8027CEF4 8E050000 */ lw $a1, ($s0) +/* 1AB7D8 8027CEF8 0C0B1EAF */ jal get_variable +/* 1AB7DC 8027CEFC 26100004 */ addiu $s0, $s0, 4 +/* 1AB7E0 8027CF00 0040202D */ daddu $a0, $v0, $zero +/* 1AB7E4 8027CF04 3C11800E */ lui $s1, 0x800e +/* 1AB7E8 8027CF08 2631C070 */ addiu $s1, $s1, -0x3f90 +/* 1AB7EC 8027CF0C 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1AB7F0 8027CF10 14820002 */ bne $a0, $v0, .L8027CF1C +/* 1AB7F4 8027CF14 0220982D */ daddu $s3, $s1, $zero +/* 1AB7F8 8027CF18 8E440148 */ lw $a0, 0x148($s2) +.L8027CF1C: +/* 1AB7FC 8027CF1C 0C09A75B */ jal get_actor +/* 1AB800 8027CF20 00000000 */ nop +/* 1AB804 8027CF24 0040202D */ daddu $a0, $v0, $zero +/* 1AB808 8027CF28 94820428 */ lhu $v0, 0x428($a0) +/* 1AB80C 8027CF2C 8E100000 */ lw $s0, ($s0) +/* 1AB810 8027CF30 92230193 */ lbu $v1, 0x193($s1) +/* 1AB814 8027CF34 A62201A0 */ sh $v0, 0x1a0($s1) +/* 1AB818 8027CF38 90820426 */ lbu $v0, 0x426($a0) +/* 1AB81C 8027CF3C A2230194 */ sb $v1, 0x194($s1) +/* 1AB820 8027CF40 306300FF */ andi $v1, $v1, 0xff +/* 1AB824 8027CF44 A22201A2 */ sb $v0, 0x1a2($s1) +/* 1AB828 8027CF48 240200FF */ addiu $v0, $zero, 0xff +/* 1AB82C 8027CF4C 50620001 */ beql $v1, $v0, .L8027CF54 +/* 1AB830 8027CF50 A2200194 */ sb $zero, 0x194($s1) +.L8027CF54: +/* 1AB834 8027CF54 8E620190 */ lw $v0, 0x190($s3) +/* 1AB838 8027CF58 30420F00 */ andi $v0, $v0, 0xf00 +/* 1AB83C 8027CF5C 00021203 */ sra $v0, $v0, 8 +/* 1AB840 8027CF60 0C09DD0B */ jal calc_enemy_damage_target +/* 1AB844 8027CF64 A2620195 */ sb $v0, 0x195($s3) +/* 1AB848 8027CF68 0440000B */ bltz $v0, .L8027CF98 +/* 1AB84C 8027CF6C 0240202D */ daddu $a0, $s2, $zero +/* 1AB850 8027CF70 0200282D */ daddu $a1, $s0, $zero +/* 1AB854 8027CF74 0C0B2026 */ jal set_variable +/* 1AB858 8027CF78 0040302D */ daddu $a2, $v0, $zero +/* 1AB85C 8027CF7C 0C0B1069 */ jal does_script_exist_by_ref +/* 1AB860 8027CF80 0240202D */ daddu $a0, $s2, $zero +/* 1AB864 8027CF84 0040182D */ daddu $v1, $v0, $zero +/* 1AB868 8027CF88 10600004 */ beqz $v1, .L8027CF9C +/* 1AB86C 8027CF8C 240200FF */ addiu $v0, $zero, 0xff +/* 1AB870 8027CF90 0809F3E7 */ j func_8027CF9C +/* 1AB874 8027CF94 24020002 */ addiu $v0, $zero, 2 + +.L8027CF98: +/* 1AB878 8027CF98 240200FF */ addiu $v0, $zero, 0xff +func_8027CF9C: +.L8027CF9C: +/* 1AB87C 8027CF9C 8FBF0020 */ lw $ra, 0x20($sp) +/* 1AB880 8027CFA0 8FB3001C */ lw $s3, 0x1c($sp) +/* 1AB884 8027CFA4 8FB20018 */ lw $s2, 0x18($sp) +/* 1AB888 8027CFA8 8FB10014 */ lw $s1, 0x14($sp) +/* 1AB88C 8027CFAC 8FB00010 */ lw $s0, 0x10($sp) +/* 1AB890 8027CFB0 03E00008 */ jr $ra +/* 1AB894 8027CFB4 27BD0028 */ addiu $sp, $sp, 0x28 + +EnemyTestTarget: +/* 1AB898 8027CFB8 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 1AB89C 8027CFBC AFB3001C */ sw $s3, 0x1c($sp) +/* 1AB8A0 8027CFC0 0080982D */ daddu $s3, $a0, $zero +/* 1AB8A4 8027CFC4 AFBF0024 */ sw $ra, 0x24($sp) +/* 1AB8A8 8027CFC8 AFB40020 */ sw $s4, 0x20($sp) +/* 1AB8AC 8027CFCC AFB20018 */ sw $s2, 0x18($sp) +/* 1AB8B0 8027CFD0 AFB10014 */ sw $s1, 0x14($sp) +/* 1AB8B4 8027CFD4 AFB00010 */ sw $s0, 0x10($sp) +/* 1AB8B8 8027CFD8 8E70000C */ lw $s0, 0xc($s3) +/* 1AB8BC 8027CFDC 8E050000 */ lw $a1, ($s0) +/* 1AB8C0 8027CFE0 0C0B1EAF */ jal get_variable +/* 1AB8C4 8027CFE4 26100004 */ addiu $s0, $s0, 4 +/* 1AB8C8 8027CFE8 0040202D */ daddu $a0, $v0, $zero +/* 1AB8CC 8027CFEC 3C11800E */ lui $s1, 0x800e +/* 1AB8D0 8027CFF0 2631C070 */ addiu $s1, $s1, -0x3f90 +/* 1AB8D4 8027CFF4 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1AB8D8 8027CFF8 14820002 */ bne $a0, $v0, .L8027D004 +/* 1AB8DC 8027CFFC 00000000 */ nop +/* 1AB8E0 8027D000 8E640148 */ lw $a0, 0x148($s3) +.L8027D004: +/* 1AB8E4 8027D004 0C09A75B */ jal get_actor +/* 1AB8E8 8027D008 00000000 */ nop +/* 1AB8EC 8027D00C 8E140000 */ lw $s4, ($s0) +/* 1AB8F0 8027D010 26100004 */ addiu $s0, $s0, 4 +/* 1AB8F4 8027D014 8E030000 */ lw $v1, ($s0) +/* 1AB8F8 8027D018 26100004 */ addiu $s0, $s0, 4 +/* 1AB8FC 8027D01C 0260202D */ daddu $a0, $s3, $zero +/* 1AB900 8027D020 0040902D */ daddu $s2, $v0, $zero +/* 1AB904 8027D024 AE20018C */ sw $zero, 0x18c($s1) +/* 1AB908 8027D028 AE230188 */ sw $v1, 0x188($s1) +/* 1AB90C 8027D02C 8E030000 */ lw $v1, ($s0) +/* 1AB910 8027D030 26100004 */ addiu $s0, $s0, 4 +/* 1AB914 8027D034 AE230190 */ sw $v1, 0x190($s1) +/* 1AB918 8027D038 8E050000 */ lw $a1, ($s0) +/* 1AB91C 8027D03C 0C0B1EAF */ jal get_variable +/* 1AB920 8027D040 26100004 */ addiu $s0, $s0, 4 +/* 1AB924 8027D044 A622017E */ sh $v0, 0x17e($s1) +/* 1AB928 8027D048 8E050000 */ lw $a1, ($s0) +/* 1AB92C 8027D04C 30A20010 */ andi $v0, $a1, 0x10 +/* 1AB930 8027D050 10400004 */ beqz $v0, .L8027D064 +/* 1AB934 8027D054 2403FFDF */ addiu $v1, $zero, -0x21 +/* 1AB938 8027D058 8E220000 */ lw $v0, ($s1) +/* 1AB93C 8027D05C 0809F423 */ j func_8027D08C +/* 1AB940 8027D060 34420010 */ ori $v0, $v0, 0x10 + +.L8027D064: +/* 1AB944 8027D064 30A20020 */ andi $v0, $a1, 0x20 +/* 1AB948 8027D068 10400005 */ beqz $v0, .L8027D080 +/* 1AB94C 8027D06C 2403FFEF */ addiu $v1, $zero, -0x11 +/* 1AB950 8027D070 8E220000 */ lw $v0, ($s1) +/* 1AB954 8027D074 00431024 */ and $v0, $v0, $v1 +/* 1AB958 8027D078 0809F424 */ j func_8027D090 +/* 1AB95C 8027D07C 34420020 */ ori $v0, $v0, 0x20 + +.L8027D080: +/* 1AB960 8027D080 8E220000 */ lw $v0, ($s1) +/* 1AB964 8027D084 00431024 */ and $v0, $v0, $v1 +/* 1AB968 8027D088 2403FFDF */ addiu $v1, $zero, -0x21 +func_8027D08C: +/* 1AB96C 8027D08C 00431024 */ and $v0, $v0, $v1 +func_8027D090: +/* 1AB970 8027D090 AE220000 */ sw $v0, ($s1) +/* 1AB974 8027D094 30A20040 */ andi $v0, $a1, 0x40 +/* 1AB978 8027D098 10400007 */ beqz $v0, .L8027D0B8 +/* 1AB97C 8027D09C 2404FFBF */ addiu $a0, $zero, -0x41 +/* 1AB980 8027D0A0 3C03800E */ lui $v1, 0x800e +/* 1AB984 8027D0A4 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 1AB988 8027D0A8 8C620000 */ lw $v0, ($v1) +/* 1AB98C 8027D0AC 34420040 */ ori $v0, $v0, 0x40 +/* 1AB990 8027D0B0 0809F433 */ j func_8027D0CC +/* 1AB994 8027D0B4 AC620000 */ sw $v0, ($v1) + +.L8027D0B8: +/* 1AB998 8027D0B8 3C02800E */ lui $v0, 0x800e +/* 1AB99C 8027D0BC 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 1AB9A0 8027D0C0 8C430000 */ lw $v1, ($v0) +/* 1AB9A4 8027D0C4 00641824 */ and $v1, $v1, $a0 +/* 1AB9A8 8027D0C8 AC430000 */ sw $v1, ($v0) +func_8027D0CC: +/* 1AB9AC 8027D0CC 30A20200 */ andi $v0, $a1, 0x200 +/* 1AB9B0 8027D0D0 10400007 */ beqz $v0, .L8027D0F0 +/* 1AB9B4 8027D0D4 2404FDFF */ addiu $a0, $zero, -0x201 +/* 1AB9B8 8027D0D8 3C03800E */ lui $v1, 0x800e +/* 1AB9BC 8027D0DC 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 1AB9C0 8027D0E0 8C620000 */ lw $v0, ($v1) +/* 1AB9C4 8027D0E4 34420200 */ ori $v0, $v0, 0x200 +/* 1AB9C8 8027D0E8 0809F441 */ j func_8027D104 +/* 1AB9CC 8027D0EC AC620000 */ sw $v0, ($v1) + +.L8027D0F0: +/* 1AB9D0 8027D0F0 3C02800E */ lui $v0, 0x800e +/* 1AB9D4 8027D0F4 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 1AB9D8 8027D0F8 8C430000 */ lw $v1, ($v0) +/* 1AB9DC 8027D0FC 00641824 */ and $v1, $v1, $a0 +/* 1AB9E0 8027D100 AC430000 */ sw $v1, ($v0) +func_8027D104: +/* 1AB9E4 8027D104 30A20080 */ andi $v0, $a1, 0x80 +/* 1AB9E8 8027D108 10400007 */ beqz $v0, .L8027D128 +/* 1AB9EC 8027D10C 2404FF7F */ addiu $a0, $zero, -0x81 +/* 1AB9F0 8027D110 3C03800E */ lui $v1, 0x800e +/* 1AB9F4 8027D114 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 1AB9F8 8027D118 8C620000 */ lw $v0, ($v1) +/* 1AB9FC 8027D11C 34420080 */ ori $v0, $v0, 0x80 +/* 1ABA00 8027D120 0809F44F */ j func_8027D13C +/* 1ABA04 8027D124 AC620000 */ sw $v0, ($v1) + +.L8027D128: +/* 1ABA08 8027D128 3C02800E */ lui $v0, 0x800e +/* 1ABA0C 8027D12C 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 1ABA10 8027D130 8C430000 */ lw $v1, ($v0) +/* 1ABA14 8027D134 00641824 */ and $v1, $v1, $a0 +/* 1ABA18 8027D138 AC430000 */ sw $v1, ($v0) +func_8027D13C: +/* 1ABA1C 8027D13C 96420428 */ lhu $v0, 0x428($s2) +/* 1ABA20 8027D140 92230193 */ lbu $v1, 0x193($s1) +/* 1ABA24 8027D144 A62201A0 */ sh $v0, 0x1a0($s1) +/* 1ABA28 8027D148 92420426 */ lbu $v0, 0x426($s2) +/* 1ABA2C 8027D14C A2230194 */ sb $v1, 0x194($s1) +/* 1ABA30 8027D150 306300FF */ andi $v1, $v1, 0xff +/* 1ABA34 8027D154 A22201A2 */ sb $v0, 0x1a2($s1) +/* 1ABA38 8027D158 240200FF */ addiu $v0, $zero, 0xff +/* 1ABA3C 8027D15C 50620001 */ beql $v1, $v0, .L8027D164 +/* 1ABA40 8027D160 A2200194 */ sb $zero, 0x194($s1) +.L8027D164: +/* 1ABA44 8027D164 8E220190 */ lw $v0, 0x190($s1) +/* 1ABA48 8027D168 0240202D */ daddu $a0, $s2, $zero +/* 1ABA4C 8027D16C 30420F00 */ andi $v0, $v0, 0xf00 +/* 1ABA50 8027D170 00021203 */ sra $v0, $v0, 8 +/* 1ABA54 8027D174 0C09DC7E */ jal calc_enemy_test_target +/* 1ABA58 8027D178 A2220195 */ sb $v0, 0x195($s1) +/* 1ABA5C 8027D17C 04400006 */ bltz $v0, .L8027D198 +/* 1ABA60 8027D180 0260202D */ daddu $a0, $s3, $zero +/* 1ABA64 8027D184 0280282D */ daddu $a1, $s4, $zero +/* 1ABA68 8027D188 0C0B2026 */ jal set_variable +/* 1ABA6C 8027D18C 0040302D */ daddu $a2, $v0, $zero +/* 1ABA70 8027D190 0809F467 */ j func_8027D19C +/* 1ABA74 8027D194 24020002 */ addiu $v0, $zero, 2 + +.L8027D198: +/* 1ABA78 8027D198 240200FF */ addiu $v0, $zero, 0xff +func_8027D19C: +/* 1ABA7C 8027D19C 8FBF0024 */ lw $ra, 0x24($sp) +/* 1ABA80 8027D1A0 8FB40020 */ lw $s4, 0x20($sp) +/* 1ABA84 8027D1A4 8FB3001C */ lw $s3, 0x1c($sp) +/* 1ABA88 8027D1A8 8FB20018 */ lw $s2, 0x18($sp) +/* 1ABA8C 8027D1AC 8FB10014 */ lw $s1, 0x14($sp) +/* 1ABA90 8027D1B0 8FB00010 */ lw $s0, 0x10($sp) +/* 1ABA94 8027D1B4 03E00008 */ jr $ra +/* 1ABA98 8027D1B8 27BD0028 */ addiu $sp, $sp, 0x28 + +DispatchDamageEvent: +/* 1ABA9C 8027D1BC 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 1ABAA0 8027D1C0 AFB20018 */ sw $s2, 0x18($sp) +/* 1ABAA4 8027D1C4 0080902D */ daddu $s2, $a0, $zero +/* 1ABAA8 8027D1C8 AFBF001C */ sw $ra, 0x1c($sp) +/* 1ABAAC 8027D1CC AFB10014 */ sw $s1, 0x14($sp) +/* 1ABAB0 8027D1D0 AFB00010 */ sw $s0, 0x10($sp) +/* 1ABAB4 8027D1D4 8E50000C */ lw $s0, 0xc($s2) +/* 1ABAB8 8027D1D8 8E050000 */ lw $a1, ($s0) +/* 1ABABC 8027D1DC 0C0B1EAF */ jal get_variable +/* 1ABAC0 8027D1E0 26100004 */ addiu $s0, $s0, 4 +/* 1ABAC4 8027D1E4 0040202D */ daddu $a0, $v0, $zero +/* 1ABAC8 8027D1E8 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1ABACC 8027D1EC 14820002 */ bne $a0, $v0, .L8027D1F8 +/* 1ABAD0 8027D1F0 00000000 */ nop +/* 1ABAD4 8027D1F4 8E440148 */ lw $a0, 0x148($s2) +.L8027D1F8: +/* 1ABAD8 8027D1F8 0C09A75B */ jal get_actor +/* 1ABADC 8027D1FC 00000000 */ nop +/* 1ABAE0 8027D200 8E050000 */ lw $a1, ($s0) +/* 1ABAE4 8027D204 26100004 */ addiu $s0, $s0, 4 +/* 1ABAE8 8027D208 0240202D */ daddu $a0, $s2, $zero +/* 1ABAEC 8027D20C 0C0B1EAF */ jal get_variable +/* 1ABAF0 8027D210 0040882D */ daddu $s1, $v0, $zero +/* 1ABAF4 8027D214 0240202D */ daddu $a0, $s2, $zero +/* 1ABAF8 8027D218 8E050000 */ lw $a1, ($s0) +/* 1ABAFC 8027D21C 0C0B1EAF */ jal get_variable +/* 1ABB00 8027D220 0040802D */ daddu $s0, $v0, $zero +/* 1ABB04 8027D224 0220202D */ daddu $a0, $s1, $zero +/* 1ABB08 8027D228 0200282D */ daddu $a1, $s0, $zero +/* 1ABB0C 8027D22C 0C09E23E */ jal dispatch_damage_event_actor_0 +/* 1ABB10 8027D230 0040302D */ daddu $a2, $v0, $zero +/* 1ABB14 8027D234 04420005 */ bltzl $v0, .L8027D24C +/* 1ABB18 8027D238 0000102D */ daddu $v0, $zero, $zero +/* 1ABB1C 8027D23C 0C0B1069 */ jal does_script_exist_by_ref +/* 1ABB20 8027D240 0240202D */ daddu $a0, $s2, $zero +/* 1ABB24 8027D244 0002102B */ sltu $v0, $zero, $v0 +/* 1ABB28 8027D248 00021040 */ sll $v0, $v0, 1 +.L8027D24C: +/* 1ABB2C 8027D24C 8FBF001C */ lw $ra, 0x1c($sp) +/* 1ABB30 8027D250 8FB20018 */ lw $s2, 0x18($sp) +/* 1ABB34 8027D254 8FB10014 */ lw $s1, 0x14($sp) +/* 1ABB38 8027D258 8FB00010 */ lw $s0, 0x10($sp) +/* 1ABB3C 8027D25C 03E00008 */ jr $ra +/* 1ABB40 8027D260 27BD0020 */ addiu $sp, $sp, 0x20 + +DispatchEvent: +/* 1ABB44 8027D264 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 1ABB48 8027D268 AFB10014 */ sw $s1, 0x14($sp) +/* 1ABB4C 8027D26C 0080882D */ daddu $s1, $a0, $zero +/* 1ABB50 8027D270 AFBF0018 */ sw $ra, 0x18($sp) +/* 1ABB54 8027D274 AFB00010 */ sw $s0, 0x10($sp) +/* 1ABB58 8027D278 8E30000C */ lw $s0, 0xc($s1) +/* 1ABB5C 8027D27C 8E050000 */ lw $a1, ($s0) +/* 1ABB60 8027D280 0C0B1EAF */ jal get_variable +/* 1ABB64 8027D284 26100004 */ addiu $s0, $s0, 4 +/* 1ABB68 8027D288 0040202D */ daddu $a0, $v0, $zero +/* 1ABB6C 8027D28C 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1ABB70 8027D290 14820002 */ bne $a0, $v0, .L8027D29C +/* 1ABB74 8027D294 00000000 */ nop +/* 1ABB78 8027D298 8E240148 */ lw $a0, 0x148($s1) +.L8027D29C: +/* 1ABB7C 8027D29C 0C09A75B */ jal get_actor +/* 1ABB80 8027D2A0 00000000 */ nop +/* 1ABB84 8027D2A4 0220202D */ daddu $a0, $s1, $zero +/* 1ABB88 8027D2A8 8E050000 */ lw $a1, ($s0) +/* 1ABB8C 8027D2AC 0C0B1EAF */ jal get_variable +/* 1ABB90 8027D2B0 0040802D */ daddu $s0, $v0, $zero +/* 1ABB94 8027D2B4 0200202D */ daddu $a0, $s0, $zero +/* 1ABB98 8027D2B8 0C09DC58 */ jal dispatch_event_actor +/* 1ABB9C 8027D2BC 0040282D */ daddu $a1, $v0, $zero +/* 1ABBA0 8027D2C0 8FBF0018 */ lw $ra, 0x18($sp) +/* 1ABBA4 8027D2C4 8FB10014 */ lw $s1, 0x14($sp) +/* 1ABBA8 8027D2C8 8FB00010 */ lw $s0, 0x10($sp) +/* 1ABBAC 8027D2CC 24020002 */ addiu $v0, $zero, 2 +/* 1ABBB0 8027D2D0 03E00008 */ jr $ra +/* 1ABBB4 8027D2D4 27BD0020 */ addiu $sp, $sp, 0x20 + +/* 1ABBB8 8027D2D8 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 1ABBBC 8027D2DC AFB00010 */ sw $s0, 0x10($sp) +/* 1ABBC0 8027D2E0 0080802D */ daddu $s0, $a0, $zero +/* 1ABBC4 8027D2E4 AFBF0014 */ sw $ra, 0x14($sp) +/* 1ABBC8 8027D2E8 8E02000C */ lw $v0, 0xc($s0) +/* 1ABBCC 8027D2EC 0C0B1EAF */ jal get_variable +/* 1ABBD0 8027D2F0 8C450000 */ lw $a1, ($v0) +/* 1ABBD4 8027D2F4 0040202D */ daddu $a0, $v0, $zero +/* 1ABBD8 8027D2F8 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1ABBDC 8027D2FC 14820002 */ bne $a0, $v0, .L8027D308 +/* 1ABBE0 8027D300 00000000 */ nop +/* 1ABBE4 8027D304 8E040148 */ lw $a0, 0x148($s0) +.L8027D308: +/* 1ABBE8 8027D308 0C09A75B */ jal get_actor +/* 1ABBEC 8027D30C 00000000 */ nop +/* 1ABBF0 8027D310 0C099AB7 */ jal func_80266ADC +/* 1ABBF4 8027D314 0040202D */ daddu $a0, $v0, $zero +/* 1ABBF8 8027D318 8FBF0014 */ lw $ra, 0x14($sp) +/* 1ABBFC 8027D31C 8FB00010 */ lw $s0, 0x10($sp) +/* 1ABC00 8027D320 24020002 */ addiu $v0, $zero, 2 +/* 1ABC04 8027D324 03E00008 */ jr $ra +/* 1ABC08 8027D328 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 1ABC0C 8027D32C 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 1ABC10 8027D330 AFB00010 */ sw $s0, 0x10($sp) +/* 1ABC14 8027D334 0080802D */ daddu $s0, $a0, $zero +/* 1ABC18 8027D338 AFBF0014 */ sw $ra, 0x14($sp) +/* 1ABC1C 8027D33C 8E02000C */ lw $v0, 0xc($s0) +/* 1ABC20 8027D340 0C0B1EAF */ jal get_variable +/* 1ABC24 8027D344 8C450000 */ lw $a1, ($v0) +/* 1ABC28 8027D348 0040202D */ daddu $a0, $v0, $zero +/* 1ABC2C 8027D34C 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1ABC30 8027D350 14820002 */ bne $a0, $v0, .L8027D35C +/* 1ABC34 8027D354 00000000 */ nop +/* 1ABC38 8027D358 8E040148 */ lw $a0, 0x148($s0) +.L8027D35C: +/* 1ABC3C 8027D35C 0C09A75B */ jal get_actor +/* 1ABC40 8027D360 00000000 */ nop +/* 1ABC44 8027D364 0C099ABE */ jal func_80266AF8 +/* 1ABC48 8027D368 0040202D */ daddu $a0, $v0, $zero +/* 1ABC4C 8027D36C 8FBF0014 */ lw $ra, 0x14($sp) +/* 1ABC50 8027D370 8FB00010 */ lw $s0, 0x10($sp) +/* 1ABC54 8027D374 24020002 */ addiu $v0, $zero, 2 +/* 1ABC58 8027D378 03E00008 */ jr $ra +/* 1ABC5C 8027D37C 27BD0018 */ addiu $sp, $sp, 0x18 + +SetTargetOffset: +/* 1ABC60 8027D380 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 1ABC64 8027D384 AFB3001C */ sw $s3, 0x1c($sp) +/* 1ABC68 8027D388 0080982D */ daddu $s3, $a0, $zero +/* 1ABC6C 8027D38C AFBF0020 */ sw $ra, 0x20($sp) +/* 1ABC70 8027D390 AFB20018 */ sw $s2, 0x18($sp) +/* 1ABC74 8027D394 AFB10014 */ sw $s1, 0x14($sp) +/* 1ABC78 8027D398 AFB00010 */ sw $s0, 0x10($sp) +/* 1ABC7C 8027D39C 8E72000C */ lw $s2, 0xc($s3) +/* 1ABC80 8027D3A0 8E450000 */ lw $a1, ($s2) +/* 1ABC84 8027D3A4 0C0B1EAF */ jal get_variable +/* 1ABC88 8027D3A8 26520004 */ addiu $s2, $s2, 4 +/* 1ABC8C 8027D3AC 0040802D */ daddu $s0, $v0, $zero +/* 1ABC90 8027D3B0 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1ABC94 8027D3B4 16020002 */ bne $s0, $v0, .L8027D3C0 +/* 1ABC98 8027D3B8 00000000 */ nop +/* 1ABC9C 8027D3BC 8E700148 */ lw $s0, 0x148($s3) +.L8027D3C0: +/* 1ABCA0 8027D3C0 8E450000 */ lw $a1, ($s2) +/* 1ABCA4 8027D3C4 26520004 */ addiu $s2, $s2, 4 +/* 1ABCA8 8027D3C8 0C0B1EAF */ jal get_variable +/* 1ABCAC 8027D3CC 0260202D */ daddu $a0, $s3, $zero +/* 1ABCB0 8027D3D0 0200202D */ daddu $a0, $s0, $zero +/* 1ABCB4 8027D3D4 0C09A75B */ jal get_actor +/* 1ABCB8 8027D3D8 0040802D */ daddu $s0, $v0, $zero +/* 1ABCBC 8027D3DC 0040202D */ daddu $a0, $v0, $zero +/* 1ABCC0 8027D3E0 0C099117 */ jal get_actor_part +/* 1ABCC4 8027D3E4 0200282D */ daddu $a1, $s0, $zero +/* 1ABCC8 8027D3E8 8E450000 */ lw $a1, ($s2) +/* 1ABCCC 8027D3EC 26520004 */ addiu $s2, $s2, 4 +/* 1ABCD0 8027D3F0 0260202D */ daddu $a0, $s3, $zero +/* 1ABCD4 8027D3F4 0C0B1EAF */ jal get_variable +/* 1ABCD8 8027D3F8 0040882D */ daddu $s1, $v0, $zero +/* 1ABCDC 8027D3FC 0260202D */ daddu $a0, $s3, $zero +/* 1ABCE0 8027D400 8E450000 */ lw $a1, ($s2) +/* 1ABCE4 8027D404 0C0B1EAF */ jal get_variable +/* 1ABCE8 8027D408 0040802D */ daddu $s0, $v0, $zero +/* 1ABCEC 8027D40C A622006E */ sh $v0, 0x6e($s1) +/* 1ABCF0 8027D410 A630006C */ sh $s0, 0x6c($s1) +/* 1ABCF4 8027D414 8FBF0020 */ lw $ra, 0x20($sp) +/* 1ABCF8 8027D418 8FB3001C */ lw $s3, 0x1c($sp) +/* 1ABCFC 8027D41C 8FB20018 */ lw $s2, 0x18($sp) +/* 1ABD00 8027D420 8FB10014 */ lw $s1, 0x14($sp) +/* 1ABD04 8027D424 8FB00010 */ lw $s0, 0x10($sp) +/* 1ABD08 8027D428 24020002 */ addiu $v0, $zero, 2 +/* 1ABD0C 8027D42C 03E00008 */ jr $ra +/* 1ABD10 8027D430 27BD0028 */ addiu $sp, $sp, 0x28 + +/* 1ABD14 8027D434 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 1ABD18 8027D438 AFB20018 */ sw $s2, 0x18($sp) +/* 1ABD1C 8027D43C 0080902D */ daddu $s2, $a0, $zero +/* 1ABD20 8027D440 AFBF001C */ sw $ra, 0x1c($sp) +/* 1ABD24 8027D444 AFB10014 */ sw $s1, 0x14($sp) +/* 1ABD28 8027D448 AFB00010 */ sw $s0, 0x10($sp) +/* 1ABD2C 8027D44C 8E51000C */ lw $s1, 0xc($s2) +/* 1ABD30 8027D450 8E250000 */ lw $a1, ($s1) +/* 1ABD34 8027D454 0C0B1EAF */ jal get_variable +/* 1ABD38 8027D458 26310004 */ addiu $s1, $s1, 4 +/* 1ABD3C 8027D45C 0040802D */ daddu $s0, $v0, $zero +/* 1ABD40 8027D460 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1ABD44 8027D464 16020002 */ bne $s0, $v0, .L8027D470 +/* 1ABD48 8027D468 00000000 */ nop +/* 1ABD4C 8027D46C 8E500148 */ lw $s0, 0x148($s2) +.L8027D470: +/* 1ABD50 8027D470 8E250000 */ lw $a1, ($s1) +/* 1ABD54 8027D474 26310004 */ addiu $s1, $s1, 4 +/* 1ABD58 8027D478 0C0B1EAF */ jal get_variable +/* 1ABD5C 8027D47C 0240202D */ daddu $a0, $s2, $zero +/* 1ABD60 8027D480 0200202D */ daddu $a0, $s0, $zero +/* 1ABD64 8027D484 0C09A75B */ jal get_actor +/* 1ABD68 8027D488 0040802D */ daddu $s0, $v0, $zero +/* 1ABD6C 8027D48C 0040202D */ daddu $a0, $v0, $zero +/* 1ABD70 8027D490 0C099117 */ jal get_actor_part +/* 1ABD74 8027D494 0200282D */ daddu $a1, $s0, $zero +/* 1ABD78 8027D498 0240202D */ daddu $a0, $s2, $zero +/* 1ABD7C 8027D49C 8E250000 */ lw $a1, ($s1) +/* 1ABD80 8027D4A0 0C0B1EAF */ jal get_variable +/* 1ABD84 8027D4A4 0040802D */ daddu $s0, $v0, $zero +/* 1ABD88 8027D4A8 A6020070 */ sh $v0, 0x70($s0) +/* 1ABD8C 8027D4AC 8FBF001C */ lw $ra, 0x1c($sp) +/* 1ABD90 8027D4B0 8FB20018 */ lw $s2, 0x18($sp) +/* 1ABD94 8027D4B4 8FB10014 */ lw $s1, 0x14($sp) +/* 1ABD98 8027D4B8 8FB00010 */ lw $s0, 0x10($sp) +/* 1ABD9C 8027D4BC 24020002 */ addiu $v0, $zero, 2 +/* 1ABDA0 8027D4C0 03E00008 */ jr $ra +/* 1ABDA4 8027D4C4 27BD0020 */ addiu $sp, $sp, 0x20 + +/* 1ABDA8 8027D4C8 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 1ABDAC 8027D4CC AFB3001C */ sw $s3, 0x1c($sp) +/* 1ABDB0 8027D4D0 0080982D */ daddu $s3, $a0, $zero +/* 1ABDB4 8027D4D4 AFBF0020 */ sw $ra, 0x20($sp) +/* 1ABDB8 8027D4D8 AFB20018 */ sw $s2, 0x18($sp) +/* 1ABDBC 8027D4DC AFB10014 */ sw $s1, 0x14($sp) +/* 1ABDC0 8027D4E0 AFB00010 */ sw $s0, 0x10($sp) +/* 1ABDC4 8027D4E4 8E72000C */ lw $s2, 0xc($s3) +/* 1ABDC8 8027D4E8 8E450000 */ lw $a1, ($s2) +/* 1ABDCC 8027D4EC 0C0B1EAF */ jal get_variable +/* 1ABDD0 8027D4F0 26520004 */ addiu $s2, $s2, 4 +/* 1ABDD4 8027D4F4 0040802D */ daddu $s0, $v0, $zero +/* 1ABDD8 8027D4F8 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1ABDDC 8027D4FC 16020002 */ bne $s0, $v0, .L8027D508 +/* 1ABDE0 8027D500 00000000 */ nop +/* 1ABDE4 8027D504 8E700148 */ lw $s0, 0x148($s3) +.L8027D508: +/* 1ABDE8 8027D508 8E450000 */ lw $a1, ($s2) +/* 1ABDEC 8027D50C 26520004 */ addiu $s2, $s2, 4 +/* 1ABDF0 8027D510 0C0B1EAF */ jal get_variable +/* 1ABDF4 8027D514 0260202D */ daddu $a0, $s3, $zero +/* 1ABDF8 8027D518 0200202D */ daddu $a0, $s0, $zero +/* 1ABDFC 8027D51C 0C09A75B */ jal get_actor +/* 1ABE00 8027D520 0040802D */ daddu $s0, $v0, $zero +/* 1ABE04 8027D524 0040202D */ daddu $a0, $v0, $zero +/* 1ABE08 8027D528 0C099117 */ jal get_actor_part +/* 1ABE0C 8027D52C 0200282D */ daddu $a1, $s0, $zero +/* 1ABE10 8027D530 8E450000 */ lw $a1, ($s2) +/* 1ABE14 8027D534 26520004 */ addiu $s2, $s2, 4 +/* 1ABE18 8027D538 0260202D */ daddu $a0, $s3, $zero +/* 1ABE1C 8027D53C 0C0B1EAF */ jal get_variable +/* 1ABE20 8027D540 0040882D */ daddu $s1, $v0, $zero +/* 1ABE24 8027D544 0260202D */ daddu $a0, $s3, $zero +/* 1ABE28 8027D548 8E450000 */ lw $a1, ($s2) +/* 1ABE2C 8027D54C 0C0B1EAF */ jal get_variable +/* 1ABE30 8027D550 0040802D */ daddu $s0, $v0, $zero +/* 1ABE34 8027D554 A2220076 */ sb $v0, 0x76($s1) +/* 1ABE38 8027D558 A2300075 */ sb $s0, 0x75($s1) +/* 1ABE3C 8027D55C 8FBF0020 */ lw $ra, 0x20($sp) +/* 1ABE40 8027D560 8FB3001C */ lw $s3, 0x1c($sp) +/* 1ABE44 8027D564 8FB20018 */ lw $s2, 0x18($sp) +/* 1ABE48 8027D568 8FB10014 */ lw $s1, 0x14($sp) +/* 1ABE4C 8027D56C 8FB00010 */ lw $s0, 0x10($sp) +/* 1ABE50 8027D570 24020002 */ addiu $v0, $zero, 2 +/* 1ABE54 8027D574 03E00008 */ jr $ra +/* 1ABE58 8027D578 27BD0028 */ addiu $sp, $sp, 0x28 + +EnableActorBlur: +/* 1ABE5C 8027D57C 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 1ABE60 8027D580 AFB20018 */ sw $s2, 0x18($sp) +/* 1ABE64 8027D584 0080902D */ daddu $s2, $a0, $zero +/* 1ABE68 8027D588 AFBF001C */ sw $ra, 0x1c($sp) +/* 1ABE6C 8027D58C AFB10014 */ sw $s1, 0x14($sp) +/* 1ABE70 8027D590 AFB00010 */ sw $s0, 0x10($sp) +/* 1ABE74 8027D594 8E50000C */ lw $s0, 0xc($s2) +/* 1ABE78 8027D598 8E050000 */ lw $a1, ($s0) +/* 1ABE7C 8027D59C 0C0B1EAF */ jal get_variable +/* 1ABE80 8027D5A0 26100004 */ addiu $s0, $s0, 4 +/* 1ABE84 8027D5A4 0040882D */ daddu $s1, $v0, $zero +/* 1ABE88 8027D5A8 8E050000 */ lw $a1, ($s0) +/* 1ABE8C 8027D5AC 0C0B1EAF */ jal get_variable +/* 1ABE90 8027D5B0 0240202D */ daddu $a0, $s2, $zero +/* 1ABE94 8027D5B4 0040802D */ daddu $s0, $v0, $zero +/* 1ABE98 8027D5B8 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1ABE9C 8027D5BC 16220002 */ bne $s1, $v0, .L8027D5C8 +/* 1ABEA0 8027D5C0 00000000 */ nop +/* 1ABEA4 8027D5C4 8E510148 */ lw $s1, 0x148($s2) +.L8027D5C8: +/* 1ABEA8 8027D5C8 0C09A75B */ jal get_actor +/* 1ABEAC 8027D5CC 0220202D */ daddu $a0, $s1, $zero +/* 1ABEB0 8027D5D0 16000005 */ bnez $s0, .L8027D5E8 +/* 1ABEB4 8027D5D4 0040202D */ daddu $a0, $v0, $zero +/* 1ABEB8 8027D5D8 0C095157 */ jal disable_actor_blur +/* 1ABEBC 8027D5DC 00000000 */ nop +/* 1ABEC0 8027D5E0 0809F583 */ j func_8027D60C +/* 1ABEC4 8027D5E4 00000000 */ nop + +.L8027D5E8: +/* 1ABEC8 8027D5E8 24020001 */ addiu $v0, $zero, 1 +/* 1ABECC 8027D5EC 16020005 */ bne $s0, $v0, .L8027D604 +/* 1ABED0 8027D5F0 00000000 */ nop +/* 1ABED4 8027D5F4 0C0950B3 */ jal enable_actor_blur +/* 1ABED8 8027D5F8 00000000 */ nop +/* 1ABEDC 8027D5FC 0809F583 */ j func_8027D60C +/* 1ABEE0 8027D600 00000000 */ nop + +.L8027D604: +/* 1ABEE4 8027D604 0C09516B */ jal func_802545AC +/* 1ABEE8 8027D608 00000000 */ nop +func_8027D60C: +/* 1ABEEC 8027D60C 8FBF001C */ lw $ra, 0x1c($sp) +/* 1ABEF0 8027D610 8FB20018 */ lw $s2, 0x18($sp) +/* 1ABEF4 8027D614 8FB10014 */ lw $s1, 0x14($sp) +/* 1ABEF8 8027D618 8FB00010 */ lw $s0, 0x10($sp) +/* 1ABEFC 8027D61C 24020002 */ addiu $v0, $zero, 2 +/* 1ABF00 8027D620 03E00008 */ jr $ra +/* 1ABF04 8027D624 27BD0020 */ addiu $sp, $sp, 0x20 + +/* 1ABF08 8027D628 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 1ABF0C 8027D62C AFB00010 */ sw $s0, 0x10($sp) +/* 1ABF10 8027D630 0080802D */ daddu $s0, $a0, $zero +/* 1ABF14 8027D634 AFBF0014 */ sw $ra, 0x14($sp) +/* 1ABF18 8027D638 8E02000C */ lw $v0, 0xc($s0) +/* 1ABF1C 8027D63C 0C0B1EAF */ jal get_variable +/* 1ABF20 8027D640 8C450000 */ lw $a1, ($v0) +/* 1ABF24 8027D644 0040202D */ daddu $a0, $v0, $zero +/* 1ABF28 8027D648 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1ABF2C 8027D64C 14820002 */ bne $a0, $v0, .L8027D658 +/* 1ABF30 8027D650 00000000 */ nop +/* 1ABF34 8027D654 8E040148 */ lw $a0, 0x148($s0) +.L8027D658: +/* 1ABF38 8027D658 0C09A75B */ jal get_actor +/* 1ABF3C 8027D65C 00000000 */ nop +/* 1ABF40 8027D660 0C095184 */ jal func_80254610 +/* 1ABF44 8027D664 0040202D */ daddu $a0, $v0, $zero +/* 1ABF48 8027D668 8FBF0014 */ lw $ra, 0x14($sp) +/* 1ABF4C 8027D66C 8FB00010 */ lw $s0, 0x10($sp) +/* 1ABF50 8027D670 24020002 */ addiu $v0, $zero, 2 +/* 1ABF54 8027D674 03E00008 */ jr $ra +/* 1ABF58 8027D678 27BD0018 */ addiu $sp, $sp, 0x18 + +AfflictActor: +/* 1ABF5C 8027D67C 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 1ABF60 8027D680 AFB20018 */ sw $s2, 0x18($sp) +/* 1ABF64 8027D684 0080902D */ daddu $s2, $a0, $zero +/* 1ABF68 8027D688 AFBF0020 */ sw $ra, 0x20($sp) +/* 1ABF6C 8027D68C AFB3001C */ sw $s3, 0x1c($sp) +/* 1ABF70 8027D690 AFB10014 */ sw $s1, 0x14($sp) +/* 1ABF74 8027D694 AFB00010 */ sw $s0, 0x10($sp) +/* 1ABF78 8027D698 8E50000C */ lw $s0, 0xc($s2) +/* 1ABF7C 8027D69C 8E050000 */ lw $a1, ($s0) +/* 1ABF80 8027D6A0 0C0B1EAF */ jal get_variable +/* 1ABF84 8027D6A4 26100004 */ addiu $s0, $s0, 4 +/* 1ABF88 8027D6A8 0040882D */ daddu $s1, $v0, $zero +/* 1ABF8C 8027D6AC 8E050000 */ lw $a1, ($s0) +/* 1ABF90 8027D6B0 26100004 */ addiu $s0, $s0, 4 +/* 1ABF94 8027D6B4 0C0B1EAF */ jal get_variable +/* 1ABF98 8027D6B8 0240202D */ daddu $a0, $s2, $zero +/* 1ABF9C 8027D6BC 0240202D */ daddu $a0, $s2, $zero +/* 1ABFA0 8027D6C0 8E050000 */ lw $a1, ($s0) +/* 1ABFA4 8027D6C4 0C0B1EAF */ jal get_variable +/* 1ABFA8 8027D6C8 0040802D */ daddu $s0, $v0, $zero +/* 1ABFAC 8027D6CC 0040982D */ daddu $s3, $v0, $zero +/* 1ABFB0 8027D6D0 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1ABFB4 8027D6D4 16220002 */ bne $s1, $v0, .L8027D6E0 +/* 1ABFB8 8027D6D8 00000000 */ nop +/* 1ABFBC 8027D6DC 8E510148 */ lw $s1, 0x148($s2) +.L8027D6E0: +/* 1ABFC0 8027D6E0 0C09A75B */ jal get_actor +/* 1ABFC4 8027D6E4 0220202D */ daddu $a0, $s1, $zero +/* 1ABFC8 8027D6E8 0040202D */ daddu $a0, $v0, $zero +/* 1ABFCC 8027D6EC 24020005 */ addiu $v0, $zero, 5 +/* 1ABFD0 8027D6F0 1202000E */ beq $s0, $v0, .L8027D72C +/* 1ABFD4 8027D6F4 2A020006 */ slti $v0, $s0, 6 +/* 1ABFD8 8027D6F8 10400005 */ beqz $v0, .L8027D710 +/* 1ABFDC 8027D6FC 24020004 */ addiu $v0, $zero, 4 +/* 1ABFE0 8027D700 12020008 */ beq $s0, $v0, .L8027D724 +/* 1ABFE4 8027D704 24060026 */ addiu $a2, $zero, 0x26 +/* 1ABFE8 8027D708 0809F5CD */ j func_8027D734 +/* 1ABFEC 8027D70C 0200282D */ daddu $a1, $s0, $zero + +.L8027D710: +/* 1ABFF0 8027D710 24020006 */ addiu $v0, $zero, 6 +/* 1ABFF4 8027D714 16020006 */ bne $s0, $v0, .L8027D730 +/* 1ABFF8 8027D718 24060026 */ addiu $a2, $zero, 0x26 +/* 1ABFFC 8027D71C 0809F5CC */ j func_8027D730 +/* 1AC000 8027D720 24060020 */ addiu $a2, $zero, 0x20 + +.L8027D724: +/* 1AC004 8027D724 0809F5CC */ j func_8027D730 +/* 1AC008 8027D728 24060024 */ addiu $a2, $zero, 0x24 + +.L8027D72C: +/* 1AC00C 8027D72C 24060026 */ addiu $a2, $zero, 0x26 +func_8027D730: +.L8027D730: +/* 1AC010 8027D730 0200282D */ daddu $a1, $s0, $zero +func_8027D734: +/* 1AC014 8027D734 0C099B3C */ jal inflict_status_set_duration +/* 1AC018 8027D738 0260382D */ daddu $a3, $s3, $zero +/* 1AC01C 8027D73C 8FBF0020 */ lw $ra, 0x20($sp) +/* 1AC020 8027D740 8FB3001C */ lw $s3, 0x1c($sp) +/* 1AC024 8027D744 8FB20018 */ lw $s2, 0x18($sp) +/* 1AC028 8027D748 8FB10014 */ lw $s1, 0x14($sp) +/* 1AC02C 8027D74C 8FB00010 */ lw $s0, 0x10($sp) +/* 1AC030 8027D750 24020002 */ addiu $v0, $zero, 2 +/* 1AC034 8027D754 03E00008 */ jr $ra +/* 1AC038 8027D758 27BD0028 */ addiu $sp, $sp, 0x28 + +/* 1AC03C 8027D75C 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 1AC040 8027D760 AFB10014 */ sw $s1, 0x14($sp) +/* 1AC044 8027D764 0080882D */ daddu $s1, $a0, $zero +/* 1AC048 8027D768 AFBF0018 */ sw $ra, 0x18($sp) +/* 1AC04C 8027D76C AFB00010 */ sw $s0, 0x10($sp) +/* 1AC050 8027D770 8E30000C */ lw $s0, 0xc($s1) +/* 1AC054 8027D774 8E050000 */ lw $a1, ($s0) +/* 1AC058 8027D778 0C0B1EAF */ jal get_variable +/* 1AC05C 8027D77C 26100004 */ addiu $s0, $s0, 4 +/* 1AC060 8027D780 0040202D */ daddu $a0, $v0, $zero +/* 1AC064 8027D784 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1AC068 8027D788 14820002 */ bne $a0, $v0, .L8027D794 +/* 1AC06C 8027D78C 8E100000 */ lw $s0, ($s0) +/* 1AC070 8027D790 8E240148 */ lw $a0, 0x148($s1) +.L8027D794: +/* 1AC074 8027D794 0C09A75B */ jal get_actor +/* 1AC078 8027D798 00000000 */ nop +/* 1AC07C 8027D79C 0220202D */ daddu $a0, $s1, $zero +/* 1AC080 8027D7A0 80460208 */ lb $a2, 0x208($v0) +/* 1AC084 8027D7A4 0C0B2026 */ jal set_variable +/* 1AC088 8027D7A8 0200282D */ daddu $a1, $s0, $zero +/* 1AC08C 8027D7AC 8FBF0018 */ lw $ra, 0x18($sp) +/* 1AC090 8027D7B0 8FB10014 */ lw $s1, 0x14($sp) +/* 1AC094 8027D7B4 8FB00010 */ lw $s0, 0x10($sp) +/* 1AC098 8027D7B8 24020002 */ addiu $v0, $zero, 2 +/* 1AC09C 8027D7BC 03E00008 */ jr $ra +/* 1AC0A0 8027D7C0 27BD0020 */ addiu $sp, $sp, 0x20 + +GetEncounterState: +/* 1AC0A4 8027D7C4 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 1AC0A8 8027D7C8 AFBF0010 */ sw $ra, 0x10($sp) +/* 1AC0AC 8027D7CC 8C82000C */ lw $v0, 0xc($a0) +/* 1AC0B0 8027D7D0 3C06800B */ lui $a2, 0x800b +/* 1AC0B4 8027D7D4 80C60F15 */ lb $a2, 0xf15($a2) +/* 1AC0B8 8027D7D8 0C0B2026 */ jal set_variable +/* 1AC0BC 8027D7DC 8C450000 */ lw $a1, ($v0) +/* 1AC0C0 8027D7E0 8FBF0010 */ lw $ra, 0x10($sp) +/* 1AC0C4 8027D7E4 24020002 */ addiu $v0, $zero, 2 +/* 1AC0C8 8027D7E8 03E00008 */ jr $ra +/* 1AC0CC 8027D7EC 27BD0018 */ addiu $sp, $sp, 0x18 + +YieldTurn: +/* 1AC0D0 8027D7F0 3C02800E */ lui $v0, 0x800e +/* 1AC0D4 8027D7F4 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 1AC0D8 8027D7F8 8C430000 */ lw $v1, ($v0) +/* 1AC0DC 8027D7FC 3C040020 */ lui $a0, 0x20 +/* 1AC0E0 8027D800 00641825 */ or $v1, $v1, $a0 +/* 1AC0E4 8027D804 AC430000 */ sw $v1, ($v0) +/* 1AC0E8 8027D808 03E00008 */ jr $ra +/* 1AC0EC 8027D80C 24020002 */ addiu $v0, $zero, 2 + +SetActorSize: +/* 1AC0F0 8027D810 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 1AC0F4 8027D814 AFB20018 */ sw $s2, 0x18($sp) +/* 1AC0F8 8027D818 0080902D */ daddu $s2, $a0, $zero +/* 1AC0FC 8027D81C AFBF0020 */ sw $ra, 0x20($sp) +/* 1AC100 8027D820 AFB3001C */ sw $s3, 0x1c($sp) +/* 1AC104 8027D824 AFB10014 */ sw $s1, 0x14($sp) +/* 1AC108 8027D828 AFB00010 */ sw $s0, 0x10($sp) +/* 1AC10C 8027D82C 8E50000C */ lw $s0, 0xc($s2) +/* 1AC110 8027D830 8E050000 */ lw $a1, ($s0) +/* 1AC114 8027D834 0C0B1EAF */ jal get_variable +/* 1AC118 8027D838 26100004 */ addiu $s0, $s0, 4 +/* 1AC11C 8027D83C 0040882D */ daddu $s1, $v0, $zero +/* 1AC120 8027D840 8E050000 */ lw $a1, ($s0) +/* 1AC124 8027D844 26100004 */ addiu $s0, $s0, 4 +/* 1AC128 8027D848 0C0B1EAF */ jal get_variable +/* 1AC12C 8027D84C 0240202D */ daddu $a0, $s2, $zero +/* 1AC130 8027D850 0240202D */ daddu $a0, $s2, $zero +/* 1AC134 8027D854 8E050000 */ lw $a1, ($s0) +/* 1AC138 8027D858 0C0B1EAF */ jal get_variable +/* 1AC13C 8027D85C 0040802D */ daddu $s0, $v0, $zero +/* 1AC140 8027D860 0040982D */ daddu $s3, $v0, $zero +/* 1AC144 8027D864 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1AC148 8027D868 16220002 */ bne $s1, $v0, .L8027D874 +/* 1AC14C 8027D86C 00000000 */ nop +/* 1AC150 8027D870 8E510148 */ lw $s1, 0x148($s2) +.L8027D874: +/* 1AC154 8027D874 0C09A75B */ jal get_actor +/* 1AC158 8027D878 0220202D */ daddu $a0, $s1, $zero +/* 1AC15C 8027D87C 3C03F119 */ lui $v1, 0xf119 +/* 1AC160 8027D880 34634D80 */ ori $v1, $v1, 0x4d80 +/* 1AC164 8027D884 12030002 */ beq $s0, $v1, .L8027D890 +/* 1AC168 8027D888 0040202D */ daddu $a0, $v0, $zero +/* 1AC16C 8027D88C A0900191 */ sb $s0, 0x191($a0) +.L8027D890: +/* 1AC170 8027D890 56630001 */ bnel $s3, $v1, .L8027D898 +/* 1AC174 8027D894 A0930190 */ sb $s3, 0x190($a0) +.L8027D898: +/* 1AC178 8027D898 90830190 */ lbu $v1, 0x190($a0) +/* 1AC17C 8027D89C 3C014038 */ lui $at, 0x4038 +/* 1AC180 8027D8A0 44811800 */ mtc1 $at, $f3 +/* 1AC184 8027D8A4 44801000 */ mtc1 $zero, $f2 +/* 1AC188 8027D8A8 44830000 */ mtc1 $v1, $f0 +/* 1AC18C 8027D8AC 00000000 */ nop +/* 1AC190 8027D8B0 46800021 */ cvt.d.w $f0, $f0 +/* 1AC194 8027D8B4 46220003 */ div.d $f0, $f0, $f2 +/* 1AC198 8027D8B8 46200020 */ cvt.s.d $f0, $f0 +/* 1AC19C 8027D8BC E4800430 */ swc1 $f0, 0x430($a0) +/* 1AC1A0 8027D8C0 8FBF0020 */ lw $ra, 0x20($sp) +/* 1AC1A4 8027D8C4 8FB3001C */ lw $s3, 0x1c($sp) +/* 1AC1A8 8027D8C8 8FB20018 */ lw $s2, 0x18($sp) +/* 1AC1AC 8027D8CC 8FB10014 */ lw $s1, 0x14($sp) +/* 1AC1B0 8027D8D0 8FB00010 */ lw $s0, 0x10($sp) +/* 1AC1B4 8027D8D4 24020002 */ addiu $v0, $zero, 2 +/* 1AC1B8 8027D8D8 03E00008 */ jr $ra +/* 1AC1BC 8027D8DC 27BD0028 */ addiu $sp, $sp, 0x28 + +GetActorSize: +/* 1AC1C0 8027D8E0 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 1AC1C4 8027D8E4 AFB10014 */ sw $s1, 0x14($sp) +/* 1AC1C8 8027D8E8 0080882D */ daddu $s1, $a0, $zero +/* 1AC1CC 8027D8EC AFBF0020 */ sw $ra, 0x20($sp) +/* 1AC1D0 8027D8F0 AFB3001C */ sw $s3, 0x1c($sp) +/* 1AC1D4 8027D8F4 AFB20018 */ sw $s2, 0x18($sp) +/* 1AC1D8 8027D8F8 AFB00010 */ sw $s0, 0x10($sp) +/* 1AC1DC 8027D8FC 8E30000C */ lw $s0, 0xc($s1) +/* 1AC1E0 8027D900 8E050000 */ lw $a1, ($s0) +/* 1AC1E4 8027D904 0C0B1EAF */ jal get_variable +/* 1AC1E8 8027D908 26100004 */ addiu $s0, $s0, 4 +/* 1AC1EC 8027D90C 0040202D */ daddu $a0, $v0, $zero +/* 1AC1F0 8027D910 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1AC1F4 8027D914 8E120000 */ lw $s2, ($s0) +/* 1AC1F8 8027D918 14820002 */ bne $a0, $v0, .L8027D924 +/* 1AC1FC 8027D91C 8E130004 */ lw $s3, 4($s0) +/* 1AC200 8027D920 8E240148 */ lw $a0, 0x148($s1) +.L8027D924: +/* 1AC204 8027D924 0C09A75B */ jal get_actor +/* 1AC208 8027D928 00000000 */ nop +/* 1AC20C 8027D92C 0220202D */ daddu $a0, $s1, $zero +/* 1AC210 8027D930 0040802D */ daddu $s0, $v0, $zero +/* 1AC214 8027D934 92060191 */ lbu $a2, 0x191($s0) +/* 1AC218 8027D938 0C0B2026 */ jal set_variable +/* 1AC21C 8027D93C 0240282D */ daddu $a1, $s2, $zero +/* 1AC220 8027D940 0220202D */ daddu $a0, $s1, $zero +/* 1AC224 8027D944 92060190 */ lbu $a2, 0x190($s0) +/* 1AC228 8027D948 0C0B2026 */ jal set_variable +/* 1AC22C 8027D94C 0260282D */ daddu $a1, $s3, $zero +/* 1AC230 8027D950 8FBF0020 */ lw $ra, 0x20($sp) +/* 1AC234 8027D954 8FB3001C */ lw $s3, 0x1c($sp) +/* 1AC238 8027D958 8FB20018 */ lw $s2, 0x18($sp) +/* 1AC23C 8027D95C 8FB10014 */ lw $s1, 0x14($sp) +/* 1AC240 8027D960 8FB00010 */ lw $s0, 0x10($sp) +/* 1AC244 8027D964 24020002 */ addiu $v0, $zero, 2 +/* 1AC248 8027D968 03E00008 */ jr $ra +/* 1AC24C 8027D96C 27BD0028 */ addiu $sp, $sp, 0x28 + +SetPartSize: +/* 1AC250 8027D970 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 1AC254 8027D974 AFB20018 */ sw $s2, 0x18($sp) +/* 1AC258 8027D978 0080902D */ daddu $s2, $a0, $zero +/* 1AC25C 8027D97C AFBF0024 */ sw $ra, 0x24($sp) +/* 1AC260 8027D980 AFB40020 */ sw $s4, 0x20($sp) +/* 1AC264 8027D984 AFB3001C */ sw $s3, 0x1c($sp) +/* 1AC268 8027D988 AFB10014 */ sw $s1, 0x14($sp) +/* 1AC26C 8027D98C AFB00010 */ sw $s0, 0x10($sp) +/* 1AC270 8027D990 8E50000C */ lw $s0, 0xc($s2) +/* 1AC274 8027D994 8E050000 */ lw $a1, ($s0) +/* 1AC278 8027D998 0C0B1EAF */ jal get_variable +/* 1AC27C 8027D99C 26100004 */ addiu $s0, $s0, 4 +/* 1AC280 8027D9A0 0040882D */ daddu $s1, $v0, $zero +/* 1AC284 8027D9A4 8E050000 */ lw $a1, ($s0) +/* 1AC288 8027D9A8 26100004 */ addiu $s0, $s0, 4 +/* 1AC28C 8027D9AC 0C0B1EAF */ jal get_variable +/* 1AC290 8027D9B0 0240202D */ daddu $a0, $s2, $zero +/* 1AC294 8027D9B4 8E050000 */ lw $a1, ($s0) +/* 1AC298 8027D9B8 26100004 */ addiu $s0, $s0, 4 +/* 1AC29C 8027D9BC 0240202D */ daddu $a0, $s2, $zero +/* 1AC2A0 8027D9C0 0C0B1EAF */ jal get_variable +/* 1AC2A4 8027D9C4 0040A02D */ daddu $s4, $v0, $zero +/* 1AC2A8 8027D9C8 0240202D */ daddu $a0, $s2, $zero +/* 1AC2AC 8027D9CC 8E050000 */ lw $a1, ($s0) +/* 1AC2B0 8027D9D0 0C0B1EAF */ jal get_variable +/* 1AC2B4 8027D9D4 0040802D */ daddu $s0, $v0, $zero +/* 1AC2B8 8027D9D8 0040982D */ daddu $s3, $v0, $zero +/* 1AC2BC 8027D9DC 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1AC2C0 8027D9E0 16220002 */ bne $s1, $v0, .L8027D9EC +/* 1AC2C4 8027D9E4 00000000 */ nop +/* 1AC2C8 8027D9E8 8E510148 */ lw $s1, 0x148($s2) +.L8027D9EC: +/* 1AC2CC 8027D9EC 0C09A75B */ jal get_actor +/* 1AC2D0 8027D9F0 0220202D */ daddu $a0, $s1, $zero +/* 1AC2D4 8027D9F4 0040202D */ daddu $a0, $v0, $zero +/* 1AC2D8 8027D9F8 0C099117 */ jal get_actor_part +/* 1AC2DC 8027D9FC 0280282D */ daddu $a1, $s4, $zero +/* 1AC2E0 8027DA00 3C03F119 */ lui $v1, 0xf119 +/* 1AC2E4 8027DA04 34634D80 */ ori $v1, $v1, 0x4d80 +/* 1AC2E8 8027DA08 12030002 */ beq $s0, $v1, .L8027DA14 +/* 1AC2EC 8027DA0C 0040202D */ daddu $a0, $v0, $zero +/* 1AC2F0 8027DA10 A0900073 */ sb $s0, 0x73($a0) +.L8027DA14: +/* 1AC2F4 8027DA14 56630001 */ bnel $s3, $v1, .L8027DA1C +/* 1AC2F8 8027DA18 A0930072 */ sb $s3, 0x72($a0) +.L8027DA1C: +/* 1AC2FC 8027DA1C 90830072 */ lbu $v1, 0x72($a0) +/* 1AC300 8027DA20 3C014038 */ lui $at, 0x4038 +/* 1AC304 8027DA24 44811800 */ mtc1 $at, $f3 +/* 1AC308 8027DA28 44801000 */ mtc1 $zero, $f2 +/* 1AC30C 8027DA2C 44830000 */ mtc1 $v1, $f0 +/* 1AC310 8027DA30 00000000 */ nop +/* 1AC314 8027DA34 46800021 */ cvt.d.w $f0, $f0 +/* 1AC318 8027DA38 46220003 */ div.d $f0, $f0, $f2 +/* 1AC31C 8027DA3C 46200020 */ cvt.s.d $f0, $f0 +/* 1AC320 8027DA40 E48000A0 */ swc1 $f0, 0xa0($a0) +/* 1AC324 8027DA44 8FBF0024 */ lw $ra, 0x24($sp) +/* 1AC328 8027DA48 8FB40020 */ lw $s4, 0x20($sp) +/* 1AC32C 8027DA4C 8FB3001C */ lw $s3, 0x1c($sp) +/* 1AC330 8027DA50 8FB20018 */ lw $s2, 0x18($sp) +/* 1AC334 8027DA54 8FB10014 */ lw $s1, 0x14($sp) +/* 1AC338 8027DA58 8FB00010 */ lw $s0, 0x10($sp) +/* 1AC33C 8027DA5C 24020002 */ addiu $v0, $zero, 2 +/* 1AC340 8027DA60 03E00008 */ jr $ra +/* 1AC344 8027DA64 27BD0028 */ addiu $sp, $sp, 0x28 + +GetOriginalActorType: +/* 1AC348 8027DA68 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 1AC34C 8027DA6C AFB10014 */ sw $s1, 0x14($sp) +/* 1AC350 8027DA70 0080882D */ daddu $s1, $a0, $zero +/* 1AC354 8027DA74 AFBF0018 */ sw $ra, 0x18($sp) +/* 1AC358 8027DA78 AFB00010 */ sw $s0, 0x10($sp) +/* 1AC35C 8027DA7C 8E30000C */ lw $s0, 0xc($s1) +/* 1AC360 8027DA80 8E050000 */ lw $a1, ($s0) +/* 1AC364 8027DA84 0C0B1EAF */ jal get_variable +/* 1AC368 8027DA88 26100004 */ addiu $s0, $s0, 4 +/* 1AC36C 8027DA8C 0040202D */ daddu $a0, $v0, $zero +/* 1AC370 8027DA90 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1AC374 8027DA94 14820002 */ bne $a0, $v0, .L8027DAA0 +/* 1AC378 8027DA98 8E100000 */ lw $s0, ($s0) +/* 1AC37C 8027DA9C 8E240148 */ lw $a0, 0x148($s1) +.L8027DAA0: +/* 1AC380 8027DAA0 0C09A75B */ jal get_actor +/* 1AC384 8027DAA4 00000000 */ nop +/* 1AC388 8027DAA8 8C420008 */ lw $v0, 8($v0) +/* 1AC38C 8027DAAC 0220202D */ daddu $a0, $s1, $zero +/* 1AC390 8027DAB0 90460005 */ lbu $a2, 5($v0) +/* 1AC394 8027DAB4 0C0B2026 */ jal set_variable +/* 1AC398 8027DAB8 0200282D */ daddu $a1, $s0, $zero +/* 1AC39C 8027DABC 8FBF0018 */ lw $ra, 0x18($sp) +/* 1AC3A0 8027DAC0 8FB10014 */ lw $s1, 0x14($sp) +/* 1AC3A4 8027DAC4 8FB00010 */ lw $s0, 0x10($sp) +/* 1AC3A8 8027DAC8 24020002 */ addiu $v0, $zero, 2 +/* 1AC3AC 8027DACC 03E00008 */ jr $ra +/* 1AC3B0 8027DAD0 27BD0020 */ addiu $sp, $sp, 0x20 + +GetCurrentActorType: +/* 1AC3B4 8027DAD4 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 1AC3B8 8027DAD8 AFB10014 */ sw $s1, 0x14($sp) +/* 1AC3BC 8027DADC 0080882D */ daddu $s1, $a0, $zero +/* 1AC3C0 8027DAE0 AFBF0018 */ sw $ra, 0x18($sp) +/* 1AC3C4 8027DAE4 AFB00010 */ sw $s0, 0x10($sp) +/* 1AC3C8 8027DAE8 8E30000C */ lw $s0, 0xc($s1) +/* 1AC3CC 8027DAEC 8E050000 */ lw $a1, ($s0) +/* 1AC3D0 8027DAF0 0C0B1EAF */ jal get_variable +/* 1AC3D4 8027DAF4 26100004 */ addiu $s0, $s0, 4 +/* 1AC3D8 8027DAF8 0040202D */ daddu $a0, $v0, $zero +/* 1AC3DC 8027DAFC 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1AC3E0 8027DB00 14820002 */ bne $a0, $v0, .L8027DB0C +/* 1AC3E4 8027DB04 8E100000 */ lw $s0, ($s0) +/* 1AC3E8 8027DB08 8E240148 */ lw $a0, 0x148($s1) +.L8027DB0C: +/* 1AC3EC 8027DB0C 0C09A75B */ jal get_actor +/* 1AC3F0 8027DB10 00000000 */ nop +/* 1AC3F4 8027DB14 0220202D */ daddu $a0, $s1, $zero +/* 1AC3F8 8027DB18 90460136 */ lbu $a2, 0x136($v0) +/* 1AC3FC 8027DB1C 0C0B2026 */ jal set_variable +/* 1AC400 8027DB20 0200282D */ daddu $a1, $s0, $zero +/* 1AC404 8027DB24 8FBF0018 */ lw $ra, 0x18($sp) +/* 1AC408 8027DB28 8FB10014 */ lw $s1, 0x14($sp) +/* 1AC40C 8027DB2C 8FB00010 */ lw $s0, 0x10($sp) +/* 1AC410 8027DB30 24020002 */ addiu $v0, $zero, 2 +/* 1AC414 8027DB34 03E00008 */ jr $ra +/* 1AC418 8027DB38 27BD0020 */ addiu $sp, $sp, 0x20 + +GetLastDamage: +/* 1AC41C 8027DB3C 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 1AC420 8027DB40 AFB10014 */ sw $s1, 0x14($sp) +/* 1AC424 8027DB44 0080882D */ daddu $s1, $a0, $zero +/* 1AC428 8027DB48 AFBF0018 */ sw $ra, 0x18($sp) +/* 1AC42C 8027DB4C AFB00010 */ sw $s0, 0x10($sp) +/* 1AC430 8027DB50 8E30000C */ lw $s0, 0xc($s1) +/* 1AC434 8027DB54 8E050000 */ lw $a1, ($s0) +/* 1AC438 8027DB58 0C0B1EAF */ jal get_variable +/* 1AC43C 8027DB5C 26100004 */ addiu $s0, $s0, 4 +/* 1AC440 8027DB60 0040202D */ daddu $a0, $v0, $zero +/* 1AC444 8027DB64 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1AC448 8027DB68 14820002 */ bne $a0, $v0, .L8027DB74 +/* 1AC44C 8027DB6C 00000000 */ nop +/* 1AC450 8027DB70 8E240148 */ lw $a0, 0x148($s1) +.L8027DB74: +/* 1AC454 8027DB74 0C09A75B */ jal get_actor +/* 1AC458 8027DB78 8E100000 */ lw $s0, ($s0) +/* 1AC45C 8027DB7C 0220202D */ daddu $a0, $s1, $zero +/* 1AC460 8027DB80 844601F8 */ lh $a2, 0x1f8($v0) +/* 1AC464 8027DB84 0C0B2026 */ jal set_variable +/* 1AC468 8027DB88 0200282D */ daddu $a1, $s0, $zero +/* 1AC46C 8027DB8C 8FBF0018 */ lw $ra, 0x18($sp) +/* 1AC470 8027DB90 8FB10014 */ lw $s1, 0x14($sp) +/* 1AC474 8027DB94 8FB00010 */ lw $s0, 0x10($sp) +/* 1AC478 8027DB98 24020002 */ addiu $v0, $zero, 2 +/* 1AC47C 8027DB9C 03E00008 */ jr $ra +/* 1AC480 8027DBA0 27BD0020 */ addiu $sp, $sp, 0x20 + +EnableActorGlow: +/* 1AC484 8027DBA4 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* 1AC488 8027DBA8 AFB20028 */ sw $s2, 0x28($sp) +/* 1AC48C 8027DBAC 0080902D */ daddu $s2, $a0, $zero +/* 1AC490 8027DBB0 AFBF002C */ sw $ra, 0x2c($sp) +/* 1AC494 8027DBB4 AFB10024 */ sw $s1, 0x24($sp) +/* 1AC498 8027DBB8 AFB00020 */ sw $s0, 0x20($sp) +/* 1AC49C 8027DBBC 8E51000C */ lw $s1, 0xc($s2) +/* 1AC4A0 8027DBC0 8E250000 */ lw $a1, ($s1) +/* 1AC4A4 8027DBC4 0C0B1EAF */ jal get_variable +/* 1AC4A8 8027DBC8 26310004 */ addiu $s1, $s1, 4 +/* 1AC4AC 8027DBCC 0040802D */ daddu $s0, $v0, $zero +/* 1AC4B0 8027DBD0 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1AC4B4 8027DBD4 16020002 */ bne $s0, $v0, .L8027DBE0 +/* 1AC4B8 8027DBD8 00000000 */ nop +/* 1AC4BC 8027DBDC 8E500148 */ lw $s0, 0x148($s2) +.L8027DBE0: +/* 1AC4C0 8027DBE0 8E250000 */ lw $a1, ($s1) +/* 1AC4C4 8027DBE4 0C0B1EAF */ jal get_variable +/* 1AC4C8 8027DBE8 0240202D */ daddu $a0, $s2, $zero +/* 1AC4CC 8027DBEC 0200202D */ daddu $a0, $s0, $zero +/* 1AC4D0 8027DBF0 0C09A75B */ jal get_actor +/* 1AC4D4 8027DBF4 0040802D */ daddu $s0, $v0, $zero +/* 1AC4D8 8027DBF8 0040882D */ daddu $s1, $v0, $zero +/* 1AC4DC 8027DBFC 16000013 */ bnez $s0, .L8027DC4C +/* 1AC4E0 8027DC00 A2300220 */ sb $s0, 0x220($s1) +/* 1AC4E4 8027DC04 8E3001F4 */ lw $s0, 0x1f4($s1) +/* 1AC4E8 8027DC08 1200000E */ beqz $s0, .L8027DC44 +/* 1AC4EC 8027DC0C 0220202D */ daddu $a0, $s1, $zero +.L8027DC10: +/* 1AC4F0 8027DC10 8E020094 */ lw $v0, 0x94($s0) +/* 1AC4F4 8027DC14 10400008 */ beqz $v0, .L8027DC38 +/* 1AC4F8 8027DC18 0000282D */ daddu $a1, $zero, $zero +/* 1AC4FC 8027DC1C 00A0302D */ daddu $a2, $a1, $zero +/* 1AC500 8027DC20 AFA00010 */ sw $zero, 0x10($sp) +/* 1AC504 8027DC24 AFA00014 */ sw $zero, 0x14($sp) +/* 1AC508 8027DC28 AFA00018 */ sw $zero, 0x18($sp) +/* 1AC50C 8027DC2C 8E040084 */ lw $a0, 0x84($s0) +/* 1AC510 8027DC30 0C0B7A25 */ jal func_802DE894 +/* 1AC514 8027DC34 00A0382D */ daddu $a3, $a1, $zero +.L8027DC38: +/* 1AC518 8027DC38 8E10000C */ lw $s0, 0xc($s0) +/* 1AC51C 8027DC3C 1600FFF4 */ bnez $s0, .L8027DC10 +/* 1AC520 8027DC40 0220202D */ daddu $a0, $s1, $zero +.L8027DC44: +/* 1AC524 8027DC44 0C099BBA */ jal func_80266EE8 +/* 1AC528 8027DC48 0000282D */ daddu $a1, $zero, $zero +.L8027DC4C: +/* 1AC52C 8027DC4C 8FBF002C */ lw $ra, 0x2c($sp) +/* 1AC530 8027DC50 8FB20028 */ lw $s2, 0x28($sp) +/* 1AC534 8027DC54 8FB10024 */ lw $s1, 0x24($sp) +/* 1AC538 8027DC58 8FB00020 */ lw $s0, 0x20($sp) +/* 1AC53C 8027DC5C 24020002 */ addiu $v0, $zero, 2 +/* 1AC540 8027DC60 03E00008 */ jr $ra +/* 1AC544 8027DC64 27BD0030 */ addiu $sp, $sp, 0x30 + +WasStatusInflicted: +/* 1AC548 8027DC68 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 1AC54C 8027DC6C AFB10014 */ sw $s1, 0x14($sp) +/* 1AC550 8027DC70 0080882D */ daddu $s1, $a0, $zero +/* 1AC554 8027DC74 AFBF0018 */ sw $ra, 0x18($sp) +/* 1AC558 8027DC78 AFB00010 */ sw $s0, 0x10($sp) +/* 1AC55C 8027DC7C 8E30000C */ lw $s0, 0xc($s1) +/* 1AC560 8027DC80 8E050000 */ lw $a1, ($s0) +/* 1AC564 8027DC84 0C0B1EAF */ jal get_variable +/* 1AC568 8027DC88 26100004 */ addiu $s0, $s0, 4 +/* 1AC56C 8027DC8C 3C02800E */ lui $v0, 0x800e +/* 1AC570 8027DC90 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 1AC574 8027DC94 8E050000 */ lw $a1, ($s0) +/* 1AC578 8027DC98 80460199 */ lb $a2, 0x199($v0) +/* 1AC57C 8027DC9C 0C0B2026 */ jal set_variable +/* 1AC580 8027DCA0 0220202D */ daddu $a0, $s1, $zero +/* 1AC584 8027DCA4 8FBF0018 */ lw $ra, 0x18($sp) +/* 1AC588 8027DCA8 8FB10014 */ lw $s1, 0x14($sp) +/* 1AC58C 8027DCAC 8FB00010 */ lw $s0, 0x10($sp) +/* 1AC590 8027DCB0 24020002 */ addiu $v0, $zero, 2 +/* 1AC594 8027DCB4 03E00008 */ jr $ra +/* 1AC598 8027DCB8 27BD0020 */ addiu $sp, $sp, 0x20 + +CopyStatusEffects: +/* 1AC59C 8027DCBC 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 1AC5A0 8027DCC0 AFB20018 */ sw $s2, 0x18($sp) +/* 1AC5A4 8027DCC4 0080902D */ daddu $s2, $a0, $zero +/* 1AC5A8 8027DCC8 AFBF0020 */ sw $ra, 0x20($sp) +/* 1AC5AC 8027DCCC AFB3001C */ sw $s3, 0x1c($sp) +/* 1AC5B0 8027DCD0 AFB10014 */ sw $s1, 0x14($sp) +/* 1AC5B4 8027DCD4 AFB00010 */ sw $s0, 0x10($sp) +/* 1AC5B8 8027DCD8 8E50000C */ lw $s0, 0xc($s2) +/* 1AC5BC 8027DCDC 8E050000 */ lw $a1, ($s0) +/* 1AC5C0 8027DCE0 0C0B1EAF */ jal get_variable +/* 1AC5C4 8027DCE4 26100004 */ addiu $s0, $s0, 4 +/* 1AC5C8 8027DCE8 2413FF81 */ addiu $s3, $zero, -0x7f +/* 1AC5CC 8027DCEC 14530002 */ bne $v0, $s3, .L8027DCF8 +/* 1AC5D0 8027DCF0 00000000 */ nop +/* 1AC5D4 8027DCF4 8E420148 */ lw $v0, 0x148($s2) +.L8027DCF8: +/* 1AC5D8 8027DCF8 0C09A75B */ jal get_actor +/* 1AC5DC 8027DCFC 0040202D */ daddu $a0, $v0, $zero +/* 1AC5E0 8027DD00 0240202D */ daddu $a0, $s2, $zero +/* 1AC5E4 8027DD04 8E050000 */ lw $a1, ($s0) +/* 1AC5E8 8027DD08 0C0B1EAF */ jal get_variable +/* 1AC5EC 8027DD0C 0040882D */ daddu $s1, $v0, $zero +/* 1AC5F0 8027DD10 14530002 */ bne $v0, $s3, .L8027DD1C +/* 1AC5F4 8027DD14 00000000 */ nop +/* 1AC5F8 8027DD18 8E420148 */ lw $v0, 0x148($s2) +.L8027DD1C: +/* 1AC5FC 8027DD1C 0C09A75B */ jal get_actor +/* 1AC600 8027DD20 0040202D */ daddu $a0, $v0, $zero +/* 1AC604 8027DD24 0040802D */ daddu $s0, $v0, $zero +/* 1AC608 8027DD28 82250210 */ lb $a1, 0x210($s1) +/* 1AC60C 8027DD2C 82260211 */ lb $a2, 0x211($s1) +/* 1AC610 8027DD30 0C0997D0 */ jal inflict_status +/* 1AC614 8027DD34 0200202D */ daddu $a0, $s0, $zero +/* 1AC618 8027DD38 82250212 */ lb $a1, 0x212($s1) +/* 1AC61C 8027DD3C 82260213 */ lb $a2, 0x213($s1) +/* 1AC620 8027DD40 0C0997D0 */ jal inflict_status +/* 1AC624 8027DD44 0200202D */ daddu $a0, $s0, $zero +/* 1AC628 8027DD48 82250214 */ lb $a1, 0x214($s1) +/* 1AC62C 8027DD4C 82260215 */ lb $a2, 0x215($s1) +/* 1AC630 8027DD50 0C0997D0 */ jal inflict_status +/* 1AC634 8027DD54 0200202D */ daddu $a0, $s0, $zero +/* 1AC638 8027DD58 82250216 */ lb $a1, 0x216($s1) +/* 1AC63C 8027DD5C 82260217 */ lb $a2, 0x217($s1) +/* 1AC640 8027DD60 0C0997D0 */ jal inflict_status +/* 1AC644 8027DD64 0200202D */ daddu $a0, $s0, $zero +/* 1AC648 8027DD68 82250218 */ lb $a1, 0x218($s1) +/* 1AC64C 8027DD6C 82260219 */ lb $a2, 0x219($s1) +/* 1AC650 8027DD70 0C0997D0 */ jal inflict_status +/* 1AC654 8027DD74 0200202D */ daddu $a0, $s0, $zero +/* 1AC658 8027DD78 A220021C */ sb $zero, 0x21c($s1) +/* 1AC65C 8027DD7C A200021C */ sb $zero, 0x21c($s0) +/* 1AC660 8027DD80 8FBF0020 */ lw $ra, 0x20($sp) +/* 1AC664 8027DD84 8FB3001C */ lw $s3, 0x1c($sp) +/* 1AC668 8027DD88 8FB20018 */ lw $s2, 0x18($sp) +/* 1AC66C 8027DD8C 8FB10014 */ lw $s1, 0x14($sp) +/* 1AC670 8027DD90 8FB00010 */ lw $s0, 0x10($sp) +/* 1AC674 8027DD94 24020002 */ addiu $v0, $zero, 2 +/* 1AC678 8027DD98 03E00008 */ jr $ra +/* 1AC67C 8027DD9C 27BD0028 */ addiu $sp, $sp, 0x28 + +ClearStatusEffects: +/* 1AC680 8027DDA0 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 1AC684 8027DDA4 AFB00010 */ sw $s0, 0x10($sp) +/* 1AC688 8027DDA8 0080802D */ daddu $s0, $a0, $zero +/* 1AC68C 8027DDAC AFBF0014 */ sw $ra, 0x14($sp) +/* 1AC690 8027DDB0 8E02000C */ lw $v0, 0xc($s0) +/* 1AC694 8027DDB4 0C0B1EAF */ jal get_variable +/* 1AC698 8027DDB8 8C450000 */ lw $a1, ($v0) +/* 1AC69C 8027DDBC 0040202D */ daddu $a0, $v0, $zero +/* 1AC6A0 8027DDC0 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1AC6A4 8027DDC4 14820002 */ bne $a0, $v0, .L8027DDD0 +/* 1AC6A8 8027DDC8 00000000 */ nop +/* 1AC6AC 8027DDCC 8E040148 */ lw $a0, 0x148($s0) +.L8027DDD0: +/* 1AC6B0 8027DDD0 0C09A75B */ jal get_actor +/* 1AC6B4 8027DDD4 00000000 */ nop +/* 1AC6B8 8027DDD8 0040802D */ daddu $s0, $v0, $zero +/* 1AC6BC 8027DDDC 82020210 */ lb $v0, 0x210($s0) +/* 1AC6C0 8027DDE0 10400005 */ beqz $v0, .L8027DDF8 +/* 1AC6C4 8027DDE4 00000000 */ nop +/* 1AC6C8 8027DDE8 86040436 */ lh $a0, 0x436($s0) +/* 1AC6CC 8027DDEC A2000211 */ sb $zero, 0x211($s0) +/* 1AC6D0 8027DDF0 0C011E26 */ jal func_80047898 +/* 1AC6D4 8027DDF4 A2000210 */ sb $zero, 0x210($s0) +.L8027DDF8: +/* 1AC6D8 8027DDF8 82020212 */ lb $v0, 0x212($s0) +/* 1AC6DC 8027DDFC 10400005 */ beqz $v0, .L8027DE14 +/* 1AC6E0 8027DE00 00000000 */ nop +/* 1AC6E4 8027DE04 86040436 */ lh $a0, 0x436($s0) +/* 1AC6E8 8027DE08 A2000213 */ sb $zero, 0x213($s0) +/* 1AC6EC 8027DE0C 0C011E68 */ jal func_800479A0 +/* 1AC6F0 8027DE10 A2000212 */ sb $zero, 0x212($s0) +.L8027DE14: +/* 1AC6F4 8027DE14 82020218 */ lb $v0, 0x218($s0) +/* 1AC6F8 8027DE18 10400005 */ beqz $v0, .L8027DE30 +/* 1AC6FC 8027DE1C 00000000 */ nop +/* 1AC700 8027DE20 86040436 */ lh $a0, 0x436($s0) +/* 1AC704 8027DE24 A2000219 */ sb $zero, 0x219($s0) +/* 1AC708 8027DE28 0C011EAA */ jal func_80047AA8 +/* 1AC70C 8027DE2C A2000218 */ sb $zero, 0x218($s0) +.L8027DE30: +/* 1AC710 8027DE30 82020214 */ lb $v0, 0x214($s0) +/* 1AC714 8027DE34 10400003 */ beqz $v0, .L8027DE44 +/* 1AC718 8027DE38 00000000 */ nop +/* 1AC71C 8027DE3C A2000215 */ sb $zero, 0x215($s0) +/* 1AC720 8027DE40 A2000214 */ sb $zero, 0x214($s0) +.L8027DE44: +/* 1AC724 8027DE44 8E020440 */ lw $v0, 0x440($s0) +/* 1AC728 8027DE48 A2000216 */ sb $zero, 0x216($s0) +/* 1AC72C 8027DE4C A2000217 */ sb $zero, 0x217($s0) +/* 1AC730 8027DE50 8C43000C */ lw $v1, 0xc($v0) +/* 1AC734 8027DE54 AC60003C */ sw $zero, 0x3c($v1) +/* 1AC738 8027DE58 A2000221 */ sb $zero, 0x221($s0) +/* 1AC73C 8027DE5C A2000222 */ sb $zero, 0x222($s0) +/* 1AC740 8027DE60 A2000220 */ sb $zero, 0x220($s0) +/* 1AC744 8027DE64 8FBF0014 */ lw $ra, 0x14($sp) +/* 1AC748 8027DE68 8FB00010 */ lw $s0, 0x10($sp) +/* 1AC74C 8027DE6C 24020002 */ addiu $v0, $zero, 2 +/* 1AC750 8027DE70 03E00008 */ jr $ra +/* 1AC754 8027DE74 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 1AC758 8027DE78 00000000 */ nop +/* 1AC75C 8027DE7C 00000000 */ nop +dispatch_event_partner: +/* 1AC760 8027DE80 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 1AC764 8027DE84 2405000A */ addiu $a1, $zero, 0xa +/* 1AC768 8027DE88 AFB00010 */ sw $s0, 0x10($sp) +/* 1AC76C 8027DE8C 3C10800E */ lui $s0, 0x800e +/* 1AC770 8027DE90 8E10C14C */ lw $s0, -0x3eb4($s0) +/* 1AC774 8027DE94 AFBF001C */ sw $ra, 0x1c($sp) +/* 1AC778 8027DE98 AFB20018 */ sw $s2, 0x18($sp) +/* 1AC77C 8027DE9C AFB10014 */ sw $s1, 0x14($sp) +/* 1AC780 8027DEA0 A20401F0 */ sb $a0, 0x1f0($s0) +/* 1AC784 8027DEA4 8E0401C8 */ lw $a0, 0x1c8($s0) +/* 1AC788 8027DEA8 8E1101D8 */ lw $s1, 0x1d8($s0) +/* 1AC78C 8027DEAC 8E1201E8 */ lw $s2, 0x1e8($s0) +/* 1AC790 8027DEB0 0C0B0CF8 */ jal start_script +/* 1AC794 8027DEB4 24060020 */ addiu $a2, $zero, 0x20 +/* 1AC798 8027DEB8 AE0201D8 */ sw $v0, 0x1d8($s0) +/* 1AC79C 8027DEBC 8C430144 */ lw $v1, 0x144($v0) +/* 1AC7A0 8027DEC0 AE0301E8 */ sw $v1, 0x1e8($s0) +/* 1AC7A4 8027DEC4 24030100 */ addiu $v1, $zero, 0x100 +/* 1AC7A8 8027DEC8 AC430148 */ sw $v1, 0x148($v0) +/* 1AC7AC 8027DECC 8E0201D4 */ lw $v0, 0x1d4($s0) +/* 1AC7B0 8027DED0 10400004 */ beqz $v0, .L8027DEE4 +/* 1AC7B4 8027DED4 00000000 */ nop +/* 1AC7B8 8027DED8 0C0B102B */ jal kill_script_by_ID +/* 1AC7BC 8027DEDC 8E0401E4 */ lw $a0, 0x1e4($s0) +/* 1AC7C0 8027DEE0 AE0001D4 */ sw $zero, 0x1d4($s0) +.L8027DEE4: +/* 1AC7C4 8027DEE4 12200003 */ beqz $s1, .L8027DEF4 +/* 1AC7C8 8027DEE8 00000000 */ nop +/* 1AC7CC 8027DEEC 0C0B102B */ jal kill_script_by_ID +/* 1AC7D0 8027DEF0 0240202D */ daddu $a0, $s2, $zero +.L8027DEF4: +/* 1AC7D4 8027DEF4 8FBF001C */ lw $ra, 0x1c($sp) +/* 1AC7D8 8027DEF8 8FB20018 */ lw $s2, 0x18($sp) +/* 1AC7DC 8027DEFC 8FB10014 */ lw $s1, 0x14($sp) +/* 1AC7E0 8027DF00 8FB00010 */ lw $s0, 0x10($sp) +/* 1AC7E4 8027DF04 03E00008 */ jr $ra +/* 1AC7E8 8027DF08 27BD0020 */ addiu $sp, $sp, 0x20 + +dispatch_event_partner_continue_turn: +/* 1AC7EC 8027DF0C 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 1AC7F0 8027DF10 2405000A */ addiu $a1, $zero, 0xa +/* 1AC7F4 8027DF14 AFB00010 */ sw $s0, 0x10($sp) +/* 1AC7F8 8027DF18 3C10800E */ lui $s0, 0x800e +/* 1AC7FC 8027DF1C 8E10C14C */ lw $s0, -0x3eb4($s0) +/* 1AC800 8027DF20 AFBF001C */ sw $ra, 0x1c($sp) +/* 1AC804 8027DF24 AFB20018 */ sw $s2, 0x18($sp) +/* 1AC808 8027DF28 AFB10014 */ sw $s1, 0x14($sp) +/* 1AC80C 8027DF2C A20401F0 */ sb $a0, 0x1f0($s0) +/* 1AC810 8027DF30 8E0401C8 */ lw $a0, 0x1c8($s0) +/* 1AC814 8027DF34 8E1101D8 */ lw $s1, 0x1d8($s0) +/* 1AC818 8027DF38 8E1201E8 */ lw $s2, 0x1e8($s0) +/* 1AC81C 8027DF3C 0C0B0CF8 */ jal start_script +/* 1AC820 8027DF40 24060020 */ addiu $a2, $zero, 0x20 +/* 1AC824 8027DF44 AE0201D8 */ sw $v0, 0x1d8($s0) +/* 1AC828 8027DF48 8C430144 */ lw $v1, 0x144($v0) +/* 1AC82C 8027DF4C AE0301E8 */ sw $v1, 0x1e8($s0) +/* 1AC830 8027DF50 24030100 */ addiu $v1, $zero, 0x100 +/* 1AC834 8027DF54 12200003 */ beqz $s1, .L8027DF64 +/* 1AC838 8027DF58 AC430148 */ sw $v1, 0x148($v0) +/* 1AC83C 8027DF5C 0C0B102B */ jal kill_script_by_ID +/* 1AC840 8027DF60 0240202D */ daddu $a0, $s2, $zero +.L8027DF64: +/* 1AC844 8027DF64 8FBF001C */ lw $ra, 0x1c($sp) +/* 1AC848 8027DF68 8FB20018 */ lw $s2, 0x18($sp) +/* 1AC84C 8027DF6C 8FB10014 */ lw $s1, 0x14($sp) +/* 1AC850 8027DF70 8FB00010 */ lw $s0, 0x10($sp) +/* 1AC854 8027DF74 03E00008 */ jr $ra +/* 1AC858 8027DF78 27BD0020 */ addiu $sp, $sp, 0x20 + +calc_partner_test_enemy: +/* 1AC85C 8027DF7C 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* 1AC860 8027DF80 AFB1001C */ sw $s1, 0x1c($sp) +/* 1AC864 8027DF84 3C11800E */ lui $s1, 0x800e +/* 1AC868 8027DF88 2631C070 */ addiu $s1, $s1, -0x3f90 +/* 1AC86C 8027DF8C AFBF002C */ sw $ra, 0x2c($sp) +/* 1AC870 8027DF90 AFB40028 */ sw $s4, 0x28($sp) +/* 1AC874 8027DF94 AFB30024 */ sw $s3, 0x24($sp) +/* 1AC878 8027DF98 AFB20020 */ sw $s2, 0x20($sp) +/* 1AC87C 8027DF9C AFB00018 */ sw $s0, 0x18($sp) +/* 1AC880 8027DFA0 962201A0 */ lhu $v0, 0x1a0($s1) +/* 1AC884 8027DFA4 862401A0 */ lh $a0, 0x1a0($s1) +/* 1AC888 8027DFA8 922301A2 */ lbu $v1, 0x1a2($s1) +/* 1AC88C 8027DFAC 8E3400DC */ lw $s4, 0xdc($s1) +/* 1AC890 8027DFB0 823201A2 */ lb $s2, 0x1a2($s1) +/* 1AC894 8027DFB4 A62201A4 */ sh $v0, 0x1a4($s1) +/* 1AC898 8027DFB8 0C09A75B */ jal get_actor +/* 1AC89C 8027DFBC A22301A6 */ sb $v1, 0x1a6($s1) +/* 1AC8A0 8027DFC0 0040982D */ daddu $s3, $v0, $zero +/* 1AC8A4 8027DFC4 126000CF */ beqz $s3, .L8027E304 +/* 1AC8A8 8027DFC8 2690000C */ addiu $s0, $s4, 0xc +/* 1AC8AC 8027DFCC 0260202D */ daddu $a0, $s3, $zero +/* 1AC8B0 8027DFD0 0C099117 */ jal get_actor_part +/* 1AC8B4 8027DFD4 0240282D */ daddu $a1, $s2, $zero +/* 1AC8B8 8027DFD8 0040902D */ daddu $s2, $v0, $zero +/* 1AC8BC 8027DFDC 16400003 */ bnez $s2, .L8027DFEC +/* 1AC8C0 8027DFE0 2402000C */ addiu $v0, $zero, 0xc +func_8027DFE4: +/* 1AC8C4 8027DFE4 0809F7F9 */ j func_8027DFE4 +/* 1AC8C8 8027DFE8 00000000 */ nop + +.L8027DFEC: +/* 1AC8CC 8027DFEC 82630214 */ lb $v1, 0x214($s3) +/* 1AC8D0 8027DFF0 106200C5 */ beq $v1, $v0, .L8027E308 +/* 1AC8D4 8027DFF4 24020008 */ addiu $v0, $zero, 8 +/* 1AC8D8 8027DFF8 8E44007C */ lw $a0, 0x7c($s2) +/* 1AC8DC 8027DFFC 30820020 */ andi $v0, $a0, 0x20 +/* 1AC8E0 8027E000 144000C1 */ bnez $v0, .L8027E308 +/* 1AC8E4 8027E004 24020006 */ addiu $v0, $zero, 6 +/* 1AC8E8 8027E008 82630218 */ lb $v1, 0x218($s3) +/* 1AC8EC 8027E00C 2402000E */ addiu $v0, $zero, 0xe +/* 1AC8F0 8027E010 106200BD */ beq $v1, $v0, .L8027E308 +/* 1AC8F4 8027E014 24020006 */ addiu $v0, $zero, 6 +/* 1AC8F8 8027E018 8E220188 */ lw $v0, 0x188($s1) +/* 1AC8FC 8027E01C 30420080 */ andi $v0, $v0, 0x80 +/* 1AC900 8027E020 1040000F */ beqz $v0, .L8027E060 +/* 1AC904 8027E024 30820010 */ andi $v0, $a0, 0x10 +/* 1AC908 8027E028 1040000E */ beqz $v0, .L8027E064 +/* 1AC90C 8027E02C 3C031000 */ lui $v1, 0x1000 +/* 1AC910 8027E030 8E620004 */ lw $v0, 4($s3) +/* 1AC914 8027E034 30420800 */ andi $v0, $v0, 0x800 +/* 1AC918 8027E038 1440000A */ bnez $v0, .L8027E064 +/* 1AC91C 8027E03C 24040108 */ addiu $a0, $zero, 0x108 +/* 1AC920 8027E040 C6000014 */ lwc1 $f0, 0x14($s0) +/* 1AC924 8027E044 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1AC928 8027E048 8E06000C */ lw $a2, 0xc($s0) +/* 1AC92C 8027E04C 8E070010 */ lw $a3, 0x10($s0) +/* 1AC930 8027E050 0C052757 */ jal play_sound_at_position +/* 1AC934 8027E054 0000282D */ daddu $a1, $zero, $zero +/* 1AC938 8027E058 0809F8C2 */ j func_8027E308 +/* 1AC93C 8027E05C 24020004 */ addiu $v0, $zero, 4 + +.L8027E060: +/* 1AC940 8027E060 3C031000 */ lui $v1, 0x1000 +.L8027E064: +/* 1AC944 8027E064 8E220188 */ lw $v0, 0x188($s1) +/* 1AC948 8027E068 34630080 */ ori $v1, $v1, 0x80 +/* 1AC94C 8027E06C 00431024 */ and $v0, $v0, $v1 +/* 1AC950 8027E070 1440001B */ bnez $v0, .L8027E0E0 +/* 1AC954 8027E074 3C031000 */ lui $v1, 0x1000 +/* 1AC958 8027E078 8E42007C */ lw $v0, 0x7c($s2) +/* 1AC95C 8027E07C 3C030001 */ lui $v1, 1 +/* 1AC960 8027E080 00431024 */ and $v0, $v0, $v1 +/* 1AC964 8027E084 10400016 */ beqz $v0, .L8027E0E0 +/* 1AC968 8027E088 3C031000 */ lui $v1, 0x1000 +/* 1AC96C 8027E08C 8E22018C */ lw $v0, 0x18c($s1) +/* 1AC970 8027E090 30420004 */ andi $v0, $v0, 4 +/* 1AC974 8027E094 14400012 */ bnez $v0, .L8027E0E0 +/* 1AC978 8027E098 0280202D */ daddu $a0, $s4, $zero +/* 1AC97C 8027E09C 0C099CAB */ jal heroes_is_ability_active +/* 1AC980 8027E0A0 24050002 */ addiu $a1, $zero, 2 +/* 1AC984 8027E0A4 1440000E */ bnez $v0, .L8027E0E0 +/* 1AC988 8027E0A8 3C031000 */ lui $v1, 0x1000 +/* 1AC98C 8027E0AC C6000014 */ lwc1 $f0, 0x14($s0) +/* 1AC990 8027E0B0 24040108 */ addiu $a0, $zero, 0x108 +/* 1AC994 8027E0B4 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1AC998 8027E0B8 8E06000C */ lw $a2, 0xc($s0) +/* 1AC99C 8027E0BC 8E070010 */ lw $a3, 0x10($s0) +/* 1AC9A0 8027E0C0 0C052757 */ jal play_sound_at_position +/* 1AC9A4 8027E0C4 0000282D */ daddu $a1, $zero, $zero +/* 1AC9A8 8027E0C8 24040001 */ addiu $a0, $zero, 1 +/* 1AC9AC 8027E0CC 0C09FEE7 */ jal dispatch_damage_event_partner_1 +/* 1AC9B0 8027E0D0 2405002A */ addiu $a1, $zero, 0x2a +/* 1AC9B4 8027E0D4 0260202D */ daddu $a0, $s3, $zero +/* 1AC9B8 8027E0D8 0809F8BB */ j func_8027E2EC +/* 1AC9BC 8027E0DC 2405001B */ addiu $a1, $zero, 0x1b + +.L8027E0E0: +/* 1AC9C0 8027E0E0 8E220188 */ lw $v0, 0x188($s1) +/* 1AC9C4 8027E0E4 34630040 */ ori $v1, $v1, 0x40 +/* 1AC9C8 8027E0E8 00431024 */ and $v0, $v0, $v1 +/* 1AC9CC 8027E0EC 14400009 */ bnez $v0, .L8027E114 +/* 1AC9D0 8027E0F0 00000000 */ nop +/* 1AC9D4 8027E0F4 8E42007C */ lw $v0, 0x7c($s2) +/* 1AC9D8 8027E0F8 30420002 */ andi $v0, $v0, 2 +/* 1AC9DC 8027E0FC 10400005 */ beqz $v0, .L8027E114 +/* 1AC9E0 8027E100 00000000 */ nop +/* 1AC9E4 8027E104 8E22018C */ lw $v0, 0x18c($s1) +/* 1AC9E8 8027E108 30420010 */ andi $v0, $v0, 0x10 +/* 1AC9EC 8027E10C 1040006B */ beqz $v0, .L8027E2BC +/* 1AC9F0 8027E110 00000000 */ nop +.L8027E114: +/* 1AC9F4 8027E114 8E230188 */ lw $v1, 0x188($s1) +/* 1AC9F8 8027E118 30628000 */ andi $v0, $v1, 0x8000 +/* 1AC9FC 8027E11C 10400079 */ beqz $v0, .L8027E304 +/* 1ACA00 8027E120 3C021000 */ lui $v0, 0x1000 +/* 1ACA04 8027E124 00621024 */ and $v0, $v1, $v0 +/* 1ACA08 8027E128 14400036 */ bnez $v0, .L8027E204 +/* 1ACA0C 8027E12C 00000000 */ nop +/* 1ACA10 8027E130 8E42007C */ lw $v0, 0x7c($s2) +/* 1ACA14 8027E134 30420010 */ andi $v0, $v0, 0x10 +/* 1ACA18 8027E138 10400015 */ beqz $v0, .L8027E190 +/* 1ACA1C 8027E13C 00000000 */ nop +/* 1ACA20 8027E140 8E620000 */ lw $v0, ($s3) +/* 1ACA24 8027E144 30420800 */ andi $v0, $v0, 0x800 +/* 1ACA28 8027E148 14400011 */ bnez $v0, .L8027E190 +/* 1ACA2C 8027E14C 00000000 */ nop +/* 1ACA30 8027E150 8E22018C */ lw $v0, 0x18c($s1) +/* 1ACA34 8027E154 30420001 */ andi $v0, $v0, 1 +/* 1ACA38 8027E158 1440000D */ bnez $v0, .L8027E190 +/* 1ACA3C 8027E15C 24040108 */ addiu $a0, $zero, 0x108 +/* 1ACA40 8027E160 C6000014 */ lwc1 $f0, 0x14($s0) +/* 1ACA44 8027E164 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1ACA48 8027E168 8E06000C */ lw $a2, 0xc($s0) +/* 1ACA4C 8027E16C 8E070010 */ lw $a3, 0x10($s0) +/* 1ACA50 8027E170 0C052757 */ jal play_sound_at_position +/* 1ACA54 8027E174 0000282D */ daddu $a1, $zero, $zero +/* 1ACA58 8027E178 24040001 */ addiu $a0, $zero, 1 +/* 1ACA5C 8027E17C 0C09FEE7 */ jal dispatch_damage_event_partner_1 +/* 1ACA60 8027E180 2405002A */ addiu $a1, $zero, 0x2a +/* 1ACA64 8027E184 0260202D */ daddu $a0, $s3, $zero +/* 1ACA68 8027E188 0809F8BB */ j func_8027E2EC +/* 1ACA6C 8027E18C 2405001B */ addiu $a1, $zero, 0x1b + +.L8027E190: +/* 1ACA70 8027E190 8E220188 */ lw $v0, 0x188($s1) +/* 1ACA74 8027E194 3C031000 */ lui $v1, 0x1000 +/* 1ACA78 8027E198 00431024 */ and $v0, $v0, $v1 +/* 1ACA7C 8027E19C 14400019 */ bnez $v0, .L8027E204 +/* 1ACA80 8027E1A0 3C030020 */ lui $v1, 0x20 +/* 1ACA84 8027E1A4 8E42007C */ lw $v0, 0x7c($s2) +/* 1ACA88 8027E1A8 00431024 */ and $v0, $v0, $v1 +/* 1ACA8C 8027E1AC 10400015 */ beqz $v0, .L8027E204 +/* 1ACA90 8027E1B0 00000000 */ nop +/* 1ACA94 8027E1B4 8E620000 */ lw $v0, ($s3) +/* 1ACA98 8027E1B8 30420800 */ andi $v0, $v0, 0x800 +/* 1ACA9C 8027E1BC 14400011 */ bnez $v0, .L8027E204 +/* 1ACAA0 8027E1C0 00000000 */ nop +/* 1ACAA4 8027E1C4 8E22018C */ lw $v0, 0x18c($s1) +/* 1ACAA8 8027E1C8 30420080 */ andi $v0, $v0, 0x80 +/* 1ACAAC 8027E1CC 1440000D */ bnez $v0, .L8027E204 +/* 1ACAB0 8027E1D0 24040108 */ addiu $a0, $zero, 0x108 +/* 1ACAB4 8027E1D4 C6000014 */ lwc1 $f0, 0x14($s0) +/* 1ACAB8 8027E1D8 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1ACABC 8027E1DC 8E06000C */ lw $a2, 0xc($s0) +/* 1ACAC0 8027E1E0 8E070010 */ lw $a3, 0x10($s0) +/* 1ACAC4 8027E1E4 0C052757 */ jal play_sound_at_position +/* 1ACAC8 8027E1E8 0000282D */ daddu $a1, $zero, $zero +/* 1ACACC 8027E1EC 24040001 */ addiu $a0, $zero, 1 +/* 1ACAD0 8027E1F0 0C09FEE7 */ jal dispatch_damage_event_partner_1 +/* 1ACAD4 8027E1F4 2405002A */ addiu $a1, $zero, 0x2a +/* 1ACAD8 8027E1F8 0260202D */ daddu $a0, $s3, $zero +/* 1ACADC 8027E1FC 0809F8BB */ j func_8027E2EC +/* 1ACAE0 8027E200 2405001B */ addiu $a1, $zero, 0x1b + +.L8027E204: +/* 1ACAE4 8027E204 82820212 */ lb $v0, 0x212($s4) +/* 1ACAE8 8027E208 2403000B */ addiu $v1, $zero, 0xb +/* 1ACAEC 8027E20C 5043001E */ beql $v0, $v1, .L8027E288 +/* 1ACAF0 8027E210 3C031000 */ lui $v1, 0x1000 +/* 1ACAF4 8027E214 82620212 */ lb $v0, 0x212($s3) +/* 1ACAF8 8027E218 10430005 */ beq $v0, $v1, .L8027E230 +/* 1ACAFC 8027E21C 00000000 */ nop +/* 1ACB00 8027E220 8E42007C */ lw $v0, 0x7c($s2) +/* 1ACB04 8027E224 30420080 */ andi $v0, $v0, 0x80 +/* 1ACB08 8027E228 10400017 */ beqz $v0, .L8027E288 +/* 1ACB0C 8027E22C 3C031000 */ lui $v1, 0x1000 +.L8027E230: +/* 1ACB10 8027E230 8E220188 */ lw $v0, 0x188($s1) +/* 1ACB14 8027E234 3C031000 */ lui $v1, 0x1000 +/* 1ACB18 8027E238 00431024 */ and $v0, $v0, $v1 +/* 1ACB1C 8027E23C 14400012 */ bnez $v0, .L8027E288 +/* 1ACB20 8027E240 00000000 */ nop +/* 1ACB24 8027E244 8E22018C */ lw $v0, 0x18c($s1) +/* 1ACB28 8027E248 30420008 */ andi $v0, $v0, 8 +/* 1ACB2C 8027E24C 1440000E */ bnez $v0, .L8027E288 +/* 1ACB30 8027E250 2404037B */ addiu $a0, $zero, 0x37b +/* 1ACB34 8027E254 C6000014 */ lwc1 $f0, 0x14($s0) +/* 1ACB38 8027E258 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1ACB3C 8027E25C 8E06000C */ lw $a2, 0xc($s0) +/* 1ACB40 8027E260 8E070010 */ lw $a3, 0x10($s0) +/* 1ACB44 8027E264 0C052757 */ jal play_sound_at_position +/* 1ACB48 8027E268 0000282D */ daddu $a1, $zero, $zero +/* 1ACB4C 8027E26C 0C09451D */ jal func_80251474 +/* 1ACB50 8027E270 0280202D */ daddu $a0, $s4, $zero +/* 1ACB54 8027E274 24040001 */ addiu $a0, $zero, 1 +/* 1ACB58 8027E278 0C09FEE7 */ jal dispatch_damage_event_partner_1 +/* 1ACB5C 8027E27C 2405002F */ addiu $a1, $zero, 0x2f +/* 1ACB60 8027E280 0809F8C2 */ j func_8027E308 +/* 1ACB64 8027E284 2402FFFF */ addiu $v0, $zero, -1 + +.L8027E288: +/* 1ACB68 8027E288 8E220188 */ lw $v0, 0x188($s1) +/* 1ACB6C 8027E28C 34630040 */ ori $v1, $v1, 0x40 +/* 1ACB70 8027E290 00431024 */ and $v0, $v0, $v1 +/* 1ACB74 8027E294 14400019 */ bnez $v0, .L8027E2FC +/* 1ACB78 8027E298 0260202D */ daddu $a0, $s3, $zero +/* 1ACB7C 8027E29C 8E42007C */ lw $v0, 0x7c($s2) +/* 1ACB80 8027E2A0 30420002 */ andi $v0, $v0, 2 +/* 1ACB84 8027E2A4 10400015 */ beqz $v0, .L8027E2FC +/* 1ACB88 8027E2A8 00000000 */ nop +/* 1ACB8C 8027E2AC 8E22018C */ lw $v0, 0x18c($s1) +/* 1ACB90 8027E2B0 30420010 */ andi $v0, $v0, 0x10 +/* 1ACB94 8027E2B4 14400011 */ bnez $v0, .L8027E2FC +/* 1ACB98 8027E2B8 00000000 */ nop +.L8027E2BC: +/* 1ACB9C 8027E2BC C6000014 */ lwc1 $f0, 0x14($s0) +/* 1ACBA0 8027E2C0 240400EA */ addiu $a0, $zero, 0xea +/* 1ACBA4 8027E2C4 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1ACBA8 8027E2C8 8E06000C */ lw $a2, 0xc($s0) +/* 1ACBAC 8027E2CC 8E070010 */ lw $a3, 0x10($s0) +/* 1ACBB0 8027E2D0 0C052757 */ jal play_sound_at_position +/* 1ACBB4 8027E2D4 0000282D */ daddu $a1, $zero, $zero +/* 1ACBB8 8027E2D8 24040001 */ addiu $a0, $zero, 1 +/* 1ACBBC 8027E2DC 0C09FEE7 */ jal dispatch_damage_event_partner_1 +/* 1ACBC0 8027E2E0 2405002C */ addiu $a1, $zero, 0x2c +/* 1ACBC4 8027E2E4 0260202D */ daddu $a0, $s3, $zero +/* 1ACBC8 8027E2E8 2405001C */ addiu $a1, $zero, 0x1c +func_8027E2EC: +/* 1ACBCC 8027E2EC 0C09DC58 */ jal dispatch_event_actor +/* 1ACBD0 8027E2F0 00000000 */ nop +/* 1ACBD4 8027E2F4 0809F8C2 */ j func_8027E308 +/* 1ACBD8 8027E2F8 2402FFFF */ addiu $v0, $zero, -1 + +.L8027E2FC: +/* 1ACBDC 8027E2FC 0C09DC58 */ jal dispatch_event_actor +/* 1ACBE0 8027E300 2405003A */ addiu $a1, $zero, 0x3a +.L8027E304: +/* 1ACBE4 8027E304 0000102D */ daddu $v0, $zero, $zero +func_8027E308: +.L8027E308: +/* 1ACBE8 8027E308 8FBF002C */ lw $ra, 0x2c($sp) +/* 1ACBEC 8027E30C 8FB40028 */ lw $s4, 0x28($sp) +/* 1ACBF0 8027E310 8FB30024 */ lw $s3, 0x24($sp) +/* 1ACBF4 8027E314 8FB20020 */ lw $s2, 0x20($sp) +/* 1ACBF8 8027E318 8FB1001C */ lw $s1, 0x1c($sp) +/* 1ACBFC 8027E31C 8FB00018 */ lw $s0, 0x18($sp) +/* 1ACC00 8027E320 03E00008 */ jr $ra +/* 1ACC04 8027E324 27BD0030 */ addiu $sp, $sp, 0x30 + +calc_partner_damage_enemy: +/* 1ACC08 8027E328 27BDFFA8 */ addiu $sp, $sp, -0x58 +/* 1ACC0C 8027E32C AFB40040 */ sw $s4, 0x40($sp) +/* 1ACC10 8027E330 3C14800E */ lui $s4, 0x800e +/* 1ACC14 8027E334 2694C070 */ addiu $s4, $s4, -0x3f90 +/* 1ACC18 8027E338 AFBF0054 */ sw $ra, 0x54($sp) +/* 1ACC1C 8027E33C AFBE0050 */ sw $fp, 0x50($sp) +/* 1ACC20 8027E340 AFB7004C */ sw $s7, 0x4c($sp) +/* 1ACC24 8027E344 AFB60048 */ sw $s6, 0x48($sp) +/* 1ACC28 8027E348 AFB50044 */ sw $s5, 0x44($sp) +/* 1ACC2C 8027E34C AFB3003C */ sw $s3, 0x3c($sp) +/* 1ACC30 8027E350 AFB20038 */ sw $s2, 0x38($sp) +/* 1ACC34 8027E354 AFB10034 */ sw $s1, 0x34($sp) +/* 1ACC38 8027E358 AFB00030 */ sw $s0, 0x30($sp) +/* 1ACC3C 8027E35C AFA00020 */ sw $zero, 0x20($sp) +/* 1ACC40 8027E360 AFA00024 */ sw $zero, 0x24($sp) +/* 1ACC44 8027E364 AFA00028 */ sw $zero, 0x28($sp) +/* 1ACC48 8027E368 AFA0002C */ sw $zero, 0x2c($sp) +/* 1ACC4C 8027E36C 8E8800DC */ lw $t0, 0xdc($s4) +/* 1ACC50 8027E370 0000F02D */ daddu $fp, $zero, $zero +/* 1ACC54 8027E374 A2800199 */ sb $zero, 0x199($s4) +/* 1ACC58 8027E378 A6800180 */ sh $zero, 0x180($s4) +/* 1ACC5C 8027E37C AFA80018 */ sw $t0, 0x18($sp) +/* 1ACC60 8027E380 968301A0 */ lhu $v1, 0x1a0($s4) +/* 1ACC64 8027E384 868401A0 */ lh $a0, 0x1a0($s4) +/* 1ACC68 8027E388 928201A2 */ lbu $v0, 0x1a2($s4) +/* 1ACC6C 8027E38C 95050192 */ lhu $a1, 0x192($t0) +/* 1ACC70 8027E390 829001A2 */ lb $s0, 0x1a2($s4) +/* 1ACC74 8027E394 03C0A82D */ daddu $s5, $fp, $zero +/* 1ACC78 8027E398 A68301A4 */ sh $v1, 0x1a4($s4) +/* 1ACC7C 8027E39C A28201A6 */ sb $v0, 0x1a6($s4) +/* 1ACC80 8027E3A0 0C09A75B */ jal get_actor +/* 1ACC84 8027E3A4 A68501A8 */ sh $a1, 0x1a8($s4) +/* 1ACC88 8027E3A8 8FA80018 */ lw $t0, 0x18($sp) +/* 1ACC8C 8027E3AC 0040982D */ daddu $s3, $v0, $zero +/* 1ACC90 8027E3B0 16600003 */ bnez $s3, .L8027E3C0 +/* 1ACC94 8027E3B4 2512000C */ addiu $s2, $t0, 0xc +.L8027E3B8: +/* 1ACC98 8027E3B8 0809FE67 */ j func_8027F99C +/* 1ACC9C 8027E3BC 0000102D */ daddu $v0, $zero, $zero + +.L8027E3C0: +/* 1ACCA0 8027E3C0 0260202D */ daddu $a0, $s3, $zero +/* 1ACCA4 8027E3C4 0C099117 */ jal get_actor_part +/* 1ACCA8 8027E3C8 0200282D */ daddu $a1, $s0, $zero +/* 1ACCAC 8027E3CC 0040B02D */ daddu $s6, $v0, $zero +/* 1ACCB0 8027E3D0 56C00003 */ bnezl $s6, .L8027E3E0 +/* 1ACCB4 8027E3D4 A66001F8 */ sh $zero, 0x1f8($s3) +func_8027E3D8: +/* 1ACCB8 8027E3D8 0809F8F6 */ j func_8027E3D8 +/* 1ACCBC 8027E3DC 00000000 */ nop + +.L8027E3E0: +/* 1ACCC0 8027E3E0 3C02800E */ lui $v0, 0x800e +/* 1ACCC4 8027E3E4 8C42C070 */ lw $v0, -0x3f90($v0) +/* 1ACCC8 8027E3E8 30420800 */ andi $v0, $v0, 0x800 +/* 1ACCCC 8027E3EC 1040000C */ beqz $v0, .L8027E420 +/* 1ACCD0 8027E3F0 24080002 */ addiu $t0, $zero, 2 +/* 1ACCD4 8027E3F4 24110017 */ addiu $s1, $zero, 0x17 +/* 1ACCD8 8027E3F8 AFA8001C */ sw $t0, 0x1c($sp) +/* 1ACCDC 8027E3FC C6400014 */ lwc1 $f0, 0x14($s2) +/* 1ACCE0 8027E400 2404010C */ addiu $a0, $zero, 0x10c +/* 1ACCE4 8027E404 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1ACCE8 8027E408 8E46000C */ lw $a2, 0xc($s2) +/* 1ACCEC 8027E40C 8E470010 */ lw $a3, 0x10($s2) +/* 1ACCF0 8027E410 0C052757 */ jal play_sound_at_position +/* 1ACCF4 8027E414 0000282D */ daddu $a1, $zero, $zero +/* 1ACCF8 8027E418 0809FB1B */ j func_8027EC6C +/* 1ACCFC 8027E41C 00000000 */ nop + +.L8027E420: +/* 1ACD00 8027E420 8EC4007C */ lw $a0, 0x7c($s6) +/* 1ACD04 8027E424 30820020 */ andi $v0, $a0, 0x20 +/* 1ACD08 8027E428 1440055C */ bnez $v0, .L8027F99C +/* 1ACD0C 8027E42C 24020006 */ addiu $v0, $zero, 6 +/* 1ACD10 8027E430 82630218 */ lb $v1, 0x218($s3) +/* 1ACD14 8027E434 2402000E */ addiu $v0, $zero, 0xe +/* 1ACD18 8027E438 10620007 */ beq $v1, $v0, .L8027E458 +/* 1ACD1C 8027E43C 30820800 */ andi $v0, $a0, 0x800 +/* 1ACD20 8027E440 10400007 */ beqz $v0, .L8027E460 +/* 1ACD24 8027E444 00000000 */ nop +/* 1ACD28 8027E448 8E820188 */ lw $v0, 0x188($s4) +/* 1ACD2C 8027E44C 30420800 */ andi $v0, $v0, 0x800 +/* 1ACD30 8027E450 14400003 */ bnez $v0, .L8027E460 +/* 1ACD34 8027E454 00000000 */ nop +.L8027E458: +/* 1ACD38 8027E458 0809FE67 */ j func_8027F99C +/* 1ACD3C 8027E45C 24020006 */ addiu $v0, $zero, 6 + +.L8027E460: +/* 1ACD40 8027E460 82630214 */ lb $v1, 0x214($s3) +/* 1ACD44 8027E464 2402000C */ addiu $v0, $zero, 0xc +/* 1ACD48 8027E468 14620019 */ bne $v1, $v0, .L8027E4D0 +/* 1ACD4C 8027E46C 2404010C */ addiu $a0, $zero, 0x10c +/* 1ACD50 8027E470 C6400014 */ lwc1 $f0, 0x14($s2) +/* 1ACD54 8027E474 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1ACD58 8027E478 8E46000C */ lw $a2, 0xc($s2) +/* 1ACD5C 8027E47C 8E470010 */ lw $a3, 0x10($s2) +/* 1ACD60 8027E480 0C052757 */ jal play_sound_at_position +/* 1ACD64 8027E484 0000282D */ daddu $a1, $zero, $zero +/* 1ACD68 8027E488 24020001 */ addiu $v0, $zero, 1 +/* 1ACD6C 8027E48C AFA20010 */ sw $v0, 0x10($sp) +/* 1ACD70 8027E490 AFA20014 */ sw $v0, 0x14($sp) +/* 1ACD74 8027E494 C64C000C */ lwc1 $f12, 0xc($s2) +/* 1ACD78 8027E498 C64E0010 */ lwc1 $f14, 0x10($s2) +/* 1ACD7C 8027E49C 8E460014 */ lw $a2, 0x14($s2) +/* 1ACD80 8027E4A0 0C093BF8 */ jal func_8024EFE0 +/* 1ACD84 8027E4A4 0000382D */ daddu $a3, $zero, $zero +/* 1ACD88 8027E4A8 AFA00010 */ sw $zero, 0x10($sp) +/* 1ACD8C 8027E4AC C64C000C */ lwc1 $f12, 0xc($s2) +/* 1ACD90 8027E4B0 C64E0010 */ lwc1 $f14, 0x10($s2) +/* 1ACD94 8027E4B4 8E460014 */ lw $a2, 0x14($s2) +/* 1ACD98 8027E4B8 0C09996B */ jal show_damage_popup +/* 1ACD9C 8027E4BC 0000382D */ daddu $a3, $zero, $zero +/* 1ACDA0 8027E4C0 3C02800E */ lui $v0, 0x800e +/* 1ACDA4 8027E4C4 8C42C070 */ lw $v0, -0x3f90($v0) +/* 1ACDA8 8027E4C8 0809FB19 */ j func_8027EC64 +/* 1ACDAC 8027E4CC 30420240 */ andi $v0, $v0, 0x240 + +.L8027E4D0: +/* 1ACDB0 8027E4D0 8EC20080 */ lw $v0, 0x80($s6) +/* 1ACDB4 8027E4D4 8E830188 */ lw $v1, 0x188($s4) +/* 1ACDB8 8027E4D8 00431024 */ and $v0, $v0, $v1 +/* 1ACDBC 8027E4DC 10400003 */ beqz $v0, .L8027E4EC +/* 1ACDC0 8027E4E0 30620080 */ andi $v0, $v1, 0x80 +/* 1ACDC4 8027E4E4 24080001 */ addiu $t0, $zero, 1 +/* 1ACDC8 8027E4E8 AFA80020 */ sw $t0, 0x20($sp) +.L8027E4EC: +/* 1ACDCC 8027E4EC 10400005 */ beqz $v0, .L8027E504 +/* 1ACDD0 8027E4F0 00000000 */ nop +/* 1ACDD4 8027E4F4 8EC2007C */ lw $v0, 0x7c($s6) +/* 1ACDD8 8027E4F8 30420010 */ andi $v0, $v0, 0x10 +/* 1ACDDC 8027E4FC 14400084 */ bnez $v0, .L8027E710 +/* 1ACDE0 8027E500 00000000 */ nop +.L8027E504: +/* 1ACDE4 8027E504 8E820188 */ lw $v0, 0x188($s4) +/* 1ACDE8 8027E508 3C031000 */ lui $v1, 0x1000 +/* 1ACDEC 8027E50C 00431024 */ and $v0, $v0, $v1 +/* 1ACDF0 8027E510 1440001E */ bnez $v0, .L8027E58C +/* 1ACDF4 8027E514 00000000 */ nop +/* 1ACDF8 8027E518 8EC2007C */ lw $v0, 0x7c($s6) +/* 1ACDFC 8027E51C 30428000 */ andi $v0, $v0, 0x8000 +/* 1ACE00 8027E520 1040001A */ beqz $v0, .L8027E58C +/* 1ACE04 8027E524 0260202D */ daddu $a0, $s3, $zero +/* 1ACE08 8027E528 0C09DC58 */ jal dispatch_event_actor +/* 1ACE0C 8027E52C 24050022 */ addiu $a1, $zero, 0x22 +/* 1ACE10 8027E530 8E82018C */ lw $v0, 0x18c($s4) +/* 1ACE14 8027E534 30420002 */ andi $v0, $v0, 2 +/* 1ACE18 8027E538 1440000A */ bnez $v0, .L8027E564 +/* 1ACE1C 8027E53C 240400EA */ addiu $a0, $zero, 0xea +/* 1ACE20 8027E540 C6400014 */ lwc1 $f0, 0x14($s2) +/* 1ACE24 8027E544 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1ACE28 8027E548 8E46000C */ lw $a2, 0xc($s2) +/* 1ACE2C 8027E54C 8E470010 */ lw $a3, 0x10($s2) +/* 1ACE30 8027E550 0C052757 */ jal play_sound_at_position +/* 1ACE34 8027E554 0000282D */ daddu $a1, $zero, $zero +/* 1ACE38 8027E558 24040001 */ addiu $a0, $zero, 1 +/* 1ACE3C 8027E55C 0809FE62 */ j func_8027F988 +/* 1ACE40 8027E560 2405002C */ addiu $a1, $zero, 0x2c + +.L8027E564: +/* 1ACE44 8027E564 C6400014 */ lwc1 $f0, 0x14($s2) +/* 1ACE48 8027E568 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1ACE4C 8027E56C 8E46000C */ lw $a2, 0xc($s2) +/* 1ACE50 8027E570 8E470010 */ lw $a3, 0x10($s2) +/* 1ACE54 8027E574 0C052757 */ jal play_sound_at_position +/* 1ACE58 8027E578 0000282D */ daddu $a1, $zero, $zero +/* 1ACE5C 8027E57C 3C02800E */ lui $v0, 0x800e +/* 1ACE60 8027E580 8C42C070 */ lw $v0, -0x3f90($v0) +/* 1ACE64 8027E584 0809FB19 */ j func_8027EC64 +/* 1ACE68 8027E588 30420240 */ andi $v0, $v0, 0x240 + +.L8027E58C: +/* 1ACE6C 8027E58C 8E820188 */ lw $v0, 0x188($s4) +/* 1ACE70 8027E590 34630040 */ ori $v1, $v1, 0x40 +/* 1ACE74 8027E594 00431024 */ and $v0, $v0, $v1 +/* 1ACE78 8027E598 14400015 */ bnez $v0, .L8027E5F0 +/* 1ACE7C 8027E59C 3C031000 */ lui $v1, 0x1000 +/* 1ACE80 8027E5A0 8EC2007C */ lw $v0, 0x7c($s6) +/* 1ACE84 8027E5A4 30420002 */ andi $v0, $v0, 2 +/* 1ACE88 8027E5A8 10400011 */ beqz $v0, .L8027E5F0 +/* 1ACE8C 8027E5AC 00000000 */ nop +/* 1ACE90 8027E5B0 8E82018C */ lw $v0, 0x18c($s4) +/* 1ACE94 8027E5B4 30420010 */ andi $v0, $v0, 0x10 +/* 1ACE98 8027E5B8 1440000D */ bnez $v0, .L8027E5F0 +/* 1ACE9C 8027E5BC 240400EA */ addiu $a0, $zero, 0xea +/* 1ACEA0 8027E5C0 C6400014 */ lwc1 $f0, 0x14($s2) +/* 1ACEA4 8027E5C4 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1ACEA8 8027E5C8 8E46000C */ lw $a2, 0xc($s2) +/* 1ACEAC 8027E5CC 8E470010 */ lw $a3, 0x10($s2) +/* 1ACEB0 8027E5D0 0C052757 */ jal play_sound_at_position +/* 1ACEB4 8027E5D4 0000282D */ daddu $a1, $zero, $zero +/* 1ACEB8 8027E5D8 24040001 */ addiu $a0, $zero, 1 +/* 1ACEBC 8027E5DC 0C09FEE7 */ jal dispatch_damage_event_partner_1 +/* 1ACEC0 8027E5E0 2405002C */ addiu $a1, $zero, 0x2c +/* 1ACEC4 8027E5E4 0260202D */ daddu $a0, $s3, $zero +/* 1ACEC8 8027E5E8 0809F9D0 */ j func_8027E740 +/* 1ACECC 8027E5EC 2405001C */ addiu $a1, $zero, 0x1c + +.L8027E5F0: +/* 1ACED0 8027E5F0 8E820188 */ lw $v0, 0x188($s4) +/* 1ACED4 8027E5F4 34630080 */ ori $v1, $v1, 0x80 +/* 1ACED8 8027E5F8 00431024 */ and $v0, $v0, $v1 +/* 1ACEDC 8027E5FC 14400009 */ bnez $v0, .L8027E624 +/* 1ACEE0 8027E600 3C030001 */ lui $v1, 1 +/* 1ACEE4 8027E604 8EC2007C */ lw $v0, 0x7c($s6) +/* 1ACEE8 8027E608 00431024 */ and $v0, $v0, $v1 +/* 1ACEEC 8027E60C 10400005 */ beqz $v0, .L8027E624 +/* 1ACEF0 8027E610 00000000 */ nop +/* 1ACEF4 8027E614 8E82018C */ lw $v0, 0x18c($s4) +/* 1ACEF8 8027E618 30420004 */ andi $v0, $v0, 4 +/* 1ACEFC 8027E61C 1040003C */ beqz $v0, .L8027E710 +/* 1ACF00 8027E620 00000000 */ nop +.L8027E624: +/* 1ACF04 8027E624 3C10800E */ lui $s0, 0x800e +/* 1ACF08 8027E628 2610C070 */ addiu $s0, $s0, -0x3f90 +/* 1ACF0C 8027E62C 8E020000 */ lw $v0, ($s0) +/* 1ACF10 8027E630 30420020 */ andi $v0, $v0, 0x20 +/* 1ACF14 8027E634 10400014 */ beqz $v0, .L8027E688 +/* 1ACF18 8027E638 00000000 */ nop +/* 1ACF1C 8027E63C 8E820188 */ lw $v0, 0x188($s4) +/* 1ACF20 8027E640 30420002 */ andi $v0, $v0, 2 +/* 1ACF24 8027E644 10400010 */ beqz $v0, .L8027E688 +/* 1ACF28 8027E648 00000000 */ nop +/* 1ACF2C 8027E64C 8EC2007C */ lw $v0, 0x7c($s6) +/* 1ACF30 8027E650 30420600 */ andi $v0, $v0, 0x600 +/* 1ACF34 8027E654 1040000C */ beqz $v0, .L8027E688 +/* 1ACF38 8027E658 240400EA */ addiu $a0, $zero, 0xea +/* 1ACF3C 8027E65C C6400014 */ lwc1 $f0, 0x14($s2) +/* 1ACF40 8027E660 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1ACF44 8027E664 8E46000C */ lw $a2, 0xc($s2) +/* 1ACF48 8027E668 8E470010 */ lw $a3, 0x10($s2) +/* 1ACF4C 8027E66C 0C052757 */ jal play_sound_at_position +/* 1ACF50 8027E670 0000282D */ daddu $a1, $zero, $zero +/* 1ACF54 8027E674 0260202D */ daddu $a0, $s3, $zero +/* 1ACF58 8027E678 0C09DC58 */ jal dispatch_event_actor +/* 1ACF5C 8027E67C 24050022 */ addiu $a1, $zero, 0x22 +/* 1ACF60 8027E680 0809FB17 */ j func_8027EC5C +/* 1ACF64 8027E684 00000000 */ nop + +.L8027E688: +/* 1ACF68 8027E688 8E820188 */ lw $v0, 0x188($s4) +/* 1ACF6C 8027E68C 3C031000 */ lui $v1, 0x1000 +/* 1ACF70 8027E690 00431024 */ and $v0, $v0, $v1 +/* 1ACF74 8027E694 1440002E */ bnez $v0, .L8027E750 +/* 1ACF78 8027E698 3C030020 */ lui $v1, 0x20 +/* 1ACF7C 8027E69C 8EC2007C */ lw $v0, 0x7c($s6) +/* 1ACF80 8027E6A0 00431024 */ and $v0, $v0, $v1 +/* 1ACF84 8027E6A4 10400009 */ beqz $v0, .L8027E6CC +/* 1ACF88 8027E6A8 00000000 */ nop +/* 1ACF8C 8027E6AC 8E620000 */ lw $v0, ($s3) +/* 1ACF90 8027E6B0 30420800 */ andi $v0, $v0, 0x800 +/* 1ACF94 8027E6B4 14400005 */ bnez $v0, .L8027E6CC +/* 1ACF98 8027E6B8 00000000 */ nop +/* 1ACF9C 8027E6BC 8E82018C */ lw $v0, 0x18c($s4) +/* 1ACFA0 8027E6C0 30420080 */ andi $v0, $v0, 0x80 +/* 1ACFA4 8027E6C4 10400012 */ beqz $v0, .L8027E710 +/* 1ACFA8 8027E6C8 00000000 */ nop +.L8027E6CC: +/* 1ACFAC 8027E6CC 8E820188 */ lw $v0, 0x188($s4) +/* 1ACFB0 8027E6D0 3C031000 */ lui $v1, 0x1000 +/* 1ACFB4 8027E6D4 00431024 */ and $v0, $v0, $v1 +/* 1ACFB8 8027E6D8 1440001D */ bnez $v0, .L8027E750 +/* 1ACFBC 8027E6DC 00000000 */ nop +/* 1ACFC0 8027E6E0 8EC2007C */ lw $v0, 0x7c($s6) +/* 1ACFC4 8027E6E4 30420010 */ andi $v0, $v0, 0x10 +/* 1ACFC8 8027E6E8 10400019 */ beqz $v0, .L8027E750 +/* 1ACFCC 8027E6EC 00000000 */ nop +/* 1ACFD0 8027E6F0 8E620000 */ lw $v0, ($s3) +/* 1ACFD4 8027E6F4 30420800 */ andi $v0, $v0, 0x800 +/* 1ACFD8 8027E6F8 14400015 */ bnez $v0, .L8027E750 +/* 1ACFDC 8027E6FC 00000000 */ nop +/* 1ACFE0 8027E700 8E82018C */ lw $v0, 0x18c($s4) +/* 1ACFE4 8027E704 30420001 */ andi $v0, $v0, 1 +/* 1ACFE8 8027E708 14400011 */ bnez $v0, .L8027E750 +/* 1ACFEC 8027E70C 00000000 */ nop +.L8027E710: +/* 1ACFF0 8027E710 C6400014 */ lwc1 $f0, 0x14($s2) +/* 1ACFF4 8027E714 24040108 */ addiu $a0, $zero, 0x108 +/* 1ACFF8 8027E718 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1ACFFC 8027E71C 8E46000C */ lw $a2, 0xc($s2) +/* 1AD000 8027E720 8E470010 */ lw $a3, 0x10($s2) +/* 1AD004 8027E724 0C052757 */ jal play_sound_at_position +/* 1AD008 8027E728 0000282D */ daddu $a1, $zero, $zero +/* 1AD00C 8027E72C 24040001 */ addiu $a0, $zero, 1 +/* 1AD010 8027E730 0C09FEE7 */ jal dispatch_damage_event_partner_1 +/* 1AD014 8027E734 2405002A */ addiu $a1, $zero, 0x2a +/* 1AD018 8027E738 0260202D */ daddu $a0, $s3, $zero +/* 1AD01C 8027E73C 2405001B */ addiu $a1, $zero, 0x1b +func_8027E740: +/* 1AD020 8027E740 0C09DC58 */ jal dispatch_event_actor +/* 1AD024 8027E744 00000000 */ nop +/* 1AD028 8027E748 0809FE67 */ j func_8027F99C +/* 1AD02C 8027E74C 2402FFFF */ addiu $v0, $zero, -1 + +.L8027E750: +/* 1AD030 8027E750 3C10800E */ lui $s0, 0x800e +/* 1AD034 8027E754 2610C070 */ addiu $s0, $s0, -0x3f90 +/* 1AD038 8027E758 8E020000 */ lw $v0, ($s0) +/* 1AD03C 8027E75C 30420020 */ andi $v0, $v0, 0x20 +/* 1AD040 8027E760 10400014 */ beqz $v0, .L8027E7B4 +/* 1AD044 8027E764 00000000 */ nop +/* 1AD048 8027E768 8E820188 */ lw $v0, 0x188($s4) +/* 1AD04C 8027E76C 30420002 */ andi $v0, $v0, 2 +/* 1AD050 8027E770 10400010 */ beqz $v0, .L8027E7B4 +/* 1AD054 8027E774 00000000 */ nop +/* 1AD058 8027E778 8EC2007C */ lw $v0, 0x7c($s6) +/* 1AD05C 8027E77C 30420600 */ andi $v0, $v0, 0x600 +/* 1AD060 8027E780 1040000C */ beqz $v0, .L8027E7B4 +/* 1AD064 8027E784 240400EA */ addiu $a0, $zero, 0xea +/* 1AD068 8027E788 C6400014 */ lwc1 $f0, 0x14($s2) +/* 1AD06C 8027E78C E7A00010 */ swc1 $f0, 0x10($sp) +/* 1AD070 8027E790 8E46000C */ lw $a2, 0xc($s2) +/* 1AD074 8027E794 8E470010 */ lw $a3, 0x10($s2) +/* 1AD078 8027E798 0C052757 */ jal play_sound_at_position +/* 1AD07C 8027E79C 0000282D */ daddu $a1, $zero, $zero +/* 1AD080 8027E7A0 0260202D */ daddu $a0, $s3, $zero +/* 1AD084 8027E7A4 0C09DC58 */ jal dispatch_event_actor +/* 1AD088 8027E7A8 24050022 */ addiu $a1, $zero, 0x22 +/* 1AD08C 8027E7AC 0809FB17 */ j func_8027EC5C +/* 1AD090 8027E7B0 00000000 */ nop + +.L8027E7B4: +/* 1AD094 8027E7B4 8E830188 */ lw $v1, 0x188($s4) +/* 1AD098 8027E7B8 30628000 */ andi $v0, $v1, 0x8000 +/* 1AD09C 8027E7BC 10400015 */ beqz $v0, .L8027E814 +/* 1AD0A0 8027E7C0 2404000B */ addiu $a0, $zero, 0xb +/* 1AD0A4 8027E7C4 8FA80018 */ lw $t0, 0x18($sp) +/* 1AD0A8 8027E7C8 81020212 */ lb $v0, 0x212($t0) +/* 1AD0AC 8027E7CC 10440473 */ beq $v0, $a0, .L8027F99C +/* 1AD0B0 8027E7D0 0000102D */ daddu $v0, $zero, $zero +/* 1AD0B4 8027E7D4 82620212 */ lb $v0, 0x212($s3) +/* 1AD0B8 8027E7D8 10440005 */ beq $v0, $a0, .L8027E7F0 +/* 1AD0BC 8027E7DC 3C021000 */ lui $v0, 0x1000 +/* 1AD0C0 8027E7E0 8EC2007C */ lw $v0, 0x7c($s6) +/* 1AD0C4 8027E7E4 30420080 */ andi $v0, $v0, 0x80 +/* 1AD0C8 8027E7E8 1040FEF3 */ beqz $v0, .L8027E3B8 +/* 1AD0CC 8027E7EC 3C021000 */ lui $v0, 0x1000 +.L8027E7F0: +/* 1AD0D0 8027E7F0 00621024 */ and $v0, $v1, $v0 +/* 1AD0D4 8027E7F4 14400469 */ bnez $v0, .L8027F99C +/* 1AD0D8 8027E7F8 0000102D */ daddu $v0, $zero, $zero +/* 1AD0DC 8027E7FC 8E82018C */ lw $v0, 0x18c($s4) +/* 1AD0E0 8027E800 30420008 */ andi $v0, $v0, 8 +/* 1AD0E4 8027E804 10400454 */ beqz $v0, .L8027F958 +/* 1AD0E8 8027E808 0000102D */ daddu $v0, $zero, $zero +/* 1AD0EC 8027E80C 0809FE67 */ j func_8027F99C +/* 1AD0F0 8027E810 00000000 */ nop + +.L8027E814: +/* 1AD0F4 8027E814 30620002 */ andi $v0, $v1, 2 +/* 1AD0F8 8027E818 10400010 */ beqz $v0, .L8027E85C +/* 1AD0FC 8027E81C 0000202D */ daddu $a0, $zero, $zero +/* 1AD100 8027E820 C6440014 */ lwc1 $f4, 0x14($s2) +/* 1AD104 8027E824 3C0140A0 */ lui $at, 0x40a0 +/* 1AD108 8027E828 44810000 */ mtc1 $at, $f0 +/* 1AD10C 8027E82C 3C013F80 */ lui $at, 0x3f80 +/* 1AD110 8027E830 44811000 */ mtc1 $at, $f2 +/* 1AD114 8027E834 24020018 */ addiu $v0, $zero, 0x18 +/* 1AD118 8027E838 AFA20014 */ sw $v0, 0x14($sp) +/* 1AD11C 8027E83C 46002100 */ add.s $f4, $f4, $f0 +/* 1AD120 8027E840 E7A20010 */ swc1 $f2, 0x10($sp) +/* 1AD124 8027E844 8E45000C */ lw $a1, 0xc($s2) +/* 1AD128 8027E848 8E460010 */ lw $a2, 0x10($s2) +/* 1AD12C 8027E84C 44072000 */ mfc1 $a3, $f4 +/* 1AD130 8027E850 24080001 */ addiu $t0, $zero, 1 +/* 1AD134 8027E854 0C01C184 */ jal func_80070610 +/* 1AD138 8027E858 AFA80024 */ sw $t0, 0x24($sp) +.L8027E85C: +/* 1AD13C 8027E85C 8E820188 */ lw $v0, 0x188($s4) +/* 1AD140 8027E860 30420020 */ andi $v0, $v0, 0x20 +/* 1AD144 8027E864 10400005 */ beqz $v0, .L8027E87C +/* 1AD148 8027E868 00000000 */ nop +/* 1AD14C 8027E86C 0C09451D */ jal func_80251474 +/* 1AD150 8027E870 0260202D */ daddu $a0, $s3, $zero +/* 1AD154 8027E874 24080001 */ addiu $t0, $zero, 1 +/* 1AD158 8027E878 AFA80028 */ sw $t0, 0x28($sp) +.L8027E87C: +/* 1AD15C 8027E87C 8E820188 */ lw $v0, 0x188($s4) +/* 1AD160 8027E880 30420004 */ andi $v0, $v0, 4 +/* 1AD164 8027E884 1040000E */ beqz $v0, .L8027E8C0 +/* 1AD168 8027E888 24020018 */ addiu $v0, $zero, 0x18 +/* 1AD16C 8027E88C C6440014 */ lwc1 $f4, 0x14($s2) +/* 1AD170 8027E890 3C0140A0 */ lui $at, 0x40a0 +/* 1AD174 8027E894 44810000 */ mtc1 $at, $f0 +/* 1AD178 8027E898 3C013F80 */ lui $at, 0x3f80 +/* 1AD17C 8027E89C 44811000 */ mtc1 $at, $f2 +/* 1AD180 8027E8A0 AFA20014 */ sw $v0, 0x14($sp) +/* 1AD184 8027E8A4 46002100 */ add.s $f4, $f4, $f0 +/* 1AD188 8027E8A8 E7A20010 */ swc1 $f2, 0x10($sp) +/* 1AD18C 8027E8AC 8E45000C */ lw $a1, 0xc($s2) +/* 1AD190 8027E8B0 8E460010 */ lw $a2, 0x10($s2) +/* 1AD194 8027E8B4 44072000 */ mfc1 $a3, $f4 +/* 1AD198 8027E8B8 0C01C70C */ jal func_80071C30 +/* 1AD19C 8027E8BC 0000202D */ daddu $a0, $zero, $zero +.L8027E8C0: +/* 1AD1A0 8027E8C0 8E820188 */ lw $v0, 0x188($s4) +/* 1AD1A4 8027E8C4 30420008 */ andi $v0, $v0, 8 +/* 1AD1A8 8027E8C8 1040000C */ beqz $v0, .L8027E8FC +/* 1AD1AC 8027E8CC 0000202D */ daddu $a0, $zero, $zero +/* 1AD1B0 8027E8D0 C6420014 */ lwc1 $f2, 0x14($s2) +/* 1AD1B4 8027E8D4 3C0140A0 */ lui $at, 0x40a0 +/* 1AD1B8 8027E8D8 44810000 */ mtc1 $at, $f0 +/* 1AD1BC 8027E8DC 00000000 */ nop +/* 1AD1C0 8027E8E0 46001080 */ add.s $f2, $f2, $f0 +/* 1AD1C4 8027E8E4 8E45000C */ lw $a1, 0xc($s2) +/* 1AD1C8 8027E8E8 8E460010 */ lw $a2, 0x10($s2) +/* 1AD1CC 8027E8EC 44071000 */ mfc1 $a3, $f2 +/* 1AD1D0 8027E8F0 24080001 */ addiu $t0, $zero, 1 +/* 1AD1D4 8027E8F4 0C01C2A4 */ jal func_80070A90 +/* 1AD1D8 8027E8F8 AFA8002C */ sw $t0, 0x2c($sp) +.L8027E8FC: +/* 1AD1DC 8027E8FC 8FA80018 */ lw $t0, 0x18($sp) +/* 1AD1E0 8027E900 81020212 */ lb $v0, 0x212($t0) +/* 1AD1E4 8027E904 2403000B */ addiu $v1, $zero, 0xb +/* 1AD1E8 8027E908 10430016 */ beq $v0, $v1, .L8027E964 +/* 1AD1EC 8027E90C 00000000 */ nop +/* 1AD1F0 8027E910 82620212 */ lb $v0, 0x212($s3) +/* 1AD1F4 8027E914 10430005 */ beq $v0, $v1, .L8027E92C +/* 1AD1F8 8027E918 3C031000 */ lui $v1, 0x1000 +/* 1AD1FC 8027E91C 8EC2007C */ lw $v0, 0x7c($s6) +/* 1AD200 8027E920 30420080 */ andi $v0, $v0, 0x80 +/* 1AD204 8027E924 1040000F */ beqz $v0, .L8027E964 +/* 1AD208 8027E928 00000000 */ nop +.L8027E92C: +/* 1AD20C 8027E92C 8E820188 */ lw $v0, 0x188($s4) +/* 1AD210 8027E930 34630020 */ ori $v1, $v1, 0x20 +/* 1AD214 8027E934 00431024 */ and $v0, $v0, $v1 +/* 1AD218 8027E938 1440000A */ bnez $v0, .L8027E964 +/* 1AD21C 8027E93C 00000000 */ nop +/* 1AD220 8027E940 8E82018C */ lw $v0, 0x18c($s4) +/* 1AD224 8027E944 30420008 */ andi $v0, $v0, 8 +/* 1AD228 8027E948 14400006 */ bnez $v0, .L8027E964 +/* 1AD22C 8027E94C 00000000 */ nop +/* 1AD230 8027E950 3C03800E */ lui $v1, 0x800e +/* 1AD234 8027E954 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 1AD238 8027E958 8C620000 */ lw $v0, ($v1) +/* 1AD23C 8027E95C 34420020 */ ori $v0, $v0, 0x20 +/* 1AD240 8027E960 AC620000 */ sw $v0, ($v1) +.L8027E964: +/* 1AD244 8027E964 8EC2007C */ lw $v0, 0x7c($s6) +/* 1AD248 8027E968 3C03000C */ lui $v1, 0xc +/* 1AD24C 8027E96C 00431024 */ and $v0, $v0, $v1 +/* 1AD250 8027E970 10400005 */ beqz $v0, .L8027E988 +/* 1AD254 8027E974 3C03F7FF */ lui $v1, 0xf7ff +/* 1AD258 8027E978 8E820188 */ lw $v0, 0x188($s4) +/* 1AD25C 8027E97C 3463FFFF */ ori $v1, $v1, 0xffff +/* 1AD260 8027E980 00431024 */ and $v0, $v0, $v1 +/* 1AD264 8027E984 AE820188 */ sw $v0, 0x188($s4) +.L8027E988: +/* 1AD268 8027E988 8EC50078 */ lw $a1, 0x78($s6) +/* 1AD26C 8027E98C 8E860188 */ lw $a2, 0x188($s4) +/* 1AD270 8027E990 0C0998AF */ jal get_defense +/* 1AD274 8027E994 0260202D */ daddu $a0, $s3, $zero +/* 1AD278 8027E998 0040802D */ daddu $s0, $v0, $zero +/* 1AD27C 8027E99C 8E850188 */ lw $a1, 0x188($s4) +/* 1AD280 8027E9A0 3C020800 */ lui $v0, 0x800 +/* 1AD284 8027E9A4 00A21024 */ and $v0, $a1, $v0 +/* 1AD288 8027E9A8 14400003 */ bnez $v0, .L8027E9B8 +/* 1AD28C 8027E9AC 00000000 */ nop +/* 1AD290 8027E9B0 82620222 */ lb $v0, 0x222($s3) +/* 1AD294 8027E9B4 02028021 */ addu $s0, $s0, $v0 +.L8027E9B8: +/* 1AD298 8027E9B8 8684017E */ lh $a0, 0x17e($s4) +/* 1AD29C 8027E9BC 8FA80018 */ lw $t0, 0x18($sp) +/* 1AD2A0 8027E9C0 3C02800E */ lui $v0, 0x800e +/* 1AD2A4 8027E9C4 8C42C070 */ lw $v0, -0x3f90($v0) +/* 1AD2A8 8027E9C8 81030221 */ lb $v1, 0x221($t0) +/* 1AD2AC 8027E9CC 30420020 */ andi $v0, $v0, 0x20 +/* 1AD2B0 8027E9D0 1040000A */ beqz $v0, .L8027E9FC +/* 1AD2B4 8027E9D4 00832021 */ addu $a0, $a0, $v1 +/* 1AD2B8 8027E9D8 30A20200 */ andi $v0, $a1, 0x200 +/* 1AD2BC 8027E9DC 10400007 */ beqz $v0, .L8027E9FC +/* 1AD2C0 8027E9E0 00000000 */ nop +/* 1AD2C4 8027E9E4 8EC2007C */ lw $v0, 0x7c($s6) +/* 1AD2C8 8027E9E8 30420200 */ andi $v0, $v0, 0x200 +/* 1AD2CC 8027E9EC 10400003 */ beqz $v0, .L8027E9FC +/* 1AD2D0 8027E9F0 00000000 */ nop +/* 1AD2D4 8027E9F4 0000802D */ daddu $s0, $zero, $zero +/* 1AD2D8 8027E9F8 826401B8 */ lb $a0, 0x1b8($s3) +.L8027E9FC: +/* 1AD2DC 8027E9FC 8E820188 */ lw $v0, 0x188($s4) +/* 1AD2E0 8027EA00 3C034000 */ lui $v1, 0x4000 +/* 1AD2E4 8027EA04 00431024 */ and $v0, $v0, $v1 +/* 1AD2E8 8027EA08 10400003 */ beqz $v0, .L8027EA18 +/* 1AD2EC 8027EA0C 00000000 */ nop +/* 1AD2F0 8027EA10 0000802D */ daddu $s0, $zero, $zero +/* 1AD2F4 8027EA14 0200202D */ daddu $a0, $s0, $zero +.L8027EA18: +/* 1AD2F8 8027EA18 8FA80018 */ lw $t0, 0x18($sp) +/* 1AD2FC 8027EA1C 81030210 */ lb $v1, 0x210($t0) +/* 1AD300 8027EA20 2402000A */ addiu $v0, $zero, 0xa +/* 1AD304 8027EA24 14620008 */ bne $v1, $v0, .L8027EA48 +/* 1AD308 8027EA28 28820064 */ slti $v0, $a0, 0x64 +/* 1AD30C 8027EA2C 10800005 */ beqz $a0, .L8027EA44 +/* 1AD310 8027EA30 000417C2 */ srl $v0, $a0, 0x1f +/* 1AD314 8027EA34 00821021 */ addu $v0, $a0, $v0 +/* 1AD318 8027EA38 00022043 */ sra $a0, $v0, 1 +/* 1AD31C 8027EA3C 50800001 */ beql $a0, $zero, .L8027EA44 +/* 1AD320 8027EA40 24040001 */ addiu $a0, $zero, 1 +.L8027EA44: +/* 1AD324 8027EA44 28820064 */ slti $v0, $a0, 0x64 +.L8027EA48: +/* 1AD328 8027EA48 50400001 */ beql $v0, $zero, .L8027EA50 +/* 1AD32C 8027EA4C 24040063 */ addiu $a0, $zero, 0x63 +.L8027EA50: +/* 1AD330 8027EA50 04820001 */ bltzl $a0, .L8027EA58 +/* 1AD334 8027EA54 0000802D */ daddu $s0, $zero, $zero +.L8027EA58: +/* 1AD338 8027EA58 00902023 */ subu $a0, $a0, $s0 +/* 1AD33C 8027EA5C 04810002 */ bgez $a0, .L8027EA68 +/* 1AD340 8027EA60 A66001FA */ sh $zero, 0x1fa($s3) +/* 1AD344 8027EA64 0000202D */ daddu $a0, $zero, $zero +.L8027EA68: +/* 1AD348 8027EA68 8E820188 */ lw $v0, 0x188($s4) +/* 1AD34C 8027EA6C 3C030010 */ lui $v1, 0x10 +/* 1AD350 8027EA70 00431024 */ and $v0, $v0, $v1 +/* 1AD354 8027EA74 10400007 */ beqz $v0, .L8027EA94 +/* 1AD358 8027EA78 00000000 */ nop +/* 1AD35C 8027EA7C 18800005 */ blez $a0, .L8027EA94 +/* 1AD360 8027EA80 00000000 */ nop +/* 1AD364 8027EA84 82820198 */ lb $v0, 0x198($s4) +/* 1AD368 8027EA88 00822021 */ addu $a0, $a0, $v0 +/* 1AD36C 8027EA8C 58800001 */ blezl $a0, .L8027EA94 +/* 1AD370 8027EA90 24040001 */ addiu $a0, $zero, 1 +.L8027EA94: +/* 1AD374 8027EA94 1C800019 */ bgtz $a0, .L8027EAFC +/* 1AD378 8027EA98 A6800180 */ sh $zero, 0x180($s4) +/* 1AD37C 8027EA9C A66001FA */ sh $zero, 0x1fa($s3) +/* 1AD380 8027EAA0 8E820188 */ lw $v0, 0x188($s4) +/* 1AD384 8027EAA4 3C034000 */ lui $v1, 0x4000 +/* 1AD388 8027EAA8 00431024 */ and $v0, $v0, $v1 +/* 1AD38C 8027EAAC 1440000C */ bnez $v0, .L8027EAE0 +/* 1AD390 8027EAB0 24080002 */ addiu $t0, $zero, 2 +/* 1AD394 8027EAB4 24110017 */ addiu $s1, $zero, 0x17 +/* 1AD398 8027EAB8 AFA8001C */ sw $t0, 0x1c($sp) +/* 1AD39C 8027EABC C6400014 */ lwc1 $f0, 0x14($s2) +/* 1AD3A0 8027EAC0 2404010C */ addiu $a0, $zero, 0x10c +/* 1AD3A4 8027EAC4 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1AD3A8 8027EAC8 8E46000C */ lw $a2, 0xc($s2) +/* 1AD3AC 8027EACC 8E470010 */ lw $a3, 0x10($s2) +/* 1AD3B0 8027EAD0 0C052757 */ jal play_sound_at_position +/* 1AD3B4 8027EAD4 0000282D */ daddu $a1, $zero, $zero +/* 1AD3B8 8027EAD8 0809FAE5 */ j func_8027EB94 +/* 1AD3BC 8027EADC A6800180 */ sh $zero, 0x180($s4) + +.L8027EAE0: +/* 1AD3C0 8027EAE0 AFA8001C */ sw $t0, 0x1c($sp) +/* 1AD3C4 8027EAE4 826201B8 */ lb $v0, 0x1b8($s3) +/* 1AD3C8 8027EAE8 1C400002 */ bgtz $v0, .L8027EAF4 +/* 1AD3CC 8027EAEC 24110017 */ addiu $s1, $zero, 0x17 +/* 1AD3D0 8027EAF0 24110020 */ addiu $s1, $zero, 0x20 +.L8027EAF4: +/* 1AD3D4 8027EAF4 0809FAE5 */ j func_8027EB94 +/* 1AD3D8 8027EAF8 A6800180 */ sh $zero, 0x180($s4) + +.L8027EAFC: +/* 1AD3DC 8027EAFC 966201FC */ lhu $v0, 0x1fc($s3) +/* 1AD3E0 8027EB00 966301FA */ lhu $v1, 0x1fa($s3) +/* 1AD3E4 8027EB04 00441021 */ addu $v0, $v0, $a0 +/* 1AD3E8 8027EB08 00641823 */ subu $v1, $v1, $a0 +/* 1AD3EC 8027EB0C A66201FC */ sh $v0, 0x1fc($s3) +/* 1AD3F0 8027EB10 A66301FA */ sh $v1, 0x1fa($s3) +/* 1AD3F4 8027EB14 A6800180 */ sh $zero, 0x180($s4) +/* 1AD3F8 8027EB18 8EC20000 */ lw $v0, ($s6) +/* 1AD3FC 8027EB1C 24110009 */ addiu $s1, $zero, 9 +/* 1AD400 8027EB20 30422000 */ andi $v0, $v0, 0x2000 +/* 1AD404 8027EB24 14400016 */ bnez $v0, .L8027EB80 +/* 1AD408 8027EB28 AFA0001C */ sw $zero, 0x1c($sp) +/* 1AD40C 8027EB2C 3C02800E */ lui $v0, 0x800e +/* 1AD410 8027EB30 8C42C070 */ lw $v0, -0x3f90($v0) +/* 1AD414 8027EB34 3C030200 */ lui $v1, 0x200 +/* 1AD418 8027EB38 00431024 */ and $v0, $v0, $v1 +/* 1AD41C 8027EB3C 14400010 */ bnez $v0, .L8027EB80 +/* 1AD420 8027EB40 00000000 */ nop +/* 1AD424 8027EB44 8FA80020 */ lw $t0, 0x20($sp) +/* 1AD428 8027EB48 1500000D */ bnez $t0, .L8027EB80 +/* 1AD42C 8027EB4C 00000000 */ nop +/* 1AD430 8027EB50 8EC20004 */ lw $v0, 4($s6) +/* 1AD434 8027EB54 30420004 */ andi $v0, $v0, 4 +/* 1AD438 8027EB58 14400009 */ bnez $v0, .L8027EB80 +/* 1AD43C 8027EB5C 00000000 */ nop +/* 1AD440 8027EB60 926201B8 */ lbu $v0, 0x1b8($s3) +/* 1AD444 8027EB64 00441023 */ subu $v0, $v0, $a0 +/* 1AD448 8027EB68 A26201B8 */ sb $v0, 0x1b8($s3) +/* 1AD44C 8027EB6C 00021600 */ sll $v0, $v0, 0x18 +/* 1AD450 8027EB70 1C400003 */ bgtz $v0, .L8027EB80 +/* 1AD454 8027EB74 00000000 */ nop +/* 1AD458 8027EB78 A26001B8 */ sb $zero, 0x1b8($s3) +/* 1AD45C 8027EB7C 24110020 */ addiu $s1, $zero, 0x20 +.L8027EB80: +/* 1AD460 8027EB80 96820180 */ lhu $v0, 0x180($s4) +/* 1AD464 8027EB84 00441021 */ addu $v0, $v0, $a0 +/* 1AD468 8027EB88 A6820180 */ sh $v0, 0x180($s4) +/* 1AD46C 8027EB8C A66201F8 */ sh $v0, 0x1f8($s3) +/* 1AD470 8027EB90 A66001FA */ sh $zero, 0x1fa($s3) +func_8027EB94: +/* 1AD474 8027EB94 8EC20000 */ lw $v0, ($s6) +/* 1AD478 8027EB98 30422000 */ andi $v0, $v0, 0x2000 +/* 1AD47C 8027EB9C 10400033 */ beqz $v0, .L8027EC6C +/* 1AD480 8027EBA0 2403000B */ addiu $v1, $zero, 0xb +/* 1AD484 8027EBA4 8FA80018 */ lw $t0, 0x18($sp) +/* 1AD488 8027EBA8 81020212 */ lb $v0, 0x212($t0) +/* 1AD48C 8027EBAC 10430011 */ beq $v0, $v1, .L8027EBF4 +/* 1AD490 8027EBB0 00000000 */ nop +/* 1AD494 8027EBB4 82620212 */ lb $v0, 0x212($s3) +/* 1AD498 8027EBB8 10430005 */ beq $v0, $v1, .L8027EBD0 +/* 1AD49C 8027EBBC 00000000 */ nop +/* 1AD4A0 8027EBC0 8EC2007C */ lw $v0, 0x7c($s6) +/* 1AD4A4 8027EBC4 30420080 */ andi $v0, $v0, 0x80 +/* 1AD4A8 8027EBC8 1040000A */ beqz $v0, .L8027EBF4 +/* 1AD4AC 8027EBCC 00000000 */ nop +.L8027EBD0: +/* 1AD4B0 8027EBD0 8E820188 */ lw $v0, 0x188($s4) +/* 1AD4B4 8027EBD4 3C031000 */ lui $v1, 0x1000 +/* 1AD4B8 8027EBD8 00431024 */ and $v0, $v0, $v1 +/* 1AD4BC 8027EBDC 14400005 */ bnez $v0, .L8027EBF4 +/* 1AD4C0 8027EBE0 00000000 */ nop +/* 1AD4C4 8027EBE4 8E82018C */ lw $v0, 0x18c($s4) +/* 1AD4C8 8027EBE8 30420008 */ andi $v0, $v0, 8 +/* 1AD4CC 8027EBEC 1040035A */ beqz $v0, .L8027F958 +/* 1AD4D0 8027EBF0 00000000 */ nop +.L8027EBF4: +/* 1AD4D4 8027EBF4 3C10800E */ lui $s0, 0x800e +/* 1AD4D8 8027EBF8 2610C070 */ addiu $s0, $s0, -0x3f90 +/* 1AD4DC 8027EBFC 8E020000 */ lw $v0, ($s0) +/* 1AD4E0 8027EC00 30420020 */ andi $v0, $v0, 0x20 +/* 1AD4E4 8027EC04 14400002 */ bnez $v0, .L8027EC10 +/* 1AD4E8 8027EC08 24110019 */ addiu $s1, $zero, 0x19 +/* 1AD4EC 8027EC0C 24110017 */ addiu $s1, $zero, 0x17 +.L8027EC10: +/* 1AD4F0 8027EC10 C6400014 */ lwc1 $f0, 0x14($s2) +/* 1AD4F4 8027EC14 2404010C */ addiu $a0, $zero, 0x10c +/* 1AD4F8 8027EC18 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1AD4FC 8027EC1C 8E46000C */ lw $a2, 0xc($s2) +/* 1AD500 8027EC20 8E470010 */ lw $a3, 0x10($s2) +/* 1AD504 8027EC24 0C052757 */ jal play_sound_at_position +/* 1AD508 8027EC28 0000282D */ daddu $a1, $zero, $zero +/* 1AD50C 8027EC2C 0260202D */ daddu $a0, $s3, $zero +/* 1AD510 8027EC30 0C09DC58 */ jal dispatch_event_actor +/* 1AD514 8027EC34 0220282D */ daddu $a1, $s1, $zero +/* 1AD518 8027EC38 24020001 */ addiu $v0, $zero, 1 +/* 1AD51C 8027EC3C AFA20010 */ sw $v0, 0x10($sp) +/* 1AD520 8027EC40 24020003 */ addiu $v0, $zero, 3 +/* 1AD524 8027EC44 AFA20014 */ sw $v0, 0x14($sp) +/* 1AD528 8027EC48 C64C000C */ lwc1 $f12, 0xc($s2) +/* 1AD52C 8027EC4C C64E0010 */ lwc1 $f14, 0x10($s2) +/* 1AD530 8027EC50 8E460014 */ lw $a2, 0x14($s2) +/* 1AD534 8027EC54 0C093BF8 */ jal func_8024EFE0 +/* 1AD538 8027EC58 0000382D */ daddu $a3, $zero, $zero +func_8027EC5C: +/* 1AD53C 8027EC5C 8E020000 */ lw $v0, ($s0) +/* 1AD540 8027EC60 30420240 */ andi $v0, $v0, 0x240 +func_8027EC64: +/* 1AD544 8027EC64 0809FE67 */ j func_8027F99C +/* 1AD548 8027EC68 0002102B */ sltu $v0, $zero, $v0 + +func_8027EC6C: +.L8027EC6C: +/* 1AD54C 8027EC6C 3C02800E */ lui $v0, 0x800e +/* 1AD550 8027EC70 8C42C070 */ lw $v0, -0x3f90($v0) +/* 1AD554 8027EC74 30420020 */ andi $v0, $v0, 0x20 +/* 1AD558 8027EC78 1040000D */ beqz $v0, .L8027ECB0 +/* 1AD55C 8027EC7C 24020009 */ addiu $v0, $zero, 9 +/* 1AD560 8027EC80 52220001 */ beql $s1, $v0, .L8027EC88 +/* 1AD564 8027EC84 2411000A */ addiu $s1, $zero, 0xa +.L8027EC88: +/* 1AD568 8027EC88 24020017 */ addiu $v0, $zero, 0x17 +/* 1AD56C 8027EC8C 52220001 */ beql $s1, $v0, .L8027EC94 +/* 1AD570 8027EC90 24110019 */ addiu $s1, $zero, 0x19 +.L8027EC94: +/* 1AD574 8027EC94 826201B8 */ lb $v0, 0x1b8($s3) +/* 1AD578 8027EC98 1C400008 */ bgtz $v0, .L8027ECBC +/* 1AD57C 8027EC9C 24020019 */ addiu $v0, $zero, 0x19 +/* 1AD580 8027ECA0 52220006 */ beql $s1, $v0, .L8027ECBC +/* 1AD584 8027ECA4 24110020 */ addiu $s1, $zero, 0x20 +/* 1AD588 8027ECA8 0809FB2F */ j func_8027ECBC +/* 1AD58C 8027ECAC 00000000 */ nop + +.L8027ECB0: +/* 1AD590 8027ECB0 24020020 */ addiu $v0, $zero, 0x20 +/* 1AD594 8027ECB4 52220001 */ beql $s1, $v0, .L8027ECBC +/* 1AD598 8027ECB8 24110009 */ addiu $s1, $zero, 9 +func_8027ECBC: +.L8027ECBC: +/* 1AD59C 8027ECBC 3C10800E */ lui $s0, 0x800e +/* 1AD5A0 8027ECC0 2610C070 */ addiu $s0, $s0, -0x3f90 +/* 1AD5A4 8027ECC4 8E020000 */ lw $v0, ($s0) +/* 1AD5A8 8027ECC8 30420020 */ andi $v0, $v0, 0x20 +/* 1AD5AC 8027ECCC 14400007 */ bnez $v0, .L8027ECEC +/* 1AD5B0 8027ECD0 00000000 */ nop +/* 1AD5B4 8027ECD4 0C099B85 */ jal func_80266E14 +/* 1AD5B8 8027ECD8 02C0202D */ daddu $a0, $s6, $zero +/* 1AD5BC 8027ECDC 8E020000 */ lw $v0, ($s0) +/* 1AD5C0 8027ECE0 30420020 */ andi $v0, $v0, 0x20 +/* 1AD5C4 8027ECE4 10400055 */ beqz $v0, .L8027EE3C +/* 1AD5C8 8027ECE8 00000000 */ nop +.L8027ECEC: +/* 1AD5CC 8027ECEC 8E820188 */ lw $v0, 0x188($s4) +/* 1AD5D0 8027ECF0 3C030400 */ lui $v1, 0x400 +/* 1AD5D4 8027ECF4 00431024 */ and $v0, $v0, $v1 +/* 1AD5D8 8027ECF8 10400007 */ beqz $v0, .L8027ED18 +/* 1AD5DC 8027ECFC 2402000A */ addiu $v0, $zero, 0xa +/* 1AD5E0 8027ED00 52220001 */ beql $s1, $v0, .L8027ED08 +/* 1AD5E4 8027ED04 2411000B */ addiu $s1, $zero, 0xb +.L8027ED08: +/* 1AD5E8 8027ED08 24020020 */ addiu $v0, $zero, 0x20 +/* 1AD5EC 8027ED0C 52220001 */ beql $s1, $v0, .L8027ED14 +/* 1AD5F0 8027ED10 24110021 */ addiu $s1, $zero, 0x21 +.L8027ED14: +/* 1AD5F4 8027ED14 241E0001 */ addiu $fp, $zero, 1 +.L8027ED18: +/* 1AD5F8 8027ED18 3C02800E */ lui $v0, 0x800e +/* 1AD5FC 8027ED1C 8C42C070 */ lw $v0, -0x3f90($v0) +/* 1AD600 8027ED20 30420020 */ andi $v0, $v0, 0x20 +/* 1AD604 8027ED24 10400045 */ beqz $v0, .L8027EE3C +/* 1AD608 8027ED28 3C031000 */ lui $v1, 0x1000 +/* 1AD60C 8027ED2C 8E820188 */ lw $v0, 0x188($s4) +/* 1AD610 8027ED30 00431024 */ and $v0, $v0, $v1 +/* 1AD614 8027ED34 14400013 */ bnez $v0, .L8027ED84 +/* 1AD618 8027ED38 3C030010 */ lui $v1, 0x10 +/* 1AD61C 8027ED3C 8EC2007C */ lw $v0, 0x7c($s6) +/* 1AD620 8027ED40 00431024 */ and $v0, $v0, $v1 +/* 1AD624 8027ED44 1040000F */ beqz $v0, .L8027ED84 +/* 1AD628 8027ED48 24020009 */ addiu $v0, $zero, 9 +/* 1AD62C 8027ED4C 52220001 */ beql $s1, $v0, .L8027ED54 +/* 1AD630 8027ED50 24110015 */ addiu $s1, $zero, 0x15 +.L8027ED54: +/* 1AD634 8027ED54 2402000A */ addiu $v0, $zero, 0xa +/* 1AD638 8027ED58 52220001 */ beql $s1, $v0, .L8027ED60 +/* 1AD63C 8027ED5C 24110015 */ addiu $s1, $zero, 0x15 +.L8027ED60: +/* 1AD640 8027ED60 24020017 */ addiu $v0, $zero, 0x17 +/* 1AD644 8027ED64 52220001 */ beql $s1, $v0, .L8027ED6C +/* 1AD648 8027ED68 24110015 */ addiu $s1, $zero, 0x15 +.L8027ED6C: +/* 1AD64C 8027ED6C 24020019 */ addiu $v0, $zero, 0x19 +/* 1AD650 8027ED70 52220001 */ beql $s1, $v0, .L8027ED78 +/* 1AD654 8027ED74 24110015 */ addiu $s1, $zero, 0x15 +.L8027ED78: +/* 1AD658 8027ED78 24020020 */ addiu $v0, $zero, 0x20 +/* 1AD65C 8027ED7C 52220001 */ beql $s1, $v0, .L8027ED84 +/* 1AD660 8027ED80 24110028 */ addiu $s1, $zero, 0x28 +.L8027ED84: +/* 1AD664 8027ED84 3C02800E */ lui $v0, 0x800e +/* 1AD668 8027ED88 8C42C070 */ lw $v0, -0x3f90($v0) +/* 1AD66C 8027ED8C 30420020 */ andi $v0, $v0, 0x20 +/* 1AD670 8027ED90 1040002A */ beqz $v0, .L8027EE3C +/* 1AD674 8027ED94 00000000 */ nop +/* 1AD678 8027ED98 8E820188 */ lw $v0, 0x188($s4) +/* 1AD67C 8027ED9C 30420080 */ andi $v0, $v0, 0x80 +/* 1AD680 8027EDA0 1040000B */ beqz $v0, .L8027EDD0 +/* 1AD684 8027EDA4 00000000 */ nop +/* 1AD688 8027EDA8 8EC2007C */ lw $v0, 0x7c($s6) +/* 1AD68C 8027EDAC 30424000 */ andi $v0, $v0, 0x4000 +/* 1AD690 8027EDB0 10400007 */ beqz $v0, .L8027EDD0 +/* 1AD694 8027EDB4 2402000A */ addiu $v0, $zero, 0xa +/* 1AD698 8027EDB8 52220001 */ beql $s1, $v0, .L8027EDC0 +/* 1AD69C 8027EDBC 2411000C */ addiu $s1, $zero, 0xc +.L8027EDC0: +/* 1AD6A0 8027EDC0 24020019 */ addiu $v0, $zero, 0x19 +/* 1AD6A4 8027EDC4 52220001 */ beql $s1, $v0, .L8027EDCC +/* 1AD6A8 8027EDC8 2411000C */ addiu $s1, $zero, 0xc +.L8027EDCC: +/* 1AD6AC 8027EDCC 241E0001 */ addiu $fp, $zero, 1 +.L8027EDD0: +/* 1AD6B0 8027EDD0 3C02800E */ lui $v0, 0x800e +/* 1AD6B4 8027EDD4 8C42C070 */ lw $v0, -0x3f90($v0) +/* 1AD6B8 8027EDD8 30420020 */ andi $v0, $v0, 0x20 +/* 1AD6BC 8027EDDC 10400017 */ beqz $v0, .L8027EE3C +/* 1AD6C0 8027EDE0 00000000 */ nop +/* 1AD6C4 8027EDE4 8E820188 */ lw $v0, 0x188($s4) +/* 1AD6C8 8027EDE8 30420080 */ andi $v0, $v0, 0x80 +/* 1AD6CC 8027EDEC 1040000E */ beqz $v0, .L8027EE28 +/* 1AD6D0 8027EDF0 00000000 */ nop +/* 1AD6D4 8027EDF4 8EC2007C */ lw $v0, 0x7c($s6) +/* 1AD6D8 8027EDF8 30421000 */ andi $v0, $v0, 0x1000 +/* 1AD6DC 8027EDFC 1040000A */ beqz $v0, .L8027EE28 +/* 1AD6E0 8027EE00 2402000A */ addiu $v0, $zero, 0xa +/* 1AD6E4 8027EE04 52220001 */ beql $s1, $v0, .L8027EE0C +/* 1AD6E8 8027EE08 2411000D */ addiu $s1, $zero, 0xd +.L8027EE0C: +/* 1AD6EC 8027EE0C 24020019 */ addiu $v0, $zero, 0x19 +/* 1AD6F0 8027EE10 52220001 */ beql $s1, $v0, .L8027EE18 +/* 1AD6F4 8027EE14 2411000D */ addiu $s1, $zero, 0xd +.L8027EE18: +/* 1AD6F8 8027EE18 8E620000 */ lw $v0, ($s3) +/* 1AD6FC 8027EE1C 30420400 */ andi $v0, $v0, 0x400 +/* 1AD700 8027EE20 50400001 */ beql $v0, $zero, .L8027EE28 +/* 1AD704 8027EE24 241E0001 */ addiu $fp, $zero, 1 +.L8027EE28: +/* 1AD708 8027EE28 3C02800E */ lui $v0, 0x800e +/* 1AD70C 8027EE2C 8C42C070 */ lw $v0, -0x3f90($v0) +/* 1AD710 8027EE30 30420020 */ andi $v0, $v0, 0x20 +/* 1AD714 8027EE34 14400017 */ bnez $v0, .L8027EE94 +/* 1AD718 8027EE38 00000000 */ nop +.L8027EE3C: +/* 1AD71C 8027EE3C 8E820188 */ lw $v0, 0x188($s4) +/* 1AD720 8027EE40 30420080 */ andi $v0, $v0, 0x80 +/* 1AD724 8027EE44 1040000E */ beqz $v0, .L8027EE80 +/* 1AD728 8027EE48 00000000 */ nop +/* 1AD72C 8027EE4C 8EC2007C */ lw $v0, 0x7c($s6) +/* 1AD730 8027EE50 30421000 */ andi $v0, $v0, 0x1000 +/* 1AD734 8027EE54 1040000A */ beqz $v0, .L8027EE80 +/* 1AD738 8027EE58 24020009 */ addiu $v0, $zero, 9 +/* 1AD73C 8027EE5C 52220001 */ beql $s1, $v0, .L8027EE64 +/* 1AD740 8027EE60 2411000D */ addiu $s1, $zero, 0xd +.L8027EE64: +/* 1AD744 8027EE64 24020017 */ addiu $v0, $zero, 0x17 +/* 1AD748 8027EE68 52220001 */ beql $s1, $v0, .L8027EE70 +/* 1AD74C 8027EE6C 2411000D */ addiu $s1, $zero, 0xd +.L8027EE70: +/* 1AD750 8027EE70 8E620000 */ lw $v0, ($s3) +/* 1AD754 8027EE74 30420400 */ andi $v0, $v0, 0x400 +/* 1AD758 8027EE78 50400001 */ beql $v0, $zero, .L8027EE80 +/* 1AD75C 8027EE7C 241E0001 */ addiu $fp, $zero, 1 +.L8027EE80: +/* 1AD760 8027EE80 3C02800E */ lui $v0, 0x800e +/* 1AD764 8027EE84 8C42C070 */ lw $v0, -0x3f90($v0) +/* 1AD768 8027EE88 30420020 */ andi $v0, $v0, 0x20 +/* 1AD76C 8027EE8C 104000DA */ beqz $v0, .L8027F1F8 +/* 1AD770 8027EE90 00000000 */ nop +.L8027EE94: +/* 1AD774 8027EE94 8E820188 */ lw $v0, 0x188($s4) +/* 1AD778 8027EE98 30420200 */ andi $v0, $v0, 0x200 +/* 1AD77C 8027EE9C 10400010 */ beqz $v0, .L8027EEE0 +/* 1AD780 8027EEA0 00000000 */ nop +/* 1AD784 8027EEA4 8EC2007C */ lw $v0, 0x7c($s6) +/* 1AD788 8027EEA8 30420200 */ andi $v0, $v0, 0x200 +/* 1AD78C 8027EEAC 1040000C */ beqz $v0, .L8027EEE0 +/* 1AD790 8027EEB0 24020020 */ addiu $v0, $zero, 0x20 +/* 1AD794 8027EEB4 52220001 */ beql $s1, $v0, .L8027EEBC +/* 1AD798 8027EEB8 24110022 */ addiu $s1, $zero, 0x22 +.L8027EEBC: +/* 1AD79C 8027EEBC 24020019 */ addiu $v0, $zero, 0x19 +/* 1AD7A0 8027EEC0 52220001 */ beql $s1, $v0, .L8027EEC8 +/* 1AD7A4 8027EEC4 24110022 */ addiu $s1, $zero, 0x22 +.L8027EEC8: +/* 1AD7A8 8027EEC8 2402000A */ addiu $v0, $zero, 0xa +/* 1AD7AC 8027EECC 52220001 */ beql $s1, $v0, .L8027EED4 +/* 1AD7B0 8027EED0 24110022 */ addiu $s1, $zero, 0x22 +.L8027EED4: +/* 1AD7B4 8027EED4 241E0001 */ addiu $fp, $zero, 1 +/* 1AD7B8 8027EED8 03C0402D */ daddu $t0, $fp, $zero +/* 1AD7BC 8027EEDC AFA80024 */ sw $t0, 0x24($sp) +.L8027EEE0: +/* 1AD7C0 8027EEE0 3C02800E */ lui $v0, 0x800e +/* 1AD7C4 8027EEE4 8C42C070 */ lw $v0, -0x3f90($v0) +/* 1AD7C8 8027EEE8 30420020 */ andi $v0, $v0, 0x20 +/* 1AD7CC 8027EEEC 104000C2 */ beqz $v0, .L8027F1F8 +/* 1AD7D0 8027EEF0 00000000 */ nop +/* 1AD7D4 8027EEF4 8E820188 */ lw $v0, 0x188($s4) +/* 1AD7D8 8027EEF8 30420202 */ andi $v0, $v0, 0x202 +/* 1AD7DC 8027EEFC 10400008 */ beqz $v0, .L8027EF20 +/* 1AD7E0 8027EF00 2402000A */ addiu $v0, $zero, 0xa +/* 1AD7E4 8027EF04 52220001 */ beql $s1, $v0, .L8027EF0C +/* 1AD7E8 8027EF08 2411000E */ addiu $s1, $zero, 0xe +.L8027EF0C: +/* 1AD7EC 8027EF0C 24020020 */ addiu $v0, $zero, 0x20 +/* 1AD7F0 8027EF10 52220001 */ beql $s1, $v0, .L8027EF18 +/* 1AD7F4 8027EF14 24110024 */ addiu $s1, $zero, 0x24 +.L8027EF18: +/* 1AD7F8 8027EF18 24080001 */ addiu $t0, $zero, 1 +/* 1AD7FC 8027EF1C AFA80024 */ sw $t0, 0x24($sp) +.L8027EF20: +/* 1AD800 8027EF20 3C02800E */ lui $v0, 0x800e +/* 1AD804 8027EF24 8C42C070 */ lw $v0, -0x3f90($v0) +/* 1AD808 8027EF28 30420020 */ andi $v0, $v0, 0x20 +/* 1AD80C 8027EF2C 104000B2 */ beqz $v0, .L8027F1F8 +/* 1AD810 8027EF30 00000000 */ nop +/* 1AD814 8027EF34 86820180 */ lh $v0, 0x180($s4) +/* 1AD818 8027EF38 044000AF */ bltz $v0, .L8027F1F8 +/* 1AD81C 8027EF3C 24020020 */ addiu $v0, $zero, 0x20 +/* 1AD820 8027EF40 122200AD */ beq $s1, $v0, .L8027F1F8 +/* 1AD824 8027EF44 24020021 */ addiu $v0, $zero, 0x21 +/* 1AD828 8027EF48 122200AB */ beq $s1, $v0, .L8027F1F8 +/* 1AD82C 8027EF4C 24020022 */ addiu $v0, $zero, 0x22 +/* 1AD830 8027EF50 122200A9 */ beq $s1, $v0, .L8027F1F8 +/* 1AD834 8027EF54 00000000 */ nop +/* 1AD838 8027EF58 8EC20004 */ lw $v0, 4($s6) +/* 1AD83C 8027EF5C 30420004 */ andi $v0, $v0, 4 +/* 1AD840 8027EF60 144000A5 */ bnez $v0, .L8027F1F8 +/* 1AD844 8027EF64 3C030008 */ lui $v1, 8 +/* 1AD848 8027EF68 8E820190 */ lw $v0, 0x190($s4) +/* 1AD84C 8027EF6C 00431024 */ and $v0, $v0, $v1 +/* 1AD850 8027EF70 10400008 */ beqz $v0, .L8027EF94 +/* 1AD854 8027EF74 0260202D */ daddu $a0, $s3, $zero +/* 1AD858 8027EF78 2405000A */ addiu $a1, $zero, 0xa +/* 1AD85C 8027EF7C 0C099ADE */ jal try_inflict_status +/* 1AD860 8027EF80 24060027 */ addiu $a2, $zero, 0x27 +/* 1AD864 8027EF84 10400003 */ beqz $v0, .L8027EF94 +/* 1AD868 8027EF88 00000000 */ nop +/* 1AD86C 8027EF8C 241E0001 */ addiu $fp, $zero, 1 +/* 1AD870 8027EF90 03C0A82D */ daddu $s5, $fp, $zero +.L8027EF94: +/* 1AD874 8027EF94 8E820190 */ lw $v0, 0x190($s4) +/* 1AD878 8027EF98 3C030002 */ lui $v1, 2 +/* 1AD87C 8027EF9C 00431024 */ and $v0, $v0, $v1 +/* 1AD880 8027EFA0 10400008 */ beqz $v0, .L8027EFC4 +/* 1AD884 8027EFA4 0260202D */ daddu $a0, $s3, $zero +/* 1AD888 8027EFA8 24050009 */ addiu $a1, $zero, 9 +/* 1AD88C 8027EFAC 0C099ADE */ jal try_inflict_status +/* 1AD890 8027EFB0 24060025 */ addiu $a2, $zero, 0x25 +/* 1AD894 8027EFB4 10400003 */ beqz $v0, .L8027EFC4 +/* 1AD898 8027EFB8 00000000 */ nop +/* 1AD89C 8027EFBC 241E0001 */ addiu $fp, $zero, 1 +/* 1AD8A0 8027EFC0 03C0A82D */ daddu $s5, $fp, $zero +.L8027EFC4: +/* 1AD8A4 8027EFC4 8E820190 */ lw $v0, 0x190($s4) +/* 1AD8A8 8027EFC8 3C030010 */ lui $v1, 0x10 +/* 1AD8AC 8027EFCC 00431024 */ and $v0, $v0, $v1 +/* 1AD8B0 8027EFD0 10400008 */ beqz $v0, .L8027EFF4 +/* 1AD8B4 8027EFD4 0260202D */ daddu $a0, $s3, $zero +/* 1AD8B8 8027EFD8 2405000C */ addiu $a1, $zero, 0xc +/* 1AD8BC 8027EFDC 0C099ADE */ jal try_inflict_status +/* 1AD8C0 8027EFE0 24060028 */ addiu $a2, $zero, 0x28 +/* 1AD8C4 8027EFE4 10400003 */ beqz $v0, .L8027EFF4 +/* 1AD8C8 8027EFE8 00000000 */ nop +/* 1AD8CC 8027EFEC 241E0001 */ addiu $fp, $zero, 1 +/* 1AD8D0 8027EFF0 03C0A82D */ daddu $s5, $fp, $zero +.L8027EFF4: +/* 1AD8D4 8027EFF4 8E820190 */ lw $v0, 0x190($s4) +/* 1AD8D8 8027EFF8 30421000 */ andi $v0, $v0, 0x1000 +/* 1AD8DC 8027EFFC 10400008 */ beqz $v0, .L8027F020 +/* 1AD8E0 8027F000 0260202D */ daddu $a0, $s3, $zero +/* 1AD8E4 8027F004 24050006 */ addiu $a1, $zero, 6 +/* 1AD8E8 8027F008 0C099ADE */ jal try_inflict_status +/* 1AD8EC 8027F00C 24060020 */ addiu $a2, $zero, 0x20 +/* 1AD8F0 8027F010 10400003 */ beqz $v0, .L8027F020 +/* 1AD8F4 8027F014 00000000 */ nop +/* 1AD8F8 8027F018 241E0001 */ addiu $fp, $zero, 1 +/* 1AD8FC 8027F01C 03C0A82D */ daddu $s5, $fp, $zero +.L8027F020: +/* 1AD900 8027F020 8E820190 */ lw $v0, 0x190($s4) +/* 1AD904 8027F024 3C030020 */ lui $v1, 0x20 +/* 1AD908 8027F028 00431024 */ and $v0, $v0, $v1 +/* 1AD90C 8027F02C 10400008 */ beqz $v0, .L8027F050 +/* 1AD910 8027F030 0260202D */ daddu $a0, $s3, $zero +/* 1AD914 8027F034 24050008 */ addiu $a1, $zero, 8 +/* 1AD918 8027F038 0C099ADE */ jal try_inflict_status +/* 1AD91C 8027F03C 24060029 */ addiu $a2, $zero, 0x29 +/* 1AD920 8027F040 10400003 */ beqz $v0, .L8027F050 +/* 1AD924 8027F044 00000000 */ nop +/* 1AD928 8027F048 241E0001 */ addiu $fp, $zero, 1 +/* 1AD92C 8027F04C 03C0A82D */ daddu $s5, $fp, $zero +.L8027F050: +/* 1AD930 8027F050 8E820190 */ lw $v0, 0x190($s4) +/* 1AD934 8027F054 30422000 */ andi $v0, $v0, 0x2000 +/* 1AD938 8027F058 10400008 */ beqz $v0, .L8027F07C +/* 1AD93C 8027F05C 0260202D */ daddu $a0, $s3, $zero +/* 1AD940 8027F060 2405000B */ addiu $a1, $zero, 0xb +/* 1AD944 8027F064 0C099ADE */ jal try_inflict_status +/* 1AD948 8027F068 24060021 */ addiu $a2, $zero, 0x21 +/* 1AD94C 8027F06C 10400003 */ beqz $v0, .L8027F07C +/* 1AD950 8027F070 00000000 */ nop +/* 1AD954 8027F074 241E0001 */ addiu $fp, $zero, 1 +/* 1AD958 8027F078 03C0A82D */ daddu $s5, $fp, $zero +.L8027F07C: +/* 1AD95C 8027F07C 8E820190 */ lw $v0, 0x190($s4) +/* 1AD960 8027F080 30428000 */ andi $v0, $v0, 0x8000 +/* 1AD964 8027F084 10400008 */ beqz $v0, .L8027F0A8 +/* 1AD968 8027F088 0260202D */ daddu $a0, $s3, $zero +/* 1AD96C 8027F08C 24050003 */ addiu $a1, $zero, 3 +/* 1AD970 8027F090 0C099ADE */ jal try_inflict_status +/* 1AD974 8027F094 24060023 */ addiu $a2, $zero, 0x23 +/* 1AD978 8027F098 10400003 */ beqz $v0, .L8027F0A8 +/* 1AD97C 8027F09C 00000000 */ nop +/* 1AD980 8027F0A0 241E0001 */ addiu $fp, $zero, 1 +/* 1AD984 8027F0A4 03C0A82D */ daddu $s5, $fp, $zero +.L8027F0A8: +/* 1AD988 8027F0A8 8E820190 */ lw $v0, 0x190($s4) +/* 1AD98C 8027F0AC 3C030001 */ lui $v1, 1 +/* 1AD990 8027F0B0 00431024 */ and $v0, $v0, $v1 +/* 1AD994 8027F0B4 10400008 */ beqz $v0, .L8027F0D8 +/* 1AD998 8027F0B8 0260202D */ daddu $a0, $s3, $zero +/* 1AD99C 8027F0BC 24050005 */ addiu $a1, $zero, 5 +/* 1AD9A0 8027F0C0 0C099ADE */ jal try_inflict_status +/* 1AD9A4 8027F0C4 24060026 */ addiu $a2, $zero, 0x26 +/* 1AD9A8 8027F0C8 10400003 */ beqz $v0, .L8027F0D8 +/* 1AD9AC 8027F0CC 00000000 */ nop +/* 1AD9B0 8027F0D0 241E0001 */ addiu $fp, $zero, 1 +/* 1AD9B4 8027F0D4 03C0A82D */ daddu $s5, $fp, $zero +.L8027F0D8: +/* 1AD9B8 8027F0D8 8E820190 */ lw $v0, 0x190($s4) +/* 1AD9BC 8027F0DC 3C030004 */ lui $v1, 4 +/* 1AD9C0 8027F0E0 00431024 */ and $v0, $v0, $v1 +/* 1AD9C4 8027F0E4 10400008 */ beqz $v0, .L8027F108 +/* 1AD9C8 8027F0E8 0260202D */ daddu $a0, $s3, $zero +/* 1AD9CC 8027F0EC 24050004 */ addiu $a1, $zero, 4 +/* 1AD9D0 8027F0F0 0C099ADE */ jal try_inflict_status +/* 1AD9D4 8027F0F4 24060024 */ addiu $a2, $zero, 0x24 +/* 1AD9D8 8027F0F8 10400003 */ beqz $v0, .L8027F108 +/* 1AD9DC 8027F0FC 00000000 */ nop +/* 1AD9E0 8027F100 241E0001 */ addiu $fp, $zero, 1 +/* 1AD9E4 8027F104 03C0A82D */ daddu $s5, $fp, $zero +.L8027F108: +/* 1AD9E8 8027F108 8E620008 */ lw $v0, 8($s3) +/* 1AD9EC 8027F10C 9050001B */ lbu $s0, 0x1b($v0) +/* 1AD9F0 8027F110 5E000001 */ bgtzl $s0, .L8027F118 +/* 1AD9F4 8027F114 24100064 */ addiu $s0, $zero, 0x64 +.L8027F118: +/* 1AD9F8 8027F118 92820194 */ lbu $v0, 0x194($s4) +/* 1AD9FC 8027F11C 00500018 */ mult $v0, $s0 +/* 1ADA00 8027F120 00001012 */ mflo $v0 +/* 1ADA04 8027F124 3C0351EB */ lui $v1, 0x51eb +/* 1ADA08 8027F128 3463851F */ ori $v1, $v1, 0x851f +/* 1ADA0C 8027F12C 00430018 */ mult $v0, $v1 +/* 1ADA10 8027F130 000217C3 */ sra $v0, $v0, 0x1f +/* 1ADA14 8027F134 00001810 */ mfhi $v1 +/* 1ADA18 8027F138 00031943 */ sra $v1, $v1, 5 +/* 1ADA1C 8027F13C 00628023 */ subu $s0, $v1, $v0 +/* 1ADA20 8027F140 8E820190 */ lw $v0, 0x190($s4) +/* 1ADA24 8027F144 3C030040 */ lui $v1, 0x40 +/* 1ADA28 8027F148 00431024 */ and $v0, $v0, $v1 +/* 1ADA2C 8027F14C 10400023 */ beqz $v0, .L8027F1DC +/* 1ADA30 8027F150 00000000 */ nop +/* 1ADA34 8027F154 0C00A67F */ jal rand_int +/* 1ADA38 8027F158 24040063 */ addiu $a0, $zero, 0x63 +/* 1ADA3C 8027F15C 0050102A */ slt $v0, $v0, $s0 +/* 1ADA40 8027F160 1040001C */ beqz $v0, .L8027F1D4 +/* 1ADA44 8027F164 24110019 */ addiu $s1, $zero, 0x19 +/* 1ADA48 8027F168 92620210 */ lbu $v0, 0x210($s3) +/* 1ADA4C 8027F16C 2442FFFD */ addiu $v0, $v0, -3 +/* 1ADA50 8027F170 2C420006 */ sltiu $v0, $v0, 6 +/* 1ADA54 8027F174 14400018 */ bnez $v0, .L8027F1D8 +/* 1ADA58 8027F178 24080002 */ addiu $t0, $zero, 2 +/* 1ADA5C 8027F17C 8E620000 */ lw $v0, ($s3) +/* 1ADA60 8027F180 30420400 */ andi $v0, $v0, 0x400 +/* 1ADA64 8027F184 14400014 */ bnez $v0, .L8027F1D8 +/* 1ADA68 8027F188 00000000 */ nop +/* 1ADA6C 8027F18C 24110039 */ addiu $s1, $zero, 0x39 +/* 1ADA70 8027F190 24150001 */ addiu $s5, $zero, 1 +/* 1ADA74 8027F194 3C02800E */ lui $v0, 0x800e +/* 1ADA78 8027F198 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 1ADA7C 8027F19C AFA0001C */ sw $zero, 0x1c($sp) +/* 1ADA80 8027F1A0 8C430000 */ lw $v1, ($v0) +/* 1ADA84 8027F1A4 02A0F02D */ daddu $fp, $s5, $zero +/* 1ADA88 8027F1A8 34630079 */ ori $v1, $v1, 0x79 +/* 1ADA8C 8027F1AC AC430000 */ sw $v1, ($v0) +/* 1ADA90 8027F1B0 C6400014 */ lwc1 $f0, 0x14($s2) +/* 1ADA94 8027F1B4 24040231 */ addiu $a0, $zero, 0x231 +/* 1ADA98 8027F1B8 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1ADA9C 8027F1BC 8E46000C */ lw $a2, 0xc($s2) +/* 1ADAA0 8027F1C0 8E470010 */ lw $a3, 0x10($s2) +/* 1ADAA4 8027F1C4 0C052757 */ jal play_sound_at_position +/* 1ADAA8 8027F1C8 0000282D */ daddu $a1, $zero, $zero +/* 1ADAAC 8027F1CC 0809FC77 */ j func_8027F1DC +/* 1ADAB0 8027F1D0 00000000 */ nop + +.L8027F1D4: +/* 1ADAB4 8027F1D4 24080002 */ addiu $t0, $zero, 2 +.L8027F1D8: +/* 1ADAB8 8027F1D8 AFA8001C */ sw $t0, 0x1c($sp) +func_8027F1DC: +.L8027F1DC: +/* 1ADABC 8027F1DC 12A00006 */ beqz $s5, .L8027F1F8 +/* 1ADAC0 8027F1E0 24020017 */ addiu $v0, $zero, 0x17 +/* 1ADAC4 8027F1E4 52220001 */ beql $s1, $v0, .L8027F1EC +/* 1ADAC8 8027F1E8 24110009 */ addiu $s1, $zero, 9 +.L8027F1EC: +/* 1ADACC 8027F1EC 24020019 */ addiu $v0, $zero, 0x19 +/* 1ADAD0 8027F1F0 52220001 */ beql $s1, $v0, .L8027F1F8 +/* 1ADAD4 8027F1F4 2411000A */ addiu $s1, $zero, 0xa +.L8027F1F8: +/* 1ADAD8 8027F1F8 8E620008 */ lw $v0, 8($s3) +/* 1ADADC 8027F1FC 92830194 */ lbu $v1, 0x194($s4) +/* 1ADAE0 8027F200 9050001B */ lbu $s0, 0x1b($v0) +/* 1ADAE4 8027F204 00700018 */ mult $v1, $s0 +/* 1ADAE8 8027F208 00001812 */ mflo $v1 +/* 1ADAEC 8027F20C 3C0251EB */ lui $v0, 0x51eb +/* 1ADAF0 8027F210 3442851F */ ori $v0, $v0, 0x851f +/* 1ADAF4 8027F214 00620018 */ mult $v1, $v0 +/* 1ADAF8 8027F218 3C17800E */ lui $s7, 0x800e +/* 1ADAFC 8027F21C 26F7C070 */ addiu $s7, $s7, -0x3f90 +/* 1ADB00 8027F220 8EE20000 */ lw $v0, ($s7) +/* 1ADB04 8027F224 00031FC3 */ sra $v1, $v1, 0x1f +/* 1ADB08 8027F228 30420020 */ andi $v0, $v0, 0x20 +/* 1ADB0C 8027F22C 00004810 */ mfhi $t1 +/* 1ADB10 8027F230 00092143 */ sra $a0, $t1, 5 +/* 1ADB14 8027F234 10400025 */ beqz $v0, .L8027F2CC +/* 1ADB18 8027F238 00838023 */ subu $s0, $a0, $v1 +/* 1ADB1C 8027F23C 8E820188 */ lw $v0, 0x188($s4) +/* 1ADB20 8027F240 30421000 */ andi $v0, $v0, 0x1000 +/* 1ADB24 8027F244 10400022 */ beqz $v0, .L8027F2D0 +/* 1ADB28 8027F248 0260202D */ daddu $a0, $s3, $zero +/* 1ADB2C 8027F24C 0C00A67F */ jal rand_int +/* 1ADB30 8027F250 24040063 */ addiu $a0, $zero, 0x63 +/* 1ADB34 8027F254 0050102A */ slt $v0, $v0, $s0 +/* 1ADB38 8027F258 1040001A */ beqz $v0, .L8027F2C4 +/* 1ADB3C 8027F25C 24110019 */ addiu $s1, $zero, 0x19 +/* 1ADB40 8027F260 92620210 */ lbu $v0, 0x210($s3) +/* 1ADB44 8027F264 2442FFFD */ addiu $v0, $v0, -3 +/* 1ADB48 8027F268 2C420006 */ sltiu $v0, $v0, 6 +/* 1ADB4C 8027F26C 14400016 */ bnez $v0, .L8027F2C8 +/* 1ADB50 8027F270 24080002 */ addiu $t0, $zero, 2 +/* 1ADB54 8027F274 8E620000 */ lw $v0, ($s3) +/* 1ADB58 8027F278 30420400 */ andi $v0, $v0, 0x400 +/* 1ADB5C 8027F27C 14400012 */ bnez $v0, .L8027F2C8 +/* 1ADB60 8027F280 00000000 */ nop +/* 1ADB64 8027F284 24110039 */ addiu $s1, $zero, 0x39 +/* 1ADB68 8027F288 24150001 */ addiu $s5, $zero, 1 +/* 1ADB6C 8027F28C AFA0001C */ sw $zero, 0x1c($sp) +/* 1ADB70 8027F290 8EE20000 */ lw $v0, ($s7) +/* 1ADB74 8027F294 02A0F02D */ daddu $fp, $s5, $zero +/* 1ADB78 8027F298 34420079 */ ori $v0, $v0, 0x79 +/* 1ADB7C 8027F29C AEE20000 */ sw $v0, ($s7) +/* 1ADB80 8027F2A0 C6400014 */ lwc1 $f0, 0x14($s2) +/* 1ADB84 8027F2A4 24040231 */ addiu $a0, $zero, 0x231 +/* 1ADB88 8027F2A8 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1ADB8C 8027F2AC 8E46000C */ lw $a2, 0xc($s2) +/* 1ADB90 8027F2B0 8E470010 */ lw $a3, 0x10($s2) +/* 1ADB94 8027F2B4 0C052757 */ jal play_sound_at_position +/* 1ADB98 8027F2B8 0000282D */ daddu $a1, $zero, $zero +/* 1ADB9C 8027F2BC 0809FCB4 */ j func_8027F2D0 +/* 1ADBA0 8027F2C0 0260202D */ daddu $a0, $s3, $zero + +.L8027F2C4: +/* 1ADBA4 8027F2C4 24080002 */ addiu $t0, $zero, 2 +.L8027F2C8: +/* 1ADBA8 8027F2C8 AFA8001C */ sw $t0, 0x1c($sp) +.L8027F2CC: +/* 1ADBAC 8027F2CC 0260202D */ daddu $a0, $s3, $zero +func_8027F2D0: +.L8027F2D0: +/* 1ADBB0 8027F2D0 0220282D */ daddu $a1, $s1, $zero +/* 1ADBB4 8027F2D4 0C09DC58 */ jal dispatch_event_actor +/* 1ADBB8 8027F2D8 A2950199 */ sb $s5, 0x199($s4) +/* 1ADBBC 8027F2DC 8E620000 */ lw $v0, ($s3) +/* 1ADBC0 8027F2E0 3C030200 */ lui $v1, 0x200 +/* 1ADBC4 8027F2E4 00431024 */ and $v0, $v0, $v1 +/* 1ADBC8 8027F2E8 1440002F */ bnez $v0, .L8027F3A8 +/* 1ADBCC 8027F2EC 00000000 */ nop +/* 1ADBD0 8027F2F0 86870180 */ lh $a3, 0x180($s4) +/* 1ADBD4 8027F2F4 14E0000F */ bnez $a3, .L8027F334 +/* 1ADBD8 8027F2F8 00000000 */ nop +/* 1ADBDC 8027F2FC 17C0002C */ bnez $fp, .L8027F3B0 +/* 1ADBE0 8027F300 00000000 */ nop +/* 1ADBE4 8027F304 16A00028 */ bnez $s5, .L8027F3A8 +/* 1ADBE8 8027F308 24020001 */ addiu $v0, $zero, 1 +/* 1ADBEC 8027F30C AFA20010 */ sw $v0, 0x10($sp) +/* 1ADBF0 8027F310 24020003 */ addiu $v0, $zero, 3 +/* 1ADBF4 8027F314 AFA20014 */ sw $v0, 0x14($sp) +/* 1ADBF8 8027F318 C64C000C */ lwc1 $f12, 0xc($s2) +/* 1ADBFC 8027F31C C64E0010 */ lwc1 $f14, 0x10($s2) +/* 1ADC00 8027F320 8E460014 */ lw $a2, 0x14($s2) +/* 1ADC04 8027F324 0C093BF8 */ jal func_8024EFE0 +/* 1ADC08 8027F328 0000382D */ daddu $a3, $zero, $zero +/* 1ADC0C 8027F32C 0809FCEA */ j func_8027F3A8 +/* 1ADC10 8027F330 00000000 */ nop + +.L8027F334: +/* 1ADC14 8027F334 8FA80020 */ lw $t0, 0x20($sp) +/* 1ADC18 8027F338 1500001B */ bnez $t0, .L8027F3A8 +/* 1ADC1C 8027F33C 3C032000 */ lui $v1, 0x2000 +/* 1ADC20 8027F340 8E820188 */ lw $v0, 0x188($s4) +/* 1ADC24 8027F344 34630040 */ ori $v1, $v1, 0x40 +/* 1ADC28 8027F348 00431024 */ and $v0, $v0, $v1 +/* 1ADC2C 8027F34C 10400007 */ beqz $v0, .L8027F36C +/* 1ADC30 8027F350 AFA00010 */ sw $zero, 0x10($sp) +/* 1ADC34 8027F354 C64C000C */ lwc1 $f12, 0xc($s2) +/* 1ADC38 8027F358 C64E0010 */ lwc1 $f14, 0x10($s2) +/* 1ADC3C 8027F35C 0C09996B */ jal show_damage_popup +/* 1ADC40 8027F360 8E460014 */ lw $a2, 0x14($s2) +/* 1ADC44 8027F364 0809FCDF */ j func_8027F37C +/* 1ADC48 8027F368 00000000 */ nop + +.L8027F36C: +/* 1ADC4C 8027F36C C64C000C */ lwc1 $f12, 0xc($s2) +/* 1ADC50 8027F370 C64E0010 */ lwc1 $f14, 0x10($s2) +/* 1ADC54 8027F374 0C099937 */ jal func_802664DC +/* 1ADC58 8027F378 8E460014 */ lw $a2, 0x14($s2) +func_8027F37C: +/* 1ADC5C 8027F37C 8EC20004 */ lw $v0, 4($s6) +/* 1ADC60 8027F380 30420004 */ andi $v0, $v0, 4 +/* 1ADC64 8027F384 14400008 */ bnez $v0, .L8027F3A8 +/* 1ADC68 8027F388 00000000 */ nop +/* 1ADC6C 8027F38C 86820180 */ lh $v0, 0x180($s4) +/* 1ADC70 8027F390 AFA20010 */ sw $v0, 0x10($sp) +/* 1ADC74 8027F394 8E45000C */ lw $a1, 0xc($s2) +/* 1ADC78 8027F398 8E460010 */ lw $a2, 0x10($s2) +/* 1ADC7C 8027F39C 8E470014 */ lw $a3, 0x14($s2) +/* 1ADC80 8027F3A0 0C0999B9 */ jal func_802666E4 +/* 1ADC84 8027F3A4 0260202D */ daddu $a0, $s3, $zero +func_8027F3A8: +.L8027F3A8: +/* 1ADC88 8027F3A8 13C00006 */ beqz $fp, .L8027F3C4 +/* 1ADC8C 8027F3AC 00000000 */ nop +.L8027F3B0: +/* 1ADC90 8027F3B0 3C02800E */ lui $v0, 0x800e +/* 1ADC94 8027F3B4 8C42C070 */ lw $v0, -0x3f90($v0) +/* 1ADC98 8027F3B8 30420240 */ andi $v0, $v0, 0x240 +/* 1ADC9C 8027F3BC 14400008 */ bnez $v0, .L8027F3E0 +/* 1ADCA0 8027F3C0 00000000 */ nop +.L8027F3C4: +/* 1ADCA4 8027F3C4 3C03800E */ lui $v1, 0x800e +/* 1ADCA8 8027F3C8 8C63C070 */ lw $v1, -0x3f90($v1) +/* 1ADCAC 8027F3CC 30620240 */ andi $v0, $v1, 0x240 +/* 1ADCB0 8027F3D0 10400025 */ beqz $v0, .L8027F468 +/* 1ADCB4 8027F3D4 30620080 */ andi $v0, $v1, 0x80 +/* 1ADCB8 8027F3D8 14400023 */ bnez $v0, .L8027F468 +/* 1ADCBC 8027F3DC 00000000 */ nop +.L8027F3E0: +/* 1ADCC0 8027F3E0 86820180 */ lh $v0, 0x180($s4) +/* 1ADCC4 8027F3E4 1840000A */ blez $v0, .L8027F410 +/* 1ADCC8 8027F3E8 24040231 */ addiu $a0, $zero, 0x231 +/* 1ADCCC 8027F3EC C6400014 */ lwc1 $f0, 0x14($s2) +/* 1ADCD0 8027F3F0 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1ADCD4 8027F3F4 8E46000C */ lw $a2, 0xc($s2) +/* 1ADCD8 8027F3F8 8E470010 */ lw $a3, 0x10($s2) +/* 1ADCDC 8027F3FC 0C052757 */ jal play_sound_at_position +/* 1ADCE0 8027F400 0000282D */ daddu $a1, $zero, $zero +/* 1ADCE4 8027F404 86820180 */ lh $v0, 0x180($s4) +/* 1ADCE8 8027F408 1C400008 */ bgtz $v0, .L8027F42C +/* 1ADCEC 8027F40C 00000000 */ nop +.L8027F410: +/* 1ADCF0 8027F410 8E820188 */ lw $v0, 0x188($s4) +/* 1ADCF4 8027F414 3C034000 */ lui $v1, 0x4000 +/* 1ADCF8 8027F418 00431024 */ and $v0, $v0, $v1 +/* 1ADCFC 8027F41C 10400012 */ beqz $v0, .L8027F468 +/* 1ADD00 8027F420 00000000 */ nop +/* 1ADD04 8027F424 13C00010 */ beqz $fp, .L8027F468 +/* 1ADD08 8027F428 00000000 */ nop +.L8027F42C: +/* 1ADD0C 8027F42C 3C02800E */ lui $v0, 0x800e +/* 1ADD10 8027F430 8C42C070 */ lw $v0, -0x3f90($v0) +/* 1ADD14 8027F434 30420040 */ andi $v0, $v0, 0x40 +/* 1ADD18 8027F438 10400004 */ beqz $v0, .L8027F44C +/* 1ADD1C 8027F43C 0000202D */ daddu $a0, $zero, $zero +/* 1ADD20 8027F440 C6400014 */ lwc1 $f0, 0x14($s2) +/* 1ADD24 8027F444 0809FD16 */ j func_8027F458 +/* 1ADD28 8027F448 E7A00010 */ swc1 $f0, 0x10($sp) + +.L8027F44C: +/* 1ADD2C 8027F44C C6400014 */ lwc1 $f0, 0x14($s2) +/* 1ADD30 8027F450 24040003 */ addiu $a0, $zero, 3 +/* 1ADD34 8027F454 E7A00010 */ swc1 $f0, 0x10($sp) +func_8027F458: +/* 1ADD38 8027F458 8E46000C */ lw $a2, 0xc($s2) +/* 1ADD3C 8027F45C 8E470010 */ lw $a3, 0x10($s2) +/* 1ADD40 8027F460 0C0999FC */ jal func_802667F0 +/* 1ADD44 8027F464 0260282D */ daddu $a1, $s3, $zero +.L8027F468: +/* 1ADD48 8027F468 3C02800E */ lui $v0, 0x800e +/* 1ADD4C 8027F46C 8C42C070 */ lw $v0, -0x3f90($v0) +/* 1ADD50 8027F470 30420020 */ andi $v0, $v0, 0x20 +/* 1ADD54 8027F474 10400003 */ beqz $v0, .L8027F484 +/* 1ADD58 8027F478 00000000 */ nop +/* 1ADD5C 8027F47C 0C099A5C */ jal func_80266970 +/* 1ADD60 8027F480 0260202D */ daddu $a0, $s3, $zero +.L8027F484: +/* 1ADD64 8027F484 86820180 */ lh $v0, 0x180($s4) +/* 1ADD68 8027F488 1840002E */ blez $v0, .L8027F544 +/* 1ADD6C 8027F48C 00000000 */ nop +/* 1ADD70 8027F490 8FA80020 */ lw $t0, 0x20($sp) +/* 1ADD74 8027F494 15000029 */ bnez $t0, .L8027F53C +/* 1ADD78 8027F498 00000000 */ nop +/* 1ADD7C 8027F49C 8FA80018 */ lw $t0, 0x18($sp) +/* 1ADD80 8027F4A0 8D0201B0 */ lw $v0, 0x1b0($t0) +/* 1ADD84 8027F4A4 10400009 */ beqz $v0, .L8027F4CC +/* 1ADD88 8027F4A8 0260202D */ daddu $a0, $s3, $zero +/* 1ADD8C 8027F4AC C6400014 */ lwc1 $f0, 0x14($s2) +/* 1ADD90 8027F4B0 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1ADD94 8027F4B4 8D0401B0 */ lw $a0, 0x1b0($t0) +/* 1ADD98 8027F4B8 8E46000C */ lw $a2, 0xc($s2) +/* 1ADD9C 8027F4BC 8E470010 */ lw $a3, 0x10($s2) +/* 1ADDA0 8027F4C0 0C052757 */ jal play_sound_at_position +/* 1ADDA4 8027F4C4 0000282D */ daddu $a1, $zero, $zero +/* 1ADDA8 8027F4C8 0260202D */ daddu $a0, $s3, $zero +.L8027F4CC: +/* 1ADDAC 8027F4CC 0C099C06 */ jal func_80267018 +/* 1ADDB0 8027F4D0 24050001 */ addiu $a1, $zero, 1 +/* 1ADDB4 8027F4D4 8FA80024 */ lw $t0, 0x24($sp) +/* 1ADDB8 8027F4D8 11000004 */ beqz $t0, .L8027F4EC +/* 1ADDBC 8027F4DC 240400EA */ addiu $a0, $zero, 0xea +/* 1ADDC0 8027F4E0 C6400014 */ lwc1 $f0, 0x14($s2) +/* 1ADDC4 8027F4E4 0809FD4A */ j func_8027F528 +/* 1ADDC8 8027F4E8 E7A00010 */ swc1 $f0, 0x10($sp) + +.L8027F4EC: +/* 1ADDCC 8027F4EC 8FA80028 */ lw $t0, 0x28($sp) +/* 1ADDD0 8027F4F0 11000004 */ beqz $t0, .L8027F504 +/* 1ADDD4 8027F4F4 2404037B */ addiu $a0, $zero, 0x37b +/* 1ADDD8 8027F4F8 C6400014 */ lwc1 $f0, 0x14($s2) +/* 1ADDDC 8027F4FC 0809FD4A */ j func_8027F528 +/* 1ADDE0 8027F500 E7A00010 */ swc1 $f0, 0x10($sp) + +.L8027F504: +/* 1ADDE4 8027F504 8FA8002C */ lw $t0, 0x2c($sp) +/* 1ADDE8 8027F508 11000004 */ beqz $t0, .L8027F51C +/* 1ADDEC 8027F50C 240400EB */ addiu $a0, $zero, 0xeb +/* 1ADDF0 8027F510 C6400014 */ lwc1 $f0, 0x14($s2) +/* 1ADDF4 8027F514 0809FD4A */ j func_8027F528 +/* 1ADDF8 8027F518 E7A00010 */ swc1 $f0, 0x10($sp) + +.L8027F51C: +/* 1ADDFC 8027F51C C6400014 */ lwc1 $f0, 0x14($s2) +/* 1ADE00 8027F520 240400E9 */ addiu $a0, $zero, 0xe9 +/* 1ADE04 8027F524 E7A00010 */ swc1 $f0, 0x10($sp) +func_8027F528: +/* 1ADE08 8027F528 8E46000C */ lw $a2, 0xc($s2) +/* 1ADE0C 8027F52C 8E470010 */ lw $a3, 0x10($s2) +/* 1ADE10 8027F530 0C052757 */ jal play_sound_at_position +/* 1ADE14 8027F534 0000282D */ daddu $a1, $zero, $zero +/* 1ADE18 8027F538 86820180 */ lh $v0, 0x180($s4) +.L8027F53C: +/* 1ADE1C 8027F53C 1C400005 */ bgtz $v0, .L8027F554 +/* 1ADE20 8027F540 00000000 */ nop +.L8027F544: +/* 1ADE24 8027F544 17C00003 */ bnez $fp, .L8027F554 +/* 1ADE28 8027F548 00000000 */ nop +/* 1ADE2C 8027F54C 12A00005 */ beqz $s5, .L8027F564 +/* 1ADE30 8027F550 00000000 */ nop +.L8027F554: +/* 1ADE34 8027F554 8EC20000 */ lw $v0, ($s6) +/* 1ADE38 8027F558 30422000 */ andi $v0, $v0, 0x2000 +/* 1ADE3C 8027F55C 10400008 */ beqz $v0, .L8027F580 +/* 1ADE40 8027F560 00000000 */ nop +.L8027F564: +/* 1ADE44 8027F564 C6400014 */ lwc1 $f0, 0x14($s2) +/* 1ADE48 8027F568 2404010C */ addiu $a0, $zero, 0x10c +/* 1ADE4C 8027F56C E7A00010 */ swc1 $f0, 0x10($sp) +/* 1ADE50 8027F570 8E46000C */ lw $a2, 0xc($s2) +/* 1ADE54 8027F574 8E470010 */ lw $a3, 0x10($s2) +/* 1ADE58 8027F578 0C052757 */ jal play_sound_at_position +/* 1ADE5C 8027F57C 0000282D */ daddu $a1, $zero, $zero +.L8027F580: +/* 1ADE60 8027F580 8E820190 */ lw $v0, 0x190($s4) +/* 1ADE64 8027F584 30421000 */ andi $v0, $v0, 0x1000 +/* 1ADE68 8027F588 10400018 */ beqz $v0, .L8027F5EC +/* 1ADE6C 8027F58C 00000000 */ nop +/* 1ADE70 8027F590 12A00016 */ beqz $s5, .L8027F5EC +/* 1ADE74 8027F594 00000000 */ nop +/* 1ADE78 8027F598 3C048029 */ lui $a0, 0x8029 +/* 1ADE7C 8027F59C 248445E0 */ addiu $a0, $a0, 0x45e0 +/* 1ADE80 8027F5A0 2405000A */ addiu $a1, $zero, 0xa +/* 1ADE84 8027F5A4 0C0B0CF8 */ jal start_script +/* 1ADE88 8027F5A8 0000302D */ daddu $a2, $zero, $zero +/* 1ADE8C 8027F5AC C640000C */ lwc1 $f0, 0xc($s2) +/* 1ADE90 8027F5B0 4600018D */ trunc.w.s $f6, $f0 +/* 1ADE94 8027F5B4 E4460084 */ swc1 $f6, 0x84($v0) +/* 1ADE98 8027F5B8 C6400010 */ lwc1 $f0, 0x10($s2) +/* 1ADE9C 8027F5BC 4600018D */ trunc.w.s $f6, $f0 +/* 1ADEA0 8027F5C0 E4460088 */ swc1 $f6, 0x88($v0) +/* 1ADEA4 8027F5C4 C6400014 */ lwc1 $f0, 0x14($s2) +/* 1ADEA8 8027F5C8 4600018D */ trunc.w.s $f6, $f0 +/* 1ADEAC 8027F5CC E446008C */ swc1 $f6, 0x8c($v0) +/* 1ADEB0 8027F5D0 C6400014 */ lwc1 $f0, 0x14($s2) +/* 1ADEB4 8027F5D4 24042031 */ addiu $a0, $zero, 0x2031 +/* 1ADEB8 8027F5D8 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1ADEBC 8027F5DC 8E46000C */ lw $a2, 0xc($s2) +/* 1ADEC0 8027F5E0 8E470010 */ lw $a3, 0x10($s2) +/* 1ADEC4 8027F5E4 0C052757 */ jal play_sound_at_position +/* 1ADEC8 8027F5E8 0000282D */ daddu $a1, $zero, $zero +.L8027F5EC: +/* 1ADECC 8027F5EC 8E820190 */ lw $v0, 0x190($s4) +/* 1ADED0 8027F5F0 3C030004 */ lui $v1, 4 +/* 1ADED4 8027F5F4 00431024 */ and $v0, $v0, $v1 +/* 1ADED8 8027F5F8 10400018 */ beqz $v0, .L8027F65C +/* 1ADEDC 8027F5FC 00000000 */ nop +/* 1ADEE0 8027F600 12A00016 */ beqz $s5, .L8027F65C +/* 1ADEE4 8027F604 00000000 */ nop +/* 1ADEE8 8027F608 3C048029 */ lui $a0, 0x8029 +/* 1ADEEC 8027F60C 248445FC */ addiu $a0, $a0, 0x45fc +/* 1ADEF0 8027F610 2405000A */ addiu $a1, $zero, 0xa +/* 1ADEF4 8027F614 0C0B0CF8 */ jal start_script +/* 1ADEF8 8027F618 0000302D */ daddu $a2, $zero, $zero +/* 1ADEFC 8027F61C C640000C */ lwc1 $f0, 0xc($s2) +/* 1ADF00 8027F620 4600018D */ trunc.w.s $f6, $f0 +/* 1ADF04 8027F624 E4460084 */ swc1 $f6, 0x84($v0) +/* 1ADF08 8027F628 C6400010 */ lwc1 $f0, 0x10($s2) +/* 1ADF0C 8027F62C 4600018D */ trunc.w.s $f6, $f0 +/* 1ADF10 8027F630 E4460088 */ swc1 $f6, 0x88($v0) +/* 1ADF14 8027F634 C6400014 */ lwc1 $f0, 0x14($s2) +/* 1ADF18 8027F638 4600018D */ trunc.w.s $f6, $f0 +/* 1ADF1C 8027F63C E446008C */ swc1 $f6, 0x8c($v0) +/* 1ADF20 8027F640 C6400014 */ lwc1 $f0, 0x14($s2) +/* 1ADF24 8027F644 24042032 */ addiu $a0, $zero, 0x2032 +/* 1ADF28 8027F648 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1ADF2C 8027F64C 8E46000C */ lw $a2, 0xc($s2) +/* 1ADF30 8027F650 8E470010 */ lw $a3, 0x10($s2) +/* 1ADF34 8027F654 0C052757 */ jal play_sound_at_position +/* 1ADF38 8027F658 0000282D */ daddu $a1, $zero, $zero +.L8027F65C: +/* 1ADF3C 8027F65C 8E820190 */ lw $v0, 0x190($s4) +/* 1ADF40 8027F660 3C030001 */ lui $v1, 1 +/* 1ADF44 8027F664 00431024 */ and $v0, $v0, $v1 +/* 1ADF48 8027F668 10400018 */ beqz $v0, .L8027F6CC +/* 1ADF4C 8027F66C 00000000 */ nop +/* 1ADF50 8027F670 12A00016 */ beqz $s5, .L8027F6CC +/* 1ADF54 8027F674 00000000 */ nop +/* 1ADF58 8027F678 3C048029 */ lui $a0, 0x8029 +/* 1ADF5C 8027F67C 24844618 */ addiu $a0, $a0, 0x4618 +/* 1ADF60 8027F680 2405000A */ addiu $a1, $zero, 0xa +/* 1ADF64 8027F684 0C0B0CF8 */ jal start_script +/* 1ADF68 8027F688 0000302D */ daddu $a2, $zero, $zero +/* 1ADF6C 8027F68C C640000C */ lwc1 $f0, 0xc($s2) +/* 1ADF70 8027F690 4600018D */ trunc.w.s $f6, $f0 +/* 1ADF74 8027F694 E4460084 */ swc1 $f6, 0x84($v0) +/* 1ADF78 8027F698 C6400010 */ lwc1 $f0, 0x10($s2) +/* 1ADF7C 8027F69C 4600018D */ trunc.w.s $f6, $f0 +/* 1ADF80 8027F6A0 E4460088 */ swc1 $f6, 0x88($v0) +/* 1ADF84 8027F6A4 C6400014 */ lwc1 $f0, 0x14($s2) +/* 1ADF88 8027F6A8 4600018D */ trunc.w.s $f6, $f0 +/* 1ADF8C 8027F6AC E446008C */ swc1 $f6, 0x8c($v0) +/* 1ADF90 8027F6B0 C6400014 */ lwc1 $f0, 0x14($s2) +/* 1ADF94 8027F6B4 24042032 */ addiu $a0, $zero, 0x2032 +/* 1ADF98 8027F6B8 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1ADF9C 8027F6BC 8E46000C */ lw $a2, 0xc($s2) +/* 1ADFA0 8027F6C0 8E470010 */ lw $a3, 0x10($s2) +/* 1ADFA4 8027F6C4 0C052757 */ jal play_sound_at_position +/* 1ADFA8 8027F6C8 0000282D */ daddu $a1, $zero, $zero +.L8027F6CC: +/* 1ADFAC 8027F6CC 8E820190 */ lw $v0, 0x190($s4) +/* 1ADFB0 8027F6D0 3C030002 */ lui $v1, 2 +/* 1ADFB4 8027F6D4 00431024 */ and $v0, $v0, $v1 +/* 1ADFB8 8027F6D8 10400018 */ beqz $v0, .L8027F73C +/* 1ADFBC 8027F6DC 00000000 */ nop +/* 1ADFC0 8027F6E0 12A00016 */ beqz $s5, .L8027F73C +/* 1ADFC4 8027F6E4 00000000 */ nop +/* 1ADFC8 8027F6E8 3C048029 */ lui $a0, 0x8029 +/* 1ADFCC 8027F6EC 24844634 */ addiu $a0, $a0, 0x4634 +/* 1ADFD0 8027F6F0 2405000A */ addiu $a1, $zero, 0xa +/* 1ADFD4 8027F6F4 0C0B0CF8 */ jal start_script +/* 1ADFD8 8027F6F8 0000302D */ daddu $a2, $zero, $zero +/* 1ADFDC 8027F6FC C640000C */ lwc1 $f0, 0xc($s2) +/* 1ADFE0 8027F700 4600018D */ trunc.w.s $f6, $f0 +/* 1ADFE4 8027F704 E4460084 */ swc1 $f6, 0x84($v0) +/* 1ADFE8 8027F708 C6400010 */ lwc1 $f0, 0x10($s2) +/* 1ADFEC 8027F70C 4600018D */ trunc.w.s $f6, $f0 +/* 1ADFF0 8027F710 E4460088 */ swc1 $f6, 0x88($v0) +/* 1ADFF4 8027F714 C6400014 */ lwc1 $f0, 0x14($s2) +/* 1ADFF8 8027F718 4600018D */ trunc.w.s $f6, $f0 +/* 1ADFFC 8027F71C E446008C */ swc1 $f6, 0x8c($v0) +/* 1AE000 8027F720 C6400014 */ lwc1 $f0, 0x14($s2) +/* 1AE004 8027F724 24042032 */ addiu $a0, $zero, 0x2032 +/* 1AE008 8027F728 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1AE00C 8027F72C 8E46000C */ lw $a2, 0xc($s2) +/* 1AE010 8027F730 8E470010 */ lw $a3, 0x10($s2) +/* 1AE014 8027F734 0C052757 */ jal play_sound_at_position +/* 1AE018 8027F738 0000282D */ daddu $a1, $zero, $zero +.L8027F73C: +/* 1AE01C 8027F73C 8E820190 */ lw $v0, 0x190($s4) +/* 1AE020 8027F740 3C030020 */ lui $v1, 0x20 +/* 1AE024 8027F744 00431024 */ and $v0, $v0, $v1 +/* 1AE028 8027F748 10400018 */ beqz $v0, .L8027F7AC +/* 1AE02C 8027F74C 00000000 */ nop +/* 1AE030 8027F750 12A00016 */ beqz $s5, .L8027F7AC +/* 1AE034 8027F754 00000000 */ nop +/* 1AE038 8027F758 3C048029 */ lui $a0, 0x8029 +/* 1AE03C 8027F75C 24844650 */ addiu $a0, $a0, 0x4650 +/* 1AE040 8027F760 2405000A */ addiu $a1, $zero, 0xa +/* 1AE044 8027F764 0C0B0CF8 */ jal start_script +/* 1AE048 8027F768 0000302D */ daddu $a2, $zero, $zero +/* 1AE04C 8027F76C C640000C */ lwc1 $f0, 0xc($s2) +/* 1AE050 8027F770 4600018D */ trunc.w.s $f6, $f0 +/* 1AE054 8027F774 E4460084 */ swc1 $f6, 0x84($v0) +/* 1AE058 8027F778 C6400010 */ lwc1 $f0, 0x10($s2) +/* 1AE05C 8027F77C 4600018D */ trunc.w.s $f6, $f0 +/* 1AE060 8027F780 E4460088 */ swc1 $f6, 0x88($v0) +/* 1AE064 8027F784 C6400014 */ lwc1 $f0, 0x14($s2) +/* 1AE068 8027F788 4600018D */ trunc.w.s $f6, $f0 +/* 1AE06C 8027F78C E446008C */ swc1 $f6, 0x8c($v0) +/* 1AE070 8027F790 C6400014 */ lwc1 $f0, 0x14($s2) +/* 1AE074 8027F794 24042032 */ addiu $a0, $zero, 0x2032 +/* 1AE078 8027F798 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1AE07C 8027F79C 8E46000C */ lw $a2, 0xc($s2) +/* 1AE080 8027F7A0 8E470010 */ lw $a3, 0x10($s2) +/* 1AE084 8027F7A4 0C052757 */ jal play_sound_at_position +/* 1AE088 8027F7A8 0000282D */ daddu $a1, $zero, $zero +.L8027F7AC: +/* 1AE08C 8027F7AC 8E820190 */ lw $v0, 0x190($s4) +/* 1AE090 8027F7B0 30424000 */ andi $v0, $v0, 0x4000 +/* 1AE094 8027F7B4 10400019 */ beqz $v0, .L8027F81C +/* 1AE098 8027F7B8 00000000 */ nop +/* 1AE09C 8027F7BC 12A00017 */ beqz $s5, .L8027F81C +/* 1AE0A0 8027F7C0 00000000 */ nop +/* 1AE0A4 8027F7C4 3C048029 */ lui $a0, 0x8029 +/* 1AE0A8 8027F7C8 2484466C */ addiu $a0, $a0, 0x466c +/* 1AE0AC 8027F7CC 2405000A */ addiu $a1, $zero, 0xa +/* 1AE0B0 8027F7D0 0C0B0CF8 */ jal start_script +/* 1AE0B4 8027F7D4 0000302D */ daddu $a2, $zero, $zero +/* 1AE0B8 8027F7D8 C640000C */ lwc1 $f0, 0xc($s2) +/* 1AE0BC 8027F7DC 4600018D */ trunc.w.s $f6, $f0 +/* 1AE0C0 8027F7E0 E4460084 */ swc1 $f6, 0x84($v0) +/* 1AE0C4 8027F7E4 C6400010 */ lwc1 $f0, 0x10($s2) +/* 1AE0C8 8027F7E8 4600018D */ trunc.w.s $f6, $f0 +/* 1AE0CC 8027F7EC E4460088 */ swc1 $f6, 0x88($v0) +/* 1AE0D0 8027F7F0 C6400014 */ lwc1 $f0, 0x14($s2) +/* 1AE0D4 8027F7F4 AC530090 */ sw $s3, 0x90($v0) +/* 1AE0D8 8027F7F8 4600018D */ trunc.w.s $f6, $f0 +/* 1AE0DC 8027F7FC E446008C */ swc1 $f6, 0x8c($v0) +/* 1AE0E0 8027F800 C6400014 */ lwc1 $f0, 0x14($s2) +/* 1AE0E4 8027F804 240400EB */ addiu $a0, $zero, 0xeb +/* 1AE0E8 8027F808 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1AE0EC 8027F80C 8E46000C */ lw $a2, 0xc($s2) +/* 1AE0F0 8027F810 8E470010 */ lw $a3, 0x10($s2) +/* 1AE0F4 8027F814 0C052757 */ jal play_sound_at_position +/* 1AE0F8 8027F818 0000282D */ daddu $a1, $zero, $zero +.L8027F81C: +/* 1AE0FC 8027F81C 8E820190 */ lw $v0, 0x190($s4) +/* 1AE100 8027F820 3C030008 */ lui $v1, 8 +/* 1AE104 8027F824 00431024 */ and $v0, $v0, $v1 +/* 1AE108 8027F828 10400019 */ beqz $v0, .L8027F890 +/* 1AE10C 8027F82C 00000000 */ nop +/* 1AE110 8027F830 12A00017 */ beqz $s5, .L8027F890 +/* 1AE114 8027F834 00000000 */ nop +/* 1AE118 8027F838 3C048029 */ lui $a0, 0x8029 +/* 1AE11C 8027F83C 248446B8 */ addiu $a0, $a0, 0x46b8 +/* 1AE120 8027F840 2405000A */ addiu $a1, $zero, 0xa +/* 1AE124 8027F844 0C0B0CF8 */ jal start_script +/* 1AE128 8027F848 0000302D */ daddu $a2, $zero, $zero +/* 1AE12C 8027F84C C640000C */ lwc1 $f0, 0xc($s2) +/* 1AE130 8027F850 4600018D */ trunc.w.s $f6, $f0 +/* 1AE134 8027F854 E4460084 */ swc1 $f6, 0x84($v0) +/* 1AE138 8027F858 C6400010 */ lwc1 $f0, 0x10($s2) +/* 1AE13C 8027F85C 4600018D */ trunc.w.s $f6, $f0 +/* 1AE140 8027F860 E4460088 */ swc1 $f6, 0x88($v0) +/* 1AE144 8027F864 C6400014 */ lwc1 $f0, 0x14($s2) +/* 1AE148 8027F868 AC530090 */ sw $s3, 0x90($v0) +/* 1AE14C 8027F86C 4600018D */ trunc.w.s $f6, $f0 +/* 1AE150 8027F870 E446008C */ swc1 $f6, 0x8c($v0) +/* 1AE154 8027F874 C6400014 */ lwc1 $f0, 0x14($s2) +/* 1AE158 8027F878 24042032 */ addiu $a0, $zero, 0x2032 +/* 1AE15C 8027F87C E7A00010 */ swc1 $f0, 0x10($sp) +/* 1AE160 8027F880 8E46000C */ lw $a2, 0xc($s2) +/* 1AE164 8027F884 8E470010 */ lw $a3, 0x10($s2) +/* 1AE168 8027F888 0C052757 */ jal play_sound_at_position +/* 1AE16C 8027F88C 0000282D */ daddu $a1, $zero, $zero +.L8027F890: +/* 1AE170 8027F890 8E820188 */ lw $v0, 0x188($s4) +/* 1AE174 8027F894 30420040 */ andi $v0, $v0, 0x40 +/* 1AE178 8027F898 1040000A */ beqz $v0, .L8027F8C4 +/* 1AE17C 8027F89C 24020093 */ addiu $v0, $zero, 0x93 +/* 1AE180 8027F8A0 92630136 */ lbu $v1, 0x136($s3) +/* 1AE184 8027F8A4 14620007 */ bne $v1, $v0, .L8027F8C4 +/* 1AE188 8027F8A8 24040165 */ addiu $a0, $zero, 0x165 +/* 1AE18C 8027F8AC C6400014 */ lwc1 $f0, 0x14($s2) +/* 1AE190 8027F8B0 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1AE194 8027F8B4 8E46000C */ lw $a2, 0xc($s2) +/* 1AE198 8027F8B8 8E470010 */ lw $a3, 0x10($s2) +/* 1AE19C 8027F8BC 0C052757 */ jal play_sound_at_position +/* 1AE1A0 8027F8C0 0000282D */ daddu $a1, $zero, $zero +.L8027F8C4: +/* 1AE1A4 8027F8C4 0C099AB7 */ jal func_80266ADC +/* 1AE1A8 8027F8C8 0260202D */ daddu $a0, $s3, $zero +/* 1AE1AC 8027F8CC 3C02800E */ lui $v0, 0x800e +/* 1AE1B0 8027F8D0 8C42C070 */ lw $v0, -0x3f90($v0) +/* 1AE1B4 8027F8D4 30420240 */ andi $v0, $v0, 0x240 +/* 1AE1B8 8027F8D8 1040000A */ beqz $v0, .L8027F904 +/* 1AE1BC 8027F8DC 00000000 */ nop +/* 1AE1C0 8027F8E0 8FA8001C */ lw $t0, 0x1c($sp) +/* 1AE1C4 8027F8E4 15000004 */ bnez $t0, .L8027F8F8 +/* 1AE1C8 8027F8E8 24020002 */ addiu $v0, $zero, 2 +/* 1AE1CC 8027F8EC 24080001 */ addiu $t0, $zero, 1 +/* 1AE1D0 8027F8F0 AFA8001C */ sw $t0, 0x1c($sp) +/* 1AE1D4 8027F8F4 8FA8001C */ lw $t0, 0x1c($sp) +.L8027F8F8: +/* 1AE1D8 8027F8F8 15020002 */ bne $t0, $v0, .L8027F904 +/* 1AE1DC 8027F8FC 24080003 */ addiu $t0, $zero, 3 +/* 1AE1E0 8027F900 AFA8001C */ sw $t0, 0x1c($sp) +.L8027F904: +/* 1AE1E4 8027F904 8FA80018 */ lw $t0, 0x18($sp) +/* 1AE1E8 8027F908 81020212 */ lb $v0, 0x212($t0) +/* 1AE1EC 8027F90C 2403000B */ addiu $v1, $zero, 0xb +/* 1AE1F0 8027F910 10430021 */ beq $v0, $v1, .L8027F998 +/* 1AE1F4 8027F914 00000000 */ nop +/* 1AE1F8 8027F918 82620212 */ lb $v0, 0x212($s3) +/* 1AE1FC 8027F91C 10430005 */ beq $v0, $v1, .L8027F934 +/* 1AE200 8027F920 00000000 */ nop +/* 1AE204 8027F924 8EC2007C */ lw $v0, 0x7c($s6) +/* 1AE208 8027F928 30420080 */ andi $v0, $v0, 0x80 +/* 1AE20C 8027F92C 1040001A */ beqz $v0, .L8027F998 +/* 1AE210 8027F930 00000000 */ nop +.L8027F934: +/* 1AE214 8027F934 8E820188 */ lw $v0, 0x188($s4) +/* 1AE218 8027F938 3C031000 */ lui $v1, 0x1000 +/* 1AE21C 8027F93C 00431024 */ and $v0, $v0, $v1 +/* 1AE220 8027F940 14400015 */ bnez $v0, .L8027F998 +/* 1AE224 8027F944 00000000 */ nop +/* 1AE228 8027F948 8E82018C */ lw $v0, 0x18c($s4) +/* 1AE22C 8027F94C 30420008 */ andi $v0, $v0, 8 +/* 1AE230 8027F950 14400011 */ bnez $v0, .L8027F998 +/* 1AE234 8027F954 00000000 */ nop +.L8027F958: +/* 1AE238 8027F958 C6400014 */ lwc1 $f0, 0x14($s2) +/* 1AE23C 8027F95C 2404037B */ addiu $a0, $zero, 0x37b +/* 1AE240 8027F960 E7A00010 */ swc1 $f0, 0x10($sp) +/* 1AE244 8027F964 8E46000C */ lw $a2, 0xc($s2) +/* 1AE248 8027F968 8E470010 */ lw $a3, 0x10($s2) +/* 1AE24C 8027F96C 0C052757 */ jal play_sound_at_position +/* 1AE250 8027F970 0000282D */ daddu $a1, $zero, $zero +/* 1AE254 8027F974 8FA40018 */ lw $a0, 0x18($sp) +/* 1AE258 8027F978 0C09451D */ jal func_80251474 +/* 1AE25C 8027F97C 00000000 */ nop +/* 1AE260 8027F980 24040001 */ addiu $a0, $zero, 1 +/* 1AE264 8027F984 2405002F */ addiu $a1, $zero, 0x2f +func_8027F988: +/* 1AE268 8027F988 0C09FEE7 */ jal dispatch_damage_event_partner_1 +/* 1AE26C 8027F98C 00000000 */ nop +/* 1AE270 8027F990 0809FE67 */ j func_8027F99C +/* 1AE274 8027F994 2402FFFF */ addiu $v0, $zero, -1 + +.L8027F998: +/* 1AE278 8027F998 8FA2001C */ lw $v0, 0x1c($sp) +func_8027F99C: +.L8027F99C: +/* 1AE27C 8027F99C 8FBF0054 */ lw $ra, 0x54($sp) +/* 1AE280 8027F9A0 8FBE0050 */ lw $fp, 0x50($sp) +/* 1AE284 8027F9A4 8FB7004C */ lw $s7, 0x4c($sp) +/* 1AE288 8027F9A8 8FB60048 */ lw $s6, 0x48($sp) +/* 1AE28C 8027F9AC 8FB50044 */ lw $s5, 0x44($sp) +/* 1AE290 8027F9B0 8FB40040 */ lw $s4, 0x40($sp) +/* 1AE294 8027F9B4 8FB3003C */ lw $s3, 0x3c($sp) +/* 1AE298 8027F9B8 8FB20038 */ lw $s2, 0x38($sp) +/* 1AE29C 8027F9BC 8FB10034 */ lw $s1, 0x34($sp) +/* 1AE2A0 8027F9C0 8FB00030 */ lw $s0, 0x30($sp) +/* 1AE2A4 8027F9C4 03E00008 */ jr $ra +/* 1AE2A8 8027F9C8 27BD0058 */ addiu $sp, $sp, 0x58 + +dispatch_damage_event_partner: +/* 1AE2AC 8027F9CC 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* 1AE2B0 8027F9D0 AFB30024 */ sw $s3, 0x24($sp) +/* 1AE2B4 8027F9D4 00A0982D */ daddu $s3, $a1, $zero +/* 1AE2B8 8027F9D8 AFB20020 */ sw $s2, 0x20($sp) +/* 1AE2BC 8027F9DC 3C12800E */ lui $s2, 0x800e +/* 1AE2C0 8027F9E0 2652C070 */ addiu $s2, $s2, -0x3f90 +/* 1AE2C4 8027F9E4 00041400 */ sll $v0, $a0, 0x10 +/* 1AE2C8 8027F9E8 AFBF002C */ sw $ra, 0x2c($sp) +/* 1AE2CC 8027F9EC AFB40028 */ sw $s4, 0x28($sp) +/* 1AE2D0 8027F9F0 AFB1001C */ sw $s1, 0x1c($sp) +/* 1AE2D4 8027F9F4 AFB00018 */ sw $s0, 0x18($sp) +/* 1AE2D8 8027F9F8 8E5000DC */ lw $s0, 0xdc($s2) +/* 1AE2DC 8027F9FC 00022C03 */ sra $a1, $v0, 0x10 +/* 1AE2E0 8027FA00 A644017E */ sh $a0, 0x17e($s2) +/* 1AE2E4 8027FA04 960301FA */ lhu $v1, 0x1fa($s0) +/* 1AE2E8 8027FA08 2402007F */ addiu $v0, $zero, 0x7f +/* 1AE2EC 8027FA0C A20201B8 */ sb $v0, 0x1b8($s0) +/* 1AE2F0 8027FA10 00651821 */ addu $v1, $v1, $a1 +/* 1AE2F4 8027FA14 00031400 */ sll $v0, $v1, 0x10 +/* 1AE2F8 8027FA18 00022C03 */ sra $a1, $v0, 0x10 +/* 1AE2FC 8027FA1C 960201FC */ lhu $v0, 0x1fc($s0) +/* 1AE300 8027FA20 00C0A02D */ daddu $s4, $a2, $zero +/* 1AE304 8027FA24 A60301FA */ sh $v1, 0x1fa($s0) +/* 1AE308 8027FA28 00651823 */ subu $v1, $v1, $a1 +/* 1AE30C 8027FA2C A60301FA */ sh $v1, 0x1fa($s0) +/* 1AE310 8027FA30 00451021 */ addu $v0, $v0, $a1 +/* 1AE314 8027FA34 A60201FC */ sh $v0, 0x1fc($s0) +/* 1AE318 8027FA38 A6400180 */ sh $zero, 0x180($s2) +/* 1AE31C 8027FA3C 920201B8 */ lbu $v0, 0x1b8($s0) +/* 1AE320 8027FA40 00451023 */ subu $v0, $v0, $a1 +/* 1AE324 8027FA44 A20201B8 */ sb $v0, 0x1b8($s0) +/* 1AE328 8027FA48 00021600 */ sll $v0, $v0, 0x18 +/* 1AE32C 8027FA4C 00021E03 */ sra $v1, $v0, 0x18 +/* 1AE330 8027FA50 1C600006 */ bgtz $v1, .L8027FA6C +/* 1AE334 8027FA54 2611000C */ addiu $s1, $s0, 0xc +/* 1AE338 8027FA58 96420180 */ lhu $v0, 0x180($s2) +/* 1AE33C 8027FA5C 24130020 */ addiu $s3, $zero, 0x20 +/* 1AE340 8027FA60 00431021 */ addu $v0, $v0, $v1 +/* 1AE344 8027FA64 A6420180 */ sh $v0, 0x180($s2) +/* 1AE348 8027FA68 A20001B8 */ sb $zero, 0x1b8($s0) +.L8027FA6C: +/* 1AE34C 8027FA6C 96420180 */ lhu $v0, 0x180($s2) +/* 1AE350 8027FA70 00451021 */ addu $v0, $v0, $a1 +/* 1AE354 8027FA74 A6420180 */ sh $v0, 0x180($s2) +/* 1AE358 8027FA78 A60201F8 */ sh $v0, 0x1f8($s0) +/* 1AE35C 8027FA7C 8E420000 */ lw $v0, ($s2) +/* 1AE360 8027FA80 30420020 */ andi $v0, $v0, 0x20 +/* 1AE364 8027FA84 10400007 */ beqz $v0, .L8027FAA4 +/* 1AE368 8027FA88 A240019A */ sb $zero, 0x19a($s2) +/* 1AE36C 8027FA8C 24020009 */ addiu $v0, $zero, 9 +/* 1AE370 8027FA90 52620001 */ beql $s3, $v0, .L8027FA98 +/* 1AE374 8027FA94 2413000A */ addiu $s3, $zero, 0xa +.L8027FA98: +/* 1AE378 8027FA98 24020017 */ addiu $v0, $zero, 0x17 +/* 1AE37C 8027FA9C 52620001 */ beql $s3, $v0, .L8027FAA4 +/* 1AE380 8027FAA0 24130019 */ addiu $s3, $zero, 0x19 +.L8027FAA4: +/* 1AE384 8027FAA4 86420180 */ lh $v0, 0x180($s2) +/* 1AE388 8027FAA8 18400009 */ blez $v0, .L8027FAD0 +/* 1AE38C 8027FAAC 0200202D */ daddu $a0, $s0, $zero +/* 1AE390 8027FAB0 2405000D */ addiu $a1, $zero, 0xd +/* 1AE394 8027FAB4 3C03800E */ lui $v1, 0x800e +/* 1AE398 8027FAB8 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 1AE39C 8027FABC 8C620000 */ lw $v0, ($v1) +/* 1AE3A0 8027FAC0 86460180 */ lh $a2, 0x180($s2) +/* 1AE3A4 8027FAC4 34420020 */ ori $v0, $v0, 0x20 +/* 1AE3A8 8027FAC8 0C0997D0 */ jal inflict_status +/* 1AE3AC 8027FACC AC620000 */ sw $v0, ($v1) +.L8027FAD0: +/* 1AE3B0 8027FAD0 16800006 */ bnez $s4, .L8027FAEC +/* 1AE3B4 8027FAD4 24020001 */ addiu $v0, $zero, 1 +/* 1AE3B8 8027FAD8 0220202D */ daddu $a0, $s1, $zero +/* 1AE3BC 8027FADC 24050100 */ addiu $a1, $zero, 0x100 +/* 1AE3C0 8027FAE0 0C09A5D5 */ jal set_goal_pos_to_part +/* 1AE3C4 8027FAE4 0000302D */ daddu $a2, $zero, $zero +/* 1AE3C8 8027FAE8 24020001 */ addiu $v0, $zero, 1 +.L8027FAEC: +/* 1AE3CC 8027FAEC AFA20010 */ sw $v0, 0x10($sp) +/* 1AE3D0 8027FAF0 8E260014 */ lw $a2, 0x14($s1) +/* 1AE3D4 8027FAF4 86470180 */ lh $a3, 0x180($s2) +/* 1AE3D8 8027FAF8 C62C000C */ lwc1 $f12, 0xc($s1) +/* 1AE3DC 8027FAFC 0C09996B */ jal show_damage_popup +/* 1AE3E0 8027FB00 C62E0010 */ lwc1 $f14, 0x10($s1) +/* 1AE3E4 8027FB04 86420180 */ lh $v0, 0x180($s2) +/* 1AE3E8 8027FB08 AFA20010 */ sw $v0, 0x10($sp) +/* 1AE3EC 8027FB0C 8E25000C */ lw $a1, 0xc($s1) +/* 1AE3F0 8027FB10 8E260010 */ lw $a2, 0x10($s1) +/* 1AE3F4 8027FB14 8E270014 */ lw $a3, 0x14($s1) +/* 1AE3F8 8027FB18 0C0999B9 */ jal func_802666E4 +/* 1AE3FC 8027FB1C 0200202D */ daddu $a0, $s0, $zero +/* 1AE400 8027FB20 86420180 */ lh $v0, 0x180($s2) +/* 1AE404 8027FB24 18400003 */ blez $v0, .L8027FB34 +/* 1AE408 8027FB28 0200202D */ daddu $a0, $s0, $zero +/* 1AE40C 8027FB2C 0C099C06 */ jal func_80267018 +/* 1AE410 8027FB30 24050001 */ addiu $a1, $zero, 1 +.L8027FB34: +/* 1AE414 8027FB34 8E020000 */ lw $v0, ($s0) +/* 1AE418 8027FB38 3C030008 */ lui $v1, 8 +/* 1AE41C 8027FB3C 00431025 */ or $v0, $v0, $v1 +/* 1AE420 8027FB40 AE020000 */ sw $v0, ($s0) +/* 1AE424 8027FB44 3C10800E */ lui $s0, 0x800e +/* 1AE428 8027FB48 8E10C070 */ lw $s0, -0x3f90($s0) +/* 1AE42C 8027FB4C 0260202D */ daddu $a0, $s3, $zero +/* 1AE430 8027FB50 32100240 */ andi $s0, $s0, 0x240 +/* 1AE434 8027FB54 0C09F7A0 */ jal dispatch_event_partner +/* 1AE438 8027FB58 0010802B */ sltu $s0, $zero, $s0 +/* 1AE43C 8027FB5C 0200102D */ daddu $v0, $s0, $zero +/* 1AE440 8027FB60 8FBF002C */ lw $ra, 0x2c($sp) +/* 1AE444 8027FB64 8FB40028 */ lw $s4, 0x28($sp) +/* 1AE448 8027FB68 8FB30024 */ lw $s3, 0x24($sp) +/* 1AE44C 8027FB6C 8FB20020 */ lw $s2, 0x20($sp) +/* 1AE450 8027FB70 8FB1001C */ lw $s1, 0x1c($sp) +/* 1AE454 8027FB74 8FB00018 */ lw $s0, 0x18($sp) +/* 1AE458 8027FB78 03E00008 */ jr $ra +/* 1AE45C 8027FB7C 27BD0030 */ addiu $sp, $sp, 0x30 + +dispatch_damage_event_partner_0: +/* 1AE460 8027FB80 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 1AE464 8027FB84 AFBF0010 */ sw $ra, 0x10($sp) +/* 1AE468 8027FB88 0C09FE73 */ jal dispatch_damage_event_partner +/* 1AE46C 8027FB8C 0000302D */ daddu $a2, $zero, $zero +/* 1AE470 8027FB90 8FBF0010 */ lw $ra, 0x10($sp) +/* 1AE474 8027FB94 03E00008 */ jr $ra +/* 1AE478 8027FB98 27BD0018 */ addiu $sp, $sp, 0x18 + +dispatch_damage_event_partner_1: +/* 1AE47C 8027FB9C 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 1AE480 8027FBA0 AFBF0010 */ sw $ra, 0x10($sp) +/* 1AE484 8027FBA4 0C09FE73 */ jal dispatch_damage_event_partner +/* 1AE488 8027FBA8 24060001 */ addiu $a2, $zero, 1 +/* 1AE48C 8027FBAC 8FBF0010 */ lw $ra, 0x10($sp) +/* 1AE490 8027FBB0 03E00008 */ jr $ra +/* 1AE494 8027FBB4 27BD0018 */ addiu $sp, $sp, 0x18 + +MakeOwnerTargetIndex: +/* 1AE498 8027FBB8 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 1AE49C 8027FBBC AFB40020 */ sw $s4, 0x20($sp) +/* 1AE4A0 8027FBC0 0080A02D */ daddu $s4, $a0, $zero +/* 1AE4A4 8027FBC4 AFBF0024 */ sw $ra, 0x24($sp) +/* 1AE4A8 8027FBC8 AFB3001C */ sw $s3, 0x1c($sp) +/* 1AE4AC 8027FBCC AFB20018 */ sw $s2, 0x18($sp) +/* 1AE4B0 8027FBD0 AFB10014 */ sw $s1, 0x14($sp) +/* 1AE4B4 8027FBD4 AFB00010 */ sw $s0, 0x10($sp) +/* 1AE4B8 8027FBD8 8E840148 */ lw $a0, 0x148($s4) +/* 1AE4BC 8027FBDC 0C09A75B */ jal get_actor +/* 1AE4C0 8027FBE0 8E90000C */ lw $s0, 0xc($s4) +/* 1AE4C4 8027FBE4 8E050000 */ lw $a1, ($s0) +/* 1AE4C8 8027FBE8 26100004 */ addiu $s0, $s0, 4 +/* 1AE4CC 8027FBEC 0040902D */ daddu $s2, $v0, $zero +/* 1AE4D0 8027FBF0 8251040C */ lb $s1, 0x40c($s2) +/* 1AE4D4 8027FBF4 0C0B1EAF */ jal get_variable +/* 1AE4D8 8027FBF8 0280202D */ daddu $a0, $s4, $zero +/* 1AE4DC 8027FBFC 8E050000 */ lw $a1, ($s0) +/* 1AE4E0 8027FC00 26100004 */ addiu $s0, $s0, 4 +/* 1AE4E4 8027FC04 0C0B1EAF */ jal get_variable +/* 1AE4E8 8027FC08 0280202D */ daddu $a0, $s4, $zero +/* 1AE4EC 8027FC0C 0040302D */ daddu $a2, $v0, $zero +/* 1AE4F0 8027FC10 8E050000 */ lw $a1, ($s0) +/* 1AE4F4 8027FC14 16200003 */ bnez $s1, .L8027FC24 +/* 1AE4F8 8027FC18 2653040D */ addiu $s3, $s2, 0x40d +/* 1AE4FC 8027FC1C 0809FF19 */ j func_8027FC64 +/* 1AE500 8027FC20 2406FFFF */ addiu $a2, $zero, -1 + +.L8027FC24: +/* 1AE504 8027FC24 10C00004 */ beqz $a2, .L8027FC38 +/* 1AE508 8027FC28 00D1102A */ slt $v0, $a2, $s1 +/* 1AE50C 8027FC2C 14400002 */ bnez $v0, .L8027FC38 +/* 1AE510 8027FC30 24C6FFFF */ addiu $a2, $a2, -1 +/* 1AE514 8027FC34 2626FFFF */ addiu $a2, $s1, -1 +.L8027FC38: +/* 1AE518 8027FC38 02661021 */ addu $v0, $s3, $a2 +/* 1AE51C 8027FC3C 80430000 */ lb $v1, ($v0) +/* 1AE520 8027FC40 00031080 */ sll $v0, $v1, 2 +/* 1AE524 8027FC44 00431021 */ addu $v0, $v0, $v1 +/* 1AE528 8027FC48 00021080 */ sll $v0, $v0, 2 +/* 1AE52C 8027FC4C 2442022C */ addiu $v0, $v0, 0x22c +/* 1AE530 8027FC50 02421021 */ addu $v0, $s2, $v0 +/* 1AE534 8027FC54 94430000 */ lhu $v1, ($v0) +/* 1AE538 8027FC58 A6430428 */ sh $v1, 0x428($s2) +/* 1AE53C 8027FC5C 90420003 */ lbu $v0, 3($v0) +/* 1AE540 8027FC60 A2420426 */ sb $v0, 0x426($s2) +func_8027FC64: +/* 1AE544 8027FC64 0C0B2026 */ jal set_variable +/* 1AE548 8027FC68 0280202D */ daddu $a0, $s4, $zero +/* 1AE54C 8027FC6C 8FBF0024 */ lw $ra, 0x24($sp) +/* 1AE550 8027FC70 8FB40020 */ lw $s4, 0x20($sp) +/* 1AE554 8027FC74 8FB3001C */ lw $s3, 0x1c($sp) +/* 1AE558 8027FC78 8FB20018 */ lw $s2, 0x18($sp) +/* 1AE55C 8027FC7C 8FB10014 */ lw $s1, 0x14($sp) +/* 1AE560 8027FC80 8FB00010 */ lw $s0, 0x10($sp) +/* 1AE564 8027FC84 24020002 */ addiu $v0, $zero, 2 +/* 1AE568 8027FC88 03E00008 */ jr $ra +/* 1AE56C 8027FC8C 27BD0028 */ addiu $sp, $sp, 0x28 + +/* 1AE570 8027FC90 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* 1AE574 8027FC94 AFB40028 */ sw $s4, 0x28($sp) +/* 1AE578 8027FC98 0080A02D */ daddu $s4, $a0, $zero +/* 1AE57C 8027FC9C AFBF002C */ sw $ra, 0x2c($sp) +/* 1AE580 8027FCA0 AFB30024 */ sw $s3, 0x24($sp) +/* 1AE584 8027FCA4 AFB20020 */ sw $s2, 0x20($sp) +/* 1AE588 8027FCA8 AFB1001C */ sw $s1, 0x1c($sp) +/* 1AE58C 8027FCAC AFB00018 */ sw $s0, 0x18($sp) +/* 1AE590 8027FCB0 8E92000C */ lw $s2, 0xc($s4) +/* 1AE594 8027FCB4 8E450000 */ lw $a1, ($s2) +/* 1AE598 8027FCB8 0C0B1EAF */ jal get_variable +/* 1AE59C 8027FCBC 26520004 */ addiu $s2, $s2, 4 +/* 1AE5A0 8027FCC0 0040202D */ daddu $a0, $v0, $zero +/* 1AE5A4 8027FCC4 3C13800E */ lui $s3, 0x800e +/* 1AE5A8 8027FCC8 2673C070 */ addiu $s3, $s3, -0x3f90 +/* 1AE5AC 8027FCCC 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1AE5B0 8027FCD0 14820002 */ bne $a0, $v0, .L8027FCDC +/* 1AE5B4 8027FCD4 00000000 */ nop +/* 1AE5B8 8027FCD8 8E840148 */ lw $a0, 0x148($s4) +.L8027FCDC: +/* 1AE5BC 8027FCDC 0C09A75B */ jal get_actor +/* 1AE5C0 8027FCE0 8E520000 */ lw $s2, ($s2) +/* 1AE5C4 8027FCE4 8E630000 */ lw $v1, ($s3) +/* 1AE5C8 8027FCE8 0040802D */ daddu $s0, $v0, $zero +/* 1AE5CC 8027FCEC 34630020 */ ori $v1, $v1, 0x20 +/* 1AE5D0 8027FCF0 0C09F8CA */ jal calc_partner_damage_enemy +/* 1AE5D4 8027FCF4 AE630000 */ sw $v1, ($s3) +/* 1AE5D8 8027FCF8 AFA00010 */ sw $zero, 0x10($sp) +/* 1AE5DC 8027FCFC 8E060020 */ lw $a2, 0x20($s0) +/* 1AE5E0 8027FD00 86670180 */ lh $a3, 0x180($s3) +/* 1AE5E4 8027FD04 C60C0018 */ lwc1 $f12, 0x18($s0) +/* 1AE5E8 8027FD08 C60E001C */ lwc1 $f14, 0x1c($s0) +/* 1AE5EC 8027FD0C 0C09996B */ jal show_damage_popup +/* 1AE5F0 8027FD10 0040882D */ daddu $s1, $v0, $zero +/* 1AE5F4 8027FD14 0280202D */ daddu $a0, $s4, $zero +/* 1AE5F8 8027FD18 0240282D */ daddu $a1, $s2, $zero +/* 1AE5FC 8027FD1C 0C0B2026 */ jal set_variable +/* 1AE600 8027FD20 0220302D */ daddu $a2, $s1, $zero +/* 1AE604 8027FD24 8FBF002C */ lw $ra, 0x2c($sp) +/* 1AE608 8027FD28 8FB40028 */ lw $s4, 0x28($sp) +/* 1AE60C 8027FD2C 8FB30024 */ lw $s3, 0x24($sp) +/* 1AE610 8027FD30 8FB20020 */ lw $s2, 0x20($sp) +/* 1AE614 8027FD34 8FB1001C */ lw $s1, 0x1c($sp) +/* 1AE618 8027FD38 8FB00018 */ lw $s0, 0x18($sp) +/* 1AE61C 8027FD3C 24020002 */ addiu $v0, $zero, 2 +/* 1AE620 8027FD40 03E00008 */ jr $ra +/* 1AE624 8027FD44 27BD0030 */ addiu $sp, $sp, 0x30 + +GetActorLevel: +/* 1AE628 8027FD48 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 1AE62C 8027FD4C AFB10014 */ sw $s1, 0x14($sp) +/* 1AE630 8027FD50 0080882D */ daddu $s1, $a0, $zero +/* 1AE634 8027FD54 AFBF0018 */ sw $ra, 0x18($sp) +/* 1AE638 8027FD58 AFB00010 */ sw $s0, 0x10($sp) +/* 1AE63C 8027FD5C 8E30000C */ lw $s0, 0xc($s1) +/* 1AE640 8027FD60 8E050000 */ lw $a1, ($s0) +/* 1AE644 8027FD64 0C0B1EAF */ jal get_variable +/* 1AE648 8027FD68 26100004 */ addiu $s0, $s0, 4 +/* 1AE64C 8027FD6C 0040202D */ daddu $a0, $v0, $zero +/* 1AE650 8027FD70 2402FF81 */ addiu $v0, $zero, -0x7f +/* 1AE654 8027FD74 14820002 */ bne $a0, $v0, .L8027FD80 +/* 1AE658 8027FD78 00000000 */ nop +/* 1AE65C 8027FD7C 8E240148 */ lw $a0, 0x148($s1) +.L8027FD80: +/* 1AE660 8027FD80 0C09A75B */ jal get_actor +/* 1AE664 8027FD84 8E100000 */ lw $s0, ($s0) +/* 1AE668 8027FD88 8C420008 */ lw $v0, 8($v0) +/* 1AE66C 8027FD8C 0220202D */ daddu $a0, $s1, $zero +/* 1AE670 8027FD90 90460006 */ lbu $a2, 6($v0) +/* 1AE674 8027FD94 0C0B2026 */ jal set_variable +/* 1AE678 8027FD98 0200282D */ daddu $a1, $s0, $zero +/* 1AE67C 8027FD9C 8FBF0018 */ lw $ra, 0x18($sp) +/* 1AE680 8027FDA0 8FB10014 */ lw $s1, 0x14($sp) +/* 1AE684 8027FDA4 8FB00010 */ lw $s0, 0x10($sp) +/* 1AE688 8027FDA8 24020002 */ addiu $v0, $zero, 2 +/* 1AE68C 8027FDAC 03E00008 */ jr $ra +/* 1AE690 8027FDB0 27BD0020 */ addiu $sp, $sp, 0x20 + +PartnerDamageEnemy: +/* 1AE694 8027FDB4 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 1AE698 8027FDB8 AFB20018 */ sw $s2, 0x18($sp) +/* 1AE69C 8027FDBC 0080902D */ daddu $s2, $a0, $zero +/* 1AE6A0 8027FDC0 AFBF0024 */ sw $ra, 0x24($sp) +/* 1AE6A4 8027FDC4 AFB40020 */ sw $s4, 0x20($sp) +/* 1AE6A8 8027FDC8 AFB3001C */ sw $s3, 0x1c($sp) +/* 1AE6AC 8027FDCC AFB10014 */ sw $s1, 0x14($sp) +/* 1AE6B0 8027FDD0 AFB00010 */ sw $s0, 0x10($sp) +/* 1AE6B4 8027FDD4 8E440148 */ lw $a0, 0x148($s2) +/* 1AE6B8 8027FDD8 0C09A75B */ jal get_actor +/* 1AE6BC 8027FDDC 8E50000C */ lw $s0, 0xc($s2) +/* 1AE6C0 8027FDE0 8E140000 */ lw $s4, ($s0) +/* 1AE6C4 8027FDE4 26100004 */ addiu $s0, $s0, 4 +/* 1AE6C8 8027FDE8 8E030000 */ lw $v1, ($s0) +/* 1AE6CC 8027FDEC 26100004 */ addiu $s0, $s0, 4 +/* 1AE6D0 8027FDF0 0240202D */ daddu $a0, $s2, $zero +/* 1AE6D4 8027FDF4 3C11800E */ lui $s1, 0x800e +/* 1AE6D8 8027FDF8 2631C070 */ addiu $s1, $s1, -0x3f90 +/* 1AE6DC 8027FDFC 0040982D */ daddu $s3, $v0, $zero +/* 1AE6E0 8027FE00 AE230188 */ sw $v1, 0x188($s1) +/* 1AE6E4 8027FE04 8E030000 */ lw $v1, ($s0) +/* 1AE6E8 8027FE08 26100004 */ addiu $s0, $s0, 4 +/* 1AE6EC 8027FE0C AE23018C */ sw $v1, 0x18c($s1) +/* 1AE6F0 8027FE10 8E030000 */ lw $v1, ($s0) +/* 1AE6F4 8027FE14 26100004 */ addiu $s0, $s0, 4 +/* 1AE6F8 8027FE18 AE230190 */ sw $v1, 0x190($s1) +/* 1AE6FC 8027FE1C 8E050000 */ lw $a1, ($s0) +/* 1AE700 8027FE20 0C0B1EAF */ jal get_variable +/* 1AE704 8027FE24 26100004 */ addiu $s0, $s0, 4 +/* 1AE708 8027FE28 A622017E */ sh $v0, 0x17e($s1) +/* 1AE70C 8027FE2C A2200198 */ sb $zero, 0x198($s1) +/* 1AE710 8027FE30 8E100000 */ lw $s0, ($s0) +/* 1AE714 8027FE34 24020030 */ addiu $v0, $zero, 0x30 +/* 1AE718 8027FE38 32030030 */ andi $v1, $s0, 0x30 +/* 1AE71C 8027FE3C 54620004 */ bnel $v1, $v0, .L8027FE50 +/* 1AE720 8027FE40 32020010 */ andi $v0, $s0, 0x10 +/* 1AE724 8027FE44 8E220000 */ lw $v0, ($s1) +/* 1AE728 8027FE48 0809FFA4 */ j func_8027FE90 +/* 1AE72C 8027FE4C 34420030 */ ori $v0, $v0, 0x30 + +.L8027FE50: +/* 1AE730 8027FE50 10400004 */ beqz $v0, .L8027FE64 +/* 1AE734 8027FE54 2403FFDF */ addiu $v1, $zero, -0x21 +/* 1AE738 8027FE58 8E220000 */ lw $v0, ($s1) +/* 1AE73C 8027FE5C 0809FFA3 */ j func_8027FE8C +/* 1AE740 8027FE60 34420010 */ ori $v0, $v0, 0x10 + +.L8027FE64: +/* 1AE744 8027FE64 32020020 */ andi $v0, $s0, 0x20 +/* 1AE748 8027FE68 10400005 */ beqz $v0, .L8027FE80 +/* 1AE74C 8027FE6C 2403FFEF */ addiu $v1, $zero, -0x11 +/* 1AE750 8027FE70 8E220000 */ lw $v0, ($s1) +/* 1AE754 8027FE74 00431024 */ and $v0, $v0, $v1 +/* 1AE758 8027FE78 0809FFA4 */ j func_8027FE90 +/* 1AE75C 8027FE7C 34420020 */ ori $v0, $v0, 0x20 + +.L8027FE80: +/* 1AE760 8027FE80 8E220000 */ lw $v0, ($s1) +/* 1AE764 8027FE84 00431024 */ and $v0, $v0, $v1 +/* 1AE768 8027FE88 2403FFDF */ addiu $v1, $zero, -0x21 +func_8027FE8C: +/* 1AE76C 8027FE8C 00431024 */ and $v0, $v0, $v1 +func_8027FE90: +/* 1AE770 8027FE90 AE220000 */ sw $v0, ($s1) +/* 1AE774 8027FE94 32020040 */ andi $v0, $s0, 0x40 +/* 1AE778 8027FE98 10400007 */ beqz $v0, .L8027FEB8 +/* 1AE77C 8027FE9C 2404FFBF */ addiu $a0, $zero, -0x41 +/* 1AE780 8027FEA0 3C03800E */ lui $v1, 0x800e +/* 1AE784 8027FEA4 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 1AE788 8027FEA8 8C620000 */ lw $v0, ($v1) +/* 1AE78C 8027FEAC 34420040 */ ori $v0, $v0, 0x40 +/* 1AE790 8027FEB0 0809FFB3 */ j func_8027FECC +/* 1AE794 8027FEB4 AC620000 */ sw $v0, ($v1) + +.L8027FEB8: +/* 1AE798 8027FEB8 3C02800E */ lui $v0, 0x800e +/* 1AE79C 8027FEBC 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 1AE7A0 8027FEC0 8C430000 */ lw $v1, ($v0) +/* 1AE7A4 8027FEC4 00641824 */ and $v1, $v1, $a0 +/* 1AE7A8 8027FEC8 AC430000 */ sw $v1, ($v0) +func_8027FECC: +/* 1AE7AC 8027FECC 32020200 */ andi $v0, $s0, 0x200 +/* 1AE7B0 8027FED0 10400007 */ beqz $v0, .L8027FEF0 +/* 1AE7B4 8027FED4 2404FDFF */ addiu $a0, $zero, -0x201 +/* 1AE7B8 8027FED8 3C03800E */ lui $v1, 0x800e +/* 1AE7BC 8027FEDC 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 1AE7C0 8027FEE0 8C620000 */ lw $v0, ($v1) +/* 1AE7C4 8027FEE4 34420200 */ ori $v0, $v0, 0x200 +/* 1AE7C8 8027FEE8 0809FFC1 */ j func_8027FF04 +/* 1AE7CC 8027FEEC AC620000 */ sw $v0, ($v1) + +.L8027FEF0: +/* 1AE7D0 8027FEF0 3C02800E */ lui $v0, 0x800e +/* 1AE7D4 8027FEF4 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 1AE7D8 8027FEF8 8C430000 */ lw $v1, ($v0) +/* 1AE7DC 8027FEFC 00641824 */ and $v1, $v1, $a0 +/* 1AE7E0 8027FF00 AC430000 */ sw $v1, ($v0) +func_8027FF04: +/* 1AE7E4 8027FF04 32020080 */ andi $v0, $s0, 0x80 +/* 1AE7E8 8027FF08 10400007 */ beqz $v0, .L8027FF28 +/* 1AE7EC 8027FF0C 2404FF7F */ addiu $a0, $zero, -0x81 +/* 1AE7F0 8027FF10 3C03800E */ lui $v1, 0x800e +/* 1AE7F4 8027FF14 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 1AE7F8 8027FF18 8C620000 */ lw $v0, ($v1) +/* 1AE7FC 8027FF1C 34420080 */ ori $v0, $v0, 0x80 +/* 1AE800 8027FF20 0809FFCF */ j func_8027FF3C +/* 1AE804 8027FF24 AC620000 */ sw $v0, ($v1) + +.L8027FF28: +/* 1AE808 8027FF28 3C02800E */ lui $v0, 0x800e +/* 1AE80C 8027FF2C 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 1AE810 8027FF30 8C430000 */ lw $v1, ($v0) +/* 1AE814 8027FF34 00641824 */ and $v1, $v1, $a0 +/* 1AE818 8027FF38 AC430000 */ sw $v1, ($v0) +func_8027FF3C: +/* 1AE81C 8027FF3C 32020800 */ andi $v0, $s0, 0x800 +/* 1AE820 8027FF40 10400007 */ beqz $v0, .L8027FF60 +/* 1AE824 8027FF44 2404F7FF */ addiu $a0, $zero, -0x801 +/* 1AE828 8027FF48 3C03800E */ lui $v1, 0x800e +/* 1AE82C 8027FF4C 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 1AE830 8027FF50 8C620000 */ lw $v0, ($v1) +/* 1AE834 8027FF54 34420800 */ ori $v0, $v0, 0x800 +/* 1AE838 8027FF58 0809FFDD */ j func_8027FF74 +/* 1AE83C 8027FF5C AC620000 */ sw $v0, ($v1) + +.L8027FF60: +/* 1AE840 8027FF60 3C02800E */ lui $v0, 0x800e +/* 1AE844 8027FF64 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 1AE848 8027FF68 8C430000 */ lw $v1, ($v0) +/* 1AE84C 8027FF6C 00641824 */ and $v1, $v1, $a0 +/* 1AE850 8027FF70 AC430000 */ sw $v1, ($v0) +func_8027FF74: +/* 1AE854 8027FF74 96620428 */ lhu $v0, 0x428($s3) +/* 1AE858 8027FF78 92230193 */ lbu $v1, 0x193($s1) +/* 1AE85C 8027FF7C A62201A0 */ sh $v0, 0x1a0($s1) +/* 1AE860 8027FF80 92620426 */ lbu $v0, 0x426($s3) +/* 1AE864 8027FF84 A2230194 */ sb $v1, 0x194($s1) +/* 1AE868 8027FF88 306300FF */ andi $v1, $v1, 0xff +/* 1AE86C 8027FF8C A22201A2 */ sb $v0, 0x1a2($s1) +/* 1AE870 8027FF90 240200FF */ addiu $v0, $zero, 0xff +/* 1AE874 8027FF94 50620001 */ beql $v1, $v0, .L8027FF9C +/* 1AE878 8027FF98 A2200194 */ sb $zero, 0x194($s1) +.L8027FF9C: +/* 1AE87C 8027FF9C 8E220190 */ lw $v0, 0x190($s1) +/* 1AE880 8027FFA0 30420F00 */ andi $v0, $v0, 0xf00 +/* 1AE884 8027FFA4 00021203 */ sra $v0, $v0, 8 +/* 1AE888 8027FFA8 0C09F8CA */ jal calc_partner_damage_enemy +/* 1AE88C 8027FFAC A2220195 */ sb $v0, 0x195($s1) +/* 1AE890 8027FFB0 0440000B */ bltz $v0, .L8027FFE0 +/* 1AE894 8027FFB4 0240202D */ daddu $a0, $s2, $zero +/* 1AE898 8027FFB8 0280282D */ daddu $a1, $s4, $zero +/* 1AE89C 8027FFBC 0C0B2026 */ jal set_variable +/* 1AE8A0 8027FFC0 0040302D */ daddu $a2, $v0, $zero +/* 1AE8A4 8027FFC4 0C0B1069 */ jal does_script_exist_by_ref +/* 1AE8A8 8027FFC8 0240202D */ daddu $a0, $s2, $zero +/* 1AE8AC 8027FFCC 0040182D */ daddu $v1, $v0, $zero +/* 1AE8B0 8027FFD0 10600004 */ beqz $v1, .L8027FFE4 +/* 1AE8B4 8027FFD4 240200FF */ addiu $v0, $zero, 0xff +/* 1AE8B8 8027FFD8 0809FFF9 */ j func_8027FFE4 +/* 1AE8BC 8027FFDC 24020002 */ addiu $v0, $zero, 2 + +.L8027FFE0: +/* 1AE8C0 8027FFE0 240200FF */ addiu $v0, $zero, 0xff +func_8027FFE4: +.L8027FFE4: +/* 1AE8C4 8027FFE4 8FBF0024 */ lw $ra, 0x24($sp) +/* 1AE8C8 8027FFE8 8FB40020 */ lw $s4, 0x20($sp) +/* 1AE8CC 8027FFEC 8FB3001C */ lw $s3, 0x1c($sp) +/* 1AE8D0 8027FFF0 8FB20018 */ lw $s2, 0x18($sp) +/* 1AE8D4 8027FFF4 8FB10014 */ lw $s1, 0x14($sp) +/* 1AE8D8 8027FFF8 8FB00010 */ lw $s0, 0x10($sp) +/* 1AE8DC 8027FFFC 03E00008 */ jr $ra +func_80280000: +/* 1AE8E0 80280000 27BD0028 */ addiu $sp, $sp, 0x28 + +PartnerAfflictEnemy: +/* 1AE8E4 80280004 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 1AE8E8 80280008 AFB20018 */ sw $s2, 0x18($sp) +/* 1AE8EC 8028000C 0080902D */ daddu $s2, $a0, $zero +/* 1AE8F0 80280010 AFBF0024 */ sw $ra, 0x24($sp) +/* 1AE8F4 80280014 AFB40020 */ sw $s4, 0x20($sp) +/* 1AE8F8 80280018 AFB3001C */ sw $s3, 0x1c($sp) +/* 1AE8FC 8028001C AFB10014 */ sw $s1, 0x14($sp) +/* 1AE900 80280020 AFB00010 */ sw $s0, 0x10($sp) +/* 1AE904 80280024 8E440148 */ lw $a0, 0x148($s2) +/* 1AE908 80280028 0C09A75B */ jal get_actor +/* 1AE90C 8028002C 8E50000C */ lw $s0, 0xc($s2) +/* 1AE910 80280030 8E140000 */ lw $s4, ($s0) +/* 1AE914 80280034 26100004 */ addiu $s0, $s0, 4 +/* 1AE918 80280038 8E030000 */ lw $v1, ($s0) +/* 1AE91C 8028003C 26100004 */ addiu $s0, $s0, 4 +/* 1AE920 80280040 0240202D */ daddu $a0, $s2, $zero +/* 1AE924 80280044 3C11800E */ lui $s1, 0x800e +/* 1AE928 80280048 2631C070 */ addiu $s1, $s1, -0x3f90 +/* 1AE92C 8028004C 0040982D */ daddu $s3, $v0, $zero +/* 1AE930 80280050 AE230188 */ sw $v1, 0x188($s1) +/* 1AE934 80280054 8E030000 */ lw $v1, ($s0) +/* 1AE938 80280058 26100004 */ addiu $s0, $s0, 4 +/* 1AE93C 8028005C AE23018C */ sw $v1, 0x18c($s1) +/* 1AE940 80280060 8E030000 */ lw $v1, ($s0) +/* 1AE944 80280064 26100004 */ addiu $s0, $s0, 4 +/* 1AE948 80280068 AE230190 */ sw $v1, 0x190($s1) +/* 1AE94C 8028006C 8E050000 */ lw $a1, ($s0) +/* 1AE950 80280070 0C0B1EAF */ jal get_variable +/* 1AE954 80280074 26100004 */ addiu $s0, $s0, 4 +/* 1AE958 80280078 8E230190 */ lw $v1, 0x190($s1) +/* 1AE95C 8028007C 0240202D */ daddu $a0, $s2, $zero +/* 1AE960 80280080 00621825 */ or $v1, $v1, $v0 +/* 1AE964 80280084 AE230190 */ sw $v1, 0x190($s1) +func_80280088: +/* 1AE968 80280088 8E050000 */ lw $a1, ($s0) +/* 1AE96C 8028008C 0C0B1EAF */ jal get_variable +/* 1AE970 80280090 26100004 */ addiu $s0, $s0, 4 +/* 1AE974 80280094 A622017E */ sh $v0, 0x17e($s1) +/* 1AE978 80280098 A2200198 */ sb $zero, 0x198($s1) +/* 1AE97C 8028009C 8E100000 */ lw $s0, ($s0) +/* 1AE980 802800A0 24020030 */ addiu $v0, $zero, 0x30 +/* 1AE984 802800A4 32030030 */ andi $v1, $s0, 0x30 +/* 1AE988 802800A8 54620004 */ bnel $v1, $v0, .L802800BC +/* 1AE98C 802800AC 32020010 */ andi $v0, $s0, 0x10 +/* 1AE990 802800B0 8E220000 */ lw $v0, ($s1) +/* 1AE994 802800B4 080A003F */ j func_802800FC +/* 1AE998 802800B8 34420030 */ ori $v0, $v0, 0x30 + +.L802800BC: +/* 1AE99C 802800BC 10400004 */ beqz $v0, .L802800D0 +/* 1AE9A0 802800C0 2403FFDF */ addiu $v1, $zero, -0x21 +/* 1AE9A4 802800C4 8E220000 */ lw $v0, ($s1) +/* 1AE9A8 802800C8 080A003E */ j func_802800F8 +/* 1AE9AC 802800CC 34420010 */ ori $v0, $v0, 0x10 + +.L802800D0: +/* 1AE9B0 802800D0 32020020 */ andi $v0, $s0, 0x20 +/* 1AE9B4 802800D4 10400005 */ beqz $v0, .L802800EC +/* 1AE9B8 802800D8 2403FFEF */ addiu $v1, $zero, -0x11 +/* 1AE9BC 802800DC 8E220000 */ lw $v0, ($s1) +/* 1AE9C0 802800E0 00431024 */ and $v0, $v0, $v1 +/* 1AE9C4 802800E4 080A003F */ j func_802800FC +/* 1AE9C8 802800E8 34420020 */ ori $v0, $v0, 0x20 + +.L802800EC: +/* 1AE9CC 802800EC 8E220000 */ lw $v0, ($s1) +/* 1AE9D0 802800F0 00431024 */ and $v0, $v0, $v1 +/* 1AE9D4 802800F4 2403FFDF */ addiu $v1, $zero, -0x21 +func_802800F8: +/* 1AE9D8 802800F8 00431024 */ and $v0, $v0, $v1 +func_802800FC: +/* 1AE9DC 802800FC AE220000 */ sw $v0, ($s1) +/* 1AE9E0 80280100 32020040 */ andi $v0, $s0, 0x40 +/* 1AE9E4 80280104 10400007 */ beqz $v0, .L80280124 +/* 1AE9E8 80280108 2404FFBF */ addiu $a0, $zero, -0x41 +/* 1AE9EC 8028010C 3C03800E */ lui $v1, 0x800e +/* 1AE9F0 80280110 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 1AE9F4 80280114 8C620000 */ lw $v0, ($v1) +/* 1AE9F8 80280118 34420040 */ ori $v0, $v0, 0x40 +func_8028011C: +/* 1AE9FC 8028011C 080A004E */ j func_80280138 +/* 1AEA00 80280120 AC620000 */ sw $v0, ($v1) + +.L80280124: +/* 1AEA04 80280124 3C02800E */ lui $v0, 0x800e +/* 1AEA08 80280128 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 1AEA0C 8028012C 8C430000 */ lw $v1, ($v0) +/* 1AEA10 80280130 00641824 */ and $v1, $v1, $a0 +/* 1AEA14 80280134 AC430000 */ sw $v1, ($v0) +func_80280138: +/* 1AEA18 80280138 32020200 */ andi $v0, $s0, 0x200 +/* 1AEA1C 8028013C 10400007 */ beqz $v0, .L8028015C +/* 1AEA20 80280140 2404FDFF */ addiu $a0, $zero, -0x201 +/* 1AEA24 80280144 3C03800E */ lui $v1, 0x800e +/* 1AEA28 80280148 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 1AEA2C 8028014C 8C620000 */ lw $v0, ($v1) +/* 1AEA30 80280150 34420200 */ ori $v0, $v0, 0x200 +/* 1AEA34 80280154 080A005C */ j func_80280170 +/* 1AEA38 80280158 AC620000 */ sw $v0, ($v1) + +.L8028015C: +/* 1AEA3C 8028015C 3C02800E */ lui $v0, 0x800e +/* 1AEA40 80280160 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 1AEA44 80280164 8C430000 */ lw $v1, ($v0) +/* 1AEA48 80280168 00641824 */ and $v1, $v1, $a0 +/* 1AEA4C 8028016C AC430000 */ sw $v1, ($v0) +func_80280170: +/* 1AEA50 80280170 32020080 */ andi $v0, $s0, 0x80 +/* 1AEA54 80280174 10400007 */ beqz $v0, .L80280194 +/* 1AEA58 80280178 2404FF7F */ addiu $a0, $zero, -0x81 +func_8028017C: +/* 1AEA5C 8028017C 3C03800E */ lui $v1, 0x800e +/* 1AEA60 80280180 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 1AEA64 80280184 8C620000 */ lw $v0, ($v1) +/* 1AEA68 80280188 34420080 */ ori $v0, $v0, 0x80 +/* 1AEA6C 8028018C 080A006A */ j func_802801A8 +/* 1AEA70 80280190 AC620000 */ sw $v0, ($v1) + +.L80280194: +/* 1AEA74 80280194 3C02800E */ lui $v0, 0x800e +/* 1AEA78 80280198 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 1AEA7C 8028019C 8C430000 */ lw $v1, ($v0) +/* 1AEA80 802801A0 00641824 */ and $v1, $v1, $a0 +/* 1AEA84 802801A4 AC430000 */ sw $v1, ($v0) +func_802801A8: +/* 1AEA88 802801A8 32020800 */ andi $v0, $s0, 0x800 +/* 1AEA8C 802801AC 10400007 */ beqz $v0, .L802801CC +/* 1AEA90 802801B0 2404F7FF */ addiu $a0, $zero, -0x801 +/* 1AEA94 802801B4 3C03800E */ lui $v1, 0x800e +/* 1AEA98 802801B8 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 1AEA9C 802801BC 8C620000 */ lw $v0, ($v1) +/* 1AEAA0 802801C0 34420800 */ ori $v0, $v0, 0x800 +/* 1AEAA4 802801C4 080A0078 */ j func_802801E0 +/* 1AEAA8 802801C8 AC620000 */ sw $v0, ($v1) + +.L802801CC: +/* 1AEAAC 802801CC 3C02800E */ lui $v0, 0x800e +/* 1AEAB0 802801D0 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 1AEAB4 802801D4 8C430000 */ lw $v1, ($v0) +/* 1AEAB8 802801D8 00641824 */ and $v1, $v1, $a0 +/* 1AEABC 802801DC AC430000 */ sw $v1, ($v0) +func_802801E0: +/* 1AEAC0 802801E0 96620428 */ lhu $v0, 0x428($s3) +/* 1AEAC4 802801E4 92230193 */ lbu $v1, 0x193($s1) +/* 1AEAC8 802801E8 A62201A0 */ sh $v0, 0x1a0($s1) +/* 1AEACC 802801EC 92620426 */ lbu $v0, 0x426($s3) +/* 1AEAD0 802801F0 A2230194 */ sb $v1, 0x194($s1) +/* 1AEAD4 802801F4 306300FF */ andi $v1, $v1, 0xff +/* 1AEAD8 802801F8 A22201A2 */ sb $v0, 0x1a2($s1) +/* 1AEADC 802801FC 240200FF */ addiu $v0, $zero, 0xff +/* 1AEAE0 80280200 50620001 */ beql $v1, $v0, .L80280208 +/* 1AEAE4 80280204 A2200194 */ sb $zero, 0x194($s1) +func_80280208: +.L80280208: +/* 1AEAE8 80280208 8E220190 */ lw $v0, 0x190($s1) +/* 1AEAEC 8028020C 30420F00 */ andi $v0, $v0, 0xf00 +/* 1AEAF0 80280210 00021203 */ sra $v0, $v0, 8 +/* 1AEAF4 80280214 0C09F8CA */ jal calc_partner_damage_enemy +/* 1AEAF8 80280218 A2220195 */ sb $v0, 0x195($s1) +/* 1AEAFC 8028021C 0440000B */ bltz $v0, .L8028024C +/* 1AEB00 80280220 0240202D */ daddu $a0, $s2, $zero +/* 1AEB04 80280224 0280282D */ daddu $a1, $s4, $zero +/* 1AEB08 80280228 0C0B2026 */ jal set_variable +/* 1AEB0C 8028022C 0040302D */ daddu $a2, $v0, $zero +/* 1AEB10 80280230 0C0B1069 */ jal does_script_exist_by_ref +/* 1AEB14 80280234 0240202D */ daddu $a0, $s2, $zero +/* 1AEB18 80280238 0040182D */ daddu $v1, $v0, $zero +/* 1AEB1C 8028023C 10600004 */ beqz $v1, .L80280250 +/* 1AEB20 80280240 240200FF */ addiu $v0, $zero, 0xff +/* 1AEB24 80280244 080A0094 */ j func_80280250 +/* 1AEB28 80280248 24020002 */ addiu $v0, $zero, 2 + +.L8028024C: +/* 1AEB2C 8028024C 240200FF */ addiu $v0, $zero, 0xff +func_80280250: +.L80280250: +/* 1AEB30 80280250 8FBF0024 */ lw $ra, 0x24($sp) +/* 1AEB34 80280254 8FB40020 */ lw $s4, 0x20($sp) +/* 1AEB38 80280258 8FB3001C */ lw $s3, 0x1c($sp) +/* 1AEB3C 8028025C 8FB20018 */ lw $s2, 0x18($sp) +/* 1AEB40 80280260 8FB10014 */ lw $s1, 0x14($sp) +/* 1AEB44 80280264 8FB00010 */ lw $s0, 0x10($sp) +/* 1AEB48 80280268 03E00008 */ jr $ra +/* 1AEB4C 8028026C 27BD0028 */ addiu $sp, $sp, 0x28 + +PartnerPowerBounceEnemy: +/* 1AEB50 80280270 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 1AEB54 80280274 AFB20018 */ sw $s2, 0x18($sp) +/* 1AEB58 80280278 0080902D */ daddu $s2, $a0, $zero +/* 1AEB5C 8028027C AFBF0024 */ sw $ra, 0x24($sp) +/* 1AEB60 80280280 AFB40020 */ sw $s4, 0x20($sp) +/* 1AEB64 80280284 AFB3001C */ sw $s3, 0x1c($sp) +/* 1AEB68 80280288 AFB10014 */ sw $s1, 0x14($sp) +/* 1AEB6C 8028028C AFB00010 */ sw $s0, 0x10($sp) +/* 1AEB70 80280290 8E440148 */ lw $a0, 0x148($s2) +/* 1AEB74 80280294 0C09A75B */ jal get_actor +/* 1AEB78 80280298 8E50000C */ lw $s0, 0xc($s2) +/* 1AEB7C 8028029C 8E140000 */ lw $s4, ($s0) +/* 1AEB80 802802A0 26100004 */ addiu $s0, $s0, 4 +/* 1AEB84 802802A4 8E030000 */ lw $v1, ($s0) +/* 1AEB88 802802A8 26100004 */ addiu $s0, $s0, 4 +/* 1AEB8C 802802AC 0240202D */ daddu $a0, $s2, $zero +/* 1AEB90 802802B0 3C11800E */ lui $s1, 0x800e +/* 1AEB94 802802B4 2631C070 */ addiu $s1, $s1, -0x3f90 +/* 1AEB98 802802B8 0040982D */ daddu $s3, $v0, $zero +/* 1AEB9C 802802BC AE230188 */ sw $v1, 0x188($s1) +/* 1AEBA0 802802C0 8E030000 */ lw $v1, ($s0) +/* 1AEBA4 802802C4 26100004 */ addiu $s0, $s0, 4 +/* 1AEBA8 802802C8 AE23018C */ sw $v1, 0x18c($s1) +/* 1AEBAC 802802CC 8E030000 */ lw $v1, ($s0) +func_802802D0: +/* 1AEBB0 802802D0 26100004 */ addiu $s0, $s0, 4 +/* 1AEBB4 802802D4 AE230190 */ sw $v1, 0x190($s1) +/* 1AEBB8 802802D8 8E050000 */ lw $a1, ($s0) +/* 1AEBBC 802802DC 0C0B1EAF */ jal get_variable +/* 1AEBC0 802802E0 26100004 */ addiu $s0, $s0, 4 +/* 1AEBC4 802802E4 A622017E */ sh $v0, 0x17e($s1) +/* 1AEBC8 802802E8 8E050000 */ lw $a1, ($s0) +/* 1AEBCC 802802EC 26100004 */ addiu $s0, $s0, 4 +/* 1AEBD0 802802F0 0C0B1EAF */ jal get_variable +/* 1AEBD4 802802F4 0240202D */ daddu $a0, $s2, $zero +/* 1AEBD8 802802F8 A2220198 */ sb $v0, 0x198($s1) +/* 1AEBDC 802802FC 8E100000 */ lw $s0, ($s0) +/* 1AEBE0 80280300 24020030 */ addiu $v0, $zero, 0x30 +/* 1AEBE4 80280304 32030030 */ andi $v1, $s0, 0x30 +/* 1AEBE8 80280308 54620004 */ bnel $v1, $v0, .L8028031C +/* 1AEBEC 8028030C 32020010 */ andi $v0, $s0, 0x10 +/* 1AEBF0 80280310 8E220000 */ lw $v0, ($s1) +/* 1AEBF4 80280314 080A00D7 */ j func_8028035C +/* 1AEBF8 80280318 34420030 */ ori $v0, $v0, 0x30 + +.L8028031C: +/* 1AEBFC 8028031C 10400004 */ beqz $v0, .L80280330 +/* 1AEC00 80280320 2403FFDF */ addiu $v1, $zero, -0x21 +/* 1AEC04 80280324 8E220000 */ lw $v0, ($s1) +/* 1AEC08 80280328 080A00D6 */ j func_80280358 +/* 1AEC0C 8028032C 34420010 */ ori $v0, $v0, 0x10 + +.L80280330: +/* 1AEC10 80280330 32020020 */ andi $v0, $s0, 0x20 +/* 1AEC14 80280334 10400005 */ beqz $v0, .L8028034C +/* 1AEC18 80280338 2403FFEF */ addiu $v1, $zero, -0x11 +/* 1AEC1C 8028033C 8E220000 */ lw $v0, ($s1) +/* 1AEC20 80280340 00431024 */ and $v0, $v0, $v1 +/* 1AEC24 80280344 080A00D7 */ j func_8028035C +/* 1AEC28 80280348 34420020 */ ori $v0, $v0, 0x20 + +.L8028034C: +/* 1AEC2C 8028034C 8E220000 */ lw $v0, ($s1) +/* 1AEC30 80280350 00431024 */ and $v0, $v0, $v1 +/* 1AEC34 80280354 2403FFDF */ addiu $v1, $zero, -0x21 +func_80280358: +/* 1AEC38 80280358 00431024 */ and $v0, $v0, $v1 +func_8028035C: +/* 1AEC3C 8028035C AE220000 */ sw $v0, ($s1) +/* 1AEC40 80280360 32020040 */ andi $v0, $s0, 0x40 +/* 1AEC44 80280364 10400007 */ beqz $v0, .L80280384 +/* 1AEC48 80280368 2404FFBF */ addiu $a0, $zero, -0x41 +/* 1AEC4C 8028036C 3C03800E */ lui $v1, 0x800e +/* 1AEC50 80280370 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 1AEC54 80280374 8C620000 */ lw $v0, ($v1) +/* 1AEC58 80280378 34420040 */ ori $v0, $v0, 0x40 +/* 1AEC5C 8028037C 080A00E6 */ j func_80280398 +/* 1AEC60 80280380 AC620000 */ sw $v0, ($v1) + +.L80280384: +/* 1AEC64 80280384 3C02800E */ lui $v0, 0x800e +/* 1AEC68 80280388 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 1AEC6C 8028038C 8C430000 */ lw $v1, ($v0) +/* 1AEC70 80280390 00641824 */ and $v1, $v1, $a0 +/* 1AEC74 80280394 AC430000 */ sw $v1, ($v0) +func_80280398: +/* 1AEC78 80280398 32020200 */ andi $v0, $s0, 0x200 +/* 1AEC7C 8028039C 10400007 */ beqz $v0, .L802803BC +/* 1AEC80 802803A0 2404FDFF */ addiu $a0, $zero, -0x201 +/* 1AEC84 802803A4 3C03800E */ lui $v1, 0x800e +/* 1AEC88 802803A8 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 1AEC8C 802803AC 8C620000 */ lw $v0, ($v1) +/* 1AEC90 802803B0 34420200 */ ori $v0, $v0, 0x200 +/* 1AEC94 802803B4 080A00F4 */ j func_802803D0 +/* 1AEC98 802803B8 AC620000 */ sw $v0, ($v1) + +.L802803BC: +/* 1AEC9C 802803BC 3C02800E */ lui $v0, 0x800e +/* 1AECA0 802803C0 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 1AECA4 802803C4 8C430000 */ lw $v1, ($v0) +/* 1AECA8 802803C8 00641824 */ and $v1, $v1, $a0 +/* 1AECAC 802803CC AC430000 */ sw $v1, ($v0) +func_802803D0: +/* 1AECB0 802803D0 32020080 */ andi $v0, $s0, 0x80 +/* 1AECB4 802803D4 10400007 */ beqz $v0, .L802803F4 +/* 1AECB8 802803D8 2404FF7F */ addiu $a0, $zero, -0x81 +/* 1AECBC 802803DC 3C03800E */ lui $v1, 0x800e +/* 1AECC0 802803E0 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 1AECC4 802803E4 8C620000 */ lw $v0, ($v1) +/* 1AECC8 802803E8 34420080 */ ori $v0, $v0, 0x80 +/* 1AECCC 802803EC 080A0102 */ j func_80280408 +/* 1AECD0 802803F0 AC620000 */ sw $v0, ($v1) + +.L802803F4: +/* 1AECD4 802803F4 3C02800E */ lui $v0, 0x800e +/* 1AECD8 802803F8 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 1AECDC 802803FC 8C430000 */ lw $v1, ($v0) +/* 1AECE0 80280400 00641824 */ and $v1, $v1, $a0 +/* 1AECE4 80280404 AC430000 */ sw $v1, ($v0) +func_80280408: +/* 1AECE8 80280408 32020800 */ andi $v0, $s0, 0x800 +/* 1AECEC 8028040C 10400007 */ beqz $v0, .L8028042C +/* 1AECF0 80280410 2404F7FF */ addiu $a0, $zero, -0x801 +/* 1AECF4 80280414 3C03800E */ lui $v1, 0x800e +/* 1AECF8 80280418 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 1AECFC 8028041C 8C620000 */ lw $v0, ($v1) +/* 1AED00 80280420 34420800 */ ori $v0, $v0, 0x800 +/* 1AED04 80280424 080A0110 */ j func_80280440 +/* 1AED08 80280428 AC620000 */ sw $v0, ($v1) + +.L8028042C: +/* 1AED0C 8028042C 3C02800E */ lui $v0, 0x800e +/* 1AED10 80280430 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 1AED14 80280434 8C430000 */ lw $v1, ($v0) +/* 1AED18 80280438 00641824 */ and $v1, $v1, $a0 +/* 1AED1C 8028043C AC430000 */ sw $v1, ($v0) +func_80280440: +/* 1AED20 80280440 96620428 */ lhu $v0, 0x428($s3) +/* 1AED24 80280444 92230193 */ lbu $v1, 0x193($s1) +/* 1AED28 80280448 A62201A0 */ sh $v0, 0x1a0($s1) +/* 1AED2C 8028044C 92620426 */ lbu $v0, 0x426($s3) +/* 1AED30 80280450 A2230194 */ sb $v1, 0x194($s1) +/* 1AED34 80280454 306300FF */ andi $v1, $v1, 0xff +/* 1AED38 80280458 A22201A2 */ sb $v0, 0x1a2($s1) +/* 1AED3C 8028045C 240200FF */ addiu $v0, $zero, 0xff +/* 1AED40 80280460 50620001 */ beql $v1, $v0, .L80280468 +/* 1AED44 80280464 A2200194 */ sb $zero, 0x194($s1) +.L80280468: +/* 1AED48 80280468 8E220190 */ lw $v0, 0x190($s1) +/* 1AED4C 8028046C 30420F00 */ andi $v0, $v0, 0xf00 +/* 1AED50 80280470 00021203 */ sra $v0, $v0, 8 +/* 1AED54 80280474 0C09F8CA */ jal calc_partner_damage_enemy +/* 1AED58 80280478 A2220195 */ sb $v0, 0x195($s1) +/* 1AED5C 8028047C 0440000B */ bltz $v0, .L802804AC +/* 1AED60 80280480 0240202D */ daddu $a0, $s2, $zero +/* 1AED64 80280484 0280282D */ daddu $a1, $s4, $zero +/* 1AED68 80280488 0C0B2026 */ jal set_variable +/* 1AED6C 8028048C 0040302D */ daddu $a2, $v0, $zero +/* 1AED70 80280490 0C0B1069 */ jal does_script_exist_by_ref +/* 1AED74 80280494 0240202D */ daddu $a0, $s2, $zero +/* 1AED78 80280498 0040182D */ daddu $v1, $v0, $zero +/* 1AED7C 8028049C 10600004 */ beqz $v1, .L802804B0 +/* 1AED80 802804A0 240200FF */ addiu $v0, $zero, 0xff +/* 1AED84 802804A4 080A012C */ j func_802804B0 +/* 1AED88 802804A8 24020002 */ addiu $v0, $zero, 2 + +.L802804AC: +/* 1AED8C 802804AC 240200FF */ addiu $v0, $zero, 0xff +func_802804B0: +.L802804B0: +/* 1AED90 802804B0 8FBF0024 */ lw $ra, 0x24($sp) +/* 1AED94 802804B4 8FB40020 */ lw $s4, 0x20($sp) +/* 1AED98 802804B8 8FB3001C */ lw $s3, 0x1c($sp) +/* 1AED9C 802804BC 8FB20018 */ lw $s2, 0x18($sp) +/* 1AEDA0 802804C0 8FB10014 */ lw $s1, 0x14($sp) +/* 1AEDA4 802804C4 8FB00010 */ lw $s0, 0x10($sp) +/* 1AEDA8 802804C8 03E00008 */ jr $ra +/* 1AEDAC 802804CC 27BD0028 */ addiu $sp, $sp, 0x28 + +PartnerTestEnemy: +/* 1AEDB0 802804D0 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 1AEDB4 802804D4 AFB20018 */ sw $s2, 0x18($sp) +/* 1AEDB8 802804D8 0080902D */ daddu $s2, $a0, $zero +/* 1AEDBC 802804DC AFBF0024 */ sw $ra, 0x24($sp) +/* 1AEDC0 802804E0 AFB40020 */ sw $s4, 0x20($sp) +/* 1AEDC4 802804E4 AFB3001C */ sw $s3, 0x1c($sp) +/* 1AEDC8 802804E8 AFB10014 */ sw $s1, 0x14($sp) +/* 1AEDCC 802804EC AFB00010 */ sw $s0, 0x10($sp) +/* 1AEDD0 802804F0 8E440148 */ lw $a0, 0x148($s2) +/* 1AEDD4 802804F4 0C09A75B */ jal get_actor +/* 1AEDD8 802804F8 8E50000C */ lw $s0, 0xc($s2) +/* 1AEDDC 802804FC 8E140000 */ lw $s4, ($s0) +/* 1AEDE0 80280500 26100004 */ addiu $s0, $s0, 4 +func_80280504: +/* 1AEDE4 80280504 8E030000 */ lw $v1, ($s0) +/* 1AEDE8 80280508 26100004 */ addiu $s0, $s0, 4 +/* 1AEDEC 8028050C 0240202D */ daddu $a0, $s2, $zero +/* 1AEDF0 80280510 3C11800E */ lui $s1, 0x800e +/* 1AEDF4 80280514 2631C070 */ addiu $s1, $s1, -0x3f90 +/* 1AEDF8 80280518 0040982D */ daddu $s3, $v0, $zero +/* 1AEDFC 8028051C AE230188 */ sw $v1, 0x188($s1) +/* 1AEE00 80280520 8E030000 */ lw $v1, ($s0) +/* 1AEE04 80280524 26100004 */ addiu $s0, $s0, 4 +/* 1AEE08 80280528 AE23018C */ sw $v1, 0x18c($s1) +/* 1AEE0C 8028052C 8E030000 */ lw $v1, ($s0) +/* 1AEE10 80280530 26100004 */ addiu $s0, $s0, 4 +/* 1AEE14 80280534 AE230190 */ sw $v1, 0x190($s1) +/* 1AEE18 80280538 8E050000 */ lw $a1, ($s0) +/* 1AEE1C 8028053C 0C0B1EAF */ jal get_variable +/* 1AEE20 80280540 26100004 */ addiu $s0, $s0, 4 +/* 1AEE24 80280544 A622017E */ sh $v0, 0x17e($s1) +/* 1AEE28 80280548 A2200198 */ sb $zero, 0x198($s1) +/* 1AEE2C 8028054C 8E100000 */ lw $s0, ($s0) +/* 1AEE30 80280550 24020030 */ addiu $v0, $zero, 0x30 +/* 1AEE34 80280554 32030030 */ andi $v1, $s0, 0x30 +/* 1AEE38 80280558 54620004 */ bnel $v1, $v0, .L8028056C +/* 1AEE3C 8028055C 32020010 */ andi $v0, $s0, 0x10 +/* 1AEE40 80280560 8E220000 */ lw $v0, ($s1) +/* 1AEE44 80280564 080A016B */ j func_802805AC +/* 1AEE48 80280568 34420030 */ ori $v0, $v0, 0x30 + +.L8028056C: +/* 1AEE4C 8028056C 10400004 */ beqz $v0, .L80280580 +/* 1AEE50 80280570 2403FFDF */ addiu $v1, $zero, -0x21 +/* 1AEE54 80280574 8E220000 */ lw $v0, ($s1) +/* 1AEE58 80280578 080A016A */ j func_802805A8 +/* 1AEE5C 8028057C 34420010 */ ori $v0, $v0, 0x10 + +.L80280580: +/* 1AEE60 80280580 32020020 */ andi $v0, $s0, 0x20 +/* 1AEE64 80280584 10400005 */ beqz $v0, .L8028059C +/* 1AEE68 80280588 2403FFEF */ addiu $v1, $zero, -0x11 +/* 1AEE6C 8028058C 8E220000 */ lw $v0, ($s1) +/* 1AEE70 80280590 00431024 */ and $v0, $v0, $v1 +/* 1AEE74 80280594 080A016B */ j func_802805AC +/* 1AEE78 80280598 34420020 */ ori $v0, $v0, 0x20 + +.L8028059C: +/* 1AEE7C 8028059C 8E220000 */ lw $v0, ($s1) +/* 1AEE80 802805A0 00431024 */ and $v0, $v0, $v1 +/* 1AEE84 802805A4 2403FFDF */ addiu $v1, $zero, -0x21 +func_802805A8: +/* 1AEE88 802805A8 00431024 */ and $v0, $v0, $v1 +func_802805AC: +/* 1AEE8C 802805AC AE220000 */ sw $v0, ($s1) +/* 1AEE90 802805B0 32020040 */ andi $v0, $s0, 0x40 +/* 1AEE94 802805B4 10400007 */ beqz $v0, .L802805D4 +/* 1AEE98 802805B8 2404FFBF */ addiu $a0, $zero, -0x41 +/* 1AEE9C 802805BC 3C03800E */ lui $v1, 0x800e +/* 1AEEA0 802805C0 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 1AEEA4 802805C4 8C620000 */ lw $v0, ($v1) +/* 1AEEA8 802805C8 34420040 */ ori $v0, $v0, 0x40 +/* 1AEEAC 802805CC 080A017A */ j func_802805E8 +/* 1AEEB0 802805D0 AC620000 */ sw $v0, ($v1) + +.L802805D4: +/* 1AEEB4 802805D4 3C02800E */ lui $v0, 0x800e +/* 1AEEB8 802805D8 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 1AEEBC 802805DC 8C430000 */ lw $v1, ($v0) +/* 1AEEC0 802805E0 00641824 */ and $v1, $v1, $a0 +/* 1AEEC4 802805E4 AC430000 */ sw $v1, ($v0) +func_802805E8: +/* 1AEEC8 802805E8 32020200 */ andi $v0, $s0, 0x200 +/* 1AEECC 802805EC 10400007 */ beqz $v0, .L8028060C +/* 1AEED0 802805F0 2404FDFF */ addiu $a0, $zero, -0x201 +/* 1AEED4 802805F4 3C03800E */ lui $v1, 0x800e +/* 1AEED8 802805F8 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 1AEEDC 802805FC 8C620000 */ lw $v0, ($v1) +/* 1AEEE0 80280600 34420200 */ ori $v0, $v0, 0x200 +/* 1AEEE4 80280604 080A0188 */ j func_80280620 +/* 1AEEE8 80280608 AC620000 */ sw $v0, ($v1) + +.L8028060C: +/* 1AEEEC 8028060C 3C02800E */ lui $v0, 0x800e +/* 1AEEF0 80280610 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 1AEEF4 80280614 8C430000 */ lw $v1, ($v0) +/* 1AEEF8 80280618 00641824 */ and $v1, $v1, $a0 +/* 1AEEFC 8028061C AC430000 */ sw $v1, ($v0) +func_80280620: +/* 1AEF00 80280620 32020080 */ andi $v0, $s0, 0x80 +/* 1AEF04 80280624 10400007 */ beqz $v0, .L80280644 +/* 1AEF08 80280628 2404FF7F */ addiu $a0, $zero, -0x81 +/* 1AEF0C 8028062C 3C03800E */ lui $v1, 0x800e +/* 1AEF10 80280630 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 1AEF14 80280634 8C620000 */ lw $v0, ($v1) +/* 1AEF18 80280638 34420080 */ ori $v0, $v0, 0x80 +/* 1AEF1C 8028063C 080A0196 */ j func_80280658 +/* 1AEF20 80280640 AC620000 */ sw $v0, ($v1) + +.L80280644: +/* 1AEF24 80280644 3C02800E */ lui $v0, 0x800e +/* 1AEF28 80280648 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 1AEF2C 8028064C 8C430000 */ lw $v1, ($v0) +/* 1AEF30 80280650 00641824 */ and $v1, $v1, $a0 +/* 1AEF34 80280654 AC430000 */ sw $v1, ($v0) +func_80280658: +/* 1AEF38 80280658 32020800 */ andi $v0, $s0, 0x800 +/* 1AEF3C 8028065C 10400007 */ beqz $v0, .L8028067C +/* 1AEF40 80280660 2404F7FF */ addiu $a0, $zero, -0x801 +/* 1AEF44 80280664 3C03800E */ lui $v1, 0x800e +/* 1AEF48 80280668 2463C070 */ addiu $v1, $v1, -0x3f90 +/* 1AEF4C 8028066C 8C620000 */ lw $v0, ($v1) +/* 1AEF50 80280670 34420800 */ ori $v0, $v0, 0x800 +/* 1AEF54 80280674 080A01A4 */ j func_80280690 +/* 1AEF58 80280678 AC620000 */ sw $v0, ($v1) + +.L8028067C: +/* 1AEF5C 8028067C 3C02800E */ lui $v0, 0x800e +/* 1AEF60 80280680 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 1AEF64 80280684 8C430000 */ lw $v1, ($v0) +/* 1AEF68 80280688 00641824 */ and $v1, $v1, $a0 +/* 1AEF6C 8028068C AC430000 */ sw $v1, ($v0) +func_80280690: +/* 1AEF70 80280690 96620428 */ lhu $v0, 0x428($s3) +/* 1AEF74 80280694 92230193 */ lbu $v1, 0x193($s1) +/* 1AEF78 80280698 A62201A0 */ sh $v0, 0x1a0($s1) +/* 1AEF7C 8028069C 92620426 */ lbu $v0, 0x426($s3) +/* 1AEF80 802806A0 A2230194 */ sb $v1, 0x194($s1) +/* 1AEF84 802806A4 306300FF */ andi $v1, $v1, 0xff +/* 1AEF88 802806A8 A22201A2 */ sb $v0, 0x1a2($s1) +/* 1AEF8C 802806AC 240200FF */ addiu $v0, $zero, 0xff +/* 1AEF90 802806B0 50620001 */ beql $v1, $v0, .L802806B8 +/* 1AEF94 802806B4 A2200194 */ sb $zero, 0x194($s1) +.L802806B8: +/* 1AEF98 802806B8 8E220190 */ lw $v0, 0x190($s1) +/* 1AEF9C 802806BC 30420F00 */ andi $v0, $v0, 0xf00 +/* 1AEFA0 802806C0 00021203 */ sra $v0, $v0, 8 +/* 1AEFA4 802806C4 0C09F7DF */ jal calc_partner_test_enemy +/* 1AEFA8 802806C8 A2220195 */ sb $v0, 0x195($s1) +/* 1AEFAC 802806CC 04400006 */ bltz $v0, .L802806E8 +/* 1AEFB0 802806D0 0240202D */ daddu $a0, $s2, $zero +/* 1AEFB4 802806D4 0280282D */ daddu $a1, $s4, $zero +/* 1AEFB8 802806D8 0C0B2026 */ jal set_variable +/* 1AEFBC 802806DC 0040302D */ daddu $a2, $v0, $zero +/* 1AEFC0 802806E0 080A01BB */ j func_802806EC +/* 1AEFC4 802806E4 24020002 */ addiu $v0, $zero, 2 + +.L802806E8: +/* 1AEFC8 802806E8 240200FF */ addiu $v0, $zero, 0xff +func_802806EC: +/* 1AEFCC 802806EC 8FBF0024 */ lw $ra, 0x24($sp) +/* 1AEFD0 802806F0 8FB40020 */ lw $s4, 0x20($sp) +/* 1AEFD4 802806F4 8FB3001C */ lw $s3, 0x1c($sp) +/* 1AEFD8 802806F8 8FB20018 */ lw $s2, 0x18($sp) +/* 1AEFDC 802806FC 8FB10014 */ lw $s1, 0x14($sp) +/* 1AEFE0 80280700 8FB00010 */ lw $s0, 0x10($sp) +/* 1AEFE4 80280704 03E00008 */ jr $ra +/* 1AEFE8 80280708 27BD0028 */ addiu $sp, $sp, 0x28 + +/* 1AEFEC 8028070C 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 1AEFF0 80280710 AFB20018 */ sw $s2, 0x18($sp) +/* 1AEFF4 80280714 0080902D */ daddu $s2, $a0, $zero +/* 1AEFF8 80280718 AFBF001C */ sw $ra, 0x1c($sp) +/* 1AEFFC 8028071C AFB10014 */ sw $s1, 0x14($sp) +/* 1AF000 80280720 AFB00010 */ sw $s0, 0x10($sp) +/* 1AF004 80280724 8E440148 */ lw $a0, 0x148($s2) +/* 1AF008 80280728 0C09A75B */ jal get_actor +/* 1AF00C 8028072C 8E50000C */ lw $s0, 0xc($s2) +/* 1AF010 80280730 8E050000 */ lw $a1, ($s0) +/* 1AF014 80280734 26100004 */ addiu $s0, $s0, 4 +/* 1AF018 80280738 0240202D */ daddu $a0, $s2, $zero +/* 1AF01C 8028073C 0C0B1EAF */ jal get_variable +/* 1AF020 80280740 0040882D */ daddu $s1, $v0, $zero +/* 1AF024 80280744 0240202D */ daddu $a0, $s2, $zero +/* 1AF028 80280748 8E050000 */ lw $a1, ($s0) +/* 1AF02C 8028074C 0C0B1EAF */ jal get_variable +/* 1AF030 80280750 0040802D */ daddu $s0, $v0, $zero +/* 1AF034 80280754 0200202D */ daddu $a0, $s0, $zero +/* 1AF038 80280758 96230428 */ lhu $v1, 0x428($s1) +/* 1AF03C 8028075C 3C06800E */ lui $a2, 0x800e +/* 1AF040 80280760 24C6C070 */ addiu $a2, $a2, -0x3f90 +/* 1AF044 80280764 A4C301A0 */ sh $v1, 0x1a0($a2) +/* 1AF048 80280768 92230426 */ lbu $v1, 0x426($s1) +/* 1AF04C 8028076C 0040282D */ daddu $a1, $v0, $zero +/* 1AF050 80280770 0C09FEE0 */ jal dispatch_damage_event_partner_0 +/* 1AF054 80280774 A0C301A2 */ sb $v1, 0x1a2($a2) +/* 1AF058 80280778 04420005 */ bltzl $v0, .L80280790 +/* 1AF05C 8028077C 0000102D */ daddu $v0, $zero, $zero +/* 1AF060 80280780 0C0B1069 */ jal does_script_exist_by_ref +/* 1AF064 80280784 0240202D */ daddu $a0, $s2, $zero +/* 1AF068 80280788 0002102B */ sltu $v0, $zero, $v0 +/* 1AF06C 8028078C 00021040 */ sll $v0, $v0, 1 +.L80280790: +/* 1AF070 80280790 8FBF001C */ lw $ra, 0x1c($sp) +/* 1AF074 80280794 8FB20018 */ lw $s2, 0x18($sp) +/* 1AF078 80280798 8FB10014 */ lw $s1, 0x14($sp) +/* 1AF07C 8028079C 8FB00010 */ lw $s0, 0x10($sp) +/* 1AF080 802807A0 03E00008 */ jr $ra +/* 1AF084 802807A4 27BD0020 */ addiu $sp, $sp, 0x20 + +DeletePartner: +/* 1AF088 802807A8 3C04800E */ lui $a0, 0x800e +/* 1AF08C 802807AC 8C84C14C */ lw $a0, -0x3eb4($a0) +/* 1AF090 802807B0 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 1AF094 802807B4 AFBF0010 */ sw $ra, 0x10($sp) +/* 1AF098 802807B8 0C0902EF */ jal delete_actor +/* 1AF09C 802807BC 00000000 */ nop +/* 1AF0A0 802807C0 8FBF0010 */ lw $ra, 0x10($sp) +/* 1AF0A4 802807C4 24020002 */ addiu $v0, $zero, 2 +/* 1AF0A8 802807C8 03E00008 */ jr $ra +/* 1AF0AC 802807CC 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 1AF0B0 802807D0 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 1AF0B4 802807D4 AFBF0010 */ sw $ra, 0x10($sp) +/* 1AF0B8 802807D8 8C82000C */ lw $v0, 0xc($a0) +/* 1AF0BC 802807DC 3C03800E */ lui $v1, 0x800e +/* 1AF0C0 802807E0 8063C0F1 */ lb $v1, -0x3f0f($v1) +/* 1AF0C4 802807E4 8C450000 */ lw $a1, ($v0) +/* 1AF0C8 802807E8 04610002 */ bgez $v1, .L802807F4 +/* 1AF0CC 802807EC 0000302D */ daddu $a2, $zero, $zero +/* 1AF0D0 802807F0 00C0182D */ daddu $v1, $a2, $zero +.L802807F4: +/* 1AF0D4 802807F4 00C3102A */ slt $v0, $a2, $v1 +/* 1AF0D8 802807F8 54400001 */ bnezl $v0, .L80280800 +/* 1AF0DC 802807FC 0060302D */ daddu $a2, $v1, $zero +.L80280800: +/* 1AF0E0 80280800 0C0B2026 */ jal set_variable +/* 1AF0E4 80280804 00000000 */ nop +/* 1AF0E8 80280808 8FBF0010 */ lw $ra, 0x10($sp) +/* 1AF0EC 8028080C 24020002 */ addiu $v0, $zero, 2 +/* 1AF0F0 80280810 03E00008 */ jr $ra +/* 1AF0F4 80280814 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 1AF0F8 80280818 3C02800E */ lui $v0, 0x800e +/* 1AF0FC 8028081C 2442C070 */ addiu $v0, $v0, -0x3f90 +/* 1AF100 80280820 8C430000 */ lw $v1, ($v0) +/* 1AF104 80280824 3C040020 */ lui $a0, 0x20 +/* 1AF108 80280828 00641825 */ or $v1, $v1, $a0 +/* 1AF10C 8028082C AC430000 */ sw $v1, ($v0) +/* 1AF110 80280830 03E00008 */ jr $ra +/* 1AF114 80280834 24020002 */ addiu $v0, $zero, 2 + +/* 1AF118 80280838 00000000 */ nop +/* 1AF11C 8028083C 00000000 */ nop +GetDamageIntensity: +/* 1AF120 80280840 3C03800E */ lui $v1, 0x800e +/* 1AF124 80280844 8463C1F0 */ lh $v1, -0x3e10($v1) +/* 1AF128 80280848 28620004 */ slti $v0, $v1, 4 +/* 1AF12C 8028084C 10400003 */ beqz $v0, .L8028085C +func_80280850: +/* 1AF130 80280850 28620007 */ slti $v0, $v1, 7 +/* 1AF134 80280854 080A021E */ j func_80280878 +/* 1AF138 80280858 AC800084 */ sw $zero, 0x84($a0) + +.L8028085C: +/* 1AF13C 8028085C 14400005 */ bnez $v0, .L80280874 +/* 1AF140 80280860 24020001 */ addiu $v0, $zero, 1 +/* 1AF144 80280864 2862000A */ slti $v0, $v1, 0xa +/* 1AF148 80280868 50400002 */ beql $v0, $zero, .L80280874 +/* 1AF14C 8028086C 24020003 */ addiu $v0, $zero, 3 +/* 1AF150 80280870 24020002 */ addiu $v0, $zero, 2 +.L80280874: +/* 1AF154 80280874 AC820084 */ sw $v0, 0x84($a0) +func_80280878: +/* 1AF158 80280878 03E00008 */ jr $ra +/* 1AF15C 8028087C 24020002 */ addiu $v0, $zero, 2 + +ActorAddMovePos: +/* 1AF160 80280880 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 1AF164 80280884 AFB10014 */ sw $s1, 0x14($sp) +/* 1AF168 80280888 0080882D */ daddu $s1, $a0, $zero +/* 1AF16C 8028088C AFBF001C */ sw $ra, 0x1c($sp) +/* 1AF170 80280890 AFB20018 */ sw $s2, 0x18($sp) +/* 1AF174 80280894 AFB00010 */ sw $s0, 0x10($sp) +/* 1AF178 80280898 8E30000C */ lw $s0, 0xc($s1) +/* 1AF17C 8028089C 8E050000 */ lw $a1, ($s0) +/* 1AF180 802808A0 0C0B1EAF */ jal get_variable +/* 1AF184 802808A4 26100004 */ addiu $s0, $s0, 4 +/* 1AF188 802808A8 0220202D */ daddu $a0, $s1, $zero +/* 1AF18C 802808AC 8E050000 */ lw $a1, ($s0) +/* 1AF190 802808B0 0C0B1EAF */ jal get_variable +/* 1AF194 802808B4 0040902D */ daddu $s2, $v0, $zero +/* 1AF198 802808B8 8E43000C */ lw $v1, 0xc($s2) +/* 1AF19C 802808BC C4600004 */ lwc1 $f0, 4($v1) +/* 1AF1A0 802808C0 44821000 */ mtc1 $v0, $f2 +/* 1AF1A4 802808C4 00000000 */ nop +/* 1AF1A8 802808C8 468010A0 */ cvt.s.w $f2, $f2 +/* 1AF1AC 802808CC 46020000 */ add.s $f0, $f0, $f2 +/* 1AF1B0 802808D0 26100004 */ addiu $s0, $s0, 4 +/* 1AF1B4 802808D4 E4600004 */ swc1 $f0, 4($v1) +/* 1AF1B8 802808D8 8E050000 */ lw $a1, ($s0) +/* 1AF1BC 802808DC 0C0B1EAF */ jal get_variable +/* 1AF1C0 802808E0 0220202D */ daddu $a0, $s1, $zero +/* 1AF1C4 802808E4 8E43000C */ lw $v1, 0xc($s2) +/* 1AF1C8 802808E8 C4600008 */ lwc1 $f0, 8($v1) +/* 1AF1CC 802808EC 44821000 */ mtc1 $v0, $f2 +/* 1AF1D0 802808F0 00000000 */ nop +/* 1AF1D4 802808F4 468010A0 */ cvt.s.w $f2, $f2 +/* 1AF1D8 802808F8 46020000 */ add.s $f0, $f0, $f2 +/* 1AF1DC 802808FC 26100004 */ addiu $s0, $s0, 4 +/* 1AF1E0 80280900 E4600008 */ swc1 $f0, 8($v1) +/* 1AF1E4 80280904 8E050000 */ lw $a1, ($s0) +/* 1AF1E8 80280908 0C0B1EAF */ jal get_variable +/* 1AF1EC 8028090C 0220202D */ daddu $a0, $s1, $zero +/* 1AF1F0 80280910 8E43000C */ lw $v1, 0xc($s2) +/* 1AF1F4 80280914 C460000C */ lwc1 $f0, 0xc($v1) +/* 1AF1F8 80280918 44821000 */ mtc1 $v0, $f2 +/* 1AF1FC 8028091C 00000000 */ nop +/* 1AF200 80280920 468010A0 */ cvt.s.w $f2, $f2 +/* 1AF204 80280924 46020000 */ add.s $f0, $f0, $f2 +func_80280928: +/* 1AF208 80280928 E460000C */ swc1 $f0, 0xc($v1) +func_8028092C: +/* 1AF20C 8028092C 8FBF001C */ lw $ra, 0x1c($sp) +/* 1AF210 80280930 8FB20018 */ lw $s2, 0x18($sp) +/* 1AF214 80280934 8FB10014 */ lw $s1, 0x14($sp) +/* 1AF218 80280938 8FB00010 */ lw $s0, 0x10($sp) +/* 1AF21C 8028093C 24020002 */ addiu $v0, $zero, 2 +/* 1AF220 80280940 03E00008 */ jr $ra +/* 1AF224 80280944 27BD0020 */ addiu $sp, $sp, 0x20 + +/* 1AF228 80280948 00000000 */ nop +/* 1AF22C 8028094C 00000000 */ nop +LoadStarPowerScript: +/* 1AF230 80280950 27BDFFE0 */ addiu $sp, $sp, -0x20 +func_80280954: +/* 1AF234 80280954 AFB10014 */ sw $s1, 0x14($sp) +/* 1AF238 80280958 0080882D */ daddu $s1, $a0, $zero +/* 1AF23C 8028095C 3C05800E */ lui $a1, 0x800e +/* 1AF240 80280960 24A5C070 */ addiu $a1, $a1, -0x3f90 +/* 1AF244 80280964 AFBF0018 */ sw $ra, 0x18($sp) +/* 1AF248 80280968 AFB00010 */ sw $s0, 0x10($sp) +/* 1AF24C 8028096C 84A3017C */ lh $v1, 0x17c($a1) +/* 1AF250 80280970 3C048011 */ lui $a0, 0x8011 +/* 1AF254 80280974 2484F290 */ addiu $a0, $a0, -0xd70 +/* 1AF258 80280978 00031080 */ sll $v0, $v1, 2 +/* 1AF25C 8028097C 00431021 */ addu $v0, $v0, $v1 +/* 1AF260 80280980 00021080 */ sll $v0, $v0, 2 +/* 1AF264 80280984 3C018009 */ lui $at, 0x8009 +/* 1AF268 80280988 00220821 */ addu $at, $at, $v0 +/* 1AF26C 8028098C 8022F071 */ lb $v0, -0xf8f($at) +/* 1AF270 80280990 94830290 */ lhu $v1, 0x290($a0) +/* 1AF274 80280994 00021200 */ sll $v0, $v0, 8 +/* 1AF278 80280998 00621823 */ subu $v1, $v1, $v0 +/* 1AF27C 8028099C A4830290 */ sh $v1, 0x290($a0) +/* 1AF280 802809A0 84B0017A */ lh $s0, 0x17a($a1) +/* 1AF284 802809A4 3C02802A */ lui $v0, 0x802a +/* 1AF288 802809A8 2442C7D0 */ addiu $v0, $v0, -0x3830 +/* 1AF28C 802809AC 00108100 */ sll $s0, $s0, 4 +/* 1AF290 802809B0 02028021 */ addu $s0, $s0, $v0 +/* 1AF294 802809B4 8E040000 */ lw $a0, ($s0) +/* 1AF298 802809B8 8E050004 */ lw $a1, 4($s0) +/* 1AF29C 802809BC 0C00A5CF */ jal dma_copy +/* 1AF2A0 802809C0 8E060008 */ lw $a2, 8($s0) +func_802809C4: +/* 1AF2A4 802809C4 8E03000C */ lw $v1, 0xc($s0) +/* 1AF2A8 802809C8 AE230084 */ sw $v1, 0x84($s1) +/* 1AF2AC 802809CC 8FBF0018 */ lw $ra, 0x18($sp) +/* 1AF2B0 802809D0 8FB10014 */ lw $s1, 0x14($sp) +/* 1AF2B4 802809D4 8FB00010 */ lw $s0, 0x10($sp) +/* 1AF2B8 802809D8 24020002 */ addiu $v0, $zero, 2 +/* 1AF2BC 802809DC 03E00008 */ jr $ra diff --git a/papermario/asm/code_7e0e80.s b/papermario/asm/code_7e0e80.s index d93e0a84aa..6eb9d32f13 100644 --- a/papermario/asm/code_7e0e80.s +++ b/papermario/asm/code_7e0e80.s @@ -13,7 +13,6 @@ func_80280000: /* 7E0E80 80280000 3C028007 */ lui $v0, 0x8007 -PartnerAfflictEnemy: /* 7E0E84 80280004 8C42419C */ lw $v0, 0x419c($v0) /* 7E0E88 80280008 27BDFFE0 */ addiu $sp, $sp, -0x20 /* 7E0E8C 8028000C AFBF0018 */ sw $ra, 0x18($sp) @@ -180,7 +179,6 @@ func_80280208: .L80280268: /* 7E10E8 80280268 0C0496CF */ jal set_message_string /* 7E10EC 8028026C 24050001 */ addiu $a1, $zero, 1 -PartnerPowerBounceEnemy: /* 7E10F0 80280270 3C048028 */ lui $a0, 0x8028 /* 7E10F4 80280274 24843EB0 */ addiu $a0, $a0, 0x3eb0 /* 7E10F8 80280278 24050001 */ addiu $a1, $zero, 1 @@ -342,7 +340,6 @@ func_8028035C: /* 7E1344 802804C4 3C018028 */ lui $at, 0x8028 /* 7E1348 802804C8 AC256524 */ sw $a1, 0x6524($at) /* 7E134C 802804CC 080A0141 */ j .L80280504 -PartnerTestEnemy: /* 7E1350 802804D0 A6040000 */ sh $a0, ($s0) .L802804D4: @@ -546,8 +543,7 @@ PartnerTestEnemy: .L802807A0: /* 7E1620 802807A0 0C039D5D */ jal add_item -/* 7E1624 802807A4 00000000 */ nop -DeletePartner: +/* 7E1624 802807A4 00000000 */ nop /* 7E1628 802807A8 0C0A005F */ jal func_8028017C /* 7E162C 802807AC 24040003 */ addiu $a0, $zero, 3 /* 7E1630 802807B0 AE620074 */ sw $v0, 0x74($s3) @@ -594,7 +590,6 @@ DeletePartner: /* 7E16B4 80280834 1440003D */ bnez $v0, .L8028092C /* 7E16B8 80280838 0000102D */ daddu $v0, $zero, $zero /* 7E16BC 8028083C 8E430000 */ lw $v1, ($s2) -GetDamageIntensity: /* 7E16C0 80280840 24020001 */ addiu $v0, $zero, 1 /* 7E16C4 80280844 3C018028 */ lui $at, 0x8028 /* 7E16C8 80280848 AC226534 */ sw $v0, 0x6534($at) @@ -614,7 +609,6 @@ GetDamageIntensity: /* 7E16F4 80280874 0000102D */ daddu $v0, $zero, $zero /* 7E16F8 80280878 8E430000 */ lw $v1, ($s2) /* 7E16FC 8028087C 24020003 */ addiu $v0, $zero, 3 -ActorAddMovePos: /* 7E1700 80280880 3C018028 */ lui $at, 0x8028 /* 7E1704 80280884 AC226534 */ sw $v0, 0x6534($at) /* 7E1708 80280888 AE700070 */ sw $s0, 0x70($s3) @@ -676,7 +670,6 @@ ActorAddMovePos: /* 7E17C4 80280944 8FB10014 */ lw $s1, 0x14($sp) /* 7E17C8 80280948 8FB00010 */ lw $s0, 0x10($sp) /* 7E17CC 8028094C 03E00008 */ jr $ra -LoadStarPowerScript: /* 7E17D0 80280950 27BD0030 */ addiu $sp, $sp, 0x30 func_80280954: @@ -745,7 +738,6 @@ func_80280954: /* 7E18A8 80280A28 24050001 */ addiu $a1, $zero, 1 /* 7E18AC 80280A2C AE120108 */ sw $s2, 0x108($s0) /* 7E18B0 80280A30 AE05018C */ sw $a1, 0x18c($s0) -BtlPutPartnerAway: /* 7E18B4 80280A34 AE020000 */ sw $v0, ($s0) /* 7E18B8 80280A38 8C620000 */ lw $v0, ($v1) /* 7E18BC 80280A3C AE020084 */ sw $v0, 0x84($s0) diff --git a/papermario/geo_commands.inc b/papermario/geo_commands.inc deleted file mode 100644 index c1a752f149..0000000000 --- a/papermario/geo_commands.inc +++ /dev/null @@ -1,421 +0,0 @@ -# geo layout macros - -# 0x00: Branch and store return address -# 0x04: scriptTarget, segment address of geo layout -.macro geo_branch_and_link scriptTarget - .byte 0x00, 0x00, 0x00, 0x00 - .word \scriptTarget -.endm - -# 0x01: Terminate geo layout -# 0x01-0x03: unused -.macro geo_end - .byte 0x01, 0x00, 0x00, 0x00 -.endm - -# 0x02: Branch -# 0x01: if 1, store next geo layout address on stack -# 0x02-0x03: unused -# 0x04: scriptTarget, segment address of geo layout -.macro geo_branch type, scriptTarget - .byte 0x02, \type, 0x00, 0x00 - .word \scriptTarget -.endm - -# 0x03: Return from branch -# 0x01-0x03: unused -.macro geo_return - .byte 0x03, 0x00, 0x00, 0x00 -.endm - -# 0x04: Open node -# 0x01-0x03: unused -.macro geo_open_node - .byte 0x04, 0x00, 0x00, 0x00 -.endm - -# 0x05: Close node -# 0x01-0x03: unused -.macro geo_close_node - .byte 0x05, 0x00, 0x00, 0x00 -.endm - -# 0x06: TODO -# 0x01: unused -# 0x02: s16, index of some array -.macro geo_todo_06 param - .byte 0x06, 0x00 - .hword \param -.endm - -# 0x07: Update current scene graph node flags -# 0x01: u8 operation (0 = reset, 1 = set, 2 = clear) -# 0x02: s16 bits -.macro geo_update_node_flags operation, flagBits - .byte 0x07, \operation - .hword \flagBits -.endm - -# 0x08: Create screen area scene graph node -# 0x01: unused -# 0x02: s16 num entries (+2) to allocate -# 0x04: s16 x -# 0x06: s16 y -# 0x08: s16 width -# 0x0A: s16 height -.macro geo_node_screen_area numEntries, x, y, width, height - .byte 0x08, 0x00 - .hword \numEntries - .hword \x, \y, \width, \height -.endm - -# 0x09: TODO Create ? scene graph node -# 0x02: s16 ? -.macro geo_todo_09 param - .byte 0x09, 0x00 - .hword \param -.endm - -# 0x0A: Create camera frustum scene graph node -# 0x01: u8 if nonzero, enable function field -# 0x02: s16 field of view -# 0x04: s16 near -# 0x06: s16 far -# 0x08: [GraphNodeFunc function] -.macro geo_camera_frustum fov, near, far, function=0 - .byte 0x0A - .if (\function != 0) - .byte 0x01 - .else - .byte 0x00 - .endif - .hword \fov, \near, \far - .if (\function != 0) - .word \function - .endif -.endm - -# 0x0B: Create a root scene graph node -# 0x01-0x03: unused -.macro geo_node_start - .byte 0x0B, 0x00, 0x00, 0x00 -.endm - -# 0x0C: Create zbuffer-toggling scene graph node -# 0x01: u8 enableZBuffer (1 = on, 0 = off) -# 0x02-0x03: unused -.macro geo_zbuffer enable - .byte 0x0C, \enable, 0x00, 0x00 -.endm - -# 0x0D: Create render range scene graph node -# 0x01-0x03: unused -# 0x04: s16 minDistance -# 0x06: s16 maxDistance -.macro geo_render_range minDistance, maxDistance - .byte 0x0D, 0x00, 0x00, 0x00 - .hword \minDistance, \maxDistance -.endm - -# 0x0E: Create switch-case scene graph node -# 0x01: unused -# 0x02: s16 numCases -# 0x04: GraphNodeFunc caseSelectorFunc -.macro geo_switch_case count, function - .byte 0x0E, 0x00 - .hword \count - .word \function -.endm - -# 0x0F: TODO Create ? scene graph node -# 0x01: unused -# 0x02: s16 ? -# 0x04: s16 unkX -# 0x06: s16 unkY -# 0x08: s16 unkZ -# 0x0A: s16 unkX_2 -# 0x0C: s16 unkY_2 -# 0x0E: s16 unkZ_2 -# 0x10: GraphNodeFunc function -.macro geo_todo_0F unknown, x1, y1, z1, x2, y2, z2, function - .byte 0x0F, 0x00 - .hword \unknown, \x1, \y1, \z1, \x2, \y2, \z2 - .word \function -.endm - -# 0x10: Create translation & rotation scene graph node with optional display list -# Four different versions of 0x10 -# cmd+0x01: u8 params -# 0b1000_0000: if set, enable displayList field and drawingLayer -# 0b0111_0000: fieldLayout (determines how rest of data is formatted -# 0b0000_1111: drawingLayer -# -# fieldLayout = 0: Translate & Rotate -# 0x04: s16 xTranslation -# 0x06: s16 xTranslation -# 0x08: s16 xTranslation -# 0x0A: s16 xRotation -# 0x0C: s16 xRotation -# 0x0E: s16 xRotation -# 0x10: [u32 displayList: if MSbit of params set, display list segmented address] -.macro geo_translate_rotate layer, tx, ty, tz, rx, ry, rz, displayList=0 - .byte 0x10 - .if (\displayList != 0) - .byte 0x00 | \layer | 0x80 - .else - .byte 0x00 | \layer - .endif - .hword 0x0000 - .hword \tx, \ty, \tz - .hword \rx, \ry, \rz - .if (\displayList != 0) - .word \displayList - .endif -.endm - -# fieldLayout = 1: Translate -# 0x02: s16 xTranslation -# 0x04: s16 yTranslation -# 0x06: s16 zTranslation -# 0x08: [u32 displayList: if MSbit of params set, display list segmented address] -.macro geo_translate layer, tx, ty, tz, displayList=0 - .byte 0x10 - .if (\displayList != 0) - .byte 0x10 | \layer | 0x80 - .else - .byte 0x10 | \layer - .endif - .hword \tx, \ty, \tz - .if (\displayList != 0) - .word \displayList - .endif -.endm - -# fieldLayout = 2: Rotate -# 0x02: s16 xRotation -# 0x04: s16 yRotation -# 0x06: s16 zRotation -# 0x08: [u32 displayList: if MSbit of params set, display list segmented address] -.macro geo_rotate layer, rx, ry, rz, displayList=0 - .byte 0x10 - .if (\displayList != 0) - .byte 0x20 | \layer | 0x80 - .else - .byte 0x20 | \layer - .endif - .hword \rx, \ry, \rz - .if (\displayList != 0) - .word \displayList - .endif -.endm - -# fieldLayout = 3: Rotate Y -# 0x02: s16 yRotation -# 0x04: [u32 displayList: if MSbit of params set, display list segmented address] -.macro geo_rotate_y layer, ry, displayList=0 - .byte 0x10 - .if (\displayList != 0) - .byte 0x30 | \layer | 0x80 - .else - .byte 0x30 | \layer - .endif - .hword \ry - .if (\displayList != 0) - .word \displayList - .endif -.endm - -# 0x11: TODO Create ? scene graph node with optional display list -# 0x01: u8 params -# 0b1000_0000: if set, enable displayList field and drawingLayer -# 0b0000_1111: drawingLayer -# 0x02: s16 unkX -# 0x04: s16 unkY -# 0x06: s16 unkZ -# 0x08: [u32 displayList: if MSbit of params set, display list segmented address] -.macro geo_todo_11 layer, ux, uy, uz, displayList=0 - .byte 0x11 - .if (\displayList != 0) - .byte 0x80 | \layer - .else - .byte 0x00 - .endif - .hword \ux, \uy, \uz - .if (\displayList != 0) - .word \displayList - .endif -.endm - -# 0x12: TODO Create ? scene graph node -# 0x01: u8 params -# 0b1000_0000: if set, enable displayList field and drawingLayer -# 0b0000_1111: drawingLayer -# 0x02: s16 unkX -# 0x04: s16 unkY -# 0x06: s16 unkZ -# 0x08: [u32 displayList: if MSbit of params set, display list segmented address] -.macro geo_todo_12 layer, ux, uy, uz, displayList=0 - .byte 0x12 - .if (\displayList != 0) - .byte 0x80 | \layer - .else - .byte 0x00 - .endif - .hword \ux, \uy, \uz - .if (\displayList != 0) - .word \displayList - .endif -.endm - -# 0x13: Create display list scene graph node with translation -# 0x01: u8 drawingLayer -# 0x02: s16 xTranslation -# 0x04: s16 yTranslation -# 0x06: s16 zTranslation -# 0x08: u32 displayList: dislay list segmented address -.macro geo_dl_translated layer, x, y, z, displayList=0 - .byte 0x13, \layer - .hword \x, \y, \z - .word \displayList -.endm - -# 0x14: Create billboarding node with optional display list -# 0x01: u8 params -# 0b1000_0000: if set, enable displayList field and drawingLayer -# 0b0000_1111: drawingLayer -# 0x02: s16 xTranslation -# 0x04: s16 yTranslation -# 0x06: s16 zTranslation -# 0x08: [u32 displayList: if MSbit of params is set, display list segmented address] -.macro geo_billboard layer=0, tx=0, ty=0, tz=0, displayList=0 - .byte 0x14 - .if (\displayList != 0) - .byte 0x80 | \layer - .else - .byte 0x00 - .endif - .hword \tx, \ty, \tz - .if (\displayList != 0) - .word \displayList - .endif -.endm - -# 0x15: Create plain display list scene graph node -# 0x01: u8 drawingLayer -# 0x02=0x03: unused -# 0x04: u32 displayList: display list segmented address -.macro geo_display_list layer, displayList - .byte 0x15, \layer, 0x00, 0x00 - .word \displayList -.endm - -# 0x16: Create shadow scene graph node -# 0x01: unused -# 0x02: s16 shadowType (cast to u8) -# 0x04: s16 shadowSolidity (cast to u8) -# 0x06: s16 shadowScale -.set SHADOW_CIRCLE_UNK0, 0x00 -.set SHADOW_CIRCLE_UNK1, 0x01 -.set SHADOW_CIRCLE_UNK2, 0x02 # unused shadow type -.set SHADOW_SQUARE_PERMANENT, 0x0A # square shadow that never disappears -.set SHADOW_SQUARE_SCALABLE, 0x0B # square shadow, shrinks with distance -.set SHADOW_SQUARE_TOGGLABLE, 0x0C # square shadow, disappears with distance -.set SHADOW_CIRCLE_PLAYER, 0x63 # player (Mario) shadow -.set SHADOW_RECTANGLE_HARDCODED_OFFSET, 0x32 # offset of hard-coded shadows -.macro geo_shadow type, solidity, scale - .byte 0x16, 0x00 - .hword \type, \solidity, \scale -.endm - -# 0x17: TODO Create ? scene graph node -# 0x01-0x03: unused -.macro geo_todo_17 - .byte 0x17, 0x00, 0x00, 0x00 -.endm - -# 0x18: Create ? scene graph node -# 0x01: unused -# 0x02: s16 parameter -# 0x04: GraphNodeFunc function -.macro geo_asm param, function - .byte 0x18, 0x00 - .hword \param - .word \function -.endm - -# 0x19: Create background scene graph node -# 0x02: s16 background: background ID, or RGBA5551 color if backgroundFunc is null -# 0x04: GraphNodeFunc backgroundFunc -.macro geo_background param, function=0 - .byte 0x19, 0x00 - .hword \param - .word \function -.endm - -# 0x1A: No operation -.macro geo_nop_1A - .byte 0x1A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 -.endm - -# 0x1B: TODO Create ? scene graph node -# 0x02: s16 index of array -.macro geo_todo_1B param - .byte 0x1B, 0x00 - .hword \param -.endm - -# 0x1C: TODO Create ? scene graph node -# 0x01: u8 unk01 -# 0x02: s16 unkX -# 0x04: s16 unkY -# 0x06: s16 unkZ -# 0x08: GraphNodeFunc nodeFunc -.macro geo_todo_1C param, ux, uy, uz, nodeFunc - .byte 0x1C, \param - .hword \ux, \uy, \uz - .word \nodeFunc -.endm - -# 0x1D: Create scale scene graph node with optional display list -# 0x01: u8 params -# 0b1000_0000: if set, enable displayList field and drawingLayer -# 0b0000_1111: drawingLayer -# 0x02-0x03: unused -# 0x04: u32 scale (0x10000 = 1.0) -# 0x08: [u32 displayList: if MSbit of params is set, display list segment address] -.macro geo_scale layer, scale, displayList=0 - .byte 0x1D - .if (\displayList != 0) - .byte 0x80 | \layer - .else - .byte 0x00 - .endif - .byte 0x00, 0x00 - .word \scale - .if (\displayList != 0) - .word \displayList - .endif -.endm - -# 0x1E: No operation -.macro geo_nop_1E - .byte 0x1E, 0x00, 0x00, 0x00 - .byte 0x00, 0x00, 0x00, 0x00 -.endm - -# 0x1F: No operation -.macro geo_nop_1F - .byte 0x1F, 0x00, 0x00, 0x00 - .byte 0x00, 0x00, 0x00, 0x00 - .byte 0x00, 0x00, 0x00, 0x00 - .byte 0x00, 0x00, 0x00, 0x00 -.endm - -# 0x20: Create render distance scene graph node (unconfirmed?) -# 0x01: unused -# 0x02: s16 renderDistance? -.macro geo_start_distance renderDistance - .byte 0x20, 0x00 - .hword \renderDistance -.endm - diff --git a/papermario/macros.inc b/papermario/macros.inc deleted file mode 100644 index 620d01e288..0000000000 --- a/papermario/macros.inc +++ /dev/null @@ -1,7 +0,0 @@ -# common macros - -# F3D vertex -.macro vertex \x, \y, \z, \u, \v, \r=0xFF, \g=0xFF, \b=0xFF, \a=0xFF - .hword \x, \y, \z, 0, \u, \v - .byte \r, \g, \b, \a -.endm diff --git a/papermario/undefined_syms.txt b/papermario/undefined_syms.txt index 70de13c8de..4f39759277 100644 --- a/papermario/undefined_syms.txt +++ b/papermario/undefined_syms.txt @@ -5,6 +5,7 @@ func_04000974 = 0x04000974; func_04000A34 = 0x04000A34; func_04000AC4 = 0x04000AC4; initialize_battle = 0x8023E130; +func_801449DC = 0x801449DC; update_battle_state = 0x8023E438; draw_main_battle_ui = 0x8023EA7C; func_802409F4 = 0x802409F4; @@ -14,3 +15,116 @@ func_802BD7DC = 0x802BD7DC; func_802BE070 = 0x802BE070; D_8014F140 = 0x8014F140; D_8015C7C0 = 0x8015C7C0; + + +func_80047820 = 0x80047820; +func_80047898 = 0x80047898; +func_800479A0 = 0x800479A0; +func_80047AA8 = 0x80047AA8; +update_player_menu = 0x802A5988; +update_partner_menu = 0x802A81C8; +func_802A91F8 = 0x802A91F8; +func_802A9208 = 0x802A9208; +func_802A9228 = 0x802A9228; +func_802A9234 = 0x802A9234; +func_802A9254 = 0x802A9254; +func_802A9278 = 0x802A9278; +func_802A928C = 0x802A928C; +func_802A9294 = 0x802A9294; +func_802A9298 = 0x802A9298; +func_802A92A0 = 0x802A92A0; +func_802A92D4 = 0x802A92D4; +func_802A92DC = 0x802A92DC; +func_802A92F0 = 0x802A92F0; +func_802A9310 = 0x802A9310; +func_802A936C = 0x802A936C; +func_802A9378 = 0x802A9378; +func_802A948C = 0x802A948C; +func_802A94A4 = 0x802A94A4; +func_802A94D8 = 0x802A94D8; +func_802A9544 = 0x802A9544; +func_802A955C = 0x802A955C; +func_802A9590 = 0x802A9590; +func_802A959C = 0x802A959C; +func_802A9634 = 0x802A9634; +func_802A963C = 0x802A963C; +func_802A9664 = 0x802A9664; +func_802A96B8 = 0x802A96B8; +func_802A96DC = 0x802A96DC; +func_802A96EC = 0x802A96EC; +func_802A96F4 = 0x802A96F4; +func_802A9708 = 0x802A9708; +func_802A9718 = 0x802A9718; +func_802A9720 = 0x802A9720; +func_802A973C = 0x802A973C; +func_802A9744 = 0x802A9744; +func_802A9764 = 0x802A9764; +func_802A97AC = 0x802A97AC; +func_802A97BC = 0x802A97BC; +func_802A97CC = 0x802A97CC; +func_802A97F8 = 0x802A97F8; +func_802A97FC = 0x802A97FC; +func_802A9810 = 0x802A9810; +func_802A981C = 0x802A981C; +func_802A9834 = 0x802A9834; +func_802A984C = 0x802A984C; +func_802A9894 = 0x802A9894; +func_802A9898 = 0x802A9898; +func_802A98B0 = 0x802A98B0; +func_802A98D0 = 0x802A98D0; +func_802A98DC = 0x802A98DC; +func_802A98E0 = 0x802A98E0; +func_802A9914 = 0x802A9914; +func_802A992C = 0x802A992C; +func_802A9990 = 0x802A9990; +func_802A99D4 = 0x802A99D4; +func_802A9A30 = 0x802A9A30; +func_802A9A54 = 0x802A9A54; +func_802AA014 = 0x802AA014; +func_802AA0D8 = 0x802AA0D8; +update_targeting_enemies = 0x802AA688; +func_802D4164 = 0x802D4164; +func_802D7460 = 0x802D7460; +func_802D74C0 = 0x802D74C0; +func_802DE0C0 = 0x802DE0C0; +func_8002AAC4 = 0x8002AAC4; +func_8003E514 = 0x8003E514; +func_80047608 = 0x80047608; +func_800476F4 = 0x800476F4; +func_8004778C = 0x8004778C; +func_800477F4 = 0x800477F4; +func_800478F8 = 0x800478F8; +func_80047928 = 0x80047928; +func_80047A00 = 0x80047A00; +func_80047A30 = 0x80047A30; +func_80047B08 = 0x80047B08; +func_80047B38 = 0x80047B38; +func_80047B84 = 0x80047B84; +func_80047BE4 = 0x80047BE4; +func_80047C14 = 0x80047C14; +func_80047CA4 = 0x80047CA4; +func_80047D00 = 0x80047D00; +func_80047D30 = 0x80047D30; +func_80047DC0 = 0x80047DC0; +func_80047E1C = 0x80047E1C; +func_80048064 = 0x80048064; +func_800480F4 = 0x800480F4; +func_80048170 = 0x80048170; +func_80048200 = 0x80048200; +func_800E9810 = 0x800E9810; +func_80144218 = 0x80144218; +func_80144238 = 0x80144238; +func_80144FD8 = 0x80144FD8; +func_801451D4 = 0x801451D4; +func_80145224 = 0x80145224; +func_80145274 = 0x80145274; +func_80244BC8 = 0x80244BC8; +func_802A8180 = 0x802A8180; +func_802A9AE8 = 0x802A9AE8; +func_802A9B44 = 0x802A9B44; +func_802AA05C = 0x802AA05C; +func_802AA0B8 = 0x802AA0B8; +func_802AA640 = 0x802AA640; +func_802AACD8 = 0x802AACD8; +func_802AB330 = 0x802AB330; +func_802AB338 = 0x802AB338;