Files
vtosters/smali/smali_classes2/com/vk/dto/user/Platform$a.smali
T

94 lines
1.5 KiB
Smali

.class public final Lcom/vk/dto/user/Platform$a;
.super Ljava/lang/Object;
.source "OnlineInfo.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/vk/dto/user/Platform;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "a"
.end annotation
# direct methods
.method private constructor <init>()V
.locals 0
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public synthetic constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
.locals 0
.line 2
invoke-direct {p0}, Lcom/vk/dto/user/Platform$a;-><init>()V
return-void
.end method
# virtual methods
.method public final a(I)Lcom/vk/dto/user/Platform;
.locals 6
.line 1
invoke-static {}, Lcom/vk/dto/user/Platform;->values()[Lcom/vk/dto/user/Platform;
move-result-object v0
array-length v1, v0
const/4 v2, 0x0
const/4 v3, 0x0
:goto_0
if-ge v3, v1, :cond_2
aget-object v4, v0, v3
invoke-virtual {v4}, Lcom/vk/dto/user/Platform;->getId()I
move-result v5
if-ne v5, p1, :cond_0
const/4 v5, 0x1
goto :goto_1
:cond_0
const/4 v5, 0x0
:goto_1
if-eqz v5, :cond_1
goto :goto_2
:cond_1
add-int/lit8 v3, v3, 0x1
goto :goto_0
:cond_2
const/4 v4, 0x0
:goto_2
if-eqz v4, :cond_3
goto :goto_3
:cond_3
sget-object v4, Lcom/vk/dto/user/Platform;->NONE:Lcom/vk/dto/user/Platform;
:goto_3
return-object v4
.end method