mirror of
https://github.com/pmret/papermario.git
synced 2024-11-15 15:32:32 +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>
44 lines
2.1 KiB
ArmAsm
44 lines
2.1 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel osPfsRequestOneChannel
|
|
/* 449B0 800695B0 27BDFFF0 */ addiu $sp, $sp, -0x10
|
|
/* 449B4 800695B4 3C03800E */ lui $v1, %hi(D_800DA03C)
|
|
/* 449B8 800695B8 2463A03C */ addiu $v1, $v1, %lo(D_800DA03C)
|
|
/* 449BC 800695BC 2466FFC4 */ addiu $a2, $v1, -0x3c
|
|
/* 449C0 800695C0 00003821 */ addu $a3, $zero, $zero
|
|
/* 449C4 800695C4 240200FE */ addiu $v0, $zero, 0xfe
|
|
/* 449C8 800695C8 3C01800A */ lui $at, %hi(D_8009A61C)
|
|
/* 449CC 800695CC A022A61C */ sb $v0, %lo(D_8009A61C)($at)
|
|
/* 449D0 800695D0 24020001 */ addiu $v0, $zero, 1
|
|
/* 449D4 800695D4 AC620000 */ sw $v0, ($v1)
|
|
/* 449D8 800695D8 24020001 */ addiu $v0, $zero, 1
|
|
/* 449DC 800695DC A3A20000 */ sb $v0, ($sp)
|
|
/* 449E0 800695E0 24020003 */ addiu $v0, $zero, 3
|
|
/* 449E4 800695E4 A3A20001 */ sb $v0, 1($sp)
|
|
/* 449E8 800695E8 240200FF */ addiu $v0, $zero, 0xff
|
|
/* 449EC 800695EC A3A50002 */ sb $a1, 2($sp)
|
|
/* 449F0 800695F0 A3A20003 */ sb $v0, 3($sp)
|
|
/* 449F4 800695F4 A3A20004 */ sb $v0, 4($sp)
|
|
/* 449F8 800695F8 18800006 */ blez $a0, .L80069614
|
|
/* 449FC 800695FC A3A20005 */ sb $v0, 5($sp)
|
|
.L80069600:
|
|
/* 44A00 80069600 A0C00000 */ sb $zero, ($a2)
|
|
/* 44A04 80069604 24E70001 */ addiu $a3, $a3, 1
|
|
/* 44A08 80069608 00E4102A */ slt $v0, $a3, $a0
|
|
/* 44A0C 8006960C 1440FFFC */ bnez $v0, .L80069600
|
|
/* 44A10 80069610 24C60001 */ addiu $a2, $a2, 1
|
|
.L80069614:
|
|
/* 44A14 80069614 8BA20000 */ lwl $v0, ($sp)
|
|
/* 44A18 80069618 9BA20003 */ lwr $v0, 3($sp)
|
|
/* 44A1C 8006961C 83A30004 */ lb $v1, 4($sp)
|
|
/* 44A20 80069620 83A40005 */ lb $a0, 5($sp)
|
|
/* 44A24 80069624 A8C20000 */ swl $v0, ($a2)
|
|
/* 44A28 80069628 B8C20003 */ swr $v0, 3($a2)
|
|
/* 44A2C 8006962C A0C30004 */ sb $v1, 4($a2)
|
|
/* 44A30 80069630 A0C40005 */ sb $a0, 5($a2)
|
|
/* 44A34 80069634 240200FE */ addiu $v0, $zero, 0xfe
|
|
/* 44A38 80069638 A0C20006 */ sb $v0, 6($a2)
|
|
/* 44A3C 8006963C 03E00008 */ jr $ra
|
|
/* 44A40 80069640 27BD0010 */ addiu $sp, $sp, 0x10
|