//
// LocalLevelManager::sharedState from 0x10025e134 to 0x10025e204 (208 bytes)
//
// 62 xrefs:
// > sub_1000A6324 @ 0x1000a6338
// > GameLevelManager::createNewLevel @ 0x1000a6430
// > GameLevelManager::createNewLevel @ 0x1000a64c4
// > sub_1000A6658 @ 0x1000a66e4
// > GameLevelManager::deleteLevel @ 0x1000a6a48
// > sub_1000A6C58 @ 0x1000a6c6c
// > sub_1000A6CC4 @ 0x1000a6d68
// > sub_1000A6CC4 @ 0x1000a6e9c
// > GameLevelManager::deleteLevelList @ 0x1000a7034
// > sub_1000AE924 @ 0x1000aeb18
// > sub_1000AEBC0 @ 0x1000aee7c
// > sub_1000AF778 @ 0x1000af8ac
// > sub_1000CBCF8 @ 0x1000cbda4
// > sub_1000CDF34 @ 0x1000cdfa8
// > sub_100111434 @ 0x100111458
// > EditLevelLayer::verifyLevelName @ 0x100111e44
// > EditLevelLayer::FLAlert_Clicked @ 0x100112294
// > EditLevelLayer::FLAlert_Clicked @ 0x1001122b0
// > EditorUI::handleEditorAction @ 0x100163928
// > sub_10023BBA4 @ 0x10023cbb0
// > AppDelegate::setupGLView @ 0x100306e68
// > AppDelegate::applicationDidFinishLaunching @ 0x100307008
// > AppDelegate::applicationDidFinishLaunching @ 0x10030700c
// > AppDelegate::applicationWillTerminate @ 0x100307180
// > AppDelegate::trySaveGame @ 0x100307440
// > AppDelegate::trySaveGame @ 0x100307448
// > AppDelegate::trySaveGame @ 0x100307498
// > sub_1003074F8 @ 0x100307530
// > sub_1003074F8 @ 0x100307548
// > sub_1003E5450 @ 0x1003e548c
// > sub_1003F603C @ 0x1003f6094
// > sub_1003F603C @ 0x1003f60a4
// > sub_1003F603C @ 0x1003f60c0
// > sub_1003F603C @ 0x1003f60c8
// > sub_1003F603C @ 0x1003f6134
// > sub_1003F603C @ 0x1003f6144
// > sub_1003F603C @ 0x1003f616c
// > sub_1003F603C @ 0x1003f61d8
// > LevelEditorLayer::waitForAutoSave @ 0x1003f6564
// > LevelEditorLayer::saveLevel @ 0x100404ce0
// > LevelEditorLayer::saveLevel @ 0x100404ce8
// > LevelEditorLayer::canAutoSave @ 0x10040b350
// > LevelEditorLayer::doAutoSave @ 0x10040b52c
// > LevelEditorLayer::doAutoSave @ 0x10040b53c
// > LevelEditorLayer::doAutoSave @ 0x10040b54c
// > LevelEditorLayer::doAutoBackup @ 0x10040ba70
// > sub_1004149FC @ 0x100414a84
// > sub_100414B90 @ 0x100414ca8
// > EditorPauseLayer::saveLevel @ 0x1004449e8
// > EditorPauseLayer::FLAlert_Clicked @ 0x100444c10
// > GJAccountManager::onBackupAccountCompleted @ 0x100445c28
// > GJAccountManager::onSyncAccountCompleted @ 0x100445f28
// > GJAccountManager::backupAccount @ 0x100447614
// > GJAccountManager::backupAccount @ 0x10044761c
// > GJAccountManager::unlinkFromAccount @ 0x100447e94
// > sub_1004864C0 @ 0x100486504
// > LevelBrowserLayer::onExportSelected @ 0x10049721c
// > LevelBrowserLayer::onImportLevels @ 0x1004975e0
// > LevelBrowserLayer::loadPage @ 0x100498484
// > LevelBrowserLayer::loadPage @ 0x100498590
// > sub_100530FA8 @ 0x10053101c
// > sub_100531F3C @ 0x100531fb4
//
// 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 11:01:37 +0000
//
__int64 LocalLevelManager::sharedState()
{
__int64 result; // x0
char *v1; // x19
result = qword_1009F5410;
if ( !qword_1009F5410 )
{
v1 = (char *)operator new(0x270u);
cocos2d::CCNode::CCNode();
*((_QWORD *)v1 + 40) = 0;
*((_QWORD *)v1 + 41) = 0;
*((_QWORD *)v1 + 42) = 0;
*(_DWORD *)(v1 + 343) = 0;
*(_QWORD *)v1 = off_100910AF0;
*((_QWORD *)v1 + 44) = off_100910EC0;
*(_OWORD *)(v1 + 360) = 0u;
*(_OWORD *)(v1 + 376) = 0u;
*(_OWORD *)(v1 + 392) = 0u;
*((_DWORD *)v1 + 102) = 1065353216;
*((_OWORD *)v1 + 26) = 0u;
*((_OWORD *)v1 + 27) = 0u;
*((_OWORD *)v1 + 28) = 0u;
*((_QWORD *)v1 + 58) = 850045863;
*((_WORD *)v1 + 300) = 0;
*(_OWORD *)(v1 + 472) = 0u;
*(_OWORD *)(v1 + 488) = 0u;
*(_OWORD *)(v1 + 504) = 0u;
*(_OWORD *)(v1 + 520) = 0u;
*(_OWORD *)(v1 + 536) = 0u;
*(_OWORD *)(v1 + 552) = 0u;
*(_OWORD *)(v1 + 568) = 0u;
*(_OWORD *)(v1 + 584) = 0u;
*(_OWORD *)(v1 + 604) = xmmword_100762BF0;
qword_1009F5410 = (__int64)v1;
std::string::assign((std::string *)(v1 + 320), "CCLocalLevels.dat");
(*(void (__fastcall **)(char *))(*(_QWORD *)v1 + 896LL))(v1);
return qword_1009F5410;
}
return result;
}