//
// CreateGuidelinesLayer::playMusic from 0x6e7a40 to 0x6e7b00 (192 bytes)
//
// 2 xrefs:
// > ??> @ 0x71878
// > ??> @ 0x1426088
//
// This function is hookable on this platform (idp: arm, 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 12:51:44 +0000
//
__int64 __fastcall CreateGuidelinesLayer::playMusic(CreateGuidelinesLayer *this)
{
FMODAudioEngine *v2; // x22
void *v4[3]; // [xsp+40h] [xbp+40h] BYREF
v2 = (FMODAudioEngine *)FMODAudioEngine::sharedEngine(_stack_chk_guard);
(*(void (__fastcall **)(void **__return_ptr, _QWORD))(**((_QWORD **)this + 84) + 16LL))(v4, *((_QWORD *)this + 84));
FMODAudioEngine::loadAndPlayMusic(v2, (char *)v4, (unsigned int)(float)(*((float *)this + 180) * 1000.0), 0);
if ( ((__int64)v4[0] & 1) != 0 )
operator delete(v4[2]);
return _stack_chk_guard;
}