//
// bn_set_all_zero from 0xa84a1c to 0xa84a50 (52 bytes)
//
// 5 xrefs:
// > ec_GF2m_simple_group_set_curve @ 0xa9e6cc
// > ec_GF2m_simple_group_set_curve @ 0xa9e70c
// > ec_GF2m_simple_group_copy @ 0xa9e970
// > ec_GF2m_simple_group_copy @ 0xa9e978
// > ??> @ 0x8381c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:08:51 +0000
//
_DWORD *__fastcall bn_set_all_zero(_DWORD *result)
{
int v1; // r3
_DWORD *v2; // r2
v1 = result[1];
if ( v1 < result[2] )
{
v2 = (_DWORD *)(*result + 4 * v1);
do
{
*v2++ = 0;
++v1;
}
while ( result[2] > v1 );
}
return result;
}