apkfuckery/com.discord/smali_classes2/h0/o.smali

117 lines
2.6 KiB
Smali
Raw Normal View History

2020-11-16 01:00:50 +00:00
.class public final Lh0/o;
2020-11-12 02:11:44 +00:00
.super Ljava/lang/Object;
.source "KotlinExtensions.kt"
# interfaces
2020-11-16 01:00:50 +00:00
.implements Lh0/f;
2020-11-12 02:11:44 +00:00
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
2020-11-16 01:00:50 +00:00
"Lh0/f<",
2020-11-12 02:11:44 +00:00
"TT;>;"
}
.end annotation
# instance fields
2020-11-16 01:00:50 +00:00
.field public final synthetic a:La0/a/f;
2020-11-12 02:11:44 +00:00
# direct methods
2020-11-16 01:00:50 +00:00
.method public constructor <init>(La0/a/f;)V
2020-11-12 02:11:44 +00:00
.locals 0
2020-11-16 01:00:50 +00:00
iput-object p1, p0, Lh0/o;->a:La0/a/f;
2020-11-12 02:11:44 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
2020-11-16 01:00:50 +00:00
.method public a(Lh0/d;Ljava/lang/Throwable;)V
2020-11-12 02:11:44 +00:00
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
2020-11-16 01:00:50 +00:00
"Lh0/d<",
2020-11-12 02:11:44 +00:00
"TT;>;",
"Ljava/lang/Throwable;",
")V"
}
.end annotation
const-string v0, "call"
2020-11-16 01:00:50 +00:00
invoke-static {p1, v0}, Lz/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
const-string p1, "t"
2020-11-16 01:00:50 +00:00
invoke-static {p2, p1}, Lz/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
iget-object p1, p0, Lh0/o;->a:La0/a/f;
2020-11-12 02:11:44 +00:00
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
2020-11-16 01:00:50 +00:00
.method public b(Lh0/d;Lh0/b0;)V
2020-11-12 02:11:44 +00:00
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
2020-11-16 01:00:50 +00:00
"Lh0/d<",
2020-11-12 02:11:44 +00:00
"TT;>;",
2020-11-16 01:00:50 +00:00
"Lh0/b0<",
2020-11-12 02:11:44 +00:00
"TT;>;)V"
}
.end annotation
const-string v0, "call"
2020-11-16 01:00:50 +00:00
invoke-static {p1, v0}, Lz/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
const-string p1, "response"
2020-11-16 01:00:50 +00:00
invoke-static {p2, p1}, Lz/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
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
2020-11-12 02:11:44 +00:00
invoke-interface {p1, p2}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
2020-11-16 01:00:50 +00:00
:goto_0
2020-11-12 02:11:44 +00:00
return-void
.end method