mirror of
https://github.com/pmret/papermario.git
synced 2024-11-10 13:02:41 +01:00
72 lines
3.2 KiB
ArmAsm
72 lines
3.2 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
|
|
glabel func_80047608
|
|
/* 022A08 80047608 3C04800A */ lui $a0, 0x800a
|
|
/* 022A0C 8004760C 8C840F44 */ lw $a0, 0xf44($a0)
|
|
/* 022A10 80047610 0000282D */ daddu $a1, $zero, $zero
|
|
.L80047614:
|
|
/* 022A14 80047614 8C820000 */ lw $v0, ($a0)
|
|
/* 022A18 80047618 10400006 */ beqz $v0, .L80047634
|
|
/* 022A1C 8004761C 28A20040 */ slti $v0, $a1, 0x40
|
|
/* 022A20 80047620 24A50001 */ addiu $a1, $a1, 1
|
|
/* 022A24 80047624 28A20040 */ slti $v0, $a1, 0x40
|
|
/* 022A28 80047628 1440FFFA */ bnez $v0, .L80047614
|
|
/* 022A2C 8004762C 248400B0 */ addiu $a0, $a0, 0xb0
|
|
/* 022A30 80047630 28A20040 */ slti $v0, $a1, 0x40
|
|
.L80047634:
|
|
/* 022A34 80047634 14400003 */ bnez $v0, .L80047644
|
|
/* 022A38 80047638 24030001 */ addiu $v1, $zero, 1
|
|
.L8004763C:
|
|
/* 022A3C 8004763C 08011D8F */ j .L8004763C
|
|
/* 022A40 80047640 00000000 */ nop
|
|
|
|
.L80047644:
|
|
/* 022A44 80047644 3C028007 */ lui $v0, 0x8007
|
|
/* 022A48 80047648 8C42419C */ lw $v0, 0x419c($v0)
|
|
/* 022A4C 8004764C AC830000 */ sw $v1, ($a0)
|
|
/* 022A50 80047650 80420070 */ lb $v0, 0x70($v0)
|
|
/* 022A54 80047654 10400002 */ beqz $v0, .L80047660
|
|
/* 022A58 80047658 24020003 */ addiu $v0, $zero, 3
|
|
/* 022A5C 8004765C AC820000 */ sw $v0, ($a0)
|
|
.L80047660:
|
|
/* 022A60 80047660 00A0102D */ daddu $v0, $a1, $zero
|
|
/* 022A64 80047664 AC800004 */ sw $zero, 4($a0)
|
|
/* 022A68 80047668 AC800008 */ sw $zero, 8($a0)
|
|
/* 022A6C 8004766C AC80000C */ sw $zero, 0xc($a0)
|
|
/* 022A70 80047670 AC800010 */ sw $zero, 0x10($a0)
|
|
/* 022A74 80047674 AC800014 */ sw $zero, 0x14($a0)
|
|
/* 022A78 80047678 AC800018 */ sw $zero, 0x18($a0)
|
|
/* 022A7C 8004767C AC80001C */ sw $zero, 0x1c($a0)
|
|
/* 022A80 80047680 AC800020 */ sw $zero, 0x20($a0)
|
|
/* 022A84 80047684 AC800024 */ sw $zero, 0x24($a0)
|
|
/* 022A88 80047688 AC800028 */ sw $zero, 0x28($a0)
|
|
/* 022A8C 8004768C AC80002C */ sw $zero, 0x2c($a0)
|
|
/* 022A90 80047690 A0800038 */ sb $zero, 0x38($a0)
|
|
/* 022A94 80047694 A0800039 */ sb $zero, 0x39($a0)
|
|
/* 022A98 80047698 A080003A */ sb $zero, 0x3a($a0)
|
|
/* 022A9C 8004769C A080003B */ sb $zero, 0x3b($a0)
|
|
/* 022AA0 800476A0 A0800048 */ sb $zero, 0x48($a0)
|
|
/* 022AA4 800476A4 A0800049 */ sb $zero, 0x49($a0)
|
|
/* 022AA8 800476A8 A080004A */ sb $zero, 0x4a($a0)
|
|
/* 022AAC 800476AC A080004B */ sb $zero, 0x4b($a0)
|
|
/* 022AB0 800476B0 A0800058 */ sb $zero, 0x58($a0)
|
|
/* 022AB4 800476B4 A0800059 */ sb $zero, 0x59($a0)
|
|
/* 022AB8 800476B8 A080005A */ sb $zero, 0x5a($a0)
|
|
/* 022ABC 800476BC A080005B */ sb $zero, 0x5b($a0)
|
|
/* 022AC0 800476C0 A0800068 */ sb $zero, 0x68($a0)
|
|
/* 022AC4 800476C4 A0800069 */ sb $zero, 0x69($a0)
|
|
/* 022AC8 800476C8 A080006A */ sb $zero, 0x6a($a0)
|
|
/* 022ACC 800476CC A080006B */ sb $zero, 0x6b($a0)
|
|
/* 022AD0 800476D0 A0800078 */ sb $zero, 0x78($a0)
|
|
/* 022AD4 800476D4 A0800079 */ sb $zero, 0x79($a0)
|
|
/* 022AD8 800476D8 A0800084 */ sb $zero, 0x84($a0)
|
|
/* 022ADC 800476DC A0800085 */ sb $zero, 0x85($a0)
|
|
/* 022AE0 800476E0 A0800090 */ sb $zero, 0x90($a0)
|
|
/* 022AE4 800476E4 A0800098 */ sb $zero, 0x98($a0)
|
|
/* 022AE8 800476E8 A08000A0 */ sb $zero, 0xa0($a0)
|
|
/* 022AEC 800476EC 03E00008 */ jr $ra
|
|
/* 022AF0 800476F0 A08000A8 */ sb $zero, 0xa8($a0)
|
|
|