XploitSPY/server/app/factory/decompiled/smali/c/j.smali

200 lines
3.8 KiB
Smali
Raw Normal View History

2020-03-24 03:54:23 +08:00
.class public final Lc/J;
.super Ljava/lang/Object;
2020-01-11 23:35:37 +08:00
.source ""
# instance fields
2020-03-24 03:54:23 +08:00
.field final a:Lc/a;
.field final b:Ljava/net/Proxy;
.field final c:Ljava/net/InetSocketAddress;
2020-01-11 23:35:37 +08:00
# direct methods
2020-03-24 03:54:23 +08:00
.method public constructor <init>(Lc/a;Ljava/net/Proxy;Ljava/net/InetSocketAddress;)V
.locals 0
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
if-eqz p1, :cond_2
if-eqz p2, :cond_1
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
if-eqz p3, :cond_0
iput-object p1, p0, Lc/J;->a:Lc/a;
iput-object p2, p0, Lc/J;->b:Ljava/net/Proxy;
iput-object p3, p0, Lc/J;->c:Ljava/net/InetSocketAddress;
2020-01-11 23:35:37 +08:00
return-void
:cond_0
2020-03-24 03:54:23 +08:00
new-instance p1, Ljava/lang/NullPointerException;
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
const-string p2, "inetSocketAddress == null"
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
invoke-direct {p1, p2}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
2020-01-11 23:35:37 +08:00
throw p1
2020-03-24 03:54:23 +08:00
:cond_1
new-instance p1, Ljava/lang/NullPointerException;
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
const-string p2, "proxy == null"
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
invoke-direct {p1, p2}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
throw p1
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
:cond_2
new-instance p1, Ljava/lang/NullPointerException;
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
const-string p2, "address == null"
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
invoke-direct {p1, p2}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
2020-01-11 23:35:37 +08:00
throw p1
.end method
2020-03-24 03:54:23 +08:00
# virtual methods
.method public a()Lc/a;
2020-01-11 23:35:37 +08:00
.locals 1
2020-03-24 03:54:23 +08:00
iget-object v0, p0, Lc/J;->a:Lc/a;
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
return-object v0
.end method
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
.method public b()Ljava/net/Proxy;
.locals 1
iget-object v0, p0, Lc/J;->b:Ljava/net/Proxy;
2020-01-11 23:35:37 +08:00
return-object v0
.end method
2020-03-24 03:54:23 +08:00
.method public c()Z
.locals 2
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
iget-object v0, p0, Lc/J;->a:Lc/a;
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
iget-object v0, v0, Lc/a;->i:Ljavax/net/ssl/SSLSocketFactory;
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
if-eqz v0, :cond_0
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
iget-object v0, p0, Lc/J;->b:Ljava/net/Proxy;
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
invoke-virtual {v0}, Ljava/net/Proxy;->type()Ljava/net/Proxy$Type;
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
move-result-object v0
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
sget-object v1, Ljava/net/Proxy$Type;->HTTP:Ljava/net/Proxy$Type;
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
if-ne v0, v1, :cond_0
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
const/4 v0, 0x1
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
goto :goto_0
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
:cond_0
const/4 v0, 0x0
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
:goto_0
return v0
.end method
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
.method public d()Ljava/net/InetSocketAddress;
.locals 1
iget-object v0, p0, Lc/J;->c:Ljava/net/InetSocketAddress;
2020-01-11 23:35:37 +08:00
return-object v0
.end method
2020-03-24 03:54:23 +08:00
.method public equals(Ljava/lang/Object;)Z
.locals 3
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
instance-of v0, p1, Lc/J;
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
const/4 v1, 0x0
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
if-eqz v0, :cond_0
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
check-cast p1, Lc/J;
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
iget-object v0, p0, Lc/J;->a:Lc/a;
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
iget-object v2, p1, Lc/J;->a:Lc/a;
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
invoke-virtual {v0, v2}, Lc/a;->equals(Ljava/lang/Object;)Z
2020-01-11 23:35:37 +08:00
move-result v0
2020-03-24 03:54:23 +08:00
if-eqz v0, :cond_0
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
iget-object v0, p0, Lc/J;->b:Ljava/net/Proxy;
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
iget-object v2, p1, Lc/J;->b:Ljava/net/Proxy;
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
invoke-virtual {v0, v2}, Ljava/net/Proxy;->equals(Ljava/lang/Object;)Z
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
move-result v0
if-eqz v0, :cond_0
iget-object v0, p0, Lc/J;->c:Ljava/net/InetSocketAddress;
iget-object p1, p1, Lc/J;->c:Ljava/net/InetSocketAddress;
invoke-virtual {v0, p1}, Ljava/net/InetSocketAddress;->equals(Ljava/lang/Object;)Z
move-result p1
if-eqz p1, :cond_0
const/4 v1, 0x1
:cond_0
return v1
2020-01-11 23:35:37 +08:00
.end method
2020-03-24 03:54:23 +08:00
.method public hashCode()I
2020-01-11 23:35:37 +08:00
.locals 2
2020-03-24 03:54:23 +08:00
iget-object v0, p0, Lc/J;->a:Lc/a;
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
invoke-virtual {v0}, Lc/a;->hashCode()I
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
move-result v0
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
const/16 v1, 0x20f
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
add-int/2addr v1, v0
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
mul-int/lit8 v1, v1, 0x1f
2020-01-11 23:35:37 +08:00
2020-03-24 03:54:23 +08:00
iget-object v0, p0, Lc/J;->b:Ljava/net/Proxy;
invoke-virtual {v0}, Ljava/net/Proxy;->hashCode()I
move-result v0
add-int/2addr v1, v0
mul-int/lit8 v1, v1, 0x1f
iget-object v0, p0, Lc/J;->c:Ljava/net/InetSocketAddress;
invoke-virtual {v0}, Ljava/net/InetSocketAddress;->hashCode()I
move-result v0
add-int/2addr v1, v0
return v1
2020-01-11 23:35:37 +08:00
.end method