//
// GameLevelManager::setIntForKey from 0x4af6e8 to 0x4af74c (100 bytes)
//
// 7 xrefs:
// > MoreSearchLayer::selectSong @ 0x495abc
// > MoreSearchLayer::onSongFilter @ 0x495b2c
// > MoreSearchLayer::onClose @ 0x495c12
// > LevelSearchLayer::demonFilterSelectClosed @ 0x495c7e
// > LevelSearchLayer::clearFilters @ 0x49673e
// > LevelSearchLayer::clearFilters @ 0x4967ea
// > MoreSearchLayer::onSongMode @ 0x496fbc
//
// 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:50:01 +0000
//
int __fastcall GameLevelManager::setIntForKey(GameLevelManager *this, const char *a2, const char *a3, int a4)
{
int v5; // r8
cocos2d::CCObject *v6; // r7
size_t v7; // r0
GameLevelManager *v9; // [sp+0h] [bp-10h] BYREF
const char *v10; // [sp+4h] [bp-Ch]
const char *v11; // [sp+8h] [bp-8h]
int v12; // [sp+Ch] [bp-4h]
v9 = this;
v10 = a2;
v11 = a3;
v12 = a4;
v5 = *((_DWORD *)this + 135);
v9 = nullptr;
v10 = nullptr;
v11 = nullptr;
v6 = (cocos2d::CCObject *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", a2);
v7 = strlen(a3);
std::string::__init((int *)&v9, a3, v7);
cocos2d::CCDictionary::setObject(v5, v6);
return std::string::~string((int)&v9);
}