//
// GameLevelManager::getIntForKey from 0x1000ac05c to 0x1000ac0b0 (84 bytes)
//
// 10 xrefs:
// > LevelSearchLayer::init @ 0x100052e70
// > LevelSearchLayer::getSearchObject @ 0x100054ce0
// > LevelSearchLayer::getSearchObject @ 0x100054cf4
// > LevelSearchLayer::getSearchObject @ 0x100054dbc
// > MoreSearchLayer::init @ 0x1000562ac
// > MoreSearchLayer::audioPrevious @ 0x100056d14
// > MoreSearchLayer::audioNext @ 0x100056d58
// > MoreSearchLayer::updateAudioLabel @ 0x100056f80
// > MoreSearchLayer::updateAudioLabel @ 0x100056f98
// > DemonFilterSelectLayer::init @ 0x1000573a0
//
// 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
//
int __fastcall GameLevelManager::getIntForKey(GameLevelManager *a1, const char *a2)
{
cocos2d::CCDictionary *m_searchFilters; // x19
cocos2d::CCString *v3; // x0
int v4; // w19
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v7; // [xsp+1Fh] [xbp-11h]
m_searchFilters = a1->m_searchFilters;
sub_100009900(__p, (char *)a2);
v3 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey_1(m_searchFilters, __p);
v4 = cocos2d::CCString::intValue(v3);
if ( v7 < 0 )
operator delete(__p[0]);
return v4;
}