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

138 lines
3.0 KiB
Smali

.class public abstract Lkotlin/ranges/CharProgression;
.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/CharProgression$Companion;
}
.end annotation
# static fields
.field public static final Companion:Lkotlin/ranges/CharProgression$Companion;
# instance fields
.field public final first:C
.field public final last:C
.field public final step:I
# direct methods
.method static constructor <clinit>()V
.locals 2
new-instance v0, Lkotlin/ranges/CharProgression$Companion;
const/4 v1, 0x0
invoke-direct {v0, v1}, Lkotlin/ranges/CharProgression$Companion;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
sput-object v0, Lkotlin/ranges/CharProgression;->Companion:Lkotlin/ranges/CharProgression$Companion;
return-void
.end method
.method public constructor <init>(CCI)V
.locals 1
.line 15
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
if-eqz p3, :cond_1
const/high16 v0, -0x80000000
if-eq p3, v0, :cond_0
iput-char p1, p0, Lkotlin/ranges/CharProgression;->first:C
.line 35
invoke-static {p1, p2, p3}, Lkotlin/internal/ProgressionUtilKt;->getProgressionLastElement(III)I
move-result p1
int-to-char p1, p1
iput-char p1, p0, Lkotlin/ranges/CharProgression;->last:C
iput p3, p0, Lkotlin/ranges/CharProgression;->step:I
return-void
.line 24
:cond_0
new-instance p1, Ljava/lang/IllegalArgumentException;
const-string p2, "Step must be greater than Int.MIN_VALUE to avoid overflow on negation."
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p1
.line 23
: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()C
.locals 1
iget-char v0, p0, Lkotlin/ranges/CharProgression;->first:C
return v0
.end method
.method public final getLast()C
.locals 1
iget-char v0, p0, Lkotlin/ranges/CharProgression;->last:C
return v0
.end method
.method public bridge synthetic iterator()Ljava/util/Iterator;
.locals 1
.line 15
invoke-virtual {p0}, Lkotlin/ranges/CharProgression;->iterator()Lkotlin/collections/CharIterator;
move-result-object v0
return-object v0
.end method
.method public iterator()Lkotlin/collections/CharIterator;
.locals 4
.line 42
new-instance v0, Lkotlin/ranges/CharProgressionIterator;
iget-char v1, p0, Lkotlin/ranges/CharProgression;->first:C
iget-char v2, p0, Lkotlin/ranges/CharProgression;->last:C
iget v3, p0, Lkotlin/ranges/CharProgression;->step:I
invoke-direct {v0, v1, v2, v3}, Lkotlin/ranges/CharProgressionIterator;-><init>(CCI)V
return-object v0
.end method