//
// LocalLevelManager::sharedState from 0x910738 to 0x910854 (284 bytes)
//
// 65 xrefs:
// > Java_com_customRobTop_JniToCpp_fileShareFinished @ 0x6426ec
// > Java_com_customRobTop_JniToCpp_filesPicked @ 0x642ae0
// > AppDelegate::applicationWillTerminate @ 0x6e64b8
// > AppDelegate::trySaveGame @ 0x6e66b8
// > AppDelegate::trySaveGame @ 0x6e66c0
// > AppDelegate::trySaveGame @ 0x6e66e8
// > AppDelegate::setupGLView @ 0x6e6804
// > AppDelegate::applicationDidFinishLaunching @ 0x6e6a2c
// > AppDelegate::applicationDidFinishLaunching @ 0x6e6a30
// > LevelTools::getLevel @ 0x73053c
// > sub_7888C8 @ 0x7889a8
// > LevelEditorLayer::canAutoSave @ 0x78f3b4
// > LevelEditorLayer::waitForAutoSave @ 0x78f4ec
// > sub_7985D0 @ 0x7986f4
// > LevelEditorLayer::~LevelEditorLayer @ 0x7988b8
// > LevelEditorLayer::~LevelEditorLayer @ 0x7988c8
// > LevelEditorLayer::~LevelEditorLayer @ 0x7988e8
// > LevelEditorLayer::~LevelEditorLayer @ 0x798e48
// > LevelEditorLayer::~LevelEditorLayer @ 0x798e50
// > LevelEditorLayer::~LevelEditorLayer @ 0x798f04
// > LevelEditorLayer::~LevelEditorLayer @ 0x798f2c
// > LevelEditorLayer::~LevelEditorLayer @ 0x798f88
// > LevelEditorLayer::saveLevel @ 0x7a7c88
// > LevelEditorLayer::saveLevel @ 0x7a7c90
// > LevelEditorLayer::doAutoSave @ 0x7a7f48
// > LevelEditorLayer::doAutoSave @ 0x7a7f58
// > LevelEditorLayer::doAutoSave @ 0x7a7f7c
// > LevelEditorLayer::doAutoBackup @ 0x7a85cc
// > EditLevelLayer::onMoveToTop @ 0x7edfc4
// > EditLevelLayer::onMoveToBottom @ 0x7edfe8
// > EditLevelLayer::onExportLevel @ 0x7ee21c
// > EditLevelLayer::verifyLevelName @ 0x7eeb8c
// > LevelBrowserLayer::onExportSelected @ 0x7f73f4
// > LevelBrowserLayer::loadPage @ 0x7f8e60
// > LevelBrowserLayer::loadPage @ 0x7f8e74
// > LevelBrowserLayer::onImportLevels @ 0x7fc02c
// > GameLevelManager::getLocalLevel @ 0x7ff4a8
// > GameLevelManager::getLocalLevelList @ 0x7ff50c
// > GameLevelManager::deleteLevelList @ 0x8019bc
// > GameLevelManager::getAllUsedSongIDs @ 0x804fd0
// > GameLevelManager::getPlatformerSaveStats @ 0x805eb0
// > GameLevelManager::getLocalLevelByName @ 0x80a484
// > GameLevelManager::levelControlInstances @ 0x813a0c
// > GameLevelManager::getNextLevelName @ 0x81d450
// > GameLevelManager::createNewLevel @ 0x83c0d8
// > GameLevelManager::createNewLevel @ 0x83c1c4
// > GameLevelManager::clearPlatformerSaves @ 0x83cb84
// > GameLevelManager::replayPlatformerSaveJournal @ 0x845390
// > GameLevelManager::createNewLevelList @ 0x84611c
// > GameLevelManager::createNewLevelList @ 0x846218
// > GameLevelManager::deleteLevel @ 0x84fa3c
// > EditorPauseLayer::saveLevel @ 0x8b6d60
// > EditorPauseLayer::FLAlert_Clicked @ 0x8b70d0
// > LevelPage::playStep3 @ 0x8c85a0
// > GJAccountManager::unlinkFromAccount @ 0x988788
// > GJAccountManager::onBackupAccountCompleted @ 0x988970
// > GJAccountManager::onSyncAccountCompleted @ 0x989e5c
// > GJAccountManager::backupAccount @ 0x98ad34
// > GJAccountManager::backupAccount @ 0x98ad3c
// > GJWorldNode::playStep3 @ 0xaa5d20
// > LevelAreaInnerLayer::playStep1 @ 0xb5b8a4
// > EditorUI::handleEditorAction @ 0xbd8548
// > AutoBackupPopup::onRestore @ 0xc53260
// > AutoBackupPopup::listBackups @ 0xc55d30
// > ??> @ 0x8d9e8
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:57:16 +0000
//
__int64 __fastcall LocalLevelManager::sharedState(LocalLevelManager *this)
{
__int64 result; // x0
__int64 v2; // x19
result = qword_155CE70;
if ( !qword_155CE70 )
{
v2 = operator new(0x258u);
cocos2d::CCNode::CCNode((cocos2d::CCNode *)v2);
*(_QWORD *)(v2 + 320) = 0;
*(_QWORD *)(v2 + 328) = 0;
*(_QWORD *)(v2 + 336) = 0;
*(_BYTE *)(v2 + 344) = 0;
*(_BYTE *)(v2 + 345) = 0;
*(_BYTE *)(v2 + 346) = 0;
*(float *)(v2 + 408) = 1.0;
*(_QWORD *)(v2 + 360) = 0;
*(_QWORD *)(v2 + 368) = 0;
*(_QWORD *)(v2 + 376) = 0;
*(_QWORD *)v2 = &off_14670A0;
*(_QWORD *)(v2 + 352) = &off_1467470;
*(_QWORD *)(v2 + 384) = 0;
*(_QWORD *)(v2 + 392) = 0;
*(_QWORD *)(v2 + 400) = 0;
*(_QWORD *)(v2 + 416) = 0;
*(_QWORD *)(v2 + 424) = 0;
*(_QWORD *)(v2 + 432) = 0;
*(_QWORD *)(v2 + 440) = 0;
*(_QWORD *)(v2 + 448) = 0;
*(_QWORD *)(v2 + 456) = 0;
*(_QWORD *)(v2 + 464) = 0;
*(_QWORD *)(v2 + 472) = 0;
*(_QWORD *)(v2 + 480) = 0;
*(_QWORD *)(v2 + 488) = 0;
*(_QWORD *)(v2 + 496) = 0;
*(_QWORD *)(v2 + 504) = 0;
*(_QWORD *)(v2 + 512) = 0;
*(_QWORD *)(v2 + 520) = 0;
*(_QWORD *)(v2 + 528) = 0;
*(_QWORD *)(v2 + 536) = 0;
*(_QWORD *)(v2 + 544) = 0;
*(_QWORD *)(v2 + 552) = 0;
*(_QWORD *)(v2 + 560) = 0;
*(_QWORD *)(v2 + 568) = 0;
*(_DWORD *)(v2 + 588) = -1;
*(_DWORD *)(v2 + 592) = -1;
*(_BYTE *)(v2 + 576) = 0;
*(_BYTE *)(v2 + 577) = 0;
*(_DWORD *)(v2 + 580) = 0;
*(_DWORD *)(v2 + 584) = 0;
qword_155CE70 = v2;
LocalLevelManager::init((LocalLevelManager *)v2);
return qword_155CE70;
}
return result;
}