//
// BN_abs_is_word from 0xd7a6ac to 0xd7a6e8 (60 bytes)
//
// 7 xrefs:
// > BN_is_one @ 0xd7a9ac
// > BN_is_word @ 0xd7a9e0
// > BN_kronecker @ 0xe19510
// > BN_mod_sqrt @ 0xe1ad74
// > BN_mod_sqrt @ 0xe1ad84
// > BN_GF2m_mod_exp_arr @ 0xe75ac0
// > ??> @ 0x7a958
//
// 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
//
__int64 __fastcall BN_abs_is_word(__int64 a1, __int64 a2)
{
__int64 result; // x0
result = *(unsigned int *)(a1 + 8);
if ( (_DWORD)result != 1 || **(_QWORD **)a1 != a2 )
return (a2 == 0) & (unsigned __int8)((_DWORD)result == 0);
return result;
}