apkfuckery/com.discord/smali_classes2/x/a/e0.smali

327 lines
7 KiB
Smali
Raw Normal View History

2020-02-20 19:33:18 +00:00
.class public final Lx/a/e0;
2019-07-24 11:27:29 +00:00
.super Ljava/lang/Object;
2019-10-03 02:31:26 +00:00
.source "Debug.kt"
2019-07-24 11:27:29 +00:00
# static fields
2019-12-06 03:29:40 +00:00
.field public static final a:Z
2019-10-03 02:31:26 +00:00
2019-12-06 03:29:40 +00:00
.field public static final b:Z
2019-07-24 11:27:29 +00:00
# direct methods
2019-12-06 03:29:40 +00:00
.method public static constructor <clinit>()V
2019-10-03 02:31:26 +00:00
.locals 5
2019-07-24 11:27:29 +00:00
2019-10-03 02:31:26 +00:00
const-string v0, "kotlinx.coroutines.debug"
2019-07-24 11:27:29 +00:00
2020-02-20 19:33:18 +00:00
invoke-static {v0}, Lx/a/a2/x;->a(Ljava/lang/String;)Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-10-03 02:31:26 +00:00
move-result-object v0
2019-07-24 11:27:29 +00:00
2019-10-03 02:31:26 +00:00
const/4 v1, 0x0
const/4 v2, 0x1
if-nez v0, :cond_0
goto :goto_0
:cond_0
invoke-virtual {v0}, Ljava/lang/String;->hashCode()I
move-result v3
if-eqz v3, :cond_3
const/16 v4, 0xddf
if-eq v3, v4, :cond_2
const v4, 0x1ad6f
if-eq v3, v4, :cond_1
const v4, 0x2dddaf
if-ne v3, v4, :cond_5
const-string v3, "auto"
invoke-virtual {v0, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v3
if-eqz v3, :cond_5
:goto_0
2020-02-20 19:33:18 +00:00
const-class v0, Lx/a/z;
2019-10-03 02:31:26 +00:00
invoke-virtual {v0}, Ljava/lang/Class;->desiredAssertionStatus()Z
move-result v0
goto :goto_2
:cond_1
const-string v3, "off"
invoke-virtual {v0, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v3
if-eqz v3, :cond_5
2019-07-24 11:27:29 +00:00
2019-10-03 02:31:26 +00:00
const/4 v0, 0x0
2019-07-24 11:27:29 +00:00
2019-10-03 02:31:26 +00:00
goto :goto_2
:cond_2
const-string v3, "on"
invoke-virtual {v0, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v3
if-eqz v3, :cond_5
goto :goto_1
:cond_3
const-string v3, ""
invoke-virtual {v0, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v3
if-eqz v3, :cond_5
:goto_1
const/4 v0, 0x1
:goto_2
2020-02-20 19:33:18 +00:00
sput-boolean v0, Lx/a/e0;->a:Z
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
sget-boolean v0, Lx/a/e0;->a:Z
2019-10-03 02:31:26 +00:00
if-eqz v0, :cond_4
const-string v0, "kotlinx.coroutines.stacktrace.recovery"
2020-02-20 19:33:18 +00:00
invoke-static {v0, v2}, Lx/a/a2/w;->a(Ljava/lang/String;Z)Z
2019-10-03 02:31:26 +00:00
move-result v0
if-eqz v0, :cond_4
const/4 v1, 0x1
:cond_4
2020-02-20 19:33:18 +00:00
sput-boolean v1, Lx/a/e0;->b:Z
2019-07-24 11:27:29 +00:00
return-void
2019-10-03 02:31:26 +00:00
:cond_5
new-instance v1, Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
2019-10-03 02:31:26 +00:00
const-string v2, "System property \'kotlinx.coroutines.debug\' has unrecognized value \'"
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2019-10-03 02:31:26 +00:00
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2019-10-03 02:31:26 +00:00
const/16 v0, 0x27
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2019-10-03 02:31:26 +00:00
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-10-03 02:31:26 +00:00
move-result-object v0
2019-07-24 11:27:29 +00:00
2019-10-03 02:31:26 +00:00
new-instance v1, Ljava/lang/IllegalStateException;
2019-07-24 11:27:29 +00:00
2019-10-03 02:31:26 +00:00
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v0
invoke-direct {v1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v1
2019-07-24 11:27:29 +00:00
.end method
2019-12-06 03:29:40 +00:00
.method public static final a(Ljava/lang/Object;)Ljava/lang/String;
.locals 1
if-eqz p0, :cond_0
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object p0
invoke-virtual {p0}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
move-result-object p0
const-string v0, "this::class.java.simpleName"
2020-02-20 19:33:18 +00:00
invoke-static {p0, v0}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
return-object p0
:cond_0
const-string p0, "$this$classSimpleName"
2020-02-20 19:33:18 +00:00
invoke-static {p0}, Lw/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
const/4 p0, 0x0
throw p0
.end method
2019-10-09 23:16:36 +00:00
.method public static final a(Lkotlin/coroutines/Continuation;)Ljava/lang/String;
2019-10-03 02:31:26 +00:00
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lkotlin/coroutines/Continuation<",
"*>;)",
"Ljava/lang/String;"
}
.end annotation
2019-12-06 03:29:40 +00:00
if-eqz p0, :cond_2
2019-10-03 02:31:26 +00:00
2020-02-20 19:33:18 +00:00
instance-of v0, p0, Lx/a/j0;
2019-10-03 02:31:26 +00:00
if-eqz v0, :cond_0
invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p0
2019-12-06 03:29:40 +00:00
goto :goto_2
2019-10-03 02:31:26 +00:00
:cond_0
const/16 v0, 0x40
:try_start_0
2020-02-20 19:33:18 +00:00
sget-object v1, Lw/i;->d:Lw/i$a;
2019-10-03 02:31:26 +00:00
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {v1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
2020-02-20 19:33:18 +00:00
invoke-static {p0}, Lx/a/e0;->b(Ljava/lang/Object;)Ljava/lang/String;
2019-10-03 02:31:26 +00:00
move-result-object v2
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
2020-02-20 19:33:18 +00:00
invoke-static {v1}, Lw/i;->constructor-impl(Ljava/lang/Object;)Ljava/lang/Object;
2019-10-03 02:31:26 +00:00
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_0
:catchall_0
move-exception v1
2020-02-20 19:33:18 +00:00
sget-object v2, Lw/i;->d:Lw/i$a;
2019-10-03 02:31:26 +00:00
2020-02-20 19:33:18 +00:00
invoke-static {v1}, Le/k/a/c/e/p/g;->createFailure(Ljava/lang/Throwable;)Ljava/lang/Object;
2019-10-03 02:31:26 +00:00
move-result-object v1
:goto_0
2020-02-20 19:33:18 +00:00
invoke-static {v1}, Lw/i;->exceptionOrNull-impl(Ljava/lang/Object;)Ljava/lang/Throwable;
2019-10-03 02:31:26 +00:00
move-result-object v2
if-nez v2, :cond_1
goto :goto_1
:cond_1
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v2
invoke-virtual {v2}, Ljava/lang/Class;->getName()Ljava/lang/String;
move-result-object v2
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
2020-02-20 19:33:18 +00:00
invoke-static {p0}, Lx/a/e0;->b(Ljava/lang/Object;)Ljava/lang/String;
2019-10-03 02:31:26 +00:00
move-result-object p0
invoke-virtual {v1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
:goto_1
2019-12-06 03:29:40 +00:00
move-object p0, v1
check-cast p0, Ljava/lang/String;
2019-10-03 02:31:26 +00:00
2019-12-06 03:29:40 +00:00
:goto_2
return-object p0
:cond_2
const-string p0, "$this$toDebugString"
2020-02-20 19:33:18 +00:00
invoke-static {p0}, Lw/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
const/4 p0, 0x0
throw p0
2019-07-24 11:27:29 +00:00
.end method
2019-10-09 23:16:36 +00:00
2019-12-06 03:29:40 +00:00
.method public static final b(Ljava/lang/Object;)Ljava/lang/String;
2019-10-09 23:16:36 +00:00
.locals 1
2019-12-06 03:29:40 +00:00
if-eqz p0, :cond_0
2019-10-09 23:16:36 +00:00
invoke-static {p0}, Ljava/lang/System;->identityHashCode(Ljava/lang/Object;)I
move-result p0
invoke-static {p0}, Ljava/lang/Integer;->toHexString(I)Ljava/lang/String;
move-result-object p0
const-string v0, "Integer.toHexString(System.identityHashCode(this))"
2020-02-20 19:33:18 +00:00
invoke-static {p0, v0}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-10-09 23:16:36 +00:00
return-object p0
2019-12-06 03:29:40 +00:00
:cond_0
const-string p0, "$this$hexAddress"
2019-10-09 23:16:36 +00:00
2020-02-20 19:33:18 +00:00
invoke-static {p0}, Lw/u/b/j;->a(Ljava/lang/String;)V
2019-10-09 23:16:36 +00:00
2019-12-06 03:29:40 +00:00
const/4 p0, 0x0
2019-10-09 23:16:36 +00:00
2019-12-06 03:29:40 +00:00
throw p0
2019-10-09 23:16:36 +00:00
.end method