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

91 lines
1.6 KiB
Smali
Raw Normal View History

2020-05-17 12:40:10 +00:00
.class public Lf/c/a/z;
2020-07-08 16:44:49 +00:00
.super Landroid/content/BroadcastReceiver;
.source "AdjustReferrerReceiver.java"
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
# direct methods
.method public constructor <init>()V
.locals 0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-direct {p0}, Landroid/content/BroadcastReceiver;-><init>()V
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
return-void
.end method
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
# virtual methods
.method public onReceive(Landroid/content/Context;Landroid/content/Intent;)V
.locals 8
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const-string v0, "referrer"
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-virtual {p2, v0}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
move-result-object v4
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
if-nez v4, :cond_0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
return-void
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
:cond_0
invoke-static {}, Ld0/a/b/b/a;->Q()Lf/c/a/y;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
move-result-object p2
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
if-eqz p2, :cond_3
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
move-result-wide v5
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
if-eqz v4, :cond_2
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
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
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
throw p1
2020-05-17 12:40:10 +00:00
.end method