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>
33 lines
1.4 KiB
ArmAsm
33 lines
1.4 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_8004DFF4
|
|
/* 293F4 8004DFF4 0000182D */ daddu $v1, $zero, $zero
|
|
.L8004DFF8:
|
|
/* 293F8 8004DFF8 90A60000 */ lbu $a2, ($a1)
|
|
/* 293FC 8004DFFC 00061600 */ sll $v0, $a2, 0x18
|
|
/* 29400 8004E000 04400007 */ bltz $v0, .L8004E020
|
|
/* 29404 8004E004 24A50001 */ addiu $a1, $a1, 1
|
|
/* 29408 8004E008 00831021 */ addu $v0, $a0, $v1
|
|
/* 2940C 8004E00C A046004C */ sb $a2, 0x4c($v0)
|
|
/* 29410 8004E010 24630001 */ addiu $v1, $v1, 1
|
|
/* 29414 8004E014 28620004 */ slti $v0, $v1, 4
|
|
/* 29418 8004E018 1440FFF7 */ bnez $v0, .L8004DFF8
|
|
/* 2941C 8004E01C 00000000 */ nop
|
|
.L8004E020:
|
|
/* 29420 8004E020 24020004 */ addiu $v0, $zero, 4
|
|
/* 29424 8004E024 00432823 */ subu $a1, $v0, $v1
|
|
/* 29428 8004E028 18A00008 */ blez $a1, .L8004E04C
|
|
/* 2942C 8004E02C 24A5FFFF */ addiu $a1, $a1, -1
|
|
/* 29430 8004E030 240600FF */ addiu $a2, $zero, 0xff
|
|
.L8004E034:
|
|
/* 29434 8004E034 00831021 */ addu $v0, $a0, $v1
|
|
/* 29438 8004E038 A046004C */ sb $a2, 0x4c($v0)
|
|
/* 2943C 8004E03C 24630001 */ addiu $v1, $v1, 1
|
|
/* 29440 8004E040 00A0102D */ daddu $v0, $a1, $zero
|
|
/* 29444 8004E044 1440FFFB */ bnez $v0, .L8004E034
|
|
/* 29448 8004E048 24A5FFFF */ addiu $a1, $a1, -1
|
|
.L8004E04C:
|
|
/* 2944C 8004E04C 03E00008 */ jr $ra
|
|
/* 29450 8004E050 00000000 */ nop
|