apkfuckery/com.discord/smali_classes2/a0/a0.smali

197 lines
3.7 KiB
Smali
Raw Normal View History

2020-02-20 19:33:18 +00:00
.class public final La0/a0;
2019-12-06 03:29:40 +00:00
.super Ljava/lang/Object;
.source "Route.kt"
# instance fields
2020-02-20 19:33:18 +00:00
.field public final a:La0/a;
2019-12-06 03:29:40 +00:00
.field public final b:Ljava/net/Proxy;
.field public final c:Ljava/net/InetSocketAddress;
# direct methods
2020-02-20 19:33:18 +00:00
.method public constructor <init>(La0/a;Ljava/net/Proxy;Ljava/net/InetSocketAddress;)V
2019-12-06 03:29:40 +00:00
.locals 1
const/4 v0, 0x0
if-eqz p1, :cond_2
if-eqz p2, :cond_1
if-eqz p3, :cond_0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2020-02-20 19:33:18 +00:00
iput-object p1, p0, La0/a0;->a:La0/a;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
iput-object p2, p0, La0/a0;->b:Ljava/net/Proxy;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
iput-object p3, p0, La0/a0;->c:Ljava/net/InetSocketAddress;
2019-12-06 03:29:40 +00:00
return-void
:cond_0
const-string p1, "socketAddress"
2020-02-20 19:33:18 +00:00
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
:cond_1
const-string p1, "proxy"
2020-02-20 19:33:18 +00:00
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
:cond_2
const-string p1, "address"
2020-02-20 19:33:18 +00:00
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
.end method
# virtual methods
2020-03-14 02:12:46 +00:00
.method public final a()Z
2019-12-06 03:29:40 +00:00
.locals 2
2020-02-20 19:33:18 +00:00
iget-object v0, p0, La0/a0;->a:La0/a;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
iget-object v0, v0, La0/a;->f:Ljavax/net/ssl/SSLSocketFactory;
2019-12-06 03:29:40 +00:00
if-eqz v0, :cond_0
2020-02-20 19:33:18 +00:00
iget-object v0, p0, La0/a0;->b:Ljava/net/Proxy;
2019-12-06 03:29:40 +00:00
invoke-virtual {v0}, Ljava/net/Proxy;->type()Ljava/net/Proxy$Type;
move-result-object v0
sget-object v1, Ljava/net/Proxy$Type;->HTTP:Ljava/net/Proxy$Type;
if-ne v0, v1, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method
.method public equals(Ljava/lang/Object;)Z
.locals 2
2020-02-20 19:33:18 +00:00
instance-of v0, p1, La0/a0;
2019-12-06 03:29:40 +00:00
if-eqz v0, :cond_0
2020-02-20 19:33:18 +00:00
check-cast p1, La0/a0;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
iget-object v0, p1, La0/a0;->a:La0/a;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
iget-object v1, p0, La0/a0;->a:La0/a;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
invoke-static {v0, v1}, Lw/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
2019-12-06 03:29:40 +00:00
move-result v0
if-eqz v0, :cond_0
2020-02-20 19:33:18 +00:00
iget-object v0, p1, La0/a0;->b:Ljava/net/Proxy;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
iget-object v1, p0, La0/a0;->b:Ljava/net/Proxy;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
invoke-static {v0, v1}, Lw/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
2019-12-06 03:29:40 +00:00
move-result v0
if-eqz v0, :cond_0
2020-02-20 19:33:18 +00:00
iget-object p1, p1, La0/a0;->c:Ljava/net/InetSocketAddress;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
iget-object v0, p0, La0/a0;->c:Ljava/net/InetSocketAddress;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
invoke-static {p1, v0}, Lw/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
2019-12-06 03:29:40 +00:00
move-result p1
if-eqz p1, :cond_0
const/4 p1, 0x1
goto :goto_0
:cond_0
const/4 p1, 0x0
:goto_0
return p1
.end method
.method public hashCode()I
.locals 2
2020-02-20 19:33:18 +00:00
iget-object v0, p0, La0/a0;->a:La0/a;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
invoke-virtual {v0}, La0/a;->hashCode()I
2019-12-06 03:29:40 +00:00
move-result v0
add-int/lit16 v0, v0, 0x20f
mul-int/lit8 v0, v0, 0x1f
2020-02-20 19:33:18 +00:00
iget-object v1, p0, La0/a0;->b:Ljava/net/Proxy;
2019-12-06 03:29:40 +00:00
invoke-virtual {v1}, Ljava/net/Proxy;->hashCode()I
move-result v1
add-int/2addr v1, v0
mul-int/lit8 v1, v1, 0x1f
2020-02-20 19:33:18 +00:00
iget-object v0, p0, La0/a0;->c:Ljava/net/InetSocketAddress;
2019-12-06 03:29:40 +00:00
invoke-virtual {v0}, Ljava/net/InetSocketAddress;->hashCode()I
move-result v0
add-int/2addr v0, v1
return v0
.end method
.method public toString()Ljava/lang/String;
.locals 2
const-string v0, "Route{"
invoke-static {v0}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
2020-02-20 19:33:18 +00:00
iget-object v1, p0, La0/a0;->c:Ljava/net/InetSocketAddress;
2019-12-06 03:29:40 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const/16 v1, 0x7d
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method