//
// FMODAudioEngine::channelLinkSound from 0x5b1b68 to 0x5b1bc0 (88 bytes)
//
// 2 xrefs:
// > FMODAudioEngine::playEffectAdvanced @ 0x5b7d14
// > ??> @ 0x88650
//
// 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 FMODAudioEngine::channelLinkSound(FMODAudioEngine *a1, int a2, FMODSound *a3)
{
int m_playCount; // w5
int v4; // w4
char *v5; // x0
int v7; // [xsp+1Ch] [xbp+1Ch] BYREF
m_playCount = a3->m_playCount;
v4 = dword_1241CC8;
v7 = a2;
a3->m_playIndex = dword_1241CC8;
a3->m_playCount = m_playCount + 1;
dword_1241CC8 = v4 + 1;
v5 = std::__detail::_Map_base,std::allocator>,std::__detail::_Select1st,std::equal_to,std::hash,std::__detail::_Mod_range_hashing,std::__detail::_Default_ranged_hash,std::__detail::_Prime_rehash_policy,std::__detail::_Hashtable_traits,true>::operator[](
(char **)&a1->m_channelIDToSoundPath,
&v7);
sub_D18EA8(v5, &a3->m_filePath);
}