//
// sub_100499598 from 0x100499598 to 0x1004996a0 (264 bytes)
//
// 0 xrefs:
//
// 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_100499598(
__int64 a1,
void *__src,
void *__dst,
int a4,
int a5,
_DWORD *a6,
float32x4x2_t a7,
double a8,
double a9,
float32x4x2_t a10)
{
__int64 v14; // x24
__int64 v15; // x25
int v16; // w23
__int64 v17; // x27
unsigned __int64 v18; // x0
int v19; // w2
if ( __src )
{
v14 = a1 + 49688;
if ( *(_DWORD *)(a1 + 49716) >= a5 && *(_QWORD *)(a1 + 49704) )
{
if ( a5 >= 1 )
{
v15 = 0;
v16 = 0;
v17 = 81992LL * (unsigned int)a5;
do
{
v18 = *(_QWORD *)(v14 + 16) + v15;
v19 = *(_DWORD *)(v14 + 8);
*(_DWORD *)(v18 + 81968) = *(_DWORD *)(v14 + 4);
*(_DWORD *)(v18 + 81972) = *(_DWORD *)(v14 + 32);
a7.val[0].i32[0] = *(_DWORD *)v14;
a7.val[1].f32[0] = (float)*(int *)(v14 + 24);
sub_100498354(v18, a4, v19, (__int64)__src, (__int64)__dst, v16++, a5, a7, a8, a9, a10);
v15 += 81992;
}
while ( v17 != v15 );
}
}
else
{
memcpy(__dst, __src, 4LL * (unsigned int)(*a6 * a4));
}
}
return 0;
}