apkfuckery/com.discord/smali_classes2/x/h$a.smali

133 lines
2.1 KiB
Smali
Raw Normal View History

2019-12-21 01:41:59 +00:00
.class public final Lx/h$a;
2019-07-24 11:27:29 +00:00
.super Ljava/lang/Object;
2019-11-28 00:30:53 +00:00
.source "CipherSuite.kt"
2019-07-24 11:27:29 +00:00
# interfaces
.implements Ljava/util/Comparator;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
2019-12-21 01:41:59 +00:00
value = Lx/h;
2019-07-24 11:27:29 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
2019-11-28 00:30:53 +00:00
accessFlags = 0x19
2019-07-24 11:27:29 +00:00
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Ljava/util/Comparator<",
"Ljava/lang/String;",
">;"
}
.end annotation
# direct methods
2019-12-06 03:29:40 +00:00
.method public constructor <init>()V
2019-07-24 11:27:29 +00:00
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
2019-12-06 03:29:40 +00:00
.method public compare(Ljava/lang/Object;Ljava/lang/Object;)I
2019-07-24 11:27:29 +00:00
.locals 6
check-cast p1, Ljava/lang/String;
check-cast p2, Ljava/lang/String;
2019-12-06 03:29:40 +00:00
const/4 v0, 0x0
2019-11-28 00:30:53 +00:00
2019-12-06 03:29:40 +00:00
if-eqz p1, :cond_5
2019-11-28 00:30:53 +00:00
2019-12-06 03:29:40 +00:00
if-eqz p2, :cond_4
2019-11-28 00:30:53 +00:00
2019-12-06 03:29:40 +00:00
const/4 v0, 0x4
2019-11-28 00:30:53 +00:00
2019-07-24 11:27:29 +00:00
invoke-virtual {p1}, Ljava/lang/String;->length()I
2019-12-06 03:29:40 +00:00
move-result v1
2019-07-24 11:27:29 +00:00
invoke-virtual {p2}, Ljava/lang/String;->length()I
2019-12-06 03:29:40 +00:00
move-result v2
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-static {v1, v2}, Ljava/lang/Math;->min(II)I
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result v1
2019-07-24 11:27:29 +00:00
:goto_0
const/4 v2, -0x1
const/4 v3, 0x1
2019-12-06 03:29:40 +00:00
if-ge v0, v1, :cond_2
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {p1, v0}, Ljava/lang/String;->charAt(I)C
2019-07-24 11:27:29 +00:00
move-result v4
2019-12-06 03:29:40 +00:00
invoke-virtual {p2, v0}, Ljava/lang/String;->charAt(I)C
2019-07-24 11:27:29 +00:00
move-result v5
if-eq v4, v5, :cond_1
if-ge v4, v5, :cond_0
2019-12-06 03:29:40 +00:00
goto :goto_1
2019-07-24 11:27:29 +00:00
:cond_0
2019-12-06 03:29:40 +00:00
const/4 v2, 0x1
goto :goto_1
2019-07-24 11:27:29 +00:00
:cond_1
2019-12-06 03:29:40 +00:00
add-int/lit8 v0, v0, 0x1
2019-07-24 11:27:29 +00:00
goto :goto_0
:cond_2
invoke-virtual {p1}, Ljava/lang/String;->length()I
move-result p1
invoke-virtual {p2}, Ljava/lang/String;->length()I
move-result p2
2019-12-06 03:29:40 +00:00
if-eq p1, p2, :cond_3
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-ge p1, p2, :cond_0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
goto :goto_1
2019-07-24 11:27:29 +00:00
:cond_3
2019-12-06 03:29:40 +00:00
const/4 v2, 0x0
:goto_1
return v2
2019-07-24 11:27:29 +00:00
:cond_4
2019-12-06 03:29:40 +00:00
const-string p1, "b"
2019-12-21 01:41:59 +00:00
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
:cond_5
const-string p1, "a"
2019-12-21 01:41:59 +00:00
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
throw v0
2019-07-24 11:27:29 +00:00
.end method