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>
34 lines
1.6 KiB
ArmAsm
34 lines
1.6 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_8003ECD8
|
|
/* 1A0D8 8003ECD8 27BDFFE0 */ addiu $sp, $sp, -0x20
|
|
/* 1A0DC 8003ECDC AFB00010 */ sw $s0, 0x10($sp)
|
|
/* 1A0E0 8003ECE0 00A0802D */ daddu $s0, $a1, $zero
|
|
/* 1A0E4 8003ECE4 2404FFF6 */ addiu $a0, $zero, -0xa
|
|
/* 1A0E8 8003ECE8 AFBF0018 */ sw $ra, 0x18($sp)
|
|
/* 1A0EC 8003ECEC 0C00E9EB */ jal func_8003A7AC
|
|
/* 1A0F0 8003ECF0 AFB10014 */ sw $s1, 0x14($sp)
|
|
/* 1A0F4 8003ECF4 12000004 */ beqz $s0, .L8003ED08
|
|
/* 1A0F8 8003ECF8 0040882D */ daddu $s1, $v0, $zero
|
|
/* 1A0FC 8003ECFC 0C053B59 */ jal func_8014ED64
|
|
/* 1A100 8003ED00 2404024B */ addiu $a0, $zero, 0x24b
|
|
/* 1A104 8003ED04 A22000AC */ sb $zero, 0xac($s1)
|
|
.L8003ED08:
|
|
/* 1A108 8003ED08 922200AC */ lbu $v0, 0xac($s1)
|
|
/* 1A10C 8003ED0C 24420011 */ addiu $v0, $v0, 0x11
|
|
/* 1A110 8003ED10 A22200AC */ sb $v0, 0xac($s1)
|
|
/* 1A114 8003ED14 304200FF */ andi $v0, $v0, 0xff
|
|
/* 1A118 8003ED18 2C4200FF */ sltiu $v0, $v0, 0xff
|
|
/* 1A11C 8003ED1C 14400004 */ bnez $v0, .L8003ED30
|
|
/* 1A120 8003ED20 0000102D */ daddu $v0, $zero, $zero
|
|
/* 1A124 8003ED24 240200FF */ addiu $v0, $zero, 0xff
|
|
/* 1A128 8003ED28 A22200AC */ sb $v0, 0xac($s1)
|
|
/* 1A12C 8003ED2C 24020001 */ addiu $v0, $zero, 1
|
|
.L8003ED30:
|
|
/* 1A130 8003ED30 8FBF0018 */ lw $ra, 0x18($sp)
|
|
/* 1A134 8003ED34 8FB10014 */ lw $s1, 0x14($sp)
|
|
/* 1A138 8003ED38 8FB00010 */ lw $s0, 0x10($sp)
|
|
/* 1A13C 8003ED3C 03E00008 */ jr $ra
|
|
/* 1A140 8003ED40 27BD0020 */ addiu $sp, $sp, 0x20
|