apkfuckery/com.discord/smali/com/adjust/sdk/ax.smali

102 lines
2.3 KiB
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class public final Lcom/adjust/sdk/ax;
.super Ljava/lang/Object;
2019-02-17 02:24:41 +00:00
.source "TimerCycle.java"
2019-02-04 20:08:30 +00:00
# instance fields
2019-05-03 18:53:54 +00:00
.field bQ:Lcom/adjust/sdk/x;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
.field eZ:Lcom/adjust/sdk/s;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
.field fa:Ljava/util/concurrent/ScheduledFuture;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
.field fb:Ljava/lang/Runnable;
2019-02-17 02:24:41 +00:00
2019-05-03 18:53:54 +00:00
.field fc:J
2019-02-17 02:24:41 +00:00
2019-05-03 18:53:54 +00:00
.field fd:Z
2019-02-17 02:24:41 +00:00
.field initialDelay:J
2019-02-04 20:08:30 +00:00
.field name:Ljava/lang/String;
# direct methods
2019-02-17 02:24:41 +00:00
.method public constructor <init>(Ljava/lang/Runnable;JJLjava/lang/String;)V
.locals 4
2019-02-04 20:08:30 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
new-instance v0, Lcom/adjust/sdk/s;
const/4 v1, 0x1
2019-02-17 02:24:41 +00:00
invoke-direct {v0, p6, v1}, Lcom/adjust/sdk/s;-><init>(Ljava/lang/String;Z)V
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
iput-object v0, p0, Lcom/adjust/sdk/ax;->eZ:Lcom/adjust/sdk/s;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
iput-object p6, p0, Lcom/adjust/sdk/ax;->name:Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
iput-object p1, p0, Lcom/adjust/sdk/ax;->fb:Ljava/lang/Runnable;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
iput-wide p2, p0, Lcom/adjust/sdk/ax;->initialDelay:J
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
iput-wide p4, p0, Lcom/adjust/sdk/ax;->fc:J
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
iput-boolean v1, p0, Lcom/adjust/sdk/ax;->fd:Z
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {}, Lcom/adjust/sdk/j;->X()Lcom/adjust/sdk/x;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object p1
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
iput-object p1, p0, Lcom/adjust/sdk/ax;->bQ:Lcom/adjust/sdk/x;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
sget-object p1, Lcom/adjust/sdk/az;->fg:Ljava/text/DecimalFormat;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
long-to-double p4, p4
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const-wide v2, 0x408f400000000000L # 1000.0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {p4, p5}, Ljava/lang/Double;->isNaN(D)Z
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
div-double/2addr p4, v2
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-virtual {p1, p4, p5}, Ljava/text/DecimalFormat;->format(D)Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object p1
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
sget-object p4, Lcom/adjust/sdk/az;->fg:Ljava/text/DecimalFormat;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
long-to-double p2, p2
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static {p2, p3}, Ljava/lang/Double;->isNaN(D)Z
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
div-double/2addr p2, v2
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-virtual {p4, p2, p3}, Ljava/text/DecimalFormat;->format(D)Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object p2
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
iget-object p3, p0, Lcom/adjust/sdk/ax;->bQ:Lcom/adjust/sdk/x;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
const/4 p4, 0x3
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
new-array p4, p4, [Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
const/4 p5, 0x0
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
aput-object p6, p4, p5
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
aput-object p2, p4, v1
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const/4 p2, 0x2
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
aput-object p1, p4, p2
const-string p1, "%s configured to fire after %s seconds of starting and cycles every %s seconds"
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-interface {p3, p1, p4}, Lcom/adjust/sdk/x;->a(Ljava/lang/String;[Ljava/lang/Object;)V
2019-02-04 20:08:30 +00:00
return-void
.end method