apkfuckery/com.discord/smali_classes2/l0/a/v0.smali

151 lines
3.7 KiB
Smali
Raw Normal View History

2020-09-22 06:09:03 +00:00
.class public final Ll0/a/v0;
.super Ll0/a/x0;
2020-09-02 04:07:20 +00:00
.source "JobSupport.kt"
2020-09-16 23:45:23 +00:00
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
2020-09-22 06:09:03 +00:00
"Ll0/a/x0<",
2020-09-16 23:45:23 +00:00
"Lkotlinx/coroutines/Job;",
">;"
}
.end annotation
# static fields
.field public static final i:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
2020-09-02 04:07:20 +00:00
# instance fields
2020-09-16 23:45:23 +00:00
.field public volatile _invoked:I
.field public final h:Lkotlin/jvm/functions/Function1;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lkotlin/jvm/functions/Function1<",
"Ljava/lang/Throwable;",
"Lkotlin/Unit;",
">;"
}
.end annotation
.end field
2020-09-02 04:07:20 +00:00
# direct methods
2020-09-16 23:45:23 +00:00
.method public static constructor <clinit>()V
.locals 2
2020-09-22 06:09:03 +00:00
const-class v0, Ll0/a/v0;
2020-09-16 23:45:23 +00:00
const-string v1, "_invoked"
invoke-static {v0, v1}, Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;->newUpdater(Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
move-result-object v0
2020-09-22 06:09:03 +00:00
sput-object v0, Ll0/a/v0;->i:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
2020-09-16 23:45:23 +00:00
return-void
.end method
.method public constructor <init>(Lkotlinx/coroutines/Job;Lkotlin/jvm/functions/Function1;)V
2020-09-08 08:16:32 +00:00
.locals 0
2020-09-16 23:45:23 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lkotlinx/coroutines/Job;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Throwable;",
"Lkotlin/Unit;",
">;)V"
}
.end annotation
2020-09-22 06:09:03 +00:00
invoke-direct {p0, p1}, Ll0/a/x0;-><init>(Lkotlinx/coroutines/Job;)V
2020-09-02 04:07:20 +00:00
2020-09-22 06:09:03 +00:00
iput-object p2, p0, Ll0/a/v0;->h:Lkotlin/jvm/functions/Function1;
2020-09-02 04:07:20 +00:00
2020-09-16 23:45:23 +00:00
const/4 p1, 0x0
2020-09-02 04:07:20 +00:00
2020-09-22 06:09:03 +00:00
iput p1, p0, Ll0/a/v0;->_invoked:I
2020-09-02 04:07:20 +00:00
return-void
2020-09-16 23:45:23 +00:00
.end method
# virtual methods
.method public i(Ljava/lang/Throwable;)V
.locals 3
2020-09-22 06:09:03 +00:00
sget-object v0, Ll0/a/v0;->i:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
2020-09-16 23:45:23 +00:00
const/4 v1, 0x0
const/4 v2, 0x1
invoke-virtual {v0, p0, v1, v2}, Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;->compareAndSet(Ljava/lang/Object;II)Z
move-result v0
if-eqz v0, :cond_0
2020-09-22 06:09:03 +00:00
iget-object v0, p0, Ll0/a/v0;->h:Lkotlin/jvm/functions/Function1;
2020-09-16 23:45:23 +00:00
invoke-interface {v0, p1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
2020-09-08 08:16:32 +00:00
:cond_0
2020-09-16 23:45:23 +00:00
return-void
.end method
2020-09-09 19:21:20 +00:00
2020-09-16 23:45:23 +00:00
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
2020-09-09 19:21:20 +00:00
2020-09-16 23:45:23 +00:00
check-cast p1, Ljava/lang/Throwable;
2020-09-22 06:09:03 +00:00
invoke-virtual {p0, p1}, Ll0/a/v0;->i(Ljava/lang/Throwable;)V
2020-09-16 23:45:23 +00:00
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
return-object p1
.end method
.method public toString()Ljava/lang/String;
.locals 2
const-string v0, "InvokeOnCancelling["
invoke-static {v0}, Lf/e/b/a/a;->E(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
2020-09-22 06:09:03 +00:00
const-class v1, Ll0/a/v0;
2020-09-16 23:45:23 +00:00
invoke-virtual {v1}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const/16 v1, 0x40
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
2020-09-22 06:09:03 +00:00
invoke-static {p0}, Lk0/j/a;->t(Ljava/lang/Object;)Ljava/lang/String;
2020-09-16 23:45:23 +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;
move-result-object v0
2020-09-08 08:16:32 +00:00
2020-09-16 23:45:23 +00:00
return-object v0
2020-09-02 04:07:20 +00:00
.end method