mirror of
https://github.com/XploitWizer-Community/XploitSPY.git
synced 2024-11-06 10:29:21 +08:00
2288 lines
42 KiB
Smali
2288 lines
42 KiB
Smali
|
.class public final Lb/w$a;
|
||
|
.super Ljava/lang/Object;
|
||
|
.source ""
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
||
|
value = Lb/w;
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/InnerClass;
|
||
|
accessFlags = 0x19
|
||
|
name = "a"
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/MemberClasses;
|
||
|
value = {
|
||
|
Lb/w$a$a;
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field a:Ljava/lang/String;
|
||
|
|
||
|
.field b:Ljava/lang/String;
|
||
|
|
||
|
.field c:Ljava/lang/String;
|
||
|
|
||
|
.field d:Ljava/lang/String;
|
||
|
|
||
|
.field e:I
|
||
|
|
||
|
.field final f:Ljava/util/List;
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"Ljava/util/List<",
|
||
|
"Ljava/lang/String;",
|
||
|
">;"
|
||
|
}
|
||
|
.end annotation
|
||
|
.end field
|
||
|
|
||
|
.field g:Ljava/util/List;
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"Ljava/util/List<",
|
||
|
"Ljava/lang/String;",
|
||
|
">;"
|
||
|
}
|
||
|
.end annotation
|
||
|
.end field
|
||
|
|
||
|
.field h:Ljava/lang/String;
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method public constructor <init>()V
|
||
|
.locals 2
|
||
|
|
||
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
const-string v0, ""
|
||
|
|
||
|
iput-object v0, p0, Lb/w$a;->b:Ljava/lang/String;
|
||
|
|
||
|
iput-object v0, p0, Lb/w$a;->c:Ljava/lang/String;
|
||
|
|
||
|
const/4 v1, -0x1
|
||
|
|
||
|
iput v1, p0, Lb/w$a;->e:I
|
||
|
|
||
|
new-instance v1, Ljava/util/ArrayList;
|
||
|
|
||
|
invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V
|
||
|
|
||
|
iput-object v1, p0, Lb/w$a;->f:Ljava/util/List;
|
||
|
|
||
|
iget-object v1, p0, Lb/w$a;->f:Ljava/util/List;
|
||
|
|
||
|
invoke-interface {v1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method private static a(Ljava/lang/String;II)Ljava/lang/String;
|
||
|
.locals 1
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
invoke-static {p0, p1, p2, v0}, Lb/w;->a(Ljava/lang/String;IIZ)Ljava/lang/String;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
const-string p1, ":"
|
||
|
|
||
|
invoke-virtual {p0, p1}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
if-eqz p1, :cond_3
|
||
|
|
||
|
const-string p1, "["
|
||
|
|
||
|
invoke-virtual {p0, p1}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
if-eqz p1, :cond_0
|
||
|
|
||
|
const-string p1, "]"
|
||
|
|
||
|
invoke-virtual {p0, p1}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
if-eqz p1, :cond_0
|
||
|
|
||
|
invoke-virtual {p0}, Ljava/lang/String;->length()I
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
const/4 p2, 0x1
|
||
|
|
||
|
sub-int/2addr p1, p2
|
||
|
|
||
|
invoke-static {p0, p2, p1}, Lb/w$a;->b(Ljava/lang/String;II)Ljava/net/InetAddress;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
invoke-virtual {p0}, Ljava/lang/String;->length()I
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
invoke-static {p0, v0, p1}, Lb/w$a;->b(Ljava/lang/String;II)Ljava/net/InetAddress;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
:goto_0
|
||
|
if-nez p0, :cond_1
|
||
|
|
||
|
const/4 p0, 0x0
|
||
|
|
||
|
return-object p0
|
||
|
|
||
|
:cond_1
|
||
|
invoke-virtual {p0}, Ljava/net/InetAddress;->getAddress()[B
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
array-length p1, p0
|
||
|
|
||
|
const/16 p2, 0x10
|
||
|
|
||
|
if-ne p1, p2, :cond_2
|
||
|
|
||
|
invoke-static {p0}, Lb/w$a;->a([B)Ljava/lang/String;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
|
||
|
:cond_2
|
||
|
new-instance p0, Ljava/lang/AssertionError;
|
||
|
|
||
|
invoke-direct {p0}, Ljava/lang/AssertionError;-><init>()V
|
||
|
|
||
|
throw p0
|
||
|
|
||
|
:cond_3
|
||
|
invoke-static {p0}, Lb/a/d;->a(Ljava/lang/String;)Ljava/lang/String;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method private static a([B)Ljava/lang/String;
|
||
|
.locals 8
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
const/4 v1, -0x1
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
const/4 v2, -0x1
|
||
|
|
||
|
const/4 v3, 0x0
|
||
|
|
||
|
:goto_0
|
||
|
array-length v4, p0
|
||
|
|
||
|
const/16 v5, 0x10
|
||
|
|
||
|
if-ge v1, v4, :cond_2
|
||
|
|
||
|
move v4, v1
|
||
|
|
||
|
:goto_1
|
||
|
if-ge v4, v5, :cond_0
|
||
|
|
||
|
aget-byte v6, p0, v4
|
||
|
|
||
|
if-nez v6, :cond_0
|
||
|
|
||
|
add-int/lit8 v6, v4, 0x1
|
||
|
|
||
|
aget-byte v6, p0, v6
|
||
|
|
||
|
if-nez v6, :cond_0
|
||
|
|
||
|
add-int/lit8 v4, v4, 0x2
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_0
|
||
|
sub-int v5, v4, v1
|
||
|
|
||
|
if-le v5, v3, :cond_1
|
||
|
|
||
|
move v2, v1
|
||
|
|
||
|
move v3, v5
|
||
|
|
||
|
:cond_1
|
||
|
add-int/lit8 v1, v4, 0x2
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_2
|
||
|
new-instance v1, Lc/e;
|
||
|
|
||
|
invoke-direct {v1}, Lc/e;-><init>()V
|
||
|
|
||
|
:cond_3
|
||
|
:goto_2
|
||
|
array-length v4, p0
|
||
|
|
||
|
if-ge v0, v4, :cond_6
|
||
|
|
||
|
const/16 v4, 0x3a
|
||
|
|
||
|
if-ne v0, v2, :cond_4
|
||
|
|
||
|
invoke-virtual {v1, v4}, Lc/e;->writeByte(I)Lc/e;
|
||
|
|
||
|
add-int/2addr v0, v3
|
||
|
|
||
|
if-ne v0, v5, :cond_3
|
||
|
|
||
|
invoke-virtual {v1, v4}, Lc/e;->writeByte(I)Lc/e;
|
||
|
|
||
|
goto :goto_2
|
||
|
|
||
|
:cond_4
|
||
|
if-lez v0, :cond_5
|
||
|
|
||
|
invoke-virtual {v1, v4}, Lc/e;->writeByte(I)Lc/e;
|
||
|
|
||
|
:cond_5
|
||
|
aget-byte v4, p0, v0
|
||
|
|
||
|
and-int/lit16 v4, v4, 0xff
|
||
|
|
||
|
shl-int/lit8 v4, v4, 0x8
|
||
|
|
||
|
add-int/lit8 v6, v0, 0x1
|
||
|
|
||
|
aget-byte v6, p0, v6
|
||
|
|
||
|
and-int/lit16 v6, v6, 0xff
|
||
|
|
||
|
or-int/2addr v4, v6
|
||
|
|
||
|
int-to-long v6, v4
|
||
|
|
||
|
invoke-virtual {v1, v6, v7}, Lc/e;->d(J)Lc/e;
|
||
|
|
||
|
add-int/lit8 v0, v0, 0x2
|
||
|
|
||
|
goto :goto_2
|
||
|
|
||
|
:cond_6
|
||
|
invoke-virtual {v1}, Lc/e;->n()Ljava/lang/String;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method private a(Ljava/lang/String;IIZZ)V
|
||
|
.locals 8
|
||
|
|
||
|
const-string v3, " \"<>^`{}|/\\?#"
|
||
|
|
||
|
const/4 v5, 0x0
|
||
|
|
||
|
const/4 v6, 0x0
|
||
|
|
||
|
const/4 v7, 0x1
|
||
|
|
||
|
move-object v0, p1
|
||
|
|
||
|
move v1, p2
|
||
|
|
||
|
move v2, p3
|
||
|
|
||
|
move v4, p5
|
||
|
|
||
|
invoke-static/range {v0 .. v7}, Lb/w;->a(Ljava/lang/String;IILjava/lang/String;ZZZZ)Ljava/lang/String;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
invoke-direct {p0, p1}, Lb/w$a;->f(Ljava/lang/String;)Z
|
||
|
|
||
|
move-result p2
|
||
|
|
||
|
if-eqz p2, :cond_0
|
||
|
|
||
|
return-void
|
||
|
|
||
|
:cond_0
|
||
|
invoke-direct {p0, p1}, Lb/w$a;->g(Ljava/lang/String;)Z
|
||
|
|
||
|
move-result p2
|
||
|
|
||
|
if-eqz p2, :cond_1
|
||
|
|
||
|
invoke-direct {p0}, Lb/w$a;->d()V
|
||
|
|
||
|
return-void
|
||
|
|
||
|
:cond_1
|
||
|
iget-object p2, p0, Lb/w$a;->f:Ljava/util/List;
|
||
|
|
||
|
invoke-interface {p2}, Ljava/util/List;->size()I
|
||
|
|
||
|
move-result p3
|
||
|
|
||
|
add-int/lit8 p3, p3, -0x1
|
||
|
|
||
|
invoke-interface {p2, p3}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object p2
|
||
|
|
||
|
check-cast p2, Ljava/lang/String;
|
||
|
|
||
|
invoke-virtual {p2}, Ljava/lang/String;->isEmpty()Z
|
||
|
|
||
|
move-result p2
|
||
|
|
||
|
if-eqz p2, :cond_2
|
||
|
|
||
|
iget-object p2, p0, Lb/w$a;->f:Ljava/util/List;
|
||
|
|
||
|
invoke-interface {p2}, Ljava/util/List;->size()I
|
||
|
|
||
|
move-result p3
|
||
|
|
||
|
add-int/lit8 p3, p3, -0x1
|
||
|
|
||
|
invoke-interface {p2, p3, p1}, Ljava/util/List;->set(ILjava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_2
|
||
|
iget-object p2, p0, Lb/w$a;->f:Ljava/util/List;
|
||
|
|
||
|
invoke-interface {p2, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
||
|
|
||
|
:goto_0
|
||
|
if-eqz p4, :cond_3
|
||
|
|
||
|
iget-object p1, p0, Lb/w$a;->f:Ljava/util/List;
|
||
|
|
||
|
const-string p2, ""
|
||
|
|
||
|
invoke-interface {p1, p2}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
||
|
|
||
|
:cond_3
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method private static a(Ljava/lang/String;II[BI)Z
|
||
|
.locals 7
|
||
|
|
||
|
move v0, p4
|
||
|
|
||
|
:goto_0
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
if-ge p1, p2, :cond_8
|
||
|
|
||
|
array-length v2, p3
|
||
|
|
||
|
if-ne v0, v2, :cond_0
|
||
|
|
||
|
return v1
|
||
|
|
||
|
:cond_0
|
||
|
if-eq v0, p4, :cond_2
|
||
|
|
||
|
invoke-virtual {p0, p1}, Ljava/lang/String;->charAt(I)C
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
const/16 v3, 0x2e
|
||
|
|
||
|
if-eq v2, v3, :cond_1
|
||
|
|
||
|
return v1
|
||
|
|
||
|
:cond_1
|
||
|
add-int/lit8 p1, p1, 0x1
|
||
|
|
||
|
:cond_2
|
||
|
move v2, p1
|
||
|
|
||
|
const/4 v3, 0x0
|
||
|
|
||
|
:goto_1
|
||
|
if-ge v2, p2, :cond_6
|
||
|
|
||
|
invoke-virtual {p0, v2}, Ljava/lang/String;->charAt(I)C
|
||
|
|
||
|
move-result v4
|
||
|
|
||
|
const/16 v5, 0x30
|
||
|
|
||
|
if-lt v4, v5, :cond_6
|
||
|
|
||
|
const/16 v6, 0x39
|
||
|
|
||
|
if-le v4, v6, :cond_3
|
||
|
|
||
|
goto :goto_2
|
||
|
|
||
|
:cond_3
|
||
|
if-nez v3, :cond_4
|
||
|
|
||
|
if-eq p1, v2, :cond_4
|
||
|
|
||
|
return v1
|
||
|
|
||
|
:cond_4
|
||
|
mul-int/lit8 v3, v3, 0xa
|
||
|
|
||
|
add-int/2addr v3, v4
|
||
|
|
||
|
sub-int/2addr v3, v5
|
||
|
|
||
|
const/16 v4, 0xff
|
||
|
|
||
|
if-le v3, v4, :cond_5
|
||
|
|
||
|
return v1
|
||
|
|
||
|
:cond_5
|
||
|
add-int/lit8 v2, v2, 0x1
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_6
|
||
|
:goto_2
|
||
|
sub-int p1, v2, p1
|
||
|
|
||
|
if-nez p1, :cond_7
|
||
|
|
||
|
return v1
|
||
|
|
||
|
:cond_7
|
||
|
add-int/lit8 p1, v0, 0x1
|
||
|
|
||
|
int-to-byte v1, v3
|
||
|
|
||
|
aput-byte v1, p3, v0
|
||
|
|
||
|
move v0, p1
|
||
|
|
||
|
move p1, v2
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_8
|
||
|
add-int/lit8 p4, p4, 0x4
|
||
|
|
||
|
if-eq v0, p4, :cond_9
|
||
|
|
||
|
return v1
|
||
|
|
||
|
:cond_9
|
||
|
const/4 p0, 0x1
|
||
|
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method private static b(Ljava/lang/String;II)Ljava/net/InetAddress;
|
||
|
.locals 10
|
||
|
|
||
|
const/16 v0, 0x10
|
||
|
|
||
|
new-array v0, v0, [B
|
||
|
|
||
|
const/4 v1, -0x1
|
||
|
|
||
|
const/4 v2, 0x0
|
||
|
|
||
|
const/4 v3, 0x0
|
||
|
|
||
|
const/4 v4, -0x1
|
||
|
|
||
|
const/4 v5, -0x1
|
||
|
|
||
|
:goto_0
|
||
|
const/4 v6, 0x0
|
||
|
|
||
|
if-ge p1, p2, :cond_c
|
||
|
|
||
|
array-length v7, v0
|
||
|
|
||
|
if-ne v3, v7, :cond_0
|
||
|
|
||
|
return-object v6
|
||
|
|
||
|
:cond_0
|
||
|
add-int/lit8 v7, p1, 0x2
|
||
|
|
||
|
if-gt v7, p2, :cond_3
|
||
|
|
||
|
const/4 v8, 0x2
|
||
|
|
||
|
const-string v9, "::"
|
||
|
|
||
|
invoke-virtual {p0, p1, v9, v2, v8}, Ljava/lang/String;->regionMatches(ILjava/lang/String;II)Z
|
||
|
|
||
|
move-result v8
|
||
|
|
||
|
if-eqz v8, :cond_3
|
||
|
|
||
|
if-eq v4, v1, :cond_1
|
||
|
|
||
|
return-object v6
|
||
|
|
||
|
:cond_1
|
||
|
add-int/lit8 v3, v3, 0x2
|
||
|
|
||
|
if-ne v7, p2, :cond_2
|
||
|
|
||
|
move v4, v3
|
||
|
|
||
|
goto :goto_6
|
||
|
|
||
|
:cond_2
|
||
|
move v4, v3
|
||
|
|
||
|
move v5, v7
|
||
|
|
||
|
goto :goto_2
|
||
|
|
||
|
:cond_3
|
||
|
if-eqz v3, :cond_7
|
||
|
|
||
|
const/4 v7, 0x1
|
||
|
|
||
|
const-string v8, ":"
|
||
|
|
||
|
invoke-virtual {p0, p1, v8, v2, v7}, Ljava/lang/String;->regionMatches(ILjava/lang/String;II)Z
|
||
|
|
||
|
move-result v8
|
||
|
|
||
|
if-eqz v8, :cond_4
|
||
|
|
||
|
add-int/lit8 p1, p1, 0x1
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_4
|
||
|
const-string v8, "."
|
||
|
|
||
|
invoke-virtual {p0, p1, v8, v2, v7}, Ljava/lang/String;->regionMatches(ILjava/lang/String;II)Z
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
if-eqz p1, :cond_6
|
||
|
|
||
|
add-int/lit8 p1, v3, -0x2
|
||
|
|
||
|
invoke-static {p0, v5, p2, v0, p1}, Lb/w$a;->a(Ljava/lang/String;II[BI)Z
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
if-nez p0, :cond_5
|
||
|
|
||
|
return-object v6
|
||
|
|
||
|
:cond_5
|
||
|
add-int/lit8 v3, v3, 0x2
|
||
|
|
||
|
goto :goto_6
|
||
|
|
||
|
:cond_6
|
||
|
return-object v6
|
||
|
|
||
|
:cond_7
|
||
|
:goto_1
|
||
|
move v5, p1
|
||
|
|
||
|
:goto_2
|
||
|
move p1, v5
|
||
|
|
||
|
const/4 v7, 0x0
|
||
|
|
||
|
:goto_3
|
||
|
if-ge p1, p2, :cond_9
|
||
|
|
||
|
invoke-virtual {p0, p1}, Ljava/lang/String;->charAt(I)C
|
||
|
|
||
|
move-result v8
|
||
|
|
||
|
invoke-static {v8}, Lb/w;->a(C)I
|
||
|
|
||
|
move-result v8
|
||
|
|
||
|
if-ne v8, v1, :cond_8
|
||
|
|
||
|
goto :goto_4
|
||
|
|
||
|
:cond_8
|
||
|
shl-int/lit8 v7, v7, 0x4
|
||
|
|
||
|
add-int/2addr v7, v8
|
||
|
|
||
|
add-int/lit8 p1, p1, 0x1
|
||
|
|
||
|
goto :goto_3
|
||
|
|
||
|
:cond_9
|
||
|
:goto_4
|
||
|
sub-int v8, p1, v5
|
||
|
|
||
|
if-eqz v8, :cond_b
|
||
|
|
||
|
const/4 v9, 0x4
|
||
|
|
||
|
if-le v8, v9, :cond_a
|
||
|
|
||
|
goto :goto_5
|
||
|
|
||
|
:cond_a
|
||
|
add-int/lit8 v6, v3, 0x1
|
||
|
|
||
|
ushr-int/lit8 v8, v7, 0x8
|
||
|
|
||
|
and-int/lit16 v8, v8, 0xff
|
||
|
|
||
|
int-to-byte v8, v8
|
||
|
|
||
|
aput-byte v8, v0, v3
|
||
|
|
||
|
add-int/lit8 v3, v6, 0x1
|
||
|
|
||
|
and-int/lit16 v7, v7, 0xff
|
||
|
|
||
|
int-to-byte v7, v7
|
||
|
|
||
|
aput-byte v7, v0, v6
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_b
|
||
|
:goto_5
|
||
|
return-object v6
|
||
|
|
||
|
:cond_c
|
||
|
:goto_6
|
||
|
array-length p0, v0
|
||
|
|
||
|
if-eq v3, p0, :cond_e
|
||
|
|
||
|
if-ne v4, v1, :cond_d
|
||
|
|
||
|
return-object v6
|
||
|
|
||
|
:cond_d
|
||
|
array-length p0, v0
|
||
|
|
||
|
sub-int p1, v3, v4
|
||
|
|
||
|
sub-int/2addr p0, p1
|
||
|
|
||
|
invoke-static {v0, v4, v0, p0, p1}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
|
||
|
|
||
|
array-length p0, v0
|
||
|
|
||
|
sub-int/2addr p0, v3
|
||
|
|
||
|
add-int/2addr p0, v4
|
||
|
|
||
|
invoke-static {v0, v4, p0, v2}, Ljava/util/Arrays;->fill([BIIB)V
|
||
|
|
||
|
:cond_e
|
||
|
:try_start_0
|
||
|
invoke-static {v0}, Ljava/net/InetAddress;->getByAddress([B)Ljava/net/InetAddress;
|
||
|
|
||
|
move-result-object p0
|
||
|
:try_end_0
|
||
|
.catch Ljava/net/UnknownHostException; {:try_start_0 .. :try_end_0} :catch_0
|
||
|
|
||
|
return-object p0
|
||
|
|
||
|
:catch_0
|
||
|
new-instance p0, Ljava/lang/AssertionError;
|
||
|
|
||
|
invoke-direct {p0}, Ljava/lang/AssertionError;-><init>()V
|
||
|
|
||
|
goto :goto_8
|
||
|
|
||
|
:goto_7
|
||
|
throw p0
|
||
|
|
||
|
:goto_8
|
||
|
goto :goto_7
|
||
|
.end method
|
||
|
|
||
|
.method private static c(Ljava/lang/String;II)I
|
||
|
.locals 9
|
||
|
|
||
|
const/4 v0, -0x1
|
||
|
|
||
|
:try_start_0
|
||
|
const-string v4, ""
|
||
|
|
||
|
const/4 v5, 0x0
|
||
|
|
||
|
const/4 v6, 0x0
|
||
|
|
||
|
const/4 v7, 0x0
|
||
|
|
||
|
const/4 v8, 0x1
|
||
|
|
||
|
move-object v1, p0
|
||
|
|
||
|
move v2, p1
|
||
|
|
||
|
move v3, p2
|
||
|
|
||
|
invoke-static/range {v1 .. v8}, Lb/w;->a(Ljava/lang/String;IILjava/lang/String;ZZZZ)Ljava/lang/String;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
invoke-static {p0}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
|
||
|
|
||
|
move-result p0
|
||
|
:try_end_0
|
||
|
.catch Ljava/lang/NumberFormatException; {:try_start_0 .. :try_end_0} :catch_0
|
||
|
|
||
|
if-lez p0, :cond_0
|
||
|
|
||
|
const p1, 0xffff
|
||
|
|
||
|
if-gt p0, p1, :cond_0
|
||
|
|
||
|
return p0
|
||
|
|
||
|
:catch_0
|
||
|
:cond_0
|
||
|
return v0
|
||
|
.end method
|
||
|
|
||
|
.method private static d(Ljava/lang/String;II)I
|
||
|
.locals 2
|
||
|
|
||
|
:goto_0
|
||
|
if-ge p1, p2, :cond_3
|
||
|
|
||
|
invoke-virtual {p0, p1}, Ljava/lang/String;->charAt(I)C
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
const/16 v1, 0x3a
|
||
|
|
||
|
if-eq v0, v1, :cond_2
|
||
|
|
||
|
const/16 v1, 0x5b
|
||
|
|
||
|
if-eq v0, v1, :cond_0
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_0
|
||
|
add-int/lit8 p1, p1, 0x1
|
||
|
|
||
|
if-ge p1, p2, :cond_1
|
||
|
|
||
|
invoke-virtual {p0, p1}, Ljava/lang/String;->charAt(I)C
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
const/16 v1, 0x5d
|
||
|
|
||
|
if-ne v0, v1, :cond_0
|
||
|
|
||
|
:cond_1
|
||
|
:goto_1
|
||
|
add-int/lit8 p1, p1, 0x1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_2
|
||
|
return p1
|
||
|
|
||
|
:cond_3
|
||
|
return p2
|
||
|
.end method
|
||
|
|
||
|
.method private d()V
|
||
|
.locals 3
|
||
|
|
||
|
iget-object v0, p0, Lb/w$a;->f:Ljava/util/List;
|
||
|
|
||
|
invoke-interface {v0}, Ljava/util/List;->size()I
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
add-int/lit8 v1, v1, -0x1
|
||
|
|
||
|
invoke-interface {v0, v1}, Ljava/util/List;->remove(I)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, Ljava/lang/String;
|
||
|
|
||
|
invoke-virtual {v0}, Ljava/lang/String;->isEmpty()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
const-string v1, ""
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
iget-object v0, p0, Lb/w$a;->f:Ljava/util/List;
|
||
|
|
||
|
invoke-interface {v0}, Ljava/util/List;->isEmpty()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-nez v0, :cond_0
|
||
|
|
||
|
iget-object v0, p0, Lb/w$a;->f:Ljava/util/List;
|
||
|
|
||
|
invoke-interface {v0}, Ljava/util/List;->size()I
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
add-int/lit8 v2, v2, -0x1
|
||
|
|
||
|
invoke-interface {v0, v2, v1}, Ljava/util/List;->set(ILjava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
iget-object v0, p0, Lb/w$a;->f:Ljava/util/List;
|
||
|
|
||
|
invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
||
|
|
||
|
:goto_0
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method private e(Ljava/lang/String;II)V
|
||
|
.locals 10
|
||
|
|
||
|
if-ne p2, p3, :cond_0
|
||
|
|
||
|
return-void
|
||
|
|
||
|
:cond_0
|
||
|
invoke-virtual {p1, p2}, Ljava/lang/String;->charAt(I)C
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
const/16 v1, 0x2f
|
||
|
|
||
|
const-string v2, ""
|
||
|
|
||
|
const/4 v3, 0x1
|
||
|
|
||
|
if-eq v0, v1, :cond_2
|
||
|
|
||
|
const/16 v1, 0x5c
|
||
|
|
||
|
if-ne v0, v1, :cond_1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_1
|
||
|
iget-object v0, p0, Lb/w$a;->f:Ljava/util/List;
|
||
|
|
||
|
invoke-interface {v0}, Ljava/util/List;->size()I
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
sub-int/2addr v1, v3
|
||
|
|
||
|
invoke-interface {v0, v1, v2}, Ljava/util/List;->set(ILjava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_2
|
||
|
:goto_0
|
||
|
iget-object v0, p0, Lb/w$a;->f:Ljava/util/List;
|
||
|
|
||
|
invoke-interface {v0}, Ljava/util/List;->clear()V
|
||
|
|
||
|
iget-object v0, p0, Lb/w$a;->f:Ljava/util/List;
|
||
|
|
||
|
invoke-interface {v0, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
||
|
|
||
|
goto :goto_3
|
||
|
|
||
|
:cond_3
|
||
|
:goto_1
|
||
|
move v6, p2
|
||
|
|
||
|
if-ge v6, p3, :cond_5
|
||
|
|
||
|
const-string p2, "/\\"
|
||
|
|
||
|
invoke-static {p1, v6, p3, p2}, Lb/a/d;->a(Ljava/lang/String;IILjava/lang/String;)I
|
||
|
|
||
|
move-result p2
|
||
|
|
||
|
if-ge p2, p3, :cond_4
|
||
|
|
||
|
const/4 v0, 0x1
|
||
|
|
||
|
goto :goto_2
|
||
|
|
||
|
:cond_4
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
:goto_2
|
||
|
const/4 v9, 0x1
|
||
|
|
||
|
move-object v4, p0
|
||
|
|
||
|
move-object v5, p1
|
||
|
|
||
|
move v7, p2
|
||
|
|
||
|
move v8, v0
|
||
|
|
||
|
invoke-direct/range {v4 .. v9}, Lb/w$a;->a(Ljava/lang/String;IIZZ)V
|
||
|
|
||
|
if-eqz v0, :cond_3
|
||
|
|
||
|
:goto_3
|
||
|
add-int/lit8 p2, p2, 0x1
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_5
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method private static f(Ljava/lang/String;II)I
|
||
|
.locals 7
|
||
|
|
||
|
sub-int v0, p2, p1
|
||
|
|
||
|
const/4 v1, -0x1
|
||
|
|
||
|
const/4 v2, 0x2
|
||
|
|
||
|
if-ge v0, v2, :cond_0
|
||
|
|
||
|
return v1
|
||
|
|
||
|
:cond_0
|
||
|
invoke-virtual {p0, p1}, Ljava/lang/String;->charAt(I)C
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
const/16 v2, 0x5a
|
||
|
|
||
|
const/16 v3, 0x7a
|
||
|
|
||
|
const/16 v4, 0x41
|
||
|
|
||
|
const/16 v5, 0x61
|
||
|
|
||
|
if-lt v0, v5, :cond_1
|
||
|
|
||
|
if-le v0, v3, :cond_2
|
||
|
|
||
|
:cond_1
|
||
|
if-lt v0, v4, :cond_7
|
||
|
|
||
|
if-le v0, v2, :cond_2
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_2
|
||
|
:goto_0
|
||
|
add-int/lit8 p1, p1, 0x1
|
||
|
|
||
|
if-ge p1, p2, :cond_7
|
||
|
|
||
|
invoke-virtual {p0, p1}, Ljava/lang/String;->charAt(I)C
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-lt v0, v5, :cond_3
|
||
|
|
||
|
if-le v0, v3, :cond_2
|
||
|
|
||
|
:cond_3
|
||
|
if-lt v0, v4, :cond_4
|
||
|
|
||
|
if-le v0, v2, :cond_2
|
||
|
|
||
|
:cond_4
|
||
|
const/16 v6, 0x30
|
||
|
|
||
|
if-lt v0, v6, :cond_5
|
||
|
|
||
|
const/16 v6, 0x39
|
||
|
|
||
|
if-le v0, v6, :cond_2
|
||
|
|
||
|
:cond_5
|
||
|
const/16 v6, 0x2b
|
||
|
|
||
|
if-eq v0, v6, :cond_2
|
||
|
|
||
|
const/16 v6, 0x2d
|
||
|
|
||
|
if-eq v0, v6, :cond_2
|
||
|
|
||
|
const/16 v6, 0x2e
|
||
|
|
||
|
if-ne v0, v6, :cond_6
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_6
|
||
|
const/16 p0, 0x3a
|
||
|
|
||
|
if-ne v0, p0, :cond_7
|
||
|
|
||
|
return p1
|
||
|
|
||
|
:cond_7
|
||
|
:goto_1
|
||
|
return v1
|
||
|
.end method
|
||
|
|
||
|
.method private f(Ljava/lang/String;)Z
|
||
|
.locals 1
|
||
|
|
||
|
const-string v0, "."
|
||
|
|
||
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-nez v0, :cond_1
|
||
|
|
||
|
const-string v0, "%2e"
|
||
|
|
||
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
if-eqz p1, :cond_0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
const/4 p1, 0x0
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_1
|
||
|
:goto_0
|
||
|
const/4 p1, 0x1
|
||
|
|
||
|
:goto_1
|
||
|
return p1
|
||
|
.end method
|
||
|
|
||
|
.method private static g(Ljava/lang/String;II)I
|
||
|
.locals 3
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
:goto_0
|
||
|
if-ge p1, p2, :cond_1
|
||
|
|
||
|
invoke-virtual {p0, p1}, Ljava/lang/String;->charAt(I)C
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
const/16 v2, 0x5c
|
||
|
|
||
|
if-eq v1, v2, :cond_0
|
||
|
|
||
|
const/16 v2, 0x2f
|
||
|
|
||
|
if-ne v1, v2, :cond_1
|
||
|
|
||
|
:cond_0
|
||
|
add-int/lit8 v0, v0, 0x1
|
||
|
|
||
|
add-int/lit8 p1, p1, 0x1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_1
|
||
|
return v0
|
||
|
.end method
|
||
|
|
||
|
.method private g(Ljava/lang/String;)Z
|
||
|
.locals 1
|
||
|
|
||
|
const-string v0, ".."
|
||
|
|
||
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-nez v0, :cond_1
|
||
|
|
||
|
const-string v0, "%2e."
|
||
|
|
||
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-nez v0, :cond_1
|
||
|
|
||
|
const-string v0, ".%2e"
|
||
|
|
||
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-nez v0, :cond_1
|
||
|
|
||
|
const-string v0, "%2e%2e"
|
||
|
|
||
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
if-eqz p1, :cond_0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
const/4 p1, 0x0
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_1
|
||
|
:goto_0
|
||
|
const/4 p1, 0x1
|
||
|
|
||
|
:goto_1
|
||
|
return p1
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method a(Lb/w;Ljava/lang/String;)Lb/w$a$a;
|
||
|
.locals 20
|
||
|
|
||
|
move-object/from16 v0, p0
|
||
|
|
||
|
move-object/from16 v1, p1
|
||
|
|
||
|
move-object/from16 v9, p2
|
||
|
|
||
|
invoke-virtual/range {p2 .. p2}, Ljava/lang/String;->length()I
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
const/4 v8, 0x0
|
||
|
|
||
|
invoke-static {v9, v8, v2}, Lb/a/d;->a(Ljava/lang/String;II)I
|
||
|
|
||
|
move-result v10
|
||
|
|
||
|
invoke-virtual/range {p2 .. p2}, Ljava/lang/String;->length()I
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
invoke-static {v9, v10, v2}, Lb/a/d;->b(Ljava/lang/String;II)I
|
||
|
|
||
|
move-result v11
|
||
|
|
||
|
invoke-static {v9, v10, v11}, Lb/w$a;->f(Ljava/lang/String;II)I
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
const/4 v12, -0x1
|
||
|
|
||
|
if-eq v2, v12, :cond_2
|
||
|
|
||
|
const/4 v3, 0x1
|
||
|
|
||
|
const/4 v6, 0x0
|
||
|
|
||
|
const/4 v7, 0x6
|
||
|
|
||
|
const-string v5, "https:"
|
||
|
|
||
|
move-object/from16 v2, p2
|
||
|
|
||
|
move v4, v10
|
||
|
|
||
|
invoke-virtual/range {v2 .. v7}, Ljava/lang/String;->regionMatches(ZILjava/lang/String;II)Z
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-eqz v2, :cond_0
|
||
|
|
||
|
const-string v2, "https"
|
||
|
|
||
|
iput-object v2, v0, Lb/w$a;->a:Ljava/lang/String;
|
||
|
|
||
|
add-int/lit8 v10, v10, 0x6
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
const/4 v3, 0x1
|
||
|
|
||
|
const/4 v6, 0x0
|
||
|
|
||
|
const/4 v7, 0x5
|
||
|
|
||
|
const-string v5, "http:"
|
||
|
|
||
|
move-object/from16 v2, p2
|
||
|
|
||
|
move v4, v10
|
||
|
|
||
|
invoke-virtual/range {v2 .. v7}, Ljava/lang/String;->regionMatches(ZILjava/lang/String;II)Z
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-eqz v2, :cond_1
|
||
|
|
||
|
const-string v2, "http"
|
||
|
|
||
|
iput-object v2, v0, Lb/w$a;->a:Ljava/lang/String;
|
||
|
|
||
|
add-int/lit8 v10, v10, 0x5
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_1
|
||
|
sget-object v1, Lb/w$a$a;->c:Lb/w$a$a;
|
||
|
|
||
|
return-object v1
|
||
|
|
||
|
:cond_2
|
||
|
if-eqz v1, :cond_12
|
||
|
|
||
|
iget-object v2, v1, Lb/w;->b:Ljava/lang/String;
|
||
|
|
||
|
iput-object v2, v0, Lb/w$a;->a:Ljava/lang/String;
|
||
|
|
||
|
:goto_0
|
||
|
invoke-static {v9, v10, v11}, Lb/w$a;->g(Ljava/lang/String;II)I
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
const/4 v3, 0x2
|
||
|
|
||
|
const/16 v13, 0x3f
|
||
|
|
||
|
const/16 v14, 0x23
|
||
|
|
||
|
if-ge v2, v3, :cond_6
|
||
|
|
||
|
if-eqz v1, :cond_6
|
||
|
|
||
|
iget-object v3, v1, Lb/w;->b:Ljava/lang/String;
|
||
|
|
||
|
iget-object v4, v0, Lb/w$a;->a:Ljava/lang/String;
|
||
|
|
||
|
invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
||
|
|
||
|
move-result v3
|
||
|
|
||
|
if-nez v3, :cond_3
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_3
|
||
|
invoke-virtual/range {p1 .. p1}, Lb/w;->f()Ljava/lang/String;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
iput-object v2, v0, Lb/w$a;->b:Ljava/lang/String;
|
||
|
|
||
|
invoke-virtual/range {p1 .. p1}, Lb/w;->b()Ljava/lang/String;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
iput-object v2, v0, Lb/w$a;->c:Ljava/lang/String;
|
||
|
|
||
|
iget-object v2, v1, Lb/w;->e:Ljava/lang/String;
|
||
|
|
||
|
iput-object v2, v0, Lb/w$a;->d:Ljava/lang/String;
|
||
|
|
||
|
iget v2, v1, Lb/w;->f:I
|
||
|
|
||
|
iput v2, v0, Lb/w$a;->e:I
|
||
|
|
||
|
iget-object v2, v0, Lb/w$a;->f:Ljava/util/List;
|
||
|
|
||
|
invoke-interface {v2}, Ljava/util/List;->clear()V
|
||
|
|
||
|
iget-object v2, v0, Lb/w$a;->f:Ljava/util/List;
|
||
|
|
||
|
invoke-virtual/range {p1 .. p1}, Lb/w;->d()Ljava/util/List;
|
||
|
|
||
|
move-result-object v3
|
||
|
|
||
|
invoke-interface {v2, v3}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z
|
||
|
|
||
|
if-eq v10, v11, :cond_4
|
||
|
|
||
|
invoke-virtual {v9, v10}, Ljava/lang/String;->charAt(I)C
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-ne v2, v14, :cond_5
|
||
|
|
||
|
:cond_4
|
||
|
invoke-virtual/range {p1 .. p1}, Lb/w;->e()Ljava/lang/String;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-virtual {v0, v1}, Lb/w$a;->a(Ljava/lang/String;)Lb/w$a;
|
||
|
|
||
|
:cond_5
|
||
|
move v13, v10
|
||
|
|
||
|
goto/16 :goto_6
|
||
|
|
||
|
:cond_6
|
||
|
:goto_1
|
||
|
add-int/2addr v10, v2
|
||
|
|
||
|
move v2, v10
|
||
|
|
||
|
const/4 v10, 0x0
|
||
|
|
||
|
const/16 v16, 0x0
|
||
|
|
||
|
:goto_2
|
||
|
const-string v1, "@/\\?#"
|
||
|
|
||
|
invoke-static {v9, v2, v11, v1}, Lb/a/d;->a(Ljava/lang/String;IILjava/lang/String;)I
|
||
|
|
||
|
move-result v8
|
||
|
|
||
|
if-eq v8, v11, :cond_7
|
||
|
|
||
|
invoke-virtual {v9, v8}, Ljava/lang/String;->charAt(I)C
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
goto :goto_3
|
||
|
|
||
|
:cond_7
|
||
|
const/4 v1, -0x1
|
||
|
|
||
|
:goto_3
|
||
|
if-eq v1, v12, :cond_c
|
||
|
|
||
|
if-eq v1, v14, :cond_c
|
||
|
|
||
|
const/16 v3, 0x2f
|
||
|
|
||
|
if-eq v1, v3, :cond_c
|
||
|
|
||
|
const/16 v3, 0x5c
|
||
|
|
||
|
if-eq v1, v3, :cond_c
|
||
|
|
||
|
if-eq v1, v13, :cond_c
|
||
|
|
||
|
const/16 v3, 0x40
|
||
|
|
||
|
if-eq v1, v3, :cond_8
|
||
|
|
||
|
goto/16 :goto_5
|
||
|
|
||
|
:cond_8
|
||
|
const-string v7, "%40"
|
||
|
|
||
|
if-nez v10, :cond_b
|
||
|
|
||
|
const/16 v1, 0x3a
|
||
|
|
||
|
invoke-static {v9, v2, v8, v1}, Lb/a/d;->a(Ljava/lang/String;IIC)I
|
||
|
|
||
|
move-result v6
|
||
|
|
||
|
const/4 v5, 0x1
|
||
|
|
||
|
const/16 v17, 0x0
|
||
|
|
||
|
const/16 v18, 0x0
|
||
|
|
||
|
const/16 v19, 0x1
|
||
|
|
||
|
const-string v4, " \"\':;<=>@[]^`{}|/\\?#"
|
||
|
|
||
|
move-object/from16 v1, p2
|
||
|
|
||
|
move v3, v6
|
||
|
|
||
|
move v15, v6
|
||
|
|
||
|
move/from16 v6, v17
|
||
|
|
||
|
move-object v14, v7
|
||
|
|
||
|
move/from16 v7, v18
|
||
|
|
||
|
move v13, v8
|
||
|
|
||
|
move/from16 v8, v19
|
||
|
|
||
|
invoke-static/range {v1 .. v8}, Lb/w;->a(Ljava/lang/String;IILjava/lang/String;ZZZZ)Ljava/lang/String;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
if-eqz v16, :cond_9
|
||
|
|
||
|
new-instance v2, Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
|
||
|
|
||
|
iget-object v3, v0, Lb/w$a;->b:Ljava/lang/String;
|
||
|
|
||
|
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-virtual {v2, v14}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
:cond_9
|
||
|
iput-object v1, v0, Lb/w$a;->b:Ljava/lang/String;
|
||
|
|
||
|
if-eq v15, v13, :cond_a
|
||
|
|
||
|
add-int/lit8 v2, v15, 0x1
|
||
|
|
||
|
const/4 v5, 0x1
|
||
|
|
||
|
const/4 v6, 0x0
|
||
|
|
||
|
const/4 v7, 0x0
|
||
|
|
||
|
const/4 v8, 0x1
|
||
|
|
||
|
const-string v4, " \"\':;<=>@[]^`{}|/\\?#"
|
||
|
|
||
|
move-object/from16 v1, p2
|
||
|
|
||
|
move v3, v13
|
||
|
|
||
|
invoke-static/range {v1 .. v8}, Lb/w;->a(Ljava/lang/String;IILjava/lang/String;ZZZZ)Ljava/lang/String;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
iput-object v1, v0, Lb/w$a;->c:Ljava/lang/String;
|
||
|
|
||
|
const/4 v10, 0x1
|
||
|
|
||
|
:cond_a
|
||
|
const/16 v16, 0x1
|
||
|
|
||
|
goto :goto_4
|
||
|
|
||
|
:cond_b
|
||
|
move-object v14, v7
|
||
|
|
||
|
move v13, v8
|
||
|
|
||
|
new-instance v15, Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-direct {v15}, Ljava/lang/StringBuilder;-><init>()V
|
||
|
|
||
|
iget-object v1, v0, Lb/w$a;->c:Ljava/lang/String;
|
||
|
|
||
|
invoke-virtual {v15, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-virtual {v15, v14}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
const/4 v5, 0x1
|
||
|
|
||
|
const/4 v6, 0x0
|
||
|
|
||
|
const/4 v7, 0x0
|
||
|
|
||
|
const/4 v8, 0x1
|
||
|
|
||
|
const-string v4, " \"\':;<=>@[]^`{}|/\\?#"
|
||
|
|
||
|
move-object/from16 v1, p2
|
||
|
|
||
|
move v3, v13
|
||
|
|
||
|
invoke-static/range {v1 .. v8}, Lb/w;->a(Ljava/lang/String;IILjava/lang/String;ZZZZ)Ljava/lang/String;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-virtual {v15, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-virtual {v15}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
iput-object v1, v0, Lb/w$a;->c:Ljava/lang/String;
|
||
|
|
||
|
:goto_4
|
||
|
add-int/lit8 v2, v13, 0x1
|
||
|
|
||
|
:goto_5
|
||
|
const/16 v13, 0x3f
|
||
|
|
||
|
const/16 v14, 0x23
|
||
|
|
||
|
goto/16 :goto_2
|
||
|
|
||
|
:cond_c
|
||
|
move v13, v8
|
||
|
|
||
|
invoke-static {v9, v2, v13}, Lb/w$a;->d(Ljava/lang/String;II)I
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
add-int/lit8 v3, v1, 0x1
|
||
|
|
||
|
if-ge v3, v13, :cond_d
|
||
|
|
||
|
invoke-static {v9, v2, v1}, Lb/w$a;->a(Ljava/lang/String;II)Ljava/lang/String;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
iput-object v1, v0, Lb/w$a;->d:Ljava/lang/String;
|
||
|
|
||
|
invoke-static {v9, v3, v13}, Lb/w$a;->c(Ljava/lang/String;II)I
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
iput v1, v0, Lb/w$a;->e:I
|
||
|
|
||
|
iget v1, v0, Lb/w$a;->e:I
|
||
|
|
||
|
if-ne v1, v12, :cond_e
|
||
|
|
||
|
sget-object v1, Lb/w$a$a;->d:Lb/w$a$a;
|
||
|
|
||
|
return-object v1
|
||
|
|
||
|
:cond_d
|
||
|
invoke-static {v9, v2, v1}, Lb/w$a;->a(Ljava/lang/String;II)Ljava/lang/String;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
iput-object v1, v0, Lb/w$a;->d:Ljava/lang/String;
|
||
|
|
||
|
iget-object v1, v0, Lb/w$a;->a:Ljava/lang/String;
|
||
|
|
||
|
invoke-static {v1}, Lb/w;->a(Ljava/lang/String;)I
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
iput v1, v0, Lb/w$a;->e:I
|
||
|
|
||
|
:cond_e
|
||
|
iget-object v1, v0, Lb/w$a;->d:Ljava/lang/String;
|
||
|
|
||
|
if-nez v1, :cond_f
|
||
|
|
||
|
sget-object v1, Lb/w$a$a;->e:Lb/w$a$a;
|
||
|
|
||
|
return-object v1
|
||
|
|
||
|
:cond_f
|
||
|
:goto_6
|
||
|
const-string v1, "?#"
|
||
|
|
||
|
invoke-static {v9, v13, v11, v1}, Lb/a/d;->a(Ljava/lang/String;IILjava/lang/String;)I
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
invoke-direct {v0, v9, v13, v1}, Lb/w$a;->e(Ljava/lang/String;II)V
|
||
|
|
||
|
if-ge v1, v11, :cond_10
|
||
|
|
||
|
invoke-virtual {v9, v1}, Ljava/lang/String;->charAt(I)C
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
const/16 v3, 0x3f
|
||
|
|
||
|
if-ne v2, v3, :cond_10
|
||
|
|
||
|
const/16 v2, 0x23
|
||
|
|
||
|
invoke-static {v9, v1, v11, v2}, Lb/a/d;->a(Ljava/lang/String;IIC)I
|
||
|
|
||
|
move-result v10
|
||
|
|
||
|
add-int/lit8 v2, v1, 0x1
|
||
|
|
||
|
const/4 v5, 0x1
|
||
|
|
||
|
const/4 v6, 0x0
|
||
|
|
||
|
const/4 v7, 0x1
|
||
|
|
||
|
const/4 v8, 0x1
|
||
|
|
||
|
const-string v4, " \"\'<>#"
|
||
|
|
||
|
move-object/from16 v1, p2
|
||
|
|
||
|
move v3, v10
|
||
|
|
||
|
invoke-static/range {v1 .. v8}, Lb/w;->a(Ljava/lang/String;IILjava/lang/String;ZZZZ)Ljava/lang/String;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-static {v1}, Lb/w;->d(Ljava/lang/String;)Ljava/util/List;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
iput-object v1, v0, Lb/w$a;->g:Ljava/util/List;
|
||
|
|
||
|
move v1, v10
|
||
|
|
||
|
:cond_10
|
||
|
if-ge v1, v11, :cond_11
|
||
|
|
||
|
invoke-virtual {v9, v1}, Ljava/lang/String;->charAt(I)C
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
const/16 v3, 0x23
|
||
|
|
||
|
if-ne v2, v3, :cond_11
|
||
|
|
||
|
const/4 v2, 0x1
|
||
|
|
||
|
add-int/2addr v2, v1
|
||
|
|
||
|
const/4 v5, 0x1
|
||
|
|
||
|
const/4 v6, 0x0
|
||
|
|
||
|
const/4 v7, 0x0
|
||
|
|
||
|
const/4 v8, 0x0
|
||
|
|
||
|
const-string v4, ""
|
||
|
|
||
|
move-object/from16 v1, p2
|
||
|
|
||
|
move v3, v11
|
||
|
|
||
|
invoke-static/range {v1 .. v8}, Lb/w;->a(Ljava/lang/String;IILjava/lang/String;ZZZZ)Ljava/lang/String;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
iput-object v1, v0, Lb/w$a;->h:Ljava/lang/String;
|
||
|
|
||
|
:cond_11
|
||
|
sget-object v1, Lb/w$a$a;->a:Lb/w$a$a;
|
||
|
|
||
|
return-object v1
|
||
|
|
||
|
:cond_12
|
||
|
sget-object v1, Lb/w$a$a;->b:Lb/w$a$a;
|
||
|
|
||
|
return-object v1
|
||
|
.end method
|
||
|
|
||
|
.method public a(I)Lb/w$a;
|
||
|
.locals 3
|
||
|
|
||
|
if-lez p1, :cond_0
|
||
|
|
||
|
const v0, 0xffff
|
||
|
|
||
|
if-gt p1, v0, :cond_0
|
||
|
|
||
|
iput p1, p0, Lb/w$a;->e:I
|
||
|
|
||
|
return-object p0
|
||
|
|
||
|
:cond_0
|
||
|
new-instance v0, Ljava/lang/IllegalArgumentException;
|
||
|
|
||
|
new-instance v1, Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
|
||
|
|
||
|
const-string v2, "unexpected port: "
|
||
|
|
||
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
invoke-direct {v0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw v0
|
||
|
.end method
|
||
|
|
||
|
.method public a(Ljava/lang/String;)Lb/w$a;
|
||
|
.locals 6
|
||
|
|
||
|
if-eqz p1, :cond_0
|
||
|
|
||
|
const/4 v2, 0x1
|
||
|
|
||
|
const/4 v3, 0x0
|
||
|
|
||
|
const/4 v4, 0x1
|
||
|
|
||
|
const/4 v5, 0x1
|
||
|
|
||
|
const-string v1, " \"\'<>#"
|
||
|
|
||
|
move-object v0, p1
|
||
|
|
||
|
invoke-static/range {v0 .. v5}, Lb/w;->a(Ljava/lang/String;Ljava/lang/String;ZZZZ)Ljava/lang/String;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
invoke-static {p1}, Lb/w;->d(Ljava/lang/String;)Ljava/util/List;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
const/4 p1, 0x0
|
||
|
|
||
|
:goto_0
|
||
|
iput-object p1, p0, Lb/w$a;->g:Ljava/util/List;
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public a()Lb/w;
|
||
|
.locals 2
|
||
|
|
||
|
iget-object v0, p0, Lb/w$a;->a:Ljava/lang/String;
|
||
|
|
||
|
if-eqz v0, :cond_1
|
||
|
|
||
|
iget-object v0, p0, Lb/w$a;->d:Ljava/lang/String;
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
new-instance v0, Lb/w;
|
||
|
|
||
|
invoke-direct {v0, p0}, Lb/w;-><init>(Lb/w$a;)V
|
||
|
|
||
|
return-object v0
|
||
|
|
||
|
:cond_0
|
||
|
new-instance v0, Ljava/lang/IllegalStateException;
|
||
|
|
||
|
const-string v1, "host == null"
|
||
|
|
||
|
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw v0
|
||
|
|
||
|
:cond_1
|
||
|
new-instance v0, Ljava/lang/IllegalStateException;
|
||
|
|
||
|
const-string v1, "scheme == null"
|
||
|
|
||
|
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw v0
|
||
|
.end method
|
||
|
|
||
|
.method b()I
|
||
|
.locals 2
|
||
|
|
||
|
iget v0, p0, Lb/w$a;->e:I
|
||
|
|
||
|
const/4 v1, -0x1
|
||
|
|
||
|
if-eq v0, v1, :cond_0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
iget-object v0, p0, Lb/w$a;->a:Ljava/lang/String;
|
||
|
|
||
|
invoke-static {v0}, Lb/w;->a(Ljava/lang/String;)I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
:goto_0
|
||
|
return v0
|
||
|
.end method
|
||
|
|
||
|
.method public b(Ljava/lang/String;)Lb/w$a;
|
||
|
.locals 3
|
||
|
|
||
|
if-eqz p1, :cond_1
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
invoke-virtual {p1}, Ljava/lang/String;->length()I
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
invoke-static {p1, v0, v1}, Lb/w$a;->a(Ljava/lang/String;II)Ljava/lang/String;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
iput-object v0, p0, Lb/w$a;->d:Ljava/lang/String;
|
||
|
|
||
|
return-object p0
|
||
|
|
||
|
:cond_0
|
||
|
new-instance v0, Ljava/lang/IllegalArgumentException;
|
||
|
|
||
|
new-instance v1, Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
|
||
|
|
||
|
const-string v2, "unexpected host: "
|
||
|
|
||
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
invoke-direct {v0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw v0
|
||
|
|
||
|
:cond_1
|
||
|
new-instance p1, Ljava/lang/NullPointerException;
|
||
|
|
||
|
const-string v0, "host == null"
|
||
|
|
||
|
invoke-direct {p1, v0}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw p1
|
||
|
.end method
|
||
|
|
||
|
.method c()Lb/w$a;
|
||
|
.locals 10
|
||
|
|
||
|
iget-object v0, p0, Lb/w$a;->f:Ljava/util/List;
|
||
|
|
||
|
invoke-interface {v0}, Ljava/util/List;->size()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
const/4 v2, 0x0
|
||
|
|
||
|
:goto_0
|
||
|
if-ge v2, v0, :cond_0
|
||
|
|
||
|
iget-object v3, p0, Lb/w$a;->f:Ljava/util/List;
|
||
|
|
||
|
invoke-interface {v3, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v3
|
||
|
|
||
|
move-object v4, v3
|
||
|
|
||
|
check-cast v4, Ljava/lang/String;
|
||
|
|
||
|
iget-object v3, p0, Lb/w$a;->f:Ljava/util/List;
|
||
|
|
||
|
const/4 v6, 0x1
|
||
|
|
||
|
const/4 v7, 0x1
|
||
|
|
||
|
const/4 v8, 0x0
|
||
|
|
||
|
const/4 v9, 0x1
|
||
|
|
||
|
const-string v5, "[]"
|
||
|
|
||
|
invoke-static/range {v4 .. v9}, Lb/w;->a(Ljava/lang/String;Ljava/lang/String;ZZZZ)Ljava/lang/String;
|
||
|
|
||
|
move-result-object v4
|
||
|
|
||
|
invoke-interface {v3, v2, v4}, Ljava/util/List;->set(ILjava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
add-int/lit8 v2, v2, 0x1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
iget-object v0, p0, Lb/w$a;->g:Ljava/util/List;
|
||
|
|
||
|
if-eqz v0, :cond_2
|
||
|
|
||
|
invoke-interface {v0}, Ljava/util/List;->size()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
:goto_1
|
||
|
if-ge v1, v0, :cond_2
|
||
|
|
||
|
iget-object v2, p0, Lb/w$a;->g:Ljava/util/List;
|
||
|
|
||
|
invoke-interface {v2, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
move-object v3, v2
|
||
|
|
||
|
check-cast v3, Ljava/lang/String;
|
||
|
|
||
|
if-eqz v3, :cond_1
|
||
|
|
||
|
iget-object v2, p0, Lb/w$a;->g:Ljava/util/List;
|
||
|
|
||
|
const/4 v5, 0x1
|
||
|
|
||
|
const/4 v6, 0x1
|
||
|
|
||
|
const/4 v7, 0x1
|
||
|
|
||
|
const/4 v8, 0x1
|
||
|
|
||
|
const-string v4, "\\^`{|}"
|
||
|
|
||
|
invoke-static/range {v3 .. v8}, Lb/w;->a(Ljava/lang/String;Ljava/lang/String;ZZZZ)Ljava/lang/String;
|
||
|
|
||
|
move-result-object v3
|
||
|
|
||
|
invoke-interface {v2, v1, v3}, Ljava/util/List;->set(ILjava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
:cond_1
|
||
|
add-int/lit8 v1, v1, 0x1
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_2
|
||
|
iget-object v2, p0, Lb/w$a;->h:Ljava/lang/String;
|
||
|
|
||
|
if-eqz v2, :cond_3
|
||
|
|
||
|
const/4 v4, 0x1
|
||
|
|
||
|
const/4 v5, 0x1
|
||
|
|
||
|
const/4 v6, 0x0
|
||
|
|
||
|
const/4 v7, 0x0
|
||
|
|
||
|
const-string v3, " \"#<>\\^`{|}"
|
||
|
|
||
|
invoke-static/range {v2 .. v7}, Lb/w;->a(Ljava/lang/String;Ljava/lang/String;ZZZZ)Ljava/lang/String;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
iput-object v0, p0, Lb/w$a;->h:Ljava/lang/String;
|
||
|
|
||
|
:cond_3
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public c(Ljava/lang/String;)Lb/w$a;
|
||
|
.locals 6
|
||
|
|
||
|
if-eqz p1, :cond_0
|
||
|
|
||
|
const/4 v2, 0x0
|
||
|
|
||
|
const/4 v3, 0x0
|
||
|
|
||
|
const/4 v4, 0x0
|
||
|
|
||
|
const/4 v5, 0x1
|
||
|
|
||
|
const-string v1, " \"\':;<=>@[]^`{}|/\\?#"
|
||
|
|
||
|
move-object v0, p1
|
||
|
|
||
|
invoke-static/range {v0 .. v5}, Lb/w;->a(Ljava/lang/String;Ljava/lang/String;ZZZZ)Ljava/lang/String;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
iput-object p1, p0, Lb/w$a;->c:Ljava/lang/String;
|
||
|
|
||
|
return-object p0
|
||
|
|
||
|
:cond_0
|
||
|
new-instance p1, Ljava/lang/NullPointerException;
|
||
|
|
||
|
const-string v0, "password == null"
|
||
|
|
||
|
invoke-direct {p1, v0}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw p1
|
||
|
.end method
|
||
|
|
||
|
.method public d(Ljava/lang/String;)Lb/w$a;
|
||
|
.locals 3
|
||
|
|
||
|
if-eqz p1, :cond_2
|
||
|
|
||
|
const-string v0, "http"
|
||
|
|
||
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_0
|
||
|
|
||
|
:goto_0
|
||
|
iput-object v0, p0, Lb/w$a;->a:Ljava/lang/String;
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_0
|
||
|
const-string v0, "https"
|
||
|
|
||
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:goto_1
|
||
|
return-object p0
|
||
|
|
||
|
:cond_1
|
||
|
new-instance v0, Ljava/lang/IllegalArgumentException;
|
||
|
|
||
|
new-instance v1, Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
|
||
|
|
||
|
const-string v2, "unexpected scheme: "
|
||
|
|
||
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
invoke-direct {v0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw v0
|
||
|
|
||
|
:cond_2
|
||
|
new-instance p1, Ljava/lang/NullPointerException;
|
||
|
|
||
|
const-string v0, "scheme == null"
|
||
|
|
||
|
invoke-direct {p1, v0}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
goto :goto_3
|
||
|
|
||
|
:goto_2
|
||
|
throw p1
|
||
|
|
||
|
:goto_3
|
||
|
goto :goto_2
|
||
|
.end method
|
||
|
|
||
|
.method public e(Ljava/lang/String;)Lb/w$a;
|
||
|
.locals 6
|
||
|
|
||
|
if-eqz p1, :cond_0
|
||
|
|
||
|
const/4 v2, 0x0
|
||
|
|
||
|
const/4 v3, 0x0
|
||
|
|
||
|
const/4 v4, 0x0
|
||
|
|
||
|
const/4 v5, 0x1
|
||
|
|
||
|
const-string v1, " \"\':;<=>@[]^`{}|/\\?#"
|
||
|
|
||
|
move-object v0, p1
|
||
|
|
||
|
invoke-static/range {v0 .. v5}, Lb/w;->a(Ljava/lang/String;Ljava/lang/String;ZZZZ)Ljava/lang/String;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
iput-object p1, p0, Lb/w$a;->b:Ljava/lang/String;
|
||
|
|
||
|
return-object p0
|
||
|
|
||
|
:cond_0
|
||
|
new-instance p1, Ljava/lang/NullPointerException;
|
||
|
|
||
|
const-string v0, "username == null"
|
||
|
|
||
|
invoke-direct {p1, v0}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw p1
|
||
|
.end method
|
||
|
|
||
|
.method public toString()Ljava/lang/String;
|
||
|
.locals 4
|
||
|
|
||
|
new-instance v0, Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
||
|
|
||
|
iget-object v1, p0, Lb/w$a;->a:Ljava/lang/String;
|
||
|
|
||
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
const-string v1, "://"
|
||
|
|
||
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
iget-object v1, p0, Lb/w$a;->b:Ljava/lang/String;
|
||
|
|
||
|
invoke-virtual {v1}, Ljava/lang/String;->isEmpty()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
const/16 v2, 0x3a
|
||
|
|
||
|
if-eqz v1, :cond_0
|
||
|
|
||
|
iget-object v1, p0, Lb/w$a;->c:Ljava/lang/String;
|
||
|
|
||
|
invoke-virtual {v1}, Ljava/lang/String;->isEmpty()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-nez v1, :cond_2
|
||
|
|
||
|
:cond_0
|
||
|
iget-object v1, p0, Lb/w$a;->b:Ljava/lang/String;
|
||
|
|
||
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
iget-object v1, p0, Lb/w$a;->c:Ljava/lang/String;
|
||
|
|
||
|
invoke-virtual {v1}, Ljava/lang/String;->isEmpty()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-nez v1, :cond_1
|
||
|
|
||
|
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
||
|
|
||
|
iget-object v1, p0, Lb/w$a;->c:Ljava/lang/String;
|
||
|
|
||
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
:cond_1
|
||
|
const/16 v1, 0x40
|
||
|
|
||
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
||
|
|
||
|
:cond_2
|
||
|
iget-object v1, p0, Lb/w$a;->d:Ljava/lang/String;
|
||
|
|
||
|
invoke-virtual {v1, v2}, Ljava/lang/String;->indexOf(I)I
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
const/4 v3, -0x1
|
||
|
|
||
|
if-eq v1, v3, :cond_3
|
||
|
|
||
|
const/16 v1, 0x5b
|
||
|
|
||
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
||
|
|
||
|
iget-object v1, p0, Lb/w$a;->d:Ljava/lang/String;
|
||
|
|
||
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
const/16 v1, 0x5d
|
||
|
|
||
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_3
|
||
|
iget-object v1, p0, Lb/w$a;->d:Ljava/lang/String;
|
||
|
|
||
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
:goto_0
|
||
|
invoke-virtual {p0}, Lb/w$a;->b()I
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
iget-object v3, p0, Lb/w$a;->a:Ljava/lang/String;
|
||
|
|
||
|
invoke-static {v3}, Lb/w;->a(Ljava/lang/String;)I
|
||
|
|
||
|
move-result v3
|
||
|
|
||
|
if-eq v1, v3, :cond_4
|
||
|
|
||
|
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
||
|
|
||
|
:cond_4
|
||
|
iget-object v1, p0, Lb/w$a;->f:Ljava/util/List;
|
||
|
|
||
|
invoke-static {v0, v1}, Lb/w;->b(Ljava/lang/StringBuilder;Ljava/util/List;)V
|
||
|
|
||
|
iget-object v1, p0, Lb/w$a;->g:Ljava/util/List;
|
||
|
|
||
|
if-eqz v1, :cond_5
|
||
|
|
||
|
const/16 v1, 0x3f
|
||
|
|
||
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
||
|
|
||
|
iget-object v1, p0, Lb/w$a;->g:Ljava/util/List;
|
||
|
|
||
|
invoke-static {v0, v1}, Lb/w;->a(Ljava/lang/StringBuilder;Ljava/util/List;)V
|
||
|
|
||
|
:cond_5
|
||
|
iget-object v1, p0, Lb/w$a;->h:Ljava/lang/String;
|
||
|
|
||
|
if-eqz v1, :cond_6
|
||
|
|
||
|
const/16 v1, 0x23
|
||
|
|
||
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
||
|
|
||
|
iget-object v1, p0, Lb/w$a;->h:Ljava/lang/String;
|
||
|
|
||
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
:cond_6
|
||
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|