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

138 lines
2.5 KiB
Smali

.class public Le/c/a/a;
.super Ljava/lang/Object;
.source "ActivityHandler.java"
# interfaces
.implements Ljava/lang/Runnable;
# instance fields
.field public final synthetic d:J
.field public final synthetic e:J
.field public final synthetic f:Ljava/lang/String;
.field public final synthetic g:Le/c/a/g;
# direct methods
.method public constructor <init>(Le/c/a/g;JJLjava/lang/String;)V
.locals 0
iput-object p1, p0, Le/c/a/a;->g:Le/c/a/g;
iput-wide p2, p0, Le/c/a/a;->d:J
iput-wide p4, p0, Le/c/a/a;->e:J
iput-object p6, p0, Le/c/a/a;->f:Ljava/lang/String;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.locals 14
iget-object v0, p0, Le/c/a/a;->g:Le/c/a/g;
iget-wide v1, p0, Le/c/a/a;->d:J
iget-wide v3, p0, Le/c/a/a;->e:J
iget-object v5, p0, Le/c/a/a;->f:Ljava/lang/String;
invoke-virtual {v0}, Le/c/a/g;->b()Z
move-result v6
if-nez v6, :cond_0
goto :goto_1
:cond_0
if-nez v5, :cond_1
goto :goto_1
:cond_1
iget-object v6, v0, Le/c/a/g;->c:Le/c/a/t;
iget-wide v7, v6, Le/c/a/t;->clickTime:J
cmp-long v9, v1, v7
if-nez v9, :cond_2
iget-wide v7, v6, Le/c/a/t;->installBegin:J
cmp-long v9, v3, v7
if-nez v9, :cond_2
iget-object v6, v6, Le/c/a/t;->installReferrer:Ljava/lang/String;
invoke-virtual {v5, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v6
if-eqz v6, :cond_2
goto :goto_1
:cond_2
iget-object v10, v0, Le/c/a/g;->c:Le/c/a/t;
iget-object v8, v0, Le/c/a/g;->j:Le/c/a/v;
iget-object v9, v0, Le/c/a/g;->i:Le/c/a/q0;
iget-object v11, v0, Le/c/a/g;->n:Le/c/a/u1;
invoke-virtual {v5}, Ljava/lang/String;->length()I
move-result v6
if-nez v6, :cond_3
const/4 v1, 0x0
goto :goto_0
:cond_3
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v12
new-instance v6, Le/c/a/j1;
move-object v7, v6
invoke-direct/range {v7 .. v13}, Le/c/a/j1;-><init>(Le/c/a/v;Le/c/a/q0;Le/c/a/t;Le/c/a/u1;J)V
iput-object v5, v6, Le/c/a/j1;->i:Ljava/lang/String;
iput-wide v1, v6, Le/c/a/j1;->m:J
iput-wide v3, v6, Le/c/a/j1;->n:J
const-string v1, "install_referrer"
invoke-virtual {v6, v1}, Le/c/a/j1;->a(Ljava/lang/String;)Le/c/a/s;
move-result-object v1
:goto_0
iget-object v0, v0, Le/c/a/g;->m:Le/c/a/y0;
check-cast v0, Le/c/a/p1;
invoke-virtual {v0, v1}, Le/c/a/p1;->b(Le/c/a/s;)V
:goto_1
return-void
.end method