//
// EditorPauseLayer::onSaveAndExit from 0x78e900 to 0x78e958 (88 bytes)
//
// 3 xrefs:
// > ??> @ 0x59f10
// > EditorPauseLayer::customSetup @ 0x78c4ac
// > ??> @ 0x122ae48
//
// 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)
{
if ( !a1->m_saved )
{
a1->setKeypadEnabled(a1, 0);
a1->m_saved = 1;
EditorPauseLayer::saveLevel(a1);
EditorPauseLayer::onExitEditor(a1, nullptr);
}
}