//
// sub_1005F6AD0 from 0x1005f6ad0 to 0x1005f6b48 (120 bytes)
//
// 1 xrefs:
// > FMOD::System::getAdvancedSettings @ 0x1005eef10
//
// 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_1005F6AD0(__int64 a1, _DWORD *__dst)
{
size_t v3; // x20
__int64 v5; // x21
if ( !__dst )
return 31;
v3 = (unsigned int)*__dst;
if ( (unsigned int)(v3 - 105) < 0xFFFFFFC8 || (v3 & 3) != 0 || __dst[8] > 0x20u )
return 31;
v5 = *((_QWORD *)__dst + 6);
memcpy(__dst, (const void *)(a1 + 69640), v3);
*__dst = v3;
*((_QWORD *)__dst + 6) = v5;
return 0;
}