//
// LevelInfoLayer::onSetFolder from 0x1402f9b30 to 0x1402f9bc2 (146 bytes)
//
// 2 xrefs:
// > LevelInfoLayer::init @ 0x1402f95b7
// > ??> @ 0x1406d40f4
//
// 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 LevelInfoLayer::onSetFolder(LevelInfoLayer *a1, cocos2d::CCObject *a2)
{
GJGameLevel *m_level; // rcx
SetIDPopup *v4; // rax
SetIDPopupDelegate *v5; // rcx
SetIDPopup_vtbl *v6; // rdx
_QWORD v7[5]; // [rsp+20h] [rbp-28h] BYREF
m_level = a1->m_level;
if ( m_level && !a1->m_isBusy )
{
v7[2] = 10;
v7[1] = 29285;
v7[3] = 15;
v7[0] = 0x646C6F4620746553LL;
v4 = SetFolderPopup::create(m_level->m_levelFolder, 0, (__int64)v7);
v5 = &a1->SetIDPopupDelegate;
if ( !a1 )
v5 = nullptr;
v6 = v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
v4->m_delegate = v5;
v6->show(v4);
}
}