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