mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 17:02:46 +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>
43 lines
2.0 KiB
ArmAsm
43 lines
2.0 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_80069624
|
|
/* 44A24 80069624 27BDFFF0 */ addiu $sp, $sp, -0x10
|
|
/* 44A28 80069628 00A03821 */ addu $a3, $a1, $zero
|
|
/* 44A2C 8006962C 3C06800E */ lui $a2, %hi(D_800D9FE0)
|
|
/* 44A30 80069630 24C69FE0 */ addiu $a2, $a2, %lo(D_800D9FE0)
|
|
/* 44A34 80069634 18800005 */ blez $a0, .L8006964C
|
|
/* 44A38 80069638 00001821 */ addu $v1, $zero, $zero
|
|
.L8006963C:
|
|
/* 44A3C 8006963C 24630001 */ addiu $v1, $v1, 1
|
|
/* 44A40 80069640 0064102A */ slt $v0, $v1, $a0
|
|
/* 44A44 80069644 1440FFFD */ bnez $v0, .L8006963C
|
|
/* 44A48 80069648 24C60001 */ addiu $a2, $a2, 1
|
|
.L8006964C:
|
|
/* 44A4C 8006964C 88C20000 */ lwl $v0, ($a2)
|
|
/* 44A50 80069650 98C20003 */ lwr $v0, 3($a2)
|
|
/* 44A54 80069654 80C30004 */ lb $v1, 4($a2)
|
|
/* 44A58 80069658 80C40005 */ lb $a0, 5($a2)
|
|
/* 44A5C 8006965C ABA20000 */ swl $v0, ($sp)
|
|
/* 44A60 80069660 BBA20003 */ swr $v0, 3($sp)
|
|
/* 44A64 80069664 A3A30004 */ sb $v1, 4($sp)
|
|
/* 44A68 80069668 A3A40005 */ sb $a0, 5($sp)
|
|
/* 44A6C 8006966C 93A20001 */ lbu $v0, 1($sp)
|
|
/* 44A70 80069670 304200C0 */ andi $v0, $v0, 0xc0
|
|
/* 44A74 80069674 00021102 */ srl $v0, $v0, 4
|
|
/* 44A78 80069678 14400008 */ bnez $v0, .L8006969C
|
|
/* 44A7C 8006967C A0E20003 */ sb $v0, 3($a3)
|
|
/* 44A80 80069680 93A20004 */ lbu $v0, 4($sp)
|
|
/* 44A84 80069684 93A30003 */ lbu $v1, 3($sp)
|
|
/* 44A88 80069688 00021200 */ sll $v0, $v0, 8
|
|
/* 44A8C 8006968C 00621825 */ or $v1, $v1, $v0
|
|
/* 44A90 80069690 A4E30000 */ sh $v1, ($a3)
|
|
/* 44A94 80069694 93A20005 */ lbu $v0, 5($sp)
|
|
/* 44A98 80069698 A0E20002 */ sb $v0, 2($a3)
|
|
.L8006969C:
|
|
/* 44A9C 8006969C 03E00008 */ jr $ra
|
|
/* 44AA0 800696A0 27BD0010 */ addiu $sp, $sp, 0x10
|
|
/* 44AA4 800696A4 00000000 */ nop
|
|
/* 44AA8 800696A8 00000000 */ nop
|
|
/* 44AAC 800696AC 00000000 */ nop
|