//
// FMODAudioEngine::stopChannel_2 from 0x1003e49b0 to 0x1003e49f2 (66 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::stopSFXTrigger @ 0x1001369e8
//
// 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::stopChannel_2(FMODAudioEngine *a1, int a2)
{
__int64 v2; // r9
FMOD::ChannelControl *v3; // rdi
int *v4; // [rsp+0h] [rbp-10h] BYREF
int v5; // [rsp+8h] [rbp-8h] BYREF
char v6; // [rsp+Fh] [rbp-1h] BYREF
v5 = a2;
v4 = &v5;
v3 = *(FMOD::ChannelControl **)(sub_1003EDB70(&a1->m_channelIDToChannel, &v5, &unk_10081B0A2, &v4, &v6, v2) + 24);
if ( v3 )
FMOD::ChannelControl::stop(v3);
}