apkfuckery/com.discord/smali_classes2/y/a/s0$b.smali

375 lines
6.4 KiB
Smali
Raw Normal View History

2020-05-11 18:18:42 +00:00
.class public abstract Ly/a/s0$b;
2019-12-06 03:29:40 +00:00
.super Ljava/lang/Object;
.source "EventLoop.kt"
# interfaces
.implements Ljava/lang/Runnable;
.implements Ljava/lang/Comparable;
2020-05-11 18:18:42 +00:00
.implements Ly/a/o0;
.implements Ly/a/a2/a0;
2019-12-06 03:29:40 +00:00
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
2020-05-11 18:18:42 +00:00
value = Ly/a/s0;
2019-12-06 03:29:40 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x409
name = "b"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Ljava/lang/Runnable;",
"Ljava/lang/Comparable<",
2020-05-11 18:18:42 +00:00
"Ly/a/s0$b;",
2019-12-06 03:29:40 +00:00
">;",
2020-05-11 18:18:42 +00:00
"Ly/a/o0;",
"Ly/a/a2/a0;"
2019-12-06 03:29:40 +00:00
}
.end annotation
# instance fields
.field public d:Ljava/lang/Object;
.field public e:I
.field public final f:J
# direct methods
.method public constructor <init>(J)V
.locals 2
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 v0, -0x1
2020-05-11 18:18:42 +00:00
iput v0, p0, Ly/a/s0$b;->e:I
2019-12-06 03:29:40 +00:00
2020-05-11 18:18:42 +00:00
sget-object v0, Ly/a/w1;->a:Ly/a/v1;
2019-12-06 03:29:40 +00:00
2020-05-11 18:18:42 +00:00
check-cast v0, Ly/a/h0;
2019-12-06 03:29:40 +00:00
2020-05-11 18:18:42 +00:00
invoke-virtual {v0}, Ly/a/h0;->a()J
2019-12-06 03:29:40 +00:00
move-result-wide v0
2020-05-11 18:18:42 +00:00
invoke-static {p1, p2}, Ly/a/t0;->a(J)J
2019-12-06 03:29:40 +00:00
move-result-wide p1
add-long/2addr p1, v0
2020-05-11 18:18:42 +00:00
iput-wide p1, p0, Ly/a/s0$b;->f:J
2019-12-06 03:29:40 +00:00
return-void
.end method
# virtual methods
2020-05-11 18:18:42 +00:00
.method public final declared-synchronized a(Ly/a/a2/z;Ly/a/s0;)I
2019-12-06 03:29:40 +00:00
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
2020-05-11 18:18:42 +00:00
"Ly/a/a2/z<",
"Ly/a/s0$b;",
2019-12-06 03:29:40 +00:00
">;",
2020-05-11 18:18:42 +00:00
"Ly/a/s0;",
2019-12-06 03:29:40 +00:00
")I"
}
.end annotation
monitor-enter p0
:try_start_0
const-string v0, "delayed"
2020-03-14 02:12:46 +00:00
const/4 v1, 0x0
if-eqz p1, :cond_3
2019-12-06 03:29:40 +00:00
const-string v0, "eventLoop"
2020-03-14 02:12:46 +00:00
if-eqz p2, :cond_2
2019-12-06 03:29:40 +00:00
2020-05-11 18:18:42 +00:00
iget-object v0, p0, Ly/a/s0$b;->d:Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
2020-05-11 18:18:42 +00:00
sget-object v1, Ly/a/t0;->a:Ly/a/a2/v;
2019-12-06 03:29:40 +00:00
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_1
if-ne v0, v1, :cond_0
const/4 p1, 0x2
monitor-exit p0
return p1
:cond_0
:try_start_1
monitor-enter p1
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_1
:try_start_2
2020-05-11 18:18:42 +00:00
iget-boolean p2, p2, Ly/a/s0;->isCompleted:Z
2019-12-06 03:29:40 +00:00
const/4 v0, 0x1
xor-int/2addr p2, v0
if-eqz p2, :cond_1
2020-05-11 18:18:42 +00:00
invoke-virtual {p1, p0}, Ly/a/a2/z;->a(Ly/a/a2/a0;)V
2019-12-06 03:29:40 +00:00
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_0
const/4 p2, 0x1
goto :goto_0
2020-03-14 02:12:46 +00:00
:catchall_0
move-exception p2
goto :goto_1
2019-12-06 03:29:40 +00:00
:cond_1
const/4 p2, 0x0
:goto_0
:try_start_3
monitor-exit p1
:try_end_3
.catchall {:try_start_3 .. :try_end_3} :catchall_1
xor-int/lit8 p1, p2, 0x1
monitor-exit p0
return p1
2020-03-14 02:12:46 +00:00
:goto_1
2019-12-06 03:29:40 +00:00
:try_start_4
monitor-exit p1
throw p2
2020-03-14 02:12:46 +00:00
:cond_2
2020-05-11 18:18:42 +00:00
invoke-static {v0}, Lx/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
:try_end_4
.catchall {:try_start_4 .. :try_end_4} :catchall_1
2020-03-14 02:12:46 +00:00
throw v1
:cond_3
:try_start_5
2020-05-11 18:18:42 +00:00
invoke-static {v0}, Lx/u/b/j;->a(Ljava/lang/String;)V
2020-03-14 02:12:46 +00:00
:try_end_5
.catchall {:try_start_5 .. :try_end_5} :catchall_1
throw v1
2019-12-06 03:29:40 +00:00
:catchall_1
move-exception p1
monitor-exit p0
throw p1
.end method
2020-05-11 18:18:42 +00:00
.method public a()Ly/a/a2/z;
2019-12-06 03:29:40 +00:00
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
2020-05-11 18:18:42 +00:00
"Ly/a/a2/z<",
2019-12-06 03:29:40 +00:00
"*>;"
}
.end annotation
2020-05-11 18:18:42 +00:00
iget-object v0, p0, Ly/a/s0$b;->d:Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
2020-05-11 18:18:42 +00:00
instance-of v1, v0, Ly/a/a2/z;
2019-12-06 03:29:40 +00:00
if-nez v1, :cond_0
const/4 v0, 0x0
:cond_0
2020-05-11 18:18:42 +00:00
check-cast v0, Ly/a/a2/z;
2019-12-06 03:29:40 +00:00
return-object v0
.end method
2020-05-11 18:18:42 +00:00
.method public a(Ly/a/a2/z;)V
2019-12-06 03:29:40 +00:00
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
2020-05-11 18:18:42 +00:00
"Ly/a/a2/z<",
2019-12-06 03:29:40 +00:00
"*>;)V"
}
.end annotation
2020-05-11 18:18:42 +00:00
iget-object v0, p0, Ly/a/s0$b;->d:Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
2020-05-11 18:18:42 +00:00
sget-object v1, Ly/a/t0;->a:Ly/a/a2/v;
2019-12-06 03:29:40 +00:00
if-eq v0, v1, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
if-eqz v0, :cond_1
2020-05-11 18:18:42 +00:00
iput-object p1, p0, Ly/a/s0$b;->d:Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
return-void
:cond_1
new-instance p1, Ljava/lang/IllegalArgumentException;
const-string v0, "Failed requirement."
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v0
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p1
.end method
.method public compareTo(Ljava/lang/Object;)I
.locals 4
2020-05-11 18:18:42 +00:00
check-cast p1, Ly/a/s0$b;
2019-12-06 03:29:40 +00:00
if-eqz p1, :cond_2
2020-05-11 18:18:42 +00:00
iget-wide v0, p0, Ly/a/s0$b;->f:J
2019-12-06 03:29:40 +00:00
2020-05-11 18:18:42 +00:00
iget-wide v2, p1, Ly/a/s0$b;->f:J
2019-12-06 03:29:40 +00:00
sub-long/2addr v0, v2
const-wide/16 v2, 0x0
cmp-long p1, v0, v2
if-lez p1, :cond_0
const/4 p1, 0x1
goto :goto_0
:cond_0
if-gez p1, :cond_1
const/4 p1, -0x1
goto :goto_0
:cond_1
const/4 p1, 0x0
:goto_0
return p1
:cond_2
const-string p1, "other"
2020-05-11 18:18:42 +00:00
invoke-static {p1}, Lx/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
const/4 p1, 0x0
throw p1
.end method
.method public final declared-synchronized dispose()V
.locals 2
monitor-enter p0
:try_start_0
2020-05-11 18:18:42 +00:00
iget-object v0, p0, Ly/a/s0$b;->d:Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
2020-05-11 18:18:42 +00:00
sget-object v1, Ly/a/t0;->a:Ly/a/a2/v;
2019-12-06 03:29:40 +00:00
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
if-ne v0, v1, :cond_0
monitor-exit p0
return-void
:cond_0
:try_start_1
2020-05-11 18:18:42 +00:00
instance-of v1, v0, Ly/a/a2/z;
2019-12-06 03:29:40 +00:00
if-nez v1, :cond_1
const/4 v0, 0x0
:cond_1
2020-05-11 18:18:42 +00:00
check-cast v0, Ly/a/a2/z;
2019-12-06 03:29:40 +00:00
if-eqz v0, :cond_2
2020-05-11 18:18:42 +00:00
invoke-virtual {v0, p0}, Ly/a/a2/z;->b(Ly/a/a2/a0;)Z
2019-12-06 03:29:40 +00:00
:cond_2
2020-05-11 18:18:42 +00:00
sget-object v0, Ly/a/t0;->a:Ly/a/a2/v;
2019-12-06 03:29:40 +00:00
2020-05-11 18:18:42 +00:00
iput-object v0, p0, Ly/a/s0$b;->d:Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
monitor-exit p0
return-void
:catchall_0
move-exception v0
monitor-exit p0
throw v0
.end method
.method public toString()Ljava/lang/String;
.locals 3
const-string v0, "Delayed[nanos="
2020-05-11 18:18:42 +00:00
invoke-static {v0}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-12-06 03:29:40 +00:00
move-result-object v0
2020-05-11 18:18:42 +00:00
iget-wide v1, p0, Ly/a/s0$b;->f:J
2019-12-06 03:29:40 +00:00
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)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
return-object v0
.end method