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

604 lines
12 KiB
Smali
Raw Normal View History

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