Changes of com.discord v1063

This commit is contained in:
root 2020-03-14 03:12:46 +01:00
parent d1570067ca
commit 00bbe93463
2113 changed files with 115092 additions and 127668 deletions

View file

@ -138,7 +138,7 @@
throw v0
.end method
.method public timeout()Lb0/b;
.method public timeout()Lb0/x;
.locals 1
iget-object v0, p0, Lb0/c;->d:Lb0/b;
@ -146,16 +146,6 @@
return-object v0
.end method
.method public bridge synthetic timeout()Lb0/x;
.locals 1
invoke-virtual {p0}, Lb0/c;->timeout()Lb0/b;
move-result-object v0
return-object v0
.end method
.method public toString()Ljava/lang/String;
.locals 2

View file

@ -444,62 +444,6 @@
throw p1
.end method
.method public final a()J
.locals 5
iget-wide v0, p0, Lb0/e;->e:J
const-wide/16 v2, 0x0
cmp-long v4, v0, v2
if-nez v4, :cond_0
return-wide v2
:cond_0
iget-object v2, p0, Lb0/e;->d:Lb0/r;
const/4 v3, 0x0
if-eqz v2, :cond_3
iget-object v2, v2, Lb0/r;->g:Lb0/r;
if-eqz v2, :cond_2
iget v3, v2, Lb0/r;->c:I
const/16 v4, 0x2000
if-ge v3, v4, :cond_1
iget-boolean v4, v2, Lb0/r;->e:Z
if-eqz v4, :cond_1
iget v2, v2, Lb0/r;->b:I
sub-int/2addr v3, v2
int-to-long v2, v3
sub-long/2addr v0, v2
:cond_1
return-wide v0
:cond_2
invoke-static {}, Lw/u/b/j;->throwNpe()V
throw v3
:cond_3
invoke-static {}, Lw/u/b/j;->throwNpe()V
throw v3
.end method
.method public a(BJJ)J
.locals 17
@ -2352,6 +2296,16 @@
return-object p0
.end method
.method public final a()V
.locals 2
iget-wide v0, p0, Lb0/e;->e:J
invoke-virtual {p0, v0, v1}, Lb0/e;->skip(J)V
return-void
.end method
.method public a(Lb0/e;J)V
.locals 3
.annotation system Ldalvik/annotation/Throws;
@ -2475,6 +2429,62 @@
return p1
.end method
.method public final b()J
.locals 5
iget-wide v0, p0, Lb0/e;->e:J
const-wide/16 v2, 0x0
cmp-long v4, v0, v2
if-nez v4, :cond_0
return-wide v2
:cond_0
iget-object v2, p0, Lb0/e;->d:Lb0/r;
const/4 v3, 0x0
if-eqz v2, :cond_3
iget-object v2, v2, Lb0/r;->g:Lb0/r;
if-eqz v2, :cond_2
iget v3, v2, Lb0/r;->c:I
const/16 v4, 0x2000
if-ge v3, v4, :cond_1
iget-boolean v4, v2, Lb0/r;->e:Z
if-eqz v4, :cond_1
iget v2, v2, Lb0/r;->b:I
sub-int/2addr v3, v2
int-to-long v2, v3
sub-long/2addr v0, v2
:cond_1
return-wide v0
:cond_2
invoke-static {}, Lw/u/b/j;->throwNpe()V
throw v3
:cond_3
invoke-static {}, Lw/u/b/j;->throwNpe()V
throw v3
.end method
.method public b(Lb0/e;J)J
.locals 5
@ -3352,22 +3362,6 @@
return-object p0
.end method
.method public b()Lokio/ByteString;
.locals 3
new-instance v0, Lokio/ByteString;
iget-wide v1, p0, Lb0/e;->e:J
invoke-virtual {p0, v1, v2}, Lb0/e;->e(J)[B
move-result-object v1
invoke-direct {v0, v1}, Lokio/ByteString;-><init>([B)V
return-object v0
.end method
.method public c(Lokio/ByteString;)J
.locals 2
@ -3705,37 +3699,16 @@
return-object p0
.end method
.method public c()S
.method public c()[B
.locals 2
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/EOFException;
}
.end annotation
invoke-virtual {p0}, Lb0/e;->readShort()S
iget-wide v0, p0, Lb0/e;->e:J
move-result v0
invoke-virtual {p0, v0, v1}, Lb0/e;->e(J)[B
const v1, 0xffff
move-result-object v0
and-int/2addr v0, v1
const v1, 0xff00
and-int/2addr v1, v0
ushr-int/lit8 v1, v1, 0x8
and-int/lit16 v0, v0, 0xff
shl-int/lit8 v0, v0, 0x8
or-int/2addr v0, v1
int-to-short v0, v0
return v0
return-object v0
.end method
.method public clone()Lb0/e;
@ -3877,16 +3850,16 @@
return-void
.end method
.method public d()Ljava/lang/String;
.locals 3
.method public d()Lokio/ByteString;
.locals 2
iget-wide v0, p0, Lb0/e;->e:J
new-instance v0, Lokio/ByteString;
sget-object v2, Lw/a0/a;->a:Ljava/nio/charset/Charset;
invoke-virtual {p0}, Lb0/e;->c()[B
invoke-virtual {p0, v0, v1, v2}, Lb0/e;->a(JLjava/nio/charset/Charset;)Ljava/lang/String;
move-result-object v1
move-result-object v0
invoke-direct {v0, v1}, Lokio/ByteString;-><init>([B)V
return-object v0
.end method
@ -3910,207 +3883,37 @@
return-object v0
.end method
.method public e()I
.locals 12
.method public e()S
.locals 2
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/EOFException;
}
.end annotation
iget-wide v0, p0, Lb0/e;->e:J
const-wide/16 v2, 0x0
cmp-long v4, v0, v2
if-eqz v4, :cond_b
invoke-virtual {p0, v2, v3}, Lb0/e;->h(J)B
invoke-virtual {p0}, Lb0/e;->readShort()S
move-result v0
and-int/lit16 v1, v0, 0x80
const v1, 0xffff
const/4 v2, 0x1
and-int/2addr v0, v1
const/16 v3, 0x80
const v1, 0xff00
const v4, 0xfffd
and-int/2addr v1, v0
if-nez v1, :cond_0
ushr-int/lit8 v1, v1, 0x8
and-int/lit8 v1, v0, 0x7f
and-int/lit16 v0, v0, 0xff
const/4 v5, 0x1
shl-int/lit8 v0, v0, 0x8
const/4 v6, 0x0
or-int/2addr v0, v1
goto :goto_0
int-to-short v0, v0
:cond_0
and-int/lit16 v1, v0, 0xe0
const/16 v5, 0xc0
if-ne v1, v5, :cond_1
and-int/lit8 v1, v0, 0x1f
const/4 v5, 0x2
const/16 v6, 0x80
goto :goto_0
:cond_1
and-int/lit16 v1, v0, 0xf0
const/16 v5, 0xe0
if-ne v1, v5, :cond_2
and-int/lit8 v1, v0, 0xf
const/4 v5, 0x3
const/16 v6, 0x800
goto :goto_0
:cond_2
and-int/lit16 v1, v0, 0xf8
const/16 v5, 0xf0
if-ne v1, v5, :cond_a
and-int/lit8 v1, v0, 0x7
const/4 v5, 0x4
const/high16 v6, 0x10000
:goto_0
iget-wide v7, p0, Lb0/e;->e:J
int-to-long v9, v5
cmp-long v11, v7, v9
if-ltz v11, :cond_9
:goto_1
if-ge v2, v5, :cond_4
int-to-long v7, v2
invoke-virtual {p0, v7, v8}, Lb0/e;->h(J)B
move-result v0
and-int/lit16 v11, v0, 0xc0
if-ne v11, v3, :cond_3
shl-int/lit8 v1, v1, 0x6
and-int/lit8 v0, v0, 0x3f
or-int/2addr v1, v0
add-int/lit8 v2, v2, 0x1
goto :goto_1
:cond_3
invoke-virtual {p0, v7, v8}, Lb0/e;->skip(J)V
return v4
:cond_4
invoke-virtual {p0, v9, v10}, Lb0/e;->skip(J)V
const v0, 0x10ffff
if-le v1, v0, :cond_5
goto :goto_3
:cond_5
const v0, 0xdfff
const v2, 0xd800
if-le v2, v1, :cond_6
goto :goto_2
:cond_6
if-lt v0, v1, :cond_7
goto :goto_3
:cond_7
:goto_2
if-ge v1, v6, :cond_8
:goto_3
const v1, 0xfffd
:cond_8
return v1
:cond_9
new-instance v1, Ljava/io/EOFException;
const-string v2, "size < "
const-string v3, ": "
invoke-static {v2, v5, v3}, Le/e/b/a/a;->b(Ljava/lang/String;ILjava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v2
iget-wide v3, p0, Lb0/e;->e:J
invoke-virtual {v2, v3, v4}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
const-string v3, " (to read code point prefixed 0x"
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-static {v0}, Ljava/lang/Integer;->toHexString(I)Ljava/lang/String;
move-result-object v0
invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v0, ")"
invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
invoke-direct {v1, v0}, Ljava/io/EOFException;-><init>(Ljava/lang/String;)V
throw v1
:cond_a
const-wide/16 v0, 0x1
invoke-virtual {p0, v0, v1}, Lb0/e;->skip(J)V
return v4
:cond_b
new-instance v0, Ljava/io/EOFException;
invoke-direct {v0}, Ljava/io/EOFException;-><init>()V
throw v0
return v0
.end method
.method public e(J)[B
@ -4365,6 +4168,20 @@
throw v5
.end method
.method public f()Ljava/lang/String;
.locals 3
iget-wide v0, p0, Lb0/e;->e:J
sget-object v2, Lw/a0/a;->a:Ljava/nio/charset/Charset;
invoke-virtual {p0, v0, v1, v2}, Lb0/e;->a(JLjava/nio/charset/Charset;)Ljava/lang/String;
move-result-object v0
return-object v0
.end method
.method public f(J)Ljava/lang/String;
.locals 11
.annotation system Ldalvik/annotation/Throws;
@ -4505,7 +4322,7 @@
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v6}, Lb0/e;->b()Lokio/ByteString;
invoke-virtual {v6}, Lb0/e;->d()Lokio/ByteString;
move-result-object p1
@ -4551,6 +4368,209 @@
return-void
.end method
.method public g()I
.locals 12
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/EOFException;
}
.end annotation
iget-wide v0, p0, Lb0/e;->e:J
const-wide/16 v2, 0x0
cmp-long v4, v0, v2
if-eqz v4, :cond_b
invoke-virtual {p0, v2, v3}, Lb0/e;->h(J)B
move-result v0
and-int/lit16 v1, v0, 0x80
const/4 v2, 0x1
const/16 v3, 0x80
const v4, 0xfffd
if-nez v1, :cond_0
and-int/lit8 v1, v0, 0x7f
const/4 v5, 0x1
const/4 v6, 0x0
goto :goto_0
:cond_0
and-int/lit16 v1, v0, 0xe0
const/16 v5, 0xc0
if-ne v1, v5, :cond_1
and-int/lit8 v1, v0, 0x1f
const/4 v5, 0x2
const/16 v6, 0x80
goto :goto_0
:cond_1
and-int/lit16 v1, v0, 0xf0
const/16 v5, 0xe0
if-ne v1, v5, :cond_2
and-int/lit8 v1, v0, 0xf
const/4 v5, 0x3
const/16 v6, 0x800
goto :goto_0
:cond_2
and-int/lit16 v1, v0, 0xf8
const/16 v5, 0xf0
if-ne v1, v5, :cond_a
and-int/lit8 v1, v0, 0x7
const/4 v5, 0x4
const/high16 v6, 0x10000
:goto_0
iget-wide v7, p0, Lb0/e;->e:J
int-to-long v9, v5
cmp-long v11, v7, v9
if-ltz v11, :cond_9
:goto_1
if-ge v2, v5, :cond_4
int-to-long v7, v2
invoke-virtual {p0, v7, v8}, Lb0/e;->h(J)B
move-result v0
and-int/lit16 v11, v0, 0xc0
if-ne v11, v3, :cond_3
shl-int/lit8 v1, v1, 0x6
and-int/lit8 v0, v0, 0x3f
or-int/2addr v1, v0
add-int/lit8 v2, v2, 0x1
goto :goto_1
:cond_3
invoke-virtual {p0, v7, v8}, Lb0/e;->skip(J)V
return v4
:cond_4
invoke-virtual {p0, v9, v10}, Lb0/e;->skip(J)V
const v0, 0x10ffff
if-le v1, v0, :cond_5
goto :goto_3
:cond_5
const v0, 0xdfff
const v2, 0xd800
if-le v2, v1, :cond_6
goto :goto_2
:cond_6
if-lt v0, v1, :cond_7
goto :goto_3
:cond_7
:goto_2
if-ge v1, v6, :cond_8
:goto_3
const v1, 0xfffd
:cond_8
return v1
:cond_9
new-instance v1, Ljava/io/EOFException;
const-string v2, "size < "
const-string v3, ": "
invoke-static {v2, v5, v3}, Le/e/b/a/a;->b(Ljava/lang/String;ILjava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v2
iget-wide v3, p0, Lb0/e;->e:J
invoke-virtual {v2, v3, v4}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
const-string v3, " (to read code point prefixed 0x"
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-static {v0}, Ljava/lang/Integer;->toHexString(I)Ljava/lang/String;
move-result-object v0
invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v0, ")"
invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
invoke-direct {v1, v0}, Ljava/io/EOFException;-><init>(Ljava/lang/String;)V
throw v1
:cond_a
const-wide/16 v0, 0x1
invoke-virtual {p0, v0, v1}, Lb0/e;->skip(J)V
return v4
:cond_b
new-instance v0, Ljava/io/EOFException;
invoke-direct {v0}, Ljava/io/EOFException;-><init>()V
throw v0
.end method
.method public g(J)V
.locals 3
.annotation system Ldalvik/annotation/Throws;
@ -4695,6 +4715,14 @@
throw v1
.end method
.method public final h()J
.locals 2
iget-wide v0, p0, Lb0/e;->e:J
return-wide v0
.end method
.method public hashCode()I
.locals 5
@ -5000,7 +5028,7 @@
move-result-object v2
invoke-virtual {v0}, Lb0/e;->d()Ljava/lang/String;
invoke-virtual {v0}, Lb0/e;->f()Ljava/lang/String;
move-result-object v0

View file

@ -379,7 +379,7 @@
iget-object v0, v0, Lb0/q;->d:Lb0/e;
invoke-virtual {v0}, Lb0/e;->c()S
invoke-virtual {v0}, Lb0/e;->e()S
move-result v0
@ -544,7 +544,7 @@
iget-object v0, v0, Lb0/q;->d:Lb0/e;
invoke-virtual {v0}, Lb0/e;->c()S
invoke-virtual {v0}, Lb0/e;->e()S
move-result v0

View file

@ -16,13 +16,11 @@
.method public constructor <init>(Ljava/io/OutputStream;Lb0/x;)V
.locals 1
const-string v0, "out"
const/4 v0, 0x0
invoke-static {p1, v0}, Lw/u/b/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
if-eqz p1, :cond_1
const-string v0, "timeout"
invoke-static {p2, v0}, Lw/u/b/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
if-eqz p2, :cond_0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
@ -31,6 +29,20 @@
iput-object p2, p0, Lb0/o;->e:Lb0/x;
return-void
:cond_0
const-string p1, "timeout"
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
throw v0
:cond_1
const-string p1, "out"
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
throw v0
.end method

View file

@ -98,7 +98,7 @@
iget-object v0, p0, Lb0/p;->d:Lb0/e;
invoke-virtual {v0}, Lb0/e;->a()J
invoke-virtual {v0}, Lb0/e;->b()J
move-result-wide v0

View file

@ -367,7 +367,7 @@
iget-object v4, p0, Lb0/q;->d:Lb0/e;
invoke-virtual {v4}, Lb0/e;->a()J
invoke-virtual {v4}, Lb0/e;->b()J
move-result-wide v4
@ -864,7 +864,7 @@
.end method
.method public close()V
.locals 3
.locals 1
iget-boolean v0, p0, Lb0/q;->e:Z
@ -883,9 +883,7 @@
iget-object v0, p0, Lb0/q;->d:Lb0/e;
iget-wide v1, v0, Lb0/e;->e:J
invoke-virtual {v0, v1, v2}, Lb0/e;->skip(J)V
invoke-virtual {v0}, Lb0/e;->a()V
return-void
.end method
@ -1099,7 +1097,7 @@
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v6}, Lb0/e;->b()Lokio/ByteString;
invoke-virtual {v6}, Lb0/e;->d()Lokio/ByteString;
move-result-object p1

View file

@ -11,11 +11,9 @@
# direct methods
.method public constructor <init>(Ljava/net/Socket;)V
.locals 1
.locals 0
const-string v0, "socket"
invoke-static {p1, v0}, Lw/u/b/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
if-eqz p1, :cond_0
invoke-direct {p0}, Lb0/b;-><init>()V
@ -30,6 +28,15 @@
iput-object p1, p0, Lb0/v;->l:Ljava/util/logging/Logger;
return-void
:cond_0
const-string p1, "socket"
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method

View file

@ -251,14 +251,16 @@
.method public static final a(Lokio/ByteString;)Ljava/lang/String;
.locals 2
const/4 v0, 0x0
const-string v0, "$receiver"
if-eqz p0, :cond_0
invoke-static {p0, v0}, Lw/u/b/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {p0}, Lokio/ByteString;->b()[B
move-result-object p0
const/4 v0, 0x0
const/4 v1, 0x1
invoke-static {p0, v0, v1}, Lb0/a;->a([B[BI)Ljava/lang/String;
@ -266,13 +268,6 @@
move-result-object p0
return-object p0
:cond_0
const-string p0, "$receiver"
invoke-static {p0}, Lw/u/b/j;->a(Ljava/lang/String;)V
throw v0
.end method
.method public static final a(Ljava/lang/String;)Lokio/ByteString;
@ -1765,7 +1760,7 @@
const-string v6, "\\\\"
invoke-static {v2, v5, v6, v1, v4}, Lw/a0/p;->replace$default(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZI)Ljava/lang/String;
invoke-static {v2, v5, v6, v1, v4}, Lw/a0/n;->replace$default(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZI)Ljava/lang/String;
move-result-object v2
@ -1773,7 +1768,7 @@
const-string v6, "\\n"
invoke-static {v2, v5, v6, v1, v4}, Lw/a0/p;->replace$default(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZI)Ljava/lang/String;
invoke-static {v2, v5, v6, v1, v4}, Lw/a0/n;->replace$default(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZI)Ljava/lang/String;
move-result-object v2
@ -1781,7 +1776,7 @@
const-string v6, "\\r"
invoke-static {v2, v5, v6, v1, v4}, Lw/a0/p;->replace$default(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZI)Ljava/lang/String;
invoke-static {v2, v5, v6, v1, v4}, Lw/a0/n;->replace$default(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZI)Ljava/lang/String;
move-result-object v1