// // GameManager::getIntGameVariable from 0x140183710 to 0x1401837ea (218 bytes) // // 45 xrefs: // > CreatorLayer::onMyLevels @ 0x14009d3b3 // > CreatorLayer::onMyLevels @ 0x14009d403 // > CreatorLayer::onMyLevels @ 0x14009d45b // > CreatorLayer::onMyLevels @ 0x14009d4a7 // > CreatorLayer::onSavedLevels @ 0x14009d5c0 // > CreatorLayer::onSavedLevels @ 0x14009d610 // > CreatorLayer::onSavedLevels @ 0x14009d662 // > CreatorLayer::onSavedLevels @ 0x14009d6ae // > EditLevelLayer::onLevelLeaderboard @ 0x1400d69cb // > EditorPauseLayer::onResume @ 0x1400dd753 // > EditorPauseLayer::onResume @ 0x1400dd79c // > EditorUI::reloadCustomItems @ 0x1400e4ce4 // > EditorUI::reloadCustomItems @ 0x1400e4d2d // > EditorUI::setupDeleteMenu @ 0x1400e58e2 // > EditorUI::setupDeleteMenu @ 0x1400e5a3a // > EditorUI::shouldDeleteObject @ 0x1400e6368 // > EditorUI::shouldDeleteObject @ 0x1400e63ca // > EditorUI::onGroupIDFilter @ 0x1400e721c // > EditorUI::onColorFilter @ 0x1400e72f4 // > EditorUI::updateDeleteButtons @ 0x1400e76f6 // > EditorUI::updateDeleteButtons @ 0x1400e77f5 // > EditorUI::setupCreateMenu @ 0x1400e8133 // > EditorUI::setupCreateMenu @ 0x1400e814b // > EditorUI::canSelectObject @ 0x1401103ae // > EditorUI::canSelectObject @ 0x1401103fa // > EditorUI::canSelectObject @ 0x14011044d // > EditorUI::canSelectObject @ 0x1401104d0 // > EditorUI::selectObjects @ 0x1401108f6 // > EditorUI::selectObjects @ 0x140110946 // > EditorUI::selectObjects @ 0x1401109e5 // > EditorUI::selectObjects @ 0x140110ab9 // > EditorUI::createMoveMenu @ 0x14011bdf2 // > EditorUI::createMoveMenu @ 0x14011be3a // > EndLevelLayer::onLevelLeaderboard @ 0x14013491c // > EndLevelLayer::onLevelLeaderboard @ 0x14013492d // > GameManager::dataLoaded @ 0x140188622 // > GameManager::dataLoaded @ 0x14018864b // > GameManager::firstLoad @ 0x1401887c8 // > EditorOptionsLayer::setupOptions @ 0x1402913a7 // > EditorOptionsLayer::setupOptions @ 0x1402913f3 // > EditorOptionsLayer::onClose @ 0x140291ae7 // > EditorOptionsLayer::onClose @ 0x140291b30 // > LevelInfoLayer::onLevelLeaderboard @ 0x1402f9d9b // > LevelInfoLayer::onLevelLeaderboard @ 0x1402f9dac // > @ 0x1406cb5bc // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // // Hidden C++ exception states: #wind=1 int GameManager::getIntGameVariable(GameManager *a1, const char *a2) { cocos2d::CCString *v3; // rax const char *CString; // rax size_t v5; // r8 cocos2d::CCString *v6; // rax int v7; // ebx void *v8; // rcx void *Block[2]; // [rsp+20h] [rbp-38h] BYREF __int128 v11; // [rsp+30h] [rbp-28h] v3 = cocos2d::CCString::createWithFormat("%s%s", "gv_", a2); CString = cocos2d::CCString::getCString(v3); *(_OWORD *)Block = 0; v11 = 0; v5 = -1; do ++v5; while ( CString[v5] ); sub_14003A930(Block, CString, v5); v6 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(a1->m_valueKeeper, Block); v7 = cocos2d::CCString::intValue(v6); if ( *((_QWORD *)&v11 + 1) > 0xFu ) { v8 = Block[0]; if ( (unsigned __int64)(*((_QWORD *)&v11 + 1) + 1LL) >= 0x1000 ) { v8 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v8 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v8); } return v7; }