//
// BN_get_word from 0xff82bc to 0xff82e8 (44 bytes)
//
// 5 xrefs:
// > bn_probable_prime_dh_coprime @ 0x10f53cc
// > BN_generate_prime_ex @ 0x10f5a78
// > BN_generate_prime_ex @ 0x10f5b00
// > BN_generate_prime_ex @ 0x10f5b80
// > ??> @ 0x913c0
//
// 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:15:49 +0000
//
__int64 __fastcall BN_get_word(_DWORD *a1)
{
__int64 result; // x0
int v3; // w2
result = -1;
v3 = a1[2];
if ( v3 <= 1 )
{
result = 0;
if ( v3 == 1 )
return **(_QWORD **)a1;
}
return result;
}