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

116 lines
2.6 KiB
Smali

.class public final Ls0/o;
.super Ljava/lang/Object;
.source "KotlinExtensions.kt"
# interfaces
.implements Ls0/f;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Ls0/f<",
"TT;>;"
}
.end annotation
# instance fields
.field public final synthetic a:Ll0/a/f;
# direct methods
.method public constructor <init>(Ll0/a/f;)V
.locals 0
iput-object p1, p0, Ls0/o;->a:Ll0/a/f;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public a(Ls0/d;Ljava/lang/Throwable;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ls0/d<",
"TT;>;",
"Ljava/lang/Throwable;",
")V"
}
.end annotation
const-string v0, "call"
invoke-static {p1, v0}, Lk0/n/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const-string p1, "t"
invoke-static {p2, p1}, Lk0/n/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
iget-object p1, p0, Ls0/o;->a:Ll0/a/f;
invoke-static {p2}, Lf/h/a/f/e/n/f;->createFailure(Ljava/lang/Throwable;)Ljava/lang/Object;
move-result-object p2
invoke-interface {p1, p2}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
return-void
.end method
.method public b(Ls0/d;Ls0/b0;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ls0/d<",
"TT;>;",
"Ls0/b0<",
"TT;>;)V"
}
.end annotation
const-string v0, "call"
invoke-static {p1, v0}, Lk0/n/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const-string p1, "response"
invoke-static {p2, p1}, Lk0/n/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {p2}, Ls0/b0;->a()Z
move-result p1
if-eqz p1, :cond_0
iget-object p1, p0, Ls0/o;->a:Ll0/a/f;
iget-object p2, p2, Ls0/b0;->b:Ljava/lang/Object;
invoke-interface {p1, p2}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
goto :goto_0
:cond_0
iget-object p1, p0, Ls0/o;->a:Ll0/a/f;
new-instance v0, Lretrofit2/HttpException;
invoke-direct {v0, p2}, Lretrofit2/HttpException;-><init>(Ls0/b0;)V
invoke-static {v0}, Lf/h/a/f/e/n/f;->createFailure(Ljava/lang/Throwable;)Ljava/lang/Object;
move-result-object p2
invoke-interface {p1, p2}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
:goto_0
return-void
.end method