apkfuckery/com.discord/smali/com/esotericsoftware/a/a$a.smali
2019-02-17 01:24:05 +01:00

172 lines
3.9 KiB
Smali

.class public final Lcom/esotericsoftware/a/a$a;
.super Ljava/lang/Object;
.source "Log.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/esotericsoftware/a/a;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "a"
.end annotation
# instance fields
.field private Am:J
# 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
iput-wide v0, p0, Lcom/esotericsoftware/a/a$a;->Am:J
return-void
.end method
# virtual methods
.method public final b(ILjava/lang/String;Ljava/lang/String;)V
.locals 9
new-instance v0, Ljava/lang/StringBuilder;
const/16 v1, 0x100
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(I)V
new-instance v1, Ljava/util/Date;
invoke-direct {v1}, Ljava/util/Date;-><init>()V
invoke-virtual {v1}, Ljava/util/Date;->getTime()J
move-result-wide v1
iget-wide v3, p0, Lcom/esotericsoftware/a/a$a;->Am:J
sub-long/2addr v1, v3
const-wide/32 v3, 0xea60
div-long v3, v1, v3
const-wide/16 v5, 0x3e8
div-long/2addr v1, v5
const-wide/16 v5, 0x3c
rem-long/2addr v1, v5
const/16 v5, 0x30
const-wide/16 v6, 0x9
cmp-long v8, v3, v6
if-gtz v8, :cond_0
invoke-virtual {v0, v5}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
:cond_0
invoke-virtual {v0, v3, v4}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
const/16 v3, 0x3a
invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
cmp-long v3, v1, v6
if-gtz v3, :cond_1
invoke-virtual {v0, v5}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
:cond_1
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
packed-switch p1, :pswitch_data_0
goto :goto_0
:pswitch_0
const-string p1, " ERROR: "
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
goto :goto_0
:pswitch_1
const-string p1, " WARN: "
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
goto :goto_0
:pswitch_2
const-string p1, " INFO: "
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
goto :goto_0
:pswitch_3
const-string p1, " DEBUG: "
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
goto :goto_0
:pswitch_4
const-string p1, " TRACE: "
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
:goto_0
if-eqz p2, :cond_2
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_2
invoke-virtual {v0, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
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
:pswitch_data_0
.packed-switch 0x1
:pswitch_4
:pswitch_3
:pswitch_2
:pswitch_1
:pswitch_0
.end packed-switch
.end method