Changes of com.discord v987

This commit is contained in:
root 2019-11-20 23:09:14 +01:00
parent 4f9eb81121
commit cb948578ae
8953 changed files with 78928 additions and 88209 deletions

View file

@ -452,28 +452,52 @@
.end method
.method private indexOf(Ljava/lang/Object;I)I
.locals 5
.locals 4
iget v0, p0, Landroidx/collection/ArraySet;->mSize:I
const/4 v1, -0x1
if-nez v0, :cond_0
const/4 p1, -0x1
return p1
:cond_0
iget-object v1, p0, Landroidx/collection/ArraySet;->mHashes:[I
invoke-static {v1, v0, p2}, Landroidx/collection/ContainerHelpers;->binarySearch([III)I
move-result v1
if-gez v1, :cond_1
return v1
:cond_0
iget-object v2, p0, Landroidx/collection/ArraySet;->mHashes:[I
:cond_1
iget-object v2, p0, Landroidx/collection/ArraySet;->mArray:[Ljava/lang/Object;
invoke-static {v2, v0, p2}, Landroidx/collection/ContainerHelpers;->binarySearch([III)I
aget-object v2, v2, v1
invoke-virtual {p1, v2}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
move-result v2
if-gez v2, :cond_1
if-eqz v2, :cond_2
return v2
return v1
:cond_2
add-int/lit8 v2, v1, 0x1
:goto_0
if-ge v2, v0, :cond_4
iget-object v3, p0, Landroidx/collection/ArraySet;->mHashes:[I
aget v3, v3, v2
if-ne v3, p2, :cond_4
:cond_1
iget-object v3, p0, Landroidx/collection/ArraySet;->mArray:[Ljava/lang/Object;
aget-object v3, v3, v2
@ -482,54 +506,30 @@
move-result v3
if-eqz v3, :cond_2
if-eqz v3, :cond_3
return v2
:cond_2
add-int/lit8 v3, v2, 0x1
:goto_0
if-ge v3, v0, :cond_4
iget-object v4, p0, Landroidx/collection/ArraySet;->mHashes:[I
aget v4, v4, v3
if-ne v4, p2, :cond_4
iget-object v4, p0, Landroidx/collection/ArraySet;->mArray:[Ljava/lang/Object;
aget-object v4, v4, v3
invoke-virtual {p1, v4}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
move-result v4
if-eqz v4, :cond_3
return v3
:cond_3
add-int/lit8 v3, v3, 0x1
add-int/lit8 v2, v2, 0x1
goto :goto_0
:cond_4
add-int/lit8 v2, v2, -0x1
add-int/lit8 v1, v1, -0x1
:goto_1
if-ltz v2, :cond_6
if-ltz v1, :cond_6
iget-object v0, p0, Landroidx/collection/ArraySet;->mHashes:[I
aget v0, v0, v2
aget v0, v0, v1
if-ne v0, p2, :cond_6
iget-object v0, p0, Landroidx/collection/ArraySet;->mArray:[Ljava/lang/Object;
aget-object v0, v0, v2
aget-object v0, v0, v1
invoke-virtual {p1, v0}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
@ -537,104 +537,104 @@
if-eqz v0, :cond_5
return v2
return v1
:cond_5
add-int/lit8 v2, v2, -0x1
add-int/lit8 v1, v1, -0x1
goto :goto_1
:cond_6
xor-int/lit8 p1, v3, -0x1
not-int p1, v2
return p1
.end method
.method private indexOfNull()I
.locals 5
.locals 4
iget v0, p0, Landroidx/collection/ArraySet;->mSize:I
const/4 v1, -0x1
if-nez v0, :cond_0
const/4 v0, -0x1
return v0
:cond_0
iget-object v1, p0, Landroidx/collection/ArraySet;->mHashes:[I
const/4 v2, 0x0
invoke-static {v1, v0, v2}, Landroidx/collection/ContainerHelpers;->binarySearch([III)I
move-result v1
if-gez v1, :cond_1
return v1
:cond_0
iget-object v2, p0, Landroidx/collection/ArraySet;->mHashes:[I
const/4 v3, 0x0
invoke-static {v2, v0, v3}, Landroidx/collection/ContainerHelpers;->binarySearch([III)I
move-result v2
if-gez v2, :cond_1
return v2
:cond_1
iget-object v2, p0, Landroidx/collection/ArraySet;->mArray:[Ljava/lang/Object;
aget-object v2, v2, v1
if-nez v2, :cond_2
return v1
:cond_2
add-int/lit8 v2, v1, 0x1
:goto_0
if-ge v2, v0, :cond_4
iget-object v3, p0, Landroidx/collection/ArraySet;->mHashes:[I
aget v3, v3, v2
if-nez v3, :cond_4
iget-object v3, p0, Landroidx/collection/ArraySet;->mArray:[Ljava/lang/Object;
aget-object v3, v3, v2
if-nez v3, :cond_2
if-nez v3, :cond_3
return v2
:cond_2
add-int/lit8 v3, v2, 0x1
:goto_0
if-ge v3, v0, :cond_4
iget-object v4, p0, Landroidx/collection/ArraySet;->mHashes:[I
aget v4, v4, v3
if-nez v4, :cond_4
iget-object v4, p0, Landroidx/collection/ArraySet;->mArray:[Ljava/lang/Object;
aget-object v4, v4, v3
if-nez v4, :cond_3
return v3
:cond_3
add-int/lit8 v3, v3, 0x1
add-int/lit8 v2, v2, 0x1
goto :goto_0
:cond_4
add-int/lit8 v2, v2, -0x1
add-int/lit8 v1, v1, -0x1
:goto_1
if-ltz v2, :cond_6
if-ltz v1, :cond_6
iget-object v0, p0, Landroidx/collection/ArraySet;->mHashes:[I
aget v0, v0, v2
aget v0, v0, v1
if-nez v0, :cond_6
iget-object v0, p0, Landroidx/collection/ArraySet;->mArray:[Ljava/lang/Object;
aget-object v0, v0, v2
aget-object v0, v0, v1
if-nez v0, :cond_5
return v2
return v1
:cond_5
add-int/lit8 v2, v2, -0x1
add-int/lit8 v1, v1, -0x1
goto :goto_1
:cond_6
xor-int/lit8 v0, v3, -0x1
not-int v0, v2
return v0
.end method
@ -682,7 +682,7 @@
return v0
:cond_1
xor-int/lit8 v1, v1, -0x1
not-int v1, v1
iget v3, p0, Landroidx/collection/ArraySet;->mSize:I

View file

@ -519,13 +519,7 @@
invoke-direct {p1}, Ljava/lang/ArrayIndexOutOfBoundsException;-><init>()V
goto :goto_3
:goto_2
throw p1
:goto_3
goto :goto_2
.end method
.method public final removeFromStart(I)V
@ -611,13 +605,7 @@
invoke-direct {p1}, Ljava/lang/ArrayIndexOutOfBoundsException;-><init>()V
goto :goto_3
:goto_2
throw p1
:goto_3
goto :goto_2
.end method
.method public final size()I

View file

@ -73,7 +73,7 @@
return v1
:cond_2
xor-int/lit8 p0, v0, -0x1
not-int p0, v0
return p0
.end method
@ -103,9 +103,7 @@
goto :goto_0
:cond_0
cmp-long p1, v2, p2
if-lez p1, :cond_1
if-lez v4, :cond_1
add-int/lit8 p1, v1, -0x1
@ -115,7 +113,7 @@
return v1
:cond_2
xor-int/lit8 p0, v0, -0x1
not-int p0, v0
return p0
.end method

View file

@ -567,7 +567,7 @@
return-void
:cond_0
xor-int/lit8 v0, v0, -0x1
not-int v0, v0
iget v1, p0, Landroidx/collection/LongSparseArray;->mSize:I
@ -612,7 +612,7 @@
move-result v0
xor-int/lit8 v0, v0, -0x1
not-int v0, v0
:cond_2
iget v1, p0, Landroidx/collection/LongSparseArray;->mSize:I

View file

@ -910,11 +910,5 @@
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
goto :goto_3
:goto_2
throw p1
:goto_3
goto :goto_2
.end method

View file

@ -804,28 +804,54 @@
.end method
.method indexOf(Ljava/lang/Object;I)I
.locals 6
.locals 5
iget v0, p0, Landroidx/collection/SimpleArrayMap;->mSize:I
const/4 v1, -0x1
if-nez v0, :cond_0
const/4 p1, -0x1
return p1
:cond_0
iget-object v1, p0, Landroidx/collection/SimpleArrayMap;->mHashes:[I
invoke-static {v1, v0, p2}, Landroidx/collection/SimpleArrayMap;->binarySearchHashes([III)I
move-result v1
if-gez v1, :cond_1
return v1
:cond_0
iget-object v2, p0, Landroidx/collection/SimpleArrayMap;->mHashes:[I
:cond_1
iget-object v2, p0, Landroidx/collection/SimpleArrayMap;->mArray:[Ljava/lang/Object;
invoke-static {v2, v0, p2}, Landroidx/collection/SimpleArrayMap;->binarySearchHashes([III)I
shl-int/lit8 v3, v1, 0x1
aget-object v2, v2, v3
invoke-virtual {p1, v2}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
move-result v2
if-gez v2, :cond_1
if-eqz v2, :cond_2
return v2
return v1
:cond_2
add-int/lit8 v2, v1, 0x1
:goto_0
if-ge v2, v0, :cond_4
iget-object v3, p0, Landroidx/collection/SimpleArrayMap;->mHashes:[I
aget v3, v3, v2
if-ne v3, p2, :cond_4
:cond_1
iget-object v3, p0, Landroidx/collection/SimpleArrayMap;->mArray:[Ljava/lang/Object;
shl-int/lit8 v4, v2, 0x1
@ -836,58 +862,32 @@
move-result v3
if-eqz v3, :cond_2
if-eqz v3, :cond_3
return v2
:cond_2
add-int/lit8 v3, v2, 0x1
:goto_0
if-ge v3, v0, :cond_4
iget-object v4, p0, Landroidx/collection/SimpleArrayMap;->mHashes:[I
aget v4, v4, v3
if-ne v4, p2, :cond_4
iget-object v4, p0, Landroidx/collection/SimpleArrayMap;->mArray:[Ljava/lang/Object;
shl-int/lit8 v5, v3, 0x1
aget-object v4, v4, v5
invoke-virtual {p1, v4}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
move-result v4
if-eqz v4, :cond_3
return v3
:cond_3
add-int/lit8 v3, v3, 0x1
add-int/lit8 v2, v2, 0x1
goto :goto_0
:cond_4
add-int/lit8 v2, v2, -0x1
add-int/lit8 v1, v1, -0x1
:goto_1
if-ltz v2, :cond_6
if-ltz v1, :cond_6
iget-object v0, p0, Landroidx/collection/SimpleArrayMap;->mHashes:[I
aget v0, v0, v2
aget v0, v0, v1
if-ne v0, p2, :cond_6
iget-object v0, p0, Landroidx/collection/SimpleArrayMap;->mArray:[Ljava/lang/Object;
shl-int/lit8 v4, v2, 0x1
shl-int/lit8 v3, v1, 0x1
aget-object v0, v0, v4
aget-object v0, v0, v3
invoke-virtual {p1, v0}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
@ -895,15 +895,15 @@
if-eqz v0, :cond_5
return v2
return v1
:cond_5
add-int/lit8 v2, v2, -0x1
add-int/lit8 v1, v1, -0x1
goto :goto_1
:cond_6
xor-int/lit8 p1, v3, -0x1
not-int p1, v2
return p1
.end method
@ -932,96 +932,96 @@
.end method
.method indexOfNull()I
.locals 6
.locals 5
iget v0, p0, Landroidx/collection/SimpleArrayMap;->mSize:I
const/4 v1, -0x1
if-nez v0, :cond_0
const/4 v0, -0x1
return v0
:cond_0
iget-object v1, p0, Landroidx/collection/SimpleArrayMap;->mHashes:[I
const/4 v2, 0x0
invoke-static {v1, v0, v2}, Landroidx/collection/SimpleArrayMap;->binarySearchHashes([III)I
move-result v1
if-gez v1, :cond_1
return v1
:cond_0
iget-object v2, p0, Landroidx/collection/SimpleArrayMap;->mHashes:[I
const/4 v3, 0x0
invoke-static {v2, v0, v3}, Landroidx/collection/SimpleArrayMap;->binarySearchHashes([III)I
move-result v2
if-gez v2, :cond_1
return v2
:cond_1
iget-object v2, p0, Landroidx/collection/SimpleArrayMap;->mArray:[Ljava/lang/Object;
shl-int/lit8 v3, v1, 0x1
aget-object v2, v2, v3
if-nez v2, :cond_2
return v1
:cond_2
add-int/lit8 v2, v1, 0x1
:goto_0
if-ge v2, v0, :cond_4
iget-object v3, p0, Landroidx/collection/SimpleArrayMap;->mHashes:[I
aget v3, v3, v2
if-nez v3, :cond_4
iget-object v3, p0, Landroidx/collection/SimpleArrayMap;->mArray:[Ljava/lang/Object;
shl-int/lit8 v4, v2, 0x1
aget-object v3, v3, v4
if-nez v3, :cond_2
if-nez v3, :cond_3
return v2
:cond_2
add-int/lit8 v3, v2, 0x1
:goto_0
if-ge v3, v0, :cond_4
iget-object v4, p0, Landroidx/collection/SimpleArrayMap;->mHashes:[I
aget v4, v4, v3
if-nez v4, :cond_4
iget-object v4, p0, Landroidx/collection/SimpleArrayMap;->mArray:[Ljava/lang/Object;
shl-int/lit8 v5, v3, 0x1
aget-object v4, v4, v5
if-nez v4, :cond_3
return v3
:cond_3
add-int/lit8 v3, v3, 0x1
add-int/lit8 v2, v2, 0x1
goto :goto_0
:cond_4
add-int/lit8 v2, v2, -0x1
add-int/lit8 v1, v1, -0x1
:goto_1
if-ltz v2, :cond_6
if-ltz v1, :cond_6
iget-object v0, p0, Landroidx/collection/SimpleArrayMap;->mHashes:[I
aget v0, v0, v2
aget v0, v0, v1
if-nez v0, :cond_6
iget-object v0, p0, Landroidx/collection/SimpleArrayMap;->mArray:[Ljava/lang/Object;
shl-int/lit8 v4, v2, 0x1
shl-int/lit8 v3, v1, 0x1
aget-object v0, v0, v4
aget-object v0, v0, v3
if-nez v0, :cond_5
return v2
return v1
:cond_5
add-int/lit8 v2, v2, -0x1
add-int/lit8 v1, v1, -0x1
goto :goto_1
:cond_6
xor-int/lit8 v0, v3, -0x1
not-int v0, v2
return v0
.end method
@ -1173,7 +1173,7 @@
return-object v1
:cond_1
xor-int/lit8 v2, v2, -0x1
not-int v2, v2
iget-object v4, p0, Landroidx/collection/SimpleArrayMap;->mHashes:[I

View file

@ -565,7 +565,7 @@
return-void
:cond_0
xor-int/lit8 v0, v0, -0x1
not-int v0, v0
iget v1, p0, Landroidx/collection/SparseArrayCompat;->mSize:I
@ -610,7 +610,7 @@
move-result v0
xor-int/lit8 v0, v0, -0x1
not-int v0, v0
:cond_2
iget v1, p0, Landroidx/collection/SparseArrayCompat;->mSize:I