2021-02-26 16:36:33 +01:00
|
|
|
.set noat # allow manual use of $at
|
|
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
|
|
|
|
glabel func_80037234
|
2021-10-30 20:53:55 +02:00
|
|
|
/* 12634 80037234 3C028007 */ lui $v0, %hi(gGameStatusPtr)
|
|
|
|
/* 12638 80037238 8C42417C */ lw $v0, %lo(gGameStatusPtr)($v0)
|
2021-02-26 16:36:33 +01:00
|
|
|
/* 1263C 8003723C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
|
|
|
/* 12640 80037240 AFBF0010 */ sw $ra, 0x10($sp)
|
|
|
|
/* 12644 80037244 804300AC */ lb $v1, 0xac($v0)
|
|
|
|
/* 12648 80037248 2C620006 */ sltiu $v0, $v1, 6
|
|
|
|
/* 1264C 8003724C 1040001B */ beqz $v0, .L800372BC
|
|
|
|
/* 12650 80037250 00031080 */ sll $v0, $v1, 2
|
|
|
|
/* 12654 80037254 3C01800A */ lui $at, %hi(D_800983A8)
|
|
|
|
/* 12658 80037258 00220821 */ addu $at, $at, $v0
|
|
|
|
/* 1265C 8003725C 8C2283A8 */ lw $v0, %lo(D_800983A8)($at)
|
|
|
|
/* 12660 80037260 00400008 */ jr $v0
|
|
|
|
/* 12664 80037264 00000000 */ nop
|
|
|
|
/* 12668 80037268 3C018007 */ lui $at, %hi(D_800779F8)
|
|
|
|
/* 1266C 8003726C AC2079F8 */ sw $zero, %lo(D_800779F8)($at)
|
|
|
|
/* 12670 80037270 3C018007 */ lui $at, %hi(D_800779FC)
|
|
|
|
/* 12674 80037274 AC2079FC */ sw $zero, %lo(D_800779FC)($at)
|
|
|
|
/* 12678 80037278 3C018007 */ lui $at, %hi(D_80077A00)
|
|
|
|
/* 1267C 8003727C 0800DCAD */ j .L800372B4
|
|
|
|
/* 12680 80037280 AC207A00 */ sw $zero, %lo(D_80077A00)($at)
|
|
|
|
/* 12684 80037284 0C00DD7C */ jal func_800375F0
|
|
|
|
/* 12688 80037288 00000000 */ nop
|
2021-10-30 20:53:55 +02:00
|
|
|
/* 1268C 8003728C 3C028007 */ lui $v0, %hi(gGameStatusPtr)
|
|
|
|
/* 12690 80037290 8C42417C */ lw $v0, %lo(gGameStatusPtr)($v0)
|
2021-02-26 16:36:33 +01:00
|
|
|
/* 12694 80037294 90420073 */ lbu $v0, 0x73($v0)
|
|
|
|
/* 12698 80037298 30420001 */ andi $v0, $v0, 1
|
|
|
|
/* 1269C 8003729C 10400007 */ beqz $v0, .L800372BC
|
|
|
|
/* 126A0 800372A0 00000000 */ nop
|
|
|
|
/* 126A4 800372A4 0C00DE18 */ jal func_80037860
|
|
|
|
/* 126A8 800372A8 00000000 */ nop
|
|
|
|
/* 126AC 800372AC 0800DCAF */ j .L800372BC
|
|
|
|
/* 126B0 800372B0 00000000 */ nop
|
|
|
|
.L800372B4:
|
|
|
|
/* 126B4 800372B4 0C00DD7C */ jal func_800375F0
|
|
|
|
/* 126B8 800372B8 00000000 */ nop
|
|
|
|
.L800372BC:
|
|
|
|
/* 126BC 800372BC 8FBF0010 */ lw $ra, 0x10($sp)
|
|
|
|
/* 126C0 800372C0 03E00008 */ jr $ra
|
|
|
|
/* 126C4 800372C4 27BD0018 */ addiu $sp, $sp, 0x18
|