//
// FMODAudioEngine::stopChannel_2 from 0x1003d1f20 to 0x1003d1f62 (66 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::stopSFXTrigger @ 0x1001143b8
//
// 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
//
__int64 __fastcall FMODAudioEngine::stopChannel_2(__int64 a1, int a2, __int64 a3, __int64 a4, __int64 a5, __int64 a6)
{
__int64 result; // rax
FMOD::ChannelControl *v7; // rdi
int *v8; // [rsp+0h] [rbp-10h] BYREF
int v9; // [rsp+8h] [rbp-8h] BYREF
char v10; // [rsp+Fh] [rbp-1h] BYREF
v9 = a2;
v8 = &v9;
result = sub_1003DB490(a1 + 1256, &v9, &unk_100A09642, &v8, &v10, a6);
v7 = *(FMOD::ChannelControl **)(result + 24);
if ( v7 )
return FMOD::ChannelControl::stop(v7);
return result;
}