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

104 lines
1.8 KiB
Smali
Raw Normal View History

2020-05-17 12:40:10 +00:00
.class public Lf/c/a/x;
.super Ljava/lang/Object;
2020-07-08 16:44:49 +00:00
.source "AdjustInstance.java"
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
# interfaces
.implements Ljava/lang/Runnable;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
# instance fields
.field public final synthetic d:Landroid/content/Context;
2020-05-17 12:40:10 +00:00
# direct methods
2020-07-08 16:44:49 +00:00
.method public constructor <init>(Lf/c/a/y;Landroid/content/Context;)V
2020-05-17 12:40:10 +00:00
.locals 0
2020-07-08 16:44:49 +00:00
iput-object p2, p0, Lf/c/a/x;->d:Landroid/content/Context;
2020-05-17 12:40:10 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
2020-07-08 16:44:49 +00:00
.method public run()V
.locals 9
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
new-instance v0, Lf/c/a/r1;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
iget-object v1, p0, Lf/c/a/x;->d:Landroid/content/Context;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-direct {v0, v1}, Lf/c/a/r1;-><init>(Landroid/content/Context;)V
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
monitor-enter v0
:try_start_0
invoke-virtual {v0}, Lf/c/a/r1;->c()Lorg/json/JSONArray;
move-result-object v1
const/4 v2, 0x0
2020-05-17 12:40:10 +00:00
const/4 v3, 0x0
2020-07-08 16:44:49 +00:00
const/4 v4, 0x0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
:goto_0
invoke-virtual {v1}, Lorg/json/JSONArray;->length()I
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
move-result v5
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
if-ge v3, v5, :cond_1
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-virtual {v1, v3}, Lorg/json/JSONArray;->getJSONArray(I)Lorg/json/JSONArray;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
move-result-object v5
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const/4 v6, -0x1
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const/4 v7, 0x2
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-virtual {v5, v7, v6}, Lorg/json/JSONArray;->optInt(II)I
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
move-result v6
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const/4 v8, 0x1
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
if-ne v6, v8, :cond_0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-virtual {v5, v7, v2}, Lorg/json/JSONArray;->put(II)Lorg/json/JSONArray;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const/4 v4, 0x1
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
:cond_0
add-int/lit8 v3, v3, 0x1
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
goto :goto_0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
:cond_1
if-eqz v4, :cond_2
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-virtual {v0, v1}, Lf/c/a/r1;->h(Lorg/json/JSONArray;)V
:try_end_0
.catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
goto :goto_1
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
:catchall_0
move-exception v1
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
monitor-exit v0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
throw v1
:catch_0
:cond_2
:goto_1
monitor-exit v0
return-void
2020-05-17 12:40:10 +00:00
.end method