//
// FMODAudioEngine::channelLinkSound from 0x3ed760 to 0x3ed790 (48 bytes)
//
// 1 xrefs:
// > FMODAudioEngine::playEffectAdvanced @ 0x3f102a
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:47:10 +0000
//
unsigned __int8 *__fastcall FMODAudioEngine::channelLinkSound(int a1, unsigned int a2, unsigned int a3)
{
int v4; // r2
int v5; // r2
unsigned __int8 *v6; // r0
unsigned int v8[2]; // [sp+4h] [bp-8h] BYREF
v8[0] = a2;
v8[1] = a3;
v4 = *(_DWORD *)(a3 + 20);
v8[0] = a2;
*(_DWORD *)(a3 + 20) = v4 + 1;
v5 = dword_D2B4B8++;
*(_DWORD *)(a3 + 24) = v5;
v6 = (unsigned __int8 *)std::unordered_map::operator[](a1 + 852, v8);
return std::string::operator=(v6, (unsigned __int8 *)(a3 + 4));
}