mirror of
https://github.com/pmret/papermario.git
synced 2024-11-19 01:12:28 +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>
31 lines
1.5 KiB
ArmAsm
31 lines
1.5 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_80047438
|
|
/* 22838 80047438 00041040 */ sll $v0, $a0, 1
|
|
/* 2283C 8004743C 00441021 */ addu $v0, $v0, $a0
|
|
/* 22840 80047440 00021080 */ sll $v0, $v0, 2
|
|
/* 22844 80047444 00441023 */ subu $v0, $v0, $a0
|
|
/* 22848 80047448 3C03800A */ lui $v1, %hi(D_8009ED54)
|
|
/* 2284C 8004744C 8C63ED54 */ lw $v1, %lo(D_8009ED54)($v1)
|
|
/* 22850 80047450 00021100 */ sll $v0, $v0, 4
|
|
/* 22854 80047454 00621821 */ addu $v1, $v1, $v0
|
|
/* 22858 80047458 AC650004 */ sw $a1, 4($v1)
|
|
/* 2285C 8004745C AC660008 */ sw $a2, 8($v1)
|
|
/* 22860 80047460 AC67000C */ sw $a3, 0xc($v1)
|
|
/* 22864 80047464 8FA40018 */ lw $a0, 0x18($sp)
|
|
/* 22868 80047468 8FA5001C */ lw $a1, 0x1c($sp)
|
|
/* 2286C 8004746C 24840011 */ addiu $a0, $a0, 0x11
|
|
/* 22870 80047470 24A20011 */ addiu $v0, $a1, 0x11
|
|
/* 22874 80047474 AC62001C */ sw $v0, 0x1c($v1)
|
|
/* 22878 80047478 24A20022 */ addiu $v0, $a1, 0x22
|
|
/* 2287C 8004747C AC650014 */ sw $a1, 0x14($v1)
|
|
/* 22880 80047480 24A50033 */ addiu $a1, $a1, 0x33
|
|
/* 22884 80047484 AC640010 */ sw $a0, 0x10($v1)
|
|
/* 22888 80047488 AC640018 */ sw $a0, 0x18($v1)
|
|
/* 2288C 8004748C AC640020 */ sw $a0, 0x20($v1)
|
|
/* 22890 80047490 AC620024 */ sw $v0, 0x24($v1)
|
|
/* 22894 80047494 AC640028 */ sw $a0, 0x28($v1)
|
|
/* 22898 80047498 03E00008 */ jr $ra
|
|
/* 2289C 8004749C AC65002C */ sw $a1, 0x2c($v1)
|