mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 17:02:46 +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>
32 lines
1.5 KiB
ArmAsm
32 lines
1.5 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_8002B3EC
|
|
/* 67EC 8002B3EC 27BDFFE0 */ addiu $sp, $sp, -0x20
|
|
/* 67F0 8002B3F0 AFB20018 */ sw $s2, 0x18($sp)
|
|
/* 67F4 8002B3F4 0080902D */ daddu $s2, $a0, $zero
|
|
/* 67F8 8002B3F8 AFBF001C */ sw $ra, 0x1c($sp)
|
|
/* 67FC 8002B3FC AFB10014 */ sw $s1, 0x14($sp)
|
|
/* 6800 8002B400 0C00AC45 */ jal func_8002B114
|
|
/* 6804 8002B404 AFB00010 */ sw $s0, 0x10($sp)
|
|
/* 6808 8002B408 0000802D */ daddu $s0, $zero, $zero
|
|
/* 680C 8002B40C 3C11800A */ lui $s1, %hi(D_8009BA30)
|
|
/* 6810 8002B410 2631BA30 */ addiu $s1, $s1, %lo(D_8009BA30)
|
|
.L8002B414:
|
|
/* 6814 8002B414 8E220000 */ lw $v0, ($s1)
|
|
/* 6818 8002B418 54520004 */ bnel $v0, $s2, .L8002B42C
|
|
/* 681C 8002B41C 26100001 */ addiu $s0, $s0, 1
|
|
/* 6820 8002B420 0C00AE77 */ jal func_8002B9DC
|
|
/* 6824 8002B424 0200202D */ daddu $a0, $s0, $zero
|
|
/* 6828 8002B428 26100001 */ addiu $s0, $s0, 1
|
|
.L8002B42C:
|
|
/* 682C 8002B42C 2A020006 */ slti $v0, $s0, 6
|
|
/* 6830 8002B430 1440FFF8 */ bnez $v0, .L8002B414
|
|
/* 6834 8002B434 26310008 */ addiu $s1, $s1, 8
|
|
/* 6838 8002B438 8FBF001C */ lw $ra, 0x1c($sp)
|
|
/* 683C 8002B43C 8FB20018 */ lw $s2, 0x18($sp)
|
|
/* 6840 8002B440 8FB10014 */ lw $s1, 0x14($sp)
|
|
/* 6844 8002B444 8FB00010 */ lw $s0, 0x10($sp)
|
|
/* 6848 8002B448 03E00008 */ jr $ra
|
|
/* 684C 8002B44C 27BD0020 */ addiu $sp, $sp, 0x20
|