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_80047AA8
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 22EA8 80047AA8 00041040 */ sll $v0, $a0, 1
|
|
|
|
/* 22EAC 80047AAC 00441021 */ addu $v0, $v0, $a0
|
|
|
|
/* 22EB0 80047AB0 00021080 */ sll $v0, $v0, 2
|
|
|
|
/* 22EB4 80047AB4 00441023 */ subu $v0, $v0, $a0
|
2020-11-29 08:13:07 +01:00
|
|
|
/* 22EB8 80047AB8 3C03800A */ lui $v1, %hi(D_800A0F44)
|
|
|
|
/* 22EBC 80047ABC 8C630F44 */ lw $v1, %lo(D_800A0F44)($v1)
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 22EC0 80047AC0 00021100 */ sll $v0, $v0, 4
|
|
|
|
/* 22EC4 80047AC4 00622021 */ addu $a0, $v1, $v0
|
|
|
|
/* 22EC8 80047AC8 80820058 */ lb $v0, 0x58($a0)
|
|
|
|
/* 22ECC 80047ACC 1040000C */ beqz $v0, .L80047B00
|
|
|
|
/* 22ED0 80047AD0 90830058 */ lbu $v1, 0x58($a0)
|
|
|
|
/* 22ED4 80047AD4 80820059 */ lb $v0, 0x59($a0)
|
|
|
|
/* 22ED8 80047AD8 14400009 */ bnez $v0, .L80047B00
|
|
|
|
/* 22EDC 80047ADC 24020001 */ addiu $v0, $zero, 1
|
|
|
|
/* 22EE0 80047AE0 A0830059 */ sb $v1, 0x59($a0)
|
|
|
|
/* 22EE4 80047AE4 8C830060 */ lw $v1, 0x60($a0)
|
|
|
|
/* 22EE8 80047AE8 A082005B */ sb $v0, 0x5b($a0)
|
|
|
|
/* 22EEC 80047AEC 2402000A */ addiu $v0, $zero, 0xa
|
|
|
|
/* 22EF0 80047AF0 A0800058 */ sb $zero, 0x58($a0)
|
|
|
|
/* 22EF4 80047AF4 A080005A */ sb $zero, 0x5a($a0)
|
|
|
|
/* 22EF8 80047AF8 A082005D */ sb $v0, 0x5d($a0)
|
|
|
|
/* 22EFC 80047AFC AC830064 */ sw $v1, 0x64($a0)
|
2020-08-04 08:49:11 +02:00
|
|
|
.L80047B00:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 22F00 80047B00 03E00008 */ jr $ra
|
2021-01-12 16:42:27 +01:00
|
|
|
/* 22F04 80047B04 00000000 */ nop
|