apkfuckery/com.discord/smali/e/a/f/a.smali

99 lines
2 KiB
Smali
Raw Normal View History

2020-04-27 20:53:11 +00:00
.class public final Le/a/f/a;
.super Lx/u/b/k;
2020-04-08 16:24:01 +00:00
.source "RtcConnection.kt"
# interfaces
.implements Lkotlin/jvm/functions/Function0;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
2020-04-27 20:53:11 +00:00
"Lx/u/b/k;",
2020-04-08 16:24:01 +00:00
"Lkotlin/jvm/functions/Function0<",
"Lkotlin/Unit;",
">;"
}
.end annotation
# instance fields
.field public final synthetic $isConnected:Ljava/lang/Boolean;
2020-04-27 20:53:11 +00:00
.field public final synthetic this$0:Le/a/f/b;
2019-08-17 08:22:04 +00:00
# direct methods
2020-04-27 20:53:11 +00:00
.method public constructor <init>(Le/a/f/b;Ljava/lang/Boolean;)V
2020-04-08 16:24:01 +00:00
.locals 0
2020-04-27 20:53:11 +00:00
iput-object p1, p0, Le/a/f/a;->this$0:Le/a/f/b;
2019-08-17 08:22:04 +00:00
2020-04-27 20:53:11 +00:00
iput-object p2, p0, Le/a/f/a;->$isConnected:Ljava/lang/Boolean;
2019-08-17 08:22:04 +00:00
2020-04-08 16:24:01 +00:00
const/4 p1, 0x0
2019-08-17 08:22:04 +00:00
2020-04-27 20:53:11 +00:00
invoke-direct {p0, p1}, Lx/u/b/k;-><init>(I)V
2019-12-06 03:29:40 +00:00
2020-04-08 16:24:01 +00:00
return-void
.end method
2019-08-17 08:22:04 +00:00
2020-04-08 16:24:01 +00:00
# virtual methods
.method public bridge synthetic invoke()Ljava/lang/Object;
.locals 1
2019-08-17 08:22:04 +00:00
2020-04-27 20:53:11 +00:00
invoke-virtual {p0}, Le/a/f/a;->invoke()V
2019-08-17 08:22:04 +00:00
2020-04-08 16:24:01 +00:00
sget-object v0, Lkotlin/Unit;->a:Lkotlin/Unit;
2019-08-17 08:22:04 +00:00
2020-04-08 16:24:01 +00:00
return-object v0
.end method
2019-08-17 08:22:04 +00:00
2020-04-08 16:24:01 +00:00
.method public final invoke()V
.locals 5
2019-08-17 08:22:04 +00:00
2020-04-27 20:53:11 +00:00
iget-object v0, p0, Le/a/f/a;->this$0:Le/a/f/b;
2019-08-17 08:22:04 +00:00
2020-04-27 20:53:11 +00:00
iget-object v0, v0, Le/a/f/b;->d:Lcom/discord/rtcconnection/RtcConnection;
2019-08-17 08:22:04 +00:00
2020-04-27 20:53:11 +00:00
iget-object v1, p0, Le/a/f/a;->$isConnected:Ljava/lang/Boolean;
2020-04-08 16:24:01 +00:00
const-string v2, "isConnected"
2020-04-27 20:53:11 +00:00
invoke-static {v1, v2}, Lx/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-04-08 16:24:01 +00:00
invoke-virtual {v1}, Ljava/lang/Boolean;->booleanValue()Z
move-result v1
2020-04-27 20:53:11 +00:00
iget-object v0, v0, Lcom/discord/rtcconnection/RtcConnection;->j:Le/a/f/p/a;
2020-04-08 16:24:01 +00:00
if-eqz v0, :cond_1
if-eqz v1, :cond_0
const-wide/16 v1, 0x1388
const/4 v3, 0x1
const-string v4, "network detected online"
2020-04-27 20:53:11 +00:00
invoke-virtual {v0, v1, v2, v4, v3}, Le/a/f/p/a;->a(JLjava/lang/String;Z)V
2020-04-08 16:24:01 +00:00
goto :goto_0
2019-12-06 03:29:40 +00:00
:cond_0
2020-04-08 16:24:01 +00:00
const-wide/16 v1, 0x3a98
2019-12-06 03:29:40 +00:00
2020-04-08 16:24:01 +00:00
const/4 v3, 0x0
2019-12-06 03:29:40 +00:00
2020-04-08 16:24:01 +00:00
const-string v4, "network detected offline"
2020-04-27 20:53:11 +00:00
invoke-virtual {v0, v1, v2, v4, v3}, Le/a/f/p/a;->a(JLjava/lang/String;Z)V
2019-12-06 03:29:40 +00:00
2020-04-08 16:24:01 +00:00
:cond_1
:goto_0
return-void
2019-08-17 08:22:04 +00:00
.end method