{"type": "func", "start": 17402848, "end": 17402928, "name": "BN_RECP_CTX_free", "pseudocode": "// \n// BN_RECP_CTX_free from 0x1098be0 to 0x1098c30 (80 bytes)\n// \n// 2 xrefs:\n// > sub_10945E0 @ 0x10948c4\n// > <???> @ 0xc4e88\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:24 +0000\n// \n\nvoid __fastcall BN_RECP_CTX_free(_DWORD *a1)\n{\n  if ( a1 )\n  {\n    BN_free((__int64)a1);\n    BN_free((__int64)(a1 + 6));\n    if ( (a1[14] & 1) != 0 )\n      CRYPTO_free(a1, (__int64)\"crypto/bn/bn_recp.c\", 41);\n  }\n}", "assembly": "; \n; BN_RECP_CTX_free from 0x1098be0 to 0x1098c30 (80 bytes)\n; \n; 2 xrefs:\n; > sub_10945E0 @ 0x10948c4\n; > <???> @ 0xc4e88\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:24 +0000\n; \nSTP             X29, X30, [SP,#var_20]!                                ; +0x0, 0x1098be0\nMOV             X29, SP                                                ; +0x4, 0x1098be4\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0x1098be8\nCBZ             X0, loc_1098C08                                        ; +0xc, 0x1098bec\nMOV             X19, X0                                                ; +0x10, 0x1098bf0\nBL              BN_free                                                ; +0x14, 0x1098bf4\nADD             X0, X19, #0x18                                         ; +0x18, 0x1098bf8\nBL              BN_free                                                ; +0x1c, 0x1098bfc\nLDR             W0, [X19,#0x38]                                        ; +0x20, 0x1098c00\nTBNZ            W0, #0, loc_1098C14                                    ; +0x24, 0x1098c04\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x28, 0x1098c08\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x2c, 0x1098c0c\nRET                                                                    ; +0x30, 0x1098c10\nMOV             X0, X19                                                ; +0x34, 0x1098c14\nADRP            X1, #aCryptoBnBnRecp@PAGE; \"crypto/bn/bn_recp.c\"       ; +0x38, 0x1098c18\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x3c, 0x1098c1c\nADD             X1, X1, #aCryptoBnBnRecp@PAGEOFF; \"crypto/bn/bn_recp.c\" ; +0x40, 0x1098c20\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x44, 0x1098c24\nMOV             W2, #0x29 ; ')'                                        ; +0x48, 0x1098c28\nB               CRYPTO_free                                            ; +0x4c, 0x1098c2c", "xrefs": ["sub_10945E0 @ 0x10948c4", "<???> @ 0xc4e88"], "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"}