//
// sub_10070C990 from 0x10070c990 to 0x10070ca00 (112 bytes)
//
// 3 xrefs:
// > ??> @ 0x1009bf7f8
// > ??> @ 0x1009bfa08
// > ??> @ 0x1009bfc18
//
// 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:54 +0000
//
__int64 __fastcall sub_10070C990(_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;
}