apkfuckery/com.discord/smali/f/c/a/a$c.smali
2020-11-12 02:11:44 +00:00

203 lines
4.3 KiB
Smali

.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;
value = Lf/c/a/a;->h(Lf/c/a/y1;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field public final synthetic d:Lf/c/a/y1;
.field public final synthetic e:Lf/c/a/a;
# direct methods
.method public constructor <init>(Lf/c/a/a;Lf/c/a/y1;)V
.locals 0
iput-object p1, p0, Lf/c/a/a$c;->e:Lf/c/a/a;
iput-object p2, p0, Lf/c/a/a$c;->d:Lf/c/a/y1;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.locals 7
iget-object v0, p0, Lf/c/a/a$c;->e:Lf/c/a/a;
iget-object v1, p0, Lf/c/a/a$c;->d:Lf/c/a/y1;
if-eqz v0, :cond_5
iget-object v2, v1, Lf/c/a/r1;->c:Ljava/lang/String;
invoke-virtual {v0, v2}, Lf/c/a/a;->K(Ljava/lang/String;)V
new-instance v2, Landroid/os/Handler;
iget-object v3, v0, Lf/c/a/a;->m:Lf/c/a/w;
iget-object v3, v3, Lf/c/a/w;->d:Landroid/content/Context;
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
iget-object v3, v1, Lf/c/a/r1;->h:Lcom/adjust/sdk/AdjustAttribution;
invoke-virtual {v0, v3}, Lf/c/a/a;->L(Lcom/adjust/sdk/AdjustAttribution;)Z
move-result v3
if-eqz v3, :cond_0
invoke-virtual {v0, v2}, Lf/c/a/a;->v(Landroid/os/Handler;)V
:cond_0
iget-object v3, v0, Lf/c/a/a;->n:Lcom/adjust/sdk/AdjustAttribution;
if-nez v3, :cond_1
iget-object v3, v0, Lf/c/a/a;->c:Lf/c/a/v;
iget-boolean v3, v3, Lf/c/a/v;->askingAttribution:Z
if-nez v3, :cond_1
iget-object v3, v0, Lf/c/a/a;->o:Lf/c/a/v0;
check-cast v3, Lf/c/a/h0;
iget-object v4, v3, Lf/c/a/h0;->g:Lf/c/a/f2/h;
new-instance v5, Lf/c/a/i0;
invoke-direct {v5, v3}, Lf/c/a/i0;-><init>(Lf/c/a/h0;)V
check-cast v4, Lf/c/a/f2/c;
invoke-virtual {v4, v5}, Lf/c/a/f2/c;->c(Ljava/lang/Runnable;)V
:cond_1
iget-boolean v3, v1, Lf/c/a/r1;->a:Z
const/4 v4, 0x1
if-eqz v3, :cond_2
new-instance v3, Lf/c/a/z1;
iget-object v5, v0, Lf/c/a/a;->m:Lf/c/a/w;
iget-object v5, v5, Lf/c/a/w;->d:Landroid/content/Context;
invoke-direct {v3, v5}, Lf/c/a/z1;-><init>(Landroid/content/Context;)V
monitor-enter v3
:try_start_0
const-string v5, "install_tracked"
invoke-virtual {v3, v5, v4}, Lf/c/a/z1;->k(Ljava/lang/String;Z)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
monitor-exit v3
goto :goto_0
:catchall_0
move-exception v0
monitor-exit v3
throw v0
:cond_2
:goto_0
iget-boolean v3, v1, Lf/c/a/r1;->a:Z
const/4 v5, 0x0
if-eqz v3, :cond_3
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
:cond_3
iget-boolean v3, v1, Lf/c/a/r1;->a:Z
if-nez v3, :cond_4
iget-object v3, v0, Lf/c/a/a;->m:Lf/c/a/w;
iget-object v3, v3, Lf/c/a/w;->q:Lf/c/a/l1;
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
:cond_4
:goto_1
iget-object v0, v0, Lf/c/a/a;->h:Lf/c/a/a$n;
iput-boolean v4, v0, Lf/c/a/a$n;->g:Z
return-void
:cond_5
const/4 v0, 0x0
throw v0
.end method