apkfuckery/com.discord/smali/f/a/h/o.smali
2020-11-11 19:31:32 +00:00

82 lines
2 KiB
Smali

.class public final Lf/a/h/o;
.super Ly/n/c/k;
.source "RtcConnection.kt"
# interfaces
.implements Lkotlin/jvm/functions/Function1;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ly/n/c/k;",
"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/o;->this$0:Lcom/discord/rtcconnection/RtcConnection;
const/4 p1, 0x1
invoke-direct {p0, p1}, Ly/n/c/k;-><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}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
iget-object v0, p0, Lf/a/h/o;->this$0:Lcom/discord/rtcconnection/RtcConnection;
const-string v1, "Error occurred while connecting to RTC server: "
invoke-static {v1}, Lf/e/c/a/a;->E(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;->e(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