//
// GameLevelManager::getIntForKey from 0x1000cdd64 to 0x1000cddb8 (84 bytes)
//
// 10 xrefs:
// > LevelSearchLayer::init @ 0x10005b6e0
// > LevelSearchLayer::getSearchObject @ 0x10005d50c
// > LevelSearchLayer::getSearchObject @ 0x10005d520
// > LevelSearchLayer::getSearchObject @ 0x10005d5e8
// > MoreSearchLayer::init @ 0x10005eaf0
// > MoreSearchLayer::audioPrevious @ 0x10005f558
// > MoreSearchLayer::audioNext @ 0x10005f59c
// > MoreSearchLayer::updateAudioLabel @ 0x10005f7c4
// > MoreSearchLayer::updateAudioLabel @ 0x10005f7dc
// > DemonFilterSelectLayer::init @ 0x10005fb20
//
// 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 10:58:52 +0000
//
__int64 __fastcall GameLevelManager::getIntForKey(__int64 a1, char *a2)
{
__int64 v2; // x19
__int64 v3; // x0
__int64 v4; // x19
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v7; // [xsp+1Fh] [xbp-11h]
v2 = *(_QWORD *)(a1 + 752);
sub_100009900(__p, a2);
v3 = cocos2d::CCDictionary::valueForKey(v2, __p);
v4 = cocos2d::CCString::intValue(v3);
if ( v7 < 0 )
operator delete(__p[0]);
return v4;
}