apkfuckery/com.discord/smali_classes2/j0/j$b.smali
2020-09-29 21:44:44 +00:00

189 lines
4.2 KiB
Smali

.class public final Lj0/j$b;
.super Lj0/j;
.source "HttpServiceMethod.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lj0/j;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "b"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<ResponseT:",
"Ljava/lang/Object;",
">",
"Lj0/j<",
"TResponseT;",
"Ljava/lang/Object;",
">;"
}
.end annotation
# instance fields
.field public final d:Lj0/e;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lj0/e<",
"TResponseT;",
"Lj0/d<",
"TResponseT;>;>;"
}
.end annotation
.end field
.field public final e:Z
# direct methods
.method public constructor <init>(Lj0/a0;Lf0/f$a;Lj0/h;Lj0/e;Z)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lj0/a0;",
"Lf0/f$a;",
"Lj0/h<",
"Lokhttp3/ResponseBody;",
"TResponseT;>;",
"Lj0/e<",
"TResponseT;",
"Lj0/d<",
"TResponseT;>;>;Z)V"
}
.end annotation
invoke-direct {p0, p1, p2, p3}, Lj0/j;-><init>(Lj0/a0;Lf0/f$a;Lj0/h;)V
iput-object p4, p0, Lj0/j$b;->d:Lj0/e;
iput-boolean p5, p0, Lj0/j$b;->e:Z
return-void
.end method
# virtual methods
.method public b(Lj0/d;[Ljava/lang/Object;)Ljava/lang/Object;
.locals 5
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lj0/d<",
"TResponseT;>;[",
"Ljava/lang/Object;",
")",
"Ljava/lang/Object;"
}
.end annotation
sget-object v0, Lb0/k/g/a;->d:Lb0/k/g/a;
iget-object v1, p0, Lj0/j$b;->d:Lj0/e;
invoke-interface {v1, p1}, Lj0/e;->b(Lj0/d;)Ljava/lang/Object;
move-result-object p1
check-cast p1, Lj0/d;
array-length v1, p2
const/4 v2, 0x1
sub-int/2addr v1, v2
aget-object p2, p2, v1
check-cast p2, Lkotlin/coroutines/Continuation;
:try_start_0
iget-boolean v1, p0, Lj0/j$b;->e:Z
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
const-string v3, "frame"
if-eqz v1, :cond_0
:try_start_1
new-instance v1, Lc0/a/g;
invoke-static {p2}, Lb0/j/a;->intercepted(Lkotlin/coroutines/Continuation;)Lkotlin/coroutines/Continuation;
move-result-object v4
invoke-direct {v1, v4, v2}, Lc0/a/g;-><init>(Lkotlin/coroutines/Continuation;I)V
new-instance v2, Lj0/m;
invoke-direct {v2, p1}, Lj0/m;-><init>(Lj0/d;)V
invoke-virtual {v1, v2}, Lc0/a/g;->b(Lkotlin/jvm/functions/Function1;)V
new-instance v2, Lj0/o;
invoke-direct {v2, v1}, Lj0/o;-><init>(Lc0/a/f;)V
invoke-interface {p1, v2}, Lj0/d;->b0(Lj0/f;)V
invoke-virtual {v1}, Lc0/a/g;->k()Ljava/lang/Object;
move-result-object p1
if-ne p1, v0, :cond_1
invoke-static {p2, v3}, Lb0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
goto :goto_0
:cond_0
new-instance v1, Lc0/a/g;
invoke-static {p2}, Lb0/j/a;->intercepted(Lkotlin/coroutines/Continuation;)Lkotlin/coroutines/Continuation;
move-result-object v4
invoke-direct {v1, v4, v2}, Lc0/a/g;-><init>(Lkotlin/coroutines/Continuation;I)V
new-instance v2, Lj0/l;
invoke-direct {v2, p1}, Lj0/l;-><init>(Lj0/d;)V
invoke-virtual {v1, v2}, Lc0/a/g;->b(Lkotlin/jvm/functions/Function1;)V
new-instance v2, Lj0/n;
invoke-direct {v2, v1}, Lj0/n;-><init>(Lc0/a/f;)V
invoke-interface {p1, v2}, Lj0/d;->b0(Lj0/f;)V
invoke-virtual {v1}, Lc0/a/g;->k()Ljava/lang/Object;
move-result-object p1
if-ne p1, v0, :cond_1
invoke-static {p2, v3}, Lb0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
:try_end_1
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0
:cond_1
:goto_0
return-object p1
:catch_0
move-exception p1
invoke-static {p1, p2}, Lb0/j/a;->S(Ljava/lang/Exception;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
move-result-object p1
return-object p1
.end method