.set noat # allow manual use of $at .set noreorder # don't insert nops after branches glabel func_80245568 /* 1388A8 80245568 240400C9 */ addiu $a0, $zero, 0xc9 /* 1388AC 8024556C 82020001 */ lb $v0, 1($s0) /* 1388B0 80245570 00511021 */ addu $v0, $v0, $s1 /* 1388B4 80245574 90420000 */ lbu $v0, ($v0) /* 1388B8 80245578 3C018027 */ lui $at, 0x8027 /* 1388BC 8024557C A02200D4 */ sb $v0, 0xd4($at) .L80245580: /* 1388C0 80245580 82020001 */ lb $v0, 1($s0) /* 1388C4 80245584 00021080 */ sll $v0, $v0, 2 /* 1388C8 80245588 3C048025 */ lui $a0, 0x8025 /* 1388CC 8024558C 00822021 */ addu $a0, $a0, $v0 /* 1388D0 80245590 0C093BA0 */ jal func_8024EE80 /* 1388D4 80245594 8C84F2E8 */ lw $a0, -0xd18($a0) /* 1388D8 80245598 8FBF0018 */ lw $ra, 0x18($sp) /* 1388DC 8024559C 8FB10014 */ lw $s1, 0x14($sp) /* 1388E0 802455A0 8FB00010 */ lw $s0, 0x10($sp) /* 1388E4 802455A4 3C018027 */ lui $at, 0x8027 /* 1388E8 802455A8 AC2200C8 */ sw $v0, 0xc8($at) /* 1388EC 802455AC 3C018027 */ lui $at, 0x8027 /* 1388F0 802455B0 AC2000CC */ sw $zero, 0xcc($at) /* 1388F4 802455B4 03E00008 */ jr $ra /* 1388F8 802455B8 27BD0020 */ addiu $sp, $sp, 0x20 /* 1388FC 802455BC 27BDFFC8 */ addiu $sp, $sp, -0x38 /* 138900 802455C0 AFB3001C */ sw $s3, 0x1c($sp) /* 138904 802455C4 0080982D */ daddu $s3, $a0, $zero /* 138908 802455C8 AFBF0034 */ sw $ra, 0x34($sp) /* 13890C 802455CC AFBE0030 */ sw $fp, 0x30($sp) /* 138910 802455D0 AFB7002C */ sw $s7, 0x2c($sp) /* 138914 802455D4 AFB60028 */ sw $s6, 0x28($sp) /* 138918 802455D8 AFB50024 */ sw $s5, 0x24($sp) /* 13891C 802455DC AFB40020 */ sw $s4, 0x20($sp) /* 138920 802455E0 AFB20018 */ sw $s2, 0x18($sp) /* 138924 802455E4 AFB10014 */ sw $s1, 0x14($sp) /* 138928 802455E8 AFB00010 */ sw $s0, 0x10($sp) /* 13892C 802455EC 82620001 */ lb $v0, 1($s3) /* 138930 802455F0 00021880 */ sll $v1, $v0, 2 /* 138934 802455F4 00621821 */ addu $v1, $v1, $v0 /* 138938 802455F8 00031100 */ sll $v0, $v1, 4 /* 13893C 802455FC 00431023 */ subu $v0, $v0, $v1 /* 138940 80245600 3C038027 */ lui $v1, 0x8027 /* 138944 80245604 8C63014C */ lw $v1, 0x14c($v1) /* 138948 80245608 00021080 */ sll $v0, $v0, 2 /* 13894C 8024560C 00431023 */ subu $v0, $v0, $v1 /* 138950 80245610 44820000 */ mtc1 $v0, $f0 /* 138954 80245614 00000000 */ nop /* 138958 80245618 46800020 */ cvt.s.w $f0, $f0 /* 13895C 8024561C 4600018D */ trunc.w.s $f6, $f0 /* 138960 80245620 44043000 */ mfc1 $a0, $f6 /* 138964 80245624 00000000 */ nop /* 138968 80245628 04810002 */ bgez $a0, .L80245634 /* 13896C 8024562C 0080802D */ daddu $s0, $a0, $zero /* 138970 80245630 00108023 */ negu $s0, $s0 .L80245634: /* 138974 80245634 0C00A52C */ jal sign /* 138978 80245638 00000000 */ nop