apkfuckery/com.discord/smali_classes2/s0/n/c$a.smali

80 lines
1.4 KiB
Smali
Raw Normal View History

2020-09-16 21:45:36 +00:00
.class public final Ls0/n/c$a;
2020-05-17 12:40:10 +00:00
.super Ljava/lang/Object;
.source "SerializedObserver.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
2020-09-16 21:45:36 +00:00
value = Ls0/n/c;
2020-05-17 12:40:10 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "a"
.end annotation
# instance fields
.field public a:[Ljava/lang/Object;
.field public b:I
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public a(Ljava/lang/Object;)V
.locals 4
2020-09-16 21:45:36 +00:00
iget v0, p0, Ls0/n/c$a;->b:I
2020-05-17 12:40:10 +00:00
2020-09-16 21:45:36 +00:00
iget-object v1, p0, Ls0/n/c$a;->a:[Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
if-nez v1, :cond_0
const/16 v1, 0x10
new-array v1, v1, [Ljava/lang/Object;
2020-09-16 21:45:36 +00:00
iput-object v1, p0, Ls0/n/c$a;->a:[Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
goto :goto_0
:cond_0
array-length v2, v1
if-ne v0, v2, :cond_1
shr-int/lit8 v2, v0, 0x2
add-int/2addr v2, v0
new-array v2, v2, [Ljava/lang/Object;
const/4 v3, 0x0
invoke-static {v1, v3, v2, v3, v0}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
2020-09-16 21:45:36 +00:00
iput-object v2, p0, Ls0/n/c$a;->a:[Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
move-object v1, v2
:cond_1
:goto_0
aput-object p1, v1, v0
add-int/lit8 v0, v0, 0x1
2020-09-16 21:45:36 +00:00
iput v0, p0, Ls0/n/c$a;->b:I
2020-05-17 12:40:10 +00:00
return-void
.end method