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

110 lines
2.3 KiB
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class final Lcom/facebook/soloader/e$a;
2019-02-17 02:24:41 +00:00
.super Lcom/facebook/soloader/k$a;
2019-02-04 20:29:01 +00:00
.source "ExtractFromZipSoSource.java"
2019-02-04 20:08:30 +00:00
# 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-03-14 20:04:00 +00:00
.field final Xg:Ljava/util/zip/ZipEntry;
2019-02-04 20:08:30 +00:00
2019-03-14 20:04:00 +00:00
.field final Xh:I
2019-02-04 20:08:30 +00:00
# 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
2019-02-17 02:24:41 +00:00
invoke-direct {p0, p1, v0}, Lcom/facebook/soloader/k$a;-><init>(Ljava/lang/String;Ljava/lang/String;)V
2019-02-04 20:08:30 +00:00
2019-03-14 20:04:00 +00:00
iput-object p2, p0, Lcom/facebook/soloader/e$a;->Xg:Ljava/util/zip/ZipEntry;
2019-02-04 20:08:30 +00:00
2019-03-14 20:04:00 +00:00
iput p3, p0, Lcom/facebook/soloader/e$a;->Xh:I
2019-02-04 20:08:30 +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