papermario/asm/nonmatchings/code_190B20/func_80266FD8.s

22 lines
990 B
ArmAsm
Raw Normal View History

2020-09-24 05:16:13 +02:00
.set noat # allow manual use of $at
2020-08-04 08:49:11 +02:00
.set noreorder # don't insert nops after branches
glabel func_80266FD8
2020-09-24 05:16:13 +02:00
/* 1958B8 80266FD8 8C820094 */ lw $v0, 0x94($a0)
/* 1958BC 80266FDC 1040000C */ beqz $v0, .L80267010
/* 1958C0 80266FE0 00000000 */ nop
/* 1958C4 80266FE4 8C820000 */ lw $v0, ($a0)
/* 1958C8 80266FE8 30420002 */ andi $v0, $v0, 2
/* 1958CC 80266FEC 14400008 */ bnez $v0, .L80267010
/* 1958D0 80266FF0 00000000 */ nop
/* 1958D4 80266FF4 8C8400C0 */ lw $a0, 0xc0($a0)
/* 1958D8 80266FF8 80820764 */ lb $v0, 0x764($a0)
/* 1958DC 80266FFC 10450004 */ beq $v0, $a1, .L80267010
/* 1958E0 80267000 24020001 */ addiu $v0, $zero, 1
/* 1958E4 80267004 A0850764 */ sb $a1, 0x764($a0)
/* 1958E8 80267008 A0800766 */ sb $zero, 0x766($a0)
/* 1958EC 8026700C A0820765 */ sb $v0, 0x765($a0)
2020-08-04 08:49:11 +02:00
.L80267010:
2020-09-24 05:16:13 +02:00
/* 1958F0 80267010 03E00008 */ jr $ra
/* 1958F4 80267014 00000000 */ nop