d$c.smali
.class public final Lcom/imo/android/imoim/expression/manager/d$c;
.super Lb/a;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/imo/android/imoim/expression/manager/d;->a(Ljava/lang/String;Lkotlin/f/a/b;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lb/a<",
"Lorg/json/JSONObject;",
"Ljava/lang/Void;",
">;"
}
.end annotation
# instance fields
.field final synthetic a:Ljava/lang/String;
.field final synthetic b:Lkotlin/f/a/b;
# direct methods
.method constructor <init>(Ljava/lang/String;Lkotlin/f/a/b;)V
.registers 3
.line 159
iput-object p1, p0, Lcom/imo/android/imoim/expression/manager/d$c;->a:Ljava/lang/String;
iput-object p2, p0, Lcom/imo/android/imoim/expression/manager/d$c;->b:Lkotlin/f/a/b;
invoke-direct {p0}, Lb/a;-><init>()V
return-void
.end method
# virtual methods
.method public final synthetic a(Ljava/lang/Object;)Ljava/lang/Object;
.registers 8
.line 159
check-cast p1, Lorg/json/JSONObject;
const/4 v0, 0x0
if-eqz p1, :cond_c
const-string v1, "response"
.line 2106
invoke-virtual {p1, v1}, Lorg/json/JSONObject;->optJSONArray(Ljava/lang/String;)Lorg/json/JSONArray;
move-result-object p1
goto :goto_d
:cond_c
move-object p1, v0
.line 1162
:goto_d
new-instance v1, Ljava/util/ArrayList;
invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V
check-cast v1, Ljava/util/List;
if-eqz p1, :cond_38
const/4 v2, 0x0
.line 1164
invoke-virtual {p1}, Lorg/json/JSONArray;->length()I
move-result v3
:goto_1b
if-ge v2, v3, :cond_38
.line 1165
sget-object v4, Lcom/imo/android/imoim/expression/data/l;->h:Lcom/imo/android/imoim/expression/data/l$a;
invoke-static {v2, p1}, Lcom/imo/android/imoim/util/cg;->a(ILorg/json/JSONArray;)Lorg/json/JSONObject;
move-result-object v4
const-string v5, "JSONUtil.getJSONObject(i, stickerList)"
invoke-static {v4, v5}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
invoke-static {v4}, Lcom/imo/android/imoim/expression/data/l$a;->a(Lorg/json/JSONObject;)Lcom/imo/android/imoim/expression/data/l;
move-result-object v4
if-eqz v4, :cond_35
.line 1166
iget-object v5, p0, Lcom/imo/android/imoim/expression/manager/d$c;->a:Ljava/lang/String;
.line 3014
iput-object v5, v4, Lcom/imo/android/imoim/expression/data/l;->c:Ljava/lang/String;
.line 1167
invoke-interface {v1, v4}, Ljava/util/List;->add(Ljava/lang/Object;)Z
:cond_35
add-int/lit8 v2, v2, 0x1
goto :goto_1b
.line 1171
:cond_38
iget-object p1, p0, Lcom/imo/android/imoim/expression/manager/d$c;->b:Lkotlin/f/a/b;
invoke-interface {p1, v1}, Lkotlin/f/a/b;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
return-object v0
.end method