apkfuckery/com.discord/smali_classes2/y/a0/g$b$a.smali
2020-03-27 23:23:51 +01:00

119 lines
2.5 KiB
Smali

.class public final Ly/a0/g$b$a;
.super Ly/u/b/k;
.source "Regex.kt"
# interfaces
.implements Lkotlin/jvm/functions/Function1;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Ly/a0/g$b;->iterator()Ljava/util/Iterator;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ly/u/b/k;",
"Lkotlin/jvm/functions/Function1<",
"Ljava/lang/Integer;",
"Ly/a0/d;",
">;"
}
.end annotation
# instance fields
.field public final synthetic this$0:Ly/a0/g$b;
# direct methods
.method public constructor <init>(Ly/a0/g$b;)V
.locals 0
iput-object p1, p0, Ly/a0/g$b$a;->this$0:Ly/a0/g$b;
const/4 p1, 0x1
invoke-direct {p0, p1}, Ly/u/b/k;-><init>(I)V
return-void
.end method
# virtual methods
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p1, Ljava/lang/Number;
invoke-virtual {p1}, Ljava/lang/Number;->intValue()I
move-result p1
invoke-virtual {p0, p1}, Ly/a0/g$b$a;->invoke(I)Ly/a0/d;
move-result-object p1
return-object p1
.end method
.method public final invoke(I)Ly/a0/d;
.locals 3
iget-object v0, p0, Ly/a0/g$b$a;->this$0:Ly/a0/g$b;
iget-object v1, v0, Ly/a0/g$b;->d:Ly/a0/g;
iget-object v1, v1, Ly/a0/g;->b:Ljava/util/regex/Matcher;
invoke-interface {v1, p1}, Ljava/util/regex/MatchResult;->start(I)I
move-result v2
invoke-interface {v1, p1}, Ljava/util/regex/MatchResult;->end(I)I
move-result v1
invoke-static {v2, v1}, Ly/x/f;->until(II)Lkotlin/ranges/IntRange;
move-result-object v1
invoke-virtual {v1}, Lkotlin/ranges/IntRange;->getStart()Ljava/lang/Integer;
move-result-object v2
invoke-virtual {v2}, Ljava/lang/Integer;->intValue()I
move-result v2
if-ltz v2, :cond_0
new-instance v2, Ly/a0/d;
iget-object v0, v0, Ly/a0/g$b;->d:Ly/a0/g;
iget-object v0, v0, Ly/a0/g;->b:Ljava/util/regex/Matcher;
invoke-interface {v0, p1}, Ljava/util/regex/MatchResult;->group(I)Ljava/lang/String;
move-result-object p1
const-string v0, "matchResult.group(index)"
invoke-static {p1, v0}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-direct {v2, p1, v1}, Ly/a0/d;-><init>(Ljava/lang/String;Lkotlin/ranges/IntRange;)V
goto :goto_0
:cond_0
const/4 v2, 0x0
:goto_0
return-object v2
.end method