95 lines
2.4 KiB
Smali
95 lines
2.4 KiB
Smali
.class public final Lcom/discord/stores/StoreSlowMode$getChannelCooldownObservable$newObservable$2$2$1;
|
|
.super Ljava/lang/Object;
|
|
.source "StoreSlowMode.kt"
|
|
|
|
# interfaces
|
|
.implements Lf0/l/i;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/discord/stores/StoreSlowMode$getChannelCooldownObservable$newObservable$2$2;->call(Ljava/lang/Long;)Lrx/Observable;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
"R:",
|
|
"Ljava/lang/Object;",
|
|
">",
|
|
"Ljava/lang/Object;",
|
|
"Lf0/l/i<",
|
|
"TT;TR;>;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic $nextSendTimeForChannel:Ljava/lang/Long;
|
|
|
|
.field public final synthetic $now:J
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Ljava/lang/Long;J)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/discord/stores/StoreSlowMode$getChannelCooldownObservable$newObservable$2$2$1;->$nextSendTimeForChannel:Ljava/lang/Long;
|
|
|
|
iput-wide p2, p0, Lcom/discord/stores/StoreSlowMode$getChannelCooldownObservable$newObservable$2$2$1;->$now:J
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final call(Ljava/lang/Long;)J
|
|
.locals 6
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Long;->longValue()J
|
|
|
|
move-result-wide v0
|
|
|
|
const-wide/16 v2, 0x3e8
|
|
|
|
mul-long v0, v0, v2
|
|
|
|
iget-object p1, p0, Lcom/discord/stores/StoreSlowMode$getChannelCooldownObservable$newObservable$2$2$1;->$nextSendTimeForChannel:Ljava/lang/Long;
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Long;->longValue()J
|
|
|
|
move-result-wide v2
|
|
|
|
iget-wide v4, p0, Lcom/discord/stores/StoreSlowMode$getChannelCooldownObservable$newObservable$2$2$1;->$now:J
|
|
|
|
add-long/2addr v4, v0
|
|
|
|
sub-long/2addr v2, v4
|
|
|
|
return-wide v2
|
|
.end method
|
|
|
|
.method public bridge synthetic call(Ljava/lang/Object;)Ljava/lang/Object;
|
|
.locals 2
|
|
|
|
check-cast p1, Ljava/lang/Long;
|
|
|
|
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreSlowMode$getChannelCooldownObservable$newObservable$2$2$1;->call(Ljava/lang/Long;)J
|
|
|
|
move-result-wide v0
|
|
|
|
invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|