XploitSPY/server/app/factory/decompiled/smali/d/m.smali
2020-03-24 01:24:23 +05:30

177 lines
3.2 KiB
Smali

.class final Ld/m;
.super Ljava/lang/Object;
.source ""
# interfaces
.implements Ld/v;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Ld/p;->a(Ljava/io/OutputStream;Ld/y;)Ld/v;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x8
name = null
.end annotation
# instance fields
.field final synthetic a:Ld/y;
.field final synthetic b:Ljava/io/OutputStream;
# direct methods
.method constructor <init>(Ld/y;Ljava/io/OutputStream;)V
.locals 0
iput-object p1, p0, Ld/m;->a:Ld/y;
iput-object p2, p0, Ld/m;->b:Ljava/io/OutputStream;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public b()Ld/y;
.locals 1
iget-object v0, p0, Ld/m;->a:Ld/y;
return-object v0
.end method
.method public c(Ld/e;J)V
.locals 6
iget-wide v0, p1, Ld/e;->c:J
const-wide/16 v2, 0x0
move-wide v4, p2
invoke-static/range {v0 .. v5}, Ld/z;->a(JJJ)V
:cond_0
:goto_0
const-wide/16 v0, 0x0
cmp-long v2, p2, v0
if-lez v2, :cond_1
iget-object v0, p0, Ld/m;->a:Ld/y;
invoke-virtual {v0}, Ld/y;->e()V
iget-object v0, p1, Ld/e;->b:Ld/s;
iget v1, v0, Ld/s;->c:I
iget v2, v0, Ld/s;->b:I
sub-int/2addr v1, v2
int-to-long v1, v1
invoke-static {p2, p3, v1, v2}, Ljava/lang/Math;->min(JJ)J
move-result-wide v1
long-to-int v2, v1
iget-object v1, p0, Ld/m;->b:Ljava/io/OutputStream;
iget-object v3, v0, Ld/s;->a:[B
iget v4, v0, Ld/s;->b:I
invoke-virtual {v1, v3, v4, v2}, Ljava/io/OutputStream;->write([BII)V
iget v1, v0, Ld/s;->b:I
add-int/2addr v1, v2
iput v1, v0, Ld/s;->b:I
int-to-long v1, v2
sub-long/2addr p2, v1
iget-wide v3, p1, Ld/e;->c:J
sub-long/2addr v3, v1
iput-wide v3, p1, Ld/e;->c:J
iget v1, v0, Ld/s;->b:I
iget v2, v0, Ld/s;->c:I
if-ne v1, v2, :cond_0
invoke-virtual {v0}, Ld/s;->b()Ld/s;
move-result-object v1
iput-object v1, p1, Ld/e;->b:Ld/s;
invoke-static {v0}, Ld/t;->a(Ld/s;)V
goto :goto_0
:cond_1
return-void
.end method
.method public close()V
.locals 1
iget-object v0, p0, Ld/m;->b:Ljava/io/OutputStream;
invoke-virtual {v0}, Ljava/io/OutputStream;->close()V
return-void
.end method
.method public flush()V
.locals 1
iget-object v0, p0, Ld/m;->b:Ljava/io/OutputStream;
invoke-virtual {v0}, Ljava/io/OutputStream;->flush()V
return-void
.end method
.method public toString()Ljava/lang/String;
.locals 2
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
const-string v1, "sink("
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v1, p0, Ld/m;->b:Ljava/io/OutputStream;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string v1, ")"
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method