mirror of
https://github.com/pmret/papermario.git
synced 2024-11-19 01:12:28 +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>
64 lines
3.2 KiB
ArmAsm
64 lines
3.2 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_8002B828
|
|
/* 6C28 8002B828 27BDFF90 */ addiu $sp, $sp, -0x70
|
|
/* 6C2C 8002B82C AFB40060 */ sw $s4, 0x60($sp)
|
|
/* 6C30 8002B830 0080A02D */ daddu $s4, $a0, $zero
|
|
/* 6C34 8002B834 AFB10054 */ sw $s1, 0x54($sp)
|
|
/* 6C38 8002B838 00C0882D */ daddu $s1, $a2, $zero
|
|
/* 6C3C 8002B83C AFB20058 */ sw $s2, 0x58($sp)
|
|
/* 6C40 8002B840 00A0902D */ daddu $s2, $a1, $zero
|
|
/* 6C44 8002B844 0240202D */ daddu $a0, $s2, $zero
|
|
/* 6C48 8002B848 0220282D */ daddu $a1, $s1, $zero
|
|
/* 6C4C 8002B84C AFBF006C */ sw $ra, 0x6c($sp)
|
|
/* 6C50 8002B850 AFB60068 */ sw $s6, 0x68($sp)
|
|
/* 6C54 8002B854 AFB50064 */ sw $s5, 0x64($sp)
|
|
/* 6C58 8002B858 AFB3005C */ sw $s3, 0x5c($sp)
|
|
/* 6C5C 8002B85C 0C0185BC */ jal func_800616F0
|
|
/* 6C60 8002B860 AFB00050 */ sw $s0, 0x50($sp)
|
|
/* 6C64 8002B864 27B00030 */ addiu $s0, $sp, 0x30
|
|
/* 6C68 8002B868 0200202D */ daddu $a0, $s0, $zero
|
|
/* 6C6C 8002B86C 27A50048 */ addiu $a1, $sp, 0x48
|
|
/* 6C70 8002B870 0C019554 */ jal func_80065550
|
|
/* 6C74 8002B874 24060001 */ addiu $a2, $zero, 1
|
|
/* 6C78 8002B878 12200018 */ beqz $s1, .L8002B8DC
|
|
/* 6C7C 8002B87C 0000982D */ daddu $s3, $zero, $zero
|
|
/* 6C80 8002B880 0014A9C0 */ sll $s5, $s4, 7
|
|
/* 6C84 8002B884 24160001 */ addiu $s6, $zero, 1
|
|
/* 6C88 8002B888 0200A02D */ daddu $s4, $s0, $zero
|
|
.L8002B88C:
|
|
/* 6C8C 8002B88C 2E220081 */ sltiu $v0, $s1, 0x81
|
|
/* 6C90 8002B890 14400002 */ bnez $v0, .L8002B89C
|
|
/* 6C94 8002B894 0220802D */ daddu $s0, $s1, $zero
|
|
/* 6C98 8002B898 24100080 */ addiu $s0, $zero, 0x80
|
|
.L8002B89C:
|
|
/* 6C9C 8002B89C 27A40018 */ addiu $a0, $sp, 0x18
|
|
/* 6CA0 8002B8A0 0000282D */ daddu $a1, $zero, $zero
|
|
/* 6CA4 8002B8A4 3266FFFF */ andi $a2, $s3, 0xffff
|
|
/* 6CA8 8002B8A8 02A63021 */ addu $a2, $s5, $a2
|
|
/* 6CAC 8002B8AC 0240382D */ daddu $a3, $s2, $zero
|
|
/* 6CB0 8002B8B0 AFB60010 */ sw $s6, 0x10($sp)
|
|
/* 6CB4 8002B8B4 0C01BDCF */ jal func_8006F73C
|
|
/* 6CB8 8002B8B8 AFB40014 */ sw $s4, 0x14($sp)
|
|
/* 6CBC 8002B8BC 0280202D */ daddu $a0, $s4, $zero
|
|
/* 6CC0 8002B8C0 0000282D */ daddu $a1, $zero, $zero
|
|
/* 6CC4 8002B8C4 0C0195B0 */ jal func_800656C0
|
|
/* 6CC8 8002B8C8 24060001 */ addiu $a2, $zero, 1
|
|
/* 6CCC 8002B8CC 26730001 */ addiu $s3, $s3, 1
|
|
/* 6CD0 8002B8D0 02308823 */ subu $s1, $s1, $s0
|
|
/* 6CD4 8002B8D4 1620FFED */ bnez $s1, .L8002B88C
|
|
/* 6CD8 8002B8D8 02509021 */ addu $s2, $s2, $s0
|
|
.L8002B8DC:
|
|
/* 6CDC 8002B8DC 8FBF006C */ lw $ra, 0x6c($sp)
|
|
/* 6CE0 8002B8E0 8FB60068 */ lw $s6, 0x68($sp)
|
|
/* 6CE4 8002B8E4 8FB50064 */ lw $s5, 0x64($sp)
|
|
/* 6CE8 8002B8E8 8FB40060 */ lw $s4, 0x60($sp)
|
|
/* 6CEC 8002B8EC 8FB3005C */ lw $s3, 0x5c($sp)
|
|
/* 6CF0 8002B8F0 8FB20058 */ lw $s2, 0x58($sp)
|
|
/* 6CF4 8002B8F4 8FB10054 */ lw $s1, 0x54($sp)
|
|
/* 6CF8 8002B8F8 8FB00050 */ lw $s0, 0x50($sp)
|
|
/* 6CFC 8002B8FC 24020001 */ addiu $v0, $zero, 1
|
|
/* 6D00 8002B900 03E00008 */ jr $ra
|
|
/* 6D04 8002B904 27BD0070 */ addiu $sp, $sp, 0x70
|