//
// FMODAudioEngine::channelLinkSound from 0x1003e4bc0 to 0x1003e4c1b (91 bytes)
//
// 0 xrefs:
//
// 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 v3; // eax
std::string *p_m_filePath; // rbx
char *v5; // rax
int *v6; // [rsp+8h] [rbp-18h] BYREF
int v7; // [rsp+10h] [rbp-10h] BYREF
v7 = a2;
++a3->m_playCount;
v3 = dword_1009A1488++;
a3->m_playIndex = v3;
p_m_filePath = &a3->m_filePath;
v6 = &v7;
v5 = sub_100172F30((float *)&a1->m_channelIDToSoundPath, &v7, (__int64)&unk_10081B0A2, &v6);
std::string::operator=((std::string *)v5 + 1, (const std::string *)p_m_filePath);
}