2020-07-20 19:00:44 +00:00
|
|
|
.class public Lf/g/m/a;
|
|
|
|
.super Lf/g/m/f;
|
2020-05-17 12:40:10 +00:00
|
|
|
.source "ApkSoSource.java"
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
|
|
value = {
|
2020-07-20 19:00:44 +00:00
|
|
|
Lf/g/m/a$a;
|
2020-05-17 12:40:10 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field public final h:I
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>(Landroid/content/Context;Ljava/io/File;Ljava/lang/String;I)V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const-string v0, "^lib/([^/]+)/([^/]+\\.so)$"
|
|
|
|
|
2020-07-20 19:00:44 +00:00
|
|
|
invoke-direct {p0, p1, p3, p2, v0}, Lf/g/m/f;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/io/File;Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-20 19:00:44 +00:00
|
|
|
iput p4, p0, Lf/g/m/a;->h:I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2020-07-08 16:44:49 +00:00
|
|
|
.method public f()[B
|
2020-05-17 12:40:10 +00:00
|
|
|
.locals 5
|
|
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
|
|
value = {
|
|
|
|
Ljava/io/IOException;
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2020-07-20 19:00:44 +00:00
|
|
|
iget-object v0, p0, Lf/g/m/f;->f:Ljava/io/File;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/io/File;->getCanonicalFile()Ljava/io/File;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-static {}, Landroid/os/Parcel;->obtain()Landroid/os/Parcel;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
const/4 v2, 0x2
|
|
|
|
|
|
|
|
:try_start_0
|
|
|
|
invoke-virtual {v1, v2}, Landroid/os/Parcel;->writeByte(B)V
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/io/File;->getPath()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
invoke-virtual {v1, v3}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/io/File;->lastModified()J
|
|
|
|
|
|
|
|
move-result-wide v3
|
|
|
|
|
|
|
|
invoke-virtual {v1, v3, v4}, Landroid/os/Parcel;->writeLong(J)V
|
|
|
|
|
2020-07-20 19:00:44 +00:00
|
|
|
iget-object v0, p0, Lf/g/m/n;->c:Landroid/content/Context;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
|
|
|
|
const/4 v4, 0x0
|
|
|
|
|
|
|
|
if-eqz v3, :cond_0
|
|
|
|
|
|
|
|
:try_start_1
|
|
|
|
invoke-virtual {v0}, Landroid/content/Context;->getPackageName()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v3, v0, v4}, Landroid/content/pm/PackageManager;->getPackageInfo(Ljava/lang/String;I)Landroid/content/pm/PackageInfo;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iget v0, v0, Landroid/content/pm/PackageInfo;->versionCode:I
|
|
|
|
:try_end_1
|
|
|
|
.catch Landroid/content/pm/PackageManager$NameNotFoundException; {:try_start_1 .. :try_end_1} :catch_0
|
|
|
|
.catch Ljava/lang/RuntimeException; {:try_start_1 .. :try_end_1} :catch_0
|
|
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:catch_0
|
|
|
|
:cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
:try_start_2
|
|
|
|
invoke-virtual {v1, v0}, Landroid/os/Parcel;->writeInt(I)V
|
|
|
|
|
2020-07-20 19:00:44 +00:00
|
|
|
iget v0, p0, Lf/g/m/a;->h:I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
const/4 v3, 0x1
|
|
|
|
|
|
|
|
and-int/2addr v0, v3
|
|
|
|
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
|
|
|
|
invoke-virtual {v1, v4}, Landroid/os/Parcel;->writeByte(B)V
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Landroid/os/Parcel;->marshall()[B
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
:try_end_2
|
|
|
|
.catchall {:try_start_2 .. :try_end_2} :catchall_0
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Landroid/os/Parcel;->recycle()V
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
:try_start_3
|
2020-07-20 19:00:44 +00:00
|
|
|
iget-object v0, p0, Lf/g/m/n;->c:Landroid/content/Context;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0}, Landroid/content/Context;->getApplicationInfo()Landroid/content/pm/ApplicationInfo;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iget-object v0, v0, Landroid/content/pm/ApplicationInfo;->nativeLibraryDir:Ljava/lang/String;
|
|
|
|
|
|
|
|
if-nez v0, :cond_2
|
|
|
|
|
|
|
|
invoke-virtual {v1, v3}, Landroid/os/Parcel;->writeByte(B)V
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Landroid/os/Parcel;->marshall()[B
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
:try_end_3
|
|
|
|
.catchall {:try_start_3 .. :try_end_3} :catchall_0
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Landroid/os/Parcel;->recycle()V
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
:try_start_4
|
|
|
|
new-instance v4, Ljava/io/File;
|
|
|
|
|
|
|
|
invoke-direct {v4, v0}, Ljava/io/File;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
invoke-virtual {v4}, Ljava/io/File;->getCanonicalFile()Ljava/io/File;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/io/File;->exists()Z
|
|
|
|
|
|
|
|
move-result v4
|
|
|
|
|
|
|
|
if-nez v4, :cond_3
|
|
|
|
|
|
|
|
invoke-virtual {v1, v3}, Landroid/os/Parcel;->writeByte(B)V
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Landroid/os/Parcel;->marshall()[B
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
:try_end_4
|
|
|
|
.catchall {:try_start_4 .. :try_end_4} :catchall_0
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Landroid/os/Parcel;->recycle()V
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
:try_start_5
|
|
|
|
invoke-virtual {v1, v2}, Landroid/os/Parcel;->writeByte(B)V
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/io/File;->getPath()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
invoke-virtual {v1, v2}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/io/File;->lastModified()J
|
|
|
|
|
|
|
|
move-result-wide v2
|
|
|
|
|
|
|
|
invoke-virtual {v1, v2, v3}, Landroid/os/Parcel;->writeLong(J)V
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Landroid/os/Parcel;->marshall()[B
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
:try_end_5
|
|
|
|
.catchall {:try_start_5 .. :try_end_5} :catchall_0
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Landroid/os/Parcel;->recycle()V
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception v0
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Landroid/os/Parcel;->recycle()V
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|
|
|
|
|
2020-07-20 19:00:44 +00:00
|
|
|
.method public h()Lf/g/m/n$f;
|
2020-05-17 12:40:10 +00:00
|
|
|
.locals 1
|
|
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
|
|
value = {
|
|
|
|
Ljava/io/IOException;
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2020-07-20 19:00:44 +00:00
|
|
|
new-instance v0, Lf/g/m/a$a;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-20 19:00:44 +00:00
|
|
|
invoke-direct {v0, p0, p0}, Lf/g/m/a$a;-><init>(Lf/g/m/a;Lf/g/m/f;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|