//
// FMOD::ChannelControl::set3DOcclusion from 0xd1690 to 0xd1714 (132 bytes)
//
// 4 xrefs:
// > FMOD::ChannelControl::set3DOcclusion @ 0x10766c
// > ??> @ 0x6b08
// > FMOD::ChannelControl::set3DOcclusion @ 0x107664
// > ??> @ 0x1103f8
//
// 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:51 +0000
//
__int64 __fastcall FMOD::ChannelControl::set3DOcclusion(FMOD::ChannelControl *this, float a2, float a3)
{
unsigned int v3; // w20
__int64 v4; // x0
__int64 v5; // x8
__int64 v6; // x0
char v7; // w8
__int64 v8; // x0
_BYTE v10[8]; // [xsp+108h] [xbp-38h] BYREF
__int64 v11; // [xsp+128h] [xbp-18h] BYREF
v3 = sub_D1D80(this, &v11, v10);
if ( v3 || (v4 = sub_D1F64(v11), v6 = (*(__int64 (__fastcall **)(__int64))(v5 + 400))(v4), (v3 = v6) != 0) )
{
v6 = sub_D1CCC();
if ( v7 < 0 )
{
v8 = sub_D1F14(v6);
v6 = sub_D1CE0(v8);
}
}
sub_D1DD4(v6);
return v3;
}