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>
31 lines
1.5 KiB
ArmAsm
31 lines
1.5 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_80045BC8
|
|
/* 20FC8 80045BC8 27BDFFE0 */ addiu $sp, $sp, -0x20
|
|
/* 20FCC 80045BCC AFB10014 */ sw $s1, 0x14($sp)
|
|
/* 20FD0 80045BD0 0000882D */ daddu $s1, $zero, $zero
|
|
/* 20FD4 80045BD4 AFB00010 */ sw $s0, 0x10($sp)
|
|
/* 20FD8 80045BD8 3C10800A */ lui $s0, %hi(D_800A0BC0)
|
|
/* 20FDC 80045BDC 26100BC0 */ addiu $s0, $s0, %lo(D_800A0BC0)
|
|
/* 20FE0 80045BE0 AFBF0018 */ sw $ra, 0x18($sp)
|
|
.L80045BE4:
|
|
/* 20FE4 80045BE4 86020010 */ lh $v0, 0x10($s0)
|
|
/* 20FE8 80045BE8 50400007 */ beql $v0, $zero, .L80045C08
|
|
/* 20FEC 80045BEC 26310001 */ addiu $s1, $s1, 1
|
|
/* 20FF0 80045BF0 8E020008 */ lw $v0, 8($s0)
|
|
/* 20FF4 80045BF4 50400004 */ beql $v0, $zero, .L80045C08
|
|
/* 20FF8 80045BF8 26310001 */ addiu $s1, $s1, 1
|
|
/* 20FFC 80045BFC 0040F809 */ jalr $v0
|
|
/* 21000 80045C00 0200202D */ daddu $a0, $s0, $zero
|
|
/* 21004 80045C04 26310001 */ addiu $s1, $s1, 1
|
|
.L80045C08:
|
|
/* 21008 80045C08 2A220020 */ slti $v0, $s1, 0x20
|
|
/* 2100C 80045C0C 1440FFF5 */ bnez $v0, .L80045BE4
|
|
/* 21010 80045C10 2610001C */ addiu $s0, $s0, 0x1c
|
|
/* 21014 80045C14 8FBF0018 */ lw $ra, 0x18($sp)
|
|
/* 21018 80045C18 8FB10014 */ lw $s1, 0x14($sp)
|
|
/* 2101C 80045C1C 8FB00010 */ lw $s0, 0x10($sp)
|
|
/* 21020 80045C20 03E00008 */ jr $ra
|
|
/* 21024 80045C24 27BD0020 */ addiu $sp, $sp, 0x20
|