//
// CreateGuidelinesLayer::playMusic from 0x14009acd0 to 0x14009ad5f (143 bytes)
//
// 2 xrefs:
// > ??> @ 0x140542978
// > ??> @ 0x1406c7434
//
// 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
//
// Hidden C++ exception states: #wind=2
void CreateGuidelinesLayer::playMusic(CreateGuidelinesLayer *a1)
{
std::string *v2; // rdi
FMODAudioEngine *v3; // rcx
_BYTE v4[40]; // [rsp+20h] [rbp-28h] BYREF
FMODAudioEngine *v5; // [rsp+58h] [rbp+10h]
v2 = a1->m_delegate->getSongFileName(a1->m_delegate, v4);
v3 = (FMODAudioEngine *)qword_1406C2E88;
if ( !qword_1406C2E88 )
{
v5 = (FMODAudioEngine *)operator new(0x888u);
qword_1406C2E88 = (__int64)FMODAudioEngine::FMODAudioEngine(v5);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2E88 + 72LL))(qword_1406C2E88);
v3 = (FMODAudioEngine *)qword_1406C2E88;
}
FMODAudioEngine::loadAndPlayMusic(v3, (__int64)v2, (int)(float)(a1->m_elapsed * 1000.0));
}