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

261 lines
6.2 KiB
Smali
Raw Normal View History

2020-11-16 22:05:17 +00:00
.class public final Lc0/a0;
2020-11-13 19:18:44 +00:00
.super Ljava/lang/Object;
.source "Request.kt"
2020-11-12 02:11:44 +00:00
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
2020-11-16 22:05:17 +00:00
Lc0/a0$a;
2020-11-12 02:11:44 +00:00
}
.end annotation
2020-11-13 19:18:44 +00:00
# instance fields
2020-11-16 22:05:17 +00:00
.field public a:Lc0/d;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
.field public final b:Lc0/x;
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
.field public final c:Ljava/lang/String;
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
.field public final d:Lokhttp3/Headers;
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
.field public final e:Lokhttp3/RequestBody;
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
.field public final f:Ljava/util/Map;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Map<",
"Ljava/lang/Class<",
"*>;",
"Ljava/lang/Object;",
">;"
}
.end annotation
.end field
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
# direct methods
2020-11-16 22:05:17 +00:00
.method public constructor <init>(Lc0/x;Ljava/lang/String;Lokhttp3/Headers;Lokhttp3/RequestBody;Ljava/util/Map;)V
2020-11-13 19:18:44 +00:00
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
2020-11-16 22:05:17 +00:00
"Lc0/x;",
2020-11-13 19:18:44 +00:00
"Ljava/lang/String;",
"Lokhttp3/Headers;",
"Lokhttp3/RequestBody;",
"Ljava/util/Map<",
"Ljava/lang/Class<",
"*>;+",
"Ljava/lang/Object;",
">;)V"
}
.end annotation
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
const-string v0, "url"
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p1, v0}, Ly/m/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
const-string v0, "method"
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p2, v0}, Ly/m/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
const-string v0, "headers"
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p3, v0}, Ly/m/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
const-string v0, "tags"
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p5, v0}, Ly/m/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
iput-object p1, p0, Lc0/a0;->b:Lc0/x;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
iput-object p2, p0, Lc0/a0;->c:Ljava/lang/String;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
iput-object p3, p0, Lc0/a0;->d:Lokhttp3/Headers;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
iput-object p4, p0, Lc0/a0;->e:Lokhttp3/RequestBody;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
iput-object p5, p0, Lc0/a0;->f:Ljava/util/Map;
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
return-void
.end method
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
# virtual methods
2020-11-16 22:05:17 +00:00
.method public final a()Lc0/d;
2020-11-13 19:18:44 +00:00
.locals 2
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
iget-object v0, p0, Lc0/a0;->a:Lc0/d;
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
if-nez v0, :cond_0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
sget-object v0, Lc0/d;->n:Lc0/d$a;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
iget-object v1, p0, Lc0/a0;->d:Lokhttp3/Headers;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-virtual {v0, v1}, Lc0/d$a;->b(Lokhttp3/Headers;)Lc0/d;
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
move-result-object v0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
iput-object v0, p0, Lc0/a0;->a:Lc0/d;
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
:cond_0
return-object v0
.end method
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
.method public final b(Ljava/lang/String;)Ljava/lang/String;
.locals 1
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
const-string v0, "name"
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p1, v0}, Ly/m/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
iget-object v0, p0, Lc0/a0;->d:Lokhttp3/Headers;
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
invoke-virtual {v0, p1}, Lokhttp3/Headers;->c(Ljava/lang/String;)Ljava/lang/String;
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
move-result-object p1
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
return-object p1
.end method
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
.method public toString()Ljava/lang/String;
.locals 6
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
const-string v0, "Request{method="
2020-11-12 02:11:44 +00:00
2020-11-20 01:16:14 +00:00
invoke-static {v0}, Lf/e/c/a/a;->F(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
move-result-object v0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
iget-object v1, p0, Lc0/a0;->c:Ljava/lang/String;
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
const-string v1, ", url="
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
iget-object v1, p0, Lc0/a0;->b:Lc0/x;
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
iget-object v1, p0, Lc0/a0;->d:Lokhttp3/Headers;
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
invoke-virtual {v1}, Lokhttp3/Headers;->size()I
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
move-result v1
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
if-eqz v1, :cond_3
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
const-string v1, ", headers=["
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
iget-object v1, p0, Lc0/a0;->d:Lokhttp3/Headers;
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
const/4 v2, 0x0
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
invoke-interface {v1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
move-result-object v1
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
:goto_0
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
move-result v3
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
if-eqz v3, :cond_2
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
move-result-object v3
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
add-int/lit8 v4, v2, 0x1
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
if-ltz v2, :cond_1
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
check-cast v3, Lkotlin/Pair;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-virtual {v3}, Lkotlin/Pair;->component1()Ljava/lang/Object;
move-result-object v5
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
check-cast v5, Ljava/lang/String;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-virtual {v3}, Lkotlin/Pair;->component2()Ljava/lang/Object;
move-result-object v3
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
check-cast v3, Ljava/lang/String;
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
if-lez v2, :cond_0
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
const-string v2, ", "
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
:cond_0
invoke-virtual {v0, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
const/16 v2, 0x3a
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move v2, v4
goto :goto_0
:cond_1
2020-11-16 22:05:17 +00:00
invoke-static {}, Ly/h/f;->throwIndexOverflow()V
2020-11-13 19:18:44 +00:00
const/4 v0, 0x0
throw v0
:cond_2
const/16 v1, 0x5d
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
:cond_3
2020-11-16 22:05:17 +00:00
iget-object v1, p0, Lc0/a0;->f:Ljava/util/Map;
2020-11-13 19:18:44 +00:00
invoke-interface {v1}, Ljava/util/Map;->isEmpty()Z
move-result v1
xor-int/lit8 v1, v1, 0x1
if-eqz v1, :cond_4
const-string v1, ", tags="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-11-16 22:05:17 +00:00
iget-object v1, p0, Lc0/a0;->f:Ljava/util/Map;
2020-11-13 19:18:44 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
:cond_4
const/16 v1, 0x7d
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
const-string v1, "StringBuilder().apply(builderAction).toString()"
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {v0, v1}, Ly/m/c/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
return-object v0
.end method