.class public Lcom/in2wow/sdk/h/b;
.super Ljava/lang/Object;
.source "SourceFile"


# instance fields
.field private a:Lcom/in2wow/sdk/h/f;


# direct methods
.method public constructor <init>(Lcom/in2wow/sdk/h/f;)V
    .locals 1

    .line 16
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const/4 v0, 0x0

    .line 14
    iput-object v0, p0, Lcom/in2wow/sdk/h/b;->a:Lcom/in2wow/sdk/h/f;

    .line 17
    iput-object p1, p0, Lcom/in2wow/sdk/h/b;->a:Lcom/in2wow/sdk/h/f;

    return-void
.end method


# virtual methods
.method public a()Lcom/in2wow/sdk/i/k;
    .locals 2

    .line 88
    iget-object v0, p0, Lcom/in2wow/sdk/h/b;->a:Lcom/in2wow/sdk/h/f;

    const-string v1, ".ph_cfg"

    invoke-virtual {v0, v1}, Lcom/in2wow/sdk/h/f;->c(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 91
    :try_start_0
    new-instance v1, Lorg/json/JSONObject;

    invoke-direct {v1, v0}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V

    invoke-static {v1}, Lcom/in2wow/sdk/i/k;->a(Lorg/json/JSONObject;)Lcom/in2wow/sdk/i/k;

    move-result-object v0
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    return-object v0

    :catch_0
    :cond_0
    const/4 v0, 0x0

    return-object v0
.end method

.method public a(JLcom/in2wow/sdk/a/e;)Z
    .locals 3

    const/4 v0, 0x1

    if-nez p3, :cond_0

    return v0

    .line 25
    :cond_0
    iget-object v1, p0, Lcom/in2wow/sdk/h/b;->a:Lcom/in2wow/sdk/h/f;

    const-string v2, ".serving_cfg"

    invoke-virtual {v1, v2}, Lcom/in2wow/sdk/h/f;->a(Ljava/lang/String;)J

    move-result-wide v1

    sub-long/2addr p1, v1

    .line 26
    invoke-static {p1, p2}, Ljava/lang/Math;->abs(J)J

    move-result-wide p1

    invoke-virtual {p3}, Lcom/in2wow/sdk/a/e;->e()J

    move-result-wide v1

    cmp-long p3, p1, v1

    if-lez p3, :cond_1

    return v0

    :cond_1
    const/4 p1, 0x0

    return p1
.end method

.method public a(JLcom/in2wow/sdk/a/e;Z)Z
    .locals 3

    const/4 v0, 0x0

    if-eqz p4, :cond_0

    return v0

    :cond_0
    if-eqz p3, :cond_3

    .line 52
    invoke-virtual {p3}, Lcom/in2wow/sdk/a/e;->m()Z

    move-result p4

    if-eqz p4, :cond_3

    .line 53
    invoke-virtual {p3}, Lcom/in2wow/sdk/a/e;->n()Ljava/lang/String;

    move-result-object p4

    if-nez p4, :cond_1

    goto :goto_0

    .line 56
    :cond_1
    iget-object p4, p0, Lcom/in2wow/sdk/h/b;->a:Lcom/in2wow/sdk/h/f;

    const-string v1, ".adlist"

    invoke-virtual {p4, v1}, Lcom/in2wow/sdk/h/f;->a(Ljava/lang/String;)J

    move-result-wide v1

    .line 57
    invoke-virtual {p3}, Lcom/in2wow/sdk/a/e;->p()J

    move-result-wide p3

    sub-long/2addr p1, v1

    .line 58
    invoke-static {p1, p2}, Ljava/lang/Math;->abs(J)J

    move-result-wide p1

    cmp-long v1, p1, p3

    if-lez v1, :cond_2

    const/4 p1, 0x1

    return p1

    :cond_2
    return v0

    :cond_3
    :goto_0
    return v0
.end method

.method public a(Lcom/in2wow/sdk/a/e;Lcom/in2wow/sdk/i/k;)Z
    .locals 4

    const/4 v0, 0x0

    if-eqz p1, :cond_3

    .line 31
    invoke-virtual {p1}, Lcom/in2wow/sdk/a/e;->y()Ljava/lang/String;

    move-result-object v1

    if-nez v1, :cond_0

    goto :goto_1

    :cond_0
    if-nez p2, :cond_1

    const-wide/16 v1, 0x0

    goto :goto_0

    .line 35
    :cond_1
    invoke-virtual {p2}, Lcom/in2wow/sdk/i/k;->a()J

    move-result-wide v1

    .line 36
    :goto_0
    invoke-virtual {p1}, Lcom/in2wow/sdk/a/e;->x()J

    move-result-wide p1

    cmp-long v3, v1, p1

    if-gez v3, :cond_2

    const/4 p1, 0x1

    return p1

    :cond_2
    return v0

    :cond_3
    :goto_1
    return v0
.end method

.method public a(Lcom/in2wow/sdk/a/e;Lcom/in2wow/sdk/i/n;)Z
    .locals 4

    const/4 v0, 0x0

    if-eqz p1, :cond_3

    .line 40
    invoke-virtual {p1}, Lcom/in2wow/sdk/a/e;->F()Ljava/lang/String;

    move-result-object v1

    if-nez v1, :cond_0

    goto :goto_1

    :cond_0
    if-nez p2, :cond_1

    const-wide/16 v1, 0x0

    goto :goto_0

    .line 44
    :cond_1
    invoke-virtual {p2}, Lcom/in2wow/sdk/i/n;->a()J

    move-result-wide v1

    .line 45
    :goto_0
    invoke-virtual {p1}, Lcom/in2wow/sdk/a/e;->G()J

    move-result-wide p1

    cmp-long v3, v1, p1

    if-gez v3, :cond_2

    const/4 p1, 0x1

    return p1

    :cond_2
    return v0

    :cond_3
    :goto_1
    return v0
.end method

.method public b()Lcom/in2wow/sdk/i/g;
    .locals 2

    .line 100
    iget-object v0, p0, Lcom/in2wow/sdk/h/b;->a:Lcom/in2wow/sdk/h/f;

    const-string v1, ".geographic_info"

    invoke-virtual {v0, v1}, Lcom/in2wow/sdk/h/f;->c(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 103
    :try_start_0
    new-instance v1, Lorg/json/JSONObject;

    invoke-direct {v1, v0}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V

    invoke-static {v1}, Lcom/in2wow/sdk/i/g;->a(Lorg/json/JSONObject;)Lcom/in2wow/sdk/i/g;

    move-result-object v0
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    return-object v0

    :catch_0
    :cond_0
    const/4 v0, 0x0

    return-object v0
.end method

.method public b(JLcom/in2wow/sdk/a/e;Z)Z
    .locals 3

    const/4 v0, 0x0

    if-eqz p4, :cond_0

    return v0

    :cond_0
    if-eqz p3, :cond_3

    .line 65
    invoke-virtual {p3}, Lcom/in2wow/sdk/a/e;->m()Z

    move-result p4

    if-eqz p4, :cond_3

    .line 66
    invoke-virtual {p3}, Lcom/in2wow/sdk/a/e;->D()Ljava/lang/String;

    move-result-object p4

    if-nez p4, :cond_1

    goto :goto_0

    .line 69
    :cond_1
    iget-object p4, p0, Lcom/in2wow/sdk/h/b;->a:Lcom/in2wow/sdk/h/f;

    const-string v1, ".geographic_info"

    invoke-virtual {p4, v1}, Lcom/in2wow/sdk/h/f;->a(Ljava/lang/String;)J

    move-result-wide v1

    .line 70
    invoke-virtual {p3}, Lcom/in2wow/sdk/a/e;->C()J

    move-result-wide p3

    sub-long/2addr p1, v1

    .line 71
    invoke-static {p1, p2}, Ljava/lang/Math;->abs(J)J

    move-result-wide p1

    cmp-long v1, p1, p3

    if-lez v1, :cond_2

    const/4 p1, 0x1

    return p1

    :cond_2
    return v0

    :cond_3
    :goto_0
    return v0
.end method

.method public c()Lcom/in2wow/sdk/i/n;
    .locals 2

    .line 112
    iget-object v0, p0, Lcom/in2wow/sdk/h/b;->a:Lcom/in2wow/sdk/h/f;

    const-string v1, ".tag_setting"

    invoke-virtual {v0, v1}, Lcom/in2wow/sdk/h/f;->c(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 115
    :try_start_0
    new-instance v1, Lorg/json/JSONObject;

    invoke-direct {v1, v0}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V

    invoke-static {v1}, Lcom/in2wow/sdk/i/n;->a(Lorg/json/JSONObject;)Lcom/in2wow/sdk/i/n;

    move-result-object v0
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    return-object v0

    :catch_0
    :cond_0
    const/4 v0, 0x0

    return-object v0
.end method

.method public c(JLcom/in2wow/sdk/a/e;Z)Z
    .locals 3

    const/4 v0, 0x0

    if-eqz p4, :cond_0

    return v0

    :cond_0
    if-eqz p3, :cond_3

    .line 78
    invoke-virtual {p3}, Lcom/in2wow/sdk/a/e;->m()Z

    move-result p4

    if-eqz p4, :cond_3

    .line 79
    invoke-virtual {p3}, Lcom/in2wow/sdk/a/e;->a()Ljava/lang/String;

    move-result-object p4

    if-nez p4, :cond_1

    goto :goto_0

    .line 82
    :cond_1
    iget-object p4, p0, Lcom/in2wow/sdk/h/b;->a:Lcom/in2wow/sdk/h/f;

    const-string v1, ".audience_user_tags"

    invoke-virtual {p4, v1}, Lcom/in2wow/sdk/h/f;->a(Ljava/lang/String;)J

    move-result-wide v1

    .line 83
    invoke-virtual {p3}, Lcom/in2wow/sdk/a/e;->b()J

    move-result-wide p3

    sub-long/2addr p1, v1

    .line 84
    invoke-static {p1, p2}, Ljava/lang/Math;->abs(J)J

    move-result-wide p1

    cmp-long v1, p1, p3

    if-lez v1, :cond_2

    const/4 p1, 0x1

    return p1

    :cond_2
    return v0

    :cond_3
    :goto_0
    return v0
.end method

.method public d()Lcom/in2wow/sdk/a/e;
    .locals 6

    .line 124
    iget-object v0, p0, Lcom/in2wow/sdk/h/b;->a:Lcom/in2wow/sdk/h/f;

    const-string v1, ".serving_cfg"

    invoke-virtual {v0, v1}, Lcom/in2wow/sdk/h/f;->c(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_1

    .line 127
    :try_start_0
    new-instance v1, Lorg/json/JSONObject;

    invoke-direct {v1, v0}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V

    .line 128
    sget-boolean v0, Lcom/in2wow/sdk/a/b;->e:Z

    if-eqz v0, :cond_0

    const-string v0, "%s"

    const/4 v2, 0x1

    .line 129
    new-array v3, v2, [Ljava/lang/Object;

    const-string v4, "======ServingCfg======"

    const/4 v5, 0x0

    aput-object v4, v3, v5

    invoke-static {v0, v3}, Lcom/in2wow/sdk/m/j;->a(Ljava/lang/String;[Ljava/lang/Object;)V

    const-string v0, "%s"

    .line 130
    new-array v3, v2, [Ljava/lang/Object;

    const/4 v4, 0x2

    invoke-virtual {v1, v4}, Lorg/json/JSONObject;->toString(I)Ljava/lang/String;

    move-result-object v4

    aput-object v4, v3, v5

    invoke-static {v0, v3}, Lcom/in2wow/sdk/m/j;->a(Ljava/lang/String;[Ljava/lang/Object;)V

    const-string v0, "%s"

    .line 131
    new-array v2, v2, [Ljava/lang/Object;

    const-string v3, "================"

    aput-object v3, v2, v5

    invoke-static {v0, v2}, Lcom/in2wow/sdk/m/j;->a(Ljava/lang/String;[Ljava/lang/Object;)V

    .line 133
    :cond_0
    invoke-static {v1}, Lcom/in2wow/sdk/a/e;->a(Lorg/json/JSONObject;)Lcom/in2wow/sdk/a/e;

    move-result-object v0
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    return-object v0

    :catch_0
    :cond_1
    const/4 v0, 0x0

    return-object v0
.end method
