glabel func_8006BE88 /* AE3028 8006BE88 27BDFFD8 */ addiu $sp, $sp, -0x28 /* AE302C 8006BE8C AFBF0024 */ sw $ra, 0x24($sp) /* AE3030 8006BE90 AFB20020 */ sw $s2, 0x20($sp) /* AE3034 8006BE94 AFB1001C */ sw $s1, 0x1c($sp) /* AE3038 8006BE98 AFB00018 */ sw $s0, 0x18($sp) /* AE303C 8006BE9C 8C850000 */ lw $a1, ($a0) /* AE3040 8006BEA0 24120020 */ li $s2, 32 /* AE3044 8006BEA4 00808025 */ move $s0, $a0 /* AE3048 8006BEA8 90AE0000 */ lbu $t6, ($a1) /* AE304C 8006BEAC 24110001 */ li $s1, 1 /* AE3050 8006BEB0 31CF00E0 */ andi $t7, $t6, 0xe0 /* AE3054 8006BEB4 164F000D */ bne $s2, $t7, .L8006BEEC /* AE3058 8006BEB8 00000000 */ nop .L8006BEBC: /* AE305C 8006BEBC 0C01AEF0 */ jal func_8006BBC0 /* AE3060 8006BEC0 00A02025 */ move $a0, $a1 /* AE3064 8006BEC4 54400003 */ bnezl $v0, .L8006BED4 /* AE3068 8006BEC8 8E180000 */ lw $t8, ($s0) /* AE306C 8006BECC 00008825 */ move $s1, $zero /* AE3070 8006BED0 8E180000 */ lw $t8, ($s0) .L8006BED4: /* AE3074 8006BED4 27050004 */ addiu $a1, $t8, 4 /* AE3078 8006BED8 AE050000 */ sw $a1, ($s0) /* AE307C 8006BEDC 90A80000 */ lbu $t0, ($a1) /* AE3080 8006BEE0 310900E0 */ andi $t1, $t0, 0xe0 /* AE3084 8006BEE4 1249FFF5 */ beq $s2, $t1, .L8006BEBC /* AE3088 8006BEE8 00000000 */ nop .L8006BEEC: /* AE308C 8006BEEC 12200005 */ beqz $s1, .L8006BF04 /* AE3090 8006BEF0 00001025 */ move $v0, $zero /* AE3094 8006BEF4 0C01AEF0 */ jal func_8006BBC0 /* AE3098 8006BEF8 00A02025 */ move $a0, $a1 /* AE309C 8006BEFC 10000002 */ b .L8006BF08 /* AE30A0 8006BF00 8FBF0024 */ lw $ra, 0x24($sp) .L8006BF04: /* AE30A4 8006BF04 8FBF0024 */ lw $ra, 0x24($sp) .L8006BF08: /* AE30A8 8006BF08 8FB00018 */ lw $s0, 0x18($sp) /* AE30AC 8006BF0C 8FB1001C */ lw $s1, 0x1c($sp) /* AE30B0 8006BF10 8FB20020 */ lw $s2, 0x20($sp) /* AE30B4 8006BF14 03E00008 */ jr $ra /* AE30B8 8006BF18 27BD0028 */ addiu $sp, $sp, 0x28