{"type": "func", "start": 17779744, "end": 17779904, "name": "BN_GF2m_mod_inv_arr", "pseudocode": "// \n// BN_GF2m_mod_inv_arr from 0x10f4c20 to 0x10f4cc0 (160 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x72ce8\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 13:18:09 +0000\n// \n\nbool __fastcall BN_GF2m_mod_inv_arr(unsigned __int64 *a1, __int64 a2, int *a3, int32x2_t *a4)\n{\n  __int64 v7; // x20\n  _BOOL4 v9; // w20\n\n  BN_CTX_start((unsigned __int64)a4);\n  v7 = BN_CTX_get(a4);\n  if ( v7 && (unsigned int)BN_GF2m_arr2poly(a3, v7) )\n  {\n    v9 = BN_GF2m_mod_inv(a1, a2, v7, a4);\n    BN_CTX_end((__int64)a4);\n    return v9;\n  }\n  else\n  {\n    BN_CTX_end((__int64)a4);\n    return 0;\n  }\n}", "assembly": "; \n; BN_GF2m_mod_inv_arr from 0x10f4c20 to 0x10f4cc0 (160 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x72ce8\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 13:18:09 +0000\n; \nSTP             X29, X30, [SP,#var_40]!                                ; +0x0, 0x10f4c20\nMOV             X29, SP                                                ; +0x4, 0x10f4c24\nSTP             X21, X22, [SP,#0x40+var_20]                            ; +0x8, 0x10f4c28\nMOV             X22, X0                                                ; +0xc, 0x10f4c2c\nMOV             X0, X3                                                 ; +0x10, 0x10f4c30\nSTP             X19, X20, [SP,#0x40+var_30]                            ; +0x14, 0x10f4c34\nSTR             X2, [X29,#0x40+var_8]                                  ; +0x18, 0x10f4c38\nMOV             X19, X3                                                ; +0x1c, 0x10f4c3c\nMOV             X21, X1                                                ; +0x20, 0x10f4c40\nBL              BN_CTX_start                                           ; +0x24, 0x10f4c44\nMOV             X0, X19                                                ; +0x28, 0x10f4c48\nBL              BN_CTX_get                                             ; +0x2c, 0x10f4c4c\nMOV             X20, X0                                                ; +0x30, 0x10f4c50\nLDR             X2, [X29,#0x40+var_8]                                  ; +0x34, 0x10f4c54\nCBZ             X0, loc_10F4C6C                                        ; +0x38, 0x10f4c58\nMOV             X0, X2                                                 ; +0x3c, 0x10f4c5c\nMOV             X1, X20                                                ; +0x40, 0x10f4c60\nBL              BN_GF2m_arr2poly                                       ; +0x44, 0x10f4c64\nCBNZ            W0, loc_10F4C8C                                        ; +0x48, 0x10f4c68\nMOV             X0, X19                                                ; +0x4c, 0x10f4c6c\nMOV             W20, #0                                                ; +0x50, 0x10f4c70\nBL              BN_CTX_end                                             ; +0x54, 0x10f4c74\nMOV             W0, W20                                                ; +0x58, 0x10f4c78\nLDP             X19, X20, [SP,#0x40+var_30]                            ; +0x5c, 0x10f4c7c\nLDP             X21, X22, [SP,#0x40+var_20]                            ; +0x60, 0x10f4c80\nLDP             X29, X30, [SP+0x40+var_40],#0x40                       ; +0x64, 0x10f4c84\nRET                                                                    ; +0x68, 0x10f4c88\nMOV             X1, X21                                                ; +0x6c, 0x10f4c8c\nMOV             X2, X20                                                ; +0x70, 0x10f4c90\nMOV             X3, X19                                                ; +0x74, 0x10f4c94\nMOV             X0, X22                                                ; +0x78, 0x10f4c98\nBL              BN_GF2m_mod_inv                                        ; +0x7c, 0x10f4c9c\nMOV             W20, W0                                                ; +0x80, 0x10f4ca0\nMOV             X0, X19                                                ; +0x84, 0x10f4ca4\nBL              BN_CTX_end                                             ; +0x88, 0x10f4ca8\nMOV             W0, W20                                                ; +0x8c, 0x10f4cac\nLDP             X19, X20, [SP,#0x40+var_30]                            ; +0x90, 0x10f4cb0\nLDP             X21, X22, [SP,#0x40+var_20]                            ; +0x94, 0x10f4cb4\nLDP             X29, X30, [SP+0x40+var_40],#0x40                       ; +0x98, 0x10f4cb8\nRET                                                                    ; +0x9c, 0x10f4cbc", "xrefs": ["<???> @ 0x72ce8"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}