apkfuckery/com.discord/smali_classes2/a0/m$b.smali

116 lines
2.7 KiB
Smali
Raw Normal View History

2019-12-21 01:41:59 +00:00
.class public La0/m$b;
.super La0/m;
2019-07-24 11:27:29 +00:00
.source "Platform.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
2019-12-21 01:41:59 +00:00
value = La0/m;
2019-07-24 11:27:29 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
2019-12-06 03:29:40 +00:00
accessFlags = 0x9
2019-07-24 11:27:29 +00:00
name = "b"
.end annotation
# direct methods
2019-12-06 03:29:40 +00:00
.method public constructor <init>()V
2019-07-24 11:27:29 +00:00
.locals 0
2019-12-21 01:41:59 +00:00
invoke-direct {p0}, La0/m;-><init>()V
2019-07-24 11:27:29 +00:00
return-void
.end method
# virtual methods
2019-12-06 03:29:40 +00:00
.method public varargs a(Ljava/lang/reflect/Method;Ljava/lang/Class;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
.locals 6
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/reflect/Method;",
"Ljava/lang/Class<",
"*>;",
"Ljava/lang/Object;",
"[",
"Ljava/lang/Object;",
")",
"Ljava/lang/Object;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Throwable;
}
.end annotation
const-class v0, Ljava/lang/invoke/MethodHandles$Lookup;
const/4 v1, 0x2
new-array v2, v1, [Ljava/lang/Class;
const-class v3, Ljava/lang/Class;
const/4 v4, 0x0
aput-object v3, v2, v4
sget-object v3, Ljava/lang/Integer;->TYPE:Ljava/lang/Class;
const/4 v5, 0x1
aput-object v3, v2, v5
invoke-virtual {v0, v2}, Ljava/lang/Class;->getDeclaredConstructor([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
move-result-object v0
invoke-virtual {v0, v5}, Ljava/lang/reflect/Constructor;->setAccessible(Z)V
new-array v1, v1, [Ljava/lang/Object;
aput-object p2, v1, v4
const/4 v2, -0x1
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v2
aput-object v2, v1, v5
invoke-virtual {v0, v1}, Ljava/lang/reflect/Constructor;->newInstance([Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/lang/invoke/MethodHandles$Lookup;
invoke-virtual {v0, p1, p2}, Ljava/lang/invoke/MethodHandles$Lookup;->unreflectSpecial(Ljava/lang/reflect/Method;Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
move-result-object p1
invoke-virtual {p1, p3}, Ljava/lang/invoke/MethodHandle;->bindTo(Ljava/lang/Object;)Ljava/lang/invoke/MethodHandle;
move-result-object p1
invoke-virtual {p1, p4}, Ljava/lang/invoke/MethodHandle;->invokeWithArguments([Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
return-object p1
.end method
2019-12-06 03:29:40 +00:00
.method public a(Ljava/lang/reflect/Method;)Z
2019-07-24 11:27:29 +00:00
.locals 0
invoke-virtual {p1}, Ljava/lang/reflect/Method;->isDefault()Z
move-result p1
return p1
.end method