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>
27 lines
1.1 KiB
ArmAsm
27 lines
1.1 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_80266F8C
|
|
/* 19586C 80266F8C 8C8401F4 */ lw $a0, 0x1f4($a0)
|
|
/* 195870 80266F90 1080000F */ beqz $a0, .L80266FD0
|
|
/* 195874 80266F94 3C060010 */ lui $a2, 0x10
|
|
/* 195878 80266F98 34C60001 */ ori $a2, $a2, 1
|
|
.L80266F9C:
|
|
/* 19587C 80266F9C 8C8500C0 */ lw $a1, 0xc0($a0)
|
|
/* 195880 80266FA0 8C830000 */ lw $v1, ($a0)
|
|
/* 195884 80266FA4 00661024 */ and $v0, $v1, $a2
|
|
/* 195888 80266FA8 14400006 */ bnez $v0, .L80266FC4
|
|
/* 19588C 80266FAC 00000000 */ nop
|
|
/* 195890 80266FB0 8C820094 */ lw $v0, 0x94($a0)
|
|
/* 195894 80266FB4 10400003 */ beqz $v0, .L80266FC4
|
|
/* 195898 80266FB8 30620002 */ andi $v0, $v1, 2
|
|
/* 19589C 80266FBC 50400001 */ beql $v0, $zero, .L80266FC4
|
|
/* 1958A0 80266FC0 A0A00750 */ sb $zero, 0x750($a1)
|
|
.L80266FC4:
|
|
/* 1958A4 80266FC4 8C84000C */ lw $a0, 0xc($a0)
|
|
/* 1958A8 80266FC8 1480FFF4 */ bnez $a0, .L80266F9C
|
|
/* 1958AC 80266FCC 00000000 */ nop
|
|
.L80266FD0:
|
|
/* 1958B0 80266FD0 03E00008 */ jr $ra
|
|
/* 1958B4 80266FD4 00000000 */ nop
|