- 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
306 lines
10 KiB
Smali
306 lines
10 KiB
Smali
.class Lcom/ea/nimble/mtx/googleplay/GooglePlay$5;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Lcom/ea/nimble/mtx/catalog/synergy/SynergyCatalog$ItemCallback;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/ea/nimble/mtx/googleplay/GooglePlay;->networkCallGetAvailableItems()V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x1
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic this$0:Lcom/ea/nimble/mtx/googleplay/GooglePlay;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/ea/nimble/mtx/googleplay/GooglePlay;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/ea/nimble/mtx/googleplay/GooglePlay$5;->this$0:Lcom/ea/nimble/mtx/googleplay/GooglePlay;
|
|
|
|
.line 1658
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public callback(Ljava/util/List;Ljava/lang/Exception;)V
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/List<",
|
|
"Lcom/ea/nimble/mtx/catalog/synergy/SynergyCatalogItem;",
|
|
">;",
|
|
"Ljava/lang/Exception;",
|
|
")V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1662
|
|
invoke-static {p0}, Lcom/ea/nimble/Log$Helper;->LOGFUNC(Ljava/lang/Object;)V
|
|
|
|
if-nez p2, :cond_2
|
|
|
|
.line 1668
|
|
new-instance p2, Ljava/util/LinkedList;
|
|
|
|
invoke-direct {p2}, Ljava/util/LinkedList;-><init>()V
|
|
|
|
.line 1669
|
|
invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object p1
|
|
|
|
:goto_0
|
|
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Lcom/ea/nimble/mtx/catalog/synergy/SynergyCatalogItem;
|
|
|
|
.line 1671
|
|
new-instance v1, Lcom/ea/nimble/mtx/googleplay/GooglePlayCatalogItem;
|
|
|
|
invoke-direct {v1}, Lcom/ea/nimble/mtx/googleplay/GooglePlayCatalogItem;-><init>()V
|
|
|
|
.line 1672
|
|
invoke-virtual {v0}, Lcom/ea/nimble/mtx/catalog/synergy/SynergyCatalogItem;->getItemType()Lcom/ea/nimble/mtx/NimbleCatalogItem$ItemType;
|
|
|
|
move-result-object v2
|
|
|
|
iput-object v2, v1, Lcom/ea/nimble/mtx/googleplay/GooglePlayCatalogItem;->mItemType:Lcom/ea/nimble/mtx/NimbleCatalogItem$ItemType;
|
|
|
|
.line 1673
|
|
invoke-virtual {v0}, Lcom/ea/nimble/mtx/catalog/synergy/SynergyCatalogItem;->getAdditionalInfo()Ljava/util/Map;
|
|
|
|
move-result-object v2
|
|
|
|
iput-object v2, v1, Lcom/ea/nimble/mtx/googleplay/GooglePlayCatalogItem;->mAdditionalInfo:Ljava/util/Map;
|
|
|
|
.line 1674
|
|
invoke-virtual {v0}, Lcom/ea/nimble/mtx/catalog/synergy/SynergyCatalogItem;->getDescription()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
iput-object v2, v1, Lcom/ea/nimble/mtx/googleplay/GooglePlayCatalogItem;->mDescription:Ljava/lang/String;
|
|
|
|
.line 1675
|
|
invoke-virtual {v0}, Lcom/ea/nimble/mtx/catalog/synergy/SynergyCatalogItem;->getSku()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
iput-object v2, v1, Lcom/ea/nimble/mtx/googleplay/GooglePlayCatalogItem;->mSku:Ljava/lang/String;
|
|
|
|
.line 1676
|
|
invoke-virtual {v0}, Lcom/ea/nimble/mtx/catalog/synergy/SynergyCatalogItem;->getTitle()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
iput-object v2, v1, Lcom/ea/nimble/mtx/googleplay/GooglePlayCatalogItem;->mTitle:Ljava/lang/String;
|
|
|
|
.line 1677
|
|
invoke-virtual {v0}, Lcom/ea/nimble/mtx/catalog/synergy/SynergyCatalogItem;->getMetaDataUrl()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
iput-object v2, v1, Lcom/ea/nimble/mtx/googleplay/GooglePlayCatalogItem;->mUrl:Ljava/lang/String;
|
|
|
|
.line 1678
|
|
invoke-virtual {v0}, Lcom/ea/nimble/mtx/catalog/synergy/SynergyCatalogItem;->isFree()Z
|
|
|
|
move-result v0
|
|
|
|
iput-boolean v0, v1, Lcom/ea/nimble/mtx/googleplay/GooglePlayCatalogItem;->mIsFree:Z
|
|
|
|
.line 1680
|
|
invoke-interface {p2, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
goto :goto_0
|
|
|
|
.line 1684
|
|
:cond_0
|
|
invoke-static {}, Lcom/ea/nimble/Base;->getConfiguration()Lcom/ea/nimble/NimbleConfiguration;
|
|
|
|
move-result-object p1
|
|
|
|
sget-object v0, Lcom/ea/nimble/NimbleConfiguration;->LIVE:Lcom/ea/nimble/NimbleConfiguration;
|
|
|
|
if-eq p1, v0, :cond_1
|
|
|
|
.line 1686
|
|
new-instance p1, Lcom/ea/nimble/mtx/googleplay/GooglePlayCatalogItem;
|
|
|
|
invoke-direct {p1}, Lcom/ea/nimble/mtx/googleplay/GooglePlayCatalogItem;-><init>()V
|
|
|
|
const-string v0, "android.test.purchased"
|
|
|
|
iput-object v0, p1, Lcom/ea/nimble/mtx/googleplay/GooglePlayCatalogItem;->mSku:Ljava/lang/String;
|
|
|
|
const-string v0, "GP Purchased"
|
|
|
|
iput-object v0, p1, Lcom/ea/nimble/mtx/googleplay/GooglePlayCatalogItem;->mTitle:Ljava/lang/String;
|
|
|
|
const-string v0, "GP Purchased Desc"
|
|
|
|
iput-object v0, p1, Lcom/ea/nimble/mtx/googleplay/GooglePlayCatalogItem;->mDescription:Ljava/lang/String;
|
|
|
|
const-string v0, ""
|
|
|
|
iput-object v0, p1, Lcom/ea/nimble/mtx/googleplay/GooglePlayCatalogItem;->mUrl:Ljava/lang/String;
|
|
|
|
.line 1691
|
|
sget-object v1, Lcom/ea/nimble/mtx/NimbleCatalogItem$ItemType;->NONCONSUMABLE:Lcom/ea/nimble/mtx/NimbleCatalogItem$ItemType;
|
|
|
|
iput-object v1, p1, Lcom/ea/nimble/mtx/googleplay/GooglePlayCatalogItem;->mItemType:Lcom/ea/nimble/mtx/NimbleCatalogItem$ItemType;
|
|
|
|
.line 1692
|
|
invoke-interface {p2, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
.line 1694
|
|
new-instance p1, Lcom/ea/nimble/mtx/googleplay/GooglePlayCatalogItem;
|
|
|
|
invoke-direct {p1}, Lcom/ea/nimble/mtx/googleplay/GooglePlayCatalogItem;-><init>()V
|
|
|
|
const-string v2, "android.test.canceled"
|
|
|
|
iput-object v2, p1, Lcom/ea/nimble/mtx/googleplay/GooglePlayCatalogItem;->mSku:Ljava/lang/String;
|
|
|
|
const-string v2, "GP Canceled"
|
|
|
|
iput-object v2, p1, Lcom/ea/nimble/mtx/googleplay/GooglePlayCatalogItem;->mTitle:Ljava/lang/String;
|
|
|
|
const-string v2, "GP Canceled Desc"
|
|
|
|
iput-object v2, p1, Lcom/ea/nimble/mtx/googleplay/GooglePlayCatalogItem;->mDescription:Ljava/lang/String;
|
|
|
|
iput-object v0, p1, Lcom/ea/nimble/mtx/googleplay/GooglePlayCatalogItem;->mUrl:Ljava/lang/String;
|
|
|
|
iput-object v1, p1, Lcom/ea/nimble/mtx/googleplay/GooglePlayCatalogItem;->mItemType:Lcom/ea/nimble/mtx/NimbleCatalogItem$ItemType;
|
|
|
|
.line 1700
|
|
invoke-interface {p2, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
.line 1702
|
|
new-instance p1, Lcom/ea/nimble/mtx/googleplay/GooglePlayCatalogItem;
|
|
|
|
invoke-direct {p1}, Lcom/ea/nimble/mtx/googleplay/GooglePlayCatalogItem;-><init>()V
|
|
|
|
const-string v2, "android.test.refunded"
|
|
|
|
iput-object v2, p1, Lcom/ea/nimble/mtx/googleplay/GooglePlayCatalogItem;->mSku:Ljava/lang/String;
|
|
|
|
const-string v2, "GP Refunded"
|
|
|
|
iput-object v2, p1, Lcom/ea/nimble/mtx/googleplay/GooglePlayCatalogItem;->mTitle:Ljava/lang/String;
|
|
|
|
const-string v2, "GP Refunded Desc"
|
|
|
|
iput-object v2, p1, Lcom/ea/nimble/mtx/googleplay/GooglePlayCatalogItem;->mDescription:Ljava/lang/String;
|
|
|
|
iput-object v0, p1, Lcom/ea/nimble/mtx/googleplay/GooglePlayCatalogItem;->mUrl:Ljava/lang/String;
|
|
|
|
iput-object v1, p1, Lcom/ea/nimble/mtx/googleplay/GooglePlayCatalogItem;->mItemType:Lcom/ea/nimble/mtx/NimbleCatalogItem$ItemType;
|
|
|
|
.line 1708
|
|
invoke-interface {p2, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
.line 1710
|
|
new-instance p1, Lcom/ea/nimble/mtx/googleplay/GooglePlayCatalogItem;
|
|
|
|
invoke-direct {p1}, Lcom/ea/nimble/mtx/googleplay/GooglePlayCatalogItem;-><init>()V
|
|
|
|
const-string v2, "android.test.item_unavailable"
|
|
|
|
iput-object v2, p1, Lcom/ea/nimble/mtx/googleplay/GooglePlayCatalogItem;->mSku:Ljava/lang/String;
|
|
|
|
const-string v2, "GP Unavailable"
|
|
|
|
iput-object v2, p1, Lcom/ea/nimble/mtx/googleplay/GooglePlayCatalogItem;->mTitle:Ljava/lang/String;
|
|
|
|
const-string v2, "GP Unavailable Desc"
|
|
|
|
iput-object v2, p1, Lcom/ea/nimble/mtx/googleplay/GooglePlayCatalogItem;->mDescription:Ljava/lang/String;
|
|
|
|
iput-object v0, p1, Lcom/ea/nimble/mtx/googleplay/GooglePlayCatalogItem;->mUrl:Ljava/lang/String;
|
|
|
|
iput-object v1, p1, Lcom/ea/nimble/mtx/googleplay/GooglePlayCatalogItem;->mItemType:Lcom/ea/nimble/mtx/NimbleCatalogItem$ItemType;
|
|
|
|
.line 1716
|
|
invoke-interface {p2, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
:cond_1
|
|
iget-object p1, p0, Lcom/ea/nimble/mtx/googleplay/GooglePlay$5;->this$0:Lcom/ea/nimble/mtx/googleplay/GooglePlay;
|
|
|
|
.line 1720
|
|
new-instance v0, Lcom/ea/nimble/mtx/googleplay/GooglePlay$5$1;
|
|
|
|
invoke-direct {v0, p0}, Lcom/ea/nimble/mtx/googleplay/GooglePlay$5$1;-><init>(Lcom/ea/nimble/mtx/googleplay/GooglePlay$5;)V
|
|
|
|
invoke-static {p1, p2, v0}, Lcom/ea/nimble/mtx/googleplay/GooglePlay;->access$1600(Lcom/ea/nimble/mtx/googleplay/GooglePlay;Ljava/util/List;Lcom/ea/nimble/mtx/googleplay/GooglePlay$CatalogItemCallback;)V
|
|
|
|
goto :goto_1
|
|
|
|
.line 1732
|
|
:cond_2
|
|
new-instance p1, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string v0, "GetAvailableItems error: "
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
new-array v0, v0, [Ljava/lang/Object;
|
|
|
|
invoke-static {p0, p1, v0}, Lcom/ea/nimble/Log$Helper;->LOGE(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
.line 1733
|
|
new-instance p1, Lcom/ea/nimble/Error;
|
|
|
|
sget-object v0, Lcom/ea/nimble/Error$Code;->UNKNOWN:Lcom/ea/nimble/Error$Code;
|
|
|
|
invoke-virtual {p2}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-direct {p1, v0, v1, p2}, Lcom/ea/nimble/Error;-><init>(Lcom/ea/nimble/Error$Code;Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
iget-object p2, p0, Lcom/ea/nimble/mtx/googleplay/GooglePlay$5;->this$0:Lcom/ea/nimble/mtx/googleplay/GooglePlay;
|
|
|
|
const-string v0, "nimble.notification.mtx.refreshcatalogfinished"
|
|
|
|
const/4 v1, 0x0
|
|
|
|
.line 1734
|
|
invoke-static {p2, v0, p1, v1, v1}, Lcom/ea/nimble/mtx/googleplay/GooglePlay;->access$1300(Lcom/ea/nimble/mtx/googleplay/GooglePlay;Ljava/lang/String;Lcom/ea/nimble/Error;Ljava/lang/String;Landroid/os/Bundle;)V
|
|
|
|
:goto_1
|
|
return-void
|
|
.end method
|