//
// sub_1004E6088 from 0x1004e6088 to 0x1004e60e0 (88 bytes)
//
// 1 xrefs:
// > ??> @ 0x100828e20
//
// 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_1004E6088(__int64 a1, __int64 a2, __int64 a3, __int64 a4, __int64 a5, int a6)
{
__int64 v6; // x9
__int64 v7; // x8
if ( a6 < 1 )
return 0;
v6 = 0;
v7 = 0;
do
{
if ( *(_DWORD *)(a5 + 4 * v6) )
{
*(_QWORD *)(a4 + 8LL * (int)v7) = *(_QWORD *)(a4 + 8 * v6);
v7 = (unsigned int)(v7 + 1);
}
++v6;
}
while ( a6 != v6 );
if ( (_DWORD)v7 )
return sub_1004E60E0(a1, a2, a3, a4, v7, sub_10042E77C);
else
return 0;
}