//
// LevelInfoLayer::playStep2 from 0x140422310 to 0x1404223ed (221 bytes)
//
// 2 xrefs:
// > LevelInfoLayer::onPlay @ 0x140421ee4
// > ??> @ 0x14092684c
//
// 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:32:09 +0000
//
struct cocos2d::CCAction *__fastcall LevelInfoLayer::playStep2(__int64 *a1)
{
_QWORD *AudioFileName; // rbx
__int64 v3; // rcx
__int64 v4; // rbx
struct cocos2d::CCFiniteTimeAction *v5; // rax
struct cocos2d::CCAction *v6; // rax
_QWORD v8[5]; // [rsp+50h] [rbp-28h] BYREF
void *v9; // [rsp+88h] [rbp+10h]
AudioFileName = GJGameLevel::getAudioFileName(a1[63], v8);
v3 = qword_14090BF60;
if ( !qword_14090BF60 )
{
v9 = operator new(0x8A8u);
qword_14090BF60 = FMODAudioEngine::FMODAudioEngine((__int64)v9);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BF60 + 72LL))(qword_14090BF60);
v3 = qword_14090BF60;
}
FMODAudioEngine::loadMusic(v3, (__int64)AudioFileName, 1.0, 0.0, 1065353216, 1, 0, 0, 0);
v4 = cocos2d::CCCallFunc::create(a1, LevelInfoLayer::playStep3);
v5 = cocos2d::CCDelayTime::create(0.0);
v6 = cocos2d::CCSequence::create(v5, v4, 0);
return cocos2d::CCNode::runAction((cocos2d::CCNode *)a1, v6);
}