// // EditorPauseLayer::onSaveAndPlay from 0x10039daf8 to 0x10039db7c (132 bytes) // // 1 xrefs: // > EditorPauseLayer::customSetup @ 0x10039c23c // // 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::onSaveAndPlay(EditorPauseLayer *a1, cocos2d::CCObject *a2) { cocos2d::CCDelayTime *v3; // x20 char v4; // w0 __int64 v5; // x1 __int64 v6; // x2 __int64 v7; // x3 __int64 v8; // x4 __int64 v9; // x5 __int64 v10; // x6 __int64 v11; // x7 cocos2d::CCSequence *v12; // x1 cocos2d::SEL_CallFunc v13; // 0:x1.16 if ( !a1->m_saved ) { ((void (__fastcall *)(EditorPauseLayer *, _QWORD))a1->setKeypadEnabled)(a1, 0); a1->m_saved = 1; EditorPauseLayer::saveLevel(a1); v3 = cocos2d::CCDelayTime::create(0.0); v13.ptr = (void (*)(void))EditorPauseLayer::playStep2; v13.adj = 0; v4 = (unsigned __int8)cocos2d::CCCallFunc::create(a1, v13); v12 = sub_10018A494(v3, v5, v6, v7, v8, v9, v10, v11, v4); cocos2d::CCNode::runAction(a1, v12); } }