apkfuckery/com.discord/smali_classes2/kotlin/f/a.smali

81 lines
1.5 KiB
Smali
Raw Normal View History

2019-07-24 11:27:29 +00:00
.class public abstract Lkotlin/f/a;
.super Lkotlin/f/c;
.source "PlatformRandom.kt"
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Lkotlin/f/c;-><init>()V
return-void
.end method
# virtual methods
2019-10-09 23:16:36 +00:00
.method public abstract getImpl()Ljava/util/Random;
.end method
.method public nextBits(I)I
2019-07-24 11:27:29 +00:00
.locals 1
2019-10-09 23:16:36 +00:00
invoke-virtual {p0}, Lkotlin/f/a;->getImpl()Ljava/util/Random;
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
move-result-object v0
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
invoke-virtual {v0}, Ljava/util/Random;->nextInt()I
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
move-result v0
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
invoke-static {v0, p1}, Lkotlin/f/d;->takeUpperBits(II)I
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
move-result p1
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
return p1
2019-07-24 11:27:29 +00:00
.end method
2019-10-09 23:16:36 +00:00
.method public nextBytes([B)[B
2019-07-24 11:27:29 +00:00
.locals 1
2019-10-09 23:16:36 +00:00
const-string v0, "array"
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
invoke-virtual {p0}, Lkotlin/f/a;->getImpl()Ljava/util/Random;
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
move-result-object v0
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
invoke-virtual {v0, p1}, Ljava/util/Random;->nextBytes([B)V
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
return-object p1
2019-07-24 11:27:29 +00:00
.end method
2019-10-09 23:16:36 +00:00
.method public nextInt()I
2019-07-24 11:27:29 +00:00
.locals 1
2019-10-09 23:16:36 +00:00
invoke-virtual {p0}, Lkotlin/f/a;->getImpl()Ljava/util/Random;
2019-07-24 11:27:29 +00:00
move-result-object v0
invoke-virtual {v0}, Ljava/util/Random;->nextInt()I
move-result v0
return v0
.end method
2019-10-09 23:16:36 +00:00
.method public nextLong()J
2019-07-24 11:27:29 +00:00
.locals 2
2019-10-09 23:16:36 +00:00
invoke-virtual {p0}, Lkotlin/f/a;->getImpl()Ljava/util/Random;
2019-07-24 11:27:29 +00:00
move-result-object v0
invoke-virtual {v0}, Ljava/util/Random;->nextLong()J
move-result-wide v0
return-wide v0
.end method