apkfuckery/com.discord/smali_classes2/o0/o.smali

567 lines
12 KiB
Smali
Raw Normal View History

2020-09-18 16:51:32 +00:00
.class public final Lo0/o;
2020-09-16 23:45:23 +00:00
.super Ljava/lang/Object;
.source "Cookie.kt"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
2020-09-18 16:51:32 +00:00
Lo0/o$a;
2020-09-16 23:45:23 +00:00
}
.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;
2020-09-18 16:51:32 +00:00
.field public static final n:Lo0/o$a;
2020-09-16 23:45:23 +00:00
# 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
2020-09-18 16:51:32 +00:00
new-instance v0, Lo0/o$a;
2020-09-16 23:45:23 +00:00
const/4 v1, 0x0
2020-09-18 16:51:32 +00:00
invoke-direct {v0, v1}, Lo0/o$a;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
2020-09-16 23:45:23 +00:00
2020-09-18 16:51:32 +00:00
sput-object v0, Lo0/o;->n:Lo0/o$a;
2020-09-16 23:45:23 +00:00
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
2020-09-18 16:51:32 +00:00
sput-object v0, Lo0/o;->j:Ljava/util/regex/Pattern;
2020-09-16 23:45:23 +00:00
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
2020-09-18 16:51:32 +00:00
sput-object v0, Lo0/o;->k:Ljava/util/regex/Pattern;
2020-09-16 23:45:23 +00:00
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
2020-09-18 16:51:32 +00:00
sput-object v0, Lo0/o;->l:Ljava/util/regex/Pattern;
2020-09-16 23:45:23 +00:00
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
2020-09-18 16:51:32 +00:00
sput-object v0, Lo0/o;->m:Ljava/util/regex/Pattern;
2020-09-16 23:45:23 +00:00
return-void
.end method
.method public 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
2020-09-18 16:51:32 +00:00
iput-object p1, p0, Lo0/o;->a:Ljava/lang/String;
2020-09-16 23:45:23 +00:00
2020-09-18 16:51:32 +00:00
iput-object p2, p0, Lo0/o;->b:Ljava/lang/String;
2020-09-16 23:45:23 +00:00
2020-09-18 16:51:32 +00:00
iput-wide p3, p0, Lo0/o;->c:J
2020-09-16 23:45:23 +00:00
2020-09-18 16:51:32 +00:00
iput-object p5, p0, Lo0/o;->d:Ljava/lang/String;
2020-09-16 23:45:23 +00:00
2020-09-18 16:51:32 +00:00
iput-object p6, p0, Lo0/o;->e:Ljava/lang/String;
2020-09-16 23:45:23 +00:00
2020-09-18 16:51:32 +00:00
iput-boolean p7, p0, Lo0/o;->f:Z
2020-09-16 23:45:23 +00:00
2020-09-18 16:51:32 +00:00
iput-boolean p8, p0, Lo0/o;->g:Z
2020-09-16 23:45:23 +00:00
2020-09-18 16:51:32 +00:00
iput-boolean p9, p0, Lo0/o;->h:Z
2020-09-16 23:45:23 +00:00
2020-09-18 16:51:32 +00:00
iput-boolean p10, p0, Lo0/o;->i:Z
2020-09-16 23:45:23 +00:00
return-void
.end method
# virtual methods
2020-09-18 16:51:32 +00:00
.method public final a(Lo0/y;)Z
2020-09-16 23:45:23 +00:00
.locals 6
const-string v0, "url"
2020-09-18 16:51:32 +00:00
invoke-static {p1, v0}, Lk0/n/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-09-16 23:45:23 +00:00
2020-09-18 16:51:32 +00:00
iget-boolean v0, p0, Lo0/o;->i:Z
2020-09-16 23:45:23 +00:00
const/4 v1, 0x2
const/4 v2, 0x1
const/4 v3, 0x0
if-eqz v0, :cond_0
2020-09-18 16:51:32 +00:00
iget-object v0, p1, Lo0/y;->e:Ljava/lang/String;
2020-09-16 23:45:23 +00:00
2020-09-18 16:51:32 +00:00
iget-object v4, p0, Lo0/o;->d:Ljava/lang/String;
2020-09-16 23:45:23 +00:00
2020-09-18 16:51:32 +00:00
invoke-static {v0, v4}, Lk0/n/c/i;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
2020-09-16 23:45:23 +00:00
move-result v0
goto :goto_1
:cond_0
2020-09-18 16:51:32 +00:00
iget-object v0, p1, Lo0/y;->e:Ljava/lang/String;
2020-09-16 23:45:23 +00:00
2020-09-18 16:51:32 +00:00
iget-object v4, p0, Lo0/o;->d:Ljava/lang/String;
2020-09-16 23:45:23 +00:00
2020-09-18 16:51:32 +00:00
invoke-static {v0, v4}, Lk0/n/c/i;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
2020-09-16 23:45:23 +00:00
move-result v5
if-eqz v5, :cond_1
goto :goto_0
:cond_1
2020-09-18 16:51:32 +00:00
invoke-static {v0, v4, v3, v1}, Lk0/t/k;->endsWith$default(Ljava/lang/String;Ljava/lang/String;ZI)Z
2020-09-16 23:45:23 +00:00
move-result v5
if-eqz v5, :cond_2
invoke-virtual {v0}, Ljava/lang/String;->length()I
move-result v5
invoke-virtual {v4}, Ljava/lang/String;->length()I
move-result v4
sub-int/2addr v5, v4
sub-int/2addr v5, v2
invoke-virtual {v0, v5}, Ljava/lang/String;->charAt(I)C
move-result v4
const/16 v5, 0x2e
if-ne v4, v5, :cond_2
2020-09-18 16:51:32 +00:00
invoke-static {v0}, Lo0/h0/c;->b(Ljava/lang/String;)Z
2020-09-16 23:45:23 +00:00
move-result v0
if-nez v0, :cond_2
:goto_0
const/4 v0, 0x1
goto :goto_1
:cond_2
const/4 v0, 0x0
:goto_1
if-nez v0, :cond_3
return v3
:cond_3
2020-09-18 16:51:32 +00:00
iget-object v0, p0, Lo0/o;->e:Ljava/lang/String;
2020-09-16 23:45:23 +00:00
2020-09-18 16:51:32 +00:00
invoke-virtual {p1}, Lo0/y;->b()Ljava/lang/String;
2020-09-16 23:45:23 +00:00
move-result-object v4
2020-09-18 16:51:32 +00:00
invoke-static {v4, v0}, Lk0/n/c/i;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
2020-09-16 23:45:23 +00:00
move-result v5
if-eqz v5, :cond_4
goto :goto_2
:cond_4
2020-09-18 16:51:32 +00:00
invoke-static {v4, v0, v3, v1}, Lk0/t/k;->startsWith$default(Ljava/lang/String;Ljava/lang/String;ZI)Z
2020-09-16 23:45:23 +00:00
move-result v5
if-eqz v5, :cond_6
const-string v5, "/"
2020-09-18 16:51:32 +00:00
invoke-static {v0, v5, v3, v1}, Lk0/t/k;->endsWith$default(Ljava/lang/String;Ljava/lang/String;ZI)Z
2020-09-16 23:45:23 +00:00
move-result v1
if-eqz v1, :cond_5
goto :goto_2
:cond_5
invoke-virtual {v0}, Ljava/lang/String;->length()I
move-result v0
invoke-virtual {v4, v0}, Ljava/lang/String;->charAt(I)C
move-result v0
const/16 v1, 0x2f
if-ne v0, v1, :cond_6
:goto_2
const/4 v0, 0x1
goto :goto_3
:cond_6
const/4 v0, 0x0
:goto_3
if-nez v0, :cond_7
return v3
:cond_7
2020-09-18 16:51:32 +00:00
iget-boolean v0, p0, Lo0/o;->f:Z
2020-09-16 23:45:23 +00:00
if-eqz v0, :cond_9
2020-09-18 16:51:32 +00:00
iget-boolean p1, p1, Lo0/y;->a:Z
2020-09-16 23:45:23 +00:00
if-eqz p1, :cond_8
goto :goto_4
:cond_8
const/4 v2, 0x0
:cond_9
:goto_4
return v2
.end method
.method public equals(Ljava/lang/Object;)Z
.locals 5
2020-09-18 16:51:32 +00:00
instance-of v0, p1, Lo0/o;
2020-09-16 23:45:23 +00:00
if-eqz v0, :cond_0
2020-09-18 16:51:32 +00:00
check-cast p1, Lo0/o;
2020-09-16 23:45:23 +00:00
2020-09-18 16:51:32 +00:00
iget-object v0, p1, Lo0/o;->a:Ljava/lang/String;
2020-09-16 23:45:23 +00:00
2020-09-18 16:51:32 +00:00
iget-object v1, p0, Lo0/o;->a:Ljava/lang/String;
2020-09-16 23:45:23 +00:00
2020-09-18 16:51:32 +00:00
invoke-static {v0, v1}, Lk0/n/c/i;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
2020-09-16 23:45:23 +00:00
move-result v0
if-eqz v0, :cond_0
2020-09-18 16:51:32 +00:00
iget-object v0, p1, Lo0/o;->b:Ljava/lang/String;
2020-09-16 23:45:23 +00:00
2020-09-18 16:51:32 +00:00
iget-object v1, p0, Lo0/o;->b:Ljava/lang/String;
2020-09-16 23:45:23 +00:00
2020-09-18 16:51:32 +00:00
invoke-static {v0, v1}, Lk0/n/c/i;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
2020-09-16 23:45:23 +00:00
move-result v0
if-eqz v0, :cond_0
2020-09-18 16:51:32 +00:00
iget-wide v0, p1, Lo0/o;->c:J
2020-09-16 23:45:23 +00:00
2020-09-18 16:51:32 +00:00
iget-wide v2, p0, Lo0/o;->c:J
2020-09-16 23:45:23 +00:00
cmp-long v4, v0, v2
if-nez v4, :cond_0
2020-09-18 16:51:32 +00:00
iget-object v0, p1, Lo0/o;->d:Ljava/lang/String;
2020-09-16 23:45:23 +00:00
2020-09-18 16:51:32 +00:00
iget-object v1, p0, Lo0/o;->d:Ljava/lang/String;
2020-09-16 23:45:23 +00:00
2020-09-18 16:51:32 +00:00
invoke-static {v0, v1}, Lk0/n/c/i;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
2020-09-16 23:45:23 +00:00
move-result v0
if-eqz v0, :cond_0
2020-09-18 16:51:32 +00:00
iget-object v0, p1, Lo0/o;->e:Ljava/lang/String;
2020-09-16 23:45:23 +00:00
2020-09-18 16:51:32 +00:00
iget-object v1, p0, Lo0/o;->e:Ljava/lang/String;
2020-09-16 23:45:23 +00:00
2020-09-18 16:51:32 +00:00
invoke-static {v0, v1}, Lk0/n/c/i;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
2020-09-16 23:45:23 +00:00
move-result v0
if-eqz v0, :cond_0
2020-09-18 16:51:32 +00:00
iget-boolean v0, p1, Lo0/o;->f:Z
2020-09-16 23:45:23 +00:00
2020-09-18 16:51:32 +00:00
iget-boolean v1, p0, Lo0/o;->f:Z
2020-09-16 23:45:23 +00:00
if-ne v0, v1, :cond_0
2020-09-18 16:51:32 +00:00
iget-boolean v0, p1, Lo0/o;->g:Z
2020-09-16 23:45:23 +00:00
2020-09-18 16:51:32 +00:00
iget-boolean v1, p0, Lo0/o;->g:Z
2020-09-16 23:45:23 +00:00
if-ne v0, v1, :cond_0
2020-09-18 16:51:32 +00:00
iget-boolean v0, p1, Lo0/o;->h:Z
2020-09-16 23:45:23 +00:00
2020-09-18 16:51:32 +00:00
iget-boolean v1, p0, Lo0/o;->h:Z
2020-09-16 23:45:23 +00:00
if-ne v0, v1, :cond_0
2020-09-18 16:51:32 +00:00
iget-boolean p1, p1, Lo0/o;->i:Z
2020-09-16 23:45:23 +00:00
2020-09-18 16:51:32 +00:00
iget-boolean v0, p0, Lo0/o;->i:Z
2020-09-16 23:45:23 +00:00
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 3
.annotation build Lorg/codehaus/mojo/animal_sniffer/IgnoreJRERequirement;
.end annotation
2020-09-18 16:51:32 +00:00
iget-object v0, p0, Lo0/o;->a:Ljava/lang/String;
2020-09-16 23:45:23 +00:00
const/16 v1, 0x20f
const/16 v2, 0x1f
invoke-static {v0, v1, v2}, Lf/e/b/a/a;->T(Ljava/lang/String;II)I
move-result v0
2020-09-18 16:51:32 +00:00
iget-object v1, p0, Lo0/o;->b:Ljava/lang/String;
2020-09-16 23:45:23 +00:00
invoke-static {v1, v0, v2}, Lf/e/b/a/a;->T(Ljava/lang/String;II)I
move-result v0
2020-09-18 16:51:32 +00:00
iget-wide v1, p0, Lo0/o;->c:J
2020-09-16 23:45:23 +00:00
invoke-static {v1, v2}, Ld;->a(J)I
move-result v1
add-int/2addr v1, v0
mul-int/lit8 v1, v1, 0x1f
2020-09-18 16:51:32 +00:00
iget-object v0, p0, Lo0/o;->d:Ljava/lang/String;
2020-09-16 23:45:23 +00:00
const/16 v2, 0x1f
invoke-static {v0, v1, v2}, Lf/e/b/a/a;->T(Ljava/lang/String;II)I
move-result v0
2020-09-18 16:51:32 +00:00
iget-object v1, p0, Lo0/o;->e:Ljava/lang/String;
2020-09-16 23:45:23 +00:00
invoke-static {v1, v0, v2}, Lf/e/b/a/a;->T(Ljava/lang/String;II)I
move-result v0
2020-09-18 16:51:32 +00:00
iget-boolean v1, p0, Lo0/o;->f:Z
2020-09-16 23:45:23 +00:00
invoke-static {v1}, Lb;->a(Z)I
move-result v1
add-int/2addr v1, v0
mul-int/lit8 v1, v1, 0x1f
2020-09-18 16:51:32 +00:00
iget-boolean v0, p0, Lo0/o;->g:Z
2020-09-16 23:45:23 +00:00
invoke-static {v0}, Lb;->a(Z)I
move-result v0
add-int/2addr v0, v1
mul-int/lit8 v0, v0, 0x1f
2020-09-18 16:51:32 +00:00
iget-boolean v1, p0, Lo0/o;->h:Z
2020-09-16 23:45:23 +00:00
invoke-static {v1}, Lb;->a(Z)I
move-result v1
add-int/2addr v1, v0
mul-int/lit8 v1, v1, 0x1f
2020-09-18 16:51:32 +00:00
iget-boolean v0, p0, Lo0/o;->i:Z
2020-09-16 23:45:23 +00:00
invoke-static {v0}, Lb;->a(Z)I
move-result v0
add-int/2addr v0, v1
return v0
.end method
.method public toString()Ljava/lang/String;
.locals 6
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
2020-09-18 16:51:32 +00:00
iget-object v1, p0, Lo0/o;->a:Ljava/lang/String;
2020-09-16 23:45:23 +00:00
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;
2020-09-18 16:51:32 +00:00
iget-object v1, p0, Lo0/o;->b:Ljava/lang/String;
2020-09-16 23:45:23 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-09-18 16:51:32 +00:00
iget-boolean v1, p0, Lo0/o;->h:Z
2020-09-16 23:45:23 +00:00
if-eqz v1, :cond_1
2020-09-18 16:51:32 +00:00
iget-wide v1, p0, Lo0/o;->c:J
2020-09-16 23:45:23 +00:00
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;
2020-09-18 16:51:32 +00:00
iget-wide v2, p0, Lo0/o;->c:J
2020-09-16 23:45:23 +00:00
invoke-direct {v1, v2, v3}, Ljava/util/Date;-><init>(J)V
2020-09-18 16:51:32 +00:00
invoke-static {v1}, Lo0/h0/h/c;->a(Ljava/util/Date;)Ljava/lang/String;
2020-09-16 23:45:23 +00:00
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
:cond_1
:goto_0
2020-09-18 16:51:32 +00:00
iget-boolean v1, p0, Lo0/o;->i:Z
2020-09-16 23:45:23 +00:00
if-nez v1, :cond_2
const-string v1, "; domain="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-09-18 16:51:32 +00:00
iget-object v1, p0, Lo0/o;->d:Ljava/lang/String;
2020-09-16 23:45:23 +00:00
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;
2020-09-18 16:51:32 +00:00
iget-object v1, p0, Lo0/o;->e:Ljava/lang/String;
2020-09-16 23:45:23 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-09-18 16:51:32 +00:00
iget-boolean v1, p0, Lo0/o;->f:Z
2020-09-16 23:45:23 +00:00
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
2020-09-18 16:51:32 +00:00
iget-boolean v1, p0, Lo0/o;->g:Z
2020-09-16 23:45:23 +00:00
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()"
2020-09-18 16:51:32 +00:00
invoke-static {v0, v1}, Lk0/n/c/i;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-09-16 23:45:23 +00:00
return-object v0
.end method