mirror of
https://github.com/pmret/papermario.git
synced 2024-11-14 23:13:10 +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>
43 lines
2.1 KiB
ArmAsm
43 lines
2.1 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_E0024324
|
|
/* 339574 E0024324 3C028007 */ lui $v0, %hi(gGameStatusPtr)
|
|
/* 339578 E0024328 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
|
|
/* 33957C E002432C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
|
/* 339580 E0024330 AFBF0014 */ sw $ra, 0x14($sp)
|
|
/* 339584 E0024334 AFB00010 */ sw $s0, 0x10($sp)
|
|
/* 339588 E0024338 94420134 */ lhu $v0, 0x134($v0)
|
|
/* 33958C E002433C 00021140 */ sll $v0, $v0, 5
|
|
/* 339590 E0024340 00451021 */ addu $v0, $v0, $a1
|
|
/* 339594 E0024344 44826000 */ mtc1 $v0, $f12
|
|
/* 339598 E0024348 00000000 */ nop
|
|
/* 33959C E002434C 46806320 */ cvt.s.w $f12, $f12
|
|
/* 3395A0 E0024350 0C080140 */ jal func_E0200500
|
|
/* 3395A4 E0024354 0080802D */ daddu $s0, $a0, $zero
|
|
/* 3395A8 E0024358 240200FF */ addiu $v0, $zero, 0xff
|
|
/* 3395AC E002435C 00501023 */ subu $v0, $v0, $s0
|
|
/* 3395B0 E0024360 44821000 */ mtc1 $v0, $f2
|
|
/* 3395B4 E0024364 00000000 */ nop
|
|
/* 3395B8 E0024368 468010A0 */ cvt.s.w $f2, $f2
|
|
/* 3395BC E002436C 46020002 */ mul.s $f0, $f0, $f2
|
|
/* 3395C0 E0024370 00000000 */ nop
|
|
/* 3395C4 E0024374 46020000 */ add.s $f0, $f0, $f2
|
|
/* 3395C8 E0024378 3C013FE0 */ lui $at, 0x3fe0
|
|
/* 3395CC E002437C 44811800 */ mtc1 $at, $f3
|
|
/* 3395D0 E0024380 44801000 */ mtc1 $zero, $f2
|
|
/* 3395D4 E0024384 46000021 */ cvt.d.s $f0, $f0
|
|
/* 3395D8 E0024388 46220002 */ mul.d $f0, $f0, $f2
|
|
/* 3395DC E002438C 00000000 */ nop
|
|
/* 3395E0 E0024390 44901000 */ mtc1 $s0, $f2
|
|
/* 3395E4 E0024394 00000000 */ nop
|
|
/* 3395E8 E0024398 468010A1 */ cvt.d.w $f2, $f2
|
|
/* 3395EC E002439C 46220000 */ add.d $f0, $f0, $f2
|
|
/* 3395F0 E00243A0 8FBF0014 */ lw $ra, 0x14($sp)
|
|
/* 3395F4 E00243A4 8FB00010 */ lw $s0, 0x10($sp)
|
|
/* 3395F8 E00243A8 46200020 */ cvt.s.d $f0, $f0
|
|
/* 3395FC E00243AC 4600010D */ trunc.w.s $f4, $f0
|
|
/* 339600 E00243B0 44022000 */ mfc1 $v0, $f4
|
|
/* 339604 E00243B4 03E00008 */ jr $ra
|
|
/* 339608 E00243B8 27BD0018 */ addiu $sp, $sp, 0x18
|