TLRPCCdn$TL_userCdnVipInfo.smali

.class public Lim/tpelyyftgw/tgnet/TLRPCCdn$TL_userCdnVipInfo;
.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_userCdnVipInfo"
.end annotation


# static fields
.field public static final constructor:I


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


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

    const v0, -0xe03c7c4

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

    move-result v0

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

    return-void
.end method

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

    .line 134
    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/TLRPCCdn$TL_userCdnVipInfo;
    .registers 7
    .param p0, "stream"    # Lim/tpelyyftgw/tgnet/AbstractSerializedData;
    .param p1, "constructor"    # I
    .param p2, "exception"    # Z

    .line 148
    const v0, -0xe03d2ad

    if-eq v0, p1, :cond_1f

    .line 149
    if-nez p2, :cond_9

    .line 152
    const/4 v0, 0x0

    return-object v0

    .line 150
    :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_userCdnVipInfo"

    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 155
    :cond_1f
    new-instance v0, Lim/tpelyyftgw/tgnet/TLRPCCdn$TL_userCdnVipInfo;

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

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

    .line 157
    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 162
    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_userCdnVipInfo;->vip_info:Lim/tpelyyftgw/tgnet/TLRPC$TL_dataJSON;

    .line 163
    return-void
.end method