TLRPC$auth_SentCodeType.smali

.class public abstract Lim/tpelyyftgw/tgnet/TLRPC$auth_SentCodeType;
.super Lim/tpelyyftgw/tgnet/TLObject;
.source "TLRPC.java"


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

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x409
    name = "auth_SentCodeType"
.end annotation


# instance fields
.field public length:I

.field public pattern:Ljava/lang/String;


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

    return-void
.end method

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

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

    .line 4635
    const/4 v0, 0x0

    .line 4636
    .local v0, "result":Lim/tpelyyftgw/tgnet/TLRPC$auth_SentCodeType;
    sparse-switch p1, :sswitch_data_42

    goto :goto_21

    .line 4641
    :sswitch_5
    new-instance v1, Lim/tpelyyftgw/tgnet/TLRPC$TL_auth_sentCodeTypeCall;

    invoke-direct {v1}, Lim/tpelyyftgw/tgnet/TLRPC$TL_auth_sentCodeTypeCall;-><init>()V

    move-object v0, v1

    .line 4642
    goto :goto_21

    .line 4638
    :sswitch_c
    new-instance v1, Lim/tpelyyftgw/tgnet/TLRPC$TL_auth_sentCodeTypeApp;

    invoke-direct {v1}, Lim/tpelyyftgw/tgnet/TLRPC$TL_auth_sentCodeTypeApp;-><init>()V

    move-object v0, v1

    .line 4639
    goto :goto_21

    .line 4647
    :sswitch_13
    new-instance v1, Lim/tpelyyftgw/tgnet/TLRPC$TL_auth_sentCodeTypeSms;

    invoke-direct {v1}, Lim/tpelyyftgw/tgnet/TLRPC$TL_auth_sentCodeTypeSms;-><init>()V

    move-object v0, v1

    goto :goto_21

    .line 4644
    :sswitch_1a
    new-instance v1, Lim/tpelyyftgw/tgnet/TLRPC$TL_auth_sentCodeTypeFlashCall;

    invoke-direct {v1}, Lim/tpelyyftgw/tgnet/TLRPC$TL_auth_sentCodeTypeFlashCall;-><init>()V

    move-object v0, v1

    .line 4645
    nop

    .line 4650
    :goto_21
    if-nez v0, :cond_3c

    if-nez p2, :cond_26

    goto :goto_3c

    .line 4651
    :cond_26
    new-instance v1, Ljava/lang/RuntimeException;

    const/4 v2, 0x1

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

    const/4 v3, 0x0

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

    move-result-object v4

    aput-object v4, v2, v3

    const-string v3, "can\'t parse magic %x in auth_SentCodeType"

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

    move-result-object v2

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

    throw v1

    .line 4653
    :cond_3c
    :goto_3c
    if-eqz v0, :cond_41

    .line 4654
    invoke-virtual {v0, p0, p2}, Lim/tpelyyftgw/tgnet/TLRPC$auth_SentCodeType;->readParams(Lim/tpelyyftgw/tgnet/AbstractSerializedData;Z)V

    .line 4656
    :cond_41
    return-object v0

    :sswitch_data_42
    .sparse-switch
        -0x54fc3927 -> :sswitch_1a
        -0x3fff445e -> :sswitch_13
        0x3dbb5986 -> :sswitch_c
        0x5353e5a7 -> :sswitch_5
    .end sparse-switch
.end method