//
// CreateGuidelinesLayer::playMusic from 0x140134320 to 0x1401343b2 (146 bytes)
//
// 2 xrefs:
// > ??> @ 0x140736ac8
// > ??> @ 0x140916ff4
//
// 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:04 +0000
//
// Hidden C++ exception states: #wind=2
void __fastcall CreateGuidelinesLayer::playMusic(__int64 a1)
{
__int64 v2; // rdi
_QWORD *v3; // rcx
_BYTE v4[40]; // [rsp+20h] [rbp-28h] BYREF
void *v5; // [rsp+58h] [rbp+10h]
v2 = (*(__int64 (__fastcall **)(_QWORD, _BYTE *))(**(_QWORD **)(a1 + 672) + 16LL))(*(_QWORD *)(a1 + 672), v4);
v3 = (_QWORD *)qword_14090BF60;
if ( !qword_14090BF60 )
{
v5 = operator new(0x8A8u);
qword_14090BF60 = FMODAudioEngine::FMODAudioEngine((__int64)v5);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BF60 + 72LL))(qword_14090BF60);
v3 = (_QWORD *)qword_14090BF60;
}
FMODAudioEngine::loadAndPlayMusic(v3, v2, (int)(float)(*(float *)(a1 + 720) * 1000.0));
}