apkfuckery/com.discord/smali_classes2/e0/o/c$a.smali
2020-02-20 20:33:18 +01:00

79 lines
1.4 KiB
Smali

.class public final Le0/o/c$a;
.super Ljava/lang/Object;
.source "SerializedObserver.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Le0/o/c;
.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
iget v0, p0, Le0/o/c$a;->b:I
iget-object v1, p0, Le0/o/c$a;->a:[Ljava/lang/Object;
if-nez v1, :cond_0
const/16 v1, 0x10
new-array v1, v1, [Ljava/lang/Object;
iput-object v1, p0, Le0/o/c$a;->a:[Ljava/lang/Object;
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
iput-object v2, p0, Le0/o/c$a;->a:[Ljava/lang/Object;
move-object v1, v2
:cond_1
:goto_0
aput-object p1, v1, v0
add-int/lit8 v0, v0, 0x1
iput v0, p0, Le0/o/c$a;->b:I
return-void
.end method