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

104 lines
2.8 KiB
Smali
Raw Normal View History

2020-05-17 12:40:10 +00:00
.class public final Lf/a/g/h;
2020-11-09 19:03:49 +00:00
.super Ly/n/c/k;
.source "RtcConnection.kt"
2020-05-17 12:40:10 +00:00
# interfaces
2020-11-09 19:03:49 +00:00
.implements Lkotlin/jvm/functions/Function0;
2020-05-17 12:40:10 +00:00
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
2020-11-09 19:03:49 +00:00
"Ly/n/c/k;",
"Lkotlin/jvm/functions/Function0<",
"Lkotlin/Unit;",
2020-05-17 12:40:10 +00:00
">;"
}
.end annotation
# instance fields
2020-11-09 19:03:49 +00:00
.field public final synthetic $endpoint:Ljava/lang/String;
.field public final synthetic $sslSocketFactory:Ljavax/net/ssl/SSLSocketFactory;
.field public final synthetic $token:Ljava/lang/String;
.field public final synthetic this$0:Lcom/discord/rtcconnection/RtcConnection;
2020-05-17 12:40:10 +00:00
# direct methods
2020-11-09 19:03:49 +00:00
.method public constructor <init>(Lcom/discord/rtcconnection/RtcConnection;Ljava/lang/String;Ljava/lang/String;Ljavax/net/ssl/SSLSocketFactory;)V
2020-05-17 12:40:10 +00:00
.locals 0
2020-11-09 19:03:49 +00:00
iput-object p1, p0, Lf/a/g/h;->this$0:Lcom/discord/rtcconnection/RtcConnection;
iput-object p2, p0, Lf/a/g/h;->$endpoint:Ljava/lang/String;
iput-object p3, p0, Lf/a/g/h;->$token:Ljava/lang/String;
iput-object p4, p0, Lf/a/g/h;->$sslSocketFactory:Ljavax/net/ssl/SSLSocketFactory;
2020-05-17 12:40:10 +00:00
2020-11-09 19:03:49 +00:00
const/4 p1, 0x0
invoke-direct {p0, p1}, Ly/n/c/k;-><init>(I)V
2020-05-17 12:40:10 +00:00
return-void
.end method
# virtual methods
2020-11-09 19:03:49 +00:00
.method public invoke()Ljava/lang/Object;
.locals 4
2020-05-17 12:40:10 +00:00
2020-11-09 19:03:49 +00:00
iget-object v0, p0, Lf/a/g/h;->this$0:Lcom/discord/rtcconnection/RtcConnection;
2020-05-17 12:40:10 +00:00
2020-11-09 19:03:49 +00:00
iget-object v1, v0, Lcom/discord/rtcconnection/RtcConnection;->D:Lcom/discord/utilities/time/Clock;
2020-05-17 12:40:10 +00:00
2020-11-09 19:03:49 +00:00
invoke-interface {v1}, Lcom/discord/utilities/time/Clock;->currentTimeMillis()J
2020-05-17 12:40:10 +00:00
2020-11-09 19:03:49 +00:00
move-result-wide v1
2020-05-17 12:40:10 +00:00
2020-11-09 19:03:49 +00:00
invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
2020-05-17 12:40:10 +00:00
2020-11-09 19:03:49 +00:00
move-result-object v1
2020-05-17 12:40:10 +00:00
2020-11-09 19:03:49 +00:00
iput-object v1, v0, Lcom/discord/rtcconnection/RtcConnection;->o:Ljava/lang/Long;
2020-05-17 12:40:10 +00:00
2020-11-09 19:03:49 +00:00
iget-object v0, p0, Lf/a/g/h;->this$0:Lcom/discord/rtcconnection/RtcConnection;
2020-05-17 12:40:10 +00:00
2020-11-09 19:03:49 +00:00
iget v1, v0, Lcom/discord/rtcconnection/RtcConnection;->q:I
2020-05-17 12:40:10 +00:00
2020-11-09 19:03:49 +00:00
add-int/lit8 v1, v1, 0x1
iput v1, v0, Lcom/discord/rtcconnection/RtcConnection;->q:I
iget-object v0, v0, Lcom/discord/rtcconnection/RtcConnection;->B:Lcom/discord/rtcconnection/mediaengine/MediaEngine;
invoke-interface {v0}, Lcom/discord/rtcconnection/mediaengine/MediaEngine;->a()Lrx/Observable;
move-result-object v0
const-wide/16 v1, 0x1
sget-object v3, Ljava/util/concurrent/TimeUnit;->SECONDS:Ljava/util/concurrent/TimeUnit;
invoke-virtual {v0, v1, v2, v3}, Lrx/Observable;->Y(JLjava/util/concurrent/TimeUnit;)Lrx/Observable;
move-result-object v0
new-instance v1, Lf/a/g/e;
invoke-direct {v1, p0}, Lf/a/g/e;-><init>(Lf/a/g/h;)V
new-instance v2, Lf/a/g/g;
invoke-direct {v2, p0}, Lf/a/g/g;-><init>(Lf/a/g/h;)V
invoke-virtual {v0, v1, v2}, Lrx/Observable;->S(Lrx/functions/Action1;Lrx/functions/Action1;)Lrx/Subscription;
sget-object v0, Lkotlin/Unit;->a:Lkotlin/Unit;
return-object v0
2020-05-17 12:40:10 +00:00
.end method