//
// sub_10049F150 from 0x10049f150 to 0x10049f1e0 (144 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_10049F150(__int64 a1, void *a2, __int64 a3, unsigned int a4, int a5, double a6)
{
unsigned int v7; // w9
unsigned int v8; // w8
unsigned int i; // w10
if ( *(_DWORD *)(a1 + 2076) )
{
*(float *)&a6 = (float)*(int *)(a1 + 2072);
sub_100429A04(a1 + 536, a2, a3, a5, a4, a6, *(float *)(a1 + 2132));
}
else if ( a5 >= 1 )
{
v7 = 0;
v8 = a5 * a4;
do
{
for ( i = v7; i < v8; i += a5 )
*(float *)(a3 + 4LL * i) = *((float *)a2 + i) * *(float *)(a1 + 2132);
++v7;
}
while ( v7 != a5 );
}
return 0;
}