mirror of
https://github.com/pmret/papermario.git
synced 2024-11-14 15:03:25 +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.8 KiB
ArmAsm
38 lines
1.8 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_80266EE8
|
|
/* 1957C8 80266EE8 27BDFFE0 */ addiu $sp, $sp, -0x20
|
|
/* 1957CC 80266EEC AFBF001C */ sw $ra, 0x1c($sp)
|
|
/* 1957D0 80266EF0 AFB20018 */ sw $s2, 0x18($sp)
|
|
/* 1957D4 80266EF4 AFB10014 */ sw $s1, 0x14($sp)
|
|
/* 1957D8 80266EF8 AFB00010 */ sw $s0, 0x10($sp)
|
|
/* 1957DC 80266EFC 8C9001F4 */ lw $s0, 0x1f4($a0)
|
|
/* 1957E0 80266F00 12000011 */ beqz $s0, .L80266F48
|
|
/* 1957E4 80266F04 00A0902D */ daddu $s2, $a1, $zero
|
|
/* 1957E8 80266F08 3C110010 */ lui $s1, 0x10
|
|
/* 1957EC 80266F0C 36310001 */ ori $s1, $s1, 1
|
|
.L80266F10:
|
|
/* 1957F0 80266F10 8E030000 */ lw $v1, ($s0)
|
|
/* 1957F4 80266F14 00711024 */ and $v0, $v1, $s1
|
|
/* 1957F8 80266F18 14400008 */ bnez $v0, .L80266F3C
|
|
/* 1957FC 80266F1C 00000000 */ nop
|
|
/* 195800 80266F20 8E020094 */ lw $v0, 0x94($s0)
|
|
/* 195804 80266F24 10400005 */ beqz $v0, .L80266F3C
|
|
/* 195808 80266F28 30620002 */ andi $v0, $v1, 2
|
|
/* 19580C 80266F2C 14400003 */ bnez $v0, .L80266F3C
|
|
/* 195810 80266F30 0200202D */ daddu $a0, $s0, $zero
|
|
/* 195814 80266F34 0C099BAA */ jal func_80266EA8
|
|
/* 195818 80266F38 0240282D */ daddu $a1, $s2, $zero
|
|
.L80266F3C:
|
|
/* 19581C 80266F3C 8E10000C */ lw $s0, 0xc($s0)
|
|
/* 195820 80266F40 1600FFF3 */ bnez $s0, .L80266F10
|
|
/* 195824 80266F44 00000000 */ nop
|
|
.L80266F48:
|
|
/* 195828 80266F48 8FBF001C */ lw $ra, 0x1c($sp)
|
|
/* 19582C 80266F4C 8FB20018 */ lw $s2, 0x18($sp)
|
|
/* 195830 80266F50 8FB10014 */ lw $s1, 0x14($sp)
|
|
/* 195834 80266F54 8FB00010 */ lw $s0, 0x10($sp)
|
|
/* 195838 80266F58 03E00008 */ jr $ra
|
|
/* 19583C 80266F5C 27BD0020 */ addiu $sp, $sp, 0x20
|