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

233 lines
4.5 KiB
Smali
Raw Normal View History

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