Files
rr3-apk/smali_classes2/com/ea/nimble/mtx/googleplay/GooglePlay$4$1.smali
Daniel Elliott f3960ee359 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
2026-02-18 16:13:44 -08:00

184 lines
5.8 KiB
Smali

.class Lcom/ea/nimble/mtx/googleplay/GooglePlay$4$1;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/android/billingclient/api/ProductDetailsResponseListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/ea/nimble/mtx/googleplay/GooglePlay$4;->onQueryPurchasesResponse(Lcom/android/billingclient/api/BillingResult;Ljava/util/List;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field final synthetic this$1:Lcom/ea/nimble/mtx/googleplay/GooglePlay$4;
.field final synthetic val$list:Ljava/util/List;
.field final synthetic val$skuCurrencyCodeMap:Ljava/util/HashMap;
# direct methods
.method public constructor <init>(Lcom/ea/nimble/mtx/googleplay/GooglePlay$4;Ljava/util/HashMap;Ljava/util/List;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()V"
}
.end annotation
iput-object p1, p0, Lcom/ea/nimble/mtx/googleplay/GooglePlay$4$1;->this$1:Lcom/ea/nimble/mtx/googleplay/GooglePlay$4;
iput-object p2, p0, Lcom/ea/nimble/mtx/googleplay/GooglePlay$4$1;->val$skuCurrencyCodeMap:Ljava/util/HashMap;
iput-object p3, p0, Lcom/ea/nimble/mtx/googleplay/GooglePlay$4$1;->val$list:Ljava/util/List;
.line 1241
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onProductDetailsResponse(Lcom/android/billingclient/api/BillingResult;Ljava/util/List;)V
.locals 3
.param p1 # Lcom/android/billingclient/api/BillingResult;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # Ljava/util/List;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/android/billingclient/api/BillingResult;",
"Ljava/util/List<",
"Lcom/android/billingclient/api/ProductDetails;",
">;)V"
}
.end annotation
.line 1245
invoke-virtual {p1}, Lcom/android/billingclient/api/BillingResult;->getResponseCode()I
move-result p1
if-nez p1, :cond_1
.line 1247
invoke-interface {p2}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object p1
:goto_0
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
move-result p2
if-eqz p2, :cond_1
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object p2
check-cast p2, Lcom/android/billingclient/api/ProductDetails;
.line 1249
invoke-virtual {p2}, Lcom/android/billingclient/api/ProductDetails;->getProductType()Ljava/lang/String;
move-result-object v0
const-string v1, "subs"
invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
iget-object v0, p0, Lcom/ea/nimble/mtx/googleplay/GooglePlay$4$1;->val$skuCurrencyCodeMap:Ljava/util/HashMap;
.line 1251
invoke-virtual {p2}, Lcom/android/billingclient/api/ProductDetails;->getProductId()Ljava/lang/String;
move-result-object v1
invoke-virtual {p2}, Lcom/android/billingclient/api/ProductDetails;->getSubscriptionOfferDetails()Ljava/util/List;
move-result-object p2
const/4 v2, 0x0
invoke-interface {p2, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object p2
check-cast p2, Lcom/android/billingclient/api/ProductDetails$SubscriptionOfferDetails;
invoke-virtual {p2}, Lcom/android/billingclient/api/ProductDetails$SubscriptionOfferDetails;->getPricingPhases()Lcom/android/billingclient/api/ProductDetails$PricingPhases;
move-result-object p2
invoke-virtual {p2}, Lcom/android/billingclient/api/ProductDetails$PricingPhases;->getPricingPhaseList()Ljava/util/List;
move-result-object p2
invoke-interface {p2, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object p2
check-cast p2, Lcom/android/billingclient/api/ProductDetails$PricingPhase;
invoke-virtual {p2}, Lcom/android/billingclient/api/ProductDetails$PricingPhase;->getPriceCurrencyCode()Ljava/lang/String;
move-result-object p2
invoke-virtual {v0, v1, p2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
goto :goto_0
:cond_0
iget-object v0, p0, Lcom/ea/nimble/mtx/googleplay/GooglePlay$4$1;->val$skuCurrencyCodeMap:Ljava/util/HashMap;
.line 1255
invoke-virtual {p2}, Lcom/android/billingclient/api/ProductDetails;->getProductId()Ljava/lang/String;
move-result-object v1
invoke-virtual {p2}, Lcom/android/billingclient/api/ProductDetails;->getOneTimePurchaseOfferDetails()Lcom/android/billingclient/api/ProductDetails$OneTimePurchaseOfferDetails;
move-result-object p2
invoke-virtual {p2}, Lcom/android/billingclient/api/ProductDetails$OneTimePurchaseOfferDetails;->getPriceCurrencyCode()Ljava/lang/String;
move-result-object p2
invoke-virtual {v0, v1, p2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
goto :goto_0
:cond_1
iget-object p1, p0, Lcom/ea/nimble/mtx/googleplay/GooglePlay$4$1;->this$1:Lcom/ea/nimble/mtx/googleplay/GooglePlay$4;
.line 1259
iget-object p1, p1, Lcom/ea/nimble/mtx/googleplay/GooglePlay$4;->this$0:Lcom/ea/nimble/mtx/googleplay/GooglePlay;
iget-object p2, p0, Lcom/ea/nimble/mtx/googleplay/GooglePlay$4$1;->val$list:Ljava/util/List;
iget-object v0, p0, Lcom/ea/nimble/mtx/googleplay/GooglePlay$4$1;->val$skuCurrencyCodeMap:Ljava/util/HashMap;
invoke-static {p1, p2, v0}, Lcom/ea/nimble/mtx/googleplay/GooglePlay;->access$1100(Lcom/ea/nimble/mtx/googleplay/GooglePlay;Ljava/util/List;Ljava/util/HashMap;)V
return-void
.end method