101 lines
2.6 KiB
Smali
101 lines
2.6 KiB
Smali
.class public final Lcom/discord/widgets/guilds/create/StockGuildTemplateKt;
|
|
.super Ljava/lang/Object;
|
|
.source "StockGuildTemplate.kt"
|
|
|
|
|
|
# direct methods
|
|
.method public static final varargs synthetic access$createCategorySection(Ljava/lang/String;JI[Ljava/lang/String;)Ljava/util/List;
|
|
.locals 0
|
|
|
|
invoke-static {p0, p1, p2, p3, p4}, Lcom/discord/widgets/guilds/create/StockGuildTemplateKt;->createCategorySection(Ljava/lang/String;JI[Ljava/lang/String;)Ljava/util/List;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final varargs createCategorySection(Ljava/lang/String;JI[Ljava/lang/String;)Ljava/util/List;
|
|
.locals 11
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/String;",
|
|
"JI[",
|
|
"Ljava/lang/String;",
|
|
")",
|
|
"Ljava/util/List<",
|
|
"Lcom/discord/restapi/RestAPIParams$CreateGuildChannel;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
new-instance v7, Lcom/discord/restapi/RestAPIParams$CreateGuildChannel;
|
|
|
|
invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
|
|
|
move-result-object v2
|
|
|
|
const/4 v1, 0x4
|
|
|
|
const/4 v4, 0x0
|
|
|
|
const/4 v5, 0x0
|
|
|
|
const/4 v6, 0x0
|
|
|
|
move-object v0, v7
|
|
|
|
move-object v3, p0
|
|
|
|
invoke-direct/range {v0 .. v6}, Lcom/discord/restapi/RestAPIParams$CreateGuildChannel;-><init>(ILjava/lang/Long;Ljava/lang/String;Ljava/lang/Long;Ljava/util/List;Ljava/lang/String;)V
|
|
|
|
invoke-static {v7}, Lf/i/a/b/i1/e;->listOf1(Ljava/lang/Object;)Ljava/util/List;
|
|
|
|
move-result-object p0
|
|
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
array-length v1, p4
|
|
|
|
invoke-direct {v0, v1}, Ljava/util/ArrayList;-><init>(I)V
|
|
|
|
array-length v1, p4
|
|
|
|
const/4 v2, 0x0
|
|
|
|
:goto_0
|
|
if-ge v2, v1, :cond_0
|
|
|
|
aget-object v6, p4, v2
|
|
|
|
new-instance v10, Lcom/discord/restapi/RestAPIParams$CreateGuildChannel;
|
|
|
|
const/4 v5, 0x0
|
|
|
|
invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
|
|
|
move-result-object v7
|
|
|
|
const/4 v8, 0x0
|
|
|
|
const/4 v9, 0x0
|
|
|
|
move-object v3, v10
|
|
|
|
move v4, p3
|
|
|
|
invoke-direct/range {v3 .. v9}, Lcom/discord/restapi/RestAPIParams$CreateGuildChannel;-><init>(ILjava/lang/Long;Ljava/lang/String;Ljava/lang/Long;Ljava/util/List;Ljava/lang/String;)V
|
|
|
|
invoke-interface {v0, v10}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
|
|
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
invoke-static {p0, v0}, Li0/i/l;->plus(Ljava/util/Collection;Ljava/lang/Iterable;)Ljava/util/List;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|