.set noat # allow manual use of $at .set noreorder # don't insert nops after branches glabel func_80240198_ED43B8 /* ED43B8 80240198 27BDFFE8 */ addiu $sp, $sp, -0x18 /* ED43BC 8024019C AFB00010 */ sw $s0, 0x10($sp) /* ED43C0 802401A0 0080802D */ daddu $s0, $a0, $zero /* ED43C4 802401A4 AFBF0014 */ sw $ra, 0x14($sp) /* ED43C8 802401A8 8E0300A8 */ lw $v1, 0xa8($s0) /* ED43CC 802401AC 8E020088 */ lw $v0, 0x88($s0) /* ED43D0 802401B0 00621821 */ addu $v1, $v1, $v0 /* ED43D4 802401B4 04610004 */ bgez $v1, .L802401C8 /* ED43D8 802401B8 AE0300A8 */ sw $v1, 0xa8($s0) /* ED43DC 802401BC 3C020002 */ lui $v0, 2 /* ED43E0 802401C0 08090076 */ j .L802401D8 /* ED43E4 802401C4 00621021 */ addu $v0, $v1, $v0 .L802401C8: /* ED43E8 802401C8 3C040002 */ lui $a0, 2 /* ED43EC 802401CC 0083102A */ slt $v0, $a0, $v1 /* ED43F0 802401D0 10400002 */ beqz $v0, .L802401DC /* ED43F4 802401D4 00641023 */ subu $v0, $v1, $a0 .L802401D8: /* ED43F8 802401D8 AE0200A8 */ sw $v0, 0xa8($s0) .L802401DC: /* ED43FC 802401DC 8E0300AC */ lw $v1, 0xac($s0) /* ED4400 802401E0 8E02008C */ lw $v0, 0x8c($s0) /* ED4404 802401E4 00621821 */ addu $v1, $v1, $v0 /* ED4408 802401E8 04610004 */ bgez $v1, .L802401FC /* ED440C 802401EC AE0300AC */ sw $v1, 0xac($s0) /* ED4410 802401F0 3C020002 */ lui $v0, 2 /* ED4414 802401F4 08090083 */ j .L8024020C /* ED4418 802401F8 00621021 */ addu $v0, $v1, $v0 .L802401FC: /* ED441C 802401FC 3C040002 */ lui $a0, 2 /* ED4420 80240200 0083102A */ slt $v0, $a0, $v1 /* ED4424 80240204 10400002 */ beqz $v0, .L80240210 /* ED4428 80240208 00641023 */ subu $v0, $v1, $a0 .L8024020C: /* ED442C 8024020C AE0200AC */ sw $v0, 0xac($s0) .L80240210: /* ED4430 80240210 8E0300B0 */ lw $v1, 0xb0($s0) /* ED4434 80240214 8E020090 */ lw $v0, 0x90($s0) /* ED4438 80240218 00621821 */ addu $v1, $v1, $v0 /* ED443C 8024021C 04610004 */ bgez $v1, .L80240230 /* ED4440 80240220 AE0300B0 */ sw $v1, 0xb0($s0) /* ED4444 80240224 3C020002 */ lui $v0, 2 /* ED4448 80240228 08090090 */ j .L80240240 /* ED444C 8024022C 00621021 */ addu $v0, $v1, $v0 .L80240230: /* ED4450 80240230 3C040002 */ lui $a0, 2 /* ED4454 80240234 0083102A */ slt $v0, $a0, $v1 /* ED4458 80240238 10400002 */ beqz $v0, .L80240244 /* ED445C 8024023C 00641023 */ subu $v0, $v1, $a0 .L80240240: /* ED4460 80240240 AE0200B0 */ sw $v0, 0xb0($s0) .L80240244: /* ED4464 80240244 8E0300B4 */ lw $v1, 0xb4($s0) /* ED4468 80240248 8E020094 */ lw $v0, 0x94($s0) /* ED446C 8024024C 00621821 */ addu $v1, $v1, $v0 /* ED4470 80240250 04610004 */ bgez $v1, .L80240264 /* ED4474 80240254 AE0300B4 */ sw $v1, 0xb4($s0) /* ED4478 80240258 3C020002 */ lui $v0, 2 /* ED447C 8024025C 0809009D */ j .L80240274 /* ED4480 80240260 00621021 */ addu $v0, $v1, $v0 .L80240264: /* ED4484 80240264 3C040002 */ lui $a0, 2 /* ED4488 80240268 0083102A */ slt $v0, $a0, $v1 /* ED448C 8024026C 10400002 */ beqz $v0, .L80240278 /* ED4490 80240270 00641023 */ subu $v0, $v1, $a0 .L80240274: /* ED4494 80240274 AE0200B4 */ sw $v0, 0xb4($s0) .L80240278: /* ED4498 80240278 8E040084 */ lw $a0, 0x84($s0) /* ED449C 8024027C 0C049819 */ jal func_80126064 /* ED44A0 80240280 8E0500A8 */ lw $a1, 0xa8($s0) /* ED44A4 80240284 8E040084 */ lw $a0, 0x84($s0) /* ED44A8 80240288 0C04981F */ jal func_8012607C /* ED44AC 8024028C 8E0500AC */ lw $a1, 0xac($s0) /* ED44B0 80240290 8E040084 */ lw $a0, 0x84($s0) /* ED44B4 80240294 0C049825 */ jal func_80126094 /* ED44B8 80240298 8E0500B0 */ lw $a1, 0xb0($s0) /* ED44BC 8024029C 8E040084 */ lw $a0, 0x84($s0) /* ED44C0 802402A0 0C04982B */ jal func_801260AC /* ED44C4 802402A4 8E0500B4 */ lw $a1, 0xb4($s0) /* ED44C8 802402A8 8FBF0014 */ lw $ra, 0x14($sp) /* ED44CC 802402AC 8FB00010 */ lw $s0, 0x10($sp) /* ED44D0 802402B0 0000102D */ daddu $v0, $zero, $zero /* ED44D4 802402B4 03E00008 */ jr $ra /* ED44D8 802402B8 27BD0018 */ addiu $sp, $sp, 0x18