//
// LevelInfoLayer::onSetFolder from 0x10002915c to 0x1000291e0 (132 bytes)
//
// 1 xrefs:
// > LevelInfoLayer::init @ 0x100025ff4
//
// 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 LevelInfoLayer::onSetFolder(LevelInfoLayer *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 && !a1->m_isBusy )
{
m_levelFolder = (unsigned int)m_level->m_levelFolder;
sub_100009900(__p, "Set Folder");
v5 = (_QWORD *)SetFolderPopup::create(m_levelFolder, 0, __p);
if ( v7 < 0 )
operator delete(__p[0]);
v5[84] = &a1->SetIDPopupDelegate;
(*(void (__fastcall **)(_QWORD *))(*v5 + 1288LL))(v5);
}
}