1263 lines
26 KiB
Smali
1263 lines
26 KiB
Smali
.class public abstract Lcom/esotericsoftware/b/d;
|
|
.super Ljava/lang/Object;
|
|
.source "MethodAccess.java"
|
|
|
|
|
|
# instance fields
|
|
.field private Bu:[Ljava/lang/String;
|
|
|
|
.field private Bv:[[Ljava/lang/Class;
|
|
|
|
.field private Bw:[Ljava/lang/Class;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private static a(Ljava/lang/Class;Ljava/util/ArrayList;)V
|
|
.locals 4
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/Class;",
|
|
"Ljava/util/ArrayList<",
|
|
"Ljava/lang/reflect/Method;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
invoke-virtual {p0}, Ljava/lang/Class;->getDeclaredMethods()[Ljava/lang/reflect/Method;
|
|
|
|
move-result-object p0
|
|
|
|
array-length v0, p0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
if-ge v1, v0, :cond_1
|
|
|
|
aget-object v2, p0, v1
|
|
|
|
invoke-virtual {v2}, Ljava/lang/reflect/Method;->getModifiers()I
|
|
|
|
move-result v3
|
|
|
|
invoke-static {v3}, Ljava/lang/reflect/Modifier;->isPrivate(I)Z
|
|
|
|
move-result v3
|
|
|
|
if-nez v3, :cond_0
|
|
|
|
invoke-virtual {p1, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
:cond_0
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method private static b(Ljava/lang/Class;Ljava/util/ArrayList;)V
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/Class;",
|
|
"Ljava/util/ArrayList<",
|
|
"Ljava/lang/reflect/Method;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
invoke-static {p0, p1}, Lcom/esotericsoftware/b/d;->a(Ljava/lang/Class;Ljava/util/ArrayList;)V
|
|
|
|
invoke-virtual {p0}, Ljava/lang/Class;->getInterfaces()[Ljava/lang/Class;
|
|
|
|
move-result-object p0
|
|
|
|
array-length v0, p0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
if-ge v1, v0, :cond_0
|
|
|
|
aget-object v2, p0, v1
|
|
|
|
invoke-static {v2, p1}, Lcom/esotericsoftware/b/d;->b(Ljava/lang/Class;Ljava/util/ArrayList;)V
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public static k(Ljava/lang/Class;)Lcom/esotericsoftware/b/d;
|
|
.locals 33
|
|
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
invoke-virtual/range {p0 .. p0}, Ljava/lang/Class;->isInterface()Z
|
|
|
|
move-result v1
|
|
|
|
if-nez v1, :cond_1
|
|
|
|
move-object/from16 v2, p0
|
|
|
|
:goto_0
|
|
const-class v3, Ljava/lang/Object;
|
|
|
|
if-eq v2, v3, :cond_0
|
|
|
|
invoke-static {v2, v0}, Lcom/esotericsoftware/b/d;->a(Ljava/lang/Class;Ljava/util/ArrayList;)V
|
|
|
|
invoke-virtual {v2}, Ljava/lang/Class;->getSuperclass()Ljava/lang/Class;
|
|
|
|
move-result-object v2
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move-object/from16 v2, p0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
move-object/from16 v2, p0
|
|
|
|
invoke-static {v2, v0}, Lcom/esotericsoftware/b/d;->b(Ljava/lang/Class;Ljava/util/ArrayList;)V
|
|
|
|
:goto_1
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
|
|
|
|
move-result v3
|
|
|
|
new-array v4, v3, [Ljava/lang/String;
|
|
|
|
new-array v5, v3, [[Ljava/lang/Class;
|
|
|
|
new-array v6, v3, [Ljava/lang/Class;
|
|
|
|
const/4 v7, 0x0
|
|
|
|
const/4 v8, 0x0
|
|
|
|
:goto_2
|
|
if-ge v8, v3, :cond_2
|
|
|
|
invoke-virtual {v0, v8}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v9
|
|
|
|
check-cast v9, Ljava/lang/reflect/Method;
|
|
|
|
invoke-virtual {v9}, Ljava/lang/reflect/Method;->getName()Ljava/lang/String;
|
|
|
|
move-result-object v10
|
|
|
|
aput-object v10, v4, v8
|
|
|
|
invoke-virtual {v9}, Ljava/lang/reflect/Method;->getParameterTypes()[Ljava/lang/Class;
|
|
|
|
move-result-object v10
|
|
|
|
aput-object v10, v5, v8
|
|
|
|
invoke-virtual {v9}, Ljava/lang/reflect/Method;->getReturnType()Ljava/lang/Class;
|
|
|
|
move-result-object v9
|
|
|
|
aput-object v9, v6, v8
|
|
|
|
add-int/lit8 v8, v8, 0x1
|
|
|
|
goto :goto_2
|
|
|
|
:cond_2
|
|
invoke-virtual/range {p0 .. p0}, Ljava/lang/Class;->getName()Ljava/lang/String;
|
|
|
|
move-result-object v8
|
|
|
|
new-instance v9, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v9}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
invoke-virtual {v9, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v10, "MethodAccess"
|
|
|
|
invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v9}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v9
|
|
|
|
const-string v10, "java."
|
|
|
|
invoke-virtual {v9, v10}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
|
|
|
|
move-result v10
|
|
|
|
if-eqz v10, :cond_3
|
|
|
|
const-string v10, "reflectasm."
|
|
|
|
invoke-static {v9}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object v9
|
|
|
|
invoke-virtual {v10, v9}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v9
|
|
|
|
:cond_3
|
|
invoke-static/range {p0 .. p0}, Lcom/esotericsoftware/b/a;->g(Ljava/lang/Class;)Lcom/esotericsoftware/b/a;
|
|
|
|
move-result-object v2
|
|
|
|
:try_start_0
|
|
invoke-virtual {v2, v9}, Lcom/esotericsoftware/b/a;->loadClass(Ljava/lang/String;)Ljava/lang/Class;
|
|
|
|
move-result-object v0
|
|
:try_end_0
|
|
.catch Ljava/lang/ClassNotFoundException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
move-object/from16 v31, v5
|
|
|
|
move-object/from16 v30, v6
|
|
|
|
goto/16 :goto_c
|
|
|
|
:catch_0
|
|
monitor-enter v2
|
|
|
|
:try_start_1
|
|
invoke-virtual {v2, v9}, Lcom/esotericsoftware/b/a;->loadClass(Ljava/lang/String;)Ljava/lang/Class;
|
|
|
|
move-result-object v0
|
|
:try_end_1
|
|
.catch Ljava/lang/ClassNotFoundException; {:try_start_1 .. :try_end_1} :catch_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
move-object/from16 v31, v5
|
|
|
|
move-object/from16 v30, v6
|
|
|
|
goto/16 :goto_b
|
|
|
|
:catchall_0
|
|
move-exception v0
|
|
|
|
goto/16 :goto_d
|
|
|
|
:catch_1
|
|
const/16 v10, 0x2f
|
|
|
|
const/16 v11, 0x2e
|
|
|
|
:try_start_2
|
|
invoke-virtual {v9, v11, v10}, Ljava/lang/String;->replace(CC)Ljava/lang/String;
|
|
|
|
move-result-object v15
|
|
|
|
invoke-virtual {v8, v11, v10}, Ljava/lang/String;->replace(CC)Ljava/lang/String;
|
|
|
|
move-result-object v8
|
|
|
|
new-instance v10, Lorg/a/a/h;
|
|
|
|
const/4 v11, 0x1
|
|
|
|
invoke-direct {v10, v11}, Lorg/a/a/h;-><init>(I)V
|
|
|
|
const v13, 0x3002d
|
|
|
|
const/16 v14, 0x21
|
|
|
|
const/16 v16, 0x0
|
|
|
|
const-string v17, "com/esotericsoftware/reflectasm/MethodAccess"
|
|
|
|
const/16 v18, 0x0
|
|
|
|
move-object v12, v10
|
|
|
|
invoke-virtual/range {v12 .. v18}, Lorg/a/a/h;->a(IILjava/lang/String;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)V
|
|
|
|
const/16 v17, 0x1
|
|
|
|
const-string v18, "<init>"
|
|
|
|
const-string v19, "()V"
|
|
|
|
const/16 v20, 0x0
|
|
|
|
const/16 v21, 0x0
|
|
|
|
move-object/from16 v16, v10
|
|
|
|
invoke-virtual/range {v16 .. v21}, Lorg/a/a/h;->a(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)Lorg/a/a/t;
|
|
|
|
move-result-object v12
|
|
|
|
const/16 v13, 0x19
|
|
|
|
invoke-virtual {v12, v13, v7}, Lorg/a/a/t;->aj(II)V
|
|
|
|
const-string v14, "com/esotericsoftware/reflectasm/MethodAccess"
|
|
|
|
const-string v15, "<init>"
|
|
|
|
const-string v11, "()V"
|
|
|
|
const/16 v13, 0xb7
|
|
|
|
invoke-virtual {v12, v13, v14, v15, v11}, Lorg/a/a/t;->b(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
const/16 v11, 0xb1
|
|
|
|
invoke-virtual {v12, v11}, Lorg/a/a/t;->dG(I)V
|
|
|
|
invoke-virtual {v12, v7, v7}, Lorg/a/a/t;->al(II)V
|
|
|
|
const/16 v17, 0x81
|
|
|
|
const-string v18, "invoke"
|
|
|
|
const-string v19, "(Ljava/lang/Object;I[Ljava/lang/Object;)Ljava/lang/Object;"
|
|
|
|
const/16 v20, 0x0
|
|
|
|
const/16 v21, 0x0
|
|
|
|
move-object/from16 v16, v10
|
|
|
|
invoke-virtual/range {v16 .. v21}, Lorg/a/a/h;->a(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)Lorg/a/a/t;
|
|
|
|
move-result-object v11
|
|
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->isEmpty()Z
|
|
|
|
move-result v12
|
|
|
|
const/4 v14, 0x2
|
|
|
|
const/16 v15, 0x15
|
|
|
|
if-nez v12, :cond_a
|
|
|
|
const/4 v12, 0x1
|
|
|
|
const/16 v13, 0x19
|
|
|
|
invoke-virtual {v11, v13, v12}, Lorg/a/a/t;->aj(II)V
|
|
|
|
const/16 v12, 0xc0
|
|
|
|
invoke-virtual {v11, v12, v8}, Lorg/a/a/t;->i(ILjava/lang/String;)V
|
|
|
|
const/16 v13, 0x3a
|
|
|
|
const/4 v12, 0x4
|
|
|
|
invoke-virtual {v11, v13, v12}, Lorg/a/a/t;->aj(II)V
|
|
|
|
invoke-virtual {v11, v15, v14}, Lorg/a/a/t;->aj(II)V
|
|
|
|
new-array v13, v3, [Lorg/a/a/r;
|
|
|
|
const/4 v14, 0x0
|
|
|
|
:goto_3
|
|
if-ge v14, v3, :cond_4
|
|
|
|
new-instance v20, Lorg/a/a/r;
|
|
|
|
invoke-direct/range {v20 .. v20}, Lorg/a/a/r;-><init>()V
|
|
|
|
aput-object v20, v13, v14
|
|
|
|
add-int/lit8 v14, v14, 0x1
|
|
|
|
goto :goto_3
|
|
|
|
:cond_4
|
|
new-instance v14, Lorg/a/a/r;
|
|
|
|
invoke-direct {v14}, Lorg/a/a/r;-><init>()V
|
|
|
|
add-int/lit8 v15, v3, -0x1
|
|
|
|
invoke-virtual {v11, v7, v15, v14, v13}, Lorg/a/a/t;->a(IILorg/a/a/r;[Lorg/a/a/r;)V
|
|
|
|
new-instance v15, Ljava/lang/StringBuilder;
|
|
|
|
const/16 v12, 0x80
|
|
|
|
invoke-direct {v15, v12}, Ljava/lang/StringBuilder;-><init>(I)V
|
|
|
|
const/4 v12, 0x0
|
|
|
|
:goto_4
|
|
if-ge v12, v3, :cond_9
|
|
|
|
aget-object v7, v13, v12
|
|
|
|
invoke-virtual {v11, v7}, Lorg/a/a/t;->b(Lorg/a/a/r;)V
|
|
|
|
if-nez v12, :cond_5
|
|
|
|
const/16 v24, 0x1
|
|
|
|
const/16 v25, 0x1
|
|
|
|
move/from16 v29, v3
|
|
|
|
const/4 v7, 0x1
|
|
|
|
new-array v3, v7, [Ljava/lang/Object;
|
|
|
|
const/4 v7, 0x0
|
|
|
|
aput-object v8, v3, v7
|
|
|
|
const/16 v27, 0x0
|
|
|
|
const/16 v28, 0x0
|
|
|
|
move-object/from16 v23, v11
|
|
|
|
move-object/from16 v26, v3
|
|
|
|
invoke-virtual/range {v23 .. v28}, Lorg/a/a/t;->a(II[Ljava/lang/Object;I[Ljava/lang/Object;)V
|
|
|
|
const/16 v3, 0x19
|
|
|
|
const/4 v7, 0x4
|
|
|
|
goto :goto_5
|
|
|
|
:cond_5
|
|
move/from16 v29, v3
|
|
|
|
const/16 v24, 0x3
|
|
|
|
const/16 v25, 0x0
|
|
|
|
const/16 v26, 0x0
|
|
|
|
const/16 v27, 0x0
|
|
|
|
const/16 v28, 0x0
|
|
|
|
move-object/from16 v23, v11
|
|
|
|
invoke-virtual/range {v23 .. v28}, Lorg/a/a/t;->a(II[Ljava/lang/Object;I[Ljava/lang/Object;)V
|
|
|
|
const/16 v3, 0x19
|
|
|
|
const/4 v7, 0x4
|
|
|
|
:goto_5
|
|
invoke-virtual {v11, v3, v7}, Lorg/a/a/t;->aj(II)V
|
|
|
|
const/4 v3, 0x0
|
|
|
|
invoke-virtual {v15, v3}, Ljava/lang/StringBuilder;->setLength(I)V
|
|
|
|
const/16 v3, 0x28
|
|
|
|
invoke-virtual {v15, v3}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
aget-object v3, v5, v12
|
|
|
|
aget-object v21, v6, v12
|
|
|
|
move-object/from16 v24, v13
|
|
|
|
const/4 v7, 0x0
|
|
|
|
:goto_6
|
|
array-length v13, v3
|
|
|
|
if-ge v7, v13, :cond_6
|
|
|
|
const/4 v13, 0x3
|
|
|
|
move-object/from16 v30, v6
|
|
|
|
const/16 v6, 0x19
|
|
|
|
invoke-virtual {v11, v6, v13}, Lorg/a/a/t;->aj(II)V
|
|
|
|
const/16 v13, 0x10
|
|
|
|
invoke-virtual {v11, v13, v7}, Lorg/a/a/t;->ai(II)V
|
|
|
|
const/16 v13, 0x32
|
|
|
|
invoke-virtual {v11, v13}, Lorg/a/a/t;->dG(I)V
|
|
|
|
aget-object v13, v3, v7
|
|
|
|
invoke-static {v13}, Lorg/a/a/aa;->O(Ljava/lang/Class;)Lorg/a/a/aa;
|
|
|
|
move-result-object v13
|
|
|
|
invoke-virtual {v13}, Lorg/a/a/aa;->CZ()I
|
|
|
|
move-result v22
|
|
|
|
packed-switch v22, :pswitch_data_0
|
|
|
|
move-object/from16 v25, v3
|
|
|
|
move-object/from16 v31, v5
|
|
|
|
move-object/from16 v32, v9
|
|
|
|
goto/16 :goto_7
|
|
|
|
:pswitch_0
|
|
invoke-virtual {v13}, Lorg/a/a/aa;->CY()Ljava/lang/String;
|
|
|
|
move-result-object v6
|
|
|
|
move-object/from16 v25, v3
|
|
|
|
const/16 v3, 0xc0
|
|
|
|
invoke-virtual {v11, v3, v6}, Lorg/a/a/t;->i(ILjava/lang/String;)V
|
|
|
|
move-object/from16 v31, v5
|
|
|
|
move-object/from16 v32, v9
|
|
|
|
goto/16 :goto_7
|
|
|
|
:pswitch_1
|
|
move-object/from16 v25, v3
|
|
|
|
const/16 v3, 0xc0
|
|
|
|
invoke-virtual {v13}, Lorg/a/a/aa;->getDescriptor()Ljava/lang/String;
|
|
|
|
move-result-object v6
|
|
|
|
invoke-virtual {v11, v3, v6}, Lorg/a/a/t;->i(ILjava/lang/String;)V
|
|
|
|
move-object/from16 v31, v5
|
|
|
|
move-object/from16 v32, v9
|
|
|
|
goto/16 :goto_7
|
|
|
|
:pswitch_2
|
|
move-object/from16 v25, v3
|
|
|
|
const/16 v3, 0xc0
|
|
|
|
const-string v6, "java/lang/Double"
|
|
|
|
invoke-virtual {v11, v3, v6}, Lorg/a/a/t;->i(ILjava/lang/String;)V
|
|
|
|
const-string v3, "java/lang/Double"
|
|
|
|
const-string v6, "doubleValue"
|
|
|
|
move-object/from16 v31, v5
|
|
|
|
const-string v5, "()D"
|
|
|
|
move-object/from16 v32, v9
|
|
|
|
const/16 v9, 0xb6
|
|
|
|
invoke-virtual {v11, v9, v3, v6, v5}, Lorg/a/a/t;->b(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
goto/16 :goto_7
|
|
|
|
:pswitch_3
|
|
move-object/from16 v25, v3
|
|
|
|
move-object/from16 v31, v5
|
|
|
|
move-object/from16 v32, v9
|
|
|
|
const-string v3, "java/lang/Long"
|
|
|
|
const/16 v5, 0xc0
|
|
|
|
invoke-virtual {v11, v5, v3}, Lorg/a/a/t;->i(ILjava/lang/String;)V
|
|
|
|
const-string v3, "java/lang/Long"
|
|
|
|
const-string v5, "longValue"
|
|
|
|
const-string v6, "()J"
|
|
|
|
const/16 v9, 0xb6
|
|
|
|
invoke-virtual {v11, v9, v3, v5, v6}, Lorg/a/a/t;->b(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
goto/16 :goto_7
|
|
|
|
:pswitch_4
|
|
move-object/from16 v25, v3
|
|
|
|
move-object/from16 v31, v5
|
|
|
|
move-object/from16 v32, v9
|
|
|
|
const-string v3, "java/lang/Float"
|
|
|
|
const/16 v5, 0xc0
|
|
|
|
invoke-virtual {v11, v5, v3}, Lorg/a/a/t;->i(ILjava/lang/String;)V
|
|
|
|
const-string v3, "java/lang/Float"
|
|
|
|
const-string v5, "floatValue"
|
|
|
|
const-string v6, "()F"
|
|
|
|
const/16 v9, 0xb6
|
|
|
|
invoke-virtual {v11, v9, v3, v5, v6}, Lorg/a/a/t;->b(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
goto/16 :goto_7
|
|
|
|
:pswitch_5
|
|
move-object/from16 v25, v3
|
|
|
|
move-object/from16 v31, v5
|
|
|
|
move-object/from16 v32, v9
|
|
|
|
const-string v3, "java/lang/Integer"
|
|
|
|
const/16 v5, 0xc0
|
|
|
|
invoke-virtual {v11, v5, v3}, Lorg/a/a/t;->i(ILjava/lang/String;)V
|
|
|
|
const-string v3, "java/lang/Integer"
|
|
|
|
const-string v5, "intValue"
|
|
|
|
const-string v6, "()I"
|
|
|
|
const/16 v9, 0xb6
|
|
|
|
invoke-virtual {v11, v9, v3, v5, v6}, Lorg/a/a/t;->b(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
goto :goto_7
|
|
|
|
:pswitch_6
|
|
move-object/from16 v25, v3
|
|
|
|
move-object/from16 v31, v5
|
|
|
|
move-object/from16 v32, v9
|
|
|
|
const-string v3, "java/lang/Short"
|
|
|
|
const/16 v5, 0xc0
|
|
|
|
invoke-virtual {v11, v5, v3}, Lorg/a/a/t;->i(ILjava/lang/String;)V
|
|
|
|
const-string v3, "java/lang/Short"
|
|
|
|
const-string v5, "shortValue"
|
|
|
|
const-string v6, "()S"
|
|
|
|
const/16 v9, 0xb6
|
|
|
|
invoke-virtual {v11, v9, v3, v5, v6}, Lorg/a/a/t;->b(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
goto :goto_7
|
|
|
|
:pswitch_7
|
|
move-object/from16 v25, v3
|
|
|
|
move-object/from16 v31, v5
|
|
|
|
move-object/from16 v32, v9
|
|
|
|
const-string v3, "java/lang/Byte"
|
|
|
|
const/16 v5, 0xc0
|
|
|
|
invoke-virtual {v11, v5, v3}, Lorg/a/a/t;->i(ILjava/lang/String;)V
|
|
|
|
const-string v3, "java/lang/Byte"
|
|
|
|
const-string v5, "byteValue"
|
|
|
|
const-string v6, "()B"
|
|
|
|
const/16 v9, 0xb6
|
|
|
|
invoke-virtual {v11, v9, v3, v5, v6}, Lorg/a/a/t;->b(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
goto :goto_7
|
|
|
|
:pswitch_8
|
|
move-object/from16 v25, v3
|
|
|
|
move-object/from16 v31, v5
|
|
|
|
move-object/from16 v32, v9
|
|
|
|
const-string v3, "java/lang/Character"
|
|
|
|
const/16 v5, 0xc0
|
|
|
|
invoke-virtual {v11, v5, v3}, Lorg/a/a/t;->i(ILjava/lang/String;)V
|
|
|
|
const-string v3, "java/lang/Character"
|
|
|
|
const-string v5, "charValue"
|
|
|
|
const-string v6, "()C"
|
|
|
|
const/16 v9, 0xb6
|
|
|
|
invoke-virtual {v11, v9, v3, v5, v6}, Lorg/a/a/t;->b(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
goto :goto_7
|
|
|
|
:pswitch_9
|
|
move-object/from16 v25, v3
|
|
|
|
move-object/from16 v31, v5
|
|
|
|
move-object/from16 v32, v9
|
|
|
|
const-string v3, "java/lang/Boolean"
|
|
|
|
const/16 v5, 0xc0
|
|
|
|
invoke-virtual {v11, v5, v3}, Lorg/a/a/t;->i(ILjava/lang/String;)V
|
|
|
|
const-string v3, "java/lang/Boolean"
|
|
|
|
const-string v6, "booleanValue"
|
|
|
|
const-string v9, "()Z"
|
|
|
|
const/16 v5, 0xb6
|
|
|
|
invoke-virtual {v11, v5, v3, v6, v9}, Lorg/a/a/t;->b(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
:goto_7
|
|
invoke-virtual {v13}, Lorg/a/a/aa;->getDescriptor()Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-virtual {v15, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
add-int/lit8 v7, v7, 0x1
|
|
|
|
move-object/from16 v3, v25
|
|
|
|
move-object/from16 v6, v30
|
|
|
|
move-object/from16 v5, v31
|
|
|
|
move-object/from16 v9, v32
|
|
|
|
goto/16 :goto_6
|
|
|
|
:cond_6
|
|
move-object/from16 v31, v5
|
|
|
|
move-object/from16 v30, v6
|
|
|
|
move-object/from16 v32, v9
|
|
|
|
const/16 v3, 0x29
|
|
|
|
invoke-virtual {v15, v3}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
invoke-static/range {v21 .. v21}, Lorg/a/a/aa;->P(Ljava/lang/Class;)Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-virtual {v15, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
const/16 v13, 0xb8
|
|
|
|
if-eqz v1, :cond_7
|
|
|
|
const/16 v3, 0xb9
|
|
|
|
goto :goto_8
|
|
|
|
:cond_7
|
|
invoke-virtual {v0, v12}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
|
|
check-cast v3, Ljava/lang/reflect/Method;
|
|
|
|
invoke-virtual {v3}, Ljava/lang/reflect/Method;->getModifiers()I
|
|
|
|
move-result v3
|
|
|
|
invoke-static {v3}, Ljava/lang/reflect/Modifier;->isStatic(I)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_8
|
|
|
|
const/16 v3, 0xb8
|
|
|
|
goto :goto_8
|
|
|
|
:cond_8
|
|
const/16 v3, 0xb6
|
|
|
|
:goto_8
|
|
aget-object v5, v4, v12
|
|
|
|
invoke-virtual {v15}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v6
|
|
|
|
invoke-virtual {v11, v3, v8, v5, v6}, Lorg/a/a/t;->b(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
invoke-static/range {v21 .. v21}, Lorg/a/a/aa;->O(Ljava/lang/Class;)Lorg/a/a/aa;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-virtual {v3}, Lorg/a/a/aa;->CZ()I
|
|
|
|
move-result v3
|
|
|
|
packed-switch v3, :pswitch_data_1
|
|
|
|
const/4 v3, 0x1
|
|
|
|
goto :goto_9
|
|
|
|
:pswitch_a
|
|
const-string v3, "java/lang/Double"
|
|
|
|
const-string v5, "valueOf"
|
|
|
|
const-string v6, "(D)Ljava/lang/Double;"
|
|
|
|
invoke-virtual {v11, v13, v3, v5, v6}, Lorg/a/a/t;->b(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
const/4 v3, 0x1
|
|
|
|
goto :goto_9
|
|
|
|
:pswitch_b
|
|
const-string v3, "java/lang/Long"
|
|
|
|
const-string v5, "valueOf"
|
|
|
|
const-string v6, "(J)Ljava/lang/Long;"
|
|
|
|
invoke-virtual {v11, v13, v3, v5, v6}, Lorg/a/a/t;->b(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
const/4 v3, 0x1
|
|
|
|
goto :goto_9
|
|
|
|
:pswitch_c
|
|
const-string v3, "java/lang/Float"
|
|
|
|
const-string v5, "valueOf"
|
|
|
|
const-string v6, "(F)Ljava/lang/Float;"
|
|
|
|
invoke-virtual {v11, v13, v3, v5, v6}, Lorg/a/a/t;->b(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
const/4 v3, 0x1
|
|
|
|
goto :goto_9
|
|
|
|
:pswitch_d
|
|
const-string v3, "java/lang/Integer"
|
|
|
|
const-string v5, "valueOf"
|
|
|
|
const-string v6, "(I)Ljava/lang/Integer;"
|
|
|
|
invoke-virtual {v11, v13, v3, v5, v6}, Lorg/a/a/t;->b(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
const/4 v3, 0x1
|
|
|
|
goto :goto_9
|
|
|
|
:pswitch_e
|
|
const-string v3, "java/lang/Short"
|
|
|
|
const-string v5, "valueOf"
|
|
|
|
const-string v6, "(S)Ljava/lang/Short;"
|
|
|
|
invoke-virtual {v11, v13, v3, v5, v6}, Lorg/a/a/t;->b(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
const/4 v3, 0x1
|
|
|
|
goto :goto_9
|
|
|
|
:pswitch_f
|
|
const-string v3, "java/lang/Byte"
|
|
|
|
const-string v5, "valueOf"
|
|
|
|
const-string v6, "(B)Ljava/lang/Byte;"
|
|
|
|
invoke-virtual {v11, v13, v3, v5, v6}, Lorg/a/a/t;->b(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
const/4 v3, 0x1
|
|
|
|
goto :goto_9
|
|
|
|
:pswitch_10
|
|
const-string v3, "java/lang/Character"
|
|
|
|
const-string v5, "valueOf"
|
|
|
|
const-string v6, "(C)Ljava/lang/Character;"
|
|
|
|
invoke-virtual {v11, v13, v3, v5, v6}, Lorg/a/a/t;->b(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
const/4 v3, 0x1
|
|
|
|
goto :goto_9
|
|
|
|
:pswitch_11
|
|
const-string v3, "java/lang/Boolean"
|
|
|
|
const-string v5, "valueOf"
|
|
|
|
const-string v6, "(Z)Ljava/lang/Boolean;"
|
|
|
|
invoke-virtual {v11, v13, v3, v5, v6}, Lorg/a/a/t;->b(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
const/4 v3, 0x1
|
|
|
|
goto :goto_9
|
|
|
|
:pswitch_12
|
|
const/4 v3, 0x1
|
|
|
|
invoke-virtual {v11, v3}, Lorg/a/a/t;->dG(I)V
|
|
|
|
:goto_9
|
|
const/16 v5, 0xb0
|
|
|
|
invoke-virtual {v11, v5}, Lorg/a/a/t;->dG(I)V
|
|
|
|
add-int/lit8 v12, v12, 0x1
|
|
|
|
move-object/from16 v13, v24
|
|
|
|
move/from16 v3, v29
|
|
|
|
move-object/from16 v6, v30
|
|
|
|
move-object/from16 v5, v31
|
|
|
|
move-object/from16 v9, v32
|
|
|
|
const/4 v7, 0x0
|
|
|
|
goto/16 :goto_4
|
|
|
|
:cond_9
|
|
move-object/from16 v31, v5
|
|
|
|
move-object/from16 v30, v6
|
|
|
|
move-object/from16 v32, v9
|
|
|
|
invoke-virtual {v11, v14}, Lorg/a/a/t;->b(Lorg/a/a/r;)V
|
|
|
|
const/16 v24, 0x3
|
|
|
|
const/16 v25, 0x0
|
|
|
|
const/16 v26, 0x0
|
|
|
|
const/16 v27, 0x0
|
|
|
|
const/16 v28, 0x0
|
|
|
|
move-object/from16 v23, v11
|
|
|
|
invoke-virtual/range {v23 .. v28}, Lorg/a/a/t;->a(II[Ljava/lang/Object;I[Ljava/lang/Object;)V
|
|
|
|
goto :goto_a
|
|
|
|
:cond_a
|
|
move-object/from16 v31, v5
|
|
|
|
move-object/from16 v30, v6
|
|
|
|
move-object/from16 v32, v9
|
|
|
|
:goto_a
|
|
const-string v0, "java/lang/IllegalArgumentException"
|
|
|
|
const/16 v1, 0xbb
|
|
|
|
invoke-virtual {v11, v1, v0}, Lorg/a/a/t;->i(ILjava/lang/String;)V
|
|
|
|
const/16 v0, 0x59
|
|
|
|
invoke-virtual {v11, v0}, Lorg/a/a/t;->dG(I)V
|
|
|
|
const-string v3, "java/lang/StringBuilder"
|
|
|
|
invoke-virtual {v11, v1, v3}, Lorg/a/a/t;->i(ILjava/lang/String;)V
|
|
|
|
invoke-virtual {v11, v0}, Lorg/a/a/t;->dG(I)V
|
|
|
|
const-string v0, "Method not found: "
|
|
|
|
invoke-virtual {v11, v0}, Lorg/a/a/t;->bt(Ljava/lang/Object;)V
|
|
|
|
const-string v0, "java/lang/StringBuilder"
|
|
|
|
const-string v1, "<init>"
|
|
|
|
const-string v3, "(Ljava/lang/String;)V"
|
|
|
|
const/16 v5, 0xb7
|
|
|
|
invoke-virtual {v11, v5, v0, v1, v3}, Lorg/a/a/t;->b(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
const/16 v0, 0x15
|
|
|
|
const/4 v1, 0x2
|
|
|
|
invoke-virtual {v11, v0, v1}, Lorg/a/a/t;->aj(II)V
|
|
|
|
const-string v0, "java/lang/StringBuilder"
|
|
|
|
const-string v1, "append"
|
|
|
|
const-string v3, "(I)Ljava/lang/StringBuilder;"
|
|
|
|
const/16 v5, 0xb6
|
|
|
|
invoke-virtual {v11, v5, v0, v1, v3}, Lorg/a/a/t;->b(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
const-string v0, "java/lang/StringBuilder"
|
|
|
|
const-string v1, "toString"
|
|
|
|
const-string v3, "()Ljava/lang/String;"
|
|
|
|
invoke-virtual {v11, v5, v0, v1, v3}, Lorg/a/a/t;->b(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
const-string v0, "java/lang/IllegalArgumentException"
|
|
|
|
const-string v1, "<init>"
|
|
|
|
const-string v3, "(Ljava/lang/String;)V"
|
|
|
|
const/16 v5, 0xb7
|
|
|
|
invoke-virtual {v11, v5, v0, v1, v3}, Lorg/a/a/t;->b(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
const/16 v0, 0xbf
|
|
|
|
invoke-virtual {v11, v0}, Lorg/a/a/t;->dG(I)V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
invoke-virtual {v11, v0, v0}, Lorg/a/a/t;->al(II)V
|
|
|
|
invoke-virtual {v10}, Lorg/a/a/h;->toByteArray()[B
|
|
|
|
move-result-object v0
|
|
|
|
move-object/from16 v9, v32
|
|
|
|
invoke-virtual {v2, v9, v0}, Lcom/esotericsoftware/b/a;->a(Ljava/lang/String;[B)Ljava/lang/Class;
|
|
|
|
move-result-object v0
|
|
|
|
:goto_b
|
|
monitor-exit v2
|
|
:try_end_2
|
|
.catchall {:try_start_2 .. :try_end_2} :catchall_0
|
|
|
|
:goto_c
|
|
:try_start_3
|
|
invoke-virtual {v0}, Ljava/lang/Class;->newInstance()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Lcom/esotericsoftware/b/d;
|
|
|
|
iput-object v4, v0, Lcom/esotericsoftware/b/d;->Bu:[Ljava/lang/String;
|
|
|
|
move-object/from16 v1, v31
|
|
|
|
iput-object v1, v0, Lcom/esotericsoftware/b/d;->Bv:[[Ljava/lang/Class;
|
|
|
|
move-object/from16 v1, v30
|
|
|
|
iput-object v1, v0, Lcom/esotericsoftware/b/d;->Bw:[Ljava/lang/Class;
|
|
:try_end_3
|
|
.catch Ljava/lang/Throwable; {:try_start_3 .. :try_end_3} :catch_2
|
|
|
|
return-object v0
|
|
|
|
:catch_2
|
|
move-exception v0
|
|
|
|
new-instance v1, Ljava/lang/RuntimeException;
|
|
|
|
invoke-static {v9}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
const-string v3, "Error constructing method access class: "
|
|
|
|
invoke-virtual {v3, v2}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-direct {v1, v2, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
throw v1
|
|
|
|
:goto_d
|
|
:try_start_4
|
|
monitor-exit v2
|
|
:try_end_4
|
|
.catchall {:try_start_4 .. :try_end_4} :catchall_0
|
|
|
|
throw v0
|
|
|
|
return-void
|
|
|
|
nop
|
|
|
|
:pswitch_data_0
|
|
.packed-switch 0x1
|
|
:pswitch_9
|
|
:pswitch_8
|
|
:pswitch_7
|
|
:pswitch_6
|
|
:pswitch_5
|
|
:pswitch_4
|
|
:pswitch_3
|
|
:pswitch_2
|
|
:pswitch_1
|
|
:pswitch_0
|
|
.end packed-switch
|
|
|
|
:pswitch_data_1
|
|
.packed-switch 0x0
|
|
:pswitch_12
|
|
:pswitch_11
|
|
:pswitch_10
|
|
:pswitch_f
|
|
:pswitch_e
|
|
:pswitch_d
|
|
:pswitch_c
|
|
:pswitch_b
|
|
:pswitch_a
|
|
.end packed-switch
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final varargs a(Ljava/lang/String;[Ljava/lang/Class;)I
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lcom/esotericsoftware/b/d;->Bu:[Ljava/lang/String;
|
|
|
|
array-length v0, v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
if-ge v1, v0, :cond_1
|
|
|
|
iget-object v2, p0, Lcom/esotericsoftware/b/d;->Bu:[Ljava/lang/String;
|
|
|
|
aget-object v2, v2, v1
|
|
|
|
invoke-virtual {v2, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
iget-object v2, p0, Lcom/esotericsoftware/b/d;->Bv:[[Ljava/lang/Class;
|
|
|
|
aget-object v2, v2, v1
|
|
|
|
invoke-static {p2, v2}, Ljava/util/Arrays;->equals([Ljava/lang/Object;[Ljava/lang/Object;)Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
return v1
|
|
|
|
:cond_0
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
new-instance v0, Ljava/lang/IllegalArgumentException;
|
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
const-string v2, "Unable to find non-private method: "
|
|
|
|
invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
const-string p1, " "
|
|
|
|
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-static {p2}, Ljava/util/Arrays;->toString([Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-direct {v0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public varargs abstract eE()Ljava/lang/Object;
|
|
.end method
|