//
// LevelInfoLayer::playStep2 from 0x1402fd0b0 to 0x1402fd18a (218 bytes)
//
// 2 xrefs:
// > LevelInfoLayer::onPlay @ 0x1402fcc96
// > ??> @ 0x1406d41f0
//
// 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 LevelInfoLayer::playStep2(LevelInfoLayer *a1)
{
_QWORD *AudioFileName; // rbx
__int64 v3; // rcx
__int64 v4; // rbx
struct cocos2d::CCDelayTime *v5; // rax
struct cocos2d::CCSequence *v6; // rax
cocos2d::ccColor3B *v7; // r8
_QWORD v8[5]; // [rsp+50h] [rbp-28h] BYREF
FMODAudioEngine *v9; // [rsp+88h] [rbp+10h]
float v10; // [rsp+A0h] [rbp+28h]
AudioFileName = GJGameLevel::getAudioFileName((__int64)a1->m_level, v8);
v3 = qword_1406C2E88;
if ( !qword_1406C2E88 )
{
v9 = (FMODAudioEngine *)operator new(0x888u);
qword_1406C2E88 = (__int64)FMODAudioEngine::FMODAudioEngine(v9);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2E88 + 72LL))(qword_1406C2E88);
v3 = qword_1406C2E88;
}
FMODAudioEngine::loadMusic(v3, (__int64)AudioFileName, 1.0, 0.0, 1.0, 1, 0, 0, 0);
v4 = cocos2d::CCCallFunc::create(a1, LevelInfoLayer::playStep3);
v5 = cocos2d::CCDelayTime::create(0.0);
v6 = cocos2d::CCSequence::create(v5, v4, 0);
cocos2d::CCNode::runAction((CCLightFlash *)a1, (cocos2d::CCPoint)v6, v7, 0.0, v10);
}