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

144 lines
3.1 KiB
Smali

.class public abstract Lkotlin/ranges/LongProgression;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/Iterable;
.implements Lkotlin/jvm/internal/markers/KMappedMarker;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lkotlin/ranges/LongProgression$Companion;
}
.end annotation
# static fields
.field public static final Companion:Lkotlin/ranges/LongProgression$Companion;
# instance fields
.field public final first:J
.field public final last:J
.field public final step:J
# direct methods
.method static constructor <clinit>()V
.locals 2
new-instance v0, Lkotlin/ranges/LongProgression$Companion;
const/4 v1, 0x0
invoke-direct {v0, v1}, Lkotlin/ranges/LongProgression$Companion;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
sput-object v0, Lkotlin/ranges/LongProgression;->Companion:Lkotlin/ranges/LongProgression$Companion;
return-void
.end method
.method public constructor <init>(JJJ)V
.locals 2
.line 139
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const-wide/16 v0, 0x0
cmp-long v0, p5, v0
if-eqz v0, :cond_1
const-wide/high16 v0, -0x8000000000000000L
cmp-long v0, p5, v0
if-eqz v0, :cond_0
iput-wide p1, p0, Lkotlin/ranges/LongProgression;->first:J
.line 159
invoke-static/range {p1 .. p6}, Lkotlin/internal/ProgressionUtilKt;->getProgressionLastElement(JJJ)J
move-result-wide p1
iput-wide p1, p0, Lkotlin/ranges/LongProgression;->last:J
iput-wide p5, p0, Lkotlin/ranges/LongProgression;->step:J
return-void
.line 148
:cond_0
new-instance p1, Ljava/lang/IllegalArgumentException;
const-string p2, "Step must be greater than Long.MIN_VALUE to avoid overflow on negation."
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p1
.line 147
:cond_1
new-instance p1, Ljava/lang/IllegalArgumentException;
const-string p2, "Step must be non-zero."
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p1
.end method
# virtual methods
.method public final getFirst()J
.locals 2
iget-wide v0, p0, Lkotlin/ranges/LongProgression;->first:J
return-wide v0
.end method
.method public final getLast()J
.locals 2
iget-wide v0, p0, Lkotlin/ranges/LongProgression;->last:J
return-wide v0
.end method
.method public bridge synthetic iterator()Ljava/util/Iterator;
.locals 1
.line 139
invoke-virtual {p0}, Lkotlin/ranges/LongProgression;->iterator()Lkotlin/collections/LongIterator;
move-result-object v0
return-object v0
.end method
.method public iterator()Lkotlin/collections/LongIterator;
.locals 8
.line 166
new-instance v7, Lkotlin/ranges/LongProgressionIterator;
iget-wide v1, p0, Lkotlin/ranges/LongProgression;->first:J
iget-wide v3, p0, Lkotlin/ranges/LongProgression;->last:J
iget-wide v5, p0, Lkotlin/ranges/LongProgression;->step:J
move-object v0, v7
invoke-direct/range {v0 .. v6}, Lkotlin/ranges/LongProgressionIterator;-><init>(JJJ)V
return-object v7
.end method