apkfuckery/com.discord/smali_classes2/a0/y.smali

310 lines
6.6 KiB
Smali
Raw Normal View History

2020-02-20 19:33:18 +00:00
.class public final La0/y;
2019-11-28 00:30:53 +00:00
.super Ljava/lang/Object;
.source "Request.kt"
2019-07-24 11:27:29 +00:00
# annotations
2019-11-28 00:30:53 +00:00
.annotation system Ldalvik/annotation/MemberClasses;
2019-07-24 11:27:29 +00:00
value = {
2020-02-20 19:33:18 +00:00
La0/y$a;
2019-07-24 11:27:29 +00:00
}
.end annotation
# instance fields
2020-02-20 19:33:18 +00:00
.field public a:La0/d;
2019-07-24 11:27:29 +00:00
2020-02-20 19:33:18 +00:00
.field public final b:La0/u;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public final c:Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public final d:Lokhttp3/Headers;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public final e:Lokhttp3/RequestBody;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public final f:Ljava/util/Map;
2019-11-28 00:30:53 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Map<",
"Ljava/lang/Class<",
"*>;",
"Ljava/lang/Object;",
">;"
}
.end annotation
.end field
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
# direct methods
2020-02-20 19:33:18 +00:00
.method public constructor <init>(La0/u;Ljava/lang/String;Lokhttp3/Headers;Lokhttp3/RequestBody;Ljava/util/Map;)V
2019-11-28 00:30:53 +00:00
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
2020-02-20 19:33:18 +00:00
"La0/u;",
2019-11-28 00:30:53 +00:00
"Ljava/lang/String;",
"Lokhttp3/Headers;",
"Lokhttp3/RequestBody;",
"Ljava/util/Map<",
"Ljava/lang/Class<",
"*>;+",
"Ljava/lang/Object;",
">;)V"
}
.end annotation
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 v0, 0x0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eqz p1, :cond_3
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eqz p2, :cond_2
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eqz p3, :cond_1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eqz p5, :cond_0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2019-07-24 11:27:29 +00:00
2020-02-20 19:33:18 +00:00
iput-object p1, p0, La0/y;->b:La0/u;
2019-07-24 11:27:29 +00:00
2020-02-20 19:33:18 +00:00
iput-object p2, p0, La0/y;->c:Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2020-02-20 19:33:18 +00:00
iput-object p3, p0, La0/y;->d:Lokhttp3/Headers;
2019-07-24 11:27:29 +00:00
2020-02-20 19:33:18 +00:00
iput-object p4, p0, La0/y;->e:Lokhttp3/RequestBody;
2019-07-24 11:27:29 +00:00
2020-02-20 19:33:18 +00:00
iput-object p5, p0, La0/y;->f:Ljava/util/Map;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
return-void
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
:cond_0
const-string p1, "tags"
2019-07-24 11:27:29 +00:00
2020-02-20 19:33:18 +00:00
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
throw v0
:cond_1
const-string p1, "headers"
2020-02-20 19:33:18 +00:00
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
:cond_2
const-string p1, "method"
2020-02-20 19:33:18 +00:00
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
:cond_3
const-string p1, "url"
2020-02-20 19:33:18 +00:00
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
2019-11-28 00:30:53 +00:00
.end method
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
# virtual methods
2020-02-20 19:33:18 +00:00
.method public final a()La0/d;
.locals 2
iget-object v0, p0, La0/y;->a:La0/d;
if-nez v0, :cond_0
sget-object v0, La0/d;->n:La0/d$a;
iget-object v1, p0, La0/y;->d:Lokhttp3/Headers;
invoke-virtual {v0, v1}, La0/d$a;->a(Lokhttp3/Headers;)La0/d;
move-result-object v0
iput-object v0, p0, La0/y;->a:La0/d;
:cond_0
return-object v0
.end method
2019-12-06 03:29:40 +00:00
.method public final a(Ljava/lang/String;)Ljava/lang/String;
2019-11-28 00:30:53 +00:00
.locals 1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eqz p1, :cond_0
2019-07-24 11:27:29 +00:00
2020-02-20 19:33:18 +00:00
iget-object v0, p0, La0/y;->d:Lokhttp3/Headers;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v0, p1}, Lokhttp3/Headers;->a(Ljava/lang/String;)Ljava/lang/String;
move-result-object p1
return-object p1
:cond_0
const-string p1, "name"
2020-02-20 19:33:18 +00:00
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
const/4 p1, 0x0
throw p1
2019-11-28 00:30:53 +00:00
.end method
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.method public final b()Z
2019-11-28 00:30:53 +00:00
.locals 1
2019-07-24 11:27:29 +00:00
2020-02-20 19:33:18 +00:00
iget-object v0, p0, La0/y;->b:La0/u;
2019-07-24 11:27:29 +00:00
2020-02-20 19:33:18 +00:00
iget-boolean v0, v0, La0/u;->a:Z
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
return v0
2019-11-28 00:30:53 +00:00
.end method
2019-07-24 11:27:29 +00:00
2020-02-20 19:33:18 +00:00
.method public final c()La0/y$a;
2019-11-28 00:30:53 +00:00
.locals 1
2019-07-24 11:27:29 +00:00
2020-02-20 19:33:18 +00:00
new-instance v0, La0/y$a;
2019-07-24 11:27:29 +00:00
2020-02-20 19:33:18 +00:00
invoke-direct {v0, p0}, La0/y$a;-><init>(La0/y;)V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
return-object v0
2019-07-24 11:27:29 +00:00
.end method
2019-12-06 03:29:40 +00:00
.method public toString()Ljava/lang/String;
2019-07-24 11:27:29 +00:00
.locals 6
2019-12-06 03:29:40 +00:00
const-string v0, "Request{method="
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-static {v0}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v0
2019-07-24 11:27:29 +00:00
2020-02-20 19:33:18 +00:00
iget-object v1, p0, La0/y;->c:Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
const-string v1, ", url="
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2020-02-20 19:33:18 +00:00
iget-object v1, p0, La0/y;->b:La0/u;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2020-02-20 19:33:18 +00:00
iget-object v1, p0, La0/y;->d:Lokhttp3/Headers;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v1}, Lokhttp3/Headers;->size()I
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result v1
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
if-eqz v1, :cond_3
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
const-string v1, ", headers=["
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2020-02-20 19:33:18 +00:00
iget-object v1, p0, La0/y;->d:Lokhttp3/Headers;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
const/4 v2, 0x0
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-interface {v1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
move-result-object v1
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
:goto_0
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
move-result v3
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
if-eqz v3, :cond_2
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
move-result-object v3
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
add-int/lit8 v4, v2, 0x1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-ltz v2, :cond_1
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
check-cast v3, Lkotlin/Pair;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-virtual {v3}, Lkotlin/Pair;->component1()Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
move-result-object v5
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
check-cast v5, Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-virtual {v3}, Lkotlin/Pair;->component2()Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
move-result-object v3
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
check-cast v3, Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-lez v2, :cond_0
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
const-string v2, ", "
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
:cond_0
2019-11-28 00:30:53 +00:00
invoke-virtual {v0, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
const/16 v2, 0x3a
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
move v2, v4
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
goto :goto_0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
:cond_1
2020-02-20 19:33:18 +00:00
invoke-static {}, Le/k/a/c/e/p/g;->throwIndexOverflow()V
2019-12-06 03:29:40 +00:00
const/4 v0, 0x0
throw v0
2019-11-28 00:30:53 +00:00
:cond_2
const/16 v1, 0x5d
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
:cond_3
2020-02-20 19:33:18 +00:00
iget-object v1, p0, La0/y;->f:Ljava/util/Map;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-interface {v1}, Ljava/util/Map;->isEmpty()Z
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
move-result v1
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
xor-int/lit8 v1, v1, 0x1
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
if-eqz v1, :cond_4
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
const-string v1, ", tags="
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2020-02-20 19:33:18 +00:00
iget-object v1, p0, La0/y;->f:Ljava/util/Map;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
:cond_4
const/16 v1, 0x7d
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
2019-07-24 11:27:29 +00:00
move-result-object v0
2019-11-28 00:30:53 +00:00
const-string v1, "StringBuilder().apply(builderAction).toString()"
2020-02-20 19:33:18 +00:00
invoke-static {v0, v1}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
return-object v0
.end method