apkfuckery/com.discord/smali_classes2/k0/i/c$c.smali

169 lines
3.4 KiB
Smali
Raw Normal View History

2020-09-08 08:16:32 +00:00
.class public final Lk0/i/c$c;
.super Lk0/i/c;
2020-07-08 16:44:49 +00:00
.source "AbstractList.kt"
# interfaces
.implements Ljava/util/RandomAccess;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
2020-09-08 08:16:32 +00:00
value = Lk0/i/c;
2020-07-08 16:44:49 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "c"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<E:",
"Ljava/lang/Object;",
">",
2020-09-08 08:16:32 +00:00
"Lk0/i/c<",
2020-07-08 16:44:49 +00:00
"TE;>;",
"Ljava/util/RandomAccess;"
}
.end annotation
# instance fields
.field public d:I
2020-09-08 08:16:32 +00:00
.field public final e:Lk0/i/c;
2020-07-08 16:44:49 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
2020-09-08 08:16:32 +00:00
"Lk0/i/c<",
2020-07-08 16:44:49 +00:00
"TE;>;"
}
.end annotation
.end field
.field public final f:I
# direct methods
2020-09-08 08:16:32 +00:00
.method public constructor <init>(Lk0/i/c;II)V
2020-07-08 16:44:49 +00:00
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
2020-09-08 08:16:32 +00:00
"Lk0/i/c<",
2020-07-08 16:44:49 +00:00
"+TE;>;II)V"
}
.end annotation
2020-09-08 08:16:32 +00:00
invoke-direct {p0}, Lk0/i/c;-><init>()V
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
iput-object p1, p0, Lk0/i/c$c;->e:Lk0/i/c;
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
iput p2, p0, Lk0/i/c$c;->f:I
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
invoke-virtual {p1}, Lk0/i/a;->getSize()I
2020-07-08 16:44:49 +00:00
move-result p1
const-string v0, "fromIndex: "
if-ltz p2, :cond_1
if-gt p3, p1, :cond_1
if-gt p2, p3, :cond_0
2020-09-08 08:16:32 +00:00
iget p1, p0, Lk0/i/c$c;->f:I
2020-07-08 16:44:49 +00:00
sub-int/2addr p3, p1
2020-09-08 08:16:32 +00:00
iput p3, p0, Lk0/i/c$c;->d:I
2020-07-08 16:44:49 +00:00
return-void
:cond_0
new-instance p1, Ljava/lang/IllegalArgumentException;
const-string v1, " > toIndex: "
invoke-static {v0, p2, v1, p3}, Lf/e/b/a/a;->j(Ljava/lang/String;ILjava/lang/String;I)Ljava/lang/String;
move-result-object p2
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p1
:cond_1
new-instance v1, Ljava/lang/IndexOutOfBoundsException;
const-string v2, ", toIndex: "
const-string v3, ", size: "
2020-07-14 22:43:59 +00:00
invoke-static {v0, p2, v2, p3, v3}, Lf/e/b/a/a;->F(Ljava/lang/String;ILjava/lang/String;ILjava/lang/String;)Ljava/lang/StringBuilder;
2020-07-08 16:44:49 +00:00
move-result-object p2
invoke-virtual {p2, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
invoke-virtual {p2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {v1, p1}, Ljava/lang/IndexOutOfBoundsException;-><init>(Ljava/lang/String;)V
throw v1
.end method
# virtual methods
.method public get(I)Ljava/lang/Object;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(I)TE;"
}
.end annotation
2020-09-08 08:16:32 +00:00
iget v0, p0, Lk0/i/c$c;->d:I
2020-07-08 16:44:49 +00:00
if-ltz p1, :cond_0
if-ge p1, v0, :cond_0
2020-09-08 08:16:32 +00:00
iget-object v0, p0, Lk0/i/c$c;->e:Lk0/i/c;
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
iget v1, p0, Lk0/i/c$c;->f:I
2020-07-08 16:44:49 +00:00
add-int/2addr v1, p1
2020-09-08 08:16:32 +00:00
invoke-virtual {v0, v1}, Lk0/i/c;->get(I)Ljava/lang/Object;
2020-07-08 16:44:49 +00:00
move-result-object p1
return-object p1
:cond_0
new-instance v1, Ljava/lang/IndexOutOfBoundsException;
const-string v2, "index: "
const-string v3, ", size: "
invoke-static {v2, p1, v3, v0}, Lf/e/b/a/a;->j(Ljava/lang/String;ILjava/lang/String;I)Ljava/lang/String;
move-result-object p1
invoke-direct {v1, p1}, Ljava/lang/IndexOutOfBoundsException;-><init>(Ljava/lang/String;)V
throw v1
.end method
.method public getSize()I
.locals 1
2020-09-08 08:16:32 +00:00
iget v0, p0, Lk0/i/c$c;->d:I
2020-07-08 16:44:49 +00:00
return v0
.end method