apkfuckery/com.discord/smali_classes2/s0/j$b.smali
2020-09-10 21:23:57 +00:00

189 lines
4.2 KiB
Smali

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