{"type": "func", "start": 14772264, "end": 14772388, "name": "BN_mod_exp_recp", "pseudocode": "// \n// BN_mod_exp_recp from 0xe16828 to 0xe168a4 (124 bytes)\n// \n// 2 xrefs:\n// > BN_mod_exp @ 0xe179f4\n// > <???> @ 0x4d568\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\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_E162E0(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 0xe16828 to 0xe168a4 (124 bytes)\n; \n; 2 xrefs:\n; > BN_mod_exp @ 0xe179f4\n; > <???> @ 0x4d568\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\nSTP             X29, X30, [SP,#var_40]!                                ; +0x0, 0xe16828\nMOV             X29, SP                                                ; +0x4, 0xe1682c\nSTP             X19, X20, [SP,#0x40+var_30]                            ; +0x8, 0xe16830\nMOV             X20, X0                                                ; +0xc, 0xe16834\nMOV             X19, X1                                                ; +0x10, 0xe16838\nMOV             X0, X2                                                 ; +0x14, 0xe1683c\nMOV             W1, #4                                                 ; +0x18, 0xe16840\nSTR             X2, [X29,#0x40+var_18]                                 ; +0x1c, 0xe16844\nSTR             X3, [X29,#0x40+var_10]                                 ; +0x20, 0xe16848\nSTR             X4, [X29,#0x40+var_8]                                  ; +0x24, 0xe1684c\nBL              BN_get_flags                                           ; +0x28, 0xe16850\nLDR             X4, [X29,#0x40+var_8]                                  ; +0x2c, 0xe16854\nLDR             X3, [X29,#0x40+var_10]                                 ; +0x30, 0xe16858\nLDR             X2, [X29,#0x40+var_18]                                 ; +0x34, 0xe1685c\nCBNZ            W0, loc_E16878                                         ; +0x38, 0xe16860\nMOV             X0, X20                                                ; +0x3c, 0xe16864\nMOV             X1, X19                                                ; +0x40, 0xe16868\nLDP             X19, X20, [SP,#0x40+var_30]                            ; +0x44, 0xe1686c\nLDP             X29, X30, [SP+0x40+var_40],#0x40                       ; +0x48, 0xe16870\nB               sub_E162E0                                             ; +0x4c, 0xe16874\nADRP            X3, #aCryptoBnBnExpC@PAGE; \"crypto/bn/bn_exp.c\"        ; +0x50, 0xe16878\nMOV             W0, #3                                                 ; +0x54, 0xe1687c\nMOV             W1, #0x7D ; '}'                                        ; +0x58, 0xe16880\nMOV             W2, #0x42 ; 'B'                                        ; +0x5c, 0xe16884\nADD             X3, X3, #aCryptoBnBnExpC@PAGEOFF; \"crypto/bn/bn_exp.c\" ; +0x60, 0xe16888\nMOV             W4, #0xB3                                              ; +0x64, 0xe1688c\nBL              ERR_put_error                                          ; +0x68, 0xe16890\nMOV             W0, #0                                                 ; +0x6c, 0xe16894\nLDP             X19, X20, [SP,#0x40+var_30]                            ; +0x70, 0xe16898\nLDP             X29, X30, [SP+0x40+var_40],#0x40                       ; +0x74, 0xe1689c\nRET                                                                    ; +0x78, 0xe168a0", "xrefs": ["BN_mod_exp @ 0xe179f4", "<???> @ 0x4d568"], "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"}