//
// EditorPauseLayer::playStep2 from 0x100294ce0 to 0x100294d95 (181 bytes)
//
// 1 xrefs:
// > EditorPauseLayer::onSaveAndPlay @ 0x100293839
//
// 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::playStep2(EditorPauseLayer *a1)
{
FMODAudioEngine *v1; // rax
FMODAudioEngine *v2; // r14
unsigned int v3; // r14d
unsigned int v4; // eax
int v5; // ecx
int v6; // r8d
int v7; // r9d
cocos2d::CCAction *v8; // rax
_BYTE v9[16]; // [rsp+0h] [rbp-30h] BYREF
void *__p; // [rsp+10h] [rbp-20h]
v1 = FMODAudioEngine::sharedEngine();
FMODAudioEngine::unloadAllEffects(v1);
v2 = FMODAudioEngine::sharedEngine();
GJGameLevel::getAudioFileName(v9, a1->m_editorLayer->m_level);
FMODAudioEngine::loadMusic(v2, v9, 1, 0, 0, 0, 1.0, 0.0, 1.0);
if ( (v9[0] & 1) != 0 )
operator delete(__p);
v3 = (unsigned int)cocos2d::CCDelayTime::create(0.0);
v4 = (unsigned int)cocos2d::CCCallFunc::create(
a1,
(cocos2d::SEL_CallFunc)(unsigned __int64)EditorPauseLayer::playStep3);
v8 = (cocos2d::CCAction *)sub_1003B5760(v3, v4, 0, v5, v6, v7);
cocos2d::CCNode::runAction(a1, v8);
}