mirror of
https://github.com/pmret/papermario.git
synced 2024-11-15 07:22:29 +01:00
3315d6010f
* all non-world rodata migrated * data disasm * kinda working * updated yaml * bloop * linker header * configure 2.0 * bin * mass rename to remove code_ * pause rename * battle partner stuff * whew * more renames * more renames * more renaming * it builds! * updates * remove main prefix * one more thing * crc, yay0 * .data, .rodata, .bss * img * dead_atan2 * it buildsgit add -A * split battle/partner/6FAD10 * rm &s on sleepy_sheep syms * sha1sum ninja rule description * OK but commented out PaperMarioMapFS and PaperMarioNpcSprites * uncomment * fix mapfs * match func_8003CFB4 * . * clean up and name npc_iter_no_op * npc.c * enable cc warnings * name npc_find_near * use singular options.asset_path * smores * cc_dsl only when needed * kinda fix configure for splat refactor2 * ok! * new msg format * remove old msg format docs * slight bug fixes, splat adjustment * git subrepo pull (merge) --force tools/splat subrepo: subdir: "tools/splat" merged: "cfc140bb76" upstream: origin: "https://github.com/ethteck/splat.git" branch: "master" commit: "cfc140bb76" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo" commit: "2f68596" * git subrepo pull (merge) --force tools/splat subrepo: subdir: "tools/splat" merged: "85349befcd" upstream: origin: "https://github.com/ethteck/splat.git" branch: "master" commit: "85349befcd" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo" commit: "2f68596" * Update symbol addrs * git subrepo pull tools/splat subrepo: subdir: "tools/splat" merged: "a44631e194" upstream: origin: "https://github.com/ethteck/splat.git" branch: "master" commit: "a44631e194" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo" commit: "2f68596" Co-authored-by: Alex Bates <hi@imalex.xyz>
48 lines
2.4 KiB
ArmAsm
48 lines
2.4 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel osPfsRequestData
|
|
/* 488BC 8006D4BC 27BDFFF0 */ addiu $sp, $sp, -0x10
|
|
/* 488C0 8006D4C0 3C05800A */ lui $a1, %hi(D_8009A606)
|
|
/* 488C4 8006D4C4 90A5A606 */ lbu $a1, %lo(D_8009A606)($a1)
|
|
/* 488C8 8006D4C8 3C07800E */ lui $a3, %hi(D_800DA000)
|
|
/* 488CC 8006D4CC 24E7A000 */ addiu $a3, $a3, %lo(D_800DA000)
|
|
/* 488D0 8006D4D0 00003021 */ addu $a2, $zero, $zero
|
|
/* 488D4 8006D4D4 24020001 */ addiu $v0, $zero, 1
|
|
/* 488D8 8006D4D8 240300FF */ addiu $v1, $zero, 0xff
|
|
/* 488DC 8006D4DC 3C01800E */ lui $at, %hi(D_800DA03C)
|
|
/* 488E0 8006D4E0 AC22A03C */ sw $v0, %lo(D_800DA03C)($at)
|
|
/* 488E4 8006D4E4 24020001 */ addiu $v0, $zero, 1
|
|
/* 488E8 8006D4E8 A3A20001 */ sb $v0, 1($sp)
|
|
/* 488EC 8006D4EC 24020003 */ addiu $v0, $zero, 3
|
|
/* 488F0 8006D4F0 3C01800A */ lui $at, %hi(D_8009A61C)
|
|
/* 488F4 8006D4F4 A024A61C */ sb $a0, %lo(D_8009A61C)($at)
|
|
/* 488F8 8006D4F8 A3A30000 */ sb $v1, ($sp)
|
|
/* 488FC 8006D4FC A3A20002 */ sb $v0, 2($sp)
|
|
/* 48900 8006D500 A3A40003 */ sb $a0, 3($sp)
|
|
/* 48904 8006D504 A3A30004 */ sb $v1, 4($sp)
|
|
/* 48908 8006D508 A3A30005 */ sb $v1, 5($sp)
|
|
/* 4890C 8006D50C A3A30006 */ sb $v1, 6($sp)
|
|
/* 48910 8006D510 18A0000F */ blez $a1, .L8006D550
|
|
/* 48914 8006D514 A3A30007 */ sb $v1, 7($sp)
|
|
.L8006D518:
|
|
/* 48918 8006D518 8BA20000 */ lwl $v0, ($sp)
|
|
/* 4891C 8006D51C 9BA20003 */ lwr $v0, 3($sp)
|
|
/* 48920 8006D520 8BA30004 */ lwl $v1, 4($sp)
|
|
/* 48924 8006D524 9BA30007 */ lwr $v1, 7($sp)
|
|
/* 48928 8006D528 A8E20000 */ swl $v0, ($a3)
|
|
/* 4892C 8006D52C B8E20003 */ swr $v0, 3($a3)
|
|
/* 48930 8006D530 A8E30004 */ swl $v1, 4($a3)
|
|
/* 48934 8006D534 B8E30007 */ swr $v1, 7($a3)
|
|
/* 48938 8006D538 3C02800A */ lui $v0, %hi(D_8009A606)
|
|
/* 4893C 8006D53C 9042A606 */ lbu $v0, %lo(D_8009A606)($v0)
|
|
/* 48940 8006D540 24C60001 */ addiu $a2, $a2, 1
|
|
/* 48944 8006D544 00C2102A */ slt $v0, $a2, $v0
|
|
/* 48948 8006D548 1440FFF3 */ bnez $v0, .L8006D518
|
|
/* 4894C 8006D54C 24E70008 */ addiu $a3, $a3, 8
|
|
.L8006D550:
|
|
/* 48950 8006D550 240200FE */ addiu $v0, $zero, 0xfe
|
|
/* 48954 8006D554 A0E20000 */ sb $v0, ($a3)
|
|
/* 48958 8006D558 03E00008 */ jr $ra
|
|
/* 4895C 8006D55C 27BD0010 */ addiu $sp, $sp, 0x10
|