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

174 lines
3.2 KiB
Smali
Raw Normal View History

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