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>
34 lines
1.5 KiB
ArmAsm
34 lines
1.5 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_80029954
|
|
/* 4D54 80029954 27BDFFE0 */ addiu $sp, $sp, -0x20
|
|
/* 4D58 80029958 AFB00010 */ sw $s0, 0x10($sp)
|
|
/* 4D5C 8002995C 2410FFFF */ addiu $s0, $zero, -1
|
|
/* 4D60 80029960 AFB10014 */ sw $s1, 0x14($sp)
|
|
/* 4D64 80029964 24910001 */ addiu $s1, $a0, 1
|
|
/* 4D68 80029968 16200002 */ bnez $s1, .L80029974
|
|
/* 4D6C 8002996C 0211001B */ divu $zero, $s0, $s1
|
|
/* 4D70 80029970 0007000D */ break 7
|
|
.L80029974:
|
|
/* 4D74 80029974 00008012 */ mflo $s0
|
|
/* 4D78 80029978 16000002 */ bnez $s0, .L80029984
|
|
/* 4D7C 8002997C AFBF0018 */ sw $ra, 0x18($sp)
|
|
/* 4D80 80029980 24100001 */ addiu $s0, $zero, 1
|
|
.L80029984:
|
|
/* 4D84 80029984 0C00A630 */ jal func_800298C0
|
|
/* 4D88 80029988 00000000 */ nop
|
|
/* 4D8C 8002998C 16000002 */ bnez $s0, .L80029998
|
|
/* 4D90 80029990 0050001B */ divu $zero, $v0, $s0
|
|
/* 4D94 80029994 0007000D */ break 7
|
|
.L80029998:
|
|
/* 4D98 80029998 00001812 */ mflo $v1
|
|
/* 4D9C 8002999C 0071102B */ sltu $v0, $v1, $s1
|
|
/* 4DA0 800299A0 1040FFF8 */ beqz $v0, .L80029984
|
|
/* 4DA4 800299A4 0060102D */ daddu $v0, $v1, $zero
|
|
/* 4DA8 800299A8 8FBF0018 */ lw $ra, 0x18($sp)
|
|
/* 4DAC 800299AC 8FB10014 */ lw $s1, 0x14($sp)
|
|
/* 4DB0 800299B0 8FB00010 */ lw $s0, 0x10($sp)
|
|
/* 4DB4 800299B4 03E00008 */ jr $ra
|
|
/* 4DB8 800299B8 27BD0020 */ addiu $sp, $sp, 0x20
|