apkfuckery/com.discord/smali/f/c/a/s1.smali
2020-07-25 02:57:47 +00:00

192 lines
4 KiB
Smali

.class public Lf/c/a/s1;
.super Ljava/lang/Object;
.source "SdkClickHandler.java"
# interfaces
.implements Lf/c/a/a1;
# instance fields
.field public a:Z
.field public b:Lf/c/a/w0;
.field public c:Lf/c/a/o0;
.field public d:Ljava/lang/String;
.field public e:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Lf/c/a/u;",
">;"
}
.end annotation
.end field
.field public f:Lf/c/a/f2/h;
.field public g:Ljava/lang/ref/WeakReference;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/ref/WeakReference<",
"Lf/c/a/u0;",
">;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lf/c/a/u0;Z)V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
invoke-virtual {p0, p1, p2}, Lf/c/a/s1;->a(Lf/c/a/u0;Z)V
invoke-static {}, Lf/c/a/a0;->a()Lf/c/a/w0;
move-result-object p1
iput-object p1, p0, Lf/c/a/s1;->b:Lf/c/a/w0;
sget-object p1, Lf/c/a/o0;->e:Lf/c/a/o0;
iput-object p1, p0, Lf/c/a/s1;->c:Lf/c/a/o0;
new-instance p1, Lf/c/a/f2/c;
const-string p2, "SdkClickHandler"
invoke-direct {p1, p2}, Lf/c/a/f2/c;-><init>(Ljava/lang/String;)V
iput-object p1, p0, Lf/c/a/s1;->f:Lf/c/a/f2/h;
return-void
.end method
# virtual methods
.method public a(Lf/c/a/u0;Z)V
.locals 0
xor-int/lit8 p2, p2, 0x1
iput-boolean p2, p0, Lf/c/a/s1;->a:Z
new-instance p2, Ljava/util/ArrayList;
invoke-direct {p2}, Ljava/util/ArrayList;-><init>()V
iput-object p2, p0, Lf/c/a/s1;->e: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/s1;->g:Ljava/lang/ref/WeakReference;
invoke-interface {p1}, Lf/c/a/u0;->a()Ljava/lang/String;
move-result-object p1
iput-object p1, p0, Lf/c/a/s1;->d:Ljava/lang/String;
return-void
.end method
.method public final b(Lf/c/a/u;Ljava/lang/String;Ljava/lang/Throwable;)V
.locals 1
invoke-virtual {p1}, Lf/c/a/u;->b()Ljava/lang/String;
move-result-object p1
invoke-static {p2, p3}, Lf/c/a/e2;->n(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}, Lf/c/a/e2;->d(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object p1
iget-object p2, p0, Lf/c/a/s1;->b:Lf/c/a/w0;
new-array p3, v0, [Ljava/lang/Object;
invoke-interface {p2, p1, p3}, Lf/c/a/w0;->e(Ljava/lang/String;[Ljava/lang/Object;)V
return-void
.end method
.method public final c(Lf/c/a/u;)V
.locals 4
iget v0, p1, Lf/c/a/u;->retries:I
const/4 v1, 0x1
add-int/2addr v0, v1
iput v0, p1, Lf/c/a/u;->retries:I
iget-object v2, p0, Lf/c/a/s1;->b:Lf/c/a/w0;
new-array v1, v1, [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, v1, v3
const-string v0, "Retrying sdk_click package for the %d time"
invoke-interface {v2, v0, v1}, Lf/c/a/w0;->e(Ljava/lang/String;[Ljava/lang/Object;)V
iget-object v0, p0, Lf/c/a/s1;->f:Lf/c/a/f2/h;
new-instance v1, Lf/c/a/s1$a;
invoke-direct {v1, p0, p1}, Lf/c/a/s1$a;-><init>(Lf/c/a/s1;Lf/c/a/u;)V
check-cast v0, Lf/c/a/f2/c;
invoke-virtual {v0, v1}, Lf/c/a/f2/c;->c(Ljava/lang/Runnable;)V
return-void
.end method
.method public d(Lf/c/a/u;)V
.locals 2
iget-object v0, p0, Lf/c/a/s1;->f:Lf/c/a/f2/h;
new-instance v1, Lf/c/a/s1$a;
invoke-direct {v1, p0, p1}, Lf/c/a/s1$a;-><init>(Lf/c/a/s1;Lf/c/a/u;)V
check-cast v0, Lf/c/a/f2/c;
invoke-virtual {v0, v1}, Lf/c/a/f2/c;->c(Ljava/lang/Runnable;)V
return-void
.end method