- 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
118 lines
2.1 KiB
Smali
118 lines
2.1 KiB
Smali
.class public final Lkotlin/ranges/LongProgressionIterator;
|
|
.super Lkotlin/collections/LongIterator;
|
|
.source "SourceFile"
|
|
|
|
|
|
# instance fields
|
|
.field public final finalElement:J
|
|
|
|
.field public hasNext:Z
|
|
|
|
.field public next:J
|
|
|
|
.field public final step:J
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(JJJ)V
|
|
.locals 2
|
|
|
|
.line 62
|
|
invoke-direct {p0}, Lkotlin/collections/LongIterator;-><init>()V
|
|
|
|
iput-wide p5, p0, Lkotlin/ranges/LongProgressionIterator;->step:J
|
|
|
|
iput-wide p3, p0, Lkotlin/ranges/LongProgressionIterator;->finalElement:J
|
|
|
|
const-wide/16 v0, 0x0
|
|
|
|
cmp-long p5, p5, v0
|
|
|
|
const/4 p6, 0x1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-lez p5, :cond_1
|
|
|
|
cmp-long p5, p1, p3
|
|
|
|
if-gtz p5, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move p6, v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
cmp-long p5, p1, p3
|
|
|
|
if-ltz p5, :cond_0
|
|
|
|
:goto_0
|
|
iput-boolean p6, p0, Lkotlin/ranges/LongProgressionIterator;->hasNext:Z
|
|
|
|
if-eqz p6, :cond_2
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
move-wide p1, p3
|
|
|
|
:goto_1
|
|
iput-wide p1, p0, Lkotlin/ranges/LongProgressionIterator;->next:J
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public hasNext()Z
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Lkotlin/ranges/LongProgressionIterator;->hasNext:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public nextLong()J
|
|
.locals 4
|
|
|
|
iget-wide v0, p0, Lkotlin/ranges/LongProgressionIterator;->next:J
|
|
|
|
iget-wide v2, p0, Lkotlin/ranges/LongProgressionIterator;->finalElement:J
|
|
|
|
cmp-long v2, v0, v2
|
|
|
|
if-nez v2, :cond_1
|
|
|
|
iget-boolean v2, p0, Lkotlin/ranges/LongProgressionIterator;->hasNext:Z
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
const/4 v2, 0x0
|
|
|
|
iput-boolean v2, p0, Lkotlin/ranges/LongProgressionIterator;->hasNext:Z
|
|
|
|
goto :goto_0
|
|
|
|
.line 72
|
|
:cond_0
|
|
new-instance v0, Ljava/util/NoSuchElementException;
|
|
|
|
invoke-direct {v0}, Ljava/util/NoSuchElementException;-><init>()V
|
|
|
|
throw v0
|
|
|
|
:cond_1
|
|
iget-wide v2, p0, Lkotlin/ranges/LongProgressionIterator;->step:J
|
|
|
|
add-long/2addr v2, v0
|
|
|
|
iput-wide v2, p0, Lkotlin/ranges/LongProgressionIterator;->next:J
|
|
|
|
:goto_0
|
|
return-wide v0
|
|
.end method
|