apkfuckery/com.discord/smali/com/discord/gateway/GatewaySocket$connect$1.smali

82 lines
2.1 KiB
Smali
Raw Normal View History

2019-12-06 03:29:40 +00:00
.class public final Lcom/discord/gateway/GatewaySocket$connect$1;
2019-12-21 01:41:59 +00:00
.super Lt/u/b/k;
2019-07-24 11:27:29 +00:00
.source "GatewaySocket.kt"
# interfaces
.implements Lkotlin/jvm/functions/Function0;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/gateway/GatewaySocket;->connect()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
2019-12-06 03:29:40 +00:00
accessFlags = 0x19
2019-07-24 11:27:29 +00:00
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
2019-12-21 01:41:59 +00:00
"Lt/u/b/k;",
2019-07-24 11:27:29 +00:00
"Lkotlin/jvm/functions/Function0<",
"Lkotlin/Unit;",
">;"
}
.end annotation
# instance fields
2019-12-06 03:29:40 +00:00
.field public final synthetic this$0:Lcom/discord/gateway/GatewaySocket;
2019-07-24 11:27:29 +00:00
# direct methods
2019-12-06 03:29:40 +00:00
.method public constructor <init>(Lcom/discord/gateway/GatewaySocket;)V
2019-07-24 11:27:29 +00:00
.locals 0
iput-object p1, p0, Lcom/discord/gateway/GatewaySocket$connect$1;->this$0:Lcom/discord/gateway/GatewaySocket;
const/4 p1, 0x0
2019-12-21 01:41:59 +00:00
invoke-direct {p0, p1}, Lt/u/b/k;-><init>(I)V
2019-07-24 11:27:29 +00:00
return-void
.end method
# virtual methods
2019-12-06 03:29:40 +00:00
.method public bridge synthetic invoke()Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
.locals 1
invoke-virtual {p0}, Lcom/discord/gateway/GatewaySocket$connect$1;->invoke()V
2019-12-06 03:29:40 +00:00
sget-object v0, Lkotlin/Unit;->a:Lkotlin/Unit;
2019-07-24 11:27:29 +00:00
return-object v0
.end method
.method public final invoke()V
.locals 2
iget-object v0, p0, Lcom/discord/gateway/GatewaySocket$connect$1;->this$0:Lcom/discord/gateway/GatewaySocket;
invoke-static {v0}, Lcom/discord/gateway/GatewaySocket;->access$getConnectionState$p(Lcom/discord/gateway/GatewaySocket;)I
move-result v0
if-nez v0, :cond_0
iget-object v0, p0, Lcom/discord/gateway/GatewaySocket$connect$1;->this$0:Lcom/discord/gateway/GatewaySocket;
const/4 v1, 0x1
invoke-static {v0, v1}, Lcom/discord/gateway/GatewaySocket;->access$setConnectionState$p(Lcom/discord/gateway/GatewaySocket;I)V
iget-object v0, p0, Lcom/discord/gateway/GatewaySocket$connect$1;->this$0:Lcom/discord/gateway/GatewaySocket;
invoke-static {v0}, Lcom/discord/gateway/GatewaySocket;->access$discover(Lcom/discord/gateway/GatewaySocket;)V
:cond_0
return-void
.end method