apkfuckery/com.discord/smali_classes2/y/k/b.smali
2020-11-14 03:19:56 +00:00

413 lines
12 KiB
Smali

.class public final Ly/k/b;
.super Ljava/lang/Object;
.source "PlatformImplementations.kt"
# static fields
.field public static final a:Ly/k/a;
# direct methods
.method public static constructor <clinit>()V
.locals 11
const-class v0, Ly/k/a;
const-string v1, "java.specification.version"
invoke-static {v1}, Ljava/lang/System;->getProperty(Ljava/lang/String;)Ljava/lang/String;
move-result-object v1
if-eqz v1, :cond_2
const/4 v2, 0x6
const/16 v3, 0x2e
const/4 v4, 0x0
invoke-static {v1, v3, v4, v4, v2}, Ly/s/p;->indexOf$default(Ljava/lang/CharSequence;CIZI)I
move-result v2
const/high16 v5, 0x10000
if-gez v2, :cond_0
:try_start_0
invoke-static {v1}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
move-result v1
:try_end_0
.catch Ljava/lang/NumberFormatException; {:try_start_0 .. :try_end_0} :catch_0
mul-int v1, v1, v5
goto :goto_0
:cond_0
add-int/lit8 v6, v2, 0x1
const/4 v7, 0x4
invoke-static {v1, v3, v6, v4, v7}, Ly/s/p;->indexOf$default(Ljava/lang/CharSequence;CIZI)I
move-result v3
if-gez v3, :cond_1
invoke-virtual {v1}, Ljava/lang/String;->length()I
move-result v3
:cond_1
invoke-virtual {v1, v4, v2}, Ljava/lang/String;->substring(II)Ljava/lang/String;
move-result-object v2
const-string v4, "(this as java.lang.Strin\u2026ing(startIndex, endIndex)"
invoke-static {v2, v4}, Ly/m/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {v1, v6, v3}, Ljava/lang/String;->substring(II)Ljava/lang/String;
move-result-object v1
invoke-static {v1, v4}, Ly/m/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
:try_start_1
invoke-static {v2}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
move-result v2
mul-int v2, v2, v5
invoke-static {v1}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
move-result v1
:try_end_1
.catch Ljava/lang/NumberFormatException; {:try_start_1 .. :try_end_1} :catch_0
add-int/2addr v1, v2
goto :goto_0
:catch_0
:cond_2
const v1, 0x10006
:goto_0
const v2, 0x10008
const-string v3, "ClassCastException(\"Inst\u2026baseTypeCL\").initCause(e)"
const-string v4, ", base type classloader: "
const-string v5, "Instance classloader: "
const-string v6, "Class.forName(\"kotlin.in\u2026entations\").newInstance()"
if-lt v1, v2, :cond_3
:try_start_2
const-string v2, "kotlin.internal.jdk8.JDK8PlatformImplementations"
invoke-static {v2}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;
move-result-object v2
invoke-virtual {v2}, Ljava/lang/Class;->newInstance()Ljava/lang/Object;
move-result-object v2
invoke-static {v2, v6}, Ly/m/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
:try_end_2
.catch Ljava/lang/ClassNotFoundException; {:try_start_2 .. :try_end_2} :catch_2
:try_start_3
check-cast v2, Ly/k/a;
:try_end_3
.catch Ljava/lang/ClassCastException; {:try_start_3 .. :try_end_3} :catch_1
.catch Ljava/lang/ClassNotFoundException; {:try_start_3 .. :try_end_3} :catch_2
goto/16 :goto_1
:catch_1
move-exception v7
:try_start_4
invoke-virtual {v2}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v2
invoke-virtual {v2}, Ljava/lang/Class;->getClassLoader()Ljava/lang/ClassLoader;
move-result-object v2
invoke-virtual {v0}, Ljava/lang/Class;->getClassLoader()Ljava/lang/ClassLoader;
move-result-object v8
new-instance v9, Ljava/lang/ClassCastException;
new-instance v10, Ljava/lang/StringBuilder;
invoke-direct {v10}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {v10, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v10, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v10, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v10, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v10}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v2
invoke-direct {v9, v2}, Ljava/lang/ClassCastException;-><init>(Ljava/lang/String;)V
invoke-virtual {v9, v7}, Ljava/lang/ClassCastException;->initCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;
move-result-object v2
invoke-static {v2, v3}, Ly/m/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
throw v2
:try_end_4
.catch Ljava/lang/ClassNotFoundException; {:try_start_4 .. :try_end_4} :catch_2
:catch_2
:try_start_5
const-string v2, "kotlin.internal.JRE8PlatformImplementations"
invoke-static {v2}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;
move-result-object v2
invoke-virtual {v2}, Ljava/lang/Class;->newInstance()Ljava/lang/Object;
move-result-object v2
invoke-static {v2, v6}, Ly/m/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
:try_end_5
.catch Ljava/lang/ClassNotFoundException; {:try_start_5 .. :try_end_5} :catch_4
:try_start_6
check-cast v2, Ly/k/a;
:try_end_6
.catch Ljava/lang/ClassCastException; {:try_start_6 .. :try_end_6} :catch_3
.catch Ljava/lang/ClassNotFoundException; {:try_start_6 .. :try_end_6} :catch_4
goto/16 :goto_1
:catch_3
move-exception v7
:try_start_7
invoke-virtual {v2}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v2
invoke-virtual {v2}, Ljava/lang/Class;->getClassLoader()Ljava/lang/ClassLoader;
move-result-object v2
invoke-virtual {v0}, Ljava/lang/Class;->getClassLoader()Ljava/lang/ClassLoader;
move-result-object v8
new-instance v9, Ljava/lang/ClassCastException;
new-instance v10, Ljava/lang/StringBuilder;
invoke-direct {v10}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {v10, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v10, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v10, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v10, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v10}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v2
invoke-direct {v9, v2}, Ljava/lang/ClassCastException;-><init>(Ljava/lang/String;)V
invoke-virtual {v9, v7}, Ljava/lang/ClassCastException;->initCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;
move-result-object v2
invoke-static {v2, v3}, Ly/m/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
throw v2
:try_end_7
.catch Ljava/lang/ClassNotFoundException; {:try_start_7 .. :try_end_7} :catch_4
:catch_4
nop
:cond_3
const v2, 0x10007
if-lt v1, v2, :cond_4
:try_start_8
const-string v1, "y.k.c.a"
invoke-static {v1}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/Class;->newInstance()Ljava/lang/Object;
move-result-object v1
invoke-static {v1, v6}, Ly/m/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
:try_end_8
.catch Ljava/lang/ClassNotFoundException; {:try_start_8 .. :try_end_8} :catch_6
:try_start_9
move-object v2, v1
check-cast v2, Ly/k/a;
:try_end_9
.catch Ljava/lang/ClassCastException; {:try_start_9 .. :try_end_9} :catch_5
.catch Ljava/lang/ClassNotFoundException; {:try_start_9 .. :try_end_9} :catch_6
goto :goto_1
:catch_5
move-exception v2
:try_start_a
invoke-virtual {v1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/Class;->getClassLoader()Ljava/lang/ClassLoader;
move-result-object v1
invoke-virtual {v0}, Ljava/lang/Class;->getClassLoader()Ljava/lang/ClassLoader;
move-result-object v7
new-instance v8, Ljava/lang/ClassCastException;
new-instance v9, Ljava/lang/StringBuilder;
invoke-direct {v9}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {v9, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v9, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v9, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v9, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v9}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
invoke-direct {v8, v1}, Ljava/lang/ClassCastException;-><init>(Ljava/lang/String;)V
invoke-virtual {v8, v2}, Ljava/lang/ClassCastException;->initCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;
move-result-object v1
invoke-static {v1, v3}, Ly/m/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
throw v1
:try_end_a
.catch Ljava/lang/ClassNotFoundException; {:try_start_a .. :try_end_a} :catch_6
:catch_6
:try_start_b
const-string v1, "kotlin.internal.JRE7PlatformImplementations"
invoke-static {v1}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/Class;->newInstance()Ljava/lang/Object;
move-result-object v1
invoke-static {v1, v6}, Ly/m/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
:try_end_b
.catch Ljava/lang/ClassNotFoundException; {:try_start_b .. :try_end_b} :catch_8
:try_start_c
move-object v2, v1
check-cast v2, Ly/k/a;
:try_end_c
.catch Ljava/lang/ClassCastException; {:try_start_c .. :try_end_c} :catch_7
.catch Ljava/lang/ClassNotFoundException; {:try_start_c .. :try_end_c} :catch_8
goto :goto_1
:catch_7
move-exception v2
:try_start_d
invoke-virtual {v1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/Class;->getClassLoader()Ljava/lang/ClassLoader;
move-result-object v1
invoke-virtual {v0}, Ljava/lang/Class;->getClassLoader()Ljava/lang/ClassLoader;
move-result-object v0
new-instance v6, Ljava/lang/ClassCastException;
new-instance v7, Ljava/lang/StringBuilder;
invoke-direct {v7}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {v7, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v7, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v7, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v7, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
invoke-direct {v6, v0}, Ljava/lang/ClassCastException;-><init>(Ljava/lang/String;)V
invoke-virtual {v6, v2}, Ljava/lang/ClassCastException;->initCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;
move-result-object v0
invoke-static {v0, v3}, Ly/m/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
throw v0
:try_end_d
.catch Ljava/lang/ClassNotFoundException; {:try_start_d .. :try_end_d} :catch_8
:catch_8
:cond_4
new-instance v2, Ly/k/a;
invoke-direct {v2}, Ly/k/a;-><init>()V
:goto_1
sput-object v2, Ly/k/b;->a:Ly/k/a;
return-void
.end method