Created
September 9, 2014 09:05
-
-
Save daniel229/ee3674788f4c560e8258 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
z_un_08805f6c: | |
addiu sp,sp,-0x4080 | |
sw s0,0x404C(sp) | |
move s0,a0 | |
addiu a0,s0,0x10 | |
li a2,0xB090 | |
sw s1,0x4050(sp) | |
sw s2,0x4054(sp) | |
sw s3,0x4058(sp) | |
sw s4,0x405C(sp) | |
sw s5,0x4060(sp) | |
sw s6,0x4064(sp) | |
sw s7,0x4068(sp) | |
sw fp,0x406C(sp) | |
sw ra,0x4070(sp) | |
jal z_un_08900f28 | |
li a1,0 | |
li a0,0x1 | |
sw a0,0x10(s0) | |
li a0,0x08A38864 | |
sw a0,0x10(sp) | |
lui a1,0x8A4 | |
move a0,sp | |
jal z_un_088ec830 | |
addiu s1,a1,-0x693C | |
lw a0,0x0(v0) | |
lw a1,0x4(v0) | |
lw a2,0x8(v0) | |
sw a0,0x14(sp) | |
sw a1,0x18(sp) | |
sw a2,0x1C(sp) | |
lw a0,0xC(v0) | |
lhu a1,0x14(sp) | |
sw a0,0x20(sp) | |
lhu a0,0x16(sp) | |
sh a1,0x14(s0) | |
lhu a1,0x18(sp) | |
sh a0,0x16(s0) | |
lhu a0,0x1A(sp) | |
sh a1,0x18(s0) | |
lhu a1,0x1C(sp) | |
sh a0,0x1A(s0) | |
lhu a0,0x1E(sp) | |
sh a1,0x1C(s0) | |
sh a0,0x1E(s0) | |
sw s1,0x10(sp) | |
addiu a0,sp,0x24 | |
li a1,0 | |
jal z_un_08900f28 | |
li a2,0x4000 | |
jal z_un_0881a4b8 | |
nop | |
lui a0,0x28 | |
addu a0,v0,a0 | |
lw a0,-0x1D28(a0) | |
lw a1,0xC48(a0) | |
addiu a1,a1,0x48 | |
lh a2,0x0(a1) | |
lw a1,0x4(a1) | |
jalr a1 | |
addu a0,a0,a2 | |
li a0,0x0 | |
sw v0,0x4030(sp) | |
li a1,0x0 | |
sw a0,0x4044(sp) | |
li a0,0x0 | |
sw a1,0x403C(sp) | |
sw a0,0x4040(sp) | |
addiu s6,sp,0x4024 | |
sw s0,0x4048(sp) | |
pos_08806084: | |
lw a0,0x4040(sp) | |
li a1,0x0 | |
sll a0,a0,0x2 | |
li a2,0x0 | |
sw a1,0x4038(sp) | |
addu a0,sp,a0 | |
sw a2,0x402C(sp) | |
addiu a0,a0,0x24 | |
sw a0,0x4034(sp) | |
pos_088060A8: | |
lw s7,0x403C(sp) | |
li s5,0x0 | |
li s4,0x0 | |
li s3,0x0 | |
li s2,0x0 | |
li fp,0x0 | |
sll s7,s7,0x9 | |
pos_088060C4: | |
lw a0,0x402C(sp) | |
lw s0,0x4030(sp) | |
addu a0,a0,s7 | |
sll a0,a0,0x2 | |
li s1,0x0 | |
addu s0,s0,a0 | |
pos_088060DC: | |
sw zero,0x4024(sp) | |
move a0,s6 | |
move a1,s0 | |
jal memcpy | |
li a2,0x4 | |
pos_088060F0: | |
lw a0,0x4024(sp) | |
addiu s1,s1,0x2 | |
andi a1,a0,0xFF | |
srl a2,a0,0x8 | |
srl a0,a0,0x10 | |
addu s5,s5,a1 | |
andi a0,a0,0xFF | |
andi a1,a2,0xFF | |
addu s3,s3,a0 | |
addu s4,s4,a1 | |
addiu s2,s2,0x1 | |
slti a0,s1,0x8 | |
bne a0,zero,pos_088060DC | |
addiu s0,s0,0x8 | |
addiu fp,fp,0x2 | |
slti a0,fp,0x8 | |
bne a0,zero,pos_088060C4 | |
addiu s7,s7,0x400 | |
divu s3,s2 | |
lui a3,0xFF00 | |
lw s0,0x4034(sp) | |
addiu a1,sp,0x4028 | |
move a0,s0 | |
li a2,0x4 | |
mflo t1 | |
nop | |
nop | |
divu s5,s2 | |
sll t1,t1,0x10 | |
or a3,t1,a3 | |
mflo t0 | |
nop | |
nop | |
divu s4,s2 | |
or a3,a3,t0 | |
mflo t0 | |
sll t0,t0,0x8 | |
or a3,a3,t0 | |
jal memcpy | |
sw a3,0x4028(sp) | |
lw a0,0x4038(sp) | |
lw a1,0x402C(sp) | |
addiu a0,a0,0x1 | |
addiu a1,a1,0x8 | |
sw a0,0x4038(sp) | |
addiu a2,s0,0x4 | |
sw a1,0x402C(sp) | |
slti a0,a0,0x3B | |
bne a0,zero,pos_088060A8 | |
sw a2,0x4034(sp) | |
lw a0,0x4044(sp) | |
lw a1,0x403C(sp) | |
lw a2,0x4040(sp) | |
addiu a0,a0,0x1 | |
addiu a1,a1,0x8 | |
sw a0,0x4044(sp) | |
addiu a2,a2,0x40 | |
sw a1,0x403C(sp) | |
slti a0,a0,0x22 | |
bne a0,zero,pos_08806084 | |
sw a2,0x4040(sp) | |
lw s0,0x4048(sp) | |
li s1,0x0 | |
addiu s0,s0,0x20 | |
li s2,0x0 | |
pos_088061F4: | |
sll a0,s1,0x6 | |
pos_088061F8: | |
addu a0,a0,s2 | |
sll a0,a0,0x2 | |
addu s4,sp,a0 | |
li s3,0x0 | |
addiu s4,s4,0x24 | |
pos_0880620C: | |
move a0,s0 | |
move a1,s4 | |
jal memcpy | |
li a2,0x10 | |
addiu s3,s3,0x1 | |
addiu s0,s0,0x10 | |
slti a0,s3,0x8 | |
bne a0,zero,pos_0880620C | |
addiu s4,s4,0x100 | |
addiu s2,s2,0x4 | |
slti a0,s2,0x40 | |
bne a0,zero,pos_088061F8 | |
sll a0,s1,0x6 | |
addiu s1,s1,0x8 | |
slti a0,s1,0x40 | |
bne a0,zero,pos_088061F4 | |
li s2,0x0 | |
jal z_un_0881a4b8 | |
lw s0,0x4048(sp) | |
li a0,0x00348544 | |
addu a0,v0,a0 | |
jal z_un_088154b8 | |
addiu a1,s0,0x4020 | |
jal z_un_088277bc | |
nop | |
move a0,v0 | |
beq a0,zero,pos_088062A0 | |
nop | |
lw a1,0x6C(a0) | |
lw a2,0x4048(sp) | |
addiu a1,a1,0x58 | |
lh a3,0x0(a1) | |
lw t0,0x4(a1) | |
addu a0,a0,a3 | |
jalr t0 | |
addiu a1,a2,0x7C98 | |
pos_088062A0: | |
lw s0,0x404C(sp) | |
lw s1,0x4050(sp) | |
lw s2,0x4054(sp) | |
lw s3,0x4058(sp) | |
lw s4,0x405C(sp) | |
lw s5,0x4060(sp) | |
lw s6,0x4064(sp) | |
lw s7,0x4068(sp) | |
lw fp,0x406C(sp) | |
lw ra,0x4070(sp) | |
jr ra | |
addiu sp,sp,0x4080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment