//
// BN_abs_is_word from 0xff8a0c to 0xff8a48 (60 bytes)
//
// 7 xrefs:
// > BN_is_one @ 0xff8d0c
// > BN_is_word @ 0xff8d40
// > BN_kronecker @ 0x1097810
// > BN_mod_sqrt @ 0x1099074
// > BN_mod_sqrt @ 0x1099084
// > BN_GF2m_mod_exp_arr @ 0x10f3ac0
// > ??> @ 0xa3c30
//
// 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_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;
}