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

131 lines
2.9 KiB
Smali
Raw Normal View History

2020-11-12 02:11:44 +00:00
.class public final Lf/a/b/j;
2020-11-16 01:00:50 +00:00
.super Lz/n/c/k;
2020-11-12 02:11:44 +00:00
.source "AppLog.kt"
# interfaces
.implements Lkotlin/jvm/functions/Function1;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
2020-11-16 01:00:50 +00:00
"Lz/n/c/k;",
2020-11-12 02:11:44 +00:00
"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
2020-11-16 01:00:50 +00:00
invoke-direct {p0, v0}, Lz/n/c/k;-><init>(I)V
2020-11-12 02:11:44 +00:00
return-void
.end method
# virtual methods
.method public invoke(Ljava/lang/Object;)Ljava/lang/Object;
2020-11-16 01:00:50 +00:00
.locals 8
2020-11-12 02:11:44 +00:00
check-cast p1, Lcom/discord/utilities/SystemLogUtils$Tombstone;
const-string v0, "crash"
2020-11-16 01:00:50 +00:00
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
invoke-virtual {p1}, Lcom/discord/utilities/SystemLogUtils$Tombstone;->getText()Ljava/lang/String;
move-result-object v0
const-string v1, "\n"
filled-new-array {v1}, [Ljava/lang/String;
move-result-object v1
const/4 v2, 0x0
const/4 v3, 0x6
2020-11-16 01:00:50 +00:00
invoke-static {v0, v1, v2, v2, v3}, Lz/t/p;->split$default(Ljava/lang/CharSequence;[Ljava/lang/String;ZII)Ljava/util/List;
2020-11-12 02:11:44 +00:00
move-result-object v0
invoke-interface {v0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
move-result-object v0
:goto_0
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_0
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
check-cast v1, Ljava/lang/String;
sget-object v2, Lcom/discord/app/AppLog;->e:Lcom/discord/app/AppLog;
const-string v3, "Tombstone"
invoke-virtual {v2, v1, v3}, Lcom/discord/app/AppLog;->recordBreadcrumb(Ljava/lang/String;Ljava/lang/String;)V
goto :goto_0
:cond_0
2020-11-16 01:00:50 +00:00
sget-object v0, Lcom/discord/app/AppLog;->e:Lcom/discord/app/AppLog;
2020-11-12 02:11:44 +00:00
invoke-virtual {p1}, Lcom/discord/utilities/SystemLogUtils$Tombstone;->getHash()Ljava/lang/String;
move-result-object p1
2020-11-16 01:00:50 +00:00
const-string v1, "Tombstone-Hash"
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
invoke-virtual {v0, p1, v1}, Lcom/discord/app/AppLog;->recordBreadcrumb(Ljava/lang/String;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
sget-object v2, Lcom/discord/app/AppLog;->e:Lcom/discord/app/AppLog;
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
const/4 v4, 0x0
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
const/4 v5, 0x0
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
const/4 v6, 0x6
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
const/4 v7, 0x0
const-string v3, "Tombstone"
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
invoke-static/range {v2 .. v7}, 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
2020-11-12 02:11:44 +00:00
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
return-object p1
.end method