//
// sub_6BDBC from 0x6bdbc to 0x6be30 (116 bytes)
//
// 1 xrefs:
// > FMOD::System::getAdvancedSettings @ 0xdba7c
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_6BDBC(__int64 a1, _DWORD *dest)
{
int v2; // w20
__int64 v5; // x21
if ( !dest )
return 31;
v2 = *dest;
if ( (unsigned int)(*dest - 49) > 0x37 || (v2 & 3LL) != 0 || dest[8] > 0x20u )
return 31;
v5 = *((_QWORD *)dest + 6);
memcpy(dest, (const void *)(a1 + 69640), v2);
*dest = v2;
*((_QWORD *)dest + 6) = v5;
return 0;
}