//
// sub_66DF8 from 0x66df8 to 0x66e5c (100 bytes)
//
// 2 xrefs:
// > ??> @ 0x66df6
// > sub_58CA8 @ 0x594be
//
// 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
//
int __fastcall sub_66DF8(__int64 a1)
{
int v2; // r0
int v3; // r1
int v4; // r0
v2 = sub_BD410(*(int *)((char *)&dword_14C + (_DWORD)off_E8000), 24, "../../src/fmod_profile_stats.cpp", 16);
if ( !v2 )
return 38;
v3 = v2;
v4 = v2 + 4;
*(_DWORD *)v3 = &off_E4ABC;
*(_DWORD *)(v3 + 4) = v4;
*(_DWORD *)(v3 + 8) = v4;
*(_DWORD *)(v3 + 12) = 0;
*(_QWORD *)(v3 + 16) = a1;
return (*(int (__fastcall **)(_DWORD))(*(_DWORD *)a1 + 4))(a1);
}