//
// bn_set_all_zero from 0x1097620 to 0x1097654 (52 bytes)
//
// 5 xrefs:
// > ec_GF2m_simple_group_set_curve @ 0x10b1660
// > ec_GF2m_simple_group_set_curve @ 0x10b169c
// > ec_GF2m_simple_group_copy @ 0x10b1914
// > ec_GF2m_simple_group_copy @ 0x10b191c
// > ??> @ 0x73bd0
//
// 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:17:24 +0000
//
_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;
}