2019-02-17 02:24:41 +00:00
|
|
|
.class public final Lcom/facebook/soloader/k$b;
|
2019-02-04 20:08:30 +00:00
|
|
|
.super Ljava/lang/Object;
|
2019-02-04 20:29:01 +00:00
|
|
|
.source "UnpackingSoSource.java"
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
2019-02-17 02:24:41 +00:00
|
|
|
value = Lcom/facebook/soloader/k;
|
2019-02-04 20:08:30 +00:00
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x19
|
|
|
|
name = "b"
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2019-07-10 21:18:28 +00:00
|
|
|
.field public final Xr:[Lcom/facebook/soloader/k$a;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2019-02-17 02:24:41 +00:00
|
|
|
.method public constructor <init>([Lcom/facebook/soloader/k$a;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
2019-07-10 21:18:28 +00:00
|
|
|
iput-object p1, p0, Lcom/facebook/soloader/k$b;->Xr:[Lcom/facebook/soloader/k$a;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
.method static final a(Ljava/io/DataInput;)Lcom/facebook/soloader/k$b;
|
2019-02-04 20:08:30 +00:00
|
|
|
.locals 6
|
|
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
|
|
value = {
|
|
|
|
Ljava/io/IOException;
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
invoke-interface {p0}, Ljava/io/DataInput;->readByte()B
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
if-ne v0, v1, :cond_2
|
|
|
|
|
|
|
|
invoke-interface {p0}, Ljava/io/DataInput;->readInt()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-ltz v0, :cond_1
|
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
new-array v1, v0, [Lcom/facebook/soloader/k$a;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-ge v2, v0, :cond_0
|
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
new-instance v3, Lcom/facebook/soloader/k$a;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-interface {p0}, Ljava/io/DataInput;->readUTF()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
invoke-interface {p0}, Ljava/io/DataInput;->readUTF()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
invoke-direct {v3, v4, v5}, Lcom/facebook/soloader/k$a;-><init>(Ljava/lang/String;Ljava/lang/String;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
aput-object v3, v1, v2
|
|
|
|
|
|
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
2019-02-17 02:24:41 +00:00
|
|
|
new-instance p0, Lcom/facebook/soloader/k$b;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
invoke-direct {p0, v1}, Lcom/facebook/soloader/k$b;-><init>([Lcom/facebook/soloader/k$a;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
new-instance p0, Ljava/lang/RuntimeException;
|
|
|
|
|
|
|
|
const-string v0, "illegal number of shared libraries"
|
|
|
|
|
|
|
|
invoke-direct {p0, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw p0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
new-instance p0, Ljava/lang/RuntimeException;
|
|
|
|
|
|
|
|
const-string v0, "wrong dso manifest version"
|
|
|
|
|
|
|
|
invoke-direct {p0, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
2019-05-22 23:20:16 +00:00
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:goto_1
|
2019-02-04 20:08:30 +00:00
|
|
|
throw p0
|
2019-02-04 20:29:01 +00:00
|
|
|
|
2019-05-22 23:20:16 +00:00
|
|
|
:goto_2
|
|
|
|
goto :goto_1
|
2019-02-04 20:08:30 +00:00
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public final a(Ljava/io/DataOutput;)V
|
2019-02-04 20:29:01 +00:00
|
|
|
.locals 3
|
2019-02-04 20:08:30 +00:00
|
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
|
|
value = {
|
|
|
|
Ljava/io/IOException;
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
|
|
|
invoke-interface {p1, v0}, Ljava/io/DataOutput;->writeByte(I)V
|
|
|
|
|
2019-07-10 21:18:28 +00:00
|
|
|
iget-object v0, p0, Lcom/facebook/soloader/k$b;->Xr:[Lcom/facebook/soloader/k$a;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
array-length v0, v0
|
|
|
|
|
|
|
|
invoke-interface {p1, v0}, Ljava/io/DataOutput;->writeInt(I)V
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
2019-07-10 21:18:28 +00:00
|
|
|
iget-object v1, p0, Lcom/facebook/soloader/k$b;->Xr:[Lcom/facebook/soloader/k$a;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
array-length v2, v1
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
if-ge v0, v2, :cond_0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
aget-object v1, v1, v0
|
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
iget-object v1, v1, Lcom/facebook/soloader/k$a;->name:Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-interface {p1, v1}, Ljava/io/DataOutput;->writeUTF(Ljava/lang/String;)V
|
|
|
|
|
2019-07-10 21:18:28 +00:00
|
|
|
iget-object v1, p0, Lcom/facebook/soloader/k$b;->Xr:[Lcom/facebook/soloader/k$a;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
aget-object v1, v1, v0
|
|
|
|
|
2019-07-10 21:18:28 +00:00
|
|
|
iget-object v1, v1, Lcom/facebook/soloader/k$a;->Xq:Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-interface {p1, v1}, Ljava/io/DataOutput;->writeUTF(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
return-void
|
|
|
|
.end method
|