apkfuckery/com.discord/smali_classes2/o0/z$a.smali

261 lines
5.8 KiB
Smali
Raw Normal View History

2020-09-02 04:07:20 +00:00
.class public final Lo0/z$a;
2020-05-17 12:40:10 +00:00
.super Ljava/lang/Object;
.source "RealCall.kt"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
2020-09-02 04:07:20 +00:00
value = Lo0/z;
2020-05-17 12:40:10 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x11
name = "a"
.end annotation
# instance fields
.field public volatile d:Ljava/util/concurrent/atomic/AtomicInteger;
2020-09-02 04:07:20 +00:00
.field public final e:Lo0/g;
2020-05-17 12:40:10 +00:00
2020-09-02 04:07:20 +00:00
.field public final synthetic f:Lo0/z;
2020-05-17 12:40:10 +00:00
# direct methods
2020-09-02 04:07:20 +00:00
.method public constructor <init>(Lo0/z;Lo0/g;)V
2020-09-08 08:16:32 +00:00
.locals 0
2020-05-17 12:40:10 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
2020-09-02 04:07:20 +00:00
"Lo0/g;",
2020-05-17 12:40:10 +00:00
")V"
}
.end annotation
2020-09-02 04:07:20 +00:00
iput-object p1, p0, Lo0/z$a;->f:Lo0/z;
2020-05-17 12:40:10 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2020-09-02 04:07:20 +00:00
iput-object p2, p0, Lo0/z$a;->e:Lo0/g;
2020-05-17 12:40:10 +00:00
new-instance p1, Ljava/util/concurrent/atomic/AtomicInteger;
const/4 p2, 0x0
invoke-direct {p1, p2}, Ljava/util/concurrent/atomic/AtomicInteger;-><init>(I)V
2020-09-02 04:07:20 +00:00
iput-object p1, p0, Lo0/z$a;->d:Ljava/util/concurrent/atomic/AtomicInteger;
2020-05-17 12:40:10 +00:00
return-void
.end method
# virtual methods
.method public final a()Ljava/lang/String;
.locals 1
2020-09-02 04:07:20 +00:00
iget-object v0, p0, Lo0/z$a;->f:Lo0/z;
2020-05-17 12:40:10 +00:00
2020-09-02 04:07:20 +00:00
iget-object v0, v0, Lo0/z;->g:Lo0/a0;
2020-05-17 12:40:10 +00:00
2020-09-02 04:07:20 +00:00
iget-object v0, v0, Lo0/a0;->b:Lo0/w;
2020-05-17 12:40:10 +00:00
2020-09-02 04:07:20 +00:00
iget-object v0, v0, Lo0/w;->e:Ljava/lang/String;
2020-05-17 12:40:10 +00:00
return-object v0
.end method
.method public run()V
.locals 7
const-string v0, "OkHttp "
2020-07-14 22:43:59 +00:00
invoke-static {v0}, Lf/e/b/a/a;->D(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-05-17 12:40:10 +00:00
move-result-object v0
2020-09-02 04:07:20 +00:00
iget-object v1, p0, Lo0/z$a;->f:Lo0/z;
2020-05-17 12:40:10 +00:00
2020-09-02 04:07:20 +00:00
iget-object v1, v1, Lo0/z;->g:Lo0/a0;
2020-05-17 12:40:10 +00:00
2020-09-02 04:07:20 +00:00
iget-object v1, v1, Lo0/a0;->b:Lo0/w;
2020-05-17 12:40:10 +00:00
2020-09-02 04:07:20 +00:00
invoke-virtual {v1}, Lo0/w;->i()Ljava/lang/String;
2020-05-17 12:40:10 +00:00
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;
move-result-object v1
const-string v2, "currentThread"
2020-09-08 08:16:32 +00:00
invoke-static {v1, v2}, Lk0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-05-17 12:40:10 +00:00
invoke-virtual {v1}, Ljava/lang/Thread;->getName()Ljava/lang/String;
move-result-object v2
invoke-virtual {v1, v0}, Ljava/lang/Thread;->setName(Ljava/lang/String;)V
:try_start_0
2020-09-02 04:07:20 +00:00
iget-object v0, p0, Lo0/z$a;->f:Lo0/z;
2020-05-17 12:40:10 +00:00
2020-09-02 04:07:20 +00:00
iget-object v0, v0, Lo0/z;->d:Lo0/g0/d/m;
2020-05-17 12:40:10 +00:00
if-eqz v0, :cond_1
2020-09-02 04:07:20 +00:00
iget-object v0, v0, Lo0/g0/d/m;->c:Lo0/g0/d/m$b;
2020-05-17 12:40:10 +00:00
2020-09-02 04:07:20 +00:00
invoke-virtual {v0}, Lp0/b;->i()V
2020-05-17 12:40:10 +00:00
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_1
:try_start_1
2020-09-02 04:07:20 +00:00
iget-object v0, p0, Lo0/z$a;->f:Lo0/z;
2020-05-17 12:40:10 +00:00
2020-09-02 04:07:20 +00:00
invoke-virtual {v0}, Lo0/z;->b()Lokhttp3/Response;
2020-05-17 12:40:10 +00:00
move-result-object v0
:try_end_1
.catch Ljava/io/IOException; {:try_start_1 .. :try_end_1} :catch_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
const/4 v3, 0x1
:try_start_2
2020-09-02 04:07:20 +00:00
iget-object v4, p0, Lo0/z$a;->e:Lo0/g;
2020-05-17 12:40:10 +00:00
2020-09-02 04:07:20 +00:00
iget-object v5, p0, Lo0/z$a;->f:Lo0/z;
2020-05-17 12:40:10 +00:00
2020-09-02 04:07:20 +00:00
invoke-interface {v4, v5, v0}, Lo0/g;->a(Lo0/f;Lokhttp3/Response;)V
2020-05-17 12:40:10 +00:00
:try_end_2
.catch Ljava/io/IOException; {:try_start_2 .. :try_end_2} :catch_0
.catchall {:try_start_2 .. :try_end_2} :catchall_0
:try_start_3
2020-09-02 04:07:20 +00:00
iget-object v0, p0, Lo0/z$a;->f:Lo0/z;
2020-05-17 12:40:10 +00:00
:goto_0
2020-09-02 04:07:20 +00:00
iget-object v0, v0, Lo0/z;->f:Lo0/x;
2020-05-17 12:40:10 +00:00
:try_end_3
.catchall {:try_start_3 .. :try_end_3} :catchall_1
goto :goto_3
:catch_0
move-exception v0
goto :goto_1
:catchall_0
move-exception v0
goto :goto_4
:catch_1
move-exception v0
const/4 v3, 0x0
:goto_1
if-eqz v3, :cond_0
:try_start_4
2020-09-02 04:07:20 +00:00
sget-object v3, Lo0/g0/h/f;->c:Lo0/g0/h/f$a;
2020-05-17 12:40:10 +00:00
2020-09-02 04:07:20 +00:00
sget-object v3, Lo0/g0/h/f;->a:Lo0/g0/h/f;
2020-05-17 12:40:10 +00:00
const/4 v4, 0x4
new-instance v5, Ljava/lang/StringBuilder;
invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V
const-string v6, "Callback failure for "
invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-09-02 04:07:20 +00:00
iget-object v6, p0, Lo0/z$a;->f:Lo0/z;
2020-05-17 12:40:10 +00:00
2020-09-02 04:07:20 +00:00
invoke-virtual {v6}, Lo0/z;->c()Ljava/lang/String;
2020-05-17 12:40:10 +00:00
move-result-object v6
invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v5
2020-09-02 04:07:20 +00:00
invoke-virtual {v3, v4, v5, v0}, Lo0/g0/h/f;->k(ILjava/lang/String;Ljava/lang/Throwable;)V
2020-05-17 12:40:10 +00:00
goto :goto_2
:cond_0
2020-09-02 04:07:20 +00:00
iget-object v3, p0, Lo0/z$a;->e:Lo0/g;
2020-05-17 12:40:10 +00:00
2020-09-02 04:07:20 +00:00
iget-object v4, p0, Lo0/z$a;->f:Lo0/z;
2020-05-17 12:40:10 +00:00
2020-09-02 04:07:20 +00:00
invoke-interface {v3, v4, v0}, Lo0/g;->b(Lo0/f;Ljava/io/IOException;)V
2020-05-17 12:40:10 +00:00
:try_end_4
.catchall {:try_start_4 .. :try_end_4} :catchall_0
:goto_2
:try_start_5
2020-09-02 04:07:20 +00:00
iget-object v0, p0, Lo0/z$a;->f:Lo0/z;
2020-05-17 12:40:10 +00:00
goto :goto_0
:goto_3
2020-09-02 04:07:20 +00:00
iget-object v0, v0, Lo0/x;->d:Lo0/q;
2020-05-17 12:40:10 +00:00
2020-09-02 04:07:20 +00:00
invoke-virtual {v0, p0}, Lo0/q;->c(Lo0/z$a;)V
2020-05-17 12:40:10 +00:00
:try_end_5
.catchall {:try_start_5 .. :try_end_5} :catchall_1
invoke-virtual {v1, v2}, Ljava/lang/Thread;->setName(Ljava/lang/String;)V
return-void
:goto_4
:try_start_6
2020-09-02 04:07:20 +00:00
iget-object v3, p0, Lo0/z$a;->f:Lo0/z;
2020-05-17 12:40:10 +00:00
2020-09-02 04:07:20 +00:00
iget-object v3, v3, Lo0/z;->f:Lo0/x;
2020-05-17 12:40:10 +00:00
2020-09-02 04:07:20 +00:00
iget-object v3, v3, Lo0/x;->d:Lo0/q;
2020-05-17 12:40:10 +00:00
2020-09-02 04:07:20 +00:00
invoke-virtual {v3, p0}, Lo0/q;->c(Lo0/z$a;)V
2020-05-17 12:40:10 +00:00
throw v0
:cond_1
const-string v0, "transmitter"
2020-09-08 08:16:32 +00:00
invoke-static {v0}, Lk0/n/c/h;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
2020-05-17 12:40:10 +00:00
:try_end_6
.catchall {:try_start_6 .. :try_end_6} :catchall_1
const/4 v0, 0x0
throw v0
:catchall_1
move-exception v0
invoke-virtual {v1, v2}, Ljava/lang/Thread;->setName(Ljava/lang/String;)V
throw v0
.end method