papermario/asm/nonmatchings/code_1370_len_7d0/boot_main.s
2020-08-12 22:37:16 -04:00

74 lines
3.0 KiB
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel boot_main
/* 001370 80025F70 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 001374 80025F74 3C038000 */ lui $v1, 0x8000
/* 001378 80025F78 8C630300 */ lw $v1, 0x300($v1)
/* 00137C 80025F7C 24020001 */ addiu $v0, $zero, 1
/* 001380 80025F80 14620005 */ bne $v1, $v0, .L80025F98
/* 001384 80025F84 AFBF0010 */ sw $ra, 0x10($sp)
/* 001388 80025F88 3C048009 */ lui $a0, 0x8009
/* 00138C 80025F8C 24845820 */ addiu $a0, $a0, 0x5820
/* 001390 80025F90 080097EB */ j .L80025FAC
/* 001394 80025F94 00000000 */ nop
.L80025F98:
/* 001398 80025F98 24020002 */ addiu $v0, $zero, 2
/* 00139C 80025F9C 14620009 */ bne $v1, $v0, .L80025FC4
/* 0013A0 80025FA0 00000000 */ nop
/* 0013A4 80025FA4 3C048009 */ lui $a0, 0x8009
/* 0013A8 80025FA8 24845870 */ addiu $a0, $a0, 0x5870
.L80025FAC:
/* 0013AC 80025FAC 0C019B84 */ jal osViSetMode
/* 0013B0 80025FB0 00000000 */ nop
/* 0013B4 80025FB4 0C019B98 */ jal osViSetSpecialFeatures
/* 0013B8 80025FB8 2404005A */ addiu $a0, $zero, 0x5a
/* 0013BC 80025FBC 080097F3 */ j .L80025FCC
/* 0013C0 80025FC0 00000000 */ nop
.L80025FC4:
/* 0013C4 80025FC4 080097F1 */ j .L80025FC4
/* 0013C8 80025FC8 00000000 */ nop
.L80025FCC:
/* 0013CC 80025FCC 0C017D00 */ jal nuGfxDisplayOff
/* 0013D0 80025FD0 00000000 */ nop
/* 0013D4 80025FD4 0C00B22C */ jal crash_create_monitor
/* 0013D8 80025FD8 00000000 */ nop
/* 0013DC 80025FDC 0C009718 */ jal func_80025C60
/* 0013E0 80025FE0 00000000 */ nop
/* 0013E4 80025FE4 0C017D58 */ jal nuGfxInit
/* 0013E8 80025FE8 00000000 */ nop
/* 0013EC 80025FEC 0C017D84 */ jal nuContInit
/* 0013F0 80025FF0 00000000 */ nop
/* 0013F4 80025FF4 3C038007 */ lui $v1, 0x8007
/* 0013F8 80025FF8 8C63419C */ lw $v1, 0x419c($v1)
/* 0013FC 80025FFC 0C00B458 */ jal func_8002D160
/* 001400 80026000 A0620073 */ sb $v0, 0x73($v1)
/* 001404 80026004 0C0AC800 */ jal func_802B2000
/* 001408 80026008 00000000 */ nop
/* 00140C 8002600C 0C0AC80F */ jal func_802B203C
/* 001410 80026010 00000000 */ nop
/* 001414 80026014 3C048002 */ lui $a0, 0x8002
/* 001418 80026018 2484605C */ addiu $a0, $a0, 0x605c
/* 00141C 8002601C 0C017C94 */ jal nuGfxFuncSet
/* 001420 80026020 00000000 */ nop
/* 001424 80026024 3C048002 */ lui $a0, 0x8002
/* 001428 80026028 2484670C */ addiu $a0, $a0, 0x670c
/* 00142C 8002602C 0C017CA4 */ jal nuGfxPreNMIFuncSet
/* 001430 80026030 00000000 */ nop
/* 001434 80026034 0C019680 */ jal osGetCount
/* 001438 80026038 00000000 */ nop
/* 00143C 8002603C 3C048007 */ lui $a0, 0x8007
/* 001440 80026040 24844410 */ addiu $a0, $a0, 0x4410
/* 001444 80026044 8C830000 */ lw $v1, ($a0)
/* 001448 80026048 00621821 */ addu $v1, $v1, $v0
/* 00144C 8002604C 0C017D0C */ jal nuGfxDisplayOn
/* 001450 80026050 AC830000 */ sw $v1, ($a0)
.L80026054:
/* 001454 80026054 08009815 */ j .L80026054
/* 001458 80026058 00000000 */ nop