apkfuckery/com.discord/smali_classes2/okio/ByteString$a.smali

98 lines
1.8 KiB
Smali
Raw Normal View History

2020-05-17 12:40:10 +00:00
.class public final Lokio/ByteString$a;
.super Ljava/lang/Object;
.source "ByteString.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lokio/ByteString;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "a"
.end annotation
# direct methods
2020-07-08 16:44:49 +00:00
.method public constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
2020-05-17 12:40:10 +00:00
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
2020-07-08 16:44:49 +00:00
.method public static c(Lokio/ByteString$a;[BIII)Lokio/ByteString;
2020-09-16 21:45:36 +00:00
.locals 7
2020-07-08 16:44:49 +00:00
and-int/lit8 p0, p4, 0x1
2020-05-17 12:40:10 +00:00
2020-09-16 21:45:36 +00:00
const/4 v0, 0x0
2020-07-08 16:44:49 +00:00
if-eqz p0, :cond_0
2020-05-17 12:40:10 +00:00
const/4 p2, 0x0
:cond_0
2020-07-08 16:44:49 +00:00
and-int/lit8 p0, p4, 0x2
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
if-eqz p0, :cond_1
2020-05-17 12:40:10 +00:00
array-length p3, p1
:cond_1
2020-07-08 16:44:49 +00:00
array-length p0, p1
2020-05-17 12:40:10 +00:00
2020-09-16 21:45:36 +00:00
int-to-long v1, p0
2020-05-17 12:40:10 +00:00
2020-09-16 21:45:36 +00:00
int-to-long v3, p2
2020-05-17 12:40:10 +00:00
2020-09-16 21:45:36 +00:00
int-to-long v5, p3
2020-05-17 12:40:10 +00:00
2020-09-16 21:45:36 +00:00
invoke-static/range {v1 .. v6}, Lf/n/a/k/a;->t(JJJ)V
2020-05-17 12:40:10 +00:00
2020-09-16 21:45:36 +00:00
new-array p0, p3, [B
2020-05-17 12:40:10 +00:00
2020-09-16 21:45:36 +00:00
invoke-static {p1, p2, p0, v0, p3}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
2020-05-17 12:40:10 +00:00
new-instance p1, Lokio/ByteString;
2020-07-08 16:44:49 +00:00
invoke-direct {p1, p0}, Lokio/ByteString;-><init>([B)V
2020-05-17 12:40:10 +00:00
return-object p1
.end method
2020-07-08 16:44:49 +00:00
# virtual methods
.method public final a(Ljava/lang/String;)Lokio/ByteString;
2020-09-16 21:45:36 +00:00
.locals 0
2020-09-09 19:21:20 +00:00
2020-09-16 21:45:36 +00:00
invoke-static {p1}, Lp0/y/a;->c(Ljava/lang/String;)Lokio/ByteString;
2020-09-09 19:21:20 +00:00
move-result-object p1
2020-09-16 21:45:36 +00:00
return-object p1
2020-05-17 12:40:10 +00:00
.end method
.method public final b(Ljava/lang/String;)Lokio/ByteString;
2020-09-16 21:45:36 +00:00
.locals 0
2020-09-09 19:21:20 +00:00
2020-09-16 21:45:36 +00:00
if-eqz p1, :cond_0
2020-09-09 19:21:20 +00:00
2020-09-16 21:45:36 +00:00
invoke-static {p1}, Lp0/y/a;->d(Ljava/lang/String;)Lokio/ByteString;
2020-09-09 19:21:20 +00:00
2020-09-16 21:45:36 +00:00
move-result-object p1
2020-09-09 19:21:20 +00:00
2020-09-16 21:45:36 +00:00
return-object p1
2020-09-09 19:21:20 +00:00
2020-09-16 21:45:36 +00:00
:cond_0
const-string p1, "$receiver"
2020-09-08 08:16:32 +00:00
2020-09-16 21:45:36 +00:00
invoke-static {p1}, Lk0/n/c/h;->c(Ljava/lang/String;)V
2020-09-08 08:16:32 +00:00
2020-09-16 21:45:36 +00:00
const/4 p1, 0x0
2020-09-08 08:16:32 +00:00
2020-09-16 21:45:36 +00:00
throw p1
2020-05-17 12:40:10 +00:00
.end method