apkfuckery/com.discord/smali/f/c/a/g0.smali

233 lines
4.5 KiB
Smali
Raw Normal View History

2020-05-17 12:40:10 +00:00
.class public Lf/c/a/g0;
.super Ljava/lang/Object;
2020-07-25 02:57:47 +00:00
.source "AdjustSigner.java"
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
# static fields
.field public static volatile a:Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
# direct methods
2020-07-25 02:57:47 +00:00
.method public constructor <init>()V
2020-07-08 16:44:49 +00:00
.locals 0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2020-05-17 12:40:10 +00:00
return-void
.end method
2020-07-25 02:57:47 +00:00
.method public static a()V
.locals 3
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
sget-object v0, Lf/c/a/g0;->a:Ljava/lang/Object;
if-nez v0, :cond_2
const-class v0, Lf/c/a/g0;
monitor-enter v0
:try_start_0
sget-object v1, Lf/c/a/g0;->a:Ljava/lang/Object;
if-nez v1, :cond_1
const-string v1, "com.adjust.sdk.sig.Signer"
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_2
const/4 v2, 0x0
:try_start_1
invoke-static {v1}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;
move-result-object v1
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
goto :goto_0
:catchall_0
move-object v1, v2
:goto_0
if-nez v1, :cond_0
goto :goto_1
:cond_0
:try_start_2
invoke-virtual {v1}, Ljava/lang/Class;->newInstance()Ljava/lang/Object;
move-result-object v2
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_1
:catchall_1
:goto_1
:try_start_3
sput-object v2, Lf/c/a/g0;->a:Ljava/lang/Object;
:cond_1
monitor-exit v0
goto :goto_2
:catchall_2
move-exception v1
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
monitor-exit v0
:try_end_3
.catchall {:try_start_3 .. :try_end_3} :catchall_2
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
throw v1
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
:cond_2
:goto_2
return-void
.end method
.method public static b(Lf/c/a/w0;)V
.locals 5
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
invoke-static {}, Lf/c/a/g0;->a()V
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
sget-object v0, Lf/c/a/g0;->a:Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
if-nez v0, :cond_0
return-void
:cond_0
2020-07-25 02:57:47 +00:00
const/4 v0, 0x0
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
:try_start_0
sget-object v1, Lf/c/a/g0;->a:Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
const-string v2, "onResume"
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
const/4 v3, 0x0
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
new-array v4, v0, [Ljava/lang/Object;
2020-11-09 19:03:49 +00:00
invoke-static {v1, v2, v3, v4}, Ls/a/b/b/a;->I(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object;
2020-07-25 02:57:47 +00:00
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
goto :goto_0
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
:catch_0
move-exception v1
const/4 v2, 0x1
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
new-array v2, v2, [Ljava/lang/Object;
invoke-virtual {v1}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
move-result-object v1
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
aput-object v1, v2, v0
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
const-string v0, "Invoking Signer onResume() received an error [%s]"
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
invoke-interface {p0, v0, v2}, Lf/c/a/w0;->d(Ljava/lang/String;[Ljava/lang/Object;)V
:goto_0
return-void
.end method
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
.method public static c(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;Landroid/content/Context;Lf/c/a/w0;)V
.locals 9
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Map<",
"Ljava/lang/String;",
"Ljava/lang/String;",
">;",
"Ljava/lang/String;",
"Ljava/lang/String;",
"Landroid/content/Context;",
"Lf/c/a/w0;",
")V"
}
.end annotation
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
const-class v0, Ljava/lang/String;
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
invoke-static {}, Lf/c/a/g0;->a()V
sget-object v1, Lf/c/a/g0;->a:Ljava/lang/Object;
if-nez v1, :cond_0
return-void
:cond_0
const/4 v1, 0x1
const/4 v2, 0x0
const/4 v3, 0x2
:try_start_0
sget-object v4, Lf/c/a/g0;->a:Ljava/lang/Object;
const-string v5, "sign"
const/4 v6, 0x4
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
new-array v7, v6, [Ljava/lang/Class;
const-class v8, Landroid/content/Context;
aput-object v8, v7, v2
const-class v8, Ljava/util/Map;
aput-object v8, v7, v1
aput-object v0, v7, v3
const/4 v8, 0x3
aput-object v0, v7, v8
new-array v0, v6, [Ljava/lang/Object;
aput-object p3, v0, v2
aput-object p0, v0, v1
aput-object p1, v0, v3
aput-object p2, v0, v8
2020-11-09 19:03:49 +00:00
invoke-static {v4, v5, v7, v0}, Ls/a/b/b/a;->I(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object;
2020-07-25 02:57:47 +00:00
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
goto :goto_0
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
:catch_0
move-exception p0
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
new-array p2, v3, [Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
aput-object p1, p2, v2
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
invoke-virtual {p0}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
move-result-object p0
aput-object p0, p2, v1
const-string p0, "Invoking Signer sign() for %s received an error [%s]"
invoke-interface {p4, p0, p2}, Lf/c/a/w0;->d(Ljava/lang/String;[Ljava/lang/Object;)V
:goto_0
2020-05-17 12:40:10 +00:00
return-void
.end method