//
// EditorPauseLayer::onSaveAndPlay from 0x1400ddee0 to 0x1400ddf53 (115 bytes)
//
// 4 xrefs:
// > EditorPauseLayer::customSetup @ 0x1400da679
// > ??> @ 0x14066e22c
// > ??> @ 0x14066e23c
// > ??> @ 0x1406c8a3c
//
// 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::onSaveAndPlay(EditorPauseLayer *a1, cocos2d::CCObject *a2)
{
float v2; // xmm3_4
__int64 v4; // rbx
struct cocos2d::CCDelayTime *v5; // rax
struct cocos2d::CCSequence *v6; // rax
cocos2d::ccColor3B *v7; // r8
float v8; // [rsp+20h] [rbp-8h]
if ( !a1->m_saved )
{
a1->setKeypadEnabled(a1, 0);
a1->m_saved = 1;
EditorPauseLayer::saveLevel(a1);
v4 = cocos2d::CCCallFunc::create(a1, EditorPauseLayer::playStep2);
v5 = cocos2d::CCDelayTime::create(0.0);
v6 = cocos2d::CCSequence::create(v5, v4, 0);
cocos2d::CCNode::runAction((CCLightFlash *)a1, (cocos2d::CCPoint)v6, v7, v2, v8);
}
}