//
// LevelInfoLayer::onSetFolder from 0x1002c29b0 to 0x1002c2a35 (133 bytes)
//
// 1 xrefs:
// > LevelInfoLayer::init @ 0x1002bf31b
//
// 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; // rax
unsigned int m_levelFolder; // edi
char *v5; // rbx
__int128 v6; // [rsp+8h] [rbp-28h] BYREF
void *__p; // [rsp+18h] [rbp-18h]
m_level = a1->m_level;
if ( m_level && !a1->m_isBusy )
{
m_levelFolder = m_level->m_levelFolder;
LOBYTE(v6) = 20;
strcpy((char *)&v6 + 1, "Set Folder");
v5 = SetFolderPopup::create(m_levelFolder, 0, &v6);
if ( (v6 & 1) != 0 )
operator delete(__p);
*((_QWORD *)v5 + 84) = &a1->SetIDPopupDelegate;
(*(void (__fastcall **)(char *))(*(_QWORD *)v5 + 1288LL))(v5);
}
}