//
// LevelListLayer::onToggleEditMode from 0x100245064 to 0x10024508c (40 bytes)
//
// 1 xrefs:
// > LevelListLayer::init @ 0x100243f98
//
// 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::onToggleEditMode(LevelListLayer *a1, cocos2d::CCObject *a2)
{
int m_editMode; // w8
int v3; // w8
GJListLayer *m_list; // x9
CustomListView *m_listView; // x0
m_editMode = a1->m_editMode;
if ( m_editMode <= 1 )
v3 = m_editMode + 1;
else
v3 = 0;
a1->m_editMode = v3;
m_list = a1->m_list;
if ( m_list )
{
m_listView = (CustomListView *)m_list->m_listView;
m_listView->m_cellMode = v3;
CustomListView::reloadAll(m_listView);
}
}