apkfuckery/com.discord/smali_classes2/x/x.smali
2019-12-18 10:41:56 +01:00

603 lines
12 KiB
Smali

.class public final Lx/x;
.super Ljava/lang/Object;
.source "RealCall.kt"
# interfaces
.implements Lx/e;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lx/x$a;,
Lx/x$b;
}
.end annotation
# static fields
.field public static final i:Lx/x$b;
# instance fields
.field public d:Lx/c0/c/n;
.field public e:Z
.field public final f:Lx/v;
.field public final g:Lx/y;
.field public final h:Z
# direct methods
.method public static constructor <clinit>()V
.locals 2
new-instance v0, Lx/x$b;
const/4 v1, 0x0
invoke-direct {v0, v1}, Lx/x$b;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
sput-object v0, Lx/x;->i:Lx/x$b;
return-void
.end method
.method public synthetic constructor <init>(Lx/v;Lx/y;ZLkotlin/jvm/internal/DefaultConstructorMarker;)V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lx/x;->f:Lx/v;
iput-object p2, p0, Lx/x;->g:Lx/y;
iput-boolean p3, p0, Lx/x;->h:Z
return-void
.end method
.method public static final synthetic a(Lx/x;)Lx/c0/c/n;
.locals 0
iget-object p0, p0, Lx/x;->d:Lx/c0/c/n;
if-eqz p0, :cond_0
return-object p0
:cond_0
const-string p0, "transmitter"
invoke-static {p0}, Lt/u/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, Lx/x;->d:Lx/c0/c/n;
if-eqz v0, :cond_0
invoke-virtual {v0}, Lx/c0/c/n;->b()V
return-void
:cond_0
const-string v0, "transmitter"
invoke-static {v0}, Lt/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
const/4 v0, 0x0
throw v0
.end method
.method public a(Lx/f;)V
.locals 3
const/4 v0, 0x0
if-eqz p1, :cond_2
monitor-enter p0
:try_start_0
iget-boolean v1, p0, Lx/x;->e:Z
const/4 v2, 0x1
xor-int/2addr v1, v2
if-eqz v1, :cond_1
iput-boolean v2, p0, Lx/x;->e:Z
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
monitor-exit p0
iget-object v1, p0, Lx/x;->d:Lx/c0/c/n;
if-eqz v1, :cond_0
invoke-virtual {v1}, Lx/c0/c/n;->a()V
iget-object v0, p0, Lx/x;->f:Lx/v;
iget-object v0, v0, Lx/v;->d:Lx/o;
new-instance v1, Lx/x$a;
invoke-direct {v1, p0, p1}, Lx/x$a;-><init>(Lx/x;Lx/f;)V
invoke-virtual {v0, v1}, Lx/o;->a(Lx/x$a;)V
return-void
:cond_0
const-string p1, "transmitter"
invoke-static {p1}, Lt/u/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}, Lt/u/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, Lx/x;->e:Z
const/4 v1, 0x1
xor-int/2addr v0, v1
if-eqz v0, :cond_2
iput-boolean v1, p0, Lx/x;->e:Z
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_1
monitor-exit p0
iget-object v0, p0, Lx/x;->d:Lx/c0/c/n;
const/4 v1, 0x0
if-eqz v0, :cond_1
iget-object v0, v0, Lx/c0/c/n;->c:Lx/c0/c/n$b;
invoke-virtual {v0}, Ly/b;->g()V
iget-object v0, p0, Lx/x;->d:Lx/c0/c/n;
if-eqz v0, :cond_0
invoke-virtual {v0}, Lx/c0/c/n;->a()V
:try_start_1
iget-object v0, p0, Lx/x;->f:Lx/v;
iget-object v0, v0, Lx/v;->d:Lx/o;
invoke-virtual {v0, p0}, Lx/o;->a(Lx/x;)V
invoke-virtual {p0}, Lx/x;->c()Lokhttp3/Response;
move-result-object v0
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
iget-object v1, p0, Lx/x;->f:Lx/v;
iget-object v1, v1, Lx/v;->d:Lx/o;
iget-object v2, v1, Lx/o;->g:Ljava/util/ArrayDeque;
invoke-virtual {v1, v2, p0}, Lx/o;->a(Ljava/util/Deque;Ljava/lang/Object;)V
return-object v0
:catchall_0
move-exception v0
iget-object v1, p0, Lx/x;->f:Lx/v;
iget-object v1, v1, Lx/v;->d:Lx/o;
iget-object v2, v1, Lx/o;->g:Ljava/util/ArrayDeque;
invoke-virtual {v1, v2, p0}, Lx/o;->a(Ljava/util/Deque;Ljava/lang/Object;)V
throw v0
:cond_0
const-string v0, "transmitter"
invoke-static {v0}, Lt/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw v1
:cond_1
const-string v0, "transmitter"
invoke-static {v0}, Lt/u/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, Lx/x;->f:Lx/v;
iget-object v0, v0, Lx/v;->f:Ljava/util/List;
invoke-static {v1, v0}, Le/k/a/b/e/p/g;->addAll(Ljava/util/Collection;Ljava/lang/Iterable;)Z
new-instance v0, Lx/c0/d/i;
iget-object v2, p0, Lx/x;->f:Lx/v;
invoke-direct {v0, v2}, Lx/c0/d/i;-><init>(Lx/v;)V
invoke-interface {v1, v0}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
new-instance v0, Lx/c0/d/a;
iget-object v2, p0, Lx/x;->f:Lx/v;
iget-object v2, v2, Lx/v;->m:Lx/n;
invoke-direct {v0, v2}, Lx/c0/d/a;-><init>(Lx/n;)V
invoke-interface {v1, v0}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
new-instance v0, Lx/c0/b/a;
iget-object v2, p0, Lx/x;->f:Lx/v;
invoke-virtual {v2}, Lx/v;->a()V
invoke-direct {v0}, Lx/c0/b/a;-><init>()V
invoke-interface {v1, v0}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
sget-object v0, Lx/c0/c/a;->b:Lx/c0/c/a;
invoke-interface {v1, v0}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
iget-boolean v0, p0, Lx/x;->h:Z
if-nez v0, :cond_0
iget-object v0, p0, Lx/x;->f:Lx/v;
iget-object v0, v0, Lx/v;->g:Ljava/util/List;
invoke-static {v1, v0}, Le/k/a/b/e/p/g;->addAll(Ljava/util/Collection;Ljava/lang/Iterable;)Z
:cond_0
new-instance v0, Lx/c0/d/b;
iget-boolean v2, p0, Lx/x;->h:Z
invoke-direct {v0, v2}, Lx/c0/d/b;-><init>(Z)V
invoke-interface {v1, v0}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
new-instance v10, Lx/c0/d/g;
iget-object v2, p0, Lx/x;->d:Lx/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, Lx/x;->g:Lx/y;
iget-object v0, p0, Lx/x;->f:Lx/v;
iget v7, v0, Lx/v;->A:I
iget v8, v0, Lx/v;->B:I
iget v9, v0, Lx/v;->C:I
move-object v0, v10
move-object v6, p0
invoke-direct/range {v0 .. v9}, Lx/c0/d/g;-><init>(Ljava/util/List;Lx/c0/c/n;Lx/c0/c/c;ILx/y;Lx/e;III)V
const/4 v0, 0x0
:try_start_0
iget-object v1, p0, Lx/x;->g:Lx/y;
invoke-virtual {v10, v1}, Lx/c0/d/g;->a(Lx/y;)Lokhttp3/Response;
move-result-object v1
iget-object v2, p0, Lx/x;->d:Lx/c0/c/n;
if-eqz v2, :cond_3
invoke-virtual {v2}, Lx/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, Lx/x;->d:Lx/c0/c/n;
if-eqz v0, :cond_1
invoke-virtual {v0, v12}, Lx/c0/c/n;->a(Ljava/io/IOException;)Ljava/io/IOException;
return-object v1
:cond_1
invoke-static {v11}, Lt/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw v12
:cond_2
:try_start_1
invoke-static {v1}, Lx/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}, Lt/u/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, Lx/x;->d:Lx/c0/c/n;
if-eqz v1, :cond_5
invoke-virtual {v1, v0}, Lx/c0/c/n;->a(Ljava/io/IOException;)Ljava/io/IOException;
move-result-object v0
if-nez v0, :cond_4
new-instance v0, Lt/l;
const-string v1, "null cannot be cast to non-null type kotlin.Throwable"
invoke-direct {v0, v1}, Lt/l;-><init>(Ljava/lang/String;)V
throw v0
:cond_4
throw v0
:cond_5
invoke-static {v11}, Lt/u/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, Lx/x;->d:Lx/c0/c/n;
if-nez v0, :cond_6
invoke-static {v11}, Lt/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw v12
:cond_6
invoke-virtual {v0, v12}, Lx/c0/c/n;->a(Ljava/io/IOException;)Ljava/io/IOException;
:cond_7
throw v1
:cond_8
invoke-static {v11}, Lt/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
throw v12
.end method
.method public clone()Ljava/lang/Object;
.locals 4
sget-object v0, Lx/x;->i:Lx/x$b;
iget-object v1, p0, Lx/x;->f:Lx/v;
iget-object v2, p0, Lx/x;->g:Lx/y;
iget-boolean v3, p0, Lx/x;->h:Z
invoke-virtual {v0, v1, v2, v3}, Lx/x$b;->a(Lx/v;Lx/y;Z)Lx/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, Lx/x;->d:Lx/c0/c/n;
if-eqz v1, :cond_2
invoke-virtual {v1}, Lx/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, Lx/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, Lx/x;->g:Lx/y;
iget-object v1, v1, Lx/y;->b:Lx/u;
invoke-virtual {v1}, Lx/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}, Lt/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
const/4 v0, 0x0
throw v0
.end method