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

204 lines
4.3 KiB
Smali
Raw Normal View History

2020-11-12 02:11:44 +00:00
.class public Lf/c/a/a$c;
.super Ljava/lang/Object;
.source "ActivityHandler.java"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
2020-11-21 21:10:53 +00:00
value = Lf/c/a/a;->h(Lf/c/a/y1;)V
2020-11-12 02:11:44 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
2020-11-21 21:10:53 +00:00
.field public final synthetic d:Lf/c/a/y1;
2020-11-12 02:11:44 +00:00
.field public final synthetic e:Lf/c/a/a;
# direct methods
2020-11-21 21:10:53 +00:00
.method public constructor <init>(Lf/c/a/a;Lf/c/a/y1;)V
2020-11-12 02:11:44 +00:00
.locals 0
iput-object p1, p0, Lf/c/a/a$c;->e:Lf/c/a/a;
2020-11-21 21:10:53 +00:00
iput-object p2, p0, Lf/c/a/a$c;->d:Lf/c/a/y1;
2020-11-12 02:11:44 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
2020-11-21 21:10:53 +00:00
.locals 7
2020-11-12 02:11:44 +00:00
iget-object v0, p0, Lf/c/a/a$c;->e:Lf/c/a/a;
2020-11-21 21:10:53 +00:00
iget-object v1, p0, Lf/c/a/a$c;->d:Lf/c/a/y1;
2020-11-12 02:11:44 +00:00
2020-11-21 21:10:53 +00:00
if-eqz v0, :cond_5
2020-11-12 02:11:44 +00:00
2020-11-21 21:10:53 +00:00
iget-object v2, v1, Lf/c/a/r1;->c:Ljava/lang/String;
2020-11-12 02:11:44 +00:00
2020-11-21 21:10:53 +00:00
invoke-virtual {v0, v2}, Lf/c/a/a;->K(Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
new-instance v2, Landroid/os/Handler;
2020-11-21 21:10:53 +00:00
iget-object v3, v0, Lf/c/a/a;->m:Lf/c/a/w;
2020-11-12 02:11:44 +00:00
2020-11-21 21:10:53 +00:00
iget-object v3, v3, Lf/c/a/w;->d:Landroid/content/Context;
2020-11-12 02:11:44 +00:00
invoke-virtual {v3}, Landroid/content/Context;->getMainLooper()Landroid/os/Looper;
move-result-object v3
invoke-direct {v2, v3}, Landroid/os/Handler;-><init>(Landroid/os/Looper;)V
2020-11-21 21:10:53 +00:00
iget-object v3, v1, Lf/c/a/r1;->h:Lcom/adjust/sdk/AdjustAttribution;
2020-11-12 02:11:44 +00:00
2020-11-21 21:10:53 +00:00
invoke-virtual {v0, v3}, Lf/c/a/a;->L(Lcom/adjust/sdk/AdjustAttribution;)Z
2020-11-12 02:11:44 +00:00
move-result v3
if-eqz v3, :cond_0
invoke-virtual {v0, v2}, Lf/c/a/a;->v(Landroid/os/Handler;)V
:cond_0
2020-11-21 21:10:53 +00:00
iget-object v3, v0, Lf/c/a/a;->n:Lcom/adjust/sdk/AdjustAttribution;
2020-11-12 02:11:44 +00:00
2020-11-21 21:10:53 +00:00
if-nez v3, :cond_1
2020-11-12 02:11:44 +00:00
2020-11-21 21:10:53 +00:00
iget-object v3, v0, Lf/c/a/a;->c:Lf/c/a/v;
2020-11-12 02:11:44 +00:00
2020-11-21 21:10:53 +00:00
iget-boolean v3, v3, Lf/c/a/v;->askingAttribution:Z
2020-11-12 02:11:44 +00:00
2020-11-21 21:10:53 +00:00
if-nez v3, :cond_1
2020-11-12 02:11:44 +00:00
2020-11-21 21:10:53 +00:00
iget-object v3, v0, Lf/c/a/a;->o:Lf/c/a/v0;
2020-11-12 02:11:44 +00:00
2020-11-21 21:10:53 +00:00
check-cast v3, Lf/c/a/h0;
2020-11-12 02:11:44 +00:00
2020-11-21 21:10:53 +00:00
iget-object v4, v3, Lf/c/a/h0;->g:Lf/c/a/f2/h;
2020-11-12 02:11:44 +00:00
2020-11-21 21:10:53 +00:00
new-instance v5, Lf/c/a/i0;
2020-11-12 02:11:44 +00:00
2020-11-21 21:10:53 +00:00
invoke-direct {v5, v3}, Lf/c/a/i0;-><init>(Lf/c/a/h0;)V
2020-11-12 02:11:44 +00:00
2020-11-21 21:10:53 +00:00
check-cast v4, Lf/c/a/f2/c;
2020-11-12 02:11:44 +00:00
2020-11-21 21:10:53 +00:00
invoke-virtual {v4, v5}, Lf/c/a/f2/c;->c(Ljava/lang/Runnable;)V
2020-11-12 02:11:44 +00:00
:cond_1
2020-11-21 21:10:53 +00:00
iget-boolean v3, v1, Lf/c/a/r1;->a:Z
2020-11-12 02:11:44 +00:00
2020-11-21 21:10:53 +00:00
const/4 v4, 0x1
2020-11-12 02:11:44 +00:00
2020-11-21 21:10:53 +00:00
if-eqz v3, :cond_2
2020-11-12 02:11:44 +00:00
2020-11-21 21:10:53 +00:00
new-instance v3, Lf/c/a/z1;
2020-11-12 02:11:44 +00:00
2020-11-21 21:10:53 +00:00
iget-object v5, v0, Lf/c/a/a;->m:Lf/c/a/w;
2020-11-12 02:11:44 +00:00
2020-11-21 21:10:53 +00:00
iget-object v5, v5, Lf/c/a/w;->d:Landroid/content/Context;
2020-11-12 02:11:44 +00:00
2020-11-21 21:10:53 +00:00
invoke-direct {v3, v5}, Lf/c/a/z1;-><init>(Landroid/content/Context;)V
2020-11-12 02:11:44 +00:00
2020-11-21 21:10:53 +00:00
monitor-enter v3
2020-11-12 02:11:44 +00:00
:try_start_0
2020-11-21 21:10:53 +00:00
const-string v5, "install_tracked"
2020-11-12 02:11:44 +00:00
2020-11-21 21:10:53 +00:00
invoke-virtual {v3, v5, v4}, Lf/c/a/z1;->k(Ljava/lang/String;Z)V
2020-11-12 02:11:44 +00:00
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
2020-11-21 21:10:53 +00:00
monitor-exit v3
2020-11-12 02:11:44 +00:00
goto :goto_0
:catchall_0
move-exception v0
2020-11-21 21:10:53 +00:00
monitor-exit v3
2020-11-12 02:11:44 +00:00
throw v0
:cond_2
:goto_0
2020-11-21 21:10:53 +00:00
iget-boolean v3, v1, Lf/c/a/r1;->a:Z
2020-11-12 02:11:44 +00:00
2020-11-21 21:10:53 +00:00
const/4 v5, 0x0
2020-11-12 02:11:44 +00:00
2020-11-21 21:10:53 +00:00
if-eqz v3, :cond_3
2020-11-12 02:11:44 +00:00
2020-11-21 21:10:53 +00:00
iget-object v3, v0, Lf/c/a/a;->m:Lf/c/a/w;
iget-object v3, v3, Lf/c/a/w;->p:Lf/c/a/m1;
if-eqz v3, :cond_3
iget-object v3, v0, Lf/c/a/a;->d:Lf/c/a/w0;
new-array v5, v5, [Ljava/lang/Object;
const-string v6, "Launching success session tracking listener"
invoke-interface {v3, v6, v5}, Lf/c/a/w0;->f(Ljava/lang/String;[Ljava/lang/Object;)V
new-instance v3, Lf/c/a/p;
invoke-direct {v3, v0, v1}, Lf/c/a/p;-><init>(Lf/c/a/a;Lf/c/a/y1;)V
invoke-virtual {v2, v3}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
goto :goto_1
2020-11-12 02:11:44 +00:00
:cond_3
2020-11-21 21:10:53 +00:00
iget-boolean v3, v1, Lf/c/a/r1;->a:Z
if-nez v3, :cond_4
2020-11-12 02:11:44 +00:00
2020-11-21 21:10:53 +00:00
iget-object v3, v0, Lf/c/a/a;->m:Lf/c/a/w;
2020-11-12 02:11:44 +00:00
2020-11-21 21:10:53 +00:00
iget-object v3, v3, Lf/c/a/w;->q:Lf/c/a/l1;
2020-11-12 02:11:44 +00:00
2020-11-21 21:10:53 +00:00
if-eqz v3, :cond_4
iget-object v3, v0, Lf/c/a/a;->d:Lf/c/a/w0;
new-array v5, v5, [Ljava/lang/Object;
const-string v6, "Launching failed session tracking listener"
invoke-interface {v3, v6, v5}, Lf/c/a/w0;->f(Ljava/lang/String;[Ljava/lang/Object;)V
new-instance v3, Lf/c/a/q;
invoke-direct {v3, v0, v1}, Lf/c/a/q;-><init>(Lf/c/a/a;Lf/c/a/y1;)V
invoke-virtual {v2, v3}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
2020-11-12 02:11:44 +00:00
:cond_4
2020-11-21 21:10:53 +00:00
:goto_1
iget-object v0, v0, Lf/c/a/a;->h:Lf/c/a/a$n;
2020-11-12 02:11:44 +00:00
2020-11-21 21:10:53 +00:00
iput-boolean v4, v0, Lf/c/a/a$n;->g:Z
2020-11-12 02:11:44 +00:00
return-void
2020-11-21 21:10:53 +00:00
:cond_5
const/4 v0, 0x0
throw v0
2020-11-12 02:11:44 +00:00
.end method