{"type": "func", "start": 8209856, "end": 8209912, "name": "BN_abs_is_word", "pseudocode": "// \n// BN_abs_is_word from 0x7d45c0 to 0x7d45f8 (56 bytes)\n// \n// 7 xrefs:\n// > BN_is_one @ 0x7d484c\n// > BN_is_word @ 0x7d4870\n// > BN_kronecker @ 0x870188\n// > BN_mod_sqrt @ 0x871694\n// > BN_mod_sqrt @ 0x8716a8\n// > BN_GF2m_mod_exp_arr @ 0x8c97fc\n// > <???> @ 0x5fb3c\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nbool __fastcall BN_abs_is_word(int a1, int a2)\n{\n  int v2; // r3\n  bool v3; // zf\n\n  v2 = *(_DWORD *)(a1 + 4);\n  if ( v2 != 1 || **(_DWORD **)a1 != a2 )\n  {\n    v3 = a2 == 0;\n    if ( !a2 )\n      return v2 == 0;\n    return v3;\n  }\n  return v2;\n}", "assembly": "; \n; BN_abs_is_word from 0x7d45c0 to 0x7d45f8 (56 bytes)\n; \n; 7 xrefs:\n; > BN_is_one @ 0x7d484c\n; > BN_is_word @ 0x7d4870\n; > BN_kronecker @ 0x870188\n; > BN_mod_sqrt @ 0x871694\n; > BN_mod_sqrt @ 0x8716a8\n; > BN_GF2m_mod_exp_arr @ 0x8c97fc\n; > <???> @ 0x5fb3c\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nLDR             R3, [R0,#4]                                            ; +0x0, 0x7d45c0\nCMP             R3, #1                                                 ; +0x4, 0x7d45c4\nBEQ             loc_7D45E4                                             ; +0x8, 0x7d45c8\nCMP             R1, #0                                                 ; +0xc, 0x7d45cc\nCMPEQ           R3, #0                                                 ; +0x10, 0x7d45d0\nMOVEQ           R3, #1                                                 ; +0x14, 0x7d45d4\nMOVNE           R3, #0                                                 ; +0x18, 0x7d45d8\nMOV             R0, R3                                                 ; +0x1c, 0x7d45dc\nBX              LR                                                     ; +0x20, 0x7d45e0\nLDR             R2, [R0]                                               ; +0x24, 0x7d45e4\nLDR             R2, [R2]                                               ; +0x28, 0x7d45e8\nCMP             R2, R1                                                 ; +0x2c, 0x7d45ec\nBNE             loc_7D45CC                                             ; +0x30, 0x7d45f0\nB               loc_7D45DC                                             ; +0x34, 0x7d45f4", "xrefs": ["BN_is_one @ 0x7d484c", "BN_is_word @ 0x7d4870", "BN_kronecker @ 0x870188", "BN_mod_sqrt @ 0x871694", "BN_mod_sqrt @ 0x8716a8", "BN_GF2m_mod_exp_arr @ 0x8c97fc", "<???> @ 0x5fb3c"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}