mirror of
https://github.com/pmret/papermario.git
synced 2024-11-12 22:12:38 +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>
29 lines
1.4 KiB
ArmAsm
29 lines
1.4 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_802BC4B8_E30E08
|
|
/* E30E08 802BC4B8 8C840040 */ lw $a0, 0x40($a0)
|
|
/* E30E0C 802BC4BC 90820004 */ lbu $v0, 4($a0)
|
|
/* E30E10 802BC4C0 2442FFFF */ addiu $v0, $v0, -1
|
|
/* E30E14 802BC4C4 A0820004 */ sb $v0, 4($a0)
|
|
/* E30E18 802BC4C8 00021600 */ sll $v0, $v0, 0x18
|
|
/* E30E1C 802BC4CC 1C40000F */ bgtz $v0, .L802BC50C
|
|
/* E30E20 802BC4D0 240200FF */ addiu $v0, $zero, 0xff
|
|
/* E30E24 802BC4D4 80830003 */ lb $v1, 3($a0)
|
|
/* E30E28 802BC4D8 3C06802C */ lui $a2, %hi(D_802BCAA0_E313F0)
|
|
/* E30E2C 802BC4DC 24C6CAA0 */ addiu $a2, $a2, %lo(D_802BCAA0_E313F0)
|
|
/* E30E30 802BC4E0 3C05802C */ lui $a1, %hi(D_802BCAA0_E313F0)
|
|
/* E30E34 802BC4E4 00A32821 */ addu $a1, $a1, $v1
|
|
/* E30E38 802BC4E8 90A5CAA0 */ lbu $a1, %lo(D_802BCAA0_E313F0)($a1)
|
|
/* E30E3C 802BC4EC 10A20007 */ beq $a1, $v0, .L802BC50C
|
|
/* E30E40 802BC4F0 24630001 */ addiu $v1, $v1, 1
|
|
/* E30E44 802BC4F4 00661021 */ addu $v0, $v1, $a2
|
|
/* E30E48 802BC4F8 A0850005 */ sb $a1, 5($a0)
|
|
/* E30E4C 802BC4FC 90420000 */ lbu $v0, ($v0)
|
|
/* E30E50 802BC500 24630001 */ addiu $v1, $v1, 1
|
|
/* E30E54 802BC504 A0830003 */ sb $v1, 3($a0)
|
|
/* E30E58 802BC508 A0820004 */ sb $v0, 4($a0)
|
|
.L802BC50C:
|
|
/* E30E5C 802BC50C 03E00008 */ jr $ra
|
|
/* E30E60 802BC510 00000000 */ nop
|