apkfuckery/com.discord/smali_classes2/l0/l/a/m1$g.smali

94 lines
1.8 KiB
Smali
Raw Normal View History

2020-09-17 00:45:48 +00:00
.class public final Ll0/l/a/m1$g;
.super Ll0/l/a/m1$b;
2020-07-08 16:44:49 +00:00
.source "OperatorReplay.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
2020-09-17 00:45:48 +00:00
value = Ll0/l/a/m1;
2020-07-08 16:44:49 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "g"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
2020-09-17 00:45:48 +00:00
"Ll0/l/a/m1$b<",
2020-07-08 16:44:49 +00:00
"TT;>;"
}
.end annotation
# static fields
.field public static final serialVersionUID:J = -0x51dae9f17ccbb88eL
# instance fields
.field public final limit:I
# direct methods
.method public constructor <init>(I)V
.locals 0
2020-09-17 00:45:48 +00:00
invoke-direct {p0}, Ll0/l/a/m1$b;-><init>()V
2020-07-08 16:44:49 +00:00
2020-09-17 00:45:48 +00:00
iput p1, p0, Ll0/l/a/m1$g;->limit:I
2020-07-08 16:44:49 +00:00
return-void
.end method
# virtual methods
.method public a()V
.locals 2
2020-09-17 00:45:48 +00:00
iget v0, p0, Ll0/l/a/m1$b;->size:I
2020-07-08 16:44:49 +00:00
2020-09-17 00:45:48 +00:00
iget v1, p0, Ll0/l/a/m1$g;->limit:I
2020-07-08 16:44:49 +00:00
if-le v0, v1, :cond_1
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object v0
2020-09-17 00:45:48 +00:00
check-cast v0, Ll0/l/a/m1$d;
2020-07-08 16:44:49 +00:00
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object v0
2020-09-17 00:45:48 +00:00
check-cast v0, Ll0/l/a/m1$d;
2020-07-08 16:44:49 +00:00
if-eqz v0, :cond_0
2020-09-17 00:45:48 +00:00
iget v1, p0, Ll0/l/a/m1$b;->size:I
2020-07-08 16:44:49 +00:00
add-int/lit8 v1, v1, -0x1
2020-09-17 00:45:48 +00:00
iput v1, p0, Ll0/l/a/m1$b;->size:I
2020-07-08 16:44:49 +00:00
invoke-virtual {p0, v0}, Ljava/util/concurrent/atomic/AtomicReference;->set(Ljava/lang/Object;)V
goto :goto_0
:cond_0
new-instance v0, Ljava/lang/IllegalStateException;
const-string v1, "Empty list!"
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v0
:cond_1
:goto_0
return-void
.end method