225 lines
3.5 KiB
Smali
225 lines
3.5 KiB
Smali
.class public final Lf/k/a/b/h1/p/b;
|
|
.super Ljava/lang/Object;
|
|
.source "SsaDialogueFormat.java"
|
|
|
|
|
|
# instance fields
|
|
.field public final a:I
|
|
|
|
.field public final b:I
|
|
|
|
.field public final c:I
|
|
|
|
.field public final d:I
|
|
|
|
.field public final e:I
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(IIIII)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput p1, p0, Lf/k/a/b/h1/p/b;->a:I
|
|
|
|
iput p2, p0, Lf/k/a/b/h1/p/b;->b:I
|
|
|
|
iput p3, p0, Lf/k/a/b/h1/p/b;->c:I
|
|
|
|
iput p4, p0, Lf/k/a/b/h1/p/b;->d:I
|
|
|
|
iput p5, p0, Lf/k/a/b/h1/p/b;->e:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static a(Ljava/lang/String;)Lf/k/a/b/h1/p/b;
|
|
.locals 12
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
const-string v0, "Format:"
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
|
|
|
|
move-result v0
|
|
|
|
invoke-static {v0}, Lf/k/a/b/l1/e;->a(Z)V
|
|
|
|
const/4 v0, 0x7
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->substring(I)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
const-string v0, ","
|
|
|
|
invoke-static {p0, v0}, Landroid/text/TextUtils;->split(Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
const/4 v1, -0x1
|
|
|
|
const/4 v2, 0x0
|
|
|
|
const/4 v4, -0x1
|
|
|
|
const/4 v5, -0x1
|
|
|
|
const/4 v6, -0x1
|
|
|
|
const/4 v7, -0x1
|
|
|
|
:goto_0
|
|
array-length v3, p0
|
|
|
|
if-ge v2, v3, :cond_5
|
|
|
|
aget-object v3, p0, v2
|
|
|
|
invoke-virtual {v3}, Ljava/lang/String;->trim()Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-static {v3}, Lf/k/a/b/l1/f0;->f(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-virtual {v3}, Ljava/lang/String;->hashCode()I
|
|
|
|
move-result v8
|
|
|
|
const/4 v9, 0x3
|
|
|
|
const/4 v10, 0x2
|
|
|
|
const/4 v11, 0x1
|
|
|
|
sparse-switch v8, :sswitch_data_0
|
|
|
|
goto :goto_1
|
|
|
|
:sswitch_0
|
|
const-string v8, "style"
|
|
|
|
invoke-virtual {v3, v8}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_0
|
|
|
|
const/4 v3, 0x2
|
|
|
|
goto :goto_2
|
|
|
|
:sswitch_1
|
|
const-string v8, "start"
|
|
|
|
invoke-virtual {v3, v8}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_0
|
|
|
|
const/4 v3, 0x0
|
|
|
|
goto :goto_2
|
|
|
|
:sswitch_2
|
|
const-string v8, "text"
|
|
|
|
invoke-virtual {v3, v8}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_0
|
|
|
|
const/4 v3, 0x3
|
|
|
|
goto :goto_2
|
|
|
|
:sswitch_3
|
|
const-string v8, "end"
|
|
|
|
invoke-virtual {v3, v8}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_0
|
|
|
|
const/4 v3, 0x1
|
|
|
|
goto :goto_2
|
|
|
|
:cond_0
|
|
:goto_1
|
|
const/4 v3, -0x1
|
|
|
|
:goto_2
|
|
if-eqz v3, :cond_4
|
|
|
|
if-eq v3, v11, :cond_3
|
|
|
|
if-eq v3, v10, :cond_2
|
|
|
|
if-eq v3, v9, :cond_1
|
|
|
|
goto :goto_3
|
|
|
|
:cond_1
|
|
move v7, v2
|
|
|
|
goto :goto_3
|
|
|
|
:cond_2
|
|
move v6, v2
|
|
|
|
goto :goto_3
|
|
|
|
:cond_3
|
|
move v5, v2
|
|
|
|
goto :goto_3
|
|
|
|
:cond_4
|
|
move v4, v2
|
|
|
|
:goto_3
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_5
|
|
if-eq v4, v1, :cond_6
|
|
|
|
if-eq v5, v1, :cond_6
|
|
|
|
new-instance v0, Lf/k/a/b/h1/p/b;
|
|
|
|
array-length v8, p0
|
|
|
|
move-object v3, v0
|
|
|
|
invoke-direct/range {v3 .. v8}, Lf/k/a/b/h1/p/b;-><init>(IIIII)V
|
|
|
|
goto :goto_4
|
|
|
|
:cond_6
|
|
const/4 v0, 0x0
|
|
|
|
:goto_4
|
|
return-object v0
|
|
|
|
nop
|
|
|
|
:sswitch_data_0
|
|
.sparse-switch
|
|
0x188db -> :sswitch_3
|
|
0x36452d -> :sswitch_2
|
|
0x68ac462 -> :sswitch_1
|
|
0x68b1db1 -> :sswitch_0
|
|
.end sparse-switch
|
|
.end method
|