.set noat # allow manual use of $at .set noreorder # don't insert nops after branches .include "include/macro.inc" glabel func_802462F0 /* 139630 802462F0 86E30290 */ lh $v1, 0x290($s7) /* 139634 802462F4 8ED10028 */ lw $s1, 0x28($s6) /* 139638 802462F8 04610002 */ bgez $v1, .L80246304 /* 13963C 802462FC 0060102D */ daddu $v0, $v1, $zero /* 139640 80246300 246200FF */ addiu $v0, $v1, 0xff .L80246304: /* 139644 80246304 00021203 */ sra $v0, $v0, 8 /* 139648 80246308 0040202D */ daddu $a0, $v0, $zero /* 13964C 8024630C 00041200 */ sll $v0, $a0, 8 /* 139650 80246310 00621023 */ subu $v0, $v1, $v0 /* 139654 80246314 00021400 */ sll $v0, $v0, 0x10 /* 139658 80246318 0002B403 */ sra $s6, $v0, 0x10 /* 13965C 8024631C 06C10002 */ bgez $s6, .L80246328 /* 139660 80246320 02C0102D */ daddu $v0, $s6, $zero /* 139664 80246324 26C2001F */ addiu $v0, $s6, 0x1f .L80246328: /* 139668 80246328 0002B143 */ sra $s6, $v0, 5 /* 13966C 8024632C 000410C0 */ sll $v0, $a0, 3 /* 139670 80246330 02C2B021 */ addu $s6, $s6, $v0 /* 139674 80246334 02B6102A */ slt $v0, $s5, $s6 /* 139678 80246338 104000E7 */ beqz $v0, .L802466D8 /* 13967C 8024633C 00000000 */ nop .L80246340: /* 139680 80246340 26730001 */ addiu $s3, $s3, 1 /* 139684 80246344 00158080 */ sll $s0, $s5, 2