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>
51 lines
2.6 KiB
ArmAsm
51 lines
2.6 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_80065920
|
|
/* 40D20 80065920 27BDFFD8 */ addiu $sp, $sp, -0x28
|
|
/* 40D24 80065924 AFB00010 */ sw $s0, 0x10($sp)
|
|
/* 40D28 80065928 00808021 */ addu $s0, $a0, $zero
|
|
/* 40D2C 8006592C AFB10014 */ sw $s1, 0x14($sp)
|
|
/* 40D30 80065930 00A08821 */ addu $s1, $a1, $zero
|
|
/* 40D34 80065934 AFB20018 */ sw $s2, 0x18($sp)
|
|
/* 40D38 80065938 00C09021 */ addu $s2, $a2, $zero
|
|
/* 40D3C 8006593C AFBF0020 */ sw $ra, 0x20($sp)
|
|
/* 40D40 80065940 0C01ACD0 */ jal func_8006B340
|
|
/* 40D44 80065944 AFB3001C */ sw $s3, 0x1c($sp)
|
|
/* 40D48 80065948 001018C0 */ sll $v1, $s0, 3
|
|
/* 40D4C 8006594C 3C04800E */ lui $a0, %hi(D_800D9F60)
|
|
/* 40D50 80065950 24849F60 */ addiu $a0, $a0, %lo(D_800D9F60)
|
|
/* 40D54 80065954 00641821 */ addu $v1, $v1, $a0
|
|
/* 40D58 80065958 00409821 */ addu $s3, $v0, $zero
|
|
/* 40D5C 8006595C 2402000E */ addiu $v0, $zero, 0xe
|
|
/* 40D60 80065960 AC710000 */ sw $s1, ($v1)
|
|
/* 40D64 80065964 16020010 */ bne $s0, $v0, .L800659A8
|
|
/* 40D68 80065968 AC720004 */ sw $s2, 4($v1)
|
|
/* 40D6C 8006596C 3C028009 */ lui $v0, %hi(D_8009588C)
|
|
/* 40D70 80065970 8C42588C */ lw $v0, %lo(D_8009588C)($v0)
|
|
/* 40D74 80065974 1040000A */ beqz $v0, .L800659A0
|
|
/* 40D78 80065978 24020001 */ addiu $v0, $zero, 1
|
|
/* 40D7C 8006597C 3C028009 */ lui $v0, %hi(D_80094610)
|
|
/* 40D80 80065980 8C424610 */ lw $v0, %lo(D_80094610)($v0)
|
|
/* 40D84 80065984 14400006 */ bnez $v0, .L800659A0
|
|
/* 40D88 80065988 24020001 */ addiu $v0, $zero, 1
|
|
/* 40D8C 8006598C 02202021 */ addu $a0, $s1, $zero
|
|
/* 40D90 80065990 02402821 */ addu $a1, $s2, $zero
|
|
/* 40D94 80065994 0C0195FC */ jal func_800657F0
|
|
/* 40D98 80065998 00003021 */ addu $a2, $zero, $zero
|
|
/* 40D9C 8006599C 24020001 */ addiu $v0, $zero, 1
|
|
.L800659A0:
|
|
/* 40DA0 800659A0 3C018009 */ lui $at, %hi(D_80094610)
|
|
/* 40DA4 800659A4 AC224610 */ sw $v0, %lo(D_80094610)($at)
|
|
.L800659A8:
|
|
/* 40DA8 800659A8 0C01ACEC */ jal func_8006B3B0
|
|
/* 40DAC 800659AC 02602021 */ addu $a0, $s3, $zero
|
|
/* 40DB0 800659B0 8FBF0020 */ lw $ra, 0x20($sp)
|
|
/* 40DB4 800659B4 8FB3001C */ lw $s3, 0x1c($sp)
|
|
/* 40DB8 800659B8 8FB20018 */ lw $s2, 0x18($sp)
|
|
/* 40DBC 800659BC 8FB10014 */ lw $s1, 0x14($sp)
|
|
/* 40DC0 800659C0 8FB00010 */ lw $s0, 0x10($sp)
|
|
/* 40DC4 800659C4 03E00008 */ jr $ra
|
|
/* 40DC8 800659C8 27BD0028 */ addiu $sp, $sp, 0x28
|
|
/* 40DCC 800659CC 00000000 */ nop
|