//
// BN_is_word from 0x7d4864 to 0x7d4894 (48 bytes)
//
// 6 xrefs:
// > int_bn_mod_inverse @ 0x86f54c
// > int_bn_mod_inverse @ 0x86f67c
// > DH_check @ 0x87f65c
// > DH_check @ 0x87f6b0
// > BN_is_prime_fasttest_ex @ 0x8cab7c
// > ??> @ 0x5fb8c
//
// 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
//
bool __fastcall BN_is_word(int a1, int a2)
{
_BOOL4 result; // r0
result = BN_abs_is_word(a1, a2);
if ( result )
return !a2 || *(_DWORD *)(a1 + 12) == 0;
return result;
}