apkfuckery/com.discord/smali_classes2/kotlin/a/d$d.smali

213 lines
5 KiB
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class final Lkotlin/a/d$d;
.super Lkotlin/a/d;
2019-02-04 20:29:01 +00:00
.source "AbstractList.kt"
2019-02-04 20:08:30 +00:00
# interfaces
.implements Ljava/util/RandomAccess;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lkotlin/a/d;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = "d"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<E:",
"Ljava/lang/Object;",
">",
"Lkotlin/a/d<",
"TE;>;",
"Ljava/util/RandomAccess;"
}
.end annotation
# instance fields
2019-04-18 05:08:29 +00:00
.field private bcN:I
2019-02-04 20:08:30 +00:00
2019-04-18 05:08:29 +00:00
.field private final bcO:Lkotlin/a/d;
2019-02-04 20:08:30 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"Lkotlin/a/d<",
"TE;>;"
}
.end annotation
.end field
2019-04-18 05:08:29 +00:00
.field private final bcP:I
2019-04-03 00:06:05 +00:00
2019-02-04 20:08:30 +00:00
# direct methods
.method public constructor <init>(Lkotlin/a/d;II)V
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lkotlin/a/d<",
"+TE;>;II)V"
}
.end annotation
const-string v0, "list"
invoke-static {p1, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
invoke-direct {p0}, Lkotlin/a/d;-><init>()V
2019-04-18 05:08:29 +00:00
iput-object p1, p0, Lkotlin/a/d$d;->bcO:Lkotlin/a/d;
2019-02-04 20:08:30 +00:00
2019-04-18 05:08:29 +00:00
iput p2, p0, Lkotlin/a/d$d;->bcP:I
2019-02-04 20:08:30 +00:00
2019-04-18 05:08:29 +00:00
iget p1, p0, Lkotlin/a/d$d;->bcP:I
2019-02-04 20:08:30 +00:00
2019-04-18 05:08:29 +00:00
iget-object p2, p0, Lkotlin/a/d$d;->bcO:Lkotlin/a/d;
2019-02-04 20:08:30 +00:00
invoke-virtual {p2}, Lkotlin/a/d;->size()I
move-result p2
if-ltz p1, :cond_1
if-gt p3, p2, :cond_1
if-gt p1, p3, :cond_0
2019-04-18 05:08:29 +00:00
iget p1, p0, Lkotlin/a/d$d;->bcP:I
2019-02-04 20:08:30 +00:00
sub-int/2addr p3, p1
2019-04-18 05:08:29 +00:00
iput p3, p0, Lkotlin/a/d$d;->bcN:I
2019-02-04 20:08:30 +00:00
return-void
:cond_0
new-instance p2, Ljava/lang/IllegalArgumentException;
new-instance v0, Ljava/lang/StringBuilder;
const-string v1, "fromIndex: "
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string p1, " > toIndex: "
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0, p3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {p2, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
check-cast p2, Ljava/lang/Throwable;
throw p2
:cond_1
new-instance v0, Ljava/lang/IndexOutOfBoundsException;
new-instance v1, Ljava/lang/StringBuilder;
const-string v2, "fromIndex: "
invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string p1, ", toIndex: "
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1, p3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string p1, ", size: "
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1, p2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {v0, p1}, Ljava/lang/IndexOutOfBoundsException;-><init>(Ljava/lang/String;)V
check-cast v0, Ljava/lang/Throwable;
throw v0
.end method
# virtual methods
.method public final get(I)Ljava/lang/Object;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(I)TE;"
}
.end annotation
2019-04-18 05:08:29 +00:00
iget v0, p0, Lkotlin/a/d$d;->bcN:I
2019-02-04 20:08:30 +00:00
if-ltz p1, :cond_0
if-ge p1, v0, :cond_0
2019-04-18 05:08:29 +00:00
iget-object v0, p0, Lkotlin/a/d$d;->bcO:Lkotlin/a/d;
2019-02-04 20:08:30 +00:00
2019-04-18 05:08:29 +00:00
iget v1, p0, Lkotlin/a/d$d;->bcP:I
2019-02-04 20:08:30 +00:00
add-int/2addr v1, p1
invoke-virtual {v0, v1}, Lkotlin/a/d;->get(I)Ljava/lang/Object;
move-result-object p1
return-object p1
:cond_0
new-instance v1, Ljava/lang/IndexOutOfBoundsException;
new-instance v2, Ljava/lang/StringBuilder;
const-string v3, "index: "
invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string p1, ", size: "
invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {v1, p1}, Ljava/lang/IndexOutOfBoundsException;-><init>(Ljava/lang/String;)V
check-cast v1, Ljava/lang/Throwable;
throw v1
.end method
.method public final getSize()I
.locals 1
2019-04-18 05:08:29 +00:00
iget v0, p0, Lkotlin/a/d$d;->bcN:I
2019-02-04 20:08:30 +00:00
return v0
.end method