mirror of
https://github.com/pmret/papermario.git
synced 2024-11-19 09:22:30 +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>
35 lines
1.7 KiB
ArmAsm
35 lines
1.7 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_80028ED8
|
|
/* 42D8 80028ED8 3C028007 */ lui $v0, %hi(D_8007417C)
|
|
/* 42DC 80028EDC 8C42417C */ lw $v0, %lo(D_8007417C)($v0)
|
|
/* 42E0 80028EE0 27BDFFE0 */ addiu $sp, $sp, -0x20
|
|
/* 42E4 80028EE4 AFB00010 */ sw $s0, 0x10($sp)
|
|
/* 42E8 80028EE8 0080802D */ daddu $s0, $a0, $zero
|
|
/* 42EC 80028EEC AFBF0018 */ sw $ra, 0x18($sp)
|
|
/* 42F0 80028EF0 AFB10014 */ sw $s1, 0x14($sp)
|
|
/* 42F4 80028EF4 80420071 */ lb $v0, 0x71($v0)
|
|
/* 42F8 80028EF8 1440000F */ bnez $v0, .L80028F38
|
|
/* 42FC 80028EFC 00A0882D */ daddu $s1, $a1, $zero
|
|
/* 4300 80028F00 3C028007 */ lui $v0, %hi(D_80074240)
|
|
/* 4304 80028F04 94424240 */ lhu $v0, %lo(D_80074240)($v0)
|
|
/* 4308 80028F08 1040000B */ beqz $v0, .L80028F38
|
|
/* 430C 80028F0C 00000000 */ nop
|
|
/* 4310 80028F10 0C017EE8 */ jal func_8005FBA0
|
|
/* 4314 80028F14 0000202D */ daddu $a0, $zero, $zero
|
|
/* 4318 80028F18 14400007 */ bnez $v0, .L80028F38
|
|
/* 431C 80028F1C 0000202D */ daddu $a0, $zero, $zero
|
|
/* 4320 80028F20 0C017F10 */ jal func_8005FC40
|
|
/* 4324 80028F24 24050002 */ addiu $a1, $zero, 2
|
|
/* 4328 80028F28 0000202D */ daddu $a0, $zero, $zero
|
|
/* 432C 80028F2C 3205FFFF */ andi $a1, $s0, 0xffff
|
|
/* 4330 80028F30 0C017ED0 */ jal func_8005FB40
|
|
/* 4334 80028F34 3226FFFF */ andi $a2, $s1, 0xffff
|
|
.L80028F38:
|
|
/* 4338 80028F38 8FBF0018 */ lw $ra, 0x18($sp)
|
|
/* 433C 80028F3C 8FB10014 */ lw $s1, 0x14($sp)
|
|
/* 4340 80028F40 8FB00010 */ lw $s0, 0x10($sp)
|
|
/* 4344 80028F44 03E00008 */ jr $ra
|
|
/* 4348 80028F48 27BD0020 */ addiu $sp, $sp, 0x20
|