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>
51 lines
2.4 KiB
ArmAsm
51 lines
2.4 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_8002A1F4
|
|
/* 55F4 8002A1F4 3C014336 */ lui $at, 0x4336
|
|
/* 55F8 8002A1F8 34210B61 */ ori $at, $at, 0xb61
|
|
/* 55FC 8002A1FC 44810000 */ mtc1 $at, $f0
|
|
/* 5600 8002A200 27BDFFD8 */ addiu $sp, $sp, -0x28
|
|
/* 5604 8002A204 AFB10014 */ sw $s1, 0x14($sp)
|
|
/* 5608 8002A208 00A0882D */ daddu $s1, $a1, $zero
|
|
/* 560C 8002A20C AFB20018 */ sw $s2, 0x18($sp)
|
|
/* 5610 8002A210 46006302 */ mul.s $f12, $f12, $f0
|
|
/* 5614 8002A214 00000000 */ nop
|
|
/* 5618 8002A218 AFBF001C */ sw $ra, 0x1c($sp)
|
|
/* 561C 8002A21C AFB00010 */ sw $s0, 0x10($sp)
|
|
/* 5620 8002A220 F7B40020 */ sdc1 $f20, 0x20($sp)
|
|
/* 5624 8002A224 0C00A7FD */ jal func_80029FF4
|
|
/* 5628 8002A228 00C0902D */ daddu $s2, $a2, $zero
|
|
/* 562C 8002A22C 3050FFFF */ andi $s0, $v0, 0xffff
|
|
/* 5630 8002A230 0C019170 */ jal func_800645C0
|
|
/* 5634 8002A234 0200202D */ daddu $a0, $s0, $zero
|
|
/* 5638 8002A238 00021400 */ sll $v0, $v0, 0x10
|
|
/* 563C 8002A23C 00021403 */ sra $v0, $v0, 0x10
|
|
/* 5640 8002A240 3C018009 */ lui $at, %hi(D_80097D58)
|
|
/* 5644 8002A244 D4347D58 */ ldc1 $f20, %lo(D_80097D58)($at)
|
|
/* 5648 8002A248 44820000 */ mtc1 $v0, $f0
|
|
/* 564C 8002A24C 00000000 */ nop
|
|
/* 5650 8002A250 46800021 */ cvt.d.w $f0, $f0
|
|
/* 5654 8002A254 46340002 */ mul.d $f0, $f0, $f20
|
|
/* 5658 8002A258 00000000 */ nop
|
|
/* 565C 8002A25C 0200202D */ daddu $a0, $s0, $zero
|
|
/* 5660 8002A260 46200020 */ cvt.s.d $f0, $f0
|
|
/* 5664 8002A264 0C0187B4 */ jal func_80061ED0
|
|
/* 5668 8002A268 E6200000 */ swc1 $f0, ($s1)
|
|
/* 566C 8002A26C 00021400 */ sll $v0, $v0, 0x10
|
|
/* 5670 8002A270 00021403 */ sra $v0, $v0, 0x10
|
|
/* 5674 8002A274 44820000 */ mtc1 $v0, $f0
|
|
/* 5678 8002A278 00000000 */ nop
|
|
/* 567C 8002A27C 46800021 */ cvt.d.w $f0, $f0
|
|
/* 5680 8002A280 46340002 */ mul.d $f0, $f0, $f20
|
|
/* 5684 8002A284 00000000 */ nop
|
|
/* 5688 8002A288 46200020 */ cvt.s.d $f0, $f0
|
|
/* 568C 8002A28C E6400000 */ swc1 $f0, ($s2)
|
|
/* 5690 8002A290 8FBF001C */ lw $ra, 0x1c($sp)
|
|
/* 5694 8002A294 8FB20018 */ lw $s2, 0x18($sp)
|
|
/* 5698 8002A298 8FB10014 */ lw $s1, 0x14($sp)
|
|
/* 569C 8002A29C 8FB00010 */ lw $s0, 0x10($sp)
|
|
/* 56A0 8002A2A0 D7B40020 */ ldc1 $f20, 0x20($sp)
|
|
/* 56A4 8002A2A4 03E00008 */ jr $ra
|
|
/* 56A8 8002A2A8 27BD0028 */ addiu $sp, $sp, 0x28
|