239 lines
4.5 KiB
Smali
239 lines
4.5 KiB
Smali
|
.class public final Lf/a/b/i$a;
|
||
|
.super Lj0/o/c/i;
|
||
|
.source "AppLog.kt"
|
||
|
|
||
|
# interfaces
|
||
|
.implements Lkotlin/jvm/functions/Function2;
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||
|
value = Lf/a/b/i;->invoke(Ljava/lang/String;)V
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/InnerClass;
|
||
|
accessFlags = 0x19
|
||
|
name = null
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"Lj0/o/c/i;",
|
||
|
"Lkotlin/jvm/functions/Function2<",
|
||
|
"Ljava/lang/String;",
|
||
|
"Ljava/lang/Integer;",
|
||
|
"Lkotlin/Unit;",
|
||
|
">;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field public final synthetic this$0:Lf/a/b/i;
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method public constructor <init>(Lf/a/b/i;)V
|
||
|
.locals 0
|
||
|
|
||
|
iput-object p1, p0, Lf/a/b/i$a;->this$0:Lf/a/b/i;
|
||
|
|
||
|
const/4 p1, 0x2
|
||
|
|
||
|
invoke-direct {p0, p1}, Lj0/o/c/i;-><init>(I)V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public bridge synthetic invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
.locals 0
|
||
|
|
||
|
check-cast p1, Ljava/lang/String;
|
||
|
|
||
|
check-cast p2, Ljava/lang/Number;
|
||
|
|
||
|
invoke-virtual {p2}, Ljava/lang/Number;->intValue()I
|
||
|
|
||
|
move-result p2
|
||
|
|
||
|
invoke-virtual {p0, p1, p2}, Lf/a/b/i$a;->invoke(Ljava/lang/String;I)V
|
||
|
|
||
|
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
|
||
|
|
||
|
return-object p1
|
||
|
.end method
|
||
|
|
||
|
.method public final invoke(Ljava/lang/String;I)V
|
||
|
.locals 6
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
if-eqz p1, :cond_a
|
||
|
|
||
|
sget-object v1, Lj0/u/r;->d:Lj0/u/r;
|
||
|
|
||
|
if-eqz v1, :cond_9
|
||
|
|
||
|
const/4 v0, 0x1
|
||
|
|
||
|
const/4 v2, 0x0
|
||
|
|
||
|
if-lez p2, :cond_0
|
||
|
|
||
|
if-lez p2, :cond_0
|
||
|
|
||
|
const/4 v3, 0x1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
const/4 v3, 0x0
|
||
|
|
||
|
:goto_0
|
||
|
if-nez v3, :cond_2
|
||
|
|
||
|
const-string p1, " must be greater than zero."
|
||
|
|
||
|
if-eq p2, p2, :cond_1
|
||
|
|
||
|
const-string v0, "Both size "
|
||
|
|
||
|
const-string v1, " and step "
|
||
|
|
||
|
invoke-static {v0, p2, v1, p2, p1}, Lf/e/b/a/a;->k(Ljava/lang/String;ILjava/lang/String;ILjava/lang/String;)Ljava/lang/String;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_1
|
||
|
const-string v0, "size "
|
||
|
|
||
|
invoke-static {v0, p2, p1}, Lf/e/b/a/a;->i(Ljava/lang/String;ILjava/lang/String;)Ljava/lang/String;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
:goto_1
|
||
|
new-instance p2, Ljava/lang/IllegalArgumentException;
|
||
|
|
||
|
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
invoke-direct {p2, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw p2
|
||
|
|
||
|
:cond_2
|
||
|
invoke-interface {p1}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result v3
|
||
|
|
||
|
div-int v4, v3, p2
|
||
|
|
||
|
rem-int v5, v3, p2
|
||
|
|
||
|
if-nez v5, :cond_3
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
:cond_3
|
||
|
add-int/2addr v4, v0
|
||
|
|
||
|
new-instance v0, Ljava/util/ArrayList;
|
||
|
|
||
|
invoke-direct {v0, v4}, Ljava/util/ArrayList;-><init>(I)V
|
||
|
|
||
|
:goto_2
|
||
|
if-gez v2, :cond_4
|
||
|
|
||
|
goto :goto_5
|
||
|
|
||
|
:cond_4
|
||
|
if-le v3, v2, :cond_7
|
||
|
|
||
|
add-int v4, v2, p2
|
||
|
|
||
|
if-ltz v4, :cond_6
|
||
|
|
||
|
if-le v4, v3, :cond_5
|
||
|
|
||
|
goto :goto_3
|
||
|
|
||
|
:cond_5
|
||
|
move v5, v4
|
||
|
|
||
|
goto :goto_4
|
||
|
|
||
|
:cond_6
|
||
|
:goto_3
|
||
|
move v5, v3
|
||
|
|
||
|
:goto_4
|
||
|
invoke-interface {p1, v2, v5}, Ljava/lang/CharSequence;->subSequence(II)Ljava/lang/CharSequence;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
invoke-virtual {v1, v2}, Lj0/u/r;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
invoke-virtual {v0, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
||
|
|
||
|
move v2, v4
|
||
|
|
||
|
goto :goto_2
|
||
|
|
||
|
:cond_7
|
||
|
:goto_5
|
||
|
invoke-interface {v0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
:goto_6
|
||
|
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result p2
|
||
|
|
||
|
if-eqz p2, :cond_8
|
||
|
|
||
|
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object p2
|
||
|
|
||
|
check-cast p2, Ljava/lang/String;
|
||
|
|
||
|
iget-object v0, p0, Lf/a/b/i$a;->this$0:Lf/a/b/i;
|
||
|
|
||
|
iget v0, v0, Lf/a/b/i;->$priority:I
|
||
|
|
||
|
sget-object v1, Lcom/discord/app/AppLog;->c:Lcom/discord/app/AppLog;
|
||
|
|
||
|
invoke-virtual {v1}, Lcom/discord/utilities/logging/Logger;->getDefaultTag()Ljava/lang/String;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-static {v0, v1, p2}, Landroid/util/Log;->println(ILjava/lang/String;Ljava/lang/String;)I
|
||
|
|
||
|
goto :goto_6
|
||
|
|
||
|
:cond_8
|
||
|
return-void
|
||
|
|
||
|
:cond_9
|
||
|
const-string p1, "transform"
|
||
|
|
||
|
invoke-static {p1}, Lj0/o/c/h;->c(Ljava/lang/String;)V
|
||
|
|
||
|
throw v0
|
||
|
|
||
|
:cond_a
|
||
|
const-string p1, "message"
|
||
|
|
||
|
invoke-static {p1}, Lj0/o/c/h;->c(Ljava/lang/String;)V
|
||
|
|
||
|
throw v0
|
||
|
.end method
|