- 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
208 lines
6.6 KiB
Smali
208 lines
6.6 KiB
Smali
.class Lcom/ea/nimble/SynergyEnvironmentUpdater$2;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Lcom/ea/nimble/SynergyNetworkConnectionCallback;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/ea/nimble/SynergyEnvironmentUpdater;->callSynergyGetEADeviceId()V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x1
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic this$0:Lcom/ea/nimble/SynergyEnvironmentUpdater;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/ea/nimble/SynergyEnvironmentUpdater;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/ea/nimble/SynergyEnvironmentUpdater$2;->this$0:Lcom/ea/nimble/SynergyEnvironmentUpdater;
|
|
|
|
.line 317
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public callback(Lcom/ea/nimble/SynergyNetworkConnectionHandle;)V
|
|
.locals 4
|
|
|
|
iget-object v0, p0, Lcom/ea/nimble/SynergyEnvironmentUpdater$2;->this$0:Lcom/ea/nimble/SynergyEnvironmentUpdater;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
.line 322
|
|
invoke-static {v0, v1}, Lcom/ea/nimble/SynergyEnvironmentUpdater;->access$002(Lcom/ea/nimble/SynergyEnvironmentUpdater;Lcom/ea/nimble/SynergyNetworkConnectionHandle;)Lcom/ea/nimble/SynergyNetworkConnectionHandle;
|
|
|
|
.line 324
|
|
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
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
new-array v0, v0, [Ljava/lang/Object;
|
|
|
|
const-string v1, "GetEADeviceID Success"
|
|
|
|
.line 328
|
|
invoke-static {p0, v1, v0}, Lcom/ea/nimble/Log$Helper;->LOGD(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
iget-object v0, p0, Lcom/ea/nimble/SynergyEnvironmentUpdater$2;->this$0:Lcom/ea/nimble/SynergyEnvironmentUpdater;
|
|
|
|
.line 330
|
|
invoke-static {v0}, Lcom/ea/nimble/SynergyEnvironmentUpdater;->access$600(Lcom/ea/nimble/SynergyEnvironmentUpdater;)Lcom/ea/nimble/EnvironmentDataContainer;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-interface {p1}, Lcom/ea/nimble/SynergyNetworkConnectionHandle;->getResponse()Lcom/ea/nimble/ISynergyResponse;
|
|
|
|
move-result-object p1
|
|
|
|
.line 331
|
|
invoke-interface {p1}, Lcom/ea/nimble/ISynergyResponse;->getJsonData()Ljava/util/Map;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v1, "deviceId"
|
|
|
|
invoke-interface {p1, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Ljava/lang/String;
|
|
|
|
.line 330
|
|
invoke-virtual {v0, p1}, Lcom/ea/nimble/EnvironmentDataContainer;->setEADeviceId(Ljava/lang/String;)V
|
|
|
|
iget-object p1, p0, Lcom/ea/nimble/SynergyEnvironmentUpdater$2;->this$0:Lcom/ea/nimble/SynergyEnvironmentUpdater;
|
|
|
|
.line 334
|
|
invoke-static {p1}, Lcom/ea/nimble/SynergyEnvironmentUpdater;->access$700(Lcom/ea/nimble/SynergyEnvironmentUpdater;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
iget-object v1, p0, Lcom/ea/nimble/SynergyEnvironmentUpdater$2;->this$0:Lcom/ea/nimble/SynergyEnvironmentUpdater;
|
|
|
|
.line 338
|
|
invoke-static {v1, v0}, Lcom/ea/nimble/SynergyEnvironmentUpdater;->access$300(Lcom/ea/nimble/SynergyEnvironmentUpdater;Ljava/lang/Exception;)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
iget-object v0, p0, Lcom/ea/nimble/SynergyEnvironmentUpdater$2;->this$0:Lcom/ea/nimble/SynergyEnvironmentUpdater;
|
|
|
|
.line 339
|
|
invoke-static {v0}, Lcom/ea/nimble/SynergyEnvironmentUpdater;->access$800(Lcom/ea/nimble/SynergyEnvironmentUpdater;)J
|
|
|
|
move-result-wide v0
|
|
|
|
const-wide/16 v2, 0x3
|
|
|
|
cmp-long v0, v0, v2
|
|
|
|
if-gez v0, :cond_1
|
|
|
|
iget-object p1, p0, Lcom/ea/nimble/SynergyEnvironmentUpdater$2;->this$0:Lcom/ea/nimble/SynergyEnvironmentUpdater;
|
|
|
|
.line 341
|
|
invoke-static {p1}, Lcom/ea/nimble/SynergyEnvironmentUpdater;->access$808(Lcom/ea/nimble/SynergyEnvironmentUpdater;)J
|
|
|
|
iget-object p1, p0, Lcom/ea/nimble/SynergyEnvironmentUpdater$2;->this$0:Lcom/ea/nimble/SynergyEnvironmentUpdater;
|
|
|
|
.line 344
|
|
invoke-static {p1}, Lcom/ea/nimble/SynergyEnvironmentUpdater;->access$800(Lcom/ea/nimble/SynergyEnvironmentUpdater;)J
|
|
|
|
move-result-wide v0
|
|
|
|
invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
|
|
|
move-result-object p1
|
|
|
|
filled-new-array {p1}, [Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v0, "GetEADeviceID, call failed. Making retry attempt number %d."
|
|
|
|
.line 343
|
|
invoke-static {p0, v0, p1}, Lcom/ea/nimble/Log$Helper;->LOGD(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
iget-object p1, p0, Lcom/ea/nimble/SynergyEnvironmentUpdater$2;->this$0:Lcom/ea/nimble/SynergyEnvironmentUpdater;
|
|
|
|
.line 346
|
|
invoke-static {p1}, Lcom/ea/nimble/SynergyEnvironmentUpdater;->access$900(Lcom/ea/nimble/SynergyEnvironmentUpdater;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
iget-object v0, p0, Lcom/ea/nimble/SynergyEnvironmentUpdater$2;->this$0:Lcom/ea/nimble/SynergyEnvironmentUpdater;
|
|
|
|
const-wide/16 v1, 0x0
|
|
|
|
.line 350
|
|
invoke-static {v0, v1, v2}, Lcom/ea/nimble/SynergyEnvironmentUpdater;->access$802(Lcom/ea/nimble/SynergyEnvironmentUpdater;J)J
|
|
|
|
.line 351
|
|
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
|
|
|
|
filled-new-array {v0}, [Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "GetEADeviceID Error (%s)"
|
|
|
|
invoke-static {p0, v1, v0}, Lcom/ea/nimble/Log$Helper;->LOGD(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
iget-object v0, p0, Lcom/ea/nimble/SynergyEnvironmentUpdater$2;->this$0:Lcom/ea/nimble/SynergyEnvironmentUpdater;
|
|
|
|
.line 353
|
|
new-instance v1, Lcom/ea/nimble/Error;
|
|
|
|
sget-object v2, Lcom/ea/nimble/Error$Code;->SYNERGY_GET_EA_DEVICE_ID_FAILURE:Lcom/ea/nimble/Error$Code;
|
|
|
|
.line 355
|
|
invoke-interface {p1}, Lcom/ea/nimble/SynergyNetworkConnectionHandle;->getResponse()Lcom/ea/nimble/ISynergyResponse;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-interface {p1}, Lcom/ea/nimble/ISynergyResponse;->getError()Ljava/lang/Exception;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v3, "GetEADevideId call failed"
|
|
|
|
invoke-direct {v1, v2, v3, p1}, Lcom/ea/nimble/Error;-><init>(Lcom/ea/nimble/Error$Code;Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
.line 353
|
|
invoke-static {v0, v1}, Lcom/ea/nimble/SynergyEnvironmentUpdater;->access$200(Lcom/ea/nimble/SynergyEnvironmentUpdater;Ljava/lang/Exception;)V
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|