apkfuckery/com.discord/smali/f/c/a/g$b.smali
2020-05-11 21:22:21 +02:00

233 lines
5 KiB
Smali

.class public Lf/c/a/g$b;
.super Ljava/lang/Object;
.source "ActivityHandler.java"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lf/c/a/g;->a(Ljava/lang/String;Z)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field public final synthetic d:Z
.field public final synthetic e:Ljava/lang/String;
.field public final synthetic f:Lf/c/a/g;
# direct methods
.method public constructor <init>(Lf/c/a/g;ZLjava/lang/String;)V
.locals 0
iput-object p1, p0, Lf/c/a/g$b;->f:Lf/c/a/g;
iput-boolean p2, p0, Lf/c/a/g$b;->d:Z
iput-object p3, p0, Lf/c/a/g$b;->e:Ljava/lang/String;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.locals 10
iget-boolean v0, p0, Lf/c/a/g$b;->d:Z
if-nez v0, :cond_0
new-instance v0, Lf/c/a/w1;
iget-object v1, p0, Lf/c/a/g$b;->f:Lf/c/a/g;
iget-object v1, v1, Lf/c/a/g;->j:Lf/c/a/v;
iget-object v1, v1, Lf/c/a/v;->a:Landroid/content/Context;
invoke-direct {v0, v1}, Lf/c/a/w1;-><init>(Landroid/content/Context;)V
iget-object v1, p0, Lf/c/a/g$b;->e:Ljava/lang/String;
invoke-virtual {v0, v1}, Lf/c/a/w1;->c(Ljava/lang/String;)V
:cond_0
iget-object v0, p0, Lf/c/a/g$b;->f:Lf/c/a/g;
iget-object v1, v0, Lf/c/a/g;->c:Lf/c/a/t;
if-nez v1, :cond_1
return-void
:cond_1
iget-object v2, p0, Lf/c/a/g$b;->e:Ljava/lang/String;
invoke-virtual {v0, v1}, Lf/c/a/g;->a(Lf/c/a/t;)Z
move-result v1
if-nez v1, :cond_2
goto/16 :goto_0
:cond_2
invoke-virtual {v0}, Lf/c/a/g;->b()Z
move-result v1
if-nez v1, :cond_3
goto/16 :goto_0
:cond_3
if-nez v2, :cond_4
goto/16 :goto_0
:cond_4
iget-object v1, v0, Lf/c/a/g;->c:Lf/c/a/t;
iget-object v1, v1, Lf/c/a/t;->pushToken:Ljava/lang/String;
invoke-virtual {v2, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_5
goto/16 :goto_0
:cond_5
iget-object v1, v0, Lf/c/a/g;->c:Lf/c/a/t;
iput-object v2, v1, Lf/c/a/t;->pushToken:Ljava/lang/String;
invoke-virtual {v0}, Lf/c/a/g;->k()V
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v8
new-instance v1, Lf/c/a/j1;
iget-object v4, v0, Lf/c/a/g;->j:Lf/c/a/v;
iget-object v5, v0, Lf/c/a/g;->i:Lf/c/a/q0;
iget-object v6, v0, Lf/c/a/g;->c:Lf/c/a/t;
iget-object v7, v0, Lf/c/a/g;->n:Lf/c/a/u1;
move-object v3, v1
invoke-direct/range {v3 .. v9}, Lf/c/a/j1;-><init>(Lf/c/a/v;Lf/c/a/q0;Lf/c/a/t;Lf/c/a/u1;J)V
new-instance v2, Ljava/util/HashMap;
invoke-direct {v2}, Ljava/util/HashMap;-><init>()V
invoke-virtual {v1, v2}, Lf/c/a/j1;->d(Ljava/util/Map;)V
invoke-virtual {v1, v2}, Lf/c/a/j1;->c(Ljava/util/Map;)V
invoke-virtual {v1, v2}, Lf/c/a/j1;->b(Ljava/util/Map;)V
invoke-virtual {v1, v2}, Lf/c/a/j1;->a(Ljava/util/Map;)V
const-string v3, "push"
const-string v4, "source"
invoke-static {v2, v4, v3}, Lf/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
sget-object v3, Lf/c/a/r;->k:Lf/c/a/r;
invoke-virtual {v1, v3}, Lf/c/a/j1;->a(Lf/c/a/r;)Lf/c/a/s;
move-result-object v1
const-string v3, "/sdk_info"
invoke-virtual {v1, v3}, Lf/c/a/s;->b(Ljava/lang/String;)V
const-string v3, ""
invoke-virtual {v1, v3}, Lf/c/a/s;->c(Ljava/lang/String;)V
invoke-virtual {v1, v2}, Lf/c/a/s;->b(Ljava/util/Map;)V
iget-object v2, v0, Lf/c/a/g;->b:Lf/c/a/v0;
check-cast v2, Lf/c/a/k1;
iget-object v3, v2, Lf/c/a/k1;->a:Lf/c/a/p0;
new-instance v4, Lf/c/a/l1;
invoke-direct {v4, v2, v1}, Lf/c/a/l1;-><init>(Lf/c/a/k1;Lf/c/a/s;)V
iget-object v2, v3, Lf/c/a/p0;->a:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
invoke-virtual {v2, v4}, Ljava/util/concurrent/ScheduledThreadPoolExecutor;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
new-instance v2, Lf/c/a/w1;
iget-object v3, v0, Lf/c/a/g;->j:Lf/c/a/v;
iget-object v3, v3, Lf/c/a/v;->a:Landroid/content/Context;
invoke-direct {v2, v3}, Lf/c/a/w1;-><init>(Landroid/content/Context;)V
invoke-virtual {v2}, Lf/c/a/w1;->d()V
iget-object v2, v0, Lf/c/a/g;->j:Lf/c/a/v;
iget-boolean v2, v2, Lf/c/a/v;->f:Z
if-eqz v2, :cond_6
iget-object v0, v0, Lf/c/a/g;->d:Lf/c/a/u0;
const/4 v2, 0x1
new-array v2, v2, [Ljava/lang/Object;
const/4 v3, 0x0
invoke-virtual {v1}, Lf/c/a/s;->m()Ljava/lang/String;
move-result-object v1
aput-object v1, v2, v3
check-cast v0, Lf/c/a/b1;
const-string v1, "Buffered event %s"
invoke-virtual {v0, v1, v2}, Lf/c/a/b1;->c(Ljava/lang/String;[Ljava/lang/Object;)V
goto :goto_0
:cond_6
iget-object v0, v0, Lf/c/a/g;->b:Lf/c/a/v0;
check-cast v0, Lf/c/a/k1;
invoke-virtual {v0}, Lf/c/a/k1;->c()V
:goto_0
return-void
.end method