//
// sub_1005E5808 from 0x1005e5808 to 0x1005e5874 (108 bytes)
//
// 1 xrefs:
// > ??> @ 0x10083bd10
//
// 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_1005E5808(unsigned int **a1, __int64 a2, __int64 a3, unsigned __int64 a4)
{
unsigned __int64 v7; // x22
unsigned __int64 v8; // x23
unsigned __int64 v9; // x24
v7 = (int)(*a1)[1];
if ( v7 <= a4 )
{
v8 = 0;
v9 = a4 - v7;
do
{
sub_10059E2E4((unsigned __int8 *)(a3 + v8), (_BYTE *)(a2 + v8), a1[15]);
v8 += v7;
}
while ( v8 <= v9 );
}
return 1;
}