//
// EC_GROUP_get_cofactor from 0xd9117c to 0xd911d0 (84 bytes)
//
// 2 xrefs:
// > ecdh_simple_compute_key @ 0xd94354
// > ??> @ 0x52fc8
//
// 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 EC_GROUP_get_cofactor(__int64 a1, unsigned __int64 *a2)
{
__int64 v2; // x3
v2 = *(_QWORD *)(a1 + 24);
return v2 && BN_copy(a2, v2) && !BN_is_zero(*(_QWORD *)(a1 + 24));
}