//
// GameLevelManager::setFolderName from 0x10009a640 to 0x10009a6cc (140 bytes)
//
// 1 xrefs:
// > SetFolderPopup::setTextPopupClosed @ 0x1002df6a4
//
// 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 __fastcall GameLevelManager::setFolderName(__int64 a1, int a2, __int64 a3, int a4)
{
__int64 v5; // x8
__int64 v6; // x20
__int64 v7; // x21
cocos2d::CCString *v8; // x0
char *CString; // x0
void *__p[2]; // [xsp+8h] [xbp-38h] BYREF
char v11; // [xsp+1Fh] [xbp-21h]
v5 = 432;
if ( a4 )
v5 = 440;
v6 = *(_QWORD *)(a1 + v5);
v7 = sub_100268E48(a3);
v8 = (cocos2d::CCString *)sub_100268F4C("%i", a2);
CString = (char *)cocos2d::CCString::getCString(v8);
sub_100009900(__p, CString);
cocos2d::CCDictionary::setObject_1(v6, v7, __p);
if ( v11 < 0 )
operator delete(__p[0]);
}