apkfuckery/com.discord/smali_classes2/f0/p.smali

96 lines
2.1 KiB
Smali
Raw Normal View History

2020-05-07 23:11:04 +00:00
.class public Lf0/p;
2020-03-27 22:23:51 +00:00
.super Ljava/lang/Object;
.source "Retrofit.java"
# interfaces
.implements Ljava/lang/reflect/InvocationHandler;
# instance fields
2020-05-07 23:11:04 +00:00
.field public final a:Lf0/m;
2020-03-27 22:23:51 +00:00
.field public final synthetic b:Ljava/lang/Class;
2020-05-07 23:11:04 +00:00
.field public final synthetic c:Lf0/q;
2020-03-27 22:23:51 +00:00
# direct methods
2020-05-07 23:11:04 +00:00
.method public constructor <init>(Lf0/q;Ljava/lang/Class;)V
2020-03-27 22:23:51 +00:00
.locals 0
2020-05-07 23:11:04 +00:00
iput-object p1, p0, Lf0/p;->c:Lf0/q;
2020-03-27 22:23:51 +00:00
2020-05-07 23:11:04 +00:00
iput-object p2, p0, Lf0/p;->b:Ljava/lang/Class;
2020-03-27 22:23:51 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2020-05-07 23:11:04 +00:00
sget-object p1, Lf0/m;->a:Lf0/m;
2020-03-27 22:23:51 +00:00
2020-05-07 23:11:04 +00:00
iput-object p1, p0, Lf0/p;->a:Lf0/m;
2020-03-27 22:23:51 +00:00
return-void
.end method
# virtual methods
.method public invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;
.locals 2
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Throwable;
}
.end annotation
invoke-virtual {p2}, Ljava/lang/reflect/Method;->getDeclaringClass()Ljava/lang/Class;
move-result-object v0
const-class v1, Ljava/lang/Object;
if-ne v0, v1, :cond_0
invoke-virtual {p2, p0, p3}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
return-object p1
:cond_0
2020-05-07 23:11:04 +00:00
iget-object v0, p0, Lf0/p;->a:Lf0/m;
2020-03-27 22:23:51 +00:00
2020-05-07 23:11:04 +00:00
invoke-virtual {v0, p2}, Lf0/m;->a(Ljava/lang/reflect/Method;)Z
2020-03-27 22:23:51 +00:00
move-result v0
if-eqz v0, :cond_1
2020-05-07 23:11:04 +00:00
iget-object v0, p0, Lf0/p;->a:Lf0/m;
2020-03-27 22:23:51 +00:00
2020-05-07 23:11:04 +00:00
iget-object v1, p0, Lf0/p;->b:Ljava/lang/Class;
2020-03-27 22:23:51 +00:00
2020-05-07 23:11:04 +00:00
invoke-virtual {v0, p2, v1, p1, p3}, Lf0/m;->a(Ljava/lang/reflect/Method;Ljava/lang/Class;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
2020-03-27 22:23:51 +00:00
move-result-object p1
return-object p1
:cond_1
2020-05-07 23:11:04 +00:00
iget-object p1, p0, Lf0/p;->c:Lf0/q;
2020-03-27 22:23:51 +00:00
2020-05-07 23:11:04 +00:00
invoke-virtual {p1, p2}, Lf0/q;->a(Ljava/lang/reflect/Method;)Lf0/r;
2020-03-27 22:23:51 +00:00
move-result-object p1
2020-05-07 23:11:04 +00:00
new-instance p2, Lf0/i;
2020-03-27 22:23:51 +00:00
2020-05-07 23:11:04 +00:00
invoke-direct {p2, p1, p3}, Lf0/i;-><init>(Lf0/r;[Ljava/lang/Object;)V
2020-03-27 22:23:51 +00:00
2020-05-07 23:11:04 +00:00
iget-object p1, p1, Lf0/r;->b:Lf0/c;
2020-03-27 22:23:51 +00:00
2020-05-07 23:11:04 +00:00
invoke-interface {p1, p2}, Lf0/c;->a(Lf0/b;)Ljava/lang/Object;
2020-03-27 22:23:51 +00:00
move-result-object p1
return-object p1
.end method