//
// FMODAudioEngine::channelIDForUniqueID from 0x6d3de4 to 0x6d3e38 (84 bytes)
//
// 4 xrefs:
// > FMODAudioEngine::channelForUniqueID @ 0x6d3e48
// > FMODAudioEngine::playEffectAdvanced @ 0x6dadfc
// > GJBaseGameLayer::activateSFXEditTrigger @ 0x9dffdc
// > ??> @ 0xb8318
//
// This function is hookable on this platform (idp: arm, 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:51:29 +0000
//
__int64 __fastcall FMODAudioEngine::channelIDForUniqueID(FMODAudioEngine *this, int a2)
{
char *v2; // x20
int v4; // [xsp+2Ch] [xbp+2Ch] BYREF
v2 = (char *)this + 1384;
v4 = a2;
if ( std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::find(
(_QWORD *)this + 173,
&v4) )
{
return *(unsigned int *)std::unordered_map::operator[]((__int64)v2, &v4);
}
else
{
return 0;
}
}