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 27, 2020
1 parent 7d47d31 commit dd96185
Show file tree
Hide file tree
Showing 7 changed files with 1,450 additions and 0 deletions.
85 changes: 85 additions & 0 deletions server/app/factory/decompiled/smali/b/a/d/b/a.smali
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
.class Lb/a/d/b/a;
.super Ljava/lang/Object;
.source ""


# direct methods
.method public static a([[B)[B
.locals 4

array-length v0, p0

const/4 v1, 0x0

const/4 v2, 0x0

:goto_0
if-ge v1, v0, :cond_0

aget-object v3, p0, v1

array-length v3, v3

add-int/2addr v2, v3

add-int/lit8 v1, v1, 0x1

goto :goto_0

:cond_0
invoke-static {p0, v2}, Lb/a/d/b/a;->a([[BI)[B

move-result-object p0

return-object p0
.end method

.method public static a([[BI)[B
.locals 3

array-length v0, p0

const/4 v1, 0x0

if-nez v0, :cond_0

new-array p0, v1, [B

return-object p0

:cond_0
array-length v0, p0

const/4 v2, 0x1

if-ne v0, v2, :cond_1

aget-object p0, p0, v1

return-object p0

:cond_1
invoke-static {p1}, Ljava/nio/ByteBuffer;->allocate(I)Ljava/nio/ByteBuffer;

move-result-object p1

array-length v0, p0

:goto_0
if-ge v1, v0, :cond_2

aget-object v2, p0, v1

invoke-virtual {p1, v2}, Ljava/nio/ByteBuffer;->put([B)Ljava/nio/ByteBuffer;

add-int/lit8 v1, v1, 0x1

goto :goto_0

:cond_2
invoke-virtual {p1}, Ljava/nio/ByteBuffer;->array()[B

move-result-object p0

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


# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;"
}
.end annotation


# instance fields
.field public a:Ljava/lang/String;

.field public b:Ljava/lang/Object;
.annotation system Ldalvik/annotation/Signature;
value = {
"TT;"
}
.end annotation
.end field


# direct methods
.method public constructor <init>(Ljava/lang/String;)V
.locals 1

const/4 v0, 0x0

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

return-void
.end method

.method public constructor <init>(Ljava/lang/String;Ljava/lang/Object;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/String;",
"TT;)V"
}
.end annotation

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

iput-object p1, p0, Lb/a/d/b/b;->a:Ljava/lang/String;

iput-object p2, p0, Lb/a/d/b/b;->b:Ljava/lang/Object;

return-void
.end method
103 changes: 103 additions & 0 deletions server/app/factory/decompiled/smali/b/a/d/b/c.smali
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
.class final Lb/a/d/b/c;
.super Ljava/util/HashMap;
.source ""


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lb/a/d/b/e;
.end annotation

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

.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/HashMap<",
"Ljava/lang/String;",
"Ljava/lang/Integer;",
">;"
}
.end annotation


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

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

const/4 v0, 0x0

invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

move-result-object v0

const-string v1, "open"

invoke-virtual {p0, v1, v0}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

const/4 v0, 0x1

invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

move-result-object v0

const-string v1, "close"

invoke-virtual {p0, v1, v0}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

const/4 v0, 0x2

invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

move-result-object v0

const-string v1, "ping"

invoke-virtual {p0, v1, v0}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

const/4 v0, 0x3

invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

move-result-object v0

const-string v1, "pong"

invoke-virtual {p0, v1, v0}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

const/4 v0, 0x4

invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

move-result-object v0

const-string v1, "message"

invoke-virtual {p0, v1, v0}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

const/4 v0, 0x5

invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

move-result-object v0

const-string v1, "upgrade"

invoke-virtual {p0, v1, v0}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

const/4 v0, 0x6

invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

move-result-object v0

const-string v1, "noop"

invoke-virtual {p0, v1, v0}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

return-void
.end method
Loading

0 comments on commit dd96185

Please sign in to comment.