//
// GameLevelManager::setDiffVal from 0x3c4924 to 0x3c4986 (98 bytes)
//
// 2 xrefs:
// > LevelSearchLayer::toggleDifficultyNum @ 0x3acc38
// > LevelSearchLayer::toggleDifficulty @ 0x3acd74
//
// 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 GameLevelManager::setDiffVal(GameLevelManager *a1, int a2, bool a3)
{
cocos2d::CCDictionary *m_searchFilters; // r7
cocos2d::CCObject *v6; // r6
char *DiffKey; // r0
_BOOL4 v8; // [sp+8h] [bp-8h] BYREF
v8 = a3;
m_searchFilters = a1->m_searchFilters;
v6 = (cocos2d::CCObject *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", (const char *)a3);
DiffKey = (char *)GameLevelManager::getDiffKey(a1, a2);
sub_776584((int)&v8, DiffKey);
cocos2d::CCDictionary::setObject((int)m_searchFilters, v6);
sub_774008(&v8);
}