apkfuckery/com.discord/smali/com/esotericsoftware/a/a$a.smali
2019-05-09 00:54:48 +02:00

181 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 Az: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;->Az: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;->Az: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;
const/4 v1, 0x1
if-eq p1, v1, :cond_6
const/4 v1, 0x2
if-eq p1, v1, :cond_5
const/4 v1, 0x3
if-eq p1, v1, :cond_4
const/4 v1, 0x4
if-eq p1, v1, :cond_3
const/4 v1, 0x5
if-eq p1, v1, :cond_2
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;
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