//
// EC_GROUP_get_cofactor from 0x100f4dc to 0x100f530 (84 bytes)
//
// 2 xrefs:
// > ecdh_simple_compute_key @ 0x10126b4
// > ??> @ 0x73378
//
// 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 13:16:01 +0000
//
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));
}