2019-12-06 03:29:40 +00:00
|
|
|
.class public final Le/a/b/g;
|
2020-02-20 19:33:18 +00:00
|
|
|
.super Lw/u/b/k;
|
2019-12-06 03:29:40 +00:00
|
|
|
.source "AppLog.kt"
|
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Lkotlin/jvm/functions/Function2;
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2020-02-20 19:33:18 +00:00
|
|
|
"Lw/u/b/k;",
|
2019-12-06 03:29:40 +00:00
|
|
|
"Lkotlin/jvm/functions/Function2<",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
"Ljava/lang/Integer;",
|
|
|
|
"Lkotlin/Unit;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field public final synthetic $priority:I
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>(I)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
iput p1, p0, Le/a/b/g;->$priority:I
|
|
|
|
|
|
|
|
const/4 p1, 0x2
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-direct {p0, p1}, Lw/u/b/k;-><init>(I)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
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}, Le/a/b/g;->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
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
sget-object v1, Lw/a0/u;->d:Lw/a0/u;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
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}, Le/e/b/a/a;->a(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}, Le/e/b/a/a;->a(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-interface {v1, v2}, Lkotlin/jvm/functions/Function1;->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 v0, p0, Le/a/b/g;->$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"
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_a
|
|
|
|
const-string p1, "msg"
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|