apkfuckery/com.discord/smali_classes2/x/a/u1$a.smali

98 lines
2.3 KiB
Smali
Raw Normal View History

2020-02-20 19:33:18 +00:00
.class public final Lx/a/u1$a;
2019-12-06 03:29:40 +00:00
.super Ljava/lang/Object;
.source "ThreadPoolDispatcher.kt"
# interfaces
.implements Ljava/util/concurrent/ThreadFactory;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
2020-02-20 19:33:18 +00:00
value = Lx/a/u1;-><init>(ILjava/lang/String;)V
2019-12-06 03:29:40 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
# instance fields
2020-02-20 19:33:18 +00:00
.field public final synthetic d:Lx/a/u1;
2019-12-06 03:29:40 +00:00
# direct methods
2020-02-20 19:33:18 +00:00
.method public constructor <init>(Lx/a/u1;)V
2019-12-06 03:29:40 +00:00
.locals 0
2020-02-20 19:33:18 +00:00
iput-object p1, p0, Lx/a/u1$a;->d:Lx/a/u1;
2019-12-06 03:29:40 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public newThread(Ljava/lang/Runnable;)Ljava/lang/Thread;
.locals 5
2020-02-20 19:33:18 +00:00
new-instance v0, Lx/a/p1;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
iget-object v1, p0, Lx/a/u1$a;->d:Lx/a/u1;
2019-12-06 03:29:40 +00:00
const-string v2, "target"
2020-02-20 19:33:18 +00:00
invoke-static {p1, v2}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
iget-object v2, p0, Lx/a/u1$a;->d:Lx/a/u1;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
iget v3, v2, Lx/a/u1;->g:I
2019-12-06 03:29:40 +00:00
const/4 v4, 0x1
if-ne v3, v4, :cond_0
2020-02-20 19:33:18 +00:00
invoke-static {v2}, Lx/a/u1;->a(Lx/a/u1;)Ljava/lang/String;
2019-12-06 03:29:40 +00:00
move-result-object v2
goto :goto_0
:cond_0
new-instance v2, Ljava/lang/StringBuilder;
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
2020-02-20 19:33:18 +00:00
iget-object v3, p0, Lx/a/u1$a;->d:Lx/a/u1;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
invoke-static {v3}, Lx/a/u1;->a(Lx/a/u1;)Ljava/lang/String;
2019-12-06 03:29:40 +00:00
move-result-object v3
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v3, "-"
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-02-20 19:33:18 +00:00
iget-object v3, p0, Lx/a/u1$a;->d:Lx/a/u1;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
iget-object v3, v3, Lx/a/u1;->e:Ljava/util/concurrent/atomic/AtomicInteger;
2019-12-06 03:29:40 +00:00
invoke-virtual {v3}, Ljava/util/concurrent/atomic/AtomicInteger;->incrementAndGet()I
move-result v3
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v2
:goto_0
2020-02-20 19:33:18 +00:00
invoke-direct {v0, v1, p1, v2}, Lx/a/p1;-><init>(Lx/a/u1;Ljava/lang/Runnable;Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
return-object v0
.end method