//
// SetFolderPopup::valueChanged from 0x1002df310 to 0x1002df3b0 (160 bytes)
//
// 1 xrefs:
// > ??> @ 0x1007e1900
//
// 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 SetFolderPopup::valueChanged(SetFolderPopup *a1)
{
GameLevelManager *v2; // x0
char *v3; // x1
void **v4; // x1
void *__p[2]; // [xsp+0h] [xbp-40h] BYREF
char v6; // [xsp+17h] [xbp-29h]
void *v7[2]; // [xsp+18h] [xbp-28h] BYREF
char v8; // [xsp+2Fh] [xbp-11h]
if ( a1->m_titleLabel )
{
v2 = GameLevelManager::sharedState();
GameLevelManager::getFolderName((__int64)v2, a1->m_value, a1->m_isCreated, __p);
if ( v6 >= 0 )
v3 = (char *)__p;
else
v3 = (char *)__p[0];
sub_100009900(v7, v3);
if ( v6 < 0 )
operator delete(__p[0]);
if ( v8 >= 0 )
v4 = v7;
else
v4 = (void **)v7[0];
((void (__fastcall *)(cocos2d::CCLabelBMFont *, void **))a1->m_titleLabel->setString)(a1->m_titleLabel, v4);
if ( v8 < 0 )
operator delete(v7[0]);
}
}