//
// bn_set_all_zero from 0xe19320 to 0xe19354 (52 bytes)
//
// 5 xrefs:
// > ec_GF2m_simple_group_set_curve @ 0xe33360
// > ec_GF2m_simple_group_set_curve @ 0xe3339c
// > ec_GF2m_simple_group_copy @ 0xe33614
// > ec_GF2m_simple_group_copy @ 0xe3361c
// > ??> @ 0x53688
//
// 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
//
_DWORD *__fastcall bn_set_all_zero(_DWORD *result)
{
int v1; // w3
int v2; // w1
v1 = result[2];
v2 = result[3];
if ( v1 < v2 )
return memset((void *)(*(_QWORD *)result + 8LL * v1), 0, 8 * ((unsigned int)(v2 - 1 - v1) + 1LL));
return result;
}