apkfuckery/com.discord/smali_classes2/h0/o.smali
2020-11-14 02:19:59 +00:00

116 lines
2.6 KiB
Smali

.class public final Lh0/o;
.super Ljava/lang/Object;
.source "KotlinExtensions.kt"
# interfaces
.implements Lh0/f;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Lh0/f<",
"TT;>;"
}
.end annotation
# instance fields
.field public final synthetic a:La0/a/f;
# direct methods
.method public constructor <init>(La0/a/f;)V
.locals 0
iput-object p1, p0, Lh0/o;->a:La0/a/f;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public a(Lh0/d;Ljava/lang/Throwable;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lh0/d<",
"TT;>;",
"Ljava/lang/Throwable;",
")V"
}
.end annotation
const-string v0, "call"
invoke-static {p1, v0}, Lz/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const-string p1, "t"
invoke-static {p2, p1}, Lz/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
iget-object p1, p0, Lh0/o;->a:La0/a/f;
invoke-static {p2}, Lf/h/a/f/f/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(Lh0/d;Lh0/b0;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lh0/d<",
"TT;>;",
"Lh0/b0<",
"TT;>;)V"
}
.end annotation
const-string v0, "call"
invoke-static {p1, v0}, Lz/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const-string p1, "response"
invoke-static {p2, p1}, Lz/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {p2}, Lh0/b0;->a()Z
move-result p1
if-eqz p1, :cond_0
iget-object p1, p0, Lh0/o;->a:La0/a/f;
iget-object p2, p2, Lh0/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, Lh0/o;->a:La0/a/f;
new-instance v0, Lretrofit2/HttpException;
invoke-direct {v0, p2}, Lretrofit2/HttpException;-><init>(Lh0/b0;)V
invoke-static {v0}, Lf/h/a/f/f/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