apkfuckery/com.discord/smali/f/c/a/z.smali
2020-07-20 19:00:44 +00:00

90 lines
1.6 KiB
Smali

.class public Lf/c/a/z;
.super Landroid/content/BroadcastReceiver;
.source "AdjustReferrerReceiver.java"
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Landroid/content/BroadcastReceiver;-><init>()V
return-void
.end method
# virtual methods
.method public onReceive(Landroid/content/Context;Landroid/content/Intent;)V
.locals 8
const-string v0, "referrer"
invoke-virtual {p2, v0}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;
move-result-object v4
if-nez v4, :cond_0
return-void
:cond_0
invoke-static {}, Ld0/a/b/b/a;->O()Lf/c/a/y;
move-result-object p2
if-eqz p2, :cond_3
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v5
if-eqz v4, :cond_2
invoke-virtual {v4}, Ljava/lang/String;->length()I
move-result v1
if-nez v1, :cond_1
goto :goto_0
:cond_1
new-instance v7, Lf/c/a/w;
move-object v1, v7
move-object v2, p2
move-object v3, p1
invoke-direct/range {v1 .. v6}, Lf/c/a/w;-><init>(Lf/c/a/y;Landroid/content/Context;Ljava/lang/String;J)V
invoke-static {v7}, Lf/c/a/v1;->C(Ljava/lang/Runnable;)V
invoke-virtual {p2, v0}, Lf/c/a/y;->b(Ljava/lang/String;)Z
move-result p1
if-eqz p1, :cond_2
iget-object p1, p2, Lf/c/a/y;->c:Lf/c/a/o0;
invoke-interface {p1}, Lf/c/a/o0;->isEnabled()Z
move-result p1
if-eqz p1, :cond_2
iget-object p1, p2, Lf/c/a/y;->c:Lf/c/a/o0;
invoke-interface {p1}, Lf/c/a/o0;->h()V
:cond_2
:goto_0
return-void
:cond_3
const/4 p1, 0x0
throw p1
.end method