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

163 lines
3.3 KiB
Smali
Raw Normal View History

2020-05-17 12:40:10 +00:00
.class public Lf/c/a/t1;
2020-07-08 16:44:49 +00:00
.super Ljava/lang/Object;
2020-07-25 02:57:47 +00:00
.source "SdkClickHandler.java"
# interfaces
.implements Ljava/lang/Runnable;
2020-05-17 12:40:10 +00:00
# instance fields
2020-07-25 02:57:47 +00:00
.field public final synthetic d:Lf/c/a/s1;
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
# direct methods
.method public constructor <init>(Lf/c/a/s1;)V
.locals 0
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
iput-object p1, p0, Lf/c/a/t1;->d:Lf/c/a/s1;
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2020-07-08 16:44:49 +00:00
2020-07-25 02:57:47 +00:00
return-void
.end method
2020-07-08 16:44:49 +00:00
2020-07-25 02:57:47 +00:00
# virtual methods
.method public run()V
.locals 18
2020-07-08 16:44:49 +00:00
2020-07-25 02:57:47 +00:00
move-object/from16 v1, p0
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
iget-object v0, v1, Lf/c/a/t1;->d:Lf/c/a/s1;
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
iget-object v0, v0, Lf/c/a/s1;->g:Ljava/lang/ref/WeakReference;
2020-07-08 16:44:49 +00:00
2020-07-25 02:57:47 +00:00
invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lf/c/a/u0;
new-instance v2, Lf/c/a/z1;
invoke-interface {v0}, Lf/c/a/u0;->getContext()Landroid/content/Context;
move-result-object v3
invoke-direct {v2, v3}, Lf/c/a/z1;-><init>(Landroid/content/Context;)V
const/4 v3, 0x0
const/4 v4, 0x1
:try_start_0
invoke-virtual {v2}, Lf/c/a/z1;->f()Lorg/json/JSONArray;
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-eqz v9, :cond_0
goto :goto_1
2020-07-08 16:44:49 +00:00
2020-07-25 02:57:47 +00:00
:cond_0
const/4 v7, 0x0
2020-07-08 16:44:49 +00:00
2020-07-25 02:57:47 +00:00
invoke-virtual {v8, v3, v7}, Lorg/json/JSONArray;->optString(ILjava/lang/String;)Ljava/lang/String;
2020-07-08 16:44:49 +00:00
2020-07-25 02:57:47 +00:00
move-result-object v11
2020-07-08 16:44:49 +00:00
2020-07-25 02:57:47 +00:00
const-wide/16 v12, -0x1
2020-07-08 16:44:49 +00:00
2020-07-25 02:57:47 +00:00
invoke-virtual {v8, v4, v12, v13}, Lorg/json/JSONArray;->optLong(IJ)J
2020-07-08 16:44:49 +00:00
2020-07-25 02:57:47 +00:00
move-result-wide v12
2020-07-08 16:44:49 +00:00
2020-07-25 02:57:47 +00:00
invoke-virtual {v8, v10, v4}, Lorg/json/JSONArray;->put(II)Lorg/json/JSONArray;
2020-07-08 16:44:49 +00:00
2020-07-25 02:57:47 +00:00
invoke-interface {v0}, Lf/c/a/u0;->g()Lf/c/a/v;
2020-07-08 16:44:49 +00:00
2020-07-25 02:57:47 +00:00
move-result-object v14
2020-07-08 16:44:49 +00:00
2020-07-25 02:57:47 +00:00
invoke-interface {v0}, Lf/c/a/u0;->i()Lf/c/a/w;
2020-07-08 16:44:49 +00:00
2020-07-25 02:57:47 +00:00
move-result-object v15
2020-07-08 16:44:49 +00:00
2020-07-25 02:57:47 +00:00
invoke-interface {v0}, Lf/c/a/u0;->f()Lf/c/a/p0;
2020-07-08 16:44:49 +00:00
2020-07-25 02:57:47 +00:00
move-result-object v16
2020-07-08 16:44:49 +00:00
2020-07-25 02:57:47 +00:00
invoke-interface {v0}, Lf/c/a/u0;->d()Lf/c/a/x1;
2020-07-08 16:44:49 +00:00
2020-07-25 02:57:47 +00:00
move-result-object v17
2020-07-08 16:44:49 +00:00
2020-09-29 21:44:44 +00:00
invoke-static/range {v11 .. v17}, Lv/a/b/b/a;->e(Ljava/lang/String;JLf/c/a/v;Lf/c/a/w;Lf/c/a/p0;Lf/c/a/x1;)Lf/c/a/u;
2020-07-08 16:44:49 +00:00
2020-07-25 02:57:47 +00:00
move-result-object v7
2020-07-08 16:44:49 +00:00
2020-07-25 02:57:47 +00:00
iget-object v8, v1, Lf/c/a/t1;->d:Lf/c/a/s1;
2020-07-08 16:44:49 +00:00
2020-07-25 02:57:47 +00:00
invoke-virtual {v8, v7}, Lf/c/a/s1;->d(Lf/c/a/u;)V
2020-07-08 16:44:49 +00:00
2020-07-25 02:57:47 +00:00
const/4 v7, 0x1
2020-07-08 16:44:49 +00:00
2020-07-25 02:57:47 +00:00
:goto_1
add-int/lit8 v6, v6, 0x1
2020-07-08 16:44:49 +00:00
2020-07-25 02:57:47 +00:00
goto :goto_0
2020-07-08 16:44:49 +00:00
2020-07-25 02:57:47 +00:00
:cond_1
if-eqz v7, :cond_2
2020-07-08 16:44:49 +00:00
2020-07-25 02:57:47 +00:00
invoke-virtual {v2, v5}, Lf/c/a/z1;->l(Lorg/json/JSONArray;)V
:try_end_0
.catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0
2020-07-08 16:44:49 +00:00
2020-07-25 02:57:47 +00:00
goto :goto_2
2020-07-08 16:44:49 +00:00
2020-07-25 02:57:47 +00:00
:catch_0
move-exception v0
2020-07-08 16:44:49 +00:00
2020-07-25 02:57:47 +00:00
iget-object v2, v1, Lf/c/a/t1;->d:Lf/c/a/s1;
2020-07-08 16:44:49 +00:00
2020-07-25 02:57:47 +00:00
iget-object v2, v2, Lf/c/a/s1;->b:Lf/c/a/w0;
2020-07-08 16:44:49 +00:00
2020-07-25 02:57:47 +00:00
new-array v4, v4, [Ljava/lang/Object;
2020-07-08 16:44:49 +00:00
2020-07-25 02:57:47 +00:00
invoke-virtual {v0}, Lorg/json/JSONException;->getMessage()Ljava/lang/String;
2020-07-08 16:44:49 +00:00
2020-07-25 02:57:47 +00:00
move-result-object v0
2020-07-08 16:44:49 +00:00
2020-07-25 02:57:47 +00:00
aput-object v0, v4, v3
2020-07-08 16:44:49 +00:00
2020-07-25 02:57:47 +00:00
const-string v0, "Send saved raw referrers error (%s)"
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
invoke-interface {v2, v0, v4}, Lf/c/a/w0;->e(Ljava/lang/String;[Ljava/lang/Object;)V
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
:cond_2
:goto_2
2020-05-17 12:40:10 +00:00
return-void
.end method