//
// sub_1005E6828 from 0x1005e6828 to 0x1005e6898 (112 bytes)
//
// 3 xrefs:
// > ??> @ 0x10083c188
// > ??> @ 0x10083c398
// > ??> @ 0x10083c5a8
//
// 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_1005E6828(_QWORD *a1, __int64 a2, __int64 a3, unsigned __int64 a4)
{
unsigned __int64 v6; // x22
unsigned __int64 v7; // x23
__int64 v8; // x21
unsigned __int64 v9; // x24
v6 = *(int *)(*a1 + 4LL);
if ( v6 <= a4 )
{
v7 = 0;
v8 = a1[15];
v9 = a4 - v6;
do
{
(*(void (__fastcall **)(unsigned __int64, unsigned __int64, __int64))(v8 + 280))(a3 + v7, a2 + v7, v8);
v7 += v6;
}
while ( v7 <= v9 );
}
return 1;
}