Add Discord APKTool decompilation (Smali source for modding)

- Imported from https://github.com/supermegamestre/Project-Real-Resurrection-3
- APKTool decompilation (Smali bytecode) for modding and rebuilding APK
- Supports both 32-bit (armeabi-v7a) and 64-bit (arm64-v8a) architectures
- Includes full Smali source, resources, and native libraries
- Ready to rebuild APK after modifications with apktool b command
- Added comprehensive README-apktool.md with modding guide

This branch complements the JADX branches:
- Use JADX (main/discord-community) to UNDERSTAND code (readable Java)
- Use APKTool (this branch) to MODIFY and REBUILD APK (editable Smali)

Total: 44,417 files, 538.51 MB Smali source code
This commit is contained in:
2026-02-18 16:13:44 -08:00
parent c080f0d97f
commit f3960ee359
44288 changed files with 10998761 additions and 0 deletions

View File

@@ -0,0 +1,173 @@
.class public Lcom/unity3d/services/store/gpbl/proxies/BillingClientStateListenerProxy;
.super Lcom/unity3d/services/core/reflection/GenericListenerProxy;
.source "SourceFile"
# static fields
.field private static onBillingServiceDisconnectedMethodName:Ljava/lang/String; = "onBillingServiceDisconnected"
.field private static onBillingSetupFinishedMethodName:Ljava/lang/String; = "onBillingSetupFinished"
# instance fields
.field private billingClientStateListener:Lcom/unity3d/services/store/gpbl/listeners/BillingClientStateListener;
# direct methods
.method static constructor <clinit>()V
.locals 0
return-void
.end method
.method public constructor <init>(Lcom/unity3d/services/store/gpbl/listeners/BillingClientStateListener;)V
.locals 0
.line 15
invoke-direct {p0}, Lcom/unity3d/services/core/reflection/GenericListenerProxy;-><init>()V
iput-object p1, p0, Lcom/unity3d/services/store/gpbl/proxies/BillingClientStateListenerProxy;->billingClientStateListener:Lcom/unity3d/services/store/gpbl/listeners/BillingClientStateListener;
return-void
.end method
.method public static getProxyListenerClass()Ljava/lang/Class;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/lang/Class<",
"*>;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/ClassNotFoundException;
}
.end annotation
const-class v0, Lcom/android/billingclient/api/BillingClientStateListener;
return-object v0
.end method
.method private onBillingServiceDisconnected()V
.locals 1
iget-object v0, p0, Lcom/unity3d/services/store/gpbl/proxies/BillingClientStateListenerProxy;->billingClientStateListener:Lcom/unity3d/services/store/gpbl/listeners/BillingClientStateListener;
if-eqz v0, :cond_0
.line 49
invoke-interface {v0}, Lcom/unity3d/services/store/gpbl/listeners/BillingClientStateListener;->onBillingServiceDisconnected()V
:cond_0
return-void
.end method
.method private onBillingSetupFinished(Ljava/lang/Object;)V
.locals 2
iget-object v0, p0, Lcom/unity3d/services/store/gpbl/proxies/BillingClientStateListenerProxy;->billingClientStateListener:Lcom/unity3d/services/store/gpbl/listeners/BillingClientStateListener;
if-eqz v0, :cond_0
.line 43
new-instance v1, Lcom/unity3d/services/store/gpbl/bridges/BillingResultBridge;
invoke-direct {v1, p1}, Lcom/unity3d/services/store/gpbl/bridges/BillingResultBridge;-><init>(Ljava/lang/Object;)V
invoke-interface {v0, v1}, Lcom/unity3d/services/store/gpbl/listeners/BillingClientStateListener;->onBillingSetupFinished(Lcom/unity3d/services/store/gpbl/bridges/BillingResultBridge;)V
:cond_0
return-void
.end method
# virtual methods
.method public getProxyClass()Ljava/lang/Class;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/lang/Class<",
"*>;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/ClassNotFoundException;
}
.end annotation
.line 21
invoke-static {}, Lcom/unity3d/services/store/gpbl/proxies/BillingClientStateListenerProxy;->getProxyListenerClass()Ljava/lang/Class;
move-result-object v0
return-object v0
.end method
.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
.line 31
invoke-virtual {p2}, Ljava/lang/reflect/Method;->getName()Ljava/lang/String;
move-result-object v0
sget-object v1, Lcom/unity3d/services/store/gpbl/proxies/BillingClientStateListenerProxy;->onBillingSetupFinishedMethodName:Ljava/lang/String;
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
const/4 p1, 0x0
.line 32
aget-object p1, p3, p1
invoke-direct {p0, p1}, Lcom/unity3d/services/store/gpbl/proxies/BillingClientStateListenerProxy;->onBillingSetupFinished(Ljava/lang/Object;)V
goto :goto_0
.line 33
:cond_0
invoke-virtual {p2}, Ljava/lang/reflect/Method;->getName()Ljava/lang/String;
move-result-object v0
sget-object v1, Lcom/unity3d/services/store/gpbl/proxies/BillingClientStateListenerProxy;->onBillingServiceDisconnectedMethodName:Ljava/lang/String;
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_1
.line 34
invoke-direct {p0}, Lcom/unity3d/services/store/gpbl/proxies/BillingClientStateListenerProxy;->onBillingServiceDisconnected()V
:goto_0
const/4 p1, 0x0
goto :goto_1
.line 36
:cond_1
invoke-super {p0, p1, p2, p3}, Lcom/unity3d/services/core/reflection/GenericListenerProxy;->invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
:goto_1
return-object p1
.end method

