//
// GameManager::setIntGameVariable from 0x1003190c4 to 0x100319158 (148 bytes)
//
// 18 xrefs:
// > LevelLeaderboard::onChangeMode @ 0x100250330
// > LevelLeaderboard::onChangeType @ 0x100250558
// > EditorOptionsLayer::onClose @ 0x1002d4acc
// > EditorOptionsLayer::onClose @ 0x1002d4ae0
// > GameManager::dataLoaded @ 0x10031c520
// > GameManager::dataLoaded @ 0x10031c54c
// > GameManager::firstLoad @ 0x10031c8f0
// > GameManager::firstLoad @ 0x10031c9d4
// > GameManager::firstLoad @ 0x10031c9e8
// > EditorUI::setupCreateMenu @ 0x1003c8668
// > EditorUI::setupCreateMenu @ 0x1003c8688
// > EditorUI::onUpdateDeleteFilter @ 0x1003e91ec
// > EditorUI::onUpdateDeleteFilter @ 0x1003e921c
// > EditorUI::onResetSpecialFilter @ 0x1003e9454
// > EditorUI::onResetSpecialFilter @ 0x1003e947c
// > EditorUI::setIDPopupClosed @ 0x1003e9ecc
// > EditorUI::setIDPopupClosed @ 0x1003e9f2c
// > LevelBrowserLayer::setIDPopupClosed @ 0x100418f00
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall GameManager::setIntGameVariable(GameManager *a1, const char *a2, int a3)
{
cocos2d::CCString *v5; // x0
char *CString; // x21
cocos2d::CCDictionary *m_valueKeeper; // x20
cocos2d::CCObject *v8; // x19
void *__p[2]; // [xsp+18h] [xbp-38h] BYREF
char v10; // [xsp+2Fh] [xbp-21h]
v5 = (cocos2d::CCString *)sub_100268F4C("%s%s", "gv_", a2);
CString = (char *)cocos2d::CCString::getCString(v5);
m_valueKeeper = a1->m_valueKeeper;
v8 = sub_100268F4C("%i", a3);
sub_100009900(__p, CString);
cocos2d::CCDictionary::setObject_1(m_valueKeeper, v8, __p);
if ( v10 < 0 )
operator delete(__p[0]);
}