// // EditorPauseLayer::onExitNoSave from 0x10039dc84 to 0x10039dd4c (200 bytes) // // 1 xrefs: // > EditorPauseLayer::customSetup @ 0x10039c34c // // 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::onExitNoSave(EditorPauseLayer *a1, cocos2d::CCObject *a2) { FLAlertLayer *v3; // x19 void *__p[2]; // [xsp+8h] [xbp-28h] BYREF char v5; // [xsp+1Fh] [xbp-11h] if ( !a1->m_saved ) { if ( a1->m_editorLayer->m_level->m_levelType == Editor ) { sub_100009900(__p, "Exit without saving? All unsaved changes will be lost!"); v3 = FLAlertLayer::create_1( (__int64)&a1->FLAlertLayerProtocol, (__int64)"Exit", (__int64)__p, (__int64)"NO", (__int64)"YES", 300.0); if ( v5 < 0 ) operator delete(__p[0]); ((void (__fastcall *)(FLAlertLayer *, __int64))v3->setTag)(v3, 1); ((void (__fastcall *)(FLAlertLayer *))v3->show)(v3); } else { EditorPauseLayer::onExitEditor(a1, a2); } } }