TLRPC$ReportReason.smali
.class public abstract Lim/tpelyyftgw/tgnet/TLRPC$ReportReason;
.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 = "ReportReason"
.end annotation
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method public constructor <init>()V
.registers 1
.line 14787
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$ReportReason;
.registers 8
.param p0, "stream" # Lim/tpelyyftgw/tgnet/AbstractSerializedData;
.param p1, "constructor" # I
.param p2, "exception" # Z
.line 14790
const/4 v0, 0x0
.line 14791
.local v0, "result":Lim/tpelyyftgw/tgnet/TLRPC$ReportReason;
sparse-switch p1, :sswitch_data_58
goto :goto_36
.line 14802
:sswitch_5
new-instance v1, Lim/tpelyyftgw/tgnet/TLRPC$TL_inputReportReasonSpam;
invoke-direct {v1}, Lim/tpelyyftgw/tgnet/TLRPC$TL_inputReportReasonSpam;-><init>()V
move-object v0, v1
.line 14803
goto :goto_36
.line 14811
:sswitch_c
new-instance v1, Lim/tpelyyftgw/tgnet/TLRPC$TL_inputReportReasonPornography;
invoke-direct {v1}, Lim/tpelyyftgw/tgnet/TLRPC$TL_inputReportReasonPornography;-><init>()V
move-object v0, v1
goto :goto_36
.line 14805
:sswitch_13
new-instance v1, Lim/tpelyyftgw/tgnet/TLRPC$TL_inputReportReasonViolence;
invoke-direct {v1}, Lim/tpelyyftgw/tgnet/TLRPC$TL_inputReportReasonViolence;-><init>()V
move-object v0, v1
.line 14806
goto :goto_36
.line 14796
:sswitch_1a
new-instance v1, Lim/tpelyyftgw/tgnet/TLRPC$TL_inputReportReasonOther;
invoke-direct {v1}, Lim/tpelyyftgw/tgnet/TLRPC$TL_inputReportReasonOther;-><init>()V
move-object v0, v1
.line 14797
goto :goto_36
.line 14793
:sswitch_21
new-instance v1, Lim/tpelyyftgw/tgnet/TLRPC$TL_inputReportReasonGeoIrrelevant;
invoke-direct {v1}, Lim/tpelyyftgw/tgnet/TLRPC$TL_inputReportReasonGeoIrrelevant;-><init>()V
move-object v0, v1
.line 14794
goto :goto_36
.line 14808
:sswitch_28
new-instance v1, Lim/tpelyyftgw/tgnet/TLRPC$TL_inputReportReasonChildAbuse;
invoke-direct {v1}, Lim/tpelyyftgw/tgnet/TLRPC$TL_inputReportReasonChildAbuse;-><init>()V
move-object v0, v1
.line 14809
goto :goto_36
.line 14799
:sswitch_2f
new-instance v1, Lim/tpelyyftgw/tgnet/TLRPC$TL_inputReportReasonCopyright;
invoke-direct {v1}, Lim/tpelyyftgw/tgnet/TLRPC$TL_inputReportReasonCopyright;-><init>()V
move-object v0, v1
.line 14800
nop
.line 14814
:goto_36
if-nez v0, :cond_51
if-nez p2, :cond_3b
goto :goto_51
.line 14815
:cond_3b
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 ReportReason"
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 14817
:cond_51
:goto_51
if-eqz v0, :cond_56
.line 14818
invoke-virtual {v0, p0, p2}, Lim/tpelyyftgw/tgnet/TLRPC$ReportReason;->readParams(Lim/tpelyyftgw/tgnet/AbstractSerializedData;Z)V
.line 14820
:cond_56
return-object v0
nop
:sswitch_data_58
.sparse-switch
-0x647606c6 -> :sswitch_2f
-0x520bb11d -> :sswitch_28
-0x242b0113 -> :sswitch_21
-0x1e8b92f6 -> :sswitch_1a
0x1e22c78d -> :sswitch_13
0x2e59d922 -> :sswitch_c
0x58dbcab8 -> :sswitch_5
.end sparse-switch
.end method