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>
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_802436F0
|
|
/* 163F50 802436F0 3C028016 */ lui $v0, %hi(gUIPanels)
|
|
/* 163F54 802436F4 24429D50 */ addiu $v0, $v0, %lo(gUIPanels)
|
|
/* 163F58 802436F8 00042140 */ sll $a0, $a0, 5
|
|
/* 163F5C 802436FC 00822021 */ addu $a0, $a0, $v0
|
|
/* 163F60 80243700 9083001C */ lbu $v1, 0x1c($a0)
|
|
/* 163F64 80243704 2862000A */ slti $v0, $v1, 0xa
|
|
/* 163F68 80243708 10400008 */ beqz $v0, .L8024372C
|
|
/* 163F6C 8024370C 00031040 */ sll $v0, $v1, 1
|
|
/* 163F70 80243710 3C038025 */ lui $v1, %hi(D_80249CB8)
|
|
/* 163F74 80243714 00621821 */ addu $v1, $v1, $v0
|
|
/* 163F78 80243718 84639CB8 */ lh $v1, %lo(D_80249CB8)($v1)
|
|
/* 163F7C 8024371C 8CC20000 */ lw $v0, ($a2)
|
|
/* 163F80 80243720 00431023 */ subu $v0, $v0, $v1
|
|
/* 163F84 80243724 03E00008 */ jr $ra
|
|
/* 163F88 80243728 ACC20000 */ sw $v0, ($a2)
|
|
.L8024372C:
|
|
/* 163F8C 8024372C 3C028025 */ lui $v0, %hi(D_80249CCA)
|
|
/* 163F90 80243730 84429CCA */ lh $v0, %lo(D_80249CCA)($v0)
|
|
/* 163F94 80243734 8CC30000 */ lw $v1, ($a2)
|
|
/* 163F98 80243738 00621823 */ subu $v1, $v1, $v0
|
|
/* 163F9C 8024373C ACC30000 */ sw $v1, ($a2)
|
|
/* 163FA0 80243740 90820000 */ lbu $v0, ($a0)
|
|
/* 163FA4 80243744 304200F7 */ andi $v0, $v0, 0xf7
|
|
/* 163FA8 80243748 34420004 */ ori $v0, $v0, 4
|
|
/* 163FAC 8024374C 03E00008 */ jr $ra
|
|
/* 163FB0 80243750 A0820000 */ sb $v0, ($a0)
|