TLRPC$storage_FileType.smali
.class public abstract Lim/tpelyyftgw/tgnet/TLRPC$storage_FileType;
.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 = "storage_FileType"
.end annotation
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method public constructor <init>()V
.registers 1
.line 28446
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$storage_FileType;
.registers 8
.param p0, "stream" # Lim/tpelyyftgw/tgnet/AbstractSerializedData;
.param p1, "constructor" # I
.param p2, "exception" # Z
.line 28449
const/4 v0, 0x0
.line 28450
.local v0, "result":Lim/tpelyyftgw/tgnet/TLRPC$storage_FileType;
sparse-switch p1, :sswitch_data_6c
goto :goto_4b
.line 28470
:sswitch_5
new-instance v1, Lim/tpelyyftgw/tgnet/TLRPC$TL_storage_fileMp3;
invoke-direct {v1}, Lim/tpelyyftgw/tgnet/TLRPC$TL_storage_fileMp3;-><init>()V
move-object v0, v1
.line 28471
goto :goto_4b
.line 28476
:sswitch_c
new-instance v1, Lim/tpelyyftgw/tgnet/TLRPC$TL_storage_fileMov;
invoke-direct {v1}, Lim/tpelyyftgw/tgnet/TLRPC$TL_storage_fileMov;-><init>()V
move-object v0, v1
.line 28477
goto :goto_4b
.line 28479
:sswitch_13
new-instance v1, Lim/tpelyyftgw/tgnet/TLRPC$TL_storage_filePartial;
invoke-direct {v1}, Lim/tpelyyftgw/tgnet/TLRPC$TL_storage_filePartial;-><init>()V
move-object v0, v1
goto :goto_4b
.line 28458
:sswitch_1a
new-instance v1, Lim/tpelyyftgw/tgnet/TLRPC$TL_storage_fileWebp;
invoke-direct {v1}, Lim/tpelyyftgw/tgnet/TLRPC$TL_storage_fileWebp;-><init>()V
move-object v0, v1
.line 28459
goto :goto_4b
.line 28461
:sswitch_21
new-instance v1, Lim/tpelyyftgw/tgnet/TLRPC$TL_storage_filePng;
invoke-direct {v1}, Lim/tpelyyftgw/tgnet/TLRPC$TL_storage_filePng;-><init>()V
move-object v0, v1
.line 28462
goto :goto_4b
.line 28473
:sswitch_28
new-instance v1, Lim/tpelyyftgw/tgnet/TLRPC$TL_storage_fileJpeg;
invoke-direct {v1}, Lim/tpelyyftgw/tgnet/TLRPC$TL_storage_fileJpeg;-><init>()V
move-object v0, v1
.line 28474
goto :goto_4b
.line 28464
:sswitch_2f
new-instance v1, Lim/tpelyyftgw/tgnet/TLRPC$TL_storage_fileGif;
invoke-direct {v1}, Lim/tpelyyftgw/tgnet/TLRPC$TL_storage_fileGif;-><init>()V
move-object v0, v1
.line 28465
goto :goto_4b
.line 28455
:sswitch_36
new-instance v1, Lim/tpelyyftgw/tgnet/TLRPC$TL_storage_fileMp4;
invoke-direct {v1}, Lim/tpelyyftgw/tgnet/TLRPC$TL_storage_fileMp4;-><init>()V
move-object v0, v1
.line 28456
goto :goto_4b
.line 28467
:sswitch_3d
new-instance v1, Lim/tpelyyftgw/tgnet/TLRPC$TL_storage_filePdf;
invoke-direct {v1}, Lim/tpelyyftgw/tgnet/TLRPC$TL_storage_filePdf;-><init>()V
move-object v0, v1
.line 28468
goto :goto_4b
.line 28452
:sswitch_44
new-instance v1, Lim/tpelyyftgw/tgnet/TLRPC$TL_storage_fileUnknown;
invoke-direct {v1}, Lim/tpelyyftgw/tgnet/TLRPC$TL_storage_fileUnknown;-><init>()V
move-object v0, v1
.line 28453
nop
.line 28482
:goto_4b
if-nez v0, :cond_66
if-nez p2, :cond_50
goto :goto_66
.line 28483
:cond_50
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 storage_FileType"
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 28485
:cond_66
:goto_66
if-eqz v0, :cond_6b
.line 28486
invoke-virtual {v0, p0, p2}, Lim/tpelyyftgw/tgnet/TLRPC$storage_FileType;->readParams(Lim/tpelyyftgw/tgnet/AbstractSerializedData;Z)V
.line 28488
:cond_6b
return-object v0
:sswitch_data_6c
.sparse-switch
-0x5569c4fb -> :sswitch_44
-0x51e1af73 -> :sswitch_3d
-0x4c315f1c -> :sswitch_36
-0x351e5521 -> :sswitch_2f
0x7efe0e -> :sswitch_28
0xa4f63c0 -> :sswitch_21
0x1081464c -> :sswitch_1a
0x40bc6f52 -> :sswitch_13
0x4b09ebbc -> :sswitch_c
0x528a0677 -> :sswitch_5
.end sparse-switch
.end method