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

200 lines
3.1 KiB
Smali
Raw Normal View History

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