//
// GameManager::getIntGameVariable from 0x4165a8 to 0x41660a (98 bytes)
//
// 80 xrefs:
// > PlayLayer::resetLevel @ 0x412bf4
// > GameManager::firstLoad @ 0x417e78
// > GameManager::dataLoaded @ 0x41d0ea
// > GameManager::dataLoaded @ 0x41d104
// > LevelEditorLayer::checkAutoSave @ 0x472fdc
// > LevelEditorLayer::checkAutoSave @ 0x473028
// > EditorUI::shouldDeleteObject @ 0x481cac
// > EditorUI::shouldDeleteObject @ 0x481cf2
// > EditorUI::onColorFilter @ 0x481ecc
// > EditorUI::onGroupIDFilter @ 0x485ba8
// > EditorUI::init @ 0x48a280
// > EditorUI::init @ 0x48a2d2
// > CreatorLayer::onMyLevels @ 0x49348c
// > CreatorLayer::onMyLevels @ 0x4934a2
// > CreatorLayer::onMyLevels @ 0x4934ba
// > CreatorLayer::onMyLevels @ 0x4934cc
// > CreatorLayer::onSavedLevels @ 0x49352e
// > CreatorLayer::onSavedLevels @ 0x493544
// > CreatorLayer::onSavedLevels @ 0x49355c
// > CreatorLayer::onSavedLevels @ 0x49356e
// > LevelInfoLayer::onLevelLeaderboard @ 0x499cd4
// > LevelInfoLayer::onLevelLeaderboard @ 0x499ce2
// > EditLevelLayer::onLevelLeaderboard @ 0x49f3fa
// > GameLevelManager::notificationMask @ 0x4aaf72
// > ParentalPrivacyPopup::snapshotIsForOtherAccount @ 0x52d912
// > ParentalPrivacyPopup::updateSettingsFinished @ 0x52fab2
// > ParentalPrivacyPopup::updateSettingsFinished @ 0x52facc
// > ParentalPrivacyPopup::updateSettingsFinished @ 0x52fae6
// > ParentalPrivacyPopup::updateSettingsFinished @ 0x52fb00
// > ParentalPrivacyPopup::updateSettingsFinished @ 0x52fb1a
// > ParentalPrivacyPopup::startWithScore @ 0x52fe3c
// > ParentalPrivacyPopup::startWithScore @ 0x52fe56
// > ParentalPrivacyPopup::startWithScore @ 0x52fe70
// > ParentalPrivacyPopup::startWithScore @ 0x52fe8a
// > ParentalPrivacyPopup::startWithScore @ 0x52fea4
// > ParentalOptionsLayer::applyPrivacyPushEdge @ 0x530268
// > ParentalPrivacyPopup::checkPending @ 0x53037a
// > EndLevelLayer::onLevelLeaderboard @ 0x53404e
// > EndLevelLayer::onLevelLeaderboard @ 0x53405c
// > EditorOptionsLayer::onClose @ 0x5d333e
// > EditorOptionsLayer::onClose @ 0x5d334c
// > EditorOptionsLayer::setupOptions @ 0x5e1b36
// > EditorOptionsLayer::setupOptions @ 0x5e1b46
// > AutoSaveSettingsLayer::getValue @ 0x6e69e2
// > AutoSaveSettingsLayer::getValue @ 0x6e6a02
// > AutoSaveSettingsLayer::getBackupCap @ 0x6e6b72
// > EditorUI::handleEditorAction @ 0x6f2202
// > EditorUI::canSelectObject @ 0x6f42f6
// > EditorUI::canSelectObject @ 0x6f4308
// > EditorUI::canSelectObject @ 0x6f4318
// > EditorUI::canSelectObject @ 0x6f433a
// > EditorUI::findPassesFilters @ 0x6f437c
// > EditorUI::findPassesFilters @ 0x6f438c
// > EditorUI::findPassesFilters @ 0x6f43a2
// > EditorUI::selectObjects @ 0x6f45f8
// > EditorUI::selectObjects @ 0x6f460a
// > EditorUI::selectObjects @ 0x6f4630
// > EditorUI::selectObjects @ 0x6f4640
// > EditorUI::setupDeleteMenu @ 0x6f5d9e
// > EditorUI::setupDeleteMenu @ 0x6f5e3e
// > EditorUI::updateDeleteButtons @ 0x6f61a6
// > EditorUI::updateDeleteButtons @ 0x6f622e
// > EditorUI::reloadCustomItems @ 0x6f6818
// > EditorUI::reloadCustomItems @ 0x6f6826
// > EditorUI::createMoveMenu @ 0x6f7df4
// > EditorUI::createMoveMenu @ 0x6f7e02
// > EditorUI::recreateButtonTabs @ 0x6f7f2e
// > EditorUI::recreateButtonTabs @ 0x6f7f3c
// > EditorUI::setupCreateMenu @ 0x6f84cc
// > EditorUI::setupCreateMenu @ 0x6f84dc
// > GameSettingsLayer::onClose @ 0x7104c2
// > GameSettingsLayer::onClose @ 0x7104d0
// > GameSettingsLayer::addSpecialContent @ 0x71152c
// > GameSettingsLayer::addSpecialContent @ 0x71153c
// > PlayLayer::tryShowDeathMarkers @ 0x72cfcc
// > NotificationFilterPopup::savedMask @ 0x743de2
// > DeathMarkerLayer::timescale @ 0x769f06
// > DeathMarkerSettingsPopup::init @ 0x76e570
// > DeathMarkerSettingsPopup::init @ 0x76e782
// > FindObjectPopup::onBuildWindowContent @ 0x77b61c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:47:41 +0000
//
int __fastcall GameManager::getIntGameVariable(GameManager *this, char *a2)
{
cocos2d::CCString *v4; // r0
int v5; // r6
int v7[3]; // [sp+0h] [bp-14h] BYREF
memset(v7, 0, sizeof(v7));
std::string::__init(v7, "gv_", 3u);
std::string::append(v7, a2);
v4 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(*((_DWORD *)this + 80), v7);
v5 = cocos2d::CCString::intValue(v4);
std::string::~string((int)v7);
return v5;
}