mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 08:52:40 +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>
37 lines
1.6 KiB
ArmAsm
37 lines
1.6 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_8004FB80
|
|
/* 2AF80 8004FB80 908200D6 */ lbu $v0, 0xd6($a0)
|
|
/* 2AF84 8004FB84 948600D4 */ lhu $a2, 0xd4($a0)
|
|
/* 2AF88 8004FB88 3044007F */ andi $a0, $v0, 0x7f
|
|
/* 2AF8C 8004FB8C 54800001 */ bnel $a0, $zero, .L8004FB94
|
|
/* 2AF90 8004FB90 00042600 */ sll $a0, $a0, 0x18
|
|
.L8004FB94:
|
|
/* 2AF94 8004FB94 8CA20018 */ lw $v0, 0x18($a1)
|
|
/* 2AF98 8004FB98 10820012 */ beq $a0, $v0, .L8004FBE4
|
|
/* 2AF9C 8004FB9C 00000000 */ nop
|
|
/* 2AFA0 8004FBA0 58C00002 */ blezl $a2, .L8004FBAC
|
|
/* 2AFA4 8004FBA4 24060001 */ addiu $a2, $zero, 1
|
|
/* 2AFA8 8004FBA8 8CA20018 */ lw $v0, 0x18($a1)
|
|
.L8004FBAC:
|
|
/* 2AFAC 8004FBAC 00821023 */ subu $v0, $a0, $v0
|
|
/* 2AFB0 8004FBB0 14C00002 */ bnez $a2, .L8004FBBC
|
|
/* 2AFB4 8004FBB4 0046001A */ div $zero, $v0, $a2
|
|
/* 2AFB8 8004FBB8 0007000D */ break 7
|
|
.L8004FBBC:
|
|
/* 2AFBC 8004FBBC 2401FFFF */ addiu $at, $zero, -1
|
|
/* 2AFC0 8004FBC0 14C10004 */ bne $a2, $at, .L8004FBD4
|
|
/* 2AFC4 8004FBC4 3C018000 */ lui $at, 0x8000
|
|
/* 2AFC8 8004FBC8 14410002 */ bne $v0, $at, .L8004FBD4
|
|
/* 2AFCC 8004FBCC 00000000 */ nop
|
|
/* 2AFD0 8004FBD0 0006000D */ break 6
|
|
.L8004FBD4:
|
|
/* 2AFD4 8004FBD4 00001012 */ mflo $v0
|
|
/* 2AFD8 8004FBD8 ACA60024 */ sw $a2, 0x24($a1)
|
|
/* 2AFDC 8004FBDC ACA40020 */ sw $a0, 0x20($a1)
|
|
/* 2AFE0 8004FBE0 ACA2001C */ sw $v0, 0x1c($a1)
|
|
.L8004FBE4:
|
|
/* 2AFE4 8004FBE4 03E00008 */ jr $ra
|
|
/* 2AFE8 8004FBE8 00000000 */ nop
|