TLRPCCdn$TL_payCdnResult.smali

.class public Lim/tpelyyftgw/tgnet/TLRPCCdn$TL_payCdnResult;
.super Lim/tpelyyftgw/tgnet/TLObject;
.source "TLRPCCdn.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lim/tpelyyftgw/tgnet/TLRPCCdn;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x9
    name = "TL_payCdnResult"
.end annotation


# static fields
.field public static final constructor:I


# instance fields
.field public pay_res:Lim/tpelyyftgw/tgnet/TLRPC$TL_dataJSON;

.field public vip_info:Lim/tpelyyftgw/tgnet/TLRPCCdn$TL_userCdnVipInfo;


# direct methods
.method static constructor <clinit>()V
    .registers 1

    const v0, 0x2d5e3001

    invoke-static {v0}, Lnp/NPFog;->d(I)I

    move-result v0

    sput v0, Lim/tpelyyftgw/tgnet/TLRPCCdn$TL_payCdnResult;->constructor:I

    return-void
.end method

.method public constructor <init>()V
    .registers 1

    .line 106
    invoke-direct {p0}, Lim/tpelyyftgw/tgnet/TLObject;-><init>()V

    return-void
.end method

.method public static TLdeserialize(Lim/tpelyyftgw/tgnet/AbstractSerializedData;IZ)Lim/tpelyyftgw/tgnet/TLObject;
    .registers 7
    .param p0, "stream"    # Lim/tpelyyftgw/tgnet/AbstractSerializedData;
    .param p1, "constructor"    # I
    .param p2, "exception"    # Z

    .line 112
    const v0, 0x2d5e256e

    if-eq v0, p1, :cond_1f

    .line 113
    if-nez p2, :cond_9

    .line 116
    const/4 v0, 0x0

    return-object v0

    .line 114
    :cond_9
    new-instance v0, Ljava/lang/RuntimeException;

    const/4 v1, 0x1

    new-array v1, v1, [Ljava/lang/Object;

    const/4 v2, 0x0

    invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v3

    aput-object v3, v1, v2

    const-string v2, "can\'t parse magic %x in TLRPCCdn_TL_payCdnResult"

    invoke-static {v2, v1}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V

    throw v0

    .line 119
    :cond_1f
    new-instance v0, Lim/tpelyyftgw/tgnet/TLRPCCdn$TL_payCdnResult;

    invoke-direct {v0}, Lim/tpelyyftgw/tgnet/TLRPCCdn$TL_payCdnResult;-><init>()V

    .line 120
    .local v0, "result":Lim/tpelyyftgw/tgnet/TLRPCCdn$TL_payCdnResult;
    invoke-virtual {v0, p0, p2}, Lim/tpelyyftgw/tgnet/TLRPCCdn$TL_payCdnResult;->readParams(Lim/tpelyyftgw/tgnet/AbstractSerializedData;Z)V

    .line 121
    return-object v0
.end method


# virtual methods
.method public readParams(Lim/tpelyyftgw/tgnet/AbstractSerializedData;Z)V
    .registers 4
    .param p1, "stream"    # Lim/tpelyyftgw/tgnet/AbstractSerializedData;
    .param p2, "exception"    # Z

    .line 126
    invoke-virtual {p1, p2}, Lim/tpelyyftgw/tgnet/AbstractSerializedData;->readInt32(Z)I

    move-result v0

    invoke-static {p1, v0, p2}, Lim/tpelyyftgw/tgnet/TLRPC$TL_dataJSON;->TLdeserialize(Lim/tpelyyftgw/tgnet/AbstractSerializedData;IZ)Lim/tpelyyftgw/tgnet/TLRPC$TL_dataJSON;

    move-result-object v0

    iput-object v0, p0, Lim/tpelyyftgw/tgnet/TLRPCCdn$TL_payCdnResult;->pay_res:Lim/tpelyyftgw/tgnet/TLRPC$TL_dataJSON;

    .line 127
    invoke-virtual {p1, p2}, Lim/tpelyyftgw/tgnet/AbstractSerializedData;->readInt32(Z)I

    move-result v0

    invoke-static {p1, v0, p2}, Lim/tpelyyftgw/tgnet/TLRPCCdn$TL_userCdnVipInfo;->TLdeserialize(Lim/tpelyyftgw/tgnet/AbstractSerializedData;IZ)Lim/tpelyyftgw/tgnet/TLRPCCdn$TL_userCdnVipInfo;

    move-result-object v0

    iput-object v0, p0, Lim/tpelyyftgw/tgnet/TLRPCCdn$TL_payCdnResult;->vip_info:Lim/tpelyyftgw/tgnet/TLRPCCdn$TL_userCdnVipInfo;

    .line 128
    return-void
.end method