- Imported from https://github.com/supermegamestre/Project-Real-Resurrection-3 - APKTool decompilation (Smali bytecode) for modding and rebuilding APK - Supports both 32-bit (armeabi-v7a) and 64-bit (arm64-v8a) architectures - Includes full Smali source, resources, and native libraries - Ready to rebuild APK after modifications with apktool b command - Added comprehensive README-apktool.md with modding guide This branch complements the JADX branches: - Use JADX (main/discord-community) to UNDERSTAND code (readable Java) - Use APKTool (this branch) to MODIFY and REBUILD APK (editable Smali) Total: 44,417 files, 538.51 MB Smali source code
361 lines
6.6 KiB
Smali
361 lines
6.6 KiB
Smali
.class public abstract Lcom/google/common/collect/Lists;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# direct methods
|
|
.method public static equalsImpl(Ljava/util/List;Ljava/lang/Object;)Z
|
|
.locals 6
|
|
|
|
.line 975
|
|
invoke-static {p0}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
if-ne p1, v0, :cond_0
|
|
|
|
return v1
|
|
|
|
.line 978
|
|
:cond_0
|
|
instance-of v0, p1, Ljava/util/List;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
return v2
|
|
|
|
.line 981
|
|
:cond_1
|
|
check-cast p1, Ljava/util/List;
|
|
|
|
.line 982
|
|
invoke-interface {p0}, Ljava/util/List;->size()I
|
|
|
|
move-result v0
|
|
|
|
.line 983
|
|
invoke-interface {p1}, Ljava/util/List;->size()I
|
|
|
|
move-result v3
|
|
|
|
if-eq v0, v3, :cond_2
|
|
|
|
return v2
|
|
|
|
.line 986
|
|
:cond_2
|
|
instance-of v3, p0, Ljava/util/RandomAccess;
|
|
|
|
if-eqz v3, :cond_5
|
|
|
|
instance-of v3, p1, Ljava/util/RandomAccess;
|
|
|
|
if-eqz v3, :cond_5
|
|
|
|
move v3, v2
|
|
|
|
:goto_0
|
|
if-ge v3, v0, :cond_4
|
|
|
|
.line 989
|
|
invoke-interface {p0, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v4
|
|
|
|
invoke-interface {p1, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v5
|
|
|
|
invoke-static {v4, v5}, Lcom/google/common/base/Objects;->equal(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v4
|
|
|
|
if-nez v4, :cond_3
|
|
|
|
return v2
|
|
|
|
:cond_3
|
|
add-int/lit8 v3, v3, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_4
|
|
return v1
|
|
|
|
.line 995
|
|
:cond_5
|
|
invoke-interface {p0}, Ljava/util/List;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {p0, p1}, Lcom/google/common/collect/Iterators;->elementsEqual(Ljava/util/Iterator;Ljava/util/Iterator;)Z
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static indexOfImpl(Ljava/util/List;Ljava/lang/Object;)I
|
|
.locals 1
|
|
|
|
.line 1013
|
|
instance-of v0, p0, Ljava/util/RandomAccess;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 1014
|
|
invoke-static {p0, p1}, Lcom/google/common/collect/Lists;->indexOfRandomAccess(Ljava/util/List;Ljava/lang/Object;)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
|
|
.line 1016
|
|
:cond_0
|
|
invoke-interface {p0}, Ljava/util/List;->listIterator()Ljava/util/ListIterator;
|
|
|
|
move-result-object p0
|
|
|
|
.line 1017
|
|
:cond_1
|
|
invoke-interface {p0}, Ljava/util/ListIterator;->hasNext()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
.line 1018
|
|
invoke-interface {p0}, Ljava/util/ListIterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {p1, v0}, Lcom/google/common/base/Objects;->equal(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 1019
|
|
invoke-interface {p0}, Ljava/util/ListIterator;->previousIndex()I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
|
|
:cond_2
|
|
const/4 p0, -0x1
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static indexOfRandomAccess(Ljava/util/List;Ljava/lang/Object;)I
|
|
.locals 3
|
|
|
|
.line 1027
|
|
invoke-interface {p0}, Ljava/util/List;->size()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-nez p1, :cond_1
|
|
|
|
:goto_0
|
|
if-ge v1, v0, :cond_3
|
|
|
|
.line 1030
|
|
invoke-interface {p0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
return v1
|
|
|
|
:cond_0
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
:goto_1
|
|
if-ge v1, v0, :cond_3
|
|
|
|
.line 1036
|
|
invoke-interface {p0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {p1, v2}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_2
|
|
|
|
return v1
|
|
|
|
:cond_2
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_3
|
|
const/4 p0, -0x1
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static lastIndexOfImpl(Ljava/util/List;Ljava/lang/Object;)I
|
|
.locals 1
|
|
|
|
.line 1046
|
|
instance-of v0, p0, Ljava/util/RandomAccess;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 1047
|
|
invoke-static {p0, p1}, Lcom/google/common/collect/Lists;->lastIndexOfRandomAccess(Ljava/util/List;Ljava/lang/Object;)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
|
|
.line 1049
|
|
:cond_0
|
|
invoke-interface {p0}, Ljava/util/List;->size()I
|
|
|
|
move-result v0
|
|
|
|
invoke-interface {p0, v0}, Ljava/util/List;->listIterator(I)Ljava/util/ListIterator;
|
|
|
|
move-result-object p0
|
|
|
|
.line 1050
|
|
:cond_1
|
|
invoke-interface {p0}, Ljava/util/ListIterator;->hasPrevious()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
.line 1051
|
|
invoke-interface {p0}, Ljava/util/ListIterator;->previous()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {p1, v0}, Lcom/google/common/base/Objects;->equal(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 1052
|
|
invoke-interface {p0}, Ljava/util/ListIterator;->nextIndex()I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
|
|
:cond_2
|
|
const/4 p0, -0x1
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static lastIndexOfRandomAccess(Ljava/util/List;Ljava/lang/Object;)I
|
|
.locals 2
|
|
|
|
if-nez p1, :cond_1
|
|
|
|
.line 1061
|
|
invoke-interface {p0}, Ljava/util/List;->size()I
|
|
|
|
move-result p1
|
|
|
|
add-int/lit8 p1, p1, -0x1
|
|
|
|
:goto_0
|
|
if-ltz p1, :cond_3
|
|
|
|
.line 1062
|
|
invoke-interface {p0, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
return p1
|
|
|
|
:cond_0
|
|
add-int/lit8 p1, p1, -0x1
|
|
|
|
goto :goto_0
|
|
|
|
.line 1067
|
|
:cond_1
|
|
invoke-interface {p0}, Ljava/util/List;->size()I
|
|
|
|
move-result v0
|
|
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
:goto_1
|
|
if-ltz v0, :cond_3
|
|
|
|
.line 1068
|
|
invoke-interface {p0, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {p1, v1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
return v0
|
|
|
|
:cond_2
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_3
|
|
const/4 p0, -0x1
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static newArrayList()Ljava/util/ArrayList;
|
|
.locals 1
|
|
|
|
.line 84
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static newArrayList(Ljava/util/Iterator;)Ljava/util/ArrayList;
|
|
.locals 1
|
|
|
|
.line 144
|
|
invoke-static {}, Lcom/google/common/collect/Lists;->newArrayList()Ljava/util/ArrayList;
|
|
|
|
move-result-object v0
|
|
|
|
.line 145
|
|
invoke-static {v0, p0}, Lcom/google/common/collect/Iterators;->addAll(Ljava/util/Collection;Ljava/util/Iterator;)Z
|
|
|
|
return-object v0
|
|
.end method
|