mirror of
https://github.com/pmret/papermario.git
synced 2024-11-14 23:13:10 +01:00
a4e1c2f522
* fix vscode cpp extension messing with files.associations * move stuff * it builds! * symlink papermario.us.z64 * ci: put baserom in right place * add jp * fix splat dir * ignore starrod dump * .s deps * update jenkins * add dsl back * configure.py versions * wups * fine ethan * fix paths * configure: default to only the version(s) with existing baseroms * fix coverage * fix progress.py * progress.py verisoning * remove format.sh from CONTRIBUTING * update CONTRIBUTING * fix first_diff * diff.py: use ver/current/ * update splat.yaml * trying to fix subrepo * git subrepo pull tools/splat subrepo: subdir: "tools/splat" merged: "06a737f02d" upstream: origin: "https://github.com/ethteck/splat.git" branch: "master" commit: "06a737f02d" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo" commit: "2f68596" * configure fix * git subrepo pull tools/splat subrepo: subdir: "tools/splat" merged: "41786effd3" upstream: origin: "https://github.com/ethteck/splat.git" branch: "master" commit: "41786effd3" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo" commit: "2f68596" Co-authored-by: Ethan Roseman <ethteck@gmail.com>
51 lines
2.6 KiB
ArmAsm
51 lines
2.6 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_80240120_EC9E20
|
|
/* EC9E20 80240120 27BDFFD0 */ addiu $sp, $sp, -0x30
|
|
/* EC9E24 80240124 AFB3001C */ sw $s3, 0x1c($sp)
|
|
/* EC9E28 80240128 0080982D */ daddu $s3, $a0, $zero
|
|
/* EC9E2C 8024012C AFB00010 */ sw $s0, 0x10($sp)
|
|
/* EC9E30 80240130 24100001 */ addiu $s0, $zero, 1
|
|
/* EC9E34 80240134 AFB40020 */ sw $s4, 0x20($sp)
|
|
/* EC9E38 80240138 2414FFFF */ addiu $s4, $zero, -1
|
|
/* EC9E3C 8024013C AFB50024 */ sw $s5, 0x24($sp)
|
|
/* EC9E40 80240140 0200A82D */ daddu $s5, $s0, $zero
|
|
/* EC9E44 80240144 AFB10014 */ sw $s1, 0x14($sp)
|
|
/* EC9E48 80240148 3C118011 */ lui $s1, %hi(D_80117848)
|
|
/* EC9E4C 8024014C 26317848 */ addiu $s1, $s1, %lo(D_80117848)
|
|
/* EC9E50 80240150 AFBF0028 */ sw $ra, 0x28($sp)
|
|
/* EC9E54 80240154 AFB20018 */ sw $s2, 0x18($sp)
|
|
/* EC9E58 80240158 8E6200B4 */ lw $v0, 0xb4($s3)
|
|
/* EC9E5C 8024015C 0280182D */ daddu $v1, $s4, $zero
|
|
/* EC9E60 80240160 AE630084 */ sw $v1, 0x84($s3)
|
|
/* EC9E64 80240164 00021027 */ nor $v0, $zero, $v0
|
|
/* EC9E68 80240168 000217C2 */ srl $v0, $v0, 0x1f
|
|
/* EC9E6C 8024016C 00029400 */ sll $s2, $v0, 0x10
|
|
.L80240170:
|
|
/* EC9E70 80240170 92220014 */ lbu $v0, 0x14($s1)
|
|
/* EC9E74 80240174 50400008 */ beql $v0, $zero, .L80240198
|
|
/* EC9E78 80240178 26100001 */ addiu $s0, $s0, 1
|
|
/* EC9E7C 8024017C 0200202D */ daddu $a0, $s0, $zero
|
|
/* EC9E80 80240180 0C090035 */ jal func_802400D4_EC9DD4
|
|
/* EC9E84 80240184 00122C03 */ sra $a1, $s2, 0x10
|
|
/* EC9E88 80240188 10540003 */ beq $v0, $s4, .L80240198
|
|
/* EC9E8C 8024018C 26100001 */ addiu $s0, $s0, 1
|
|
/* EC9E90 80240190 08090069 */ j .L802401A4
|
|
/* EC9E94 80240194 AE750084 */ sw $s5, 0x84($s3)
|
|
.L80240198:
|
|
/* EC9E98 80240198 2A02000C */ slti $v0, $s0, 0xc
|
|
/* EC9E9C 8024019C 1440FFF4 */ bnez $v0, .L80240170
|
|
/* EC9EA0 802401A0 26310008 */ addiu $s1, $s1, 8
|
|
.L802401A4:
|
|
/* EC9EA4 802401A4 8FBF0028 */ lw $ra, 0x28($sp)
|
|
/* EC9EA8 802401A8 8FB50024 */ lw $s5, 0x24($sp)
|
|
/* EC9EAC 802401AC 8FB40020 */ lw $s4, 0x20($sp)
|
|
/* EC9EB0 802401B0 8FB3001C */ lw $s3, 0x1c($sp)
|
|
/* EC9EB4 802401B4 8FB20018 */ lw $s2, 0x18($sp)
|
|
/* EC9EB8 802401B8 8FB10014 */ lw $s1, 0x14($sp)
|
|
/* EC9EBC 802401BC 8FB00010 */ lw $s0, 0x10($sp)
|
|
/* EC9EC0 802401C0 24020002 */ addiu $v0, $zero, 2
|
|
/* EC9EC4 802401C4 03E00008 */ jr $ra
|
|
/* EC9EC8 802401C8 27BD0030 */ addiu $sp, $sp, 0x30
|