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

173 lines
3.5 KiB
Smali
Raw Normal View History

2020-09-22 07:09:10 +00:00
.class public final Lc0/i/c$c;
.super Lc0/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-22 07:09:10 +00:00
value = Lc0/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-22 07:09:10 +00:00
"Lc0/i/c<",
2020-07-08 16:44:49 +00:00
"TE;>;",
"Ljava/util/RandomAccess;"
}
.end annotation
# instance fields
.field public d:I
2020-09-22 07:09:10 +00:00
.field public final e:Lc0/i/c;
2020-07-08 16:44:49 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
2020-09-22 07:09:10 +00:00
"Lc0/i/c<",
2020-07-08 16:44:49 +00:00
"TE;>;"
}
.end annotation
.end field
.field public final f:I
# direct methods
2020-09-22 07:09:10 +00:00
.method public constructor <init>(Lc0/i/c;II)V
2020-07-08 16:44:49 +00:00
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
2020-09-22 07:09:10 +00:00
"Lc0/i/c<",
2020-07-08 16:44:49 +00:00
"+TE;>;II)V"
}
.end annotation
2020-09-16 23:45:23 +00:00
const-string v0, "list"
2020-09-23 03:12:49 +00:00
invoke-static {p1, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-09-16 23:45:23 +00:00
2020-09-22 07:09:10 +00:00
invoke-direct {p0}, Lc0/i/c;-><init>()V
2020-07-08 16:44:49 +00:00
2020-09-22 07:09:10 +00:00
iput-object p1, p0, Lc0/i/c$c;->e:Lc0/i/c;
2020-07-08 16:44:49 +00:00
2020-09-22 07:09:10 +00:00
iput p2, p0, Lc0/i/c$c;->f:I
2020-07-08 16:44:49 +00:00
2020-09-22 07:09:10 +00:00
invoke-virtual {p1}, Lc0/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-22 07:09:10 +00:00
iget p1, p0, Lc0/i/c$c;->f:I
2020-07-08 16:44:49 +00:00
sub-int/2addr p3, p1
2020-09-22 07:09:10 +00:00
iput p3, p0, Lc0/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: "
2020-09-23 03:12:49 +00:00
invoke-static {v0, p2, v1, p3}, Lf/e/c/a/a;->k(Ljava/lang/String;ILjava/lang/String;I)Ljava/lang/String;
2020-07-08 16:44:49 +00:00
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-09-28 19:40:16 +00:00
invoke-static {v0, p2, v2, p3, v3}, Lf/e/c/a/a;->G(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-22 07:09:10 +00:00
iget v0, p0, Lc0/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-22 07:09:10 +00:00
iget-object v0, p0, Lc0/i/c$c;->e:Lc0/i/c;
2020-07-08 16:44:49 +00:00
2020-09-22 07:09:10 +00:00
iget v1, p0, Lc0/i/c$c;->f:I
2020-07-08 16:44:49 +00:00
add-int/2addr v1, p1
2020-09-22 07:09:10 +00:00
invoke-virtual {v0, v1}, Lc0/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: "
2020-09-23 03:12:49 +00:00
invoke-static {v2, p1, v3, v0}, Lf/e/c/a/a;->k(Ljava/lang/String;ILjava/lang/String;I)Ljava/lang/String;
2020-07-08 16:44:49 +00:00
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-22 07:09:10 +00:00
iget v0, p0, Lc0/i/c$c;->d:I
2020-07-08 16:44:49 +00:00
return v0
.end method