apkfuckery/com.discord/smali/f/a/k/c.smali

124 lines
2.7 KiB
Smali
Raw Normal View History

2020-11-12 23:15:09 +00:00
.class public final Lf/a/k/c;
.super Lz/n/c/k;
.source "TooltipManager.kt"
2020-11-12 02:11:44 +00:00
# interfaces
2020-11-12 23:15:09 +00:00
.implements Lkotlin/jvm/functions/Function1;
2020-11-12 02:11:44 +00:00
2020-11-12 23:15:09 +00:00
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Lz/n/c/k;",
"Lkotlin/jvm/functions/Function1<",
"Ljava/lang/Integer;",
"Lkotlin/Unit;",
">;"
}
.end annotation
# instance fields
.field public final synthetic this$0:Lcom/discord/tooltips/TooltipManager;
2020-11-12 02:11:44 +00:00
# direct methods
2020-11-12 23:15:09 +00:00
.method public constructor <init>(Lcom/discord/tooltips/TooltipManager;)V
.locals 0
2020-11-12 02:11:44 +00:00
2020-11-12 23:15:09 +00:00
iput-object p1, p0, Lf/a/k/c;->this$0:Lcom/discord/tooltips/TooltipManager;
2020-11-12 02:11:44 +00:00
2020-11-12 23:15:09 +00:00
const/4 p1, 0x1
2020-11-12 02:11:44 +00:00
2020-11-12 23:15:09 +00:00
invoke-direct {p0, p1}, Lz/n/c/k;-><init>(I)V
2020-11-12 02:11:44 +00:00
return-void
.end method
2020-11-12 23:15:09 +00:00
# virtual methods
.method public invoke(Ljava/lang/Object;)Ljava/lang/Object;
.locals 5
2020-11-12 02:11:44 +00:00
2020-11-12 23:15:09 +00:00
check-cast p1, Ljava/lang/Number;
2020-11-12 02:11:44 +00:00
2020-11-12 23:15:09 +00:00
invoke-virtual {p1}, Ljava/lang/Number;->intValue()I
2020-11-12 02:11:44 +00:00
2020-11-12 23:15:09 +00:00
move-result p1
2020-11-12 02:11:44 +00:00
2020-11-12 23:15:09 +00:00
iget-object v0, p0, Lf/a/k/c;->this$0:Lcom/discord/tooltips/TooltipManager;
2020-11-12 02:11:44 +00:00
2020-11-12 23:15:09 +00:00
iget-object v1, v0, Lcom/discord/tooltips/TooltipManager;->a:Ljava/util/Map;
new-instance v2, Ljava/util/LinkedHashMap;
invoke-direct {v2}, Ljava/util/LinkedHashMap;-><init>()V
invoke-interface {v1}, Ljava/util/Map;->entrySet()Ljava/util/Set;
move-result-object v1
invoke-interface {v1}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
move-result-object v1
:cond_0
:goto_0
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
move-result v3
if-eqz v3, :cond_2
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v3
check-cast v3, Ljava/util/Map$Entry;
invoke-interface {v3}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
move-result-object v4
check-cast v4, Ljava/lang/Number;
invoke-virtual {v4}, Ljava/lang/Number;->intValue()I
move-result v4
if-eq v4, p1, :cond_1
const/4 v4, 0x1
goto :goto_1
:cond_1
const/4 v4, 0x0
:goto_1
if-eqz v4, :cond_0
invoke-interface {v3}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;
move-result-object v4
invoke-interface {v3}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
move-result-object v3
invoke-virtual {v2, v4, v3}, Ljava/util/LinkedHashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
goto :goto_0
:cond_2
invoke-static {v2}, Lf/h/a/f/f/n/f;->toMutableMap(Ljava/util/Map;)Ljava/util/Map;
move-result-object p1
iput-object p1, v0, Lcom/discord/tooltips/TooltipManager;->a:Ljava/util/Map;
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
return-object p1
2020-11-12 02:11:44 +00:00
.end method