apkfuckery/com.discord/smali_classes2/k0/o.smali
2020-10-05 23:18:16 +00:00

116 lines
2.6 KiB
Smali

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