{"type": "func", "start": 17166588, "end": 17166652, "name": "CRYPTO_THREAD_lock_free", "pseudocode": "// \n// CRYPTO_THREAD_lock_free from 0x105f0fc to 0x105f13c (64 bytes)\n// \n// 30 xrefs:\n// > ssl_cert_free @ 0xfb83a4\n// > SSL_CTX_free @ 0xfbf770\n// > SSL_free @ 0xfc0f40\n// > SSL_SESSION_new @ 0xfc42fc\n// > SSL_SESSION_free @ 0xfc44a0\n// > asn1_do_lock @ 0xfee6e4\n// > BIO_new @ 0xff486c\n// > BIO_free @ 0xff4990\n// > bio_cleanup @ 0xff551c\n// > bio_cleanup @ 0xff5530\n// > DH_free @ 0x1006100\n// > DSA_free @ 0x1007acc\n// > DSO_free @ 0x1008c18\n// > EC_KEY_free @ 0x100dd8c\n// > EC_ec_pre_comp_free @ 0x1010cac\n// > EC_nistz256_pre_comp_free @ 0x10163a8\n// > engine_cleanup_int @ 0x101b9e8\n// > err_cleanup @ 0x101d924\n// > EVP_PKEY_free @ 0x102ab94\n// > crypto_cleanup_all_ex_data_int @ 0x102cc6c\n// > OPENSSL_cleanup @ 0x10300e4\n// > CRYPTO_secure_malloc_done @ 0x10346f4\n// > RSA_free @ 0x1052138\n// > UI_free @ 0x105ff24\n// > sub_1062850 @ 0x106287c\n// > X509_STORE_free @ 0x1065b5c\n// > BN_BLINDING_free @ 0x1093318\n// > sub_10E5038 @ 0x10e5084\n// > sub_10E5038 @ 0x10e5094\n// > <???> @ 0x76f78\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:16:50 +0000\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 0x105f0fc to 0x105f13c (64 bytes)\n; \n; 30 xrefs:\n; > ssl_cert_free @ 0xfb83a4\n; > SSL_CTX_free @ 0xfbf770\n; > SSL_free @ 0xfc0f40\n; > SSL_SESSION_new @ 0xfc42fc\n; > SSL_SESSION_free @ 0xfc44a0\n; > asn1_do_lock @ 0xfee6e4\n; > BIO_new @ 0xff486c\n; > BIO_free @ 0xff4990\n; > bio_cleanup @ 0xff551c\n; > bio_cleanup @ 0xff5530\n; > DH_free @ 0x1006100\n; > DSA_free @ 0x1007acc\n; > DSO_free @ 0x1008c18\n; > EC_KEY_free @ 0x100dd8c\n; > EC_ec_pre_comp_free @ 0x1010cac\n; > EC_nistz256_pre_comp_free @ 0x10163a8\n; > engine_cleanup_int @ 0x101b9e8\n; > err_cleanup @ 0x101d924\n; > EVP_PKEY_free @ 0x102ab94\n; > crypto_cleanup_all_ex_data_int @ 0x102cc6c\n; > OPENSSL_cleanup @ 0x10300e4\n; > CRYPTO_secure_malloc_done @ 0x10346f4\n; > RSA_free @ 0x1052138\n; > UI_free @ 0x105ff24\n; > sub_1062850 @ 0x106287c\n; > X509_STORE_free @ 0x1065b5c\n; > BN_BLINDING_free @ 0x1093318\n; > sub_10E5038 @ 0x10e5084\n; > sub_10E5038 @ 0x10e5094\n; > <???> @ 0x76f78\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:16:50 +0000\n; \nSTP             X29, X30, [SP,#var_20]!                                ; +0x0, 0x105f0fc\nMOV             X29, SP                                                ; +0x4, 0x105f100\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0x105f104\nCBZ             X0, loc_105F130                                        ; +0xc, 0x105f108\nMOV             X19, X0                                                ; +0x10, 0x105f10c\nBL              .pthread_rwlock_destroy                                ; +0x14, 0x105f110\nMOV             X0, X19                                                ; +0x18, 0x105f114\nADRP            X1, #aCryptoThreadsP@PAGE; \"crypto/threads_pthread.c\"  ; +0x1c, 0x105f118\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x20, 0x105f11c\nADD             X1, X1, #aCryptoThreadsP@PAGEOFF; \"crypto/threads_pthread.c\" ; +0x24, 0x105f120\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x28, 0x105f124\nMOV             W2, #0x3A ; ':'                                        ; +0x2c, 0x105f128\nB               CRYPTO_free                                            ; +0x30, 0x105f12c\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x34, 0x105f130\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x38, 0x105f134\nRET                                                                    ; +0x3c, 0x105f138", "xrefs": ["ssl_cert_free @ 0xfb83a4", "SSL_CTX_free @ 0xfbf770", "SSL_free @ 0xfc0f40", "SSL_SESSION_new @ 0xfc42fc", "SSL_SESSION_free @ 0xfc44a0", "asn1_do_lock @ 0xfee6e4", "BIO_new @ 0xff486c", "BIO_free @ 0xff4990", "bio_cleanup @ 0xff551c", "bio_cleanup @ 0xff5530", "DH_free @ 0x1006100", "DSA_free @ 0x1007acc", "DSO_free @ 0x1008c18", "EC_KEY_free @ 0x100dd8c", "EC_ec_pre_comp_free @ 0x1010cac", "EC_nistz256_pre_comp_free @ 0x10163a8", "engine_cleanup_int @ 0x101b9e8", "err_cleanup @ 0x101d924", "EVP_PKEY_free @ 0x102ab94", "crypto_cleanup_all_ex_data_int @ 0x102cc6c", "OPENSSL_cleanup @ 0x10300e4", "CRYPTO_secure_malloc_done @ 0x10346f4", "RSA_free @ 0x1052138", "UI_free @ 0x105ff24", "sub_1062850 @ 0x106287c", "X509_STORE_free @ 0x1065b5c", "BN_BLINDING_free @ 0x1093318", "sub_10E5038 @ 0x10e5084", "sub_10E5038 @ 0x10e5094", "<???> @ 0x76f78"], "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"}