//
// sub_100495710 from 0x100495710 to 0x100495810 (256 bytes)
//
// 1 xrefs:
// > ??> @ 0x100852110
//
// 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_100495710(__int64 a1, void *__src, void *__dst, int a4, int a5, _DWORD *a6)
{
__int64 v6; // x24
__int64 v7; // x25
__int64 v8; // x22
__int64 v9; // x23
__int64 v10; // x0
if ( __src )
{
v6 = *(_QWORD *)a1 + 49688LL;
if ( *(_DWORD *)(*(_QWORD *)a1 + 49716LL) >= a5 && *(_QWORD *)(*(_QWORD *)a1 + 49704LL) )
{
if ( a5 >= 1 )
{
v7 = 0;
v8 = 0;
v9 = (unsigned int)a5;
do
{
v10 = *(_QWORD *)(v6 + 16) + v7;
*(_DWORD *)(v10 + 81968) = *(_DWORD *)(v6 + 4);
*(_DWORD *)(v10 + 81972) = *(_DWORD *)(v6 + 32);
sub_100498354(*(float *)v6, (float)*(int *)(v6 + 24));
++v8;
v7 += 81992;
}
while ( v9 != v8 );
}
}
else
{
memcpy(__dst, __src, 4LL * (unsigned int)(*a6 * a4));
}
}
return 0;
}