Changes of com.discord v1349

This commit is contained in:
root 2020-11-30 22:35:21 +00:00
parent ee3363e6d6
commit 3f4974bc38
11672 changed files with 479129 additions and 478996 deletions

View file

@ -0,0 +1,340 @@
.class public final Lc0/z/a;
.super Ljava/lang/Object;
.source "Buffer.kt"
# static fields
.field public static final a:[B
# direct methods
.method public static constructor <clinit>()V
.locals 2
const-string v0, "0123456789abcdef"
const-string v1, "$this$asUtf8ToByteArray"
invoke-static {v0, v1}, Lx/m/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
sget-object v1, Lx/s/a;->a:Ljava/nio/charset/Charset;
invoke-virtual {v0, v1}, Ljava/lang/String;->getBytes(Ljava/nio/charset/Charset;)[B
move-result-object v0
const-string v1, "(this as java.lang.String).getBytes(charset)"
invoke-static {v0, v1}, Lx/m/c/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
sput-object v0, Lc0/z/a;->a:[B
return-void
.end method
.method public static final a(Lc0/e;J)Ljava/lang/String;
.locals 6
const-string v0, "$this$readUtf8Line"
invoke-static {p0, v0}, Lx/m/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const-wide/16 v0, 0x1
const-wide/16 v2, 0x0
cmp-long v4, p1, v2
if-lez v4, :cond_0
sub-long v2, p1, v0
invoke-virtual {p0, v2, v3}, Lc0/e;->g(J)B
move-result v4
const/16 v5, 0xd
int-to-byte v5, v5
if-ne v4, v5, :cond_0
invoke-virtual {p0, v2, v3}, Lc0/e;->C(J)Ljava/lang/String;
move-result-object p1
const-wide/16 v0, 0x2
invoke-virtual {p0, v0, v1}, Lc0/e;->skip(J)V
goto :goto_0
:cond_0
invoke-virtual {p0, p1, p2}, Lc0/e;->C(J)Ljava/lang/String;
move-result-object p1
invoke-virtual {p0, v0, v1}, Lc0/e;->skip(J)V
:goto_0
return-object p1
.end method
.method public static final b(Lc0/e;Lc0/o;Z)I
.locals 17
move-object/from16 v0, p0
move-object/from16 v1, p1
const-string v2, "$this$selectPrefix"
invoke-static {v0, v2}, Lx/m/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const-string v2, "options"
invoke-static {v1, v2}, Lx/m/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
iget-object v0, v0, Lc0/e;->d:Lc0/s;
const/4 v2, -0x2
const/4 v3, -0x1
if-eqz v0, :cond_11
iget-object v4, v0, Lc0/s;->a:[B
iget v5, v0, Lc0/s;->b:I
iget v6, v0, Lc0/s;->c:I
iget-object v1, v1, Lc0/o;->e:[I
const/4 v7, 0x0
move-object v9, v0
const/4 v8, 0x0
const/4 v10, -0x1
:goto_0
add-int/lit8 v11, v8, 0x1
aget v8, v1, v8
add-int/lit8 v12, v11, 0x1
aget v11, v1, v11
if-eq v11, v3, :cond_0
move v10, v11
:cond_0
if-nez v9, :cond_1
goto :goto_3
:cond_1
const/4 v11, 0x0
if-gez v8, :cond_b
mul-int/lit8 v8, v8, -0x1
add-int v13, v8, v12
:goto_1
add-int/lit8 v8, v5, 0x1
aget-byte v5, v4, v5
and-int/lit16 v5, v5, 0xff
add-int/lit8 v14, v12, 0x1
aget v12, v1, v12
if-eq v5, v12, :cond_2
return v10
:cond_2
if-ne v14, v13, :cond_3
const/4 v5, 0x1
goto :goto_2
:cond_3
const/4 v5, 0x0
:goto_2
if-ne v8, v6, :cond_9
if-eqz v9, :cond_8
iget-object v4, v9, Lc0/s;->f:Lc0/s;
if-eqz v4, :cond_7
iget v6, v4, Lc0/s;->b:I
iget-object v8, v4, Lc0/s;->a:[B
iget v9, v4, Lc0/s;->c:I
if-ne v4, v0, :cond_6
if-nez v5, :cond_5
:goto_3
if-eqz p2, :cond_4
return v2
:cond_4
return v10
:cond_5
move-object v4, v8
move-object v8, v11
goto :goto_4
:cond_6
move-object/from16 v16, v8
move-object v8, v4
move-object/from16 v4, v16
goto :goto_4
:cond_7
invoke-static {}, Lx/m/c/j;->throwNpe()V
throw v11
:cond_8
invoke-static {}, Lx/m/c/j;->throwNpe()V
throw v11
:cond_9
move-object/from16 v16, v9
move v9, v6
move v6, v8
move-object/from16 v8, v16
:goto_4
if-eqz v5, :cond_a
aget v5, v1, v14
move v13, v6
move v6, v9
move-object v9, v8
goto :goto_6
:cond_a
move v5, v6
move v6, v9
move v12, v14
move-object v9, v8
goto :goto_1
:cond_b
add-int/lit8 v13, v5, 0x1
aget-byte v5, v4, v5
and-int/lit16 v5, v5, 0xff
add-int v14, v12, v8
:goto_5
if-ne v12, v14, :cond_c
return v10
:cond_c
aget v15, v1, v12
if-ne v5, v15, :cond_10
add-int/2addr v12, v8
aget v5, v1, v12
if-ne v13, v6, :cond_e
iget-object v9, v9, Lc0/s;->f:Lc0/s;
if-eqz v9, :cond_d
iget v4, v9, Lc0/s;->b:I
iget-object v6, v9, Lc0/s;->a:[B
iget v8, v9, Lc0/s;->c:I
move v13, v4
move-object v4, v6
move v6, v8
if-ne v9, v0, :cond_e
move-object v9, v11
goto :goto_6
:cond_d
invoke-static {}, Lx/m/c/j;->throwNpe()V
throw v11
:cond_e
:goto_6
if-ltz v5, :cond_f
return v5
:cond_f
neg-int v8, v5
move v5, v13
goto/16 :goto_0
:cond_10
add-int/lit8 v12, v12, 0x1
goto :goto_5
:cond_11
if-eqz p2, :cond_12
goto :goto_7
:cond_12
const/4 v2, -0x1
:goto_7
return v2
.end method

View file

@ -0,0 +1,116 @@
.class public final Lc0/z/b;
.super Ljava/lang/Object;
.source "ByteString.kt"
# static fields
.field public static final a:[C
# direct methods
.method public static constructor <clinit>()V
.locals 1
const/16 v0, 0x10
new-array v0, v0, [C
fill-array-data v0, :array_0
sput-object v0, Lc0/z/b;->a:[C
return-void
:array_0
.array-data 2
0x30s
0x31s
0x32s
0x33s
0x34s
0x35s
0x36s
0x37s
0x38s
0x39s
0x61s
0x62s
0x63s
0x64s
0x65s
0x66s
.end array-data
.end method
.method public static final a(C)I
.locals 3
const/16 v0, 0x30
if-le v0, p0, :cond_0
goto :goto_0
:cond_0
const/16 v1, 0x39
if-lt v1, p0, :cond_1
sub-int/2addr p0, v0
goto :goto_3
:cond_1
:goto_0
const/16 v0, 0x66
const/16 v1, 0x61
if-le v1, p0, :cond_2
goto :goto_1
:cond_2
if-lt v0, p0, :cond_3
goto :goto_2
:cond_3
:goto_1
const/16 v0, 0x46
const/16 v1, 0x41
if-gt v1, p0, :cond_4
if-lt v0, p0, :cond_4
:goto_2
sub-int/2addr p0, v1
add-int/lit8 p0, p0, 0xa
:goto_3
return p0
:cond_4
new-instance v0, Ljava/lang/IllegalArgumentException;
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
const-string v2, "Unexpected hex digit: "
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1, p0}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p0
invoke-direct {v0, p0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw v0
.end method