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>
46 lines
2.0 KiB
ArmAsm
46 lines
2.0 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_8003EA28
|
|
/* 19E28 8003EA28 3C03800B */ lui $v1, %hi(D_800B0EF0)
|
|
/* 19E2C 8003EA2C 24630EF0 */ addiu $v1, $v1, %lo(D_800B0EF0)
|
|
/* 19E30 8003EA30 8062001C */ lb $v0, 0x1c($v1)
|
|
/* 19E34 8003EA34 1840001A */ blez $v0, .L8003EAA0
|
|
/* 19E38 8003EA38 0000382D */ daddu $a3, $zero, $zero
|
|
/* 19E3C 8003EA3C 0040502D */ daddu $t2, $v0, $zero
|
|
/* 19E40 8003EA40 0060482D */ daddu $t1, $v1, $zero
|
|
.L8003EA44:
|
|
/* 19E44 8003EA44 8D220028 */ lw $v0, 0x28($t1)
|
|
/* 19E48 8003EA48 50400012 */ beql $v0, $zero, .L8003EA94
|
|
/* 19E4C 8003EA4C 24E70001 */ addiu $a3, $a3, 1
|
|
/* 19E50 8003EA50 8C430000 */ lw $v1, ($v0)
|
|
/* 19E54 8003EA54 1860000E */ blez $v1, .L8003EA90
|
|
/* 19E58 8003EA58 0000302D */ daddu $a2, $zero, $zero
|
|
/* 19E5C 8003EA5C 0060402D */ daddu $t0, $v1, $zero
|
|
/* 19E60 8003EA60 0040282D */ daddu $a1, $v0, $zero
|
|
.L8003EA64:
|
|
/* 19E64 8003EA64 8CA30004 */ lw $v1, 4($a1)
|
|
/* 19E68 8003EA68 10600006 */ beqz $v1, .L8003EA84
|
|
/* 19E6C 8003EA6C 24C60001 */ addiu $a2, $a2, 1
|
|
/* 19E70 8003EA70 84620008 */ lh $v0, 8($v1)
|
|
/* 19E74 8003EA74 14440004 */ bne $v0, $a0, .L8003EA88
|
|
/* 19E78 8003EA78 00C8102A */ slt $v0, $a2, $t0
|
|
/* 19E7C 8003EA7C 03E00008 */ jr $ra
|
|
/* 19E80 8003EA80 0060102D */ daddu $v0, $v1, $zero
|
|
.L8003EA84:
|
|
/* 19E84 8003EA84 00C8102A */ slt $v0, $a2, $t0
|
|
.L8003EA88:
|
|
/* 19E88 8003EA88 1440FFF6 */ bnez $v0, .L8003EA64
|
|
/* 19E8C 8003EA8C 24A50004 */ addiu $a1, $a1, 4
|
|
.L8003EA90:
|
|
/* 19E90 8003EA90 24E70001 */ addiu $a3, $a3, 1
|
|
.L8003EA94:
|
|
/* 19E94 8003EA94 00EA102A */ slt $v0, $a3, $t2
|
|
/* 19E98 8003EA98 1440FFEA */ bnez $v0, .L8003EA44
|
|
/* 19E9C 8003EA9C 25290004 */ addiu $t1, $t1, 4
|
|
.L8003EAA0:
|
|
/* 19EA0 8003EAA0 03E00008 */ jr $ra
|
|
/* 19EA4 8003EAA4 0000102D */ daddu $v0, $zero, $zero
|
|
/* 19EA8 8003EAA8 00000000 */ nop
|
|
/* 19EAC 8003EAAC 00000000 */ nop
|