apkfuckery/com.discord/smali_classes2/g0/o.smali
2020-11-09 19:03:49 +00:00

116 lines
2.6 KiB
Smali

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