apkfuckery/com.discord/smali/kotlin/c/c.smali

89 lines
1.3 KiB
Smali
Raw Normal View History

2019-07-24 11:27:29 +00:00
.class public final Lkotlin/c/c;
.super Ljava/lang/Object;
.source "progressionUtil.kt"
# direct methods
2019-10-07 23:23:22 +00:00
.method private static final Q(II)I
2019-07-24 11:27:29 +00:00
.locals 0
rem-int/2addr p0, p1
if-ltz p0, :cond_0
return p0
:cond_0
add-int/2addr p0, p1
return p0
.end method
2019-10-09 23:16:36 +00:00
.method public static final getProgressionLastElement(III)I
.locals 0
if-lez p2, :cond_1
if-lt p0, p1, :cond_0
return p1
:cond_0
invoke-static {p1, p0, p2}, Lkotlin/c/c;->j(III)I
move-result p0
sub-int/2addr p1, p0
return p1
:cond_1
if-gez p2, :cond_3
if-gt p0, p1, :cond_2
return p1
:cond_2
neg-int p2, p2
invoke-static {p0, p1, p2}, Lkotlin/c/c;->j(III)I
move-result p0
add-int/2addr p1, p0
return p1
:cond_3
new-instance p0, Ljava/lang/IllegalArgumentException;
const-string p1, "Step is zero."
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
check-cast p0, Ljava/lang/Throwable;
throw p0
.end method
.method private static final j(III)I
2019-07-24 11:27:29 +00:00
.locals 0
2019-10-07 23:23:22 +00:00
invoke-static {p0, p2}, Lkotlin/c/c;->Q(II)I
2019-07-24 11:27:29 +00:00
move-result p0
2019-10-07 23:23:22 +00:00
invoke-static {p1, p2}, Lkotlin/c/c;->Q(II)I
2019-07-24 11:27:29 +00:00
move-result p1
sub-int/2addr p0, p1
2019-10-07 23:23:22 +00:00
invoke-static {p0, p2}, Lkotlin/c/c;->Q(II)I
2019-07-24 11:27:29 +00:00
move-result p0
return p0
.end method