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>
48 lines
2.4 KiB
ArmAsm
48 lines
2.4 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_800352E0
|
|
/* 106E0 800352E0 27BDFFE0 */ addiu $sp, $sp, -0x20
|
|
/* 106E4 800352E4 AFBF0018 */ sw $ra, 0x18($sp)
|
|
/* 106E8 800352E8 3C01800A */ lui $at, %hi(D_8009E741)
|
|
/* 106EC 800352EC A020E741 */ sb $zero, %lo(D_8009E741)($at)
|
|
/* 106F0 800352F0 3C01800A */ lui $at, %hi(D_8009E742)
|
|
/* 106F4 800352F4 A420E742 */ sh $zero, %lo(D_8009E742)($at)
|
|
/* 106F8 800352F8 3C01800A */ lui $at, %hi(D_8009E740)
|
|
/* 106FC 800352FC A020E740 */ sb $zero, %lo(D_8009E740)($at)
|
|
/* 10700 80035300 0C0910E5 */ jal func_80244394
|
|
/* 10704 80035304 00000000 */ nop
|
|
/* 10708 80035308 14400005 */ bnez $v0, .L80035320
|
|
/* 1070C 8003530C 00000000 */ nop
|
|
/* 10710 80035310 0C04F4D4 */ jal func_8013D350
|
|
/* 10714 80035314 24040007 */ addiu $a0, $zero, 7
|
|
/* 10718 80035318 0800D4D8 */ j .L80035360
|
|
/* 1071C 8003531C 00000000 */ nop
|
|
.L80035320:
|
|
/* 10720 80035320 0C04F4D4 */ jal func_8013D350
|
|
/* 10724 80035324 24040008 */ addiu $a0, $zero, 8
|
|
/* 10728 80035328 3C06FFFE */ lui $a2, 0xfffe
|
|
/* 1072C 8003532C 34C6FFFF */ ori $a2, $a2, 0xffff
|
|
/* 10730 80035330 0000202D */ daddu $a0, $zero, $zero
|
|
/* 10734 80035334 3C05800A */ lui $a1, %hi(D_8009A630)
|
|
/* 10738 80035338 24A5A630 */ addiu $a1, $a1, %lo(D_8009A630)
|
|
/* 1073C 8003533C 24030008 */ addiu $v1, $zero, 8
|
|
/* 10740 80035340 8CA20000 */ lw $v0, ($a1)
|
|
/* 10744 80035344 240703E8 */ addiu $a3, $zero, 0x3e8
|
|
/* 10748 80035348 AFA30010 */ sw $v1, 0x10($sp)
|
|
/* 1074C 8003534C 00461024 */ and $v0, $v0, $a2
|
|
/* 10750 80035350 ACA20000 */ sw $v0, ($a1)
|
|
/* 10754 80035354 2405FFFF */ addiu $a1, $zero, -1
|
|
/* 10758 80035358 0C053E72 */ jal func_8014F9C8
|
|
/* 1075C 8003535C 0080302D */ daddu $a2, $a0, $zero
|
|
.L80035360:
|
|
/* 10760 80035360 3C02800A */ lui $v0, %hi(D_8009A630)
|
|
/* 10764 80035364 2442A630 */ addiu $v0, $v0, %lo(D_8009A630)
|
|
/* 10768 80035368 8C430000 */ lw $v1, ($v0)
|
|
/* 1076C 8003536C 2404FFBF */ addiu $a0, $zero, -0x41
|
|
/* 10770 80035370 00641824 */ and $v1, $v1, $a0
|
|
/* 10774 80035374 AC430000 */ sw $v1, ($v0)
|
|
/* 10778 80035378 8FBF0018 */ lw $ra, 0x18($sp)
|
|
/* 1077C 8003537C 03E00008 */ jr $ra
|
|
/* 10780 80035380 27BD0020 */ addiu $sp, $sp, 0x20
|