mirror of
https://github.com/pmret/papermario.git
synced 2024-11-19 01:12:28 +01:00
698cf99458
* jp cod * just have less code and it works * oops * removing splat cause subrepo is being dumb * git subrepo clone https://github.com/ethteck/splat.git tools/splat subrepo: subdir: "tools/splat" merged: "d7281bae6a" upstream: origin: "https://github.com/ethteck/splat.git" branch: "master" commit: "d7281bae6a" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo" commit: "2f68596" * move jp stuff + revert configure * git subrepo pull tools/splat subrepo: subdir: "tools/splat" merged: "c56195a9c5" upstream: origin: "https://github.com/ethteck/splat.git" branch: "master" commit: "c56195a9c5" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo" commit: "2f68596"
75 lines
3.7 KiB
ArmAsm
75 lines
3.7 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_8006B04C
|
|
/* 4644C 8006B04C 3C058009 */ lui $a1, %hi(D_80094640)
|
|
/* 46450 8006B050 8CA54640 */ lw $a1, %lo(D_80094640)($a1)
|
|
/* 46454 8006B054 40086000 */ mfc0 $t0, $12
|
|
/* 46458 8006B058 35080002 */ ori $t0, $t0, 2
|
|
/* 4645C 8006B05C ACA80118 */ sw $t0, 0x118($a1)
|
|
/* 46460 8006B060 FCB00098 */ sd $s0, 0x98($a1)
|
|
/* 46464 8006B064 FCB100A0 */ sd $s1, 0xa0($a1)
|
|
/* 46468 8006B068 FCB200A8 */ sd $s2, 0xa8($a1)
|
|
/* 4646C 8006B06C FCB300B0 */ sd $s3, 0xb0($a1)
|
|
/* 46470 8006B070 FCB400B8 */ sd $s4, 0xb8($a1)
|
|
/* 46474 8006B074 FCB500C0 */ sd $s5, 0xc0($a1)
|
|
/* 46478 8006B078 FCB600C8 */ sd $s6, 0xc8($a1)
|
|
/* 4647C 8006B07C FCB700D0 */ sd $s7, 0xd0($a1)
|
|
/* 46480 8006B080 FCBC00E8 */ sd $gp, 0xe8($a1)
|
|
/* 46484 8006B084 FCBD00F0 */ sd $sp, 0xf0($a1)
|
|
/* 46488 8006B088 FCBE00F8 */ sd $fp, 0xf8($a1)
|
|
/* 4648C 8006B08C FCBF0100 */ sd $ra, 0x100($a1)
|
|
/* 46490 8006B090 ACBF011C */ sw $ra, 0x11c($a1)
|
|
/* 46494 8006B094 8CBB0018 */ lw $k1, 0x18($a1)
|
|
/* 46498 8006B098 1360000A */ beqz $k1, .L8006B0C4
|
|
/* 4649C 8006B09C 00000000 */ nop
|
|
/* 464A0 8006B0A0 445BF800 */ cfc1 $k1, $31
|
|
/* 464A4 8006B0A4 00000000 */ nop
|
|
/* 464A8 8006B0A8 ACBB012C */ sw $k1, 0x12c($a1)
|
|
/* 464AC 8006B0AC F4B40180 */ sdc1 $f20, 0x180($a1)
|
|
/* 464B0 8006B0B0 F4B60188 */ sdc1 $f22, 0x188($a1)
|
|
/* 464B4 8006B0B4 F4B80190 */ sdc1 $f24, 0x190($a1)
|
|
/* 464B8 8006B0B8 F4BA0198 */ sdc1 $f26, 0x198($a1)
|
|
/* 464BC 8006B0BC F4BC01A0 */ sdc1 $f28, 0x1a0($a1)
|
|
/* 464C0 8006B0C0 F4BE01A8 */ sdc1 $f30, 0x1a8($a1)
|
|
.L8006B0C4:
|
|
/* 464C4 8006B0C4 8CBB0118 */ lw $k1, 0x118($a1)
|
|
/* 464C8 8006B0C8 3369FF00 */ andi $t1, $k1, 0xff00
|
|
/* 464CC 8006B0CC 1120000D */ beqz $t1, .L8006B104
|
|
/* 464D0 8006B0D0 00000000 */ nop
|
|
/* 464D4 8006B0D4 3C088009 */ lui $t0, %hi(D_80095890)
|
|
/* 464D8 8006B0D8 25085890 */ addiu $t0, $t0, %lo(D_80095890)
|
|
/* 464DC 8006B0DC 8D080000 */ lw $t0, ($t0)
|
|
/* 464E0 8006B0E0 2401FFFF */ addiu $at, $zero, -1
|
|
/* 464E4 8006B0E4 01014026 */ xor $t0, $t0, $at
|
|
/* 464E8 8006B0E8 3108FF00 */ andi $t0, $t0, 0xff00
|
|
/* 464EC 8006B0EC 01284825 */ or $t1, $t1, $t0
|
|
/* 464F0 8006B0F0 3C01FFFF */ lui $at, 0xffff
|
|
/* 464F4 8006B0F4 342100FF */ ori $at, $at, 0xff
|
|
/* 464F8 8006B0F8 0361D824 */ and $k1, $k1, $at
|
|
/* 464FC 8006B0FC 0369D825 */ or $k1, $k1, $t1
|
|
/* 46500 8006B100 ACBB0118 */ sw $k1, 0x118($a1)
|
|
.L8006B104:
|
|
/* 46504 8006B104 3C1BA430 */ lui $k1, %hi(D_A430000C)
|
|
/* 46508 8006B108 8F7B000C */ lw $k1, %lo(D_A430000C)($k1)
|
|
/* 4650C 8006B10C 1360000B */ beqz $k1, .L8006B13C
|
|
/* 46510 8006B110 00000000 */ nop
|
|
/* 46514 8006B114 3C1A8009 */ lui $k0, %hi(D_80095890)
|
|
/* 46518 8006B118 275A5890 */ addiu $k0, $k0, %lo(D_80095890)
|
|
/* 4651C 8006B11C 8F5A0000 */ lw $k0, ($k0)
|
|
/* 46520 8006B120 001AD402 */ srl $k0, $k0, 0x10
|
|
/* 46524 8006B124 2401FFFF */ addiu $at, $zero, -1
|
|
/* 46528 8006B128 0341D026 */ xor $k0, $k0, $at
|
|
/* 4652C 8006B12C 335A003F */ andi $k0, $k0, 0x3f
|
|
/* 46530 8006B130 8CA80128 */ lw $t0, 0x128($a1)
|
|
/* 46534 8006B134 0348D024 */ and $k0, $k0, $t0
|
|
/* 46538 8006B138 037AD825 */ or $k1, $k1, $k0
|
|
.L8006B13C:
|
|
/* 4653C 8006B13C 10800003 */ beqz $a0, .L8006B14C
|
|
/* 46540 8006B140 ACBB0128 */ sw $k1, 0x128($a1)
|
|
/* 46544 8006B144 0C01AC55 */ jal func_8006B154
|
|
/* 46548 8006B148 00000000 */ nop
|
|
.L8006B14C:
|
|
/* 4654C 8006B14C 0801AC6D */ j .L8006B1B4
|
|
/* 46550 8006B150 00000000 */ nop
|