//
// sub_10070EC28 from 0x10070ec28 to 0x10070ec9c (116 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009c0c40
//
// 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:12:55 +0000
//
__int64 __fastcall sub_10070EC28(__int64 a1, __int64 a2, __int64 a3, unsigned __int64 a4)
{
unsigned __int64 v7; // x22
unsigned __int64 v8; // x23
unsigned __int64 v9; // x24
v7 = *(int *)(*(_QWORD *)a1 + 4LL);
if ( v7 <= a4 )
{
v8 = 0;
v9 = a4 - v7;
do
{
sub_1006C1D88((unsigned __int8 *)(a3 + v8), (_WORD *)(a2 + v8), *(_QWORD *)(a1 + 120) + 4LL, *(_DWORD *)(a1 + 16));
v8 += v7;
}
while ( v8 <= v9 );
}
return 1;
}