apkfuckery/com.discord/smali/f/a/b/j.smali
2020-09-18 17:51:47 +00:00

130 lines
2.8 KiB
Smali

.class public final Lf/a/b/j;
.super Lc0/n/c/j;
.source "AppLog.kt"
# interfaces
.implements Lkotlin/jvm/functions/Function1;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Lc0/n/c/j;",
"Lkotlin/jvm/functions/Function1<",
"Lcom/discord/utilities/SystemLogUtils$Tombstone;",
"Lkotlin/Unit;",
">;"
}
.end annotation
# static fields
.field public static final d:Lf/a/b/j;
# direct methods
.method public static constructor <clinit>()V
.locals 1
new-instance v0, Lf/a/b/j;
invoke-direct {v0}, Lf/a/b/j;-><init>()V
sput-object v0, Lf/a/b/j;->d:Lf/a/b/j;
return-void
.end method
.method public constructor <init>()V
.locals 1
const/4 v0, 0x1
invoke-direct {p0, v0}, Lc0/n/c/j;-><init>(I)V
return-void
.end method
# virtual methods
.method public invoke(Ljava/lang/Object;)Ljava/lang/Object;
.locals 9
check-cast p1, Lcom/discord/utilities/SystemLogUtils$Tombstone;
const-string v0, "crash"
invoke-static {p1, v0}, Lc0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {p1}, Lcom/discord/utilities/SystemLogUtils$Tombstone;->getText()Ljava/lang/String;
move-result-object p1
const-string v0, "\n"
filled-new-array {v0}, [Ljava/lang/String;
move-result-object v0
const/4 v1, 0x0
const/4 v2, 0x6
invoke-static {p1, v0, v1, v1, v2}, Lc0/t/p;->split$default(Ljava/lang/CharSequence;[Ljava/lang/String;ZII)Ljava/util/List;
move-result-object p1
invoke-static {p1}, Lf/h/a/f/e/n/f;->asReversed(Ljava/util/List;)Ljava/util/List;
move-result-object p1
check-cast p1, Lc0/i/c;
invoke-virtual {p1}, Lc0/i/c;->iterator()Ljava/util/Iterator;
move-result-object p1
:goto_0
move-object v0, p1
check-cast v0, Lc0/i/c$a;
invoke-virtual {v0}, Lc0/i/c$a;->hasNext()Z
move-result v1
if-eqz v1, :cond_0
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/lang/String;
sget-object v1, Lcom/discord/app/AppLog;->d:Lcom/discord/app/AppLog;
const-string v2, "Tombstone"
invoke-virtual {v1, v0, v2}, Lcom/discord/app/AppLog;->recordBreadcrumb(Ljava/lang/String;Ljava/lang/String;)V
goto :goto_0
:cond_0
sget-object v3, Lcom/discord/app/AppLog;->d:Lcom/discord/app/AppLog;
const/4 v5, 0x0
const/4 v6, 0x0
const/4 v7, 0x6
const/4 v8, 0x0
const-string v4, "Tombstone"
invoke-static/range {v3 .. v8}, Lcom/discord/utilities/logging/Logger;->e$default(Lcom/discord/utilities/logging/Logger;Ljava/lang/String;Ljava/lang/Throwable;Ljava/util/Map;ILjava/lang/Object;)V
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
return-object p1
.end method