b$2.smali

.class final Lsg/bigolive/revenue64/component/gift/a/b$2;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lsg/bigolive/revenue64/component/gift/a/b;->a(ILsg/bigolive/revenue64/component/gift/a/b$a;IJ)V
.end annotation

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


# instance fields
.field final synthetic a:Lsg/bigolive/revenue64/component/gift/a/b$b;

.field final synthetic b:I

.field final synthetic c:Lsg/bigolive/revenue64/component/gift/a/b$a;

.field final synthetic d:J

.field final synthetic e:I

.field final synthetic f:Lsg/bigolive/revenue64/component/gift/a/b;


# direct methods
.method constructor <init>(Lsg/bigolive/revenue64/component/gift/a/b;Lsg/bigolive/revenue64/component/gift/a/b$b;ILsg/bigolive/revenue64/component/gift/a/b$a;JI)V
    .registers 8

    .line 217
    iput-object p1, p0, Lsg/bigolive/revenue64/component/gift/a/b$2;->f:Lsg/bigolive/revenue64/component/gift/a/b;

    iput-object p2, p0, Lsg/bigolive/revenue64/component/gift/a/b$2;->a:Lsg/bigolive/revenue64/component/gift/a/b$b;

    iput p3, p0, Lsg/bigolive/revenue64/component/gift/a/b$2;->b:I

    iput-object p4, p0, Lsg/bigolive/revenue64/component/gift/a/b$2;->c:Lsg/bigolive/revenue64/component/gift/a/b$a;

    iput-wide p5, p0, Lsg/bigolive/revenue64/component/gift/a/b$2;->d:J

    iput p7, p0, Lsg/bigolive/revenue64/component/gift/a/b$2;->e:I

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

    return-void
.end method


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

    .line 220
    iget-object v0, p0, Lsg/bigolive/revenue64/component/gift/a/b$2;->f:Lsg/bigolive/revenue64/component/gift/a/b;

    invoke-static {v0}, Lsg/bigolive/revenue64/component/gift/a/b;->b(Lsg/bigolive/revenue64/component/gift/a/b;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0, p0}, Ljava/util/ArrayList;->remove(Ljava/lang/Object;)Z

    .line 221
    iget-object v0, p0, Lsg/bigolive/revenue64/component/gift/a/b$2;->f:Lsg/bigolive/revenue64/component/gift/a/b;

    invoke-static {v0}, Lsg/bigolive/revenue64/component/gift/a/b;->a(Lsg/bigolive/revenue64/component/gift/a/b;)Ljava/lang/Object;

    move-result-object v0

    monitor-enter v0

    .line 222
    :try_start_10
    iget-object v1, p0, Lsg/bigolive/revenue64/component/gift/a/b$2;->f:Lsg/bigolive/revenue64/component/gift/a/b;

    invoke-static {v1}, Lsg/bigolive/revenue64/component/gift/a/b;->a(Lsg/bigolive/revenue64/component/gift/a/b;)Ljava/lang/Object;

    move-result-object v1

    monitor-enter v1
    :try_end_17
    .catchall {:try_start_10 .. :try_end_17} :catchall_51

    .line 223
    :try_start_17
    iget-object v2, p0, Lsg/bigolive/revenue64/component/gift/a/b$2;->f:Lsg/bigolive/revenue64/component/gift/a/b;

    iget-object v3, p0, Lsg/bigolive/revenue64/component/gift/a/b$2;->a:Lsg/bigolive/revenue64/component/gift/a/b$b;

    invoke-virtual {v2, v3}, Lsg/bigolive/revenue64/component/gift/a/b;->a(Lsg/bigolive/revenue64/component/gift/a/b$b;)Z

    move-result v2

    if-eqz v2, :cond_4b

    const-string v2, "Blast_Gift_Download"

    .line 224
    new-instance v3, Ljava/lang/StringBuilder;

    const-string v4, "downloadSingleBlast failed, timeout check. giftId:"

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget v4, p0, Lsg/bigolive/revenue64/component/gift/a/b$2;->b:I

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-static {v2, v3}, Lsg/bigo/log/TraceLog;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 225
    iget-object v2, p0, Lsg/bigolive/revenue64/component/gift/a/b$2;->c:Lsg/bigolive/revenue64/component/gift/a/b$a;

    invoke-interface {v2}, Lsg/bigolive/revenue64/component/gift/a/b$a;->a()V

    .line 226
    iget v3, p0, Lsg/bigolive/revenue64/component/gift/a/b$2;->b:I

    const/4 v4, 0x2

    .line 227
    invoke-static {}, Landroid/os/SystemClock;->elapsedRealtime()J

    move-result-wide v5

    iget-wide v7, p0, Lsg/bigolive/revenue64/component/gift/a/b$2;->d:J

    sub-long/2addr v5, v7

    iget v7, p0, Lsg/bigolive/revenue64/component/gift/a/b$2;->e:I

    const/4 v8, 0x0

    .line 226
    invoke-static/range {v3 .. v8}, Lsg/bigolive/revenue64/component/gift/a/b/b/a;->a(IIJIZ)V

    .line 230
    :cond_4b
    monitor-exit v1
    :try_end_4c
    .catchall {:try_start_17 .. :try_end_4c} :catchall_4e

    .line 231
    :try_start_4c
    monitor-exit v0
    :try_end_4d
    .catchall {:try_start_4c .. :try_end_4d} :catchall_51

    return-void

    :catchall_4e
    move-exception v2

    .line 230
    :try_start_4f
    monitor-exit v1
    :try_end_50
    .catchall {:try_start_4f .. :try_end_50} :catchall_4e

    :try_start_50
    throw v2

    :catchall_51
    move-exception v1

    .line 231
    monitor-exit v0
    :try_end_53
    .catchall {:try_start_50 .. :try_end_53} :catchall_51

    throw v1
.end method