2020-05-17 12:40:10 +00:00
|
|
|
.class public final Lcom/discord/models/domain/ModelSku$Parser;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "ModelSku.kt"
|
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Lcom/discord/models/domain/Model$Parser;
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
|
|
value = Lcom/discord/models/domain/ModelSku;
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x19
|
|
|
|
name = "Parser"
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
"Lcom/discord/models/domain/Model$Parser<",
|
|
|
|
"Lcom/discord/models/domain/ModelSku;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# static fields
|
|
|
|
.field public static final INSTANCE:Lcom/discord/models/domain/ModelSku$Parser;
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public static constructor <clinit>()V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
new-instance v0, Lcom/discord/models/domain/ModelSku$Parser;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Lcom/discord/models/domain/ModelSku$Parser;-><init>()V
|
|
|
|
|
|
|
|
sput-object v0, Lcom/discord/models/domain/ModelSku$Parser;->INSTANCE:Lcom/discord/models/domain/ModelSku$Parser;
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public constructor <init>()V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public parse(Lcom/discord/models/domain/Model$JsonReader;)Lcom/discord/models/domain/ModelSku;
|
2020-09-16 23:45:23 +00:00
|
|
|
.locals 28
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-object/from16 v9, p1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const-string v0, "reader"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-30 20:48:36 +00:00
|
|
|
invoke-static {v9, v0}, Lf/e/c/a/a;->N(Lcom/discord/models/domain/Model$JsonReader;Ljava/lang/String;)Lkotlin/jvm/internal/Ref$ObjectRef;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result-object v10
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const/4 v0, 0x0
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iput-object v0, v10, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
new-instance v11, Lkotlin/jvm/internal/Ref$ObjectRef;
|
|
|
|
|
|
|
|
invoke-direct {v11}, Lkotlin/jvm/internal/Ref$ObjectRef;-><init>()V
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iput-object v0, v11, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
new-instance v12, Lkotlin/jvm/internal/Ref$ObjectRef;
|
|
|
|
|
|
|
|
invoke-direct {v12}, Lkotlin/jvm/internal/Ref$ObjectRef;-><init>()V
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iput-object v0, v12, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
new-instance v13, Lkotlin/jvm/internal/Ref$ObjectRef;
|
|
|
|
|
|
|
|
invoke-direct {v13}, Lkotlin/jvm/internal/Ref$ObjectRef;-><init>()V
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iput-object v0, v13, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
new-instance v14, Lkotlin/jvm/internal/Ref$ObjectRef;
|
|
|
|
|
|
|
|
invoke-direct {v14}, Lkotlin/jvm/internal/Ref$ObjectRef;-><init>()V
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iput-object v0, v14, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
new-instance v15, Lkotlin/jvm/internal/Ref$ObjectRef;
|
|
|
|
|
|
|
|
invoke-direct {v15}, Lkotlin/jvm/internal/Ref$ObjectRef;-><init>()V
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iput-object v0, v15, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
|
|
|
|
|
|
|
new-instance v8, Lkotlin/jvm/internal/Ref$ObjectRef;
|
|
|
|
|
|
|
|
invoke-direct {v8}, Lkotlin/jvm/internal/Ref$ObjectRef;-><init>()V
|
|
|
|
|
|
|
|
iput-object v0, v8, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
new-instance v7, Lcom/discord/models/domain/ModelSku$Parser$parse$1;
|
|
|
|
|
|
|
|
move-object v0, v7
|
|
|
|
|
|
|
|
move-object v1, v10
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-object/from16 v2, p1
|
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
move-object v3, v11
|
|
|
|
|
|
|
|
move-object v4, v12
|
|
|
|
|
|
|
|
move-object v5, v13
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
move-object v6, v14
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-object/from16 v16, v14
|
|
|
|
|
|
|
|
move-object v14, v7
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
move-object v7, v15
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-object/from16 v17, v8
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-direct/range {v0 .. v8}, Lcom/discord/models/domain/ModelSku$Parser$parse$1;-><init>(Lkotlin/jvm/internal/Ref$ObjectRef;Lcom/discord/models/domain/Model$JsonReader;Lkotlin/jvm/internal/Ref$ObjectRef;Lkotlin/jvm/internal/Ref$ObjectRef;Lkotlin/jvm/internal/Ref$ObjectRef;Lkotlin/jvm/internal/Ref$ObjectRef;Lkotlin/jvm/internal/Ref$ObjectRef;Lkotlin/jvm/internal/Ref$ObjectRef;)V
|
|
|
|
|
|
|
|
invoke-virtual {v9, v14}, Lcom/discord/models/domain/Model$JsonReader;->nextObject(Lrx/functions/Action1;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
new-instance v0, Lcom/discord/models/domain/ModelSku;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v1, v10, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
check-cast v1, Ljava/lang/Long;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
const-wide/16 v2, 0x0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
if-eqz v1, :cond_0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-virtual {v1}, Ljava/lang/Long;->longValue()J
|
|
|
|
|
|
|
|
move-result-wide v4
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-wide/from16 v19, v4
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
2020-09-16 23:45:23 +00:00
|
|
|
move-wide/from16 v19, v2
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
:goto_0
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v1, v11, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
check-cast v1, Ljava/lang/String;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
if-eqz v1, :cond_1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_1
|
2020-09-10 21:23:57 +00:00
|
|
|
const-string v1, ""
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
:goto_1
|
2020-09-16 23:45:23 +00:00
|
|
|
move-object/from16 v21, v1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v1, v12, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
check-cast v1, Ljava/lang/Long;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
if-eqz v1, :cond_2
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-virtual {v1}, Ljava/lang/Long;->longValue()J
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
move-result-wide v1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-wide/from16 v22, v1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_2
|
2020-09-16 23:45:23 +00:00
|
|
|
move-wide/from16 v22, v2
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
:goto_2
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v1, v13, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-object/from16 v24, v1
|
|
|
|
|
|
|
|
check-cast v24, Lcom/discord/models/domain/ModelApplication;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-object/from16 v1, v16
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v1, v1, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
check-cast v1, Ljava/lang/Boolean;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-29 21:44:44 +00:00
|
|
|
invoke-static {v1}, Lb0/n/c/j;->checkNotNull(Ljava/lang/Object;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-virtual {v1}, Ljava/lang/Boolean;->booleanValue()Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result v25
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
iget-object v1, v15, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
check-cast v1, Ljava/lang/Integer;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-29 21:44:44 +00:00
|
|
|
invoke-static {v1}, Lb0/n/c/j;->checkNotNull(Ljava/lang/Object;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-10 21:23:57 +00:00
|
|
|
invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result v26
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-object/from16 v1, v17
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v1, v1, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-object/from16 v27, v1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
check-cast v27, Lcom/discord/models/domain/ModelSku$Price;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-object/from16 v18, v0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-direct/range {v18 .. v27}, Lcom/discord/models/domain/ModelSku;-><init>(JLjava/lang/String;JLcom/discord/models/domain/ModelApplication;ZILcom/discord/models/domain/ModelSku$Price;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
return-object v0
|
2020-05-17 12:40:10 +00:00
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public bridge synthetic parse(Lcom/discord/models/domain/Model$JsonReader;)Ljava/lang/Object;
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Lcom/discord/models/domain/ModelSku$Parser;->parse(Lcom/discord/models/domain/Model$JsonReader;)Lcom/discord/models/domain/ModelSku;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
.end method
|