//
// sub_1005BB754 from 0x1005bb754 to 0x1005bb82c (216 bytes)
//
// 1 xrefs:
// > ??> @ 0x100838b30
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
bool __fastcall sub_1005BB754(__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_1005ABAC8();
v8 = (void **)v4;
if ( !v4 )
return 0;
}
if ( (unsigned int)sub_1005B12FC(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_1005ABB2C(v8);
}
else
{
sub_1005E0E48(16, 201, 134, "ecp_nist.c", 203);
return 0;
}
return v9;
}