apkfuckery/com.discord/smali/kotlin/text/u$b.smali

137 lines
3.1 KiB
Smali
Raw Normal View History

2019-07-24 11:27:29 +00:00
.class final Lkotlin/text/u$b;
2019-10-09 23:16:36 +00:00
.super Lkotlin/jvm/internal/m;
2019-07-24 11:27:29 +00:00
.source "Strings.kt"
# interfaces
.implements Lkotlin/jvm/functions/Function2;
# annotations
2019-10-09 23:16:36 +00:00
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lkotlin/text/u;
2019-07-24 11:27:29 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
2019-10-09 23:16:36 +00:00
"Lkotlin/jvm/internal/m;",
2019-07-24 11:27:29 +00:00
"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 $delimitersList:Ljava/util/List;
.field final synthetic $ignoreCase:Z
# direct methods
.method constructor <init>(Ljava/util/List;Z)V
.locals 0
iput-object p1, p0, Lkotlin/text/u$b;->$delimitersList:Ljava/util/List;
iput-boolean p2, p0, Lkotlin/text/u$b;->$ignoreCase:Z
const/4 p1, 0x2
2019-10-09 23:16:36 +00:00
invoke-direct {p0, p1}, Lkotlin/jvm/internal/m;-><init>(I)V
2019-07-24 11:27:29 +00:00
return-void
.end method
# virtual methods
.method public final synthetic invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
2019-10-09 23:16:36 +00:00
.locals 0
2019-07-24 11:27:29 +00:00
check-cast p1, Ljava/lang/CharSequence;
check-cast p2, Ljava/lang/Number;
invoke-virtual {p2}, Ljava/lang/Number;->intValue()I
move-result p2
2019-10-09 23:16:36 +00:00
invoke-virtual {p0, p1, p2}, Lkotlin/text/u$b;->invoke(Ljava/lang/CharSequence;I)Lkotlin/Pair;
2019-07-24 11:27:29 +00:00
move-result-object p1
2019-10-09 23:16:36 +00:00
return-object p1
.end method
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
.method public final invoke(Ljava/lang/CharSequence;I)Lkotlin/Pair;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
"I)",
"Lkotlin/Pair<",
"Ljava/lang/Integer;",
"Ljava/lang/Integer;",
">;"
}
.end annotation
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
const-string v0, "$receiver"
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
iget-object v0, p0, Lkotlin/text/u$b;->$delimitersList:Ljava/util/List;
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
check-cast v0, Ljava/util/Collection;
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
iget-boolean v1, p0, Lkotlin/text/u$b;->$ignoreCase:Z
2019-07-24 11:27:29 +00:00
const/4 v2, 0x0
2019-10-09 23:16:36 +00:00
invoke-static {p1, v0, p2, v1, v2}, Lkotlin/text/u;->access$findAnyOf(Ljava/lang/CharSequence;Ljava/util/Collection;IZZ)Lkotlin/Pair;
2019-07-24 11:27:29 +00:00
move-result-object p1
2019-10-09 23:16:36 +00:00
if-eqz p1, :cond_0
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
invoke-virtual {p1}, Lkotlin/Pair;->getFirst()Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
move-result-object p2
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
invoke-virtual {p1}, Lkotlin/Pair;->getSecond()Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
move-result-object p1
check-cast p1, Ljava/lang/String;
invoke-virtual {p1}, Ljava/lang/String;->length()I
move-result p1
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p1
2019-10-09 23:16:36 +00:00
invoke-static {p2, p1}, Lkotlin/q;->to(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;
2019-07-24 11:27:29 +00:00
move-result-object p1
return-object p1
2019-10-09 23:16:36 +00:00
:cond_0
const/4 p1, 0x0
return-object p1
2019-07-24 11:27:29 +00:00
.end method