//
// UILayer::enableEditorMode from 0x5c715c to 0x5c71a8 (76 bytes)
//
// 2 xrefs:
// > LevelEditorLayer::init @ 0x67c204
// > ??> @ 0xa93c8
//
// 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 UILayer::enableEditorMode(UILayer *a1)
{
CCMenuItemSpriteExtra *m_pauseBtn; // x2
m_pauseBtn = a1->m_pauseBtn;
a1->m_editorMode = 1;
m_pauseBtn->setVisible(m_pauseBtn, 0);
UILayer::disableMenu(a1);
UILayer::editorPlaytest(a1, 0);
}