//
// sub_1005F6F8C from 0x1005f6f8c to 0x1005f6fd4 (72 bytes)
//
// 1 xrefs:
// > FMOD::System::setOutputByPlugin @ 0x1005efb04
//
// 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_1005F6F8C(__int64 a1, __int64 a2)
{
_DWORD *v2; // x20
__int64 result; // x0
int v4; // w19
v2 = (_DWORD *)(a1 + 69828);
if ( *(_BYTE *)(a1 + 69984) )
return 51;
v4 = a2;
result = sub_100563530(a1, 0, a2);
if ( !(_DWORD)result )
{
*v2 = 0;
v2[1] = v4;
}
return result;
}