//
// FMODAudioEngine::channelLinkSound from 0x10013bdfc to 0x10013be70 (116 bytes)
//
// 1 xrefs:
// > FMODAudioEngine::playEffectAdvanced @ 0x10013acb4
//
// 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::channelLinkSound(FMODAudioEngine *a1, int a2, FMODSound *a3)
{
int v4; // w8
int v5; // w10
std::string *v6; // x0
int v7; // [xsp+0h] [xbp-20h] BYREF
char v8; // [xsp+7h] [xbp-19h] BYREF
int *v9; // [xsp+8h] [xbp-18h] BYREF
v7 = a2;
v4 = a3->m_playCount + 1;
v5 = dword_10086B568++;
a3->m_playCount = v4;
a3->m_playIndex = v5;
v9 = &v7;
v6 = (std::string *)sub_100140AE0(&a1->m_channelIDToSoundPath, &v7, &unk_100637FD3, &v9, &v8);
std::string::operator=(v6 + 1, (const std::string *)&a3->m_filePath);
}