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

91 lines
1.9 KiB
Smali
Raw Normal View History

2020-11-12 02:11:44 +00:00
.class public final Lf/a/h/a;
2020-11-13 01:15:36 +00:00
.super Ly/n/c/k;
.source "RtcConnection.kt"
2020-11-12 02:11:44 +00:00
# interfaces
2020-11-13 01:15:36 +00:00
.implements Lkotlin/jvm/functions/Function0;
2020-11-12 02:11:44 +00:00
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
2020-11-13 01:15:36 +00:00
"Ly/n/c/k;",
"Lkotlin/jvm/functions/Function0<",
"Lkotlin/Unit;",
2020-11-12 02:11:44 +00:00
">;"
}
.end annotation
# instance fields
2020-11-13 01:15:36 +00:00
.field public final synthetic $isConnected:Ljava/lang/Boolean;
2020-11-12 02:11:44 +00:00
2020-11-13 01:15:36 +00:00
.field public final synthetic this$0:Lf/a/h/b;
2020-11-12 02:11:44 +00:00
# direct methods
2020-11-13 01:15:36 +00:00
.method public constructor <init>(Lf/a/h/b;Ljava/lang/Boolean;)V
2020-11-12 02:11:44 +00:00
.locals 0
2020-11-13 01:15:36 +00:00
iput-object p1, p0, Lf/a/h/a;->this$0:Lf/a/h/b;
2020-11-12 02:11:44 +00:00
2020-11-13 01:15:36 +00:00
iput-object p2, p0, Lf/a/h/a;->$isConnected:Ljava/lang/Boolean;
2020-11-12 02:11:44 +00:00
2020-11-13 01:15:36 +00:00
const/4 p1, 0x0
2020-11-12 02:11:44 +00:00
2020-11-13 01:15:36 +00:00
invoke-direct {p0, p1}, Ly/n/c/k;-><init>(I)V
2020-11-12 02:11:44 +00:00
return-void
.end method
# virtual methods
2020-11-13 01:15:36 +00:00
.method public invoke()Ljava/lang/Object;
.locals 5
2020-11-12 02:11:44 +00:00
2020-11-13 01:15:36 +00:00
iget-object v0, p0, Lf/a/h/a;->this$0:Lf/a/h/b;
2020-11-12 02:11:44 +00:00
2020-11-13 01:15:36 +00:00
iget-object v0, v0, Lf/a/h/b;->d:Lcom/discord/rtcconnection/RtcConnection;
2020-11-12 02:11:44 +00:00
2020-11-13 01:15:36 +00:00
iget-object v1, p0, Lf/a/h/a;->$isConnected:Ljava/lang/Boolean;
2020-11-12 02:11:44 +00:00
2020-11-13 01:15:36 +00:00
const-string v2, "isConnected"
2020-11-12 02:11:44 +00:00
2020-11-13 01:15:36 +00:00
invoke-static {v1, v2}, Ly/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
2020-11-13 01:15:36 +00:00
invoke-virtual {v1}, Ljava/lang/Boolean;->booleanValue()Z
2020-11-12 02:11:44 +00:00
2020-11-13 01:15:36 +00:00
move-result v1
2020-11-12 02:11:44 +00:00
2020-11-13 01:15:36 +00:00
iget-object v0, v0, Lcom/discord/rtcconnection/RtcConnection;->j:Lf/a/h/t/a;
2020-11-12 02:11:44 +00:00
2020-11-13 01:15:36 +00:00
if-eqz v0, :cond_1
2020-11-12 02:11:44 +00:00
2020-11-13 01:15:36 +00:00
if-eqz v1, :cond_0
2020-11-12 23:15:09 +00:00
2020-11-13 01:15:36 +00:00
const-wide/16 v1, 0x1388
2020-11-12 23:15:09 +00:00
2020-11-13 01:15:36 +00:00
const/4 v3, 0x1
2020-11-12 23:15:09 +00:00
2020-11-13 01:15:36 +00:00
const-string v4, "network detected online"
2020-11-12 23:15:09 +00:00
2020-11-13 01:15:36 +00:00
invoke-virtual {v0, v1, v2, v4, v3}, Lf/a/h/t/a;->h(JLjava/lang/String;Z)V
2020-11-12 23:15:09 +00:00
2020-11-13 01:15:36 +00:00
goto :goto_0
2020-11-12 23:15:09 +00:00
2020-11-13 01:15:36 +00:00
:cond_0
const-wide/16 v1, 0x3a98
2020-11-12 23:15:09 +00:00
2020-11-13 01:15:36 +00:00
const/4 v3, 0x0
2020-11-12 23:15:09 +00:00
2020-11-13 01:15:36 +00:00
const-string v4, "network detected offline"
2020-11-12 23:15:09 +00:00
2020-11-13 01:15:36 +00:00
invoke-virtual {v0, v1, v2, v4, v3}, Lf/a/h/t/a;->h(JLjava/lang/String;Z)V
2020-11-12 23:15:09 +00:00
2020-11-13 01:15:36 +00:00
:cond_1
:goto_0
sget-object v0, Lkotlin/Unit;->a:Lkotlin/Unit;
2020-11-12 23:15:09 +00:00
2020-11-13 01:15:36 +00:00
return-object v0
2020-11-12 02:11:44 +00:00
.end method