mirror of
https://github.com/pmret/papermario.git
synced 2024-11-15 07:22:29 +01:00
a4e1c2f522
* fix vscode cpp extension messing with files.associations * move stuff * it builds! * symlink papermario.us.z64 * ci: put baserom in right place * add jp * fix splat dir * ignore starrod dump * .s deps * update jenkins * add dsl back * configure.py versions * wups * fine ethan * fix paths * configure: default to only the version(s) with existing baseroms * fix coverage * fix progress.py * progress.py verisoning * remove format.sh from CONTRIBUTING * update CONTRIBUTING * fix first_diff * diff.py: use ver/current/ * update splat.yaml * trying to fix subrepo * git subrepo pull tools/splat subrepo: subdir: "tools/splat" merged: "06a737f02d" upstream: origin: "https://github.com/ethteck/splat.git" branch: "master" commit: "06a737f02d" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo" commit: "2f68596" * configure fix * git subrepo pull tools/splat subrepo: subdir: "tools/splat" merged: "41786effd3" upstream: origin: "https://github.com/ethteck/splat.git" branch: "master" commit: "41786effd3" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo" commit: "2f68596" Co-authored-by: Ethan Roseman <ethteck@gmail.com>
88 lines
4.6 KiB
ArmAsm
88 lines
4.6 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_80243EEC
|
|
/* 16474C 80243EEC 27BDFFC8 */ addiu $sp, $sp, -0x38
|
|
/* 164750 80243EF0 3C028016 */ lui $v0, %hi(gUIPanels)
|
|
/* 164754 80243EF4 24429D50 */ addiu $v0, $v0, %lo(gUIPanels)
|
|
/* 164758 80243EF8 00042140 */ sll $a0, $a0, 5
|
|
/* 16475C 80243EFC 00822021 */ addu $a0, $a0, $v0
|
|
/* 164760 80243F00 AFBF0030 */ sw $ra, 0x30($sp)
|
|
/* 164764 80243F04 AFB1002C */ sw $s1, 0x2c($sp)
|
|
/* 164768 80243F08 AFB00028 */ sw $s0, 0x28($sp)
|
|
/* 16476C 80243F0C 9090001C */ lbu $s0, 0x1c($a0)
|
|
/* 164770 80243F10 2A02000A */ slti $v0, $s0, 0xa
|
|
/* 164774 80243F14 1040003D */ beqz $v0, .L8024400C
|
|
/* 164778 80243F18 00E0882D */ daddu $s1, $a3, $zero
|
|
/* 16477C 80243F1C 3C06E300 */ lui $a2, 0xe300
|
|
/* 164780 80243F20 34C60A01 */ ori $a2, $a2, 0xa01
|
|
/* 164784 80243F24 3C09FCFF */ lui $t1, 0xfcff
|
|
/* 164788 80243F28 3529FFFF */ ori $t1, $t1, 0xffff
|
|
/* 16478C 80243F2C 3C07FFFD */ lui $a3, 0xfffd
|
|
/* 164790 80243F30 34E7F6FB */ ori $a3, $a3, 0xf6fb
|
|
/* 164794 80243F34 3C0AE200 */ lui $t2, 0xe200
|
|
/* 164798 80243F38 354A001C */ ori $t2, $t2, 0x1c
|
|
/* 16479C 80243F3C 3C080050 */ lui $t0, 0x50
|
|
/* 1647A0 80243F40 3C03800A */ lui $v1, %hi(gMasterGfxPos)
|
|
/* 1647A4 80243F44 2463A66C */ addiu $v1, $v1, %lo(gMasterGfxPos)
|
|
/* 1647A8 80243F48 35084340 */ ori $t0, $t0, 0x4340
|
|
/* 1647AC 80243F4C 8C640000 */ lw $a0, ($v1)
|
|
/* 1647B0 80243F50 3C02E700 */ lui $v0, 0xe700
|
|
/* 1647B4 80243F54 0080282D */ daddu $a1, $a0, $zero
|
|
/* 1647B8 80243F58 24840008 */ addiu $a0, $a0, 8
|
|
/* 1647BC 80243F5C AC640000 */ sw $a0, ($v1)
|
|
/* 1647C0 80243F60 ACA20000 */ sw $v0, ($a1)
|
|
/* 1647C4 80243F64 24820008 */ addiu $v0, $a0, 8
|
|
/* 1647C8 80243F68 ACA00004 */ sw $zero, 4($a1)
|
|
/* 1647CC 80243F6C AC620000 */ sw $v0, ($v1)
|
|
/* 1647D0 80243F70 24820010 */ addiu $v0, $a0, 0x10
|
|
/* 1647D4 80243F74 AC860000 */ sw $a2, ($a0)
|
|
/* 1647D8 80243F78 AC800004 */ sw $zero, 4($a0)
|
|
/* 1647DC 80243F7C AC620000 */ sw $v0, ($v1)
|
|
/* 1647E0 80243F80 24820018 */ addiu $v0, $a0, 0x18
|
|
/* 1647E4 80243F84 AC890008 */ sw $t1, 8($a0)
|
|
/* 1647E8 80243F88 AC87000C */ sw $a3, 0xc($a0)
|
|
/* 1647EC 80243F8C AC620000 */ sw $v0, ($v1)
|
|
/* 1647F0 80243F90 24820020 */ addiu $v0, $a0, 0x20
|
|
/* 1647F4 80243F94 AC8A0010 */ sw $t2, 0x10($a0)
|
|
/* 1647F8 80243F98 AC880014 */ sw $t0, 0x14($a0)
|
|
/* 1647FC 80243F9C AC620000 */ sw $v0, ($v1)
|
|
/* 164800 80243FA0 3C02FA00 */ lui $v0, 0xfa00
|
|
/* 164804 80243FA4 001018C0 */ sll $v1, $s0, 3
|
|
/* 164808 80243FA8 00701823 */ subu $v1, $v1, $s0
|
|
/* 16480C 80243FAC 00031840 */ sll $v1, $v1, 1
|
|
/* 164810 80243FB0 AC820018 */ sw $v0, 0x18($a0)
|
|
/* 164814 80243FB4 2402008C */ addiu $v0, $zero, 0x8c
|
|
/* 164818 80243FB8 00431023 */ subu $v0, $v0, $v1
|
|
/* 16481C 80243FBC 304200FF */ andi $v0, $v0, 0xff
|
|
/* 164820 80243FC0 AC82001C */ sw $v0, 0x1c($a0)
|
|
/* 164824 80243FC4 0000202D */ daddu $a0, $zero, $zero
|
|
/* 164828 80243FC8 0080282D */ daddu $a1, $a0, $zero
|
|
/* 16482C 80243FCC 24060500 */ addiu $a2, $zero, 0x500
|
|
/* 164830 80243FD0 240703C0 */ addiu $a3, $zero, 0x3c0
|
|
/* 164834 80243FD4 AFA00010 */ sw $zero, 0x10($sp)
|
|
/* 164838 80243FD8 AFA00014 */ sw $zero, 0x14($sp)
|
|
/* 16483C 80243FDC AFA00018 */ sw $zero, 0x18($sp)
|
|
/* 164840 80243FE0 AFA0001C */ sw $zero, 0x1c($sp)
|
|
/* 164844 80243FE4 0C090AE8 */ jal func_80242BA0
|
|
/* 164848 80243FE8 AFA00020 */ sw $zero, 0x20($sp)
|
|
/* 16484C 80243FEC 00101040 */ sll $v0, $s0, 1
|
|
/* 164850 80243FF0 3C038025 */ lui $v1, %hi(D_80249D48)
|
|
/* 164854 80243FF4 00621821 */ addu $v1, $v1, $v0
|
|
/* 164858 80243FF8 84639D48 */ lh $v1, %lo(D_80249D48)($v1)
|
|
/* 16485C 80243FFC 8E220000 */ lw $v0, ($s1)
|
|
/* 164860 80244000 00431023 */ subu $v0, $v0, $v1
|
|
/* 164864 80244004 08091007 */ j .L8024401C
|
|
/* 164868 80244008 AE220000 */ sw $v0, ($s1)
|
|
.L8024400C:
|
|
/* 16486C 8024400C 90820000 */ lbu $v0, ($a0)
|
|
/* 164870 80244010 304200F7 */ andi $v0, $v0, 0xf7
|
|
/* 164874 80244014 34420004 */ ori $v0, $v0, 4
|
|
/* 164878 80244018 A0820000 */ sb $v0, ($a0)
|
|
.L8024401C:
|
|
/* 16487C 8024401C 8FBF0030 */ lw $ra, 0x30($sp)
|
|
/* 164880 80244020 8FB1002C */ lw $s1, 0x2c($sp)
|
|
/* 164884 80244024 8FB00028 */ lw $s0, 0x28($sp)
|
|
/* 164888 80244028 03E00008 */ jr $ra
|
|
/* 16488C 8024402C 27BD0038 */ addiu $sp, $sp, 0x38
|