//
// FMOD::ChannelControl::isPlaying from 0xcfd2c to 0xcfdc4 (152 bytes)
//
// 4 xrefs:
// > FMOD::ChannelControl::isPlaying @ 0x107e9c
// > ??> @ 0x2248
// > FMOD::ChannelControl::isPlaying @ 0x107e94
// > ??> @ 0x110810
//
// 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::isPlaying(FMOD::ChannelControl *this, bool *a2)
{
unsigned int v3; // w21
__int64 v4; // x0
char v5; // w8
__int64 v6; // x0
__int64 v7; // x1
__int64 v9; // [xsp+100h] [xbp-30h]
__int64 v10; // [xsp+108h] [xbp-28h]
if ( a2 )
*a2 = 0;
v9 = 0;
v3 = sub_55F6C((char)this);
if ( v3 || (v4 = (*(__int64 (__fastcall **)(__int64, bool *))(*(_QWORD *)v10 + 168LL))(v10, a2), (v3 = v4) != 0) )
{
v4 = sub_D1CCC();
if ( v5 < 0 )
{
v6 = sub_D1FB4(v4);
sub_716D4(v6, v7, a2);
v4 = sub_D1D58(v3, 4);
}
}
sub_D1DA4(v4);
return v3;
}