apkfuckery/com.discord/smali/f/c/a/p1.smali
2020-04-17 19:35:24 +02:00

221 lines
5 KiB
Smali

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