apkfuckery/com.discord/smali/f/a/h/n.smali

88 lines
2 KiB
Smali
Raw Normal View History

2020-07-08 16:44:49 +00:00
.class public final Lf/a/h/n;
2020-07-22 00:04:40 +00:00
.super Li0/n/c/i;
2020-07-08 16:44:49 +00:00
.source "RtcConnection.kt"
# interfaces
.implements Lkotlin/jvm/functions/Function1;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
2020-07-22 00:04:40 +00:00
"Li0/n/c/i;",
2020-07-08 16:44:49 +00:00
"Lkotlin/jvm/functions/Function1<",
"Ljava/lang/Exception;",
"Lkotlin/Unit;",
">;"
}
.end annotation
# instance fields
.field public final synthetic this$0:Lcom/discord/rtcconnection/RtcConnection;
# direct methods
.method public constructor <init>(Lcom/discord/rtcconnection/RtcConnection;)V
.locals 0
iput-object p1, p0, Lf/a/h/n;->this$0:Lcom/discord/rtcconnection/RtcConnection;
const/4 p1, 0x1
2020-07-22 00:04:40 +00:00
invoke-direct {p0, p1}, Li0/n/c/i;-><init>(I)V
2020-07-08 16:44:49 +00:00
return-void
.end method
# virtual methods
.method public invoke(Ljava/lang/Object;)Ljava/lang/Object;
.locals 4
check-cast p1, Ljava/lang/Exception;
const/4 v0, 0x0
if-eqz p1, :cond_0
iget-object v1, p0, Lf/a/h/n;->this$0:Lcom/discord/rtcconnection/RtcConnection;
const/4 v2, 0x1
const-string v3, "Error occurred while connecting to RTC server: "
2020-07-14 22:43:59 +00:00
invoke-static {v3}, Lf/e/b/a/a;->D(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-07-08 16:44:49 +00:00
move-result-object v3
invoke-virtual {p1}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;
move-result-object p1
invoke-virtual {v3, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const/16 p1, 0x2e
invoke-virtual {v3, p1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
const/4 v3, 0x4
invoke-static {v1, v2, p1, v0, v3}, Lcom/discord/rtcconnection/RtcConnection;->d(Lcom/discord/rtcconnection/RtcConnection;ZLjava/lang/String;Ljava/lang/Throwable;I)V
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
return-object p1
:cond_0
const-string p1, "it"
2020-07-22 00:04:40 +00:00
invoke-static {p1}, Li0/n/c/h;->c(Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
throw v0
.end method