.class public final Lcom/discord/stores/StoreSlowMode$getChannelCooldownObservable$newObservable$2$2; .super Ljava/lang/Object; .source "StoreSlowMode.kt" # interfaces .implements Ll0/k/b; # annotations .annotation system Ldalvik/annotation/EnclosingMethod; value = Lcom/discord/stores/StoreSlowMode$getChannelCooldownObservable$newObservable$2;->call(Ljava/lang/Boolean;)Lrx/Observable; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x19 name = null .end annotation .annotation system Ldalvik/annotation/Signature; value = { "", "Ljava/lang/Object;", "Ll0/k/b<", "Ljava/lang/Long;", "Lrx/Observable<", "+", "Ljava/lang/Long;", ">;>;" } .end annotation # instance fields .field public final synthetic this$0:Lcom/discord/stores/StoreSlowMode$getChannelCooldownObservable$newObservable$2; # direct methods .method public constructor (Lcom/discord/stores/StoreSlowMode$getChannelCooldownObservable$newObservable$2;)V .locals 0 iput-object p1, p0, Lcom/discord/stores/StoreSlowMode$getChannelCooldownObservable$newObservable$2$2;->this$0:Lcom/discord/stores/StoreSlowMode$getChannelCooldownObservable$newObservable$2; invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method # virtual methods .method public bridge synthetic call(Ljava/lang/Object;)Ljava/lang/Object; .locals 0 check-cast p1, Ljava/lang/Long; invoke-virtual {p0, p1}, Lcom/discord/stores/StoreSlowMode$getChannelCooldownObservable$newObservable$2$2;->call(Ljava/lang/Long;)Lrx/Observable; move-result-object p1 return-object p1 .end method .method public final call(Ljava/lang/Long;)Lrx/Observable; .locals 7 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/Long;", ")", "Lrx/Observable<", "+", "Ljava/lang/Long;", ">;" } .end annotation iget-object v0, p0, Lcom/discord/stores/StoreSlowMode$getChannelCooldownObservable$newObservable$2$2;->this$0:Lcom/discord/stores/StoreSlowMode$getChannelCooldownObservable$newObservable$2; iget-object v0, v0, Lcom/discord/stores/StoreSlowMode$getChannelCooldownObservable$newObservable$2;->this$0:Lcom/discord/stores/StoreSlowMode; invoke-static {v0}, Lcom/discord/stores/StoreSlowMode;->access$getClock$p(Lcom/discord/stores/StoreSlowMode;)Lcom/discord/utilities/time/Clock; move-result-object v0 invoke-interface {v0}, Lcom/discord/utilities/time/Clock;->currentTimeMillis()J move-result-wide v0 const-wide/16 v2, 0x0 if-eqz p1, :cond_0 invoke-virtual {p1}, Ljava/lang/Long;->longValue()J move-result-wide v4 cmp-long v6, v4, v0 if-lez v6, :cond_0 const-wide/16 v4, 0x1 sget-object v6, Ljava/util/concurrent/TimeUnit;->SECONDS:Ljava/util/concurrent/TimeUnit; invoke-static {v2, v3, v4, v5, v6}, Lrx/Observable;->B(JJLjava/util/concurrent/TimeUnit;)Lrx/Observable; move-result-object v2 new-instance v3, Lcom/discord/stores/StoreSlowMode$getChannelCooldownObservable$newObservable$2$2$1; invoke-direct {v3, p1, v0, v1}, Lcom/discord/stores/StoreSlowMode$getChannelCooldownObservable$newObservable$2$2$1;->(Ljava/lang/Long;J)V invoke-virtual {v2, v3}, Lrx/Observable;->E(Ll0/k/b;)Lrx/Observable; move-result-object p1 sget-object v0, Lcom/discord/stores/StoreSlowMode$getChannelCooldownObservable$newObservable$2$2$2;->INSTANCE:Lcom/discord/stores/StoreSlowMode$getChannelCooldownObservable$newObservable$2$2$2; new-instance v1, Ll0/l/a/l2; invoke-direct {v1, v0}, Ll0/l/a/l2;->(Ll0/k/b;)V new-instance v0, Ll0/l/a/u; iget-object p1, p1, Lrx/Observable;->d:Lrx/Observable$a; invoke-direct {v0, p1, v1}, Ll0/l/a/u;->(Lrx/Observable$a;Lrx/Observable$b;)V invoke-static {v0}, Lrx/Observable;->e0(Lrx/Observable$a;)Lrx/Observable; move-result-object p1 goto :goto_0 :cond_0 invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; move-result-object p1 new-instance v0, Ll0/l/e/j; invoke-direct {v0, p1}, Ll0/l/e/j;->(Ljava/lang/Object;)V move-object p1, v0 :goto_0 return-object p1 .end method