apkfuckery/com.discord/smali/e/a/j/m$c.smali

152 lines
3 KiB
Smali
Raw Normal View History

2019-12-06 03:29:40 +00:00
.class public final Le/a/j/m$c;
2019-08-01 02:26:13 +00:00
.super Ljava/lang/Object;
2019-07-31 00:08:31 +00:00
.source "OverlayMenuBubbleDialog.kt"
# interfaces
2019-12-13 02:35:12 +00:00
.implements La0/l/i;
2019-07-31 00:08:31 +00:00
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
2019-12-06 03:29:40 +00:00
value = Le/a/j/m;->onAttachedToWindow()V
2019-07-31 00:08:31 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
2019-12-06 03:29:40 +00:00
accessFlags = 0x19
2019-07-31 00:08:31 +00:00
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
2019-08-01 02:26:13 +00:00
"<T:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
2019-12-13 02:35:12 +00:00
"La0/l/i<",
2019-08-01 02:26:13 +00:00
"TT;TR;>;"
2019-07-31 00:08:31 +00:00
}
.end annotation
2019-08-01 02:26:13 +00:00
# static fields
2019-12-06 03:29:40 +00:00
.field public static final d:Le/a/j/m$c;
2019-07-31 00:08:31 +00:00
# direct methods
2019-12-06 03:29:40 +00:00
.method public static constructor <clinit>()V
2019-08-01 02:26:13 +00:00
.locals 1
2019-12-06 03:29:40 +00:00
new-instance v0, Le/a/j/m$c;
2019-08-01 02:26:13 +00:00
2019-12-06 03:29:40 +00:00
invoke-direct {v0}, Le/a/j/m$c;-><init>()V
2019-07-31 00:08:31 +00:00
2019-12-06 03:29:40 +00:00
sput-object v0, Le/a/j/m$c;->d:Le/a/j/m$c;
2019-08-01 02:26:13 +00:00
return-void
.end method
2019-07-31 00:08:31 +00:00
2019-12-06 03:29:40 +00:00
.method public constructor <init>()V
2019-08-01 02:26:13 +00:00
.locals 0
2019-07-31 00:08:31 +00:00
2019-08-01 02:26:13 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2019-07-31 00:08:31 +00:00
return-void
.end method
# virtual methods
2019-12-06 03:29:40 +00:00
.method public call(Ljava/lang/Object;)Ljava/lang/Object;
2019-08-01 02:26:13 +00:00
.locals 3
2019-07-31 00:08:31 +00:00
check-cast p1, Ljava/util/List;
2019-08-01 02:26:13 +00:00
const-string v0, "voiceUsers"
2019-12-13 02:35:12 +00:00
invoke-static {p1, v0}, Ls/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-08-01 02:26:13 +00:00
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
invoke-interface {p1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
move-result-object p1
:cond_0
:goto_0
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_1
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
move-object v2, v1
2019-12-13 02:35:12 +00:00
check-cast v2, Lcom/discord/stores/StoreVoiceParticipants$VoiceUser;
2019-08-01 02:26:13 +00:00
2019-12-13 02:35:12 +00:00
invoke-virtual {v2}, Lcom/discord/stores/StoreVoiceParticipants$VoiceUser;->isMe()Z
2019-08-01 02:26:13 +00:00
move-result v2
if-nez v2, :cond_0
invoke-interface {v0, v1}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
goto :goto_0
:cond_1
invoke-interface {v0}, Ljava/util/List;->size()I
move-result p1
const/4 v1, 0x3
if-gez p1, :cond_2
goto :goto_1
:cond_2
if-lt v1, p1, :cond_3
const/4 p1, 0x0
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p1
2019-12-06 03:29:40 +00:00
new-instance v1, Lkotlin/Pair;
2019-08-01 02:26:13 +00:00
2019-12-06 03:29:40 +00:00
invoke-direct {v1, v0, p1}, Lkotlin/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V
2019-08-01 02:26:13 +00:00
2019-12-06 03:29:40 +00:00
goto :goto_2
2019-08-01 02:26:13 +00:00
:cond_3
:goto_1
2019-12-13 02:35:12 +00:00
invoke-static {v0, v1}, Ls/q/l;->take(Ljava/lang/Iterable;I)Ljava/util/List;
2019-08-01 02:26:13 +00:00
move-result-object p1
invoke-interface {v0}, Ljava/util/List;->size()I
move-result v0
sub-int/2addr v0, v1
2019-07-31 00:08:31 +00:00
2019-08-01 02:26:13 +00:00
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
2019-07-31 00:08:31 +00:00
2019-08-01 02:26:13 +00:00
move-result-object v0
2019-07-31 00:08:31 +00:00
2019-12-06 03:29:40 +00:00
new-instance v1, Lkotlin/Pair;
2019-07-31 00:08:31 +00:00
2019-12-06 03:29:40 +00:00
invoke-direct {v1, p1, v0}, Lkotlin/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V
2019-07-31 00:08:31 +00:00
2019-12-06 03:29:40 +00:00
:goto_2
return-object v1
2019-07-31 00:08:31 +00:00
.end method