- 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
307 lines
7.6 KiB
Smali
307 lines
7.6 KiB
Smali
.class public Lcom/firemonkeys/cloudcellapi/CC_Activity;
|
|
.super Landroid/app/Activity;
|
|
.source "SourceFile"
|
|
|
|
|
|
# static fields
|
|
.field private static s_instance:Landroid/app/Activity;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 12
|
|
invoke-direct {p0}, Landroid/app/Activity;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static GetActivity()Landroid/app/Activity;
|
|
.locals 1
|
|
|
|
sget-object v0, Lcom/firemonkeys/cloudcellapi/CC_Activity;->s_instance:Landroid/app/Activity;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static GetGLSurfaceView()Landroid/opengl/GLSurfaceView;
|
|
.locals 1
|
|
|
|
.line 54
|
|
invoke-static {}, Lcom/firemonkeys/cloudcellapi/CC_Component;->GetGLSurfaceView()Landroid/opengl/GLSurfaceView;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static GetSurfaceView()Landroid/view/SurfaceView;
|
|
.locals 1
|
|
|
|
.line 49
|
|
invoke-static {}, Lcom/firemonkeys/cloudcellapi/CC_Component;->GetSurfaceView()Landroid/view/SurfaceView;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static GetViewGroup()Landroid/view/ViewGroup;
|
|
.locals 1
|
|
|
|
.line 59
|
|
invoke-static {}, Lcom/firemonkeys/cloudcellapi/CC_Component;->GetViewGroup()Landroid/view/ViewGroup;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static canCallSuspendResume()V
|
|
.locals 0
|
|
|
|
.line 20
|
|
invoke-static {}, Lcom/firemonkeys/cloudcellapi/CC_Component;->canCallSuspendResume()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static getNetworkConnectivity()I
|
|
.locals 1
|
|
|
|
.line 89
|
|
invoke-static {}, Lcom/firemonkeys/cloudcellapi/CC_Component;->getNetworkConnectivity()I
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public static getStaticSystemService(Ljava/lang/String;)Ljava/lang/Object;
|
|
.locals 0
|
|
|
|
.line 64
|
|
invoke-static {p0}, Lcom/firemonkeys/cloudcellapi/CC_Component;->getStaticSystemService(Ljava/lang/String;)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static runOnGLThreadonCloudell(Ljava/lang/Runnable;)V
|
|
.locals 0
|
|
|
|
.line 94
|
|
invoke-static {p0}, Lcom/firemonkeys/cloudcellapi/CC_Component;->runOnGLThreadonCloudell(Ljava/lang/Runnable;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static setServiceStarted(Z)V
|
|
.locals 0
|
|
|
|
.line 79
|
|
invoke-static {p0}, Lcom/firemonkeys/cloudcellapi/CC_Component;->setServiceStarted(Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static startDownloadService()V
|
|
.locals 0
|
|
|
|
.line 74
|
|
invoke-static {}, Lcom/firemonkeys/cloudcellapi/CC_Component;->startDownloadService()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static staticStartActivity(Landroid/content/Intent;)V
|
|
.locals 0
|
|
|
|
.line 69
|
|
invoke-static {p0}, Lcom/firemonkeys/cloudcellapi/CC_Component;->staticStartActivity(Landroid/content/Intent;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static stopDownloadService()V
|
|
.locals 0
|
|
|
|
.line 84
|
|
invoke-static {}, Lcom/firemonkeys/cloudcellapi/CC_Component;->stopDownloadService()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public clearInstances()V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
sput-object v0, Lcom/firemonkeys/cloudcellapi/CC_Activity;->s_instance:Landroid/app/Activity;
|
|
|
|
.line 39
|
|
invoke-static {}, Lcom/firemonkeys/cloudcellapi/CC_Component;->GetInstance()Lcom/firemonkeys/cloudcellapi/CC_Component;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Lcom/firemonkeys/cloudcellapi/CC_Component;->clearInstances()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onActivityResult(IILandroid/content/Intent;)V
|
|
.locals 1
|
|
|
|
.line 26
|
|
invoke-super {p0, p1, p2, p3}, Landroid/app/Activity;->onActivityResult(IILandroid/content/Intent;)V
|
|
|
|
.line 27
|
|
invoke-static {}, Lcom/firemonkeys/cloudcellapi/CC_Component;->GetInstance()Lcom/firemonkeys/cloudcellapi/CC_Component;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0, p1, p2, p3}, Lcom/firemonkeys/cloudcellapi/CC_Component;->onActivityResult(IILandroid/content/Intent;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onCreate(Landroid/os/Bundle;)V
|
|
.locals 1
|
|
|
|
.line 100
|
|
invoke-super {p0, p1}, Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V
|
|
|
|
sput-object p0, Lcom/firemonkeys/cloudcellapi/CC_Activity;->s_instance:Landroid/app/Activity;
|
|
|
|
.line 104
|
|
invoke-static {}, Lcom/facebook/FacebookSdk;->isInitialized()Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 106
|
|
invoke-virtual {p0}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v0}, Lcom/facebook/FacebookSdk;->sdkInitialize(Landroid/content/Context;)V
|
|
|
|
.line 109
|
|
:cond_0
|
|
invoke-static {}, Lcom/firemonkeys/cloudcellapi/CC_Component;->GetInstance()Lcom/firemonkeys/cloudcellapi/CC_Component;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0, p0, p1}, Lcom/firemonkeys/cloudcellapi/CC_Component;->onCreate(Landroid/app/Activity;Landroid/os/Bundle;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onDestroy()V
|
|
.locals 1
|
|
|
|
.line 143
|
|
invoke-super {p0}, Landroid/app/Activity;->onDestroy()V
|
|
|
|
.line 144
|
|
invoke-static {}, Lcom/firemonkeys/cloudcellapi/CC_Component;->GetInstance()Lcom/firemonkeys/cloudcellapi/CC_Component;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Lcom/firemonkeys/cloudcellapi/CC_Component;->onDestroy()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onPause()V
|
|
.locals 1
|
|
|
|
.line 129
|
|
invoke-super {p0}, Landroid/app/Activity;->onPause()V
|
|
|
|
.line 130
|
|
invoke-static {}, Lcom/firemonkeys/cloudcellapi/CC_Component;->GetInstance()Lcom/firemonkeys/cloudcellapi/CC_Component;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Lcom/firemonkeys/cloudcellapi/CC_Component;->onPause()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onResume()V
|
|
.locals 1
|
|
|
|
.line 136
|
|
invoke-super {p0}, Landroid/app/Activity;->onResume()V
|
|
|
|
.line 137
|
|
invoke-static {}, Lcom/firemonkeys/cloudcellapi/CC_Component;->GetInstance()Lcom/firemonkeys/cloudcellapi/CC_Component;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Lcom/firemonkeys/cloudcellapi/CC_Component;->onResume()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onStart()V
|
|
.locals 1
|
|
|
|
.line 115
|
|
invoke-super {p0}, Landroid/app/Activity;->onStart()V
|
|
|
|
.line 116
|
|
invoke-static {}, Lcom/firemonkeys/cloudcellapi/CC_Component;->GetInstance()Lcom/firemonkeys/cloudcellapi/CC_Component;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Lcom/firemonkeys/cloudcellapi/CC_Component;->onStart()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onStop()V
|
|
.locals 1
|
|
|
|
.line 122
|
|
invoke-super {p0}, Landroid/app/Activity;->onStop()V
|
|
|
|
.line 123
|
|
invoke-static {}, Lcom/firemonkeys/cloudcellapi/CC_Component;->GetInstance()Lcom/firemonkeys/cloudcellapi/CC_Component;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Lcom/firemonkeys/cloudcellapi/CC_Component;->onStop()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setInstances(Landroid/view/SurfaceView;Landroid/view/ViewGroup;)V
|
|
.locals 2
|
|
|
|
sput-object p0, Lcom/firemonkeys/cloudcellapi/CC_Activity;->s_instance:Landroid/app/Activity;
|
|
|
|
.line 33
|
|
invoke-static {}, Lcom/firemonkeys/cloudcellapi/CC_Component;->GetInstance()Lcom/firemonkeys/cloudcellapi/CC_Component;
|
|
|
|
move-result-object v0
|
|
|
|
sget-object v1, Lcom/firemonkeys/cloudcellapi/CC_Activity;->s_instance:Landroid/app/Activity;
|
|
|
|
invoke-virtual {v0, v1, p1, p2}, Lcom/firemonkeys/cloudcellapi/CC_Component;->setInstances(Landroid/app/Activity;Landroid/view/SurfaceView;Landroid/view/ViewGroup;)V
|
|
|
|
return-void
|
|
.end method
|