apkfuckery/com.discord/smali/kotlin/text/u$a.smali
2019-10-10 01:16:36 +02:00

124 lines
2.7 KiB
Smali

.class final Lkotlin/text/u$a;
.super Lkotlin/jvm/internal/m;
.source "Strings.kt"
# interfaces
.implements Lkotlin/jvm/functions/Function2;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lkotlin/text/u;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lkotlin/jvm/internal/m;",
"Lkotlin/jvm/functions/Function2<",
"Ljava/lang/CharSequence;",
"Ljava/lang/Integer;",
"Lkotlin/Pair<",
"+",
"Ljava/lang/Integer;",
"+",
"Ljava/lang/Integer;",
">;>;"
}
.end annotation
# instance fields
.field final synthetic $delimiters:[C
.field final synthetic $ignoreCase:Z
# direct methods
.method constructor <init>([CZ)V
.locals 0
iput-object p1, p0, Lkotlin/text/u$a;->$delimiters:[C
iput-boolean p2, p0, Lkotlin/text/u$a;->$ignoreCase:Z
const/4 p1, 0x2
invoke-direct {p0, p1}, Lkotlin/jvm/internal/m;-><init>(I)V
return-void
.end method
# virtual methods
.method public final synthetic invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p1, Ljava/lang/CharSequence;
check-cast p2, Ljava/lang/Number;
invoke-virtual {p2}, Ljava/lang/Number;->intValue()I
move-result p2
invoke-virtual {p0, p1, p2}, Lkotlin/text/u$a;->invoke(Ljava/lang/CharSequence;I)Lkotlin/Pair;
move-result-object p1
return-object p1
.end method
.method public final invoke(Ljava/lang/CharSequence;I)Lkotlin/Pair;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
"I)",
"Lkotlin/Pair<",
"Ljava/lang/Integer;",
"Ljava/lang/Integer;",
">;"
}
.end annotation
const-string v0, "$receiver"
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
iget-object v0, p0, Lkotlin/text/u$a;->$delimiters:[C
iget-boolean v1, p0, Lkotlin/text/u$a;->$ignoreCase:Z
invoke-static {p1, v0, p2, v1}, Lkotlin/text/l;->indexOfAny(Ljava/lang/CharSequence;[CIZ)I
move-result p1
if-gez p1, :cond_0
const/4 p1, 0x0
return-object p1
:cond_0
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p1
const/4 p2, 0x1
invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p2
invoke-static {p1, p2}, Lkotlin/q;->to(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;
move-result-object p1
return-object p1
.end method