apkfuckery/com.discord/smali_classes2/k0/a/n1.smali

68 lines
1.5 KiB
Smali
Raw Normal View History

2020-07-23 01:06:17 +00:00
.class public final Lk0/a/n1;
2020-07-20 19:00:44 +00:00
.super Ljava/lang/Object;
.source "EventLoop.common.kt"
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
# static fields
.field public static final a:Ljava/lang/ThreadLocal;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/ThreadLocal<",
2020-07-23 01:06:17 +00:00
"Lk0/a/n0;",
2020-07-20 19:00:44 +00:00
">;"
}
.end annotation
.end field
2020-07-23 01:06:17 +00:00
.field public static final b:Lk0/a/n1;
2020-07-08 16:44:49 +00:00
2020-05-17 12:40:10 +00:00
# direct methods
2020-07-20 19:00:44 +00:00
.method public static constructor <clinit>()V
2020-05-17 12:40:10 +00:00
.locals 1
2020-07-20 19:00:44 +00:00
new-instance v0, Ljava/lang/ThreadLocal;
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
invoke-direct {v0}, Ljava/lang/ThreadLocal;-><init>()V
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
sput-object v0, Lk0/a/n1;->a:Ljava/lang/ThreadLocal;
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
return-void
.end method
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
.method public static final a()Lk0/a/n0;
2020-07-20 19:00:44 +00:00
.locals 3
2020-07-08 16:44:49 +00:00
2020-07-23 01:06:17 +00:00
sget-object v0, Lk0/a/n1;->a:Ljava/lang/ThreadLocal;
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
invoke-virtual {v0}, Ljava/lang/ThreadLocal;->get()Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
move-result-object v0
2020-07-23 01:06:17 +00:00
check-cast v0, Lk0/a/n0;
2020-07-20 19:00:44 +00:00
if-eqz v0, :cond_0
goto :goto_0
2020-05-17 12:40:10 +00:00
:cond_0
2020-07-23 01:06:17 +00:00
new-instance v0, Lk0/a/c;
2020-07-20 19:00:44 +00:00
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;
move-result-object v1
const-string v2, "Thread.currentThread()"
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
invoke-static {v1, v2}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
invoke-direct {v0, v1}, Lk0/a/c;-><init>(Ljava/lang/Thread;)V
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
sget-object v1, Lk0/a/n1;->a:Ljava/lang/ThreadLocal;
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
invoke-virtual {v1, v0}, Ljava/lang/ThreadLocal;->set(Ljava/lang/Object;)V
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
:goto_0
return-object v0
2020-05-17 12:40:10 +00:00
.end method