mirror of https://github.com/zeldaret/oot.git
29 lines
1.3 KiB
ArmAsm
29 lines
1.3 KiB
ArmAsm
glabel func_800FA11C
|
|
/* B712BC 800FA11C 3C028013 */ lui $v0, %hi(D_80133404) # $v0, 0x8013
|
|
/* B712C0 800FA120 3C038013 */ lui $v1, %hi(D_80133400) # $v1, 0x8013
|
|
/* B712C4 800FA124 90633400 */ lbu $v1, %lo(D_80133400)($v1)
|
|
/* B712C8 800FA128 90423404 */ lbu $v0, %lo(D_80133404)($v0)
|
|
/* B712CC 800FA12C 3C068017 */ lui $a2, %hi(D_8016E350) # $a2, 0x8017
|
|
/* B712D0 800FA130 24C6E350 */ addiu $a2, %lo(D_8016E350) # addiu $a2, $a2, -0x1cb0
|
|
/* B712D4 800FA134 1062000C */ beq $v1, $v0, .L800FA168
|
|
/* B712D8 800FA138 00027080 */ sll $t6, $v0, 2
|
|
.L800FA13C:
|
|
/* B712DC 800FA13C 00CE7821 */ addu $t7, $a2, $t6
|
|
/* B712E0 800FA140 8DF80000 */ lw $t8, ($t7)
|
|
/* B712E4 800FA144 24420001 */ addiu $v0, $v0, 1
|
|
/* B712E8 800FA148 304200FF */ andi $v0, $v0, 0xff
|
|
/* B712EC 800FA14C 0305C824 */ and $t9, $t8, $a1
|
|
/* B712F0 800FA150 14990003 */ bne $a0, $t9, .L800FA160
|
|
/* B712F4 800FA154 00000000 */ nop
|
|
/* B712F8 800FA158 03E00008 */ jr $ra
|
|
/* B712FC 800FA15C 00001025 */ move $v0, $zero
|
|
|
|
.L800FA160:
|
|
/* B71300 800FA160 5462FFF6 */ bnel $v1, $v0, .L800FA13C
|
|
/* B71304 800FA164 00027080 */ sll $t6, $v0, 2
|
|
.L800FA168:
|
|
/* B71308 800FA168 24020001 */ li $v0, 1
|
|
/* B7130C 800FA16C 03E00008 */ jr $ra
|
|
/* B71310 800FA170 00000000 */ nop
|
|
|