//
// sub_10044A0B8 from 0x10044a0b8 to 0x10044a114 (92 bytes)
//
// 3 xrefs:
// > sub_1004A8E58 @ 0x1004a8e6c
// > sub_1004A8E58 @ 0x1004a8e68
// > ??> @ 0x1008524b0
//
// 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_10044A0B8(__int64 *result, __int64 a2, int a3, int a4)
{
unsigned int v4; // w8
__int64 i; // x9
__int64 v6; // x12
__int64 *v7; // x13
unsigned int v8; // w14
__int64 v9; // t1
if ( a4 )
{
v4 = 0;
for ( i = 0; i != a4; ++i )
{
v6 = (unsigned int)a3;
v7 = result;
v8 = v4;
if ( a3 >= 1 )
{
do
{
v9 = *v7++;
*(_DWORD *)(a2 + 4LL * v8++) = *(_DWORD *)(v9 + 4 * i);
--v6;
}
while ( v6 );
}
v4 += a3;
}
}
return result;
}