mirror of
https://github.com/XploitWizer-Community/XploitSPY.git
synced 2024-11-14 22:39:21 +08:00
247 lines
4.4 KiB
Smali
247 lines
4.4 KiB
Smali
.class final Lb/a/e/s$a;
|
|
.super Ljava/lang/Object;
|
|
.source ""
|
|
|
|
# interfaces
|
|
.implements Lc/w;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lb/a/e/s;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x18
|
|
name = "a"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field private final a:Lc/g;
|
|
|
|
.field b:I
|
|
|
|
.field c:B
|
|
|
|
.field d:I
|
|
|
|
.field e:I
|
|
|
|
.field f:S
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lc/g;)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Lb/a/e/s$a;->a:Lc/g;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private h()V
|
|
.locals 7
|
|
|
|
iget v0, p0, Lb/a/e/s$a;->d:I
|
|
|
|
iget-object v1, p0, Lb/a/e/s$a;->a:Lc/g;
|
|
|
|
invoke-static {v1}, Lb/a/e/s;->a(Lc/g;)I
|
|
|
|
move-result v1
|
|
|
|
iput v1, p0, Lb/a/e/s$a;->e:I
|
|
|
|
iput v1, p0, Lb/a/e/s$a;->b:I
|
|
|
|
iget-object v1, p0, Lb/a/e/s$a;->a:Lc/g;
|
|
|
|
invoke-interface {v1}, Lc/g;->readByte()B
|
|
|
|
move-result v1
|
|
|
|
and-int/lit16 v1, v1, 0xff
|
|
|
|
int-to-byte v1, v1
|
|
|
|
iget-object v2, p0, Lb/a/e/s$a;->a:Lc/g;
|
|
|
|
invoke-interface {v2}, Lc/g;->readByte()B
|
|
|
|
move-result v2
|
|
|
|
and-int/lit16 v2, v2, 0xff
|
|
|
|
int-to-byte v2, v2
|
|
|
|
iput-byte v2, p0, Lb/a/e/s$a;->c:B
|
|
|
|
sget-object v2, Lb/a/e/s;->a:Ljava/util/logging/Logger;
|
|
|
|
sget-object v3, Ljava/util/logging/Level;->FINE:Ljava/util/logging/Level;
|
|
|
|
invoke-virtual {v2, v3}, Ljava/util/logging/Logger;->isLoggable(Ljava/util/logging/Level;)Z
|
|
|
|
move-result v2
|
|
|
|
const/4 v3, 0x1
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
sget-object v2, Lb/a/e/s;->a:Ljava/util/logging/Logger;
|
|
|
|
iget v4, p0, Lb/a/e/s$a;->d:I
|
|
|
|
iget v5, p0, Lb/a/e/s$a;->b:I
|
|
|
|
iget-byte v6, p0, Lb/a/e/s$a;->c:B
|
|
|
|
invoke-static {v3, v4, v5, v1, v6}, Lb/a/e/e;->a(ZIIBB)Ljava/lang/String;
|
|
|
|
move-result-object v4
|
|
|
|
invoke-virtual {v2, v4}, Ljava/util/logging/Logger;->fine(Ljava/lang/String;)V
|
|
|
|
:cond_0
|
|
iget-object v2, p0, Lb/a/e/s$a;->a:Lc/g;
|
|
|
|
invoke-interface {v2}, Lc/g;->readInt()I
|
|
|
|
move-result v2
|
|
|
|
const v4, 0x7fffffff
|
|
|
|
and-int/2addr v2, v4
|
|
|
|
iput v2, p0, Lb/a/e/s$a;->d:I
|
|
|
|
const/16 v2, 0x9
|
|
|
|
const/4 v4, 0x0
|
|
|
|
const/4 v5, 0x0
|
|
|
|
if-ne v1, v2, :cond_2
|
|
|
|
iget v1, p0, Lb/a/e/s$a;->d:I
|
|
|
|
if-ne v1, v0, :cond_1
|
|
|
|
return-void
|
|
|
|
:cond_1
|
|
new-array v0, v5, [Ljava/lang/Object;
|
|
|
|
const-string v1, "TYPE_CONTINUATION streamId changed"
|
|
|
|
invoke-static {v1, v0}, Lb/a/e/e;->b(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/IOException;
|
|
|
|
throw v4
|
|
|
|
:cond_2
|
|
new-array v0, v3, [Ljava/lang/Object;
|
|
|
|
invoke-static {v1}, Ljava/lang/Byte;->valueOf(B)Ljava/lang/Byte;
|
|
|
|
move-result-object v1
|
|
|
|
aput-object v1, v0, v5
|
|
|
|
const-string v1, "%s != TYPE_CONTINUATION"
|
|
|
|
invoke-static {v1, v0}, Lb/a/e/e;->b(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/IOException;
|
|
|
|
throw v4
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public b(Lc/e;J)J
|
|
.locals 6
|
|
|
|
:goto_0
|
|
iget v0, p0, Lb/a/e/s$a;->e:I
|
|
|
|
const-wide/16 v1, -0x1
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
iget-object v0, p0, Lb/a/e/s$a;->a:Lc/g;
|
|
|
|
iget-short v3, p0, Lb/a/e/s$a;->f:S
|
|
|
|
int-to-long v3, v3
|
|
|
|
invoke-interface {v0, v3, v4}, Lc/g;->skip(J)V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
iput-short v0, p0, Lb/a/e/s$a;->f:S
|
|
|
|
iget-byte v0, p0, Lb/a/e/s$a;->c:B
|
|
|
|
and-int/lit8 v0, v0, 0x4
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
return-wide v1
|
|
|
|
:cond_0
|
|
invoke-direct {p0}, Lb/a/e/s$a;->h()V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
iget-object v3, p0, Lb/a/e/s$a;->a:Lc/g;
|
|
|
|
int-to-long v4, v0
|
|
|
|
invoke-static {p2, p3, v4, v5}, Ljava/lang/Math;->min(JJ)J
|
|
|
|
move-result-wide p2
|
|
|
|
invoke-interface {v3, p1, p2, p3}, Lc/w;->b(Lc/e;J)J
|
|
|
|
move-result-wide p1
|
|
|
|
cmp-long p3, p1, v1
|
|
|
|
if-nez p3, :cond_2
|
|
|
|
return-wide v1
|
|
|
|
:cond_2
|
|
iget p3, p0, Lb/a/e/s$a;->e:I
|
|
|
|
int-to-long v0, p3
|
|
|
|
sub-long/2addr v0, p1
|
|
|
|
long-to-int p3, v0
|
|
|
|
iput p3, p0, Lb/a/e/s$a;->e:I
|
|
|
|
return-wide p1
|
|
.end method
|
|
|
|
.method public b()Lc/y;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lb/a/e/s$a;->a:Lc/g;
|
|
|
|
invoke-interface {v0}, Lc/w;->b()Lc/y;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public close()V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|