//
// sub_1005C61E8 from 0x1005c61e8 to 0x1005c6278 (144 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009da460
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:09:25 +0000
//
__int64 __fastcall sub_1005C61E8(__int64 *a1, void *a2, __int64 a3, unsigned int a4, int a5, double a6)
{
__int64 v6; // x9
unsigned int v8; // w10
unsigned int v9; // w8
unsigned int i; // w11
v6 = *a1;
if ( *(_DWORD *)(*a1 + 2076) )
{
*(float *)&a6 = (float)*(int *)(v6 + 2072);
sub_10054FB6C(v6 + 536, a2, a3, a5, a4, a6, *(float *)(v6 + 2132));
}
else if ( a5 >= 1 )
{
v8 = 0;
v9 = a5 * a4;
do
{
for ( i = v8; i < v9; i += a5 )
*(float *)(a3 + 4LL * i) = *((float *)a2 + i) * *(float *)(v6 + 2132);
++v8;
}
while ( v8 != a5 );
}
return 0;
}