.set noat # allow manual use of $at .set noreorder # don't insert nops after branches glabel func_80242F48 /* 136288 80242F48 2442FF80 */ addiu $v0, $v0, -0x80 /* 13628C 80242F4C 0441000C */ bgez $v0, .L80242F80 /* 136290 80242F50 AC620000 */ sw $v0, ($v1) /* 136294 80242F54 08090BE0 */ j .L80242F80 /* 136298 80242F58 AC600000 */ sw $zero, ($v1) .L80242F5C: /* 13629C 80242F5C 3C038025 */ lui $v1, 0x8025 /* 1362A0 80242F60 2463EFA4 */ addiu $v1, $v1, -0x105c /* 1362A4 80242F64 8C620000 */ lw $v0, ($v1) /* 1362A8 80242F68 24420020 */ addiu $v0, $v0, 0x20 /* 1362AC 80242F6C AC620000 */ sw $v0, ($v1) /* 1362B0 80242F70 28420100 */ slti $v0, $v0, 0x100 /* 1362B4 80242F74 14400003 */ bnez $v0, .L80242F84 /* 1362B8 80242F78 240200FF */ addiu $v0, $zero, 0xff /* 1362BC 80242F7C AC620000 */ sw $v0, ($v1) .L80242F80: /* 1362C0 80242F80 240200FF */ addiu $v0, $zero, 0xff .L80242F84: /* 1362C4 80242F84 3C018025 */ lui $at, 0x8025 /* 1362C8 80242F88 03E00008 */ jr $ra /* 1362CC 80242F8C AC22EFB0 */ sw $v0, -0x1050($at) /* 1362D0 80242F90 240200A0 */ addiu $v0, $zero, 0xa0 /* 1362D4 80242F94 8FA30028 */ lw $v1, 0x28($sp) /* 1362D8 80242F98 00042140 */ sll $a0, $a0, 5 /* 1362DC 80242F9C AC620000 */ sw $v0, ($v1) /* 1362E0 80242FA0 3C028016 */ lui $v0, 0x8016 /* 1362E4 80242FA4 24429D50 */ addiu $v0, $v0, -0x62b0 /* 1362E8 80242FA8 00822021 */ addu $a0, $a0, $v0 /* 1362EC 80242FAC 90820000 */ lbu $v0, ($a0) /* 1362F0 80242FB0 304200F3 */ andi $v0, $v0, 0xf3 /* 1362F4 80242FB4 03E00008 */ jr $ra /* 1362F8 80242FB8 A0820000 */ sb $v0, ($a0) /* 1362FC 80242FBC 240200A0 */ addiu $v0, $zero, 0xa0 /* 136300 80242FC0 8FA30028 */ lw $v1, 0x28($sp) /* 136304 80242FC4 8FA5002C */ lw $a1, 0x2c($sp) /* 136308 80242FC8 00042140 */ sll $a0, $a0, 5 /* 13630C 80242FCC AC620000 */ sw $v0, ($v1) /* 136310 80242FD0 24020050 */ addiu $v0, $zero, 0x50 /* 136314 80242FD4 ACA20000 */ sw $v0, ($a1) /* 136318 80242FD8 3C028016 */ lui $v0, 0x8016 /* 13631C 80242FDC 24429D50 */ addiu $v0, $v0, -0x62b0 /* 136320 80242FE0 00822021 */ addu $a0, $a0, $v0 /* 136324 80242FE4 90820000 */ lbu $v0, ($a0) /* 136328 80242FE8 304200F3 */ andi $v0, $v0, 0xf3 /* 13632C 80242FEC 03E00008 */ jr $ra /* 136330 80242FF0 A0820000 */ sb $v0, ($a0) /* 136334 80242FF4 27BDFFE0 */ addiu $sp, $sp, -0x20 /* 136338 80242FF8 3C038016 */ lui $v1, 0x8016 /* 13633C 80242FFC 24639D50 */ addiu $v1, $v1, -0x62b0 /* 136340 80243000 00041140 */ sll $v0, $a0, 5 /* 136344 80243004 AFB00010 */ sw $s0, 0x10($sp) /* 136348 80243008 00438021 */ addu $s0, $v0, $v1 /* 13634C 8024300C AFBF001C */ sw $ra, 0x1c($sp) /* 136350 80243010 AFB20018 */ sw $s2, 0x18($sp) /* 136354 80243014 AFB10014 */ sw $s1, 0x14($sp) /* 136358 80243018 9211001C */ lbu $s1, 0x1c($s0) /* 13635C 8024301C 8FB20048 */ lw $s2, 0x48($sp) /* 136360 80243020 16200005 */ bnez $s1, .L80243038 /* 136364 80243024 24020005 */ addiu $v0, $zero, 5 /* 136368 80243028 92020000 */ lbu $v0, ($s0) /* 13636C 8024302C 304200FB */ andi $v0, $v0, 0xfb /* 136370 80243030 A2020000 */ sb $v0, ($s0) /* 136374 80243034 24020005 */ addiu $v0, $zero, 5 .L80243038: /* 136378 80243038 16220005 */ bne $s1, $v0, .L80243050 /* 13637C 8024303C 2A22000A */ slti $v0, $s1, 0xa /* 136380 80243040 92050002 */ lbu $a1, 2($s0) /* 136384 80243044 0C051F5C */ jal func_80147D70 /* 136388 80243048 00000000 */ nop /* 13638C 8024304C 2A22000A */ slti $v0, $s1, 0xa .L80243050: /* 136390 80243050 10400004 */ beqz $v0, .L80243064 /* 136394 80243054 26220001 */ addiu $v0, $s1, 1 /* 136398 80243058 00021100 */ sll $v0, $v0, 4 /* 13639C 8024305C 08090C1E */ j .L80243078 /* 1363A0 80243060 AE420000 */ sw $v0, ($s2) .L80243064: /* 1363A4 80243064 240200A0 */ addiu $v0, $zero, 0xa0 /* 1363A8 80243068 AE420000 */ sw $v0, ($s2) /* 1363AC 8024306C 92020000 */ lbu $v0, ($s0) /* 1363B0 80243070 304200F7 */ andi $v0, $v0, 0xf7 /* 1363B4 80243074 A2020000 */ sb $v0, ($s0) .L80243078: /* 1363B8 80243078 8FBF001C */ lw $ra, 0x1c($sp) /* 1363BC 8024307C 8FB20018 */ lw $s2, 0x18($sp) /* 1363C0 80243080 8FB10014 */ lw $s1, 0x14($sp) /* 1363C4 80243084 8FB00010 */ lw $s0, 0x10($sp) /* 1363C8 80243088 03E00008 */ jr $ra /* 1363CC 8024308C 27BD0020 */ addiu $sp, $sp, 0x20 /* 1363D0 80243090 27BDFFE8 */ addiu $sp, $sp, -0x18 /* 1363D4 80243094 3C028016 */ lui $v0, 0x8016 /* 1363D8 80243098 24429D50 */ addiu $v0, $v0, -0x62b0 /* 1363DC 8024309C 00041940 */ sll $v1, $a0, 5 /* 1363E0 802430A0 AFB00010 */ sw $s0, 0x10($sp) /* 1363E4 802430A4 00628021 */ addu $s0, $v1, $v0 /* 1363E8 802430A8 AFBF0014 */ sw $ra, 0x14($sp) /* 1363EC 802430AC 9202001C */ lbu $v0, 0x1c($s0) /* 1363F0 802430B0 14400008 */ bnez $v0, .L802430D4 /* 1363F4 802430B4 00000000 */ nop /* 1363F8 802430B8 0C051F5C */ jal func_80147D70 /* 1363FC 802430BC 92050002 */ lbu $a1, 2($s0) /* 136400 802430C0 8FA20040 */ lw $v0, 0x40($sp) /* 136404 802430C4 AC400000 */ sw $zero, ($v0) /* 136408 802430C8 92020000 */ lbu $v0, ($s0) /* 13640C 802430CC 304200F7 */ andi $v0, $v0, 0xf7 /* 136410 802430D0 A2020000 */ sb $v0, ($s0) .L802430D4: /* 136414 802430D4 8FBF0014 */ lw $ra, 0x14($sp) /* 136418 802430D8 8FB00010 */ lw $s0, 0x10($sp) /* 13641C 802430DC 03E00008 */ jr $ra /* 136420 802430E0 27BD0018 */ addiu $sp, $sp, 0x18 /* 136424 802430E4 3C028016 */ lui $v0, 0x8016 /* 136428 802430E8 24429D50 */ addiu $v0, $v0, -0x62b0 /* 13642C 802430EC 00042140 */ sll $a0, $a0, 5 /* 136430 802430F0 00822021 */ addu $a0, $a0, $v0 /* 136434 802430F4 9083001C */ lbu $v1, 0x1c($a0) /* 136438 802430F8 8FA5002C */ lw $a1, 0x2c($sp) /* 13643C 802430FC 14600005 */ bnez $v1, .L80243114 /* 136440 80243100 28620010 */ slti $v0, $v1, 0x10 /* 136444 80243104 90820000 */ lbu $v0, ($a0) /* 136448 80243108 304200FB */ andi $v0, $v0, 0xfb /* 13644C 8024310C A0820000 */ sb $v0, ($a0) /* 136450 80243110 28620010 */ slti $v0, $v1, 0x10 .L80243114: /* 136454 80243114 10400004 */ beqz $v0, .L80243128 /* 136458 80243118 240200FF */ addiu $v0, $zero, 0xff /* 13645C 8024311C 00031100 */ sll $v0, $v1, 4 /* 136460 80243120 03E00008 */ jr $ra /* 136464 80243124 ACA20000 */ sw $v0, ($a1) .L80243128: /* 136468 80243128 ACA20000 */ sw $v0, ($a1) /* 13646C 8024312C 90820000 */ lbu $v0, ($a0) /* 136470 80243130 304200F7 */ andi $v0, $v0, 0xf7 /* 136474 80243134 03E00008 */ jr $ra /* 136478 80243138 A0820000 */ sb $v0, ($a0) /* 13647C 8024313C 3C028016 */ lui $v0, 0x8016 /* 136480 80243140 24429D50 */ addiu $v0, $v0, -0x62b0 /* 136484 80243144 00042140 */ sll $a0, $a0, 5 /* 136488 80243148 00822021 */ addu $a0, $a0, $v0 /* 13648C 8024314C 9083001C */ lbu $v1, 0x1c($a0) /* 136490 80243150 8FA5002C */ lw $a1, 0x2c($sp) /* 136494 80243154 28620010 */ slti $v0, $v1, 0x10 /* 136498 80243158 50400006 */ beql $v0, $zero, .L80243174 /* 13649C 8024315C ACA00000 */ sw $zero, ($a1) /* 1364A0 80243160 00031900 */ sll $v1, $v1, 4 /* 1364A4 80243164 240200FF */ addiu $v0, $zero, 0xff /* 1364A8 80243168 00431023 */ subu $v0, $v0, $v1 /* 1364AC 8024316C 03E00008 */ jr $ra /* 1364B0 80243170 ACA20000 */ sw $v0, ($a1) .L80243174: /* 1364B4 80243174 90820000 */ lbu $v0, ($a0) /* 1364B8 80243178 304200F7 */ andi $v0, $v0, 0xf7 /* 1364BC 8024317C 34420004 */ ori $v0, $v0, 4 /* 1364C0 80243180 03E00008 */ jr $ra /* 1364C4 80243184 A0820000 */ sb $v0, ($a0) /* 1364C8 80243188 3C028016 */ lui $v0, 0x8016 /* 1364CC 8024318C 24429D50 */ addiu $v0, $v0, -0x62b0 /* 1364D0 80243190 00042140 */ sll $a0, $a0, 5 /* 1364D4 80243194 00822021 */ addu $a0, $a0, $v0 /* 1364D8 80243198 9083001C */ lbu $v1, 0x1c($a0) /* 1364DC 8024319C 8FA6001C */ lw $a2, 0x1c($sp) /* 1364E0 802431A0 14600005 */ bnez $v1, .L802431B8 /* 1364E4 802431A4 28620007 */ slti $v0, $v1, 7 /* 1364E8 802431A8 90820000 */ lbu $v0, ($a0) /* 1364EC 802431AC 304200FB */ andi $v0, $v0, 0xfb /* 1364F0 802431B0 A0820000 */ sb $v0, ($a0) /* 1364F4 802431B4 28620007 */ slti $v0, $v1, 7 .L802431B8: /* 1364F8 802431B8 10400010 */ beqz $v0, .L802431FC /* 1364FC 802431BC 00000000 */ nop /* 136500 802431C0 3C028025 */ lui $v0, 0x8025 /* 136504 802431C4 00431021 */ addu $v0, $v0, $v1 /* 136508 802431C8 9042EFC4 */ lbu $v0, -0x103c($v0) /* 13650C 802431CC ACA20000 */ sw $v0, ($a1) /* 136510 802431D0 00031040 */ sll $v0, $v1, 1 /* 136514 802431D4 3C018025 */ lui $at, 0x8025 /* 136518 802431D8 00220821 */ addu $at, $at, $v0 /* 13651C 802431DC 8422EFCC */ lh $v0, -0x1034($at) /* 136520 802431E0 C4C00000 */ lwc1 $f0, ($a2) /* 136524 802431E4 44821000 */ mtc1 $v0, $f2 /* 136528 802431E8 00000000 */ nop /* 13652C 802431EC 468010A0 */ cvt.s.w $f2, $f2 /* 136530 802431F0 46020000 */ add.s $f0, $f0, $f2 /* 136534 802431F4 03E00008 */ jr $ra /* 136538 802431F8 E4C00000 */ swc1 $f0, ($a2) .L802431FC: /* 13653C 802431FC 3C028025 */ lui $v0, 0x8025 /* 136540 80243200 9042EFC9 */ lbu $v0, -0x1037($v0) /* 136544 80243204 ACA20000 */ sw $v0, ($a1) /* 136548 80243208 3C028025 */ lui $v0, 0x8025 /* 13654C 8024320C 8442EFD8 */ lh $v0, -0x1028($v0) /* 136550 80243210 C4C00000 */ lwc1 $f0, ($a2) /* 136554 80243214 44821000 */ mtc1 $v0, $f2 /* 136558 80243218 00000000 */ nop /* 13655C 8024321C 468010A0 */ cvt.s.w $f2, $f2 /* 136560 80243220 46020000 */ add.s $f0, $f0, $f2 /* 136564 80243224 E4C00000 */ swc1 $f0, ($a2) /* 136568 80243228 90820000 */ lbu $v0, ($a0) /* 13656C 8024322C 304200F7 */ andi $v0, $v0, 0xf7 /* 136570 80243230 03E00008 */ jr $ra /* 136574 80243234 A0820000 */ sb $v0, ($a0) /* 136578 80243238 3C028016 */ lui $v0, 0x8016 /* 13657C 8024323C 24429D50 */ addiu $v0, $v0, -0x62b0 /* 136580 80243240 00042140 */ sll $a0, $a0, 5 /* 136584 80243244 00822021 */ addu $a0, $a0, $v0 /* 136588 80243248 9083001C */ lbu $v1, 0x1c($a0) /* 13658C 8024324C 8FA6001C */ lw $a2, 0x1c($sp) /* 136590 80243250 14600005 */ bnez $v1, .L80243268 /* 136594 80243254 28620007 */ slti $v0, $v1, 7 /* 136598 80243258 90820000 */ lbu $v0, ($a0) /* 13659C 8024325C 304200FB */ andi $v0, $v0, 0xfb /* 1365A0 80243260 A0820000 */ sb $v0, ($a0) /* 1365A4 80243264 28620007 */ slti $v0, $v1, 7 .L80243268: /* 1365A8 80243268 10400010 */ beqz $v0, .L802432AC /* 1365AC 8024326C 00000000 */ nop /* 1365B0 80243270 3C028025 */ lui $v0, 0x8025 /* 1365B4 80243274 00431021 */ addu $v0, $v0, $v1 /* 1365B8 80243278 9042EFC4 */ lbu $v0, -0x103c($v0) /* 1365BC 8024327C ACA20000 */ sw $v0, ($a1) /* 1365C0 80243280 00031040 */ sll $v0, $v1, 1 /* 1365C4 80243284 3C018025 */ lui $at, 0x8025 /* 1365C8 80243288 00220821 */ addu $at, $at, $v0 /* 1365CC 8024328C 8422EFD8 */ lh $v0, -0x1028($at) /* 1365D0 80243290 C4C00000 */ lwc1 $f0, ($a2) /* 1365D4 80243294 44821000 */ mtc1 $v0, $f2 /* 1365D8 80243298 00000000 */ nop /* 1365DC 8024329C 468010A0 */ cvt.s.w $f2, $f2 /* 1365E0 802432A0 46020000 */ add.s $f0, $f0, $f2 /* 1365E4 802432A4 03E00008 */ jr $ra /* 1365E8 802432A8 E4C00000 */ swc1 $f0, ($a2) .L802432AC: /* 1365EC 802432AC 3C028025 */ lui $v0, 0x8025 /* 1365F0 802432B0 9042EFC9 */ lbu $v0, -0x1037($v0) /* 1365F4 802432B4 ACA20000 */ sw $v0, ($a1) /* 1365F8 802432B8 3C028025 */ lui $v0, 0x8025 /* 1365FC 802432BC 8442EFE4 */ lh $v0, -0x101c($v0) /* 136600 802432C0 C4C00000 */ lwc1 $f0, ($a2) /* 136604 802432C4 44821000 */ mtc1 $v0, $f2 /* 136608 802432C8 00000000 */ nop /* 13660C 802432CC 468010A0 */ cvt.s.w $f2, $f2 /* 136610 802432D0 46020000 */ add.s $f0, $f0, $f2 /* 136614 802432D4 E4C00000 */ swc1 $f0, ($a2) /* 136618 802432D8 90820000 */ lbu $v0, ($a0) /* 13661C 802432DC 304200F7 */ andi $v0, $v0, 0xf7 /* 136620 802432E0 03E00008 */ jr $ra /* 136624 802432E4 A0820000 */ sb $v0, ($a0) /* 136628 802432E8 3C028016 */ lui $v0, 0x8016 /* 13662C 802432EC 24429D50 */ addiu $v0, $v0, -0x62b0 /* 136630 802432F0 00042140 */ sll $a0, $a0, 5 /* 136634 802432F4 00822021 */ addu $a0, $a0, $v0 /* 136638 802432F8 9083001C */ lbu $v1, 0x1c($a0) /* 13663C 802432FC 8FA6001C */ lw $a2, 0x1c($sp) /* 136640 80243300 28620005 */ slti $v0, $v1, 5 /* 136644 80243304 10400010 */ beqz $v0, .L80243348 /* 136648 80243308 00000000 */ nop /* 13664C 8024330C 3C028025 */ lui $v0, 0x8025 /* 136650 80243310 00431021 */ addu $v0, $v0, $v1 /* 136654 80243314 9042EFE4 */ lbu $v0, -0x101c($v0) /* 136658 80243318 ACA20000 */ sw $v0, ($a1) /* 13665C 8024331C 00031040 */ sll $v0, $v1, 1 /* 136660 80243320 3C018025 */ lui $at, 0x8025 /* 136664 80243324 00220821 */ addu $at, $at, $v0 /* 136668 80243328 8422F000 */ lh $v0, -0x1000($at) /* 13666C 8024332C C4C00000 */ lwc1 $f0, ($a2) /* 136670 80243330 44821000 */ mtc1 $v0, $f2 /* 136674 80243334 00000000 */ nop /* 136678 80243338 468010A0 */ cvt.s.w $f2, $f2 /* 13667C 8024333C 46020000 */ add.s $f0, $f0, $f2 /* 136680 80243340 03E00008 */ jr $ra /* 136684 80243344 E4C00000 */ swc1 $f0, ($a2) .L80243348: /* 136688 80243348 3C028025 */ lui $v0, 0x8025 /* 13668C 8024334C 9042EFE8 */ lbu $v0, -0x1018($v0) /* 136690 80243350 ACA20000 */ sw $v0, ($a1) /* 136694 80243354 3C028025 */ lui $v0, 0x8025 /* 136698 80243358 8442F008 */ lh $v0, -0xff8($v0) /* 13669C 8024335C C4C00000 */ lwc1 $f0, ($a2) /* 1366A0 80243360 44821000 */ mtc1 $v0, $f2 /* 1366A4 80243364 00000000 */ nop /* 1366A8 80243368 468010A0 */ cvt.s.w $f2, $f2 /* 1366AC 8024336C 46020000 */ add.s $f0, $f0, $f2 /* 1366B0 80243370 E4C00000 */ swc1 $f0, ($a2) /* 1366B4 80243374 90820000 */ lbu $v0, ($a0) /* 1366B8 80243378 304200F7 */ andi $v0, $v0, 0xf7 /* 1366BC 8024337C 34420004 */ ori $v0, $v0, 4 /* 1366C0 80243380 03E00008 */ jr $ra /* 1366C4 80243384 A0820000 */ sb $v0, ($a0) /* 1366C8 80243388 3C028016 */ lui $v0, 0x8016 /* 1366CC 8024338C 24429D50 */ addiu $v0, $v0, -0x62b0 /* 1366D0 80243390 00042140 */ sll $a0, $a0, 5 /* 1366D4 80243394 00822021 */ addu $a0, $a0, $v0 /* 1366D8 80243398 9083001C */ lbu $v1, 0x1c($a0) /* 1366DC 8024339C 8FA6001C */ lw $a2, 0x1c($sp) /* 1366E0 802433A0 28620005 */ slti $v0, $v1, 5 /* 1366E4 802433A4 1040000E */ beqz $v0, .L802433E0 /* 1366E8 802433A8 00000000 */ nop /* 1366EC 802433AC 3C028025 */ lui $v0, 0x8025 /* 1366F0 802433B0 00431021 */ addu $v0, $v0, $v1 /* 1366F4 802433B4 9042EFE4 */ lbu $v0, -0x101c($v0) /* 1366F8 802433B8 ACA20000 */ sw $v0, ($a1) /* 1366FC 802433BC 00031040 */ sll $v0, $v1, 1 /* 136700 802433C0 3C018025 */ lui $at, 0x8025 /* 136704 802433C4 00220821 */ addu $at, $at, $v0 /* 136708 802433C8 8422F00C */ lh $v0, -0xff4($at) /* 13670C 802433CC 44820000 */ mtc1 $v0, $f0 /* 136710 802433D0 00000000 */ nop /* 136714 802433D4 46800020 */ cvt.s.w $f0, $f0 /* 136718 802433D8 03E00008 */ jr $ra /* 13671C 802433DC E4C00000 */ swc1 $f0, ($a2) .L802433E0: /* 136720 802433E0 3C028025 */ lui $v0, 0x8025 /* 136724 802433E4 9042EFE8 */ lbu $v0, -0x1018($v0) /* 136728 802433E8 ACA20000 */ sw $v0, ($a1) /* 13672C 802433EC 3C028025 */ lui $v0, 0x8025 /* 136730 802433F0 8442F014 */ lh $v0, -0xfec($v0) /* 136734 802433F4 44820000 */ mtc1 $v0, $f0 /* 136738 802433F8 00000000 */ nop /* 13673C 802433FC 46800020 */ cvt.s.w $f0, $f0 /* 136740 80243400 E4C00000 */ swc1 $f0, ($a2) /* 136744 80243404 90820000 */ lbu $v0, ($a0) /* 136748 80243408 304200F7 */ andi $v0, $v0, 0xf7 /* 13674C 8024340C 34420004 */ ori $v0, $v0, 4 /* 136750 80243410 03E00008 */ jr $ra /* 136754 80243414 A0820000 */ sb $v0, ($a0)