apkfuckery/com.discord/smali_classes2/g0/f0.smali

180 lines
3.7 KiB
Smali
Raw Normal View History

2020-09-22 07:09:10 +00:00
.class public final Lg0/f0;
2020-09-16 23:45:23 +00:00
.super Ljava/lang/Object;
.source "Route.kt"
2020-07-08 16:44:49 +00:00
2020-09-16 23:45:23 +00:00
# instance fields
2020-09-22 07:09:10 +00:00
.field public final a:Lg0/a;
2020-07-08 16:44:49 +00:00
2020-09-16 23:45:23 +00:00
.field public final b:Ljava/net/Proxy;
2020-07-08 16:44:49 +00:00
2020-09-16 23:45:23 +00:00
.field public final c:Ljava/net/InetSocketAddress;
2020-07-08 16:44:49 +00:00
2020-09-16 23:45:23 +00:00
# direct methods
2020-09-22 07:09:10 +00:00
.method public constructor <init>(Lg0/a;Ljava/net/Proxy;Ljava/net/InetSocketAddress;)V
2020-09-16 23:45:23 +00:00
.locals 1
2020-07-08 16:44:49 +00:00
2020-09-16 23:45:23 +00:00
const-string v0, "address"
2020-07-08 16:44:49 +00:00
2020-09-23 03:12:49 +00:00
invoke-static {p1, v0}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
2020-09-16 23:45:23 +00:00
const-string v0, "proxy"
2020-07-08 16:44:49 +00:00
2020-09-23 03:12:49 +00:00
invoke-static {p2, v0}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
2020-09-16 23:45:23 +00:00
const-string v0, "socketAddress"
2020-07-08 16:44:49 +00:00
2020-09-23 03:12:49 +00:00
invoke-static {p3, v0}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
2020-09-16 23:45:23 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2020-07-08 16:44:49 +00:00
2020-09-22 07:09:10 +00:00
iput-object p1, p0, Lg0/f0;->a:Lg0/a;
2020-07-08 16:44:49 +00:00
2020-09-22 07:09:10 +00:00
iput-object p2, p0, Lg0/f0;->b:Ljava/net/Proxy;
2020-07-08 16:44:49 +00:00
2020-09-22 07:09:10 +00:00
iput-object p3, p0, Lg0/f0;->c:Ljava/net/InetSocketAddress;
2020-07-08 16:44:49 +00:00
2020-09-16 23:45:23 +00:00
return-void
.end method
2020-07-08 16:44:49 +00:00
2020-09-16 23:45:23 +00:00
# virtual methods
.method public final a()Z
.locals 2
2020-07-08 16:44:49 +00:00
2020-09-22 07:09:10 +00:00
iget-object v0, p0, Lg0/f0;->a:Lg0/a;
2020-07-08 16:44:49 +00:00
2020-09-22 07:09:10 +00:00
iget-object v0, v0, Lg0/a;->f:Ljavax/net/ssl/SSLSocketFactory;
2020-07-08 16:44:49 +00:00
2020-09-16 23:45:23 +00:00
if-eqz v0, :cond_0
2020-07-08 16:44:49 +00:00
2020-09-22 07:09:10 +00:00
iget-object v0, p0, Lg0/f0;->b:Ljava/net/Proxy;
2020-07-08 16:44:49 +00:00
2020-09-16 23:45:23 +00:00
invoke-virtual {v0}, Ljava/net/Proxy;->type()Ljava/net/Proxy$Type;
2020-07-08 16:44:49 +00:00
2020-09-16 23:45:23 +00:00
move-result-object v0
2020-07-08 16:44:49 +00:00
2020-09-16 23:45:23 +00:00
sget-object v1, Ljava/net/Proxy$Type;->HTTP:Ljava/net/Proxy$Type;
2020-07-08 16:44:49 +00:00
2020-09-16 23:45:23 +00:00
if-ne v0, v1, :cond_0
2020-07-08 16:44:49 +00:00
2020-09-16 23:45:23 +00:00
const/4 v0, 0x1
2020-07-08 16:44:49 +00:00
2020-09-16 23:45:23 +00:00
goto :goto_0
2020-07-08 16:44:49 +00:00
2020-09-16 23:45:23 +00:00
:cond_0
const/4 v0, 0x0
2020-07-08 16:44:49 +00:00
2020-09-16 23:45:23 +00:00
:goto_0
return v0
.end method
2020-07-08 16:44:49 +00:00
2020-09-16 23:45:23 +00:00
.method public equals(Ljava/lang/Object;)Z
.locals 2
2020-07-08 16:44:49 +00:00
2020-09-22 07:09:10 +00:00
instance-of v0, p1, Lg0/f0;
2020-07-08 16:44:49 +00:00
2020-09-16 23:45:23 +00:00
if-eqz v0, :cond_0
2020-07-08 16:44:49 +00:00
2020-09-22 07:09:10 +00:00
check-cast p1, Lg0/f0;
2020-07-08 16:44:49 +00:00
2020-09-22 07:09:10 +00:00
iget-object v0, p1, Lg0/f0;->a:Lg0/a;
2020-07-08 16:44:49 +00:00
2020-09-22 07:09:10 +00:00
iget-object v1, p0, Lg0/f0;->a:Lg0/a;
2020-07-08 16:44:49 +00:00
2020-09-23 03:12:49 +00:00
invoke-static {v0, v1}, Lc0/n/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
2020-07-08 16:44:49 +00:00
2020-09-16 23:45:23 +00:00
move-result v0
2020-07-08 16:44:49 +00:00
2020-09-16 23:45:23 +00:00
if-eqz v0, :cond_0
2020-07-08 16:44:49 +00:00
2020-09-22 07:09:10 +00:00
iget-object v0, p1, Lg0/f0;->b:Ljava/net/Proxy;
2020-07-08 16:44:49 +00:00
2020-09-22 07:09:10 +00:00
iget-object v1, p0, Lg0/f0;->b:Ljava/net/Proxy;
2020-07-08 16:44:49 +00:00
2020-09-23 03:12:49 +00:00
invoke-static {v0, v1}, Lc0/n/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
2020-07-08 16:44:49 +00:00
2020-09-16 23:45:23 +00:00
move-result v0
2020-07-08 16:44:49 +00:00
2020-09-16 23:45:23 +00:00
if-eqz v0, :cond_0
2020-07-08 16:44:49 +00:00
2020-09-22 07:09:10 +00:00
iget-object p1, p1, Lg0/f0;->c:Ljava/net/InetSocketAddress;
2020-07-08 16:44:49 +00:00
2020-09-22 07:09:10 +00:00
iget-object v0, p0, Lg0/f0;->c:Ljava/net/InetSocketAddress;
2020-07-08 16:44:49 +00:00
2020-09-23 03:12:49 +00:00
invoke-static {p1, v0}, Lc0/n/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
2020-07-08 16:44:49 +00:00
2020-09-16 23:45:23 +00:00
move-result p1
2020-07-08 16:44:49 +00:00
2020-09-16 23:45:23 +00:00
if-eqz p1, :cond_0
2020-07-08 16:44:49 +00:00
2020-09-16 23:45:23 +00:00
const/4 p1, 0x1
2020-07-08 16:44:49 +00:00
2020-09-16 23:45:23 +00:00
goto :goto_0
2020-07-08 16:44:49 +00:00
2020-09-16 23:45:23 +00:00
:cond_0
const/4 p1, 0x0
2020-07-08 16:44:49 +00:00
2020-09-16 23:45:23 +00:00
:goto_0
return p1
.end method
2020-07-08 16:44:49 +00:00
2020-09-16 23:45:23 +00:00
.method public hashCode()I
.locals 2
2020-07-08 16:44:49 +00:00
2020-09-22 07:09:10 +00:00
iget-object v0, p0, Lg0/f0;->a:Lg0/a;
2020-07-08 16:44:49 +00:00
2020-09-22 07:09:10 +00:00
invoke-virtual {v0}, Lg0/a;->hashCode()I
2020-07-08 16:44:49 +00:00
2020-09-16 23:45:23 +00:00
move-result v0
2020-07-08 16:44:49 +00:00
2020-09-16 23:45:23 +00:00
add-int/lit16 v0, v0, 0x20f
2020-07-08 16:44:49 +00:00
2020-09-16 23:45:23 +00:00
mul-int/lit8 v0, v0, 0x1f
2020-07-08 16:44:49 +00:00
2020-09-22 07:09:10 +00:00
iget-object v1, p0, Lg0/f0;->b:Ljava/net/Proxy;
2020-07-08 16:44:49 +00:00
2020-09-16 23:45:23 +00:00
invoke-virtual {v1}, Ljava/net/Proxy;->hashCode()I
2020-07-08 16:44:49 +00:00
2020-09-16 23:45:23 +00:00
move-result v1
2020-07-08 16:44:49 +00:00
2020-09-16 23:45:23 +00:00
add-int/2addr v1, v0
2020-07-08 16:44:49 +00:00
2020-09-16 23:45:23 +00:00
mul-int/lit8 v1, v1, 0x1f
2020-07-08 16:44:49 +00:00
2020-09-22 07:09:10 +00:00
iget-object v0, p0, Lg0/f0;->c:Ljava/net/InetSocketAddress;
2020-09-09 19:21:20 +00:00
2020-09-16 23:45:23 +00:00
invoke-virtual {v0}, Ljava/net/InetSocketAddress;->hashCode()I
2020-09-09 19:21:20 +00:00
2020-09-16 23:45:23 +00:00
move-result v0
add-int/2addr v0, v1
return v0
2020-07-08 16:44:49 +00:00
.end method
2020-09-16 23:45:23 +00:00
.method public toString()Ljava/lang/String;
.locals 2
2020-07-08 16:44:49 +00:00
2020-09-16 23:45:23 +00:00
const-string v0, "Route{"
2020-07-08 16:44:49 +00:00
2020-09-28 19:40:16 +00:00
invoke-static {v0}, Lf/e/c/a/a;->E(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-07-08 16:44:49 +00:00
move-result-object v0
2020-09-22 07:09:10 +00:00
iget-object v1, p0, Lg0/f0;->c:Ljava/net/InetSocketAddress;
2020-09-16 23:45:23 +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
2020-07-08 16:44:49 +00:00
return-object v0
.end method