//
// GameManager::setIntGameVariable from 0x416530 to 0x41659c (108 bytes)
//
// 40 xrefs:
// > GameManager::firstLoad @ 0x41817c
// > GameManager::firstLoad @ 0x418188
// > GameManager::firstLoad @ 0x418256
// > GameManager::dataLoaded @ 0x41d0f8
// > GameManager::dataLoaded @ 0x41d112
// > EditorUI::setCustomGridNodeSize @ 0x481974
// > EditorUI::setCustomMoveStep @ 0x481b62
// > EditorUI::onResetSpecialFilter @ 0x481f06
// > EditorUI::onResetSpecialFilter @ 0x481f1e
// > EditorUI::onUpdateDeleteFilter @ 0x481f72
// > EditorUI::onUpdateDeleteFilter @ 0x481f8e
// > EditorUI::setIDPopupClosed @ 0x48822c
// > EditorUI::setIDPopupClosed @ 0x488264
// > LevelBrowserLayer::setIDPopupClosed @ 0x4a874e
// > GameLevelManager::setNotificationMask @ 0x4aafae
// > ParentalPrivacyPopup::updateSettingsFinished @ 0x52fb3a
// > ParentalPrivacyPopup::startWithScore @ 0x52ff96
// > ParentalPrivacyPopup::startWithScore @ 0x52ffe2
// > ParentalPrivacyPopup::startWithScore @ 0x52fff2
// > ParentalPrivacyPopup::startWithScore @ 0x530002
// > ParentalPrivacyPopup::startWithScore @ 0x530012
// > ParentalPrivacyPopup::startWithScore @ 0x530022
// > ParentalPrivacyPopup::startWithScore @ 0x530032
// > ParentalOptionsLayer::applyPrivacyPushEdge @ 0x53028c
// > ParentalOptionsLayer::applyPrivacyPushEdge @ 0x5302c0
// > ParentalOptionsLayer::applyPrivacyPushEdge @ 0x5302f8
// > ParentalPrivacyPopup::checkPending @ 0x5303b4
// > EditorOptionsLayer::onClose @ 0x5d336c
// > EditorOptionsLayer::onClose @ 0x5d337c
// > LevelLeaderboard::onChangeType @ 0x615f38
// > LevelLeaderboard::onChangeMode @ 0x615f6c
// > AutoSaveSettingsLayer::valueDidChange @ 0x6e6afe
// > AutoSaveSettingsLayer::setBackupCap @ 0x6e6ba8
// > EditorUI::findObject @ 0x6f4bf6
// > EditorUI::setupCreateMenu @ 0x6f84f4
// > EditorUI::setupCreateMenu @ 0x6f850e
// > GameSettingsLayer::onClose @ 0x710520
// > GameSettingsLayer::onClose @ 0x710530
// > DeathMarkerSettingsPopup::onFrequencySlider @ 0x76de10
// > DeathMarkerSettingsPopup::onTimescaleSlider @ 0x76df16
//
// 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::setIntGameVariable(GameManager *this, char *a2, const char *a3, int a4)
{
int v7; // r6
cocos2d::CCObject *v8; // r0
int v10[4]; // [sp+0h] [bp-10h] BYREF
v10[3] = a4;
memset(v10, 0, 12);
std::string::__init(v10, "gv_", 3u);
std::string::append(v10, a2);
v7 = *((_DWORD *)this + 80);
v8 = (cocos2d::CCObject *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", a3);
cocos2d::CCDictionary::setObject(v7, v8);
return std::string::~string((int)v10);
}