apkfuckery/com.discord/smali_classes2/kotlin/a/b.smali

173 lines
3 KiB
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class public abstract Lkotlin/a/b;
.super Ljava/lang/Object;
2019-02-04 20:29:01 +00:00
.source "AbstractIterator.kt"
2019-02-04 20:08:30 +00:00
# interfaces
.implements Ljava/util/Iterator;
.implements Lkotlin/jvm/internal/a/a;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Ljava/util/Iterator<",
"TT;>;",
"Lkotlin/jvm/internal/a/a;"
}
.end annotation
# instance fields
2019-05-14 21:53:09 +00:00
.field protected beP:I
2019-04-06 01:08:52 +00:00
2019-05-14 21:53:09 +00:00
.field protected beQ:Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"TT;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>()V
.locals 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2019-05-14 21:53:09 +00:00
sget v0, Lkotlin/a/an;->bfg:I
2019-02-04 20:08:30 +00:00
2019-05-14 21:53:09 +00:00
iput v0, p0, Lkotlin/a/b;->beP:I
2019-02-04 20:08:30 +00:00
return-void
.end method
# virtual methods
.method public hasNext()Z
.locals 4
2019-05-14 21:53:09 +00:00
iget v0, p0, Lkotlin/a/b;->beP:I
2019-02-04 20:08:30 +00:00
2019-05-14 21:53:09 +00:00
sget v1, Lkotlin/a/an;->bfi:I
2019-02-04 20:08:30 +00:00
const/4 v2, 0x0
const/4 v3, 0x1
if-eq v0, v1, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
2019-05-03 18:53:54 +00:00
if-eqz v0, :cond_4
2019-02-04 20:08:30 +00:00
2019-05-14 21:53:09 +00:00
iget v0, p0, Lkotlin/a/b;->beP:I
2019-02-04 20:08:30 +00:00
sget-object v1, Lkotlin/a/c;->$EnumSwitchMapping$0:[I
sub-int/2addr v0, v3
aget v0, v1, v0
2019-05-03 18:53:54 +00:00
if-eq v0, v3, :cond_3
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
const/4 v1, 0x2
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
if-eq v0, v1, :cond_2
2019-02-04 20:08:30 +00:00
2019-05-14 21:53:09 +00:00
sget v0, Lkotlin/a/an;->bfi:I
2019-02-04 20:08:30 +00:00
2019-05-14 21:53:09 +00:00
iput v0, p0, Lkotlin/a/b;->beP:I
2019-02-04 20:08:30 +00:00
2019-05-14 21:53:09 +00:00
invoke-virtual {p0}, Lkotlin/a/b;->zu()V
2019-02-04 20:08:30 +00:00
2019-05-14 21:53:09 +00:00
iget v0, p0, Lkotlin/a/b;->beP:I
2019-02-04 20:08:30 +00:00
2019-05-14 21:53:09 +00:00
sget v1, Lkotlin/a/an;->bff:I
2019-02-04 20:29:01 +00:00
2019-05-03 18:53:54 +00:00
if-ne v0, v1, :cond_1
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
return v3
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:cond_1
return v2
2019-02-04 20:08:30 +00:00
:cond_2
2019-05-03 18:53:54 +00:00
return v3
:cond_3
return v2
:cond_4
2019-02-04 20:08:30 +00:00
new-instance v0, Ljava/lang/IllegalArgumentException;
const-string v1, "Failed requirement."
invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v1
invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
check-cast v0, Ljava/lang/Throwable;
throw v0
.end method
.method public next()Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()TT;"
}
.end annotation
invoke-virtual {p0}, Lkotlin/a/b;->hasNext()Z
move-result v0
if-eqz v0, :cond_0
2019-05-14 21:53:09 +00:00
sget v0, Lkotlin/a/an;->bfg:I
2019-02-04 20:08:30 +00:00
2019-05-14 21:53:09 +00:00
iput v0, p0, Lkotlin/a/b;->beP:I
2019-02-04 20:08:30 +00:00
2019-05-14 21:53:09 +00:00
iget-object v0, p0, Lkotlin/a/b;->beQ:Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
return-object v0
:cond_0
new-instance v0, Ljava/util/NoSuchElementException;
invoke-direct {v0}, Ljava/util/NoSuchElementException;-><init>()V
check-cast v0, Ljava/lang/Throwable;
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
2019-02-04 20:32:01 +00:00
2019-05-14 21:53:09 +00:00
.method protected abstract zu()V
2019-02-04 20:32:01 +00:00
.end method