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>
30 lines
1.2 KiB
ArmAsm
30 lines
1.2 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_80029A84
|
|
/* 4E84 80029A84 44800000 */ mtc1 $zero, $f0
|
|
/* 4E88 80029A88 00000000 */ nop
|
|
/* 4E8C 80029A8C 460C003E */ c.le.s $f0, $f12
|
|
/* 4E90 80029A90 00000000 */ nop
|
|
/* 4E94 80029A94 4502000A */ bc1fl .L80029AC0
|
|
/* 4E98 80029A98 460060A1 */ cvt.d.s $f2, $f12
|
|
/* 4E9C 80029A9C 3C013FE0 */ lui $at, 0x3fe0
|
|
/* 4EA0 80029AA0 44811800 */ mtc1 $at, $f3
|
|
/* 4EA4 80029AA4 44801000 */ mtc1 $zero, $f2
|
|
/* 4EA8 80029AA8 46006021 */ cvt.d.s $f0, $f12
|
|
/* 4EAC 80029AAC 46220000 */ add.d $f0, $f0, $f2
|
|
/* 4EB0 80029AB0 4620010D */ trunc.w.d $f4, $f0
|
|
/* 4EB4 80029AB4 44022000 */ mfc1 $v0, $f4
|
|
/* 4EB8 80029AB8 03E00008 */ jr $ra
|
|
/* 4EBC 80029ABC 00000000 */ nop
|
|
.L80029AC0:
|
|
/* 4EC0 80029AC0 3C013FE0 */ lui $at, 0x3fe0
|
|
/* 4EC4 80029AC4 44810800 */ mtc1 $at, $f1
|
|
/* 4EC8 80029AC8 44800000 */ mtc1 $zero, $f0
|
|
/* 4ECC 80029ACC 00000000 */ nop
|
|
/* 4ED0 80029AD0 46220001 */ sub.d $f0, $f0, $f2
|
|
/* 4ED4 80029AD4 4620010D */ trunc.w.d $f4, $f0
|
|
/* 4ED8 80029AD8 44022000 */ mfc1 $v0, $f4
|
|
/* 4EDC 80029ADC 03E00008 */ jr $ra
|
|
/* 4EE0 80029AE0 00021023 */ negu $v0, $v0
|