// // EditorPauseLayer::onExitNoSave from 0x4016c8 to 0x40175a (146 bytes) // // 0 xrefs: // // 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::onExitNoSave(EditorPauseLayer *a1, cocos2d::CCObject *a2) { FLAlertLayer *v3; // r5 _BYTE v4[4]; // [sp+10h] [bp-8h] BYREF if ( !a1->m_saved ) { if ( a1->m_editorLayer->m_level->m_levelType == Editor ) { sub_776584((int)v4, "Exit without saving? All unsaved changes will be lost!"); v3 = FLAlertLayer::create((int)&a1->FLAlertLayerProtocol, (int)"Exit", (int)v4, (int)"NO", (int)"YES", 300.0); sub_774008(v4); v3->setTag(v3, 1); v3->show(v3); } else { EditorPauseLayer::onExitEditor(a1, (cocos2d::CCObject *)a1->m_saved); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source