//
// EditLevelLayer::playStep2 from 0x7ed448 to 0x7ed540 (248 bytes)
//
// 3 xrefs:
// > ??> @ 0xeb768
// > EditLevelLayer::onPlay @ 0x7eef1c
// > ??> @ 0x15471a8
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:54:33 +0000
//
__int64 __fastcall EditLevelLayer::playStep2(GJGameLevel **this)
{
__int64 v2; // x22
cocos2d::CCDelayTime *v3; // x0
cocos2d::CCSequence *v4; // x20
cocos2d::CCFiniteTimeAction *v5; // x0
cocos2d::CCAction *v6; // x0
__int64 v8[3]; // [xsp+40h] [xbp+40h] BYREF
v2 = FMODAudioEngine::sharedEngine(_stack_chk_guard);
GJGameLevel::getAudioFileName(v8, *(this + 59));
FMODAudioEngine::loadMusic(v2, (char *)v8, 1u, 0, 0, 0, 1.0, 0.0, 1.0);
v3 = (cocos2d::CCDelayTime *)LOBYTE(v8[0]);
if ( (v8[0] & 1) != 0 )
operator delete((void *)v8[2]);
v4 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(v3, 0.0);
v5 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(this, EditLevelLayer::playStep3, 0);
v6 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v4, v5, 0);
cocos2d::CCNode::runAction((cocos2d::CCNode *)this, v6);
return _stack_chk_guard;
}