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

174 lines
3.2 KiB
Smali
Raw Normal View History

2020-05-17 12:40:10 +00:00
.class public Lf/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:Lf/c/a/s0;
.field public e:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Lf/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, Lf/c/a/c0;->b:Ljava/lang/Boolean;
const/4 v0, 0x0
iput-boolean v0, p0, Lf/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, Lf/c/a/a0;
move-object v0, v6
move-object v1, p0
move-object v2, p2
move-object v3, p1
invoke-direct/range {v0 .. v5}, Lf/c/a/a0;-><init>(Lf/c/a/c0;Landroid/content/Context;Ljava/lang/String;J)V
invoke-static {v6}, Lf/c/a/a2;->a(Ljava/lang/Runnable;)V
const-string p1, "referrer"
invoke-virtual {p0, p1}, Lf/c/a/c0;->a(Ljava/lang/String;)Z
move-result p1
if-eqz p1, :cond_1
iget-object p1, p0, Lf/c/a/c0;->d:Lf/c/a/s0;
check-cast p1, Lf/c/a/g;
invoke-virtual {p1}, Lf/c/a/g;->b()Z
move-result p1
if-eqz p1, :cond_1
iget-object p1, p0, Lf/c/a/c0;->d:Lf/c/a/s0;
check-cast p1, Lf/c/a/g;
iget-object p2, p1, Lf/c/a/g;->a:Lf/c/a/p0;
new-instance v0, Lf/c/a/q;
invoke-direct {v0, p1}, Lf/c/a/q;-><init>(Lf/c/a/g;)V
iget-object p1, p2, Lf/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}, Lf/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, Lf/c/a/c0;->d:Lf/c/a/s0;
const/4 v1, 0x1
if-nez v0, :cond_1
const/4 v0, 0x0
if-eqz p1, :cond_0
invoke-static {}, Lf/c/a/z;->a()Lf/c/a/u0;
move-result-object v2
new-array v1, v1, [Ljava/lang/Object;
aput-object p1, v1, v0
check-cast v2, Lf/c/a/b1;
const-string p1, "Adjust not initialized, but %s saved for launch"
invoke-virtual {v2, p1, v1}, Lf/c/a/b1;->e(Ljava/lang/String;[Ljava/lang/Object;)V
goto :goto_0
:cond_0
invoke-static {}, Lf/c/a/z;->a()Lf/c/a/u0;
move-result-object p1
new-array v1, v0, [Ljava/lang/Object;
check-cast p1, Lf/c/a/b1;
const-string v2, "Adjust not initialized correctly"
invoke-virtual {p1, v2, v1}, Lf/c/a/b1;->b(Ljava/lang/String;[Ljava/lang/Object;)V
:goto_0
return v0
:cond_1
return v1
.end method