Files
rr3-apk/smali_classes3/com/google/common/collect/RegularImmutableList.smali
Daniel Elliott f3960ee359 Add Discord APKTool decompilation (Smali source for modding)
- 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
2026-02-18 16:13:44 -08:00

125 lines
2.9 KiB
Smali

.class public Lcom/google/common/collect/RegularImmutableList;
.super Lcom/google/common/collect/ImmutableList;
.source "SourceFile"
# static fields
.field public static final EMPTY:Lcom/google/common/collect/ImmutableList;
# instance fields
.field public final transient array:[Ljava/lang/Object;
.field public final transient size:I
# direct methods
.method static constructor <clinit>()V
.locals 3
.line 35
new-instance v0, Lcom/google/common/collect/RegularImmutableList;
const/4 v1, 0x0
new-array v2, v1, [Ljava/lang/Object;
invoke-direct {v0, v2, v1}, Lcom/google/common/collect/RegularImmutableList;-><init>([Ljava/lang/Object;I)V
sput-object v0, Lcom/google/common/collect/RegularImmutableList;->EMPTY:Lcom/google/common/collect/ImmutableList;
return-void
.end method
.method public constructor <init>([Ljava/lang/Object;I)V
.locals 0
.line 41
invoke-direct {p0}, Lcom/google/common/collect/ImmutableList;-><init>()V
iput-object p1, p0, Lcom/google/common/collect/RegularImmutableList;->array:[Ljava/lang/Object;
iput p2, p0, Lcom/google/common/collect/RegularImmutableList;->size:I
return-void
.end method
# virtual methods
.method public copyIntoArray([Ljava/lang/Object;I)I
.locals 3
iget-object v0, p0, Lcom/google/common/collect/RegularImmutableList;->array:[Ljava/lang/Object;
const/4 v1, 0x0
iget v2, p0, Lcom/google/common/collect/RegularImmutableList;->size:I
.line 74
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/RegularImmutableList;->size:I
add-int/2addr p2, p1
return p2
.end method
.method public get(I)Ljava/lang/Object;
.locals 1
iget v0, p0, Lcom/google/common/collect/RegularImmutableList;->size:I
.line 82
invoke-static {p1, v0}, Lcom/google/common/base/Preconditions;->checkElementIndex(II)I
iget-object v0, p0, Lcom/google/common/collect/RegularImmutableList;->array:[Ljava/lang/Object;
.line 84
aget-object p1, v0, p1
invoke-static {p1}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
return-object p1
.end method
.method public internalArray()[Ljava/lang/Object;
.locals 1
iget-object v0, p0, Lcom/google/common/collect/RegularImmutableList;->array:[Ljava/lang/Object;
return-object v0
.end method
.method public internalArrayEnd()I
.locals 1
iget v0, p0, Lcom/google/common/collect/RegularImmutableList;->size:I
return v0
.end method
.method public internalArrayStart()I
.locals 1
const/4 v0, 0x0
return v0
.end method
.method public isPartialView()Z
.locals 1
const/4 v0, 0x0
return v0
.end method
.method public size()I
.locals 1
iget v0, p0, Lcom/google/common/collect/RegularImmutableList;->size:I
return v0
.end method