apkfuckery/com.discord/smali_classes2/y/d.smali

259 lines
4.5 KiB
Smali
Raw Normal View History

2019-12-21 01:41:59 +00:00
.class public final Ly/d;
2020-03-26 05:26:27 +00:00
.super Ljava/lang/Object;
.source "KotlinVersion.kt"
2019-12-06 03:29:40 +00:00
# interfaces
2020-03-26 05:26:27 +00:00
.implements Ljava/lang/Comparable;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
2020-03-26 05:26:27 +00:00
"Ljava/lang/Object;",
"Ljava/lang/Comparable<",
"Ly/d;",
2020-02-20 19:33:18 +00:00
">;"
}
.end annotation
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
# static fields
2020-03-26 05:26:27 +00:00
.field public static final h:Ly/d;
# instance fields
.field public final d:I
.field public final e:I
.field public final f:I
.field public final g:I
2019-12-06 03:29:40 +00:00
# direct methods
2020-02-20 19:33:18 +00:00
.method public static constructor <clinit>()V
2020-03-26 05:26:27 +00:00
.locals 4
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
new-instance v0, Ly/d;
2019-12-06 03:29:40 +00:00
2020-03-26 05:26:27 +00:00
const/4 v1, 0x1
2019-12-06 03:29:40 +00:00
2020-03-26 05:26:27 +00:00
const/4 v2, 0x3
const/16 v3, 0x3d
invoke-direct {v0, v1, v2, v3}, Ly/d;-><init>(III)V
sput-object v0, Ly/d;->h:Ly/d;
2019-12-06 03:29:40 +00:00
return-void
.end method
2020-03-26 05:26:27 +00:00
.method public constructor <init>(III)V
.locals 2
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput p1, p0, Ly/d;->e:I
iput p2, p0, Ly/d;->f:I
iput p3, p0, Ly/d;->g:I
iget p1, p0, Ly/d;->e:I
iget p2, p0, Ly/d;->f:I
iget p3, p0, Ly/d;->g:I
if-gez p1, :cond_0
goto :goto_0
:cond_0
const/16 v0, 0xff
if-lt v0, p1, :cond_3
if-gez p2, :cond_1
2019-12-06 03:29:40 +00:00
2020-03-26 05:26:27 +00:00
goto :goto_0
2019-12-06 03:29:40 +00:00
2020-03-26 05:26:27 +00:00
:cond_1
if-lt v0, p2, :cond_3
if-gez p3, :cond_2
goto :goto_0
:cond_2
if-lt v0, p3, :cond_3
const/4 v0, 0x1
goto :goto_1
:cond_3
:goto_0
const/4 v0, 0x0
:goto_1
if-eqz v0, :cond_4
shl-int/lit8 p1, p1, 0x10
shl-int/lit8 p2, p2, 0x8
add-int/2addr p1, p2
add-int/2addr p1, p3
iput p1, p0, Ly/d;->d:I
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
return-void
2020-03-26 05:26:27 +00:00
:cond_4
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
const-string v1, "Version components are out of range: "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const/16 p1, 0x2e
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-virtual {v0, p3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
new-instance p2, Ljava/lang/IllegalArgumentException;
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {p2, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p2
2020-02-20 19:33:18 +00:00
.end method
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
# virtual methods
2020-03-26 05:26:27 +00:00
.method public compareTo(Ljava/lang/Object;)I
.locals 1
check-cast p1, Ly/d;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
if-eqz p1, :cond_0
2019-12-06 03:29:40 +00:00
2020-03-26 05:26:27 +00:00
iget v0, p0, Ly/d;->d:I
2019-12-06 03:29:40 +00:00
2020-03-26 05:26:27 +00:00
iget p1, p1, Ly/d;->d:I
sub-int/2addr v0, p1
2019-12-06 03:29:40 +00:00
2020-03-26 05:26:27 +00:00
return v0
2019-12-06 03:29:40 +00:00
:cond_0
2020-03-26 05:26:27 +00:00
const-string p1, "other"
2019-12-06 03:29:40 +00:00
2020-03-26 05:26:27 +00:00
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
const/4 p1, 0x0
throw p1
.end method
2020-03-26 05:26:27 +00:00
.method public equals(Ljava/lang/Object;)Z
.locals 3
2019-12-06 03:29:40 +00:00
2020-03-26 05:26:27 +00:00
const/4 v0, 0x1
2019-12-06 03:29:40 +00:00
2020-03-26 05:26:27 +00:00
if-ne p0, p1, :cond_0
2019-12-06 03:29:40 +00:00
2020-03-26 05:26:27 +00:00
return v0
2019-12-06 03:29:40 +00:00
2020-03-26 05:26:27 +00:00
:cond_0
instance-of v1, p1, Ly/d;
2019-12-06 03:29:40 +00:00
2020-03-26 05:26:27 +00:00
if-nez v1, :cond_1
2019-12-06 03:29:40 +00:00
2020-03-26 05:26:27 +00:00
const/4 p1, 0x0
:cond_1
check-cast p1, Ly/d;
const/4 v1, 0x0
if-eqz p1, :cond_3
iget v2, p0, Ly/d;->d:I
iget p1, p1, Ly/d;->d:I
if-ne v2, p1, :cond_2
goto :goto_0
:cond_2
const/4 v0, 0x0
:goto_0
return v0
:cond_3
return v1
.end method
.method public hashCode()I
.locals 1
iget v0, p0, Ly/d;->d:I
return v0
.end method
.method public toString()Ljava/lang/String;
.locals 3
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
iget v1, p0, Ly/d;->e:I
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const/16 v1, 0x2e
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
iget v2, p0, Ly/d;->f:I
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
iget v1, p0, Ly/d;->g:I
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
2019-12-06 03:29:40 +00:00
2020-03-26 05:26:27 +00:00
return-object v0
2019-12-06 03:29:40 +00:00
.end method