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

213 lines
4.6 KiB
Smali
Raw Normal View History

2020-07-08 16:44:49 +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;
value = Lf/c/a/a;->e(Lf/c/a/q1;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field public final synthetic d:Lf/c/a/q1;
.field public final synthetic e:Lf/c/a/a;
# direct methods
.method public constructor <init>(Lf/c/a/a;Lf/c/a/q1;)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/q1;
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/q1;
if-eqz v0, :cond_4
iget-object v2, v1, Lf/c/a/j1;->c:Ljava/lang/String;
invoke-virtual {v0, v2}, Lf/c/a/a;->B(Ljava/lang/String;)V
new-instance v2, Landroid/os/Handler;
iget-object v3, v0, Lf/c/a/a;->j:Lf/c/a/r;
iget-object v3, v3, Lf/c/a/r;->a: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/j1;->g:Lcom/adjust/sdk/AdjustAttribution;
invoke-virtual {v0, v3}, Lf/c/a/a;->C(Lcom/adjust/sdk/AdjustAttribution;)Z
move-result v3
if-eqz v3, :cond_0
invoke-virtual {v0, v2}, Lf/c/a/a;->p(Landroid/os/Handler;)V
:cond_0
iget-boolean v3, v1, Lf/c/a/j1;->d:Z
const/4 v4, 0x1
if-eqz v3, :cond_1
new-instance v3, Lf/c/a/r1;
iget-object v5, v0, Lf/c/a/a;->j:Lf/c/a/r;
iget-object v5, v5, Lf/c/a/r;->a:Landroid/content/Context;
invoke-direct {v3, v5}, Lf/c/a/r1;-><init>(Landroid/content/Context;)V
monitor-enter v3
:try_start_0
const-string v5, "install_tracked"
monitor-enter v3
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_1
:try_start_1
iget-object v6, v3, Lf/c/a/r1;->a:Landroid/content/SharedPreferences;
invoke-interface {v6}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;
move-result-object v6
invoke-interface {v6, v5, v4}, Landroid/content/SharedPreferences$Editor;->putBoolean(Ljava/lang/String;Z)Landroid/content/SharedPreferences$Editor;
move-result-object v5
invoke-interface {v5}, Landroid/content/SharedPreferences$Editor;->apply()V
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
:try_start_2
monitor-exit v3
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_1
monitor-exit v3
goto :goto_0
:catchall_0
move-exception v0
:try_start_3
monitor-exit v3
throw v0
:try_end_3
.catchall {:try_start_3 .. :try_end_3} :catchall_1
:catchall_1
move-exception v0
monitor-exit v3
throw v0
:cond_1
:goto_0
iget-boolean v3, v1, Lf/c/a/j1;->d:Z
const/4 v5, 0x0
if-eqz v3, :cond_2
iget-object v3, v0, Lf/c/a/a;->j:Lf/c/a/r;
iget-object v3, v3, Lf/c/a/r;->m:Lf/c/a/e1;
if-eqz v3, :cond_2
iget-object v3, v0, Lf/c/a/a;->d:Lf/c/a/q0;
new-array v5, v5, [Ljava/lang/Object;
check-cast v3, Lf/c/a/x0;
const-string v6, "Launching success session tracking listener"
invoke-virtual {v3, v6, v5}, Lf/c/a/x0;->a(Ljava/lang/String;[Ljava/lang/Object;)V
new-instance v3, Lf/c/a/l;
invoke-direct {v3, v0, v1}, Lf/c/a/l;-><init>(Lf/c/a/a;Lf/c/a/q1;)V
invoke-virtual {v2, v3}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
goto :goto_1
:cond_2
iget-boolean v3, v1, Lf/c/a/j1;->d:Z
if-nez v3, :cond_3
iget-object v3, v0, Lf/c/a/a;->j:Lf/c/a/r;
iget-object v3, v3, Lf/c/a/r;->n:Lf/c/a/d1;
if-eqz v3, :cond_3
iget-object v3, v0, Lf/c/a/a;->d:Lf/c/a/q0;
new-array v5, v5, [Ljava/lang/Object;
check-cast v3, Lf/c/a/x0;
const-string v6, "Launching failed session tracking listener"
invoke-virtual {v3, v6, v5}, Lf/c/a/x0;->a(Ljava/lang/String;[Ljava/lang/Object;)V
new-instance v3, Lf/c/a/m;
invoke-direct {v3, v0, v1}, Lf/c/a/m;-><init>(Lf/c/a/a;Lf/c/a/q1;)V
invoke-virtual {v2, v3}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
:cond_3
:goto_1
iget-object v0, v0, Lf/c/a/a;->h:Lf/c/a/a$m;
iput-boolean v4, v0, Lf/c/a/a$m;->g:Z
return-void
:cond_4
const/4 v0, 0x0
throw v0
.end method