apkfuckery/com.discord/smali/com/facebook/soloader/e$a.smali
2019-02-06 21:30:57 +01:00

109 lines
2.3 KiB
Smali

.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
.field final VG:Ljava/util/zip/ZipEntry;
.field final VH:I
# direct methods
.method constructor <init>(Ljava/lang/String;Ljava/util/zip/ZipEntry;I)V
.locals 4
const-string v0, "pseudo-zip-hash-1-%s-%s-%s-%s"
const/4 v1, 0x4
new-array v1, v1, [Ljava/lang/Object;
invoke-virtual {p2}, Ljava/util/zip/ZipEntry;->getName()Ljava/lang/String;
move-result-object v2
const/4 v3, 0x0
aput-object v2, v1, v3
invoke-virtual {p2}, Ljava/util/zip/ZipEntry;->getSize()J
move-result-wide v2
invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
move-result-object v2
const/4 v3, 0x1
aput-object v2, v1, v3
invoke-virtual {p2}, Ljava/util/zip/ZipEntry;->getCompressedSize()J
move-result-wide v2
invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
move-result-object v2
const/4 v3, 0x2
aput-object v2, v1, v3
invoke-virtual {p2}, Ljava/util/zip/ZipEntry;->getCrc()J
move-result-wide v2
invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
move-result-object v2
const/4 v3, 0x3
aput-object v2, v1, v3
invoke-static {v0, v1}, 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
iput-object p2, p0, Lcom/facebook/soloader/e$a;->VG:Ljava/util/zip/ZipEntry;
iput p3, p0, Lcom/facebook/soloader/e$a;->VH:I
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