apkfuckery/com.discord/smali_classes2/m/a0/q.smali

122 lines
2.5 KiB
Smali
Raw Normal View History

2019-12-20 07:00:35 +00:00
.class public final Lm/a0/q;
.super Lm/u/b/k;
2019-07-24 11:27:29 +00:00
.source "Strings.kt"
# interfaces
.implements Lkotlin/jvm/functions/Function2;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
2019-12-20 07:00:35 +00:00
"Lm/u/b/k;",
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
2019-12-06 03:29:40 +00:00
.field public final synthetic $delimiters:[C
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public final synthetic $ignoreCase:Z
2019-07-24 11:27:29 +00:00
# direct methods
2019-12-06 03:29:40 +00:00
.method public constructor <init>([CZ)V
2019-07-24 11:27:29 +00:00
.locals 0
2019-12-20 07:00:35 +00:00
iput-object p1, p0, Lm/a0/q;->$delimiters:[C
2019-07-24 11:27:29 +00:00
2019-12-20 07:00:35 +00:00
iput-boolean p2, p0, Lm/a0/q;->$ignoreCase:Z
2019-07-24 11:27:29 +00:00
const/4 p1, 0x2
2019-12-20 07:00:35 +00:00
invoke-direct {p0, p1}, Lm/u/b/k;-><init>(I)V
2019-07-24 11:27:29 +00:00
return-void
.end method
# virtual methods
2019-12-06 03:29:40 +00:00
.method public bridge 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-12-20 07:00:35 +00:00
invoke-virtual {p0, p1, p2}, Lm/a0/q;->invoke(Ljava/lang/CharSequence;I)Lkotlin/Pair;
2019-10-09 23:16:36 +00:00
move-result-object p1
return-object p1
.end method
.method public final invoke(Ljava/lang/CharSequence;I)Lkotlin/Pair;
2019-12-06 03:29:40 +00:00
.locals 3
2019-10-09 23:16:36 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/CharSequence;",
"I)",
"Lkotlin/Pair<",
"Ljava/lang/Integer;",
"Ljava/lang/Integer;",
">;"
}
.end annotation
2019-12-06 03:29:40 +00:00
const/4 v0, 0x0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eqz p1, :cond_1
2019-07-24 11:27:29 +00:00
2019-12-20 07:00:35 +00:00
iget-object v1, p0, Lm/a0/q;->$delimiters:[C
2019-07-24 11:27:29 +00:00
2019-12-20 07:00:35 +00:00
iget-boolean v2, p0, Lm/a0/q;->$ignoreCase:Z
2019-07-24 11:27:29 +00:00
2019-12-20 07:00:35 +00:00
invoke-static {p1, v1, p2, v2}, Lm/a0/u;->indexOfAny(Ljava/lang/CharSequence;[CIZ)I
2019-07-24 11:27:29 +00:00
move-result p1
if-gez p1, :cond_0
2019-12-06 03:29:40 +00:00
goto :goto_0
2019-07-24 11:27:29 +00:00
: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
2019-12-06 03:29:40 +00:00
new-instance v0, Lkotlin/Pair;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-direct {v0, p1, p2}, Lkotlin/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
:goto_0
return-object v0
:cond_1
const-string p1, "$receiver"
2019-12-20 07:00:35 +00:00
invoke-static {p1}, Lm/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
2019-07-24 11:27:29 +00:00
.end method