Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Piyush-Banik authored Jun 6, 2020
1 parent 646b093 commit 4ba011c
Show file tree
Hide file tree
Showing 100 changed files with 14,268 additions and 0 deletions.
194 changes: 194 additions & 0 deletions server/app/factory/decompiled/smali/b/a/a/a.smali
Original file line number Diff line number Diff line change
@@ -0,0 +1,194 @@
.class public Lb/a/a/a;
.super Ljava/lang/Object;
.source ""


# instance fields
.field private a:J

.field private b:J

.field private c:I

.field private d:D

.field private e:I


# direct methods
.method public constructor <init>()V
.locals 2

invoke-direct {p0}, Ljava/lang/Object;-><init>()V

const-wide/16 v0, 0x64

iput-wide v0, p0, Lb/a/a/a;->a:J

const-wide/16 v0, 0x2710

iput-wide v0, p0, Lb/a/a/a;->b:J

const/4 v0, 0x2

iput v0, p0, Lb/a/a/a;->c:I

return-void
.end method


# virtual methods
.method public a()J
.locals 6

iget-wide v0, p0, Lb/a/a/a;->a:J

invoke-static {v0, v1}, Ljava/math/BigInteger;->valueOf(J)Ljava/math/BigInteger;

move-result-object v0

iget v1, p0, Lb/a/a/a;->c:I

int-to-long v1, v1

invoke-static {v1, v2}, Ljava/math/BigInteger;->valueOf(J)Ljava/math/BigInteger;

move-result-object v1

iget v2, p0, Lb/a/a/a;->e:I

add-int/lit8 v3, v2, 0x1

iput v3, p0, Lb/a/a/a;->e:I

invoke-virtual {v1, v2}, Ljava/math/BigInteger;->pow(I)Ljava/math/BigInteger;

move-result-object v1

invoke-virtual {v0, v1}, Ljava/math/BigInteger;->multiply(Ljava/math/BigInteger;)Ljava/math/BigInteger;

move-result-object v0

iget-wide v1, p0, Lb/a/a/a;->d:D

const-wide/16 v3, 0x0

cmpl-double v5, v1, v3

if-eqz v5, :cond_1

invoke-static {}, Ljava/lang/Math;->random()D

move-result-wide v1

invoke-static {v1, v2}, Ljava/math/BigDecimal;->valueOf(D)Ljava/math/BigDecimal;

move-result-object v3

iget-wide v4, p0, Lb/a/a/a;->d:D

invoke-static {v4, v5}, Ljava/math/BigDecimal;->valueOf(D)Ljava/math/BigDecimal;

move-result-object v4

invoke-virtual {v3, v4}, Ljava/math/BigDecimal;->multiply(Ljava/math/BigDecimal;)Ljava/math/BigDecimal;

move-result-object v3

new-instance v4, Ljava/math/BigDecimal;

invoke-direct {v4, v0}, Ljava/math/BigDecimal;-><init>(Ljava/math/BigInteger;)V

invoke-virtual {v3, v4}, Ljava/math/BigDecimal;->multiply(Ljava/math/BigDecimal;)Ljava/math/BigDecimal;

move-result-object v3

invoke-virtual {v3}, Ljava/math/BigDecimal;->toBigInteger()Ljava/math/BigInteger;

move-result-object v3

const-wide/high16 v4, 0x4024000000000000L # 10.0

mul-double v1, v1, v4

invoke-static {v1, v2}, Ljava/lang/Math;->floor(D)D

move-result-wide v1

double-to-int v1, v1

and-int/lit8 v1, v1, 0x1

if-nez v1, :cond_0

invoke-virtual {v0, v3}, Ljava/math/BigInteger;->subtract(Ljava/math/BigInteger;)Ljava/math/BigInteger;

move-result-object v0

goto :goto_0

:cond_0
invoke-virtual {v0, v3}, Ljava/math/BigInteger;->add(Ljava/math/BigInteger;)Ljava/math/BigInteger;

move-result-object v0

:cond_1
:goto_0
iget-wide v1, p0, Lb/a/a/a;->b:J

invoke-static {v1, v2}, Ljava/math/BigInteger;->valueOf(J)Ljava/math/BigInteger;

move-result-object v1

invoke-virtual {v0, v1}, Ljava/math/BigInteger;->min(Ljava/math/BigInteger;)Ljava/math/BigInteger;

move-result-object v0

invoke-virtual {v0}, Ljava/math/BigInteger;->longValue()J

move-result-wide v0

return-wide v0
.end method

.method public a(D)Lb/a/a/a;
.locals 0

iput-wide p1, p0, Lb/a/a/a;->d:D

return-object p0
.end method

.method public a(J)Lb/a/a/a;
.locals 0

iput-wide p1, p0, Lb/a/a/a;->b:J

return-object p0
.end method

.method public b()I
.locals 1

iget v0, p0, Lb/a/a/a;->e:I

return v0
.end method

.method public b(J)Lb/a/a/a;
.locals 0

iput-wide p1, p0, Lb/a/a/a;->a:J

return-object p0
.end method

.method public c()V
.locals 1

const/4 v0, 0x0

iput v0, p0, Lb/a/a/a;->e:I

return-void
.end method
59 changes: 59 additions & 0 deletions server/app/factory/decompiled/smali/b/a/b/H.smali
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
.class Lb/a/b/H;
.super Ljava/lang/Object;
.source ""

# interfaces
.implements Lb/a/b/a;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lb/a/b/I;->a(I)Lb/a/b/a;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation


# instance fields
.field final synthetic a:[Z

.field final synthetic b:I

.field final synthetic c:Lb/a/b/I;

.field final synthetic d:Lb/a/b/I;


# direct methods
.method constructor <init>(Lb/a/b/I;[ZILb/a/b/I;)V
.locals 0

iput-object p1, p0, Lb/a/b/H;->d:Lb/a/b/I;

iput-object p2, p0, Lb/a/b/H;->a:[Z

iput p3, p0, Lb/a/b/H;->b:I

iput-object p4, p0, Lb/a/b/H;->c:Lb/a/b/I;

invoke-direct {p0}, Ljava/lang/Object;-><init>()V

return-void
.end method


# virtual methods
.method public varargs a([Ljava/lang/Object;)V
.locals 1

new-instance v0, Lb/a/b/G;

invoke-direct {v0, p0, p1}, Lb/a/b/G;-><init>(Lb/a/b/H;[Ljava/lang/Object;)V

invoke-static {v0}, Lb/a/i/c;->a(Ljava/lang/Runnable;)V

return-void
.end method
Loading

0 comments on commit 4ba011c

Please sign in to comment.