.set noat # allow manual use of $at .set noreorder # don't insert nops after branches glabel func_802189E4_624584 /* 624584 802189E4 27BDFFE8 */ addiu $sp, $sp, -0x18 /* 624588 802189E8 AFB00010 */ sw $s0, 0x10($sp) /* 62458C 802189EC 0080802D */ daddu $s0, $a0, $zero /* 624590 802189F0 AFBF0014 */ sw $ra, 0x14($sp) /* 624594 802189F4 0C09A75B */ jal get_actor /* 624598 802189F8 8E040148 */ lw $a0, 0x148($s0) /* 62459C 802189FC 0C09A75B */ jal get_actor /* 6245A0 80218A00 84440428 */ lh $a0, 0x428($v0) /* 6245A4 80218A04 0040202D */ daddu $a0, $v0, $zero /* 6245A8 80218A08 8C820000 */ lw $v0, ($a0) /* 6245AC 80218A0C 30420800 */ andi $v0, $v0, 0x800 /* 6245B0 80218A10 1440000A */ bnez $v0, .L80218A3C /* 6245B4 80218A14 00000000 */ nop /* 6245B8 80218A18 90820191 */ lbu $v0, 0x191($a0) /* 6245BC 80218A1C 8E030088 */ lw $v1, 0x88($s0) /* 6245C0 80218A20 00021042 */ srl $v0, $v0, 1 /* 6245C4 80218A24 00621821 */ addu $v1, $v1, $v0 /* 6245C8 80218A28 AE030088 */ sw $v1, 0x88($s0) /* 6245CC 80218A2C 90820191 */ lbu $v0, 0x191($a0) /* 6245D0 80218A30 00021082 */ srl $v0, $v0, 2 /* 6245D4 80218A34 08086297 */ j .L80218A5C /* 6245D8 80218A38 00621821 */ addu $v1, $v1, $v0 .L80218A3C: /* 6245DC 80218A3C 90820191 */ lbu $v0, 0x191($a0) /* 6245E0 80218A40 8E030088 */ lw $v1, 0x88($s0) /* 6245E4 80218A44 00021042 */ srl $v0, $v0, 1 /* 6245E8 80218A48 00621823 */ subu $v1, $v1, $v0 /* 6245EC 80218A4C AE030088 */ sw $v1, 0x88($s0) /* 6245F0 80218A50 90820191 */ lbu $v0, 0x191($a0) /* 6245F4 80218A54 00021082 */ srl $v0, $v0, 2 /* 6245F8 80218A58 00621823 */ subu $v1, $v1, $v0 .L80218A5C: /* 6245FC 80218A5C AE030088 */ sw $v1, 0x88($s0) /* 624600 80218A60 90830191 */ lbu $v1, 0x191($a0) /* 624604 80218A64 90840190 */ lbu $a0, 0x190($a0) /* 624608 80218A68 0064102A */ slt $v0, $v1, $a0 /* 62460C 80218A6C 54400001 */ bnel $v0, $zero, .L80218A74 /* 624610 80218A70 0080182D */ daddu $v1, $a0, $zero .L80218A74: /* 624614 80218A74 2462007E */ addiu $v0, $v1, 0x7e /* 624618 80218A78 AE020090 */ sw $v0, 0x90($s0) /* 62461C 80218A7C 8FBF0014 */ lw $ra, 0x14($sp) /* 624620 80218A80 8FB00010 */ lw $s0, 0x10($sp) /* 624624 80218A84 24020002 */ addiu $v0, $zero, 2 /* 624628 80218A88 03E00008 */ jr $ra /* 62462C 80218A8C 27BD0018 */ addiu $sp, $sp, 0x18