{"type": "func", "start": 8621700, "end": 8621744, "name": "CRYPTO_THREAD_lock_free", "pseudocode": "// \n// CRYPTO_THREAD_lock_free from 0x838e84 to 0x838eb0 (44 bytes)\n// \n// 30 xrefs:\n// > ssl_cert_free @ 0x790e54\n// > SSL_CTX_free @ 0x79885c\n// > SSL_free @ 0x79a0e0\n// > SSL_SESSION_new @ 0x79d5cc\n// > SSL_SESSION_free @ 0x79d780\n// > asn1_do_lock @ 0x7ca41c\n// > BIO_new @ 0x7d0630\n// > BIO_free @ 0x7d0764\n// > bio_cleanup @ 0x7d12bc\n// > bio_cleanup @ 0x7d12cc\n// > DH_free @ 0x7e0554\n// > DSA_free @ 0x7e1ed8\n// > DSO_free @ 0x7e30c4\n// > EC_KEY_free @ 0x7e89f0\n// > EC_ec_pre_comp_free @ 0x7ebb34\n// > EC_nistz256_pre_comp_free @ 0x7f1b7c\n// > engine_cleanup_int @ 0x7f76d0\n// > err_cleanup @ 0x7f9770\n// > EVP_PKEY_free @ 0x805868\n// > crypto_cleanup_all_ex_data_int @ 0x807a50\n// > OPENSSL_cleanup @ 0x80acf8\n// > CRYPTO_secure_malloc_done @ 0x80f0cc\n// > RSA_free @ 0x82d860\n// > UI_free @ 0x839c30\n// > sub_83C67C @ 0x83c6a0\n// > X509_STORE_free @ 0x83f88c\n// > BN_BLINDING_free @ 0x86b8f4\n// > sub_8BC48C @ 0x8bc4e0\n// > sub_8BC48C @ 0x8bc4ec\n// > <???> @ 0x5b1cc\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\nvoid __fastcall CRYPTO_THREAD_lock_free(pthread_rwlock_t *a1)\n{\n  if ( a1 )\n  {\n    pthread_rwlock_destroy(a1);\n    CRYPTO_free(a1, (int)\"crypto/threads_pthread.c\", 58);\n  }\n}", "assembly": "; \n; CRYPTO_THREAD_lock_free from 0x838e84 to 0x838eb0 (44 bytes)\n; \n; 30 xrefs:\n; > ssl_cert_free @ 0x790e54\n; > SSL_CTX_free @ 0x79885c\n; > SSL_free @ 0x79a0e0\n; > SSL_SESSION_new @ 0x79d5cc\n; > SSL_SESSION_free @ 0x79d780\n; > asn1_do_lock @ 0x7ca41c\n; > BIO_new @ 0x7d0630\n; > BIO_free @ 0x7d0764\n; > bio_cleanup @ 0x7d12bc\n; > bio_cleanup @ 0x7d12cc\n; > DH_free @ 0x7e0554\n; > DSA_free @ 0x7e1ed8\n; > DSO_free @ 0x7e30c4\n; > EC_KEY_free @ 0x7e89f0\n; > EC_ec_pre_comp_free @ 0x7ebb34\n; > EC_nistz256_pre_comp_free @ 0x7f1b7c\n; > engine_cleanup_int @ 0x7f76d0\n; > err_cleanup @ 0x7f9770\n; > EVP_PKEY_free @ 0x805868\n; > crypto_cleanup_all_ex_data_int @ 0x807a50\n; > OPENSSL_cleanup @ 0x80acf8\n; > CRYPTO_secure_malloc_done @ 0x80f0cc\n; > RSA_free @ 0x82d860\n; > UI_free @ 0x839c30\n; > sub_83C67C @ 0x83c6a0\n; > X509_STORE_free @ 0x83f88c\n; > BN_BLINDING_free @ 0x86b8f4\n; > sub_8BC48C @ 0x8bc4e0\n; > sub_8BC48C @ 0x8bc4ec\n; > <???> @ 0x5b1cc\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\nSUBS            R3, R0, #0                                             ; +0x0, 0x838e84\nBXEQ            LR                                                     ; +0x4, 0x838e88\nPUSH            {R4,LR}                                                ; +0x8, 0x838e8c\nMOV             R4, R3                                                 ; +0xc, 0x838e90\nBL              pthread_rwlock_destroy                                 ; +0x10, 0x838e94\nLDR             R1, =(aCryptoThreadsP - 0x838EA8); \"crypto/threads_pthread.c\" ; +0x14, 0x838e98\nMOV             R0, R4                                                 ; +0x18, 0x838e9c\nADD             R1, PC, R1; \"crypto/threads_pthread.c\"                 ; +0x1c, 0x838ea0\nMOV             R2, #0x3A ; ':'                                        ; +0x20, 0x838ea4\nPOP             {R4,LR}                                                ; +0x24, 0x838ea8\nB               CRYPTO_free                                            ; +0x28, 0x838eac", "xrefs": ["ssl_cert_free @ 0x790e54", "SSL_CTX_free @ 0x79885c", "SSL_free @ 0x79a0e0", "SSL_SESSION_new @ 0x79d5cc", "SSL_SESSION_free @ 0x79d780", "asn1_do_lock @ 0x7ca41c", "BIO_new @ 0x7d0630", "BIO_free @ 0x7d0764", "bio_cleanup @ 0x7d12bc", "bio_cleanup @ 0x7d12cc", "DH_free @ 0x7e0554", "DSA_free @ 0x7e1ed8", "DSO_free @ 0x7e30c4", "EC_KEY_free @ 0x7e89f0", "EC_ec_pre_comp_free @ 0x7ebb34", "EC_nistz256_pre_comp_free @ 0x7f1b7c", "engine_cleanup_int @ 0x7f76d0", "err_cleanup @ 0x7f9770", "EVP_PKEY_free @ 0x805868", "crypto_cleanup_all_ex_data_int @ 0x807a50", "OPENSSL_cleanup @ 0x80acf8", "CRYPTO_secure_malloc_done @ 0x80f0cc", "RSA_free @ 0x82d860", "UI_free @ 0x839c30", "sub_83C67C @ 0x83c6a0", "X509_STORE_free @ 0x83f88c", "BN_BLINDING_free @ 0x86b8f4", "sub_8BC48C @ 0x8bc4e0", "sub_8BC48C @ 0x8bc4ec", "<???> @ 0x5b1cc"], "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"}