apkfuckery/com.discord/smali/e/c/a/c0.smali
2020-04-27 22:53:11 +02:00

173 lines
3.2 KiB
Smali

.class public Le/c/a/c0;
.super Ljava/lang/Object;
.source "AdjustInstance.java"
# instance fields
.field public a:Ljava/lang/String;
.field public b:Ljava/lang/Boolean;
.field public c:Z
.field public d:Le/c/a/s0;
.field public e:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Le/c/a/x0;",
">;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>()V
.locals 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 v0, 0x0
iput-object v0, p0, Le/c/a/c0;->b:Ljava/lang/Boolean;
const/4 v0, 0x0
iput-boolean v0, p0, Le/c/a/c0;->c:Z
return-void
.end method
# virtual methods
.method public a(Ljava/lang/String;Landroid/content/Context;)V
.locals 7
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v4
if-eqz p1, :cond_1
invoke-virtual {p1}, Ljava/lang/String;->length()I
move-result v0
if-nez v0, :cond_0
goto :goto_0
:cond_0
new-instance v6, Le/c/a/a0;
move-object v0, v6
move-object v1, p0
move-object v2, p2
move-object v3, p1
invoke-direct/range {v0 .. v5}, Le/c/a/a0;-><init>(Le/c/a/c0;Landroid/content/Context;Ljava/lang/String;J)V
invoke-static {v6}, Le/c/a/a2;->a(Ljava/lang/Runnable;)V
const-string p1, "referrer"
invoke-virtual {p0, p1}, Le/c/a/c0;->a(Ljava/lang/String;)Z
move-result p1
if-eqz p1, :cond_1
iget-object p1, p0, Le/c/a/c0;->d:Le/c/a/s0;
check-cast p1, Le/c/a/g;
invoke-virtual {p1}, Le/c/a/g;->b()Z
move-result p1
if-eqz p1, :cond_1
iget-object p1, p0, Le/c/a/c0;->d:Le/c/a/s0;
check-cast p1, Le/c/a/g;
iget-object p2, p1, Le/c/a/g;->a:Le/c/a/p0;
new-instance v0, Le/c/a/q;
invoke-direct {v0, p1}, Le/c/a/q;-><init>(Le/c/a/g;)V
iget-object p1, p2, Le/c/a/p0;->a:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
invoke-virtual {p1, v0}, Ljava/util/concurrent/ScheduledThreadPoolExecutor;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
:cond_1
:goto_0
return-void
.end method
.method public final a()Z
.locals 1
const/4 v0, 0x0
invoke-virtual {p0, v0}, Le/c/a/c0;->a(Ljava/lang/String;)Z
move-result v0
return v0
.end method
.method public final a(Ljava/lang/String;)Z
.locals 3
iget-object v0, p0, Le/c/a/c0;->d:Le/c/a/s0;
const/4 v1, 0x1
if-nez v0, :cond_1
const/4 v0, 0x0
if-eqz p1, :cond_0
invoke-static {}, Le/c/a/z;->a()Le/c/a/u0;
move-result-object v2
new-array v1, v1, [Ljava/lang/Object;
aput-object p1, v1, v0
check-cast v2, Le/c/a/b1;
const-string p1, "Adjust not initialized, but %s saved for launch"
invoke-virtual {v2, p1, v1}, Le/c/a/b1;->e(Ljava/lang/String;[Ljava/lang/Object;)V
goto :goto_0
:cond_0
invoke-static {}, Le/c/a/z;->a()Le/c/a/u0;
move-result-object p1
new-array v1, v0, [Ljava/lang/Object;
check-cast p1, Le/c/a/b1;
const-string v2, "Adjust not initialized correctly"
invoke-virtual {p1, v2, v1}, Le/c/a/b1;->b(Ljava/lang/String;[Ljava/lang/Object;)V
:goto_0
return v0
:cond_1
return v1
.end method