//
// FMODAudioEngine::loadAndPlayMusic from 0x303708 to 0x30377c (116 bytes)
//
// 3 xrefs:
// > CreateGuidelinesLayer::playMusic @ 0x3085dc
// > FindBPMLayer::playMusic @ 0x30874c
// > SongOptionsLayer::onPlayback @ 0x45ff38
//
// 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 FMODAudioEngine::loadAndPlayMusic(FMODAudioEngine *a1, int a2, unsigned int a3, int a4)
{
int v7; // [sp+18h] [bp-8h] BYREF
sub_775C20(&v7, a2);
FMODAudioEngine::loadMusic((int)a1, &v7, 1.0, 0.0, 1.0, 0, a4, 0, 0);
sub_774008(&v7);
if ( a3 )
FMODAudioEngine::setMusicTimeMS(a1, a3, 0, a4);
FMODAudioEngine::resumeMusic(a1, a4);
}