Changes of com.discord v823
This commit is contained in:
parent
50139b7f2b
commit
204ebe7067
28411 changed files with 2982405 additions and 1720152 deletions
1204
com.discord/smali_classes2/okio/ByteString.smali
Normal file
1204
com.discord/smali_classes2/okio/ByteString.smali
Normal file
File diff suppressed because it is too large
Load diff
297
com.discord/smali_classes2/okio/a$1.smali
Normal file
297
com.discord/smali_classes2/okio/a$1.smali
Normal file
|
@ -0,0 +1,297 @@
|
|||
.class final Lokio/a$1;
|
||||
.super Ljava/lang/Object;
|
||||
|
||||
# interfaces
|
||||
.implements Lokio/p;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lokio/a;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x0
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field final synthetic cgH:Lokio/p;
|
||||
|
||||
.field final synthetic cgI:Lokio/a;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>(Lokio/a;Lokio/p;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lokio/a$1;->cgI:Lokio/a;
|
||||
|
||||
iput-object p2, p0, Lokio/a$1;->cgH:Lokio/p;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final close()V
|
||||
.locals 3
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Lokio/a$1;->cgI:Lokio/a;
|
||||
|
||||
invoke-virtual {v0}, Lokio/a;->enter()V
|
||||
|
||||
:try_start_0
|
||||
iget-object v0, p0, Lokio/a$1;->cgH:Lokio/p;
|
||||
|
||||
invoke-interface {v0}, Lokio/p;->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
|
||||
|
||||
iget-object v0, p0, Lokio/a$1;->cgI:Lokio/a;
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
invoke-virtual {v0, v1}, Lokio/a;->aj(Z)V
|
||||
|
||||
return-void
|
||||
|
||||
:catchall_0
|
||||
move-exception v0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catch_0
|
||||
move-exception v0
|
||||
|
||||
:try_start_1
|
||||
iget-object v1, p0, Lokio/a$1;->cgI:Lokio/a;
|
||||
|
||||
invoke-virtual {v1, v0}, Lokio/a;->d(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, Lokio/a$1;->cgI:Lokio/a;
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
invoke-virtual {v1, v2}, Lokio/a;->aj(Z)V
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method public final flush()V
|
||||
.locals 3
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Lokio/a$1;->cgI:Lokio/a;
|
||||
|
||||
invoke-virtual {v0}, Lokio/a;->enter()V
|
||||
|
||||
:try_start_0
|
||||
iget-object v0, p0, Lokio/a$1;->cgH:Lokio/p;
|
||||
|
||||
invoke-interface {v0}, Lokio/p;->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
|
||||
|
||||
iget-object v0, p0, Lokio/a$1;->cgI:Lokio/a;
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
invoke-virtual {v0, v1}, Lokio/a;->aj(Z)V
|
||||
|
||||
return-void
|
||||
|
||||
:catchall_0
|
||||
move-exception v0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catch_0
|
||||
move-exception v0
|
||||
|
||||
:try_start_1
|
||||
iget-object v1, p0, Lokio/a$1;->cgI:Lokio/a;
|
||||
|
||||
invoke-virtual {v1, v0}, Lokio/a;->d(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, Lokio/a$1;->cgI:Lokio/a;
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
invoke-virtual {v1, v2}, Lokio/a;->aj(Z)V
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method public final timeout()Lokio/r;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lokio/a$1;->cgI:Lokio/a;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final toString()Ljava/lang/String;
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v1, "AsyncTimeout.sink("
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
||||
|
||||
iget-object v1, p0, Lokio/a$1;->cgH:Lokio/p;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v1, ")"
|
||||
|
||||
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 final write(Lokio/c;J)V
|
||||
.locals 6
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-wide v0, p1, Lokio/c;->size:J
|
||||
|
||||
const-wide/16 v2, 0x0
|
||||
|
||||
move-wide v4, p2
|
||||
|
||||
invoke-static/range {v0 .. v5}, Lokio/s;->c(JJJ)V
|
||||
|
||||
:goto_0
|
||||
const-wide/16 v0, 0x0
|
||||
|
||||
cmp-long v2, p2, v0
|
||||
|
||||
if-lez v2, :cond_2
|
||||
|
||||
iget-object v2, p1, Lokio/c;->cgN:Lokio/m;
|
||||
|
||||
:goto_1
|
||||
const-wide/32 v3, 0x10000
|
||||
|
||||
cmp-long v5, v0, v3
|
||||
|
||||
if-gez v5, :cond_1
|
||||
|
||||
iget v3, v2, Lokio/m;->limit:I
|
||||
|
||||
iget v4, v2, Lokio/m;->pos:I
|
||||
|
||||
sub-int/2addr v3, v4
|
||||
|
||||
int-to-long v3, v3
|
||||
|
||||
add-long/2addr v0, v3
|
||||
|
||||
cmp-long v3, v0, p2
|
||||
|
||||
if-ltz v3, :cond_0
|
||||
|
||||
move-wide v0, p2
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:cond_0
|
||||
iget-object v2, v2, Lokio/m;->chg:Lokio/m;
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
:goto_2
|
||||
iget-object v2, p0, Lokio/a$1;->cgI:Lokio/a;
|
||||
|
||||
invoke-virtual {v2}, Lokio/a;->enter()V
|
||||
|
||||
:try_start_0
|
||||
iget-object v2, p0, Lokio/a$1;->cgH:Lokio/p;
|
||||
|
||||
invoke-interface {v2, p1, v0, v1}, Lokio/p;->write(Lokio/c;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
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
sub-long/2addr p2, v0
|
||||
|
||||
iget-object v0, p0, Lokio/a$1;->cgI:Lokio/a;
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
invoke-virtual {v0, v1}, Lokio/a;->aj(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, Lokio/a$1;->cgI:Lokio/a;
|
||||
|
||||
invoke-virtual {p2, p1}, Lokio/a;->d(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, Lokio/a$1;->cgI:Lokio/a;
|
||||
|
||||
const/4 p3, 0x0
|
||||
|
||||
invoke-virtual {p2, p3}, Lokio/a;->aj(Z)V
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_2
|
||||
return-void
|
||||
.end method
|
182
com.discord/smali_classes2/okio/a$2.smali
Normal file
182
com.discord/smali_classes2/okio/a$2.smali
Normal file
|
@ -0,0 +1,182 @@
|
|||
.class final Lokio/a$2;
|
||||
.super Ljava/lang/Object;
|
||||
|
||||
# interfaces
|
||||
.implements Lokio/q;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lokio/a;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x0
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field final synthetic cgI:Lokio/a;
|
||||
|
||||
.field final synthetic cgJ:Lokio/q;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>(Lokio/a;Lokio/q;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lokio/a$2;->cgI:Lokio/a;
|
||||
|
||||
iput-object p2, p0, Lokio/a$2;->cgJ:Lokio/q;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final a(Lokio/c;J)J
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Lokio/a$2;->cgI:Lokio/a;
|
||||
|
||||
invoke-virtual {v0}, Lokio/a;->enter()V
|
||||
|
||||
:try_start_0
|
||||
iget-object v0, p0, Lokio/a$2;->cgJ:Lokio/q;
|
||||
|
||||
invoke-interface {v0, p1, p2, p3}, Lokio/q;->a(Lokio/c;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
|
||||
|
||||
iget-object p3, p0, Lokio/a$2;->cgI:Lokio/a;
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
invoke-virtual {p3, v0}, Lokio/a;->aj(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, Lokio/a$2;->cgI:Lokio/a;
|
||||
|
||||
invoke-virtual {p2, p1}, Lokio/a;->d(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, Lokio/a$2;->cgI:Lokio/a;
|
||||
|
||||
const/4 p3, 0x0
|
||||
|
||||
invoke-virtual {p2, p3}, Lokio/a;->aj(Z)V
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public final close()V
|
||||
.locals 3
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
:try_start_0
|
||||
iget-object v0, p0, Lokio/a$2;->cgJ:Lokio/q;
|
||||
|
||||
invoke-interface {v0}, Lokio/q;->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
|
||||
|
||||
iget-object v0, p0, Lokio/a$2;->cgI:Lokio/a;
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
invoke-virtual {v0, v1}, Lokio/a;->aj(Z)V
|
||||
|
||||
return-void
|
||||
|
||||
:catchall_0
|
||||
move-exception v0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catch_0
|
||||
move-exception v0
|
||||
|
||||
:try_start_1
|
||||
iget-object v1, p0, Lokio/a$2;->cgI:Lokio/a;
|
||||
|
||||
invoke-virtual {v1, v0}, Lokio/a;->d(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, Lokio/a$2;->cgI:Lokio/a;
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
invoke-virtual {v1, v2}, Lokio/a;->aj(Z)V
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method public final timeout()Lokio/r;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lokio/a$2;->cgI:Lokio/a;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final toString()Ljava/lang/String;
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v1, "AsyncTimeout.source("
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
||||
|
||||
iget-object v1, p0, Lokio/a$2;->cgJ:Lokio/q;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v1, ")"
|
||||
|
||||
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
|
93
com.discord/smali_classes2/okio/a$a.smali
Normal file
93
com.discord/smali_classes2/okio/a$a.smali
Normal file
|
@ -0,0 +1,93 @@
|
|||
.class final Lokio/a$a;
|
||||
.super Ljava/lang/Thread;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lokio/a;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x18
|
||||
name = "a"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method 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}, Lokio/a$a;->setDaemon(Z)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final run()V
|
||||
.locals 3
|
||||
|
||||
:catch_0
|
||||
:goto_0
|
||||
:try_start_0
|
||||
const-class v0, Lokio/a;
|
||||
|
||||
monitor-enter v0
|
||||
:try_end_0
|
||||
.catch Ljava/lang/InterruptedException; {:try_start_0 .. :try_end_0} :catch_0
|
||||
|
||||
:try_start_1
|
||||
invoke-static {}, Lokio/a;->IV()Lokio/a;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
if-nez v1, :cond_0
|
||||
|
||||
monitor-exit v0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
sget-object v2, Lokio/a;->cgD:Lokio/a;
|
||||
|
||||
if-ne v1, v2, :cond_1
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
sput-object v1, Lokio/a;->cgD:Lokio/a;
|
||||
|
||||
monitor-exit v0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_1
|
||||
monitor-exit v0
|
||||
:try_end_1
|
||||
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
||||
|
||||
:try_start_2
|
||||
invoke-virtual {v1}, Lokio/a;->Iy()V
|
||||
:try_end_2
|
||||
.catch Ljava/lang/InterruptedException; {:try_start_2 .. :try_end_2} :catch_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catchall_0
|
||||
move-exception v1
|
||||
|
||||
:try_start_3
|
||||
monitor-exit v0
|
||||
:try_end_3
|
||||
.catchall {:try_start_3 .. :try_end_3} :catchall_0
|
||||
|
||||
:try_start_4
|
||||
throw v1
|
||||
:try_end_4
|
||||
.catch Ljava/lang/InterruptedException; {:try_start_4 .. :try_end_4} :catch_0
|
||||
.end method
|
401
com.discord/smali_classes2/okio/b.smali
Normal file
401
com.discord/smali_classes2/okio/b.smali
Normal file
|
@ -0,0 +1,401 @@
|
|||
.class final Lokio/b;
|
||||
.super Ljava/lang/Object;
|
||||
|
||||
|
||||
# static fields
|
||||
.field private static final cgK:[B
|
||||
|
||||
.field private static final cgL:[B
|
||||
|
||||
|
||||
# direct methods
|
||||
.method static constructor <clinit>()V
|
||||
.locals 2
|
||||
|
||||
const/16 v0, 0x40
|
||||
|
||||
new-array v1, v0, [B
|
||||
|
||||
fill-array-data v1, :array_0
|
||||
|
||||
sput-object v1, Lokio/b;->cgK:[B
|
||||
|
||||
new-array v0, v0, [B
|
||||
|
||||
fill-array-data v0, :array_1
|
||||
|
||||
sput-object v0, Lokio/b;->cgL:[B
|
||||
|
||||
return-void
|
||||
|
||||
nop
|
||||
|
||||
:array_0
|
||||
.array-data 1
|
||||
0x41t
|
||||
0x42t
|
||||
0x43t
|
||||
0x44t
|
||||
0x45t
|
||||
0x46t
|
||||
0x47t
|
||||
0x48t
|
||||
0x49t
|
||||
0x4at
|
||||
0x4bt
|
||||
0x4ct
|
||||
0x4dt
|
||||
0x4et
|
||||
0x4ft
|
||||
0x50t
|
||||
0x51t
|
||||
0x52t
|
||||
0x53t
|
||||
0x54t
|
||||
0x55t
|
||||
0x56t
|
||||
0x57t
|
||||
0x58t
|
||||
0x59t
|
||||
0x5at
|
||||
0x61t
|
||||
0x62t
|
||||
0x63t
|
||||
0x64t
|
||||
0x65t
|
||||
0x66t
|
||||
0x67t
|
||||
0x68t
|
||||
0x69t
|
||||
0x6at
|
||||
0x6bt
|
||||
0x6ct
|
||||
0x6dt
|
||||
0x6et
|
||||
0x6ft
|
||||
0x70t
|
||||
0x71t
|
||||
0x72t
|
||||
0x73t
|
||||
0x74t
|
||||
0x75t
|
||||
0x76t
|
||||
0x77t
|
||||
0x78t
|
||||
0x79t
|
||||
0x7at
|
||||
0x30t
|
||||
0x31t
|
||||
0x32t
|
||||
0x33t
|
||||
0x34t
|
||||
0x35t
|
||||
0x36t
|
||||
0x37t
|
||||
0x38t
|
||||
0x39t
|
||||
0x2bt
|
||||
0x2ft
|
||||
.end array-data
|
||||
|
||||
:array_1
|
||||
.array-data 1
|
||||
0x41t
|
||||
0x42t
|
||||
0x43t
|
||||
0x44t
|
||||
0x45t
|
||||
0x46t
|
||||
0x47t
|
||||
0x48t
|
||||
0x49t
|
||||
0x4at
|
||||
0x4bt
|
||||
0x4ct
|
||||
0x4dt
|
||||
0x4et
|
||||
0x4ft
|
||||
0x50t
|
||||
0x51t
|
||||
0x52t
|
||||
0x53t
|
||||
0x54t
|
||||
0x55t
|
||||
0x56t
|
||||
0x57t
|
||||
0x58t
|
||||
0x59t
|
||||
0x5at
|
||||
0x61t
|
||||
0x62t
|
||||
0x63t
|
||||
0x64t
|
||||
0x65t
|
||||
0x66t
|
||||
0x67t
|
||||
0x68t
|
||||
0x69t
|
||||
0x6at
|
||||
0x6bt
|
||||
0x6ct
|
||||
0x6dt
|
||||
0x6et
|
||||
0x6ft
|
||||
0x70t
|
||||
0x71t
|
||||
0x72t
|
||||
0x73t
|
||||
0x74t
|
||||
0x75t
|
||||
0x76t
|
||||
0x77t
|
||||
0x78t
|
||||
0x79t
|
||||
0x7at
|
||||
0x30t
|
||||
0x31t
|
||||
0x32t
|
||||
0x33t
|
||||
0x34t
|
||||
0x35t
|
||||
0x36t
|
||||
0x37t
|
||||
0x38t
|
||||
0x39t
|
||||
0x2dt
|
||||
0x5ft
|
||||
.end array-data
|
||||
.end method
|
||||
|
||||
.method public static L([B)Ljava/lang/String;
|
||||
.locals 1
|
||||
|
||||
sget-object v0, Lokio/b;->cgK:[B
|
||||
|
||||
invoke-static {p0, v0}, Lokio/b;->b([B[B)Ljava/lang/String;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
.method private static b([B[B)Ljava/lang/String;
|
||||
.locals 8
|
||||
|
||||
array-length v0, p0
|
||||
|
||||
add-int/lit8 v0, v0, 0x2
|
||||
|
||||
div-int/lit8 v0, v0, 0x3
|
||||
|
||||
mul-int/lit8 v0, v0, 0x4
|
||||
|
||||
new-array v0, v0, [B
|
||||
|
||||
array-length v1, p0
|
||||
|
||||
array-length v2, p0
|
||||
|
||||
rem-int/lit8 v2, v2, 0x3
|
||||
|
||||
sub-int/2addr v1, v2
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
:goto_0
|
||||
if-ge v2, v1, :cond_0
|
||||
|
||||
add-int/lit8 v4, v3, 0x1
|
||||
|
||||
aget-byte v5, p0, v2
|
||||
|
||||
and-int/lit16 v5, v5, 0xff
|
||||
|
||||
shr-int/lit8 v5, v5, 0x2
|
||||
|
||||
aget-byte v5, p1, v5
|
||||
|
||||
aput-byte v5, v0, v3
|
||||
|
||||
add-int/lit8 v3, v4, 0x1
|
||||
|
||||
aget-byte v5, p0, v2
|
||||
|
||||
and-int/lit8 v5, v5, 0x3
|
||||
|
||||
shl-int/lit8 v5, v5, 0x4
|
||||
|
||||
add-int/lit8 v6, v2, 0x1
|
||||
|
||||
aget-byte v7, p0, v6
|
||||
|
||||
and-int/lit16 v7, v7, 0xff
|
||||
|
||||
shr-int/lit8 v7, v7, 0x4
|
||||
|
||||
or-int/2addr v5, v7
|
||||
|
||||
aget-byte v5, p1, v5
|
||||
|
||||
aput-byte v5, v0, v4
|
||||
|
||||
add-int/lit8 v4, v3, 0x1
|
||||
|
||||
aget-byte v5, p0, v6
|
||||
|
||||
and-int/lit8 v5, v5, 0xf
|
||||
|
||||
shl-int/lit8 v5, v5, 0x2
|
||||
|
||||
add-int/lit8 v6, v2, 0x2
|
||||
|
||||
aget-byte v7, p0, v6
|
||||
|
||||
and-int/lit16 v7, v7, 0xff
|
||||
|
||||
shr-int/lit8 v7, v7, 0x6
|
||||
|
||||
or-int/2addr v5, v7
|
||||
|
||||
aget-byte v5, p1, v5
|
||||
|
||||
aput-byte v5, v0, v3
|
||||
|
||||
add-int/lit8 v3, v4, 0x1
|
||||
|
||||
aget-byte v5, p0, v6
|
||||
|
||||
and-int/lit8 v5, v5, 0x3f
|
||||
|
||||
aget-byte v5, p1, v5
|
||||
|
||||
aput-byte v5, v0, v4
|
||||
|
||||
add-int/lit8 v2, v2, 0x3
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
array-length v2, p0
|
||||
|
||||
rem-int/lit8 v2, v2, 0x3
|
||||
|
||||
const/16 v4, 0x3d
|
||||
|
||||
packed-switch v2, :pswitch_data_0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:pswitch_0
|
||||
add-int/lit8 v2, v3, 0x1
|
||||
|
||||
aget-byte v5, p0, v1
|
||||
|
||||
and-int/lit16 v5, v5, 0xff
|
||||
|
||||
shr-int/lit8 v5, v5, 0x2
|
||||
|
||||
aget-byte v5, p1, v5
|
||||
|
||||
aput-byte v5, v0, v3
|
||||
|
||||
add-int/lit8 v3, v2, 0x1
|
||||
|
||||
aget-byte v5, p0, v1
|
||||
|
||||
and-int/lit8 v5, v5, 0x3
|
||||
|
||||
shl-int/lit8 v5, v5, 0x4
|
||||
|
||||
add-int/lit8 v1, v1, 0x1
|
||||
|
||||
aget-byte v6, p0, v1
|
||||
|
||||
and-int/lit16 v6, v6, 0xff
|
||||
|
||||
shr-int/lit8 v6, v6, 0x4
|
||||
|
||||
or-int/2addr v5, v6
|
||||
|
||||
aget-byte v5, p1, v5
|
||||
|
||||
aput-byte v5, v0, v2
|
||||
|
||||
add-int/lit8 v2, v3, 0x1
|
||||
|
||||
aget-byte p0, p0, v1
|
||||
|
||||
and-int/lit8 p0, p0, 0xf
|
||||
|
||||
shl-int/lit8 p0, p0, 0x2
|
||||
|
||||
aget-byte p0, p1, p0
|
||||
|
||||
aput-byte p0, v0, v3
|
||||
|
||||
aput-byte v4, v0, v2
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:pswitch_1
|
||||
add-int/lit8 v2, v3, 0x1
|
||||
|
||||
aget-byte v5, p0, v1
|
||||
|
||||
and-int/lit16 v5, v5, 0xff
|
||||
|
||||
shr-int/lit8 v5, v5, 0x2
|
||||
|
||||
aget-byte v5, p1, v5
|
||||
|
||||
aput-byte v5, v0, v3
|
||||
|
||||
add-int/lit8 v3, v2, 0x1
|
||||
|
||||
aget-byte p0, p0, v1
|
||||
|
||||
and-int/lit8 p0, p0, 0x3
|
||||
|
||||
shl-int/lit8 p0, p0, 0x4
|
||||
|
||||
aget-byte p0, p1, p0
|
||||
|
||||
aput-byte p0, v0, v2
|
||||
|
||||
add-int/lit8 p0, v3, 0x1
|
||||
|
||||
aput-byte v4, v0, v3
|
||||
|
||||
aput-byte v4, v0, p0
|
||||
|
||||
:goto_1
|
||||
:try_start_0
|
||||
new-instance p0, Ljava/lang/String;
|
||||
|
||||
const-string p1, "US-ASCII"
|
||||
|
||||
invoke-direct {p0, v0, p1}, Ljava/lang/String;-><init>([BLjava/lang/String;)V
|
||||
:try_end_0
|
||||
.catch Ljava/io/UnsupportedEncodingException; {:try_start_0 .. :try_end_0} :catch_0
|
||||
|
||||
return-object p0
|
||||
|
||||
:catch_0
|
||||
move-exception p0
|
||||
|
||||
new-instance p1, Ljava/lang/AssertionError;
|
||||
|
||||
invoke-direct {p1, p0}, Ljava/lang/AssertionError;-><init>(Ljava/lang/Object;)V
|
||||
|
||||
throw p1
|
||||
|
||||
nop
|
||||
|
||||
:pswitch_data_0
|
||||
.packed-switch 0x1
|
||||
:pswitch_1
|
||||
:pswitch_0
|
||||
.end packed-switch
|
||||
.end method
|
87
com.discord/smali_classes2/okio/c$1.smali
Normal file
87
com.discord/smali_classes2/okio/c$1.smali
Normal file
|
@ -0,0 +1,87 @@
|
|||
.class public final Lokio/c$1;
|
||||
.super Ljava/io/OutputStream;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lokio/c;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x1
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field final synthetic cgO:Lokio/c;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lokio/c;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lokio/c$1;->cgO:Lokio/c;
|
||||
|
||||
invoke-direct {p0}, Ljava/io/OutputStream;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final close()V
|
||||
.locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final flush()V
|
||||
.locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final toString()Ljava/lang/String;
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
||||
|
||||
iget-object v1, p0, Lokio/c$1;->cgO:Lokio/c;
|
||||
|
||||
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 final write(I)V
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lokio/c$1;->cgO:Lokio/c;
|
||||
|
||||
int-to-byte p1, p1
|
||||
|
||||
invoke-virtual {v0, p1}, Lokio/c;->fs(I)Lokio/c;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final write([BII)V
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lokio/c$1;->cgO:Lokio/c;
|
||||
|
||||
invoke-virtual {v0, p1, p2, p3}, Lokio/c;->q([BII)Lokio/c;
|
||||
|
||||
return-void
|
||||
.end method
|
118
com.discord/smali_classes2/okio/c$2.smali
Normal file
118
com.discord/smali_classes2/okio/c$2.smali
Normal file
|
@ -0,0 +1,118 @@
|
|||
.class final Lokio/c$2;
|
||||
.super Ljava/io/InputStream;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lokio/c;->IZ()Ljava/io/InputStream;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x0
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field final synthetic cgO:Lokio/c;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>(Lokio/c;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lokio/c$2;->cgO:Lokio/c;
|
||||
|
||||
invoke-direct {p0}, Ljava/io/InputStream;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final available()I
|
||||
.locals 4
|
||||
|
||||
iget-object v0, p0, Lokio/c$2;->cgO:Lokio/c;
|
||||
|
||||
iget-wide v0, v0, Lokio/c;->size:J
|
||||
|
||||
const-wide/32 v2, 0x7fffffff
|
||||
|
||||
invoke-static {v0, v1, v2, v3}, Ljava/lang/Math;->min(JJ)J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
long-to-int v0, v0
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public final close()V
|
||||
.locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final read()I
|
||||
.locals 5
|
||||
|
||||
iget-object v0, p0, Lokio/c$2;->cgO:Lokio/c;
|
||||
|
||||
iget-wide v0, v0, Lokio/c;->size:J
|
||||
|
||||
const-wide/16 v2, 0x0
|
||||
|
||||
cmp-long v4, v0, v2
|
||||
|
||||
if-lez v4, :cond_0
|
||||
|
||||
iget-object v0, p0, Lokio/c$2;->cgO:Lokio/c;
|
||||
|
||||
invoke-virtual {v0}, Lokio/c;->readByte()B
|
||||
|
||||
move-result v0
|
||||
|
||||
and-int/lit16 v0, v0, 0xff
|
||||
|
||||
return v0
|
||||
|
||||
:cond_0
|
||||
const/4 v0, -0x1
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public final read([BII)I
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lokio/c$2;->cgO:Lokio/c;
|
||||
|
||||
invoke-virtual {v0, p1, p2, p3}, Lokio/c;->read([BII)I
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public final toString()Ljava/lang/String;
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
||||
|
||||
iget-object v1, p0, Lokio/c$2;->cgO:Lokio/c;
|
||||
|
||||
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
|
354
com.discord/smali_classes2/okio/c$a.smali
Normal file
354
com.discord/smali_classes2/okio/c$a.smali
Normal file
|
@ -0,0 +1,354 @@
|
|||
.class public final Lokio/c$a;
|
||||
.super Ljava/lang/Object;
|
||||
|
||||
# interfaces
|
||||
.implements Ljava/io/Closeable;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lokio/c;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "a"
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public cgP:Z
|
||||
|
||||
.field private cgQ:Lokio/m;
|
||||
|
||||
.field public cgn:Lokio/c;
|
||||
|
||||
.field public data:[B
|
||||
|
||||
.field public end:I
|
||||
|
||||
.field public offset:J
|
||||
|
||||
.field public start: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, Lokio/c$a;->offset:J
|
||||
|
||||
const/4 v0, -0x1
|
||||
|
||||
iput v0, p0, Lokio/c$a;->start:I
|
||||
|
||||
iput v0, p0, Lokio/c$a;->end:I
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final bh(J)I
|
||||
.locals 11
|
||||
|
||||
const-wide/16 v0, -0x1
|
||||
|
||||
cmp-long v2, p1, v0
|
||||
|
||||
if-ltz v2, :cond_8
|
||||
|
||||
iget-object v2, p0, Lokio/c$a;->cgn:Lokio/c;
|
||||
|
||||
iget-wide v2, v2, Lokio/c;->size:J
|
||||
|
||||
cmp-long v4, p1, v2
|
||||
|
||||
if-gtz v4, :cond_8
|
||||
|
||||
cmp-long v2, p1, v0
|
||||
|
||||
if-eqz v2, :cond_7
|
||||
|
||||
iget-object v0, p0, Lokio/c$a;->cgn:Lokio/c;
|
||||
|
||||
iget-wide v0, v0, Lokio/c;->size:J
|
||||
|
||||
cmp-long v2, p1, v0
|
||||
|
||||
if-nez v2, :cond_0
|
||||
|
||||
goto/16 :goto_3
|
||||
|
||||
:cond_0
|
||||
const-wide/16 v0, 0x0
|
||||
|
||||
iget-object v2, p0, Lokio/c$a;->cgn:Lokio/c;
|
||||
|
||||
iget-wide v2, v2, Lokio/c;->size:J
|
||||
|
||||
iget-object v4, p0, Lokio/c$a;->cgn:Lokio/c;
|
||||
|
||||
iget-object v4, v4, Lokio/c;->cgN:Lokio/m;
|
||||
|
||||
iget-object v5, p0, Lokio/c$a;->cgn:Lokio/c;
|
||||
|
||||
iget-object v5, v5, Lokio/c;->cgN:Lokio/m;
|
||||
|
||||
iget-object v6, p0, Lokio/c$a;->cgQ:Lokio/m;
|
||||
|
||||
if-eqz v6, :cond_2
|
||||
|
||||
iget-wide v6, p0, Lokio/c$a;->offset:J
|
||||
|
||||
iget v8, p0, Lokio/c$a;->start:I
|
||||
|
||||
iget-object v9, p0, Lokio/c$a;->cgQ:Lokio/m;
|
||||
|
||||
iget v9, v9, Lokio/m;->pos:I
|
||||
|
||||
sub-int/2addr v8, v9
|
||||
|
||||
int-to-long v8, v8
|
||||
|
||||
sub-long/2addr v6, v8
|
||||
|
||||
cmp-long v8, v6, p1
|
||||
|
||||
if-lez v8, :cond_1
|
||||
|
||||
iget-object v5, p0, Lokio/c$a;->cgQ:Lokio/m;
|
||||
|
||||
move-wide v2, v6
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
iget-object v4, p0, Lokio/c$a;->cgQ:Lokio/m;
|
||||
|
||||
move-wide v0, v6
|
||||
|
||||
:cond_2
|
||||
:goto_0
|
||||
const/4 v6, 0x0
|
||||
|
||||
sub-long v6, v2, p1
|
||||
|
||||
sub-long v8, p1, v0
|
||||
|
||||
cmp-long v10, v6, v8
|
||||
|
||||
if-lez v10, :cond_3
|
||||
|
||||
:goto_1
|
||||
iget v2, v4, Lokio/m;->limit:I
|
||||
|
||||
iget v3, v4, Lokio/m;->pos:I
|
||||
|
||||
sub-int/2addr v2, v3
|
||||
|
||||
int-to-long v2, v2
|
||||
|
||||
add-long/2addr v2, v0
|
||||
|
||||
cmp-long v5, p1, v2
|
||||
|
||||
if-ltz v5, :cond_4
|
||||
|
||||
iget v2, v4, Lokio/m;->limit:I
|
||||
|
||||
iget v3, v4, Lokio/m;->pos:I
|
||||
|
||||
sub-int/2addr v2, v3
|
||||
|
||||
int-to-long v2, v2
|
||||
|
||||
add-long/2addr v0, v2
|
||||
|
||||
iget-object v4, v4, Lokio/m;->chg:Lokio/m;
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_3
|
||||
move-wide v0, v2
|
||||
|
||||
move-object v4, v5
|
||||
|
||||
:goto_2
|
||||
cmp-long v2, v0, p1
|
||||
|
||||
if-lez v2, :cond_4
|
||||
|
||||
iget-object v4, v4, Lokio/m;->chh:Lokio/m;
|
||||
|
||||
iget v2, v4, Lokio/m;->limit:I
|
||||
|
||||
iget v3, v4, Lokio/m;->pos:I
|
||||
|
||||
sub-int/2addr v2, v3
|
||||
|
||||
int-to-long v2, v2
|
||||
|
||||
sub-long/2addr v0, v2
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:cond_4
|
||||
iget-boolean v2, p0, Lokio/c$a;->cgP:Z
|
||||
|
||||
if-eqz v2, :cond_6
|
||||
|
||||
iget-boolean v2, v4, Lokio/m;->chf:Z
|
||||
|
||||
if-eqz v2, :cond_6
|
||||
|
||||
invoke-virtual {v4}, Lokio/m;->Jx()Lokio/m;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
iget-object v3, p0, Lokio/c$a;->cgn:Lokio/c;
|
||||
|
||||
iget-object v3, v3, Lokio/c;->cgN:Lokio/m;
|
||||
|
||||
if-ne v3, v4, :cond_5
|
||||
|
||||
iget-object v3, p0, Lokio/c$a;->cgn:Lokio/c;
|
||||
|
||||
iput-object v2, v3, Lokio/c;->cgN:Lokio/m;
|
||||
|
||||
:cond_5
|
||||
invoke-virtual {v4, v2}, Lokio/m;->a(Lokio/m;)Lokio/m;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
iget-object v2, v4, Lokio/m;->chh:Lokio/m;
|
||||
|
||||
invoke-virtual {v2}, Lokio/m;->Jy()Lokio/m;
|
||||
|
||||
:cond_6
|
||||
iput-object v4, p0, Lokio/c$a;->cgQ:Lokio/m;
|
||||
|
||||
iput-wide p1, p0, Lokio/c$a;->offset:J
|
||||
|
||||
iget-object v2, v4, Lokio/m;->data:[B
|
||||
|
||||
iput-object v2, p0, Lokio/c$a;->data:[B
|
||||
|
||||
iget v2, v4, Lokio/m;->pos:I
|
||||
|
||||
sub-long/2addr p1, v0
|
||||
|
||||
long-to-int p1, p1
|
||||
|
||||
add-int/2addr v2, p1
|
||||
|
||||
iput v2, p0, Lokio/c$a;->start:I
|
||||
|
||||
iget p1, v4, Lokio/m;->limit:I
|
||||
|
||||
iput p1, p0, Lokio/c$a;->end:I
|
||||
|
||||
iget p1, p0, Lokio/c$a;->end:I
|
||||
|
||||
iget p2, p0, Lokio/c$a;->start:I
|
||||
|
||||
sub-int/2addr p1, p2
|
||||
|
||||
return p1
|
||||
|
||||
:cond_7
|
||||
:goto_3
|
||||
const/4 v0, 0x0
|
||||
|
||||
iput-object v0, p0, Lokio/c$a;->cgQ:Lokio/m;
|
||||
|
||||
iput-wide p1, p0, Lokio/c$a;->offset:J
|
||||
|
||||
iput-object v0, p0, Lokio/c$a;->data:[B
|
||||
|
||||
const/4 p1, -0x1
|
||||
|
||||
iput p1, p0, Lokio/c$a;->start:I
|
||||
|
||||
iput p1, p0, Lokio/c$a;->end:I
|
||||
|
||||
return p1
|
||||
|
||||
:cond_8
|
||||
new-instance v0, Ljava/lang/ArrayIndexOutOfBoundsException;
|
||||
|
||||
const/4 v1, 0x2
|
||||
|
||||
new-array v1, v1, [Ljava/lang/Object;
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
aput-object p1, v1, v2
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
iget-object p2, p0, Lokio/c$a;->cgn:Lokio/c;
|
||||
|
||||
iget-wide v2, p2, Lokio/c;->size:J
|
||||
|
||||
invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
aput-object p2, v1, p1
|
||||
|
||||
const-string p1, "offset=%s > size=%s"
|
||||
|
||||
invoke-static {p1, v1}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-direct {v0, p1}, Ljava/lang/ArrayIndexOutOfBoundsException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method public final close()V
|
||||
.locals 3
|
||||
|
||||
iget-object v0, p0, Lokio/c$a;->cgn:Lokio/c;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
iput-object v0, p0, Lokio/c$a;->cgn:Lokio/c;
|
||||
|
||||
iput-object v0, p0, Lokio/c$a;->cgQ:Lokio/m;
|
||||
|
||||
const-wide/16 v1, -0x1
|
||||
|
||||
iput-wide v1, p0, Lokio/c$a;->offset:J
|
||||
|
||||
iput-object v0, p0, Lokio/c$a;->data:[B
|
||||
|
||||
const/4 v0, -0x1
|
||||
|
||||
iput v0, p0, Lokio/c$a;->start:I
|
||||
|
||||
iput v0, p0, Lokio/c$a;->end:I
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
new-instance v0, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string v1, "not attached to a buffer"
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
139
com.discord/smali_classes2/okio/e.smali
Normal file
139
com.discord/smali_classes2/okio/e.smali
Normal file
|
@ -0,0 +1,139 @@
|
|||
.class public abstract Lokio/e;
|
||||
.super Ljava/lang/Object;
|
||||
|
||||
# interfaces
|
||||
.implements Lokio/p;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field private final delegate:Lokio/p;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lokio/p;)V
|
||||
.locals 1
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
iput-object p1, p0, Lokio/e;->delegate:Lokio/p;
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Ljava/lang/IllegalArgumentException;
|
||||
|
||||
const-string v0, "delegate == null"
|
||||
|
||||
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public close()V
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Lokio/e;->delegate:Lokio/p;
|
||||
|
||||
invoke-interface {v0}, Lokio/p;->close()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final delegate()Lokio/p;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lokio/e;->delegate:Lokio/p;
|
||||
|
||||
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, Lokio/e;->delegate:Lokio/p;
|
||||
|
||||
invoke-interface {v0}, Lokio/p;->flush()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public timeout()Lokio/r;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lokio/e;->delegate:Lokio/p;
|
||||
|
||||
invoke-interface {v0}, Lokio/p;->timeout()Lokio/r;
|
||||
|
||||
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-string v1, "("
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
iget-object v1, p0, Lokio/e;->delegate:Lokio/p;
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v1, ")"
|
||||
|
||||
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(Lokio/c;J)V
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Lokio/e;->delegate:Lokio/p;
|
||||
|
||||
invoke-interface {v0, p1, p2, p3}, Lokio/p;->write(Lokio/c;J)V
|
||||
|
||||
return-void
|
||||
.end method
|
118
com.discord/smali_classes2/okio/f.smali
Normal file
118
com.discord/smali_classes2/okio/f.smali
Normal file
|
@ -0,0 +1,118 @@
|
|||
.class public abstract Lokio/f;
|
||||
.super Ljava/lang/Object;
|
||||
|
||||
# interfaces
|
||||
.implements Lokio/q;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field protected final cgT:Lokio/q;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lokio/q;)V
|
||||
.locals 1
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
iput-object p1, p0, Lokio/f;->cgT:Lokio/q;
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Ljava/lang/IllegalArgumentException;
|
||||
|
||||
const-string v0, "delegate == null"
|
||||
|
||||
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public a(Lokio/c;J)J
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Lokio/f;->cgT:Lokio/q;
|
||||
|
||||
invoke-interface {v0, p1, p2, p3}, Lokio/q;->a(Lokio/c;J)J
|
||||
|
||||
move-result-wide p1
|
||||
|
||||
return-wide p1
|
||||
.end method
|
||||
|
||||
.method public close()V
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Lokio/f;->cgT:Lokio/q;
|
||||
|
||||
invoke-interface {v0}, Lokio/q;->close()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public timeout()Lokio/r;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lokio/f;->cgT:Lokio/q;
|
||||
|
||||
invoke-interface {v0}, Lokio/q;->timeout()Lokio/r;
|
||||
|
||||
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-string v1, "("
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
iget-object v1, p0, Lokio/f;->cgT:Lokio/q;
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v1, ")"
|
||||
|
||||
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
|
130
com.discord/smali_classes2/okio/g.smali
Normal file
130
com.discord/smali_classes2/okio/g.smali
Normal file
|
@ -0,0 +1,130 @@
|
|||
.class public final Lokio/g;
|
||||
.super Lokio/r;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public cgU:Lokio/r;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lokio/r;)V
|
||||
.locals 1
|
||||
|
||||
invoke-direct {p0}, Lokio/r;-><init>()V
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
iput-object p1, p0, Lokio/g;->cgU:Lokio/r;
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Ljava/lang/IllegalArgumentException;
|
||||
|
||||
const-string v0, "delegate == null"
|
||||
|
||||
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final Jp()J
|
||||
.locals 2
|
||||
|
||||
iget-object v0, p0, Lokio/g;->cgU:Lokio/r;
|
||||
|
||||
invoke-virtual {v0}, Lokio/r;->Jp()J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
return-wide v0
|
||||
.end method
|
||||
|
||||
.method public final Jq()Z
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lokio/g;->cgU:Lokio/r;
|
||||
|
||||
invoke-virtual {v0}, Lokio/r;->Jq()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public final Jr()J
|
||||
.locals 2
|
||||
|
||||
iget-object v0, p0, Lokio/g;->cgU:Lokio/r;
|
||||
|
||||
invoke-virtual {v0}, Lokio/r;->Jr()J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
return-wide v0
|
||||
.end method
|
||||
|
||||
.method public final Js()Lokio/r;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lokio/g;->cgU:Lokio/r;
|
||||
|
||||
invoke-virtual {v0}, Lokio/r;->Js()Lokio/r;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final Jt()Lokio/r;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lokio/g;->cgU:Lokio/r;
|
||||
|
||||
invoke-virtual {v0}, Lokio/r;->Jt()Lokio/r;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final Ju()V
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Lokio/g;->cgU:Lokio/r;
|
||||
|
||||
invoke-virtual {v0}, Lokio/r;->Ju()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final bi(J)Lokio/r;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lokio/g;->cgU:Lokio/r;
|
||||
|
||||
invoke-virtual {v0, p1, p2}, Lokio/r;->bi(J)Lokio/r;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public final d(JLjava/util/concurrent/TimeUnit;)Lokio/r;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lokio/g;->cgU:Lokio/r;
|
||||
|
||||
invoke-virtual {v0, p1, p2, p3}, Lokio/r;->d(JLjava/util/concurrent/TimeUnit;)Lokio/r;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
658
com.discord/smali_classes2/okio/h.smali
Normal file
658
com.discord/smali_classes2/okio/h.smali
Normal file
|
@ -0,0 +1,658 @@
|
|||
.class public final Lokio/h;
|
||||
.super Ljava/lang/Object;
|
||||
|
||||
# interfaces
|
||||
.implements Lokio/q;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field private final caF:Lokio/d;
|
||||
|
||||
.field private cgV:I
|
||||
|
||||
.field private final cgW:Lokio/i;
|
||||
|
||||
.field private final crc:Ljava/util/zip/CRC32;
|
||||
|
||||
.field private final inflater:Ljava/util/zip/Inflater;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lokio/q;)V
|
||||
.locals 2
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
iput v0, p0, Lokio/h;->cgV:I
|
||||
|
||||
new-instance v0, Ljava/util/zip/CRC32;
|
||||
|
||||
invoke-direct {v0}, Ljava/util/zip/CRC32;-><init>()V
|
||||
|
||||
iput-object v0, p0, Lokio/h;->crc:Ljava/util/zip/CRC32;
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
new-instance v0, Ljava/util/zip/Inflater;
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/util/zip/Inflater;-><init>(Z)V
|
||||
|
||||
iput-object v0, p0, Lokio/h;->inflater:Ljava/util/zip/Inflater;
|
||||
|
||||
invoke-static {p1}, Lokio/j;->b(Lokio/q;)Lokio/d;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
iput-object p1, p0, Lokio/h;->caF:Lokio/d;
|
||||
|
||||
new-instance p1, Lokio/i;
|
||||
|
||||
iget-object v0, p0, Lokio/h;->caF:Lokio/d;
|
||||
|
||||
iget-object v1, p0, Lokio/h;->inflater:Ljava/util/zip/Inflater;
|
||||
|
||||
invoke-direct {p1, v0, v1}, Lokio/i;-><init>(Lokio/d;Ljava/util/zip/Inflater;)V
|
||||
|
||||
iput-object p1, p0, Lokio/h;->cgW:Lokio/i;
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Ljava/lang/IllegalArgumentException;
|
||||
|
||||
const-string v0, "source == null"
|
||||
|
||||
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method private b(Lokio/c;JJ)V
|
||||
.locals 4
|
||||
|
||||
iget-object p1, p1, Lokio/c;->cgN:Lokio/m;
|
||||
|
||||
:goto_0
|
||||
iget v0, p1, Lokio/m;->limit:I
|
||||
|
||||
iget v1, p1, Lokio/m;->pos:I
|
||||
|
||||
sub-int/2addr v0, v1
|
||||
|
||||
int-to-long v0, v0
|
||||
|
||||
cmp-long v2, p2, v0
|
||||
|
||||
if-ltz v2, :cond_0
|
||||
|
||||
iget v0, p1, Lokio/m;->limit:I
|
||||
|
||||
iget v1, p1, Lokio/m;->pos:I
|
||||
|
||||
sub-int/2addr v0, v1
|
||||
|
||||
int-to-long v0, v0
|
||||
|
||||
sub-long/2addr p2, v0
|
||||
|
||||
iget-object p1, p1, Lokio/m;->chg:Lokio/m;
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const-wide/16 v0, 0x0
|
||||
|
||||
:goto_1
|
||||
cmp-long v2, p4, v0
|
||||
|
||||
if-lez v2, :cond_1
|
||||
|
||||
iget v2, p1, Lokio/m;->pos:I
|
||||
|
||||
int-to-long v2, v2
|
||||
|
||||
add-long/2addr v2, p2
|
||||
|
||||
long-to-int p2, v2
|
||||
|
||||
iget p3, p1, Lokio/m;->limit:I
|
||||
|
||||
sub-int/2addr p3, p2
|
||||
|
||||
int-to-long v2, p3
|
||||
|
||||
invoke-static {v2, v3, p4, p5}, Ljava/lang/Math;->min(JJ)J
|
||||
|
||||
move-result-wide v2
|
||||
|
||||
long-to-int p3, v2
|
||||
|
||||
iget-object v2, p0, Lokio/h;->crc:Ljava/util/zip/CRC32;
|
||||
|
||||
iget-object v3, p1, Lokio/m;->data:[B
|
||||
|
||||
invoke-virtual {v2, v3, p2, p3}, Ljava/util/zip/CRC32;->update([BII)V
|
||||
|
||||
int-to-long p2, p3
|
||||
|
||||
sub-long/2addr p4, p2
|
||||
|
||||
iget-object p1, p1, Lokio/m;->chg:Lokio/m;
|
||||
|
||||
move-wide p2, v0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method private static q(Ljava/lang/String;II)V
|
||||
.locals 3
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
if-ne p2, p1, :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 p0, v1, v2
|
||||
|
||||
const/4 p0, 0x1
|
||||
|
||||
invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
aput-object p2, v1, p0
|
||||
|
||||
const/4 p0, 0x2
|
||||
|
||||
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
aput-object p1, v1, p0
|
||||
|
||||
const-string p0, "%s: actual 0x%08x != expected 0x%08x"
|
||||
|
||||
invoke-static {p0, v1}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
invoke-direct {v0, p0}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final a(Lokio/c;J)J
|
||||
.locals 19
|
||||
.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
|
||||
|
||||
const-wide/16 v0, 0x0
|
||||
|
||||
cmp-long v2, v8, v0
|
||||
|
||||
if-ltz v2, :cond_12
|
||||
|
||||
cmp-long v2, v8, v0
|
||||
|
||||
if-nez v2, :cond_0
|
||||
|
||||
return-wide v0
|
||||
|
||||
:cond_0
|
||||
iget v0, v6, Lokio/h;->cgV:I
|
||||
|
||||
const-wide/16 v10, -0x1
|
||||
|
||||
const/4 v12, 0x1
|
||||
|
||||
if-nez v0, :cond_d
|
||||
|
||||
iget-object v0, v6, Lokio/h;->caF:Lokio/d;
|
||||
|
||||
const-wide/16 v1, 0xa
|
||||
|
||||
invoke-interface {v0, v1, v2}, Lokio/d;->aV(J)V
|
||||
|
||||
iget-object v0, v6, Lokio/h;->caF:Lokio/d;
|
||||
|
||||
invoke-interface {v0}, Lokio/d;->IW()Lokio/c;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const-wide/16 v1, 0x3
|
||||
|
||||
invoke-virtual {v0, v1, v2}, Lokio/c;->aW(J)B
|
||||
|
||||
move-result v13
|
||||
|
||||
shr-int/lit8 v0, v13, 0x1
|
||||
|
||||
and-int/2addr v0, v12
|
||||
|
||||
if-ne v0, v12, :cond_1
|
||||
|
||||
const/4 v14, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
const/4 v0, 0x0
|
||||
|
||||
const/4 v14, 0x0
|
||||
|
||||
:goto_0
|
||||
if-eqz v14, :cond_2
|
||||
|
||||
iget-object v0, v6, Lokio/h;->caF:Lokio/d;
|
||||
|
||||
invoke-interface {v0}, Lokio/d;->IW()Lokio/c;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
const-wide/16 v2, 0x0
|
||||
|
||||
const-wide/16 v4, 0xa
|
||||
|
||||
move-object/from16 v0, p0
|
||||
|
||||
invoke-direct/range {v0 .. v5}, Lokio/h;->b(Lokio/c;JJ)V
|
||||
|
||||
:cond_2
|
||||
iget-object v0, v6, Lokio/h;->caF:Lokio/d;
|
||||
|
||||
invoke-interface {v0}, Lokio/d;->readShort()S
|
||||
|
||||
move-result v0
|
||||
|
||||
const-string v1, "ID1ID2"
|
||||
|
||||
const/16 v2, 0x1f8b
|
||||
|
||||
invoke-static {v1, v2, v0}, Lokio/h;->q(Ljava/lang/String;II)V
|
||||
|
||||
iget-object v0, v6, Lokio/h;->caF:Lokio/d;
|
||||
|
||||
const-wide/16 v1, 0x8
|
||||
|
||||
invoke-interface {v0, v1, v2}, Lokio/d;->bc(J)V
|
||||
|
||||
shr-int/lit8 v0, v13, 0x2
|
||||
|
||||
and-int/2addr v0, v12
|
||||
|
||||
if-ne v0, v12, :cond_5
|
||||
|
||||
iget-object v0, v6, Lokio/h;->caF:Lokio/d;
|
||||
|
||||
const-wide/16 v1, 0x2
|
||||
|
||||
invoke-interface {v0, v1, v2}, Lokio/d;->aV(J)V
|
||||
|
||||
if-eqz v14, :cond_3
|
||||
|
||||
iget-object v0, v6, Lokio/h;->caF:Lokio/d;
|
||||
|
||||
invoke-interface {v0}, Lokio/d;->IW()Lokio/c;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
const-wide/16 v2, 0x0
|
||||
|
||||
const-wide/16 v4, 0x2
|
||||
|
||||
move-object/from16 v0, p0
|
||||
|
||||
invoke-direct/range {v0 .. v5}, Lokio/h;->b(Lokio/c;JJ)V
|
||||
|
||||
:cond_3
|
||||
iget-object v0, v6, Lokio/h;->caF:Lokio/d;
|
||||
|
||||
invoke-interface {v0}, Lokio/d;->IW()Lokio/c;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0}, Lokio/c;->Jb()S
|
||||
|
||||
move-result v0
|
||||
|
||||
iget-object v1, v6, Lokio/h;->caF:Lokio/d;
|
||||
|
||||
int-to-long v4, v0
|
||||
|
||||
invoke-interface {v1, v4, v5}, Lokio/d;->aV(J)V
|
||||
|
||||
if-eqz v14, :cond_4
|
||||
|
||||
iget-object v0, v6, Lokio/h;->caF:Lokio/d;
|
||||
|
||||
invoke-interface {v0}, Lokio/d;->IW()Lokio/c;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
const-wide/16 v2, 0x0
|
||||
|
||||
move-object/from16 v0, p0
|
||||
|
||||
move-wide v15, v4
|
||||
|
||||
invoke-direct/range {v0 .. v5}, Lokio/h;->b(Lokio/c;JJ)V
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_4
|
||||
move-wide v15, v4
|
||||
|
||||
:goto_1
|
||||
iget-object v0, v6, Lokio/h;->caF:Lokio/d;
|
||||
|
||||
move-wide v1, v15
|
||||
|
||||
invoke-interface {v0, v1, v2}, Lokio/d;->bc(J)V
|
||||
|
||||
:cond_5
|
||||
shr-int/lit8 v0, v13, 0x3
|
||||
|
||||
and-int/2addr v0, v12
|
||||
|
||||
const-wide/16 v15, 0x1
|
||||
|
||||
if-ne v0, v12, :cond_8
|
||||
|
||||
iget-object v0, v6, Lokio/h;->caF:Lokio/d;
|
||||
|
||||
invoke-interface {v0}, Lokio/d;->Jg()J
|
||||
|
||||
move-result-wide v17
|
||||
|
||||
cmp-long v0, v17, v10
|
||||
|
||||
if-eqz v0, :cond_7
|
||||
|
||||
if-eqz v14, :cond_6
|
||||
|
||||
iget-object v0, v6, Lokio/h;->caF:Lokio/d;
|
||||
|
||||
invoke-interface {v0}, Lokio/d;->IW()Lokio/c;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
const-wide/16 v2, 0x0
|
||||
|
||||
add-long v4, v17, v15
|
||||
|
||||
move-object/from16 v0, p0
|
||||
|
||||
invoke-direct/range {v0 .. v5}, Lokio/h;->b(Lokio/c;JJ)V
|
||||
|
||||
:cond_6
|
||||
iget-object v0, v6, Lokio/h;->caF:Lokio/d;
|
||||
|
||||
add-long v1, v17, v15
|
||||
|
||||
invoke-interface {v0, v1, v2}, Lokio/d;->bc(J)V
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:cond_7
|
||||
new-instance v0, Ljava/io/EOFException;
|
||||
|
||||
invoke-direct {v0}, Ljava/io/EOFException;-><init>()V
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_8
|
||||
:goto_2
|
||||
shr-int/lit8 v0, v13, 0x4
|
||||
|
||||
and-int/2addr v0, v12
|
||||
|
||||
if-ne v0, v12, :cond_b
|
||||
|
||||
iget-object v0, v6, Lokio/h;->caF:Lokio/d;
|
||||
|
||||
invoke-interface {v0}, Lokio/d;->Jg()J
|
||||
|
||||
move-result-wide v17
|
||||
|
||||
cmp-long v0, v17, v10
|
||||
|
||||
if-eqz v0, :cond_a
|
||||
|
||||
if-eqz v14, :cond_9
|
||||
|
||||
iget-object v0, v6, Lokio/h;->caF:Lokio/d;
|
||||
|
||||
invoke-interface {v0}, Lokio/d;->IW()Lokio/c;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
const-wide/16 v2, 0x0
|
||||
|
||||
add-long v4, v17, v15
|
||||
|
||||
move-object/from16 v0, p0
|
||||
|
||||
invoke-direct/range {v0 .. v5}, Lokio/h;->b(Lokio/c;JJ)V
|
||||
|
||||
:cond_9
|
||||
iget-object v0, v6, Lokio/h;->caF:Lokio/d;
|
||||
|
||||
add-long v1, v17, v15
|
||||
|
||||
invoke-interface {v0, v1, v2}, Lokio/d;->bc(J)V
|
||||
|
||||
goto :goto_3
|
||||
|
||||
:cond_a
|
||||
new-instance v0, Ljava/io/EOFException;
|
||||
|
||||
invoke-direct {v0}, Ljava/io/EOFException;-><init>()V
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_b
|
||||
:goto_3
|
||||
if-eqz v14, :cond_c
|
||||
|
||||
const-string v0, "FHCRC"
|
||||
|
||||
iget-object v1, v6, Lokio/h;->caF:Lokio/d;
|
||||
|
||||
invoke-interface {v1}, Lokio/d;->Jb()S
|
||||
|
||||
move-result v1
|
||||
|
||||
iget-object v2, v6, Lokio/h;->crc:Ljava/util/zip/CRC32;
|
||||
|
||||
invoke-virtual {v2}, Ljava/util/zip/CRC32;->getValue()J
|
||||
|
||||
move-result-wide v2
|
||||
|
||||
long-to-int v2, v2
|
||||
|
||||
int-to-short v2, v2
|
||||
|
||||
invoke-static {v0, v1, v2}, Lokio/h;->q(Ljava/lang/String;II)V
|
||||
|
||||
iget-object v0, v6, Lokio/h;->crc:Ljava/util/zip/CRC32;
|
||||
|
||||
invoke-virtual {v0}, Ljava/util/zip/CRC32;->reset()V
|
||||
|
||||
:cond_c
|
||||
iput v12, v6, Lokio/h;->cgV:I
|
||||
|
||||
:cond_d
|
||||
iget v0, v6, Lokio/h;->cgV:I
|
||||
|
||||
const/4 v1, 0x2
|
||||
|
||||
if-ne v0, v12, :cond_f
|
||||
|
||||
iget-wide v2, v7, Lokio/c;->size:J
|
||||
|
||||
iget-object v0, v6, Lokio/h;->cgW:Lokio/i;
|
||||
|
||||
invoke-virtual {v0, v7, v8, v9}, Lokio/i;->a(Lokio/c;J)J
|
||||
|
||||
move-result-wide v8
|
||||
|
||||
cmp-long v0, v8, v10
|
||||
|
||||
if-eqz v0, :cond_e
|
||||
|
||||
move-object/from16 v0, p0
|
||||
|
||||
move-object/from16 v1, p1
|
||||
|
||||
move-wide v4, v8
|
||||
|
||||
invoke-direct/range {v0 .. v5}, Lokio/h;->b(Lokio/c;JJ)V
|
||||
|
||||
return-wide v8
|
||||
|
||||
:cond_e
|
||||
iput v1, v6, Lokio/h;->cgV:I
|
||||
|
||||
:cond_f
|
||||
iget v0, v6, Lokio/h;->cgV:I
|
||||
|
||||
if-ne v0, v1, :cond_11
|
||||
|
||||
const-string v0, "CRC"
|
||||
|
||||
iget-object v1, v6, Lokio/h;->caF:Lokio/d;
|
||||
|
||||
invoke-interface {v1}, Lokio/d;->Jc()I
|
||||
|
||||
move-result v1
|
||||
|
||||
iget-object v2, v6, Lokio/h;->crc:Ljava/util/zip/CRC32;
|
||||
|
||||
invoke-virtual {v2}, Ljava/util/zip/CRC32;->getValue()J
|
||||
|
||||
move-result-wide v2
|
||||
|
||||
long-to-int v2, v2
|
||||
|
||||
invoke-static {v0, v1, v2}, Lokio/h;->q(Ljava/lang/String;II)V
|
||||
|
||||
const-string v0, "ISIZE"
|
||||
|
||||
iget-object v1, v6, Lokio/h;->caF:Lokio/d;
|
||||
|
||||
invoke-interface {v1}, Lokio/d;->Jc()I
|
||||
|
||||
move-result v1
|
||||
|
||||
iget-object v2, v6, Lokio/h;->inflater:Ljava/util/zip/Inflater;
|
||||
|
||||
invoke-virtual {v2}, Ljava/util/zip/Inflater;->getBytesWritten()J
|
||||
|
||||
move-result-wide v2
|
||||
|
||||
long-to-int v2, v2
|
||||
|
||||
invoke-static {v0, v1, v2}, Lokio/h;->q(Ljava/lang/String;II)V
|
||||
|
||||
const/4 v0, 0x3
|
||||
|
||||
iput v0, v6, Lokio/h;->cgV:I
|
||||
|
||||
iget-object v0, v6, Lokio/h;->caF:Lokio/d;
|
||||
|
||||
invoke-interface {v0}, Lokio/d;->IY()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_10
|
||||
|
||||
goto :goto_4
|
||||
|
||||
:cond_10
|
||||
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_11
|
||||
:goto_4
|
||||
return-wide v10
|
||||
|
||||
:cond_12
|
||||
new-instance v0, Ljava/lang/IllegalArgumentException;
|
||||
|
||||
invoke-static/range {p2 .. p3}, Ljava/lang/String;->valueOf(J)Ljava/lang/String;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
const-string v2, "byteCount < 0: "
|
||||
|
||||
invoke-virtual {v2, v1}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method public final close()V
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Lokio/h;->cgW:Lokio/i;
|
||||
|
||||
invoke-virtual {v0}, Lokio/i;->close()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final timeout()Lokio/r;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lokio/h;->caF:Lokio/d;
|
||||
|
||||
invoke-interface {v0}, Lokio/d;->timeout()Lokio/r;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
374
com.discord/smali_classes2/okio/i.smali
Normal file
374
com.discord/smali_classes2/okio/i.smali
Normal file
|
@ -0,0 +1,374 @@
|
|||
.class public final Lokio/i;
|
||||
.super Ljava/lang/Object;
|
||||
|
||||
# interfaces
|
||||
.implements Lokio/q;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field private final caF:Lokio/d;
|
||||
|
||||
.field private cgX:I
|
||||
|
||||
.field private closed:Z
|
||||
|
||||
.field private final inflater:Ljava/util/zip/Inflater;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>(Lokio/d;Ljava/util/zip/Inflater;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
if-eqz p2, :cond_0
|
||||
|
||||
iput-object p1, p0, Lokio/i;->caF:Lokio/d;
|
||||
|
||||
iput-object p2, p0, Lokio/i;->inflater:Ljava/util/zip/Inflater;
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Ljava/lang/IllegalArgumentException;
|
||||
|
||||
const-string p2, "inflater == null"
|
||||
|
||||
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_1
|
||||
new-instance p1, Ljava/lang/IllegalArgumentException;
|
||||
|
||||
const-string p2, "source == null"
|
||||
|
||||
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method private Jv()V
|
||||
.locals 4
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget v0, p0, Lokio/i;->cgX:I
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
iget v0, p0, Lokio/i;->cgX:I
|
||||
|
||||
iget-object v1, p0, Lokio/i;->inflater:Ljava/util/zip/Inflater;
|
||||
|
||||
invoke-virtual {v1}, Ljava/util/zip/Inflater;->getRemaining()I
|
||||
|
||||
move-result v1
|
||||
|
||||
sub-int/2addr v0, v1
|
||||
|
||||
iget v1, p0, Lokio/i;->cgX:I
|
||||
|
||||
sub-int/2addr v1, v0
|
||||
|
||||
iput v1, p0, Lokio/i;->cgX:I
|
||||
|
||||
iget-object v1, p0, Lokio/i;->caF:Lokio/d;
|
||||
|
||||
int-to-long v2, v0
|
||||
|
||||
invoke-interface {v1, v2, v3}, Lokio/d;->bc(J)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final a(Lokio/c;J)J
|
||||
.locals 6
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const-wide/16 v0, 0x0
|
||||
|
||||
cmp-long v2, p2, v0
|
||||
|
||||
if-ltz v2, :cond_a
|
||||
|
||||
iget-boolean v2, p0, Lokio/i;->closed:Z
|
||||
|
||||
if-nez v2, :cond_9
|
||||
|
||||
cmp-long v2, p2, v0
|
||||
|
||||
if-nez v2, :cond_0
|
||||
|
||||
return-wide v0
|
||||
|
||||
:cond_0
|
||||
:goto_0
|
||||
iget-object v0, p0, Lokio/i;->inflater:Ljava/util/zip/Inflater;
|
||||
|
||||
invoke-virtual {v0}, Ljava/util/zip/Inflater;->needsInput()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
if-nez v0, :cond_1
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
invoke-direct {p0}, Lokio/i;->Jv()V
|
||||
|
||||
iget-object v0, p0, Lokio/i;->inflater:Ljava/util/zip/Inflater;
|
||||
|
||||
invoke-virtual {v0}, Ljava/util/zip/Inflater;->getRemaining()I
|
||||
|
||||
move-result v0
|
||||
|
||||
if-nez v0, :cond_8
|
||||
|
||||
iget-object v0, p0, Lokio/i;->caF:Lokio/d;
|
||||
|
||||
invoke-interface {v0}, Lokio/d;->IY()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_2
|
||||
|
||||
const/4 v2, 0x1
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_2
|
||||
iget-object v0, p0, Lokio/i;->caF:Lokio/d;
|
||||
|
||||
invoke-interface {v0}, Lokio/d;->IW()Lokio/c;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
iget-object v0, v0, Lokio/c;->cgN:Lokio/m;
|
||||
|
||||
iget v3, v0, Lokio/m;->limit:I
|
||||
|
||||
iget v4, v0, Lokio/m;->pos:I
|
||||
|
||||
sub-int/2addr v3, v4
|
||||
|
||||
iput v3, p0, Lokio/i;->cgX:I
|
||||
|
||||
iget-object v3, p0, Lokio/i;->inflater:Ljava/util/zip/Inflater;
|
||||
|
||||
iget-object v4, v0, Lokio/m;->data:[B
|
||||
|
||||
iget v0, v0, Lokio/m;->pos:I
|
||||
|
||||
iget v5, p0, Lokio/i;->cgX:I
|
||||
|
||||
invoke-virtual {v3, v4, v0, v5}, Ljava/util/zip/Inflater;->setInput([BII)V
|
||||
|
||||
:goto_1
|
||||
:try_start_0
|
||||
invoke-virtual {p1, v1}, Lokio/c;->fv(I)Lokio/m;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
iget v1, v0, Lokio/m;->limit:I
|
||||
|
||||
rsub-int v1, v1, 0x2000
|
||||
|
||||
int-to-long v3, v1
|
||||
|
||||
invoke-static {p2, p3, v3, v4}, Ljava/lang/Math;->min(JJ)J
|
||||
|
||||
move-result-wide v3
|
||||
|
||||
long-to-int v1, v3
|
||||
|
||||
iget-object v3, p0, Lokio/i;->inflater:Ljava/util/zip/Inflater;
|
||||
|
||||
iget-object v4, v0, Lokio/m;->data:[B
|
||||
|
||||
iget v5, v0, Lokio/m;->limit:I
|
||||
|
||||
invoke-virtual {v3, v4, v5, v1}, Ljava/util/zip/Inflater;->inflate([BII)I
|
||||
|
||||
move-result v1
|
||||
|
||||
if-lez v1, :cond_3
|
||||
|
||||
iget p2, v0, Lokio/m;->limit:I
|
||||
|
||||
add-int/2addr p2, v1
|
||||
|
||||
iput p2, v0, Lokio/m;->limit:I
|
||||
|
||||
iget-wide p2, p1, Lokio/c;->size:J
|
||||
|
||||
int-to-long v0, v1
|
||||
|
||||
add-long/2addr p2, v0
|
||||
|
||||
iput-wide p2, p1, Lokio/c;->size:J
|
||||
|
||||
return-wide v0
|
||||
|
||||
:cond_3
|
||||
iget-object v1, p0, Lokio/i;->inflater:Ljava/util/zip/Inflater;
|
||||
|
||||
invoke-virtual {v1}, Ljava/util/zip/Inflater;->finished()Z
|
||||
|
||||
move-result v1
|
||||
|
||||
if-nez v1, :cond_6
|
||||
|
||||
iget-object v1, p0, Lokio/i;->inflater:Ljava/util/zip/Inflater;
|
||||
|
||||
invoke-virtual {v1}, Ljava/util/zip/Inflater;->needsDictionary()Z
|
||||
|
||||
move-result v1
|
||||
|
||||
if-eqz v1, :cond_4
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:cond_4
|
||||
if-nez v2, :cond_5
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_5
|
||||
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_6
|
||||
:goto_2
|
||||
invoke-direct {p0}, Lokio/i;->Jv()V
|
||||
|
||||
iget p2, v0, Lokio/m;->pos:I
|
||||
|
||||
iget p3, v0, Lokio/m;->limit:I
|
||||
|
||||
if-ne p2, p3, :cond_7
|
||||
|
||||
invoke-virtual {v0}, Lokio/m;->Jy()Lokio/m;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
iput-object p2, p1, Lokio/c;->cgN:Lokio/m;
|
||||
|
||||
invoke-static {v0}, Lokio/n;->b(Lokio/m;)V
|
||||
:try_end_0
|
||||
.catch Ljava/util/zip/DataFormatException; {:try_start_0 .. :try_end_0} :catch_0
|
||||
|
||||
:cond_7
|
||||
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_8
|
||||
new-instance p1, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string p2, "?"
|
||||
|
||||
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_9
|
||||
new-instance p1, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string p2, "closed"
|
||||
|
||||
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_a
|
||||
new-instance p1, Ljava/lang/IllegalArgumentException;
|
||||
|
||||
invoke-static {p2, p3}, Ljava/lang/String;->valueOf(J)Ljava/lang/String;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
const-string p3, "byteCount < 0: "
|
||||
|
||||
invoke-virtual {p3, p2}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public final close()V
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-boolean v0, p0, Lokio/i;->closed:Z
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
iget-object v0, p0, Lokio/i;->inflater:Ljava/util/zip/Inflater;
|
||||
|
||||
invoke-virtual {v0}, Ljava/util/zip/Inflater;->end()V
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
iput-boolean v0, p0, Lokio/i;->closed:Z
|
||||
|
||||
iget-object v0, p0, Lokio/i;->caF:Lokio/d;
|
||||
|
||||
invoke-interface {v0}, Lokio/d;->close()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final timeout()Lokio/r;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lokio/i;->caF:Lokio/d;
|
||||
|
||||
invoke-interface {v0}, Lokio/d;->timeout()Lokio/r;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
188
com.discord/smali_classes2/okio/j$1.smali
Normal file
188
com.discord/smali_classes2/okio/j$1.smali
Normal file
|
@ -0,0 +1,188 @@
|
|||
.class final Lokio/j$1;
|
||||
.super Ljava/lang/Object;
|
||||
|
||||
# interfaces
|
||||
.implements Lokio/p;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lokio/j;->a(Ljava/io/OutputStream;Lokio/r;)Lokio/p;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x0
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field final synthetic cgY:Lokio/r;
|
||||
|
||||
.field final synthetic cgZ:Ljava/io/OutputStream;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>(Lokio/r;Ljava/io/OutputStream;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lokio/j$1;->cgY:Lokio/r;
|
||||
|
||||
iput-object p2, p0, Lokio/j$1;->cgZ:Ljava/io/OutputStream;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final close()V
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Lokio/j$1;->cgZ:Ljava/io/OutputStream;
|
||||
|
||||
invoke-virtual {v0}, Ljava/io/OutputStream;->close()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final flush()V
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Lokio/j$1;->cgZ:Ljava/io/OutputStream;
|
||||
|
||||
invoke-virtual {v0}, Ljava/io/OutputStream;->flush()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final timeout()Lokio/r;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lokio/j$1;->cgY:Lokio/r;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final toString()Ljava/lang/String;
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v1, "sink("
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
||||
|
||||
iget-object v1, p0, Lokio/j$1;->cgZ:Ljava/io/OutputStream;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v1, ")"
|
||||
|
||||
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 final write(Lokio/c;J)V
|
||||
.locals 6
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-wide v0, p1, Lokio/c;->size:J
|
||||
|
||||
const-wide/16 v2, 0x0
|
||||
|
||||
move-wide v4, p2
|
||||
|
||||
invoke-static/range {v0 .. v5}, Lokio/s;->c(JJJ)V
|
||||
|
||||
:cond_0
|
||||
:goto_0
|
||||
const-wide/16 v0, 0x0
|
||||
|
||||
cmp-long v2, p2, v0
|
||||
|
||||
if-lez v2, :cond_1
|
||||
|
||||
iget-object v0, p0, Lokio/j$1;->cgY:Lokio/r;
|
||||
|
||||
invoke-virtual {v0}, Lokio/r;->Ju()V
|
||||
|
||||
iget-object v0, p1, Lokio/c;->cgN:Lokio/m;
|
||||
|
||||
iget v1, v0, Lokio/m;->limit:I
|
||||
|
||||
iget v2, v0, Lokio/m;->pos:I
|
||||
|
||||
sub-int/2addr v1, v2
|
||||
|
||||
int-to-long v1, v1
|
||||
|
||||
invoke-static {p2, p3, v1, v2}, Ljava/lang/Math;->min(JJ)J
|
||||
|
||||
move-result-wide v1
|
||||
|
||||
long-to-int v1, v1
|
||||
|
||||
iget-object v2, p0, Lokio/j$1;->cgZ:Ljava/io/OutputStream;
|
||||
|
||||
iget-object v3, v0, Lokio/m;->data:[B
|
||||
|
||||
iget v4, v0, Lokio/m;->pos:I
|
||||
|
||||
invoke-virtual {v2, v3, v4, v1}, Ljava/io/OutputStream;->write([BII)V
|
||||
|
||||
iget v2, v0, Lokio/m;->pos:I
|
||||
|
||||
add-int/2addr v2, v1
|
||||
|
||||
iput v2, v0, Lokio/m;->pos:I
|
||||
|
||||
int-to-long v1, v1
|
||||
|
||||
sub-long/2addr p2, v1
|
||||
|
||||
iget-wide v3, p1, Lokio/c;->size:J
|
||||
|
||||
sub-long/2addr v3, v1
|
||||
|
||||
iput-wide v3, p1, Lokio/c;->size:J
|
||||
|
||||
iget v1, v0, Lokio/m;->pos:I
|
||||
|
||||
iget v2, v0, Lokio/m;->limit:I
|
||||
|
||||
if-ne v1, v2, :cond_0
|
||||
|
||||
invoke-virtual {v0}, Lokio/m;->Jy()Lokio/m;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
iput-object v1, p1, Lokio/c;->cgN:Lokio/m;
|
||||
|
||||
invoke-static {v0}, Lokio/n;->b(Lokio/m;)V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
return-void
|
||||
.end method
|
202
com.discord/smali_classes2/okio/j$2.smali
Normal file
202
com.discord/smali_classes2/okio/j$2.smali
Normal file
|
@ -0,0 +1,202 @@
|
|||
.class final Lokio/j$2;
|
||||
.super Ljava/lang/Object;
|
||||
|
||||
# interfaces
|
||||
.implements Lokio/q;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lokio/j;->a(Ljava/io/InputStream;Lokio/r;)Lokio/q;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x0
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field final synthetic cgY:Lokio/r;
|
||||
|
||||
.field final synthetic cha:Ljava/io/InputStream;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>(Lokio/r;Ljava/io/InputStream;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lokio/j$2;->cgY:Lokio/r;
|
||||
|
||||
iput-object p2, p0, Lokio/j$2;->cha:Ljava/io/InputStream;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final a(Lokio/c;J)J
|
||||
.locals 3
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const-wide/16 v0, 0x0
|
||||
|
||||
cmp-long v2, p2, v0
|
||||
|
||||
if-ltz v2, :cond_3
|
||||
|
||||
cmp-long v2, p2, v0
|
||||
|
||||
if-nez v2, :cond_0
|
||||
|
||||
return-wide v0
|
||||
|
||||
:cond_0
|
||||
:try_start_0
|
||||
iget-object v0, p0, Lokio/j$2;->cgY:Lokio/r;
|
||||
|
||||
invoke-virtual {v0}, Lokio/r;->Ju()V
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
invoke-virtual {p1, v0}, Lokio/c;->fv(I)Lokio/m;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
iget v1, v0, Lokio/m;->limit: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 p2, p2
|
||||
|
||||
iget-object p3, p0, Lokio/j$2;->cha:Ljava/io/InputStream;
|
||||
|
||||
iget-object v1, v0, Lokio/m;->data:[B
|
||||
|
||||
iget v2, v0, Lokio/m;->limit:I
|
||||
|
||||
invoke-virtual {p3, v1, v2, p2}, Ljava/io/InputStream;->read([BII)I
|
||||
|
||||
move-result p2
|
||||
|
||||
const/4 p3, -0x1
|
||||
|
||||
if-ne p2, p3, :cond_1
|
||||
|
||||
const-wide/16 p1, -0x1
|
||||
|
||||
return-wide p1
|
||||
|
||||
:cond_1
|
||||
iget p3, v0, Lokio/m;->limit:I
|
||||
|
||||
add-int/2addr p3, p2
|
||||
|
||||
iput p3, v0, Lokio/m;->limit:I
|
||||
|
||||
iget-wide v0, p1, Lokio/c;->size:J
|
||||
|
||||
int-to-long p2, p2
|
||||
|
||||
add-long/2addr v0, p2
|
||||
|
||||
iput-wide v0, p1, Lokio/c;->size: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}, Lokio/j;->a(Ljava/lang/AssertionError;)Z
|
||||
|
||||
move-result p2
|
||||
|
||||
if-eqz p2, :cond_2
|
||||
|
||||
new-instance p2, Ljava/io/IOException;
|
||||
|
||||
invoke-direct {p2, p1}, Ljava/io/IOException;-><init>(Ljava/lang/Throwable;)V
|
||||
|
||||
throw p2
|
||||
|
||||
:cond_2
|
||||
throw p1
|
||||
|
||||
:cond_3
|
||||
new-instance p1, Ljava/lang/IllegalArgumentException;
|
||||
|
||||
invoke-static {p2, p3}, Ljava/lang/String;->valueOf(J)Ljava/lang/String;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
const-string p3, "byteCount < 0: "
|
||||
|
||||
invoke-virtual {p3, p2}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public final close()V
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Lokio/j$2;->cha:Ljava/io/InputStream;
|
||||
|
||||
invoke-virtual {v0}, Ljava/io/InputStream;->close()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final timeout()Lokio/r;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lokio/j$2;->cgY:Lokio/r;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final toString()Ljava/lang/String;
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v1, "source("
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
||||
|
||||
iget-object v1, p0, Lokio/j$2;->cha:Ljava/io/InputStream;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v1, ")"
|
||||
|
||||
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
|
329
com.discord/smali_classes2/okio/j.smali
Normal file
329
com.discord/smali_classes2/okio/j.smali
Normal file
|
@ -0,0 +1,329 @@
|
|||
.class public final Lokio/j;
|
||||
.super Ljava/lang/Object;
|
||||
|
||||
|
||||
# static fields
|
||||
.field static final logger:Ljava/util/logging/Logger;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method static constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
const-class v0, Lokio/j;
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/Class;->getName()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-static {v0}, Ljava/util/logging/Logger;->getLogger(Ljava/lang/String;)Ljava/util/logging/Logger;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
sput-object v0, Lokio/j;->logger:Ljava/util/logging/Logger;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method private constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static B(Ljava/io/File;)Lokio/q;
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/FileNotFoundException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
if-eqz p0, :cond_0
|
||||
|
||||
new-instance v0, Ljava/io/FileInputStream;
|
||||
|
||||
invoke-direct {v0, p0}, Ljava/io/FileInputStream;-><init>(Ljava/io/File;)V
|
||||
|
||||
invoke-static {v0}, Lokio/j;->t(Ljava/io/InputStream;)Lokio/q;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
return-object p0
|
||||
|
||||
:cond_0
|
||||
new-instance p0, Ljava/lang/IllegalArgumentException;
|
||||
|
||||
const-string v0, "file == null"
|
||||
|
||||
invoke-direct {p0, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p0
|
||||
.end method
|
||||
|
||||
.method private static a(Ljava/io/OutputStream;Lokio/r;)Lokio/p;
|
||||
.locals 1
|
||||
|
||||
if-eqz p0, :cond_1
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
new-instance v0, Lokio/j$1;
|
||||
|
||||
invoke-direct {v0, p1, p0}, Lokio/j$1;-><init>(Lokio/r;Ljava/io/OutputStream;)V
|
||||
|
||||
return-object v0
|
||||
|
||||
:cond_0
|
||||
new-instance p0, Ljava/lang/IllegalArgumentException;
|
||||
|
||||
const-string p1, "timeout == null"
|
||||
|
||||
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p0
|
||||
|
||||
:cond_1
|
||||
new-instance p0, Ljava/lang/IllegalArgumentException;
|
||||
|
||||
const-string p1, "out == null"
|
||||
|
||||
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p0
|
||||
.end method
|
||||
|
||||
.method private static a(Ljava/io/InputStream;Lokio/r;)Lokio/q;
|
||||
.locals 1
|
||||
|
||||
if-eqz p0, :cond_1
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
new-instance v0, Lokio/j$2;
|
||||
|
||||
invoke-direct {v0, p1, p0}, Lokio/j$2;-><init>(Lokio/r;Ljava/io/InputStream;)V
|
||||
|
||||
return-object v0
|
||||
|
||||
:cond_0
|
||||
new-instance p0, Ljava/lang/IllegalArgumentException;
|
||||
|
||||
const-string p1, "timeout == null"
|
||||
|
||||
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p0
|
||||
|
||||
:cond_1
|
||||
new-instance p0, Ljava/lang/IllegalArgumentException;
|
||||
|
||||
const-string p1, "in == null"
|
||||
|
||||
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p0
|
||||
.end method
|
||||
|
||||
.method static a(Ljava/lang/AssertionError;)Z
|
||||
.locals 1
|
||||
|
||||
invoke-virtual {p0}, Ljava/lang/AssertionError;->getCause()Ljava/lang/Throwable;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
invoke-virtual {p0}, Ljava/lang/AssertionError;->getMessage()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
invoke-virtual {p0}, Ljava/lang/AssertionError;->getMessage()Ljava/lang/String;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
const-string v0, "getsockname failed"
|
||||
|
||||
invoke-virtual {p0, v0}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z
|
||||
|
||||
move-result p0
|
||||
|
||||
if-eqz p0, :cond_0
|
||||
|
||||
const/4 p0, 0x1
|
||||
|
||||
return p0
|
||||
|
||||
:cond_0
|
||||
const/4 p0, 0x0
|
||||
|
||||
return p0
|
||||
.end method
|
||||
|
||||
.method public static b(Lokio/p;)Lokio/BufferedSink;
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lokio/k;
|
||||
|
||||
invoke-direct {v0, p0}, Lokio/k;-><init>(Lokio/p;)V
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public static b(Lokio/q;)Lokio/d;
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lokio/l;
|
||||
|
||||
invoke-direct {v0, p0}, Lokio/l;-><init>(Lokio/q;)V
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public static b(Ljava/io/OutputStream;)Lokio/p;
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lokio/r;
|
||||
|
||||
invoke-direct {v0}, Lokio/r;-><init>()V
|
||||
|
||||
invoke-static {p0, v0}, Lokio/j;->a(Ljava/io/OutputStream;Lokio/r;)Lokio/p;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
.method public static b(Ljava/net/Socket;)Lokio/p;
|
||||
.locals 2
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
if-eqz p0, :cond_1
|
||||
|
||||
invoke-virtual {p0}, Ljava/net/Socket;->getOutputStream()Ljava/io/OutputStream;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
invoke-static {p0}, Lokio/j;->d(Ljava/net/Socket;)Lokio/a;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {p0}, Ljava/net/Socket;->getOutputStream()Ljava/io/OutputStream;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
invoke-static {p0, v0}, Lokio/j;->a(Ljava/io/OutputStream;Lokio/r;)Lokio/p;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
new-instance v1, Lokio/a$1;
|
||||
|
||||
invoke-direct {v1, v0, p0}, Lokio/a$1;-><init>(Lokio/a;Lokio/p;)V
|
||||
|
||||
return-object v1
|
||||
|
||||
:cond_0
|
||||
new-instance p0, Ljava/io/IOException;
|
||||
|
||||
const-string v0, "socket\'s output stream == null"
|
||||
|
||||
invoke-direct {p0, v0}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p0
|
||||
|
||||
:cond_1
|
||||
new-instance p0, Ljava/lang/IllegalArgumentException;
|
||||
|
||||
const-string v0, "socket == null"
|
||||
|
||||
invoke-direct {p0, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p0
|
||||
.end method
|
||||
|
||||
.method public static c(Ljava/net/Socket;)Lokio/q;
|
||||
.locals 2
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
if-eqz p0, :cond_1
|
||||
|
||||
invoke-virtual {p0}, Ljava/net/Socket;->getInputStream()Ljava/io/InputStream;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
invoke-static {p0}, Lokio/j;->d(Ljava/net/Socket;)Lokio/a;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {p0}, Ljava/net/Socket;->getInputStream()Ljava/io/InputStream;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
invoke-static {p0, v0}, Lokio/j;->a(Ljava/io/InputStream;Lokio/r;)Lokio/q;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
new-instance v1, Lokio/a$2;
|
||||
|
||||
invoke-direct {v1, v0, p0}, Lokio/a$2;-><init>(Lokio/a;Lokio/q;)V
|
||||
|
||||
return-object v1
|
||||
|
||||
:cond_0
|
||||
new-instance p0, Ljava/io/IOException;
|
||||
|
||||
const-string v0, "socket\'s input stream == null"
|
||||
|
||||
invoke-direct {p0, v0}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p0
|
||||
|
||||
:cond_1
|
||||
new-instance p0, Ljava/lang/IllegalArgumentException;
|
||||
|
||||
const-string v0, "socket == null"
|
||||
|
||||
invoke-direct {p0, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p0
|
||||
.end method
|
||||
|
||||
.method private static d(Ljava/net/Socket;)Lokio/a;
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lokio/j$3;
|
||||
|
||||
invoke-direct {v0, p0}, Lokio/j$3;-><init>(Ljava/net/Socket;)V
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public static t(Ljava/io/InputStream;)Lokio/q;
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lokio/r;
|
||||
|
||||
invoke-direct {v0}, Lokio/r;-><init>()V
|
||||
|
||||
invoke-static {p0, v0}, Lokio/j;->a(Ljava/io/InputStream;Lokio/r;)Lokio/q;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
return-object p0
|
||||
.end method
|
711
com.discord/smali_classes2/okio/k.smali
Normal file
711
com.discord/smali_classes2/okio/k.smali
Normal file
|
@ -0,0 +1,711 @@
|
|||
.class final Lokio/k;
|
||||
.super Ljava/lang/Object;
|
||||
|
||||
# interfaces
|
||||
.implements Lokio/BufferedSink;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final cgn:Lokio/c;
|
||||
|
||||
.field public final chc:Lokio/p;
|
||||
|
||||
.field closed:Z
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>(Lokio/p;)V
|
||||
.locals 1
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
new-instance v0, Lokio/c;
|
||||
|
||||
invoke-direct {v0}, Lokio/c;-><init>()V
|
||||
|
||||
iput-object v0, p0, Lokio/k;->cgn:Lokio/c;
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
iput-object p1, p0, Lokio/k;->chc:Lokio/p;
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Ljava/lang/NullPointerException;
|
||||
|
||||
const-string v0, "sink == null"
|
||||
|
||||
invoke-direct {p1, v0}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final IW()Lokio/c;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lokio/k;->cgn:Lokio/c;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final IX()Lokio/BufferedSink;
|
||||
.locals 5
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-boolean v0, p0, Lokio/k;->closed:Z
|
||||
|
||||
if-nez v0, :cond_1
|
||||
|
||||
iget-object v0, p0, Lokio/k;->cgn:Lokio/c;
|
||||
|
||||
iget-wide v0, v0, Lokio/c;->size:J
|
||||
|
||||
const-wide/16 v2, 0x0
|
||||
|
||||
cmp-long v4, v0, v2
|
||||
|
||||
if-lez v4, :cond_0
|
||||
|
||||
iget-object v2, p0, Lokio/k;->chc:Lokio/p;
|
||||
|
||||
iget-object v3, p0, Lokio/k;->cgn:Lokio/c;
|
||||
|
||||
invoke-interface {v2, v3, v0, v1}, Lokio/p;->write(Lokio/c;J)V
|
||||
|
||||
:cond_0
|
||||
return-object p0
|
||||
|
||||
:cond_1
|
||||
new-instance v0, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string v1, "closed"
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method public final Ji()Lokio/BufferedSink;
|
||||
.locals 5
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-boolean v0, p0, Lokio/k;->closed:Z
|
||||
|
||||
if-nez v0, :cond_1
|
||||
|
||||
iget-object v0, p0, Lokio/k;->cgn:Lokio/c;
|
||||
|
||||
invoke-virtual {v0}, Lokio/c;->Ja()J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
const-wide/16 v2, 0x0
|
||||
|
||||
cmp-long v4, v0, v2
|
||||
|
||||
if-lez v4, :cond_0
|
||||
|
||||
iget-object v2, p0, Lokio/k;->chc:Lokio/p;
|
||||
|
||||
iget-object v3, p0, Lokio/k;->cgn:Lokio/c;
|
||||
|
||||
invoke-interface {v2, v3, v0, v1}, Lokio/p;->write(Lokio/c;J)V
|
||||
|
||||
:cond_0
|
||||
return-object p0
|
||||
|
||||
:cond_1
|
||||
new-instance v0, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string v1, "closed"
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method public final N([B)Lokio/BufferedSink;
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-boolean v0, p0, Lokio/k;->closed:Z
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Lokio/k;->cgn:Lokio/c;
|
||||
|
||||
invoke-virtual {v0, p1}, Lokio/c;->M([B)Lokio/c;
|
||||
|
||||
invoke-virtual {p0}, Lokio/k;->Ji()Lokio/BufferedSink;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string v0, "closed"
|
||||
|
||||
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public final a(Lokio/q;)J
|
||||
.locals 7
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
const-wide/16 v0, 0x0
|
||||
|
||||
:goto_0
|
||||
iget-object v2, p0, Lokio/k;->cgn:Lokio/c;
|
||||
|
||||
const-wide/16 v3, 0x2000
|
||||
|
||||
invoke-interface {p1, v2, v3, v4}, Lokio/q;->a(Lokio/c;J)J
|
||||
|
||||
move-result-wide v2
|
||||
|
||||
const-wide/16 v4, -0x1
|
||||
|
||||
cmp-long v6, v2, v4
|
||||
|
||||
if-eqz v6, :cond_0
|
||||
|
||||
add-long/2addr v0, v2
|
||||
|
||||
invoke-virtual {p0}, Lokio/k;->Ji()Lokio/BufferedSink;
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
return-wide v0
|
||||
|
||||
:cond_1
|
||||
new-instance p1, Ljava/lang/IllegalArgumentException;
|
||||
|
||||
const-string v0, "source == null"
|
||||
|
||||
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public final bf(J)Lokio/BufferedSink;
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-boolean v0, p0, Lokio/k;->closed:Z
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Lokio/k;->cgn:Lokio/c;
|
||||
|
||||
invoke-virtual {v0, p1, p2}, Lokio/c;->be(J)Lokio/c;
|
||||
|
||||
invoke-virtual {p0}, Lokio/k;->Ji()Lokio/BufferedSink;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string p2, "closed"
|
||||
|
||||
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public final bg(J)Lokio/BufferedSink;
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-boolean v0, p0, Lokio/k;->closed:Z
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Lokio/k;->cgn:Lokio/c;
|
||||
|
||||
invoke-virtual {v0, p1, p2}, Lokio/c;->bd(J)Lokio/c;
|
||||
|
||||
invoke-virtual {p0}, Lokio/k;->Ji()Lokio/BufferedSink;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string p2, "closed"
|
||||
|
||||
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public final close()V
|
||||
.locals 6
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-boolean v0, p0, Lokio/k;->closed:Z
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x0
|
||||
|
||||
:try_start_0
|
||||
iget-object v1, p0, Lokio/k;->cgn:Lokio/c;
|
||||
|
||||
iget-wide v1, v1, Lokio/c;->size:J
|
||||
|
||||
const-wide/16 v3, 0x0
|
||||
|
||||
cmp-long v5, v1, v3
|
||||
|
||||
if-lez v5, :cond_1
|
||||
|
||||
iget-object v1, p0, Lokio/k;->chc:Lokio/p;
|
||||
|
||||
iget-object v2, p0, Lokio/k;->cgn:Lokio/c;
|
||||
|
||||
iget-object v3, p0, Lokio/k;->cgn:Lokio/c;
|
||||
|
||||
iget-wide v3, v3, Lokio/c;->size:J
|
||||
|
||||
invoke-interface {v1, v2, v3, v4}, Lokio/p;->write(Lokio/c;J)V
|
||||
:try_end_0
|
||||
.catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_0} :catch_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catch_0
|
||||
move-exception v0
|
||||
|
||||
:cond_1
|
||||
:goto_0
|
||||
:try_start_1
|
||||
iget-object v1, p0, Lokio/k;->chc:Lokio/p;
|
||||
|
||||
invoke-interface {v1}, Lokio/p;->close()V
|
||||
:try_end_1
|
||||
.catch Ljava/lang/Throwable; {:try_start_1 .. :try_end_1} :catch_1
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:catch_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, Lokio/k;->closed:Z
|
||||
|
||||
if-eqz v0, :cond_3
|
||||
|
||||
invoke-static {v0}, Lokio/s;->v(Ljava/lang/Throwable;)V
|
||||
|
||||
:cond_3
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final eL(Ljava/lang/String;)Lokio/BufferedSink;
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-boolean v0, p0, Lokio/k;->closed:Z
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Lokio/k;->cgn:Lokio/c;
|
||||
|
||||
invoke-virtual {v0, p1}, Lokio/c;->eK(Ljava/lang/String;)Lokio/c;
|
||||
|
||||
invoke-virtual {p0}, Lokio/k;->Ji()Lokio/BufferedSink;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string v0, "closed"
|
||||
|
||||
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public final flush()V
|
||||
.locals 5
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-boolean v0, p0, Lokio/k;->closed:Z
|
||||
|
||||
if-nez v0, :cond_1
|
||||
|
||||
iget-object v0, p0, Lokio/k;->cgn:Lokio/c;
|
||||
|
||||
iget-wide v0, v0, Lokio/c;->size:J
|
||||
|
||||
const-wide/16 v2, 0x0
|
||||
|
||||
cmp-long v4, v0, v2
|
||||
|
||||
if-lez v4, :cond_0
|
||||
|
||||
iget-object v0, p0, Lokio/k;->chc:Lokio/p;
|
||||
|
||||
iget-object v1, p0, Lokio/k;->cgn:Lokio/c;
|
||||
|
||||
iget-object v2, p0, Lokio/k;->cgn:Lokio/c;
|
||||
|
||||
iget-wide v2, v2, Lokio/c;->size:J
|
||||
|
||||
invoke-interface {v0, v1, v2, v3}, Lokio/p;->write(Lokio/c;J)V
|
||||
|
||||
:cond_0
|
||||
iget-object v0, p0, Lokio/k;->chc:Lokio/p;
|
||||
|
||||
invoke-interface {v0}, Lokio/p;->flush()V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_1
|
||||
new-instance v0, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string v1, "closed"
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method public final fw(I)Lokio/BufferedSink;
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-boolean v0, p0, Lokio/k;->closed:Z
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Lokio/k;->cgn:Lokio/c;
|
||||
|
||||
invoke-virtual {v0, p1}, Lokio/c;->fu(I)Lokio/c;
|
||||
|
||||
invoke-virtual {p0}, Lokio/k;->Ji()Lokio/BufferedSink;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string v0, "closed"
|
||||
|
||||
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public final fx(I)Lokio/BufferedSink;
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-boolean v0, p0, Lokio/k;->closed:Z
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Lokio/k;->cgn:Lokio/c;
|
||||
|
||||
invoke-virtual {v0, p1}, Lokio/c;->ft(I)Lokio/c;
|
||||
|
||||
invoke-virtual {p0}, Lokio/k;->Ji()Lokio/BufferedSink;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string v0, "closed"
|
||||
|
||||
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public final fy(I)Lokio/BufferedSink;
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-boolean v0, p0, Lokio/k;->closed:Z
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Lokio/k;->cgn:Lokio/c;
|
||||
|
||||
invoke-virtual {v0, p1}, Lokio/c;->fs(I)Lokio/c;
|
||||
|
||||
invoke-virtual {p0}, Lokio/k;->Ji()Lokio/BufferedSink;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string v0, "closed"
|
||||
|
||||
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public final i(Lokio/ByteString;)Lokio/BufferedSink;
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-boolean v0, p0, Lokio/k;->closed:Z
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Lokio/k;->cgn:Lokio/c;
|
||||
|
||||
invoke-virtual {v0, p1}, Lokio/c;->g(Lokio/ByteString;)Lokio/c;
|
||||
|
||||
invoke-virtual {p0}, Lokio/k;->Ji()Lokio/BufferedSink;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string v0, "closed"
|
||||
|
||||
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public final isOpen()Z
|
||||
.locals 1
|
||||
|
||||
iget-boolean v0, p0, Lokio/k;->closed:Z
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
return v0
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x0
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public final r([BII)Lokio/BufferedSink;
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-boolean v0, p0, Lokio/k;->closed:Z
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Lokio/k;->cgn:Lokio/c;
|
||||
|
||||
invoke-virtual {v0, p1, p2, p3}, Lokio/c;->q([BII)Lokio/c;
|
||||
|
||||
invoke-virtual {p0}, Lokio/k;->Ji()Lokio/BufferedSink;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string p2, "closed"
|
||||
|
||||
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public final timeout()Lokio/r;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lokio/k;->chc:Lokio/p;
|
||||
|
||||
invoke-interface {v0}, Lokio/p;->timeout()Lokio/r;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final toString()Ljava/lang/String;
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v1, "buffer("
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
||||
|
||||
iget-object v1, p0, Lokio/k;->chc:Lokio/p;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v1, ")"
|
||||
|
||||
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 final write(Ljava/nio/ByteBuffer;)I
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-boolean v0, p0, Lokio/k;->closed:Z
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Lokio/k;->cgn:Lokio/c;
|
||||
|
||||
invoke-virtual {v0, p1}, Lokio/c;->write(Ljava/nio/ByteBuffer;)I
|
||||
|
||||
move-result p1
|
||||
|
||||
invoke-virtual {p0}, Lokio/k;->Ji()Lokio/BufferedSink;
|
||||
|
||||
return p1
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string v0, "closed"
|
||||
|
||||
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public final write(Lokio/c;J)V
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-boolean v0, p0, Lokio/k;->closed:Z
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Lokio/k;->cgn:Lokio/c;
|
||||
|
||||
invoke-virtual {v0, p1, p2, p3}, Lokio/c;->write(Lokio/c;J)V
|
||||
|
||||
invoke-virtual {p0}, Lokio/k;->Ji()Lokio/BufferedSink;
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string p2, "closed"
|
||||
|
||||
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
.end method
|
262
com.discord/smali_classes2/okio/l$1.smali
Normal file
262
com.discord/smali_classes2/okio/l$1.smali
Normal file
|
@ -0,0 +1,262 @@
|
|||
.class final Lokio/l$1;
|
||||
.super Ljava/io/InputStream;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lokio/l;->IZ()Ljava/io/InputStream;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x0
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field final synthetic che:Lokio/l;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>(Lokio/l;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lokio/l$1;->che:Lokio/l;
|
||||
|
||||
invoke-direct {p0}, Ljava/io/InputStream;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final available()I
|
||||
.locals 4
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Lokio/l$1;->che:Lokio/l;
|
||||
|
||||
iget-boolean v0, v0, Lokio/l;->closed:Z
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Lokio/l$1;->che:Lokio/l;
|
||||
|
||||
iget-object v0, v0, Lokio/l;->cgn:Lokio/c;
|
||||
|
||||
iget-wide v0, v0, Lokio/c;->size:J
|
||||
|
||||
const-wide/32 v2, 0x7fffffff
|
||||
|
||||
invoke-static {v0, v1, v2, v3}, Ljava/lang/Math;->min(JJ)J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
long-to-int v0, v0
|
||||
|
||||
return v0
|
||||
|
||||
: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 final close()V
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Lokio/l$1;->che:Lokio/l;
|
||||
|
||||
invoke-virtual {v0}, Lokio/l;->close()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final read()I
|
||||
.locals 5
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Lokio/l$1;->che:Lokio/l;
|
||||
|
||||
iget-boolean v0, v0, Lokio/l;->closed:Z
|
||||
|
||||
if-nez v0, :cond_1
|
||||
|
||||
iget-object v0, p0, Lokio/l$1;->che:Lokio/l;
|
||||
|
||||
iget-object v0, v0, Lokio/l;->cgn:Lokio/c;
|
||||
|
||||
iget-wide v0, v0, Lokio/c;->size:J
|
||||
|
||||
const-wide/16 v2, 0x0
|
||||
|
||||
cmp-long v4, v0, v2
|
||||
|
||||
if-nez v4, :cond_0
|
||||
|
||||
iget-object v0, p0, Lokio/l$1;->che:Lokio/l;
|
||||
|
||||
iget-object v0, v0, Lokio/l;->chd:Lokio/q;
|
||||
|
||||
iget-object v1, p0, Lokio/l$1;->che:Lokio/l;
|
||||
|
||||
iget-object v1, v1, Lokio/l;->cgn:Lokio/c;
|
||||
|
||||
const-wide/16 v2, 0x2000
|
||||
|
||||
invoke-interface {v0, v1, v2, v3}, Lokio/q;->a(Lokio/c;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, Lokio/l$1;->che:Lokio/l;
|
||||
|
||||
iget-object v0, v0, Lokio/l;->cgn:Lokio/c;
|
||||
|
||||
invoke-virtual {v0}, Lokio/c;->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 final read([BII)I
|
||||
.locals 7
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Lokio/l$1;->che:Lokio/l;
|
||||
|
||||
iget-boolean v0, v0, Lokio/l;->closed: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}, Lokio/s;->c(JJJ)V
|
||||
|
||||
iget-object v0, p0, Lokio/l$1;->che:Lokio/l;
|
||||
|
||||
iget-object v0, v0, Lokio/l;->cgn:Lokio/c;
|
||||
|
||||
iget-wide v0, v0, Lokio/c;->size:J
|
||||
|
||||
const-wide/16 v2, 0x0
|
||||
|
||||
cmp-long v4, v0, v2
|
||||
|
||||
if-nez v4, :cond_0
|
||||
|
||||
iget-object v0, p0, Lokio/l$1;->che:Lokio/l;
|
||||
|
||||
iget-object v0, v0, Lokio/l;->chd:Lokio/q;
|
||||
|
||||
iget-object v1, p0, Lokio/l$1;->che:Lokio/l;
|
||||
|
||||
iget-object v1, v1, Lokio/l;->cgn:Lokio/c;
|
||||
|
||||
const-wide/16 v2, 0x2000
|
||||
|
||||
invoke-interface {v0, v1, v2, v3}, Lokio/q;->a(Lokio/c;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, Lokio/l$1;->che:Lokio/l;
|
||||
|
||||
iget-object v0, v0, Lokio/l;->cgn:Lokio/c;
|
||||
|
||||
invoke-virtual {v0, p1, p2, p3}, Lokio/c;->read([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
|
||||
.end method
|
||||
|
||||
.method public final toString()Ljava/lang/String;
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
||||
|
||||
iget-object v1, p0, Lokio/l$1;->che:Lokio/l;
|
||||
|
||||
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
|
1481
com.discord/smali_classes2/okio/l.smali
Normal file
1481
com.discord/smali_classes2/okio/l.smali
Normal file
File diff suppressed because it is too large
Load diff
875
com.discord/smali_classes2/okio/o.smali
Normal file
875
com.discord/smali_classes2/okio/o.smali
Normal file
|
@ -0,0 +1,875 @@
|
|||
.class final Lokio/o;
|
||||
.super Lokio/ByteString;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field final transient chj:[[B
|
||||
|
||||
.field final transient chk:[I
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>(Lokio/c;I)V
|
||||
.locals 7
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
invoke-direct {p0, v0}, Lokio/ByteString;-><init>([B)V
|
||||
|
||||
iget-wide v1, p1, Lokio/c;->size:J
|
||||
|
||||
int-to-long v5, p2
|
||||
|
||||
const-wide/16 v3, 0x0
|
||||
|
||||
invoke-static/range {v1 .. v6}, Lokio/s;->c(JJJ)V
|
||||
|
||||
iget-object v0, p1, Lokio/c;->cgN:Lokio/m;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
move-object v2, v0
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
:goto_0
|
||||
if-ge v0, p2, :cond_1
|
||||
|
||||
iget v4, v2, Lokio/m;->limit:I
|
||||
|
||||
iget v5, v2, Lokio/m;->pos:I
|
||||
|
||||
if-eq v4, v5, :cond_0
|
||||
|
||||
iget v4, v2, Lokio/m;->limit:I
|
||||
|
||||
iget v5, v2, Lokio/m;->pos:I
|
||||
|
||||
sub-int/2addr v4, v5
|
||||
|
||||
add-int/2addr v0, v4
|
||||
|
||||
add-int/lit8 v3, v3, 0x1
|
||||
|
||||
iget-object v2, v2, Lokio/m;->chg:Lokio/m;
|
||||
|
||||
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
|
||||
new-array v0, v3, [[B
|
||||
|
||||
iput-object v0, p0, Lokio/o;->chj:[[B
|
||||
|
||||
mul-int/lit8 v3, v3, 0x2
|
||||
|
||||
new-array v0, v3, [I
|
||||
|
||||
iput-object v0, p0, Lokio/o;->chk:[I
|
||||
|
||||
iget-object p1, p1, Lokio/c;->cgN:Lokio/m;
|
||||
|
||||
move-object v0, p1
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
:goto_1
|
||||
if-ge v1, p2, :cond_3
|
||||
|
||||
iget-object v2, p0, Lokio/o;->chj:[[B
|
||||
|
||||
iget-object v3, v0, Lokio/m;->data:[B
|
||||
|
||||
aput-object v3, v2, p1
|
||||
|
||||
iget v2, v0, Lokio/m;->limit:I
|
||||
|
||||
iget v3, v0, Lokio/m;->pos:I
|
||||
|
||||
sub-int/2addr v2, v3
|
||||
|
||||
add-int/2addr v1, v2
|
||||
|
||||
if-le v1, p2, :cond_2
|
||||
|
||||
move v1, p2
|
||||
|
||||
:cond_2
|
||||
iget-object v2, p0, Lokio/o;->chk:[I
|
||||
|
||||
aput v1, v2, p1
|
||||
|
||||
iget-object v2, p0, Lokio/o;->chk:[I
|
||||
|
||||
iget-object v3, p0, Lokio/o;->chj:[[B
|
||||
|
||||
array-length v3, v3
|
||||
|
||||
add-int/2addr v3, p1
|
||||
|
||||
iget v4, v0, Lokio/m;->pos:I
|
||||
|
||||
aput v4, v2, v3
|
||||
|
||||
const/4 v2, 0x1
|
||||
|
||||
iput-boolean v2, v0, Lokio/m;->chf:Z
|
||||
|
||||
add-int/lit8 p1, p1, 0x1
|
||||
|
||||
iget-object v0, v0, Lokio/m;->chg:Lokio/m;
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_3
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method private JA()Lokio/ByteString;
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Lokio/ByteString;
|
||||
|
||||
invoke-virtual {p0}, Lokio/o;->toByteArray()[B
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-direct {v0, v1}, Lokio/ByteString;-><init>([B)V
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method private fz(I)I
|
||||
.locals 3
|
||||
|
||||
iget-object v0, p0, Lokio/o;->chk:[I
|
||||
|
||||
iget-object v1, p0, Lokio/o;->chj:[[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
|
||||
|
||||
return p1
|
||||
|
||||
:cond_0
|
||||
xor-int/lit8 p1, p1, -0x1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method private writeReplace()Ljava/lang/Object;
|
||||
.locals 1
|
||||
|
||||
invoke-direct {p0}, Lokio/o;->JA()Lokio/ByteString;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final Jj()Ljava/lang/String;
|
||||
.locals 1
|
||||
|
||||
invoke-direct {p0}, Lokio/o;->JA()Lokio/ByteString;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0}, Lokio/ByteString;->Jj()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final Jk()Ljava/lang/String;
|
||||
.locals 1
|
||||
|
||||
invoke-direct {p0}, Lokio/o;->JA()Lokio/ByteString;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0}, Lokio/ByteString;->Jk()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final Jl()Lokio/ByteString;
|
||||
.locals 1
|
||||
|
||||
invoke-direct {p0}, Lokio/o;->JA()Lokio/ByteString;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0}, Lokio/ByteString;->Jl()Lokio/ByteString;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final Jm()Lokio/ByteString;
|
||||
.locals 1
|
||||
|
||||
invoke-direct {p0}, Lokio/o;->JA()Lokio/ByteString;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0}, Lokio/ByteString;->Jm()Lokio/ByteString;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final Jn()Ljava/lang/String;
|
||||
.locals 1
|
||||
|
||||
invoke-direct {p0}, Lokio/o;->JA()Lokio/ByteString;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0}, Lokio/ByteString;->Jn()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final Jo()Lokio/ByteString;
|
||||
.locals 1
|
||||
|
||||
invoke-direct {p0}, Lokio/o;->JA()Lokio/ByteString;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0}, Lokio/ByteString;->Jo()Lokio/ByteString;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final a(ILokio/ByteString;II)Z
|
||||
.locals 6
|
||||
|
||||
invoke-virtual {p0}, Lokio/o;->size()I
|
||||
|
||||
move-result v0
|
||||
|
||||
sub-int/2addr v0, p4
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
if-gez v0, :cond_0
|
||||
|
||||
return v1
|
||||
|
||||
:cond_0
|
||||
invoke-direct {p0, v1}, Lokio/o;->fz(I)I
|
||||
|
||||
move-result v0
|
||||
|
||||
:goto_0
|
||||
if-lez p4, :cond_3
|
||||
|
||||
if-nez v0, :cond_1
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
iget-object v2, p0, Lokio/o;->chk:[I
|
||||
|
||||
add-int/lit8 v3, v0, -0x1
|
||||
|
||||
aget v2, v2, v3
|
||||
|
||||
:goto_1
|
||||
iget-object v3, p0, Lokio/o;->chk:[I
|
||||
|
||||
aget v3, v3, v0
|
||||
|
||||
sub-int/2addr v3, v2
|
||||
|
||||
add-int/2addr v3, v2
|
||||
|
||||
sub-int/2addr v3, p1
|
||||
|
||||
invoke-static {p4, v3}, Ljava/lang/Math;->min(II)I
|
||||
|
||||
move-result v3
|
||||
|
||||
iget-object v4, p0, Lokio/o;->chk:[I
|
||||
|
||||
iget-object v5, p0, Lokio/o;->chj:[[B
|
||||
|
||||
array-length v5, v5
|
||||
|
||||
add-int/2addr v5, v0
|
||||
|
||||
aget v4, v4, v5
|
||||
|
||||
sub-int v2, p1, v2
|
||||
|
||||
add-int/2addr v2, v4
|
||||
|
||||
iget-object v4, p0, Lokio/o;->chj:[[B
|
||||
|
||||
aget-object v4, v4, v0
|
||||
|
||||
invoke-virtual {p2, p3, v4, v2, v3}, Lokio/ByteString;->f(I[BII)Z
|
||||
|
||||
move-result v2
|
||||
|
||||
if-nez v2, :cond_2
|
||||
|
||||
return v1
|
||||
|
||||
:cond_2
|
||||
add-int/2addr p1, v3
|
||||
|
||||
add-int/2addr p3, v3
|
||||
|
||||
sub-int/2addr p4, v3
|
||||
|
||||
add-int/lit8 v0, v0, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_3
|
||||
const/4 p1, 0x1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public final av(II)Lokio/ByteString;
|
||||
.locals 1
|
||||
|
||||
invoke-direct {p0}, Lokio/o;->JA()Lokio/ByteString;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0, p1, p2}, Lokio/ByteString;->av(II)Lokio/ByteString;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method final b(Lokio/c;)V
|
||||
.locals 11
|
||||
|
||||
iget-object v0, p0, Lokio/o;->chj:[[B
|
||||
|
||||
array-length v0, v0
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
:goto_0
|
||||
if-ge v1, v0, :cond_1
|
||||
|
||||
iget-object v3, p0, Lokio/o;->chk:[I
|
||||
|
||||
add-int v4, v0, v1
|
||||
|
||||
aget v7, v3, v4
|
||||
|
||||
iget-object v3, p0, Lokio/o;->chk:[I
|
||||
|
||||
aget v3, v3, v1
|
||||
|
||||
new-instance v4, Lokio/m;
|
||||
|
||||
iget-object v5, p0, Lokio/o;->chj:[[B
|
||||
|
||||
aget-object v6, v5, v1
|
||||
|
||||
add-int v5, v7, v3
|
||||
|
||||
sub-int v8, v5, v2
|
||||
|
||||
const/4 v9, 0x1
|
||||
|
||||
const/4 v10, 0x0
|
||||
|
||||
move-object v5, v4
|
||||
|
||||
invoke-direct/range {v5 .. v10}, Lokio/m;-><init>([BIIZZ)V
|
||||
|
||||
iget-object v2, p1, Lokio/c;->cgN:Lokio/m;
|
||||
|
||||
if-nez v2, :cond_0
|
||||
|
||||
iput-object v4, v4, Lokio/m;->chh:Lokio/m;
|
||||
|
||||
iput-object v4, v4, Lokio/m;->chg:Lokio/m;
|
||||
|
||||
iput-object v4, p1, Lokio/c;->cgN:Lokio/m;
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_0
|
||||
iget-object v2, p1, Lokio/c;->cgN:Lokio/m;
|
||||
|
||||
iget-object v2, v2, Lokio/m;->chh:Lokio/m;
|
||||
|
||||
invoke-virtual {v2, v4}, Lokio/m;->a(Lokio/m;)Lokio/m;
|
||||
|
||||
:goto_1
|
||||
add-int/lit8 v1, v1, 0x1
|
||||
|
||||
move v2, v3
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
iget-wide v0, p1, Lokio/c;->size:J
|
||||
|
||||
int-to-long v2, v2
|
||||
|
||||
add-long/2addr v0, v2
|
||||
|
||||
iput-wide v0, p1, Lokio/c;->size:J
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final equals(Ljava/lang/Object;)Z
|
||||
.locals 4
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
if-ne p1, p0, :cond_0
|
||||
|
||||
return v0
|
||||
|
||||
:cond_0
|
||||
instance-of v1, p1, Lokio/ByteString;
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
if-eqz v1, :cond_1
|
||||
|
||||
check-cast p1, Lokio/ByteString;
|
||||
|
||||
invoke-virtual {p1}, Lokio/ByteString;->size()I
|
||||
|
||||
move-result v1
|
||||
|
||||
invoke-virtual {p0}, Lokio/o;->size()I
|
||||
|
||||
move-result v3
|
||||
|
||||
if-ne v1, v3, :cond_1
|
||||
|
||||
invoke-virtual {p0}, Lokio/o;->size()I
|
||||
|
||||
move-result v1
|
||||
|
||||
invoke-virtual {p0, v2, p1, v2, v1}, Lokio/o;->a(ILokio/ByteString;II)Z
|
||||
|
||||
move-result p1
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
return v0
|
||||
|
||||
:cond_1
|
||||
return v2
|
||||
.end method
|
||||
|
||||
.method public final f(I[BII)Z
|
||||
.locals 6
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
if-ltz p1, :cond_4
|
||||
|
||||
invoke-virtual {p0}, Lokio/o;->size()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
|
||||
invoke-direct {p0, p1}, Lokio/o;->fz(I)I
|
||||
|
||||
move-result v1
|
||||
|
||||
:goto_0
|
||||
if-lez p4, :cond_3
|
||||
|
||||
if-nez v1, :cond_1
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
iget-object v2, p0, Lokio/o;->chk:[I
|
||||
|
||||
add-int/lit8 v3, v1, -0x1
|
||||
|
||||
aget v2, v2, v3
|
||||
|
||||
:goto_1
|
||||
iget-object v3, p0, Lokio/o;->chk:[I
|
||||
|
||||
aget v3, v3, v1
|
||||
|
||||
sub-int/2addr v3, v2
|
||||
|
||||
add-int/2addr v3, v2
|
||||
|
||||
sub-int/2addr v3, p1
|
||||
|
||||
invoke-static {p4, v3}, Ljava/lang/Math;->min(II)I
|
||||
|
||||
move-result v3
|
||||
|
||||
iget-object v4, p0, Lokio/o;->chk:[I
|
||||
|
||||
iget-object v5, p0, Lokio/o;->chj:[[B
|
||||
|
||||
array-length v5, v5
|
||||
|
||||
add-int/2addr v5, v1
|
||||
|
||||
aget v4, v4, v5
|
||||
|
||||
sub-int v2, p1, v2
|
||||
|
||||
add-int/2addr v2, v4
|
||||
|
||||
iget-object v4, p0, Lokio/o;->chj:[[B
|
||||
|
||||
aget-object v4, v4, v1
|
||||
|
||||
invoke-static {v4, v2, p2, p3, v3}, Lokio/s;->a([BI[BII)Z
|
||||
|
||||
move-result v2
|
||||
|
||||
if-nez v2, :cond_2
|
||||
|
||||
return v0
|
||||
|
||||
:cond_2
|
||||
add-int/2addr p1, v3
|
||||
|
||||
add-int/2addr p3, v3
|
||||
|
||||
sub-int/2addr p4, v3
|
||||
|
||||
add-int/lit8 v1, v1, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_3
|
||||
const/4 p1, 0x1
|
||||
|
||||
return p1
|
||||
|
||||
:cond_4
|
||||
:goto_2
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public final getByte(I)B
|
||||
.locals 7
|
||||
|
||||
iget-object v0, p0, Lokio/o;->chk:[I
|
||||
|
||||
iget-object v1, p0, Lokio/o;->chj:[[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}, Lokio/s;->c(JJJ)V
|
||||
|
||||
invoke-direct {p0, p1}, Lokio/o;->fz(I)I
|
||||
|
||||
move-result v0
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
iget-object v1, p0, Lokio/o;->chk:[I
|
||||
|
||||
add-int/lit8 v2, v0, -0x1
|
||||
|
||||
aget v1, v1, v2
|
||||
|
||||
:goto_0
|
||||
iget-object v2, p0, Lokio/o;->chk:[I
|
||||
|
||||
iget-object v3, p0, Lokio/o;->chj:[[B
|
||||
|
||||
array-length v3, v3
|
||||
|
||||
add-int/2addr v3, v0
|
||||
|
||||
aget v2, v2, v3
|
||||
|
||||
iget-object v3, p0, Lokio/o;->chj:[[B
|
||||
|
||||
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 final hashCode()I
|
||||
.locals 8
|
||||
|
||||
iget v0, p0, Lokio/o;->cX:I
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
return v0
|
||||
|
||||
:cond_0
|
||||
iget-object v0, p0, Lokio/o;->chj:[[B
|
||||
|
||||
array-length v0, v0
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
const/4 v2, 0x1
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
const/4 v3, 0x1
|
||||
|
||||
:goto_0
|
||||
if-ge v1, v0, :cond_2
|
||||
|
||||
iget-object v4, p0, Lokio/o;->chj:[[B
|
||||
|
||||
aget-object v4, v4, v1
|
||||
|
||||
iget-object v5, p0, Lokio/o;->chk:[I
|
||||
|
||||
add-int v6, v0, v1
|
||||
|
||||
aget v5, v5, v6
|
||||
|
||||
iget-object v6, p0, Lokio/o;->chk:[I
|
||||
|
||||
aget v6, v6, v1
|
||||
|
||||
sub-int v2, v6, v2
|
||||
|
||||
add-int/2addr v2, v5
|
||||
|
||||
:goto_1
|
||||
if-ge v5, v2, :cond_1
|
||||
|
||||
mul-int/lit8 v3, v3, 0x1f
|
||||
|
||||
aget-byte v7, v4, v5
|
||||
|
||||
add-int/2addr v3, v7
|
||||
|
||||
add-int/lit8 v5, v5, 0x1
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
add-int/lit8 v1, v1, 0x1
|
||||
|
||||
move v2, v6
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_2
|
||||
iput v3, p0, Lokio/o;->cX:I
|
||||
|
||||
return v3
|
||||
.end method
|
||||
|
||||
.method public final size()I
|
||||
.locals 2
|
||||
|
||||
iget-object v0, p0, Lokio/o;->chk:[I
|
||||
|
||||
iget-object v1, p0, Lokio/o;->chj:[[B
|
||||
|
||||
array-length v1, v1
|
||||
|
||||
add-int/lit8 v1, v1, -0x1
|
||||
|
||||
aget v0, v0, v1
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public final toByteArray()[B
|
||||
.locals 8
|
||||
|
||||
iget-object v0, p0, Lokio/o;->chk:[I
|
||||
|
||||
iget-object v1, p0, Lokio/o;->chj:[[B
|
||||
|
||||
array-length v1, v1
|
||||
|
||||
add-int/lit8 v1, v1, -0x1
|
||||
|
||||
aget v0, v0, v1
|
||||
|
||||
new-array v0, v0, [B
|
||||
|
||||
iget-object v1, p0, Lokio/o;->chj:[[B
|
||||
|
||||
array-length v1, v1
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
:goto_0
|
||||
if-ge v2, v1, :cond_0
|
||||
|
||||
iget-object v4, p0, Lokio/o;->chk:[I
|
||||
|
||||
add-int v5, v1, v2
|
||||
|
||||
aget v4, v4, v5
|
||||
|
||||
iget-object v5, p0, Lokio/o;->chk:[I
|
||||
|
||||
aget v5, v5, v2
|
||||
|
||||
iget-object v6, p0, Lokio/o;->chj:[[B
|
||||
|
||||
aget-object v6, v6, v2
|
||||
|
||||
sub-int v7, v5, v3
|
||||
|
||||
invoke-static {v6, v4, v0, v3, v7}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
|
||||
|
||||
add-int/lit8 v2, v2, 0x1
|
||||
|
||||
move v3, v5
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final toString()Ljava/lang/String;
|
||||
.locals 1
|
||||
|
||||
invoke-direct {p0}, Lokio/o;->JA()Lokio/ByteString;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0}, Lokio/ByteString;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final write(Ljava/io/OutputStream;)V
|
||||
.locals 6
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Lokio/o;->chj:[[B
|
||||
|
||||
array-length v0, v0
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
:goto_0
|
||||
if-ge v1, v0, :cond_0
|
||||
|
||||
iget-object v3, p0, Lokio/o;->chk:[I
|
||||
|
||||
add-int v4, v0, v1
|
||||
|
||||
aget v3, v3, v4
|
||||
|
||||
iget-object v4, p0, Lokio/o;->chk:[I
|
||||
|
||||
aget v4, v4, v1
|
||||
|
||||
iget-object v5, p0, Lokio/o;->chj:[[B
|
||||
|
||||
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
|
||||
.end method
|
48
com.discord/smali_classes2/okio/r$1.smali
Normal file
48
com.discord/smali_classes2/okio/r$1.smali
Normal file
|
@ -0,0 +1,48 @@
|
|||
.class final Lokio/r$1;
|
||||
.super Lokio/r;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lokio/r;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x0
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Lokio/r;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final Ju()V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final bi(J)Lokio/r;
|
||||
.locals 0
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
.method public final d(JLjava/util/concurrent/TimeUnit;)Lokio/r;
|
||||
.locals 0
|
||||
|
||||
return-object p0
|
||||
.end method
|
184
com.discord/smali_classes2/okio/s.smali
Normal file
184
com.discord/smali_classes2/okio/s.smali
Normal file
|
@ -0,0 +1,184 @@
|
|||
.class public final Lokio/s;
|
||||
.super Ljava/lang/Object;
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final UTF_8:Ljava/nio/charset/Charset;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method static constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
const-string v0, "UTF-8"
|
||||
|
||||
invoke-static {v0}, Ljava/nio/charset/Charset;->forName(Ljava/lang/String;)Ljava/nio/charset/Charset;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
sput-object v0, Lokio/s;->UTF_8:Ljava/nio/charset/Charset;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static a(S)S
|
||||
.locals 1
|
||||
|
||||
const v0, 0xffff
|
||||
|
||||
and-int/2addr p0, v0
|
||||
|
||||
const v0, 0xff00
|
||||
|
||||
and-int/2addr v0, p0
|
||||
|
||||
ushr-int/lit8 v0, v0, 0x8
|
||||
|
||||
and-int/lit16 p0, p0, 0xff
|
||||
|
||||
shl-int/lit8 p0, p0, 0x8
|
||||
|
||||
or-int/2addr p0, v0
|
||||
|
||||
int-to-short p0, p0
|
||||
|
||||
return p0
|
||||
.end method
|
||||
|
||||
.method public static a([BI[BII)Z
|
||||
.locals 4
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
:goto_0
|
||||
if-ge v1, p4, :cond_1
|
||||
|
||||
add-int v2, v1, p1
|
||||
|
||||
aget-byte v2, p0, v2
|
||||
|
||||
add-int v3, v1, p3
|
||||
|
||||
aget-byte v3, p2, v3
|
||||
|
||||
if-eq v2, v3, :cond_0
|
||||
|
||||
return v0
|
||||
|
||||
:cond_0
|
||||
add-int/lit8 v1, v1, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
const/4 p0, 0x1
|
||||
|
||||
return p0
|
||||
.end method
|
||||
|
||||
.method public static c(JJJ)V
|
||||
.locals 5
|
||||
|
||||
or-long v0, p2, p4
|
||||
|
||||
const-wide/16 v2, 0x0
|
||||
|
||||
cmp-long v4, v0, v2
|
||||
|
||||
if-ltz v4, :cond_0
|
||||
|
||||
cmp-long v0, p2, p0
|
||||
|
||||
if-gtz v0, :cond_0
|
||||
|
||||
sub-long v0, p0, p2
|
||||
|
||||
cmp-long v2, v0, p4
|
||||
|
||||
if-ltz v2, :cond_0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
new-instance v0, Ljava/lang/ArrayIndexOutOfBoundsException;
|
||||
|
||||
const/4 v1, 0x3
|
||||
|
||||
new-array v1, v1, [Ljava/lang/Object;
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
invoke-static {p0, p1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
aput-object p0, v1, v2
|
||||
|
||||
const/4 p0, 0x1
|
||||
|
||||
invoke-static {p2, p3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
aput-object p1, v1, p0
|
||||
|
||||
const/4 p0, 0x2
|
||||
|
||||
invoke-static {p4, p5}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
aput-object p1, v1, p0
|
||||
|
||||
const-string p0, "size=%s offset=%s byteCount=%s"
|
||||
|
||||
invoke-static {p0, v1}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
invoke-direct {v0, p0}, Ljava/lang/ArrayIndexOutOfBoundsException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method public static fA(I)I
|
||||
.locals 2
|
||||
|
||||
const/high16 v0, -0x1000000
|
||||
|
||||
and-int/2addr v0, p0
|
||||
|
||||
ushr-int/lit8 v0, v0, 0x18
|
||||
|
||||
const/high16 v1, 0xff0000
|
||||
|
||||
and-int/2addr v1, p0
|
||||
|
||||
ushr-int/lit8 v1, v1, 0x8
|
||||
|
||||
or-int/2addr v0, v1
|
||||
|
||||
const v1, 0xff00
|
||||
|
||||
and-int/2addr v1, p0
|
||||
|
||||
shl-int/lit8 v1, v1, 0x8
|
||||
|
||||
or-int/2addr v0, v1
|
||||
|
||||
and-int/lit16 p0, p0, 0xff
|
||||
|
||||
shl-int/lit8 p0, p0, 0x18
|
||||
|
||||
or-int/2addr p0, v0
|
||||
|
||||
return p0
|
||||
.end method
|
||||
|
||||
.method public static v(Ljava/lang/Throwable;)V
|
||||
.locals 0
|
||||
|
||||
throw p0
|
||||
.end method
|
Loading…
Add table
Add a link
Reference in a new issue