apkfuckery/com.discord/smali/e/i/a/a$a.smali

209 lines
4.6 KiB
Smali
Raw Normal View History

2019-12-06 03:29:40 +00:00
.class public Le/i/a/a$a;
2019-07-24 11:27:29 +00:00
.super Ljava/lang/Object;
.source "Log.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
2019-12-06 03:29:40 +00:00
value = Le/i/a/a;
2019-07-24 11:27:29 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "a"
.end annotation
# instance fields
2019-12-06 03:29:40 +00:00
.field public a:J
2019-07-24 11:27:29 +00:00
# direct methods
.method public constructor <init>()V
.locals 2
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
new-instance v0, Ljava/util/Date;
invoke-direct {v0}, Ljava/util/Date;-><init>()V
invoke-virtual {v0}, Ljava/util/Date;->getTime()J
move-result-wide v0
2019-12-06 03:29:40 +00:00
iput-wide v0, p0, Le/i/a/a$a;->a:J
2019-07-24 11:27:29 +00:00
return-void
.end method
# virtual methods
2019-12-06 03:29:40 +00:00
.method public a(ILjava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
.locals 10
2019-07-24 11:27:29 +00:00
new-instance v0, Ljava/lang/StringBuilder;
const/16 v1, 0x100
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(I)V
2019-12-06 03:29:40 +00:00
new-instance v2, Ljava/util/Date;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-direct {v2}, Ljava/util/Date;-><init>()V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v2}, Ljava/util/Date;->getTime()J
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-wide v2
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget-wide v4, p0, Le/i/a/a$a;->a:J
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
sub-long/2addr v2, v4
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const-wide/32 v4, 0xea60
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
div-long v4, v2, v4
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const-wide/16 v6, 0x3e8
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
div-long/2addr v2, v6
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const-wide/16 v6, 0x3c
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
rem-long/2addr v2, v6
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/16 v6, 0x30
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const-wide/16 v7, 0x9
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
cmp-long v9, v4, v7
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-gtz v9, :cond_0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v0, v6}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
:cond_0
2019-12-06 03:29:40 +00:00
invoke-virtual {v0, v4, v5}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/16 v4, 0x3a
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v0, v4}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
cmp-long v4, v2, v7
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-gtz v4, :cond_1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v0, v6}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
:cond_1
2019-12-06 03:29:40 +00:00
invoke-virtual {v0, v2, v3}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 v2, 0x1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eq p1, v2, :cond_6
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 v2, 0x2
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eq p1, v2, :cond_5
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 v2, 0x3
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eq p1, v2, :cond_4
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 v2, 0x4
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eq p1, v2, :cond_3
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 v2, 0x5
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eq p1, v2, :cond_2
2019-07-24 11:27:29 +00:00
goto :goto_0
:cond_2
const-string p1, " ERROR: "
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
goto :goto_0
:cond_3
const-string p1, " WARN: "
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
goto :goto_0
:cond_4
const-string p1, " INFO: "
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
goto :goto_0
:cond_5
const-string p1, " DEBUG: "
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
goto :goto_0
:cond_6
const-string p1, " TRACE: "
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
:goto_0
if-eqz p2, :cond_7
const/16 p1, 0x5b
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string p1, "] "
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
:cond_7
invoke-virtual {v0, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-12-06 03:29:40 +00:00
if-eqz p4, :cond_8
new-instance p1, Ljava/io/StringWriter;
invoke-direct {p1, v1}, Ljava/io/StringWriter;-><init>(I)V
new-instance p2, Ljava/io/PrintWriter;
invoke-direct {p2, p1}, Ljava/io/PrintWriter;-><init>(Ljava/io/Writer;)V
invoke-virtual {p4, p2}, Ljava/lang/Throwable;->printStackTrace(Ljava/io/PrintWriter;)V
const/16 p2, 0xa
invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-virtual {p1}, Ljava/io/StringWriter;->toString()Ljava/lang/String;
move-result-object p1
invoke-virtual {p1}, Ljava/lang/String;->trim()Ljava/lang/String;
move-result-object p1
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
:cond_8
2019-07-24 11:27:29 +00:00
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
sget-object p2, Ljava/lang/System;->out:Ljava/io/PrintStream;
invoke-virtual {p2, p1}, Ljava/io/PrintStream;->println(Ljava/lang/String;)V
return-void
.end method