apkfuckery/com.discord/smali/e/a/j/f.smali
2019-12-18 10:41:56 +01:00

105 lines
2.4 KiB
Smali

.class public final Le/a/j/f;
.super Lt/u/b/k;
.source "OAuthPermissionViews.kt"
# interfaces
.implements Lkotlin/jvm/functions/Function1;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Lt/u/b/k;",
"Lkotlin/jvm/functions/Function1<",
"Lcom/discord/models/domain/ModelConnectedAccount;",
"Ljava/lang/String;",
">;"
}
.end annotation
# static fields
.field public static final d:Le/a/j/f;
# direct methods
.method public static constructor <clinit>()V
.locals 1
new-instance v0, Le/a/j/f;
invoke-direct {v0}, Le/a/j/f;-><init>()V
sput-object v0, Le/a/j/f;->d:Le/a/j/f;
return-void
.end method
.method public constructor <init>()V
.locals 1
const/4 v0, 0x1
invoke-direct {p0, v0}, Lt/u/b/k;-><init>(I)V
return-void
.end method
# virtual methods
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p1, Lcom/discord/models/domain/ModelConnectedAccount;
invoke-virtual {p0, p1}, Le/a/j/f;->invoke(Lcom/discord/models/domain/ModelConnectedAccount;)Ljava/lang/String;
move-result-object p1
return-object p1
.end method
.method public final invoke(Lcom/discord/models/domain/ModelConnectedAccount;)Ljava/lang/String;
.locals 2
if-eqz p1, :cond_0
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {p1}, Lcom/discord/models/domain/ModelConnectedAccount;->getUsername()Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v1, " ("
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p1}, Lcom/discord/models/domain/ModelConnectedAccount;->getType()Ljava/lang/String;
move-result-object p1
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const/16 p1, 0x29
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
return-object p1
:cond_0
const-string p1, "it"
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method