.set noat # allow manual use of $at .set noreorder # don't insert nops after branches glabel func_80055410 /* 30810 80055410 27BDFFE0 */ addiu $sp, $sp, -0x20 /* 30814 80055414 AFB20018 */ sw $s2, 0x18($sp) /* 30818 80055418 0080902D */ daddu $s2, $a0, $zero /* 3081C 8005541C AFB10014 */ sw $s1, 0x14($sp) /* 30820 80055420 24110004 */ addiu $s1, $zero, 4 /* 30824 80055424 240200FF */ addiu $v0, $zero, 0xff /* 30828 80055428 AFB00010 */ sw $s0, 0x10($sp) /* 3082C 8005542C 0000802D */ daddu $s0, $zero, $zero /* 30830 80055430 AFBF001C */ sw $ra, 0x1c($sp) /* 30834 80055434 3C018008 */ lui $at, %hi(D_80078D86) /* 30838 80055438 A4228D86 */ sh $v0, %lo(D_80078D86)($at) /* 3083C 8005543C 0200202D */ daddu $a0, $s0, $zero .L80055440: /* 30840 80055440 0C015445 */ jal func_80055114 /* 30844 80055444 0000282D */ daddu $a1, $zero, $zero /* 30848 80055448 14400006 */ bnez $v0, .L80055464 /* 3084C 8005544C 26100001 */ addiu $s0, $s0, 1 /* 30850 80055450 0211102B */ sltu $v0, $s0, $s1 /* 30854 80055454 1440FFFA */ bnez $v0, .L80055440 /* 30858 80055458 0200202D */ daddu $a0, $s0, $zero /* 3085C 8005545C 0C01553E */ jal func_800554F8 /* 30860 80055460 0240202D */ daddu $a0, $s2, $zero .L80055464: /* 30864 80055464 8FBF001C */ lw $ra, 0x1c($sp) /* 30868 80055468 8FB20018 */ lw $s2, 0x18($sp) /* 3086C 8005546C 8FB10014 */ lw $s1, 0x14($sp) /* 30870 80055470 8FB00010 */ lw $s0, 0x10($sp) /* 30874 80055474 03E00008 */ jr $ra /* 30878 80055478 27BD0020 */ addiu $sp, $sp, 0x20