//
// FMOD::System::getNumNestedPlugins from 0xdbd50 to 0xdbdb4 (100 bytes)
//
// 4 xrefs:
// > FMOD::System::getNumNestedPlugins @ 0x106ccc
// > ??> @ 0x3568
// > FMOD::System::getNumNestedPlugins @ 0x106cc4
// > ??> @ 0x10ff28
//
// 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:55 +0000
//
__int64 __fastcall FMOD::System::getNumNestedPlugins(FMOD::System *this, unsigned int a2, int *a3)
{
unsigned int v3; // w20
__int64 v4; // x0
unsigned int v5; // w1
int *v6; // x2
__int64 v7; // x0
char v8; // w8
__int64 v9; // x0
__int64 v10; // x0
v3 = sub_DEFF4(this);
if ( v3 || (v4 = sub_DF12C(), v7 = sub_6C004(v4, v5, v6), (v3 = v7) != 0) )
{
v7 = sub_DEFD0();
if ( v8 < 0 )
{
v9 = sub_DF0E8(v7);
v10 = sub_DBDB4(v9);
v7 = sub_DEFE4(v10);
}
}
sub_DF124(v7);
return v3;
}