mirror of https://github.com/zeldaret/oot.git
33 lines
1.5 KiB
ArmAsm
33 lines
1.5 KiB
ArmAsm
glabel func_800EE57C
|
|
/* B6571C 800EE57C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
|
/* B65720 800EE580 AFA40020 */ sw $a0, 0x20($sp)
|
|
/* B65724 800EE584 308400FF */ andi $a0, $a0, 0xff
|
|
/* B65728 800EE588 28810003 */ slti $at, $a0, 3
|
|
/* B6572C 800EE58C AFBF001C */ sw $ra, 0x1c($sp)
|
|
/* B65730 800EE590 14200002 */ bnez $at, .L800EE59C
|
|
/* B65734 800EE594 AFB00018 */ sw $s0, 0x18($sp)
|
|
/* B65738 800EE598 24040002 */ li $a0, 2
|
|
.L800EE59C:
|
|
/* B6573C 800EE59C 3C0E8013 */ lui $t6, %hi(D_80130F7C)
|
|
/* B65740 800EE5A0 01C47021 */ addu $t6, $t6, $a0
|
|
/* B65744 800EE5A4 91CE0F7C */ lbu $t6, %lo(D_80130F7C)($t6)
|
|
/* B65748 800EE5A8 3C018013 */ lui $at, %hi(D_80130F74) # $at, 0x8013
|
|
/* B6574C 800EE5AC A0200F74 */ sb $zero, %lo(D_80130F74)($at)
|
|
/* B65750 800EE5B0 3C018013 */ lui $at, %hi(D_80130F78) # $at, 0x8013
|
|
/* B65754 800EE5B4 00008025 */ move $s0, $zero
|
|
/* B65758 800EE5B8 A02E0F78 */ sb $t6, %lo(D_80130F78)($at)
|
|
.L800EE5BC:
|
|
/* B6575C 800EE5BC 0C03B97B */ jal func_800EE5EC
|
|
/* B65760 800EE5C0 00000000 */ nop
|
|
/* B65764 800EE5C4 26100001 */ addiu $s0, $s0, 1
|
|
/* B65768 800EE5C8 321000FF */ andi $s0, $s0, 0xff
|
|
/* B6576C 800EE5CC 2A010003 */ slti $at, $s0, 3
|
|
/* B65770 800EE5D0 1420FFFA */ bnez $at, .L800EE5BC
|
|
/* B65774 800EE5D4 00000000 */ nop
|
|
/* B65778 800EE5D8 8FBF001C */ lw $ra, 0x1c($sp)
|
|
/* B6577C 800EE5DC 8FB00018 */ lw $s0, 0x18($sp)
|
|
/* B65780 800EE5E0 27BD0020 */ addiu $sp, $sp, 0x20
|
|
/* B65784 800EE5E4 03E00008 */ jr $ra
|
|
/* B65788 800EE5E8 00000000 */ nop
|
|
|