mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 08:52:40 +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>
25 lines
1.1 KiB
ArmAsm
25 lines
1.1 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_80047EAC
|
|
/* 232AC 80047EAC 27BDFFE8 */ addiu $sp, $sp, -0x18
|
|
/* 232B0 80047EB0 00041040 */ sll $v0, $a0, 1
|
|
/* 232B4 80047EB4 00441021 */ addu $v0, $v0, $a0
|
|
/* 232B8 80047EB8 00021080 */ sll $v0, $v0, 2
|
|
/* 232BC 80047EBC 00441023 */ subu $v0, $v0, $a0
|
|
/* 232C0 80047EC0 3C03800A */ lui $v1, %hi(D_8009ED54)
|
|
/* 232C4 80047EC4 8C63ED54 */ lw $v1, %lo(D_8009ED54)($v1)
|
|
/* 232C8 80047EC8 00021100 */ sll $v0, $v0, 4
|
|
/* 232CC 80047ECC AFBF0010 */ sw $ra, 0x10($sp)
|
|
/* 232D0 80047ED0 00621821 */ addu $v1, $v1, $v0
|
|
/* 232D4 80047ED4 806200A8 */ lb $v0, 0xa8($v1)
|
|
/* 232D8 80047ED8 10400004 */ beqz $v0, .L80047EEC
|
|
/* 232DC 80047EDC 00000000 */ nop
|
|
/* 232E0 80047EE0 8C6400AC */ lw $a0, 0xac($v1)
|
|
/* 232E4 80047EE4 0C052669 */ jal func_801499A4
|
|
/* 232E8 80047EE8 A06000A8 */ sb $zero, 0xa8($v1)
|
|
.L80047EEC:
|
|
/* 232EC 80047EEC 8FBF0010 */ lw $ra, 0x10($sp)
|
|
/* 232F0 80047EF0 03E00008 */ jr $ra
|
|
/* 232F4 80047EF4 27BD0018 */ addiu $sp, $sp, 0x18
|