//
// sub_10013F6E0 from 0x10013f6e0 to 0x10013f7c0 (224 bytes)
//
// 1 xrefs:
// > FMODAudioEngine::playEffectAdvanced @ 0x10013ad14
//
// 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
//
float *__fastcall sub_10013F6E0(
float *__dst,
__int128 *a2,
char a3,
char a4,
char a5,
int a6,
int a7,
int a8,
float a9,
float a10,
float a11,
float a12,
int a13)
{
__int128 v24; // q0
if ( *((char *)a2 + 23) < 0 )
{
sub_1000097D0(__dst, *(void **)a2, *((_QWORD *)a2 + 1));
}
else
{
v24 = *a2;
*((_QWORD *)__dst + 2) = *((_QWORD *)a2 + 2);
*(_OWORD *)__dst = v24;
}
__dst[6] = a9;
__dst[7] = a10;
__dst[8] = a11;
*((_BYTE *)__dst + 36) = a5;
*((_DWORD *)__dst + 10) = a7;
__dst[12] = 0.0;
*((_QWORD *)__dst + 13) = 0;
*((_QWORD *)__dst + 14) = 0;
__dst[30] = 0.0;
*((_QWORD *)__dst + 16) = 0;
*((_QWORD *)__dst + 17) = 0;
__dst[36] = 0.0;
*((_DWORD *)__dst + 38) = a8;
*((_DWORD *)__dst + 39) = a13;
__dst[40] = a12;
*((_BYTE *)__dst + 164) = a3;
*((_BYTE *)__dst + 165) = a4;
*((_DWORD *)__dst + 42) = a6;
*((_BYTE *)__dst + 172) = 0;
*((_BYTE *)__dst + 180) = 0;
return __dst;
}