//
// FMOD::ChannelControl::setLowPassGain from 0xcfb30 to 0xcfbac (124 bytes)
//
// 4 xrefs:
// > FMOD::ChannelControl::setLowPassGain @ 0x10747c
// > ??> @ 0x2e90
// > FMOD::ChannelControl::setLowPassGain @ 0x107474
// > ??> @ 0x110300
//
// 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::setLowPassGain(FMOD::ChannelControl *this, float a2)
{
unsigned int v2; // w20
__int64 v3; // x0
__int64 v4; // x8
__int64 v5; // x0
char v6; // w8
__int64 v7; // x0
_BYTE v9[8]; // [xsp+100h] [xbp-30h] BYREF
_BYTE v10[8]; // [xsp+108h] [xbp-28h] BYREF
v2 = sub_D1D60(this, v10, v9);
if ( v2 || (v3 = sub_D1E34(), v5 = (*(__int64 (__fastcall **)(__int64))(v4 + 128))(v3), (v2 = v5) != 0) )
{
v5 = sub_D1CCC();
if ( v6 < 0 )
{
v7 = sub_D1DC4(v5);
v5 = sub_D1CE0(v7);
}
}
sub_D1DA4(v5);
return v2;
}