367 lines
6 KiB
Smali
367 lines
6 KiB
Smali
.class public final Lf/k/a/b/h1/o/a$a;
|
|
.super Ljava/lang/Object;
|
|
.source "PgsDecoder.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lf/k/a/b/h1/o/a;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = "a"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final a:Lf/k/a/b/l1/u;
|
|
|
|
.field public final b:[I
|
|
|
|
.field public c:Z
|
|
|
|
.field public d:I
|
|
|
|
.field public e:I
|
|
|
|
.field public f:I
|
|
|
|
.field public g:I
|
|
|
|
.field public h:I
|
|
|
|
.field public i:I
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 1
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
new-instance v0, Lf/k/a/b/l1/u;
|
|
|
|
invoke-direct {v0}, Lf/k/a/b/l1/u;-><init>()V
|
|
|
|
iput-object v0, p0, Lf/k/a/b/h1/o/a$a;->a:Lf/k/a/b/l1/u;
|
|
|
|
const/16 v0, 0x100
|
|
|
|
new-array v0, v0, [I
|
|
|
|
iput-object v0, p0, Lf/k/a/b/h1/o/a$a;->b:[I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a()V
|
|
.locals 2
|
|
|
|
const/4 v0, 0x0
|
|
|
|
iput v0, p0, Lf/k/a/b/h1/o/a$a;->d:I
|
|
|
|
iput v0, p0, Lf/k/a/b/h1/o/a$a;->e:I
|
|
|
|
iput v0, p0, Lf/k/a/b/h1/o/a$a;->f:I
|
|
|
|
iput v0, p0, Lf/k/a/b/h1/o/a$a;->g:I
|
|
|
|
iput v0, p0, Lf/k/a/b/h1/o/a$a;->h:I
|
|
|
|
iput v0, p0, Lf/k/a/b/h1/o/a$a;->i:I
|
|
|
|
iget-object v1, p0, Lf/k/a/b/h1/o/a$a;->a:Lf/k/a/b/l1/u;
|
|
|
|
invoke-virtual {v1, v0}, Lf/k/a/b/l1/u;->c(I)V
|
|
|
|
iput-boolean v0, p0, Lf/k/a/b/h1/o/a$a;->c:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final a(Lf/k/a/b/l1/u;I)V
|
|
.locals 3
|
|
|
|
const/4 v0, 0x4
|
|
|
|
if-ge p2, v0, :cond_0
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const/4 v1, 0x3
|
|
|
|
invoke-virtual {p1, v1}, Lf/k/a/b/l1/u;->f(I)V
|
|
|
|
invoke-virtual {p1}, Lf/k/a/b/l1/u;->l()I
|
|
|
|
move-result v1
|
|
|
|
and-int/lit16 v1, v1, 0x80
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
const/4 v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
add-int/lit8 p2, p2, -0x4
|
|
|
|
if-eqz v1, :cond_4
|
|
|
|
const/4 v1, 0x7
|
|
|
|
if-ge p2, v1, :cond_2
|
|
|
|
return-void
|
|
|
|
:cond_2
|
|
invoke-virtual {p1}, Lf/k/a/b/l1/u;->n()I
|
|
|
|
move-result v1
|
|
|
|
if-ge v1, v0, :cond_3
|
|
|
|
return-void
|
|
|
|
:cond_3
|
|
invoke-virtual {p1}, Lf/k/a/b/l1/u;->q()I
|
|
|
|
move-result v2
|
|
|
|
iput v2, p0, Lf/k/a/b/h1/o/a$a;->h:I
|
|
|
|
invoke-virtual {p1}, Lf/k/a/b/l1/u;->q()I
|
|
|
|
move-result v2
|
|
|
|
iput v2, p0, Lf/k/a/b/h1/o/a$a;->i:I
|
|
|
|
iget-object v2, p0, Lf/k/a/b/h1/o/a$a;->a:Lf/k/a/b/l1/u;
|
|
|
|
sub-int/2addr v1, v0
|
|
|
|
invoke-virtual {v2, v1}, Lf/k/a/b/l1/u;->c(I)V
|
|
|
|
add-int/lit8 p2, p2, -0x7
|
|
|
|
:cond_4
|
|
iget-object v0, p0, Lf/k/a/b/h1/o/a$a;->a:Lf/k/a/b/l1/u;
|
|
|
|
iget v1, v0, Lf/k/a/b/l1/u;->b:I
|
|
|
|
iget v0, v0, Lf/k/a/b/l1/u;->c:I
|
|
|
|
if-ge v1, v0, :cond_5
|
|
|
|
if-lez p2, :cond_5
|
|
|
|
sub-int/2addr v0, v1
|
|
|
|
invoke-static {p2, v0}, Ljava/lang/Math;->min(II)I
|
|
|
|
move-result p2
|
|
|
|
iget-object v0, p0, Lf/k/a/b/h1/o/a$a;->a:Lf/k/a/b/l1/u;
|
|
|
|
iget-object v0, v0, Lf/k/a/b/l1/u;->a:[B
|
|
|
|
invoke-virtual {p1, v0, v1, p2}, Lf/k/a/b/l1/u;->a([BII)V
|
|
|
|
iget-object p1, p0, Lf/k/a/b/h1/o/a$a;->a:Lf/k/a/b/l1/u;
|
|
|
|
add-int/2addr v1, p2
|
|
|
|
invoke-virtual {p1, v1}, Lf/k/a/b/l1/u;->e(I)V
|
|
|
|
:cond_5
|
|
return-void
|
|
.end method
|
|
|
|
.method public final b(Lf/k/a/b/l1/u;I)V
|
|
.locals 1
|
|
|
|
const/16 v0, 0x13
|
|
|
|
if-ge p2, v0, :cond_0
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
invoke-virtual {p1}, Lf/k/a/b/l1/u;->q()I
|
|
|
|
move-result p2
|
|
|
|
iput p2, p0, Lf/k/a/b/h1/o/a$a;->d:I
|
|
|
|
invoke-virtual {p1}, Lf/k/a/b/l1/u;->q()I
|
|
|
|
move-result p2
|
|
|
|
iput p2, p0, Lf/k/a/b/h1/o/a$a;->e:I
|
|
|
|
const/16 p2, 0xb
|
|
|
|
invoke-virtual {p1, p2}, Lf/k/a/b/l1/u;->f(I)V
|
|
|
|
invoke-virtual {p1}, Lf/k/a/b/l1/u;->q()I
|
|
|
|
move-result p2
|
|
|
|
iput p2, p0, Lf/k/a/b/h1/o/a$a;->f:I
|
|
|
|
invoke-virtual {p1}, Lf/k/a/b/l1/u;->q()I
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Lf/k/a/b/h1/o/a$a;->g:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final c(Lf/k/a/b/l1/u;I)V
|
|
.locals 17
|
|
|
|
move-object/from16 v0, p0
|
|
|
|
rem-int/lit8 v1, p2, 0x5
|
|
|
|
const/4 v2, 0x2
|
|
|
|
if-eq v1, v2, :cond_0
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
move-object/from16 v1, p1
|
|
|
|
invoke-virtual {v1, v2}, Lf/k/a/b/l1/u;->f(I)V
|
|
|
|
iget-object v2, v0, Lf/k/a/b/h1/o/a$a;->b:[I
|
|
|
|
const/4 v3, 0x0
|
|
|
|
invoke-static {v2, v3}, Ljava/util/Arrays;->fill([II)V
|
|
|
|
div-int/lit8 v2, p2, 0x5
|
|
|
|
const/4 v4, 0x0
|
|
|
|
:goto_0
|
|
if-ge v4, v2, :cond_1
|
|
|
|
invoke-virtual/range {p1 .. p1}, Lf/k/a/b/l1/u;->l()I
|
|
|
|
move-result v5
|
|
|
|
invoke-virtual/range {p1 .. p1}, Lf/k/a/b/l1/u;->l()I
|
|
|
|
move-result v6
|
|
|
|
invoke-virtual/range {p1 .. p1}, Lf/k/a/b/l1/u;->l()I
|
|
|
|
move-result v7
|
|
|
|
invoke-virtual/range {p1 .. p1}, Lf/k/a/b/l1/u;->l()I
|
|
|
|
move-result v8
|
|
|
|
invoke-virtual/range {p1 .. p1}, Lf/k/a/b/l1/u;->l()I
|
|
|
|
move-result v9
|
|
|
|
int-to-double v10, v6
|
|
|
|
const-wide v12, 0x3ff66e978d4fdf3bL # 1.402
|
|
|
|
add-int/lit8 v7, v7, -0x80
|
|
|
|
int-to-double v6, v7
|
|
|
|
mul-double v12, v12, v6
|
|
|
|
add-double/2addr v12, v10
|
|
|
|
double-to-int v12, v12
|
|
|
|
const-wide v13, 0x3fd60663c74fb54aL # 0.34414
|
|
|
|
add-int/lit8 v8, v8, -0x80
|
|
|
|
move/from16 p2, v4
|
|
|
|
int-to-double v3, v8
|
|
|
|
mul-double v13, v13, v3
|
|
|
|
sub-double v13, v10, v13
|
|
|
|
const-wide v15, 0x3fe6da3c21187e7cL # 0.71414
|
|
|
|
mul-double v6, v6, v15
|
|
|
|
sub-double/2addr v13, v6
|
|
|
|
double-to-int v6, v13
|
|
|
|
const-wide v7, 0x3ffc5a1cac083127L # 1.772
|
|
|
|
mul-double v3, v3, v7
|
|
|
|
add-double/2addr v3, v10
|
|
|
|
double-to-int v3, v3
|
|
|
|
iget-object v4, v0, Lf/k/a/b/h1/o/a$a;->b:[I
|
|
|
|
shl-int/lit8 v7, v9, 0x18
|
|
|
|
const/16 v8, 0xff
|
|
|
|
const/4 v9, 0x0
|
|
|
|
invoke-static {v12, v9, v8}, Lf/k/a/b/l1/f0;->a(III)I
|
|
|
|
move-result v10
|
|
|
|
shl-int/lit8 v10, v10, 0x10
|
|
|
|
or-int/2addr v7, v10
|
|
|
|
invoke-static {v6, v9, v8}, Lf/k/a/b/l1/f0;->a(III)I
|
|
|
|
move-result v6
|
|
|
|
shl-int/lit8 v6, v6, 0x8
|
|
|
|
or-int/2addr v6, v7
|
|
|
|
invoke-static {v3, v9, v8}, Lf/k/a/b/l1/f0;->a(III)I
|
|
|
|
move-result v3
|
|
|
|
or-int/2addr v3, v6
|
|
|
|
aput v3, v4, v5
|
|
|
|
add-int/lit8 v4, p2, 0x1
|
|
|
|
const/4 v3, 0x0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
const/4 v1, 0x1
|
|
|
|
iput-boolean v1, v0, Lf/k/a/b/h1/o/a$a;->c:Z
|
|
|
|
return-void
|
|
.end method
|