- 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
213 lines
6.6 KiB
Smali
213 lines
6.6 KiB
Smali
.class Lcom/ea/nimble/mtx/googleplay/GooglePlay$9;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Lcom/ea/nimble/SynergyNetworkConnectionCallback;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/ea/nimble/mtx/googleplay/GooglePlay;->networkCallRecordPurchase(Lcom/ea/nimble/mtx/googleplay/GooglePlayTransaction;Lcom/ea/nimble/mtx/googleplay/GooglePlay$VerifyCallback;)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;
|
|
|
|
.field final synthetic val$callback:Lcom/ea/nimble/mtx/googleplay/GooglePlay$VerifyCallback;
|
|
|
|
.field final synthetic val$transaction:Lcom/ea/nimble/mtx/googleplay/GooglePlayTransaction;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/ea/nimble/mtx/googleplay/GooglePlay;Lcom/ea/nimble/mtx/googleplay/GooglePlayTransaction;Lcom/ea/nimble/mtx/googleplay/GooglePlay$VerifyCallback;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()V"
|
|
}
|
|
.end annotation
|
|
|
|
iput-object p1, p0, Lcom/ea/nimble/mtx/googleplay/GooglePlay$9;->this$0:Lcom/ea/nimble/mtx/googleplay/GooglePlay;
|
|
|
|
iput-object p2, p0, Lcom/ea/nimble/mtx/googleplay/GooglePlay$9;->val$transaction:Lcom/ea/nimble/mtx/googleplay/GooglePlayTransaction;
|
|
|
|
iput-object p3, p0, Lcom/ea/nimble/mtx/googleplay/GooglePlay$9;->val$callback:Lcom/ea/nimble/mtx/googleplay/GooglePlay$VerifyCallback;
|
|
|
|
.line 2501
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public callback(Lcom/ea/nimble/SynergyNetworkConnectionHandle;)V
|
|
.locals 6
|
|
|
|
.line 2505
|
|
invoke-interface {p1}, Lcom/ea/nimble/SynergyNetworkConnectionHandle;->getResponse()Lcom/ea/nimble/ISynergyResponse;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-interface {v0}, Lcom/ea/nimble/ISynergyResponse;->getError()Ljava/lang/Exception;
|
|
|
|
move-result-object v0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 2508
|
|
invoke-interface {p1}, Lcom/ea/nimble/SynergyNetworkConnectionHandle;->getResponse()Lcom/ea/nimble/ISynergyResponse;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-interface {p1}, Lcom/ea/nimble/ISynergyResponse;->getJsonData()Ljava/util/Map;
|
|
|
|
move-result-object p1
|
|
|
|
.line 2509
|
|
new-instance v3, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string v4, "recordPurchase response: "
|
|
|
|
invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {v3, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
new-array v2, v2, [Ljava/lang/Object;
|
|
|
|
invoke-static {p0, p1, v2}, Lcom/ea/nimble/Log$Helper;->LOGD(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
iget-object p1, p0, Lcom/ea/nimble/mtx/googleplay/GooglePlay$9;->val$transaction:Lcom/ea/nimble/mtx/googleplay/GooglePlayTransaction;
|
|
|
|
.line 2510
|
|
iput-boolean v1, p1, Lcom/ea/nimble/mtx/googleplay/GooglePlayTransaction;->mIsRecorded:Z
|
|
|
|
goto :goto_0
|
|
|
|
.line 2512
|
|
:cond_0
|
|
instance-of p1, v0, Lcom/ea/nimble/Error;
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 2514
|
|
move-object p1, v0
|
|
|
|
check-cast p1, Lcom/ea/nimble/Error;
|
|
|
|
.line 2517
|
|
invoke-virtual {p1}, Lcom/ea/nimble/Error;->getDomain()Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
const-string v4, "SynergyServerError"
|
|
|
|
invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_1
|
|
|
|
invoke-virtual {p1}, Lcom/ea/nimble/Error;->getCode()I
|
|
|
|
move-result v3
|
|
|
|
sget-object v4, Lcom/ea/nimble/SynergyServerError$Code;->AMAZON_SERVER_CONNECTION_ERROR:Lcom/ea/nimble/SynergyServerError$Code;
|
|
|
|
invoke-virtual {v4}, Lcom/ea/nimble/SynergyServerError$Code;->intValue()I
|
|
|
|
move-result v4
|
|
|
|
if-eq v3, v4, :cond_1
|
|
|
|
invoke-virtual {p1}, Lcom/ea/nimble/Error;->getCode()I
|
|
|
|
move-result v3
|
|
|
|
sget-object v4, Lcom/ea/nimble/SynergyServerError$Code;->APPLE_SERVER_CONNECTION_ERROR:Lcom/ea/nimble/SynergyServerError$Code;
|
|
|
|
invoke-virtual {v4}, Lcom/ea/nimble/SynergyServerError$Code;->intValue()I
|
|
|
|
move-result v4
|
|
|
|
if-eq v3, v4, :cond_1
|
|
|
|
iget-object v3, p0, Lcom/ea/nimble/mtx/googleplay/GooglePlay$9;->this$0:Lcom/ea/nimble/mtx/googleplay/GooglePlay;
|
|
|
|
.line 2519
|
|
new-instance v4, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string v5, "Transaction "
|
|
|
|
invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v5, p0, Lcom/ea/nimble/mtx/googleplay/GooglePlay$9;->val$transaction:Lcom/ea/nimble/mtx/googleplay/GooglePlayTransaction;
|
|
|
|
iget-object v5, v5, Lcom/ea/nimble/mtx/googleplay/GooglePlayTransaction;->mTransactionId:Ljava/lang/String;
|
|
|
|
invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v5, " failed to record with error: "
|
|
|
|
invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v4, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
new-array v2, v2, [Ljava/lang/Object;
|
|
|
|
invoke-static {v3, p1, v2}, Lcom/ea/nimble/Log$Helper;->LOGD(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
iget-object p1, p0, Lcom/ea/nimble/mtx/googleplay/GooglePlay$9;->val$transaction:Lcom/ea/nimble/mtx/googleplay/GooglePlayTransaction;
|
|
|
|
.line 2520
|
|
iput-boolean v1, p1, Lcom/ea/nimble/mtx/googleplay/GooglePlayTransaction;->mIsRecorded:Z
|
|
|
|
:cond_1
|
|
:goto_0
|
|
iget-object p1, p0, Lcom/ea/nimble/mtx/googleplay/GooglePlay$9;->val$callback:Lcom/ea/nimble/mtx/googleplay/GooglePlay$VerifyCallback;
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
.line 2524
|
|
invoke-static {}, Lcom/ea/nimble/ApplicationEnvironment;->isMainApplicationActive()Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
iget-object p1, p0, Lcom/ea/nimble/mtx/googleplay/GooglePlay$9;->val$callback:Lcom/ea/nimble/mtx/googleplay/GooglePlay$VerifyCallback;
|
|
|
|
.line 2526
|
|
invoke-interface {p1, v0}, Lcom/ea/nimble/mtx/googleplay/GooglePlay$VerifyCallback;->onVerificationComplete(Ljava/lang/Exception;)V
|
|
|
|
:cond_2
|
|
return-void
|
|
.end method
|