apkfuckery/com.discord/smali/f/a/b/h.smali
2020-09-09 19:21:20 +00:00

160 lines
4 KiB
Smali

.class public final Lf/a/b/h;
.super Lk0/n/c/j;
.source "AppLog.kt"
# interfaces
.implements Lkotlin/jvm/functions/Function3;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Lk0/n/c/j;",
"Lkotlin/jvm/functions/Function3<",
"Ljava/lang/Integer;",
"Ljava/lang/String;",
"Ljava/lang/Exception;",
"Lkotlin/Unit;",
">;"
}
.end annotation
# instance fields
.field public final synthetic $tag:Ljava/lang/String;
# direct methods
.method public constructor <init>(Ljava/lang/String;)V
.locals 0
iput-object p1, p0, Lf/a/b/h;->$tag:Ljava/lang/String;
const/4 p1, 0x3
invoke-direct {p0, p1}, Lk0/n/c/j;-><init>(I)V
return-void
.end method
# virtual methods
.method public invoke(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.locals 6
check-cast p1, Ljava/lang/Number;
invoke-virtual {p1}, Ljava/lang/Number;->intValue()I
move-result p1
check-cast p2, Ljava/lang/String;
move-object v2, p3
check-cast v2, Ljava/lang/Exception;
const-string p3, "message"
invoke-static {p2, p3}, Lk0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const/4 p3, 0x4
const/16 v0, 0x20
if-eq p1, p3, :cond_2
const/4 p3, 0x5
if-eq p1, p3, :cond_1
const/4 p3, 0x6
if-eq p1, p3, :cond_0
const/4 p3, 0x7
if-eq p1, p3, :cond_0
goto :goto_0
:cond_0
sget-object p1, Lcom/discord/app/AppLog;->d:Lcom/discord/app/AppLog;
new-instance p3, Ljava/lang/StringBuilder;
invoke-direct {p3}, Ljava/lang/StringBuilder;-><init>()V
iget-object v1, p0, Lf/a/b/h;->$tag:Ljava/lang/String;
invoke-virtual {p3, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p3, v0}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-virtual {p3, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
const/4 v3, 0x0
const/4 v4, 0x4
const/4 v5, 0x0
move-object v0, p1
invoke-static/range {v0 .. v5}, 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
goto :goto_0
:cond_1
sget-object p1, Lcom/discord/app/AppLog;->d:Lcom/discord/app/AppLog;
new-instance p3, Ljava/lang/StringBuilder;
invoke-direct {p3}, Ljava/lang/StringBuilder;-><init>()V
iget-object v1, p0, Lf/a/b/h;->$tag:Ljava/lang/String;
invoke-virtual {p3, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p3, v0}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-virtual {p3, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p2
invoke-virtual {p1, p2, v2}, Lcom/discord/app/AppLog;->w(Ljava/lang/String;Ljava/lang/Throwable;)V
goto :goto_0
:cond_2
sget-object p1, Lcom/discord/app/AppLog;->d:Lcom/discord/app/AppLog;
new-instance p3, Ljava/lang/StringBuilder;
invoke-direct {p3}, Ljava/lang/StringBuilder;-><init>()V
iget-object v1, p0, Lf/a/b/h;->$tag:Ljava/lang/String;
invoke-virtual {p3, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p3, v0}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-virtual {p3, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p2
invoke-virtual {p1, p2, v2}, Lcom/discord/app/AppLog;->i(Ljava/lang/String;Ljava/lang/Throwable;)V
:goto_0
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
return-object p1
.end method