mirror of
https://github.com/pmret/papermario.git
synced 2024-11-19 17:32:30 +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>
28 lines
1.3 KiB
ArmAsm
28 lines
1.3 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_8003EB00
|
|
/* 19F00 8003EB00 0080182D */ daddu $v1, $a0, $zero
|
|
/* 19F04 8003EB04 00A0102D */ daddu $v0, $a1, $zero
|
|
/* 19F08 8003EB08 04410002 */ bgez $v0, .L8003EB14
|
|
/* 19F0C 8003EB0C 0040202D */ daddu $a0, $v0, $zero
|
|
/* 19F10 8003EB10 2444001F */ addiu $a0, $v0, 0x1f
|
|
.L8003EB14:
|
|
/* 19F14 8003EB14 00042143 */ sra $a0, $a0, 5
|
|
/* 19F18 8003EB18 00042940 */ sll $a1, $a0, 5
|
|
/* 19F1C 8003EB1C 00452823 */ subu $a1, $v0, $a1
|
|
/* 19F20 8003EB20 00042080 */ sll $a0, $a0, 2
|
|
/* 19F24 8003EB24 00031040 */ sll $v0, $v1, 1
|
|
/* 19F28 8003EB28 00431021 */ addu $v0, $v0, $v1
|
|
/* 19F2C 8003EB2C 00021100 */ sll $v0, $v0, 4
|
|
/* 19F30 8003EB30 00822021 */ addu $a0, $a0, $v0
|
|
/* 19F34 8003EB34 3C02800B */ lui $v0, %hi(D_800B0EF0)
|
|
/* 19F38 8003EB38 24420EF0 */ addiu $v0, $v0, %lo(D_800B0EF0)
|
|
/* 19F3C 8003EB3C 00822021 */ addu $a0, $a0, $v0
|
|
/* 19F40 8003EB40 24030001 */ addiu $v1, $zero, 1
|
|
/* 19F44 8003EB44 8C8200B0 */ lw $v0, 0xb0($a0)
|
|
/* 19F48 8003EB48 00A31804 */ sllv $v1, $v1, $a1
|
|
/* 19F4C 8003EB4C 00431025 */ or $v0, $v0, $v1
|
|
/* 19F50 8003EB50 03E00008 */ jr $ra
|
|
/* 19F54 8003EB54 AC8200B0 */ sw $v0, 0xb0($a0)
|