TLRPC$TL_secureRequiredType.smali
.class public Lim/tpelyyftgw/tgnet/TLRPC$TL_secureRequiredType;
.super Lim/tpelyyftgw/tgnet/TLRPC$SecureRequiredType;
.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_secureRequiredType"
.end annotation
# static fields
.field public static constructor:I
# instance fields
.field public flags:I
.field public native_names:Z
.field public selfie_required:Z
.field public translation_required:Z
.field public type:Lim/tpelyyftgw/tgnet/TLRPC$SecureValueType;
# direct methods
.method static constructor <clinit>()V
.registers 1
.line 7600
const v0, -0x7d626626
sput v0, Lim/tpelyyftgw/tgnet/TLRPC$TL_secureRequiredType;->constructor:I
return-void
.end method
.method public constructor <init>()V
.registers 1
.line 7599
invoke-direct {p0}, Lim/tpelyyftgw/tgnet/TLRPC$SecureRequiredType;-><init>()V
return-void
.end method
# virtual methods
.method public readParams(Lim/tpelyyftgw/tgnet/AbstractSerializedData;Z)V
.registers 6
.param p1, "stream" # Lim/tpelyyftgw/tgnet/AbstractSerializedData;
.param p2, "exception" # Z
.line 7609
invoke-virtual {p1, p2}, Lim/tpelyyftgw/tgnet/AbstractSerializedData;->readInt32(Z)I
move-result v0
iput v0, p0, Lim/tpelyyftgw/tgnet/TLRPC$TL_secureRequiredType;->flags:I
.line 7610
const/4 v1, 0x1
and-int/2addr v0, v1
const/4 v2, 0x0
if-eqz v0, :cond_d
const/4 v0, 0x1
goto :goto_e
:cond_d
const/4 v0, 0x0
:goto_e
iput-boolean v0, p0, Lim/tpelyyftgw/tgnet/TLRPC$TL_secureRequiredType;->native_names:Z
.line 7611
iget v0, p0, Lim/tpelyyftgw/tgnet/TLRPC$TL_secureRequiredType;->flags:I
and-int/lit8 v0, v0, 0x2
if-eqz v0, :cond_18
const/4 v0, 0x1
goto :goto_19
:cond_18
const/4 v0, 0x0
:goto_19
iput-boolean v0, p0, Lim/tpelyyftgw/tgnet/TLRPC$TL_secureRequiredType;->selfie_required:Z
.line 7612
iget v0, p0, Lim/tpelyyftgw/tgnet/TLRPC$TL_secureRequiredType;->flags:I
and-int/lit8 v0, v0, 0x4
if-eqz v0, :cond_22
goto :goto_23
:cond_22
const/4 v1, 0x0
:goto_23
iput-boolean v1, p0, Lim/tpelyyftgw/tgnet/TLRPC$TL_secureRequiredType;->translation_required:Z
.line 7613
invoke-virtual {p1, p2}, Lim/tpelyyftgw/tgnet/AbstractSerializedData;->readInt32(Z)I
move-result v0
invoke-static {p1, v0, p2}, Lim/tpelyyftgw/tgnet/TLRPC$SecureValueType;->TLdeserialize(Lim/tpelyyftgw/tgnet/AbstractSerializedData;IZ)Lim/tpelyyftgw/tgnet/TLRPC$SecureValueType;
move-result-object v0
iput-object v0, p0, Lim/tpelyyftgw/tgnet/TLRPC$TL_secureRequiredType;->type:Lim/tpelyyftgw/tgnet/TLRPC$SecureValueType;
.line 7614
return-void
.end method
.method public serializeToStream(Lim/tpelyyftgw/tgnet/AbstractSerializedData;)V
.registers 4
.param p1, "stream" # Lim/tpelyyftgw/tgnet/AbstractSerializedData;
.line 7617
sget v0, Lim/tpelyyftgw/tgnet/TLRPC$TL_secureRequiredType;->constructor:I
invoke-virtual {p1, v0}, Lim/tpelyyftgw/tgnet/AbstractSerializedData;->writeInt32(I)V
.line 7618
iget-boolean v0, p0, Lim/tpelyyftgw/tgnet/TLRPC$TL_secureRequiredType;->native_names:Z
if-eqz v0, :cond_e
iget v0, p0, Lim/tpelyyftgw/tgnet/TLRPC$TL_secureRequiredType;->flags:I
or-int/lit8 v0, v0, 0x1
goto :goto_12
:cond_e
iget v0, p0, Lim/tpelyyftgw/tgnet/TLRPC$TL_secureRequiredType;->flags:I
and-int/lit8 v0, v0, -0x2
:goto_12
iput v0, p0, Lim/tpelyyftgw/tgnet/TLRPC$TL_secureRequiredType;->flags:I
.line 7619
iget-boolean v1, p0, Lim/tpelyyftgw/tgnet/TLRPC$TL_secureRequiredType;->selfie_required:Z
if-eqz v1, :cond_1b
or-int/lit8 v0, v0, 0x2
goto :goto_1d
:cond_1b
and-int/lit8 v0, v0, -0x3
:goto_1d
iput v0, p0, Lim/tpelyyftgw/tgnet/TLRPC$TL_secureRequiredType;->flags:I
.line 7620
iget-boolean v1, p0, Lim/tpelyyftgw/tgnet/TLRPC$TL_secureRequiredType;->translation_required:Z
if-eqz v1, :cond_26
or-int/lit8 v0, v0, 0x4
goto :goto_28
:cond_26
and-int/lit8 v0, v0, -0x5
:goto_28
iput v0, p0, Lim/tpelyyftgw/tgnet/TLRPC$TL_secureRequiredType;->flags:I
.line 7621
invoke-virtual {p1, v0}, Lim/tpelyyftgw/tgnet/AbstractSerializedData;->writeInt32(I)V
.line 7622
iget-object v0, p0, Lim/tpelyyftgw/tgnet/TLRPC$TL_secureRequiredType;->type:Lim/tpelyyftgw/tgnet/TLRPC$SecureValueType;
invoke-virtual {v0, p1}, Lim/tpelyyftgw/tgnet/TLRPC$SecureValueType;->serializeToStream(Lim/tpelyyftgw/tgnet/AbstractSerializedData;)V
.line 7623
return-void
.end method