- 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
149 lines
6.8 KiB
Smali
149 lines
6.8 KiB
Smali
.class Lcom/ea/nimble/mtx/googleplay/GooglePlay$PurchaseTransactionVerifier$1$1;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Lcom/ea/nimble/mtx/googleplay/GooglePlay$VerifyCallback;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/ea/nimble/mtx/googleplay/GooglePlay$PurchaseTransactionVerifier$1;->onGetNonceComplete(Lcom/ea/nimble/mtx/googleplay/GooglePlayTransaction;Ljava/lang/String;Lcom/ea/nimble/Error;)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x1
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic this$2:Lcom/ea/nimble/mtx/googleplay/GooglePlay$PurchaseTransactionVerifier$1;
|
|
|
|
.field final synthetic val$transaction:Lcom/ea/nimble/mtx/googleplay/GooglePlayTransaction;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/ea/nimble/mtx/googleplay/GooglePlay$PurchaseTransactionVerifier$1;Lcom/ea/nimble/mtx/googleplay/GooglePlayTransaction;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()V"
|
|
}
|
|
.end annotation
|
|
|
|
iput-object p1, p0, Lcom/ea/nimble/mtx/googleplay/GooglePlay$PurchaseTransactionVerifier$1$1;->this$2:Lcom/ea/nimble/mtx/googleplay/GooglePlay$PurchaseTransactionVerifier$1;
|
|
|
|
iput-object p2, p0, Lcom/ea/nimble/mtx/googleplay/GooglePlay$PurchaseTransactionVerifier$1$1;->val$transaction:Lcom/ea/nimble/mtx/googleplay/GooglePlayTransaction;
|
|
|
|
.line 2067
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public onVerificationComplete(Ljava/lang/Exception;)V
|
|
.locals 4
|
|
|
|
.line 2071
|
|
invoke-static {p0}, Lcom/ea/nimble/Log$Helper;->LOGFUNC(Ljava/lang/Object;)V
|
|
|
|
iget-object v0, p0, Lcom/ea/nimble/mtx/googleplay/GooglePlay$PurchaseTransactionVerifier$1$1;->val$transaction:Lcom/ea/nimble/mtx/googleplay/GooglePlayTransaction;
|
|
|
|
.line 2072
|
|
iget-object v1, v0, Lcom/ea/nimble/mtx/googleplay/GooglePlayTransaction;->mGooglePlayTransactionState:Lcom/ea/nimble/mtx/googleplay/GooglePlayTransaction$GooglePlayTransactionState;
|
|
|
|
sget-object v2, Lcom/ea/nimble/mtx/googleplay/GooglePlayTransaction$GooglePlayTransactionState;->WAITING_FOR_SYNERGY_VERIFICATION:Lcom/ea/nimble/mtx/googleplay/GooglePlayTransaction$GooglePlayTransactionState;
|
|
|
|
if-eq v1, v2, :cond_0
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 2081
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string v1, "Error making recordPurchase call to Synergy: "
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
new-array v1, v1, [Ljava/lang/Object;
|
|
|
|
invoke-static {p0, v0, v1}, Lcom/ea/nimble/Log$Helper;->LOGE(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
iget-object v0, p0, Lcom/ea/nimble/mtx/googleplay/GooglePlay$PurchaseTransactionVerifier$1$1;->val$transaction:Lcom/ea/nimble/mtx/googleplay/GooglePlayTransaction;
|
|
|
|
.line 2083
|
|
new-instance v1, Lcom/ea/nimble/mtx/NimbleMTXError;
|
|
|
|
sget-object v2, Lcom/ea/nimble/mtx/NimbleMTXError$Code;->VERIFICATION_ERROR:Lcom/ea/nimble/mtx/NimbleMTXError$Code;
|
|
|
|
const-string v3, "Synergy verification error"
|
|
|
|
invoke-direct {v1, v2, v3, p1}, Lcom/ea/nimble/mtx/NimbleMTXError;-><init>(Lcom/ea/nimble/mtx/NimbleMTXError$Code;Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
iput-object v1, v0, Lcom/ea/nimble/mtx/googleplay/GooglePlayTransaction;->mError:Ljava/lang/Exception;
|
|
|
|
iget-object p1, p0, Lcom/ea/nimble/mtx/googleplay/GooglePlay$PurchaseTransactionVerifier$1$1;->val$transaction:Lcom/ea/nimble/mtx/googleplay/GooglePlayTransaction;
|
|
|
|
.line 2084
|
|
iget-object v0, p1, Lcom/ea/nimble/mtx/googleplay/GooglePlayTransaction;->mGooglePlayTransactionState:Lcom/ea/nimble/mtx/googleplay/GooglePlayTransaction$GooglePlayTransactionState;
|
|
|
|
iput-object v0, p1, Lcom/ea/nimble/mtx/googleplay/GooglePlayTransaction;->mFailedState:Lcom/ea/nimble/mtx/googleplay/GooglePlayTransaction$GooglePlayTransactionState;
|
|
|
|
iget-object v0, p0, Lcom/ea/nimble/mtx/googleplay/GooglePlay$PurchaseTransactionVerifier$1$1;->this$2:Lcom/ea/nimble/mtx/googleplay/GooglePlay$PurchaseTransactionVerifier$1;
|
|
|
|
.line 2085
|
|
iget-object v0, v0, Lcom/ea/nimble/mtx/googleplay/GooglePlay$PurchaseTransactionVerifier$1;->this$1:Lcom/ea/nimble/mtx/googleplay/GooglePlay$PurchaseTransactionVerifier;
|
|
|
|
iget-object v0, v0, Lcom/ea/nimble/mtx/googleplay/GooglePlay$PurchaseTransactionVerifier;->this$0:Lcom/ea/nimble/mtx/googleplay/GooglePlay;
|
|
|
|
sget-object v1, Lcom/ea/nimble/mtx/googleplay/GooglePlayTransaction$GooglePlayTransactionState;->COMPLETE:Lcom/ea/nimble/mtx/googleplay/GooglePlayTransaction$GooglePlayTransactionState;
|
|
|
|
invoke-static {v0, p1, v1}, Lcom/ea/nimble/mtx/googleplay/GooglePlay;->access$900(Lcom/ea/nimble/mtx/googleplay/GooglePlay;Lcom/ea/nimble/mtx/googleplay/GooglePlayTransaction;Lcom/ea/nimble/mtx/googleplay/GooglePlayTransaction$GooglePlayTransactionState;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
iget-object p1, p0, Lcom/ea/nimble/mtx/googleplay/GooglePlay$PurchaseTransactionVerifier$1$1;->this$2:Lcom/ea/nimble/mtx/googleplay/GooglePlay$PurchaseTransactionVerifier$1;
|
|
|
|
.line 2089
|
|
iget-object p1, p1, Lcom/ea/nimble/mtx/googleplay/GooglePlay$PurchaseTransactionVerifier$1;->this$1:Lcom/ea/nimble/mtx/googleplay/GooglePlay$PurchaseTransactionVerifier;
|
|
|
|
iget-object p1, p1, Lcom/ea/nimble/mtx/googleplay/GooglePlay$PurchaseTransactionVerifier;->this$0:Lcom/ea/nimble/mtx/googleplay/GooglePlay;
|
|
|
|
sget-object v1, Lcom/ea/nimble/mtx/googleplay/GooglePlayTransaction$GooglePlayTransactionState;->WAITING_FOR_GAME_TO_CONFIRM_ITEM_GRANT:Lcom/ea/nimble/mtx/googleplay/GooglePlayTransaction$GooglePlayTransactionState;
|
|
|
|
invoke-static {p1, v0, v1}, Lcom/ea/nimble/mtx/googleplay/GooglePlay;->access$900(Lcom/ea/nimble/mtx/googleplay/GooglePlay;Lcom/ea/nimble/mtx/googleplay/GooglePlayTransaction;Lcom/ea/nimble/mtx/googleplay/GooglePlayTransaction$GooglePlayTransactionState;)V
|
|
|
|
:goto_0
|
|
iget-object p1, p0, Lcom/ea/nimble/mtx/googleplay/GooglePlay$PurchaseTransactionVerifier$1$1;->val$transaction:Lcom/ea/nimble/mtx/googleplay/GooglePlayTransaction;
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
.line 2093
|
|
iget-object v0, p1, Lcom/ea/nimble/mtx/googleplay/GooglePlayTransaction;->mPurchaseCallback:Lcom/ea/nimble/mtx/INimbleMTX$PurchaseTransactionCallback;
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
.line 2095
|
|
invoke-interface {v0, p1}, Lcom/ea/nimble/mtx/INimbleMTX$PurchaseTransactionCallback;->purchaseComplete(Lcom/ea/nimble/mtx/NimbleMTXTransaction;)V
|
|
|
|
:cond_2
|
|
return-void
|
|
.end method
|