apkfuckery/com.discord/smali_classes2/c0/x.smali

604 lines
12 KiB
Smali
Raw Normal View History

2020-05-11 19:22:21 +00:00
.class public final Lc0/x;
2020-04-17 19:35:49 +00:00
.super Ljava/lang/Object;
2020-05-11 19:22:21 +00:00
.source "RealCall.kt"
# interfaces
.implements Lc0/e;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lc0/x$a;,
Lc0/x$b;
}
.end annotation
2020-04-17 19:35:49 +00:00
# static fields
2020-05-11 19:22:21 +00:00
.field public static final i:Lc0/x$b;
2020-04-17 19:35:49 +00:00
# instance fields
2020-05-11 19:22:21 +00:00
.field public d:Lc0/c0/c/n;
.field public e:Z
2020-04-17 19:35:49 +00:00
2020-05-11 19:22:21 +00:00
.field public final f:Lc0/v;
2020-04-17 19:35:49 +00:00
2020-05-11 19:22:21 +00:00
.field public final g:Lc0/y;
.field public final h:Z
2020-04-17 19:35:49 +00:00
# direct methods
.method public static constructor <clinit>()V
2020-05-11 19:22:21 +00:00
.locals 2
new-instance v0, Lc0/x$b;
2020-04-17 19:35:49 +00:00
2020-05-11 19:22:21 +00:00
const/4 v1, 0x0
2020-04-17 19:35:49 +00:00
2020-05-11 19:22:21 +00:00
invoke-direct {v0, v1}, Lc0/x$b;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
2020-04-17 19:35:49 +00:00
2020-05-11 19:22:21 +00:00
sput-object v0, Lc0/x;->i:Lc0/x$b;
2020-04-17 19:35:49 +00:00
return-void
.end method
2020-05-11 19:22:21 +00:00
.method public synthetic constructor <init>(Lc0/v;Lc0/y;ZLkotlin/jvm/internal/DefaultConstructorMarker;)V
2020-04-17 19:35:49 +00:00
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2020-05-11 19:22:21 +00:00
iput-object p1, p0, Lc0/x;->f:Lc0/v;
iput-object p2, p0, Lc0/x;->g:Lc0/y;
iput-boolean p3, p0, Lc0/x;->h:Z
2020-04-17 19:35:49 +00:00
return-void
.end method
2020-05-11 19:22:21 +00:00
.method public static final synthetic a(Lc0/x;)Lc0/c0/c/n;
.locals 0
2020-05-07 23:11:04 +00:00
2020-05-11 19:22:21 +00:00
iget-object p0, p0, Lc0/x;->d:Lc0/c0/c/n;
2020-04-17 19:35:49 +00:00
2020-05-11 19:22:21 +00:00
if-eqz p0, :cond_0
2020-04-17 19:35:49 +00:00
2020-05-11 18:18:42 +00:00
return-object p0
2020-05-11 19:22:21 +00:00
:cond_0
const-string p0, "transmitter"
invoke-static {p0}, Ly/v/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
const/4 p0, 0x0
throw p0
2020-05-11 18:18:42 +00:00
.end method
2020-04-17 19:35:49 +00:00
2020-05-11 19:22:21 +00:00
# virtual methods
.method public a()V
2020-05-11 18:18:42 +00:00
.locals 1
2020-05-07 23:11:04 +00:00
2020-05-11 19:22:21 +00:00
iget-object v0, p0, Lc0/x;->d:Lc0/c0/c/n;
2020-05-07 23:11:04 +00:00
2020-05-11 19:22:21 +00:00
if-eqz v0, :cond_0
2020-05-07 23:11:04 +00:00
2020-05-11 19:22:21 +00:00
invoke-virtual {v0}, Lc0/c0/c/n;->b()V
2020-05-07 23:11:04 +00:00
2020-05-11 19:22:21 +00:00
return-void
:cond_0
const-string v0, "transmitter"
invoke-static {v0}, Ly/v/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
const/4 v0, 0x0
throw v0
2020-04-17 19:35:49 +00:00
.end method
2020-05-11 19:22:21 +00:00
.method public a(Lc0/f;)V
2020-04-17 19:35:49 +00:00
.locals 3
2020-05-11 19:22:21 +00:00
const/4 v0, 0x0
2020-04-17 19:35:49 +00:00
2020-05-11 19:22:21 +00:00
if-eqz p1, :cond_2
2020-04-17 19:35:49 +00:00
2020-05-11 19:22:21 +00:00
monitor-enter p0
2020-04-17 19:35:49 +00:00
2020-05-11 19:22:21 +00:00
:try_start_0
iget-boolean v1, p0, Lc0/x;->e:Z
2020-04-17 19:35:49 +00:00
2020-05-11 19:22:21 +00:00
const/4 v2, 0x1
2020-04-17 19:35:49 +00:00
2020-05-11 19:22:21 +00:00
xor-int/2addr v1, v2
2020-05-07 23:11:04 +00:00
2020-05-11 19:22:21 +00:00
if-eqz v1, :cond_1
2020-04-17 19:35:49 +00:00
2020-05-11 19:22:21 +00:00
iput-boolean v2, p0, Lc0/x;->e:Z
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
2020-05-07 23:11:04 +00:00
2020-05-11 19:22:21 +00:00
monitor-exit p0
2020-05-07 23:11:04 +00:00
2020-05-11 19:22:21 +00:00
iget-object v1, p0, Lc0/x;->d:Lc0/c0/c/n;
2020-05-07 23:11:04 +00:00
2020-05-11 19:22:21 +00:00
if-eqz v1, :cond_0
2020-05-07 23:11:04 +00:00
2020-05-11 19:22:21 +00:00
invoke-virtual {v1}, Lc0/c0/c/n;->a()V
2020-05-07 23:11:04 +00:00
2020-05-11 19:22:21 +00:00
iget-object v0, p0, Lc0/x;->f:Lc0/v;
2020-04-17 19:35:49 +00:00
2020-05-11 19:22:21 +00:00
iget-object v0, v0, Lc0/v;->d:Lc0/o;
2020-04-17 19:35:49 +00:00
2020-05-11 19:22:21 +00:00
new-instance v1, Lc0/x$a;
invoke-direct {v1, p0, p1}, Lc0/x$a;-><init>(Lc0/x;Lc0/f;)V
2020-04-17 19:35:49 +00:00
2020-05-11 19:22:21 +00:00
invoke-virtual {v0, v1}, Lc0/o;->a(Lc0/x$a;)V
return-void
:cond_0
const-string p1, "transmitter"
invoke-static {p1}, Ly/v/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw v0
:cond_1
:try_start_1
const-string p1, "Already Executed"
new-instance v0, Ljava/lang/IllegalStateException;
2020-04-17 19:35:49 +00:00
2020-05-11 18:18:42 +00:00
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
2020-04-17 19:35:49 +00:00
2020-05-11 18:18:42 +00:00
move-result-object p1
2020-04-17 19:35:49 +00:00
2020-05-11 19:22:21 +00:00
invoke-direct {v0, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
2020-05-07 23:11:04 +00:00
2020-05-11 19:22:21 +00:00
throw v0
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
2020-04-17 19:35:49 +00:00
2020-05-11 19:22:21 +00:00
:catchall_0
move-exception p1
2020-04-17 19:35:49 +00:00
2020-05-11 19:22:21 +00:00
monitor-exit p0
2020-04-17 19:35:49 +00:00
2020-05-11 18:18:42 +00:00
throw p1
2020-05-11 19:22:21 +00:00
:cond_2
const-string p1, "responseCallback"
invoke-static {p1}, Ly/v/b/j;->a(Ljava/lang/String;)V
throw v0
2020-05-11 18:18:42 +00:00
.end method
2020-05-07 23:11:04 +00:00
2020-05-11 19:22:21 +00:00
.method public b()Lokhttp3/Response;
.locals 3
2020-05-07 23:11:04 +00:00
2020-05-11 19:22:21 +00:00
monitor-enter p0
2020-05-07 23:11:04 +00:00
2020-05-11 19:22:21 +00:00
:try_start_0
iget-boolean v0, p0, Lc0/x;->e:Z
2020-05-07 23:11:04 +00:00
2020-05-11 19:22:21 +00:00
const/4 v1, 0x1
2020-04-17 19:35:49 +00:00
2020-05-11 19:22:21 +00:00
xor-int/2addr v0, v1
if-eqz v0, :cond_2
iput-boolean v1, p0, Lc0/x;->e:Z
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_1
monitor-exit p0
iget-object v0, p0, Lc0/x;->d:Lc0/c0/c/n;
const/4 v1, 0x0
if-eqz v0, :cond_1
iget-object v0, v0, Lc0/c0/c/n;->c:Lc0/c0/c/n$b;
2020-05-07 23:11:04 +00:00
2020-05-11 19:22:21 +00:00
invoke-virtual {v0}, Ld0/b;->g()V
iget-object v0, p0, Lc0/x;->d:Lc0/c0/c/n;
2020-04-17 19:35:49 +00:00
if-eqz v0, :cond_0
2020-05-11 19:22:21 +00:00
invoke-virtual {v0}, Lc0/c0/c/n;->a()V
2020-05-07 23:11:04 +00:00
2020-05-11 19:22:21 +00:00
:try_start_1
iget-object v0, p0, Lc0/x;->f:Lc0/v;
2020-04-17 19:35:49 +00:00
2020-05-11 19:22:21 +00:00
iget-object v0, v0, Lc0/v;->d:Lc0/o;
2020-05-07 23:11:04 +00:00
2020-05-11 19:22:21 +00:00
invoke-virtual {v0, p0}, Lc0/o;->a(Lc0/x;)V
2020-05-07 23:11:04 +00:00
2020-05-11 19:22:21 +00:00
invoke-virtual {p0}, Lc0/x;->c()Lokhttp3/Response;
2020-05-07 23:11:04 +00:00
2020-05-11 19:22:21 +00:00
move-result-object v0
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
iget-object v1, p0, Lc0/x;->f:Lc0/v;
iget-object v1, v1, Lc0/v;->d:Lc0/o;
iget-object v2, v1, Lc0/o;->g:Ljava/util/ArrayDeque;
invoke-virtual {v1, v2, p0}, Lc0/o;->a(Ljava/util/Deque;Ljava/lang/Object;)V
return-object v0
:catchall_0
move-exception v0
iget-object v1, p0, Lc0/x;->f:Lc0/v;
iget-object v1, v1, Lc0/v;->d:Lc0/o;
2020-05-07 23:11:04 +00:00
2020-05-11 19:22:21 +00:00
iget-object v2, v1, Lc0/o;->g:Ljava/util/ArrayDeque;
invoke-virtual {v1, v2, p0}, Lc0/o;->a(Ljava/util/Deque;Ljava/lang/Object;)V
2020-05-07 23:11:04 +00:00
2020-05-11 18:18:42 +00:00
throw v0
2020-05-07 23:11:04 +00:00
2020-05-11 19:22:21 +00:00
:cond_0
const-string v0, "transmitter"
invoke-static {v0}, Ly/v/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw v1
:cond_1
const-string v0, "transmitter"
invoke-static {v0}, Ly/v/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw v1
:cond_2
:try_start_2
const-string v0, "Already Executed"
new-instance v1, Ljava/lang/IllegalStateException;
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
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_1
:catchall_1
move-exception v0
2020-04-17 19:35:49 +00:00
2020-05-11 19:22:21 +00:00
monitor-exit p0
2020-04-17 19:35:49 +00:00
2020-05-11 19:22:21 +00:00
throw v0
2020-04-17 19:35:49 +00:00
.end method
2020-05-11 19:22:21 +00:00
.method public final c()Lokhttp3/Response;
.locals 13
2020-04-17 19:35:49 +00:00
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
2020-05-11 19:22:21 +00:00
new-instance v1, Ljava/util/ArrayList;
2020-04-17 19:35:49 +00:00
2020-05-11 19:22:21 +00:00
invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V
2020-04-17 19:35:49 +00:00
2020-05-11 19:22:21 +00:00
iget-object v0, p0, Lc0/x;->f:Lc0/v;
2020-05-07 23:11:04 +00:00
2020-05-11 19:22:21 +00:00
iget-object v0, v0, Lc0/v;->f:Ljava/util/List;
2020-05-07 23:11:04 +00:00
2020-05-11 19:22:21 +00:00
invoke-static {v1, v0}, Lf/o/a/j/a;->addAll(Ljava/util/Collection;Ljava/lang/Iterable;)Z
2020-05-07 23:11:04 +00:00
2020-05-11 19:22:21 +00:00
new-instance v0, Lc0/c0/d/i;
2020-05-07 23:11:04 +00:00
2020-05-11 19:22:21 +00:00
iget-object v2, p0, Lc0/x;->f:Lc0/v;
2020-05-07 23:11:04 +00:00
2020-05-11 19:22:21 +00:00
invoke-direct {v0, v2}, Lc0/c0/d/i;-><init>(Lc0/v;)V
2020-05-07 23:11:04 +00:00
2020-05-11 19:22:21 +00:00
invoke-interface {v1, v0}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
2020-05-07 23:11:04 +00:00
2020-05-11 19:22:21 +00:00
new-instance v0, Lc0/c0/d/a;
2020-05-07 23:11:04 +00:00
2020-05-11 19:22:21 +00:00
iget-object v2, p0, Lc0/x;->f:Lc0/v;
2020-05-07 23:11:04 +00:00
2020-05-11 19:22:21 +00:00
iget-object v2, v2, Lc0/v;->m:Lc0/n;
2020-05-07 23:11:04 +00:00
2020-05-11 19:22:21 +00:00
invoke-direct {v0, v2}, Lc0/c0/d/a;-><init>(Lc0/n;)V
invoke-interface {v1, v0}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
new-instance v0, Lc0/c0/b/a;
iget-object v2, p0, Lc0/x;->f:Lc0/v;
invoke-virtual {v2}, Lc0/v;->a()V
invoke-direct {v0}, Lc0/c0/b/a;-><init>()V
invoke-interface {v1, v0}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
sget-object v0, Lc0/c0/c/a;->b:Lc0/c0/c/a;
invoke-interface {v1, v0}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
iget-boolean v0, p0, Lc0/x;->h:Z
if-nez v0, :cond_0
iget-object v0, p0, Lc0/x;->f:Lc0/v;
iget-object v0, v0, Lc0/v;->g:Ljava/util/List;
invoke-static {v1, v0}, Lf/o/a/j/a;->addAll(Ljava/util/Collection;Ljava/lang/Iterable;)Z
2020-04-17 19:35:49 +00:00
:cond_0
2020-05-11 19:22:21 +00:00
new-instance v0, Lc0/c0/d/b;
2020-05-07 23:11:04 +00:00
2020-05-11 19:22:21 +00:00
iget-boolean v2, p0, Lc0/x;->h:Z
2020-05-07 23:11:04 +00:00
2020-05-11 19:22:21 +00:00
invoke-direct {v0, v2}, Lc0/c0/d/b;-><init>(Z)V
2020-05-07 23:11:04 +00:00
2020-05-11 19:22:21 +00:00
invoke-interface {v1, v0}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
new-instance v10, Lc0/c0/d/g;
iget-object v2, p0, Lc0/x;->d:Lc0/c0/c/n;
const-string v11, "transmitter"
const/4 v12, 0x0
if-eqz v2, :cond_8
const/4 v3, 0x0
const/4 v4, 0x0
iget-object v5, p0, Lc0/x;->g:Lc0/y;
iget-object v0, p0, Lc0/x;->f:Lc0/v;
iget v7, v0, Lc0/v;->A:I
iget v8, v0, Lc0/v;->B:I
iget v9, v0, Lc0/v;->C:I
move-object v0, v10
move-object v6, p0
invoke-direct/range {v0 .. v9}, Lc0/c0/d/g;-><init>(Ljava/util/List;Lc0/c0/c/n;Lc0/c0/c/c;ILc0/y;Lc0/e;III)V
const/4 v0, 0x0
:try_start_0
iget-object v1, p0, Lc0/x;->g:Lc0/y;
invoke-virtual {v10, v1}, Lc0/c0/d/g;->a(Lc0/y;)Lokhttp3/Response;
move-result-object v1
iget-object v2, p0, Lc0/x;->d:Lc0/c0/c/n;
if-eqz v2, :cond_3
invoke-virtual {v2}, Lc0/c0/c/n;->e()Z
move-result v2
:try_end_0
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
if-nez v2, :cond_2
iget-object v0, p0, Lc0/x;->d:Lc0/c0/c/n;
if-eqz v0, :cond_1
invoke-virtual {v0, v12}, Lc0/c0/c/n;->a(Ljava/io/IOException;)Ljava/io/IOException;
return-object v1
2020-04-17 19:35:49 +00:00
:cond_1
2020-05-11 19:22:21 +00:00
invoke-static {v11}, Ly/v/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw v12
2020-04-17 19:35:49 +00:00
:cond_2
2020-05-11 19:22:21 +00:00
:try_start_1
invoke-static {v1}, Lc0/c0/a;->a(Ljava/io/Closeable;)V
new-instance v1, Ljava/io/IOException;
const-string v2, "Canceled"
invoke-direct {v1, v2}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
throw v1
:cond_3
invoke-static {v11}, Ly/v/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
:try_end_1
.catch Ljava/io/IOException; {:try_start_1 .. :try_end_1} :catch_0
.catchall {:try_start_1 .. :try_end_1} :catchall_0
throw v12
:catchall_0
move-exception v1
goto :goto_0
:catch_0
move-exception v0
:try_start_2
iget-object v1, p0, Lc0/x;->d:Lc0/c0/c/n;
if-eqz v1, :cond_5
invoke-virtual {v1, v0}, Lc0/c0/c/n;->a(Ljava/io/IOException;)Ljava/io/IOException;
2020-04-17 19:35:49 +00:00
move-result-object v0
2020-05-11 19:22:21 +00:00
if-nez v0, :cond_4
2020-04-17 19:35:49 +00:00
2020-05-11 19:22:21 +00:00
new-instance v0, Ly/l;
2020-04-17 19:35:49 +00:00
2020-05-11 19:22:21 +00:00
const-string v1, "null cannot be cast to non-null type kotlin.Throwable"
2020-04-17 19:35:49 +00:00
2020-05-11 19:22:21 +00:00
invoke-direct {v0, v1}, Ly/l;-><init>(Ljava/lang/String;)V
2020-04-17 19:35:49 +00:00
throw v0
2020-05-11 19:22:21 +00:00
:cond_4
throw v0
:cond_5
invoke-static {v11}, Ly/v/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_1
throw v12
:catchall_1
move-exception v0
move-object v1, v0
const/4 v0, 0x1
:goto_0
if-nez v0, :cond_7
iget-object v0, p0, Lc0/x;->d:Lc0/c0/c/n;
if-nez v0, :cond_6
invoke-static {v11}, Ly/v/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw v12
:cond_6
invoke-virtual {v0, v12}, Lc0/c0/c/n;->a(Ljava/io/IOException;)Ljava/io/IOException;
:cond_7
throw v1
:cond_8
invoke-static {v11}, Ly/v/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw v12
.end method
.method public clone()Ljava/lang/Object;
.locals 4
sget-object v0, Lc0/x;->i:Lc0/x$b;
iget-object v1, p0, Lc0/x;->f:Lc0/v;
iget-object v2, p0, Lc0/x;->g:Lc0/y;
iget-boolean v3, p0, Lc0/x;->h:Z
invoke-virtual {v0, v1, v2, v3}, Lc0/x$b;->a(Lc0/v;Lc0/y;Z)Lc0/x;
move-result-object v0
return-object v0
2020-04-17 19:35:49 +00:00
.end method
2020-05-11 19:22:21 +00:00
.method public final d()Ljava/lang/String;
2020-04-17 19:35:49 +00:00
.locals 2
2020-05-11 19:22:21 +00:00
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
iget-object v1, p0, Lc0/x;->d:Lc0/c0/c/n;
if-eqz v1, :cond_2
invoke-virtual {v1}, Lc0/c0/c/n;->e()Z
move-result v1
if-eqz v1, :cond_0
const-string v1, "canceled "
goto :goto_0
2020-04-17 19:35:49 +00:00
2020-05-11 19:22:21 +00:00
:cond_0
const-string v1, ""
:goto_0
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-boolean v1, p0, Lc0/x;->h:Z
if-eqz v1, :cond_1
const-string v1, "web socket"
goto :goto_1
:cond_1
const-string v1, "call"
:goto_1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v1, " to "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v1, p0, Lc0/x;->g:Lc0/y;
iget-object v1, v1, Lc0/y;->b:Lc0/u;
invoke-virtual {v1}, Lc0/u;->g()Ljava/lang/String;
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
return-object v0
:cond_2
const-string v0, "transmitter"
invoke-static {v0}, Ly/v/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
const/4 v0, 0x0
throw v0
2020-04-17 19:35:49 +00:00
.end method