//
// FMOD::System::getNestedPlugin from 0xdbe18 to 0xdbe88 (112 bytes)
//
// 4 xrefs:
// > FMOD::System::getNestedPlugin @ 0x106cdc
// > ??> @ 0x45b8
// > FMOD::System::getNestedPlugin @ 0x106cd4
// > ??> @ 0x10ff30
//
// 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::getNestedPlugin(FMOD::System *this, unsigned int a2, int a3, unsigned int *a4)
{
unsigned int v5; // w20
__int64 v6; // x0
unsigned int v7; // w1
int v8; // w2
_DWORD *v9; // x3
__int64 v10; // x0
char v11; // w8
__int64 v12; // x0
__int64 v13; // x0
__int64 v15; // [xsp+108h] [xbp-38h]
v5 = sub_DF0CC(this);
if ( v5 || (v6 = sub_DF218(v15, a2), v10 = sub_6C05C(v6, v7, v8, v9), (v5 = v10) != 0) )
{
v10 = sub_DEFD0();
if ( v11 < 0 )
{
v12 = sub_DF2A4(v10);
v13 = sub_DBE88(v12);
v10 = sub_DEFE4(v13);
}
}
sub_DF27C(v10);
return v5;
}