mirror of https://github.com/zeldaret/oot.git
63 lines
3.4 KiB
ArmAsm
63 lines
3.4 KiB
ArmAsm
glabel func_800ED858
|
|
/* B649F8 800ED858 3C0E8013 */ lui $t6, %hi(D_80130F10) # $t6, 0x8013
|
|
/* B649FC 800ED85C 81CE0F10 */ lb $t6, %lo(D_80130F10)($t6)
|
|
/* B64A00 800ED860 27BDFFE0 */ addiu $sp, $sp, -0x20
|
|
/* B64A04 800ED864 AFA40020 */ sw $a0, 0x20($sp)
|
|
/* B64A08 800ED868 308400FF */ andi $a0, $a0, 0xff
|
|
/* B64A0C 800ED86C AFBF0014 */ sw $ra, 0x14($sp)
|
|
/* B64A10 800ED870 108E002E */ beq $a0, $t6, .L800ED92C
|
|
/* B64A14 800ED874 00801025 */ move $v0, $a0
|
|
/* B64A18 800ED878 3C018201 */ lui $at, (0x82010D00 >> 16) # lui $at, 0x8201
|
|
/* B64A1C 800ED87C 34210D00 */ ori $at, (0x82010D00 & 0xFFFF) # ori $at, $at, 0xd00
|
|
/* B64A20 800ED880 00812025 */ or $a0, $a0, $at
|
|
/* B64A24 800ED884 0C03E803 */ jal Audio_SetBGM
|
|
/* B64A28 800ED888 AFA2001C */ sw $v0, 0x1c($sp)
|
|
/* B64A2C 800ED88C 8FA2001C */ lw $v0, 0x1c($sp)
|
|
/* B64A30 800ED890 3C018013 */ lui $at, %hi(D_80130F10) # $at, 0x8013
|
|
/* B64A34 800ED894 340FFFFF */ li $t7, 65535
|
|
/* B64A38 800ED898 1440001B */ bnez $v0, .L800ED908
|
|
/* B64A3C 800ED89C A0220F10 */ sb $v0, %lo(D_80130F10)($at)
|
|
/* B64A40 800ED8A0 3C018017 */ lui $at, %hi(D_8016BA0C) # $at, 0x8017
|
|
/* B64A44 800ED8A4 AC20BA0C */ sw $zero, %lo(D_8016BA0C)($at)
|
|
/* B64A48 800ED8A8 3C018017 */ lui $at, %hi(D_8016BA14) # $at, 0x8017
|
|
/* B64A4C 800ED8AC AC20BA14 */ sw $zero, %lo(D_8016BA14)($at)
|
|
/* B64A50 800ED8B0 3C018017 */ lui $at, %hi(D_8016BA18) # $at, 0x8017
|
|
/* B64A54 800ED8B4 AC20BA18 */ sw $zero, %lo(D_8016BA18)($at)
|
|
/* B64A58 800ED8B8 3C018017 */ lui $at, %hi(D_8016BA10) # $at, 0x8017
|
|
/* B64A5C 800ED8BC AC2FBA10 */ sw $t7, %lo(D_8016BA10)($at)
|
|
/* B64A60 800ED8C0 0C03B516 */ jal func_800ED458
|
|
/* B64A64 800ED8C4 00002025 */ move $a0, $zero
|
|
/* B64A68 800ED8C8 0C03E341 */ jal func_800F8D04
|
|
/* B64A6C 800ED8CC 24045800 */ li $a0, 22528
|
|
/* B64A70 800ED8D0 0C03DC98 */ jal func_800F7260
|
|
/* B64A74 800ED8D4 00002025 */ move $a0, $zero
|
|
/* B64A78 800ED8D8 3C018013 */ lui $at, %hi(D_80130F38) # $at, 0x8013
|
|
/* B64A7C 800ED8DC A0200F38 */ sb $zero, %lo(D_80130F38)($at)
|
|
/* B64A80 800ED8E0 3C018013 */ lui $at, %hi(D_80130F48) # $at, 0x8013
|
|
/* B64A84 800ED8E4 A4200F48 */ sh $zero, %lo(D_80130F48)($at)
|
|
/* B64A88 800ED8E8 3C018013 */ lui $at, %hi(D_80130F0C) # $at, 0x8013
|
|
/* B64A8C 800ED8EC A0200F0C */ sb $zero, %lo(D_80130F0C)($at)
|
|
/* B64A90 800ED8F0 3C018013 */ lui $at, %hi(D_80130F3C) # $at, 0x8013
|
|
/* B64A94 800ED8F4 AC200F3C */ sw $zero, %lo(D_80130F3C)($at)
|
|
/* B64A98 800ED8F8 0C03DCC7 */ jal func_800F731C
|
|
/* B64A9C 800ED8FC 2404000D */ li $a0, 13
|
|
/* B64AA0 800ED900 1000000B */ b .L800ED930
|
|
/* B64AA4 800ED904 8FBF0014 */ lw $ra, 0x14($sp)
|
|
.L800ED908:
|
|
/* B64AA8 800ED908 3C018017 */ lui $at, %hi(D_8016BA0C) # $at, 0x8017
|
|
/* B64AAC 800ED90C 0C03B280 */ jal func_800ECA00
|
|
/* B64AB0 800ED910 AC20BA0C */ sw $zero, %lo(D_8016BA0C)($at)
|
|
/* B64AB4 800ED914 3C188017 */ lui $t8, %hi(D_8016BA0C) # $t8, 0x8017
|
|
/* B64AB8 800ED918 8F18BA0C */ lw $t8, %lo(D_8016BA0C)($t8)
|
|
/* B64ABC 800ED91C 3C018017 */ lui $at, %hi(D_8016BA10) # $at, 0x8017
|
|
/* B64AC0 800ED920 2404000D */ li $a0, 13
|
|
/* B64AC4 800ED924 0C03DCAE */ jal func_800F72B8
|
|
/* B64AC8 800ED928 AC38BA10 */ sw $t8, %lo(D_8016BA10)($at)
|
|
.L800ED92C:
|
|
/* B64ACC 800ED92C 8FBF0014 */ lw $ra, 0x14($sp)
|
|
.L800ED930:
|
|
/* B64AD0 800ED930 27BD0020 */ addiu $sp, $sp, 0x20
|
|
/* B64AD4 800ED934 03E00008 */ jr $ra
|
|
/* B64AD8 800ED938 00000000 */ nop
|
|
|