//
// EditLevelLayer::playStep2 from 0x14017b440 to 0x14017b51d (221 bytes)
//
// 2 xrefs:
// > EditLevelLayer::onPlay @ 0x14017b3e5
// > ??> @ 0x140918734
//
// This function is hookable on this platform (idp: pc, 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 11:27:35 +0000
//
// Hidden C++ exception states: #wind=2
struct cocos2d::CCAction *__fastcall EditLevelLayer::playStep2(cocos2d::CCNode *a1)
{
__int64 AudioFileName; // rbx
__int64 v3; // rcx
__int64 v4; // rbx
struct cocos2d::CCFiniteTimeAction *v5; // rax
struct cocos2d::CCAction *v6; // rax
void *v8; // [rsp+88h] [rbp+10h]
AudioFileName = GJGameLevel::getAudioFileName(*((_QWORD *)a1 + 59));
v3 = qword_14090BF60;
if ( !qword_14090BF60 )
{
v8 = operator new(0x8A8u);
qword_14090BF60 = FMODAudioEngine::FMODAudioEngine((__int64)v8);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BF60 + 72LL))(qword_14090BF60);
v3 = qword_14090BF60;
}
FMODAudioEngine::loadMusic(v3, AudioFileName, 1.0, 0.0, 1065353216, 1, 0, 0, 0);
v4 = cocos2d::CCCallFunc::create(a1, EditLevelLayer::playStep3);
v5 = cocos2d::CCDelayTime::create(0.0);
v6 = cocos2d::CCSequence::create(v5, v4, 0);
return cocos2d::CCNode::runAction(a1, v6);
}