apkfuckery/com.discord/smali_classes2/l0/a/l1.smali

64 lines
1.3 KiB
Smali
Raw Normal View History

2020-09-02 04:07:20 +00:00
.class public final Ll0/a/l1;
2020-09-16 23:45:23 +00:00
.super Ljava/lang/Object;
.source "EventLoop.common.kt"
# static fields
.field public static final a:Ljava/lang/ThreadLocal;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/ThreadLocal<",
"Ll0/a/k0;",
">;"
}
.end annotation
.end field
.field public static final b:Ll0/a/l1;
2020-07-20 19:00:44 +00:00
# direct methods
2020-09-16 23:45:23 +00:00
.method public static constructor <clinit>()V
.locals 1
new-instance v0, Ljava/lang/ThreadLocal;
2020-07-20 19:00:44 +00:00
2020-09-16 23:45:23 +00:00
invoke-direct {v0}, Ljava/lang/ThreadLocal;-><init>()V
sput-object v0, Ll0/a/l1;->a:Ljava/lang/ThreadLocal;
2020-07-20 19:00:44 +00:00
return-void
.end method
2020-09-16 23:45:23 +00:00
.method public static final a()Ll0/a/k0;
.locals 2
sget-object v0, Ll0/a/l1;->a:Ljava/lang/ThreadLocal;
invoke-virtual {v0}, Ljava/lang/ThreadLocal;->get()Ljava/lang/Object;
move-result-object v0
check-cast v0, Ll0/a/k0;
if-eqz v0, :cond_0
goto :goto_0
:cond_0
new-instance v0, Ll0/a/c;
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;
move-result-object v1
invoke-direct {v0, v1}, Ll0/a/c;-><init>(Ljava/lang/Thread;)V
2020-07-20 19:00:44 +00:00
2020-09-16 23:45:23 +00:00
sget-object v1, Ll0/a/l1;->a:Ljava/lang/ThreadLocal;
2020-07-20 19:00:44 +00:00
2020-09-16 23:45:23 +00:00
invoke-virtual {v1, v0}, Ljava/lang/ThreadLocal;->set(Ljava/lang/Object;)V
2020-07-20 19:00:44 +00:00
2020-09-16 23:45:23 +00:00
:goto_0
return-object v0
2020-07-20 19:00:44 +00:00
.end method