Files
rr3-apk/smali_classes5/kotlin/ranges/IntProgressionIterator.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

108 lines
1.9 KiB
Smali

.class public final Lkotlin/ranges/IntProgressionIterator;
.super Lkotlin/collections/IntIterator;
.source "SourceFile"
# instance fields
.field public final finalElement:I
.field public hasNext:Z
.field public next:I
.field public final step:I
# direct methods
.method public constructor <init>(III)V
.locals 2
.line 38
invoke-direct {p0}, Lkotlin/collections/IntIterator;-><init>()V
iput p3, p0, Lkotlin/ranges/IntProgressionIterator;->step:I
iput p2, p0, Lkotlin/ranges/IntProgressionIterator;->finalElement:I
const/4 v0, 0x1
const/4 v1, 0x0
if-lez p3, :cond_1
if-gt p1, p2, :cond_0
goto :goto_0
:cond_0
move v0, v1
goto :goto_0
:cond_1
if-lt p1, p2, :cond_0
:goto_0
iput-boolean v0, p0, Lkotlin/ranges/IntProgressionIterator;->hasNext:Z
if-eqz v0, :cond_2
goto :goto_1
:cond_2
move p1, p2
:goto_1
iput p1, p0, Lkotlin/ranges/IntProgressionIterator;->next:I
return-void
.end method
# virtual methods
.method public hasNext()Z
.locals 1
iget-boolean v0, p0, Lkotlin/ranges/IntProgressionIterator;->hasNext:Z
return v0
.end method
.method public nextInt()I
.locals 2
iget v0, p0, Lkotlin/ranges/IntProgressionIterator;->next:I
iget v1, p0, Lkotlin/ranges/IntProgressionIterator;->finalElement:I
if-ne v0, v1, :cond_1
iget-boolean v1, p0, Lkotlin/ranges/IntProgressionIterator;->hasNext:Z
if-eqz v1, :cond_0
const/4 v1, 0x0
iput-boolean v1, p0, Lkotlin/ranges/IntProgressionIterator;->hasNext:Z
goto :goto_0
.line 48
:cond_0
new-instance v0, Ljava/util/NoSuchElementException;
invoke-direct {v0}, Ljava/util/NoSuchElementException;-><init>()V
throw v0
:cond_1
iget v1, p0, Lkotlin/ranges/IntProgressionIterator;->step:I
add-int/2addr v1, v0
iput v1, p0, Lkotlin/ranges/IntProgressionIterator;->next:I
:goto_0
return v0
.end method