apkfuckery/com.discord/smali_classes2/j0/t/f.smali

87 lines
1.9 KiB
Smali
Raw Normal View History

2020-07-25 00:57:58 +00:00
.class public Lj0/t/f;
2020-07-08 16:44:49 +00:00
.super Ljava/lang/Object;
2020-07-25 00:57:58 +00:00
.source "Appendable.kt"
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
# direct methods
.method public constructor <init>()V
.locals 0
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
return-void
.end method
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
.method public static final appendElement(Ljava/lang/Appendable;Ljava/lang/Object;Lkotlin/jvm/functions/Function1;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/Appendable;",
"TT;",
"Lkotlin/jvm/functions/Function1<",
"-TT;+",
"Ljava/lang/CharSequence;",
">;)V"
}
.end annotation
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
if-eqz p2, :cond_0
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
invoke-interface {p2, p1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
move-result-object p1
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
check-cast p1, Ljava/lang/CharSequence;
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
invoke-interface {p0, p1}, Ljava/lang/Appendable;->append(Ljava/lang/CharSequence;)Ljava/lang/Appendable;
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
goto :goto_1
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
:cond_0
if-eqz p1, :cond_1
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
instance-of p2, p1, Ljava/lang/CharSequence;
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
goto :goto_0
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
:cond_1
const/4 p2, 0x1
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
:goto_0
if-eqz p2, :cond_2
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
check-cast p1, Ljava/lang/CharSequence;
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
invoke-interface {p0, p1}, Ljava/lang/Appendable;->append(Ljava/lang/CharSequence;)Ljava/lang/Appendable;
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
goto :goto_1
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
:cond_2
instance-of p2, p1, Ljava/lang/Character;
if-eqz p2, :cond_3
check-cast p1, Ljava/lang/Character;
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
invoke-virtual {p1}, Ljava/lang/Character;->charValue()C
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
move-result p1
invoke-interface {p0, p1}, Ljava/lang/Appendable;->append(C)Ljava/lang/Appendable;
goto :goto_1
:cond_3
invoke-static {p1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
move-result-object p1
invoke-interface {p0, p1}, Ljava/lang/Appendable;->append(Ljava/lang/CharSequence;)Ljava/lang/Appendable;
:goto_1
return-void
2020-05-17 12:40:10 +00:00
.end method