apkfuckery/com.discord/smali/com/adjust/sdk/as$2.smali

170 lines
3.8 KiB
Smali
Raw Normal View History

2019-02-17 02:24:41 +00:00
.class final Lcom/adjust/sdk/as$2;
2019-02-04 20:08:30 +00:00
.super Ljava/lang/Object;
2019-02-04 20:29:01 +00:00
.source "SdkClickHandler.java"
2019-02-04 20:08:30 +00:00
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
2019-02-17 02:24:41 +00:00
value = Lcom/adjust/sdk/as;->ak()V
2019-02-04 20:08:30 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
2019-05-03 18:53:54 +00:00
.field final synthetic eW:Lcom/adjust/sdk/as;
2019-02-04 20:08:30 +00:00
# direct methods
2019-02-17 02:24:41 +00:00
.method constructor <init>(Lcom/adjust/sdk/as;)V
2019-02-04 20:08:30 +00:00
.locals 0
2019-05-03 18:53:54 +00:00
iput-object p1, p0, Lcom/adjust/sdk/as$2;->eW:Lcom/adjust/sdk/as;
2019-02-04 20:08:30 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final run()V
.locals 18
move-object/from16 v1, p0
2019-05-03 18:53:54 +00:00
iget-object v0, v1, Lcom/adjust/sdk/as$2;->eW:Lcom/adjust/sdk/as;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
iget-object v0, v0, Lcom/adjust/sdk/as;->dt:Ljava/lang/ref/WeakReference;
2019-02-04 20:08:30 +00:00
invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/adjust/sdk/v;
2019-02-17 02:24:41 +00:00
new-instance v2, Lcom/adjust/sdk/aw;
2019-02-04 20:08:30 +00:00
invoke-interface {v0}, Lcom/adjust/sdk/v;->getContext()Landroid/content/Context;
move-result-object v3
2019-02-17 02:24:41 +00:00
invoke-direct {v2, v3}, Lcom/adjust/sdk/aw;-><init>(Landroid/content/Context;)V
2019-02-04 20:08:30 +00:00
const/4 v3, 0x0
const/4 v4, 0x1
:try_start_0
2019-02-17 02:24:41 +00:00
invoke-virtual {v2}, Lcom/adjust/sdk/aw;->aA()Lorg/json/JSONArray;
2019-02-04 20:08:30 +00:00
move-result-object v5
const/4 v6, 0x0
const/4 v7, 0x0
:goto_0
invoke-virtual {v5}, Lorg/json/JSONArray;->length()I
move-result v8
if-ge v6, v8, :cond_1
invoke-virtual {v5, v6}, Lorg/json/JSONArray;->getJSONArray(I)Lorg/json/JSONArray;
move-result-object v8
const/4 v9, -0x1
const/4 v10, 0x2
invoke-virtual {v8, v10, v9}, Lorg/json/JSONArray;->optInt(II)I
move-result v9
if-nez v9, :cond_0
const/4 v7, 0x0
invoke-virtual {v8, v3, v7}, Lorg/json/JSONArray;->optString(ILjava/lang/String;)Ljava/lang/String;
move-result-object v11
const-wide/16 v12, -0x1
invoke-virtual {v8, v4, v12, v13}, Lorg/json/JSONArray;->optLong(IJ)J
move-result-wide v12
invoke-virtual {v8, v10, v4}, Lorg/json/JSONArray;->put(II)Lorg/json/JSONArray;
invoke-interface {v0}, Lcom/adjust/sdk/v;->D()Lcom/adjust/sdk/d;
move-result-object v14
2019-02-17 02:24:41 +00:00
invoke-interface {v0}, Lcom/adjust/sdk/v;->B()Lcom/adjust/sdk/f;
2019-02-04 20:08:30 +00:00
move-result-object v15
invoke-interface {v0}, Lcom/adjust/sdk/v;->C()Lcom/adjust/sdk/t;
move-result-object v16
2019-02-17 02:24:41 +00:00
invoke-interface {v0}, Lcom/adjust/sdk/v;->E()Lcom/adjust/sdk/au;
2019-02-04 20:08:30 +00:00
move-result-object v17
2019-02-17 02:24:41 +00:00
invoke-static/range {v11 .. v17}, Lcom/adjust/sdk/an;->a(Ljava/lang/String;JLcom/adjust/sdk/d;Lcom/adjust/sdk/f;Lcom/adjust/sdk/t;Lcom/adjust/sdk/au;)Lcom/adjust/sdk/c;
2019-02-04 20:08:30 +00:00
move-result-object v7
2019-05-03 18:53:54 +00:00
iget-object v8, v1, Lcom/adjust/sdk/as$2;->eW:Lcom/adjust/sdk/as;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-virtual {v8, v7}, Lcom/adjust/sdk/as;->b(Lcom/adjust/sdk/c;)V
2019-02-04 20:08:30 +00:00
const/4 v7, 0x1
:cond_0
add-int/lit8 v6, v6, 0x1
goto :goto_0
:cond_1
if-eqz v7, :cond_2
2019-02-17 02:24:41 +00:00
invoke-virtual {v2, v5}, Lcom/adjust/sdk/aw;->a(Lorg/json/JSONArray;)V
2019-02-04 20:08:30 +00:00
:try_end_0
.catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0
:cond_2
return-void
:catch_0
move-exception v0
2019-05-03 18:53:54 +00:00
iget-object v2, v1, Lcom/adjust/sdk/as$2;->eW:Lcom/adjust/sdk/as;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
iget-object v2, v2, Lcom/adjust/sdk/as;->bQ:Lcom/adjust/sdk/x;
2019-02-04 20:08:30 +00:00
new-array v4, v4, [Ljava/lang/Object;
invoke-virtual {v0}, Lorg/json/JSONException;->getMessage()Ljava/lang/String;
move-result-object v0
aput-object v0, v4, v3
2019-05-03 18:53:54 +00:00
const-string v0, "Send saved raw referrers error (%s)"
invoke-interface {v2, v0, v4}, Lcom/adjust/sdk/x;->f(Ljava/lang/String;[Ljava/lang/Object;)V
2019-02-04 20:08:30 +00:00
return-void
.end method