View File

@@ -0,0 +1,190 @@
.class public Lcom/unity3d/services/store/gpbl/proxies/PurchaseHistoryResponseListenerProxy;
.super Lcom/unity3d/services/core/reflection/GenericListenerProxy;
.source "SourceFile"
# static fields
.field private static final onPurchaseHistoryResponseMethodName:Ljava/lang/String; = "onPurchaseHistoryResponse"
# instance fields
.field private _maxPurchases:I
.field private purchaseHistoryResponseListener:Lcom/unity3d/services/store/gpbl/listeners/PurchaseHistoryResponseListener;
# direct methods
.method public constructor <init>(Lcom/unity3d/services/store/gpbl/listeners/PurchaseHistoryResponseListener;I)V
.locals 0
.line 17
invoke-direct {p0}, Lcom/unity3d/services/core/reflection/GenericListenerProxy;-><init>()V
iput-object p1, p0, Lcom/unity3d/services/store/gpbl/proxies/PurchaseHistoryResponseListenerProxy;->purchaseHistoryResponseListener:Lcom/unity3d/services/store/gpbl/listeners/PurchaseHistoryResponseListener;
iput p2, p0, Lcom/unity3d/services/store/gpbl/proxies/PurchaseHistoryResponseListenerProxy;->_maxPurchases:I
return-void
.end method
.method public static getProxyListenerClass()Ljava/lang/Class;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/lang/Class<",
"*>;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/ClassNotFoundException;
}
.end annotation
const-class v0, Lcom/android/billingclient/api/PurchaseHistoryResponseListener;
return-object v0
.end method
# virtual methods
.method public getProxyClass()Ljava/lang/Class;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/lang/Class<",
"*>;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/ClassNotFoundException;
}
.end annotation
.line 24
invoke-static {}, Lcom/unity3d/services/store/gpbl/proxies/PurchaseHistoryResponseListenerProxy;->getProxyListenerClass()Ljava/lang/Class;
move-result-object v0
return-object v0
.end method
.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
.line 33
invoke-virtual {p2}, Ljava/lang/reflect/Method;->getName()Ljava/lang/String;
move-result-object v0
const-string v1, "onPurchaseHistoryResponse"
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
const/4 p1, 0x0
.line 34
aget-object p1, p3, p1
const/4 p2, 0x1
aget-object p2, p3, p2
check-cast p2, Ljava/util/List;
invoke-virtual {p0, p1, p2}, Lcom/unity3d/services/store/gpbl/proxies/PurchaseHistoryResponseListenerProxy;->onPurchaseHistoryResponse(Ljava/lang/Object;Ljava/util/List;)V
const/4 p1, 0x0
goto :goto_0
.line 36
:cond_0
invoke-super {p0, p1, p2, p3}, Lcom/unity3d/services/core/reflection/GenericListenerProxy;->invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
:goto_0
return-object p1
.end method
.method public onPurchaseHistoryResponse(Ljava/lang/Object;Ljava/util/List;)V
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Object;",
"Ljava/util/List<",
"Ljava/lang/Object;",
">;)V"
}
.end annotation
if-eqz p2, :cond_0
.line 45
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
const/4 v1, 0x0
:goto_0
iget v2, p0, Lcom/unity3d/services/store/gpbl/proxies/PurchaseHistoryResponseListenerProxy;->_maxPurchases:I
if-ge v1, v2, :cond_1
.line 46
invoke-interface {p2}, Ljava/util/List;->size()I
move-result v2
if-ge v1, v2, :cond_1
.line 47
new-instance v2, Lcom/unity3d/services/store/gpbl/bridges/PurchaseHistoryRecordBridge;
invoke-interface {p2, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v3
invoke-direct {v2, v3}, Lcom/unity3d/services/store/gpbl/bridges/PurchaseHistoryRecordBridge;-><init>(Ljava/lang/Object;)V
invoke-interface {v0, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z
add-int/lit8 v1, v1, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:cond_1
iget-object p2, p0, Lcom/unity3d/services/store/gpbl/proxies/PurchaseHistoryResponseListenerProxy;->purchaseHistoryResponseListener:Lcom/unity3d/services/store/gpbl/listeners/PurchaseHistoryResponseListener;
if-eqz p2, :cond_2
.line 51
new-instance v1, Lcom/unity3d/services/store/gpbl/bridges/BillingResultBridge;
invoke-direct {v1, p1}, Lcom/unity3d/services/store/gpbl/bridges/BillingResultBridge;-><init>(Ljava/lang/Object;)V
invoke-interface {p2, v1, v0}, Lcom/unity3d/services/store/gpbl/listeners/PurchaseHistoryResponseListener;->onPurchaseHistoryUpdated(Lcom/unity3d/services/store/gpbl/bridges/BillingResultBridge;Ljava/util/List;)V
:cond_2
return-void
.end method

View File

@@ -0,0 +1,182 @@
.class public Lcom/unity3d/services/store/gpbl/proxies/PurchaseUpdatedListenerProxy;
.super Lcom/unity3d/services/core/reflection/GenericListenerProxy;
.source "SourceFile"
# static fields
.field private static final onPurchasesUpdatedMethodName:Ljava/lang/String; = "onPurchasesUpdated"
# instance fields
.field private purchaseUpdatedResponseListener:Lcom/unity3d/services/store/gpbl/listeners/PurchaseUpdatedResponseListener;
# direct methods
.method public constructor <init>(Lcom/unity3d/services/store/gpbl/listeners/PurchaseUpdatedResponseListener;)V
.locals 0
.line 15
invoke-direct {p0}, Lcom/unity3d/services/core/reflection/GenericListenerProxy;-><init>()V
iput-object p1, p0, Lcom/unity3d/services/store/gpbl/proxies/PurchaseUpdatedListenerProxy;->purchaseUpdatedResponseListener:Lcom/unity3d/services/store/gpbl/listeners/PurchaseUpdatedResponseListener;
return-void
.end method
.method public static getProxyListenerClass()Ljava/lang/Class;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/lang/Class<",
"*>;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/ClassNotFoundException;
}
.end annotation
const-class v0, Lcom/android/billingclient/api/PurchasesUpdatedListener;
return-object v0
.end method
# virtual methods
.method public getProxyClass()Ljava/lang/Class;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/lang/Class<",
"*>;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/ClassNotFoundException;
}
.end annotation
.line 21
invoke-static {}, Lcom/unity3d/services/store/gpbl/proxies/PurchaseUpdatedListenerProxy;->getProxyListenerClass()Ljava/lang/Class;
move-result-object v0
return-object v0
.end method
.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
.line 31
invoke-virtual {p2}, Ljava/lang/reflect/Method;->getName()Ljava/lang/String;
move-result-object v0
const-string v1, "onPurchasesUpdated"
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
const/4 p1, 0x0
.line 32
aget-object p1, p3, p1
const/4 p2, 0x1
aget-object p2, p3, p2
check-cast p2, Ljava/util/List;
invoke-virtual {p0, p1, p2}, Lcom/unity3d/services/store/gpbl/proxies/PurchaseUpdatedListenerProxy;->onPurchasesUpdated(Ljava/lang/Object;Ljava/util/List;)V
const/4 p1, 0x0
goto :goto_0
.line 34
:cond_0
invoke-super {p0, p1, p2, p3}, Lcom/unity3d/services/core/reflection/GenericListenerProxy;->invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
:goto_0
return-object p1
.end method
.method public onPurchasesUpdated(Ljava/lang/Object;Ljava/util/List;)V
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Object;",
"Ljava/util/List<",
"Ljava/lang/Object;",
">;)V"
}
.end annotation
if-eqz p2, :cond_0
.line 42
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
.line 43
invoke-interface {p2}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object p2
:goto_0
invoke-interface {p2}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_1
invoke-interface {p2}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
.line 44
new-instance v2, Lcom/unity3d/services/store/gpbl/bridges/PurchaseBridge;
invoke-direct {v2, v1}, Lcom/unity3d/services/store/gpbl/bridges/PurchaseBridge;-><init>(Ljava/lang/Object;)V
invoke-interface {v0, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z
goto :goto_0
:cond_0
const/4 v0, 0x0
:cond_1
iget-object p2, p0, Lcom/unity3d/services/store/gpbl/proxies/PurchaseUpdatedListenerProxy;->purchaseUpdatedResponseListener:Lcom/unity3d/services/store/gpbl/listeners/PurchaseUpdatedResponseListener;
if-eqz p2, :cond_2
.line 48
new-instance v1, Lcom/unity3d/services/store/gpbl/bridges/BillingResultBridge;
invoke-direct {v1, p1}, Lcom/unity3d/services/store/gpbl/bridges/BillingResultBridge;-><init>(Ljava/lang/Object;)V
invoke-interface {p2, v1, v0}, Lcom/unity3d/services/store/gpbl/listeners/PurchaseUpdatedResponseListener;->onPurchaseUpdated(Lcom/unity3d/services/store/gpbl/bridges/BillingResultBridge;Ljava/util/List;)V
:cond_2
return-void
.end method

View File

@@ -0,0 +1,191 @@
.class public Lcom/unity3d/services/store/gpbl/proxies/PurchasesResponseListenerProxy;
.super Lcom/unity3d/services/core/reflection/GenericListenerProxy;
.source "SourceFile"
# static fields
.field private static final onQueryPurchasesResponseMethodName:Ljava/lang/String; = "onQueryPurchasesResponse"
# instance fields
.field private purchasesResponseListener:Lcom/unity3d/services/store/gpbl/listeners/PurchasesResponseListener;
# direct methods
.method public constructor <init>(Lcom/unity3d/services/store/gpbl/listeners/PurchasesResponseListener;)V
.locals 0
.line 15
invoke-direct {p0}, Lcom/unity3d/services/core/reflection/GenericListenerProxy;-><init>()V
iput-object p1, p0, Lcom/unity3d/services/store/gpbl/proxies/PurchasesResponseListenerProxy;->purchasesResponseListener:Lcom/unity3d/services/store/gpbl/listeners/PurchasesResponseListener;
return-void
.end method
.method public static getProxyListenerClass()Ljava/lang/Class;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/lang/Class<",
"*>;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/ClassNotFoundException;
}
.end annotation
const-class v0, Lcom/android/billingclient/api/PurchasesResponseListener;
return-object v0
.end method
# virtual methods
.method public getProxyClass()Ljava/lang/Class;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/lang/Class<",
"*>;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/ClassNotFoundException;
}
.end annotation
.line 21
invoke-static {}, Lcom/unity3d/services/store/gpbl/proxies/PurchasesResponseListenerProxy;->getProxyListenerClass()Ljava/lang/Class;
move-result-object v0
return-object v0
.end method
.method public getPurchasesResponseListener()Lcom/unity3d/services/store/gpbl/listeners/PurchasesResponseListener;
.locals 1
iget-object v0, p0, Lcom/unity3d/services/store/gpbl/proxies/PurchasesResponseListenerProxy;->purchasesResponseListener:Lcom/unity3d/services/store/gpbl/listeners/PurchasesResponseListener;
return-object v0
.end method
.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
.line 36
invoke-virtual {p2}, Ljava/lang/reflect/Method;->getName()Ljava/lang/String;
move-result-object v0
const-string v1, "onQueryPurchasesResponse"
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
const/4 p1, 0x0
.line 37
aget-object p1, p3, p1
const/4 p2, 0x1
aget-object p2, p3, p2
check-cast p2, Ljava/util/List;
invoke-virtual {p0, p1, p2}, Lcom/unity3d/services/store/gpbl/proxies/PurchasesResponseListenerProxy;->onQueryPurchasesResponse(Ljava/lang/Object;Ljava/util/List;)V
const/4 p1, 0x0
goto :goto_0
.line 39
:cond_0
invoke-super {p0, p1, p2, p3}, Lcom/unity3d/services/core/reflection/GenericListenerProxy;->invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
:goto_0
return-object p1
.end method
.method public onQueryPurchasesResponse(Ljava/lang/Object;Ljava/util/List;)V
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Object;",
"Ljava/util/List<",
"Ljava/lang/Object;",
">;)V"
}
.end annotation
.line 46
new-instance v0, Lcom/unity3d/services/store/gpbl/bridges/BillingResultBridge;
invoke-direct {v0, p1}, Lcom/unity3d/services/store/gpbl/bridges/BillingResultBridge;-><init>(Ljava/lang/Object;)V
if-eqz p2, :cond_0
.line 49
new-instance p1, Ljava/util/ArrayList;
invoke-direct {p1}, Ljava/util/ArrayList;-><init>()V
.line 50
invoke-interface {p2}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object p2
:goto_0
invoke-interface {p2}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_1
invoke-interface {p2}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
.line 51
new-instance v2, Lcom/unity3d/services/store/gpbl/bridges/PurchaseBridge;
invoke-direct {v2, v1}, Lcom/unity3d/services/store/gpbl/bridges/PurchaseBridge;-><init>(Ljava/lang/Object;)V
invoke-interface {p1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z
goto :goto_0
:cond_0
const/4 p1, 0x0
:cond_1
iget-object p2, p0, Lcom/unity3d/services/store/gpbl/proxies/PurchasesResponseListenerProxy;->purchasesResponseListener:Lcom/unity3d/services/store/gpbl/listeners/PurchasesResponseListener;
if-eqz p2, :cond_2
.line 55
invoke-interface {p2, v0, p1}, Lcom/unity3d/services/store/gpbl/listeners/PurchasesResponseListener;->onPurchaseResponse(Lcom/unity3d/services/store/gpbl/bridges/BillingResultBridge;Ljava/util/List;)V
:cond_2
return-void
.end method

View File

@@ -0,0 +1,182 @@
.class public Lcom/unity3d/services/store/gpbl/proxies/SkuDetailsResponseListenerProxy;
.super Lcom/unity3d/services/core/reflection/GenericListenerProxy;
.source "SourceFile"
# static fields
.field private static final onSkuDetailsResponseMethodName:Ljava/lang/String; = "onSkuDetailsResponse"
# instance fields
.field private skuDetailsResponseListener:Lcom/unity3d/services/store/gpbl/listeners/SkuDetailsResponseListener;
# direct methods
.method public constructor <init>(Lcom/unity3d/services/store/gpbl/listeners/SkuDetailsResponseListener;)V
.locals 0
.line 17
invoke-direct {p0}, Lcom/unity3d/services/core/reflection/GenericListenerProxy;-><init>()V
iput-object p1, p0, Lcom/unity3d/services/store/gpbl/proxies/SkuDetailsResponseListenerProxy;->skuDetailsResponseListener:Lcom/unity3d/services/store/gpbl/listeners/SkuDetailsResponseListener;
return-void
.end method
.method public static getProxyListenerClass()Ljava/lang/Class;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/lang/Class<",
"*>;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/ClassNotFoundException;
}
.end annotation
const-class v0, Lcom/android/billingclient/api/SkuDetailsResponseListener;
return-object v0
.end method
# virtual methods
.method public getProxyClass()Ljava/lang/Class;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/lang/Class<",
"*>;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/ClassNotFoundException;
}
.end annotation
.line 23
invoke-static {}, Lcom/unity3d/services/store/gpbl/proxies/SkuDetailsResponseListenerProxy;->getProxyListenerClass()Ljava/lang/Class;
move-result-object v0
return-object v0
.end method
.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
.line 34
invoke-virtual {p2}, Ljava/lang/reflect/Method;->getName()Ljava/lang/String;
move-result-object v0
const-string v1, "onSkuDetailsResponse"
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
const/4 p1, 0x0
.line 35
aget-object p1, p3, p1
const/4 p2, 0x1
aget-object p2, p3, p2
check-cast p2, Ljava/util/List;
invoke-virtual {p0, p1, p2}, Lcom/unity3d/services/store/gpbl/proxies/SkuDetailsResponseListenerProxy;->onSkuDetailsResponse(Ljava/lang/Object;Ljava/util/List;)V
const/4 p1, 0x0
goto :goto_0
.line 37
:cond_0
invoke-super {p0, p1, p2, p3}, Lcom/unity3d/services/core/reflection/GenericListenerProxy;->invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
:goto_0
return-object p1
.end method
.method public onSkuDetailsResponse(Ljava/lang/Object;Ljava/util/List;)V
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Object;",
"Ljava/util/List<",
"Ljava/lang/Object;",
">;)V"
}
.end annotation
if-eqz p2, :cond_0
.line 46
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
.line 47
invoke-interface {p2}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object p2
:goto_0
invoke-interface {p2}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_1
invoke-interface {p2}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
.line 48
new-instance v2, Lcom/unity3d/services/store/gpbl/bridges/SkuDetailsBridge;
invoke-direct {v2, v1}, Lcom/unity3d/services/store/gpbl/bridges/SkuDetailsBridge;-><init>(Ljava/lang/Object;)V
invoke-interface {v0, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z
goto :goto_0
:cond_0
const/4 v0, 0x0
:cond_1
iget-object p2, p0, Lcom/unity3d/services/store/gpbl/proxies/SkuDetailsResponseListenerProxy;->skuDetailsResponseListener:Lcom/unity3d/services/store/gpbl/listeners/SkuDetailsResponseListener;
if-eqz p2, :cond_2
.line 52
new-instance v1, Lcom/unity3d/services/store/gpbl/bridges/BillingResultBridge;
invoke-direct {v1, p1}, Lcom/unity3d/services/store/gpbl/bridges/BillingResultBridge;-><init>(Ljava/lang/Object;)V
invoke-interface {p2, v1, v0}, Lcom/unity3d/services/store/gpbl/listeners/SkuDetailsResponseListener;->onSkuDetailsUpdated(Lcom/unity3d/services/store/gpbl/bridges/BillingResultBridge;Ljava/util/List;)V
:cond_2
return-void
.end method