//
// sub_1006E17D8 from 0x1006e17d8 to 0x1006e18bc (228 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009bc198
//
// 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:34 +0000
//
bool __fastcall sub_1006E17D8(__int64 a1, __int64 a2, __int64 *a3, __int64 *a4, __int64 *a5)
{
__int64 *v5; // x19
void **v10; // x22
_BOOL8 v11; // x19
v5 = a5;
if ( a1 && a2 && a3 && a4 )
{
if ( a5 )
{
v10 = nullptr;
}
else
{
v5 = (__int64 *)sub_1006D1C30();
v10 = (void **)v5;
if ( !v5 )
return 0;
}
if ( (unsigned int)sub_1006D2E94(a2, a3, a4, v5) )
v11 = (*(unsigned int (__fastcall **)(__int64, __int64, __int64, __int64 *))(a1 + 224))(a2, a2, a1 + 104, v5) != 0;
else
v11 = 0;
if ( v10 )
sub_1006D1C94(v10);
}
else
{
sub_100706FB0(16, 200, 67, "ecp_nist.c", 177);
return 0;
}
return v11;
}