apkfuckery/com.discord/smali/f/c/a/u1.smali
2020-11-16 01:00:50 +00:00

146 lines
2.8 KiB
Smali

.class public Lf/c/a/u1;
.super Ljava/lang/Object;
.source "SdkClickHandler.java"
# interfaces
.implements Ljava/lang/Runnable;
# instance fields
.field public final synthetic d:Lf/c/a/s1;
# direct methods
.method public constructor <init>(Lf/c/a/s1;)V
.locals 0
iput-object p1, p0, Lf/c/a/u1;->d:Lf/c/a/s1;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.locals 11
iget-object v0, p0, Lf/c/a/u1;->d:Lf/c/a/s1;
iget-object v1, v0, Lf/c/a/s1;->g:Ljava/lang/ref/WeakReference;
invoke-virtual {v1}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;
move-result-object v1
check-cast v1, Lf/c/a/u0;
invoke-interface {v1}, Lf/c/a/u0;->g()Lf/c/a/v;
move-result-object v2
if-nez v2, :cond_0
goto :goto_0
:cond_0
invoke-interface {v1}, Lf/c/a/u0;->g()Lf/c/a/v;
move-result-object v1
iget-boolean v1, v1, Lf/c/a/v;->isGdprForgotten:Z
if-eqz v1, :cond_1
goto :goto_0
:cond_1
iget-boolean v1, v0, Lf/c/a/s1;->a:Z
if-eqz v1, :cond_2
goto :goto_0
:cond_2
iget-object v1, v0, Lf/c/a/s1;->e:Ljava/util/List;
invoke-interface {v1}, Ljava/util/List;->isEmpty()Z
move-result v1
if-eqz v1, :cond_3
goto :goto_0
:cond_3
iget-object v1, v0, Lf/c/a/s1;->e:Ljava/util/List;
const/4 v2, 0x0
invoke-interface {v1, v2}, Ljava/util/List;->remove(I)Ljava/lang/Object;
move-result-object v1
check-cast v1, Lf/c/a/u;
iget v3, v1, Lf/c/a/u;->retries:I
new-instance v4, Lf/c/a/v1;
invoke-direct {v4, v0, v1}, Lf/c/a/v1;-><init>(Lf/c/a/s1;Lf/c/a/u;)V
if-gtz v3, :cond_4
invoke-virtual {v4}, Lf/c/a/v1;->run()V
goto :goto_0
:cond_4
iget-object v1, v0, Lf/c/a/s1;->c:Lf/c/a/o0;
invoke-static {v3, v1}, Lf/c/a/e2;->q(ILf/c/a/o0;)J
move-result-wide v5
long-to-double v7, v5
const-wide v9, 0x408f400000000000L # 1000.0
div-double/2addr v7, v9
sget-object v1, Lf/c/a/e2;->a:Ljava/text/DecimalFormat;
invoke-virtual {v1, v7, v8}, Ljava/text/DecimalFormat;->format(D)Ljava/lang/String;
move-result-object v1
iget-object v7, v0, Lf/c/a/s1;->b:Lf/c/a/w0;
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
const-string v1, "Waiting for %s seconds before retrying sdk_click for the %d time"
invoke-interface {v7, v1, v8}, Lf/c/a/w0;->g(Ljava/lang/String;[Ljava/lang/Object;)V
iget-object v0, v0, Lf/c/a/s1;->f:Lf/c/a/f2/h;
check-cast v0, Lf/c/a/f2/c;
invoke-virtual {v0, v4, v5, v6}, Lf/c/a/f2/c;->b(Ljava/lang/Runnable;J)V
:goto_0
return-void
.end method