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

310 lines
6.5 KiB
Smali
Raw Normal View History

2019-12-21 01:41:59 +00:00
.class public final Lx/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 = {
2019-12-21 01:41:59 +00:00
Lx/y$a;
2019-07-24 11:27:29 +00:00
}
.end annotation
# instance fields
2019-12-21 01:41:59 +00:00
.field public a:Lx/d;
2019-07-24 11:27:29 +00:00
2019-12-21 01:41:59 +00:00
.field public final b:Lx/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
2019-12-21 01:41:59 +00:00
.method public constructor <init>(Lx/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 = {
"(",
2019-12-21 01:41:59 +00:00
"Lx/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
2019-12-21 01:41:59 +00:00
iput-object p1, p0, Lx/y;->b:Lx/u;
2019-07-24 11:27:29 +00:00
2019-12-21 01:41:59 +00:00
iput-object p2, p0, Lx/y;->c:Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-12-21 01:41:59 +00:00
iput-object p3, p0, Lx/y;->d:Lokhttp3/Headers;
2019-07-24 11:27:29 +00:00
2019-12-21 01:41:59 +00:00
iput-object p4, p0, Lx/y;->e:Lokhttp3/RequestBody;
2019-07-24 11:27:29 +00:00
2019-12-21 01:41:59 +00:00
iput-object p5, p0, Lx/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
2019-12-21 01:41:59 +00:00
invoke-static {p1}, Lt/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"
2019-12-21 01:41:59 +00:00
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
:cond_2
const-string p1, "method"
2019-12-21 01:41:59 +00:00
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
:cond_3
const-string p1, "url"
2019-12-21 01:41:59 +00:00
invoke-static {p1}, Lt/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
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
2019-12-21 01:41:59 +00:00
iget-object v0, p0, Lx/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"
2019-12-21 01:41:59 +00:00
invoke-static {p1}, Lt/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-21 01:41:59 +00:00
.method public final a()Lx/d;
2019-12-06 03:29:40 +00:00
.locals 2
2019-07-24 11:27:29 +00:00
2019-12-21 01:41:59 +00:00
iget-object v0, p0, Lx/y;->a:Lx/d;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
if-nez v0, :cond_0
2019-07-24 11:27:29 +00:00
2019-12-21 01:41:59 +00:00
sget-object v0, Lx/d;->n:Lx/d$a;
2019-07-24 11:27:29 +00:00
2019-12-21 01:41:59 +00:00
iget-object v1, p0, Lx/y;->d:Lokhttp3/Headers;
2019-07-24 11:27:29 +00:00
2019-12-21 01:41:59 +00:00
invoke-virtual {v0, v1}, Lx/d$a;->a(Lokhttp3/Headers;)Lx/d;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
move-result-object v0
2019-07-24 11:27:29 +00:00
2019-12-21 01:41:59 +00:00
iput-object v0, p0, Lx/y;->a:Lx/d;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
:cond_0
return-object v0
2019-07-24 11:27:29 +00:00
.end method
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
2019-12-21 01:41:59 +00:00
iget-object v0, p0, Lx/y;->b:Lx/u;
2019-07-24 11:27:29 +00:00
2019-12-21 01:41:59 +00:00
iget-boolean v0, v0, Lx/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
2019-12-21 01:41:59 +00:00
.method public final c()Lx/y$a;
2019-11-28 00:30:53 +00:00
.locals 1
2019-07-24 11:27:29 +00:00
2019-12-21 01:41:59 +00:00
new-instance v0, Lx/y$a;
2019-07-24 11:27:29 +00:00
2019-12-21 01:41:59 +00:00
invoke-direct {v0, p0}, Lx/y$a;-><init>(Lx/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
2019-12-21 01:41:59 +00:00
iget-object v1, p0, Lx/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
2019-12-21 01:41:59 +00:00
iget-object v1, p0, Lx/y;->b:Lx/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
2019-12-21 01:41:59 +00:00
iget-object v1, p0, Lx/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
2019-12-21 01:41:59 +00:00
iget-object v1, p0, Lx/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
invoke-static {}, Le/k/a/b/e/p/g;->throwIndexOverflow()V
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
2019-12-21 01:41:59 +00:00
iget-object v1, p0, Lx/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
2019-12-21 01:41:59 +00:00
iget-object v1, p0, Lx/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()"
2019-12-21 01:41:59 +00:00
invoke-static {v0, v1}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
return-object v0
.end method