apkfuckery/com.discord/smali_classes2/c0/x.smali
2020-05-11 21:22:21 +02:00

603 lines
12 KiB
Smali

.class public final Lc0/x;
.super Ljava/lang/Object;
.source "RealCall.kt"
# interfaces
.implements Lc0/e;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lc0/x$a;,
Lc0/x$b;
}
.end annotation
# static fields
.field public static final i:Lc0/x$b;
# instance fields
.field public d:Lc0/c0/c/n;
.field public e:Z
.field public final f:Lc0/v;
.field public final g:Lc0/y;
.field public final h:Z
# direct methods
.method public static constructor <clinit>()V
.locals 2
new-instance v0, Lc0/x$b;
const/4 v1, 0x0
invoke-direct {v0, v1}, Lc0/x$b;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
sput-object v0, Lc0/x;->i:Lc0/x$b;
return-void
.end method
.method public synthetic constructor <init>(Lc0/v;Lc0/y;ZLkotlin/jvm/internal/DefaultConstructorMarker;)V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
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
return-void
.end method
.method public static final synthetic a(Lc0/x;)Lc0/c0/c/n;
.locals 0
iget-object p0, p0, Lc0/x;->d:Lc0/c0/c/n;
if-eqz p0, :cond_0
return-object p0
:cond_0
const-string p0, "transmitter"
invoke-static {p0}, Ly/v/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
const/4 p0, 0x0
throw p0
.end method
# virtual methods
.method public a()V
.locals 1
iget-object v0, p0, Lc0/x;->d:Lc0/c0/c/n;
if-eqz v0, :cond_0
invoke-virtual {v0}, Lc0/c0/c/n;->b()V
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
.end method
.method public a(Lc0/f;)V
.locals 3
const/4 v0, 0x0
if-eqz p1, :cond_2
monitor-enter p0
:try_start_0
iget-boolean v1, p0, Lc0/x;->e:Z
const/4 v2, 0x1
xor-int/2addr v1, v2
if-eqz v1, :cond_1
iput-boolean v2, p0, Lc0/x;->e:Z
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
monitor-exit p0
iget-object v1, p0, Lc0/x;->d:Lc0/c0/c/n;
if-eqz v1, :cond_0
invoke-virtual {v1}, Lc0/c0/c/n;->a()V
iget-object v0, p0, Lc0/x;->f:Lc0/v;
iget-object v0, v0, Lc0/v;->d:Lc0/o;
new-instance v1, Lc0/x$a;
invoke-direct {v1, p0, p1}, Lc0/x$a;-><init>(Lc0/x;Lc0/f;)V
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;
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {v0, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v0
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
:catchall_0
move-exception p1
monitor-exit p0
throw p1
:cond_2
const-string p1, "responseCallback"
invoke-static {p1}, Ly/v/b/j;->a(Ljava/lang/String;)V
throw v0
.end method
.method public b()Lokhttp3/Response;
.locals 3
monitor-enter p0
:try_start_0
iget-boolean v0, p0, Lc0/x;->e:Z
const/4 v1, 0x1
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;
invoke-virtual {v0}, Ld0/b;->g()V
iget-object v0, p0, Lc0/x;->d:Lc0/c0/c/n;
if-eqz v0, :cond_0
invoke-virtual {v0}, Lc0/c0/c/n;->a()V
:try_start_1
iget-object v0, p0, Lc0/x;->f:Lc0/v;
iget-object v0, v0, Lc0/v;->d:Lc0/o;
invoke-virtual {v0, p0}, Lc0/o;->a(Lc0/x;)V
invoke-virtual {p0}, Lc0/x;->c()Lokhttp3/Response;
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;
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
throw v0
: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
monitor-exit p0
throw v0
.end method
.method public final c()Lokhttp3/Response;
.locals 13
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
new-instance v1, Ljava/util/ArrayList;
invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V
iget-object v0, p0, Lc0/x;->f:Lc0/v;
iget-object v0, v0, Lc0/v;->f:Ljava/util/List;
invoke-static {v1, v0}, Lf/o/a/j/a;->addAll(Ljava/util/Collection;Ljava/lang/Iterable;)Z
new-instance v0, Lc0/c0/d/i;
iget-object v2, p0, Lc0/x;->f:Lc0/v;
invoke-direct {v0, v2}, Lc0/c0/d/i;-><init>(Lc0/v;)V
invoke-interface {v1, v0}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
new-instance v0, Lc0/c0/d/a;
iget-object v2, p0, Lc0/x;->f:Lc0/v;
iget-object v2, v2, Lc0/v;->m:Lc0/n;
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
:cond_0
new-instance v0, Lc0/c0/d/b;
iget-boolean v2, p0, Lc0/x;->h:Z
invoke-direct {v0, v2}, Lc0/c0/d/b;-><init>(Z)V
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
:cond_1
invoke-static {v11}, Ly/v/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw v12
:cond_2
: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;
move-result-object v0
if-nez v0, :cond_4
new-instance v0, Ly/l;
const-string v1, "null cannot be cast to non-null type kotlin.Throwable"
invoke-direct {v0, v1}, Ly/l;-><init>(Ljava/lang/String;)V
throw v0
: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
.end method
.method public final d()Ljava/lang/String;
.locals 2
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
: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
.end method