//
// EditorPauseLayer::onSaveAndExit from 0x10039db7c to 0x10039dbc8 (76 bytes)
//
// 1 xrefs:
// > EditorPauseLayer::customSetup @ 0x10039c298
//
// 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 EditorPauseLayer::onSaveAndExit(EditorPauseLayer *a1, cocos2d::CCObject *a2)
{
cocos2d::CCObject *v3; // x1
if ( !a1->m_saved )
{
((void (__fastcall *)(EditorPauseLayer *, _QWORD))a1->setKeypadEnabled)(a1, 0);
a1->m_saved = 1;
EditorPauseLayer::saveLevel(a1);
EditorPauseLayer::onExitEditor(a1, v3);
}
}