mirror of
https://github.com/pmret/papermario.git
synced 2024-11-15 07:22:29 +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.5 KiB
ArmAsm
33 lines
1.5 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_E004E164
|
|
/* 35BB34 E004E164 27BDFFE8 */ addiu $sp, $sp, -0x18
|
|
/* 35BB38 E004E168 0080282D */ daddu $a1, $a0, $zero
|
|
/* 35BB3C E004E16C AFBF0010 */ sw $ra, 0x10($sp)
|
|
/* 35BB40 E004E170 8CA2000C */ lw $v0, 0xc($a1)
|
|
/* 35BB44 E004E174 3C014100 */ lui $at, 0x4100
|
|
/* 35BB48 E004E178 44810000 */ mtc1 $at, $f0
|
|
/* 35BB4C E004E17C 8C430018 */ lw $v1, 0x18($v0)
|
|
/* 35BB50 E004E180 8C440014 */ lw $a0, 0x14($v0)
|
|
/* 35BB54 E004E184 44831000 */ mtc1 $v1, $f2
|
|
/* 35BB58 E004E188 00000000 */ nop
|
|
/* 35BB5C E004E18C 468010A0 */ cvt.s.w $f2, $f2
|
|
/* 35BB60 E004E190 24630001 */ addiu $v1, $v1, 1
|
|
/* 35BB64 E004E194 46001082 */ mul.s $f2, $f2, $f0
|
|
/* 35BB68 E004E198 00000000 */ nop
|
|
/* 35BB6C E004E19C 2484FFFF */ addiu $a0, $a0, -1
|
|
/* 35BB70 E004E1A0 C440001C */ lwc1 $f0, 0x1c($v0)
|
|
/* 35BB74 E004E1A4 46800020 */ cvt.s.w $f0, $f0
|
|
/* 35BB78 E004E1A8 AC430018 */ sw $v1, 0x18($v0)
|
|
/* 35BB7C E004E1AC AC440014 */ sw $a0, 0x14($v0)
|
|
/* 35BB80 E004E1B0 46001083 */ div.s $f2, $f2, $f0
|
|
/* 35BB84 E004E1B4 04810003 */ bgez $a0, .LE004E1C4
|
|
/* 35BB88 E004E1B8 E4420020 */ swc1 $f2, 0x20($v0)
|
|
/* 35BB8C E004E1BC 0C080128 */ jal func_E02004A0
|
|
/* 35BB90 E004E1C0 00A0202D */ daddu $a0, $a1, $zero
|
|
.LE004E1C4:
|
|
/* 35BB94 E004E1C4 8FBF0010 */ lw $ra, 0x10($sp)
|
|
/* 35BB98 E004E1C8 03E00008 */ jr $ra
|
|
/* 35BB9C E004E1CC 27BD0018 */ addiu $sp, $sp, 0x18
|