apkfuckery/com.discord/smali_classes2/k0/a/w0.smali

114 lines
2.8 KiB
Smali
Raw Normal View History

2020-07-23 01:06:17 +00:00
.class public final Lk0/a/w0;
.super Lk0/a/d;
2020-07-20 19:00:44 +00:00
.source "CancellableContinuationImpl.kt"
2020-07-08 16:44:49 +00:00
# instance fields
2020-07-20 19:00:44 +00:00
.field public final d:Lkotlin/jvm/functions/Function1;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lkotlin/jvm/functions/Function1<",
"Ljava/lang/Throwable;",
"Lkotlin/Unit;",
">;"
}
.end annotation
.end field
2020-07-08 16:44:49 +00:00
# direct methods
2020-07-20 19:00:44 +00:00
.method public constructor <init>(Lkotlin/jvm/functions/Function1;)V
2020-07-08 16:44:49 +00:00
.locals 0
2020-07-20 19:00:44 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Throwable;",
"Lkotlin/Unit;",
">;)V"
}
.end annotation
if-eqz p1, :cond_0
2020-07-08 16:44:49 +00:00
2020-07-23 01:06:17 +00:00
invoke-direct {p0}, Lk0/a/d;-><init>()V
2020-07-08 16:44:49 +00:00
2020-07-23 01:06:17 +00:00
iput-object p1, p0, Lk0/a/w0;->d:Lkotlin/jvm/functions/Function1;
2020-07-08 16:44:49 +00:00
return-void
2020-07-20 19:00:44 +00:00
:cond_0
const-string p1, "handler"
2020-07-25 00:57:58 +00:00
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
2020-07-20 19:00:44 +00:00
const/4 p1, 0x0
throw p1
2020-07-08 16:44:49 +00:00
.end method
# virtual methods
2020-07-20 19:00:44 +00:00
.method public a(Ljava/lang/Throwable;)V
2020-07-08 16:44:49 +00:00
.locals 1
2020-07-23 01:06:17 +00:00
iget-object v0, p0, Lk0/a/w0;->d:Lkotlin/jvm/functions/Function1;
2020-07-20 19:00:44 +00:00
invoke-interface {v0, p1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
return-void
2020-07-08 16:44:49 +00:00
.end method
2020-07-20 19:00:44 +00:00
.method public invoke(Ljava/lang/Object;)Ljava/lang/Object;
2020-07-08 16:44:49 +00:00
.locals 1
2020-07-20 19:00:44 +00:00
check-cast p1, Ljava/lang/Throwable;
2020-07-08 16:44:49 +00:00
2020-07-23 01:06:17 +00:00
iget-object v0, p0, Lk0/a/w0;->d:Lkotlin/jvm/functions/Function1;
2020-07-20 19:00:44 +00:00
invoke-interface {v0, p1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
return-object p1
2020-07-08 16:44:49 +00:00
.end method
.method public toString()Ljava/lang/String;
.locals 2
2020-07-20 19:00:44 +00:00
const-string v0, "InvokeOnCancel["
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
invoke-static {v0}, Lf/e/b/a/a;->D(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
move-result-object v0
2020-07-08 16:44:49 +00:00
2020-07-23 01:06:17 +00:00
iget-object v1, p0, Lk0/a/w0;->d:Lkotlin/jvm/functions/Function1;
2020-07-08 16:44:49 +00:00
2020-08-10 21:02:22 +00:00
invoke-static {v1}, Lf/n/a/k/a;->z(Ljava/lang/Object;)Ljava/lang/String;
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
move-result-object v1
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
const/16 v1, 0x40
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
2020-08-10 21:02:22 +00:00
invoke-static {p0}, Lf/n/a/k/a;->C(Ljava/lang/Object;)Ljava/lang/String;
2020-07-20 19:00:44 +00:00
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const/16 v1, 0x5d
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
2020-07-08 16:44:49 +00:00
move-result-object v0
return-object v0
.end method