//
// sub_6BF84 from 0x6bf84 to 0x6c004 (128 bytes)
//
// 1 xrefs:
// > FMOD::System::getNumPlugins @ 0xdbf4c
//
// 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:13:57 +0000
//
__int64 __fastcall sub_6BF84(__int64 a1, int a2, __int64 a3)
{
__int64 v4; // x0
_DWORD *v5; // x1
__int64 result; // x0
__int64 v7; // x0
_DWORD *v8; // x1
__int64 v9; // x0
_DWORD *v10; // x1
if ( !a3 )
return 31;
if ( *(_BYTE *)(a1 + 9) || (result = sub_69F98(a1), !(_DWORD)result) )
{
switch ( a2 )
{
case 2:
v7 = sub_70200();
sub_62D38(v7, v8);
return 0;
case 1:
v9 = sub_70200();
sub_62D04(v9, v10);
return 0;
case 0:
v4 = sub_70200();
sub_62D78(v4, v5);
return 0;
}
return 31;
}
return result;
}