{"type": "func", "start": 17386280, "end": 17386404, "name": "BN_mod_exp_recp", "pseudocode": "// \n// BN_mod_exp_recp from 0x1094b28 to 0x1094ba4 (124 bytes)\n// \n// 2 xrefs:\n// > BN_mod_exp @ 0x1095cf4\n// > <???> @ 0x6c6e8\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:17:23 +0000\n// \n\nunsigned __int64 *__fastcall BN_mod_exp_recp(__int64 a1, __int64 a2, __int64 a3, __int64 a4, int32x2_t *a5)\n{\n  if ( !(unsigned int)BN_get_flags(a3, 4u) )\n    return sub_10945E0(a1, a2, a3, a4, a5);\n  ERR_put_error(3, 125, 66, (__int64)\"crypto/bn/bn_exp.c\", 179);\n  return nullptr;\n}", "assembly": "; \n; BN_mod_exp_recp from 0x1094b28 to 0x1094ba4 (124 bytes)\n; \n; 2 xrefs:\n; > BN_mod_exp @ 0x1095cf4\n; > <???> @ 0x6c6e8\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:17:23 +0000\n; \nSTP             X29, X30, [SP,#var_40]!                                ; +0x0, 0x1094b28\nMOV             X29, SP                                                ; +0x4, 0x1094b2c\nSTP             X19, X20, [SP,#0x40+var_30]                            ; +0x8, 0x1094b30\nMOV             X20, X0                                                ; +0xc, 0x1094b34\nMOV             X19, X1                                                ; +0x10, 0x1094b38\nMOV             X0, X2                                                 ; +0x14, 0x1094b3c\nMOV             W1, #4                                                 ; +0x18, 0x1094b40\nSTR             X2, [X29,#0x40+var_18]                                 ; +0x1c, 0x1094b44\nSTR             X3, [X29,#0x40+var_10]                                 ; +0x20, 0x1094b48\nSTR             X4, [X29,#0x40+var_8]                                  ; +0x24, 0x1094b4c\nBL              BN_get_flags                                           ; +0x28, 0x1094b50\nLDR             X4, [X29,#0x40+var_8]                                  ; +0x2c, 0x1094b54\nLDR             X3, [X29,#0x40+var_10]                                 ; +0x30, 0x1094b58\nLDR             X2, [X29,#0x40+var_18]                                 ; +0x34, 0x1094b5c\nCBNZ            W0, loc_1094B78                                        ; +0x38, 0x1094b60\nMOV             X0, X20                                                ; +0x3c, 0x1094b64\nMOV             X1, X19                                                ; +0x40, 0x1094b68\nLDP             X19, X20, [SP,#0x40+var_30]                            ; +0x44, 0x1094b6c\nLDP             X29, X30, [SP+0x40+var_40],#0x40                       ; +0x48, 0x1094b70\nB               sub_10945E0                                            ; +0x4c, 0x1094b74\nADRP            X3, #aCryptoBnBnExpC@PAGE; \"crypto/bn/bn_exp.c\"        ; +0x50, 0x1094b78\nMOV             W0, #3                                                 ; +0x54, 0x1094b7c\nMOV             W1, #0x7D ; '}'                                        ; +0x58, 0x1094b80\nMOV             W2, #0x42 ; 'B'                                        ; +0x5c, 0x1094b84\nADD             X3, X3, #aCryptoBnBnExpC@PAGEOFF; \"crypto/bn/bn_exp.c\" ; +0x60, 0x1094b88\nMOV             W4, #0xB3                                              ; +0x64, 0x1094b8c\nBL              ERR_put_error                                          ; +0x68, 0x1094b90\nMOV             W0, #0                                                 ; +0x6c, 0x1094b94\nLDP             X19, X20, [SP,#0x40+var_30]                            ; +0x70, 0x1094b98\nLDP             X29, X30, [SP+0x40+var_40],#0x40                       ; +0x74, 0x1094b9c\nRET                                                                    ; +0x78, 0x1094ba0", "xrefs": ["BN_mod_exp @ 0x1095cf4", "<???> @ 0x6c6e8"], "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"}