- 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
91 lines
1.9 KiB
Smali
91 lines
1.9 KiB
Smali
.class final Lkotlin/jvm/internal/ArrayShortIterator;
|
|
.super Lkotlin/collections/ShortIterator;
|
|
.source "SourceFile"
|
|
|
|
|
|
# instance fields
|
|
.field private final array:[S
|
|
|
|
.field private index:I
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>([S)V
|
|
.locals 1
|
|
|
|
const-string v0, "array"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 22
|
|
invoke-direct {p0}, Lkotlin/collections/ShortIterator;-><init>()V
|
|
|
|
iput-object p1, p0, Lkotlin/jvm/internal/ArrayShortIterator;->array:[S
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public hasNext()Z
|
|
.locals 2
|
|
|
|
iget v0, p0, Lkotlin/jvm/internal/ArrayShortIterator;->index:I
|
|
|
|
iget-object v1, p0, Lkotlin/jvm/internal/ArrayShortIterator;->array:[S
|
|
|
|
.line 24
|
|
array-length v1, v1
|
|
|
|
if-ge v0, v1, :cond_0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
return v0
|
|
.end method
|
|
|
|
.method public nextShort()S
|
|
.locals 3
|
|
|
|
:try_start_0
|
|
iget-object v0, p0, Lkotlin/jvm/internal/ArrayShortIterator;->array:[S
|
|
|
|
iget v1, p0, Lkotlin/jvm/internal/ArrayShortIterator;->index:I
|
|
|
|
add-int/lit8 v2, v1, 0x1
|
|
|
|
iput v2, p0, Lkotlin/jvm/internal/ArrayShortIterator;->index:I
|
|
|
|
.line 25
|
|
aget-short v0, v0, v1
|
|
:try_end_0
|
|
.catch Ljava/lang/ArrayIndexOutOfBoundsException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return v0
|
|
|
|
:catch_0
|
|
move-exception v0
|
|
|
|
iget v1, p0, Lkotlin/jvm/internal/ArrayShortIterator;->index:I
|
|
|
|
add-int/lit8 v1, v1, -0x1
|
|
|
|
iput v1, p0, Lkotlin/jvm/internal/ArrayShortIterator;->index:I
|
|
|
|
new-instance v1, Ljava/util/NoSuchElementException;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-direct {v1, v0}, Ljava/util/NoSuchElementException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v1
|
|
.end method
|