apkfuckery/com.discord/smali_classes2/y/s/l.smali

98 lines
1.9 KiB
Smali
Raw Normal View History

2020-11-21 22:11:07 +00:00
.class public final Ly/s/l;
.super Ly/m/c/k;
2020-11-13 19:18:44 +00:00
.source "Strings.kt"
2020-11-12 02:11:44 +00:00
# interfaces
2020-11-13 19:18:44 +00:00
.implements Lkotlin/jvm/functions/Function2;
2020-11-12 02:11:44 +00:00
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
2020-11-21 22:11:07 +00:00
"Ly/m/c/k;",
2020-11-13 19:18:44 +00:00
"Lkotlin/jvm/functions/Function2<",
"Ljava/lang/CharSequence;",
"Ljava/lang/Integer;",
"Lkotlin/Pair<",
"+",
"Ljava/lang/Integer;",
"+",
"Ljava/lang/Integer;",
">;>;"
2020-11-12 02:11:44 +00:00
}
.end annotation
2020-11-13 19:18:44 +00:00
# instance fields
.field public final synthetic $delimiters:[C
.field public final synthetic $ignoreCase:Z
2020-11-12 02:11:44 +00:00
# direct methods
2020-11-13 19:18:44 +00:00
.method public constructor <init>([CZ)V
.locals 0
2020-11-21 22:11:07 +00:00
iput-object p1, p0, Ly/s/l;->$delimiters:[C
2020-11-12 02:11:44 +00:00
2020-11-21 22:11:07 +00:00
iput-boolean p2, p0, Ly/s/l;->$ignoreCase:Z
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
const/4 p1, 0x2
2020-11-12 02:11:44 +00:00
2020-11-21 22:11:07 +00:00
invoke-direct {p0, p1}, Ly/m/c/k;-><init>(I)V
2020-11-12 02:11:44 +00:00
return-void
.end method
2020-11-13 19:18:44 +00:00
# virtual methods
.method public invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.locals 2
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
check-cast p1, Ljava/lang/CharSequence;
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
check-cast p2, Ljava/lang/Number;
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
invoke-virtual {p2}, Ljava/lang/Number;->intValue()I
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
move-result p2
const-string v0, "$receiver"
2020-11-21 22:11:07 +00:00
invoke-static {p1, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-13 19:18:44 +00:00
2020-11-21 22:11:07 +00:00
iget-object v0, p0, Ly/s/l;->$delimiters:[C
2020-11-12 02:11:44 +00:00
2020-11-21 22:11:07 +00:00
iget-boolean v1, p0, Ly/s/l;->$ignoreCase:Z
2020-11-12 02:11:44 +00:00
2020-11-21 22:11:07 +00:00
invoke-static {p1, v0, p2, v1}, Ly/s/p;->indexOfAny(Ljava/lang/CharSequence;[CIZ)I
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
move-result p1
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
if-gez p1, :cond_0
const/4 p1, 0x0
goto :goto_0
:cond_0
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
2020-11-12 02:11:44 +00:00
move-result-object p1
2020-11-13 19:18:44 +00:00
const/4 p2, 0x1
invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p2
new-instance v0, Lkotlin/Pair;
invoke-direct {v0, p1, p2}, Lkotlin/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V
move-object p1, v0
:goto_0
2020-11-12 02:11:44 +00:00
return-object p1
.end method