Changes of com.discord v1013
This commit is contained in:
parent
41eee68b11
commit
456a7ae8db
8465 changed files with 419042 additions and 378276 deletions
265
com.discord/smali_classes2/y/a.smali
Normal file
265
com.discord/smali_classes2/y/a.smali
Normal file
|
@ -0,0 +1,265 @@
|
|||
.class public final Ly/a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "-Base64.kt"
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final a:[B
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 2
|
||||
|
||||
sget-object v0, Lokio/ByteString;->g:Lokio/ByteString$a;
|
||||
|
||||
const-string v1, "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
|
||||
|
||||
invoke-virtual {v0, v1}, Lokio/ByteString$a;->b(Ljava/lang/String;)Lokio/ByteString;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0}, Lokio/ByteString;->b()[B
|
||||
|
||||
move-result-object v0
|
||||
|
||||
sput-object v0, Ly/a;->a:[B
|
||||
|
||||
sget-object v0, Lokio/ByteString;->g:Lokio/ByteString$a;
|
||||
|
||||
const-string v1, "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"
|
||||
|
||||
invoke-virtual {v0, v1}, Lokio/ByteString$a;->b(Ljava/lang/String;)Lokio/ByteString;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0}, Lokio/ByteString;->b()[B
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static a([B[BI)Ljava/lang/String;
|
||||
.locals 10
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
and-int/2addr p2, v0
|
||||
|
||||
if-eqz p2, :cond_0
|
||||
|
||||
sget-object p1, Ly/a;->a:[B
|
||||
|
||||
:cond_0
|
||||
const/4 p2, 0x0
|
||||
|
||||
if-eqz p0, :cond_5
|
||||
|
||||
if-eqz p1, :cond_4
|
||||
|
||||
array-length p2, p0
|
||||
|
||||
const/4 v1, 0x2
|
||||
|
||||
add-int/2addr p2, v1
|
||||
|
||||
div-int/lit8 p2, p2, 0x3
|
||||
|
||||
mul-int/lit8 p2, p2, 0x4
|
||||
|
||||
new-array p2, p2, [B
|
||||
|
||||
array-length v2, p0
|
||||
|
||||
array-length v3, p0
|
||||
|
||||
rem-int/lit8 v3, v3, 0x3
|
||||
|
||||
sub-int/2addr v2, v3
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
const/4 v4, 0x0
|
||||
|
||||
:goto_0
|
||||
if-ge v3, v2, :cond_1
|
||||
|
||||
add-int/lit8 v5, v3, 0x1
|
||||
|
||||
aget-byte v3, p0, v3
|
||||
|
||||
add-int/lit8 v6, v5, 0x1
|
||||
|
||||
aget-byte v5, p0, v5
|
||||
|
||||
add-int/lit8 v7, v6, 0x1
|
||||
|
||||
aget-byte v6, p0, v6
|
||||
|
||||
add-int/lit8 v8, v4, 0x1
|
||||
|
||||
and-int/lit16 v9, v3, 0xff
|
||||
|
||||
shr-int/2addr v9, v1
|
||||
|
||||
aget-byte v9, p1, v9
|
||||
|
||||
aput-byte v9, p2, v4
|
||||
|
||||
add-int/lit8 v4, v8, 0x1
|
||||
|
||||
and-int/lit8 v3, v3, 0x3
|
||||
|
||||
shl-int/lit8 v3, v3, 0x4
|
||||
|
||||
and-int/lit16 v9, v5, 0xff
|
||||
|
||||
shr-int/lit8 v9, v9, 0x4
|
||||
|
||||
or-int/2addr v3, v9
|
||||
|
||||
aget-byte v3, p1, v3
|
||||
|
||||
aput-byte v3, p2, v8
|
||||
|
||||
add-int/lit8 v3, v4, 0x1
|
||||
|
||||
and-int/lit8 v5, v5, 0xf
|
||||
|
||||
shl-int/2addr v5, v1
|
||||
|
||||
and-int/lit16 v8, v6, 0xff
|
||||
|
||||
shr-int/lit8 v8, v8, 0x6
|
||||
|
||||
or-int/2addr v5, v8
|
||||
|
||||
aget-byte v5, p1, v5
|
||||
|
||||
aput-byte v5, p2, v4
|
||||
|
||||
add-int/lit8 v4, v3, 0x1
|
||||
|
||||
and-int/lit8 v5, v6, 0x3f
|
||||
|
||||
aget-byte v5, p1, v5
|
||||
|
||||
aput-byte v5, p2, v3
|
||||
|
||||
move v3, v7
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
array-length v5, p0
|
||||
|
||||
sub-int/2addr v5, v2
|
||||
|
||||
const/16 v2, 0x3d
|
||||
|
||||
if-eq v5, v0, :cond_3
|
||||
|
||||
if-eq v5, v1, :cond_2
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_2
|
||||
add-int/lit8 v0, v3, 0x1
|
||||
|
||||
aget-byte v3, p0, v3
|
||||
|
||||
aget-byte p0, p0, v0
|
||||
|
||||
add-int/lit8 v0, v4, 0x1
|
||||
|
||||
and-int/lit16 v5, v3, 0xff
|
||||
|
||||
shr-int/2addr v5, v1
|
||||
|
||||
aget-byte v5, p1, v5
|
||||
|
||||
aput-byte v5, p2, v4
|
||||
|
||||
add-int/lit8 v4, v0, 0x1
|
||||
|
||||
and-int/lit8 v3, v3, 0x3
|
||||
|
||||
shl-int/lit8 v3, v3, 0x4
|
||||
|
||||
and-int/lit16 v5, p0, 0xff
|
||||
|
||||
shr-int/lit8 v5, v5, 0x4
|
||||
|
||||
or-int/2addr v3, v5
|
||||
|
||||
aget-byte v3, p1, v3
|
||||
|
||||
aput-byte v3, p2, v0
|
||||
|
||||
add-int/lit8 v0, v4, 0x1
|
||||
|
||||
and-int/lit8 p0, p0, 0xf
|
||||
|
||||
shl-int/2addr p0, v1
|
||||
|
||||
aget-byte p0, p1, p0
|
||||
|
||||
aput-byte p0, p2, v4
|
||||
|
||||
int-to-byte p0, v2
|
||||
|
||||
aput-byte p0, p2, v0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_3
|
||||
aget-byte p0, p0, v3
|
||||
|
||||
add-int/lit8 v0, v4, 0x1
|
||||
|
||||
and-int/lit16 v3, p0, 0xff
|
||||
|
||||
shr-int/lit8 v1, v3, 0x2
|
||||
|
||||
aget-byte v1, p1, v1
|
||||
|
||||
aput-byte v1, p2, v4
|
||||
|
||||
add-int/lit8 v1, v0, 0x1
|
||||
|
||||
and-int/lit8 p0, p0, 0x3
|
||||
|
||||
shl-int/lit8 p0, p0, 0x4
|
||||
|
||||
aget-byte p0, p1, p0
|
||||
|
||||
aput-byte p0, p2, v0
|
||||
|
||||
add-int/lit8 p0, v1, 0x1
|
||||
|
||||
int-to-byte p1, v2
|
||||
|
||||
aput-byte p1, p2, v1
|
||||
|
||||
aput-byte p1, p2, p0
|
||||
|
||||
:goto_1
|
||||
invoke-static {p2}, Le/k/a/b/e/p/g;->b([B)Ljava/lang/String;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
return-object p0
|
||||
|
||||
:cond_4
|
||||
const-string p0, "map"
|
||||
|
||||
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
throw p2
|
||||
|
||||
:cond_5
|
||||
const-string p0, "$receiver"
|
||||
|
||||
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
throw p2
|
||||
.end method
|
354
com.discord/smali_classes2/y/b$a.smali
Normal file
354
com.discord/smali_classes2/y/b$a.smali
Normal file
|
@ -0,0 +1,354 @@
|
|||
.class public final Ly/b$a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "AsyncTimeout.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Ly/b;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "a"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public synthetic constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final a()Ly/b;
|
||||
.locals 9
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/lang/InterruptedException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const-class v0, Ly/b;
|
||||
|
||||
sget-object v1, Ly/b;->j:Ly/b;
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
if-eqz v1, :cond_5
|
||||
|
||||
iget-object v1, v1, Ly/b;->f:Ly/b;
|
||||
|
||||
if-nez v1, :cond_2
|
||||
|
||||
invoke-static {}, Ljava/lang/System;->nanoTime()J
|
||||
|
||||
move-result-wide v3
|
||||
|
||||
sget-wide v5, Ly/b;->h:J
|
||||
|
||||
invoke-virtual {v0, v5, v6}, Ljava/lang/Object;->wait(J)V
|
||||
|
||||
sget-object v0, Ly/b;->j:Ly/b;
|
||||
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
iget-object v0, v0, Ly/b;->f:Ly/b;
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
invoke-static {}, Ljava/lang/System;->nanoTime()J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
sub-long/2addr v0, v3
|
||||
|
||||
sget-wide v3, Ly/b;->i:J
|
||||
|
||||
cmp-long v5, v0, v3
|
||||
|
||||
if-ltz v5, :cond_0
|
||||
|
||||
sget-object v2, Ly/b;->j:Ly/b;
|
||||
|
||||
:cond_0
|
||||
return-object v2
|
||||
|
||||
:cond_1
|
||||
invoke-static {}, Lt/u/b/j;->throwNpe()V
|
||||
|
||||
throw v2
|
||||
|
||||
:cond_2
|
||||
invoke-static {}, Ljava/lang/System;->nanoTime()J
|
||||
|
||||
move-result-wide v3
|
||||
|
||||
iget-wide v5, v1, Ly/b;->g:J
|
||||
|
||||
sub-long/2addr v5, v3
|
||||
|
||||
const-wide/16 v3, 0x0
|
||||
|
||||
cmp-long v7, v5, v3
|
||||
|
||||
if-lez v7, :cond_3
|
||||
|
||||
const-wide/32 v3, 0xf4240
|
||||
|
||||
div-long v7, v5, v3
|
||||
|
||||
mul-long v3, v3, v7
|
||||
|
||||
sub-long/2addr v5, v3
|
||||
|
||||
long-to-int v1, v5
|
||||
|
||||
invoke-virtual {v0, v7, v8, v1}, Ljava/lang/Object;->wait(JI)V
|
||||
|
||||
return-object v2
|
||||
|
||||
:cond_3
|
||||
sget-object v0, Ly/b;->j:Ly/b;
|
||||
|
||||
if-eqz v0, :cond_4
|
||||
|
||||
iget-object v3, v1, Ly/b;->f:Ly/b;
|
||||
|
||||
iput-object v3, v0, Ly/b;->f:Ly/b;
|
||||
|
||||
iput-object v2, v1, Ly/b;->f:Ly/b;
|
||||
|
||||
return-object v1
|
||||
|
||||
:cond_4
|
||||
invoke-static {}, Lt/u/b/j;->throwNpe()V
|
||||
|
||||
throw v2
|
||||
|
||||
:cond_5
|
||||
invoke-static {}, Lt/u/b/j;->throwNpe()V
|
||||
|
||||
throw v2
|
||||
.end method
|
||||
|
||||
.method public final a(Ly/b;JZ)V
|
||||
.locals 8
|
||||
|
||||
const-class v0, Ly/b;
|
||||
|
||||
monitor-enter v0
|
||||
|
||||
:try_start_0
|
||||
sget-object v1, Ly/b;->j:Ly/b;
|
||||
|
||||
if-nez v1, :cond_0
|
||||
|
||||
new-instance v1, Ly/b;
|
||||
|
||||
invoke-direct {v1}, Ly/b;-><init>()V
|
||||
|
||||
sput-object v1, Ly/b;->j:Ly/b;
|
||||
|
||||
new-instance v1, Ly/b$b;
|
||||
|
||||
invoke-direct {v1}, Ly/b$b;-><init>()V
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/Thread;->start()V
|
||||
|
||||
:cond_0
|
||||
invoke-static {}, Ljava/lang/System;->nanoTime()J
|
||||
|
||||
move-result-wide v1
|
||||
|
||||
const-wide/16 v3, 0x0
|
||||
|
||||
cmp-long v5, p2, v3
|
||||
|
||||
if-eqz v5, :cond_1
|
||||
|
||||
if-eqz p4, :cond_1
|
||||
|
||||
invoke-virtual {p1}, Ly/x;->c()J
|
||||
|
||||
move-result-wide v3
|
||||
|
||||
sub-long/2addr v3, v1
|
||||
|
||||
invoke-static {p2, p3, v3, v4}, Ljava/lang/Math;->min(JJ)J
|
||||
|
||||
move-result-wide p2
|
||||
|
||||
add-long/2addr p2, v1
|
||||
|
||||
iput-wide p2, p1, Ly/b;->g:J
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
if-eqz v5, :cond_2
|
||||
|
||||
add-long/2addr p2, v1
|
||||
|
||||
iput-wide p2, p1, Ly/b;->g:J
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_2
|
||||
if-eqz p4, :cond_8
|
||||
|
||||
invoke-virtual {p1}, Ly/x;->c()J
|
||||
|
||||
move-result-wide p2
|
||||
|
||||
iput-wide p2, p1, Ly/b;->g:J
|
||||
|
||||
:goto_0
|
||||
iget-wide p2, p1, Ly/b;->g:J
|
||||
|
||||
sub-long/2addr p2, v1
|
||||
|
||||
sget-object p4, Ly/b;->j:Ly/b;
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
if-eqz p4, :cond_7
|
||||
|
||||
:goto_1
|
||||
iget-object v4, p4, Ly/b;->f:Ly/b;
|
||||
|
||||
if-eqz v4, :cond_5
|
||||
|
||||
iget-object v4, p4, Ly/b;->f:Ly/b;
|
||||
|
||||
if-eqz v4, :cond_4
|
||||
|
||||
iget-wide v5, v4, Ly/b;->g:J
|
||||
|
||||
sub-long/2addr v5, v1
|
||||
|
||||
cmp-long v7, p2, v5
|
||||
|
||||
if-gez v7, :cond_3
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:cond_3
|
||||
move-object p4, v4
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_4
|
||||
invoke-static {}, Lt/u/b/j;->throwNpe()V
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
throw v3
|
||||
|
||||
:cond_5
|
||||
:goto_2
|
||||
:try_start_1
|
||||
iget-object p2, p4, Ly/b;->f:Ly/b;
|
||||
|
||||
iput-object p2, p1, Ly/b;->f:Ly/b;
|
||||
|
||||
iput-object p1, p4, Ly/b;->f:Ly/b;
|
||||
|
||||
sget-object p1, Ly/b;->j:Ly/b;
|
||||
|
||||
if-ne p4, p1, :cond_6
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/Object;->notify()V
|
||||
:try_end_1
|
||||
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
||||
|
||||
:cond_6
|
||||
monitor-exit v0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_7
|
||||
:try_start_2
|
||||
invoke-static {}, Lt/u/b/j;->throwNpe()V
|
||||
:try_end_2
|
||||
.catchall {:try_start_2 .. :try_end_2} :catchall_0
|
||||
|
||||
throw v3
|
||||
|
||||
:cond_8
|
||||
:try_start_3
|
||||
new-instance p1, Ljava/lang/AssertionError;
|
||||
|
||||
invoke-direct {p1}, Ljava/lang/AssertionError;-><init>()V
|
||||
|
||||
throw p1
|
||||
:try_end_3
|
||||
.catchall {:try_start_3 .. :try_end_3} :catchall_0
|
||||
|
||||
:catchall_0
|
||||
move-exception p1
|
||||
|
||||
monitor-exit v0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public final a(Ly/b;)Z
|
||||
.locals 3
|
||||
|
||||
const-class v0, Ly/b;
|
||||
|
||||
monitor-enter v0
|
||||
|
||||
:try_start_0
|
||||
sget-object v1, Ly/b;->j:Ly/b;
|
||||
|
||||
:goto_0
|
||||
if-eqz v1, :cond_1
|
||||
|
||||
iget-object v2, v1, Ly/b;->f:Ly/b;
|
||||
|
||||
if-ne v2, p1, :cond_0
|
||||
|
||||
iget-object v2, p1, Ly/b;->f:Ly/b;
|
||||
|
||||
iput-object v2, v1, Ly/b;->f:Ly/b;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
iput-object v1, p1, Ly/b;->f:Ly/b;
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
monitor-exit v0
|
||||
|
||||
return p1
|
||||
|
||||
:catchall_0
|
||||
move-exception p1
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_0
|
||||
move-object v1, v2
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
const/4 p1, 0x1
|
||||
|
||||
monitor-exit v0
|
||||
|
||||
return p1
|
||||
|
||||
:goto_1
|
||||
monitor-exit v0
|
||||
|
||||
throw p1
|
||||
.end method
|
86
com.discord/smali_classes2/y/b$b.smali
Normal file
86
com.discord/smali_classes2/y/b$b.smali
Normal file
|
@ -0,0 +1,86 @@
|
|||
.class public final Ly/b$b;
|
||||
.super Ljava/lang/Thread;
|
||||
.source "AsyncTimeout.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Ly/b;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "b"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 1
|
||||
|
||||
const-string v0, "Okio Watchdog"
|
||||
|
||||
invoke-direct {p0, v0}, Ljava/lang/Thread;-><init>(Ljava/lang/String;)V
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
invoke-virtual {p0, v0}, Ljava/lang/Thread;->setDaemon(Z)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public run()V
|
||||
.locals 3
|
||||
|
||||
:catch_0
|
||||
:cond_0
|
||||
:goto_0
|
||||
:try_start_0
|
||||
const-class v0, Ly/b;
|
||||
|
||||
monitor-enter v0
|
||||
:try_end_0
|
||||
.catch Ljava/lang/InterruptedException; {:try_start_0 .. :try_end_0} :catch_0
|
||||
|
||||
:try_start_1
|
||||
sget-object v1, Ly/b;->k:Ly/b$a;
|
||||
|
||||
invoke-virtual {v1}, Ly/b$a;->a()Ly/b;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
sget-object v2, Ly/b;->j:Ly/b;
|
||||
|
||||
if-ne v1, v2, :cond_1
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
sput-object v1, Ly/b;->j:Ly/b;
|
||||
:try_end_1
|
||||
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
||||
|
||||
:try_start_2
|
||||
monitor-exit v0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_1
|
||||
monitor-exit v0
|
||||
|
||||
if-eqz v1, :cond_0
|
||||
|
||||
invoke-virtual {v1}, Ly/b;->i()V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catchall_0
|
||||
move-exception v1
|
||||
|
||||
monitor-exit v0
|
||||
|
||||
throw v1
|
||||
:try_end_2
|
||||
.catch Ljava/lang/InterruptedException; {:try_start_2 .. :try_end_2} :catch_0
|
||||
.end method
|
228
com.discord/smali_classes2/y/b.smali
Normal file
228
com.discord/smali_classes2/y/b.smali
Normal file
|
@ -0,0 +1,228 @@
|
|||
.class public Ly/b;
|
||||
.super Ly/x;
|
||||
.source "AsyncTimeout.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Ly/b$b;,
|
||||
Ly/b$a;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final h:J
|
||||
|
||||
.field public static final i:J
|
||||
|
||||
.field public static j:Ly/b;
|
||||
|
||||
.field public static final k:Ly/b$a;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public e:Z
|
||||
|
||||
.field public f:Ly/b;
|
||||
|
||||
.field public g:J
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 3
|
||||
|
||||
new-instance v0, Ly/b$a;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-direct {v0, v1}, Ly/b$a;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
|
||||
sput-object v0, Ly/b;->k:Ly/b$a;
|
||||
|
||||
sget-object v0, Ljava/util/concurrent/TimeUnit;->SECONDS:Ljava/util/concurrent/TimeUnit;
|
||||
|
||||
const-wide/16 v1, 0x3c
|
||||
|
||||
invoke-virtual {v0, v1, v2}, Ljava/util/concurrent/TimeUnit;->toMillis(J)J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
sput-wide v0, Ly/b;->h:J
|
||||
|
||||
sget-object v0, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;
|
||||
|
||||
sget-wide v1, Ly/b;->h:J
|
||||
|
||||
invoke-virtual {v0, v1, v2}, Ljava/util/concurrent/TimeUnit;->toNanos(J)J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
sput-wide v0, Ly/b;->i:J
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ly/x;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final a(Ljava/io/IOException;)Ljava/io/IOException;
|
||||
.locals 1
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
invoke-virtual {p0}, Ly/b;->h()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
invoke-virtual {p0, p1}, Ly/b;->b(Ljava/io/IOException;)Ljava/io/IOException;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
:goto_0
|
||||
return-object p1
|
||||
|
||||
:cond_1
|
||||
const-string p1, "cause"
|
||||
|
||||
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public final a(Z)V
|
||||
.locals 1
|
||||
|
||||
invoke-virtual {p0}, Ly/b;->h()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
if-nez p1, :cond_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 p1, 0x0
|
||||
|
||||
invoke-virtual {p0, p1}, Ly/b;->b(Ljava/io/IOException;)Ljava/io/IOException;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_1
|
||||
:goto_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public b(Ljava/io/IOException;)Ljava/io/IOException;
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Ljava/io/InterruptedIOException;
|
||||
|
||||
const-string v1, "timeout"
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/io/InterruptedIOException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
invoke-virtual {v0, p1}, Ljava/io/InterruptedIOException;->initCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;
|
||||
|
||||
:cond_0
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final g()V
|
||||
.locals 7
|
||||
|
||||
iget-boolean v0, p0, Ly/b;->e:Z
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
xor-int/2addr v0, v1
|
||||
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
iget-wide v2, p0, Ly/x;->c:J
|
||||
|
||||
iget-boolean v0, p0, Ly/x;->a:Z
|
||||
|
||||
const-wide/16 v4, 0x0
|
||||
|
||||
cmp-long v6, v2, v4
|
||||
|
||||
if-nez v6, :cond_0
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
iput-boolean v1, p0, Ly/b;->e:Z
|
||||
|
||||
sget-object v1, Ly/b;->k:Ly/b$a;
|
||||
|
||||
invoke-virtual {v1, p0, v2, v3, v0}, Ly/b$a;->a(Ly/b;JZ)V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_1
|
||||
new-instance v0, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string v1, "Unbalanced enter/exit"
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method public final h()Z
|
||||
.locals 2
|
||||
|
||||
iget-boolean v0, p0, Ly/b;->e:Z
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
return v1
|
||||
|
||||
:cond_0
|
||||
iput-boolean v1, p0, Ly/b;->e:Z
|
||||
|
||||
sget-object v0, Ly/b;->k:Ly/b$a;
|
||||
|
||||
invoke-virtual {v0, p0}, Ly/b$a;->a(Ly/b;)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public i()V
|
||||
.locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
304
com.discord/smali_classes2/y/c.smali
Normal file
304
com.discord/smali_classes2/y/c.smali
Normal file
|
@ -0,0 +1,304 @@
|
|||
.class public final Ly/c;
|
||||
.super Ljava/lang/Object;
|
||||
.source "AsyncTimeout.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Ly/u;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic d:Ly/b;
|
||||
|
||||
.field public final synthetic e:Ly/u;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ly/b;Ly/u;)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Ly/u;",
|
||||
")V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iput-object p1, p0, Ly/c;->d:Ly/b;
|
||||
|
||||
iput-object p2, p0, Ly/c;->e:Ly/u;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public close()V
|
||||
.locals 3
|
||||
|
||||
iget-object v0, p0, Ly/c;->d:Ly/b;
|
||||
|
||||
invoke-virtual {v0}, Ly/b;->g()V
|
||||
|
||||
:try_start_0
|
||||
iget-object v0, p0, Ly/c;->e:Ly/u;
|
||||
|
||||
invoke-interface {v0}, Ly/u;->close()V
|
||||
:try_end_0
|
||||
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
iget-object v1, p0, Ly/c;->d:Ly/b;
|
||||
|
||||
invoke-virtual {v1, v0}, Ly/b;->a(Z)V
|
||||
|
||||
return-void
|
||||
|
||||
:catchall_0
|
||||
move-exception v0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catch_0
|
||||
move-exception v0
|
||||
|
||||
:try_start_1
|
||||
iget-object v1, p0, Ly/c;->d:Ly/b;
|
||||
|
||||
invoke-virtual {v1, v0}, Ly/b;->a(Ljava/io/IOException;)Ljava/io/IOException;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
throw v0
|
||||
:try_end_1
|
||||
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
||||
|
||||
:goto_0
|
||||
iget-object v1, p0, Ly/c;->d:Ly/b;
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
invoke-virtual {v1, v2}, Ly/b;->a(Z)V
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method public flush()V
|
||||
.locals 3
|
||||
|
||||
iget-object v0, p0, Ly/c;->d:Ly/b;
|
||||
|
||||
invoke-virtual {v0}, Ly/b;->g()V
|
||||
|
||||
:try_start_0
|
||||
iget-object v0, p0, Ly/c;->e:Ly/u;
|
||||
|
||||
invoke-interface {v0}, Ly/u;->flush()V
|
||||
:try_end_0
|
||||
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
iget-object v1, p0, Ly/c;->d:Ly/b;
|
||||
|
||||
invoke-virtual {v1, v0}, Ly/b;->a(Z)V
|
||||
|
||||
return-void
|
||||
|
||||
:catchall_0
|
||||
move-exception v0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catch_0
|
||||
move-exception v0
|
||||
|
||||
:try_start_1
|
||||
iget-object v1, p0, Ly/c;->d:Ly/b;
|
||||
|
||||
invoke-virtual {v1, v0}, Ly/b;->a(Ljava/io/IOException;)Ljava/io/IOException;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
throw v0
|
||||
:try_end_1
|
||||
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
||||
|
||||
:goto_0
|
||||
iget-object v1, p0, Ly/c;->d:Ly/b;
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
invoke-virtual {v1, v2}, Ly/b;->a(Z)V
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method public timeout()Ly/x;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Ly/c;->d:Ly/b;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public toString()Ljava/lang/String;
|
||||
.locals 2
|
||||
|
||||
const-string v0, "AsyncTimeout.sink("
|
||||
|
||||
invoke-static {v0}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
iget-object v1, p0, Ly/c;->e:Ly/u;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
const/16 v1, 0x29
|
||||
|
||||
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
|
||||
|
||||
.method public write(Ly/e;J)V
|
||||
.locals 7
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
if-eqz p1, :cond_5
|
||||
|
||||
iget-wide v1, p1, Ly/e;->e:J
|
||||
|
||||
const-wide/16 v3, 0x0
|
||||
|
||||
move-wide v5, p2
|
||||
|
||||
invoke-static/range {v1 .. v6}, Le/k/a/b/e/p/g;->a(JJJ)V
|
||||
|
||||
:goto_0
|
||||
const-wide/16 v1, 0x0
|
||||
|
||||
cmp-long v3, p2, v1
|
||||
|
||||
if-lez v3, :cond_4
|
||||
|
||||
iget-object v3, p1, Ly/e;->d:Ly/r;
|
||||
|
||||
if-eqz v3, :cond_3
|
||||
|
||||
:goto_1
|
||||
const/high16 v4, 0x10000
|
||||
|
||||
int-to-long v4, v4
|
||||
|
||||
cmp-long v6, v1, v4
|
||||
|
||||
if-gez v6, :cond_2
|
||||
|
||||
iget v4, v3, Ly/r;->c:I
|
||||
|
||||
iget v5, v3, Ly/r;->b:I
|
||||
|
||||
sub-int/2addr v4, v5
|
||||
|
||||
int-to-long v4, v4
|
||||
|
||||
add-long/2addr v1, v4
|
||||
|
||||
cmp-long v4, v1, p2
|
||||
|
||||
if-ltz v4, :cond_0
|
||||
|
||||
move-wide v1, p2
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:cond_0
|
||||
iget-object v3, v3, Ly/r;->f:Ly/r;
|
||||
|
||||
if-eqz v3, :cond_1
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
invoke-static {}, Lt/u/b/j;->throwNpe()V
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_2
|
||||
:goto_2
|
||||
const/4 v3, 0x0
|
||||
|
||||
iget-object v4, p0, Ly/c;->d:Ly/b;
|
||||
|
||||
invoke-virtual {v4}, Ly/b;->g()V
|
||||
|
||||
:try_start_0
|
||||
iget-object v4, p0, Ly/c;->e:Ly/u;
|
||||
|
||||
invoke-interface {v4, p1, v1, v2}, Ly/u;->write(Ly/e;J)V
|
||||
:try_end_0
|
||||
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
sub-long/2addr p2, v1
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
iget-object v2, p0, Ly/c;->d:Ly/b;
|
||||
|
||||
invoke-virtual {v2, v1}, Ly/b;->a(Z)V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catchall_0
|
||||
move-exception p1
|
||||
|
||||
goto :goto_3
|
||||
|
||||
:catch_0
|
||||
move-exception p1
|
||||
|
||||
:try_start_1
|
||||
iget-object p2, p0, Ly/c;->d:Ly/b;
|
||||
|
||||
invoke-virtual {p2, p1}, Ly/b;->a(Ljava/io/IOException;)Ljava/io/IOException;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
throw p1
|
||||
:try_end_1
|
||||
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
||||
|
||||
:goto_3
|
||||
iget-object p2, p0, Ly/c;->d:Ly/b;
|
||||
|
||||
invoke-virtual {p2, v3}, Ly/b;->a(Z)V
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_3
|
||||
invoke-static {}, Lt/u/b/j;->throwNpe()V
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_4
|
||||
return-void
|
||||
|
||||
:cond_5
|
||||
const-string p1, "source"
|
||||
|
||||
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
184
com.discord/smali_classes2/y/d.smali
Normal file
184
com.discord/smali_classes2/y/d.smali
Normal file
|
@ -0,0 +1,184 @@
|
|||
.class public final Ly/d;
|
||||
.super Ljava/lang/Object;
|
||||
.source "AsyncTimeout.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Ly/w;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic d:Ly/b;
|
||||
|
||||
.field public final synthetic e:Ly/w;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ly/b;Ly/w;)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Ly/w;",
|
||||
")V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iput-object p1, p0, Ly/d;->d:Ly/b;
|
||||
|
||||
iput-object p2, p0, Ly/d;->e:Ly/w;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public b(Ly/e;J)J
|
||||
.locals 2
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
iget-object v1, p0, Ly/d;->d:Ly/b;
|
||||
|
||||
invoke-virtual {v1}, Ly/b;->g()V
|
||||
|
||||
:try_start_0
|
||||
iget-object v1, p0, Ly/d;->e:Ly/w;
|
||||
|
||||
invoke-interface {v1, p1, p2, p3}, Ly/w;->b(Ly/e;J)J
|
||||
|
||||
move-result-wide p1
|
||||
:try_end_0
|
||||
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
const/4 p3, 0x1
|
||||
|
||||
iget-object v0, p0, Ly/d;->d:Ly/b;
|
||||
|
||||
invoke-virtual {v0, p3}, Ly/b;->a(Z)V
|
||||
|
||||
return-wide p1
|
||||
|
||||
:catchall_0
|
||||
move-exception p1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catch_0
|
||||
move-exception p1
|
||||
|
||||
:try_start_1
|
||||
iget-object p2, p0, Ly/d;->d:Ly/b;
|
||||
|
||||
invoke-virtual {p2, p1}, Ly/b;->a(Ljava/io/IOException;)Ljava/io/IOException;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
throw p1
|
||||
:try_end_1
|
||||
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
||||
|
||||
:goto_0
|
||||
iget-object p2, p0, Ly/d;->d:Ly/b;
|
||||
|
||||
invoke-virtual {p2, v0}, Ly/b;->a(Z)V
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_0
|
||||
const-string p1, "sink"
|
||||
|
||||
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public close()V
|
||||
.locals 3
|
||||
|
||||
iget-object v0, p0, Ly/d;->d:Ly/b;
|
||||
|
||||
invoke-virtual {v0}, Ly/b;->g()V
|
||||
|
||||
:try_start_0
|
||||
iget-object v0, p0, Ly/d;->e:Ly/w;
|
||||
|
||||
invoke-interface {v0}, Ly/w;->close()V
|
||||
:try_end_0
|
||||
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
iget-object v1, p0, Ly/d;->d:Ly/b;
|
||||
|
||||
invoke-virtual {v1, v0}, Ly/b;->a(Z)V
|
||||
|
||||
return-void
|
||||
|
||||
:catchall_0
|
||||
move-exception v0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catch_0
|
||||
move-exception v0
|
||||
|
||||
:try_start_1
|
||||
iget-object v1, p0, Ly/d;->d:Ly/b;
|
||||
|
||||
invoke-virtual {v1, v0}, Ly/b;->a(Ljava/io/IOException;)Ljava/io/IOException;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
throw v0
|
||||
:try_end_1
|
||||
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
||||
|
||||
:goto_0
|
||||
iget-object v1, p0, Ly/d;->d:Ly/b;
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
invoke-virtual {v1, v2}, Ly/b;->a(Z)V
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method public timeout()Ly/x;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Ly/d;->d:Ly/b;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public toString()Ljava/lang/String;
|
||||
.locals 2
|
||||
|
||||
const-string v0, "AsyncTimeout.source("
|
||||
|
||||
invoke-static {v0}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
iget-object v1, p0, Ly/d;->e:Ly/w;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
const/16 v1, 0x29
|
||||
|
||||
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
|
452
com.discord/smali_classes2/y/e$a.smali
Normal file
452
com.discord/smali_classes2/y/e$a.smali
Normal file
|
@ -0,0 +1,452 @@
|
|||
.class public final Ly/e$a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Buffer.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Ljava/io/Closeable;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Ly/e;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "a"
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public d:Ly/e;
|
||||
|
||||
.field public e:Z
|
||||
|
||||
.field public f:Ly/r;
|
||||
|
||||
.field public g:J
|
||||
|
||||
.field public h:[B
|
||||
|
||||
.field public i:I
|
||||
|
||||
.field public j:I
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 2
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
const-wide/16 v0, -0x1
|
||||
|
||||
iput-wide v0, p0, Ly/e$a;->g:J
|
||||
|
||||
const/4 v0, -0x1
|
||||
|
||||
iput v0, p0, Ly/e$a;->i:I
|
||||
|
||||
iput v0, p0, Ly/e$a;->j:I
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public close()V
|
||||
.locals 3
|
||||
|
||||
iget-object v0, p0, Ly/e$a;->d:Ly/e;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x0
|
||||
|
||||
:goto_0
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
iput-object v0, p0, Ly/e$a;->d:Ly/e;
|
||||
|
||||
iput-object v0, p0, Ly/e$a;->f:Ly/r;
|
||||
|
||||
const-wide/16 v1, -0x1
|
||||
|
||||
iput-wide v1, p0, Ly/e$a;->g:J
|
||||
|
||||
iput-object v0, p0, Ly/e$a;->h:[B
|
||||
|
||||
const/4 v0, -0x1
|
||||
|
||||
iput v0, p0, Ly/e$a;->i:I
|
||||
|
||||
iput v0, p0, Ly/e$a;->j:I
|
||||
|
||||
return-void
|
||||
|
||||
:cond_1
|
||||
new-instance v0, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string v1, "not attached to a buffer"
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method public final h(J)I
|
||||
.locals 18
|
||||
|
||||
move-object/from16 v0, p0
|
||||
|
||||
move-wide/from16 v1, p1
|
||||
|
||||
iget-object v3, v0, Ly/e$a;->d:Ly/e;
|
||||
|
||||
if-eqz v3, :cond_10
|
||||
|
||||
const/4 v4, -0x1
|
||||
|
||||
int-to-long v5, v4
|
||||
|
||||
cmp-long v7, v1, v5
|
||||
|
||||
if-ltz v7, :cond_f
|
||||
|
||||
iget-wide v5, v3, Ly/e;->e:J
|
||||
|
||||
cmp-long v7, v1, v5
|
||||
|
||||
if-gtz v7, :cond_f
|
||||
|
||||
const-wide/16 v7, -0x1
|
||||
|
||||
const/4 v9, 0x0
|
||||
|
||||
cmp-long v10, v1, v7
|
||||
|
||||
if-eqz v10, :cond_e
|
||||
|
||||
cmp-long v7, v1, v5
|
||||
|
||||
if-nez v7, :cond_0
|
||||
|
||||
goto/16 :goto_4
|
||||
|
||||
:cond_0
|
||||
const-wide/16 v7, 0x0
|
||||
|
||||
iget-object v4, v3, Ly/e;->d:Ly/r;
|
||||
|
||||
iget-object v10, v0, Ly/e$a;->f:Ly/r;
|
||||
|
||||
if-eqz v10, :cond_3
|
||||
|
||||
iget-wide v11, v0, Ly/e$a;->g:J
|
||||
|
||||
iget v13, v0, Ly/e$a;->i:I
|
||||
|
||||
if-eqz v10, :cond_2
|
||||
|
||||
iget v14, v10, Ly/r;->b:I
|
||||
|
||||
sub-int/2addr v13, v14
|
||||
|
||||
int-to-long v13, v13
|
||||
|
||||
sub-long/2addr v11, v13
|
||||
|
||||
cmp-long v13, v11, v1
|
||||
|
||||
if-lez v13, :cond_1
|
||||
|
||||
move-wide v5, v11
|
||||
|
||||
move-object/from16 v17, v10
|
||||
|
||||
move-object v10, v4
|
||||
|
||||
move-object/from16 v4, v17
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
move-wide v7, v11
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_2
|
||||
invoke-static {}, Lt/u/b/j;->throwNpe()V
|
||||
|
||||
throw v9
|
||||
|
||||
:cond_3
|
||||
move-object v10, v4
|
||||
|
||||
:goto_0
|
||||
sub-long v11, v5, v1
|
||||
|
||||
sub-long v13, v1, v7
|
||||
|
||||
cmp-long v15, v11, v13
|
||||
|
||||
if-lez v15, :cond_5
|
||||
|
||||
:goto_1
|
||||
if-eqz v10, :cond_4
|
||||
|
||||
iget v4, v10, Ly/r;->c:I
|
||||
|
||||
iget v5, v10, Ly/r;->b:I
|
||||
|
||||
sub-int v6, v4, v5
|
||||
|
||||
int-to-long v11, v6
|
||||
|
||||
add-long/2addr v11, v7
|
||||
|
||||
cmp-long v6, v1, v11
|
||||
|
||||
if-ltz v6, :cond_8
|
||||
|
||||
sub-int/2addr v4, v5
|
||||
|
||||
int-to-long v4, v4
|
||||
|
||||
add-long/2addr v7, v4
|
||||
|
||||
iget-object v10, v10, Ly/r;->f:Ly/r;
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_4
|
||||
invoke-static {}, Lt/u/b/j;->throwNpe()V
|
||||
|
||||
throw v9
|
||||
|
||||
:cond_5
|
||||
move-object v10, v4
|
||||
|
||||
move-wide v7, v5
|
||||
|
||||
:goto_2
|
||||
cmp-long v4, v7, v1
|
||||
|
||||
if-lez v4, :cond_8
|
||||
|
||||
if-eqz v10, :cond_7
|
||||
|
||||
iget-object v10, v10, Ly/r;->g:Ly/r;
|
||||
|
||||
if-eqz v10, :cond_6
|
||||
|
||||
iget v4, v10, Ly/r;->c:I
|
||||
|
||||
iget v5, v10, Ly/r;->b:I
|
||||
|
||||
sub-int/2addr v4, v5
|
||||
|
||||
int-to-long v4, v4
|
||||
|
||||
sub-long/2addr v7, v4
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:cond_6
|
||||
invoke-static {}, Lt/u/b/j;->throwNpe()V
|
||||
|
||||
throw v9
|
||||
|
||||
:cond_7
|
||||
invoke-static {}, Lt/u/b/j;->throwNpe()V
|
||||
|
||||
throw v9
|
||||
|
||||
:cond_8
|
||||
iget-boolean v4, v0, Ly/e$a;->e:Z
|
||||
|
||||
if-eqz v4, :cond_c
|
||||
|
||||
if-eqz v10, :cond_b
|
||||
|
||||
iget-boolean v4, v10, Ly/r;->d:Z
|
||||
|
||||
if-eqz v4, :cond_c
|
||||
|
||||
new-instance v4, Ly/r;
|
||||
|
||||
iget-object v5, v10, Ly/r;->a:[B
|
||||
|
||||
array-length v6, v5
|
||||
|
||||
invoke-static {v5, v6}, Ljava/util/Arrays;->copyOf([BI)[B
|
||||
|
||||
move-result-object v12
|
||||
|
||||
const-string v5, "java.util.Arrays.copyOf(this, size)"
|
||||
|
||||
invoke-static {v12, v5}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
iget v13, v10, Ly/r;->b:I
|
||||
|
||||
iget v14, v10, Ly/r;->c:I
|
||||
|
||||
const/4 v15, 0x0
|
||||
|
||||
const/16 v16, 0x1
|
||||
|
||||
move-object v11, v4
|
||||
|
||||
invoke-direct/range {v11 .. v16}, Ly/r;-><init>([BIIZZ)V
|
||||
|
||||
iget-object v5, v3, Ly/e;->d:Ly/r;
|
||||
|
||||
if-ne v5, v10, :cond_9
|
||||
|
||||
iput-object v4, v3, Ly/e;->d:Ly/r;
|
||||
|
||||
:cond_9
|
||||
invoke-virtual {v10, v4}, Ly/r;->a(Ly/r;)Ly/r;
|
||||
|
||||
iget-object v3, v4, Ly/r;->g:Ly/r;
|
||||
|
||||
if-eqz v3, :cond_a
|
||||
|
||||
invoke-virtual {v3}, Ly/r;->a()Ly/r;
|
||||
|
||||
goto :goto_3
|
||||
|
||||
:cond_a
|
||||
invoke-static {}, Lt/u/b/j;->throwNpe()V
|
||||
|
||||
throw v9
|
||||
|
||||
:cond_b
|
||||
invoke-static {}, Lt/u/b/j;->throwNpe()V
|
||||
|
||||
throw v9
|
||||
|
||||
:cond_c
|
||||
move-object v4, v10
|
||||
|
||||
:goto_3
|
||||
iput-object v4, v0, Ly/e$a;->f:Ly/r;
|
||||
|
||||
iput-wide v1, v0, Ly/e$a;->g:J
|
||||
|
||||
if-eqz v4, :cond_d
|
||||
|
||||
iget-object v3, v4, Ly/r;->a:[B
|
||||
|
||||
iput-object v3, v0, Ly/e$a;->h:[B
|
||||
|
||||
iget v3, v4, Ly/r;->b:I
|
||||
|
||||
sub-long/2addr v1, v7
|
||||
|
||||
long-to-int v2, v1
|
||||
|
||||
add-int/2addr v3, v2
|
||||
|
||||
iput v3, v0, Ly/e$a;->i:I
|
||||
|
||||
iget v1, v4, Ly/r;->c:I
|
||||
|
||||
iput v1, v0, Ly/e$a;->j:I
|
||||
|
||||
iget v1, v0, Ly/e$a;->j:I
|
||||
|
||||
iget v2, v0, Ly/e$a;->i:I
|
||||
|
||||
sub-int/2addr v1, v2
|
||||
|
||||
return v1
|
||||
|
||||
:cond_d
|
||||
invoke-static {}, Lt/u/b/j;->throwNpe()V
|
||||
|
||||
throw v9
|
||||
|
||||
:cond_e
|
||||
:goto_4
|
||||
iput-object v9, v0, Ly/e$a;->f:Ly/r;
|
||||
|
||||
iput-wide v1, v0, Ly/e$a;->g:J
|
||||
|
||||
iput-object v9, v0, Ly/e$a;->h:[B
|
||||
|
||||
iput v4, v0, Ly/e$a;->i:I
|
||||
|
||||
iput v4, v0, Ly/e$a;->j:I
|
||||
|
||||
return v4
|
||||
|
||||
:cond_f
|
||||
new-instance v4, Ljava/lang/ArrayIndexOutOfBoundsException;
|
||||
|
||||
const/4 v5, 0x2
|
||||
|
||||
new-array v5, v5, [Ljava/lang/Object;
|
||||
|
||||
const/4 v6, 0x0
|
||||
|
||||
invoke-static/range {p1 .. p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
aput-object v1, v5, v6
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
iget-wide v2, v3, Ly/e;->e:J
|
||||
|
||||
invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
aput-object v2, v5, v1
|
||||
|
||||
array-length v1, v5
|
||||
|
||||
invoke-static {v5, v1}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
const-string v2, "offset=%s > size=%s"
|
||||
|
||||
invoke-static {v2, v1}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
const-string v2, "java.lang.String.format(format, *args)"
|
||||
|
||||
invoke-static {v1, v2}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-direct {v4, v1}, Ljava/lang/ArrayIndexOutOfBoundsException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw v4
|
||||
|
||||
:cond_10
|
||||
new-instance v1, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string v2, "not attached to a buffer"
|
||||
|
||||
invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
invoke-direct {v1, v2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw v1
|
||||
.end method
|
136
com.discord/smali_classes2/y/e$b.smali
Normal file
136
com.discord/smali_classes2/y/e$b.smali
Normal file
|
@ -0,0 +1,136 @@
|
|||
.class public final Ly/e$b;
|
||||
.super Ljava/io/InputStream;
|
||||
.source "Buffer.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Ly/e;->s()Ljava/io/InputStream;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic d:Ly/e;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ly/e;)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"()V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iput-object p1, p0, Ly/e$b;->d:Ly/e;
|
||||
|
||||
invoke-direct {p0}, Ljava/io/InputStream;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public available()I
|
||||
.locals 4
|
||||
|
||||
iget-object v0, p0, Ly/e$b;->d:Ly/e;
|
||||
|
||||
iget-wide v0, v0, Ly/e;->e:J
|
||||
|
||||
const v2, 0x7fffffff
|
||||
|
||||
int-to-long v2, v2
|
||||
|
||||
invoke-static {v0, v1, v2, v3}, Ljava/lang/Math;->min(JJ)J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
long-to-int v1, v0
|
||||
|
||||
return v1
|
||||
.end method
|
||||
|
||||
.method public close()V
|
||||
.locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public read()I
|
||||
.locals 6
|
||||
|
||||
iget-object v0, p0, Ly/e$b;->d:Ly/e;
|
||||
|
||||
iget-wide v1, v0, Ly/e;->e:J
|
||||
|
||||
const-wide/16 v3, 0x0
|
||||
|
||||
cmp-long v5, v1, v3
|
||||
|
||||
if-lez v5, :cond_0
|
||||
|
||||
invoke-virtual {v0}, Ly/e;->readByte()B
|
||||
|
||||
move-result v0
|
||||
|
||||
and-int/lit16 v0, v0, 0xff
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 v0, -0x1
|
||||
|
||||
:goto_0
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public read([BII)I
|
||||
.locals 1
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
iget-object v0, p0, Ly/e$b;->d:Ly/e;
|
||||
|
||||
invoke-virtual {v0, p1, p2, p3}, Ly/e;->a([BII)I
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
|
||||
:cond_0
|
||||
const-string p1, "sink"
|
||||
|
||||
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public toString()Ljava/lang/String;
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
||||
|
||||
iget-object v1, p0, Ly/e$b;->d:Ly/e;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v1, ".inputStream()"
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
6627
com.discord/smali_classes2/y/e.smali
Normal file
6627
com.discord/smali_classes2/y/e.smali
Normal file
File diff suppressed because it is too large
Load diff
91
com.discord/smali_classes2/y/f.smali
Normal file
91
com.discord/smali_classes2/y/f.smali
Normal file
|
@ -0,0 +1,91 @@
|
|||
.class public final Ly/f;
|
||||
.super Ljava/io/OutputStream;
|
||||
.source "Buffer.kt"
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic d:Ly/e;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ly/e;)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"()V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iput-object p1, p0, Ly/f;->d:Ly/e;
|
||||
|
||||
invoke-direct {p0}, Ljava/io/OutputStream;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public close()V
|
||||
.locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public flush()V
|
||||
.locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public toString()Ljava/lang/String;
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
||||
|
||||
iget-object v1, p0, Ly/f;->d:Ly/e;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v1, ".outputStream()"
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public write(I)V
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Ly/f;->d:Ly/e;
|
||||
|
||||
invoke-virtual {v0, p1}, Ly/e;->writeByte(I)Ly/e;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public write([BII)V
|
||||
.locals 1
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
iget-object v0, p0, Ly/f;->d:Ly/e;
|
||||
|
||||
invoke-virtual {v0, p1, p2, p3}, Ly/e;->write([BII)Ly/e;
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const-string p1, "data"
|
||||
|
||||
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
175
com.discord/smali_classes2/y/g.smali
Normal file
175
com.discord/smali_classes2/y/g.smali
Normal file
|
@ -0,0 +1,175 @@
|
|||
.class public interface abstract Ly/g;
|
||||
.super Ljava/lang/Object;
|
||||
.source "BufferedSource.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Ly/w;
|
||||
.implements Ljava/nio/channels/ReadableByteChannel;
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract a(Ly/n;)I
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract a(Ly/u;)J
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract a(Ljava/nio/charset/Charset;)Ljava/lang/String;
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract a(Ly/e;J)V
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract a(J)Z
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract b(Lokio/ByteString;)J
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract c(Lokio/ByteString;)J
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract d(J)Lokio/ByteString;
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract e(J)[B
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract f(J)Ljava/lang/String;
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract g(J)V
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract n()Ly/e;
|
||||
.end method
|
||||
|
||||
.method public abstract p()Ljava/lang/String;
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract q()Z
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract r()J
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract readByte()B
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract readFully([B)V
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract readInt()I
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract readLong()J
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract readShort()S
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract s()Ljava/io/InputStream;
|
||||
.end method
|
||||
|
||||
.method public abstract skip(J)V
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
155
com.discord/smali_classes2/y/h.smali
Normal file
155
com.discord/smali_classes2/y/h.smali
Normal file
|
@ -0,0 +1,155 @@
|
|||
.class public abstract Ly/h;
|
||||
.super Ljava/lang/Object;
|
||||
.source "ForwardingSink.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Ly/u;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final delegate:Ly/u;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ly/u;)V
|
||||
.locals 0
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Ly/h;->delegate:Ly/u;
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const-string p1, "delegate"
|
||||
|
||||
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final -deprecated_delegate()Ly/u;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Ly/h;->delegate:Ly/u;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public close()V
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Ly/h;->delegate:Ly/u;
|
||||
|
||||
invoke-interface {v0}, Ly/u;->close()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final delegate()Ly/u;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Ly/h;->delegate:Ly/u;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public flush()V
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Ly/h;->delegate:Ly/u;
|
||||
|
||||
invoke-interface {v0}, Ly/u;->flush()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public timeout()Ly/x;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Ly/h;->delegate:Ly/u;
|
||||
|
||||
invoke-interface {v0}, Ly/u;->timeout()Ly/x;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public toString()Ljava/lang/String;
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
||||
|
||||
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
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, 0x28
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
||||
|
||||
iget-object v1, p0, Ly/h;->delegate:Ly/u;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
const/16 v1, 0x29
|
||||
|
||||
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
|
||||
|
||||
.method public write(Ly/e;J)V
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
iget-object v0, p0, Ly/h;->delegate:Ly/u;
|
||||
|
||||
invoke-interface {v0, p1, p2, p3}, Ly/u;->write(Ly/e;J)V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const-string p1, "source"
|
||||
|
||||
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
126
com.discord/smali_classes2/y/i.smali
Normal file
126
com.discord/smali_classes2/y/i.smali
Normal file
|
@ -0,0 +1,126 @@
|
|||
.class public abstract Ly/i;
|
||||
.super Ljava/lang/Object;
|
||||
.source "ForwardingSource.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Ly/w;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final d:Ly/w;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ly/w;)V
|
||||
.locals 0
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Ly/i;->d:Ly/w;
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const-string p1, "delegate"
|
||||
|
||||
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public b(Ly/e;J)J
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
iget-object v0, p0, Ly/i;->d:Ly/w;
|
||||
|
||||
invoke-interface {v0, p1, p2, p3}, Ly/w;->b(Ly/e;J)J
|
||||
|
||||
move-result-wide p1
|
||||
|
||||
return-wide p1
|
||||
|
||||
:cond_0
|
||||
const-string p1, "sink"
|
||||
|
||||
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public close()V
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Ly/i;->d:Ly/w;
|
||||
|
||||
invoke-interface {v0}, Ly/w;->close()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public timeout()Ly/x;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Ly/i;->d:Ly/w;
|
||||
|
||||
invoke-interface {v0}, Ly/w;->timeout()Ly/x;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public toString()Ljava/lang/String;
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
||||
|
||||
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
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, 0x28
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
||||
|
||||
iget-object v1, p0, Ly/i;->d:Ly/w;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
const/16 v1, 0x29
|
||||
|
||||
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
|
142
com.discord/smali_classes2/y/j.smali
Normal file
142
com.discord/smali_classes2/y/j.smali
Normal file
|
@ -0,0 +1,142 @@
|
|||
.class public Ly/j;
|
||||
.super Ly/x;
|
||||
.source "ForwardingTimeout.kt"
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public e:Ly/x;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ly/x;)V
|
||||
.locals 0
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
invoke-direct {p0}, Ly/x;-><init>()V
|
||||
|
||||
iput-object p1, p0, Ly/j;->e:Ly/x;
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const-string p1, "delegate"
|
||||
|
||||
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public a()Ly/x;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Ly/j;->e:Ly/x;
|
||||
|
||||
invoke-virtual {v0}, Ly/x;->a()Ly/x;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public a(J)Ly/x;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Ly/j;->e:Ly/x;
|
||||
|
||||
invoke-virtual {v0, p1, p2}, Ly/x;->a(J)Ly/x;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public a(JLjava/util/concurrent/TimeUnit;)Ly/x;
|
||||
.locals 1
|
||||
|
||||
if-eqz p3, :cond_0
|
||||
|
||||
iget-object v0, p0, Ly/j;->e:Ly/x;
|
||||
|
||||
invoke-virtual {v0, p1, p2, p3}, Ly/x;->a(JLjava/util/concurrent/TimeUnit;)Ly/x;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
|
||||
:cond_0
|
||||
const-string p1, "unit"
|
||||
|
||||
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public b()Ly/x;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Ly/j;->e:Ly/x;
|
||||
|
||||
invoke-virtual {v0}, Ly/x;->b()Ly/x;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public c()J
|
||||
.locals 2
|
||||
|
||||
iget-object v0, p0, Ly/j;->e:Ly/x;
|
||||
|
||||
invoke-virtual {v0}, Ly/x;->c()J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
return-wide v0
|
||||
.end method
|
||||
|
||||
.method public d()Z
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Ly/j;->e:Ly/x;
|
||||
|
||||
invoke-virtual {v0}, Ly/x;->d()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public e()V
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Ly/j;->e:Ly/x;
|
||||
|
||||
invoke-virtual {v0}, Ly/x;->e()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public f()J
|
||||
.locals 2
|
||||
|
||||
iget-object v0, p0, Ly/j;->e:Ly/x;
|
||||
|
||||
invoke-virtual {v0}, Ly/x;->f()J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
return-wide v0
|
||||
.end method
|
724
com.discord/smali_classes2/y/k.smali
Normal file
724
com.discord/smali_classes2/y/k.smali
Normal file
|
@ -0,0 +1,724 @@
|
|||
.class public final Ly/k;
|
||||
.super Ljava/lang/Object;
|
||||
.source "GzipSource.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Ly/w;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public d:B
|
||||
|
||||
.field public final e:Ly/q;
|
||||
|
||||
.field public final f:Ljava/util/zip/Inflater;
|
||||
|
||||
.field public final g:Ly/l;
|
||||
|
||||
.field public final h:Ljava/util/zip/CRC32;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ly/w;)V
|
||||
.locals 2
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
new-instance v0, Ly/q;
|
||||
|
||||
invoke-direct {v0, p1}, Ly/q;-><init>(Ly/w;)V
|
||||
|
||||
iput-object v0, p0, Ly/k;->e:Ly/q;
|
||||
|
||||
new-instance p1, Ljava/util/zip/Inflater;
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
invoke-direct {p1, v0}, Ljava/util/zip/Inflater;-><init>(Z)V
|
||||
|
||||
iput-object p1, p0, Ly/k;->f:Ljava/util/zip/Inflater;
|
||||
|
||||
new-instance p1, Ly/l;
|
||||
|
||||
iget-object v0, p0, Ly/k;->e:Ly/q;
|
||||
|
||||
iget-object v1, p0, Ly/k;->f:Ljava/util/zip/Inflater;
|
||||
|
||||
invoke-direct {p1, v0, v1}, Ly/l;-><init>(Ly/g;Ljava/util/zip/Inflater;)V
|
||||
|
||||
iput-object p1, p0, Ly/k;->g:Ly/l;
|
||||
|
||||
new-instance p1, Ljava/util/zip/CRC32;
|
||||
|
||||
invoke-direct {p1}, Ljava/util/zip/CRC32;-><init>()V
|
||||
|
||||
iput-object p1, p0, Ly/k;->h:Ljava/util/zip/CRC32;
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const-string p1, "source"
|
||||
|
||||
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final a(Ljava/lang/String;II)V
|
||||
.locals 3
|
||||
|
||||
if-ne p3, p2, :cond_0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
new-instance v0, Ljava/io/IOException;
|
||||
|
||||
const/4 v1, 0x3
|
||||
|
||||
new-array v1, v1, [Ljava/lang/Object;
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
aput-object p1, v1, v2
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
invoke-static {p3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||||
|
||||
move-result-object p3
|
||||
|
||||
aput-object p3, v1, p1
|
||||
|
||||
const/4 p1, 0x2
|
||||
|
||||
invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
aput-object p2, v1, p1
|
||||
|
||||
array-length p1, v1
|
||||
|
||||
invoke-static {v1, p1}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const-string p2, "%s: actual 0x%08x != expected 0x%08x"
|
||||
|
||||
invoke-static {p2, p1}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const-string p2, "java.lang.String.format(this, *args)"
|
||||
|
||||
invoke-static {p1, p2}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-direct {v0, p1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method public final a(Ly/e;JJ)V
|
||||
.locals 6
|
||||
|
||||
iget-object p1, p1, Ly/e;->d:Ly/r;
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
if-eqz p1, :cond_4
|
||||
|
||||
:goto_0
|
||||
iget v1, p1, Ly/r;->c:I
|
||||
|
||||
iget v2, p1, Ly/r;->b:I
|
||||
|
||||
sub-int v3, v1, v2
|
||||
|
||||
int-to-long v3, v3
|
||||
|
||||
cmp-long v5, p2, v3
|
||||
|
||||
if-ltz v5, :cond_1
|
||||
|
||||
sub-int/2addr v1, v2
|
||||
|
||||
int-to-long v1, v1
|
||||
|
||||
sub-long/2addr p2, v1
|
||||
|
||||
iget-object p1, p1, Ly/r;->f:Ly/r;
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
invoke-static {}, Lt/u/b/j;->throwNpe()V
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_1
|
||||
const-wide/16 v1, 0x0
|
||||
|
||||
:goto_1
|
||||
cmp-long v3, p4, v1
|
||||
|
||||
if-lez v3, :cond_3
|
||||
|
||||
iget v3, p1, Ly/r;->b:I
|
||||
|
||||
int-to-long v3, v3
|
||||
|
||||
add-long/2addr v3, p2
|
||||
|
||||
long-to-int p2, v3
|
||||
|
||||
iget p3, p1, Ly/r;->c:I
|
||||
|
||||
sub-int/2addr p3, p2
|
||||
|
||||
int-to-long v3, p3
|
||||
|
||||
invoke-static {v3, v4, p4, p5}, Ljava/lang/Math;->min(JJ)J
|
||||
|
||||
move-result-wide v3
|
||||
|
||||
long-to-int p3, v3
|
||||
|
||||
iget-object v3, p0, Ly/k;->h:Ljava/util/zip/CRC32;
|
||||
|
||||
iget-object v4, p1, Ly/r;->a:[B
|
||||
|
||||
invoke-virtual {v3, v4, p2, p3}, Ljava/util/zip/CRC32;->update([BII)V
|
||||
|
||||
int-to-long p2, p3
|
||||
|
||||
sub-long/2addr p4, p2
|
||||
|
||||
iget-object p1, p1, Ly/r;->f:Ly/r;
|
||||
|
||||
if-eqz p1, :cond_2
|
||||
|
||||
move-wide p2, v1
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_2
|
||||
invoke-static {}, Lt/u/b/j;->throwNpe()V
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_3
|
||||
return-void
|
||||
|
||||
:cond_4
|
||||
invoke-static {}, Lt/u/b/j;->throwNpe()V
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method public b(Ly/e;J)J
|
||||
.locals 20
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
move-object/from16 v6, p0
|
||||
|
||||
move-object/from16 v7, p1
|
||||
|
||||
move-wide/from16 v8, p2
|
||||
|
||||
if-eqz v7, :cond_17
|
||||
|
||||
const-wide/16 v0, 0x0
|
||||
|
||||
const/4 v10, 0x0
|
||||
|
||||
const/4 v11, 0x1
|
||||
|
||||
cmp-long v2, v8, v0
|
||||
|
||||
if-ltz v2, :cond_0
|
||||
|
||||
const/4 v3, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 v3, 0x0
|
||||
|
||||
:goto_0
|
||||
if-eqz v3, :cond_16
|
||||
|
||||
if-nez v2, :cond_1
|
||||
|
||||
return-wide v0
|
||||
|
||||
:cond_1
|
||||
iget-byte v0, v6, Ly/k;->d:B
|
||||
|
||||
const-wide/16 v12, -0x1
|
||||
|
||||
if-nez v0, :cond_11
|
||||
|
||||
iget-object v0, v6, Ly/k;->e:Ly/q;
|
||||
|
||||
const-wide/16 v1, 0xa
|
||||
|
||||
invoke-virtual {v0, v1, v2}, Ly/q;->g(J)V
|
||||
|
||||
iget-object v0, v6, Ly/k;->e:Ly/q;
|
||||
|
||||
iget-object v0, v0, Ly/q;->d:Ly/e;
|
||||
|
||||
const-wide/16 v1, 0x3
|
||||
|
||||
invoke-virtual {v0, v1, v2}, Ly/e;->h(J)B
|
||||
|
||||
move-result v14
|
||||
|
||||
shr-int/lit8 v0, v14, 0x1
|
||||
|
||||
and-int/2addr v0, v11
|
||||
|
||||
if-ne v0, v11, :cond_2
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
const/4 v15, 0x1
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_2
|
||||
const/4 v0, 0x0
|
||||
|
||||
const/4 v15, 0x0
|
||||
|
||||
:goto_1
|
||||
if-eqz v15, :cond_3
|
||||
|
||||
iget-object v0, v6, Ly/k;->e:Ly/q;
|
||||
|
||||
iget-object v1, v0, Ly/q;->d:Ly/e;
|
||||
|
||||
const-wide/16 v2, 0x0
|
||||
|
||||
const-wide/16 v4, 0xa
|
||||
|
||||
move-object/from16 v0, p0
|
||||
|
||||
invoke-virtual/range {v0 .. v5}, Ly/k;->a(Ly/e;JJ)V
|
||||
|
||||
:cond_3
|
||||
iget-object v0, v6, Ly/k;->e:Ly/q;
|
||||
|
||||
invoke-virtual {v0}, Ly/q;->readShort()S
|
||||
|
||||
move-result v0
|
||||
|
||||
const/16 v1, 0x1f8b
|
||||
|
||||
const-string v2, "ID1ID2"
|
||||
|
||||
invoke-virtual {v6, v2, v1, v0}, Ly/k;->a(Ljava/lang/String;II)V
|
||||
|
||||
iget-object v0, v6, Ly/k;->e:Ly/q;
|
||||
|
||||
const-wide/16 v1, 0x8
|
||||
|
||||
invoke-virtual {v0, v1, v2}, Ly/q;->skip(J)V
|
||||
|
||||
shr-int/lit8 v0, v14, 0x2
|
||||
|
||||
and-int/2addr v0, v11
|
||||
|
||||
if-ne v0, v11, :cond_4
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:cond_4
|
||||
const/4 v0, 0x0
|
||||
|
||||
:goto_2
|
||||
const-wide/16 v1, 0x2
|
||||
|
||||
if-eqz v0, :cond_7
|
||||
|
||||
iget-object v0, v6, Ly/k;->e:Ly/q;
|
||||
|
||||
invoke-virtual {v0, v1, v2}, Ly/q;->g(J)V
|
||||
|
||||
if-eqz v15, :cond_5
|
||||
|
||||
iget-object v0, v6, Ly/k;->e:Ly/q;
|
||||
|
||||
iget-object v1, v0, Ly/q;->d:Ly/e;
|
||||
|
||||
const-wide/16 v2, 0x0
|
||||
|
||||
const-wide/16 v4, 0x2
|
||||
|
||||
move-object/from16 v0, p0
|
||||
|
||||
invoke-virtual/range {v0 .. v5}, Ly/k;->a(Ly/e;JJ)V
|
||||
|
||||
:cond_5
|
||||
iget-object v0, v6, Ly/k;->e:Ly/q;
|
||||
|
||||
iget-object v0, v0, Ly/q;->d:Ly/e;
|
||||
|
||||
invoke-virtual {v0}, Ly/e;->c()S
|
||||
|
||||
move-result v0
|
||||
|
||||
int-to-long v4, v0
|
||||
|
||||
iget-object v0, v6, Ly/k;->e:Ly/q;
|
||||
|
||||
invoke-virtual {v0, v4, v5}, Ly/q;->g(J)V
|
||||
|
||||
if-eqz v15, :cond_6
|
||||
|
||||
iget-object v0, v6, Ly/k;->e:Ly/q;
|
||||
|
||||
iget-object v1, v0, Ly/q;->d:Ly/e;
|
||||
|
||||
const-wide/16 v2, 0x0
|
||||
|
||||
move-object/from16 v0, p0
|
||||
|
||||
move-wide/from16 v16, v4
|
||||
|
||||
invoke-virtual/range {v0 .. v5}, Ly/k;->a(Ly/e;JJ)V
|
||||
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
move-wide/from16 v16, v4
|
||||
|
||||
:goto_3
|
||||
iget-object v0, v6, Ly/k;->e:Ly/q;
|
||||
|
||||
move-wide/from16 v1, v16
|
||||
|
||||
invoke-virtual {v0, v1, v2}, Ly/q;->skip(J)V
|
||||
|
||||
:cond_7
|
||||
shr-int/lit8 v0, v14, 0x3
|
||||
|
||||
and-int/2addr v0, v11
|
||||
|
||||
if-ne v0, v11, :cond_8
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
goto :goto_4
|
||||
|
||||
:cond_8
|
||||
const/4 v0, 0x0
|
||||
|
||||
:goto_4
|
||||
const-wide/16 v16, 0x1
|
||||
|
||||
if-eqz v0, :cond_b
|
||||
|
||||
iget-object v0, v6, Ly/k;->e:Ly/q;
|
||||
|
||||
invoke-virtual {v0, v10}, Ly/q;->a(B)J
|
||||
|
||||
move-result-wide v18
|
||||
|
||||
cmp-long v0, v18, v12
|
||||
|
||||
if-eqz v0, :cond_a
|
||||
|
||||
if-eqz v15, :cond_9
|
||||
|
||||
iget-object v0, v6, Ly/k;->e:Ly/q;
|
||||
|
||||
iget-object v1, v0, Ly/q;->d:Ly/e;
|
||||
|
||||
const-wide/16 v2, 0x0
|
||||
|
||||
add-long v4, v18, v16
|
||||
|
||||
move-object/from16 v0, p0
|
||||
|
||||
invoke-virtual/range {v0 .. v5}, Ly/k;->a(Ly/e;JJ)V
|
||||
|
||||
:cond_9
|
||||
iget-object v0, v6, Ly/k;->e:Ly/q;
|
||||
|
||||
add-long v1, v18, v16
|
||||
|
||||
invoke-virtual {v0, v1, v2}, Ly/q;->skip(J)V
|
||||
|
||||
goto :goto_5
|
||||
|
||||
:cond_a
|
||||
new-instance v0, Ljava/io/EOFException;
|
||||
|
||||
invoke-direct {v0}, Ljava/io/EOFException;-><init>()V
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_b
|
||||
:goto_5
|
||||
shr-int/lit8 v0, v14, 0x4
|
||||
|
||||
and-int/2addr v0, v11
|
||||
|
||||
if-ne v0, v11, :cond_c
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
goto :goto_6
|
||||
|
||||
:cond_c
|
||||
const/4 v0, 0x0
|
||||
|
||||
:goto_6
|
||||
if-eqz v0, :cond_f
|
||||
|
||||
iget-object v0, v6, Ly/k;->e:Ly/q;
|
||||
|
||||
invoke-virtual {v0, v10}, Ly/q;->a(B)J
|
||||
|
||||
move-result-wide v18
|
||||
|
||||
cmp-long v0, v18, v12
|
||||
|
||||
if-eqz v0, :cond_e
|
||||
|
||||
if-eqz v15, :cond_d
|
||||
|
||||
iget-object v0, v6, Ly/k;->e:Ly/q;
|
||||
|
||||
iget-object v1, v0, Ly/q;->d:Ly/e;
|
||||
|
||||
const-wide/16 v2, 0x0
|
||||
|
||||
add-long v4, v18, v16
|
||||
|
||||
move-object/from16 v0, p0
|
||||
|
||||
invoke-virtual/range {v0 .. v5}, Ly/k;->a(Ly/e;JJ)V
|
||||
|
||||
:cond_d
|
||||
iget-object v0, v6, Ly/k;->e:Ly/q;
|
||||
|
||||
add-long v1, v18, v16
|
||||
|
||||
invoke-virtual {v0, v1, v2}, Ly/q;->skip(J)V
|
||||
|
||||
goto :goto_7
|
||||
|
||||
:cond_e
|
||||
new-instance v0, Ljava/io/EOFException;
|
||||
|
||||
invoke-direct {v0}, Ljava/io/EOFException;-><init>()V
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_f
|
||||
:goto_7
|
||||
if-eqz v15, :cond_10
|
||||
|
||||
iget-object v0, v6, Ly/k;->e:Ly/q;
|
||||
|
||||
const-wide/16 v1, 0x2
|
||||
|
||||
invoke-virtual {v0, v1, v2}, Ly/q;->g(J)V
|
||||
|
||||
iget-object v0, v0, Ly/q;->d:Ly/e;
|
||||
|
||||
invoke-virtual {v0}, Ly/e;->c()S
|
||||
|
||||
move-result v0
|
||||
|
||||
iget-object v1, v6, Ly/k;->h:Ljava/util/zip/CRC32;
|
||||
|
||||
invoke-virtual {v1}, Ljava/util/zip/CRC32;->getValue()J
|
||||
|
||||
move-result-wide v1
|
||||
|
||||
long-to-int v2, v1
|
||||
|
||||
int-to-short v1, v2
|
||||
|
||||
const-string v2, "FHCRC"
|
||||
|
||||
invoke-virtual {v6, v2, v0, v1}, Ly/k;->a(Ljava/lang/String;II)V
|
||||
|
||||
iget-object v0, v6, Ly/k;->h:Ljava/util/zip/CRC32;
|
||||
|
||||
invoke-virtual {v0}, Ljava/util/zip/CRC32;->reset()V
|
||||
|
||||
:cond_10
|
||||
iput-byte v11, v6, Ly/k;->d:B
|
||||
|
||||
:cond_11
|
||||
iget-byte v0, v6, Ly/k;->d:B
|
||||
|
||||
const/4 v1, 0x2
|
||||
|
||||
if-ne v0, v11, :cond_13
|
||||
|
||||
iget-wide v2, v7, Ly/e;->e:J
|
||||
|
||||
iget-object v0, v6, Ly/k;->g:Ly/l;
|
||||
|
||||
invoke-virtual {v0, v7, v8, v9}, Ly/l;->b(Ly/e;J)J
|
||||
|
||||
move-result-wide v8
|
||||
|
||||
cmp-long v0, v8, v12
|
||||
|
||||
if-eqz v0, :cond_12
|
||||
|
||||
move-object/from16 v0, p0
|
||||
|
||||
move-object/from16 v1, p1
|
||||
|
||||
move-wide v4, v8
|
||||
|
||||
invoke-virtual/range {v0 .. v5}, Ly/k;->a(Ly/e;JJ)V
|
||||
|
||||
return-wide v8
|
||||
|
||||
:cond_12
|
||||
iput-byte v1, v6, Ly/k;->d:B
|
||||
|
||||
:cond_13
|
||||
iget-byte v0, v6, Ly/k;->d:B
|
||||
|
||||
if-ne v0, v1, :cond_15
|
||||
|
||||
iget-object v0, v6, Ly/k;->e:Ly/q;
|
||||
|
||||
invoke-virtual {v0}, Ly/q;->a()I
|
||||
|
||||
move-result v0
|
||||
|
||||
iget-object v1, v6, Ly/k;->h:Ljava/util/zip/CRC32;
|
||||
|
||||
invoke-virtual {v1}, Ljava/util/zip/CRC32;->getValue()J
|
||||
|
||||
move-result-wide v1
|
||||
|
||||
long-to-int v2, v1
|
||||
|
||||
const-string v1, "CRC"
|
||||
|
||||
invoke-virtual {v6, v1, v0, v2}, Ly/k;->a(Ljava/lang/String;II)V
|
||||
|
||||
iget-object v0, v6, Ly/k;->e:Ly/q;
|
||||
|
||||
invoke-virtual {v0}, Ly/q;->a()I
|
||||
|
||||
move-result v0
|
||||
|
||||
iget-object v1, v6, Ly/k;->f:Ljava/util/zip/Inflater;
|
||||
|
||||
invoke-virtual {v1}, Ljava/util/zip/Inflater;->getBytesWritten()J
|
||||
|
||||
move-result-wide v1
|
||||
|
||||
long-to-int v2, v1
|
||||
|
||||
const-string v1, "ISIZE"
|
||||
|
||||
invoke-virtual {v6, v1, v0, v2}, Ly/k;->a(Ljava/lang/String;II)V
|
||||
|
||||
const/4 v0, 0x3
|
||||
|
||||
iput-byte v0, v6, Ly/k;->d:B
|
||||
|
||||
iget-object v0, v6, Ly/k;->e:Ly/q;
|
||||
|
||||
invoke-virtual {v0}, Ly/q;->q()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_14
|
||||
|
||||
goto :goto_8
|
||||
|
||||
:cond_14
|
||||
new-instance v0, Ljava/io/IOException;
|
||||
|
||||
const-string v1, "gzip finished without exhausting source"
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_15
|
||||
:goto_8
|
||||
return-wide v12
|
||||
|
||||
:cond_16
|
||||
const-string v0, "byteCount < 0: "
|
||||
|
||||
invoke-static {v0, v8, v9}, Le/e/b/a/a;->a(Ljava/lang/String;J)Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
new-instance v1, Ljava/lang/IllegalArgumentException;
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-direct {v1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw v1
|
||||
|
||||
:cond_17
|
||||
const-string v0, "sink"
|
||||
|
||||
invoke-static {v0}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method public close()V
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Ly/k;->g:Ly/l;
|
||||
|
||||
invoke-virtual {v0}, Ly/l;->close()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public timeout()Ly/x;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Ly/k;->e:Ly/q;
|
||||
|
||||
invoke-virtual {v0}, Ly/q;->timeout()Ly/x;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
411
com.discord/smali_classes2/y/l.smali
Normal file
411
com.discord/smali_classes2/y/l.smali
Normal file
|
@ -0,0 +1,411 @@
|
|||
.class public final Ly/l;
|
||||
.super Ljava/lang/Object;
|
||||
.source "InflaterSource.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Ly/w;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public d:I
|
||||
|
||||
.field public e:Z
|
||||
|
||||
.field public final f:Ly/g;
|
||||
|
||||
.field public final g:Ljava/util/zip/Inflater;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ly/g;Ljava/util/zip/Inflater;)V
|
||||
.locals 1
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
if-eqz p2, :cond_0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Ly/l;->f:Ly/g;
|
||||
|
||||
iput-object p2, p0, Ly/l;->g:Ljava/util/zip/Inflater;
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const-string p1, "inflater"
|
||||
|
||||
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_1
|
||||
const-string p1, "source"
|
||||
|
||||
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final a()V
|
||||
.locals 4
|
||||
|
||||
iget v0, p0, Ly/l;->d:I
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
iget-object v1, p0, Ly/l;->g:Ljava/util/zip/Inflater;
|
||||
|
||||
invoke-virtual {v1}, Ljava/util/zip/Inflater;->getRemaining()I
|
||||
|
||||
move-result v1
|
||||
|
||||
sub-int/2addr v0, v1
|
||||
|
||||
iget v1, p0, Ly/l;->d:I
|
||||
|
||||
sub-int/2addr v1, v0
|
||||
|
||||
iput v1, p0, Ly/l;->d:I
|
||||
|
||||
iget-object v1, p0, Ly/l;->f:Ly/g;
|
||||
|
||||
int-to-long v2, v0
|
||||
|
||||
invoke-interface {v1, v2, v3}, Ly/g;->skip(J)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public b(Ly/e;J)J
|
||||
.locals 8
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
if-eqz p1, :cond_e
|
||||
|
||||
const-wide/16 v1, 0x0
|
||||
|
||||
const/4 v3, 0x1
|
||||
|
||||
cmp-long v4, p2, v1
|
||||
|
||||
if-ltz v4, :cond_0
|
||||
|
||||
const/4 v5, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 v5, 0x0
|
||||
|
||||
:goto_0
|
||||
if-eqz v5, :cond_d
|
||||
|
||||
iget-boolean v5, p0, Ly/l;->e:Z
|
||||
|
||||
xor-int/2addr v5, v3
|
||||
|
||||
if-eqz v5, :cond_c
|
||||
|
||||
if-nez v4, :cond_1
|
||||
|
||||
return-wide v1
|
||||
|
||||
:cond_1
|
||||
:goto_1
|
||||
iget-object v1, p0, Ly/l;->g:Ljava/util/zip/Inflater;
|
||||
|
||||
invoke-virtual {v1}, Ljava/util/zip/Inflater;->needsInput()Z
|
||||
|
||||
move-result v1
|
||||
|
||||
if-nez v1, :cond_2
|
||||
|
||||
goto :goto_3
|
||||
|
||||
:cond_2
|
||||
invoke-virtual {p0}, Ly/l;->a()V
|
||||
|
||||
iget-object v1, p0, Ly/l;->g:Ljava/util/zip/Inflater;
|
||||
|
||||
invoke-virtual {v1}, Ljava/util/zip/Inflater;->getRemaining()I
|
||||
|
||||
move-result v1
|
||||
|
||||
if-nez v1, :cond_3
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:cond_3
|
||||
const/4 v1, 0x0
|
||||
|
||||
:goto_2
|
||||
if-eqz v1, :cond_b
|
||||
|
||||
iget-object v1, p0, Ly/l;->f:Ly/g;
|
||||
|
||||
invoke-interface {v1}, Ly/g;->q()Z
|
||||
|
||||
move-result v1
|
||||
|
||||
if-eqz v1, :cond_4
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
goto :goto_4
|
||||
|
||||
:cond_4
|
||||
iget-object v1, p0, Ly/l;->f:Ly/g;
|
||||
|
||||
invoke-interface {v1}, Ly/g;->n()Ly/e;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
iget-object v1, v1, Ly/e;->d:Ly/r;
|
||||
|
||||
if-eqz v1, :cond_a
|
||||
|
||||
iget v2, v1, Ly/r;->c:I
|
||||
|
||||
iget v4, v1, Ly/r;->b:I
|
||||
|
||||
sub-int/2addr v2, v4
|
||||
|
||||
iput v2, p0, Ly/l;->d:I
|
||||
|
||||
iget-object v2, p0, Ly/l;->g:Ljava/util/zip/Inflater;
|
||||
|
||||
iget-object v1, v1, Ly/r;->a:[B
|
||||
|
||||
iget v5, p0, Ly/l;->d:I
|
||||
|
||||
invoke-virtual {v2, v1, v4, v5}, Ljava/util/zip/Inflater;->setInput([BII)V
|
||||
|
||||
:goto_3
|
||||
const/4 v1, 0x0
|
||||
|
||||
:goto_4
|
||||
:try_start_0
|
||||
invoke-virtual {p1, v3}, Ly/e;->a(I)Ly/r;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
iget v4, v2, Ly/r;->c:I
|
||||
|
||||
rsub-int v4, v4, 0x2000
|
||||
|
||||
int-to-long v4, v4
|
||||
|
||||
invoke-static {p2, p3, v4, v5}, Ljava/lang/Math;->min(JJ)J
|
||||
|
||||
move-result-wide v4
|
||||
|
||||
long-to-int v5, v4
|
||||
|
||||
iget-object v4, p0, Ly/l;->g:Ljava/util/zip/Inflater;
|
||||
|
||||
iget-object v6, v2, Ly/r;->a:[B
|
||||
|
||||
iget v7, v2, Ly/r;->c:I
|
||||
|
||||
invoke-virtual {v4, v6, v7, v5}, Ljava/util/zip/Inflater;->inflate([BII)I
|
||||
|
||||
move-result v4
|
||||
|
||||
if-lez v4, :cond_5
|
||||
|
||||
iget p2, v2, Ly/r;->c:I
|
||||
|
||||
add-int/2addr p2, v4
|
||||
|
||||
iput p2, v2, Ly/r;->c:I
|
||||
|
||||
iget-wide p2, p1, Ly/e;->e:J
|
||||
|
||||
int-to-long v0, v4
|
||||
|
||||
add-long/2addr p2, v0
|
||||
|
||||
iput-wide p2, p1, Ly/e;->e:J
|
||||
|
||||
return-wide v0
|
||||
|
||||
:cond_5
|
||||
iget-object v4, p0, Ly/l;->g:Ljava/util/zip/Inflater;
|
||||
|
||||
invoke-virtual {v4}, Ljava/util/zip/Inflater;->finished()Z
|
||||
|
||||
move-result v4
|
||||
|
||||
if-nez v4, :cond_8
|
||||
|
||||
iget-object v4, p0, Ly/l;->g:Ljava/util/zip/Inflater;
|
||||
|
||||
invoke-virtual {v4}, Ljava/util/zip/Inflater;->needsDictionary()Z
|
||||
|
||||
move-result v4
|
||||
|
||||
if-eqz v4, :cond_6
|
||||
|
||||
goto :goto_5
|
||||
|
||||
:cond_6
|
||||
if-nez v1, :cond_7
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_7
|
||||
new-instance p1, Ljava/io/EOFException;
|
||||
|
||||
const-string p2, "source exhausted prematurely"
|
||||
|
||||
invoke-direct {p1, p2}, Ljava/io/EOFException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_8
|
||||
:goto_5
|
||||
invoke-virtual {p0}, Ly/l;->a()V
|
||||
|
||||
iget p2, v2, Ly/r;->b:I
|
||||
|
||||
iget p3, v2, Ly/r;->c:I
|
||||
|
||||
if-ne p2, p3, :cond_9
|
||||
|
||||
invoke-virtual {v2}, Ly/r;->a()Ly/r;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
iput-object p2, p1, Ly/e;->d:Ly/r;
|
||||
|
||||
invoke-static {v2}, Ly/s;->a(Ly/r;)V
|
||||
:try_end_0
|
||||
.catch Ljava/util/zip/DataFormatException; {:try_start_0 .. :try_end_0} :catch_0
|
||||
|
||||
:cond_9
|
||||
const-wide/16 p1, -0x1
|
||||
|
||||
return-wide p1
|
||||
|
||||
:catch_0
|
||||
move-exception p1
|
||||
|
||||
new-instance p2, Ljava/io/IOException;
|
||||
|
||||
invoke-direct {p2, p1}, Ljava/io/IOException;-><init>(Ljava/lang/Throwable;)V
|
||||
|
||||
throw p2
|
||||
|
||||
:cond_a
|
||||
invoke-static {}, Lt/u/b/j;->throwNpe()V
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_b
|
||||
new-instance p1, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string p2, "?"
|
||||
|
||||
invoke-virtual {p2}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_c
|
||||
new-instance p1, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string p2, "closed"
|
||||
|
||||
invoke-virtual {p2}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_d
|
||||
const-string p1, "byteCount < 0: "
|
||||
|
||||
invoke-static {p1, p2, p3}, Le/e/b/a/a;->a(Ljava/lang/String;J)Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
new-instance p2, Ljava/lang/IllegalArgumentException;
|
||||
|
||||
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-direct {p2, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p2
|
||||
|
||||
:cond_e
|
||||
const-string p1, "sink"
|
||||
|
||||
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method public close()V
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-boolean v0, p0, Ly/l;->e:Z
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
iget-object v0, p0, Ly/l;->g:Ljava/util/zip/Inflater;
|
||||
|
||||
invoke-virtual {v0}, Ljava/util/zip/Inflater;->end()V
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
iput-boolean v0, p0, Ly/l;->e:Z
|
||||
|
||||
iget-object v0, p0, Ly/l;->f:Ly/g;
|
||||
|
||||
invoke-interface {v0}, Ly/w;->close()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public timeout()Ly/x;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Ly/l;->f:Ly/g;
|
||||
|
||||
invoke-interface {v0}, Ly/w;->timeout()Ly/x;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
221
com.discord/smali_classes2/y/m.smali
Normal file
221
com.discord/smali_classes2/y/m.smali
Normal file
|
@ -0,0 +1,221 @@
|
|||
.class public final Ly/m;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Okio.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Ly/w;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final d:Ljava/io/InputStream;
|
||||
|
||||
.field public final e:Ly/x;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ljava/io/InputStream;Ly/x;)V
|
||||
.locals 1
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
if-eqz p2, :cond_0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Ly/m;->d:Ljava/io/InputStream;
|
||||
|
||||
iput-object p2, p0, Ly/m;->e:Ly/x;
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const-string p1, "timeout"
|
||||
|
||||
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_1
|
||||
const-string p1, "input"
|
||||
|
||||
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public b(Ly/e;J)J
|
||||
.locals 3
|
||||
|
||||
if-eqz p1, :cond_5
|
||||
|
||||
const-wide/16 v0, 0x0
|
||||
|
||||
cmp-long v2, p2, v0
|
||||
|
||||
if-nez v2, :cond_0
|
||||
|
||||
return-wide v0
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x1
|
||||
|
||||
if-ltz v2, :cond_1
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
const/4 v1, 0x0
|
||||
|
||||
:goto_0
|
||||
if-eqz v1, :cond_4
|
||||
|
||||
:try_start_0
|
||||
iget-object v1, p0, Ly/m;->e:Ly/x;
|
||||
|
||||
invoke-virtual {v1}, Ly/x;->e()V
|
||||
|
||||
invoke-virtual {p1, v0}, Ly/e;->a(I)Ly/r;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
iget v1, v0, Ly/r;->c:I
|
||||
|
||||
rsub-int v1, v1, 0x2000
|
||||
|
||||
int-to-long v1, v1
|
||||
|
||||
invoke-static {p2, p3, v1, v2}, Ljava/lang/Math;->min(JJ)J
|
||||
|
||||
move-result-wide p2
|
||||
|
||||
long-to-int p3, p2
|
||||
|
||||
iget-object p2, p0, Ly/m;->d:Ljava/io/InputStream;
|
||||
|
||||
iget-object v1, v0, Ly/r;->a:[B
|
||||
|
||||
iget v2, v0, Ly/r;->c:I
|
||||
|
||||
invoke-virtual {p2, v1, v2, p3}, Ljava/io/InputStream;->read([BII)I
|
||||
|
||||
move-result p2
|
||||
|
||||
const/4 p3, -0x1
|
||||
|
||||
if-ne p2, p3, :cond_2
|
||||
|
||||
const-wide/16 p1, -0x1
|
||||
|
||||
return-wide p1
|
||||
|
||||
:cond_2
|
||||
iget p3, v0, Ly/r;->c:I
|
||||
|
||||
add-int/2addr p3, p2
|
||||
|
||||
iput p3, v0, Ly/r;->c:I
|
||||
|
||||
iget-wide v0, p1, Ly/e;->e:J
|
||||
|
||||
int-to-long p2, p2
|
||||
|
||||
add-long/2addr v0, p2
|
||||
|
||||
iput-wide v0, p1, Ly/e;->e:J
|
||||
:try_end_0
|
||||
.catch Ljava/lang/AssertionError; {:try_start_0 .. :try_end_0} :catch_0
|
||||
|
||||
return-wide p2
|
||||
|
||||
:catch_0
|
||||
move-exception p1
|
||||
|
||||
invoke-static {p1}, Le/k/a/b/e/p/g;->a(Ljava/lang/AssertionError;)Z
|
||||
|
||||
move-result p2
|
||||
|
||||
if-eqz p2, :cond_3
|
||||
|
||||
new-instance p2, Ljava/io/IOException;
|
||||
|
||||
invoke-direct {p2, p1}, Ljava/io/IOException;-><init>(Ljava/lang/Throwable;)V
|
||||
|
||||
throw p2
|
||||
|
||||
:cond_3
|
||||
throw p1
|
||||
|
||||
:cond_4
|
||||
const-string p1, "byteCount < 0: "
|
||||
|
||||
invoke-static {p1, p2, p3}, Le/e/b/a/a;->a(Ljava/lang/String;J)Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
new-instance p2, Ljava/lang/IllegalArgumentException;
|
||||
|
||||
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-direct {p2, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p2
|
||||
|
||||
:cond_5
|
||||
const-string p1, "sink"
|
||||
|
||||
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public close()V
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Ly/m;->d:Ljava/io/InputStream;
|
||||
|
||||
invoke-virtual {v0}, Ljava/io/InputStream;->close()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public timeout()Ly/x;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Ly/m;->e:Ly/x;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public toString()Ljava/lang/String;
|
||||
.locals 2
|
||||
|
||||
const-string v0, "source("
|
||||
|
||||
invoke-static {v0}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
iget-object v1, p0, Ly/m;->d:Ljava/io/InputStream;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
const/16 v1, 0x29
|
||||
|
||||
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
|
1053
com.discord/smali_classes2/y/n$a.smali
Normal file
1053
com.discord/smali_classes2/y/n$a.smali
Normal file
File diff suppressed because it is too large
Load diff
199
com.discord/smali_classes2/y/n.smali
Normal file
199
com.discord/smali_classes2/y/n.smali
Normal file
|
@ -0,0 +1,199 @@
|
|||
.class public final Ly/n;
|
||||
.super Ljava/util/AbstractList;
|
||||
.source "Options.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Ljava/util/RandomAccess;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Ly/n$a;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Ljava/util/AbstractList<",
|
||||
"Lokio/ByteString;",
|
||||
">;",
|
||||
"Ljava/util/RandomAccess;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final f:Ly/n$a;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final d:[Lokio/ByteString;
|
||||
|
||||
.field public final e:[I
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Ly/n$a;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-direct {v0, v1}, Ly/n$a;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
|
||||
sput-object v0, Ly/n;->f:Ly/n$a;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public synthetic constructor <init>([Lokio/ByteString;[ILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/util/AbstractList;-><init>()V
|
||||
|
||||
iput-object p1, p0, Ly/n;->d:[Lokio/ByteString;
|
||||
|
||||
iput-object p2, p0, Ly/n;->e:[I
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final contains(Ljava/lang/Object;)Z
|
||||
.locals 1
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
instance-of v0, p1, Lokio/ByteString;
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x1
|
||||
|
||||
:goto_0
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
check-cast p1, Lokio/ByteString;
|
||||
|
||||
invoke-super {p0, p1}, Ljava/util/AbstractList;->contains(Ljava/lang/Object;)Z
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
|
||||
:cond_1
|
||||
const/4 p1, 0x0
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public get(I)Ljava/lang/Object;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Ly/n;->d:[Lokio/ByteString;
|
||||
|
||||
aget-object p1, v0, p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public final indexOf(Ljava/lang/Object;)I
|
||||
.locals 1
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
instance-of v0, p1, Lokio/ByteString;
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x1
|
||||
|
||||
:goto_0
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
check-cast p1, Lokio/ByteString;
|
||||
|
||||
invoke-super {p0, p1}, Ljava/util/AbstractList;->indexOf(Ljava/lang/Object;)I
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
|
||||
:cond_1
|
||||
const/4 p1, -0x1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public final lastIndexOf(Ljava/lang/Object;)I
|
||||
.locals 1
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
instance-of v0, p1, Lokio/ByteString;
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x1
|
||||
|
||||
:goto_0
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
check-cast p1, Lokio/ByteString;
|
||||
|
||||
invoke-super {p0, p1}, Ljava/util/AbstractList;->lastIndexOf(Ljava/lang/Object;)I
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
|
||||
:cond_1
|
||||
const/4 p1, -0x1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public final remove(Ljava/lang/Object;)Z
|
||||
.locals 1
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
instance-of v0, p1, Lokio/ByteString;
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x1
|
||||
|
||||
:goto_0
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
check-cast p1, Lokio/ByteString;
|
||||
|
||||
invoke-super {p0, p1}, Ljava/util/AbstractList;->remove(Ljava/lang/Object;)Z
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
|
||||
:cond_1
|
||||
const/4 p1, 0x0
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public final size()I
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Ly/n;->d:[Lokio/ByteString;
|
||||
|
||||
array-length v0, v0
|
||||
|
||||
return v0
|
||||
.end method
|
201
com.discord/smali_classes2/y/o.smali
Normal file
201
com.discord/smali_classes2/y/o.smali
Normal file
|
@ -0,0 +1,201 @@
|
|||
.class public final Ly/o;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Okio.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Ly/u;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final d:Ljava/io/OutputStream;
|
||||
|
||||
.field public final e:Ly/x;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ljava/io/OutputStream;Ly/x;)V
|
||||
.locals 1
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
if-eqz p2, :cond_0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Ly/o;->d:Ljava/io/OutputStream;
|
||||
|
||||
iput-object p2, p0, Ly/o;->e:Ly/x;
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const-string p1, "timeout"
|
||||
|
||||
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_1
|
||||
const-string p1, "out"
|
||||
|
||||
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public close()V
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Ly/o;->d:Ljava/io/OutputStream;
|
||||
|
||||
invoke-virtual {v0}, Ljava/io/OutputStream;->close()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public flush()V
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Ly/o;->d:Ljava/io/OutputStream;
|
||||
|
||||
invoke-virtual {v0}, Ljava/io/OutputStream;->flush()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public timeout()Ly/x;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Ly/o;->e:Ly/x;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public toString()Ljava/lang/String;
|
||||
.locals 2
|
||||
|
||||
const-string v0, "sink("
|
||||
|
||||
invoke-static {v0}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
iget-object v1, p0, Ly/o;->d:Ljava/io/OutputStream;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
const/16 v1, 0x29
|
||||
|
||||
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
|
||||
|
||||
.method public write(Ly/e;J)V
|
||||
.locals 7
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
if-eqz p1, :cond_3
|
||||
|
||||
iget-wide v1, p1, Ly/e;->e:J
|
||||
|
||||
const-wide/16 v3, 0x0
|
||||
|
||||
move-wide v5, p2
|
||||
|
||||
invoke-static/range {v1 .. v6}, Le/k/a/b/e/p/g;->a(JJJ)V
|
||||
|
||||
:cond_0
|
||||
:goto_0
|
||||
const-wide/16 v1, 0x0
|
||||
|
||||
cmp-long v3, p2, v1
|
||||
|
||||
if-lez v3, :cond_2
|
||||
|
||||
iget-object v1, p0, Ly/o;->e:Ly/x;
|
||||
|
||||
invoke-virtual {v1}, Ly/x;->e()V
|
||||
|
||||
iget-object v1, p1, Ly/e;->d:Ly/r;
|
||||
|
||||
if-eqz v1, :cond_1
|
||||
|
||||
iget v2, v1, Ly/r;->c:I
|
||||
|
||||
iget v3, v1, Ly/r;->b:I
|
||||
|
||||
sub-int/2addr v2, v3
|
||||
|
||||
int-to-long v2, v2
|
||||
|
||||
invoke-static {p2, p3, v2, v3}, Ljava/lang/Math;->min(JJ)J
|
||||
|
||||
move-result-wide v2
|
||||
|
||||
long-to-int v3, v2
|
||||
|
||||
iget-object v2, p0, Ly/o;->d:Ljava/io/OutputStream;
|
||||
|
||||
iget-object v4, v1, Ly/r;->a:[B
|
||||
|
||||
iget v5, v1, Ly/r;->b:I
|
||||
|
||||
invoke-virtual {v2, v4, v5, v3}, Ljava/io/OutputStream;->write([BII)V
|
||||
|
||||
iget v2, v1, Ly/r;->b:I
|
||||
|
||||
add-int/2addr v2, v3
|
||||
|
||||
iput v2, v1, Ly/r;->b:I
|
||||
|
||||
int-to-long v2, v3
|
||||
|
||||
sub-long/2addr p2, v2
|
||||
|
||||
iget-wide v4, p1, Ly/e;->e:J
|
||||
|
||||
sub-long/2addr v4, v2
|
||||
|
||||
iput-wide v4, p1, Ly/e;->e:J
|
||||
|
||||
iget v2, v1, Ly/r;->b:I
|
||||
|
||||
iget v3, v1, Ly/r;->c:I
|
||||
|
||||
if-ne v2, v3, :cond_0
|
||||
|
||||
invoke-virtual {v1}, Ly/r;->a()Ly/r;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
iput-object v2, p1, Ly/e;->d:Ly/r;
|
||||
|
||||
invoke-static {v1}, Ly/s;->a(Ly/r;)V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
invoke-static {}, Lt/u/b/j;->throwNpe()V
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_2
|
||||
return-void
|
||||
|
||||
:cond_3
|
||||
const-string p1, "source"
|
||||
|
||||
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
799
com.discord/smali_classes2/y/p.smali
Normal file
799
com.discord/smali_classes2/y/p.smali
Normal file
|
@ -0,0 +1,799 @@
|
|||
.class public final Ly/p;
|
||||
.super Ljava/lang/Object;
|
||||
.source "RealBufferedSink.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lokio/BufferedSink;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final d:Ly/e;
|
||||
|
||||
.field public e:Z
|
||||
|
||||
.field public final f:Ly/u;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ly/u;)V
|
||||
.locals 0
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Ly/p;->f:Ly/u;
|
||||
|
||||
new-instance p1, Ly/e;
|
||||
|
||||
invoke-direct {p1}, Ly/e;-><init>()V
|
||||
|
||||
iput-object p1, p0, Ly/p;->d:Ly/e;
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const-string p1, "sink"
|
||||
|
||||
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public a(Ly/w;)J
|
||||
.locals 7
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
const-wide/16 v0, 0x0
|
||||
|
||||
:goto_0
|
||||
iget-object v2, p0, Ly/p;->d:Ly/e;
|
||||
|
||||
const/16 v3, 0x2000
|
||||
|
||||
int-to-long v3, v3
|
||||
|
||||
invoke-interface {p1, v2, v3, v4}, Ly/w;->b(Ly/e;J)J
|
||||
|
||||
move-result-wide v2
|
||||
|
||||
const-wide/16 v4, -0x1
|
||||
|
||||
cmp-long v6, v2, v4
|
||||
|
||||
if-nez v6, :cond_0
|
||||
|
||||
return-wide v0
|
||||
|
||||
:cond_0
|
||||
add-long/2addr v0, v2
|
||||
|
||||
invoke-virtual {p0}, Ly/p;->a()Lokio/BufferedSink;
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
const-string p1, "source"
|
||||
|
||||
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public a()Lokio/BufferedSink;
|
||||
.locals 5
|
||||
|
||||
iget-boolean v0, p0, Ly/p;->e:Z
|
||||
|
||||
xor-int/lit8 v0, v0, 0x1
|
||||
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
iget-object v0, p0, Ly/p;->d:Ly/e;
|
||||
|
||||
invoke-virtual {v0}, Ly/e;->a()J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
const-wide/16 v2, 0x0
|
||||
|
||||
cmp-long v4, v0, v2
|
||||
|
||||
if-lez v4, :cond_0
|
||||
|
||||
iget-object v2, p0, Ly/p;->f:Ly/u;
|
||||
|
||||
iget-object v3, p0, Ly/p;->d:Ly/e;
|
||||
|
||||
invoke-interface {v2, v3, v0, v1}, Ly/u;->write(Ly/e;J)V
|
||||
|
||||
:cond_0
|
||||
return-object p0
|
||||
|
||||
:cond_1
|
||||
new-instance v0, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string v1, "closed"
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method public a(Ljava/lang/String;)Lokio/BufferedSink;
|
||||
.locals 1
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
iget-boolean v0, p0, Ly/p;->e:Z
|
||||
|
||||
xor-int/lit8 v0, v0, 0x1
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Ly/p;->d:Ly/e;
|
||||
|
||||
invoke-virtual {v0, p1}, Ly/e;->a(Ljava/lang/String;)Ly/e;
|
||||
|
||||
invoke-virtual {p0}, Ly/p;->a()Lokio/BufferedSink;
|
||||
|
||||
return-object p0
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string v0, "closed"
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_1
|
||||
const-string p1, "string"
|
||||
|
||||
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public a(Ljava/lang/String;II)Lokio/BufferedSink;
|
||||
.locals 1
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
iget-boolean v0, p0, Ly/p;->e:Z
|
||||
|
||||
xor-int/lit8 v0, v0, 0x1
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Ly/p;->d:Ly/e;
|
||||
|
||||
invoke-virtual {v0, p1, p2, p3}, Ly/e;->a(Ljava/lang/String;II)Ly/e;
|
||||
|
||||
invoke-virtual {p0}, Ly/p;->a()Lokio/BufferedSink;
|
||||
|
||||
return-object p0
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string p2, "closed"
|
||||
|
||||
invoke-virtual {p2}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_1
|
||||
const-string p1, "string"
|
||||
|
||||
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public a(Lokio/ByteString;)Lokio/BufferedSink;
|
||||
.locals 1
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
iget-boolean v0, p0, Ly/p;->e:Z
|
||||
|
||||
xor-int/lit8 v0, v0, 0x1
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Ly/p;->d:Ly/e;
|
||||
|
||||
invoke-virtual {v0, p1}, Ly/e;->a(Lokio/ByteString;)Ly/e;
|
||||
|
||||
invoke-virtual {p0}, Ly/p;->a()Lokio/BufferedSink;
|
||||
|
||||
return-object p0
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string v0, "closed"
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_1
|
||||
const-string p1, "byteString"
|
||||
|
||||
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public b(J)Lokio/BufferedSink;
|
||||
.locals 1
|
||||
|
||||
iget-boolean v0, p0, Ly/p;->e:Z
|
||||
|
||||
xor-int/lit8 v0, v0, 0x1
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Ly/p;->d:Ly/e;
|
||||
|
||||
invoke-virtual {v0, p1, p2}, Ly/e;->b(J)Ly/e;
|
||||
|
||||
invoke-virtual {p0}, Ly/p;->a()Lokio/BufferedSink;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string p2, "closed"
|
||||
|
||||
invoke-virtual {p2}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public c(J)Lokio/BufferedSink;
|
||||
.locals 1
|
||||
|
||||
iget-boolean v0, p0, Ly/p;->e:Z
|
||||
|
||||
xor-int/lit8 v0, v0, 0x1
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Ly/p;->d:Ly/e;
|
||||
|
||||
invoke-virtual {v0, p1, p2}, Ly/e;->c(J)Ly/e;
|
||||
|
||||
invoke-virtual {p0}, Ly/p;->a()Lokio/BufferedSink;
|
||||
|
||||
return-object p0
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string p2, "closed"
|
||||
|
||||
invoke-virtual {p2}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public close()V
|
||||
.locals 6
|
||||
|
||||
iget-boolean v0, p0, Ly/p;->e:Z
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x0
|
||||
|
||||
:try_start_0
|
||||
iget-object v1, p0, Ly/p;->d:Ly/e;
|
||||
|
||||
iget-wide v1, v1, Ly/e;->e:J
|
||||
|
||||
const-wide/16 v3, 0x0
|
||||
|
||||
cmp-long v5, v1, v3
|
||||
|
||||
if-lez v5, :cond_1
|
||||
|
||||
iget-object v1, p0, Ly/p;->f:Ly/u;
|
||||
|
||||
iget-object v2, p0, Ly/p;->d:Ly/e;
|
||||
|
||||
iget-object v3, p0, Ly/p;->d:Ly/e;
|
||||
|
||||
iget-wide v3, v3, Ly/e;->e:J
|
||||
|
||||
invoke-interface {v1, v2, v3, v4}, Ly/u;->write(Ly/e;J)V
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catchall_0
|
||||
move-exception v0
|
||||
|
||||
:cond_1
|
||||
:goto_0
|
||||
:try_start_1
|
||||
iget-object v1, p0, Ly/p;->f:Ly/u;
|
||||
|
||||
invoke-interface {v1}, Ly/u;->close()V
|
||||
:try_end_1
|
||||
.catchall {:try_start_1 .. :try_end_1} :catchall_1
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:catchall_1
|
||||
move-exception v1
|
||||
|
||||
if-nez v0, :cond_2
|
||||
|
||||
move-object v0, v1
|
||||
|
||||
:cond_2
|
||||
:goto_1
|
||||
const/4 v1, 0x1
|
||||
|
||||
iput-boolean v1, p0, Ly/p;->e:Z
|
||||
|
||||
if-nez v0, :cond_3
|
||||
|
||||
return-void
|
||||
|
||||
:cond_3
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method public flush()V
|
||||
.locals 6
|
||||
|
||||
iget-boolean v0, p0, Ly/p;->e:Z
|
||||
|
||||
xor-int/lit8 v0, v0, 0x1
|
||||
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
iget-object v0, p0, Ly/p;->d:Ly/e;
|
||||
|
||||
iget-wide v1, v0, Ly/e;->e:J
|
||||
|
||||
const-wide/16 v3, 0x0
|
||||
|
||||
cmp-long v5, v1, v3
|
||||
|
||||
if-lez v5, :cond_0
|
||||
|
||||
iget-object v3, p0, Ly/p;->f:Ly/u;
|
||||
|
||||
invoke-interface {v3, v0, v1, v2}, Ly/u;->write(Ly/e;J)V
|
||||
|
||||
:cond_0
|
||||
iget-object v0, p0, Ly/p;->f:Ly/u;
|
||||
|
||||
invoke-interface {v0}, Ly/u;->flush()V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_1
|
||||
new-instance v0, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string v1, "closed"
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method public isOpen()Z
|
||||
.locals 1
|
||||
|
||||
iget-boolean v0, p0, Ly/p;->e:Z
|
||||
|
||||
xor-int/lit8 v0, v0, 0x1
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public n()Ly/e;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Ly/p;->d:Ly/e;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public o()Lokio/BufferedSink;
|
||||
.locals 6
|
||||
|
||||
iget-boolean v0, p0, Ly/p;->e:Z
|
||||
|
||||
xor-int/lit8 v0, v0, 0x1
|
||||
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
iget-object v0, p0, Ly/p;->d:Ly/e;
|
||||
|
||||
iget-wide v1, v0, Ly/e;->e:J
|
||||
|
||||
const-wide/16 v3, 0x0
|
||||
|
||||
cmp-long v5, v1, v3
|
||||
|
||||
if-lez v5, :cond_0
|
||||
|
||||
iget-object v3, p0, Ly/p;->f:Ly/u;
|
||||
|
||||
invoke-interface {v3, v0, v1, v2}, Ly/u;->write(Ly/e;J)V
|
||||
|
||||
:cond_0
|
||||
return-object p0
|
||||
|
||||
:cond_1
|
||||
new-instance v0, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string v1, "closed"
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method public timeout()Ly/x;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Ly/p;->f:Ly/u;
|
||||
|
||||
invoke-interface {v0}, Ly/u;->timeout()Ly/x;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public toString()Ljava/lang/String;
|
||||
.locals 2
|
||||
|
||||
const-string v0, "buffer("
|
||||
|
||||
invoke-static {v0}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
iget-object v1, p0, Ly/p;->f:Ly/u;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
const/16 v1, 0x29
|
||||
|
||||
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
|
||||
|
||||
.method public write(Ljava/nio/ByteBuffer;)I
|
||||
.locals 1
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
iget-boolean v0, p0, Ly/p;->e:Z
|
||||
|
||||
xor-int/lit8 v0, v0, 0x1
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Ly/p;->d:Ly/e;
|
||||
|
||||
invoke-virtual {v0, p1}, Ly/e;->write(Ljava/nio/ByteBuffer;)I
|
||||
|
||||
move-result p1
|
||||
|
||||
invoke-virtual {p0}, Ly/p;->a()Lokio/BufferedSink;
|
||||
|
||||
return p1
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string v0, "closed"
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_1
|
||||
const-string p1, "source"
|
||||
|
||||
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public write([B)Lokio/BufferedSink;
|
||||
.locals 1
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
iget-boolean v0, p0, Ly/p;->e:Z
|
||||
|
||||
xor-int/lit8 v0, v0, 0x1
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Ly/p;->d:Ly/e;
|
||||
|
||||
invoke-virtual {v0, p1}, Ly/e;->write([B)Ly/e;
|
||||
|
||||
invoke-virtual {p0}, Ly/p;->a()Lokio/BufferedSink;
|
||||
|
||||
return-object p0
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string v0, "closed"
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_1
|
||||
const-string p1, "source"
|
||||
|
||||
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public write([BII)Lokio/BufferedSink;
|
||||
.locals 1
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
iget-boolean v0, p0, Ly/p;->e:Z
|
||||
|
||||
xor-int/lit8 v0, v0, 0x1
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Ly/p;->d:Ly/e;
|
||||
|
||||
invoke-virtual {v0, p1, p2, p3}, Ly/e;->write([BII)Ly/e;
|
||||
|
||||
invoke-virtual {p0}, Ly/p;->a()Lokio/BufferedSink;
|
||||
|
||||
return-object p0
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string p2, "closed"
|
||||
|
||||
invoke-virtual {p2}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_1
|
||||
const-string p1, "source"
|
||||
|
||||
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public write(Ly/e;J)V
|
||||
.locals 1
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
iget-boolean v0, p0, Ly/p;->e:Z
|
||||
|
||||
xor-int/lit8 v0, v0, 0x1
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Ly/p;->d:Ly/e;
|
||||
|
||||
invoke-virtual {v0, p1, p2, p3}, Ly/e;->write(Ly/e;J)V
|
||||
|
||||
invoke-virtual {p0}, Ly/p;->a()Lokio/BufferedSink;
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string p2, "closed"
|
||||
|
||||
invoke-virtual {p2}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_1
|
||||
const-string p1, "source"
|
||||
|
||||
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public writeByte(I)Lokio/BufferedSink;
|
||||
.locals 1
|
||||
|
||||
iget-boolean v0, p0, Ly/p;->e:Z
|
||||
|
||||
xor-int/lit8 v0, v0, 0x1
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Ly/p;->d:Ly/e;
|
||||
|
||||
invoke-virtual {v0, p1}, Ly/e;->writeByte(I)Ly/e;
|
||||
|
||||
invoke-virtual {p0}, Ly/p;->a()Lokio/BufferedSink;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string v0, "closed"
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public writeInt(I)Lokio/BufferedSink;
|
||||
.locals 1
|
||||
|
||||
iget-boolean v0, p0, Ly/p;->e:Z
|
||||
|
||||
xor-int/lit8 v0, v0, 0x1
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Ly/p;->d:Ly/e;
|
||||
|
||||
invoke-virtual {v0, p1}, Ly/e;->writeInt(I)Ly/e;
|
||||
|
||||
invoke-virtual {p0}, Ly/p;->a()Lokio/BufferedSink;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string v0, "closed"
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public writeShort(I)Lokio/BufferedSink;
|
||||
.locals 1
|
||||
|
||||
iget-boolean v0, p0, Ly/p;->e:Z
|
||||
|
||||
xor-int/lit8 v0, v0, 0x1
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Ly/p;->d:Ly/e;
|
||||
|
||||
invoke-virtual {v0, p1}, Ly/e;->writeShort(I)Ly/e;
|
||||
|
||||
invoke-virtual {p0}, Ly/p;->a()Lokio/BufferedSink;
|
||||
|
||||
return-object p0
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string v0, "closed"
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
.end method
|
249
com.discord/smali_classes2/y/q$a.smali
Normal file
249
com.discord/smali_classes2/y/q$a.smali
Normal file
|
@ -0,0 +1,249 @@
|
|||
.class public final Ly/q$a;
|
||||
.super Ljava/io/InputStream;
|
||||
.source "RealBufferedSource.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Ly/q;->s()Ljava/io/InputStream;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic d:Ly/q;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ly/q;)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"()V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iput-object p1, p0, Ly/q$a;->d:Ly/q;
|
||||
|
||||
invoke-direct {p0}, Ljava/io/InputStream;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public available()I
|
||||
.locals 4
|
||||
|
||||
iget-object v0, p0, Ly/q$a;->d:Ly/q;
|
||||
|
||||
iget-boolean v1, v0, Ly/q;->e:Z
|
||||
|
||||
if-nez v1, :cond_0
|
||||
|
||||
iget-object v0, v0, Ly/q;->d:Ly/e;
|
||||
|
||||
iget-wide v0, v0, Ly/e;->e:J
|
||||
|
||||
const v2, 0x7fffffff
|
||||
|
||||
int-to-long v2, v2
|
||||
|
||||
invoke-static {v0, v1, v2, v3}, Ljava/lang/Math;->min(JJ)J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
long-to-int v1, v0
|
||||
|
||||
return v1
|
||||
|
||||
:cond_0
|
||||
new-instance v0, Ljava/io/IOException;
|
||||
|
||||
const-string v1, "closed"
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method public close()V
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Ly/q$a;->d:Ly/q;
|
||||
|
||||
invoke-virtual {v0}, Ly/q;->close()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public read()I
|
||||
.locals 7
|
||||
|
||||
iget-object v0, p0, Ly/q$a;->d:Ly/q;
|
||||
|
||||
iget-boolean v1, v0, Ly/q;->e:Z
|
||||
|
||||
if-nez v1, :cond_1
|
||||
|
||||
iget-object v1, v0, Ly/q;->d:Ly/e;
|
||||
|
||||
iget-wide v2, v1, Ly/e;->e:J
|
||||
|
||||
const-wide/16 v4, 0x0
|
||||
|
||||
cmp-long v6, v2, v4
|
||||
|
||||
if-nez v6, :cond_0
|
||||
|
||||
iget-object v0, v0, Ly/q;->f:Ly/w;
|
||||
|
||||
const/16 v2, 0x2000
|
||||
|
||||
int-to-long v2, v2
|
||||
|
||||
invoke-interface {v0, v1, v2, v3}, Ly/w;->b(Ly/e;J)J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
const-wide/16 v2, -0x1
|
||||
|
||||
cmp-long v4, v0, v2
|
||||
|
||||
if-nez v4, :cond_0
|
||||
|
||||
const/4 v0, -0x1
|
||||
|
||||
return v0
|
||||
|
||||
:cond_0
|
||||
iget-object v0, p0, Ly/q$a;->d:Ly/q;
|
||||
|
||||
iget-object v0, v0, Ly/q;->d:Ly/e;
|
||||
|
||||
invoke-virtual {v0}, Ly/e;->readByte()B
|
||||
|
||||
move-result v0
|
||||
|
||||
and-int/lit16 v0, v0, 0xff
|
||||
|
||||
return v0
|
||||
|
||||
:cond_1
|
||||
new-instance v0, Ljava/io/IOException;
|
||||
|
||||
const-string v1, "closed"
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method public read([BII)I
|
||||
.locals 7
|
||||
|
||||
if-eqz p1, :cond_2
|
||||
|
||||
iget-object v0, p0, Ly/q$a;->d:Ly/q;
|
||||
|
||||
iget-boolean v0, v0, Ly/q;->e:Z
|
||||
|
||||
if-nez v0, :cond_1
|
||||
|
||||
array-length v0, p1
|
||||
|
||||
int-to-long v1, v0
|
||||
|
||||
int-to-long v3, p2
|
||||
|
||||
int-to-long v5, p3
|
||||
|
||||
invoke-static/range {v1 .. v6}, Le/k/a/b/e/p/g;->a(JJJ)V
|
||||
|
||||
iget-object v0, p0, Ly/q$a;->d:Ly/q;
|
||||
|
||||
iget-object v1, v0, Ly/q;->d:Ly/e;
|
||||
|
||||
iget-wide v2, v1, Ly/e;->e:J
|
||||
|
||||
const-wide/16 v4, 0x0
|
||||
|
||||
cmp-long v6, v2, v4
|
||||
|
||||
if-nez v6, :cond_0
|
||||
|
||||
iget-object v0, v0, Ly/q;->f:Ly/w;
|
||||
|
||||
const/16 v2, 0x2000
|
||||
|
||||
int-to-long v2, v2
|
||||
|
||||
invoke-interface {v0, v1, v2, v3}, Ly/w;->b(Ly/e;J)J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
const-wide/16 v2, -0x1
|
||||
|
||||
cmp-long v4, v0, v2
|
||||
|
||||
if-nez v4, :cond_0
|
||||
|
||||
const/4 p1, -0x1
|
||||
|
||||
return p1
|
||||
|
||||
:cond_0
|
||||
iget-object v0, p0, Ly/q$a;->d:Ly/q;
|
||||
|
||||
iget-object v0, v0, Ly/q;->d:Ly/e;
|
||||
|
||||
invoke-virtual {v0, p1, p2, p3}, Ly/e;->a([BII)I
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
|
||||
:cond_1
|
||||
new-instance p1, Ljava/io/IOException;
|
||||
|
||||
const-string p2, "closed"
|
||||
|
||||
invoke-direct {p1, p2}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_2
|
||||
const-string p1, "data"
|
||||
|
||||
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public toString()Ljava/lang/String;
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
||||
|
||||
iget-object v1, p0, Ly/q$a;->d:Ly/q;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v1, ".inputStream()"
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
1691
com.discord/smali_classes2/y/q.smali
Normal file
1691
com.discord/smali_classes2/y/q.smali
Normal file
File diff suppressed because it is too large
Load diff
386
com.discord/smali_classes2/y/r.smali
Normal file
386
com.discord/smali_classes2/y/r.smali
Normal file
|
@ -0,0 +1,386 @@
|
|||
.class public final Ly/r;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Segment.kt"
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final a:[B
|
||||
|
||||
.field public b:I
|
||||
|
||||
.field public c:I
|
||||
|
||||
.field public d:Z
|
||||
|
||||
.field public e:Z
|
||||
|
||||
.field public f:Ly/r;
|
||||
|
||||
.field public g:Ly/r;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 1
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
const/16 v0, 0x2000
|
||||
|
||||
new-array v0, v0, [B
|
||||
|
||||
iput-object v0, p0, Ly/r;->a:[B
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
iput-boolean v0, p0, Ly/r;->e:Z
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
iput-boolean v0, p0, Ly/r;->d:Z
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>([BIIZZ)V
|
||||
.locals 0
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Ly/r;->a:[B
|
||||
|
||||
iput p2, p0, Ly/r;->b:I
|
||||
|
||||
iput p3, p0, Ly/r;->c:I
|
||||
|
||||
iput-boolean p4, p0, Ly/r;->d:Z
|
||||
|
||||
iput-boolean p5, p0, Ly/r;->e:Z
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const-string p1, "data"
|
||||
|
||||
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final a()Ly/r;
|
||||
.locals 4
|
||||
|
||||
iget-object v0, p0, Ly/r;->f:Ly/r;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
if-eq v0, p0, :cond_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
move-object v0, v1
|
||||
|
||||
:goto_0
|
||||
iget-object v2, p0, Ly/r;->g:Ly/r;
|
||||
|
||||
if-eqz v2, :cond_2
|
||||
|
||||
iget-object v3, p0, Ly/r;->f:Ly/r;
|
||||
|
||||
iput-object v3, v2, Ly/r;->f:Ly/r;
|
||||
|
||||
iget-object v3, p0, Ly/r;->f:Ly/r;
|
||||
|
||||
if-eqz v3, :cond_1
|
||||
|
||||
iput-object v2, v3, Ly/r;->g:Ly/r;
|
||||
|
||||
iput-object v1, p0, Ly/r;->f:Ly/r;
|
||||
|
||||
iput-object v1, p0, Ly/r;->g:Ly/r;
|
||||
|
||||
return-object v0
|
||||
|
||||
:cond_1
|
||||
invoke-static {}, Lt/u/b/j;->throwNpe()V
|
||||
|
||||
throw v1
|
||||
|
||||
:cond_2
|
||||
invoke-static {}, Lt/u/b/j;->throwNpe()V
|
||||
|
||||
throw v1
|
||||
.end method
|
||||
|
||||
.method public final a(I)Ly/r;
|
||||
.locals 5
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
if-lez p1, :cond_0
|
||||
|
||||
iget v1, p0, Ly/r;->c:I
|
||||
|
||||
iget v2, p0, Ly/r;->b:I
|
||||
|
||||
sub-int/2addr v1, v2
|
||||
|
||||
if-gt p1, v1, :cond_0
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 v1, 0x0
|
||||
|
||||
:goto_0
|
||||
if-eqz v1, :cond_3
|
||||
|
||||
const/16 v1, 0x400
|
||||
|
||||
if-lt p1, v1, :cond_1
|
||||
|
||||
invoke-virtual {p0}, Ly/r;->b()Ly/r;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
invoke-static {}, Ly/s;->a()Ly/r;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
iget-object v2, p0, Ly/r;->a:[B
|
||||
|
||||
iget v3, p0, Ly/r;->b:I
|
||||
|
||||
iget-object v4, v1, Ly/r;->a:[B
|
||||
|
||||
invoke-static {v2, v3, v4, v0, p1}, Le/k/a/b/e/p/g;->b([BI[BII)V
|
||||
|
||||
move-object v0, v1
|
||||
|
||||
:goto_1
|
||||
iget v1, v0, Ly/r;->b:I
|
||||
|
||||
add-int/2addr v1, p1
|
||||
|
||||
iput v1, v0, Ly/r;->c:I
|
||||
|
||||
iget v1, p0, Ly/r;->b:I
|
||||
|
||||
add-int/2addr v1, p1
|
||||
|
||||
iput v1, p0, Ly/r;->b:I
|
||||
|
||||
iget-object p1, p0, Ly/r;->g:Ly/r;
|
||||
|
||||
if-eqz p1, :cond_2
|
||||
|
||||
invoke-virtual {p1, v0}, Ly/r;->a(Ly/r;)Ly/r;
|
||||
|
||||
return-object v0
|
||||
|
||||
:cond_2
|
||||
invoke-static {}, Lt/u/b/j;->throwNpe()V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_3
|
||||
new-instance p1, Ljava/lang/IllegalArgumentException;
|
||||
|
||||
const-string v0, "byteCount out of range"
|
||||
|
||||
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 final a(Ly/r;)Ly/r;
|
||||
.locals 2
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
iput-object p0, p1, Ly/r;->g:Ly/r;
|
||||
|
||||
iget-object v1, p0, Ly/r;->f:Ly/r;
|
||||
|
||||
iput-object v1, p1, Ly/r;->f:Ly/r;
|
||||
|
||||
iget-object v1, p0, Ly/r;->f:Ly/r;
|
||||
|
||||
if-eqz v1, :cond_0
|
||||
|
||||
iput-object p1, v1, Ly/r;->g:Ly/r;
|
||||
|
||||
iput-object p1, p0, Ly/r;->f:Ly/r;
|
||||
|
||||
return-object p1
|
||||
|
||||
:cond_0
|
||||
invoke-static {}, Lt/u/b/j;->throwNpe()V
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_1
|
||||
const-string p1, "segment"
|
||||
|
||||
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method public final a(Ly/r;I)V
|
||||
.locals 4
|
||||
|
||||
if-eqz p1, :cond_4
|
||||
|
||||
iget-boolean v0, p1, Ly/r;->e:Z
|
||||
|
||||
if-eqz v0, :cond_3
|
||||
|
||||
iget v0, p1, Ly/r;->c:I
|
||||
|
||||
add-int v1, v0, p2
|
||||
|
||||
const/16 v2, 0x2000
|
||||
|
||||
if-le v1, v2, :cond_2
|
||||
|
||||
iget-boolean v1, p1, Ly/r;->d:Z
|
||||
|
||||
if-nez v1, :cond_1
|
||||
|
||||
add-int v1, v0, p2
|
||||
|
||||
iget v3, p1, Ly/r;->b:I
|
||||
|
||||
sub-int/2addr v1, v3
|
||||
|
||||
if-gt v1, v2, :cond_0
|
||||
|
||||
iget-object v1, p1, Ly/r;->a:[B
|
||||
|
||||
sub-int/2addr v0, v3
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
invoke-static {v1, v3, v1, v2, v0}, Le/k/a/b/e/p/g;->b([BI[BII)V
|
||||
|
||||
iget v0, p1, Ly/r;->c:I
|
||||
|
||||
iget v1, p1, Ly/r;->b:I
|
||||
|
||||
sub-int/2addr v0, v1
|
||||
|
||||
iput v0, p1, Ly/r;->c:I
|
||||
|
||||
iput v2, p1, Ly/r;->b:I
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Ljava/lang/IllegalArgumentException;
|
||||
|
||||
invoke-direct {p1}, Ljava/lang/IllegalArgumentException;-><init>()V
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_1
|
||||
new-instance p1, Ljava/lang/IllegalArgumentException;
|
||||
|
||||
invoke-direct {p1}, Ljava/lang/IllegalArgumentException;-><init>()V
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_2
|
||||
:goto_0
|
||||
iget-object v0, p0, Ly/r;->a:[B
|
||||
|
||||
iget v1, p0, Ly/r;->b:I
|
||||
|
||||
iget-object v2, p1, Ly/r;->a:[B
|
||||
|
||||
iget v3, p1, Ly/r;->c:I
|
||||
|
||||
invoke-static {v0, v1, v2, v3, p2}, Le/k/a/b/e/p/g;->b([BI[BII)V
|
||||
|
||||
iget v0, p1, Ly/r;->c:I
|
||||
|
||||
add-int/2addr v0, p2
|
||||
|
||||
iput v0, p1, Ly/r;->c:I
|
||||
|
||||
iget p1, p0, Ly/r;->b:I
|
||||
|
||||
add-int/2addr p1, p2
|
||||
|
||||
iput p1, p0, Ly/r;->b:I
|
||||
|
||||
return-void
|
||||
|
||||
:cond_3
|
||||
new-instance p1, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string p2, "only owner can write"
|
||||
|
||||
invoke-virtual {p2}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_4
|
||||
const-string p1, "sink"
|
||||
|
||||
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public final b()Ly/r;
|
||||
.locals 7
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
iput-boolean v0, p0, Ly/r;->d:Z
|
||||
|
||||
new-instance v0, Ly/r;
|
||||
|
||||
iget-object v2, p0, Ly/r;->a:[B
|
||||
|
||||
iget v3, p0, Ly/r;->b:I
|
||||
|
||||
iget v4, p0, Ly/r;->c:I
|
||||
|
||||
const/4 v5, 0x1
|
||||
|
||||
const/4 v6, 0x0
|
||||
|
||||
move-object v1, v0
|
||||
|
||||
invoke-direct/range {v1 .. v6}, Ly/r;-><init>([BIIZZ)V
|
||||
|
||||
return-object v0
|
||||
.end method
|
199
com.discord/smali_classes2/y/s.smali
Normal file
199
com.discord/smali_classes2/y/s.smali
Normal file
|
@ -0,0 +1,199 @@
|
|||
.class public final Ly/s;
|
||||
.super Ljava/lang/Object;
|
||||
.source "SegmentPool.kt"
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static a:Ly/r;
|
||||
|
||||
.field public static b:J
|
||||
|
||||
.field public static final c:Ly/s;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Ly/s;
|
||||
|
||||
invoke-direct {v0}, Ly/s;-><init>()V
|
||||
|
||||
sput-object v0, Ly/s;->c:Ly/s;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static final a()Ly/r;
|
||||
.locals 6
|
||||
|
||||
sget-object v0, Ly/s;->c:Ly/s;
|
||||
|
||||
monitor-enter v0
|
||||
|
||||
:try_start_0
|
||||
sget-object v1, Ly/s;->a:Ly/r;
|
||||
|
||||
if-eqz v1, :cond_0
|
||||
|
||||
iget-object v2, v1, Ly/r;->f:Ly/r;
|
||||
|
||||
sput-object v2, Ly/s;->a:Ly/r;
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
iput-object v2, v1, Ly/r;->f:Ly/r;
|
||||
|
||||
sget-wide v2, Ly/s;->b:J
|
||||
|
||||
const/16 v4, 0x2000
|
||||
|
||||
int-to-long v4, v4
|
||||
|
||||
sub-long/2addr v2, v4
|
||||
|
||||
sput-wide v2, Ly/s;->b:J
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
monitor-exit v0
|
||||
|
||||
return-object v1
|
||||
|
||||
:cond_0
|
||||
monitor-exit v0
|
||||
|
||||
new-instance v0, Ly/r;
|
||||
|
||||
invoke-direct {v0}, Ly/r;-><init>()V
|
||||
|
||||
return-object v0
|
||||
|
||||
:catchall_0
|
||||
move-exception v1
|
||||
|
||||
monitor-exit v0
|
||||
|
||||
throw v1
|
||||
.end method
|
||||
|
||||
.method public static final a(Ly/r;)V
|
||||
.locals 9
|
||||
|
||||
if-eqz p0, :cond_4
|
||||
|
||||
iget-object v0, p0, Ly/r;->f:Ly/r;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Ly/r;->g:Ly/r;
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x0
|
||||
|
||||
:goto_0
|
||||
if-eqz v0, :cond_3
|
||||
|
||||
iget-boolean v0, p0, Ly/r;->d:Z
|
||||
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
return-void
|
||||
|
||||
:cond_1
|
||||
sget-object v0, Ly/s;->c:Ly/s;
|
||||
|
||||
monitor-enter v0
|
||||
|
||||
:try_start_0
|
||||
sget-wide v2, Ly/s;->b:J
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
const/16 v4, 0x2000
|
||||
|
||||
int-to-long v4, v4
|
||||
|
||||
add-long/2addr v2, v4
|
||||
|
||||
const-wide/32 v6, 0x10000
|
||||
|
||||
cmp-long v8, v2, v6
|
||||
|
||||
if-lez v8, :cond_2
|
||||
|
||||
monitor-exit v0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_2
|
||||
:try_start_1
|
||||
sget-wide v2, Ly/s;->b:J
|
||||
|
||||
add-long/2addr v2, v4
|
||||
|
||||
sput-wide v2, Ly/s;->b:J
|
||||
|
||||
sget-object v2, Ly/s;->a:Ly/r;
|
||||
|
||||
iput-object v2, p0, Ly/r;->f:Ly/r;
|
||||
|
||||
iput v1, p0, Ly/r;->c:I
|
||||
|
||||
iget v1, p0, Ly/r;->c:I
|
||||
|
||||
iput v1, p0, Ly/r;->b:I
|
||||
|
||||
sput-object p0, Ly/s;->a:Ly/r;
|
||||
:try_end_1
|
||||
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
||||
|
||||
monitor-exit v0
|
||||
|
||||
return-void
|
||||
|
||||
:catchall_0
|
||||
move-exception p0
|
||||
|
||||
monitor-exit v0
|
||||
|
||||
throw p0
|
||||
|
||||
:cond_3
|
||||
new-instance p0, Ljava/lang/IllegalArgumentException;
|
||||
|
||||
const-string v0, "Failed requirement."
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-direct {p0, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p0
|
||||
|
||||
:cond_4
|
||||
const-string p0, "segment"
|
||||
|
||||
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 p0, 0x0
|
||||
|
||||
throw p0
|
||||
.end method
|
160
com.discord/smali_classes2/y/t$a.smali
Normal file
160
com.discord/smali_classes2/y/t$a.smali
Normal file
|
@ -0,0 +1,160 @@
|
|||
.class public final Ly/t$a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "SegmentedByteString.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Ly/t;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "a"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public synthetic constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final a(Ly/e;I)Lokio/ByteString;
|
||||
.locals 7
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
if-eqz p1, :cond_5
|
||||
|
||||
iget-wide v1, p1, Ly/e;->e:J
|
||||
|
||||
const-wide/16 v3, 0x0
|
||||
|
||||
int-to-long v5, p2
|
||||
|
||||
invoke-static/range {v1 .. v6}, Le/k/a/b/e/p/g;->a(JJJ)V
|
||||
|
||||
iget-object v1, p1, Ly/e;->d:Ly/r;
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
move-object v4, v1
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
:goto_0
|
||||
if-ge v1, p2, :cond_2
|
||||
|
||||
if-eqz v4, :cond_1
|
||||
|
||||
iget v5, v4, Ly/r;->c:I
|
||||
|
||||
iget v6, v4, Ly/r;->b:I
|
||||
|
||||
if-eq v5, v6, :cond_0
|
||||
|
||||
sub-int/2addr v5, v6
|
||||
|
||||
add-int/2addr v1, v5
|
||||
|
||||
add-int/lit8 v3, v3, 0x1
|
||||
|
||||
iget-object v4, v4, Ly/r;->f:Ly/r;
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Ljava/lang/AssertionError;
|
||||
|
||||
const-string p2, "s.limit == s.pos"
|
||||
|
||||
invoke-direct {p1, p2}, Ljava/lang/AssertionError;-><init>(Ljava/lang/Object;)V
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_1
|
||||
invoke-static {}, Lt/u/b/j;->throwNpe()V
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_2
|
||||
new-array v1, v3, [[B
|
||||
|
||||
mul-int/lit8 v3, v3, 0x2
|
||||
|
||||
new-array v3, v3, [I
|
||||
|
||||
iget-object p1, p1, Ly/e;->d:Ly/r;
|
||||
|
||||
move-object v4, p1
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
:goto_1
|
||||
if-ge v2, p2, :cond_4
|
||||
|
||||
if-eqz v4, :cond_3
|
||||
|
||||
iget-object v5, v4, Ly/r;->a:[B
|
||||
|
||||
aput-object v5, v1, p1
|
||||
|
||||
iget v5, v4, Ly/r;->c:I
|
||||
|
||||
iget v6, v4, Ly/r;->b:I
|
||||
|
||||
sub-int/2addr v5, v6
|
||||
|
||||
add-int/2addr v2, v5
|
||||
|
||||
invoke-static {v2, p2}, Ljava/lang/Math;->min(II)I
|
||||
|
||||
move-result v5
|
||||
|
||||
aput v5, v3, p1
|
||||
|
||||
array-length v5, v1
|
||||
|
||||
add-int/2addr v5, p1
|
||||
|
||||
iget v6, v4, Ly/r;->b:I
|
||||
|
||||
aput v6, v3, v5
|
||||
|
||||
const/4 v5, 0x1
|
||||
|
||||
iput-boolean v5, v4, Ly/r;->d:Z
|
||||
|
||||
add-int/2addr p1, v5
|
||||
|
||||
iget-object v4, v4, Ly/r;->f:Ly/r;
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_3
|
||||
invoke-static {}, Lt/u/b/j;->throwNpe()V
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_4
|
||||
new-instance p1, Ly/t;
|
||||
|
||||
invoke-direct {p1, v1, v3, v0}, Ly/t;-><init>([[B[ILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
|
||||
return-object p1
|
||||
|
||||
:cond_5
|
||||
const-string p1, "buffer"
|
||||
|
||||
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
963
com.discord/smali_classes2/y/t.smali
Normal file
963
com.discord/smali_classes2/y/t.smali
Normal file
|
@ -0,0 +1,963 @@
|
|||
.class public final Ly/t;
|
||||
.super Lokio/ByteString;
|
||||
.source "SegmentedByteString.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Ly/t$a;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final j:Ly/t$a;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final transient h:[[B
|
||||
|
||||
.field public final transient i:[I
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Ly/t$a;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-direct {v0, v1}, Ly/t$a;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
|
||||
sput-object v0, Ly/t;->j:Ly/t$a;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public synthetic constructor <init>([[B[ILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||||
.locals 0
|
||||
|
||||
sget-object p3, Lokio/ByteString;->f:Lokio/ByteString;
|
||||
|
||||
invoke-virtual {p3}, Lokio/ByteString;->b()[B
|
||||
|
||||
move-result-object p3
|
||||
|
||||
invoke-direct {p0, p3}, Lokio/ByteString;-><init>([B)V
|
||||
|
||||
iput-object p1, p0, Ly/t;->h:[[B
|
||||
|
||||
iput-object p2, p0, Ly/t;->i:[I
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method private final writeReplace()Ljava/lang/Object;
|
||||
.locals 1
|
||||
|
||||
invoke-virtual {p0}, Ly/t;->t()Lokio/ByteString;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public a()Ljava/lang/String;
|
||||
.locals 1
|
||||
|
||||
invoke-virtual {p0}, Ly/t;->t()Lokio/ByteString;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0}, Lokio/ByteString;->a()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public a(Ljava/lang/String;)Lokio/ByteString;
|
||||
.locals 6
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
invoke-static {p1}, Ljava/security/MessageDigest;->getInstance(Ljava/lang/String;)Ljava/security/MessageDigest;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-virtual {p0}, Ly/t;->r()[[B
|
||||
|
||||
move-result-object v0
|
||||
|
||||
array-length v0, v0
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
:goto_0
|
||||
if-ge v1, v0, :cond_0
|
||||
|
||||
invoke-virtual {p0}, Ly/t;->m()[I
|
||||
|
||||
move-result-object v3
|
||||
|
||||
add-int v4, v0, v1
|
||||
|
||||
aget v3, v3, v4
|
||||
|
||||
invoke-virtual {p0}, Ly/t;->m()[I
|
||||
|
||||
move-result-object v4
|
||||
|
||||
aget v4, v4, v1
|
||||
|
||||
invoke-virtual {p0}, Ly/t;->r()[[B
|
||||
|
||||
move-result-object v5
|
||||
|
||||
aget-object v5, v5, v1
|
||||
|
||||
sub-int v2, v4, v2
|
||||
|
||||
invoke-virtual {p1, v5, v3, v2}, Ljava/security/MessageDigest;->update([BII)V
|
||||
|
||||
add-int/lit8 v1, v1, 0x1
|
||||
|
||||
move v2, v4
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
new-instance v0, Lokio/ByteString;
|
||||
|
||||
invoke-virtual {p1}, Ljava/security/MessageDigest;->digest()[B
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const-string v1, "digest.digest()"
|
||||
|
||||
invoke-static {p1, v1}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-direct {v0, p1}, Lokio/ByteString;-><init>([B)V
|
||||
|
||||
return-object v0
|
||||
|
||||
:cond_1
|
||||
const-string p1, "algorithm"
|
||||
|
||||
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public a(Ljava/io/OutputStream;)V
|
||||
.locals 6
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
invoke-virtual {p0}, Ly/t;->r()[[B
|
||||
|
||||
move-result-object v0
|
||||
|
||||
array-length v0, v0
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
:goto_0
|
||||
if-ge v1, v0, :cond_0
|
||||
|
||||
invoke-virtual {p0}, Ly/t;->m()[I
|
||||
|
||||
move-result-object v3
|
||||
|
||||
add-int v4, v0, v1
|
||||
|
||||
aget v3, v3, v4
|
||||
|
||||
invoke-virtual {p0}, Ly/t;->m()[I
|
||||
|
||||
move-result-object v4
|
||||
|
||||
aget v4, v4, v1
|
||||
|
||||
invoke-virtual {p0}, Ly/t;->r()[[B
|
||||
|
||||
move-result-object v5
|
||||
|
||||
aget-object v5, v5, v1
|
||||
|
||||
sub-int v2, v4, v2
|
||||
|
||||
invoke-virtual {p1, v5, v3, v2}, Ljava/io/OutputStream;->write([BII)V
|
||||
|
||||
add-int/lit8 v1, v1, 0x1
|
||||
|
||||
move v2, v4
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
|
||||
:cond_1
|
||||
const-string p1, "out"
|
||||
|
||||
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public a(Ly/e;)V
|
||||
.locals 12
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
if-eqz p1, :cond_4
|
||||
|
||||
invoke-virtual {p0}, Ly/t;->r()[[B
|
||||
|
||||
move-result-object v1
|
||||
|
||||
array-length v1, v1
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
:goto_0
|
||||
if-ge v2, v1, :cond_3
|
||||
|
||||
invoke-virtual {p0}, Ly/t;->m()[I
|
||||
|
||||
move-result-object v4
|
||||
|
||||
add-int v5, v1, v2
|
||||
|
||||
aget v8, v4, v5
|
||||
|
||||
invoke-virtual {p0}, Ly/t;->m()[I
|
||||
|
||||
move-result-object v4
|
||||
|
||||
aget v4, v4, v2
|
||||
|
||||
invoke-virtual {p0}, Ly/t;->r()[[B
|
||||
|
||||
move-result-object v5
|
||||
|
||||
aget-object v7, v5, v2
|
||||
|
||||
sub-int v3, v4, v3
|
||||
|
||||
new-instance v5, Ly/r;
|
||||
|
||||
add-int v9, v8, v3
|
||||
|
||||
const/4 v10, 0x1
|
||||
|
||||
const/4 v11, 0x0
|
||||
|
||||
move-object v6, v5
|
||||
|
||||
invoke-direct/range {v6 .. v11}, Ly/r;-><init>([BIIZZ)V
|
||||
|
||||
iget-object v3, p1, Ly/e;->d:Ly/r;
|
||||
|
||||
if-nez v3, :cond_0
|
||||
|
||||
iput-object v5, v5, Ly/r;->g:Ly/r;
|
||||
|
||||
iget-object v3, v5, Ly/r;->g:Ly/r;
|
||||
|
||||
iput-object v3, v5, Ly/r;->f:Ly/r;
|
||||
|
||||
iget-object v3, v5, Ly/r;->f:Ly/r;
|
||||
|
||||
iput-object v3, p1, Ly/e;->d:Ly/r;
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_0
|
||||
if-eqz v3, :cond_2
|
||||
|
||||
iget-object v3, v3, Ly/r;->g:Ly/r;
|
||||
|
||||
if-eqz v3, :cond_1
|
||||
|
||||
invoke-virtual {v3, v5}, Ly/r;->a(Ly/r;)Ly/r;
|
||||
|
||||
:goto_1
|
||||
add-int/lit8 v2, v2, 0x1
|
||||
|
||||
move v3, v4
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
invoke-static {}, Lt/u/b/j;->throwNpe()V
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_2
|
||||
invoke-static {}, Lt/u/b/j;->throwNpe()V
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_3
|
||||
iget-wide v0, p1, Ly/e;->e:J
|
||||
|
||||
invoke-virtual {p0}, Lokio/ByteString;->j()I
|
||||
|
||||
move-result v2
|
||||
|
||||
int-to-long v2, v2
|
||||
|
||||
add-long/2addr v0, v2
|
||||
|
||||
iput-wide v0, p1, Ly/e;->e:J
|
||||
|
||||
return-void
|
||||
|
||||
:cond_4
|
||||
const-string p1, "buffer"
|
||||
|
||||
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method public a(ILokio/ByteString;II)Z
|
||||
.locals 6
|
||||
|
||||
if-eqz p2, :cond_5
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
if-ltz p1, :cond_4
|
||||
|
||||
invoke-virtual {p0}, Lokio/ByteString;->j()I
|
||||
|
||||
move-result v1
|
||||
|
||||
sub-int/2addr v1, p4
|
||||
|
||||
if-le p1, v1, :cond_0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:cond_0
|
||||
add-int/2addr p4, p1
|
||||
|
||||
invoke-virtual {p0, p1}, Ly/t;->d(I)I
|
||||
|
||||
move-result v1
|
||||
|
||||
:goto_0
|
||||
if-ge p1, p4, :cond_3
|
||||
|
||||
if-nez v1, :cond_1
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
invoke-virtual {p0}, Ly/t;->m()[I
|
||||
|
||||
move-result-object v2
|
||||
|
||||
add-int/lit8 v3, v1, -0x1
|
||||
|
||||
aget v2, v2, v3
|
||||
|
||||
:goto_1
|
||||
invoke-virtual {p0}, Ly/t;->m()[I
|
||||
|
||||
move-result-object v3
|
||||
|
||||
aget v3, v3, v1
|
||||
|
||||
sub-int/2addr v3, v2
|
||||
|
||||
invoke-virtual {p0}, Ly/t;->m()[I
|
||||
|
||||
move-result-object v4
|
||||
|
||||
invoke-virtual {p0}, Ly/t;->r()[[B
|
||||
|
||||
move-result-object v5
|
||||
|
||||
array-length v5, v5
|
||||
|
||||
add-int/2addr v5, v1
|
||||
|
||||
aget v4, v4, v5
|
||||
|
||||
add-int/2addr v3, v2
|
||||
|
||||
invoke-static {p4, v3}, Ljava/lang/Math;->min(II)I
|
||||
|
||||
move-result v3
|
||||
|
||||
sub-int/2addr v3, p1
|
||||
|
||||
sub-int v2, p1, v2
|
||||
|
||||
add-int/2addr v2, v4
|
||||
|
||||
invoke-virtual {p0}, Ly/t;->r()[[B
|
||||
|
||||
move-result-object v4
|
||||
|
||||
aget-object v4, v4, v1
|
||||
|
||||
invoke-virtual {p2, p3, v4, v2, v3}, Lokio/ByteString;->a(I[BII)Z
|
||||
|
||||
move-result v2
|
||||
|
||||
if-nez v2, :cond_2
|
||||
|
||||
return v0
|
||||
|
||||
:cond_2
|
||||
add-int/2addr p3, v3
|
||||
|
||||
add-int/2addr p1, v3
|
||||
|
||||
add-int/lit8 v1, v1, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_3
|
||||
const/4 p1, 0x1
|
||||
|
||||
return p1
|
||||
|
||||
:cond_4
|
||||
:goto_2
|
||||
return v0
|
||||
|
||||
:cond_5
|
||||
const-string p1, "other"
|
||||
|
||||
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public a(I[BII)Z
|
||||
.locals 6
|
||||
|
||||
if-eqz p2, :cond_5
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
if-ltz p1, :cond_4
|
||||
|
||||
invoke-virtual {p0}, Lokio/ByteString;->j()I
|
||||
|
||||
move-result v1
|
||||
|
||||
sub-int/2addr v1, p4
|
||||
|
||||
if-gt p1, v1, :cond_4
|
||||
|
||||
if-ltz p3, :cond_4
|
||||
|
||||
array-length v1, p2
|
||||
|
||||
sub-int/2addr v1, p4
|
||||
|
||||
if-le p3, v1, :cond_0
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:cond_0
|
||||
add-int/2addr p4, p1
|
||||
|
||||
invoke-virtual {p0, p1}, Ly/t;->d(I)I
|
||||
|
||||
move-result v1
|
||||
|
||||
:goto_0
|
||||
if-ge p1, p4, :cond_3
|
||||
|
||||
if-nez v1, :cond_1
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
invoke-virtual {p0}, Ly/t;->m()[I
|
||||
|
||||
move-result-object v2
|
||||
|
||||
add-int/lit8 v3, v1, -0x1
|
||||
|
||||
aget v2, v2, v3
|
||||
|
||||
:goto_1
|
||||
invoke-virtual {p0}, Ly/t;->m()[I
|
||||
|
||||
move-result-object v3
|
||||
|
||||
aget v3, v3, v1
|
||||
|
||||
sub-int/2addr v3, v2
|
||||
|
||||
invoke-virtual {p0}, Ly/t;->m()[I
|
||||
|
||||
move-result-object v4
|
||||
|
||||
invoke-virtual {p0}, Ly/t;->r()[[B
|
||||
|
||||
move-result-object v5
|
||||
|
||||
array-length v5, v5
|
||||
|
||||
add-int/2addr v5, v1
|
||||
|
||||
aget v4, v4, v5
|
||||
|
||||
add-int/2addr v3, v2
|
||||
|
||||
invoke-static {p4, v3}, Ljava/lang/Math;->min(II)I
|
||||
|
||||
move-result v3
|
||||
|
||||
sub-int/2addr v3, p1
|
||||
|
||||
sub-int v2, p1, v2
|
||||
|
||||
add-int/2addr v2, v4
|
||||
|
||||
invoke-virtual {p0}, Ly/t;->r()[[B
|
||||
|
||||
move-result-object v4
|
||||
|
||||
aget-object v4, v4, v1
|
||||
|
||||
invoke-static {v4, v2, p2, p3, v3}, Le/k/a/b/e/p/g;->a([BI[BII)Z
|
||||
|
||||
move-result v2
|
||||
|
||||
if-nez v2, :cond_2
|
||||
|
||||
return v0
|
||||
|
||||
:cond_2
|
||||
add-int/2addr p3, v3
|
||||
|
||||
add-int/2addr p1, v3
|
||||
|
||||
add-int/lit8 v1, v1, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_3
|
||||
const/4 p1, 0x1
|
||||
|
||||
return p1
|
||||
|
||||
:cond_4
|
||||
:goto_2
|
||||
return v0
|
||||
|
||||
:cond_5
|
||||
const-string p1, "other"
|
||||
|
||||
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public b(I)B
|
||||
.locals 7
|
||||
|
||||
iget-object v0, p0, Ly/t;->i:[I
|
||||
|
||||
iget-object v1, p0, Ly/t;->h:[[B
|
||||
|
||||
array-length v1, v1
|
||||
|
||||
add-int/lit8 v1, v1, -0x1
|
||||
|
||||
aget v0, v0, v1
|
||||
|
||||
int-to-long v1, v0
|
||||
|
||||
int-to-long v3, p1
|
||||
|
||||
const-wide/16 v5, 0x1
|
||||
|
||||
invoke-static/range {v1 .. v6}, Le/k/a/b/e/p/g;->a(JJJ)V
|
||||
|
||||
invoke-virtual {p0, p1}, Ly/t;->d(I)I
|
||||
|
||||
move-result v0
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
iget-object v1, p0, Ly/t;->i:[I
|
||||
|
||||
add-int/lit8 v2, v0, -0x1
|
||||
|
||||
aget v1, v1, v2
|
||||
|
||||
:goto_0
|
||||
iget-object v2, p0, Ly/t;->i:[I
|
||||
|
||||
iget-object v3, p0, Ly/t;->h:[[B
|
||||
|
||||
array-length v4, v3
|
||||
|
||||
add-int/2addr v4, v0
|
||||
|
||||
aget v2, v2, v4
|
||||
|
||||
aget-object v0, v3, v0
|
||||
|
||||
sub-int/2addr p1, v1
|
||||
|
||||
add-int/2addr p1, v2
|
||||
|
||||
aget-byte p1, v0, p1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public d()I
|
||||
.locals 2
|
||||
|
||||
iget-object v0, p0, Ly/t;->i:[I
|
||||
|
||||
iget-object v1, p0, Ly/t;->h:[[B
|
||||
|
||||
array-length v1, v1
|
||||
|
||||
add-int/lit8 v1, v1, -0x1
|
||||
|
||||
aget v0, v0, v1
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public final d(I)I
|
||||
.locals 3
|
||||
|
||||
iget-object v0, p0, Ly/t;->i:[I
|
||||
|
||||
iget-object v1, p0, Ly/t;->h:[[B
|
||||
|
||||
array-length v1, v1
|
||||
|
||||
add-int/lit8 p1, p1, 0x1
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
invoke-static {v0, v2, v1, p1}, Ljava/util/Arrays;->binarySearch([IIII)I
|
||||
|
||||
move-result p1
|
||||
|
||||
if-ltz p1, :cond_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
not-int p1, p1
|
||||
|
||||
:goto_0
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public equals(Ljava/lang/Object;)Z
|
||||
.locals 4
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
if-ne p1, p0, :cond_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
instance-of v2, p1, Lokio/ByteString;
|
||||
|
||||
if-eqz v2, :cond_1
|
||||
|
||||
check-cast p1, Lokio/ByteString;
|
||||
|
||||
invoke-virtual {p1}, Lokio/ByteString;->j()I
|
||||
|
||||
move-result v2
|
||||
|
||||
invoke-virtual {p0}, Lokio/ByteString;->j()I
|
||||
|
||||
move-result v3
|
||||
|
||||
if-ne v2, v3, :cond_1
|
||||
|
||||
invoke-virtual {p0}, Lokio/ByteString;->j()I
|
||||
|
||||
move-result v2
|
||||
|
||||
invoke-virtual {p0, v1, p1, v1, v2}, Ly/t;->a(ILokio/ByteString;II)Z
|
||||
|
||||
move-result p1
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
const/4 v0, 0x0
|
||||
|
||||
:goto_0
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public f()Ljava/lang/String;
|
||||
.locals 1
|
||||
|
||||
invoke-virtual {p0}, Ly/t;->t()Lokio/ByteString;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0}, Lokio/ByteString;->f()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public g()[B
|
||||
.locals 1
|
||||
|
||||
invoke-virtual {p0}, Ly/t;->s()[B
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public hashCode()I
|
||||
.locals 8
|
||||
|
||||
invoke-virtual {p0}, Lokio/ByteString;->c()I
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
return v0
|
||||
|
||||
:cond_0
|
||||
invoke-virtual {p0}, Ly/t;->r()[[B
|
||||
|
||||
move-result-object v0
|
||||
|
||||
array-length v0, v0
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
const/4 v2, 0x1
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
:goto_0
|
||||
if-ge v1, v0, :cond_2
|
||||
|
||||
invoke-virtual {p0}, Ly/t;->m()[I
|
||||
|
||||
move-result-object v4
|
||||
|
||||
add-int v5, v0, v1
|
||||
|
||||
aget v4, v4, v5
|
||||
|
||||
invoke-virtual {p0}, Ly/t;->m()[I
|
||||
|
||||
move-result-object v5
|
||||
|
||||
aget v5, v5, v1
|
||||
|
||||
invoke-virtual {p0}, Ly/t;->r()[[B
|
||||
|
||||
move-result-object v6
|
||||
|
||||
aget-object v6, v6, v1
|
||||
|
||||
sub-int v3, v5, v3
|
||||
|
||||
add-int/2addr v3, v4
|
||||
|
||||
:goto_1
|
||||
if-ge v4, v3, :cond_1
|
||||
|
||||
mul-int/lit8 v2, v2, 0x1f
|
||||
|
||||
aget-byte v7, v6, v4
|
||||
|
||||
add-int/2addr v2, v7
|
||||
|
||||
add-int/lit8 v4, v4, 0x1
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
add-int/lit8 v1, v1, 0x1
|
||||
|
||||
move v3, v5
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_2
|
||||
invoke-virtual {p0, v2}, Lokio/ByteString;->c(I)V
|
||||
|
||||
return v2
|
||||
.end method
|
||||
|
||||
.method public k()Lokio/ByteString;
|
||||
.locals 1
|
||||
|
||||
invoke-virtual {p0}, Ly/t;->t()Lokio/ByteString;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0}, Lokio/ByteString;->k()Lokio/ByteString;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final m()[I
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Ly/t;->i:[I
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final r()[[B
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Ly/t;->h:[[B
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public s()[B
|
||||
.locals 8
|
||||
|
||||
invoke-virtual {p0}, Lokio/ByteString;->j()I
|
||||
|
||||
move-result v0
|
||||
|
||||
new-array v0, v0, [B
|
||||
|
||||
invoke-virtual {p0}, Ly/t;->r()[[B
|
||||
|
||||
move-result-object v1
|
||||
|
||||
array-length v1, v1
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
const/4 v4, 0x0
|
||||
|
||||
:goto_0
|
||||
if-ge v2, v1, :cond_0
|
||||
|
||||
invoke-virtual {p0}, Ly/t;->m()[I
|
||||
|
||||
move-result-object v5
|
||||
|
||||
add-int v6, v1, v2
|
||||
|
||||
aget v5, v5, v6
|
||||
|
||||
invoke-virtual {p0}, Ly/t;->m()[I
|
||||
|
||||
move-result-object v6
|
||||
|
||||
aget v6, v6, v2
|
||||
|
||||
invoke-virtual {p0}, Ly/t;->r()[[B
|
||||
|
||||
move-result-object v7
|
||||
|
||||
aget-object v7, v7, v2
|
||||
|
||||
sub-int v3, v6, v3
|
||||
|
||||
invoke-static {v7, v5, v0, v4, v3}, Le/k/a/b/e/p/g;->b([BI[BII)V
|
||||
|
||||
add-int/2addr v4, v3
|
||||
|
||||
add-int/lit8 v2, v2, 0x1
|
||||
|
||||
move v3, v6
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final t()Lokio/ByteString;
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Lokio/ByteString;
|
||||
|
||||
invoke-virtual {p0}, Ly/t;->s()[B
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-direct {v0, v1}, Lokio/ByteString;-><init>([B)V
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public toString()Ljava/lang/String;
|
||||
.locals 1
|
||||
|
||||
invoke-virtual {p0}, Ly/t;->t()Lokio/ByteString;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0}, Lokio/ByteString;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
36
com.discord/smali_classes2/y/u.smali
Normal file
36
com.discord/smali_classes2/y/u.smali
Normal file
|
@ -0,0 +1,36 @@
|
|||
.class public interface abstract Ly/u;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Sink.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Ljava/io/Closeable;
|
||||
.implements Ljava/io/Flushable;
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract close()V
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract flush()V
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract timeout()Ly/x;
|
||||
.end method
|
||||
|
||||
.method public abstract write(Ly/e;J)V
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
131
com.discord/smali_classes2/y/v.smali
Normal file
131
com.discord/smali_classes2/y/v.smali
Normal file
|
@ -0,0 +1,131 @@
|
|||
.class public final Ly/v;
|
||||
.super Ly/b;
|
||||
.source "Okio.kt"
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final l:Ljava/util/logging/Logger;
|
||||
|
||||
.field public final m:Ljava/net/Socket;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ljava/net/Socket;)V
|
||||
.locals 0
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
invoke-direct {p0}, Ly/b;-><init>()V
|
||||
|
||||
iput-object p1, p0, Ly/v;->m:Ljava/net/Socket;
|
||||
|
||||
const-string p1, "okio.Okio"
|
||||
|
||||
invoke-static {p1}, Ljava/util/logging/Logger;->getLogger(Ljava/lang/String;)Ljava/util/logging/Logger;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
iput-object p1, p0, Ly/v;->l:Ljava/util/logging/Logger;
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const-string p1, "socket"
|
||||
|
||||
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public b(Ljava/io/IOException;)Ljava/io/IOException;
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Ljava/net/SocketTimeoutException;
|
||||
|
||||
const-string v1, "timeout"
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/net/SocketTimeoutException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
invoke-virtual {v0, p1}, Ljava/net/SocketTimeoutException;->initCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;
|
||||
|
||||
:cond_0
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public i()V
|
||||
.locals 5
|
||||
|
||||
const-string v0, "Failed to close timed out socket "
|
||||
|
||||
:try_start_0
|
||||
iget-object v1, p0, Ly/v;->m:Ljava/net/Socket;
|
||||
|
||||
invoke-virtual {v1}, Ljava/net/Socket;->close()V
|
||||
:try_end_0
|
||||
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_1
|
||||
.catch Ljava/lang/AssertionError; {:try_start_0 .. :try_end_0} :catch_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catch_0
|
||||
move-exception v1
|
||||
|
||||
invoke-static {v1}, Le/k/a/b/e/p/g;->a(Ljava/lang/AssertionError;)Z
|
||||
|
||||
move-result v2
|
||||
|
||||
if-eqz v2, :cond_0
|
||||
|
||||
iget-object v2, p0, Ly/v;->l:Ljava/util/logging/Logger;
|
||||
|
||||
sget-object v3, Ljava/util/logging/Level;->WARNING:Ljava/util/logging/Level;
|
||||
|
||||
invoke-static {v0}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
iget-object v4, p0, Ly/v;->m:Ljava/net/Socket;
|
||||
|
||||
invoke-virtual {v0, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v2, v3, v0, v1}, Ljava/util/logging/Logger;->log(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
throw v1
|
||||
|
||||
:catch_1
|
||||
move-exception v1
|
||||
|
||||
iget-object v2, p0, Ly/v;->l:Ljava/util/logging/Logger;
|
||||
|
||||
sget-object v3, Ljava/util/logging/Level;->WARNING:Ljava/util/logging/Level;
|
||||
|
||||
invoke-static {v0}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
iget-object v4, p0, Ly/v;->m:Ljava/net/Socket;
|
||||
|
||||
invoke-virtual {v0, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v2, v3, v0, v1}, Ljava/util/logging/Logger;->log(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
|
||||
|
||||
:goto_0
|
||||
return-void
|
||||
.end method
|
27
com.discord/smali_classes2/y/w.smali
Normal file
27
com.discord/smali_classes2/y/w.smali
Normal file
|
@ -0,0 +1,27 @@
|
|||
.class public interface abstract Ly/w;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Source.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Ljava/io/Closeable;
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract b(Ly/e;J)J
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract close()V
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract timeout()Ly/x;
|
||||
.end method
|
55
com.discord/smali_classes2/y/x$a.smali
Normal file
55
com.discord/smali_classes2/y/x$a.smali
Normal file
|
@ -0,0 +1,55 @@
|
|||
.class public final Ly/x$a;
|
||||
.super Ly/x;
|
||||
.source "Timeout.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Ly/x;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ly/x;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public a(J)Ly/x;
|
||||
.locals 0
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
.method public a(JLjava/util/concurrent/TimeUnit;)Ly/x;
|
||||
.locals 0
|
||||
|
||||
if-eqz p3, :cond_0
|
||||
|
||||
return-object p0
|
||||
|
||||
:cond_0
|
||||
const-string p1, "unit"
|
||||
|
||||
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public e()V
|
||||
.locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
231
com.discord/smali_classes2/y/x.smali
Normal file
231
com.discord/smali_classes2/y/x.smali
Normal file
|
@ -0,0 +1,231 @@
|
|||
.class public Ly/x;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Timeout.kt"
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final d:Ly/x;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public a:Z
|
||||
|
||||
.field public b:J
|
||||
|
||||
.field public c:J
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Ly/x$a;
|
||||
|
||||
invoke-direct {v0}, Ly/x$a;-><init>()V
|
||||
|
||||
sput-object v0, Ly/x;->d:Ly/x;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public a()Ly/x;
|
||||
.locals 1
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
iput-boolean v0, p0, Ly/x;->a:Z
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
.method public a(J)Ly/x;
|
||||
.locals 1
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
iput-boolean v0, p0, Ly/x;->a:Z
|
||||
|
||||
iput-wide p1, p0, Ly/x;->b:J
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
.method public a(JLjava/util/concurrent/TimeUnit;)Ly/x;
|
||||
.locals 3
|
||||
|
||||
if-eqz p3, :cond_2
|
||||
|
||||
const-wide/16 v0, 0x0
|
||||
|
||||
cmp-long v2, p1, v0
|
||||
|
||||
if-ltz v2, :cond_0
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x0
|
||||
|
||||
:goto_0
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
invoke-virtual {p3, p1, p2}, Ljava/util/concurrent/TimeUnit;->toNanos(J)J
|
||||
|
||||
move-result-wide p1
|
||||
|
||||
iput-wide p1, p0, Ly/x;->c:J
|
||||
|
||||
return-object p0
|
||||
|
||||
:cond_1
|
||||
const-string p3, "timeout < 0: "
|
||||
|
||||
invoke-static {p3, p1, p2}, Le/e/b/a/a;->a(Ljava/lang/String;J)Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
new-instance p2, Ljava/lang/IllegalArgumentException;
|
||||
|
||||
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-direct {p2, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p2
|
||||
|
||||
:cond_2
|
||||
const-string p1, "unit"
|
||||
|
||||
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public b()Ly/x;
|
||||
.locals 2
|
||||
|
||||
const-wide/16 v0, 0x0
|
||||
|
||||
iput-wide v0, p0, Ly/x;->c:J
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
.method public c()J
|
||||
.locals 2
|
||||
|
||||
iget-boolean v0, p0, Ly/x;->a:Z
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
iget-wide v0, p0, Ly/x;->b:J
|
||||
|
||||
return-wide v0
|
||||
|
||||
:cond_0
|
||||
new-instance v0, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string v1, "No deadline"
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method public d()Z
|
||||
.locals 1
|
||||
|
||||
iget-boolean v0, p0, Ly/x;->a:Z
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public e()V
|
||||
.locals 5
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-static {}, Ljava/lang/Thread;->interrupted()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-nez v0, :cond_2
|
||||
|
||||
iget-boolean v0, p0, Ly/x;->a:Z
|
||||
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
iget-wide v0, p0, Ly/x;->b:J
|
||||
|
||||
invoke-static {}, Ljava/lang/System;->nanoTime()J
|
||||
|
||||
move-result-wide v2
|
||||
|
||||
sub-long/2addr v0, v2
|
||||
|
||||
const-wide/16 v2, 0x0
|
||||
|
||||
cmp-long v4, v0, v2
|
||||
|
||||
if-lez v4, :cond_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
new-instance v0, Ljava/io/InterruptedIOException;
|
||||
|
||||
const-string v1, "deadline reached"
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/io/InterruptedIOException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_1
|
||||
:goto_0
|
||||
return-void
|
||||
|
||||
:cond_2
|
||||
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/Thread;->interrupt()V
|
||||
|
||||
new-instance v0, Ljava/io/InterruptedIOException;
|
||||
|
||||
const-string v1, "interrupted"
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/io/InterruptedIOException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method public f()J
|
||||
.locals 2
|
||||
|
||||
iget-wide v0, p0, Ly/x;->c:J
|
||||
|
||||
return-wide v0
|
||||
.end method
|
1907
com.discord/smali_classes2/y/y/a.smali
Normal file
1907
com.discord/smali_classes2/y/y/a.smali
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue