apkfuckery/com.discord/smali/f/a/h/n.smali
2020-09-02 04:07:20 +00:00

82 lines
2 KiB
Smali

.class public final Lf/a/h/n;
.super Lk0/o/c/j;
.source "RtcConnection.kt"
# interfaces
.implements Lkotlin/jvm/functions/Function1;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Lk0/o/c/j;",
"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
invoke-direct {p0, p1}, Lk0/o/c/j;-><init>(I)V
return-void
.end method
# virtual methods
.method public invoke(Ljava/lang/Object;)Ljava/lang/Object;
.locals 4
check-cast p1, Ljava/lang/Exception;
const-string v0, "it"
invoke-static {p1, v0}, Lk0/o/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
iget-object v0, p0, Lf/a/h/n;->this$0:Lcom/discord/rtcconnection/RtcConnection;
const-string v1, "Error occurred while connecting to RTC server: "
invoke-static {v1}, Lf/e/b/a/a;->D(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v1
invoke-virtual {p1}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;
move-result-object p1
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const/16 p1, 0x2e
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
const/4 v1, 0x1
const/4 v2, 0x0
const/4 v3, 0x4
invoke-static {v0, v1, p1, v2, 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
.end method