2020-09-24 05:16:13 +02:00
|
|
|
.set noat # allow manual use of $at
|
2020-08-04 08:49:11 +02:00
|
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
|
|
|
|
glabel func_8006DDC0
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 491C0 8006DDC0 27BDFFE8 */ addiu $sp, $sp, -0x18
|
|
|
|
/* 491C4 8006DDC4 AFB20010 */ sw $s2, 0x10($sp)
|
|
|
|
/* 491C8 8006DDC8 0000902D */ daddu $s2, $zero, $zero
|
|
|
|
/* 491CC 8006DDCC AFB1000C */ sw $s1, 0xc($sp)
|
|
|
|
/* 491D0 8006DDD0 04810008 */ bgez $a0, .L8006DDF4
|
|
|
|
/* 491D4 8006DDD4 AFB00008 */ sw $s0, 8($sp)
|
|
|
|
/* 491D8 8006DDD8 2412FFFF */ addiu $s2, $zero, -1
|
|
|
|
/* 491DC 8006DDDC 00054823 */ negu $t1, $a1
|
|
|
|
/* 491E0 8006DDE0 00041823 */ negu $v1, $a0
|
|
|
|
/* 491E4 8006DDE4 0009102B */ sltu $v0, $zero, $t1
|
|
|
|
/* 491E8 8006DDE8 00624023 */ subu $t0, $v1, $v0
|
|
|
|
/* 491EC 8006DDEC 0100202D */ daddu $a0, $t0, $zero
|
|
|
|
/* 491F0 8006DDF0 0120282D */ daddu $a1, $t1, $zero
|
2020-08-04 08:49:11 +02:00
|
|
|
.L8006DDF4:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 491F4 8006DDF4 04C10008 */ bgez $a2, .L8006DE18
|
|
|
|
/* 491F8 8006DDF8 00E0402D */ daddu $t0, $a3, $zero
|
|
|
|
/* 491FC 8006DDFC 00075823 */ negu $t3, $a3
|
|
|
|
/* 49200 8006DE00 00061823 */ negu $v1, $a2
|
|
|
|
/* 49204 8006DE04 000B102B */ sltu $v0, $zero, $t3
|
|
|
|
/* 49208 8006DE08 00625023 */ subu $t2, $v1, $v0
|
|
|
|
/* 4920C 8006DE0C 0140302D */ daddu $a2, $t2, $zero
|
|
|
|
/* 49210 8006DE10 0160382D */ daddu $a3, $t3, $zero
|
|
|
|
/* 49214 8006DE14 00E0402D */ daddu $t0, $a3, $zero
|
2020-08-04 08:49:11 +02:00
|
|
|
.L8006DE18:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 49218 8006DE18 00C0482D */ daddu $t1, $a2, $zero
|
|
|
|
/* 4921C 8006DE1C 00A0582D */ daddu $t3, $a1, $zero
|
|
|
|
/* 49220 8006DE20 0080502D */ daddu $t2, $a0, $zero
|
|
|
|
/* 49224 8006DE24 152000A6 */ bnez $t1, .L8006E0C0
|
|
|
|
/* 49228 8006DE28 03A0C82D */ daddu $t9, $sp, $zero
|
|
|
|
/* 4922C 8006DE2C 0148102B */ sltu $v0, $t2, $t0
|
|
|
|
/* 49230 8006DE30 1040001D */ beqz $v0, .L8006DEA8
|
|
|
|
/* 49234 8006DE34 3402FFFF */ ori $v0, $zero, 0xffff
|
|
|
|
/* 49238 8006DE38 0048102B */ sltu $v0, $v0, $t0
|
|
|
|
/* 4923C 8006DE3C 14400005 */ bnez $v0, .L8006DE54
|
|
|
|
/* 49240 8006DE40 00E0182D */ daddu $v1, $a3, $zero
|
|
|
|
/* 49244 8006DE44 2D020100 */ sltiu $v0, $t0, 0x100
|
|
|
|
/* 49248 8006DE48 38420001 */ xori $v0, $v0, 1
|
|
|
|
/* 4924C 8006DE4C 0801B79B */ j .L8006DE6C
|
|
|
|
/* 49250 8006DE50 000220C0 */ sll $a0, $v0, 3
|
2020-08-04 08:49:11 +02:00
|
|
|
.L8006DE54:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 49254 8006DE54 3C0200FF */ lui $v0, 0xff
|
|
|
|
/* 49258 8006DE58 3442FFFF */ ori $v0, $v0, 0xffff
|
|
|
|
/* 4925C 8006DE5C 0048102B */ sltu $v0, $v0, $t0
|
|
|
|
/* 49260 8006DE60 14400002 */ bnez $v0, .L8006DE6C
|
|
|
|
/* 49264 8006DE64 24040018 */ addiu $a0, $zero, 0x18
|
|
|
|
/* 49268 8006DE68 24040010 */ addiu $a0, $zero, 0x10
|
2020-08-04 08:49:11 +02:00
|
|
|
.L8006DE6C:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 4926C 8006DE6C 00831006 */ srlv $v0, $v1, $a0
|
|
|
|
/* 49270 8006DE70 3C01800A */ lui $at, 0x800a
|
|
|
|
/* 49274 8006DE74 00220821 */ addu $at, $at, $v0
|
|
|
|
/* 49278 8006DE78 90229F40 */ lbu $v0, -0x60c0($at)
|
|
|
|
/* 4927C 8006DE7C 00441021 */ addu $v0, $v0, $a0
|
|
|
|
/* 49280 8006DE80 24040020 */ addiu $a0, $zero, 0x20
|
|
|
|
/* 49284 8006DE84 00826823 */ subu $t5, $a0, $v0
|
|
|
|
/* 49288 8006DE88 11A0005B */ beqz $t5, .L8006DFF8
|
|
|
|
/* 4928C 8006DE8C 01AA1804 */ sllv $v1, $t2, $t5
|
|
|
|
/* 49290 8006DE90 01A84004 */ sllv $t0, $t0, $t5
|
|
|
|
/* 49294 8006DE94 008D1023 */ subu $v0, $a0, $t5
|
|
|
|
/* 49298 8006DE98 004B1006 */ srlv $v0, $t3, $v0
|
|
|
|
/* 4929C 8006DE9C 00625025 */ or $t2, $v1, $v0
|
|
|
|
/* 492A0 8006DEA0 0801B7FE */ j .L8006DFF8
|
|
|
|
/* 492A4 8006DEA4 01AB5804 */ sllv $t3, $t3, $t5
|
2020-08-04 08:49:11 +02:00
|
|
|
.L8006DEA8:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 492A8 8006DEA8 15000008 */ bnez $t0, .L8006DECC
|
|
|
|
/* 492AC 8006DEAC 0048102B */ sltu $v0, $v0, $t0
|
|
|
|
/* 492B0 8006DEB0 24020001 */ addiu $v0, $zero, 1
|
|
|
|
/* 492B4 8006DEB4 15200002 */ bnez $t1, .L8006DEC0
|
|
|
|
/* 492B8 8006DEB8 0049001B */ divu $zero, $v0, $t1
|
|
|
|
/* 492BC 8006DEBC 0007000D */ break 7
|
2020-08-04 08:49:11 +02:00
|
|
|
.L8006DEC0:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 492C0 8006DEC0 00004012 */ mflo $t0
|
|
|
|
/* 492C4 8006DEC4 3402FFFF */ ori $v0, $zero, 0xffff
|
|
|
|
/* 492C8 8006DEC8 0048102B */ sltu $v0, $v0, $t0
|
2020-08-04 08:49:11 +02:00
|
|
|
.L8006DECC:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 492CC 8006DECC 14400005 */ bnez $v0, .L8006DEE4
|
|
|
|
/* 492D0 8006DED0 0100202D */ daddu $a0, $t0, $zero
|
|
|
|
/* 492D4 8006DED4 2D020100 */ sltiu $v0, $t0, 0x100
|
|
|
|
/* 492D8 8006DED8 38420001 */ xori $v0, $v0, 1
|
|
|
|
/* 492DC 8006DEDC 0801B7BF */ j .L8006DEFC
|
|
|
|
/* 492E0 8006DEE0 000218C0 */ sll $v1, $v0, 3
|
2020-08-04 08:49:11 +02:00
|
|
|
.L8006DEE4:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 492E4 8006DEE4 3C0200FF */ lui $v0, 0xff
|
|
|
|
/* 492E8 8006DEE8 3442FFFF */ ori $v0, $v0, 0xffff
|
|
|
|
/* 492EC 8006DEEC 0048102B */ sltu $v0, $v0, $t0
|
|
|
|
/* 492F0 8006DEF0 14400002 */ bnez $v0, .L8006DEFC
|
|
|
|
/* 492F4 8006DEF4 24030018 */ addiu $v1, $zero, 0x18
|
|
|
|
/* 492F8 8006DEF8 24030010 */ addiu $v1, $zero, 0x10
|
2020-08-04 08:49:11 +02:00
|
|
|
.L8006DEFC:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 492FC 8006DEFC 00641006 */ srlv $v0, $a0, $v1
|
|
|
|
/* 49300 8006DF00 3C01800A */ lui $at, 0x800a
|
|
|
|
/* 49304 8006DF04 00220821 */ addu $at, $at, $v0
|
|
|
|
/* 49308 8006DF08 90229F40 */ lbu $v0, -0x60c0($at)
|
|
|
|
/* 4930C 8006DF0C 00431021 */ addu $v0, $v0, $v1
|
|
|
|
/* 49310 8006DF10 24030020 */ addiu $v1, $zero, 0x20
|
|
|
|
/* 49314 8006DF14 00626823 */ subu $t5, $v1, $v0
|
|
|
|
/* 49318 8006DF18 15A00003 */ bnez $t5, .L8006DF28
|
|
|
|
/* 4931C 8006DF1C 006DC023 */ subu $t8, $v1, $t5
|
|
|
|
/* 49320 8006DF20 0801B7FE */ j .L8006DFF8
|
|
|
|
/* 49324 8006DF24 01485023 */ subu $t2, $t2, $t0
|
2020-08-04 08:49:11 +02:00
|
|
|
.L8006DF28:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 49328 8006DF28 01A84004 */ sllv $t0, $t0, $t5
|
|
|
|
/* 4932C 8006DF2C 030A2006 */ srlv $a0, $t2, $t8
|
|
|
|
/* 49330 8006DF30 01AA1804 */ sllv $v1, $t2, $t5
|
|
|
|
/* 49334 8006DF34 030B1006 */ srlv $v0, $t3, $t8
|
|
|
|
/* 49338 8006DF38 00625025 */ or $t2, $v1, $v0
|
|
|
|
/* 4933C 8006DF3C 00082C02 */ srl $a1, $t0, 0x10
|
|
|
|
/* 49340 8006DF40 14A00002 */ bnez $a1, .L8006DF4C
|
|
|
|
/* 49344 8006DF44 0085001B */ divu $zero, $a0, $a1
|
|
|
|
/* 49348 8006DF48 0007000D */ break 7
|
2020-08-04 08:49:11 +02:00
|
|
|
.L8006DF4C:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 4934C 8006DF4C 00001012 */ mflo $v0
|
|
|
|
/* 49350 8006DF50 00001810 */ mfhi $v1
|
|
|
|
/* 49354 8006DF54 3106FFFF */ andi $a2, $t0, 0xffff
|
|
|
|
/* 49358 8006DF58 00000000 */ nop
|
|
|
|
/* 4935C 8006DF5C 00460018 */ mult $v0, $a2
|
|
|
|
/* 49360 8006DF60 00031C00 */ sll $v1, $v1, 0x10
|
|
|
|
/* 49364 8006DF64 000A1402 */ srl $v0, $t2, 0x10
|
|
|
|
/* 49368 8006DF68 00621825 */ or $v1, $v1, $v0
|
|
|
|
/* 4936C 8006DF6C 00002012 */ mflo $a0
|
|
|
|
/* 49370 8006DF70 0064102B */ sltu $v0, $v1, $a0
|
|
|
|
/* 49374 8006DF74 10400008 */ beqz $v0, .L8006DF98
|
|
|
|
/* 49378 8006DF78 01AB5804 */ sllv $t3, $t3, $t5
|
|
|
|
/* 4937C 8006DF7C 00681821 */ addu $v1, $v1, $t0
|
|
|
|
/* 49380 8006DF80 0068102B */ sltu $v0, $v1, $t0
|
|
|
|
/* 49384 8006DF84 54400005 */ bnel $v0, $zero, .L8006DF9C
|
|
|
|
/* 49388 8006DF88 00641823 */ subu $v1, $v1, $a0
|
|
|
|
/* 4938C 8006DF8C 0064102B */ sltu $v0, $v1, $a0
|
|
|
|
/* 49390 8006DF90 54400001 */ bnel $v0, $zero, .L8006DF98
|
|
|
|
/* 49394 8006DF94 00681821 */ addu $v1, $v1, $t0
|
2020-08-04 08:49:11 +02:00
|
|
|
.L8006DF98:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 49398 8006DF98 00641823 */ subu $v1, $v1, $a0
|
2020-08-04 08:49:11 +02:00
|
|
|
.L8006DF9C:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 4939C 8006DF9C 14A00002 */ bnez $a1, .L8006DFA8
|
|
|
|
/* 493A0 8006DFA0 0065001B */ divu $zero, $v1, $a1
|
|
|
|
/* 493A4 8006DFA4 0007000D */ break 7
|
2020-08-04 08:49:11 +02:00
|
|
|
.L8006DFA8:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 493A8 8006DFA8 00001012 */ mflo $v0
|
|
|
|
/* 493AC 8006DFAC 00001810 */ mfhi $v1
|
|
|
|
/* 493B0 8006DFB0 00000000 */ nop
|
|
|
|
/* 493B4 8006DFB4 00000000 */ nop
|
|
|
|
/* 493B8 8006DFB8 00460018 */ mult $v0, $a2
|
|
|
|
/* 493BC 8006DFBC 00031C00 */ sll $v1, $v1, 0x10
|
|
|
|
/* 493C0 8006DFC0 3142FFFF */ andi $v0, $t2, 0xffff
|
|
|
|
/* 493C4 8006DFC4 00621825 */ or $v1, $v1, $v0
|
|
|
|
/* 493C8 8006DFC8 00002012 */ mflo $a0
|
|
|
|
/* 493CC 8006DFCC 0064102B */ sltu $v0, $v1, $a0
|
|
|
|
/* 493D0 8006DFD0 50400009 */ beql $v0, $zero, .L8006DFF8
|
|
|
|
/* 493D4 8006DFD4 00645023 */ subu $t2, $v1, $a0
|
|
|
|
/* 493D8 8006DFD8 00681821 */ addu $v1, $v1, $t0
|
|
|
|
/* 493DC 8006DFDC 0068102B */ sltu $v0, $v1, $t0
|
|
|
|
/* 493E0 8006DFE0 14400005 */ bnez $v0, .L8006DFF8
|
|
|
|
/* 493E4 8006DFE4 00645023 */ subu $t2, $v1, $a0
|
|
|
|
/* 493E8 8006DFE8 0064102B */ sltu $v0, $v1, $a0
|
|
|
|
/* 493EC 8006DFEC 54400001 */ bnel $v0, $zero, .L8006DFF4
|
|
|
|
/* 493F0 8006DFF0 00681821 */ addu $v1, $v1, $t0
|
2020-08-04 08:49:11 +02:00
|
|
|
.L8006DFF4:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 493F4 8006DFF4 00645023 */ subu $t2, $v1, $a0
|
2020-08-04 08:49:11 +02:00
|
|
|
.L8006DFF8:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 493F8 8006DFF8 00082C02 */ srl $a1, $t0, 0x10
|
|
|
|
/* 493FC 8006DFFC 14A00002 */ bnez $a1, .L8006E008
|
|
|
|
/* 49400 8006E000 0145001B */ divu $zero, $t2, $a1
|
|
|
|
/* 49404 8006E004 0007000D */ break 7
|
2020-08-04 08:49:11 +02:00
|
|
|
.L8006E008:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 49408 8006E008 00001012 */ mflo $v0
|
|
|
|
/* 4940C 8006E00C 00001810 */ mfhi $v1
|
|
|
|
/* 49410 8006E010 3106FFFF */ andi $a2, $t0, 0xffff
|
|
|
|
/* 49414 8006E014 00000000 */ nop
|
|
|
|
/* 49418 8006E018 00460018 */ mult $v0, $a2
|
|
|
|
/* 4941C 8006E01C 00031C00 */ sll $v1, $v1, 0x10
|
|
|
|
/* 49420 8006E020 000B1402 */ srl $v0, $t3, 0x10
|
|
|
|
/* 49424 8006E024 00621825 */ or $v1, $v1, $v0
|
|
|
|
/* 49428 8006E028 00002012 */ mflo $a0
|
|
|
|
/* 4942C 8006E02C 0064102B */ sltu $v0, $v1, $a0
|
|
|
|
/* 49430 8006E030 50400009 */ beql $v0, $zero, .L8006E058
|
|
|
|
/* 49434 8006E034 00641823 */ subu $v1, $v1, $a0
|
|
|
|
/* 49438 8006E038 00681821 */ addu $v1, $v1, $t0
|
|
|
|
/* 4943C 8006E03C 0068102B */ sltu $v0, $v1, $t0
|
|
|
|
/* 49440 8006E040 54400005 */ bnel $v0, $zero, .L8006E058
|
|
|
|
/* 49444 8006E044 00641823 */ subu $v1, $v1, $a0
|
|
|
|
/* 49448 8006E048 0064102B */ sltu $v0, $v1, $a0
|
|
|
|
/* 4944C 8006E04C 54400001 */ bnel $v0, $zero, .L8006E054
|
|
|
|
/* 49450 8006E050 00681821 */ addu $v1, $v1, $t0
|
2020-08-04 08:49:11 +02:00
|
|
|
.L8006E054:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 49454 8006E054 00641823 */ subu $v1, $v1, $a0
|
2020-08-04 08:49:11 +02:00
|
|
|
.L8006E058:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 49458 8006E058 14A00002 */ bnez $a1, .L8006E064
|
|
|
|
/* 4945C 8006E05C 0065001B */ divu $zero, $v1, $a1
|
|
|
|
/* 49460 8006E060 0007000D */ break 7
|
2020-08-04 08:49:11 +02:00
|
|
|
.L8006E064:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 49464 8006E064 00001012 */ mflo $v0
|
|
|
|
/* 49468 8006E068 00001810 */ mfhi $v1
|
|
|
|
/* 4946C 8006E06C 00000000 */ nop
|
|
|
|
/* 49470 8006E070 00000000 */ nop
|
|
|
|
/* 49474 8006E074 00460018 */ mult $v0, $a2
|
|
|
|
/* 49478 8006E078 00031C00 */ sll $v1, $v1, 0x10
|
|
|
|
/* 4947C 8006E07C 3162FFFF */ andi $v0, $t3, 0xffff
|
|
|
|
/* 49480 8006E080 00621825 */ or $v1, $v1, $v0
|
|
|
|
/* 49484 8006E084 00002012 */ mflo $a0
|
|
|
|
/* 49488 8006E088 0064102B */ sltu $v0, $v1, $a0
|
|
|
|
/* 4948C 8006E08C 10400007 */ beqz $v0, .L8006E0AC
|
|
|
|
/* 49490 8006E090 00000000 */ nop
|
|
|
|
/* 49494 8006E094 00681821 */ addu $v1, $v1, $t0
|
|
|
|
/* 49498 8006E098 0068102B */ sltu $v0, $v1, $t0
|
|
|
|
/* 4949C 8006E09C 14400003 */ bnez $v0, .L8006E0AC
|
|
|
|
/* 494A0 8006E0A0 0064102B */ sltu $v0, $v1, $a0
|
|
|
|
/* 494A4 8006E0A4 54400001 */ bnel $v0, $zero, .L8006E0AC
|
|
|
|
/* 494A8 8006E0A8 00681821 */ addu $v1, $v1, $t0
|
2020-08-04 08:49:11 +02:00
|
|
|
.L8006E0AC:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 494AC 8006E0AC 13200087 */ beqz $t9, .L8006E2CC
|
|
|
|
/* 494B0 8006E0B0 00645823 */ subu $t3, $v1, $a0
|
|
|
|
/* 494B4 8006E0B4 01AB7806 */ srlv $t7, $t3, $t5
|
|
|
|
/* 494B8 8006E0B8 0801B8B1 */ j .L8006E2C4
|
|
|
|
/* 494BC 8006E0BC 0000702D */ daddu $t6, $zero, $zero
|
2020-08-04 08:49:11 +02:00
|
|
|
.L8006E0C0:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 494C0 8006E0C0 0149102B */ sltu $v0, $t2, $t1
|
|
|
|
/* 494C4 8006E0C4 10400007 */ beqz $v0, .L8006E0E4
|
|
|
|
/* 494C8 8006E0C8 3402FFFF */ ori $v0, $zero, 0xffff
|
|
|
|
/* 494CC 8006E0CC 00A0782D */ daddu $t7, $a1, $zero
|
|
|
|
/* 494D0 8006E0D0 0140702D */ daddu $t6, $t2, $zero
|
|
|
|
/* 494D4 8006E0D4 AFAE0000 */ sw $t6, ($sp)
|
|
|
|
/* 494D8 8006E0D8 AFAF0004 */ sw $t7, 4($sp)
|
|
|
|
/* 494DC 8006E0DC 0801B8B3 */ j .L8006E2CC
|
|
|
|
/* 494E0 8006E0E0 00000000 */ nop
|
2020-08-04 08:49:11 +02:00
|
|
|
.L8006E0E4:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 494E4 8006E0E4 0049102B */ sltu $v0, $v0, $t1
|
|
|
|
/* 494E8 8006E0E8 14400005 */ bnez $v0, .L8006E100
|
|
|
|
/* 494EC 8006E0EC 0120202D */ daddu $a0, $t1, $zero
|
|
|
|
/* 494F0 8006E0F0 2D220100 */ sltiu $v0, $t1, 0x100
|
|
|
|
/* 494F4 8006E0F4 38420001 */ xori $v0, $v0, 1
|
|
|
|
/* 494F8 8006E0F8 0801B846 */ j .L8006E118
|
|
|
|
/* 494FC 8006E0FC 000218C0 */ sll $v1, $v0, 3
|
2020-08-04 08:49:11 +02:00
|
|
|
.L8006E100:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 49500 8006E100 3C0200FF */ lui $v0, 0xff
|
|
|
|
/* 49504 8006E104 3442FFFF */ ori $v0, $v0, 0xffff
|
|
|
|
/* 49508 8006E108 0049102B */ sltu $v0, $v0, $t1
|
|
|
|
/* 4950C 8006E10C 14400002 */ bnez $v0, .L8006E118
|
|
|
|
/* 49510 8006E110 24030018 */ addiu $v1, $zero, 0x18
|
|
|
|
/* 49514 8006E114 24030010 */ addiu $v1, $zero, 0x10
|
2020-08-04 08:49:11 +02:00
|
|
|
.L8006E118:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 49518 8006E118 00641006 */ srlv $v0, $a0, $v1
|
|
|
|
/* 4951C 8006E11C 3C01800A */ lui $at, 0x800a
|
|
|
|
/* 49520 8006E120 00220821 */ addu $at, $at, $v0
|
|
|
|
/* 49524 8006E124 90229F40 */ lbu $v0, -0x60c0($at)
|
|
|
|
/* 49528 8006E128 00431021 */ addu $v0, $v0, $v1
|
|
|
|
/* 4952C 8006E12C 24030020 */ addiu $v1, $zero, 0x20
|
|
|
|
/* 49530 8006E130 00626823 */ subu $t5, $v1, $v0
|
|
|
|
/* 49534 8006E134 15A0000F */ bnez $t5, .L8006E174
|
|
|
|
/* 49538 8006E138 006DC023 */ subu $t8, $v1, $t5
|
|
|
|
/* 4953C 8006E13C 012A102B */ sltu $v0, $t1, $t2
|
|
|
|
/* 49540 8006E140 14400004 */ bnez $v0, .L8006E154
|
|
|
|
/* 49544 8006E144 01682023 */ subu $a0, $t3, $t0
|
|
|
|
/* 49548 8006E148 0168102B */ sltu $v0, $t3, $t0
|
|
|
|
/* 4954C 8006E14C 14400005 */ bnez $v0, .L8006E164
|
|
|
|
/* 49550 8006E150 00000000 */ nop
|
2020-08-04 08:49:11 +02:00
|
|
|
.L8006E154:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 49554 8006E154 01491823 */ subu $v1, $t2, $t1
|
|
|
|
/* 49558 8006E158 0164102B */ sltu $v0, $t3, $a0
|
|
|
|
/* 4955C 8006E15C 00625023 */ subu $t2, $v1, $v0
|
|
|
|
/* 49560 8006E160 0080582D */ daddu $t3, $a0, $zero
|
2020-08-04 08:49:11 +02:00
|
|
|
.L8006E164:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 49564 8006E164 13200059 */ beqz $t9, .L8006E2CC
|
|
|
|
/* 49568 8006E168 0160782D */ daddu $t7, $t3, $zero
|
|
|
|
/* 4956C 8006E16C 0801B8B1 */ j .L8006E2C4
|
|
|
|
/* 49570 8006E170 0140702D */ daddu $t6, $t2, $zero
|
2020-08-04 08:49:11 +02:00
|
|
|
.L8006E174:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 49574 8006E174 01A91804 */ sllv $v1, $t1, $t5
|
|
|
|
/* 49578 8006E178 03081006 */ srlv $v0, $t0, $t8
|
|
|
|
/* 4957C 8006E17C 00624825 */ or $t1, $v1, $v0
|
|
|
|
/* 49580 8006E180 01A84004 */ sllv $t0, $t0, $t5
|
|
|
|
/* 49584 8006E184 030A2006 */ srlv $a0, $t2, $t8
|
|
|
|
/* 49588 8006E188 01AA1804 */ sllv $v1, $t2, $t5
|
|
|
|
/* 4958C 8006E18C 030B1006 */ srlv $v0, $t3, $t8
|
|
|
|
/* 49590 8006E190 00625025 */ or $t2, $v1, $v0
|
|
|
|
/* 49594 8006E194 00093402 */ srl $a2, $t1, 0x10
|
|
|
|
/* 49598 8006E198 14C00002 */ bnez $a2, .L8006E1A4
|
|
|
|
/* 4959C 8006E19C 0086001B */ divu $zero, $a0, $a2
|
|
|
|
/* 495A0 8006E1A0 0007000D */ break 7
|
2020-08-04 08:49:11 +02:00
|
|
|
.L8006E1A4:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 495A4 8006E1A4 00003812 */ mflo $a3
|
|
|
|
/* 495A8 8006E1A8 00001810 */ mfhi $v1
|
|
|
|
/* 495AC 8006E1AC 312CFFFF */ andi $t4, $t1, 0xffff
|
|
|
|
/* 495B0 8006E1B0 00000000 */ nop
|
|
|
|
/* 495B4 8006E1B4 00EC0018 */ mult $a3, $t4
|
|
|
|
/* 495B8 8006E1B8 000A1402 */ srl $v0, $t2, 0x10
|
|
|
|
/* 495BC 8006E1BC 00031C00 */ sll $v1, $v1, 0x10
|
|
|
|
/* 495C0 8006E1C0 00621825 */ or $v1, $v1, $v0
|
|
|
|
/* 495C4 8006E1C4 00002812 */ mflo $a1
|
|
|
|
/* 495C8 8006E1C8 0065102B */ sltu $v0, $v1, $a1
|
|
|
|
/* 495CC 8006E1CC 1040000A */ beqz $v0, .L8006E1F8
|
|
|
|
/* 495D0 8006E1D0 01AB5804 */ sllv $t3, $t3, $t5
|
|
|
|
/* 495D4 8006E1D4 00691821 */ addu $v1, $v1, $t1
|
|
|
|
/* 495D8 8006E1D8 0069102B */ sltu $v0, $v1, $t1
|
|
|
|
/* 495DC 8006E1DC 14400006 */ bnez $v0, .L8006E1F8
|
|
|
|
/* 495E0 8006E1E0 24E7FFFF */ addiu $a3, $a3, -1
|
|
|
|
/* 495E4 8006E1E4 0065102B */ sltu $v0, $v1, $a1
|
|
|
|
/* 495E8 8006E1E8 50400004 */ beql $v0, $zero, .L8006E1FC
|
|
|
|
/* 495EC 8006E1EC 00651823 */ subu $v1, $v1, $a1
|
|
|
|
/* 495F0 8006E1F0 24E7FFFF */ addiu $a3, $a3, -1
|
|
|
|
/* 495F4 8006E1F4 00691821 */ addu $v1, $v1, $t1
|
2020-08-04 08:49:11 +02:00
|
|
|
.L8006E1F8:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 495F8 8006E1F8 00651823 */ subu $v1, $v1, $a1
|
2020-08-04 08:49:11 +02:00
|
|
|
.L8006E1FC:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 495FC 8006E1FC 14C00002 */ bnez $a2, .L8006E208
|
|
|
|
/* 49600 8006E200 0066001B */ divu $zero, $v1, $a2
|
|
|
|
/* 49604 8006E204 0007000D */ break 7
|
2020-08-04 08:49:11 +02:00
|
|
|
.L8006E208:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 49608 8006E208 00002012 */ mflo $a0
|
|
|
|
/* 4960C 8006E20C 00001810 */ mfhi $v1
|
|
|
|
/* 49610 8006E210 00000000 */ nop
|
|
|
|
/* 49614 8006E214 00000000 */ nop
|
|
|
|
/* 49618 8006E218 008C0018 */ mult $a0, $t4
|
|
|
|
/* 4961C 8006E21C 3142FFFF */ andi $v0, $t2, 0xffff
|
|
|
|
/* 49620 8006E220 00031C00 */ sll $v1, $v1, 0x10
|
|
|
|
/* 49624 8006E224 00621825 */ or $v1, $v1, $v0
|
|
|
|
/* 49628 8006E228 00002812 */ mflo $a1
|
|
|
|
/* 4962C 8006E22C 0065102B */ sltu $v0, $v1, $a1
|
|
|
|
/* 49630 8006E230 5040000B */ beql $v0, $zero, .L8006E260
|
|
|
|
/* 49634 8006E234 00655023 */ subu $t2, $v1, $a1
|
|
|
|
/* 49638 8006E238 00691821 */ addu $v1, $v1, $t1
|
|
|
|
/* 4963C 8006E23C 0069102B */ sltu $v0, $v1, $t1
|
|
|
|
/* 49640 8006E240 14400006 */ bnez $v0, .L8006E25C
|
|
|
|
/* 49644 8006E244 2484FFFF */ addiu $a0, $a0, -1
|
|
|
|
/* 49648 8006E248 0065102B */ sltu $v0, $v1, $a1
|
|
|
|
/* 4964C 8006E24C 10400004 */ beqz $v0, .L8006E260
|
|
|
|
/* 49650 8006E250 00655023 */ subu $t2, $v1, $a1
|
|
|
|
/* 49654 8006E254 2484FFFF */ addiu $a0, $a0, -1
|
|
|
|
/* 49658 8006E258 00691821 */ addu $v1, $v1, $t1
|
2020-08-04 08:49:11 +02:00
|
|
|
.L8006E25C:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 4965C 8006E25C 00655023 */ subu $t2, $v1, $a1
|
2020-08-04 08:49:11 +02:00
|
|
|
.L8006E260:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 49660 8006E260 00071400 */ sll $v0, $a3, 0x10
|
|
|
|
/* 49664 8006E264 00441025 */ or $v0, $v0, $a0
|
|
|
|
/* 49668 8006E268 00480019 */ multu $v0, $t0
|
|
|
|
/* 4966C 8006E26C 00003010 */ mfhi $a2
|
|
|
|
/* 49670 8006E270 0146102B */ sltu $v0, $t2, $a2
|
|
|
|
/* 49674 8006E274 00002812 */ mflo $a1
|
|
|
|
/* 49678 8006E278 54400005 */ bnel $v0, $zero, .L8006E290
|
|
|
|
/* 4967C 8006E27C 00A82023 */ subu $a0, $a1, $t0
|
|
|
|
/* 49680 8006E280 14CA0007 */ bne $a2, $t2, .L8006E2A0
|
|
|
|
/* 49684 8006E284 0165102B */ sltu $v0, $t3, $a1
|
|
|
|
/* 49688 8006E288 10400005 */ beqz $v0, .L8006E2A0
|
|
|
|
/* 4968C 8006E28C 00A82023 */ subu $a0, $a1, $t0
|
2020-08-04 08:49:11 +02:00
|
|
|
.L8006E290:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 49690 8006E290 00C91823 */ subu $v1, $a2, $t1
|
|
|
|
/* 49694 8006E294 00A4102B */ sltu $v0, $a1, $a0
|
|
|
|
/* 49698 8006E298 00623023 */ subu $a2, $v1, $v0
|
|
|
|
/* 4969C 8006E29C 0080282D */ daddu $a1, $a0, $zero
|
2020-08-04 08:49:11 +02:00
|
|
|
.L8006E2A0:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 496A0 8006E2A0 1320000A */ beqz $t9, .L8006E2CC
|
|
|
|
/* 496A4 8006E2A4 01651823 */ subu $v1, $t3, $a1
|
|
|
|
/* 496A8 8006E2A8 01462023 */ subu $a0, $t2, $a2
|
|
|
|
/* 496AC 8006E2AC 0163102B */ sltu $v0, $t3, $v1
|
|
|
|
/* 496B0 8006E2B0 00825023 */ subu $t2, $a0, $v0
|
|
|
|
/* 496B4 8006E2B4 030A1004 */ sllv $v0, $t2, $t8
|
|
|
|
/* 496B8 8006E2B8 01A31806 */ srlv $v1, $v1, $t5
|
|
|
|
/* 496BC 8006E2BC 00437825 */ or $t7, $v0, $v1
|
|
|
|
/* 496C0 8006E2C0 01AA7006 */ srlv $t6, $t2, $t5
|
2020-08-04 08:49:11 +02:00
|
|
|
.L8006E2C4:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 496C4 8006E2C4 AF2E0000 */ sw $t6, ($t9)
|
|
|
|
/* 496C8 8006E2C8 AF2F0004 */ sw $t7, 4($t9)
|
2020-08-04 08:49:11 +02:00
|
|
|
.L8006E2CC:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 496CC 8006E2CC 12400009 */ beqz $s2, .L8006E2F4
|
|
|
|
/* 496D0 8006E2D0 00000000 */ nop
|
|
|
|
/* 496D4 8006E2D4 8FA20000 */ lw $v0, ($sp)
|
|
|
|
/* 496D8 8006E2D8 8FA30004 */ lw $v1, 4($sp)
|
|
|
|
/* 496DC 8006E2DC 00038823 */ negu $s1, $v1
|
|
|
|
/* 496E0 8006E2E0 00021023 */ negu $v0, $v0
|
|
|
|
/* 496E4 8006E2E4 0011202B */ sltu $a0, $zero, $s1
|
|
|
|
/* 496E8 8006E2E8 00448023 */ subu $s0, $v0, $a0
|
|
|
|
/* 496EC 8006E2EC AFB00000 */ sw $s0, ($sp)
|
|
|
|
/* 496F0 8006E2F0 AFB10004 */ sw $s1, 4($sp)
|
2020-08-04 08:49:11 +02:00
|
|
|
.L8006E2F4:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 496F4 8006E2F4 8FA20000 */ lw $v0, ($sp)
|
|
|
|
/* 496F8 8006E2F8 8FA30004 */ lw $v1, 4($sp)
|
|
|
|
/* 496FC 8006E2FC 8FB20010 */ lw $s2, 0x10($sp)
|
|
|
|
/* 49700 8006E300 8FB1000C */ lw $s1, 0xc($sp)
|
|
|
|
/* 49704 8006E304 8FB00008 */ lw $s0, 8($sp)
|
|
|
|
/* 49708 8006E308 03E00008 */ jr $ra
|
|
|
|
/* 4970C 8006E30C 27BD0018 */ addiu $sp, $sp, 0x18
|