mirror of https://github.com/zeldaret/oot.git
115 lines
5.6 KiB
ArmAsm
115 lines
5.6 KiB
ArmAsm
glabel func_800947AC
|
|
/* B0B94C 800947AC 00801025 */ move $v0, $a0
|
|
/* B0B950 800947B0 3C0F8012 */ lui $t7, %hi(D_80126EB0) # $t7, 0x8012
|
|
/* B0B954 800947B4 25EF6EB0 */ addiu $t7, %lo(D_80126EB0) # addiu $t7, $t7, 0x6eb0
|
|
/* B0B958 800947B8 3C0EDE00 */ lui $t6, 0xde00
|
|
/* B0B95C 800947BC AC4E0000 */ sw $t6, ($v0)
|
|
/* B0B960 800947C0 AC4F0004 */ sw $t7, 4($v0)
|
|
/* B0B964 800947C4 24840008 */ addiu $a0, $a0, 8
|
|
/* B0B968 800947C8 00801825 */ move $v1, $a0
|
|
/* B0B96C 800947CC 3C02E300 */ lui $v0, (0xE3001801 >> 16) # lui $v0, 0xe300
|
|
/* B0B970 800947D0 34421801 */ ori $v0, (0xE3001801 & 0xFFFF) # ori $v0, $v0, 0x1801
|
|
/* B0B974 800947D4 240600C0 */ li $a2, 192
|
|
/* B0B978 800947D8 AC660004 */ sw $a2, 4($v1)
|
|
/* B0B97C 800947DC AC620000 */ sw $v0, ($v1)
|
|
/* B0B980 800947E0 3C058016 */ lui $a1, %hi(gGameInfo) # $a1, 0x8016
|
|
/* B0B984 800947E4 8CA5FA90 */ lw $a1, %lo(gGameInfo)($a1)
|
|
/* B0B988 800947E8 24070001 */ li $a3, 1
|
|
/* B0B98C 800947EC 3C18E300 */ lui $t8, (0xE3001A01 >> 16) # lui $t8, 0xe300
|
|
/* B0B990 800947F0 84A30FFE */ lh $v1, 0xffe($a1)
|
|
/* B0B994 800947F4 24840008 */ addiu $a0, $a0, 8
|
|
/* B0B998 800947F8 37181A01 */ ori $t8, (0xE3001A01 & 0xFFFF) # ori $t8, $t8, 0x1a01
|
|
/* B0B99C 800947FC 1067000C */ beq $v1, $a3, .L80094830
|
|
/* B0B9A0 80094800 24190030 */ li $t9, 48
|
|
/* B0B9A4 80094804 24010002 */ li $at, 2
|
|
/* B0B9A8 80094808 10610010 */ beq $v1, $at, .L8009484C
|
|
/* B0B9AC 8009480C 3C08E300 */ lui $t0, (0xE3001A01 >> 16) # lui $t0, 0xe300
|
|
/* B0B9B0 80094810 24010003 */ li $at, 3
|
|
/* B0B9B4 80094814 10610015 */ beq $v1, $at, .L8009486C
|
|
/* B0B9B8 80094818 3C09E300 */ lui $t1, (0xE3001A01 >> 16) # lui $t1, 0xe300
|
|
/* B0B9BC 8009481C 24010004 */ li $at, 4
|
|
/* B0B9C0 80094820 1061001B */ beq $v1, $at, .L80094890
|
|
/* B0B9C4 80094824 3C0BE300 */ lui $t3, (0xE3001A01 >> 16) # lui $t3, 0xe300
|
|
/* B0B9C8 80094828 10000022 */ b .L800948B4
|
|
/* B0B9CC 8009482C 84A31000 */ lh $v1, 0x1000($a1)
|
|
.L80094830:
|
|
/* B0B9D0 80094830 00801825 */ move $v1, $a0
|
|
/* B0B9D4 80094834 AC780000 */ sw $t8, ($v1)
|
|
/* B0B9D8 80094838 AC790004 */ sw $t9, 4($v1)
|
|
/* B0B9DC 8009483C 3C058016 */ lui $a1, %hi(gGameInfo) # $a1, 0x8016
|
|
/* B0B9E0 80094840 8CA5FA90 */ lw $a1, %lo(gGameInfo)($a1)
|
|
/* B0B9E4 80094844 1000001A */ b .L800948B0
|
|
/* B0B9E8 80094848 24840008 */ addiu $a0, $a0, 8
|
|
.L8009484C:
|
|
/* B0B9EC 8009484C 00801825 */ move $v1, $a0
|
|
/* B0B9F0 80094850 35081A01 */ ori $t0, (0xE3001A01 & 0xFFFF) # ori $t0, $t0, 0x1a01
|
|
/* B0B9F4 80094854 AC680000 */ sw $t0, ($v1)
|
|
/* B0B9F8 80094858 AC600004 */ sw $zero, 4($v1)
|
|
/* B0B9FC 8009485C 3C058016 */ lui $a1, %hi(gGameInfo) # $a1, 0x8016
|
|
/* B0BA00 80094860 8CA5FA90 */ lw $a1, %lo(gGameInfo)($a1)
|
|
/* B0BA04 80094864 10000012 */ b .L800948B0
|
|
/* B0BA08 80094868 24840008 */ addiu $a0, $a0, 8
|
|
.L8009486C:
|
|
/* B0BA0C 8009486C 00801825 */ move $v1, $a0
|
|
/* B0BA10 80094870 35291A01 */ ori $t1, (0xE3001A01 & 0xFFFF) # ori $t1, $t1, 0x1a01
|
|
/* B0BA14 80094874 240A0010 */ li $t2, 16
|
|
/* B0BA18 80094878 AC6A0004 */ sw $t2, 4($v1)
|
|
/* B0BA1C 8009487C AC690000 */ sw $t1, ($v1)
|
|
/* B0BA20 80094880 3C058016 */ lui $a1, %hi(gGameInfo) # $a1, 0x8016
|
|
/* B0BA24 80094884 8CA5FA90 */ lw $a1, %lo(gGameInfo)($a1)
|
|
/* B0BA28 80094888 10000009 */ b .L800948B0
|
|
/* B0BA2C 8009488C 24840008 */ addiu $a0, $a0, 8
|
|
.L80094890:
|
|
/* B0BA30 80094890 00801825 */ move $v1, $a0
|
|
/* B0BA34 80094894 356B1A01 */ ori $t3, (0xE3001A01 & 0xFFFF) # ori $t3, $t3, 0x1a01
|
|
/* B0BA38 80094898 240C0020 */ li $t4, 32
|
|
/* B0BA3C 8009489C AC6C0004 */ sw $t4, 4($v1)
|
|
/* B0BA40 800948A0 AC6B0000 */ sw $t3, ($v1)
|
|
/* B0BA44 800948A4 3C058016 */ lui $a1, %hi(gGameInfo) # $a1, 0x8016
|
|
/* B0BA48 800948A8 8CA5FA90 */ lw $a1, %lo(gGameInfo)($a1)
|
|
/* B0BA4C 800948AC 24840008 */ addiu $a0, $a0, 8
|
|
.L800948B0:
|
|
/* B0BA50 800948B0 84A31000 */ lh $v1, 0x1000($a1)
|
|
.L800948B4:
|
|
/* B0BA54 800948B4 24010002 */ li $at, 2
|
|
/* B0BA58 800948B8 5067000B */ beql $v1, $a3, .L800948E8
|
|
/* B0BA5C 800948BC 00801825 */ move $v1, $a0
|
|
/* B0BA60 800948C0 1061000E */ beq $v1, $at, .L800948FC
|
|
/* B0BA64 800948C4 24010003 */ li $at, 3
|
|
/* B0BA68 800948C8 10610012 */ beq $v1, $at, .L80094914
|
|
/* B0BA6C 800948CC 240D0040 */ li $t5, 64
|
|
/* B0BA70 800948D0 24010004 */ li $at, 4
|
|
/* B0BA74 800948D4 10610015 */ beq $v1, $at, .L8009492C
|
|
/* B0BA78 800948D8 240E0080 */ li $t6, 128
|
|
/* B0BA7C 800948DC 03E00008 */ jr $ra
|
|
/* B0BA80 800948E0 00801025 */ move $v0, $a0
|
|
/* B0BA84 800948E4 00801825 */ move $v1, $a0
|
|
.L800948E8:
|
|
/* B0BA88 800948E8 AC620000 */ sw $v0, ($v1)
|
|
/* B0BA8C 800948EC 24840008 */ addiu $a0, $a0, 8
|
|
/* B0BA90 800948F0 AC660004 */ sw $a2, 4($v1)
|
|
/* B0BA94 800948F4 03E00008 */ jr $ra
|
|
/* B0BA98 800948F8 00801025 */ move $v0, $a0
|
|
.L800948FC:
|
|
/* B0BA9C 800948FC 00801825 */ move $v1, $a0
|
|
/* B0BAA0 80094900 AC620000 */ sw $v0, ($v1)
|
|
/* B0BAA4 80094904 24840008 */ addiu $a0, $a0, 8
|
|
/* B0BAA8 80094908 AC600004 */ sw $zero, 4($v1)
|
|
/* B0BAAC 8009490C 03E00008 */ jr $ra
|
|
/* B0BAB0 80094910 00801025 */ move $v0, $a0
|
|
.L80094914:
|
|
/* B0BAB4 80094914 00801825 */ move $v1, $a0
|
|
/* B0BAB8 80094918 AC620000 */ sw $v0, ($v1)
|
|
/* B0BABC 8009491C 24840008 */ addiu $a0, $a0, 8
|
|
/* B0BAC0 80094920 AC6D0004 */ sw $t5, 4($v1)
|
|
/* B0BAC4 80094924 03E00008 */ jr $ra
|
|
/* B0BAC8 80094928 00801025 */ move $v0, $a0
|
|
.L8009492C:
|
|
/* B0BACC 8009492C 00801825 */ move $v1, $a0
|
|
/* B0BAD0 80094930 AC620000 */ sw $v0, ($v1)
|
|
/* B0BAD4 80094934 AC6E0004 */ sw $t6, 4($v1)
|
|
/* B0BAD8 80094938 24840008 */ addiu $a0, $a0, 8
|
|
/* B0BADC 8009493C 03E00008 */ jr $ra
|
|
/* B0BAE0 80094940 00801025 */ move $v0, $a0
|
|
|