//
// sub_1006FEA1C from 0x1006fea1c to 0x1006fea9c (128 bytes)
//
// 2 xrefs:
// > sub_1006FE578 @ 0x1006fe5a8
// > sub_1007515A4 @ 0x100751774
//
// 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:47 +0000
//
__int64 __fastcall sub_1006FEA1C(__int64 a1)
{
__int64 (__fastcall *v2)(__int64, _QWORD, _DWORD **, _QWORD); // x8
int v3; // w8
_DWORD *v5; // [xsp+8h] [xbp-18h] BYREF
v2 = *(__int64 (__fastcall **)(__int64, _QWORD, _DWORD **, _QWORD))(a1 + 72);
if ( !v2 )
return 1;
v3 = v2(a1, 0, &v5, 0);
if ( v3 < 1 )
return 1;
else
return sub_1006FDA90(&qword_100A0C8B0, (__int64)sub_1006FEA9C, a1, v5, v3, 0);
}