//
// LevelListLayer::setIDPopupClosed from 0x10035f9b0 to 0x10035fa47 (151 bytes)
//
// 1 xrefs:
// > ??> @ 0x100918698
//
// 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 LevelListLayer::setIDPopupClosed(LevelListLayer *a1, SetIDPopup *a2, int a3)
{
GJListLayer *m_list; // rax
CustomListView *m_listView; // rdi
if ( ((unsigned int (__fastcall *)(SetIDPopup *))a2->getTag)(a2) == 1003 )
{
GJLevelList::reorderLevel(
a1->m_levelList,
(int)a2[1].FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable,
a3 - 1);
LevelBrowserLayer::setupLevelBrowser(a1, nullptr);
m_list = a1->m_list;
if ( m_list )
{
m_listView = (CustomListView *)m_list->m_listView;
m_listView->m_cellMode = a1->m_editMode;
CustomListView::reloadAll(m_listView);
}
}
else
{
LevelBrowserLayer::setIDPopupClosed(a1, a2, a3);
}
}