.set noat # allow manual use of $at .set noreorder # don't insert nops after branches glabel func_80219358_5B2808 /* 5B2808 80219358 27BDFFE0 */ addiu $sp, $sp, -0x20 /* 5B280C 8021935C AFB10014 */ sw $s1, 0x14($sp) /* 5B2810 80219360 0080882D */ daddu $s1, $a0, $zero /* 5B2814 80219364 AFBF0018 */ sw $ra, 0x18($sp) /* 5B2818 80219368 AFB00010 */ sw $s0, 0x10($sp) /* 5B281C 8021936C 8E30000C */ lw $s0, 0xc($s1) /* 5B2820 80219370 8E050000 */ lw $a1, ($s0) /* 5B2824 80219374 0C0B1EAF */ jal get_variable /* 5B2828 80219378 26100004 */ addiu $s0, $s0, 4 /* 5B282C 8021937C 0040202D */ daddu $a0, $v0, $zero /* 5B2830 80219380 2402FF81 */ addiu $v0, $zero, -0x7f /* 5B2834 80219384 14820002 */ bne $a0, $v0, .L80219390 /* 5B2838 80219388 00000000 */ nop /* 5B283C 8021938C 8E240148 */ lw $a0, 0x148($s1) .L80219390: /* 5B2840 80219390 0C09A75B */ jal get_actor /* 5B2844 80219394 00000000 */ nop /* 5B2848 80219398 0040202D */ daddu $a0, $v0, $zero /* 5B284C 8021939C 90830136 */ lbu $v1, 0x136($a0) /* 5B2850 802193A0 24020047 */ addiu $v0, $zero, 0x47 /* 5B2854 802193A4 1062000B */ beq $v1, $v0, .L802193D4 /* 5B2858 802193A8 0062102A */ slt $v0, $v1, $v0 /* 5B285C 802193AC 54400011 */ bnel $v0, $zero, .L802193F4 /* 5B2860 802193B0 0220202D */ daddu $a0, $s1, $zero /* 5B2864 802193B4 28620065 */ slti $v0, $v1, 0x65 /* 5B2868 802193B8 1040000D */ beqz $v0, .L802193F0 /* 5B286C 802193BC 2862004D */ slti $v0, $v1, 0x4d /* 5B2870 802193C0 1440000C */ bnez $v0, .L802193F4 /* 5B2874 802193C4 0220202D */ daddu $a0, $s1, $zero /* 5B2878 802193C8 8E050000 */ lw $a1, ($s0) /* 5B287C 802193CC 080864FF */ j .L802193FC /* 5B2880 802193D0 2406FFFF */ addiu $a2, $zero, -1 .L802193D4: /* 5B2884 802193D4 8C8300A8 */ lw $v1, 0xa8($a0) /* 5B2888 802193D8 24020001 */ addiu $v0, $zero, 1 /* 5B288C 802193DC 14620005 */ bne $v1, $v0, .L802193F4 /* 5B2890 802193E0 0220202D */ daddu $a0, $s1, $zero /* 5B2894 802193E4 8E050000 */ lw $a1, ($s0) /* 5B2898 802193E8 080864FF */ j .L802193FC /* 5B289C 802193EC 2406FFFF */ addiu $a2, $zero, -1 .L802193F0: /* 5B28A0 802193F0 0220202D */ daddu $a0, $s1, $zero .L802193F4: /* 5B28A4 802193F4 8E050000 */ lw $a1, ($s0) /* 5B28A8 802193F8 0000302D */ daddu $a2, $zero, $zero .L802193FC: /* 5B28AC 802193FC 0C0B2026 */ jal set_variable /* 5B28B0 80219400 00000000 */ nop /* 5B28B4 80219404 8FBF0018 */ lw $ra, 0x18($sp) /* 5B28B8 80219408 8FB10014 */ lw $s1, 0x14($sp) /* 5B28BC 8021940C 8FB00010 */ lw $s0, 0x10($sp) /* 5B28C0 80219410 24020002 */ addiu $v0, $zero, 2 /* 5B28C4 80219414 03E00008 */ jr $ra /* 5B28C8 80219418 27BD0020 */ addiu $sp, $sp, 0x20 /* 5B28CC 8021941C 00000000 */ nop