apkfuckery/com.discord/smali/f/c/a/b1.smali

149 lines
2.8 KiB
Smali
Raw Normal View History

2020-11-12 02:11:44 +00:00
.class public Lf/c/a/b1;
.super Ljava/lang/Object;
2020-11-13 19:18:44 +00:00
.source "SdkClickHandler.java"
2020-11-12 02:11:44 +00:00
# interfaces
2020-11-13 19:18:44 +00:00
.implements Ljava/lang/Runnable;
2020-11-12 02:11:44 +00:00
# instance fields
2020-11-13 19:18:44 +00:00
.field public final synthetic d:Lf/c/a/z0;
2020-11-12 02:11:44 +00:00
# direct methods
2020-11-13 19:18:44 +00:00
.method public constructor <init>(Lf/c/a/z0;)V
.locals 0
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
iput-object p1, p0, Lf/c/a/b1;->d:Lf/c/a/z0;
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2020-11-12 02:11:44 +00:00
return-void
.end method
# virtual methods
2020-11-13 19:18:44 +00:00
.method public run()V
.locals 11
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
iget-object v0, p0, Lf/c/a/b1;->d:Lf/c/a/z0;
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
iget-object v1, v0, Lf/c/a/z0;->g:Ljava/lang/ref/WeakReference;
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
invoke-virtual {v1}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
move-result-object v1
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
check-cast v1, Lf/c/a/h0;
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
invoke-interface {v1}, Lf/c/a/h0;->g()Lf/c/a/m;
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
move-result-object v2
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
if-nez v2, :cond_0
2020-11-12 02:11:44 +00:00
goto :goto_0
:cond_0
2020-11-13 19:18:44 +00:00
invoke-interface {v1}, Lf/c/a/h0;->g()Lf/c/a/m;
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
move-result-object v1
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
iget-boolean v1, v1, Lf/c/a/m;->isGdprForgotten:Z
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
if-eqz v1, :cond_1
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
goto :goto_0
2020-11-12 02:11:44 +00:00
:cond_1
2020-11-13 19:18:44 +00:00
iget-boolean v1, v0, Lf/c/a/z0;->a:Z
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
if-eqz v1, :cond_2
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
goto :goto_0
2020-11-12 02:11:44 +00:00
:cond_2
2020-11-13 19:18:44 +00:00
iget-object v1, v0, Lf/c/a/z0;->e:Ljava/util/List;
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
invoke-interface {v1}, Ljava/util/List;->isEmpty()Z
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
move-result v1
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
if-eqz v1, :cond_3
2020-11-12 02:11:44 +00:00
goto :goto_0
:cond_3
2020-11-13 19:18:44 +00:00
iget-object v1, v0, Lf/c/a/z0;->e:Ljava/util/List;
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
const/4 v2, 0x0
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
invoke-interface {v1, v2}, Ljava/util/List;->remove(I)Ljava/lang/Object;
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
move-result-object v1
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
check-cast v1, Lf/c/a/l;
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
invoke-virtual {v1}, Lf/c/a/l;->l()I
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
move-result v3
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
new-instance v4, Lf/c/a/c1;
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
invoke-direct {v4, v0, v1}, Lf/c/a/c1;-><init>(Lf/c/a/z0;Lf/c/a/l;)V
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
if-gtz v3, :cond_4
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
invoke-virtual {v4}, Lf/c/a/c1;->run()V
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
goto :goto_0
2020-11-12 02:11:44 +00:00
:cond_4
2020-11-13 19:18:44 +00:00
iget-object v1, v0, Lf/c/a/z0;->c:Lf/c/a/b0;
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
invoke-static {v3, v1}, Lf/c/a/l1;->m(ILf/c/a/b0;)J
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
move-result-wide v5
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
long-to-double v7, v5
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
const-wide v9, 0x408f400000000000L # 1000.0
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
div-double/2addr v7, v9
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
sget-object v1, Lf/c/a/l1;->a:Ljava/text/DecimalFormat;
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
invoke-virtual {v1, v7, v8}, Ljava/text/DecimalFormat;->format(D)Ljava/lang/String;
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
move-result-object v1
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
iget-object v7, v0, Lf/c/a/z0;->b:Lf/c/a/j0;
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
const/4 v8, 0x2
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
new-array v8, v8, [Ljava/lang/Object;
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
aput-object v1, v8, v2
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
const/4 v1, 0x1
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
move-result-object v2
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
aput-object v2, v8, v1
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
const-string v1, "Waiting for %s seconds before retrying sdk_click for the %d time"
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
invoke-interface {v7, v1, v8}, Lf/c/a/j0;->g(Ljava/lang/String;[Ljava/lang/Object;)V
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
iget-object v0, v0, Lf/c/a/z0;->f:Lf/c/a/n1/h;
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
check-cast v0, Lf/c/a/n1/c;
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
invoke-virtual {v0, v4, v5, v6}, Lf/c/a/n1/c;->b(Ljava/lang/Runnable;J)V
2020-11-12 02:11:44 +00:00
:goto_0
2020-11-13 19:18:44 +00:00
return-void
2020-11-12 02:11:44 +00:00
.end method