apkfuckery/com.discord/smali/f/c/a/b0.smali
2020-07-25 02:57:47 +00:00

103 lines
1.8 KiB
Smali

.class public Lf/c/a/b0;
.super Ljava/lang/Object;
.source "AdjustInstance.java"
# interfaces
.implements Ljava/lang/Runnable;
# instance fields
.field public final synthetic d:Landroid/content/Context;
# direct methods
.method public constructor <init>(Lf/c/a/d0;Landroid/content/Context;)V
.locals 0
iput-object p2, p0, Lf/c/a/b0;->d:Landroid/content/Context;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.locals 9
new-instance v0, Lf/c/a/z1;
iget-object v1, p0, Lf/c/a/b0;->d:Landroid/content/Context;
invoke-direct {v0, v1}, Lf/c/a/z1;-><init>(Landroid/content/Context;)V
monitor-enter v0
:try_start_0
invoke-virtual {v0}, Lf/c/a/z1;->f()Lorg/json/JSONArray;
move-result-object v1
const/4 v2, 0x0
const/4 v3, 0x0
const/4 v4, 0x0
:goto_0
invoke-virtual {v1}, Lorg/json/JSONArray;->length()I
move-result v5
if-ge v3, v5, :cond_1
invoke-virtual {v1, v3}, Lorg/json/JSONArray;->getJSONArray(I)Lorg/json/JSONArray;
move-result-object v5
const/4 v6, -0x1
const/4 v7, 0x2
invoke-virtual {v5, v7, v6}, Lorg/json/JSONArray;->optInt(II)I
move-result v6
const/4 v8, 0x1
if-ne v6, v8, :cond_0
invoke-virtual {v5, v7, v2}, Lorg/json/JSONArray;->put(II)Lorg/json/JSONArray;
const/4 v4, 0x1
:cond_0
add-int/lit8 v3, v3, 0x1
goto :goto_0
:cond_1
if-eqz v4, :cond_2
invoke-virtual {v0, v1}, Lf/c/a/z1;->l(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
goto :goto_1
:catchall_0
move-exception v1
monitor-exit v0
throw v1
:catch_0
:cond_2
:goto_1
monitor-exit v0
return-void
.end method