TLRPC$TL_encryptedMessage.smali

.class public Lim/tpelyyftgw/tgnet/TLRPC$TL_encryptedMessage;
.super Lim/tpelyyftgw/tgnet/TLRPC$EncryptedMessage;
.source "TLRPC.java"


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

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


# static fields
.field public static constructor:I


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

    .line 18676
    const v0, -0x12e73ee8

    sput v0, Lim/tpelyyftgw/tgnet/TLRPC$TL_encryptedMessage;->constructor:I

    return-void
.end method

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

    .line 18675
    invoke-direct {p0}, Lim/tpelyyftgw/tgnet/TLRPC$EncryptedMessage;-><init>()V

    return-void
.end method


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

    .line 18680
    invoke-virtual {p1, p2}, Lim/tpelyyftgw/tgnet/AbstractSerializedData;->readInt64(Z)J

    move-result-wide v0

    iput-wide v0, p0, Lim/tpelyyftgw/tgnet/TLRPC$TL_encryptedMessage;->random_id:J

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

    move-result v0

    iput v0, p0, Lim/tpelyyftgw/tgnet/TLRPC$TL_encryptedMessage;->chat_id:I

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

    move-result v0

    iput v0, p0, Lim/tpelyyftgw/tgnet/TLRPC$TL_encryptedMessage;->date:I

    .line 18683
    invoke-virtual {p1, p2}, Lim/tpelyyftgw/tgnet/AbstractSerializedData;->readByteArray(Z)[B

    move-result-object v0

    iput-object v0, p0, Lim/tpelyyftgw/tgnet/TLRPC$TL_encryptedMessage;->bytes:[B

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

    move-result v0

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

    move-result-object v0

    iput-object v0, p0, Lim/tpelyyftgw/tgnet/TLRPC$TL_encryptedMessage;->file:Lim/tpelyyftgw/tgnet/TLRPC$EncryptedFile;

    .line 18685
    return-void
.end method

.method public serializeToStream(Lim/tpelyyftgw/tgnet/AbstractSerializedData;)V
    .registers 4
    .param p1, "stream"    # Lim/tpelyyftgw/tgnet/AbstractSerializedData;

    .line 18688
    sget v0, Lim/tpelyyftgw/tgnet/TLRPC$TL_encryptedMessage;->constructor:I

    invoke-virtual {p1, v0}, Lim/tpelyyftgw/tgnet/AbstractSerializedData;->writeInt32(I)V

    .line 18689
    iget-wide v0, p0, Lim/tpelyyftgw/tgnet/TLRPC$TL_encryptedMessage;->random_id:J

    invoke-virtual {p1, v0, v1}, Lim/tpelyyftgw/tgnet/AbstractSerializedData;->writeInt64(J)V

    .line 18690
    iget v0, p0, Lim/tpelyyftgw/tgnet/TLRPC$TL_encryptedMessage;->chat_id:I

    invoke-virtual {p1, v0}, Lim/tpelyyftgw/tgnet/AbstractSerializedData;->writeInt32(I)V

    .line 18691
    iget v0, p0, Lim/tpelyyftgw/tgnet/TLRPC$TL_encryptedMessage;->date:I

    invoke-virtual {p1, v0}, Lim/tpelyyftgw/tgnet/AbstractSerializedData;->writeInt32(I)V

    .line 18692
    iget-object v0, p0, Lim/tpelyyftgw/tgnet/TLRPC$TL_encryptedMessage;->bytes:[B

    invoke-virtual {p1, v0}, Lim/tpelyyftgw/tgnet/AbstractSerializedData;->writeByteArray([B)V

    .line 18693
    iget-object v0, p0, Lim/tpelyyftgw/tgnet/TLRPC$TL_encryptedMessage;->file:Lim/tpelyyftgw/tgnet/TLRPC$EncryptedFile;

    invoke-virtual {v0, p1}, Lim/tpelyyftgw/tgnet/TLRPC$EncryptedFile;->serializeToStream(Lim/tpelyyftgw/tgnet/AbstractSerializedData;)V

    .line 18694
    return-void
.end method