apkfuckery/com.discord/smali_classes2/w/a0/b$a.smali

334 lines
6.2 KiB
Smali
Raw Normal View History

2020-02-20 19:33:18 +00:00
.class public final Lw/a0/b$a;
2019-12-06 03:29:40 +00:00
.super Ljava/lang/Object;
.source "Strings.kt"
# interfaces
.implements Ljava/util/Iterator;
2020-02-20 19:33:18 +00:00
.implements Lw/u/b/z/a;
2019-12-06 03:29:40 +00:00
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
2020-02-20 19:33:18 +00:00
value = Lw/a0/b;->iterator()Ljava/util/Iterator;
2019-12-06 03:29:40 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Ljava/util/Iterator<",
"Lkotlin/ranges/IntRange;",
">;",
2020-02-20 19:33:18 +00:00
"Lw/u/b/z/a;"
2019-12-06 03:29:40 +00:00
}
.end annotation
# instance fields
.field public d:I
.field public e:I
.field public f:I
.field public g:Lkotlin/ranges/IntRange;
.field public h:I
2020-02-20 19:33:18 +00:00
.field public final synthetic i:Lw/a0/b;
2019-12-06 03:29:40 +00:00
# direct methods
2020-02-20 19:33:18 +00:00
.method public constructor <init>(Lw/a0/b;)V
2019-12-06 03:29:40 +00:00
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()V"
}
.end annotation
2020-02-20 19:33:18 +00:00
iput-object p1, p0, Lw/a0/b$a;->i:Lw/a0/b;
2019-12-06 03:29:40 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 v0, -0x1
2020-02-20 19:33:18 +00:00
iput v0, p0, Lw/a0/b$a;->d:I
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
iget v0, p1, Lw/a0/b;->b:I
2019-12-06 03:29:40 +00:00
const/4 v1, 0x0
2020-02-20 19:33:18 +00:00
iget-object p1, p1, Lw/a0/b;->a:Ljava/lang/CharSequence;
2019-12-06 03:29:40 +00:00
invoke-interface {p1}, Ljava/lang/CharSequence;->length()I
move-result p1
2020-02-29 06:28:25 +00:00
invoke-static {v0, v1, p1}, Lw/x/f;->coerceIn(III)I
2019-12-06 03:29:40 +00:00
move-result p1
2020-02-20 19:33:18 +00:00
iput p1, p0, Lw/a0/b$a;->e:I
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
iget p1, p0, Lw/a0/b$a;->e:I
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
iput p1, p0, Lw/a0/b$a;->f:I
2019-12-06 03:29:40 +00:00
return-void
.end method
# virtual methods
.method public final a()V
.locals 6
2020-02-20 19:33:18 +00:00
iget v0, p0, Lw/a0/b$a;->f:I
2019-12-06 03:29:40 +00:00
const/4 v1, 0x0
if-gez v0, :cond_0
2020-02-20 19:33:18 +00:00
iput v1, p0, Lw/a0/b$a;->d:I
2019-12-06 03:29:40 +00:00
const/4 v0, 0x0
2020-02-20 19:33:18 +00:00
iput-object v0, p0, Lw/a0/b$a;->g:Lkotlin/ranges/IntRange;
2019-12-06 03:29:40 +00:00
goto/16 :goto_1
:cond_0
2020-02-20 19:33:18 +00:00
iget-object v0, p0, Lw/a0/b$a;->i:Lw/a0/b;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
iget v0, v0, Lw/a0/b;->c:I
2019-12-06 03:29:40 +00:00
const/4 v2, -0x1
const/4 v3, 0x1
if-lez v0, :cond_1
2020-02-20 19:33:18 +00:00
iget v4, p0, Lw/a0/b$a;->h:I
2019-12-06 03:29:40 +00:00
add-int/2addr v4, v3
2020-02-20 19:33:18 +00:00
iput v4, p0, Lw/a0/b$a;->h:I
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
iget v4, p0, Lw/a0/b$a;->h:I
2019-12-06 03:29:40 +00:00
if-ge v4, v0, :cond_2
:cond_1
2020-02-20 19:33:18 +00:00
iget v0, p0, Lw/a0/b$a;->f:I
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
iget-object v4, p0, Lw/a0/b$a;->i:Lw/a0/b;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
iget-object v4, v4, Lw/a0/b;->a:Ljava/lang/CharSequence;
2019-12-06 03:29:40 +00:00
invoke-interface {v4}, Ljava/lang/CharSequence;->length()I
move-result v4
if-le v0, v4, :cond_3
:cond_2
2020-02-20 19:33:18 +00:00
iget v0, p0, Lw/a0/b$a;->e:I
2019-12-06 03:29:40 +00:00
new-instance v1, Lkotlin/ranges/IntRange;
2020-02-20 19:33:18 +00:00
iget-object v4, p0, Lw/a0/b$a;->i:Lw/a0/b;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
iget-object v4, v4, Lw/a0/b;->a:Ljava/lang/CharSequence;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
invoke-static {v4}, Lw/a0/s;->getLastIndex(Ljava/lang/CharSequence;)I
2019-12-06 03:29:40 +00:00
move-result v4
invoke-direct {v1, v0, v4}, Lkotlin/ranges/IntRange;-><init>(II)V
2020-02-20 19:33:18 +00:00
iput-object v1, p0, Lw/a0/b$a;->g:Lkotlin/ranges/IntRange;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
iput v2, p0, Lw/a0/b$a;->f:I
2019-12-06 03:29:40 +00:00
goto :goto_0
:cond_3
2020-02-20 19:33:18 +00:00
iget-object v0, p0, Lw/a0/b$a;->i:Lw/a0/b;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
iget-object v4, v0, Lw/a0/b;->d:Lkotlin/jvm/functions/Function2;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
iget-object v0, v0, Lw/a0/b;->a:Ljava/lang/CharSequence;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
iget v5, p0, Lw/a0/b$a;->f:I
2019-12-06 03:29:40 +00:00
invoke-static {v5}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v5
invoke-interface {v4, v0, v5}, Lkotlin/jvm/functions/Function2;->invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lkotlin/Pair;
if-nez v0, :cond_4
2020-02-20 19:33:18 +00:00
iget v0, p0, Lw/a0/b$a;->e:I
2019-12-06 03:29:40 +00:00
new-instance v1, Lkotlin/ranges/IntRange;
2020-02-20 19:33:18 +00:00
iget-object v4, p0, Lw/a0/b$a;->i:Lw/a0/b;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
iget-object v4, v4, Lw/a0/b;->a:Ljava/lang/CharSequence;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
invoke-static {v4}, Lw/a0/s;->getLastIndex(Ljava/lang/CharSequence;)I
2019-12-06 03:29:40 +00:00
move-result v4
invoke-direct {v1, v0, v4}, Lkotlin/ranges/IntRange;-><init>(II)V
2020-02-20 19:33:18 +00:00
iput-object v1, p0, Lw/a0/b$a;->g:Lkotlin/ranges/IntRange;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
iput v2, p0, Lw/a0/b$a;->f:I
2019-12-06 03:29:40 +00:00
goto :goto_0
:cond_4
invoke-virtual {v0}, Lkotlin/Pair;->component1()Ljava/lang/Object;
move-result-object v2
check-cast v2, Ljava/lang/Number;
invoke-virtual {v2}, Ljava/lang/Number;->intValue()I
move-result v2
invoke-virtual {v0}, Lkotlin/Pair;->component2()Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/lang/Number;
invoke-virtual {v0}, Ljava/lang/Number;->intValue()I
move-result v0
2020-02-20 19:33:18 +00:00
iget v4, p0, Lw/a0/b$a;->e:I
2019-12-06 03:29:40 +00:00
2020-02-29 06:28:25 +00:00
invoke-static {v4, v2}, Lw/x/f;->until(II)Lkotlin/ranges/IntRange;
2019-12-06 03:29:40 +00:00
move-result-object v4
2020-02-20 19:33:18 +00:00
iput-object v4, p0, Lw/a0/b$a;->g:Lkotlin/ranges/IntRange;
2019-12-06 03:29:40 +00:00
add-int/2addr v2, v0
2020-02-20 19:33:18 +00:00
iput v2, p0, Lw/a0/b$a;->e:I
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
iget v2, p0, Lw/a0/b$a;->e:I
2019-12-06 03:29:40 +00:00
if-nez v0, :cond_5
const/4 v1, 0x1
:cond_5
add-int/2addr v2, v1
2020-02-20 19:33:18 +00:00
iput v2, p0, Lw/a0/b$a;->f:I
2019-12-06 03:29:40 +00:00
:goto_0
2020-02-20 19:33:18 +00:00
iput v3, p0, Lw/a0/b$a;->d:I
2019-12-06 03:29:40 +00:00
:goto_1
return-void
.end method
.method public hasNext()Z
.locals 2
2020-02-20 19:33:18 +00:00
iget v0, p0, Lw/a0/b$a;->d:I
2019-12-06 03:29:40 +00:00
const/4 v1, -0x1
if-ne v0, v1, :cond_0
2020-02-20 19:33:18 +00:00
invoke-virtual {p0}, Lw/a0/b$a;->a()V
2019-12-06 03:29:40 +00:00
:cond_0
2020-02-20 19:33:18 +00:00
iget v0, p0, Lw/a0/b$a;->d:I
2019-12-06 03:29:40 +00:00
const/4 v1, 0x1
if-ne v0, v1, :cond_1
goto :goto_0
:cond_1
const/4 v1, 0x0
:goto_0
return v1
.end method
.method public next()Ljava/lang/Object;
.locals 3
2020-02-20 19:33:18 +00:00
iget v0, p0, Lw/a0/b$a;->d:I
2019-12-06 03:29:40 +00:00
const/4 v1, -0x1
if-ne v0, v1, :cond_0
2020-02-20 19:33:18 +00:00
invoke-virtual {p0}, Lw/a0/b$a;->a()V
2019-12-06 03:29:40 +00:00
:cond_0
2020-02-20 19:33:18 +00:00
iget v0, p0, Lw/a0/b$a;->d:I
2019-12-06 03:29:40 +00:00
if-eqz v0, :cond_2
2020-02-20 19:33:18 +00:00
iget-object v0, p0, Lw/a0/b$a;->g:Lkotlin/ranges/IntRange;
2019-12-06 03:29:40 +00:00
if-eqz v0, :cond_1
const/4 v2, 0x0
2020-02-20 19:33:18 +00:00
iput-object v2, p0, Lw/a0/b$a;->g:Lkotlin/ranges/IntRange;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
iput v1, p0, Lw/a0/b$a;->d:I
2019-12-06 03:29:40 +00:00
return-object v0
:cond_1
2020-02-20 19:33:18 +00:00
new-instance v0, Lw/l;
2019-12-06 03:29:40 +00:00
const-string v1, "null cannot be cast to non-null type kotlin.ranges.IntRange"
2020-02-20 19:33:18 +00:00
invoke-direct {v0, v1}, Lw/l;-><init>(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
:cond_2
new-instance v0, Ljava/util/NoSuchElementException;
invoke-direct {v0}, Ljava/util/NoSuchElementException;-><init>()V
throw v0
.end method
.method public remove()V
.locals 2
new-instance v0, Ljava/lang/UnsupportedOperationException;
const-string v1, "Operation is not supported for read-only collection"
invoke-direct {v0, v1}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw v0
.end method