- 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
74 lines
2.0 KiB
Smali
74 lines
2.0 KiB
Smali
.class public Lcom/singular/sdk/internal/BroadcastReceivers$NetworkChange;
|
|
.super Landroid/content/BroadcastReceiver;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/singular/sdk/internal/BroadcastReceivers;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x9
|
|
name = "NetworkChange"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final singular:Lcom/singular/sdk/internal/SingularInstance;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/singular/sdk/internal/SingularInstance;)V
|
|
.locals 0
|
|
|
|
.line 34
|
|
invoke-direct {p0}, Landroid/content/BroadcastReceiver;-><init>()V
|
|
|
|
iput-object p1, p0, Lcom/singular/sdk/internal/BroadcastReceivers$NetworkChange;->singular:Lcom/singular/sdk/internal/SingularInstance;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public onReceive(Landroid/content/Context;Landroid/content/Intent;)V
|
|
.locals 2
|
|
|
|
.line 40
|
|
invoke-static {}, Lcom/singular/sdk/internal/BroadcastReceivers;->access$000()Lcom/singular/sdk/internal/SingularLog;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p2}, Landroid/content/Intent;->getAction()Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
filled-new-array {p2}, [Ljava/lang/Object;
|
|
|
|
move-result-object p2
|
|
|
|
const-string v1, "onReceive() action=%s "
|
|
|
|
invoke-virtual {v0, v1, p2}, Lcom/singular/sdk/internal/SingularLog;->debug(Ljava/lang/String;[Ljava/lang/Object;)I
|
|
|
|
.line 41
|
|
invoke-static {p1}, Lcom/singular/sdk/internal/Utils;->isConnected(Landroid/content/Context;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
iget-object p1, p0, Lcom/singular/sdk/internal/BroadcastReceivers$NetworkChange;->singular:Lcom/singular/sdk/internal/SingularInstance;
|
|
|
|
.line 44
|
|
invoke-virtual {p1}, Lcom/singular/sdk/internal/SingularInstance;->getApiManager()Lcom/singular/sdk/internal/ApiManager;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Lcom/singular/sdk/internal/ApiManager;->wakeUp()V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|