//
// EditorPauseLayer::onSaveAndPlay from 0x100293800 to 0x100293868 (104 bytes)
//
// 1 xrefs:
// > EditorPauseLayer::customSetup @ 0x100291ad0
//
// 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)
{
unsigned int v2; // r14d
unsigned int v3; // eax
int v4; // ecx
int v5; // r8d
int v6; // r9d
cocos2d::CCAction *v7; // rax
if ( !a1->m_saved )
{
((void (__fastcall *)(EditorPauseLayer *, _QWORD))a1->setKeypadEnabled)(a1, 0);
a1->m_saved = 1;
EditorPauseLayer::saveLevel(a1);
v2 = (unsigned int)cocos2d::CCDelayTime::create(0.0);
v3 = (unsigned int)cocos2d::CCCallFunc::create(
a1,
(cocos2d::SEL_CallFunc)(unsigned __int64)EditorPauseLayer::playStep2);
v7 = (cocos2d::CCAction *)sub_1003B5760(v2, v3, 0, v4, v5, v6);
cocos2d::CCNode::runAction(a1, v7);
}
}