apkfuckery/com.discord/smali/e/a/f/k.smali
2020-04-27 22:53:11 +02:00

105 lines
2.5 KiB
Smali

.class public final Le/a/f/k;
.super Lx/u/b/k;
.source "RtcConnection.kt"
# interfaces
.implements Lkotlin/jvm/functions/Function1;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Lx/u/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, Le/a/f/k;->this$0:Lcom/discord/rtcconnection/RtcConnection;
const/4 p1, 0x1
invoke-direct {p0, p1}, Lx/u/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, Le/a/f/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}, Le/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, Le/a/f/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}, Lx/u/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}, Le/a/f/k;->a(Ljava/lang/Exception;)V
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
return-object p1
.end method