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

171 lines
4.6 KiB
Smali
Raw Normal View History

2020-05-17 12:40:10 +00:00
.class public final Lf/a/g/e;
2020-07-08 16:44:49 +00:00
.super Ljava/lang/Object;
.source "AppMediaPlayer.kt"
2020-05-17 12:40:10 +00:00
# interfaces
2020-07-08 16:44:49 +00:00
.implements Lrx/functions/Action1;
2020-05-17 12:40:10 +00:00
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
2020-07-08 16:44:49 +00:00
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lrx/functions/Action1<",
"Lf/a/g/k$c;",
2020-05-17 12:40:10 +00:00
">;"
}
.end annotation
# instance fields
2020-07-08 16:44:49 +00:00
.field public final synthetic d:Lcom/discord/player/AppMediaPlayer;
2020-05-17 12:40:10 +00:00
# direct methods
2020-07-08 16:44:49 +00:00
.method public constructor <init>(Lcom/discord/player/AppMediaPlayer;)V
2020-05-17 12:40:10 +00:00
.locals 0
2020-07-08 16:44:49 +00:00
iput-object p1, p0, Lf/a/g/e;->d:Lcom/discord/player/AppMediaPlayer;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2020-05-17 12:40:10 +00:00
return-void
.end method
# virtual methods
2020-07-08 16:44:49 +00:00
.method public call(Ljava/lang/Object;)V
.locals 7
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
check-cast p1, Lf/a/g/k$c;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
iget p1, p1, Lf/a/g/k$c;->b:I
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const/4 v0, 0x2
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
if-eq p1, v0, :cond_4
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const/4 v0, 0x3
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
if-eq p1, v0, :cond_2
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const/4 v0, 0x4
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
if-eq p1, v0, :cond_0
2020-05-17 12:40:10 +00:00
goto :goto_0
:cond_0
2020-07-08 16:44:49 +00:00
iget-object p1, p0, Lf/a/g/e;->d:Lcom/discord/player/AppMediaPlayer;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
iget-object p1, p1, Lcom/discord/player/AppMediaPlayer;->a:Lrx/subjects/PublishSubject;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
sget-object v0, Lcom/discord/player/AppMediaPlayer$Event$e;->a:Lcom/discord/player/AppMediaPlayer$Event$e;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
iget-object p1, p1, Lrx/subjects/PublishSubject;->e:Lrx/subjects/PublishSubject$b;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-virtual {p1, v0}, Lrx/subjects/PublishSubject$b;->onNext(Ljava/lang/Object;)V
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
iget-object p1, p0, Lf/a/g/e;->d:Lcom/discord/player/AppMediaPlayer;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
iget-object p1, p1, Lcom/discord/player/AppMediaPlayer;->b:Lrx/Subscription;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
if-eqz p1, :cond_1
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-interface {p1}, Lrx/Subscription;->unsubscribe()V
2020-05-17 12:40:10 +00:00
:cond_1
2020-07-08 16:44:49 +00:00
iget-object p1, p0, Lf/a/g/e;->d:Lcom/discord/player/AppMediaPlayer;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
iget-object v0, p1, Lcom/discord/player/AppMediaPlayer;->a:Lrx/subjects/PublishSubject;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
new-instance v1, Lcom/discord/player/AppMediaPlayer$Event$c;
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
iget-object p1, p1, Lcom/discord/player/AppMediaPlayer;->f:Lf/h/a/c/s0;
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
invoke-virtual {p1}, Lf/h/a/c/s0;->G()J
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
move-result-wide v2
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-direct {v1, v2, v3}, Lcom/discord/player/AppMediaPlayer$Event$c;-><init>(J)V
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
iget-object p1, v0, Lrx/subjects/PublishSubject;->e:Lrx/subjects/PublishSubject$b;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-virtual {p1, v1}, Lrx/subjects/PublishSubject$b;->onNext(Ljava/lang/Object;)V
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
goto :goto_0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
:cond_2
iget-object p1, p0, Lf/a/g/e;->d:Lcom/discord/player/AppMediaPlayer;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
iget-object p1, p1, Lcom/discord/player/AppMediaPlayer;->a:Lrx/subjects/PublishSubject;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
sget-object v0, Lcom/discord/player/AppMediaPlayer$Event$a;->a:Lcom/discord/player/AppMediaPlayer$Event$a;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
iget-object p1, p1, Lrx/subjects/PublishSubject;->e:Lrx/subjects/PublishSubject$b;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-virtual {p1, v0}, Lrx/subjects/PublishSubject$b;->onNext(Ljava/lang/Object;)V
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
iget-object p1, p0, Lf/a/g/e;->d:Lcom/discord/player/AppMediaPlayer;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
iget-object v0, p1, Lcom/discord/player/AppMediaPlayer;->b:Lrx/Subscription;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
if-eqz v0, :cond_3
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-interface {v0}, Lrx/Subscription;->unsubscribe()V
2020-05-17 12:40:10 +00:00
:cond_3
2020-07-08 16:44:49 +00:00
const-wide/16 v3, 0x1f4
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
sget-object v5, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
iget-object v6, p1, Lcom/discord/player/AppMediaPlayer;->i:Lrx/Scheduler;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
move-wide v1, v3
2020-05-17 12:40:10 +00:00
2020-08-04 06:02:43 +00:00
invoke-static/range {v1 .. v6}, Lrx/Observable;->C(JJLjava/util/concurrent/TimeUnit;Lrx/Scheduler;)Lrx/Observable;
2020-05-17 12:40:10 +00:00
move-result-object v0
2020-09-18 16:51:32 +00:00
invoke-static {}, Lt0/j/b/a;->a()Lrx/Scheduler;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
move-result-object v1
2020-05-17 12:40:10 +00:00
2020-08-04 06:02:43 +00:00
invoke-virtual {v0, v1}, Lrx/Observable;->H(Lrx/Scheduler;)Lrx/Observable;
2020-05-17 12:40:10 +00:00
move-result-object v0
2020-07-08 16:44:49 +00:00
new-instance v1, Lf/a/g/g;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-direct {v1, p1}, Lf/a/g/g;-><init>(Lcom/discord/player/AppMediaPlayer;)V
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
new-instance v2, Lf/a/g/h;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-direct {v2, p1}, Lf/a/g/h;-><init>(Lcom/discord/player/AppMediaPlayer;)V
2020-05-17 12:40:10 +00:00
2020-08-04 06:02:43 +00:00
invoke-virtual {v0, v1, v2}, Lrx/Observable;->S(Lrx/functions/Action1;Lrx/functions/Action1;)Lrx/Subscription;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
move-result-object v0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
iput-object v0, p1, Lcom/discord/player/AppMediaPlayer;->b:Lrx/Subscription;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
goto :goto_0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
:cond_4
iget-object p1, p0, Lf/a/g/e;->d:Lcom/discord/player/AppMediaPlayer;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
iget-object p1, p1, Lcom/discord/player/AppMediaPlayer;->a:Lrx/subjects/PublishSubject;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
sget-object v0, Lcom/discord/player/AppMediaPlayer$Event$b;->a:Lcom/discord/player/AppMediaPlayer$Event$b;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
iget-object p1, p1, Lrx/subjects/PublishSubject;->e:Lrx/subjects/PublishSubject$b;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-virtual {p1, v0}, Lrx/subjects/PublishSubject$b;->onNext(Ljava/lang/Object;)V
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
:goto_0
2020-05-17 12:40:10 +00:00
return-void
.end method