- 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.5 KiB
Smali
208 lines
6.5 KiB
Smali
.class Lcom/ea/nimble/SynergyEnvironmentUpdater$1;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Lcom/ea/nimble/SynergyNetworkConnectionCallback;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/ea/nimble/SynergyEnvironmentUpdater;->callSynergyGetDirection()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$1;->this$0:Lcom/ea/nimble/SynergyEnvironmentUpdater;
|
|
|
|
.line 232
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public callback(Lcom/ea/nimble/SynergyNetworkConnectionHandle;)V
|
|
.locals 5
|
|
|
|
const/4 v0, 0x0
|
|
|
|
new-array v0, v0, [Ljava/lang/Object;
|
|
|
|
const-string v1, "GETDIRECTION FINISHED"
|
|
|
|
.line 236
|
|
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$1;->this$0:Lcom/ea/nimble/SynergyEnvironmentUpdater;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
.line 238
|
|
invoke-static {v0, v1}, Lcom/ea/nimble/SynergyEnvironmentUpdater;->access$002(Lcom/ea/nimble/SynergyEnvironmentUpdater;Lcom/ea/nimble/SynergyNetworkConnectionHandle;)Lcom/ea/nimble/SynergyNetworkConnectionHandle;
|
|
|
|
.line 240
|
|
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
|
|
|
|
iget-object v0, p0, Lcom/ea/nimble/SynergyEnvironmentUpdater$1;->this$0:Lcom/ea/nimble/SynergyEnvironmentUpdater;
|
|
|
|
.line 243
|
|
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
|
|
|
|
invoke-static {v0, p1}, Lcom/ea/nimble/SynergyEnvironmentUpdater;->access$100(Lcom/ea/nimble/SynergyEnvironmentUpdater;Ljava/util/Map;)V
|
|
|
|
return-void
|
|
|
|
.line 247
|
|
:cond_0
|
|
instance-of p1, v0, Lcom/ea/nimble/SynergyServerError;
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 249
|
|
move-object p1, v0
|
|
|
|
check-cast p1, Lcom/ea/nimble/SynergyServerError;
|
|
|
|
const v1, -0x11172
|
|
|
|
.line 250
|
|
invoke-virtual {p1, v1}, Lcom/ea/nimble/SynergyServerError;->isError(I)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_4
|
|
|
|
iget-object p1, p0, Lcom/ea/nimble/SynergyEnvironmentUpdater$1;->this$0:Lcom/ea/nimble/SynergyEnvironmentUpdater;
|
|
|
|
.line 252
|
|
new-instance v1, Lcom/ea/nimble/Error;
|
|
|
|
sget-object v2, Lcom/ea/nimble/Error$Code;->SYNERGY_SERVER_FULL:Lcom/ea/nimble/Error$Code;
|
|
|
|
const-string v3, "Synergy ServerUnavailable signal received."
|
|
|
|
invoke-direct {v1, v2, v3, v0}, Lcom/ea/nimble/Error;-><init>(Lcom/ea/nimble/Error$Code;Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
invoke-static {p1, v1}, Lcom/ea/nimble/SynergyEnvironmentUpdater;->access$200(Lcom/ea/nimble/SynergyEnvironmentUpdater;Ljava/lang/Exception;)V
|
|
|
|
return-void
|
|
|
|
:cond_1
|
|
iget-object p1, p0, Lcom/ea/nimble/SynergyEnvironmentUpdater$1;->this$0:Lcom/ea/nimble/SynergyEnvironmentUpdater;
|
|
|
|
.line 260
|
|
invoke-static {p1, v0}, Lcom/ea/nimble/SynergyEnvironmentUpdater;->access$300(Lcom/ea/nimble/SynergyEnvironmentUpdater;Ljava/lang/Exception;)Z
|
|
|
|
move-result p1
|
|
|
|
if-nez p1, :cond_2
|
|
|
|
iget-object v1, p0, Lcom/ea/nimble/SynergyEnvironmentUpdater$1;->this$0:Lcom/ea/nimble/SynergyEnvironmentUpdater;
|
|
|
|
.line 261
|
|
invoke-static {v1}, Lcom/ea/nimble/SynergyEnvironmentUpdater;->access$400(Lcom/ea/nimble/SynergyEnvironmentUpdater;)J
|
|
|
|
move-result-wide v1
|
|
|
|
const-wide/16 v3, 0x3
|
|
|
|
cmp-long v1, v1, v3
|
|
|
|
if-gez v1, :cond_2
|
|
|
|
iget-object p1, p0, Lcom/ea/nimble/SynergyEnvironmentUpdater$1;->this$0:Lcom/ea/nimble/SynergyEnvironmentUpdater;
|
|
|
|
.line 263
|
|
invoke-static {p1}, Lcom/ea/nimble/SynergyEnvironmentUpdater;->access$408(Lcom/ea/nimble/SynergyEnvironmentUpdater;)J
|
|
|
|
iget-object p1, p0, Lcom/ea/nimble/SynergyEnvironmentUpdater$1;->this$0:Lcom/ea/nimble/SynergyEnvironmentUpdater;
|
|
|
|
.line 266
|
|
invoke-static {p1}, Lcom/ea/nimble/SynergyEnvironmentUpdater;->access$400(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, "GetDirection, call failed. Making retry attempt number %d."
|
|
|
|
.line 265
|
|
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$1;->this$0:Lcom/ea/nimble/SynergyEnvironmentUpdater;
|
|
|
|
.line 268
|
|
invoke-static {p1}, Lcom/ea/nimble/SynergyEnvironmentUpdater;->access$500(Lcom/ea/nimble/SynergyEnvironmentUpdater;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
iget-object v1, p0, Lcom/ea/nimble/SynergyEnvironmentUpdater$1;->this$0:Lcom/ea/nimble/SynergyEnvironmentUpdater;
|
|
|
|
const-wide/16 v2, 0x0
|
|
|
|
.line 272
|
|
invoke-static {v1, v2, v3}, Lcom/ea/nimble/SynergyEnvironmentUpdater;->access$402(Lcom/ea/nimble/SynergyEnvironmentUpdater;J)J
|
|
|
|
if-eqz p1, :cond_3
|
|
|
|
iget-object p1, p0, Lcom/ea/nimble/SynergyEnvironmentUpdater$1;->this$0:Lcom/ea/nimble/SynergyEnvironmentUpdater;
|
|
|
|
.line 275
|
|
new-instance v1, Lcom/ea/nimble/Error;
|
|
|
|
sget-object v2, Lcom/ea/nimble/Error$Code;->SYNERGY_GET_DIRECTION_TIMEOUT:Lcom/ea/nimble/Error$Code;
|
|
|
|
const-string v3, "Synergy /getDirectionByPackage request timed out."
|
|
|
|
invoke-direct {v1, v2, v3, v0}, Lcom/ea/nimble/Error;-><init>(Lcom/ea/nimble/Error$Code;Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
invoke-static {p1, v1}, Lcom/ea/nimble/SynergyEnvironmentUpdater;->access$200(Lcom/ea/nimble/SynergyEnvironmentUpdater;Ljava/lang/Exception;)V
|
|
|
|
return-void
|
|
|
|
:cond_3
|
|
iget-object p1, p0, Lcom/ea/nimble/SynergyEnvironmentUpdater$1;->this$0:Lcom/ea/nimble/SynergyEnvironmentUpdater;
|
|
|
|
.line 280
|
|
invoke-static {p1, v0}, Lcom/ea/nimble/SynergyEnvironmentUpdater;->access$200(Lcom/ea/nimble/SynergyEnvironmentUpdater;Ljava/lang/Exception;)V
|
|
|
|
:cond_4
|
|
:goto_0
|
|
return-void
|
|
.end method
|