//
// GameManager::getIntGameVariable from 0x10036d690 to 0x10036d6e2 (82 bytes)
//
// 98 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
//
// This function is hookable on this platform (idp: pc, 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:29:01 +0000
//
__int64 __fastcall GameManager::getIntGameVariable(__int64 a1, const std::string::value_type *a2)
{
void *v2; // rax
__int64 result; // rax
unsigned int v4; // ebx
std::string v5; // [rsp+0h] [rbp-20h] BYREF
v5.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)6;
*(_DWORD *)((char *)&v5.__r_.__value_.__l.0 + 1) = 6256231;
std::string::append(&v5, a2);
v2 = cocos2d::CCDictionary::valueForKey(*(_QWORD *)(a1 + 424), (__int64)&v5);
result = cocos2d::CCString::intValue(v2);
if ( (*(_BYTE *)&v5.__r_.__value_.__s.0 & 1) != 0 )
{
v4 = result;
operator delete(v5.__r_.__value_.__l.__data_);
return v4;
}
return result;
}