//
// GameManager::setIntGameVariable from 0x71db24 to 0x71dc10 (236 bytes)
//
// 46 xrefs:
// > GameManager::firstLoad @ 0x71fc58
// > GameManager::firstLoad @ 0x71fe38
// > GameManager::firstLoad @ 0x71fe4c
// > GameManager::dataLoaded @ 0x728278
// > GameManager::dataLoaded @ 0x72829c
// > EditorUI::setCustomGridNodeSize @ 0x7c1484
// > EditorUI::setCustomMoveStep @ 0x7c16bc
// > EditorUI::onResetSpecialFilter @ 0x7c2020
// > EditorUI::onResetSpecialFilter @ 0x7c2040
// > EditorUI::onUpdateDeleteFilter @ 0x7c20ac
// > EditorUI::onUpdateDeleteFilter @ 0x7c20c0
// > EditorUI::onUpdateDeleteFilter @ 0x7c20e8
// > EditorUI::onUpdateDeleteFilter @ 0x7c210c
// > EditorUI::setIDPopupClosed @ 0x7cbb58
// > EditorUI::setIDPopupClosed @ 0x7cbb98
// > LevelBrowserLayer::setIDPopupClosed @ 0x7fb980
// > LevelBrowserLayer::setIDPopupClosed @ 0x7fb99c
// > GameLevelManager::setNotificationMask @ 0x803b00
// > ParentalPrivacyPopup::updateSettingsFinished @ 0x8f2f18
// > ParentalPrivacyPopup::startWithScore @ 0x8f32f8
// > ParentalPrivacyPopup::startWithScore @ 0x8f330c
// > ParentalPrivacyPopup::startWithScore @ 0x8f3320
// > ParentalPrivacyPopup::startWithScore @ 0x8f3334
// > ParentalPrivacyPopup::startWithScore @ 0x8f3348
// > ParentalPrivacyPopup::startWithScore @ 0x8f335c
// > ParentalPrivacyPopup::startWithScore @ 0x8f356c
// > ParentalOptionsLayer::applyPrivacyPushEdge @ 0x8f3c78
// > ParentalOptionsLayer::applyPrivacyPushEdge @ 0x8f3ce0
// > ParentalOptionsLayer::applyPrivacyPushEdge @ 0x8f3cfc
// > ParentalOptionsLayer::applyPrivacyPushEdge @ 0x8f3d48
// > ParentalPrivacyPopup::checkPending @ 0x8f3eb8
// > EditorOptionsLayer::onClose @ 0xa1d7b0
// > EditorOptionsLayer::onClose @ 0xa1d7c0
// > LevelLeaderboard::onChangeType @ 0xa83d20
// > LevelLeaderboard::onChangeMode @ 0xa83d7c
// > AutoSaveSettingsLayer::valueDidChange @ 0xbc96c8
// > AutoSaveSettingsLayer::valueDidChange @ 0xbc972c
// > AutoSaveSettingsLayer::setBackupCap @ 0xbc98ac
// > EditorUI::findObject @ 0xbdd5e4
// > EditorUI::setupCreateMenu @ 0xbfe6ac
// > EditorUI::setupCreateMenu @ 0xbfe6c8
// > GameSettingsLayer::onClose @ 0xc04978
// > GameSettingsLayer::onClose @ 0xc04988
// > DeathMarkerSettingsPopup::onFrequencySlider @ 0xca5d3c
// > DeathMarkerSettingsPopup::onTimescaleSlider @ 0xca5e64
// > ??> @ 0xea478
//
// This function is hookable on this platform (idp: arm, 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:52:22 +0000
//
__int64 __fastcall GameManager::setIntGameVariable(GameManager *this, char *a2, unsigned int a3)
{
size_t v5; // x0
__int64 v6; // x21
cocos2d::CCObject *v7; // x0
_QWORD v10[2]; // [xsp+40h] [xbp+40h] BYREF
void *v11; // [xsp+50h] [xbp+50h]
v10[0] = 6;
BYTE3(v10[0]) = aGv[2];
v10[1] = 0;
v11 = nullptr;
*(_WORD *)((char *)v10 + 1) = *(_WORD *)"gv_";
v5 = strlen(a2);
std::string::append((__int64)v10, a2, v5);
v6 = *((_QWORD *)this + 53);
v7 = (cocos2d::CCObject *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", (const char *)a3);
cocos2d::CCDictionary::setObject(v6, v7);
if ( (v10[0] & 1) != 0 )
operator delete(v11);
return _stack_chk_guard;
}