apkfuckery/com.discord/smali/f/a/g/k.smali
2020-05-11 21:22:21 +02:00

105 lines
2.5 KiB
Smali

.class public final Lf/a/g/k;
.super Ly/v/b/k;
.source "RtcConnection.kt"
# interfaces
.implements Lkotlin/jvm/functions/Function1;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ly/v/b/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/g/k;->this$0:Lcom/discord/rtcconnection/RtcConnection;
const/4 p1, 0x1
invoke-direct {p0, p1}, Ly/v/b/k;-><init>(I)V
return-void
.end method
# virtual methods
.method public final a(Ljava/lang/Exception;)V
.locals 8
if-eqz p1, :cond_0
iget-object v0, p0, Lf/a/g/k;->this$0:Lcom/discord/rtcconnection/RtcConnection;
iget-object v1, v0, Lcom/discord/rtcconnection/RtcConnection;->C:Lcom/discord/utilities/logging/Logger;
iget-object v2, v0, Lcom/discord/rtcconnection/RtcConnection;->b:Ljava/lang/String;
const-string v0, "Error occurred while connecting to RTC server: "
invoke-static {v0}, Lf/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
invoke-virtual {p1}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;
move-result-object p1
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v3
const/4 v4, 0x0
const/4 v5, 0x0
const/16 v6, 0xc
const/4 v7, 0x0
invoke-static/range {v1 .. v7}, Lcom/discord/utilities/logging/Logger;->e$default(Lcom/discord/utilities/logging/Logger;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;Ljava/util/Map;ILjava/lang/Object;)V
iget-object p1, p0, Lf/a/g/k;->this$0:Lcom/discord/rtcconnection/RtcConnection;
const/4 v0, 0x1
invoke-virtual {p1, v0}, Lcom/discord/rtcconnection/RtcConnection;->a(Z)V
return-void
:cond_0
const-string p1, "it"
invoke-static {p1}, Ly/v/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p1, Ljava/lang/Exception;
invoke-virtual {p0, p1}, Lf/a/g/k;->a(Ljava/lang/Exception;)V
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
return-object p1
.end method