//
// FMODAudioEngine::channelLinkSound from 0x1003d2130 to 0x1003d218b (91 bytes)
//
// 0 xrefs:
//
// 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:39 +0000
//
std::string *__fastcall FMODAudioEngine::channelLinkSound(__int64 a1, int a2, __int64 a3)
{
int v3; // eax
const std::string *v4; // rbx
char *v5; // rax
int *v7; // [rsp+8h] [rbp-18h] BYREF
int v8; // [rsp+10h] [rbp-10h] BYREF
v8 = a2;
++*(_DWORD *)(a3 + 36);
v3 = dword_100BE3708++;
*(_DWORD *)(a3 + 40) = v3;
v4 = (const std::string *)(a3 + 8);
v7 = &v8;
v5 = sub_1000E8600((float *)(a1 + 1424), &v8, (__int64)&unk_100A09642, &v7);
return std::string::operator=((std::string *)v5 + 1, v4);
}