//
// EditLevelLayer::onSetFolder from 0x1000eb334 to 0x1000eb3b0 (124 bytes)
//
// 1 xrefs:
// > EditLevelLayer::init @ 0x1000e9c48
//
// 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 EditLevelLayer::onSetFolder(EditLevelLayer *a1, cocos2d::CCObject *a2)
{
GJGameLevel *m_level; // x8
__int64 m_levelFolder; // x20
_QWORD *v5; // x20
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v7; // [xsp+1Fh] [xbp-11h]
m_level = a1->m_level;
if ( m_level )
{
m_levelFolder = (unsigned int)m_level->m_levelFolder;
sub_100009900(__p, "Set Folder");
v5 = (_QWORD *)SetFolderPopup::create(m_levelFolder, 1, __p);
if ( v7 < 0 )
operator delete(__p[0]);
v5[84] = &a1->SetIDPopupDelegate;
(*(void (__fastcall **)(_QWORD *))(*v5 + 1288LL))(v5);
}
}