//
// EditorPauseLayer::onSaveAndExit from 0x1400de260 to 0x1400de29f (63 bytes)
//
// 2 xrefs:
// > EditorPauseLayer::customSetup @ 0x1400da6d0
// > ??> @ 0x1406c8a84
//
// 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 EditorPauseLayer::onSaveAndExit(EditorPauseLayer *a1, cocos2d::CCObject *a2)
{
cocos2d::CCObject *v3; // rdx
if ( !a1->m_saved )
{
a1->setKeypadEnabled(a1, 0);
a1->m_saved = 1;
EditorPauseLayer::saveLevel(a1);
EditorPauseLayer::onExitEditor(a1, v3);
}
}