//
// sub_1003D4BC0 from 0x1003d4bc0 to 0x1003d4bfb (59 bytes)
//
// 1 xrefs:
// > FMODAudioEngine::loadMusic @ 0x1003ce7b5
//
// 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 12:29:40 +0000
//
__int64 __fastcall sub_1003D4BC0(FMOD::ChannelControl *a1, int a2, int a3, __m128 a4)
{
_QWORD *v6; // rdi
__int64 v7; // rax
if ( !(a3 | a2) )
{
v6 = (_QWORD *)FMODAudioEngine::sharedEngine();
FMODAudioEngine::channelStopped(v6, a1, 1, a4);
v7 = MusicDownloadManager::sharedState(v6);
MusicDownloadManager::songStateChanged(v7);
}
return 0;
}