//
// FMODAudioEngine::loadAndPlayMusic from 0x3eff08 to 0x3eff7c (116 bytes)
//
// 3 xrefs:
// > CreateGuidelinesLayer::playMusic @ 0x3f7dba
// > FindBPMLayer::playMusic @ 0x3f7e2a
// > SongOptionsLayer::onPlayback @ 0x57b89c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:47:12 +0000
//
FMOD::ChannelControl *__fastcall FMODAudioEngine::loadAndPlayMusic(
FMODAudioEngine *a1,
int a2,
unsigned int a3,
unsigned int a4)
{
int v8[3]; // [sp+18h] [bp-10h] BYREF
std::string::basic_string(v8, a2);
FMODAudioEngine::loadMusic((int)a1, (unsigned __int8 *)v8, 1.0, 0, 1.0, 0, a4, 0, 0);
std::string::~string((int)v8);
if ( a3 )
FMODAudioEngine::setMusicTimeMS(a1, a3, 0, a4);
return FMODAudioEngine::resumeMusic(a1, a4);
}