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

131 lines
2.9 KiB
Smali
Raw Normal View History

2020-07-23 01:06:17 +00:00
.class public final Lf/a/b/j;
2020-10-05 23:18:16 +00:00
.super Lc0/n/c/k;
2020-09-02 04:07:20 +00:00
.source "AppLog.kt"
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
# interfaces
2020-09-02 04:07:20 +00:00
.implements Lkotlin/jvm/functions/Function1;
2020-05-17 12:40:10 +00:00
2020-09-02 04:07:20 +00:00
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
2020-10-05 23:18:16 +00:00
"Lc0/n/c/k;",
2020-09-02 04:07:20 +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;
2020-07-23 01:06:17 +00:00
2020-07-14 22:43:59 +00:00
# direct methods
2020-09-02 04:07:20 +00:00
.method public static constructor <clinit>()V
.locals 1
2020-07-23 01:06:17 +00:00
2020-09-02 04:07:20 +00:00
new-instance v0, Lf/a/b/j;
2020-07-23 01:06:17 +00:00
2020-09-02 04:07:20 +00:00
invoke-direct {v0}, Lf/a/b/j;-><init>()V
sput-object v0, Lf/a/b/j;->d:Lf/a/b/j;
2020-05-17 12:40:10 +00:00
2020-07-14 22:43:59 +00:00
return-void
.end method
2020-05-17 12:40:10 +00:00
2020-09-02 04:07:20 +00:00
.method public constructor <init>()V
2020-07-25 00:57:58 +00:00
.locals 1
2020-07-23 01:06:17 +00:00
2020-09-02 04:07:20 +00:00
const/4 v0, 0x1
2020-07-23 01:06:17 +00:00
2020-10-05 23:18:16 +00:00
invoke-direct {p0, v0}, Lc0/n/c/k;-><init>(I)V
2020-07-23 01:06:17 +00:00
return-void
2020-05-17 12:40:10 +00:00
.end method
2020-09-02 04:07:20 +00:00
# virtual methods
.method public invoke(Ljava/lang/Object;)Ljava/lang/Object;
2020-09-28 19:40:16 +00:00
.locals 8
2020-09-02 04:07:20 +00:00
check-cast p1, Lcom/discord/utilities/SystemLogUtils$Tombstone;
2020-09-16 23:45:23 +00:00
const-string v0, "crash"
2020-10-05 23:18:16 +00:00
invoke-static {p1, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-09-02 04:07:20 +00:00
invoke-virtual {p1}, Lcom/discord/utilities/SystemLogUtils$Tombstone;->getText()Ljava/lang/String;
move-result-object v0
2020-09-28 19:40:16 +00:00
const-string v1, "\n"
2020-09-02 04:07:20 +00:00
2020-09-28 19:40:16 +00:00
filled-new-array {v1}, [Ljava/lang/String;
2020-09-02 04:07:20 +00:00
2020-09-28 19:40:16 +00:00
move-result-object v1
2020-09-02 04:07:20 +00:00
2020-09-28 19:40:16 +00:00
const/4 v2, 0x0
2020-09-02 04:07:20 +00:00
2020-09-28 19:40:16 +00:00
const/4 v3, 0x6
2020-09-02 04:07:20 +00:00
2020-10-05 23:18:16 +00:00
invoke-static {v0, v1, v2, v2, v3}, Lc0/t/p;->split$default(Ljava/lang/CharSequence;[Ljava/lang/String;ZII)Ljava/util/List;
2020-09-02 04:07:20 +00:00
2020-09-28 19:40:16 +00:00
move-result-object v0
2020-09-02 04:07:20 +00:00
2020-09-28 19:40:16 +00:00
invoke-interface {v0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
2020-09-02 04:07:20 +00:00
2020-09-28 19:40:16 +00:00
move-result-object v0
2020-09-02 04:07:20 +00:00
:goto_0
2020-09-28 19:40:16 +00:00
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
2020-09-02 04:07:20 +00:00
move-result v1
if-eqz v1, :cond_0
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
2020-09-28 19:40:16 +00:00
move-result-object v1
2020-09-02 04:07:20 +00:00
2020-09-28 19:40:16 +00:00
check-cast v1, Ljava/lang/String;
2020-09-02 04:07:20 +00:00
2020-09-28 19:40:16 +00:00
sget-object v2, Lcom/discord/app/AppLog;->e:Lcom/discord/app/AppLog;
2020-09-02 04:07:20 +00:00
2020-09-28 19:40:16 +00:00
const-string v3, "Tombstone"
2020-09-02 04:07:20 +00:00
2020-09-28 19:40:16 +00:00
invoke-virtual {v2, v1, v3}, Lcom/discord/app/AppLog;->recordBreadcrumb(Ljava/lang/String;Ljava/lang/String;)V
2020-09-02 04:07:20 +00:00
goto :goto_0
:cond_0
2020-09-28 19:40:16 +00:00
sget-object v0, Lcom/discord/app/AppLog;->e:Lcom/discord/app/AppLog;
2020-09-02 04:07:20 +00:00
2020-09-28 19:40:16 +00:00
invoke-virtual {p1}, Lcom/discord/utilities/SystemLogUtils$Tombstone;->getHash()Ljava/lang/String;
move-result-object p1
2020-09-02 04:07:20 +00:00
2020-09-28 19:40:16 +00:00
const-string v1, "Tombstone-Hash"
invoke-virtual {v0, p1, v1}, Lcom/discord/app/AppLog;->recordBreadcrumb(Ljava/lang/String;Ljava/lang/String;)V
sget-object v2, Lcom/discord/app/AppLog;->e:Lcom/discord/app/AppLog;
const/4 v4, 0x0
const/4 v5, 0x0
2020-09-02 04:07:20 +00:00
2020-09-28 19:40:16 +00:00
const/4 v6, 0x6
2020-09-02 04:07:20 +00:00
2020-09-28 19:40:16 +00:00
const/4 v7, 0x0
2020-09-02 04:07:20 +00:00
2020-09-28 19:40:16 +00:00
const-string v3, "Tombstone"
2020-09-02 04:07:20 +00:00
2020-09-28 19:40:16 +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-09-02 04:07:20 +00:00
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
return-object p1
.end method