Files
rr3-apk/smali_classes2/com/ea/nimble/SynergyNetworkImpl$1.smali
Daniel Elliott f3960ee359 Add Discord APKTool decompilation (Smali source for modding)
- 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
2026-02-18 16:13:44 -08:00

134 lines
3.3 KiB
Smali

.class Lcom/ea/nimble/SynergyNetworkImpl$1;
.super Landroid/content/BroadcastReceiver;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/ea/nimble/SynergyNetworkImpl;->restore()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lcom/ea/nimble/SynergyNetworkImpl;
# direct methods
.method public constructor <init>(Lcom/ea/nimble/SynergyNetworkImpl;)V
.locals 0
iput-object p1, p0, Lcom/ea/nimble/SynergyNetworkImpl$1;->this$0:Lcom/ea/nimble/SynergyNetworkImpl;
.line 64
invoke-direct {p0}, Landroid/content/BroadcastReceiver;-><init>()V
return-void
.end method
# virtual methods
.method public onReceive(Landroid/content/Context;Landroid/content/Intent;)V
.locals 3
const-string p1, "result"
.line 68
invoke-virtual {p2, p1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;
move-result-object p1
.line 69
new-instance p2, Ljava/util/ArrayList;
iget-object v0, p0, Lcom/ea/nimble/SynergyNetworkImpl$1;->this$0:Lcom/ea/nimble/SynergyNetworkImpl;
invoke-static {v0}, Lcom/ea/nimble/SynergyNetworkImpl;->access$000(Lcom/ea/nimble/SynergyNetworkImpl;)Ljava/util/ArrayList;
move-result-object v0
invoke-direct {p2, v0}, Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V
if-eqz p1, :cond_0
const-string v0, "0"
.line 70
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result p1
if-eqz p1, :cond_0
.line 72
invoke-virtual {p2}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;
move-result-object p1
:goto_0
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
move-result p2
if-eqz p2, :cond_1
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object p2
check-cast p2, Lcom/ea/nimble/SynergyNetworkConnection;
.line 75
new-instance v0, Lcom/ea/nimble/Error;
sget-object v1, Lcom/ea/nimble/Error$Code;->SYNERGY_ENVIRONMENT_UPDATE_FAILURE:Lcom/ea/nimble/Error$Code;
const-string v2, "Failed to retrieve Environment data from Synergy"
invoke-direct {v0, v1, v2}, Lcom/ea/nimble/Error;-><init>(Lcom/ea/nimble/Error$Code;Ljava/lang/String;)V
invoke-virtual {p2, v0}, Lcom/ea/nimble/SynergyNetworkConnection;->errorPriorToSend(Ljava/lang/Exception;)V
goto :goto_0
.line 80
:cond_0
invoke-virtual {p2}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;
move-result-object p1
:goto_1
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
move-result p2
if-eqz p2, :cond_1
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object p2
check-cast p2, Lcom/ea/nimble/SynergyNetworkConnection;
.line 82
invoke-virtual {p2}, Lcom/ea/nimble/SynergyNetworkConnection;->start()V
goto :goto_1
:cond_1
iget-object p1, p0, Lcom/ea/nimble/SynergyNetworkImpl$1;->this$0:Lcom/ea/nimble/SynergyNetworkImpl;
.line 85
invoke-static {p1}, Lcom/ea/nimble/SynergyNetworkImpl;->access$000(Lcom/ea/nimble/SynergyNetworkImpl;)Ljava/util/ArrayList;
move-result-object p1
invoke-virtual {p1}, Ljava/util/ArrayList;->clear()V
return-void
.end method