.set noat # allow manual use of $at .set noreorder # don't insert nops after branches glabel func_800E5174 /* 07E624 800E5174 27BDFFB8 */ addiu $sp, $sp, -0x48 /* 07E628 800E5178 2404FFFF */ addiu $a0, $zero, -1 /* 07E62C 800E517C 3C038011 */ lui $v1, 0x8011 /* 07E630 800E5180 2463EFC8 */ addiu $v1, $v1, -0x1038 /* 07E634 800E5184 AFBF0038 */ sw $ra, 0x38($sp) /* 07E638 800E5188 AFB30034 */ sw $s3, 0x34($sp) /* 07E63C 800E518C AFB20030 */ sw $s2, 0x30($sp) /* 07E640 800E5190 AFB1002C */ sw $s1, 0x2c($sp) /* 07E644 800E5194 AFB00028 */ sw $s0, 0x28($sp) /* 07E648 800E5198 F7B40040 */ sdc1 $f20, 0x40($sp) /* 07E64C 800E519C 8C620000 */ lw $v0, ($v1) /* 07E650 800E51A0 30422000 */ andi $v0, $v0, 0x2000 /* 07E654 800E51A4 1440004B */ bnez $v0, .L800E52D4 /* 07E658 800E51A8 0060802D */ daddu $s0, $v1, $zero /* 07E65C 800E51AC 8E0200E0 */ lw $v0, 0xe0($s0) /* 07E660 800E51B0 30428000 */ andi $v0, $v0, 0x8000 /* 07E664 800E51B4 10400047 */ beqz $v0, .L800E52D4 /* 07E668 800E51B8 27B20018 */ addiu $s2, $sp, 0x18 /* 07E66C 800E51BC 0200202D */ daddu $a0, $s0, $zero /* 07E670 800E51C0 0240282D */ daddu $a1, $s2, $zero /* 07E674 800E51C4 27B1001C */ addiu $s1, $sp, 0x1c /* 07E678 800E51C8 0220302D */ daddu $a2, $s1, $zero /* 07E67C 800E51CC 27B30020 */ addiu $s3, $sp, 0x20 /* 07E680 800E51D0 0260382D */ daddu $a3, $s3, $zero /* 07E684 800E51D4 860200B2 */ lh $v0, 0xb2($s0) /* 07E688 800E51D8 C6080080 */ lwc1 $f8, 0x80($s0) /* 07E68C 800E51DC C6040028 */ lwc1 $f4, 0x28($s0) /* 07E690 800E51E0 C606002C */ lwc1 $f6, 0x2c($s0) /* 07E694 800E51E4 3C013F00 */ lui $at, 0x3f00 /* 07E698 800E51E8 4481A000 */ mtc1 $at, $f20 /* 07E69C 800E51EC C6020030 */ lwc1 $f2, 0x30($s0) /* 07E6A0 800E51F0 44820000 */ mtc1 $v0, $f0 /* 07E6A4 800E51F4 00000000 */ nop /* 07E6A8 800E51F8 46800020 */ cvt.s.w $f0, $f0 /* 07E6AC 800E51FC 46140002 */ mul.s $f0, $f0, $f20 /* 07E6B0 800E5200 00000000 */ nop /* 07E6B4 800E5204 E7A40018 */ swc1 $f4, 0x18($sp) /* 07E6B8 800E5208 E7A6001C */ swc1 $f6, 0x1c($sp) /* 07E6BC 800E520C E7A20020 */ swc1 $f2, 0x20($sp) /* 07E6C0 800E5210 E7A80014 */ swc1 $f8, 0x14($sp) /* 07E6C4 800E5214 0C037D18 */ jal test_player_lateral /* 07E6C8 800E5218 E7A00010 */ swc1 $f0, 0x10($sp) /* 07E6CC 800E521C 0040202D */ daddu $a0, $v0, $zero /* 07E6D0 800E5220 0481002D */ bgez $a0, .L800E52D8 /* 07E6D4 800E5224 0080102D */ daddu $v0, $a0, $zero /* 07E6D8 800E5228 C6020054 */ lwc1 $f2, 0x54($s0) /* 07E6DC 800E522C 44800000 */ mtc1 $zero, $f0 /* 07E6E0 800E5230 00000000 */ nop /* 07E6E4 800E5234 46001032 */ c.eq.s $f2, $f0 /* 07E6E8 800E5238 00000000 */ nop /* 07E6EC 800E523C 45000026 */ bc1f .L800E52D8 /* 07E6F0 800E5240 0240282D */ daddu $a1, $s2, $zero /* 07E6F4 800E5244 0200202D */ daddu $a0, $s0, $zero /* 07E6F8 800E5248 0220302D */ daddu $a2, $s1, $zero /* 07E6FC 800E524C 0260382D */ daddu $a3, $s3, $zero /* 07E700 800E5250 3C038007 */ lui $v1, 0x8007 /* 07E704 800E5254 8C637410 */ lw $v1, 0x7410($v1) /* 07E708 800E5258 C4800028 */ lwc1 $f0, 0x28($a0) /* 07E70C 800E525C C482002C */ lwc1 $f2, 0x2c($a0) /* 07E710 800E5260 00031080 */ sll $v0, $v1, 2 /* 07E714 800E5264 00431021 */ addu $v0, $v0, $v1 /* 07E718 800E5268 00021080 */ sll $v0, $v0, 2 /* 07E71C 800E526C 00431023 */ subu $v0, $v0, $v1 /* 07E720 800E5270 E7A00018 */ swc1 $f0, 0x18($sp) /* 07E724 800E5274 E7A2001C */ swc1 $f2, 0x1c($sp) /* 07E728 800E5278 848300B2 */ lh $v1, 0xb2($a0) /* 07E72C 800E527C 000240C0 */ sll $t0, $v0, 3 /* 07E730 800E5280 44833000 */ mtc1 $v1, $f6 /* 07E734 800E5284 00000000 */ nop /* 07E738 800E5288 468031A0 */ cvt.s.w $f6, $f6 /* 07E73C 800E528C 46143182 */ mul.s $f6, $f6, $f20 /* 07E740 800E5290 00000000 */ nop /* 07E744 800E5294 00481021 */ addu $v0, $v0, $t0 /* 07E748 800E5298 C48000A8 */ lwc1 $f0, 0xa8($a0) /* 07E74C 800E529C 3C0142B4 */ lui $at, 0x42b4 /* 07E750 800E52A0 44811000 */ mtc1 $at, $f2 /* 07E754 800E52A4 000210C0 */ sll $v0, $v0, 3 /* 07E758 800E52A8 46020001 */ sub.s $f0, $f0, $f2 /* 07E75C 800E52AC 3C01800B */ lui $at, 0x800b /* 07E760 800E52B0 00220821 */ addu $at, $at, $v0 /* 07E764 800E52B4 C4221DEC */ lwc1 $f2, 0x1dec($at) /* 07E768 800E52B8 C4840030 */ lwc1 $f4, 0x30($a0) /* 07E76C 800E52BC 46020200 */ add.s $f8, $f0, $f2 /* 07E770 800E52C0 E7A40020 */ swc1 $f4, 0x20($sp) /* 07E774 800E52C4 E7A60010 */ swc1 $f6, 0x10($sp) /* 07E778 800E52C8 0C037D18 */ jal test_player_lateral /* 07E77C 800E52CC E7A80014 */ swc1 $f8, 0x14($sp) /* 07E780 800E52D0 0040202D */ daddu $a0, $v0, $zero .L800E52D4: /* 07E784 800E52D4 0080102D */ daddu $v0, $a0, $zero .L800E52D8: /* 07E788 800E52D8 8FBF0038 */ lw $ra, 0x38($sp) /* 07E78C 800E52DC 8FB30034 */ lw $s3, 0x34($sp) /* 07E790 800E52E0 8FB20030 */ lw $s2, 0x30($sp) /* 07E794 800E52E4 8FB1002C */ lw $s1, 0x2c($sp) /* 07E798 800E52E8 8FB00028 */ lw $s0, 0x28($sp) /* 07E79C 800E52EC D7B40040 */ ldc1 $f20, 0x40($sp) /* 07E7A0 800E52F0 03E00008 */ jr $ra /* 07E7A4 800E52F4 27BD0048 */ addiu $sp, $sp, 0x48