237 lines
5 KiB
Smali
237 lines
5 KiB
Smali
.class public final Lcom/discord/app/AppLog$a$a;
|
|
.super Lz/n/c/k;
|
|
.source "AppLog.kt"
|
|
|
|
# interfaces
|
|
.implements Lkotlin/jvm/functions/Function2;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/discord/app/AppLog$a;->invoke(Ljava/lang/String;)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lz/n/c/k;",
|
|
"Lkotlin/jvm/functions/Function2<",
|
|
"Ljava/lang/String;",
|
|
"Ljava/lang/Integer;",
|
|
"Lkotlin/Unit;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic this$0:Lcom/discord/app/AppLog$a;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/discord/app/AppLog$a;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/discord/app/AppLog$a$a;->this$0:Lcom/discord/app/AppLog$a;
|
|
|
|
const/4 p1, 0x2
|
|
|
|
invoke-direct {p0, p1}, Lz/n/c/k;-><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}, Lcom/discord/app/AppLog$a$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-string v0, "message"
|
|
|
|
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "$this$chunked"
|
|
|
|
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "$this$windowed"
|
|
|
|
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
sget-object v1, Lz/t/r;->d:Lz/t/r;
|
|
|
|
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string/jumbo v0, "transform"
|
|
|
|
invoke-static {v1, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
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/c/a/a;->l(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/c/a/a;->j(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}, Lz/t/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, Lcom/discord/app/AppLog$a$a;->this$0:Lcom/discord/app/AppLog$a;
|
|
|
|
iget v0, v0, Lcom/discord/app/AppLog$a;->$priority:I
|
|
|
|
sget-object v1, Lcom/discord/app/AppLog;->e: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
|
|
.end method
|