//
// GameLevelManager::getIntForKey from 0x4af754 to 0x4af7b2 (94 bytes)
//
// 10 xrefs:
// > MoreSearchLayer::updateAudioLabel @ 0x4959ce
// > MoreSearchLayer::updateAudioLabel @ 0x4959dc
// > MoreSearchLayer::audioNext @ 0x495b64
// > MoreSearchLayer::audioPrevious @ 0x495b8c
// > DemonFilterSelectLayer::init @ 0x495e38
// > LevelSearchLayer::getSearchObject @ 0x496936
// > LevelSearchLayer::getSearchObject @ 0x496944
// > LevelSearchLayer::getSearchObject @ 0x4969d8
// > MoreSearchLayer::init @ 0x497d26
// > LevelSearchLayer::init @ 0x4995ec
//
// 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::getIntForKey(GameLevelManager *this, const char *a2)
{
int v3; // r7
size_t v4; // r0
cocos2d::CCString *v5; // r0
int v6; // r6
int v8[3]; // [sp+0h] [bp-14h] BYREF
v3 = *((_DWORD *)this + 135);
memset(v8, 0, sizeof(v8));
v4 = strlen(a2);
std::string::__init(v8, a2, v4);
v5 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v3, v8);
v6 = cocos2d::CCString::intValue(v5);
std::string::~string((int)v8);
return v6;
}