apkfuckery/com.discord/smali_classes2/kotlin/b/b$a.smali

97 lines
1.9 KiB
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class public final Lkotlin/b/b$a;
.super Ljava/lang/Object;
2019-02-04 20:29:01 +00:00
.source "Comparisons.kt"
2019-02-04 20:08:30 +00:00
# interfaces
.implements Ljava/util/Comparator;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lkotlin/b/b;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Ljava/util/Comparator<",
"TT;>;"
}
.end annotation
# instance fields
2019-02-04 20:32:01 +00:00
.field final synthetic bca:[Lkotlin/jvm/functions/Function1;
2019-02-04 20:08:30 +00:00
# direct methods
.method public constructor <init>([Lkotlin/jvm/functions/Function1;)V
.locals 0
2019-02-04 20:32:01 +00:00
iput-object p1, p0, Lkotlin/b/b$a;->bca:[Lkotlin/jvm/functions/Function1;
2019-02-04 20:08:30 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final compare(Ljava/lang/Object;Ljava/lang/Object;)I
.locals 6
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;TT;)I"
}
.end annotation
2019-02-04 20:32:01 +00:00
iget-object v0, p0, Lkotlin/b/b$a;->bca:[Lkotlin/jvm/functions/Function1;
2019-02-04 20:08:30 +00:00
array-length v1, v0
const/4 v2, 0x0
const/4 v3, 0x0
:goto_0
if-ge v3, v1, :cond_1
aget-object v4, v0, v3
invoke-interface {v4, p1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v5
check-cast v5, Ljava/lang/Comparable;
invoke-interface {v4, p2}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v4
check-cast v4, Ljava/lang/Comparable;
invoke-static {v5, v4}, Lkotlin/b/a;->a(Ljava/lang/Comparable;Ljava/lang/Comparable;)I
move-result v4
if-eqz v4, :cond_0
return v4
:cond_0
add-int/lit8 v3, v3, 0x1
goto :goto_0
:cond_1
return v2
.end method