//
// CreateGuidelinesLayer::playMusic from 0x10050c680 to 0x10050c6e8 (104 bytes)
//
// 1 xrefs:
// > ??> @ 0x10095c158
//
// 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 __fastcall CreateGuidelinesLayer::playMusic(CreateGuidelinesLayer *a1)
{
FMODAudioEngine *v1; // r14
double v2; // xmm0_8
__int128 v3; // [rsp+0h] [rbp-30h] BYREF
void *__p; // [rsp+10h] [rbp-20h]
v1 = FMODAudioEngine::sharedEngine();
((void (__fastcall *)(__int128 *))a1->m_delegate->getSongFileName)(&v3);
*(_QWORD *)&v2 = LODWORD(a1->m_elapsed);
*(float *)&v2 = *(float *)&v2 * 1000.0;
FMODAudioEngine::loadAndPlayMusic(v1, &v3, (int)*(float *)&v2, 0, v2);
if ( (v3 & 1) != 0 )
operator delete(__p);
}