//
// FMOD::ChannelControl::stop from 0xcf4b4 to 0xcf540 (140 bytes)
//
// 4 xrefs:
// > FMOD::ChannelControl::stop @ 0x1073fc
// > ??> @ 0x7fd8
// > FMOD::ChannelControl::stop @ 0x1073f4
// > ??> @ 0x1102c0
//
// 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:14:50 +0000
//
__int64 __fastcall FMOD::ChannelControl::stop(FMOD::ChannelControl *this)
{
unsigned int v2; // w20
char v3; // w8
_BYTE v5[256]; // [xsp+8h] [xbp-128h] BYREF
__int64 v6; // [xsp+108h] [xbp-28h] BYREF
__int64 v7; // [xsp+118h] [xbp-18h]
v6 = 0;
v2 = sub_55F6C((char)this);
if ( v2 || (v2 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v7 + 8LL))(v7)) != 0 )
{
sub_D1CCC();
if ( v3 < 0 )
{
v5[0] = 0;
sub_DF504(v2, 4, this, "ChannelControl::stop", v5);
}
}
sub_51968(&v6);
return v2;
}