apkfuckery/com.discord/smali_classes2/c0/l.smali
2020-03-27 23:23:51 +01:00

510 lines
10 KiB
Smali

.class public final Lc0/l;
.super Ljava/lang/Object;
.source "Cookie.kt"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lc0/l$a;
}
.end annotation
# static fields
.field public static final j:Ljava/util/regex/Pattern;
.field public static final k:Ljava/util/regex/Pattern;
.field public static final l:Ljava/util/regex/Pattern;
.field public static final m:Ljava/util/regex/Pattern;
.field public static final n:Lc0/l$a;
# instance fields
.field public final a:Ljava/lang/String;
.field public final b:Ljava/lang/String;
.field public final c:J
.field public final d:Ljava/lang/String;
.field public final e:Ljava/lang/String;
.field public final f:Z
.field public final g:Z
.field public final h:Z
.field public final i:Z
# direct methods
.method public static constructor <clinit>()V
.locals 2
new-instance v0, Lc0/l$a;
const/4 v1, 0x0
invoke-direct {v0, v1}, Lc0/l$a;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
sput-object v0, Lc0/l;->n:Lc0/l$a;
const-string v0, "(\\d{2,4})[^\\d]*"
invoke-static {v0}, Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern;
move-result-object v0
sput-object v0, Lc0/l;->j:Ljava/util/regex/Pattern;
const-string v0, "(?i)(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec).*"
invoke-static {v0}, Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern;
move-result-object v0
sput-object v0, Lc0/l;->k:Ljava/util/regex/Pattern;
const-string v0, "(\\d{1,2})[^\\d]*"
invoke-static {v0}, Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern;
move-result-object v0
sput-object v0, Lc0/l;->l:Ljava/util/regex/Pattern;
const-string v0, "(\\d{1,2}):(\\d{1,2}):(\\d{1,2})[^\\d]*"
invoke-static {v0}, Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern;
move-result-object v0
sput-object v0, Lc0/l;->m:Ljava/util/regex/Pattern;
return-void
.end method
.method public synthetic constructor <init>(Ljava/lang/String;Ljava/lang/String;JLjava/lang/String;Ljava/lang/String;ZZZZLkotlin/jvm/internal/DefaultConstructorMarker;)V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lc0/l;->a:Ljava/lang/String;
iput-object p2, p0, Lc0/l;->b:Ljava/lang/String;
iput-wide p3, p0, Lc0/l;->c:J
iput-object p5, p0, Lc0/l;->d:Ljava/lang/String;
iput-object p6, p0, Lc0/l;->e:Ljava/lang/String;
iput-boolean p7, p0, Lc0/l;->f:Z
iput-boolean p8, p0, Lc0/l;->g:Z
iput-boolean p9, p0, Lc0/l;->h:Z
iput-boolean p10, p0, Lc0/l;->i:Z
return-void
.end method
# virtual methods
.method public final a()J
.locals 2
iget-wide v0, p0, Lc0/l;->c:J
return-wide v0
.end method
.method public final a(Lc0/u;)Z
.locals 3
if-eqz p1, :cond_5
iget-boolean v0, p0, Lc0/l;->i:Z
if-eqz v0, :cond_0
iget-object v0, p1, Lc0/u;->e:Ljava/lang/String;
iget-object v1, p0, Lc0/l;->d:Ljava/lang/String;
invoke-static {v0, v1}, Ly/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
goto :goto_0
:cond_0
sget-object v0, Lc0/l;->n:Lc0/l$a;
iget-object v1, p1, Lc0/u;->e:Ljava/lang/String;
iget-object v2, p0, Lc0/l;->d:Ljava/lang/String;
invoke-virtual {v0, v1, v2}, Lc0/l$a;->a(Ljava/lang/String;Ljava/lang/String;)Z
move-result v0
:goto_0
const/4 v1, 0x0
if-nez v0, :cond_1
return v1
:cond_1
sget-object v0, Lc0/l;->n:Lc0/l$a;
iget-object v2, p0, Lc0/l;->e:Ljava/lang/String;
invoke-virtual {v0, p1, v2}, Lc0/l$a;->a(Lc0/u;Ljava/lang/String;)Z
move-result v0
if-nez v0, :cond_2
return v1
:cond_2
iget-boolean v0, p0, Lc0/l;->f:Z
if-eqz v0, :cond_3
iget-boolean p1, p1, Lc0/u;->a:Z
if-eqz p1, :cond_4
:cond_3
const/4 v1, 0x1
:cond_4
return v1
:cond_5
const-string p1, "url"
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
.method public final b()Z
.locals 1
iget-boolean v0, p0, Lc0/l;->h:Z
return v0
.end method
.method public final c()Ljava/lang/String;
.locals 1
iget-object v0, p0, Lc0/l;->b:Ljava/lang/String;
return-object v0
.end method
.method public equals(Ljava/lang/Object;)Z
.locals 5
instance-of v0, p1, Lc0/l;
if-eqz v0, :cond_0
check-cast p1, Lc0/l;
iget-object v0, p1, Lc0/l;->a:Ljava/lang/String;
iget-object v1, p0, Lc0/l;->a:Ljava/lang/String;
invoke-static {v0, v1}, Ly/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
iget-object v0, p1, Lc0/l;->b:Ljava/lang/String;
iget-object v1, p0, Lc0/l;->b:Ljava/lang/String;
invoke-static {v0, v1}, Ly/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
iget-wide v0, p1, Lc0/l;->c:J
iget-wide v2, p0, Lc0/l;->c:J
cmp-long v4, v0, v2
if-nez v4, :cond_0
iget-object v0, p1, Lc0/l;->d:Ljava/lang/String;
iget-object v1, p0, Lc0/l;->d:Ljava/lang/String;
invoke-static {v0, v1}, Ly/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
iget-object v0, p1, Lc0/l;->e:Ljava/lang/String;
iget-object v1, p0, Lc0/l;->e:Ljava/lang/String;
invoke-static {v0, v1}, Ly/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
iget-boolean v0, p1, Lc0/l;->f:Z
iget-boolean v1, p0, Lc0/l;->f:Z
if-ne v0, v1, :cond_0
iget-boolean v0, p1, Lc0/l;->g:Z
iget-boolean v1, p0, Lc0/l;->g:Z
if-ne v0, v1, :cond_0
iget-boolean v0, p1, Lc0/l;->h:Z
iget-boolean v1, p0, Lc0/l;->h:Z
if-ne v0, v1, :cond_0
iget-boolean p1, p1, Lc0/l;->i:Z
iget-boolean v0, p0, Lc0/l;->i:Z
if-ne p1, v0, :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 4
iget-object v0, p0, Lc0/l;->a:Ljava/lang/String;
invoke-virtual {v0}, Ljava/lang/String;->hashCode()I
move-result v0
add-int/lit16 v0, v0, 0x20f
mul-int/lit8 v0, v0, 0x1f
iget-object v1, p0, Lc0/l;->b:Ljava/lang/String;
invoke-virtual {v1}, Ljava/lang/String;->hashCode()I
move-result v1
add-int/2addr v1, v0
mul-int/lit8 v1, v1, 0x1f
iget-wide v2, p0, Lc0/l;->c:J
invoke-static {v2, v3}, Ld;->a(J)I
move-result v0
add-int/2addr v1, v0
mul-int/lit8 v1, v1, 0x1f
iget-object v0, p0, Lc0/l;->d:Ljava/lang/String;
invoke-virtual {v0}, Ljava/lang/String;->hashCode()I
move-result v0
add-int/2addr v0, v1
mul-int/lit8 v0, v0, 0x1f
iget-object v1, p0, Lc0/l;->e:Ljava/lang/String;
invoke-virtual {v1}, Ljava/lang/String;->hashCode()I
move-result v1
add-int/2addr v1, v0
mul-int/lit8 v1, v1, 0x1f
iget-boolean v0, p0, Lc0/l;->f:Z
invoke-static {v0}, La;->a(Z)I
move-result v0
add-int/2addr v1, v0
mul-int/lit8 v1, v1, 0x1f
iget-boolean v0, p0, Lc0/l;->g:Z
invoke-static {v0}, La;->a(Z)I
move-result v0
add-int/2addr v1, v0
mul-int/lit8 v1, v1, 0x1f
iget-boolean v0, p0, Lc0/l;->h:Z
invoke-static {v0}, La;->a(Z)I
move-result v0
add-int/2addr v1, v0
mul-int/lit8 v1, v1, 0x1f
iget-boolean v0, p0, Lc0/l;->i:Z
invoke-static {v0}, La;->a(Z)I
move-result v0
add-int/2addr v1, v0
return v1
.end method
.method public toString()Ljava/lang/String;
.locals 6
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
iget-object v1, p0, Lc0/l;->a:Ljava/lang/String;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const/16 v1, 0x3d
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
iget-object v1, p0, Lc0/l;->b:Ljava/lang/String;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-boolean v1, p0, Lc0/l;->h:Z
if-eqz v1, :cond_1
iget-wide v1, p0, Lc0/l;->c:J
const-wide/high16 v3, -0x8000000000000000L
cmp-long v5, v1, v3
if-nez v5, :cond_0
const-string v1, "; max-age=0"
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
goto :goto_0
:cond_0
const-string v1, "; expires="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
new-instance v1, Ljava/util/Date;
iget-wide v2, p0, Lc0/l;->c:J
invoke-direct {v1, v2, v3}, Ljava/util/Date;-><init>(J)V
invoke-static {v1}, Lc0/c0/d/c;->a(Ljava/util/Date;)Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
:cond_1
:goto_0
iget-boolean v1, p0, Lc0/l;->i:Z
if-nez v1, :cond_2
const-string v1, "; domain="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v1, p0, Lc0/l;->d:Ljava/lang/String;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
:cond_2
const-string v1, "; path="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v1, p0, Lc0/l;->e:Ljava/lang/String;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-boolean v1, p0, Lc0/l;->f:Z
if-eqz v1, :cond_3
const-string v1, "; secure"
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
:cond_3
iget-boolean v1, p0, Lc0/l;->g:Z
if-eqz v1, :cond_4
const-string v1, "; httponly"
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
:cond_4
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
const-string v1, "toString()"
invoke-static {v0, v1}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
return-object v0
.end method