apkfuckery/com.discord/smali/com/facebook/soloader/e$a.smali

110 lines
2.3 KiB
Smali
Raw Normal View History

2019-07-24 11:27:29 +00:00
.class final Lcom/facebook/soloader/e$a;
.super Lcom/facebook/soloader/k$a;
.source "ExtractFromZipSoSource.java"
# interfaces
.implements Ljava/lang/Comparable;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/facebook/soloader/e;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = "a"
.end annotation
# instance fields
2019-07-25 02:21:43 +00:00
.field final Yj:Ljava/util/zip/ZipEntry;
2019-07-24 11:27:29 +00:00
2019-07-25 02:21:43 +00:00
.field final Yk:I
2019-07-24 11:27:29 +00:00
# direct methods
.method constructor <init>(Ljava/lang/String;Ljava/util/zip/ZipEntry;I)V
.locals 3
const/4 v0, 0x4
new-array v0, v0, [Ljava/lang/Object;
invoke-virtual {p2}, Ljava/util/zip/ZipEntry;->getName()Ljava/lang/String;
move-result-object v1
const/4 v2, 0x0
aput-object v1, v0, v2
invoke-virtual {p2}, Ljava/util/zip/ZipEntry;->getSize()J
move-result-wide v1
invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
move-result-object v1
const/4 v2, 0x1
aput-object v1, v0, v2
invoke-virtual {p2}, Ljava/util/zip/ZipEntry;->getCompressedSize()J
move-result-wide v1
invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
move-result-object v1
const/4 v2, 0x2
aput-object v1, v0, v2
invoke-virtual {p2}, Ljava/util/zip/ZipEntry;->getCrc()J
move-result-wide v1
invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
move-result-object v1
const/4 v2, 0x3
aput-object v1, v0, v2
const-string v1, "pseudo-zip-hash-1-%s-%s-%s-%s"
invoke-static {v1, v0}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object v0
invoke-direct {p0, p1, v0}, Lcom/facebook/soloader/k$a;-><init>(Ljava/lang/String;Ljava/lang/String;)V
2019-07-25 02:21:43 +00:00
iput-object p2, p0, Lcom/facebook/soloader/e$a;->Yj:Ljava/util/zip/ZipEntry;
2019-07-24 11:27:29 +00:00
2019-07-25 02:21:43 +00:00
iput p3, p0, Lcom/facebook/soloader/e$a;->Yk:I
2019-07-24 11:27:29 +00:00
return-void
.end method
# virtual methods
.method public final compareTo(Ljava/lang/Object;)I
.locals 1
iget-object v0, p0, Lcom/facebook/soloader/e$a;->name:Ljava/lang/String;
check-cast p1, Lcom/facebook/soloader/e$a;
iget-object p1, p1, Lcom/facebook/soloader/e$a;->name:Ljava/lang/String;
invoke-virtual {v0, p1}, Ljava/lang/String;->compareTo(Ljava/lang/String;)I
move-result p1
return p1
.end method