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_80054CE0
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 300E0 80054CE0 27BDFFE0 */ addiu $sp, $sp, -0x20
|
|
|
|
/* 300E4 80054CE4 AFB10014 */ sw $s1, 0x14($sp)
|
|
|
|
/* 300E8 80054CE8 0080882D */ daddu $s1, $a0, $zero
|
|
|
|
/* 300EC 80054CEC 2CA20009 */ sltiu $v0, $a1, 9
|
|
|
|
/* 300F0 80054CF0 AFBF0018 */ sw $ra, 0x18($sp)
|
|
|
|
/* 300F4 80054CF4 1040001A */ beqz $v0, .L80054D60
|
|
|
|
/* 300F8 80054CF8 AFB00010 */ sw $s0, 0x10($sp)
|
|
|
|
/* 300FC 80054CFC 00051040 */ sll $v0, $a1, 1
|
2020-11-29 08:13:07 +01:00
|
|
|
/* 30100 80054D00 3C108008 */ lui $s0, %hi(D_80078530)
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 30104 80054D04 02028021 */ addu $s0, $s0, $v0
|
2020-11-29 08:13:07 +01:00
|
|
|
/* 30108 80054D08 96108530 */ lhu $s0, %lo(D_80078530)($s0)
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 3010C 80054D0C 32220001 */ andi $v0, $s1, 1
|
|
|
|
/* 30110 80054D10 1040000C */ beqz $v0, .L80054D44
|
|
|
|
/* 30114 80054D14 32220010 */ andi $v0, $s1, 0x10
|
2020-11-29 08:13:07 +01:00
|
|
|
/* 30118 80054D18 3C02800A */ lui $v0, %hi(D_8009A664)
|
|
|
|
/* 3011C 80054D1C 8C42A664 */ lw $v0, %lo(D_8009A664)($v0)
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 30120 80054D20 2444002C */ addiu $a0, $v0, 0x2c
|
|
|
|
/* 30124 80054D24 0C014EB2 */ jal func_80053AC8
|
|
|
|
/* 30128 80054D28 AC500048 */ sw $s0, 0x48($v0)
|
2020-11-29 08:13:07 +01:00
|
|
|
/* 3012C 80054D2C 3C02800A */ lui $v0, %hi(D_8009A5FC)
|
|
|
|
/* 30130 80054D30 8C42A5FC */ lw $v0, %lo(D_8009A5FC)($v0)
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 30134 80054D34 2444002C */ addiu $a0, $v0, 0x2c
|
|
|
|
/* 30138 80054D38 0C014EB2 */ jal func_80053AC8
|
|
|
|
/* 3013C 80054D3C AC500048 */ sw $s0, 0x48($v0)
|
|
|
|
/* 30140 80054D40 32220010 */ andi $v0, $s1, 0x10
|
2020-08-04 08:49:11 +02:00
|
|
|
.L80054D44:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 30144 80054D44 10400006 */ beqz $v0, .L80054D60
|
2021-01-12 16:42:27 +01:00
|
|
|
/* 30148 80054D48 00000000 */ nop
|
2020-11-29 08:13:07 +01:00
|
|
|
/* 3014C 80054D4C 3C02800A */ lui $v0, %hi(D_8009A640)
|
|
|
|
/* 30150 80054D50 8C42A640 */ lw $v0, %lo(D_8009A640)($v0)
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 30154 80054D54 24440040 */ addiu $a0, $v0, 0x40
|
|
|
|
/* 30158 80054D58 0C014EB2 */ jal func_80053AC8
|
|
|
|
/* 3015C 80054D5C AC50005C */ sw $s0, 0x5c($v0)
|
2020-08-04 08:49:11 +02:00
|
|
|
.L80054D60:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 30160 80054D60 8FBF0018 */ lw $ra, 0x18($sp)
|
|
|
|
/* 30164 80054D64 8FB10014 */ lw $s1, 0x14($sp)
|
|
|
|
/* 30168 80054D68 8FB00010 */ lw $s0, 0x10($sp)
|
|
|
|
/* 3016C 80054D6C 03E00008 */ jr $ra
|
|
|
|
/* 30170 80054D70 27BD0020 */ addiu $sp, $sp, 0x20
|