apkfuckery/com.discord/smali_classes2/h0/j$b.smali
2020-11-16 01:00:50 +00:00

189 lines
4.2 KiB
Smali

.class public final Lh0/j$b;
.super Lh0/j;
.source "HttpServiceMethod.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lh0/j;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "b"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<ResponseT:",
"Ljava/lang/Object;",
">",
"Lh0/j<",
"TResponseT;",
"Ljava/lang/Object;",
">;"
}
.end annotation
# instance fields
.field public final d:Lh0/e;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lh0/e<",
"TResponseT;",
"Lh0/d<",
"TResponseT;>;>;"
}
.end annotation
.end field
.field public final e:Z
# direct methods
.method public constructor <init>(Lh0/a0;Ld0/f$a;Lh0/h;Lh0/e;Z)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lh0/a0;",
"Ld0/f$a;",
"Lh0/h<",
"Lokhttp3/ResponseBody;",
"TResponseT;>;",
"Lh0/e<",
"TResponseT;",
"Lh0/d<",
"TResponseT;>;>;Z)V"
}
.end annotation
invoke-direct {p0, p1, p2, p3}, Lh0/j;-><init>(Lh0/a0;Ld0/f$a;Lh0/h;)V
iput-object p4, p0, Lh0/j$b;->d:Lh0/e;
iput-boolean p5, p0, Lh0/j$b;->e:Z
return-void
.end method
# virtual methods
.method public b(Lh0/d;[Ljava/lang/Object;)Ljava/lang/Object;
.locals 5
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lh0/d<",
"TResponseT;>;[",
"Ljava/lang/Object;",
")",
"Ljava/lang/Object;"
}
.end annotation
sget-object v0, Lz/k/g/a;->d:Lz/k/g/a;
iget-object v1, p0, Lh0/j$b;->d:Lh0/e;
invoke-interface {v1, p1}, Lh0/e;->b(Lh0/d;)Ljava/lang/Object;
move-result-object p1
check-cast p1, Lh0/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, Lh0/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, La0/a/g;
invoke-static {p2}, Lz/i/s;->intercepted(Lkotlin/coroutines/Continuation;)Lkotlin/coroutines/Continuation;
move-result-object v4
invoke-direct {v1, v4, v2}, La0/a/g;-><init>(Lkotlin/coroutines/Continuation;I)V
new-instance v2, Lh0/m;
invoke-direct {v2, p1}, Lh0/m;-><init>(Lh0/d;)V
invoke-virtual {v1, v2}, La0/a/g;->b(Lkotlin/jvm/functions/Function1;)V
new-instance v2, Lh0/o;
invoke-direct {v2, v1}, Lh0/o;-><init>(La0/a/f;)V
invoke-interface {p1, v2}, Lh0/d;->Y(Lh0/f;)V
invoke-virtual {v1}, La0/a/g;->k()Ljava/lang/Object;
move-result-object p1
if-ne p1, v0, :cond_1
invoke-static {p2, v3}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
goto :goto_0
:cond_0
new-instance v1, La0/a/g;
invoke-static {p2}, Lz/i/s;->intercepted(Lkotlin/coroutines/Continuation;)Lkotlin/coroutines/Continuation;
move-result-object v4
invoke-direct {v1, v4, v2}, La0/a/g;-><init>(Lkotlin/coroutines/Continuation;I)V
new-instance v2, Lh0/l;
invoke-direct {v2, p1}, Lh0/l;-><init>(Lh0/d;)V
invoke-virtual {v1, v2}, La0/a/g;->b(Lkotlin/jvm/functions/Function1;)V
new-instance v2, Lh0/n;
invoke-direct {v2, v1}, Lh0/n;-><init>(La0/a/f;)V
invoke-interface {p1, v2}, Lh0/d;->Y(Lh0/f;)V
invoke-virtual {v1}, La0/a/g;->k()Ljava/lang/Object;
move-result-object p1
if-ne p1, v0, :cond_1
invoke-static {p2, v3}, Lz/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}, Lz/i/s;->S(Ljava/lang/Exception;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
move-result-object p1
return-object p1
.end method