//
// LevelInfoLayer::onSetFolder from 0x3b0900 to 0x3b0972 (114 bytes)
//
// 0 xrefs:
//
// 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; // r2
_BOOL4 m_isBusy; // r7
SetFolderPopup *m_levelFolder; // r8
std::string v6; // r3
int *v7; // r7
int v8; // r3
_BYTE v9[4]; // [sp+8h] [bp-8h] BYREF
m_level = a1->m_level;
if ( m_level )
{
m_isBusy = a1->m_isBusy;
if ( !a1->m_isBusy )
{
m_levelFolder = (SetFolderPopup *)m_level->m_levelFolder;
sub_776584((int)v9, "Set Folder");
v7 = (int *)SetFolderPopup::create(m_levelFolder, m_isBusy, (bool)v9, v6);
sub_774008(v9);
v8 = *v7;
v7[131] = (int)&a1->SetIDPopupDelegate;
(*(void (__fastcall **)(int *))(v8 + 644))(v7);
}
}
}