mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 17:02:46 +01:00
42 lines
1.6 KiB
ArmAsm
42 lines
1.6 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
|
|
glabel func_8026709C
|
|
/* 19597C 8026709C 8C820094 */ lw $v0, 0x94($a0)
|
|
/* 195980 802670A0 10400007 */ beqz $v0, .L802670C0
|
|
/* 195984 802670A4 00000000 */ nop
|
|
/* 195988 802670A8 8C820000 */ lw $v0, ($a0)
|
|
/* 19598C 802670AC 30420002 */ andi $v0, $v0, 2
|
|
/* 195990 802670B0 14400003 */ bnez $v0, .L802670C0
|
|
/* 195994 802670B4 00000000 */ nop
|
|
/* 195998 802670B8 8C8200C0 */ lw $v0, 0xc0($a0)
|
|
/* 19599C 802670BC A0400764 */ sb $zero, 0x764($v0)
|
|
.L802670C0:
|
|
/* 1959A0 802670C0 03E00008 */ jr $ra
|
|
/* 1959A4 802670C4 00000000 */ nop
|
|
|
|
/* 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
|
|
|