{"type": "func", "start": 4298561168, "end": 4298561250, "name": "GameManager::getIntGameVariable", "pseudocode": "// \n// GameManager::getIntGameVariable from 0x10036d690 to 0x10036d6e2 (82 bytes)\n// \n// 98 xrefs:\n// > EditorUI::init @ 0x100005342\n// > EditorUI::init @ 0x1000053a4\n// > EditorUI::shouldDeleteObject @ 0x10000fe63\n// > EditorUI::shouldDeleteObject @ 0x10000fec8\n// > EditorUI::onGroupIDFilter @ 0x10001062d\n// > EditorUI::onColorFilter @ 0x100010729\n// > PlayLayer::resetLevel @ 0x10008d0d1\n// > sub_1000BD710 @ 0x1000bd749\n// > sub_1000BD710 @ 0x1000bd887\n// > EditLevelLayer::onLevelLeaderboard @ 0x1001df87c\n// > CreatorLayer::onSavedLevels @ 0x100283057\n// > CreatorLayer::onSavedLevels @ 0x100283072\n// > CreatorLayer::onSavedLevels @ 0x10028308a\n// > CreatorLayer::onSavedLevels @ 0x1002830ad\n// > CreatorLayer::onMyLevels @ 0x100283892\n// > CreatorLayer::onMyLevels @ 0x1002838ad\n// > CreatorLayer::onMyLevels @ 0x1002838c5\n// > CreatorLayer::onMyLevels @ 0x1002838e8\n// > EditorOptionsLayer::setupOptions @ 0x100288805\n// > EditorOptionsLayer::setupOptions @ 0x10028881f\n// > EditorOptionsLayer::onClose @ 0x100288eef\n// > EditorOptionsLayer::onClose @ 0x100288f06\n// > LevelInfoLayer::onLevelLeaderboard @ 0x1002ae59b\n// > LevelInfoLayer::onLevelLeaderboard @ 0x1002ae5b2\n// > EndLevelLayer::onLevelLeaderboard @ 0x1004bb252\n// > EndLevelLayer::onLevelLeaderboard @ 0x1004bb269\n// > GameLevelManager::getGJUserInfo @ 0x100567406\n// > GameLevelManager::notificationMask @ 0x100567725\n// > GameLevelManager::getNotifications @ 0x100575a93\n// > EditorUI::canSelectObject @ 0x1005b8861\n// > EditorUI::canSelectObject @ 0x1005b887a\n// > EditorUI::canSelectObject @ 0x1005b8896\n// > EditorUI::canSelectObject @ 0x1005b88bc\n// > EditorUI::selectObjects @ 0x1005b8a44\n// > EditorUI::selectObjects @ 0x1005b8a61\n// > EditorUI::selectObjects @ 0x1005b8ae0\n// > EditorUI::selectObjects @ 0x1005b8b76\n// > sub_1005B9640 @ 0x1005b9659\n// > sub_1005B9640 @ 0x1005b9679\n// > sub_1005B9640 @ 0x1005b9692\n// > AutoSaveSettingsLayer::getValue @ 0x1005bdbdf\n// > AutoSaveSettingsLayer::getValue @ 0x1005bdc02\n// > sub_1005BE030 @ 0x1005be043\n// > GameSettingsLayer::addSpecialContent @ 0x100600ec2\n// > GameSettingsLayer::addSpecialContent @ 0x100600edc\n// > GameSettingsLayer::onClose @ 0x1006034e0\n// > GameSettingsLayer::onClose @ 0x1006034f7\n// > EditorUI::handleEditorAction @ 0x10060bdd4\n// > EditorUI::setupCreateMenu @ 0x10061affb\n// > EditorUI::setupCreateMenu @ 0x10061b012\n// > EditorUI::createMoveMenu @ 0x10063a0f9\n// > EditorUI::createMoveMenu @ 0x10063a110\n// > EditorUI::setupDeleteMenu @ 0x10063baa3\n// > EditorUI::setupDeleteMenu @ 0x10063bb8a\n// > EditorUI::updateDeleteButtons @ 0x10063bda3\n// > EditorUI::updateDeleteButtons @ 0x10063be59\n// > EditorUI::onNewCustomItem @ 0x10063c83d\n// > EditorUI::onNewCustomItem @ 0x10063c854\n// > EditorUI::reloadCustomItems @ 0x10063c91d\n// > EditorUI::reloadCustomItems @ 0x10063c934\n// > EditorUI::onDeleteCustomItem @ 0x10063c9b4\n// > EditorUI::onDeleteCustomItem @ 0x10063c9cb\n// > EditorUI::orderUpCustomItem @ 0x10063ca6b\n// > EditorUI::orderUpCustomItem @ 0x10063ca82\n// > EditorUI::orderDownCustomItem @ 0x10063cb28\n// > EditorUI::orderDownCustomItem @ 0x10063cb3f\n// > EditorUI::recreateButtonTabs @ 0x10063cbb7\n// > EditorUI::recreateButtonTabs @ 0x10063cbce\n// > sub_100886760 @ 0x100886788\n// > sub_100886760 @ 0x1008867c4\n// > sub_100886AE0 @ 0x100886af5\n// > ParentalPrivacyPopup::startWithScore @ 0x100887431\n// > ParentalPrivacyPopup::startWithScore @ 0x100887459\n// > ParentalPrivacyPopup::startWithScore @ 0x1008874a4\n// > ParentalPrivacyPopup::startWithScore @ 0x100887557\n// > ParentalPrivacyPopup::startWithScore @ 0x10088757e\n// > sub_1008879E0 @ 0x100887a03\n// > sub_1008879E0 @ 0x100887a48\n// > ParentalPrivacyPopup::updateSettingsFinished @ 0x100887cf1\n// > ParentalPrivacyPopup::updateSettingsFinished @ 0x100887d1d\n// > ParentalPrivacyPopup::updateSettingsFinished @ 0x100887d74\n// > ParentalPrivacyPopup::updateSettingsFinished @ 0x100887e2b\n// > ParentalPrivacyPopup::updateSettingsFinished @ 0x100887e56\n// > sub_1008BC130 @ 0x1008bc143\n// > DeathMarkerLayer::init @ 0x1008bc3a1\n// > DeathMarkerSettingsPopup::init @ 0x1008c6e50\n// > DeathMarkerSettingsPopup::init @ 0x1008c7207\n// > FindObjectPopup::onBuildWindowContent @ 0x10090608f\n// > PlayLayer::tryShowDeathMarkers @ 0x10096146f\n// > NotificationFilterPopup::init @ 0x10098cc47\n// > NotificationFilterPopup::savedMask @ 0x10098d313\n// > NotificationFilterPopup::onFriendUploads @ 0x10098d34d\n// > NotificationFilterPopup::onFollowUploads @ 0x10098d38d\n// > NotificationFilterPopup::onDownloadMilestones @ 0x10098d3cd\n// > NotificationFilterPopup::onFollowerMilestones @ 0x10098d40d\n// > NotificationFilterPopup::onFriendRated @ 0x10098d44d\n// > NotificationFilterPopup::onFriendAccepts @ 0x10098d48d\n// > NotificationFilterPopup::toggleSource @ 0x10098d510\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:29:01 +0000\n// \n\n__int64 __fastcall GameManager::getIntGameVariable(__int64 a1, const std::string::value_type *a2)\n{\n  void *v2; // rax\n  __int64 result; // rax\n  unsigned int v4; // ebx\n  std::string v5; // [rsp+0h] [rbp-20h] BYREF\n\n  v5.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)6;\n  *(_DWORD *)((char *)&v5.__r_.__value_.__l.0 + 1) = 6256231;\n  std::string::append(&v5, a2);\n  v2 = cocos2d::CCDictionary::valueForKey(*(_QWORD *)(a1 + 424), (__int64)&v5);\n  result = cocos2d::CCString::intValue(v2);\n  if ( (*(_BYTE *)&v5.__r_.__value_.__s.0 & 1) != 0 )\n  {\n    v4 = result;\n    operator delete(v5.__r_.__value_.__l.__data_);\n    return v4;\n  }\n  return result;\n}", "assembly": "; \n; GameManager::getIntGameVariable from 0x10036d690 to 0x10036d6e2 (82 bytes)\n; \n; 98 xrefs:\n; > EditorUI::init @ 0x100005342\n; > EditorUI::init @ 0x1000053a4\n; > EditorUI::shouldDeleteObject @ 0x10000fe63\n; > EditorUI::shouldDeleteObject @ 0x10000fec8\n; > EditorUI::onGroupIDFilter @ 0x10001062d\n; > EditorUI::onColorFilter @ 0x100010729\n; > PlayLayer::resetLevel @ 0x10008d0d1\n; > sub_1000BD710 @ 0x1000bd749\n; > sub_1000BD710 @ 0x1000bd887\n; > EditLevelLayer::onLevelLeaderboard @ 0x1001df87c\n; > CreatorLayer::onSavedLevels @ 0x100283057\n; > CreatorLayer::onSavedLevels @ 0x100283072\n; > CreatorLayer::onSavedLevels @ 0x10028308a\n; > CreatorLayer::onSavedLevels @ 0x1002830ad\n; > CreatorLayer::onMyLevels @ 0x100283892\n; > CreatorLayer::onMyLevels @ 0x1002838ad\n; > CreatorLayer::onMyLevels @ 0x1002838c5\n; > CreatorLayer::onMyLevels @ 0x1002838e8\n; > EditorOptionsLayer::setupOptions @ 0x100288805\n; > EditorOptionsLayer::setupOptions @ 0x10028881f\n; > EditorOptionsLayer::onClose @ 0x100288eef\n; > EditorOptionsLayer::onClose @ 0x100288f06\n; > LevelInfoLayer::onLevelLeaderboard @ 0x1002ae59b\n; > LevelInfoLayer::onLevelLeaderboard @ 0x1002ae5b2\n; > EndLevelLayer::onLevelLeaderboard @ 0x1004bb252\n; > EndLevelLayer::onLevelLeaderboard @ 0x1004bb269\n; > GameLevelManager::getGJUserInfo @ 0x100567406\n; > GameLevelManager::notificationMask @ 0x100567725\n; > GameLevelManager::getNotifications @ 0x100575a93\n; > EditorUI::canSelectObject @ 0x1005b8861\n; > EditorUI::canSelectObject @ 0x1005b887a\n; > EditorUI::canSelectObject @ 0x1005b8896\n; > EditorUI::canSelectObject @ 0x1005b88bc\n; > EditorUI::selectObjects @ 0x1005b8a44\n; > EditorUI::selectObjects @ 0x1005b8a61\n; > EditorUI::selectObjects @ 0x1005b8ae0\n; > EditorUI::selectObjects @ 0x1005b8b76\n; > sub_1005B9640 @ 0x1005b9659\n; > sub_1005B9640 @ 0x1005b9679\n; > sub_1005B9640 @ 0x1005b9692\n; > AutoSaveSettingsLayer::getValue @ 0x1005bdbdf\n; > AutoSaveSettingsLayer::getValue @ 0x1005bdc02\n; > sub_1005BE030 @ 0x1005be043\n; > GameSettingsLayer::addSpecialContent @ 0x100600ec2\n; > GameSettingsLayer::addSpecialContent @ 0x100600edc\n; > GameSettingsLayer::onClose @ 0x1006034e0\n; > GameSettingsLayer::onClose @ 0x1006034f7\n; > EditorUI::handleEditorAction @ 0x10060bdd4\n; > EditorUI::setupCreateMenu @ 0x10061affb\n; > EditorUI::setupCreateMenu @ 0x10061b012\n; > EditorUI::createMoveMenu @ 0x10063a0f9\n; > EditorUI::createMoveMenu @ 0x10063a110\n; > EditorUI::setupDeleteMenu @ 0x10063baa3\n; > EditorUI::setupDeleteMenu @ 0x10063bb8a\n; > EditorUI::updateDeleteButtons @ 0x10063bda3\n; > EditorUI::updateDeleteButtons @ 0x10063be59\n; > EditorUI::onNewCustomItem @ 0x10063c83d\n; > EditorUI::onNewCustomItem @ 0x10063c854\n; > EditorUI::reloadCustomItems @ 0x10063c91d\n; > EditorUI::reloadCustomItems @ 0x10063c934\n; > EditorUI::onDeleteCustomItem @ 0x10063c9b4\n; > EditorUI::onDeleteCustomItem @ 0x10063c9cb\n; > EditorUI::orderUpCustomItem @ 0x10063ca6b\n; > EditorUI::orderUpCustomItem @ 0x10063ca82\n; > EditorUI::orderDownCustomItem @ 0x10063cb28\n; > EditorUI::orderDownCustomItem @ 0x10063cb3f\n; > EditorUI::recreateButtonTabs @ 0x10063cbb7\n; > EditorUI::recreateButtonTabs @ 0x10063cbce\n; > sub_100886760 @ 0x100886788\n; > sub_100886760 @ 0x1008867c4\n; > sub_100886AE0 @ 0x100886af5\n; > ParentalPrivacyPopup::startWithScore @ 0x100887431\n; > ParentalPrivacyPopup::startWithScore @ 0x100887459\n; > ParentalPrivacyPopup::startWithScore @ 0x1008874a4\n; > ParentalPrivacyPopup::startWithScore @ 0x100887557\n; > ParentalPrivacyPopup::startWithScore @ 0x10088757e\n; > sub_1008879E0 @ 0x100887a03\n; > sub_1008879E0 @ 0x100887a48\n; > ParentalPrivacyPopup::updateSettingsFinished @ 0x100887cf1\n; > ParentalPrivacyPopup::updateSettingsFinished @ 0x100887d1d\n; > ParentalPrivacyPopup::updateSettingsFinished @ 0x100887d74\n; > ParentalPrivacyPopup::updateSettingsFinished @ 0x100887e2b\n; > ParentalPrivacyPopup::updateSettingsFinished @ 0x100887e56\n; > sub_1008BC130 @ 0x1008bc143\n; > DeathMarkerLayer::init @ 0x1008bc3a1\n; > DeathMarkerSettingsPopup::init @ 0x1008c6e50\n; > DeathMarkerSettingsPopup::init @ 0x1008c7207\n; > FindObjectPopup::onBuildWindowContent @ 0x10090608f\n; > PlayLayer::tryShowDeathMarkers @ 0x10096146f\n; > NotificationFilterPopup::init @ 0x10098cc47\n; > NotificationFilterPopup::savedMask @ 0x10098d313\n; > NotificationFilterPopup::onFriendUploads @ 0x10098d34d\n; > NotificationFilterPopup::onFollowUploads @ 0x10098d38d\n; > NotificationFilterPopup::onDownloadMilestones @ 0x10098d3cd\n; > NotificationFilterPopup::onFollowerMilestones @ 0x10098d40d\n; > NotificationFilterPopup::onFriendRated @ 0x10098d44d\n; > NotificationFilterPopup::onFriendAccepts @ 0x10098d48d\n; > NotificationFilterPopup::toggleSource @ 0x10098d510\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:29:01 +0000\n; \npush    rbp                                                            ; +0x0, 0x10036d690\nmov     rbp, rsp                                                       ; +0x1, 0x10036d691\npush    rbx                                                            ; +0x4, 0x10036d694\nsub     rsp, 18h                                                       ; +0x5, 0x10036d695\nmov     rbx, rdi                                                       ; +0x9, 0x10036d699\nmov     byte ptr [rbp+var_20.__r_.__value_], 6                         ; +0xc, 0x10036d69c\nmov     dword ptr [rbp+var_20.__r_.__value_+1], 5F7667h                ; +0x10, 0x10036d6a0\nlea     rdi, [rbp+var_20]; this                                        ; +0x17, 0x10036d6a7\ncall    __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6appendEPKc; std::string::append(char const*) ; +0x1b, 0x10036d6ab\nmov     rdi, [rbx+1A8h]                                                ; +0x20, 0x10036d6b0\nlea     rsi, [rbp+var_20]                                              ; +0x27, 0x10036d6b7\ncall    cocos2d__CCDictionary__valueForKey                             ; +0x2b, 0x10036d6bb\nmov     rdi, rax                                                       ; +0x30, 0x10036d6c0\ncall    cocos2d__CCString__intValue                                    ; +0x33, 0x10036d6c3\ntest    byte ptr [rbp+var_20.__r_.__value_], 1                         ; +0x38, 0x10036d6c8\njz      short loc_10036D6DB                                            ; +0x3c, 0x10036d6cc\nmov     rdi, qword ptr [rbp+var_20.__r_.__value_+10h]; __p             ; +0x3e, 0x10036d6ce\nmov     ebx, eax                                                       ; +0x42, 0x10036d6d2\ncall    __ZdlPv; operator delete(void *)                               ; +0x44, 0x10036d6d4\nmov     eax, ebx                                                       ; +0x49, 0x10036d6d9\nadd     rsp, 18h                                                       ; +0x4b, 0x10036d6db\npop     rbx                                                            ; +0x4f, 0x10036d6df\npop     rbp                                                            ; +0x50, 0x10036d6e0\nretn                                                                   ; +0x51, 0x10036d6e1", "xrefs": ["EditorUI::init @ 0x100005342", "EditorUI::init @ 0x1000053a4", "EditorUI::shouldDeleteObject @ 0x10000fe63", "EditorUI::shouldDeleteObject @ 0x10000fec8", "EditorUI::onGroupIDFilter @ 0x10001062d", "EditorUI::onColorFilter @ 0x100010729", "PlayLayer::resetLevel @ 0x10008d0d1", "sub_1000BD710 @ 0x1000bd749", "sub_1000BD710 @ 0x1000bd887", "EditLevelLayer::onLevelLeaderboard @ 0x1001df87c", "CreatorLayer::onSavedLevels @ 0x100283057", "CreatorLayer::onSavedLevels @ 0x100283072", "CreatorLayer::onSavedLevels @ 0x10028308a", "CreatorLayer::onSavedLevels @ 0x1002830ad", "CreatorLayer::onMyLevels @ 0x100283892", "CreatorLayer::onMyLevels @ 0x1002838ad", "CreatorLayer::onMyLevels @ 0x1002838c5", "CreatorLayer::onMyLevels @ 0x1002838e8", "EditorOptionsLayer::setupOptions @ 0x100288805", "EditorOptionsLayer::setupOptions @ 0x10028881f", "EditorOptionsLayer::onClose @ 0x100288eef", "EditorOptionsLayer::onClose @ 0x100288f06", "LevelInfoLayer::onLevelLeaderboard @ 0x1002ae59b", "LevelInfoLayer::onLevelLeaderboard @ 0x1002ae5b2", "EndLevelLayer::onLevelLeaderboard @ 0x1004bb252", "EndLevelLayer::onLevelLeaderboard @ 0x1004bb269", "GameLevelManager::getGJUserInfo @ 0x100567406", "GameLevelManager::notificationMask @ 0x100567725", "GameLevelManager::getNotifications @ 0x100575a93", "EditorUI::canSelectObject @ 0x1005b8861", "EditorUI::canSelectObject @ 0x1005b887a", "EditorUI::canSelectObject @ 0x1005b8896", "EditorUI::canSelectObject @ 0x1005b88bc", "EditorUI::selectObjects @ 0x1005b8a44", "EditorUI::selectObjects @ 0x1005b8a61", "EditorUI::selectObjects @ 0x1005b8ae0", "EditorUI::selectObjects @ 0x1005b8b76", "sub_1005B9640 @ 0x1005b9659", "sub_1005B9640 @ 0x1005b9679", "sub_1005B9640 @ 0x1005b9692", "AutoSaveSettingsLayer::getValue @ 0x1005bdbdf", "AutoSaveSettingsLayer::getValue @ 0x1005bdc02", "sub_1005BE030 @ 0x1005be043", "GameSettingsLayer::addSpecialContent @ 0x100600ec2", "GameSettingsLayer::addSpecialContent @ 0x100600edc", "GameSettingsLayer::onClose @ 0x1006034e0", "GameSettingsLayer::onClose @ 0x1006034f7", "EditorUI::handleEditorAction @ 0x10060bdd4", "EditorUI::setupCreateMenu @ 0x10061affb", "EditorUI::setupCreateMenu @ 0x10061b012", "EditorUI::createMoveMenu @ 0x10063a0f9", "EditorUI::createMoveMenu @ 0x10063a110", "EditorUI::setupDeleteMenu @ 0x10063baa3", "EditorUI::setupDeleteMenu @ 0x10063bb8a", "EditorUI::updateDeleteButtons @ 0x10063bda3", "EditorUI::updateDeleteButtons @ 0x10063be59", "EditorUI::onNewCustomItem @ 0x10063c83d", "EditorUI::onNewCustomItem @ 0x10063c854", "EditorUI::reloadCustomItems @ 0x10063c91d", "EditorUI::reloadCustomItems @ 0x10063c934", "EditorUI::onDeleteCustomItem @ 0x10063c9b4", "EditorUI::onDeleteCustomItem @ 0x10063c9cb", "EditorUI::orderUpCustomItem @ 0x10063ca6b", "EditorUI::orderUpCustomItem @ 0x10063ca82", "EditorUI::orderDownCustomItem @ 0x10063cb28", "EditorUI::orderDownCustomItem @ 0x10063cb3f", "EditorUI::recreateButtonTabs @ 0x10063cbb7", "EditorUI::recreateButtonTabs @ 0x10063cbce", "sub_100886760 @ 0x100886788", "sub_100886760 @ 0x1008867c4", "sub_100886AE0 @ 0x100886af5", "ParentalPrivacyPopup::startWithScore @ 0x100887431", "ParentalPrivacyPopup::startWithScore @ 0x100887459", "ParentalPrivacyPopup::startWithScore @ 0x1008874a4", "ParentalPrivacyPopup::startWithScore @ 0x100887557", "ParentalPrivacyPopup::startWithScore @ 0x10088757e", "sub_1008879E0 @ 0x100887a03", "sub_1008879E0 @ 0x100887a48", "ParentalPrivacyPopup::updateSettingsFinished @ 0x100887cf1", "ParentalPrivacyPopup::updateSettingsFinished @ 0x100887d1d", "ParentalPrivacyPopup::updateSettingsFinished @ 0x100887d74", "ParentalPrivacyPopup::updateSettingsFinished @ 0x100887e2b", "ParentalPrivacyPopup::updateSettingsFinished @ 0x100887e56", "sub_1008BC130 @ 0x1008bc143", "DeathMarkerLayer::init @ 0x1008bc3a1", "DeathMarkerSettingsPopup::init @ 0x1008c6e50", "DeathMarkerSettingsPopup::init @ 0x1008c7207", "FindObjectPopup::onBuildWindowContent @ 0x10090608f", "PlayLayer::tryShowDeathMarkers @ 0x10096146f", "NotificationFilterPopup::init @ 0x10098cc47", "NotificationFilterPopup::savedMask @ 0x10098d313", "NotificationFilterPopup::onFriendUploads @ 0x10098d34d", "NotificationFilterPopup::onFollowUploads @ 0x10098d38d", "NotificationFilterPopup::onDownloadMilestones @ 0x10098d3cd", "NotificationFilterPopup::onFollowerMilestones @ 0x10098d40d", "NotificationFilterPopup::onFriendRated @ 0x10098d44d", "NotificationFilterPopup::onFriendAccepts @ 0x10098d48d", "NotificationFilterPopup::toggleSource @ 0x10098d510"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}