//
// GameLevelManager::getFolderName from 0x3c031c to 0x3c038e (114 bytes)
//
// 3 xrefs:
// > LevelBrowserLayer::getSearchTitle @ 0x3bad8a
// > SetFolderPopup::valueChanged @ 0x4a8a24
// > SetFolderPopup::onSetFolderName @ 0x4b0c3a
//
// 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
//
GameLevelManager *__fastcall GameLevelManager::getFolderName(GameLevelManager *this, int a2, const char *a3, int a4)
{
cocos2d::CCDictionary *v5; // r6
cocos2d::CCString *v6; // r0
char *CString; // r0
cocos2d::CCString *v8; // r0
char *v9; // r0
std::string v11; // [sp+8h] [bp-Ch] BYREF
v5 = *(cocos2d::CCDictionary **)(a2 + 336);
if ( !a4 )
v5 = *(cocos2d::CCDictionary **)(a2 + 332);
v6 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", a3);
CString = (char *)cocos2d::CCString::getCString(v6);
sub_776584((int)&v11, CString);
v8 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v5, &v11);
v9 = (char *)cocos2d::CCString::getCString(v8);
sub_776584((int)this, v9);
sub_774008(&v11);
return this;
}