TLRPC$messages_SentEncryptedMessage.smali

.class public abstract Lim/tpelyyftgw/tgnet/TLRPC$messages_SentEncryptedMessage;
.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 = "messages_SentEncryptedMessage"
.end annotation


# instance fields
.field public date:I

.field public file:Lim/tpelyyftgw/tgnet/TLRPC$EncryptedFile;


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

    return-void
.end method

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

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

    .line 592
    const/4 v0, 0x0

    .line 593
    .local v0, "result":Lim/tpelyyftgw/tgnet/TLRPC$messages_SentEncryptedMessage;
    const v1, -0x6b6c00ce

    if-eq p1, v1, :cond_13

    const v1, 0x560f8935

    if-eq p1, v1, :cond_c

    goto :goto_19

    .line 595
    :cond_c
    new-instance v1, Lim/tpelyyftgw/tgnet/TLRPC$TL_messages_sentEncryptedMessage;

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

    move-object v0, v1

    .line 596
    goto :goto_19

    .line 598
    :cond_13
    new-instance v1, Lim/tpelyyftgw/tgnet/TLRPC$TL_messages_sentEncryptedFile;

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

    move-object v0, v1

    .line 601
    :goto_19
    if-nez v0, :cond_34

    if-nez p2, :cond_1e

    goto :goto_34

    .line 602
    :cond_1e
    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 messages_SentEncryptedMessage"

    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 604
    :cond_34
    :goto_34
    if-eqz v0, :cond_39

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

    .line 607
    :cond_39
    return-object v0
.end method