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>
38 lines
1.9 KiB
ArmAsm
38 lines
1.9 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_8024ECF8
|
|
/* 17D5D8 8024ECF8 3C028028 */ lui $v0, %hi(D_80280CE0)
|
|
/* 17D5DC 8024ECFC 80420CE0 */ lb $v0, %lo(D_80280CE0)($v0)
|
|
/* 17D5E0 8024ED00 27BDFFE0 */ addiu $sp, $sp, -0x20
|
|
/* 17D5E4 8024ED04 AFB10014 */ sw $s1, 0x14($sp)
|
|
/* 17D5E8 8024ED08 0080882D */ daddu $s1, $a0, $zero
|
|
/* 17D5EC 8024ED0C AFBF0018 */ sw $ra, 0x18($sp)
|
|
/* 17D5F0 8024ED10 AFB00010 */ sw $s0, 0x10($sp)
|
|
/* 17D5F4 8024ED14 8E30000C */ lw $s0, 0xc($s1)
|
|
/* 17D5F8 8024ED18 14400012 */ bnez $v0, .L8024ED64
|
|
/* 17D5FC 8024ED1C 24020002 */ addiu $v0, $zero, 2
|
|
/* 17D600 8024ED20 8E050000 */ lw $a1, ($s0)
|
|
/* 17D604 8024ED24 0C0B1EAF */ jal get_variable
|
|
/* 17D608 8024ED28 26100004 */ addiu $s0, $s0, 4
|
|
/* 17D60C 8024ED2C 3C01802A */ lui $at, %hi(D_8029F2A2)
|
|
/* 17D610 8024ED30 A022F2A2 */ sb $v0, %lo(D_8029F2A2)($at)
|
|
/* 17D614 8024ED34 8E050000 */ lw $a1, ($s0)
|
|
/* 17D618 8024ED38 26100004 */ addiu $s0, $s0, 4
|
|
/* 17D61C 8024ED3C 0C0B1EAF */ jal get_variable
|
|
/* 17D620 8024ED40 0220202D */ daddu $a0, $s1, $zero
|
|
/* 17D624 8024ED44 3C01802A */ lui $at, %hi(D_8029F2A3)
|
|
/* 17D628 8024ED48 A022F2A3 */ sb $v0, %lo(D_8029F2A3)($at)
|
|
/* 17D62C 8024ED4C 8E050000 */ lw $a1, ($s0)
|
|
/* 17D630 8024ED50 0C0B1EAF */ jal get_variable
|
|
/* 17D634 8024ED54 0220202D */ daddu $a0, $s1, $zero
|
|
/* 17D638 8024ED58 3C01802A */ lui $at, %hi(D_8029F2A5)
|
|
/* 17D63C 8024ED5C A022F2A5 */ sb $v0, %lo(D_8029F2A5)($at)
|
|
/* 17D640 8024ED60 24020002 */ addiu $v0, $zero, 2
|
|
.L8024ED64:
|
|
/* 17D644 8024ED64 8FBF0018 */ lw $ra, 0x18($sp)
|
|
/* 17D648 8024ED68 8FB10014 */ lw $s1, 0x14($sp)
|
|
/* 17D64C 8024ED6C 8FB00010 */ lw $s0, 0x10($sp)
|
|
/* 17D650 8024ED70 03E00008 */ jr $ra
|
|
/* 17D654 8024ED74 27BD0020 */ addiu $sp, $sp, 0x20
|