2020-09-24 05:16:13 +02:00
|
|
|
.set noat # allow manual use of $at
|
2020-04-28 02:22:56 +02:00
|
|
|
.set noreorder # don't insert nops after branches
|
2020-04-26 08:34:37 +02:00
|
|
|
|
2020-08-01 18:55:49 +02:00
|
|
|
glabel decode_yay0
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 4A1F0 8006EDF0 8C980004 */ lw $t8, 4($a0)
|
|
|
|
/* 4A1F4 8006EDF4 8C870008 */ lw $a3, 8($a0)
|
|
|
|
/* 4A1F8 8006EDF8 8C99000C */ lw $t9, 0xc($a0)
|
|
|
|
/* 4A1FC 8006EDFC 0000302D */ daddu $a2, $zero, $zero
|
|
|
|
/* 4A200 8006EE00 0305C020 */ add $t8, $t8, $a1
|
|
|
|
/* 4A204 8006EE04 00E43820 */ add $a3, $a3, $a0
|
|
|
|
/* 4A208 8006EE08 0324C820 */ add $t9, $t9, $a0
|
|
|
|
/* 4A20C 8006EE0C 20840010 */ addi $a0, $a0, 0x10
|
2020-04-26 08:34:37 +02:00
|
|
|
.L8006EE10:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 4A210 8006EE10 14C00004 */ bnez $a2, .L8006EE24
|
|
|
|
/* 4A214 8006EE14 00000000 */ nop
|
|
|
|
/* 4A218 8006EE18 8C880000 */ lw $t0, ($a0)
|
|
|
|
/* 4A21C 8006EE1C 24060020 */ addiu $a2, $zero, 0x20
|
|
|
|
/* 4A220 8006EE20 20840004 */ addi $a0, $a0, 4
|
2020-04-26 08:34:37 +02:00
|
|
|
.L8006EE24:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 4A224 8006EE24 0100482A */ slt $t1, $t0, $zero
|
|
|
|
/* 4A228 8006EE28 11200006 */ beqz $t1, .L8006EE44
|
|
|
|
/* 4A22C 8006EE2C 00000000 */ nop
|
|
|
|
/* 4A230 8006EE30 832A0000 */ lb $t2, ($t9)
|
|
|
|
/* 4A234 8006EE34 23390001 */ addi $t9, $t9, 1
|
|
|
|
/* 4A238 8006EE38 A0AA0000 */ sb $t2, ($a1)
|
|
|
|
/* 4A23C 8006EE3C 1000000E */ b .L8006EE78
|
|
|
|
/* 4A240 8006EE40 20A50001 */ addi $a1, $a1, 1
|
2020-04-26 08:34:37 +02:00
|
|
|
.L8006EE44:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 4A244 8006EE44 94EA0000 */ lhu $t2, ($a3)
|
|
|
|
/* 4A248 8006EE48 20E70002 */ addi $a3, $a3, 2
|
|
|
|
/* 4A24C 8006EE4C 000A5B02 */ srl $t3, $t2, 0xc
|
|
|
|
/* 4A250 8006EE50 314A0FFF */ andi $t2, $t2, 0xfff
|
|
|
|
/* 4A254 8006EE54 1160000D */ beqz $t3, .L8006EE8C
|
|
|
|
/* 4A258 8006EE58 00AA4822 */ sub $t1, $a1, $t2
|
|
|
|
/* 4A25C 8006EE5C 216B0002 */ addi $t3, $t3, 2
|
2020-04-26 08:34:37 +02:00
|
|
|
.L8006EE60:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 4A260 8006EE60 812AFFFF */ lb $t2, -1($t1)
|
|
|
|
/* 4A264 8006EE64 216BFFFF */ addi $t3, $t3, -1
|
|
|
|
/* 4A268 8006EE68 21290001 */ addi $t1, $t1, 1
|
|
|
|
/* 4A26C 8006EE6C A0AA0000 */ sb $t2, ($a1)
|
|
|
|
/* 4A270 8006EE70 1560FFFB */ bnez $t3, .L8006EE60
|
|
|
|
/* 4A274 8006EE74 20A50001 */ addi $a1, $a1, 1
|
2020-04-26 08:34:37 +02:00
|
|
|
.L8006EE78:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 4A278 8006EE78 00084040 */ sll $t0, $t0, 1
|
|
|
|
/* 4A27C 8006EE7C 14B8FFE4 */ bne $a1, $t8, .L8006EE10
|
|
|
|
/* 4A280 8006EE80 20C6FFFF */ addi $a2, $a2, -1
|
|
|
|
/* 4A284 8006EE84 03E00008 */ jr $ra
|
|
|
|
/* 4A288 8006EE88 00000000 */ nop
|
2020-04-26 08:34:37 +02:00
|
|
|
.L8006EE8C:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 4A28C 8006EE8C 932B0000 */ lbu $t3, ($t9)
|
|
|
|
/* 4A290 8006EE90 23390001 */ addi $t9, $t9, 1
|
|
|
|
/* 4A294 8006EE94 1000FFF2 */ b .L8006EE60
|
|
|
|
/* 4A298 8006EE98 216B0012 */ addi $t3, $t3, 0x12
|
|
|
|
/* 4A29C 8006EE9C 00000000 */ nop
|
|
|
|
/* 4A2A0 8006EEA0 308400FF */ andi $a0, $a0, 0xff
|
|
|
|
/* 4A2A4 8006EEA4 30A500FF */ andi $a1, $a1, 0xff
|
|
|
|
/* 4A2A8 8006EEA8 30C600FF */ andi $a2, $a2, 0xff
|
|
|
|
/* 4A2AC 8006EEAC 30E700FF */ andi $a3, $a3, 0xff
|
|
|
|
/* 4A2B0 8006EEB0 8FAE0010 */ lw $t6, 0x10($sp)
|
2020-12-27 14:06:28 +01:00
|
|
|
/* 4A2B4 8006EEB4 3C01A000 */ lui $at, 0xa000
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 4A2B8 8006EEB8 01C17825 */ or $t7, $t6, $at
|
2020-11-29 08:13:07 +01:00
|
|
|
/* 4A2BC 8006EEBC 3C01800B */ lui $at, %hi(D_800B0C7C)
|
2020-12-27 14:06:28 +01:00
|
|
|
/* 4A2C0 8006EEC0 AC2F0C7C */ sw $t7, %lo(D_800B0C7C)($at)
|
2020-11-29 08:13:07 +01:00
|
|
|
/* 4A2C4 8006EEC4 3C18800B */ lui $t8, %hi(D_800B0C74)
|
|
|
|
/* 4A2C8 8006EEC8 93180C74 */ lbu $t8, %lo(D_800B0C74)($t8)
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 4A2CC 8006EECC 00000000 */ nop
|
|
|
|
/* 4A2D0 8006EED0 27190001 */ addiu $t9, $t8, 1
|
2020-11-29 08:13:07 +01:00
|
|
|
/* 4A2D4 8006EED4 3C01800B */ lui $at, %hi(D_800B0C74)
|
|
|
|
/* 4A2D8 8006EED8 A0390C74 */ sb $t9, %lo(D_800B0C74)($at)
|
|
|
|
/* 4A2DC 8006EEDC 3C01800B */ lui $at, %hi(D_800B0C75)
|
|
|
|
/* 4A2E0 8006EEE0 A0240C75 */ sb $a0, %lo(D_800B0C75)($at)
|
|
|
|
/* 4A2E4 8006EEE4 3C01800B */ lui $at, %hi(D_800B0C78)
|
|
|
|
/* 4A2E8 8006EEE8 A0250C78 */ sb $a1, %lo(D_800B0C78)($at)
|
|
|
|
/* 4A2EC 8006EEEC 3C01800B */ lui $at, %hi(D_800B0C76)
|
|
|
|
/* 4A2F0 8006EEF0 A0260C76 */ sb $a2, %lo(D_800B0C76)($at)
|
|
|
|
/* 4A2F4 8006EEF4 3C01800B */ lui $at, %hi(D_800B0C77)
|
|
|
|
/* 4A2F8 8006EEF8 A0270C77 */ sb $a3, %lo(D_800B0C77)($at)
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 4A2FC 8006EEFC 24080001 */ addiu $t0, $zero, 1
|
2020-11-29 08:13:07 +01:00
|
|
|
/* 4A300 8006EF00 3C01800B */ lui $at, %hi(D_800B0C79)
|
|
|
|
/* 4A304 8006EF04 A0280C79 */ sb $t0, %lo(D_800B0C79)($at)
|
|
|
|
/* 4A308 8006EF08 3C02800B */ lui $v0, %hi(D_800B0C70)
|
|
|
|
/* 4A30C 8006EF0C 24420C70 */ addiu $v0, $v0, %lo(D_800B0C70)
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 4A310 8006EF10 03E00008 */ jr $ra
|
|
|
|
/* 4A314 8006EF14 00000000 */ nop
|