apkfuckery/com.discord/smali_classes2/g0/c0.smali

138 lines
2.8 KiB
Smali
Raw Normal View History

2020-11-09 19:03:49 +00:00
.class public Lg0/c0;
.super Ljava/lang/Object;
.source "Retrofit.java"
# interfaces
.implements Ljava/lang/reflect/InvocationHandler;
2020-07-08 16:44:49 +00:00
# instance fields
2020-11-09 19:03:49 +00:00
.field public final a:Lg0/y;
.field public final b:[Ljava/lang/Object;
.field public final synthetic c:Ljava/lang/Class;
2020-07-08 16:44:49 +00:00
2020-11-09 19:03:49 +00:00
.field public final synthetic d:Lg0/d0;
2020-07-08 16:44:49 +00:00
# direct methods
2020-11-09 19:03:49 +00:00
.method public constructor <init>(Lg0/d0;Ljava/lang/Class;)V
2020-07-08 16:44:49 +00:00
.locals 0
2020-11-09 19:03:49 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"()V"
}
.end annotation
iput-object p1, p0, Lg0/c0;->d:Lg0/d0;
iput-object p2, p0, Lg0/c0;->c:Ljava/lang/Class;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2020-07-08 16:44:49 +00:00
2020-11-09 19:03:49 +00:00
sget-object p1, Lg0/y;->c:Lg0/y;
2020-07-08 16:44:49 +00:00
2020-11-09 19:03:49 +00:00
iput-object p1, p0, Lg0/c0;->a:Lg0/y;
2020-07-08 16:44:49 +00:00
2020-11-09 19:03:49 +00:00
const/4 p1, 0x0
new-array p1, p1, [Ljava/lang/Object;
iput-object p1, p0, Lg0/c0;->b:[Ljava/lang/Object;
2020-07-08 16:44:49 +00:00
return-void
.end method
# virtual methods
2020-11-09 19:03:49 +00:00
.method public invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;
.locals 3
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Throwable;
}
.end annotation
2020-07-08 16:44:49 +00:00
2020-11-09 19:03:49 +00:00
invoke-virtual {p2}, Ljava/lang/reflect/Method;->getDeclaringClass()Ljava/lang/Class;
2020-07-08 16:44:49 +00:00
2020-11-09 19:03:49 +00:00
move-result-object v0
2020-07-08 16:44:49 +00:00
2020-11-09 19:03:49 +00:00
const-class v1, Ljava/lang/Object;
2020-07-08 16:44:49 +00:00
2020-11-09 19:03:49 +00:00
if-ne v0, v1, :cond_0
2020-07-08 16:44:49 +00:00
2020-11-09 19:03:49 +00:00
invoke-virtual {p2, p0, p3}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
2020-07-08 16:44:49 +00:00
2020-11-09 19:03:49 +00:00
move-result-object p1
2020-07-08 16:44:49 +00:00
2020-11-09 19:03:49 +00:00
return-object p1
2020-07-08 16:44:49 +00:00
2020-11-09 19:03:49 +00:00
:cond_0
if-eqz p3, :cond_1
2020-09-08 08:16:32 +00:00
2020-11-09 19:03:49 +00:00
goto :goto_0
2020-09-08 08:16:32 +00:00
2020-11-09 19:03:49 +00:00
:cond_1
iget-object p3, p0, Lg0/c0;->b:[Ljava/lang/Object;
2020-09-09 19:21:20 +00:00
2020-11-09 19:03:49 +00:00
:goto_0
iget-object v0, p0, Lg0/c0;->a:Lg0/y;
2020-09-09 19:21:20 +00:00
2020-11-09 19:03:49 +00:00
iget-boolean v0, v0, Lg0/y;->a:Z
2020-09-16 23:45:23 +00:00
2020-11-09 19:03:49 +00:00
if-eqz v0, :cond_2
2020-09-16 23:45:23 +00:00
2020-11-09 19:03:49 +00:00
invoke-virtual {p2}, Ljava/lang/reflect/Method;->isDefault()Z
2020-09-16 23:45:23 +00:00
2020-11-09 19:03:49 +00:00
move-result v0
2020-09-16 23:45:23 +00:00
2020-11-09 19:03:49 +00:00
if-eqz v0, :cond_2
2020-09-16 23:45:23 +00:00
2020-11-09 19:03:49 +00:00
const/4 v0, 0x1
2020-09-16 23:45:23 +00:00
2020-11-09 19:03:49 +00:00
goto :goto_1
2020-09-09 19:21:20 +00:00
2020-11-09 19:03:49 +00:00
:cond_2
const/4 v0, 0x0
2020-09-09 19:21:20 +00:00
2020-11-09 19:03:49 +00:00
:goto_1
if-eqz v0, :cond_3
2020-09-09 19:21:20 +00:00
2020-11-09 19:03:49 +00:00
iget-object v0, p0, Lg0/c0;->a:Lg0/y;
2020-09-09 19:21:20 +00:00
2020-11-09 19:03:49 +00:00
iget-object v1, p0, Lg0/c0;->c:Ljava/lang/Class;
2020-09-16 23:45:23 +00:00
2020-11-09 19:03:49 +00:00
invoke-virtual {v0, p2, v1, p1, p3}, Lg0/y;->b(Ljava/lang/reflect/Method;Ljava/lang/Class;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
2020-09-16 23:45:23 +00:00
2020-11-09 19:03:49 +00:00
move-result-object p1
goto :goto_2
:cond_3
iget-object p1, p0, Lg0/c0;->d:Lg0/d0;
invoke-virtual {p1, p2}, Lg0/d0;->b(Ljava/lang/reflect/Method;)Lg0/e0;
move-result-object p1
check-cast p1, Lg0/j;
new-instance p2, Lg0/t;
iget-object v0, p1, Lg0/j;->a:Lg0/a0;
iget-object v1, p1, Lg0/j;->b:Lc0/f$a;
2020-09-16 23:45:23 +00:00
2020-11-09 19:03:49 +00:00
iget-object v2, p1, Lg0/j;->c:Lg0/h;
2020-09-16 23:45:23 +00:00
2020-11-09 19:03:49 +00:00
invoke-direct {p2, v0, p3, v1, v2}, Lg0/t;-><init>(Lg0/a0;[Ljava/lang/Object;Lc0/f$a;Lg0/h;)V
2020-09-16 23:45:23 +00:00
2020-11-09 19:03:49 +00:00
invoke-virtual {p1, p2, p3}, Lg0/j;->b(Lg0/d;[Ljava/lang/Object;)Ljava/lang/Object;
2020-09-16 23:45:23 +00:00
2020-11-09 19:03:49 +00:00
move-result-object p1
2020-09-16 23:45:23 +00:00
2020-11-09 19:03:49 +00:00
:goto_2
return-object p1
2020-07-08 16:44:49 +00:00
.end method