apkfuckery/com.discord/smali/com/esotericsoftware/a/a$a.smali

173 lines
3.9 KiB
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class public final Lcom/esotericsoftware/a/a$a;
.super Ljava/lang/Object;
2019-02-04 20:29:01 +00:00
.source "Log.java"
2019-02-04 20:08:30 +00:00
# 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
2019-04-18 05:08:29 +00:00
.field private AT:J
2019-02-04 20:08:30 +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-04-18 05:08:29 +00:00
iput-wide v0, p0, Lcom/esotericsoftware/a/a$a;->AT:J
2019-02-04 20:08:30 +00:00
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
2019-04-18 05:08:29 +00:00
iget-wide v3, p0, Lcom/esotericsoftware/a/a$a;->AT:J
2019-02-04 20:08:30 +00:00
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
2019-02-04 20:29:01 +00:00
goto :goto_0
2019-02-04 20:08:30 +00:00
:pswitch_0
const-string p1, " ERROR: "
2019-02-04 20:29:01 +00:00
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-02-04 20:08:30 +00:00
goto :goto_0
:pswitch_1
const-string p1, " WARN: "
2019-02-04 20:29:01 +00:00
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-02-04 20:08:30 +00:00
goto :goto_0
:pswitch_2
const-string p1, " INFO: "
2019-02-04 20:29:01 +00:00
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-02-04 20:08:30 +00:00
goto :goto_0
:pswitch_3
const-string p1, " DEBUG: "
2019-02-04 20:29:01 +00:00
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-02-04 20:08:30 +00:00
goto :goto_0
:pswitch_4
const-string p1, " TRACE: "
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-02-04 20:29:01 +00:00
:goto_0
2019-02-04 20:08:30 +00:00
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