.set noat # allow manual use of $at .set noreorder # don't insert nops after branches glabel func_80218300_649110 /* 649110 80218300 27BDFFA0 */ addiu $sp, $sp, -0x60 /* 649114 80218304 AFB10024 */ sw $s1, 0x24($sp) /* 649118 80218308 0080882D */ daddu $s1, $a0, $zero /* 64911C 8021830C AFBF0028 */ sw $ra, 0x28($sp) /* 649120 80218310 AFB00020 */ sw $s0, 0x20($sp) /* 649124 80218314 F7BE0058 */ sdc1 $f30, 0x58($sp) /* 649128 80218318 F7BC0050 */ sdc1 $f28, 0x50($sp) /* 64912C 8021831C F7BA0048 */ sdc1 $f26, 0x48($sp) /* 649130 80218320 F7B80040 */ sdc1 $f24, 0x40($sp) /* 649134 80218324 F7B60038 */ sdc1 $f22, 0x38($sp) /* 649138 80218328 F7B40030 */ sdc1 $f20, 0x30($sp) /* 64913C 8021832C 8E30000C */ lw $s0, 0xc($s1) /* 649140 80218330 8E050000 */ lw $a1, ($s0) /* 649144 80218334 0C0B210B */ jal get_float_variable /* 649148 80218338 26100004 */ addiu $s0, $s0, 4 /* 64914C 8021833C 8E050000 */ lw $a1, ($s0) /* 649150 80218340 26100004 */ addiu $s0, $s0, 4 /* 649154 80218344 0220202D */ daddu $a0, $s1, $zero /* 649158 80218348 0C0B210B */ jal get_float_variable /* 64915C 8021834C 46000786 */ mov.s $f30, $f0 /* 649160 80218350 8E050000 */ lw $a1, ($s0) /* 649164 80218354 26100004 */ addiu $s0, $s0, 4 /* 649168 80218358 0220202D */ daddu $a0, $s1, $zero /* 64916C 8021835C 0C0B210B */ jal get_float_variable /* 649170 80218360 46000506 */ mov.s $f20, $f0 /* 649174 80218364 8E050000 */ lw $a1, ($s0) /* 649178 80218368 26100004 */ addiu $s0, $s0, 4 /* 64917C 8021836C 0220202D */ daddu $a0, $s1, $zero /* 649180 80218370 0C0B210B */ jal get_float_variable /* 649184 80218374 46000706 */ mov.s $f28, $f0 /* 649188 80218378 8E050000 */ lw $a1, ($s0) /* 64918C 8021837C 26100004 */ addiu $s0, $s0, 4 /* 649190 80218380 0220202D */ daddu $a0, $s1, $zero /* 649194 80218384 0C0B210B */ jal get_float_variable /* 649198 80218388 46000686 */ mov.s $f26, $f0 /* 64919C 8021838C 8E050000 */ lw $a1, ($s0) /* 6491A0 80218390 26100004 */ addiu $s0, $s0, 4 /* 6491A4 80218394 0220202D */ daddu $a0, $s1, $zero /* 6491A8 80218398 0C0B210B */ jal get_float_variable /* 6491AC 8021839C 46000606 */ mov.s $f24, $f0 /* 6491B0 802183A0 0220202D */ daddu $a0, $s1, $zero /* 6491B4 802183A4 8E050000 */ lw $a1, ($s0) /* 6491B8 802183A8 0C0B1EAF */ jal get_variable /* 6491BC 802183AC 46000586 */ mov.s $f22, $f0 /* 6491C0 802183B0 8E240148 */ lw $a0, 0x148($s1) /* 6491C4 802183B4 0C09A75B */ jal get_actor /* 6491C8 802183B8 0040802D */ daddu $s0, $v0, $zero /* 6491CC 802183BC 4600A521 */ cvt.d.s $f20, $f20 /* 6491D0 802183C0 4405F000 */ mfc1 $a1, $f30 /* 6491D4 802183C4 3C014014 */ lui $at, 0x4014 /* 6491D8 802183C8 44810800 */ mtc1 $at, $f1 /* 6491DC 802183CC 44800000 */ mtc1 $zero, $f0 /* 6491E0 802183D0 4407E000 */ mfc1 $a3, $f28 /* 6491E4 802183D4 4620A500 */ add.d $f20, $f20, $f0 /* 6491E8 802183D8 0000202D */ daddu $a0, $zero, $zero /* 6491EC 802183DC AFB0001C */ sw $s0, 0x1c($sp) /* 6491F0 802183E0 4620A520 */ cvt.s.d $f20, $f20 /* 6491F4 802183E4 4406A000 */ mfc1 $a2, $f20 /* 6491F8 802183E8 0040802D */ daddu $s0, $v0, $zero /* 6491FC 802183EC E7BA0010 */ swc1 $f26, 0x10($sp) /* 649200 802183F0 E7B80014 */ swc1 $f24, 0x14($sp) /* 649204 802183F4 0C01BFD4 */ jal func_8006FF50 /* 649208 802183F8 E7B60018 */ swc1 $f22, 0x18($sp) /* 64920C 802183FC 0040202D */ daddu $a0, $v0, $zero /* 649210 80218400 82030210 */ lb $v1, 0x210($s0) /* 649214 80218404 2402000A */ addiu $v0, $zero, 0xa /* 649218 80218408 14620007 */ bne $v1, $v0, .L80218428 /* 64921C 8021840C 00000000 */ nop /* 649220 80218410 8C82000C */ lw $v0, 0xc($a0) /* 649224 80218414 3C013ECC */ lui $at, 0x3ecc /* 649228 80218418 3421CCCD */ ori $at, $at, 0xcccd /* 64922C 8021841C 44810000 */ mtc1 $at, $f0 /* 649230 80218420 00000000 */ nop /* 649234 80218424 E4400028 */ swc1 $f0, 0x28($v0) .L80218428: /* 649238 80218428 8FBF0028 */ lw $ra, 0x28($sp) /* 64923C 8021842C 8FB10024 */ lw $s1, 0x24($sp) /* 649240 80218430 8FB00020 */ lw $s0, 0x20($sp) /* 649244 80218434 D7BE0058 */ ldc1 $f30, 0x58($sp) /* 649248 80218438 D7BC0050 */ ldc1 $f28, 0x50($sp) /* 64924C 8021843C D7BA0048 */ ldc1 $f26, 0x48($sp) /* 649250 80218440 D7B80040 */ ldc1 $f24, 0x40($sp) /* 649254 80218444 D7B60038 */ ldc1 $f22, 0x38($sp) /* 649258 80218448 D7B40030 */ ldc1 $f20, 0x30($sp) /* 64925C 8021844C 24020002 */ addiu $v0, $zero, 2 /* 649260 80218450 03E00008 */ jr $ra /* 649264 80218454 27BD0060 */ addiu $sp, $sp, 0x60