mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 17:02:46 +01:00
27 lines
1.2 KiB
ArmAsm
27 lines
1.2 KiB
ArmAsm
|
.set noat # allow manual use of $at
|
||
|
.set noreorder # don't insert nops after branches
|
||
|
|
||
|
glabel func_802670C8
|
||
|
/* 1959A8 802670C8 8C8401F4 */ lw $a0, 0x1f4($a0)
|
||
|
/* 1959AC 802670CC 1080000F */ beqz $a0, .L8026710C
|
||
|
/* 1959B0 802670D0 3C060010 */ lui $a2, 0x10
|
||
|
/* 1959B4 802670D4 34C60001 */ ori $a2, $a2, 1
|
||
|
.L802670D8:
|
||
|
/* 1959B8 802670D8 8C8500C0 */ lw $a1, 0xc0($a0)
|
||
|
/* 1959BC 802670DC 8C830000 */ lw $v1, ($a0)
|
||
|
/* 1959C0 802670E0 00661024 */ and $v0, $v1, $a2
|
||
|
/* 1959C4 802670E4 14400006 */ bnez $v0, .L80267100
|
||
|
/* 1959C8 802670E8 00000000 */ nop
|
||
|
/* 1959CC 802670EC 8C820094 */ lw $v0, 0x94($a0)
|
||
|
/* 1959D0 802670F0 10400003 */ beqz $v0, .L80267100
|
||
|
/* 1959D4 802670F4 30620002 */ andi $v0, $v1, 2
|
||
|
/* 1959D8 802670F8 50400001 */ beql $v0, $zero, .L80267100
|
||
|
/* 1959DC 802670FC A0A00764 */ sb $zero, 0x764($a1)
|
||
|
.L80267100:
|
||
|
/* 1959E0 80267100 8C84000C */ lw $a0, 0xc($a0)
|
||
|
/* 1959E4 80267104 1480FFF4 */ bnez $a0, .L802670D8
|
||
|
/* 1959E8 80267108 00000000 */ nop
|
||
|
.L8026710C:
|
||
|
/* 1959EC 8026710C 03E00008 */ jr $ra
|
||
|
/* 1959F0 80267110 00000000 */ nop
|