papermario/asm/nonmatchings/code_b72b0_len_15ed0/func_80122EE8.s
2020-08-12 22:37:16 -04:00

23 lines
868 B
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80122EE8
/* 0B95E8 80122EE8 2402F7FF */ addiu $v0, $zero, -0x801
/* 0B95EC 80122EEC 00822024 */ and $a0, $a0, $v0
/* 0B95F0 80122EF0 3C028015 */ lui $v0, 0x8015
/* 0B95F4 80122EF4 8C424370 */ lw $v0, 0x4370($v0)
/* 0B95F8 80122EF8 00042080 */ sll $a0, $a0, 2
/* 0B95FC 80122EFC 00822021 */ addu $a0, $a0, $v0
/* 0B9600 80122F00 8C840000 */ lw $a0, ($a0)
/* 0B9604 80122F04 10800005 */ beqz $a0, .L80122F1C
/* 0B9608 80122F08 00000000 */ nop
/* 0B960C 80122F0C 8C820000 */ lw $v0, ($a0)
/* 0B9610 80122F10 10400002 */ beqz $v0, .L80122F1C
/* 0B9614 80122F14 00451025 */ or $v0, $v0, $a1
/* 0B9618 80122F18 AC820000 */ sw $v0, ($a0)
.L80122F1C:
/* 0B961C 80122F1C 03E00008 */ jr $ra
/* 0B9620 80122F20 00000000 */ nop