//
// FMOD::System::getPluginHandle from 0xdbfec to 0xdc05c (112 bytes)
//
// 4 xrefs:
// > FMOD::System::getPluginHandle @ 0x106cfc
// > ??> @ 0x4b88
// > FMOD::System::getPluginHandle @ 0x106cf4
// > ??> @ 0x10ff40
//
// 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::getPluginHandle(__int64 a1)
{
unsigned int v1; // w20
__int64 v2; // x0
int v3; // w1
int v4; // w2
_DWORD *v5; // x3
__int64 v6; // x0
char v7; // w8
__int64 v8; // x0
__int64 v9; // x0
__int64 v11; // [xsp+108h] [xbp-38h]
v1 = sub_DF0CC(a1);
if ( v1 || (v2 = sub_DF218(v11), v6 = sub_6C0C0(v2, v3, v4, v5), (v1 = v6) != 0) )
{
v6 = sub_DEFD0();
if ( v7 < 0 )
{
v8 = sub_DF2A4(v6);
v9 = sub_DC05C(v8);
v6 = sub_DEFE4(v9);
}
}
sub_DF27C(v6);
return v1;
}