b$a.smali

.class final Lcom/singbox/e/b$a;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/singbox/e/b;->a(Z)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x18
    name = null
.end annotation


# instance fields
.field final synthetic a:Z


# direct methods
.method constructor <init>(Z)V
    .registers 2

    iput-boolean p1, p0, Lcom/singbox/e/b$a;->a:Z

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

    return-void
.end method


# virtual methods
.method public final run()V
    .registers 9

    .line 30
    sget-object v0, Lcom/singbox/component/storage/b/a;->i:Lcom/singbox/component/storage/b/a;

    .line 1000
    sget-object v1, Lcom/singbox/component/storage/b/a;->h:Lcom/singbox/component/storage/b/g;

    sget-object v2, Lcom/singbox/component/storage/b/a;->a:[Lkotlin/k/g;

    const/16 v3, 0xc

    aget-object v2, v2, v3

    invoke-virtual {v1, v0, v2}, Lcom/singbox/component/storage/b/g;->a(Ljava/lang/Object;Lkotlin/k/g;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/Number;

    invoke-virtual {v0}, Ljava/lang/Number;->longValue()J

    move-result-wide v0

    .line 31
    invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;

    move-result-object v2

    .line 33
    invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;

    move-result-object v4

    .line 34
    invoke-virtual {v4, v0, v1}, Ljava/util/Calendar;->setTimeInMillis(J)V

    .line 33
    invoke-static {v2, v4}, Lsg/bigo/common/ad;->a(Ljava/util/Calendar;Ljava/util/Calendar;)Z

    move-result v0

    const/4 v1, 0x1

    xor-int/2addr v0, v1

    .line 37
    iget-boolean v4, p0, Lcom/singbox/e/b$a;->a:Z

    const/4 v5, 0x0

    if-eqz v4, :cond_46

    if-nez v0, :cond_2e

    const/4 v1, 0x0

    goto :goto_46

    .line 41
    :cond_2e
    sget-object v0, Lcom/singbox/component/storage/b/a;->i:Lcom/singbox/component/storage/b/a;

    const-string v4, "currentDate"

    invoke-static {v2, v4}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V

    invoke-virtual {v2}, Ljava/util/Calendar;->getTimeInMillis()J

    move-result-wide v6

    .line 2000
    sget-object v2, Lcom/singbox/component/storage/b/a;->h:Lcom/singbox/component/storage/b/g;

    sget-object v4, Lcom/singbox/component/storage/b/a;->a:[Lkotlin/k/g;

    aget-object v3, v4, v3

    invoke-static {v6, v7}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v4

    invoke-virtual {v2, v0, v3, v4}, Lcom/singbox/component/storage/b/g;->a(Ljava/lang/Object;Lkotlin/k/g;Ljava/lang/Object;)V

    :cond_46
    :goto_46
    if-eqz v1, :cond_6d

    .line 45
    sget-object v0, Lcom/singbox/e/b;->c:Lcom/singbox/e/b;

    invoke-static {}, Lcom/singbox/e/b;->c()Lcom/singbox/component/stat/b$a;

    move-result-object v0

    iget-boolean v1, p0, Lcom/singbox/e/b$a;->a:Z

    invoke-static {v1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/singbox/component/stat/b$a;->a(Ljava/lang/Object;)Lcom/singbox/component/stat/b;

    .line 46
    sget-object v0, Lcom/singbox/e/b;->c:Lcom/singbox/e/b;

    invoke-static {}, Lcom/singbox/e/b;->d()Lcom/singbox/component/stat/b$a;

    move-result-object v0

    invoke-static {}, Lsg/bigo/sdk/a/a;->a()Lsg/bigo/sdk/a/a;

    invoke-static {}, Lsg/bigo/sdk/a/a;->b()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/singbox/component/stat/b$a;->a(Ljava/lang/Object;)Lcom/singbox/component/stat/b;

    .line 47
    sget-object v0, Lcom/singbox/e/b;->c:Lcom/singbox/e/b;

    const/4 v1, 0x2

    invoke-static {v0, v5, v5, v1}, Lcom/singbox/component/stat/b;->a(Lcom/singbox/component/stat/b;ZZI)V

    :cond_6d
    return-void
.end method