apkfuckery/com.discord/smali_classes2/d0/s.smali

200 lines
3.1 KiB
Smali
Raw Normal View History

2020-02-20 19:33:18 +00:00
.class public final Ld0/s;
2020-04-17 19:35:49 +00:00
.super Ljava/lang/Object;
.source "SegmentPool.kt"
2020-02-20 19:33:18 +00:00
2020-04-17 19:35:49 +00:00
# static fields
.field public static a:Ld0/r;
2020-02-20 19:33:18 +00:00
2020-04-17 19:35:49 +00:00
.field public static b:J
2020-02-20 19:33:18 +00:00
2020-04-17 19:35:49 +00:00
.field public static final c:Ld0/s;
2020-02-20 19:33:18 +00:00
# direct methods
.method public static constructor <clinit>()V
2020-04-17 19:35:49 +00:00
.locals 1
2020-02-20 19:33:18 +00:00
2020-04-17 19:35:49 +00:00
new-instance v0, Ld0/s;
2020-03-26 23:31:08 +00:00
2020-04-17 19:35:49 +00:00
invoke-direct {v0}, Ld0/s;-><init>()V
2020-02-20 19:33:18 +00:00
2020-04-17 19:35:49 +00:00
sput-object v0, Ld0/s;->c:Ld0/s;
2020-02-20 19:33:18 +00:00
2020-04-17 16:36:30 +00:00
return-void
.end method
2020-02-20 19:33:18 +00:00
2020-04-17 19:35:49 +00:00
.method public constructor <init>()V
.locals 0
2020-02-20 19:33:18 +00:00
2020-04-17 19:35:49 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2020-02-20 19:33:18 +00:00
2020-04-17 19:35:49 +00:00
return-void
.end method
2020-02-20 19:33:18 +00:00
2020-04-17 19:35:49 +00:00
.method public static final a()Ld0/r;
.locals 6
2020-02-20 19:33:18 +00:00
2020-04-17 19:35:49 +00:00
sget-object v0, Ld0/s;->c:Ld0/s;
2020-02-20 19:33:18 +00:00
2020-04-17 19:35:49 +00:00
monitor-enter v0
2020-02-20 19:33:18 +00:00
2020-04-17 19:35:49 +00:00
:try_start_0
sget-object v1, Ld0/s;->a:Ld0/r;
2020-02-20 19:33:18 +00:00
2020-04-17 19:35:49 +00:00
if-eqz v1, :cond_0
2020-02-20 19:33:18 +00:00
2020-04-17 19:35:49 +00:00
iget-object v2, v1, Ld0/r;->f:Ld0/r;
2020-02-20 19:33:18 +00:00
2020-04-17 19:35:49 +00:00
sput-object v2, Ld0/s;->a:Ld0/r;
2020-02-20 19:33:18 +00:00
2020-04-17 19:35:49 +00:00
const/4 v2, 0x0
2020-03-26 23:31:08 +00:00
2020-04-17 19:35:49 +00:00
iput-object v2, v1, Ld0/r;->f:Ld0/r;
2020-03-26 23:31:08 +00:00
2020-04-17 19:35:49 +00:00
sget-wide v2, Ld0/s;->b:J
2020-03-26 23:31:08 +00:00
2020-04-17 19:35:49 +00:00
const/16 v4, 0x2000
2020-03-26 23:31:08 +00:00
2020-04-17 19:35:49 +00:00
int-to-long v4, v4
2020-03-26 23:31:08 +00:00
2020-04-17 19:35:49 +00:00
sub-long/2addr v2, v4
2020-03-26 23:31:08 +00:00
2020-04-17 19:35:49 +00:00
sput-wide v2, Ld0/s;->b:J
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
2020-03-26 23:31:08 +00:00
2020-04-17 19:35:49 +00:00
monitor-exit v0
2020-03-26 23:31:08 +00:00
2020-04-17 19:35:49 +00:00
return-object v1
2020-03-26 23:31:08 +00:00
2020-04-17 19:35:49 +00:00
:cond_0
monitor-exit v0
2020-03-26 23:31:08 +00:00
2020-04-17 19:35:49 +00:00
new-instance v0, Ld0/r;
2020-02-20 19:33:18 +00:00
2020-04-17 19:35:49 +00:00
invoke-direct {v0}, Ld0/r;-><init>()V
2020-03-26 23:31:08 +00:00
2020-04-17 19:35:49 +00:00
return-object v0
2020-03-26 23:31:08 +00:00
2020-04-17 19:35:49 +00:00
:catchall_0
move-exception v1
2020-03-26 23:31:08 +00:00
2020-04-17 19:35:49 +00:00
monitor-exit v0
2020-03-26 23:31:08 +00:00
2020-04-17 19:35:49 +00:00
throw v1
.end method
2020-03-26 23:31:08 +00:00
2020-04-17 19:35:49 +00:00
.method public static final a(Ld0/r;)V
.locals 9
2020-02-20 19:33:18 +00:00
2020-04-17 19:35:49 +00:00
if-eqz p0, :cond_4
2020-03-26 23:31:08 +00:00
2020-04-17 19:35:49 +00:00
iget-object v0, p0, Ld0/r;->f:Ld0/r;
2020-03-26 23:31:08 +00:00
2020-04-17 19:35:49 +00:00
const/4 v1, 0x0
2020-03-26 23:31:08 +00:00
2020-04-17 19:35:49 +00:00
if-nez v0, :cond_0
2020-03-26 23:31:08 +00:00
2020-04-17 19:35:49 +00:00
iget-object v0, p0, Ld0/r;->g:Ld0/r;
2020-02-20 19:33:18 +00:00
2020-04-17 19:35:49 +00:00
if-nez v0, :cond_0
2020-02-20 19:33:18 +00:00
2020-04-17 19:35:49 +00:00
const/4 v0, 0x1
2020-02-20 19:33:18 +00:00
2020-04-17 19:35:49 +00:00
goto :goto_0
2020-02-20 19:33:18 +00:00
2020-04-17 19:35:49 +00:00
:cond_0
const/4 v0, 0x0
2020-02-20 19:33:18 +00:00
2020-04-17 19:35:49 +00:00
:goto_0
if-eqz v0, :cond_3
2020-02-20 19:33:18 +00:00
2020-04-17 19:35:49 +00:00
iget-boolean v0, p0, Ld0/r;->d:Z
2020-02-20 19:33:18 +00:00
2020-04-17 19:35:49 +00:00
if-eqz v0, :cond_1
2020-02-20 19:33:18 +00:00
2020-04-17 19:35:49 +00:00
return-void
2020-02-20 19:33:18 +00:00
2020-04-17 19:35:49 +00:00
:cond_1
sget-object v0, Ld0/s;->c:Ld0/s;
2020-02-20 19:33:18 +00:00
2020-04-17 19:35:49 +00:00
monitor-enter v0
2020-02-20 19:33:18 +00:00
2020-04-17 19:35:49 +00:00
:try_start_0
sget-wide v2, Ld0/s;->b:J
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
2020-04-11 15:34:05 +00:00
2020-04-17 19:35:49 +00:00
const/16 v4, 0x2000
2020-02-20 19:33:18 +00:00
2020-04-17 19:35:49 +00:00
int-to-long v4, v4
2020-03-26 23:31:08 +00:00
2020-04-17 19:35:49 +00:00
add-long/2addr v2, v4
2020-03-26 23:31:08 +00:00
2020-04-17 19:35:49 +00:00
const-wide/32 v6, 0x10000
2020-04-17 17:35:24 +00:00
2020-04-17 19:35:49 +00:00
cmp-long v8, v2, v6
2020-03-26 23:31:08 +00:00
2020-04-17 19:35:49 +00:00
if-lez v8, :cond_2
2020-03-26 23:31:08 +00:00
2020-04-17 19:35:49 +00:00
monitor-exit v0
2020-03-26 23:31:08 +00:00
2020-04-17 19:35:49 +00:00
return-void
2020-03-26 23:31:08 +00:00
2020-04-17 19:35:49 +00:00
:cond_2
:try_start_1
sget-wide v2, Ld0/s;->b:J
2020-03-26 23:31:08 +00:00
2020-04-17 19:35:49 +00:00
add-long/2addr v2, v4
2020-03-26 23:31:08 +00:00
2020-04-17 19:35:49 +00:00
sput-wide v2, Ld0/s;->b:J
2020-03-26 23:31:08 +00:00
2020-04-17 19:35:49 +00:00
sget-object v2, Ld0/s;->a:Ld0/r;
2020-03-26 23:31:08 +00:00
2020-04-17 19:35:49 +00:00
iput-object v2, p0, Ld0/r;->f:Ld0/r;
2020-03-26 23:31:08 +00:00
2020-04-17 19:35:49 +00:00
iput v1, p0, Ld0/r;->c:I
2020-03-26 23:31:08 +00:00
2020-04-17 19:35:49 +00:00
iget v1, p0, Ld0/r;->c:I
2020-03-26 23:31:08 +00:00
2020-04-17 19:35:49 +00:00
iput v1, p0, Ld0/r;->b:I
2020-03-26 23:31:08 +00:00
2020-04-17 19:35:49 +00:00
sput-object p0, Ld0/s;->a:Ld0/r;
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
2020-03-26 23:31:08 +00:00
2020-04-17 19:35:49 +00:00
monitor-exit v0
2020-03-26 23:31:08 +00:00
2020-04-17 19:35:49 +00:00
return-void
2020-03-26 23:31:08 +00:00
2020-04-17 19:35:49 +00:00
:catchall_0
move-exception p0
2020-03-26 23:31:08 +00:00
2020-04-17 19:35:49 +00:00
monitor-exit v0
2020-02-20 19:33:18 +00:00
2020-04-17 19:35:49 +00:00
throw p0
2020-02-20 19:33:18 +00:00
2020-04-17 19:35:49 +00:00
:cond_3
new-instance p0, Ljava/lang/IllegalArgumentException;
2020-04-11 15:34:05 +00:00
2020-04-17 19:35:49 +00:00
const-string v0, "Failed requirement."
2020-04-11 15:34:05 +00:00
2020-04-17 19:35:49 +00:00
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
2020-04-11 15:34:05 +00:00
2020-04-17 19:35:49 +00:00
move-result-object v0
2020-04-17 17:35:24 +00:00
2020-04-17 19:35:49 +00:00
invoke-direct {p0, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
2020-04-17 17:35:24 +00:00
2020-04-17 19:35:49 +00:00
throw p0
2020-04-17 17:35:24 +00:00
2020-04-17 19:35:49 +00:00
:cond_4
const-string p0, "segment"
2020-02-20 19:33:18 +00:00
2020-04-17 19:35:49 +00:00
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
2020-02-20 19:33:18 +00:00
2020-04-17 19:35:49 +00:00
const/4 p0, 0x0
2020-02-20 19:33:18 +00:00
2020-04-17 19:35:49 +00:00
throw p0
2020-02-20 19:33:18 +00:00
.end method