apkfuckery/com.discord/smali/e/c/a/p1.smali
2019-12-06 04:29:40 +01:00

221 lines
5 KiB
Smali

.class public Le/c/a/p1;
.super Ljava/lang/Object;
.source "SdkClickHandler.java"
# interfaces
.implements Le/c/a/y0;
# instance fields
.field public a:Z
.field public b:Le/c/a/u0;
.field public c:Le/c/a/n0;
.field public d:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Le/c/a/s;",
">;"
}
.end annotation
.end field
.field public e:Le/c/a/p0;
.field public f:Ljava/lang/ref/WeakReference;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/ref/WeakReference<",
"Le/c/a/s0;",
">;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Le/c/a/s0;Z)V
.locals 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
xor-int/lit8 p2, p2, 0x1
iput-boolean p2, p0, Le/c/a/p1;->a:Z
new-instance p2, Ljava/util/ArrayList;
invoke-direct {p2}, Ljava/util/ArrayList;-><init>()V
iput-object p2, p0, Le/c/a/p1;->d:Ljava/util/List;
new-instance p2, Ljava/lang/ref/WeakReference;
invoke-direct {p2, p1}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V
iput-object p2, p0, Le/c/a/p1;->f:Ljava/lang/ref/WeakReference;
invoke-static {}, Le/c/a/z;->a()Le/c/a/u0;
move-result-object p1
iput-object p1, p0, Le/c/a/p1;->b:Le/c/a/u0;
sget-object p1, Le/c/a/z;->h:Le/c/a/n0;
if-nez p1, :cond_0
sget-object p1, Le/c/a/n0;->e:Le/c/a/n0;
:cond_0
iput-object p1, p0, Le/c/a/p1;->c:Le/c/a/n0;
new-instance p1, Le/c/a/p0;
const/4 p2, 0x0
const-string v0, "SdkClickHandler"
invoke-direct {p1, v0, p2}, Le/c/a/p0;-><init>(Ljava/lang/String;Z)V
iput-object p1, p0, Le/c/a/p1;->e:Le/c/a/p0;
return-void
.end method
.method public static synthetic a(Le/c/a/p1;)V
.locals 2
iget-object v0, p0, Le/c/a/p1;->e:Le/c/a/p0;
new-instance v1, Le/c/a/r1;
invoke-direct {v1, p0}, Le/c/a/r1;-><init>(Le/c/a/p1;)V
iget-object p0, v0, Le/c/a/p0;->a:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
invoke-virtual {p0, v1}, Ljava/util/concurrent/ScheduledThreadPoolExecutor;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
return-void
.end method
# virtual methods
.method public a()V
.locals 2
const/4 v0, 0x0
iput-boolean v0, p0, Le/c/a/p1;->a:Z
iget-object v0, p0, Le/c/a/p1;->e:Le/c/a/p0;
new-instance v1, Le/c/a/r1;
invoke-direct {v1, p0}, Le/c/a/r1;-><init>(Le/c/a/p1;)V
iget-object v0, v0, Le/c/a/p0;->a:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
invoke-virtual {v0, v1}, Ljava/util/concurrent/ScheduledThreadPoolExecutor;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
return-void
.end method
.method public final a(Le/c/a/s;)V
.locals 4
invoke-virtual {p1}, Le/c/a/s;->n()I
move-result v0
iget-object v1, p0, Le/c/a/p1;->b:Le/c/a/u0;
const/4 v2, 0x1
new-array v2, v2, [Ljava/lang/Object;
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v0
const/4 v3, 0x0
aput-object v0, v2, v3
check-cast v1, Le/c/a/b1;
const-string v0, "Retrying sdk_click package for the %d time"
invoke-virtual {v1, v0, v2}, Le/c/a/b1;->b(Ljava/lang/String;[Ljava/lang/Object;)V
iget-object v0, p0, Le/c/a/p1;->e:Le/c/a/p0;
new-instance v1, Le/c/a/p1$a;
invoke-direct {v1, p0, p1}, Le/c/a/p1$a;-><init>(Le/c/a/p1;Le/c/a/s;)V
iget-object p1, v0, Le/c/a/p0;->a:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
invoke-virtual {p1, v1}, Ljava/util/concurrent/ScheduledThreadPoolExecutor;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
return-void
.end method
.method public final a(Le/c/a/s;Ljava/lang/String;Ljava/lang/Throwable;)V
.locals 1
invoke-virtual {p1}, Le/c/a/s;->g()Ljava/lang/String;
move-result-object p1
invoke-static {p2, p3}, Le/c/a/a2;->a(Ljava/lang/String;Ljava/lang/Throwable;)Ljava/lang/String;
move-result-object p2
const/4 p3, 0x2
new-array p3, p3, [Ljava/lang/Object;
const/4 v0, 0x0
aput-object p1, p3, v0
const/4 p1, 0x1
aput-object p2, p3, p1
const-string p1, "%s. (%s)"
invoke-static {p1, p3}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object p1
iget-object p2, p0, Le/c/a/p1;->b:Le/c/a/u0;
new-array p3, v0, [Ljava/lang/Object;
check-cast p2, Le/c/a/b1;
invoke-virtual {p2, p1, p3}, Le/c/a/b1;->b(Ljava/lang/String;[Ljava/lang/Object;)V
return-void
.end method
.method public b(Le/c/a/s;)V
.locals 2
iget-object v0, p0, Le/c/a/p1;->e:Le/c/a/p0;
new-instance v1, Le/c/a/p1$a;
invoke-direct {v1, p0, p1}, Le/c/a/p1$a;-><init>(Le/c/a/p1;Le/c/a/s;)V
iget-object p1, v0, Le/c/a/p0;->a:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
invoke-virtual {p1, v1}, Ljava/util/concurrent/ScheduledThreadPoolExecutor;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
return-void
.end method