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>
51 lines
2.4 KiB
ArmAsm
51 lines
2.4 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_80264084
|
|
/* 192964 80264084 27BDFFE0 */ addiu $sp, $sp, -0x20
|
|
/* 192968 80264088 AFB00010 */ sw $s0, 0x10($sp)
|
|
/* 19296C 8026408C 0080802D */ daddu $s0, $a0, $zero
|
|
/* 192970 80264090 AFB20018 */ sw $s2, 0x18($sp)
|
|
/* 192974 80264094 00A0902D */ daddu $s2, $a1, $zero
|
|
/* 192978 80264098 AFB10014 */ sw $s1, 0x14($sp)
|
|
/* 19297C 8026409C AFBF001C */ sw $ra, 0x1c($sp)
|
|
/* 192980 802640A0 0C09A75B */ jal get_actor
|
|
/* 192984 802640A4 00C0882D */ daddu $s1, $a2, $zero
|
|
/* 192988 802640A8 0040202D */ daddu $a0, $v0, $zero
|
|
/* 19298C 802640AC 32100700 */ andi $s0, $s0, 0x700
|
|
/* 192990 802640B0 24020100 */ addiu $v0, $zero, 0x100
|
|
/* 192994 802640B4 12020009 */ beq $s0, $v0, .L802640DC
|
|
/* 192998 802640B8 2A020101 */ slti $v0, $s0, 0x101
|
|
/* 19299C 802640BC 50400005 */ beql $v0, $zero, .L802640D4
|
|
/* 1929A0 802640C0 24020200 */ addiu $v0, $zero, 0x200
|
|
/* 1929A4 802640C4 12000007 */ beqz $s0, .L802640E4
|
|
/* 1929A8 802640C8 00000000 */ nop
|
|
/* 1929AC 802640CC 08099044 */ j .L80264110
|
|
/* 1929B0 802640D0 00000000 */ nop
|
|
.L802640D4:
|
|
/* 1929B4 802640D4 1602000E */ bne $s0, $v0, .L80264110
|
|
/* 1929B8 802640D8 00000000 */ nop
|
|
.L802640DC:
|
|
/* 1929BC 802640DC 16400006 */ bnez $s2, .L802640F8
|
|
/* 1929C0 802640E0 00000000 */ nop
|
|
.L802640E4:
|
|
/* 1929C4 802640E4 8C820000 */ lw $v0, ($a0)
|
|
/* 1929C8 802640E8 00111827 */ nor $v1, $zero, $s1
|
|
/* 1929CC 802640EC 00431024 */ and $v0, $v0, $v1
|
|
/* 1929D0 802640F0 08099044 */ j .L80264110
|
|
/* 1929D4 802640F4 AC820000 */ sw $v0, ($a0)
|
|
.L802640F8:
|
|
/* 1929D8 802640F8 0C099117 */ jal get_actor_part
|
|
/* 1929DC 802640FC 0240282D */ daddu $a1, $s2, $zero
|
|
/* 1929E0 80264100 8C430000 */ lw $v1, ($v0)
|
|
/* 1929E4 80264104 00112027 */ nor $a0, $zero, $s1
|
|
/* 1929E8 80264108 00641824 */ and $v1, $v1, $a0
|
|
/* 1929EC 8026410C AC430000 */ sw $v1, ($v0)
|
|
.L80264110:
|
|
/* 1929F0 80264110 8FBF001C */ lw $ra, 0x1c($sp)
|
|
/* 1929F4 80264114 8FB20018 */ lw $s2, 0x18($sp)
|
|
/* 1929F8 80264118 8FB10014 */ lw $s1, 0x14($sp)
|
|
/* 1929FC 8026411C 8FB00010 */ lw $s0, 0x10($sp)
|
|
/* 192A00 80264120 03E00008 */ jr $ra
|
|
/* 192A04 80264124 27BD0020 */ addiu $sp, $sp, 0x20
|