apkfuckery/com.discord/smali_classes2/d0/h$b.smali

194 lines
4.4 KiB
Smali
Raw Normal View History

2020-04-11 15:34:05 +00:00
.class public final Ld0/h$b;
2019-12-06 03:29:40 +00:00
.super Ljava/lang/Object;
.source "CipherSuite.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
2020-04-11 15:34:05 +00:00
value = Ld0/h;
2019-12-06 03:29:40 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "b"
.end annotation
# direct methods
2020-03-14 02:12:46 +00:00
.method public synthetic constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
2019-12-06 03:29:40 +00:00
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
2020-04-11 15:34:05 +00:00
.method public final declared-synchronized a(Ljava/lang/String;)Ld0/h;
2020-03-14 04:13:36 +00:00
.locals 3
2019-12-06 03:29:40 +00:00
monitor-enter p0
:try_start_0
const-string v0, "javaName"
2020-03-14 04:13:36 +00:00
const/4 v1, 0x0
2019-12-06 03:29:40 +00:00
if-eqz p1, :cond_2
2020-04-11 15:34:05 +00:00
sget-object v0, Ld0/h;->c:Ljava/util/Map;
2019-12-06 03:29:40 +00:00
invoke-interface {v0, p1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
2020-04-11 15:34:05 +00:00
check-cast v0, Ld0/h;
2019-12-06 03:29:40 +00:00
if-nez v0, :cond_1
2020-04-11 15:34:05 +00:00
sget-object v0, Ld0/h;->c:Ljava/util/Map;
2019-12-06 03:29:40 +00:00
2020-04-11 15:34:05 +00:00
invoke-virtual {p0, p1}, Ld0/h$b;->c(Ljava/lang/String;)Ljava/lang/String;
2019-12-06 03:29:40 +00:00
2020-03-14 04:13:36 +00:00
move-result-object v2
2019-12-06 03:29:40 +00:00
2020-03-14 04:13:36 +00:00
invoke-interface {v0, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
move-result-object v0
2020-04-11 15:34:05 +00:00
check-cast v0, Ld0/h;
2019-12-06 03:29:40 +00:00
if-nez v0, :cond_0
2020-04-11 15:34:05 +00:00
new-instance v0, Ld0/h;
2019-12-06 03:29:40 +00:00
2020-04-11 15:34:05 +00:00
invoke-direct {v0, p1, v1}, Ld0/h;-><init>(Ljava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
2019-12-06 03:29:40 +00:00
:cond_0
2020-04-11 15:34:05 +00:00
sget-object v1, Ld0/h;->c:Ljava/util/Map;
2019-12-06 03:29:40 +00:00
invoke-interface {v1, p1, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
:cond_1
monitor-exit p0
return-object v0
:cond_2
:try_start_1
2020-04-11 15:34:05 +00:00
invoke-static {v0}, Lz/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
2020-03-14 04:13:36 +00:00
throw v1
2019-12-06 03:29:40 +00:00
:catchall_0
move-exception p1
monitor-exit p0
throw p1
.end method
2020-02-20 19:33:18 +00:00
.method public final a()Ljava/util/Comparator;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Comparator<",
"Ljava/lang/String;",
">;"
}
.end annotation
2020-04-11 15:34:05 +00:00
sget-object v0, Ld0/h;->b:Ljava/util/Comparator;
2020-02-20 19:33:18 +00:00
return-object v0
.end method
2020-04-11 15:34:05 +00:00
.method public final b(Ljava/lang/String;)Ld0/h;
2019-12-06 03:29:40 +00:00
.locals 2
2020-04-11 15:34:05 +00:00
new-instance v0, Ld0/h;
2019-12-06 03:29:40 +00:00
2020-03-14 04:13:36 +00:00
const/4 v1, 0x0
2020-04-11 15:34:05 +00:00
invoke-direct {v0, p1, v1}, Ld0/h;-><init>(Ljava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
2019-12-06 03:29:40 +00:00
2020-04-11 15:34:05 +00:00
sget-object v1, Ld0/h;->c:Ljava/util/Map;
2019-12-06 03:29:40 +00:00
invoke-interface {v1, p1, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
return-object v0
.end method
.method public final c(Ljava/lang/String;)Ljava/lang/String;
2020-03-14 04:13:36 +00:00
.locals 7
2019-12-06 03:29:40 +00:00
const/4 v0, 0x2
const/4 v1, 0x0
const-string v2, "TLS_"
2020-04-11 15:34:05 +00:00
invoke-static {p1, v2, v1, v0}, Lz/a0/p;->startsWith$default(Ljava/lang/String;Ljava/lang/String;ZI)Z
2019-12-06 03:29:40 +00:00
move-result v3
2020-03-14 04:13:36 +00:00
const-string v4, "(this as java.lang.String).substring(startIndex)"
2019-12-06 03:29:40 +00:00
2020-03-14 04:13:36 +00:00
const/4 v5, 0x4
2019-12-06 03:29:40 +00:00
2020-03-14 04:13:36 +00:00
const-string v6, "SSL_"
2019-12-06 03:29:40 +00:00
2020-03-14 04:13:36 +00:00
if-eqz v3, :cond_0
2019-12-06 03:29:40 +00:00
2020-04-11 15:34:05 +00:00
invoke-static {v6}, Lf/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-12-06 03:29:40 +00:00
move-result-object v0
2020-03-14 04:13:36 +00:00
invoke-virtual {p1, v5}, Ljava/lang/String;->substring(I)Ljava/lang/String;
2019-12-06 03:29:40 +00:00
move-result-object p1
2020-04-11 15:34:05 +00:00
invoke-static {p1, v4}, Lz/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
goto :goto_0
:cond_0
2020-04-11 15:34:05 +00:00
invoke-static {p1, v6, v1, v0}, Lz/a0/p;->startsWith$default(Ljava/lang/String;Ljava/lang/String;ZI)Z
2019-12-06 03:29:40 +00:00
move-result v0
2020-03-14 04:13:36 +00:00
if-eqz v0, :cond_1
2019-12-06 03:29:40 +00:00
2020-04-11 15:34:05 +00:00
invoke-static {v2}, Lf/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-12-06 03:29:40 +00:00
move-result-object v0
2020-03-14 04:13:36 +00:00
invoke-virtual {p1, v5}, Ljava/lang/String;->substring(I)Ljava/lang/String;
2019-12-06 03:29:40 +00:00
move-result-object p1
2020-04-11 15:34:05 +00:00
invoke-static {p1, v4}, Lz/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
2020-03-14 04:13:36 +00:00
:cond_1
2019-12-06 03:29:40 +00:00
:goto_0
return-object p1
.end method