mirror of
https://github.com/pmret/papermario.git
synced 2024-11-14 15:03:25 +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.6 KiB
ArmAsm
34 lines
1.6 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel render_ui
|
|
/* A9658 80112F58 27BDFFE0 */ addiu $sp, $sp, -0x20
|
|
/* A965C 80112F5C AFB00010 */ sw $s0, 0x10($sp)
|
|
/* A9660 80112F60 3C108015 */ lui $s0, %hi(gMainGameState)
|
|
/* A9664 80112F64 26101700 */ addiu $s0, $s0, %lo(gMainGameState)
|
|
/* A9668 80112F68 AFB10014 */ sw $s1, 0x14($sp)
|
|
/* A966C 80112F6C 0000882D */ daddu $s1, $zero, $zero
|
|
/* A9670 80112F70 AFBF0018 */ sw $ra, 0x18($sp)
|
|
.L80112F74:
|
|
/* A9674 80112F74 96030000 */ lhu $v1, ($s0)
|
|
/* A9678 80112F78 5060000A */ beql $v1, $zero, .L80112FA4
|
|
/* A967C 80112F7C 26310001 */ addiu $s1, $s1, 1
|
|
/* A9680 80112F80 30620004 */ andi $v0, $v1, 4
|
|
/* A9684 80112F84 14400007 */ bnez $v0, .L80112FA4
|
|
/* A9688 80112F88 26310001 */ addiu $s1, $s1, 1
|
|
/* A968C 80112F8C 30620010 */ andi $v0, $v1, 0x10
|
|
/* A9690 80112F90 14400004 */ bnez $v0, .L80112FA4
|
|
/* A9694 80112F94 00000000 */ nop
|
|
/* A9698 80112F98 8E020010 */ lw $v0, 0x10($s0)
|
|
/* A969C 80112F9C 0040F809 */ jalr $v0
|
|
/* A96A0 80112FA0 00000000 */ nop
|
|
.L80112FA4:
|
|
/* A96A4 80112FA4 2A220002 */ slti $v0, $s1, 2
|
|
/* A96A8 80112FA8 1440FFF2 */ bnez $v0, .L80112F74
|
|
/* A96AC 80112FAC 26100018 */ addiu $s0, $s0, 0x18
|
|
/* A96B0 80112FB0 8FBF0018 */ lw $ra, 0x18($sp)
|
|
/* A96B4 80112FB4 8FB10014 */ lw $s1, 0x14($sp)
|
|
/* A96B8 80112FB8 8FB00010 */ lw $s0, 0x10($sp)
|
|
/* A96BC 80112FBC 03E00008 */ jr $ra
|
|
/* A96C0 80112FC0 27BD0020 */ addiu $sp, $sp, 0x20
|