oot/asm/non_matchings/code/code_800DACC0/func_800DB2C0.s

33 lines
1.5 KiB
ArmAsm

glabel func_800DB2C0
/* B52460 800DB2C0 3C068017 */ lui $a2, %hi(gAudioContext) # $a2, 0x8017
/* B52464 800DB2C4 24C6F180 */ addiu $a2, %lo(gAudioContext) # addiu $a2, $a2, -0xe80
/* B52468 800DB2C8 84CE2854 */ lh $t6, 0x2854($a2)
/* B5246C 800DB2CC 24820001 */ addiu $v0, $a0, 1
/* B52470 800DB2D0 004E082A */ slt $at, $v0, $t6
/* B52474 800DB2D4 10200014 */ beqz $at, .L800DB328
/* B52478 800DB2D8 00000000 */ nop
/* B5247C 800DB2DC 8CCF2894 */ lw $t7, 0x2894($a2)
.L800DB2E0:
/* B52480 800DB2E0 8CC90014 */ lw $t1, 0x14($a2)
/* B52484 800DB2E4 01E20019 */ multu $t7, $v0
/* B52488 800DB2E8 0000C012 */ mflo $t8
/* B5248C 800DB2EC 0305C821 */ addu $t9, $t8, $a1
/* B52490 800DB2F0 00194140 */ sll $t0, $t9, 5
/* B52494 800DB2F4 01091821 */ addu $v1, $t0, $t1
/* B52498 800DB2F8 8C6A0000 */ lw $t2, ($v1)
/* B5249C 800DB2FC 000A6040 */ sll $t4, $t2, 1
/* B524A0 800DB300 05800009 */ bltz $t4, .L800DB328
/* B524A4 800DB304 00000000 */ nop
/* B524A8 800DB308 906D0000 */ lbu $t5, ($v1)
/* B524AC 800DB30C 24420001 */ addiu $v0, $v0, 1
/* B524B0 800DB310 31AEFF7F */ andi $t6, $t5, 0xff7f
/* B524B4 800DB314 A06E0000 */ sb $t6, ($v1)
/* B524B8 800DB318 84CF2854 */ lh $t7, 0x2854($a2)
/* B524BC 800DB31C 004F082A */ slt $at, $v0, $t7
/* B524C0 800DB320 5420FFEF */ bnezl $at, .L800DB2E0
/* B524C4 800DB324 8CCF2894 */ lw $t7, 0x2894($a2)
.L800DB328:
/* B524C8 800DB328 03E00008 */ jr $ra
/* B524CC 800DB32C 00000000 */ nop