apkfuckery/com.discord/smali/f/a/b/i.smali

228 lines
4.2 KiB
Smali
Raw Normal View History

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