//
// sub_1005F6C44 from 0x1005f6c44 to 0x1005f6cf0 (172 bytes)
//
// 1 xrefs:
// > FMOD::System::getNumPlugins @ 0x1005ef6c4
//
// 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 11:09:51 +0000
//
__int64 __fastcall sub_1005F6C44(__int64 a1, int a2, int *a3)
{
__int64 result; // x0
if ( !a3 )
return 31;
if ( *(_BYTE *)(a1 + 9) || (result = sub_1005F46C8(a1), !(_DWORD)result) )
{
switch ( a2 )
{
case 2:
sub_1005E23A8(*(_QWORD *)(a1 + 69128), a3);
return 0;
case 1:
sub_1005E2374(*(_QWORD *)(a1 + 69128), a3);
return 0;
case 0:
sub_1005E23F8(*(_QWORD *)(a1 + 69128), a3);
return 0;
}
return 31;
}
return result;
}