895 lines
17 KiB
Smali
895 lines
17 KiB
Smali
.class public final Lf/k/a/b/h1/q/a;
|
|
.super Lf/k/a/b/h1/c;
|
|
.source "SubripDecoder.java"
|
|
|
|
|
|
# static fields
|
|
.field public static final p:Ljava/util/regex/Pattern;
|
|
|
|
.field public static final q:Ljava/util/regex/Pattern;
|
|
|
|
|
|
# instance fields
|
|
.field public final n:Ljava/lang/StringBuilder;
|
|
|
|
.field public final o:Ljava/util/ArrayList;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/ArrayList<",
|
|
"Ljava/lang/String;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
const-string v0, "\\s*((?:(\\d+):)?(\\d+):(\\d+),(\\d+))\\s*-->\\s*((?:(\\d+):)?(\\d+):(\\d+),(\\d+))\\s*"
|
|
|
|
invoke-static {v0}, Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lf/k/a/b/h1/q/a;->p:Ljava/util/regex/Pattern;
|
|
|
|
const-string v0, "\\{\\\\.*?\\}"
|
|
|
|
invoke-static {v0}, Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lf/k/a/b/h1/q/a;->q:Ljava/util/regex/Pattern;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>()V
|
|
.locals 1
|
|
|
|
const-string v0, "SubripDecoder"
|
|
|
|
invoke-direct {p0, v0}, Lf/k/a/b/h1/c;-><init>(Ljava/lang/String;)V
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
iput-object v0, p0, Lf/k/a/b/h1/q/a;->n:Ljava/lang/StringBuilder;
|
|
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
iput-object v0, p0, Lf/k/a/b/h1/q/a;->o:Ljava/util/ArrayList;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static a(I)F
|
|
.locals 1
|
|
|
|
if-eqz p0, :cond_2
|
|
|
|
const/4 v0, 0x1
|
|
|
|
if-eq p0, v0, :cond_1
|
|
|
|
const/4 v0, 0x2
|
|
|
|
if-ne p0, v0, :cond_0
|
|
|
|
const p0, 0x3f6b851f # 0.92f
|
|
|
|
return p0
|
|
|
|
:cond_0
|
|
new-instance p0, Ljava/lang/IllegalArgumentException;
|
|
|
|
invoke-direct {p0}, Ljava/lang/IllegalArgumentException;-><init>()V
|
|
|
|
throw p0
|
|
|
|
:cond_1
|
|
const/high16 p0, 0x3f000000 # 0.5f
|
|
|
|
return p0
|
|
|
|
:cond_2
|
|
const p0, 0x3da3d70a # 0.08f
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static a(Ljava/util/regex/Matcher;I)J
|
|
.locals 8
|
|
|
|
add-int/lit8 v0, p1, 0x1
|
|
|
|
invoke-virtual {p0, v0}, Ljava/util/regex/Matcher;->group(I)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v0}, Ljava/lang/Long;->parseLong(Ljava/lang/String;)J
|
|
|
|
move-result-wide v0
|
|
|
|
const-wide/16 v2, 0x3c
|
|
|
|
mul-long v0, v0, v2
|
|
|
|
mul-long v0, v0, v2
|
|
|
|
const-wide/16 v4, 0x3e8
|
|
|
|
mul-long v0, v0, v4
|
|
|
|
add-int/lit8 v6, p1, 0x2
|
|
|
|
invoke-virtual {p0, v6}, Ljava/util/regex/Matcher;->group(I)Ljava/lang/String;
|
|
|
|
move-result-object v6
|
|
|
|
invoke-static {v6}, Ljava/lang/Long;->parseLong(Ljava/lang/String;)J
|
|
|
|
move-result-wide v6
|
|
|
|
mul-long v6, v6, v2
|
|
|
|
mul-long v6, v6, v4
|
|
|
|
add-long/2addr v6, v0
|
|
|
|
add-int/lit8 v0, p1, 0x3
|
|
|
|
invoke-virtual {p0, v0}, Ljava/util/regex/Matcher;->group(I)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v0}, Ljava/lang/Long;->parseLong(Ljava/lang/String;)J
|
|
|
|
move-result-wide v0
|
|
|
|
mul-long v0, v0, v4
|
|
|
|
add-long/2addr v0, v6
|
|
|
|
add-int/lit8 p1, p1, 0x4
|
|
|
|
invoke-virtual {p0, p1}, Ljava/util/regex/Matcher;->group(I)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-static {p0}, Ljava/lang/Long;->parseLong(Ljava/lang/String;)J
|
|
|
|
move-result-wide p0
|
|
|
|
add-long/2addr p0, v0
|
|
|
|
mul-long p0, p0, v4
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a([BIZ)Lf/k/a/b/h1/e;
|
|
.locals 16
|
|
|
|
move-object/from16 v0, p0
|
|
|
|
const-string v1, "SubripDecoder"
|
|
|
|
new-instance v2, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v2}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
const/16 v3, 0x20
|
|
|
|
new-array v3, v3, [J
|
|
|
|
new-instance v4, Lf/k/a/b/l1/u;
|
|
|
|
move-object/from16 v5, p1
|
|
|
|
move/from16 v6, p2
|
|
|
|
invoke-direct {v4, v5, v6}, Lf/k/a/b/l1/u;-><init>([BI)V
|
|
|
|
const/4 v5, 0x0
|
|
|
|
const/4 v6, 0x0
|
|
|
|
:goto_0
|
|
invoke-virtual {v4}, Lf/k/a/b/l1/u;->d()Ljava/lang/String;
|
|
|
|
move-result-object v7
|
|
|
|
if-eqz v7, :cond_11
|
|
|
|
invoke-virtual {v7}, Ljava/lang/String;->length()I
|
|
|
|
move-result v8
|
|
|
|
if-nez v8, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
:try_start_0
|
|
invoke-static {v7}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
|
|
:try_end_0
|
|
.catch Ljava/lang/NumberFormatException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
invoke-virtual {v4}, Lf/k/a/b/l1/u;->d()Ljava/lang/String;
|
|
|
|
move-result-object v7
|
|
|
|
if-nez v7, :cond_1
|
|
|
|
const-string v4, "Unexpected end"
|
|
|
|
invoke-static {v1, v4}, Lf/k/a/b/l1/o;->d(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
goto/16 :goto_e
|
|
|
|
:cond_1
|
|
sget-object v8, Lf/k/a/b/h1/q/a;->p:Ljava/util/regex/Pattern;
|
|
|
|
invoke-virtual {v8, v7}, Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
|
|
|
|
move-result-object v8
|
|
|
|
invoke-virtual {v8}, Ljava/util/regex/Matcher;->matches()Z
|
|
|
|
move-result v9
|
|
|
|
if-eqz v9, :cond_10
|
|
|
|
const/4 v7, 0x1
|
|
|
|
invoke-static {v8, v7}, Lf/k/a/b/h1/q/a;->a(Ljava/util/regex/Matcher;I)J
|
|
|
|
move-result-wide v9
|
|
|
|
array-length v7, v3
|
|
|
|
if-ne v6, v7, :cond_2
|
|
|
|
mul-int/lit8 v7, v6, 0x2
|
|
|
|
invoke-static {v3, v7}, Ljava/util/Arrays;->copyOf([JI)[J
|
|
|
|
move-result-object v3
|
|
|
|
:cond_2
|
|
add-int/lit8 v7, v6, 0x1
|
|
|
|
aput-wide v9, v3, v6
|
|
|
|
const/4 v6, 0x6
|
|
|
|
invoke-static {v8, v6}, Lf/k/a/b/h1/q/a;->a(Ljava/util/regex/Matcher;I)J
|
|
|
|
move-result-wide v8
|
|
|
|
array-length v6, v3
|
|
|
|
if-ne v7, v6, :cond_3
|
|
|
|
mul-int/lit8 v6, v7, 0x2
|
|
|
|
invoke-static {v3, v6}, Ljava/util/Arrays;->copyOf([JI)[J
|
|
|
|
move-result-object v3
|
|
|
|
:cond_3
|
|
add-int/lit8 v6, v7, 0x1
|
|
|
|
aput-wide v8, v3, v7
|
|
|
|
iget-object v7, v0, Lf/k/a/b/h1/q/a;->n:Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v7, v5}, Ljava/lang/StringBuilder;->setLength(I)V
|
|
|
|
iget-object v5, v0, Lf/k/a/b/h1/q/a;->o:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v5}, Ljava/util/ArrayList;->clear()V
|
|
|
|
invoke-virtual {v4}, Lf/k/a/b/l1/u;->d()Ljava/lang/String;
|
|
|
|
move-result-object v5
|
|
|
|
:goto_1
|
|
invoke-static {v5}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v7
|
|
|
|
if-nez v7, :cond_6
|
|
|
|
iget-object v7, v0, Lf/k/a/b/h1/q/a;->n:Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v7}, Ljava/lang/StringBuilder;->length()I
|
|
|
|
move-result v7
|
|
|
|
if-lez v7, :cond_4
|
|
|
|
iget-object v7, v0, Lf/k/a/b/h1/q/a;->n:Ljava/lang/StringBuilder;
|
|
|
|
const-string v8, "<br>"
|
|
|
|
invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
:cond_4
|
|
iget-object v7, v0, Lf/k/a/b/h1/q/a;->n:Ljava/lang/StringBuilder;
|
|
|
|
iget-object v8, v0, Lf/k/a/b/h1/q/a;->o:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v5}, Ljava/lang/String;->trim()Ljava/lang/String;
|
|
|
|
move-result-object v5
|
|
|
|
new-instance v9, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v9, v5}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
sget-object v10, Lf/k/a/b/h1/q/a;->q:Ljava/util/regex/Pattern;
|
|
|
|
invoke-virtual {v10, v5}, Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
|
|
|
|
move-result-object v5
|
|
|
|
const/4 v10, 0x0
|
|
|
|
:goto_2
|
|
invoke-virtual {v5}, Ljava/util/regex/Matcher;->find()Z
|
|
|
|
move-result v11
|
|
|
|
if-eqz v11, :cond_5
|
|
|
|
invoke-virtual {v5}, Ljava/util/regex/Matcher;->group()Ljava/lang/String;
|
|
|
|
move-result-object v11
|
|
|
|
invoke-virtual {v8, v11}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
invoke-virtual {v5}, Ljava/util/regex/Matcher;->start()I
|
|
|
|
move-result v12
|
|
|
|
sub-int/2addr v12, v10
|
|
|
|
invoke-virtual {v11}, Ljava/lang/String;->length()I
|
|
|
|
move-result v11
|
|
|
|
add-int v13, v12, v11
|
|
|
|
const-string v14, ""
|
|
|
|
invoke-virtual {v9, v12, v13, v14}, Ljava/lang/StringBuilder;->replace(IILjava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
add-int/2addr v10, v11
|
|
|
|
goto :goto_2
|
|
|
|
:cond_5
|
|
invoke-virtual {v9}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v5
|
|
|
|
invoke-virtual {v7, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v4}, Lf/k/a/b/l1/u;->d()Ljava/lang/String;
|
|
|
|
move-result-object v5
|
|
|
|
goto :goto_1
|
|
|
|
:cond_6
|
|
iget-object v5, v0, Lf/k/a/b/h1/q/a;->n:Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v5
|
|
|
|
invoke-static {v5}, Landroid/text/Html;->fromHtml(Ljava/lang/String;)Landroid/text/Spanned;
|
|
|
|
move-result-object v8
|
|
|
|
const/4 v5, 0x0
|
|
|
|
const/4 v7, 0x0
|
|
|
|
:goto_3
|
|
iget-object v9, v0, Lf/k/a/b/h1/q/a;->o:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v9}, Ljava/util/ArrayList;->size()I
|
|
|
|
move-result v9
|
|
|
|
if-ge v7, v9, :cond_8
|
|
|
|
iget-object v9, v0, Lf/k/a/b/h1/q/a;->o:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v9, v7}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v9
|
|
|
|
check-cast v9, Ljava/lang/String;
|
|
|
|
const-string v10, "\\{\\\\an[1-9]\\}"
|
|
|
|
invoke-virtual {v9, v10}, Ljava/lang/String;->matches(Ljava/lang/String;)Z
|
|
|
|
move-result v10
|
|
|
|
if-eqz v10, :cond_7
|
|
|
|
move-object v5, v9
|
|
|
|
goto :goto_4
|
|
|
|
:cond_7
|
|
add-int/lit8 v7, v7, 0x1
|
|
|
|
goto :goto_3
|
|
|
|
:cond_8
|
|
:goto_4
|
|
if-nez v5, :cond_9
|
|
|
|
new-instance v5, Lf/k/a/b/h1/b;
|
|
|
|
invoke-direct {v5, v8}, Lf/k/a/b/h1/b;-><init>(Ljava/lang/CharSequence;)V
|
|
|
|
move-object/from16 p1, v3
|
|
|
|
move-object/from16 p3, v4
|
|
|
|
move-object v0, v5
|
|
|
|
move/from16 p2, v6
|
|
|
|
goto/16 :goto_b
|
|
|
|
:cond_9
|
|
invoke-virtual {v5}, Ljava/lang/String;->hashCode()I
|
|
|
|
move-result v7
|
|
|
|
const-string v9, "{\\an8}"
|
|
|
|
const-string v10, "{\\an7}"
|
|
|
|
const-string v11, "{\\an6}"
|
|
|
|
const-string v12, "{\\an5}"
|
|
|
|
const-string v13, "{\\an4}"
|
|
|
|
const-string v14, "{\\an3}"
|
|
|
|
const-string v15, "{\\an2}"
|
|
|
|
const-string v0, "{\\an1}"
|
|
|
|
move-object/from16 p1, v3
|
|
|
|
const-string v3, "{\\an9}"
|
|
|
|
move-object/from16 p3, v4
|
|
|
|
const/4 v4, 0x2
|
|
|
|
sparse-switch v7, :sswitch_data_0
|
|
|
|
goto :goto_5
|
|
|
|
:sswitch_0
|
|
invoke-virtual {v5, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v7
|
|
|
|
if-eqz v7, :cond_a
|
|
|
|
const/4 v7, 0x5
|
|
|
|
goto :goto_6
|
|
|
|
:sswitch_1
|
|
invoke-virtual {v5, v9}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v7
|
|
|
|
if-eqz v7, :cond_a
|
|
|
|
const/16 v7, 0x8
|
|
|
|
goto :goto_6
|
|
|
|
:sswitch_2
|
|
invoke-virtual {v5, v10}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v7
|
|
|
|
if-eqz v7, :cond_a
|
|
|
|
const/4 v7, 0x2
|
|
|
|
goto :goto_6
|
|
|
|
:sswitch_3
|
|
invoke-virtual {v5, v11}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v7
|
|
|
|
if-eqz v7, :cond_a
|
|
|
|
const/4 v7, 0x4
|
|
|
|
goto :goto_6
|
|
|
|
:sswitch_4
|
|
invoke-virtual {v5, v12}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v7
|
|
|
|
if-eqz v7, :cond_a
|
|
|
|
const/4 v7, 0x7
|
|
|
|
goto :goto_6
|
|
|
|
:sswitch_5
|
|
invoke-virtual {v5, v13}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v7
|
|
|
|
if-eqz v7, :cond_a
|
|
|
|
const/4 v7, 0x1
|
|
|
|
goto :goto_6
|
|
|
|
:sswitch_6
|
|
invoke-virtual {v5, v14}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v7
|
|
|
|
if-eqz v7, :cond_a
|
|
|
|
const/4 v7, 0x3
|
|
|
|
goto :goto_6
|
|
|
|
:sswitch_7
|
|
invoke-virtual {v5, v15}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v7
|
|
|
|
if-eqz v7, :cond_a
|
|
|
|
const/4 v7, 0x6
|
|
|
|
goto :goto_6
|
|
|
|
:sswitch_8
|
|
invoke-virtual {v5, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v7
|
|
|
|
if-eqz v7, :cond_a
|
|
|
|
const/4 v7, 0x0
|
|
|
|
goto :goto_6
|
|
|
|
:cond_a
|
|
:goto_5
|
|
const/4 v7, -0x1
|
|
|
|
:goto_6
|
|
move/from16 p2, v6
|
|
|
|
if-eqz v7, :cond_c
|
|
|
|
const/4 v6, 0x1
|
|
|
|
if-eq v7, v6, :cond_c
|
|
|
|
if-eq v7, v4, :cond_c
|
|
|
|
const/4 v6, 0x3
|
|
|
|
if-eq v7, v6, :cond_b
|
|
|
|
const/4 v6, 0x4
|
|
|
|
if-eq v7, v6, :cond_b
|
|
|
|
const/4 v6, 0x5
|
|
|
|
if-eq v7, v6, :cond_b
|
|
|
|
const/4 v6, 0x1
|
|
|
|
goto :goto_7
|
|
|
|
:cond_b
|
|
const/4 v6, 0x2
|
|
|
|
goto :goto_7
|
|
|
|
:cond_c
|
|
const/4 v6, 0x0
|
|
|
|
:goto_7
|
|
invoke-virtual {v5}, Ljava/lang/String;->hashCode()I
|
|
|
|
move-result v7
|
|
|
|
sparse-switch v7, :sswitch_data_1
|
|
|
|
goto :goto_8
|
|
|
|
:sswitch_9
|
|
invoke-virtual {v5, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_d
|
|
|
|
const/4 v0, 0x5
|
|
|
|
goto :goto_9
|
|
|
|
:sswitch_a
|
|
invoke-virtual {v5, v9}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_d
|
|
|
|
const/4 v0, 0x4
|
|
|
|
goto :goto_9
|
|
|
|
:sswitch_b
|
|
invoke-virtual {v5, v10}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_d
|
|
|
|
const/4 v0, 0x3
|
|
|
|
goto :goto_9
|
|
|
|
:sswitch_c
|
|
invoke-virtual {v5, v11}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_d
|
|
|
|
const/16 v0, 0x8
|
|
|
|
goto :goto_9
|
|
|
|
:sswitch_d
|
|
invoke-virtual {v5, v12}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_d
|
|
|
|
const/4 v0, 0x7
|
|
|
|
goto :goto_9
|
|
|
|
:sswitch_e
|
|
invoke-virtual {v5, v13}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_d
|
|
|
|
const/4 v0, 0x6
|
|
|
|
goto :goto_9
|
|
|
|
:sswitch_f
|
|
invoke-virtual {v5, v14}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_d
|
|
|
|
const/4 v0, 0x2
|
|
|
|
goto :goto_9
|
|
|
|
:sswitch_10
|
|
invoke-virtual {v5, v15}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_d
|
|
|
|
const/4 v0, 0x1
|
|
|
|
goto :goto_9
|
|
|
|
:sswitch_11
|
|
invoke-virtual {v5, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_d
|
|
|
|
const/4 v0, 0x0
|
|
|
|
goto :goto_9
|
|
|
|
:cond_d
|
|
:goto_8
|
|
const/4 v0, -0x1
|
|
|
|
:goto_9
|
|
if-eqz v0, :cond_f
|
|
|
|
const/4 v3, 0x1
|
|
|
|
if-eq v0, v3, :cond_f
|
|
|
|
if-eq v0, v4, :cond_f
|
|
|
|
const/4 v3, 0x3
|
|
|
|
if-eq v0, v3, :cond_e
|
|
|
|
const/4 v3, 0x4
|
|
|
|
if-eq v0, v3, :cond_e
|
|
|
|
const/4 v3, 0x5
|
|
|
|
if-eq v0, v3, :cond_e
|
|
|
|
const/4 v0, 0x1
|
|
|
|
const/4 v12, 0x1
|
|
|
|
goto :goto_a
|
|
|
|
:cond_e
|
|
const/4 v0, 0x0
|
|
|
|
const/4 v12, 0x0
|
|
|
|
goto :goto_a
|
|
|
|
:cond_f
|
|
const/4 v0, 0x2
|
|
|
|
const/4 v12, 0x2
|
|
|
|
:goto_a
|
|
new-instance v0, Lf/k/a/b/h1/b;
|
|
|
|
const/4 v9, 0x0
|
|
|
|
invoke-static {v12}, Lf/k/a/b/h1/q/a;->a(I)F
|
|
|
|
move-result v10
|
|
|
|
const/4 v11, 0x0
|
|
|
|
invoke-static {v6}, Lf/k/a/b/h1/q/a;->a(I)F
|
|
|
|
move-result v13
|
|
|
|
const v15, -0x800001
|
|
|
|
move-object v7, v0
|
|
|
|
move v14, v6
|
|
|
|
invoke-direct/range {v7 .. v15}, Lf/k/a/b/h1/b;-><init>(Ljava/lang/CharSequence;Landroid/text/Layout$Alignment;FIIFIF)V
|
|
|
|
:goto_b
|
|
invoke-virtual {v2, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
sget-object v0, Lf/k/a/b/h1/b;->r:Lf/k/a/b/h1/b;
|
|
|
|
invoke-virtual {v2, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
const/4 v5, 0x0
|
|
|
|
move-object/from16 v0, p0
|
|
|
|
move-object/from16 v3, p1
|
|
|
|
move/from16 v6, p2
|
|
|
|
goto :goto_d
|
|
|
|
:cond_10
|
|
move-object/from16 p3, v4
|
|
|
|
const-string v0, "Skipping invalid timing: "
|
|
|
|
invoke-static {v0, v7, v1}, Lf/e/b/a/a;->b(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
goto :goto_c
|
|
|
|
:catch_0
|
|
move-object/from16 p3, v4
|
|
|
|
const-string v0, "Skipping invalid index: "
|
|
|
|
invoke-static {v0, v7, v1}, Lf/e/b/a/a;->b(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
:goto_c
|
|
const/4 v5, 0x0
|
|
|
|
move-object/from16 v0, p0
|
|
|
|
:goto_d
|
|
move-object/from16 v4, p3
|
|
|
|
goto/16 :goto_0
|
|
|
|
:cond_11
|
|
:goto_e
|
|
invoke-virtual {v2}, Ljava/util/ArrayList;->size()I
|
|
|
|
move-result v0
|
|
|
|
new-array v0, v0, [Lf/k/a/b/h1/b;
|
|
|
|
invoke-virtual {v2, v0}, Ljava/util/ArrayList;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;
|
|
|
|
invoke-static {v3, v6}, Ljava/util/Arrays;->copyOf([JI)[J
|
|
|
|
move-result-object v1
|
|
|
|
new-instance v2, Lf/k/a/b/h1/q/b;
|
|
|
|
invoke-direct {v2, v0, v1}, Lf/k/a/b/h1/q/b;-><init>([Lf/k/a/b/h1/b;[J)V
|
|
|
|
return-object v2
|
|
|
|
nop
|
|
|
|
:sswitch_data_0
|
|
.sparse-switch
|
|
-0x28ddbde6 -> :sswitch_8
|
|
-0x28ddbdc7 -> :sswitch_7
|
|
-0x28ddbda8 -> :sswitch_6
|
|
-0x28ddbd89 -> :sswitch_5
|
|
-0x28ddbd6a -> :sswitch_4
|
|
-0x28ddbd4b -> :sswitch_3
|
|
-0x28ddbd2c -> :sswitch_2
|
|
-0x28ddbd0d -> :sswitch_1
|
|
-0x28ddbcee -> :sswitch_0
|
|
.end sparse-switch
|
|
|
|
:sswitch_data_1
|
|
.sparse-switch
|
|
-0x28ddbde6 -> :sswitch_11
|
|
-0x28ddbdc7 -> :sswitch_10
|
|
-0x28ddbda8 -> :sswitch_f
|
|
-0x28ddbd89 -> :sswitch_e
|
|
-0x28ddbd6a -> :sswitch_d
|
|
-0x28ddbd4b -> :sswitch_c
|
|
-0x28ddbd2c -> :sswitch_b
|
|
-0x28ddbd0d -> :sswitch_a
|
|
-0x28ddbcee -> :sswitch_9
|
|
.end sparse-switch
|
|
.end method
|