//
// sub_1006E18BC from 0x1006e18bc to 0x1006e1994 (216 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009bc1a0
//
// 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_1006E18BC(__int64 a1, __int64 a2, _QWORD *a3, __int64 *a4)
{
__int64 *v4; // x20
void **v8; // x21
_BOOL8 v9; // x19
v4 = a4;
if ( a1 && a2 && a3 )
{
if ( a4 )
{
v8 = nullptr;
}
else
{
v4 = (__int64 *)sub_1006D1C30();
v8 = (void **)v4;
if ( !v4 )
return 0;
}
if ( (unsigned int)sub_1006D7464(a2, a3, v4) )
v9 = (*(unsigned int (__fastcall **)(__int64, __int64, __int64, __int64 *))(a1 + 224))(a2, a2, a1 + 104, v4) != 0;
else
v9 = 0;
if ( v8 )
sub_1006D1C94(v8);
}
else
{
sub_100706FB0(16, 201, 134, "ecp_nist.c", 203);
return 0;
}
return v9;
}