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

211 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-05-03 18:53:54 +00:00
.field private beO:I
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
.field private final beP: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-05-03 18:53:54 +00:00
.field private final beQ: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-05-03 18:53:54 +00:00
iput-object p1, p0, Lkotlin/a/d$d;->beP:Lkotlin/a/d;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
iput p2, p0, Lkotlin/a/d$d;->beQ:I
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
iget p1, p0, Lkotlin/a/d$d;->beQ:I
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
iget-object p2, p0, Lkotlin/a/d$d;->beP:Lkotlin/a/d;
2019-02-04 20:08:30 +00:00
invoke-virtual {p2}, Lkotlin/a/d;->size()I
move-result p2
2019-05-03 18:53:54 +00:00
const-string v0, "fromIndex: "
2019-02-04 20:08:30 +00:00
if-ltz p1, :cond_1
if-gt p3, p2, :cond_1
if-gt p1, p3, :cond_0
2019-05-03 18:53:54 +00:00
iget p1, p0, Lkotlin/a/d$d;->beQ:I
2019-02-04 20:08:30 +00:00
sub-int/2addr p3, p1
2019-05-03 18:53:54 +00:00
iput p3, p0, Lkotlin/a/d$d;->beO:I
2019-02-04 20:08:30 +00:00
return-void
:cond_0
new-instance p2, Ljava/lang/IllegalArgumentException;
2019-05-03 18:53:54 +00:00
new-instance v1, Ljava/lang/StringBuilder;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-direct {v1, v0}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
2019-02-04 20:08:30 +00:00
const-string p1, " > toIndex: "
2019-05-03 18:53:54 +00:00
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-virtual {v1, p3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
2019-02-04 20:08:30 +00:00
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
2019-05-03 18:53:54 +00:00
new-instance v1, Ljava/lang/IndexOutOfBoundsException;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
new-instance v2, Ljava/lang/StringBuilder;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-direct {v2, v0}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
2019-02-04 20:08:30 +00:00
const-string p1, ", toIndex: "
2019-05-03 18:53:54 +00:00
invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-virtual {v2, p3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
2019-02-04 20:08:30 +00:00
const-string p1, ", size: "
2019-05-03 18:53:54 +00:00
invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-virtual {v2, p2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
2019-02-04 20:08:30 +00:00
move-result-object p1
2019-05-03 18:53:54 +00:00
invoke-direct {v1, p1}, Ljava/lang/IndexOutOfBoundsException;-><init>(Ljava/lang/String;)V
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
check-cast v1, Ljava/lang/Throwable;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
throw v1
2019-02-04 20:08:30 +00:00
.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-05-03 18:53:54 +00:00
iget v0, p0, Lkotlin/a/d$d;->beO:I
2019-02-04 20:08:30 +00:00
if-ltz p1, :cond_0
if-ge p1, v0, :cond_0
2019-05-03 18:53:54 +00:00
iget-object v0, p0, Lkotlin/a/d$d;->beP:Lkotlin/a/d;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
iget v1, p0, Lkotlin/a/d$d;->beQ: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-05-03 18:53:54 +00:00
iget v0, p0, Lkotlin/a/d$d;->beO:I
2019-02-04 20:08:30 +00:00
return v0
.end method