apkfuckery/com.discord/smali/e/c/a/r1.smali

125 lines
2.6 KiB
Smali
Raw Normal View History

2020-04-27 20:53:11 +00:00
.class public Le/c/a/r1;
2019-12-06 03:29:40 +00:00
.super Ljava/lang/Object;
.source "SdkClickHandler.java"
# interfaces
.implements Ljava/lang/Runnable;
# instance fields
2020-04-27 20:53:11 +00:00
.field public final synthetic d:Le/c/a/p1;
2019-12-06 03:29:40 +00:00
# direct methods
2020-04-27 20:53:11 +00:00
.method public constructor <init>(Le/c/a/p1;)V
2019-12-06 03:29:40 +00:00
.locals 0
2020-04-27 20:53:11 +00:00
iput-object p1, p0, Le/c/a/r1;->d:Le/c/a/p1;
2019-12-06 03:29:40 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.locals 11
2020-04-27 20:53:11 +00:00
iget-object v0, p0, Le/c/a/r1;->d:Le/c/a/p1;
2019-12-06 03:29:40 +00:00
2020-04-27 20:53:11 +00:00
iget-boolean v1, v0, Le/c/a/p1;->a:Z
2019-12-06 03:29:40 +00:00
if-eqz v1, :cond_0
goto :goto_0
:cond_0
2020-04-27 20:53:11 +00:00
iget-object v1, v0, Le/c/a/p1;->d:Ljava/util/List;
2019-12-06 03:29:40 +00:00
invoke-interface {v1}, Ljava/util/List;->isEmpty()Z
move-result v1
if-eqz v1, :cond_1
goto :goto_0
:cond_1
2020-04-27 20:53:11 +00:00
iget-object v1, v0, Le/c/a/p1;->d:Ljava/util/List;
2019-12-06 03:29:40 +00:00
const/4 v2, 0x0
invoke-interface {v1, v2}, Ljava/util/List;->remove(I)Ljava/lang/Object;
move-result-object v1
2020-04-27 20:53:11 +00:00
check-cast v1, Le/c/a/s;
2019-12-06 03:29:40 +00:00
2020-04-27 20:53:11 +00:00
invoke-virtual {v1}, Le/c/a/s;->l()I
2019-12-06 03:29:40 +00:00
move-result v3
2020-04-27 20:53:11 +00:00
new-instance v4, Le/c/a/s1;
2019-12-06 03:29:40 +00:00
2020-04-27 20:53:11 +00:00
invoke-direct {v4, v0, v1}, Le/c/a/s1;-><init>(Le/c/a/p1;Le/c/a/s;)V
2019-12-06 03:29:40 +00:00
if-gtz v3, :cond_2
invoke-interface {v4}, Ljava/lang/Runnable;->run()V
goto :goto_0
:cond_2
2020-04-27 20:53:11 +00:00
iget-object v1, v0, Le/c/a/p1;->c:Le/c/a/n0;
2019-12-06 03:29:40 +00:00
2020-04-27 20:53:11 +00:00
invoke-static {v3, v1}, Le/c/a/a2;->a(ILe/c/a/n0;)J
2019-12-06 03:29:40 +00:00
move-result-wide v5
long-to-double v7, v5
const-wide v9, 0x408f400000000000L # 1000.0
div-double/2addr v7, v9
2020-04-27 20:53:11 +00:00
sget-object v1, Le/c/a/a2;->a:Ljava/text/DecimalFormat;
2019-12-06 03:29:40 +00:00
invoke-virtual {v1, v7, v8}, Ljava/text/DecimalFormat;->format(D)Ljava/lang/String;
move-result-object v1
2020-04-27 20:53:11 +00:00
iget-object v7, v0, Le/c/a/p1;->b:Le/c/a/u0;
2019-12-06 03:29:40 +00:00
const/4 v8, 0x2
new-array v8, v8, [Ljava/lang/Object;
aput-object v1, v8, v2
const/4 v1, 0x1
invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v2
aput-object v2, v8, v1
2020-04-27 20:53:11 +00:00
check-cast v7, Le/c/a/b1;
2019-12-06 03:29:40 +00:00
const-string v1, "Waiting for %s seconds before retrying sdk_click for the %d time"
2020-04-27 20:53:11 +00:00
invoke-virtual {v7, v1, v8}, Le/c/a/b1;->d(Ljava/lang/String;[Ljava/lang/Object;)V
2019-12-06 03:29:40 +00:00
2020-04-27 20:53:11 +00:00
iget-object v0, v0, Le/c/a/p1;->e:Le/c/a/p0;
2019-12-06 03:29:40 +00:00
sget-object v1, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;
2020-04-27 20:53:11 +00:00
iget-object v0, v0, Le/c/a/p0;->a:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
2019-12-06 03:29:40 +00:00
invoke-virtual {v0, v4, v5, v6, v1}, Ljava/util/concurrent/ScheduledThreadPoolExecutor;->schedule(Ljava/lang/Runnable;JLjava/util/concurrent/TimeUnit;)Ljava/util/concurrent/ScheduledFuture;
:goto_0
return-void
.end method