mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 08:52:40 +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"
91 lines
4.6 KiB
ArmAsm
91 lines
4.6 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_800587D0
|
|
/* 33BD0 800587D0 27BDFFD0 */ addiu $sp, $sp, -0x30
|
|
/* 33BD4 800587D4 AFB3001C */ sw $s3, 0x1c($sp)
|
|
/* 33BD8 800587D8 8FB30044 */ lw $s3, 0x44($sp)
|
|
/* 33BDC 800587DC AFB50024 */ sw $s5, 0x24($sp)
|
|
/* 33BE0 800587E0 8FB50048 */ lw $s5, 0x48($sp)
|
|
/* 33BE4 800587E4 AFB40020 */ sw $s4, 0x20($sp)
|
|
/* 33BE8 800587E8 97B40042 */ lhu $s4, 0x42($sp)
|
|
/* 33BEC 800587EC AFB10014 */ sw $s1, 0x14($sp)
|
|
/* 33BF0 800587F0 0080882D */ daddu $s1, $a0, $zero
|
|
/* 33BF4 800587F4 AFB20018 */ sw $s2, 0x18($sp)
|
|
/* 33BF8 800587F8 00A0902D */ daddu $s2, $a1, $zero
|
|
/* 33BFC 800587FC AFB60028 */ sw $s6, 0x28($sp)
|
|
/* 33C00 80058800 00C0B02D */ daddu $s6, $a2, $zero
|
|
/* 33C04 80058804 AFB00010 */ sw $s0, 0x10($sp)
|
|
/* 33C08 80058808 00E0802D */ daddu $s0, $a3, $zero
|
|
/* 33C0C 8005880C 1A000019 */ blez $s0, .L80058874
|
|
/* 33C10 80058810 AFBF002C */ sw $ra, 0x2c($sp)
|
|
/* 33C14 80058814 8E430014 */ lw $v1, 0x14($s2)
|
|
/* 33C18 80058818 8E42001C */ lw $v0, 0x1c($s2)
|
|
/* 33C1C 8005881C 8E440030 */ lw $a0, 0x30($s2)
|
|
/* 33C20 80058820 8E460020 */ lw $a2, 0x20($s2)
|
|
/* 33C24 80058824 90670025 */ lbu $a3, 0x25($v1)
|
|
/* 33C28 80058828 0040F809 */ jalr $v0
|
|
/* 33C2C 8005882C 0200282D */ daddu $a1, $s0, $zero
|
|
/* 33C30 80058830 30480007 */ andi $t0, $v0, 7
|
|
/* 33C34 80058834 02088021 */ addu $s0, $s0, $t0
|
|
/* 33C38 80058838 0220302D */ daddu $a2, $s1, $zero
|
|
/* 33C3C 8005883C 26310008 */ addiu $s1, $s1, 8
|
|
/* 33C40 80058840 32030007 */ andi $v1, $s0, 7
|
|
/* 33C44 80058844 2463FFF8 */ addiu $v1, $v1, -8
|
|
/* 33C48 80058848 02031823 */ subu $v1, $s0, $v1
|
|
/* 33C4C 8005884C 30630FFF */ andi $v1, $v1, 0xfff
|
|
/* 33C50 80058850 00031B00 */ sll $v1, $v1, 0xc
|
|
/* 33C54 80058854 32640FFF */ andi $a0, $s3, 0xfff
|
|
/* 33C58 80058858 3C050400 */ lui $a1, 0x400
|
|
/* 33C5C 8005885C 00852025 */ or $a0, $a0, $a1
|
|
/* 33C60 80058860 00641825 */ or $v1, $v1, $a0
|
|
/* 33C64 80058864 00481023 */ subu $v0, $v0, $t0
|
|
/* 33C68 80058868 ACC30000 */ sw $v1, ($a2)
|
|
/* 33C6C 8005886C 0801621E */ j .L80058878
|
|
/* 33C70 80058870 ACC20004 */ sw $v0, 4($a2)
|
|
.L80058874:
|
|
/* 33C74 80058874 0000402D */ daddu $t0, $zero, $zero
|
|
.L80058878:
|
|
/* 33C78 80058878 32A20002 */ andi $v0, $s5, 2
|
|
/* 33C7C 8005887C 10400009 */ beqz $v0, .L800588A4
|
|
/* 33C80 80058880 0220202D */ daddu $a0, $s1, $zero
|
|
/* 33C84 80058884 26310008 */ addiu $s1, $s1, 8
|
|
/* 33C88 80058888 3C031FFF */ lui $v1, 0x1fff
|
|
/* 33C8C 8005888C 3C020F00 */ lui $v0, 0xf00
|
|
/* 33C90 80058890 AC820000 */ sw $v0, ($a0)
|
|
/* 33C94 80058894 8E420004 */ lw $v0, 4($s2)
|
|
/* 33C98 80058898 3463FFFF */ ori $v1, $v1, 0xffff
|
|
/* 33C9C 8005889C 00431024 */ and $v0, $v0, $v1
|
|
/* 33CA0 800588A0 AC820004 */ sw $v0, 4($a0)
|
|
.L800588A4:
|
|
/* 33CA4 800588A4 3C0700FF */ lui $a3, 0xff
|
|
/* 33CA8 800588A8 34E7FFFF */ ori $a3, $a3, 0xffff
|
|
/* 33CAC 800588AC 26220008 */ addiu $v0, $s1, 8
|
|
/* 33CB0 800588B0 0220302D */ daddu $a2, $s1, $zero
|
|
/* 33CB4 800588B4 00152700 */ sll $a0, $s5, 0x1c
|
|
/* 33CB8 800588B8 00161840 */ sll $v1, $s6, 1
|
|
/* 33CBC 800588BC 30630FFF */ andi $v1, $v1, 0xfff
|
|
/* 33CC0 800588C0 00031C00 */ sll $v1, $v1, 0x10
|
|
/* 33CC4 800588C4 00832025 */ or $a0, $a0, $v1
|
|
/* 33CC8 800588C8 00081B00 */ sll $v1, $t0, 0xc
|
|
/* 33CCC 800588CC 00832025 */ or $a0, $a0, $v1
|
|
/* 33CD0 800588D0 32850FFF */ andi $a1, $s4, 0xfff
|
|
/* 33CD4 800588D4 8E430000 */ lw $v1, ($s2)
|
|
/* 33CD8 800588D8 00852025 */ or $a0, $a0, $a1
|
|
/* 33CDC 800588DC ACC40004 */ sw $a0, 4($a2)
|
|
/* 33CE0 800588E0 3C040100 */ lui $a0, 0x100
|
|
/* 33CE4 800588E4 00671824 */ and $v1, $v1, $a3
|
|
/* 33CE8 800588E8 00641825 */ or $v1, $v1, $a0
|
|
/* 33CEC 800588EC ACC30000 */ sw $v1, ($a2)
|
|
/* 33CF0 800588F0 AE40002C */ sw $zero, 0x2c($s2)
|
|
/* 33CF4 800588F4 8FBF002C */ lw $ra, 0x2c($sp)
|
|
/* 33CF8 800588F8 8FB60028 */ lw $s6, 0x28($sp)
|
|
/* 33CFC 800588FC 8FB50024 */ lw $s5, 0x24($sp)
|
|
/* 33D00 80058900 8FB40020 */ lw $s4, 0x20($sp)
|
|
/* 33D04 80058904 8FB3001C */ lw $s3, 0x1c($sp)
|
|
/* 33D08 80058908 8FB20018 */ lw $s2, 0x18($sp)
|
|
/* 33D0C 8005890C 8FB10014 */ lw $s1, 0x14($sp)
|
|
/* 33D10 80058910 8FB00010 */ lw $s0, 0x10($sp)
|
|
/* 33D14 80058914 03E00008 */ jr $ra
|
|
/* 33D18 80058918 27BD0030 */ addiu $sp, $sp, 0x30
|