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>
67 lines
3.3 KiB
ArmAsm
67 lines
3.3 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_80072D0C
|
|
/* 4E10C 80072D0C 24030001 */ addiu $v1, $zero, 1
|
|
/* 4E110 80072D10 0060382D */ daddu $a3, $v1, $zero
|
|
/* 4E114 80072D14 24060002 */ addiu $a2, $zero, 2
|
|
/* 4E118 80072D18 3C058011 */ lui $a1, %hi(D_8010F450)
|
|
/* 4E11C 80072D1C 24A5F450 */ addiu $a1, $a1, %lo(D_8010F450)
|
|
/* 4E120 80072D20 24A40008 */ addiu $a0, $a1, 8
|
|
/* 4E124 80072D24 2402000F */ addiu $v0, $zero, 0xf
|
|
/* 4E128 80072D28 A0A20002 */ sb $v0, 2($a1)
|
|
/* 4E12C 80072D2C A0A20003 */ sb $v0, 3($a1)
|
|
/* 4E130 80072D30 A0A20004 */ sb $v0, 4($a1)
|
|
/* 4E134 80072D34 2402000A */ addiu $v0, $zero, 0xa
|
|
/* 4E138 80072D38 A0A20005 */ sb $v0, 5($a1)
|
|
/* 4E13C 80072D3C A0A20006 */ sb $v0, 6($a1)
|
|
/* 4E140 80072D40 A0A20007 */ sb $v0, 7($a1)
|
|
/* 4E144 80072D44 24020003 */ addiu $v0, $zero, 3
|
|
/* 4E148 80072D48 A0A20009 */ sb $v0, 9($a1)
|
|
/* 4E14C 80072D4C 0060102D */ daddu $v0, $v1, $zero
|
|
/* 4E150 80072D50 A0A2000A */ sb $v0, 0xa($a1)
|
|
/* 4E154 80072D54 24020037 */ addiu $v0, $zero, 0x37
|
|
/* 4E158 80072D58 A0A20010 */ sb $v0, 0x10($a1)
|
|
/* 4E15C 80072D5C 24020022 */ addiu $v0, $zero, 0x22
|
|
/* 4E160 80072D60 A0A00000 */ sb $zero, ($a1)
|
|
/* 4E164 80072D64 A0A00001 */ sb $zero, 1($a1)
|
|
/* 4E168 80072D68 A4A2000C */ sh $v0, 0xc($a1)
|
|
.L80072D6C:
|
|
/* 4E16C 80072D6C A0870014 */ sb $a3, 0x14($a0)
|
|
/* 4E170 80072D70 A0860015 */ sb $a2, 0x15($a0)
|
|
/* 4E174 80072D74 24630001 */ addiu $v1, $v1, 1
|
|
/* 4E178 80072D78 2862000C */ slti $v0, $v1, 0xc
|
|
/* 4E17C 80072D7C 1440FFFB */ bnez $v0, .L80072D6C
|
|
/* 4E180 80072D80 24840008 */ addiu $a0, $a0, 8
|
|
/* 4E184 80072D84 24020001 */ addiu $v0, $zero, 1
|
|
/* 4E188 80072D88 A0A20012 */ sb $v0, 0x12($a1)
|
|
/* 4E18C 80072D8C 2403007F */ addiu $v1, $zero, 0x7f
|
|
/* 4E190 80072D90 24A200FE */ addiu $v0, $a1, 0xfe
|
|
.L80072D94:
|
|
/* 4E194 80072D94 A44000B4 */ sh $zero, 0xb4($v0)
|
|
/* 4E198 80072D98 2463FFFF */ addiu $v1, $v1, -1
|
|
/* 4E19C 80072D9C 0461FFFD */ bgez $v1, .L80072D94
|
|
/* 4E1A0 80072DA0 2442FFFE */ addiu $v0, $v0, -2
|
|
/* 4E1A4 80072DA4 2403003F */ addiu $v1, $zero, 0x3f
|
|
/* 4E1A8 80072DA8 24A2007E */ addiu $v0, $a1, 0x7e
|
|
.L80072DAC:
|
|
/* 4E1AC 80072DAC A4400208 */ sh $zero, 0x208($v0)
|
|
/* 4E1B0 80072DB0 2463FFFF */ addiu $v1, $v1, -1
|
|
/* 4E1B4 80072DB4 0461FFFD */ bgez $v1, .L80072DAC
|
|
/* 4E1B8 80072DB8 2442FFFE */ addiu $v0, $v0, -2
|
|
/* 4E1BC 80072DBC 24030009 */ addiu $v1, $zero, 9
|
|
/* 4E1C0 80072DC0 24A20012 */ addiu $v0, $a1, 0x12
|
|
.L80072DC4:
|
|
/* 4E1C4 80072DC4 A44001B4 */ sh $zero, 0x1b4($v0)
|
|
/* 4E1C8 80072DC8 2463FFFF */ addiu $v1, $v1, -1
|
|
/* 4E1CC 80072DCC 0461FFFD */ bgez $v1, .L80072DC4
|
|
/* 4E1D0 80072DD0 2442FFFE */ addiu $v0, $v0, -2
|
|
/* 4E1D4 80072DD4 A0A00288 */ sb $zero, 0x288($a1)
|
|
/* 4E1D8 80072DD8 A0A00289 */ sb $zero, 0x289($a1)
|
|
/* 4E1DC 80072DDC A0A0028A */ sb $zero, 0x28a($a1)
|
|
/* 4E1E0 80072DE0 A4A0028C */ sh $zero, 0x28c($a1)
|
|
/* 4E1E4 80072DE4 A0A0028E */ sb $zero, 0x28e($a1)
|
|
/* 4E1E8 80072DE8 A4A00290 */ sh $zero, 0x290($a1)
|
|
/* 4E1EC 80072DEC 03E00008 */ jr $ra
|
|
/* 4E1F0 80072DF0 A0A00292 */ sb $zero, 0x292($a1)
|