mirror of
https://github.com/pmret/papermario.git
synced 2024-11-19 09:22: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>
33 lines
1.4 KiB
ArmAsm
33 lines
1.4 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_800645C0
|
|
/* 3F9C0 800645C0 3084FFFF */ andi $a0, $a0, 0xffff
|
|
/* 3F9C4 800645C4 00042102 */ srl $a0, $a0, 4
|
|
/* 3F9C8 800645C8 30820400 */ andi $v0, $a0, 0x400
|
|
/* 3F9CC 800645CC 10400004 */ beqz $v0, .L800645E0
|
|
/* 3F9D0 800645D0 00802821 */ addu $a1, $a0, $zero
|
|
/* 3F9D4 800645D4 00041027 */ nor $v0, $zero, $a0
|
|
/* 3F9D8 800645D8 08019179 */ j .L800645E4
|
|
/* 3F9DC 800645DC 304203FF */ andi $v0, $v0, 0x3ff
|
|
.L800645E0:
|
|
/* 3F9E0 800645E0 308203FF */ andi $v0, $a0, 0x3ff
|
|
.L800645E4:
|
|
/* 3F9E4 800645E4 00021040 */ sll $v0, $v0, 1
|
|
/* 3F9E8 800645E8 3C038009 */ lui $v1, %hi(D_80093DC0)
|
|
/* 3F9EC 800645EC 00621821 */ addu $v1, $v1, $v0
|
|
/* 3F9F0 800645F0 94633DC0 */ lhu $v1, %lo(D_80093DC0)($v1)
|
|
/* 3F9F4 800645F4 30A20800 */ andi $v0, $a1, 0x800
|
|
/* 3F9F8 800645F8 14400003 */ bnez $v0, .L80064608
|
|
/* 3F9FC 800645FC 00031023 */ negu $v0, $v1
|
|
/* 3FA00 80064600 08019183 */ j .L8006460C
|
|
/* 3FA04 80064604 00031400 */ sll $v0, $v1, 0x10
|
|
.L80064608:
|
|
/* 3FA08 80064608 00021400 */ sll $v0, $v0, 0x10
|
|
.L8006460C:
|
|
/* 3FA0C 8006460C 03E00008 */ jr $ra
|
|
/* 3FA10 80064610 00021403 */ sra $v0, $v0, 0x10
|
|
/* 3FA14 80064614 00000000 */ nop
|
|
/* 3FA18 80064618 00000000 */ nop
|
|
/* 3FA1C 8006461C 00000000 */ nop
|