apkfuckery/com.discord/smali/androidx/core/text/util/FindAddress$ZipRange.smali
2019-07-31 02:08:31 +02:00

88 lines
1.7 KiB
Smali

.class Landroidx/core/text/util/FindAddress$ZipRange;
.super Ljava/lang/Object;
.source "FindAddress.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/core/text/util/FindAddress;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x8
name = "ZipRange"
.end annotation
# instance fields
.field mException1:I
.field mException2:I
.field mHigh:I
.field mLow:I
# direct methods
.method constructor <init>(IIII)V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput p1, p0, Landroidx/core/text/util/FindAddress$ZipRange;->mLow:I
iput p2, p0, Landroidx/core/text/util/FindAddress$ZipRange;->mHigh:I
iput p3, p0, Landroidx/core/text/util/FindAddress$ZipRange;->mException1:I
iput p4, p0, Landroidx/core/text/util/FindAddress$ZipRange;->mException2:I
return-void
.end method
# virtual methods
.method matches(Ljava/lang/String;)Z
.locals 2
const/4 v0, 0x0
const/4 v1, 0x2
invoke-virtual {p1, v0, v1}, Ljava/lang/String;->substring(II)Ljava/lang/String;
move-result-object p1
invoke-static {p1}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
move-result p1
iget v1, p0, Landroidx/core/text/util/FindAddress$ZipRange;->mLow:I
if-gt v1, p1, :cond_0
iget v1, p0, Landroidx/core/text/util/FindAddress$ZipRange;->mHigh:I
if-le p1, v1, :cond_2
:cond_0
iget v1, p0, Landroidx/core/text/util/FindAddress$ZipRange;->mException1:I
if-eq p1, v1, :cond_2
iget v1, p0, Landroidx/core/text/util/FindAddress$ZipRange;->mException2:I
if-ne p1, v1, :cond_1
goto :goto_0
:cond_1
return v0
:cond_2
:goto_0
const/4 p1, 0x1
return p1
.end method