{"type": "func", "start": 4298561040, "end": 4298561138, "name": "GameManager::setIntGameVariable", "pseudocode": "// \n// GameManager::setIntGameVariable from 0x10036d610 to 0x10036d672 (98 bytes)\n// \n// 40 xrefs:\n// > sub_10000DF60 @ 0x10000dfb1\n// > sub_10000DFD0 @ 0x10000e02a\n// > EditorUI::toggleCustomGridEnabled @ 0x10000e0a9\n// > EditorUI::cycleCustomGridPreset @ 0x10000e1ed\n// > EditorUI::adjustCustomGridSize @ 0x10000e2a6\n// > sub_10000E2C0 @ 0x10000e322\n// > EditorUI::setIDPopupClosed @ 0x1000102a6\n// > EditorUI::setIDPopupClosed @ 0x100010304\n// > EditorUI::onResetSpecialFilter @ 0x10001078b\n// > EditorUI::onResetSpecialFilter @ 0x1000107b7\n// > EditorUI::onUpdateDeleteFilter @ 0x1000107fd\n// > EditorUI::onUpdateDeleteFilter @ 0x100010830\n// > EditorOptionsLayer::onClose @ 0x100288f33\n// > EditorOptionsLayer::onClose @ 0x100288f4e\n// > LevelLeaderboard::onChangeMode @ 0x1003c82e8\n// > LevelLeaderboard::onChangeType @ 0x1003c852e\n// > LevelBrowserLayer::setIDPopupClosed @ 0x100487170\n// > GameLevelManager::setNotificationMask @ 0x100575dc6\n// > EditorUI::findObject @ 0x1005b96fe\n// > AutoSaveSettingsLayer::valueDidChange @ 0x1005bdd18\n// > sub_1005BE060 @ 0x1005be094\n// > GameSettingsLayer::onClose @ 0x10060356b\n// > GameSettingsLayer::onClose @ 0x100603586\n// > EditorUI::setupCreateMenu @ 0x10061b03f\n// > EditorUI::setupCreateMenu @ 0x10061b068\n// > sub_100886760 @ 0x10088680f\n// > sub_100886760 @ 0x100886850\n// > sub_100886760 @ 0x100886869\n// > sub_100886760 @ 0x1008868b2\n// > ParentalPrivacyPopup::startWithScore @ 0x100887385\n// > ParentalPrivacyPopup::startWithScore @ 0x1008873a0\n// > ParentalPrivacyPopup::startWithScore @ 0x1008873bb\n// > ParentalPrivacyPopup::startWithScore @ 0x1008873d6\n// > ParentalPrivacyPopup::startWithScore @ 0x1008873f1\n// > ParentalPrivacyPopup::startWithScore @ 0x10088740c\n// > ParentalPrivacyPopup::startWithScore @ 0x1008877e8\n// > sub_1008879E0 @ 0x100887ac5\n// > ParentalPrivacyPopup::updateSettingsFinished @ 0x100887d9b\n// > sub_1008C7BF0 @ 0x1008c7d08\n// > sub_1008C7D90 @ 0x1008c7eb8\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\nvoid __fastcall GameManager::setIntGameVariable(__int64 a1, const std::string::value_type *a2)\n{\n  __int64 v2; // r14\n  __int64 v3; // rax\n  char v4; // [rsp+0h] [rbp-30h]\n  std::string v5; // [rsp+8h] [rbp-28h] 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 = *(_QWORD *)(a1 + 424);\n  v3 = sub_10088E820(\"%i\", v4);\n  cocos2d::CCDictionary::setObject(v2, v3, (char *)&v5);\n  if ( (*(_BYTE *)&v5.__r_.__value_.__s.0 & 1) != 0 )\n    operator delete(v5.__r_.__value_.__l.__data_);\n}", "assembly": "; \n; GameManager::setIntGameVariable from 0x10036d610 to 0x10036d672 (98 bytes)\n; \n; 40 xrefs:\n; > sub_10000DF60 @ 0x10000dfb1\n; > sub_10000DFD0 @ 0x10000e02a\n; > EditorUI::toggleCustomGridEnabled @ 0x10000e0a9\n; > EditorUI::cycleCustomGridPreset @ 0x10000e1ed\n; > EditorUI::adjustCustomGridSize @ 0x10000e2a6\n; > sub_10000E2C0 @ 0x10000e322\n; > EditorUI::setIDPopupClosed @ 0x1000102a6\n; > EditorUI::setIDPopupClosed @ 0x100010304\n; > EditorUI::onResetSpecialFilter @ 0x10001078b\n; > EditorUI::onResetSpecialFilter @ 0x1000107b7\n; > EditorUI::onUpdateDeleteFilter @ 0x1000107fd\n; > EditorUI::onUpdateDeleteFilter @ 0x100010830\n; > EditorOptionsLayer::onClose @ 0x100288f33\n; > EditorOptionsLayer::onClose @ 0x100288f4e\n; > LevelLeaderboard::onChangeMode @ 0x1003c82e8\n; > LevelLeaderboard::onChangeType @ 0x1003c852e\n; > LevelBrowserLayer::setIDPopupClosed @ 0x100487170\n; > GameLevelManager::setNotificationMask @ 0x100575dc6\n; > EditorUI::findObject @ 0x1005b96fe\n; > AutoSaveSettingsLayer::valueDidChange @ 0x1005bdd18\n; > sub_1005BE060 @ 0x1005be094\n; > GameSettingsLayer::onClose @ 0x10060356b\n; > GameSettingsLayer::onClose @ 0x100603586\n; > EditorUI::setupCreateMenu @ 0x10061b03f\n; > EditorUI::setupCreateMenu @ 0x10061b068\n; > sub_100886760 @ 0x10088680f\n; > sub_100886760 @ 0x100886850\n; > sub_100886760 @ 0x100886869\n; > sub_100886760 @ 0x1008868b2\n; > ParentalPrivacyPopup::startWithScore @ 0x100887385\n; > ParentalPrivacyPopup::startWithScore @ 0x1008873a0\n; > ParentalPrivacyPopup::startWithScore @ 0x1008873bb\n; > ParentalPrivacyPopup::startWithScore @ 0x1008873d6\n; > ParentalPrivacyPopup::startWithScore @ 0x1008873f1\n; > ParentalPrivacyPopup::startWithScore @ 0x10088740c\n; > ParentalPrivacyPopup::startWithScore @ 0x1008877e8\n; > sub_1008879E0 @ 0x100887ac5\n; > ParentalPrivacyPopup::updateSettingsFinished @ 0x100887d9b\n; > sub_1008C7BF0 @ 0x1008c7d08\n; > sub_1008C7D90 @ 0x1008c7eb8\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, 0x10036d610\nmov     rbp, rsp                                                       ; +0x1, 0x10036d611\npush    r14                                                            ; +0x4, 0x10036d614\npush    rbx                                                            ; +0x6, 0x10036d616\nsub     rsp, 20h                                                       ; +0x7, 0x10036d617\nmov     ebx, edx                                                       ; +0xb, 0x10036d61b\nmov     r14, rdi                                                       ; +0xd, 0x10036d61d\nmov     byte ptr [rbp+var_28.__r_.__value_], 6                         ; +0x10, 0x10036d620\nmov     dword ptr [rbp+var_28.__r_.__value_+1], 5F7667h                ; +0x14, 0x10036d624\nlea     rdi, [rbp+var_28]; this                                        ; +0x1b, 0x10036d62b\ncall    __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6appendEPKc; std::string::append(char const*) ; +0x1f, 0x10036d62f\nmov     r14, [r14+1A8h]                                                ; +0x24, 0x10036d634\nlea     rdi, aI_14; \"%i\"                                               ; +0x2b, 0x10036d63b\nmov     esi, ebx                                                       ; +0x32, 0x10036d642\nxor     eax, eax                                                       ; +0x34, 0x10036d644\ncall    sub_10088E820                                                  ; +0x36, 0x10036d646\nlea     rdx, [rbp+var_28]                                              ; +0x3b, 0x10036d64b\nmov     rdi, r14                                                       ; +0x3f, 0x10036d64f\nmov     rsi, rax                                                       ; +0x42, 0x10036d652\ncall    cocos2d__CCDictionary__setObject                               ; +0x45, 0x10036d655\ntest    byte ptr [rbp+var_28.__r_.__value_], 1                         ; +0x4a, 0x10036d65a\njz      short loc_10036D669                                            ; +0x4e, 0x10036d65e\nmov     rdi, qword ptr [rbp+var_28.__r_.__value_+10h]; __p             ; +0x50, 0x10036d660\ncall    __ZdlPv; operator delete(void *)                               ; +0x54, 0x10036d664\nadd     rsp, 20h                                                       ; +0x59, 0x10036d669\npop     rbx                                                            ; +0x5d, 0x10036d66d\npop     r14                                                            ; +0x5e, 0x10036d66e\npop     rbp                                                            ; +0x60, 0x10036d670\nretn                                                                   ; +0x61, 0x10036d671", "xrefs": ["sub_10000DF60 @ 0x10000dfb1", "sub_10000DFD0 @ 0x10000e02a", "EditorUI::toggleCustomGridEnabled @ 0x10000e0a9", "EditorUI::cycleCustomGridPreset @ 0x10000e1ed", "EditorUI::adjustCustomGridSize @ 0x10000e2a6", "sub_10000E2C0 @ 0x10000e322", "EditorUI::setIDPopupClosed @ 0x1000102a6", "EditorUI::setIDPopupClosed @ 0x100010304", "EditorUI::onResetSpecialFilter @ 0x10001078b", "EditorUI::onResetSpecialFilter @ 0x1000107b7", "EditorUI::onUpdateDeleteFilter @ 0x1000107fd", "EditorUI::onUpdateDeleteFilter @ 0x100010830", "EditorOptionsLayer::onClose @ 0x100288f33", "EditorOptionsLayer::onClose @ 0x100288f4e", "LevelLeaderboard::onChangeMode @ 0x1003c82e8", "LevelLeaderboard::onChangeType @ 0x1003c852e", "LevelBrowserLayer::setIDPopupClosed @ 0x100487170", "GameLevelManager::setNotificationMask @ 0x100575dc6", "EditorUI::findObject @ 0x1005b96fe", "AutoSaveSettingsLayer::valueDidChange @ 0x1005bdd18", "sub_1005BE060 @ 0x1005be094", "GameSettingsLayer::onClose @ 0x10060356b", "GameSettingsLayer::onClose @ 0x100603586", "EditorUI::setupCreateMenu @ 0x10061b03f", "EditorUI::setupCreateMenu @ 0x10061b068", "sub_100886760 @ 0x10088680f", "sub_100886760 @ 0x100886850", "sub_100886760 @ 0x100886869", "sub_100886760 @ 0x1008868b2", "ParentalPrivacyPopup::startWithScore @ 0x100887385", "ParentalPrivacyPopup::startWithScore @ 0x1008873a0", "ParentalPrivacyPopup::startWithScore @ 0x1008873bb", "ParentalPrivacyPopup::startWithScore @ 0x1008873d6", "ParentalPrivacyPopup::startWithScore @ 0x1008873f1", "ParentalPrivacyPopup::startWithScore @ 0x10088740c", "ParentalPrivacyPopup::startWithScore @ 0x1008877e8", "sub_1008879E0 @ 0x100887ac5", "ParentalPrivacyPopup::updateSettingsFinished @ 0x100887d9b", "sub_1008C7BF0 @ 0x1008c7d08", "sub_1008C7D90 @ 0x1008c7eb8"], "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"}