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

211 lines
5 KiB
Smali
Raw Normal View History

2019-07-24 11:27:29 +00:00
.class final Lkotlin/a/d$d;
.super Lkotlin/a/d;
.source "AbstractList.kt"
# 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-10-07 23:23:22 +00:00
.field private bfI:I
2019-07-24 11:27:29 +00:00
2019-10-07 23:23:22 +00:00
.field private final bfJ:Lkotlin/a/d;
2019-07-24 11:27:29 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"Lkotlin/a/d<",
"TE;>;"
}
.end annotation
.end field
2019-10-07 23:23:22 +00:00
.field private final bfK:I
2019-07-24 11:27:29 +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/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
invoke-direct {p0}, Lkotlin/a/d;-><init>()V
2019-10-07 23:23:22 +00:00
iput-object p1, p0, Lkotlin/a/d$d;->bfJ:Lkotlin/a/d;
2019-07-24 11:27:29 +00:00
2019-10-07 23:23:22 +00:00
iput p2, p0, Lkotlin/a/d$d;->bfK:I
2019-07-24 11:27:29 +00:00
2019-10-07 23:23:22 +00:00
iget p1, p0, Lkotlin/a/d$d;->bfK:I
2019-07-24 11:27:29 +00:00
2019-10-07 23:23:22 +00:00
iget-object p2, p0, Lkotlin/a/d$d;->bfJ:Lkotlin/a/d;
2019-07-24 11:27:29 +00:00
invoke-virtual {p2}, Lkotlin/a/d;->size()I
move-result p2
const-string v0, "fromIndex: "
if-ltz p1, :cond_1
if-gt p3, p2, :cond_1
if-gt p1, p3, :cond_0
2019-10-07 23:23:22 +00:00
iget p1, p0, Lkotlin/a/d$d;->bfK:I
2019-07-24 11:27:29 +00:00
sub-int/2addr p3, p1
2019-10-07 23:23:22 +00:00
iput p3, p0, Lkotlin/a/d$d;->bfI:I
2019-07-24 11:27:29 +00:00
return-void
:cond_0
new-instance p2, Ljava/lang/IllegalArgumentException;
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1, v0}, 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;
invoke-virtual {v1}, 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 v1, Ljava/lang/IndexOutOfBoundsException;
new-instance v2, Ljava/lang/StringBuilder;
invoke-direct {v2, v0}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string p1, ", toIndex: "
invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v2, p3}, 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, p2}, 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
# virtual methods
.method public final get(I)Ljava/lang/Object;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(I)TE;"
}
.end annotation
2019-10-07 23:23:22 +00:00
iget v0, p0, Lkotlin/a/d$d;->bfI:I
2019-07-24 11:27:29 +00:00
if-ltz p1, :cond_0
if-ge p1, v0, :cond_0
2019-10-07 23:23:22 +00:00
iget-object v0, p0, Lkotlin/a/d$d;->bfJ:Lkotlin/a/d;
2019-07-24 11:27:29 +00:00
2019-10-07 23:23:22 +00:00
iget v1, p0, Lkotlin/a/d$d;->bfK:I
2019-07-24 11:27:29 +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-10-07 23:23:22 +00:00
iget v0, p0, Lkotlin/a/d$d;->bfI:I
2019-07-24 11:27:29 +00:00
return v0
.end method