- 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
246 lines
5.4 KiB
Smali
246 lines
5.4 KiB
Smali
.class public final Lcom/google/common/collect/RegularImmutableSet;
|
|
.super Lcom/google/common/collect/ImmutableSet;
|
|
.source "SourceFile"
|
|
|
|
|
|
# static fields
|
|
.field public static final EMPTY:Lcom/google/common/collect/RegularImmutableSet;
|
|
|
|
.field public static final EMPTY_ARRAY:[Ljava/lang/Object;
|
|
|
|
|
|
# instance fields
|
|
.field public final transient elements:[Ljava/lang/Object;
|
|
|
|
.field public final transient hashCode:I
|
|
|
|
.field public final transient mask:I
|
|
|
|
.field public final transient size:I
|
|
|
|
.field public final transient table:[Ljava/lang/Object;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 7
|
|
|
|
const/4 v0, 0x0
|
|
|
|
new-array v4, v0, [Ljava/lang/Object;
|
|
|
|
sput-object v4, Lcom/google/common/collect/RegularImmutableSet;->EMPTY_ARRAY:[Ljava/lang/Object;
|
|
|
|
.line 34
|
|
new-instance v0, Lcom/google/common/collect/RegularImmutableSet;
|
|
|
|
const/4 v3, 0x0
|
|
|
|
const/4 v5, 0x0
|
|
|
|
const/4 v6, 0x0
|
|
|
|
move-object v1, v0
|
|
|
|
move-object v2, v4
|
|
|
|
invoke-direct/range {v1 .. v6}, Lcom/google/common/collect/RegularImmutableSet;-><init>([Ljava/lang/Object;I[Ljava/lang/Object;II)V
|
|
|
|
sput-object v0, Lcom/google/common/collect/RegularImmutableSet;->EMPTY:Lcom/google/common/collect/RegularImmutableSet;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>([Ljava/lang/Object;I[Ljava/lang/Object;II)V
|
|
.locals 0
|
|
|
|
.line 47
|
|
invoke-direct {p0}, Lcom/google/common/collect/ImmutableSet;-><init>()V
|
|
|
|
iput-object p1, p0, Lcom/google/common/collect/RegularImmutableSet;->elements:[Ljava/lang/Object;
|
|
|
|
iput p2, p0, Lcom/google/common/collect/RegularImmutableSet;->hashCode:I
|
|
|
|
iput-object p3, p0, Lcom/google/common/collect/RegularImmutableSet;->table:[Ljava/lang/Object;
|
|
|
|
iput p4, p0, Lcom/google/common/collect/RegularImmutableSet;->mask:I
|
|
|
|
iput p5, p0, Lcom/google/common/collect/RegularImmutableSet;->size:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public contains(Ljava/lang/Object;)Z
|
|
.locals 4
|
|
|
|
iget-object v0, p0, Lcom/google/common/collect/RegularImmutableSet;->table:[Ljava/lang/Object;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-eqz p1, :cond_3
|
|
|
|
.line 58
|
|
array-length v2, v0
|
|
|
|
if-nez v2, :cond_0
|
|
|
|
goto :goto_1
|
|
|
|
.line 61
|
|
:cond_0
|
|
invoke-static {p1}, Lcom/google/common/collect/Hashing;->smearedHash(Ljava/lang/Object;)I
|
|
|
|
move-result v2
|
|
|
|
:goto_0
|
|
iget v3, p0, Lcom/google/common/collect/RegularImmutableSet;->mask:I
|
|
|
|
and-int/2addr v2, v3
|
|
|
|
.line 63
|
|
aget-object v3, v0, v2
|
|
|
|
if-nez v3, :cond_1
|
|
|
|
return v1
|
|
|
|
.line 66
|
|
:cond_1
|
|
invoke-virtual {v3, p1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_2
|
|
|
|
const/4 p1, 0x1
|
|
|
|
return p1
|
|
|
|
:cond_2
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_3
|
|
:goto_1
|
|
return v1
|
|
.end method
|
|
|
|
.method public copyIntoArray([Ljava/lang/Object;I)I
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lcom/google/common/collect/RegularImmutableSet;->elements:[Ljava/lang/Object;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
iget v2, p0, Lcom/google/common/collect/RegularImmutableSet;->size:I
|
|
|
|
.line 100
|
|
invoke-static {v0, v1, p1, p2, v2}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
|
|
|
|
iget p1, p0, Lcom/google/common/collect/RegularImmutableSet;->size:I
|
|
|
|
add-int/2addr p2, p1
|
|
|
|
return p2
|
|
.end method
|
|
|
|
.method public createAsList()Lcom/google/common/collect/ImmutableList;
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lcom/google/common/collect/RegularImmutableSet;->elements:[Ljava/lang/Object;
|
|
|
|
iget v1, p0, Lcom/google/common/collect/RegularImmutableSet;->size:I
|
|
|
|
.line 106
|
|
invoke-static {v0, v1}, Lcom/google/common/collect/ImmutableList;->asImmutableList([Ljava/lang/Object;I)Lcom/google/common/collect/ImmutableList;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public hashCode()I
|
|
.locals 1
|
|
|
|
iget v0, p0, Lcom/google/common/collect/RegularImmutableSet;->hashCode:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public internalArray()[Ljava/lang/Object;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/google/common/collect/RegularImmutableSet;->elements:[Ljava/lang/Object;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public internalArrayEnd()I
|
|
.locals 1
|
|
|
|
iget v0, p0, Lcom/google/common/collect/RegularImmutableSet;->size:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public internalArrayStart()I
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public isHashCodeFast()Z
|
|
.locals 1
|
|
|
|
const/4 v0, 0x1
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public isPartialView()Z
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public iterator()Lcom/google/common/collect/UnmodifiableIterator;
|
|
.locals 1
|
|
|
|
.line 79
|
|
invoke-virtual {p0}, Lcom/google/common/collect/ImmutableSet;->asList()Lcom/google/common/collect/ImmutableList;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Lcom/google/common/collect/ImmutableList;->iterator()Lcom/google/common/collect/UnmodifiableIterator;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public bridge synthetic iterator()Ljava/util/Iterator;
|
|
.locals 1
|
|
|
|
.line 29
|
|
invoke-virtual {p0}, Lcom/google/common/collect/RegularImmutableSet;->iterator()Lcom/google/common/collect/UnmodifiableIterator;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public size()I
|
|
.locals 1
|
|
|
|
iget v0, p0, Lcom/google/common/collect/RegularImmutableSet;->size:I
|
|
|
|
return v0
|
|
.end method
|