//
// BN_MONT_CTX_init from 0x9ea2a0 to 0x9ea2d4 (52 bytes)
//
// 2 xrefs:
// > BN_MONT_CTX_new @ 0x9ea2f4
// > ??> @ 0x797fc
//
// 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:07:26 +0000
//
int __fastcall BN_MONT_CTX_init(_DWORD *a1)
{
int result; // r0
*a1 = 0;
bn_init(a1 + 1);
bn_init(a1 + 6);
result = bn_init(a1 + 11);
a1[17] = 0;
a1[16] = 0;
a1[18] = 0;
return result;
}