{"type": "func", "start": 14552508, "end": 14552572, "name": "CRYPTO_THREAD_lock_free", "pseudocode": "// \n// CRYPTO_THREAD_lock_free from 0xde0dbc to 0xde0dfc (64 bytes)\n// \n// 30 xrefs:\n// > ssl_cert_free @ 0xd3a050\n// > SSL_CTX_free @ 0xd4141c\n// > SSL_free @ 0xd42bec\n// > SSL_SESSION_new @ 0xd45fa8\n// > SSL_SESSION_free @ 0xd4614c\n// > asn1_do_lock @ 0xd70384\n// > BIO_new @ 0xd7650c\n// > BIO_free @ 0xd76630\n// > bio_cleanup @ 0xd771bc\n// > bio_cleanup @ 0xd771d0\n// > DH_free @ 0xd87da0\n// > DSA_free @ 0xd8976c\n// > DSO_free @ 0xd8a8b8\n// > EC_KEY_free @ 0xd8fa2c\n// > EC_ec_pre_comp_free @ 0xd9294c\n// > EC_nistz256_pre_comp_free @ 0xd98048\n// > engine_cleanup_int @ 0xd9d688\n// > err_cleanup @ 0xd9f5c4\n// > EVP_PKEY_free @ 0xdac834\n// > crypto_cleanup_all_ex_data_int @ 0xdae90c\n// > OPENSSL_cleanup @ 0xdb1d84\n// > CRYPTO_secure_malloc_done @ 0xdb6394\n// > RSA_free @ 0xdd3dd8\n// > UI_free @ 0xde1be4\n// > sub_DE4510 @ 0xde453c\n// > X509_STORE_free @ 0xde781c\n// > BN_BLINDING_free @ 0xe15018\n// > sub_E67038 @ 0xe67084\n// > sub_E67038 @ 0xe67094\n// > <???> @ 0x56160\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, (__int64)\"crypto/threads_pthread.c\", 58);\n  }\n}", "assembly": "; \n; CRYPTO_THREAD_lock_free from 0xde0dbc to 0xde0dfc (64 bytes)\n; \n; 30 xrefs:\n; > ssl_cert_free @ 0xd3a050\n; > SSL_CTX_free @ 0xd4141c\n; > SSL_free @ 0xd42bec\n; > SSL_SESSION_new @ 0xd45fa8\n; > SSL_SESSION_free @ 0xd4614c\n; > asn1_do_lock @ 0xd70384\n; > BIO_new @ 0xd7650c\n; > BIO_free @ 0xd76630\n; > bio_cleanup @ 0xd771bc\n; > bio_cleanup @ 0xd771d0\n; > DH_free @ 0xd87da0\n; > DSA_free @ 0xd8976c\n; > DSO_free @ 0xd8a8b8\n; > EC_KEY_free @ 0xd8fa2c\n; > EC_ec_pre_comp_free @ 0xd9294c\n; > EC_nistz256_pre_comp_free @ 0xd98048\n; > engine_cleanup_int @ 0xd9d688\n; > err_cleanup @ 0xd9f5c4\n; > EVP_PKEY_free @ 0xdac834\n; > crypto_cleanup_all_ex_data_int @ 0xdae90c\n; > OPENSSL_cleanup @ 0xdb1d84\n; > CRYPTO_secure_malloc_done @ 0xdb6394\n; > RSA_free @ 0xdd3dd8\n; > UI_free @ 0xde1be4\n; > sub_DE4510 @ 0xde453c\n; > X509_STORE_free @ 0xde781c\n; > BN_BLINDING_free @ 0xe15018\n; > sub_E67038 @ 0xe67084\n; > sub_E67038 @ 0xe67094\n; > <???> @ 0x56160\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_20]!                                ; +0x0, 0xde0dbc\nMOV             X29, SP                                                ; +0x4, 0xde0dc0\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0xde0dc4\nCBZ             X0, loc_DE0DF0                                         ; +0xc, 0xde0dc8\nMOV             X19, X0                                                ; +0x10, 0xde0dcc\nBL              .pthread_rwlock_destroy                                ; +0x14, 0xde0dd0\nMOV             X0, X19                                                ; +0x18, 0xde0dd4\nADRP            X1, #aCryptoThreadsP@PAGE; \"crypto/threads_pthread.c\"  ; +0x1c, 0xde0dd8\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x20, 0xde0ddc\nADD             X1, X1, #aCryptoThreadsP@PAGEOFF; \"crypto/threads_pthread.c\" ; +0x24, 0xde0de0\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x28, 0xde0de4\nMOV             W2, #0x3A ; ':'                                        ; +0x2c, 0xde0de8\nB               CRYPTO_free                                            ; +0x30, 0xde0dec\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x34, 0xde0df0\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x38, 0xde0df4\nRET                                                                    ; +0x3c, 0xde0df8", "xrefs": ["ssl_cert_free @ 0xd3a050", "SSL_CTX_free @ 0xd4141c", "SSL_free @ 0xd42bec", "SSL_SESSION_new @ 0xd45fa8", "SSL_SESSION_free @ 0xd4614c", "asn1_do_lock @ 0xd70384", "BIO_new @ 0xd7650c", "BIO_free @ 0xd76630", "bio_cleanup @ 0xd771bc", "bio_cleanup @ 0xd771d0", "DH_free @ 0xd87da0", "DSA_free @ 0xd8976c", "DSO_free @ 0xd8a8b8", "EC_KEY_free @ 0xd8fa2c", "EC_ec_pre_comp_free @ 0xd9294c", "EC_nistz256_pre_comp_free @ 0xd98048", "engine_cleanup_int @ 0xd9d688", "err_cleanup @ 0xd9f5c4", "EVP_PKEY_free @ 0xdac834", "crypto_cleanup_all_ex_data_int @ 0xdae90c", "OPENSSL_cleanup @ 0xdb1d84", "CRYPTO_secure_malloc_done @ 0xdb6394", "RSA_free @ 0xdd3dd8", "UI_free @ 0xde1be4", "sub_DE4510 @ 0xde453c", "X509_STORE_free @ 0xde781c", "BN_BLINDING_free @ 0xe15018", "sub_E67038 @ 0xe67084", "sub_E67038 @ 0xe67094", "<???> @ 0x56160"], "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"}