//
// sub_1006E700C from 0x1006e700c to 0x1006e7088 (124 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009bd4b0
//
// 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:36 +0000
//
__int64 __fastcall sub_1006E700C(__int64 a1, unsigned __int64 a2, __int64 a3, __int64 a4)
{
__int64 v8; // x23
if ( !a2 )
return 1;
v8 = 0;
while ( (*(unsigned int (__fastcall **)(__int64, _QWORD, __int64))(*(_QWORD *)a1 + 216LL))(
a1,
*(_QWORD *)(a3 + 8 * v8),
a4) )
{
if ( ++v8 >= a2 )
return 1;
}
return 0;
}