//
// FMOD::ChannelControl::setPaused from 0x18000e0b0 to 0x18000e183 (211 bytes)
//
// 4 xrefs:
// > FMOD_ChannelGroup_SetPaused @ 0x1800c536e
// > FMOD_Channel_SetPaused @ 0x1800c59be
// > ??> @ 0x180194348
// > ??> @ 0x1801f6be8
//
// 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
//
__int64 __fastcall FMOD::ChannelControl::setPaused(__int64 a1, unsigned __int8 a2)
{
int v3; // esi
unsigned int v4; // ebx
__int64 v6; // [rsp+30h] [rbp-128h] BYREF
__int64 v7; // [rsp+38h] [rbp-120h] BYREF
_BYTE v8[256]; // [rsp+40h] [rbp-118h] BYREF
v6 = 0;
v3 = a1;
v4 = sub_180012360(a1, &v7, &v6);
if ( (v4 || (v4 = (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v7 + 16LL))(v7, a2)) != 0)
&& *((char *)off_1801AED20 + 16) < 0 )
{
sub_1800F3320(v8);
sub_1800B20E0(v4, 4, v3, (unsigned int)"ChannelControl::setPaused", (__int64)v8);
}
if ( v6 )
sub_180102320();
return v4;
}