apkfuckery/com.discord/smali_classes2/g0/o/c$a.smali

80 lines
1.4 KiB
Smali
Raw Normal View History

2020-05-11 19:22:21 +00:00
.class public final Lg0/o/c$a;
2019-07-24 11:27:29 +00:00
.super Ljava/lang/Object;
.source "SerializedObserver.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
2020-05-11 19:22:21 +00:00
value = Lg0/o/c;
2019-07-24 11:27:29 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
2019-12-06 03:29:40 +00:00
accessFlags = 0x19
2019-07-24 11:27:29 +00:00
name = "a"
.end annotation
# instance fields
2019-12-06 03:29:40 +00:00
.field public a:[Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public b:I
2019-07-24 11:27:29 +00:00
# direct methods
2019-12-06 03:29:40 +00:00
.method public constructor <init>()V
2019-07-24 11:27:29 +00:00
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
2019-12-06 03:29:40 +00:00
.method public a(Ljava/lang/Object;)V
2019-07-24 11:27:29 +00:00
.locals 4
2020-05-11 19:22:21 +00:00
iget v0, p0, Lg0/o/c$a;->b:I
2019-07-24 11:27:29 +00:00
2020-05-11 19:22:21 +00:00
iget-object v1, p0, Lg0/o/c$a;->a:[Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
if-nez v1, :cond_0
const/16 v1, 0x10
new-array v1, v1, [Ljava/lang/Object;
2020-05-11 19:22:21 +00:00
iput-object v1, p0, Lg0/o/c$a;->a:[Ljava/lang/Object;
2019-07-24 11:27:29 +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-05-11 19:22:21 +00:00
iput-object v2, p0, Lg0/o/c$a;->a:[Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
move-object v1, v2
:cond_1
:goto_0
aput-object p1, v1, v0
add-int/lit8 v0, v0, 0x1
2020-05-11 19:22:21 +00:00
iput v0, p0, Lg0/o/c$a;->b:I
2019-07-24 11:27:29 +00:00
return-void
.end method