apkfuckery/com.discord/smali_classes2/okhttp3/MultipartBody$b.smali

111 lines
2.1 KiB
Smali
Raw Normal View History

2019-11-28 00:30:53 +00:00
.class public final Lokhttp3/MultipartBody$b;
.super Ljava/lang/Object;
.source "MultipartBody.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lokhttp3/MultipartBody;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "b"
.end annotation
# direct methods
2019-12-06 03:29:40 +00:00
.method public synthetic constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
2019-11-28 00:30:53 +00:00
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
2019-12-06 03:29:40 +00:00
# virtual methods
.method public final a(Ljava/lang/StringBuilder;Ljava/lang/String;)V
2019-11-28 00:30:53 +00:00
.locals 5
2019-12-06 03:29:40 +00:00
const/4 v0, 0x0
2019-11-28 00:30:53 +00:00
2019-12-06 03:29:40 +00:00
if-eqz p1, :cond_5
2019-11-28 00:30:53 +00:00
2019-12-06 03:29:40 +00:00
if-eqz p2, :cond_4
2019-11-28 00:30:53 +00:00
const/16 v0, 0x22
2019-12-06 03:29:40 +00:00
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
2019-11-28 00:30:53 +00:00
2019-12-06 03:29:40 +00:00
const/4 v1, 0x0
2019-11-28 00:30:53 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {p2}, Ljava/lang/String;->length()I
2019-11-28 00:30:53 +00:00
2019-12-06 03:29:40 +00:00
move-result v2
2019-11-28 00:30:53 +00:00
:goto_0
2019-12-06 03:29:40 +00:00
if-ge v1, v2, :cond_3
2019-11-28 00:30:53 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {p2, v1}, Ljava/lang/String;->charAt(I)C
2019-11-28 00:30:53 +00:00
move-result v3
const/16 v4, 0xa
if-ne v3, v4, :cond_0
const-string v3, "%0A"
2019-12-06 03:29:40 +00:00
invoke-virtual {p1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-11-28 00:30:53 +00:00
goto :goto_1
:cond_0
const/16 v4, 0xd
if-ne v3, v4, :cond_1
const-string v3, "%0D"
2019-12-06 03:29:40 +00:00
invoke-virtual {p1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-11-28 00:30:53 +00:00
goto :goto_1
:cond_1
if-ne v3, v0, :cond_2
const-string v3, "%22"
2019-12-06 03:29:40 +00:00
invoke-virtual {p1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-11-28 00:30:53 +00:00
goto :goto_1
:cond_2
2019-12-06 03:29:40 +00:00
invoke-virtual {p1, v3}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
2019-11-28 00:30:53 +00:00
:goto_1
2019-12-06 03:29:40 +00:00
add-int/lit8 v1, v1, 0x1
2019-11-28 00:30:53 +00:00
goto :goto_0
:cond_3
2019-12-06 03:29:40 +00:00
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
2019-11-28 00:30:53 +00:00
return-void
2019-12-06 03:29:40 +00:00
:cond_4
const-string p1, "key"
2019-12-12 08:58:10 +00:00
invoke-static {p1}, Lm/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
:cond_5
const-string p1, "$this$appendQuotedString"
2019-12-12 08:58:10 +00:00
invoke-static {p1}, Lm/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