apkfuckery/com.discord/smali_classes2/c0/q/b.smali

106 lines
1.4 KiB
Smali
Raw Normal View History

2020-10-05 23:18:16 +00:00
.class public final Lc0/q/b;
.super Lc0/i/o;
2020-09-08 08:16:32 +00:00
.source "ProgressionIterators.kt"
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
# instance fields
2020-09-08 08:16:32 +00:00
.field public final d:I
.field public e:Z
.field public f:I
.field public final g:I
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
# direct methods
2020-09-08 08:16:32 +00:00
.method public constructor <init>(III)V
.locals 2
2020-10-05 23:18:16 +00:00
invoke-direct {p0}, Lc0/i/o;-><init>()V
2020-09-08 08:16:32 +00:00
2020-10-05 23:18:16 +00:00
iput p3, p0, Lc0/q/b;->g:I
2020-09-08 08:16:32 +00:00
2020-10-05 23:18:16 +00:00
iput p2, p0, Lc0/q/b;->d:I
2020-09-08 08:16:32 +00:00
const/4 v0, 0x1
const/4 v1, 0x0
if-lez p3, :cond_0
if-gt p1, p2, :cond_1
goto :goto_0
:cond_0
if-lt p1, p2, :cond_1
goto :goto_0
2020-05-17 12:40:10 +00:00
2020-09-08 08:16:32 +00:00
:cond_1
const/4 v0, 0x0
2020-05-17 12:40:10 +00:00
2020-09-08 08:16:32 +00:00
:goto_0
2020-10-05 23:18:16 +00:00
iput-boolean v0, p0, Lc0/q/b;->e:Z
2020-07-20 19:00:44 +00:00
2020-09-08 08:16:32 +00:00
if-eqz v0, :cond_2
2020-07-20 19:00:44 +00:00
2020-09-08 08:16:32 +00:00
goto :goto_1
:cond_2
2020-10-05 23:18:16 +00:00
iget p1, p0, Lc0/q/b;->d:I
2020-09-08 08:16:32 +00:00
:goto_1
2020-10-05 23:18:16 +00:00
iput p1, p0, Lc0/q/b;->f:I
2020-07-20 19:00:44 +00:00
2020-07-25 00:57:58 +00:00
return-void
2020-07-20 19:00:44 +00:00
.end method
2020-07-25 00:57:58 +00:00
# virtual methods
2020-09-08 08:16:32 +00:00
.method public hasNext()Z
.locals 1
2020-10-05 23:18:16 +00:00
iget-boolean v0, p0, Lc0/q/b;->e:Z
2020-09-08 08:16:32 +00:00
return v0
.end method
.method public nextInt()I
2020-07-25 00:57:58 +00:00
.locals 2
2020-07-20 19:00:44 +00:00
2020-10-05 23:18:16 +00:00
iget v0, p0, Lc0/q/b;->f:I
2020-09-08 08:16:32 +00:00
2020-10-05 23:18:16 +00:00
iget v1, p0, Lc0/q/b;->d:I
2020-09-08 08:16:32 +00:00
if-ne v0, v1, :cond_1
2020-10-05 23:18:16 +00:00
iget-boolean v1, p0, Lc0/q/b;->e:Z
2020-09-08 08:16:32 +00:00
if-eqz v1, :cond_0
const/4 v1, 0x0
2020-10-05 23:18:16 +00:00
iput-boolean v1, p0, Lc0/q/b;->e:Z
2020-09-08 08:16:32 +00:00
goto :goto_0
:cond_0
new-instance v0, Ljava/util/NoSuchElementException;
2020-07-20 19:00:44 +00:00
2020-09-08 08:16:32 +00:00
invoke-direct {v0}, Ljava/util/NoSuchElementException;-><init>()V
2020-07-20 19:00:44 +00:00
2020-09-08 08:16:32 +00:00
throw v0
2020-05-17 12:40:10 +00:00
2020-09-08 08:16:32 +00:00
:cond_1
2020-10-05 23:18:16 +00:00
iget v1, p0, Lc0/q/b;->g:I
2020-05-17 12:40:10 +00:00
2020-09-08 08:16:32 +00:00
add-int/2addr v1, v0
2020-05-17 12:40:10 +00:00
2020-10-05 23:18:16 +00:00
iput v1, p0, Lc0/q/b;->f:I
2020-05-17 12:40:10 +00:00
2020-09-08 08:16:32 +00:00
:goto_0
return v0
2020-05-17 12:40:10 +00:00
.end method