XploitSPY/app/factory/decompiled/smali/b/a/e/d$b.smali
2020-02-20 19:26:05 +05:30

745 lines
13 KiB
Smali

.class final Lb/a/e/d$b;
.super Ljava/lang/Object;
.source ""
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lb/a/e/d;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = "b"
.end annotation
# instance fields
.field private final a:Lc/e;
.field private final b:Z
.field private c:I
.field private d:Z
.field e:I
.field f:I
.field g:[Lb/a/e/c;
.field h:I
.field i:I
.field j:I
# direct methods
.method constructor <init>(IZLc/e;)V
.locals 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const v0, 0x7fffffff
iput v0, p0, Lb/a/e/d$b;->c:I
const/16 v0, 0x8
new-array v0, v0, [Lb/a/e/c;
iput-object v0, p0, Lb/a/e/d$b;->g:[Lb/a/e/c;
iget-object v0, p0, Lb/a/e/d$b;->g:[Lb/a/e/c;
array-length v0, v0
add-int/lit8 v0, v0, -0x1
iput v0, p0, Lb/a/e/d$b;->h:I
const/4 v0, 0x0
iput v0, p0, Lb/a/e/d$b;->i:I
iput v0, p0, Lb/a/e/d$b;->j:I
iput p1, p0, Lb/a/e/d$b;->e:I
iput p1, p0, Lb/a/e/d$b;->f:I
iput-boolean p2, p0, Lb/a/e/d$b;->b:Z
iput-object p3, p0, Lb/a/e/d$b;->a:Lc/e;
return-void
.end method
.method constructor <init>(Lc/e;)V
.locals 2
const/16 v0, 0x1000
const/4 v1, 0x1
invoke-direct {p0, v0, v1, p1}, Lb/a/e/d$b;-><init>(IZLc/e;)V
return-void
.end method
.method private a()V
.locals 2
iget v0, p0, Lb/a/e/d$b;->f:I
iget v1, p0, Lb/a/e/d$b;->j:I
if-ge v0, v1, :cond_1
if-nez v0, :cond_0
invoke-direct {p0}, Lb/a/e/d$b;->b()V
goto :goto_0
:cond_0
sub-int/2addr v1, v0
invoke-direct {p0, v1}, Lb/a/e/d$b;->b(I)I
:cond_1
:goto_0
return-void
.end method
.method private a(Lb/a/e/c;)V
.locals 6
iget v0, p1, Lb/a/e/c;->i:I
iget v1, p0, Lb/a/e/d$b;->f:I
if-le v0, v1, :cond_0
invoke-direct {p0}, Lb/a/e/d$b;->b()V
return-void
:cond_0
iget v2, p0, Lb/a/e/d$b;->j:I
add-int/2addr v2, v0
sub-int/2addr v2, v1
invoke-direct {p0, v2}, Lb/a/e/d$b;->b(I)I
iget v1, p0, Lb/a/e/d$b;->i:I
add-int/lit8 v1, v1, 0x1
iget-object v2, p0, Lb/a/e/d$b;->g:[Lb/a/e/c;
array-length v3, v2
if-le v1, v3, :cond_1
array-length v1, v2
mul-int/lit8 v1, v1, 0x2
new-array v1, v1, [Lb/a/e/c;
const/4 v3, 0x0
array-length v4, v2
array-length v5, v2
invoke-static {v2, v3, v1, v4, v5}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
iget-object v2, p0, Lb/a/e/d$b;->g:[Lb/a/e/c;
array-length v2, v2
add-int/lit8 v2, v2, -0x1
iput v2, p0, Lb/a/e/d$b;->h:I
iput-object v1, p0, Lb/a/e/d$b;->g:[Lb/a/e/c;
:cond_1
iget v1, p0, Lb/a/e/d$b;->h:I
add-int/lit8 v2, v1, -0x1
iput v2, p0, Lb/a/e/d$b;->h:I
iget-object v2, p0, Lb/a/e/d$b;->g:[Lb/a/e/c;
aput-object p1, v2, v1
iget p1, p0, Lb/a/e/d$b;->i:I
add-int/lit8 p1, p1, 0x1
iput p1, p0, Lb/a/e/d$b;->i:I
iget p1, p0, Lb/a/e/d$b;->j:I
add-int/2addr p1, v0
iput p1, p0, Lb/a/e/d$b;->j:I
return-void
.end method
.method private b(I)I
.locals 4
const/4 v0, 0x0
if-lez p1, :cond_1
iget-object v1, p0, Lb/a/e/d$b;->g:[Lb/a/e/c;
array-length v1, v1
add-int/lit8 v1, v1, -0x1
:goto_0
iget v2, p0, Lb/a/e/d$b;->h:I
if-lt v1, v2, :cond_0
if-lez p1, :cond_0
iget-object v2, p0, Lb/a/e/d$b;->g:[Lb/a/e/c;
aget-object v3, v2, v1
iget v3, v3, Lb/a/e/c;->i:I
sub-int/2addr p1, v3
iget v3, p0, Lb/a/e/d$b;->j:I
aget-object v2, v2, v1
iget v2, v2, Lb/a/e/c;->i:I
sub-int/2addr v3, v2
iput v3, p0, Lb/a/e/d$b;->j:I
iget v2, p0, Lb/a/e/d$b;->i:I
add-int/lit8 v2, v2, -0x1
iput v2, p0, Lb/a/e/d$b;->i:I
add-int/lit8 v0, v0, 0x1
add-int/lit8 v1, v1, -0x1
goto :goto_0
:cond_0
iget-object p1, p0, Lb/a/e/d$b;->g:[Lb/a/e/c;
iget v1, p0, Lb/a/e/d$b;->h:I
add-int/lit8 v2, v1, 0x1
add-int/lit8 v1, v1, 0x1
add-int/2addr v1, v0
iget v3, p0, Lb/a/e/d$b;->i:I
invoke-static {p1, v2, p1, v1, v3}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
iget-object p1, p0, Lb/a/e/d$b;->g:[Lb/a/e/c;
iget v1, p0, Lb/a/e/d$b;->h:I
add-int/lit8 v2, v1, 0x1
add-int/lit8 v1, v1, 0x1
add-int/2addr v1, v0
const/4 v3, 0x0
invoke-static {p1, v2, v1, v3}, Ljava/util/Arrays;->fill([Ljava/lang/Object;IILjava/lang/Object;)V
iget p1, p0, Lb/a/e/d$b;->h:I
add-int/2addr p1, v0
iput p1, p0, Lb/a/e/d$b;->h:I
:cond_1
return v0
.end method
.method private b()V
.locals 2
iget-object v0, p0, Lb/a/e/d$b;->g:[Lb/a/e/c;
const/4 v1, 0x0
invoke-static {v0, v1}, Ljava/util/Arrays;->fill([Ljava/lang/Object;Ljava/lang/Object;)V
iget-object v0, p0, Lb/a/e/d$b;->g:[Lb/a/e/c;
array-length v0, v0
add-int/lit8 v0, v0, -0x1
iput v0, p0, Lb/a/e/d$b;->h:I
const/4 v0, 0x0
iput v0, p0, Lb/a/e/d$b;->i:I
iput v0, p0, Lb/a/e/d$b;->j:I
return-void
.end method
# virtual methods
.method a(I)V
.locals 1
iput p1, p0, Lb/a/e/d$b;->e:I
const/16 v0, 0x4000
invoke-static {p1, v0}, Ljava/lang/Math;->min(II)I
move-result p1
iget v0, p0, Lb/a/e/d$b;->f:I
if-ne v0, p1, :cond_0
return-void
:cond_0
if-ge p1, v0, :cond_1
iget v0, p0, Lb/a/e/d$b;->c:I
invoke-static {v0, p1}, Ljava/lang/Math;->min(II)I
move-result v0
iput v0, p0, Lb/a/e/d$b;->c:I
:cond_1
const/4 v0, 0x1
iput-boolean v0, p0, Lb/a/e/d$b;->d:Z
iput p1, p0, Lb/a/e/d$b;->f:I
invoke-direct {p0}, Lb/a/e/d$b;->a()V
return-void
.end method
.method a(III)V
.locals 1
if-ge p1, p2, :cond_0
iget-object p2, p0, Lb/a/e/d$b;->a:Lc/e;
or-int/2addr p1, p3
:goto_0
invoke-virtual {p2, p1}, Lc/e;->writeByte(I)Lc/e;
return-void
:cond_0
iget-object v0, p0, Lb/a/e/d$b;->a:Lc/e;
or-int/2addr p3, p2
invoke-virtual {v0, p3}, Lc/e;->writeByte(I)Lc/e;
sub-int/2addr p1, p2
:goto_1
const/16 p2, 0x80
if-lt p1, p2, :cond_1
and-int/lit8 p3, p1, 0x7f
iget-object v0, p0, Lb/a/e/d$b;->a:Lc/e;
or-int/2addr p2, p3
invoke-virtual {v0, p2}, Lc/e;->writeByte(I)Lc/e;
ushr-int/lit8 p1, p1, 0x7
goto :goto_1
:cond_1
iget-object p2, p0, Lb/a/e/d$b;->a:Lc/e;
goto :goto_0
.end method
.method a(Lc/h;)V
.locals 3
iget-boolean v0, p0, Lb/a/e/d$b;->b:Z
const/16 v1, 0x7f
if-eqz v0, :cond_0
invoke-static {}, Lb/a/e/v;->a()Lb/a/e/v;
move-result-object v0
invoke-virtual {v0, p1}, Lb/a/e/v;->a(Lc/h;)I
move-result v0
invoke-virtual {p1}, Lc/h;->e()I
move-result v2
if-ge v0, v2, :cond_0
new-instance v0, Lc/e;
invoke-direct {v0}, Lc/e;-><init>()V
invoke-static {}, Lb/a/e/v;->a()Lb/a/e/v;
move-result-object v2
invoke-virtual {v2, p1, v0}, Lb/a/e/v;->a(Lc/h;Lc/f;)V
invoke-virtual {v0}, Lc/e;->m()Lc/h;
move-result-object p1
invoke-virtual {p1}, Lc/h;->e()I
move-result v0
const/16 v2, 0x80
goto :goto_0
:cond_0
invoke-virtual {p1}, Lc/h;->e()I
move-result v0
const/4 v2, 0x0
:goto_0
invoke-virtual {p0, v0, v1, v2}, Lb/a/e/d$b;->a(III)V
iget-object v0, p0, Lb/a/e/d$b;->a:Lc/e;
invoke-virtual {v0, p1}, Lc/e;->a(Lc/h;)Lc/e;
return-void
.end method
.method a(Ljava/util/List;)V
.locals 13
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/List<",
"Lb/a/e/c;",
">;)V"
}
.end annotation
iget-boolean v0, p0, Lb/a/e/d$b;->d:Z
const/4 v1, 0x0
if-eqz v0, :cond_1
iget v0, p0, Lb/a/e/d$b;->c:I
iget v2, p0, Lb/a/e/d$b;->f:I
const/16 v3, 0x20
const/16 v4, 0x1f
if-ge v0, v2, :cond_0
invoke-virtual {p0, v0, v4, v3}, Lb/a/e/d$b;->a(III)V
:cond_0
iput-boolean v1, p0, Lb/a/e/d$b;->d:Z
const v0, 0x7fffffff
iput v0, p0, Lb/a/e/d$b;->c:I
iget v0, p0, Lb/a/e/d$b;->f:I
invoke-virtual {p0, v0, v4, v3}, Lb/a/e/d$b;->a(III)V
:cond_1
invoke-interface {p1}, Ljava/util/List;->size()I
move-result v0
const/4 v2, 0x0
:goto_0
if-ge v2, v0, :cond_b
invoke-interface {p1, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v3
check-cast v3, Lb/a/e/c;
iget-object v4, v3, Lb/a/e/c;->g:Lc/h;
invoke-virtual {v4}, Lc/h;->f()Lc/h;
move-result-object v4
iget-object v5, v3, Lb/a/e/c;->h:Lc/h;
sget-object v6, Lb/a/e/d;->b:Ljava/util/Map;
invoke-interface {v6, v4}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v6
check-cast v6, Ljava/lang/Integer;
const/4 v7, -0x1
const/4 v8, 0x1
if-eqz v6, :cond_4
invoke-virtual {v6}, Ljava/lang/Integer;->intValue()I
move-result v6
add-int/2addr v6, v8
if-le v6, v8, :cond_3
const/16 v9, 0x8
if-ge v6, v9, :cond_3
sget-object v9, Lb/a/e/d;->a:[Lb/a/e/c;
add-int/lit8 v10, v6, -0x1
aget-object v9, v9, v10
iget-object v9, v9, Lb/a/e/c;->h:Lc/h;
invoke-static {v9, v5}, Lb/a/d;->a(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v9
if-eqz v9, :cond_2
move v9, v6
goto :goto_1
:cond_2
sget-object v9, Lb/a/e/d;->a:[Lb/a/e/c;
aget-object v9, v9, v6
iget-object v9, v9, Lb/a/e/c;->h:Lc/h;
invoke-static {v9, v5}, Lb/a/d;->a(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v9
if-eqz v9, :cond_3
add-int/lit8 v9, v6, 0x1
move v12, v9
move v9, v6
move v6, v12
goto :goto_1
:cond_3
move v9, v6
const/4 v6, -0x1
goto :goto_1
:cond_4
const/4 v6, -0x1
const/4 v9, -0x1
:goto_1
if-ne v6, v7, :cond_7
iget v10, p0, Lb/a/e/d$b;->h:I
add-int/2addr v10, v8
iget-object v8, p0, Lb/a/e/d$b;->g:[Lb/a/e/c;
array-length v8, v8
:goto_2
if-ge v10, v8, :cond_7
iget-object v11, p0, Lb/a/e/d$b;->g:[Lb/a/e/c;
aget-object v11, v11, v10
iget-object v11, v11, Lb/a/e/c;->g:Lc/h;
invoke-static {v11, v4}, Lb/a/d;->a(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v11
if-eqz v11, :cond_6
iget-object v11, p0, Lb/a/e/d$b;->g:[Lb/a/e/c;
aget-object v11, v11, v10
iget-object v11, v11, Lb/a/e/c;->h:Lc/h;
invoke-static {v11, v5}, Lb/a/d;->a(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v11
if-eqz v11, :cond_5
iget v6, p0, Lb/a/e/d$b;->h:I
sub-int/2addr v10, v6
sget-object v6, Lb/a/e/d;->a:[Lb/a/e/c;
array-length v6, v6
add-int/2addr v6, v10
goto :goto_3
:cond_5
if-ne v9, v7, :cond_6
iget v9, p0, Lb/a/e/d$b;->h:I
sub-int v9, v10, v9
sget-object v11, Lb/a/e/d;->a:[Lb/a/e/c;
array-length v11, v11
add-int/2addr v9, v11
:cond_6
add-int/lit8 v10, v10, 0x1
goto :goto_2
:cond_7
:goto_3
if-eq v6, v7, :cond_8
const/16 v3, 0x7f
const/16 v4, 0x80
invoke-virtual {p0, v6, v3, v4}, Lb/a/e/d$b;->a(III)V
goto :goto_5
:cond_8
const/16 v6, 0x40
if-ne v9, v7, :cond_9
iget-object v7, p0, Lb/a/e/d$b;->a:Lc/e;
invoke-virtual {v7, v6}, Lc/e;->writeByte(I)Lc/e;
invoke-virtual {p0, v4}, Lb/a/e/d$b;->a(Lc/h;)V
:goto_4
invoke-virtual {p0, v5}, Lb/a/e/d$b;->a(Lc/h;)V
invoke-direct {p0, v3}, Lb/a/e/d$b;->a(Lb/a/e/c;)V
goto :goto_5
:cond_9
sget-object v7, Lb/a/e/c;->a:Lc/h;
invoke-virtual {v4, v7}, Lc/h;->b(Lc/h;)Z
move-result v7
if-eqz v7, :cond_a
sget-object v7, Lb/a/e/c;->f:Lc/h;
invoke-virtual {v7, v4}, Lc/h;->equals(Ljava/lang/Object;)Z
move-result v4
if-nez v4, :cond_a
const/16 v3, 0xf
invoke-virtual {p0, v9, v3, v1}, Lb/a/e/d$b;->a(III)V
invoke-virtual {p0, v5}, Lb/a/e/d$b;->a(Lc/h;)V
goto :goto_5
:cond_a
const/16 v4, 0x3f
invoke-virtual {p0, v9, v4, v6}, Lb/a/e/d$b;->a(III)V
goto :goto_4
:goto_5
add-int/lit8 v2, v2, 0x1
goto/16 :goto_0
:cond_b
return-void
.end method