mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 17:02:46 +01:00
98 lines
4.1 KiB
ArmAsm
98 lines
4.1 KiB
ArmAsm
|
.set noat # allow manual use of $at
|
||
|
.set noreorder # don't insert nops after branches
|
||
|
|
||
|
|
||
|
glabel func_80120000
|
||
|
/* 0B6700 80120000 2402F7FF */ addiu $v0, $zero, -0x801
|
||
|
/* 0B6704 80120004 00822024 */ and $a0, $a0, $v0
|
||
|
/* 0B6708 80120008 3C028015 */ lui $v0, 0x8015
|
||
|
/* 0B670C 8012000C 8C423A40 */ lw $v0, 0x3a40($v0)
|
||
|
/* 0B6710 80120010 00042080 */ sll $a0, $a0, 2
|
||
|
/* 0B6714 80120014 00822021 */ addu $a0, $a0, $v0
|
||
|
/* 0B6718 80120018 8C820000 */ lw $v0, ($a0)
|
||
|
/* 0B671C 8012001C AC4602D4 */ sw $a2, 0x2d4($v0)
|
||
|
/* 0B6720 80120020 03E00008 */ jr $ra
|
||
|
/* 0B6724 80120024 AC4502D8 */ sw $a1, 0x2d8($v0)
|
||
|
|
||
|
/* 0B6728 80120028 24020001 */ addiu $v0, $zero, 1
|
||
|
/* 0B672C 8012002C 3C018015 */ lui $at, 0x8015
|
||
|
/* 0B6730 80120030 AC223A44 */ sw $v0, 0x3a44($at)
|
||
|
/* 0B6734 80120034 03E00008 */ jr $ra
|
||
|
/* 0B6738 80120038 00000000 */ nop
|
||
|
|
||
|
/* 0B673C 8012003C 3C018015 */ lui $at, 0x8015
|
||
|
/* 0B6740 80120040 AC203A44 */ sw $zero, 0x3a44($at)
|
||
|
/* 0B6744 80120044 03E00008 */ jr $ra
|
||
|
/* 0B6748 80120048 00000000 */ nop
|
||
|
|
||
|
/* 0B674C 8012004C 3C018015 */ lui $at, 0x8015
|
||
|
/* 0B6750 80120050 AC243A58 */ sw $a0, 0x3a58($at)
|
||
|
/* 0B6754 80120054 3C018015 */ lui $at, 0x8015
|
||
|
/* 0B6758 80120058 AC253A5C */ sw $a1, 0x3a5c($at)
|
||
|
/* 0B675C 8012005C 03E00008 */ jr $ra
|
||
|
/* 0B6760 80120060 00000000 */ nop
|
||
|
|
||
|
/* 0B6764 80120064 3C018015 */ lui $at, 0x8015
|
||
|
/* 0B6768 80120068 AC243A48 */ sw $a0, 0x3a48($at)
|
||
|
/* 0B676C 8012006C 3C018015 */ lui $at, 0x8015
|
||
|
/* 0B6770 80120070 AC253A4C */ sw $a1, 0x3a4c($at)
|
||
|
/* 0B6774 80120074 3C018015 */ lui $at, 0x8015
|
||
|
/* 0B6778 80120078 AC263A50 */ sw $a2, 0x3a50($at)
|
||
|
/* 0B677C 8012007C 3C018015 */ lui $at, 0x8015
|
||
|
/* 0B6780 80120080 AC273A54 */ sw $a3, 0x3a54($at)
|
||
|
/* 0B6784 80120084 03E00008 */ jr $ra
|
||
|
/* 0B6788 80120088 00000000 */ nop
|
||
|
|
||
|
/* 0B678C 8012008C 3C028015 */ lui $v0, 0x8015
|
||
|
/* 0B6790 80120090 8C423A44 */ lw $v0, 0x3a44($v0)
|
||
|
/* 0B6794 80120094 03E00008 */ jr $ra
|
||
|
/* 0B6798 80120098 00000000 */ nop
|
||
|
|
||
|
/* 0B679C 8012009C 3C028015 */ lui $v0, 0x8015
|
||
|
/* 0B67A0 801200A0 8C423A58 */ lw $v0, 0x3a58($v0)
|
||
|
/* 0B67A4 801200A4 AC820000 */ sw $v0, ($a0)
|
||
|
/* 0B67A8 801200A8 3C028015 */ lui $v0, 0x8015
|
||
|
/* 0B67AC 801200AC 8C423A5C */ lw $v0, 0x3a5c($v0)
|
||
|
/* 0B67B0 801200B0 03E00008 */ jr $ra
|
||
|
/* 0B67B4 801200B4 ACA20000 */ sw $v0, ($a1)
|
||
|
|
||
|
/* 0B67B8 801200B8 3C028015 */ lui $v0, 0x8015
|
||
|
/* 0B67BC 801200BC 8C423A48 */ lw $v0, 0x3a48($v0)
|
||
|
/* 0B67C0 801200C0 AC820000 */ sw $v0, ($a0)
|
||
|
/* 0B67C4 801200C4 3C028015 */ lui $v0, 0x8015
|
||
|
/* 0B67C8 801200C8 8C423A4C */ lw $v0, 0x3a4c($v0)
|
||
|
/* 0B67CC 801200CC ACA20000 */ sw $v0, ($a1)
|
||
|
/* 0B67D0 801200D0 3C028015 */ lui $v0, 0x8015
|
||
|
/* 0B67D4 801200D4 8C423A50 */ lw $v0, 0x3a50($v0)
|
||
|
/* 0B67D8 801200D8 ACC20000 */ sw $v0, ($a2)
|
||
|
/* 0B67DC 801200DC 3C028015 */ lui $v0, 0x8015
|
||
|
/* 0B67E0 801200E0 8C423A54 */ lw $v0, 0x3a54($v0)
|
||
|
/* 0B67E4 801200E4 03E00008 */ jr $ra
|
||
|
/* 0B67E8 801200E8 ACE20000 */ sw $v0, ($a3)
|
||
|
|
||
|
/* 0B67EC 801200EC 2402F7FF */ addiu $v0, $zero, -0x801
|
||
|
/* 0B67F0 801200F0 00822024 */ and $a0, $a0, $v0
|
||
|
/* 0B67F4 801200F4 3C028015 */ lui $v0, 0x8015
|
||
|
/* 0B67F8 801200F8 8C423A40 */ lw $v0, 0x3a40($v0)
|
||
|
/* 0B67FC 801200FC 00042080 */ sll $a0, $a0, 2
|
||
|
/* 0B6800 80120100 00822021 */ addu $a0, $a0, $v0
|
||
|
/* 0B6804 80120104 8C830000 */ lw $v1, ($a0)
|
||
|
/* 0B6808 80120108 8C620000 */ lw $v0, ($v1)
|
||
|
/* 0B680C 8012010C 00451025 */ or $v0, $v0, $a1
|
||
|
/* 0B6810 80120110 03E00008 */ jr $ra
|
||
|
/* 0B6814 80120114 AC620000 */ sw $v0, ($v1)
|
||
|
|
||
|
/* 0B6818 80120118 2402F7FF */ addiu $v0, $zero, -0x801
|
||
|
/* 0B681C 8012011C 00822024 */ and $a0, $a0, $v0
|
||
|
/* 0B6820 80120120 3C028015 */ lui $v0, 0x8015
|
||
|
/* 0B6824 80120124 8C423A40 */ lw $v0, 0x3a40($v0)
|
||
|
/* 0B6828 80120128 00042080 */ sll $a0, $a0, 2
|
||
|
/* 0B682C 8012012C 00822021 */ addu $a0, $a0, $v0
|
||
|
/* 0B6830 80120130 8C830000 */ lw $v1, ($a0)
|
||
|
/* 0B6834 80120134 8C620000 */ lw $v0, ($v1)
|
||
|
/* 0B6838 80120138 00052827 */ nor $a1, $zero, $a1
|
||
|
/* 0B683C 8012013C 00451024 */ and $v0, $v0, $a1
|
||
|
/* 0B6840 80120140 03E00008 */ jr $ra
|
||
|
/* 0B6844 80120144 AC620000 */ sw $v0, ($v1)
|
||
|
|