{"type": "func", "start": 8352432, "end": 8352564, "name": "ENGINE_finish", "pseudocode": "// \n// ENGINE_finish from 0x7f72b0 to 0x7f7334 (132 bytes)\n// \n// 42 xrefs:\n// > sub_6449AC @ 0x6449c6\n// > sub_644CAC @ 0x644cba\n// > ssl_load_ciphers @ 0x7939c4\n// > ssl_load_ciphers @ 0x793a44\n// > ssl_load_ciphers @ 0x793ac0\n// > ssl_load_ciphers @ 0x793b34\n// > ssl_load_ciphers @ 0x793ba8\n// > SSL_CTX_free @ 0x798824\n// > SSL_CTX_set_client_cert_engine @ 0x79ebbc\n// > d2i_PrivateKey @ 0x7c3b10\n// > DH_set_method @ 0x7e04b8\n// > DH_free @ 0x7e053c\n// > DSA_set_method @ 0x7e1e34\n// > DSA_free @ 0x7e1ec0\n// > EC_KEY_free @ 0x7e89b4\n// > EC_KEY_copy @ 0x7e8b1c\n// > EC_KEY_set_method @ 0x7e9b60\n// > sub_7F5DDC @ 0x7f5dec\n// > sub_7F5E14 @ 0x7f61d8\n// > sub_7F5E14 @ 0x7f6234\n// > EVP_MD_CTX_reset @ 0x7fb7b4\n// > EVP_DigestInit_ex @ 0x7fb890\n// > EVP_DigestInit_ex @ 0x7fbaa8\n// > EVP_CIPHER_CTX_reset @ 0x8023e0\n// > EVP_PKEY_set_type @ 0x805190\n// > EVP_PKEY_set_type @ 0x8051ac\n// > EVP_PKEY_set_type @ 0x80520c\n// > EVP_PKEY_set_type_str @ 0x8053cc\n// > EVP_PKEY_set_type_str @ 0x8053e8\n// > EVP_PKEY_set_type_str @ 0x805468\n// > EVP_PKEY_type @ 0x8057d0\n// > EVP_PKEY_free @ 0x805858\n// > EVP_PKEY_CTX_free @ 0x80704c\n// > EVP_PKEY_CTX_new @ 0x8071c4\n// > EVP_PKEY_CTX_new_id @ 0x80743c\n// > PEM_bytes_read_bio @ 0x823178\n// > RAND_set_rand_method @ 0x829ed4\n// > RAND_get_rand_method @ 0x829f2c\n// > RAND_set_rand_engine @ 0x829fa0\n// > RSA_set_method @ 0x82d7c4\n// > RSA_free @ 0x82d848\n// > <???> @ 0x554dc\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\nint __fastcall ENGINE_finish(int a1)\n{\n  int v2; // r4\n\n  if ( !a1 )\n    return 1;\n  CRYPTO_THREAD_write_lock(global_engine_lock);\n  v2 = engine_unlocked_finish(a1, 1);\n  CRYPTO_THREAD_unlock(global_engine_lock);\n  if ( v2 )\n    return v2;\n  ERR_put_error(38, 107, 106, \"crypto/engine/eng_init.c\", 104);\n  return 0;\n}", "assembly": "; \n; ENGINE_finish from 0x7f72b0 to 0x7f7334 (132 bytes)\n; \n; 42 xrefs:\n; > sub_6449AC @ 0x6449c6\n; > sub_644CAC @ 0x644cba\n; > ssl_load_ciphers @ 0x7939c4\n; > ssl_load_ciphers @ 0x793a44\n; > ssl_load_ciphers @ 0x793ac0\n; > ssl_load_ciphers @ 0x793b34\n; > ssl_load_ciphers @ 0x793ba8\n; > SSL_CTX_free @ 0x798824\n; > SSL_CTX_set_client_cert_engine @ 0x79ebbc\n; > d2i_PrivateKey @ 0x7c3b10\n; > DH_set_method @ 0x7e04b8\n; > DH_free @ 0x7e053c\n; > DSA_set_method @ 0x7e1e34\n; > DSA_free @ 0x7e1ec0\n; > EC_KEY_free @ 0x7e89b4\n; > EC_KEY_copy @ 0x7e8b1c\n; > EC_KEY_set_method @ 0x7e9b60\n; > sub_7F5DDC @ 0x7f5dec\n; > sub_7F5E14 @ 0x7f61d8\n; > sub_7F5E14 @ 0x7f6234\n; > EVP_MD_CTX_reset @ 0x7fb7b4\n; > EVP_DigestInit_ex @ 0x7fb890\n; > EVP_DigestInit_ex @ 0x7fbaa8\n; > EVP_CIPHER_CTX_reset @ 0x8023e0\n; > EVP_PKEY_set_type @ 0x805190\n; > EVP_PKEY_set_type @ 0x8051ac\n; > EVP_PKEY_set_type @ 0x80520c\n; > EVP_PKEY_set_type_str @ 0x8053cc\n; > EVP_PKEY_set_type_str @ 0x8053e8\n; > EVP_PKEY_set_type_str @ 0x805468\n; > EVP_PKEY_type @ 0x8057d0\n; > EVP_PKEY_free @ 0x805858\n; > EVP_PKEY_CTX_free @ 0x80704c\n; > EVP_PKEY_CTX_new @ 0x8071c4\n; > EVP_PKEY_CTX_new_id @ 0x80743c\n; > PEM_bytes_read_bio @ 0x823178\n; > RAND_set_rand_method @ 0x829ed4\n; > RAND_get_rand_method @ 0x829f2c\n; > RAND_set_rand_engine @ 0x829fa0\n; > RSA_set_method @ 0x82d7c4\n; > RSA_free @ 0x82d848\n; > <???> @ 0x554dc\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\nCMP             R0, #0                                                 ; +0x0, 0x7f72b0\nBEQ             loc_7F732C                                             ; +0x4, 0x7f72b4\nPUSH            {R4,R5,LR}                                             ; +0x8, 0x7f72b8\nLDR             R5, =(global_engine_lock_ptr - 0x7F72CC)               ; +0xc, 0x7f72bc\nSUB             SP, SP, #0xC                                           ; +0x10, 0x7f72c0\nLDR             R5, [PC,R5]; global_engine_lock                        ; +0x14, 0x7f72c4\nMOV             R4, R0                                                 ; +0x18, 0x7f72c8\nLDR             R0, [R5]                                               ; +0x1c, 0x7f72cc\nBL              CRYPTO_THREAD_write_lock                               ; +0x20, 0x7f72d0\nMOV             R0, R4                                                 ; +0x24, 0x7f72d4\nMOV             R1, #1                                                 ; +0x28, 0x7f72d8\nBL              engine_unlocked_finish                                 ; +0x2c, 0x7f72dc\nMOV             R4, R0                                                 ; +0x30, 0x7f72e0\nLDR             R0, [R5]                                               ; +0x34, 0x7f72e4\nBL              CRYPTO_THREAD_unlock                                   ; +0x38, 0x7f72e8\nCMP             R4, #0                                                 ; +0x3c, 0x7f72ec\nMOVNE           R0, R4                                                 ; +0x40, 0x7f72f0\nBEQ             loc_7F7300                                             ; +0x44, 0x7f72f4\nADD             SP, SP, #0xC                                           ; +0x48, 0x7f72f8\nPOP             {R4,R5,PC}                                             ; +0x4c, 0x7f72fc\nMOV             R3, #0x68 ; 'h'                                        ; +0x50, 0x7f7300\nSTR             R3, [SP,#0x18+var_18]                                  ; +0x54, 0x7f7304\nLDR             R3, =(aCryptoEngineEn_2 - 0x7F7320); \"crypto/engine/eng_init.c\" ; +0x58, 0x7f7308\nMOV             R0, #0x26 ; '&'                                        ; +0x5c, 0x7f730c\nMOV             R1, #0x6B ; 'k'                                        ; +0x60, 0x7f7310\nMOV             R2, #0x6A ; 'j'                                        ; +0x64, 0x7f7314\nADD             R3, PC, R3; \"crypto/engine/eng_init.c\"                 ; +0x68, 0x7f7318\nBL              ERR_put_error                                          ; +0x6c, 0x7f731c\nMOV             R0, R4                                                 ; +0x70, 0x7f7320\nADD             SP, SP, #0xC                                           ; +0x74, 0x7f7324\nPOP             {R4,R5,PC}                                             ; +0x78, 0x7f7328\nMOV             R0, #1                                                 ; +0x7c, 0x7f732c\nBX              LR                                                     ; +0x80, 0x7f7330", "xrefs": ["sub_6449AC @ 0x6449c6", "sub_644CAC @ 0x644cba", "ssl_load_ciphers @ 0x7939c4", "ssl_load_ciphers @ 0x793a44", "ssl_load_ciphers @ 0x793ac0", "ssl_load_ciphers @ 0x793b34", "ssl_load_ciphers @ 0x793ba8", "SSL_CTX_free @ 0x798824", "SSL_CTX_set_client_cert_engine @ 0x79ebbc", "d2i_PrivateKey @ 0x7c3b10", "DH_set_method @ 0x7e04b8", "DH_free @ 0x7e053c", "DSA_set_method @ 0x7e1e34", "DSA_free @ 0x7e1ec0", "EC_KEY_free @ 0x7e89b4", "EC_KEY_copy @ 0x7e8b1c", "EC_KEY_set_method @ 0x7e9b60", "sub_7F5DDC @ 0x7f5dec", "sub_7F5E14 @ 0x7f61d8", "sub_7F5E14 @ 0x7f6234", "EVP_MD_CTX_reset @ 0x7fb7b4", "EVP_DigestInit_ex @ 0x7fb890", "EVP_DigestInit_ex @ 0x7fbaa8", "EVP_CIPHER_CTX_reset @ 0x8023e0", "EVP_PKEY_set_type @ 0x805190", "EVP_PKEY_set_type @ 0x8051ac", "EVP_PKEY_set_type @ 0x80520c", "EVP_PKEY_set_type_str @ 0x8053cc", "EVP_PKEY_set_type_str @ 0x8053e8", "EVP_PKEY_set_type_str @ 0x805468", "EVP_PKEY_type @ 0x8057d0", "EVP_PKEY_free @ 0x805858", "EVP_PKEY_CTX_free @ 0x80704c", "EVP_PKEY_CTX_new @ 0x8071c4", "EVP_PKEY_CTX_new_id @ 0x80743c", "PEM_bytes_read_bio @ 0x823178", "RAND_set_rand_method @ 0x829ed4", "RAND_get_rand_method @ 0x829f2c", "RAND_set_rand_engine @ 0x829fa0", "RSA_set_method @ 0x82d7c4", "RSA_free @ 0x82d848", "<???> @ 0x554dc"], "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"}