{"type": "func", "start": 8363468, "end": 8363628, "name": "ERR_func_error_string", "pseudocode": "// \n// ERR_func_error_string from 0x7f9dcc to 0x7f9e6c (160 bytes)\n// \n// 31 xrefs:\n// > ERR_load_SSL_strings @ 0x7bd138\n// > ERR_error_string_n @ 0x7f9f94\n// > ERR_load_EVP_strings @ 0x8b73a4\n// > ERR_load_KDF_strings @ 0x8b8bb4\n// > ERR_load_OBJ_strings @ 0x8b8f38\n// > ERR_load_OCSP_strings @ 0x8b8f7c\n// > ERR_load_PEM_strings @ 0x8b9ef8\n// > ERR_load_PKCS12_strings @ 0x8bbd24\n// > ERR_load_PKCS7_strings @ 0x8bc06c\n// > ERR_load_RAND_strings @ 0x8bd7a0\n// > ERR_load_RSA_strings @ 0x8bf90c\n// > ERR_load_TS_strings @ 0x8c2b90\n// > ERR_load_UI_strings @ 0x8c2bd4\n// > ERR_load_X509_strings @ 0x8c3260\n// > ERR_load_X509V3_strings @ 0x8c4794\n// > ERR_load_ASN1_strings @ 0x8c4830\n// > ERR_load_ASYNC_strings @ 0x8c7b08\n// > ERR_load_BIO_strings @ 0x8c9054\n// > ERR_load_BN_strings @ 0x8c9150\n// > ERR_load_BUF_strings @ 0x8cb7a0\n// > ERR_load_CMS_strings @ 0x8cfaec\n// > ERR_load_COMP_strings @ 0x8cfb30\n// > ERR_load_CONF_strings @ 0x8cfb74\n// > ERR_load_CRYPTO_strings @ 0x8cfbb8\n// > ERR_load_CT_strings @ 0x8cfbfc\n// > ERR_load_DH_strings @ 0x8d086c\n// > ERR_load_DSA_strings @ 0x8d0e58\n// > ERR_load_DSO_strings @ 0x8d0fdc\n// > ERR_load_EC_strings @ 0x8d1bcc\n// > ERR_load_ENGINE_strings @ 0x8d1c10\n// > <???> @ 0x5e0fc\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 ERR_func_error_string(int a1)\n{\n  int v2; // r5\n  unsigned int v4[3]; // [sp+0h] [bp-Ch] BYREF\n\n  if ( !CRYPTO_THREAD_run_once(&unk_AD2EC0, sub_7F9708) || !dword_AD2EB4 )\n    return 0;\n  v4[0] = a1 & 0xFFFFF000;\n  CRYPTO_THREAD_read_lock(dword_AD2EB0);\n  if ( !dword_AD2EC4 )\n  {\n    CRYPTO_THREAD_unlock(dword_AD2EB0);\n    return 0;\n  }\n  v2 = OPENSSL_LH_retrieve(dword_AD2EC4, v4);\n  CRYPTO_THREAD_unlock(dword_AD2EB0);\n  if ( !v2 )\n    return 0;\n  return *(_DWORD *)(v2 + 4);\n}", "assembly": "; \n; ERR_func_error_string from 0x7f9dcc to 0x7f9e6c (160 bytes)\n; \n; 31 xrefs:\n; > ERR_load_SSL_strings @ 0x7bd138\n; > ERR_error_string_n @ 0x7f9f94\n; > ERR_load_EVP_strings @ 0x8b73a4\n; > ERR_load_KDF_strings @ 0x8b8bb4\n; > ERR_load_OBJ_strings @ 0x8b8f38\n; > ERR_load_OCSP_strings @ 0x8b8f7c\n; > ERR_load_PEM_strings @ 0x8b9ef8\n; > ERR_load_PKCS12_strings @ 0x8bbd24\n; > ERR_load_PKCS7_strings @ 0x8bc06c\n; > ERR_load_RAND_strings @ 0x8bd7a0\n; > ERR_load_RSA_strings @ 0x8bf90c\n; > ERR_load_TS_strings @ 0x8c2b90\n; > ERR_load_UI_strings @ 0x8c2bd4\n; > ERR_load_X509_strings @ 0x8c3260\n; > ERR_load_X509V3_strings @ 0x8c4794\n; > ERR_load_ASN1_strings @ 0x8c4830\n; > ERR_load_ASYNC_strings @ 0x8c7b08\n; > ERR_load_BIO_strings @ 0x8c9054\n; > ERR_load_BN_strings @ 0x8c9150\n; > ERR_load_BUF_strings @ 0x8cb7a0\n; > ERR_load_CMS_strings @ 0x8cfaec\n; > ERR_load_COMP_strings @ 0x8cfb30\n; > ERR_load_CONF_strings @ 0x8cfb74\n; > ERR_load_CRYPTO_strings @ 0x8cfbb8\n; > ERR_load_CT_strings @ 0x8cfbfc\n; > ERR_load_DH_strings @ 0x8d086c\n; > ERR_load_DSA_strings @ 0x8d0e58\n; > ERR_load_DSO_strings @ 0x8d0fdc\n; > ERR_load_EC_strings @ 0x8d1bcc\n; > ERR_load_ENGINE_strings @ 0x8d1c10\n; > <???> @ 0x5e0fc\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\nPUSH            {R4,R5,LR}                                             ; +0x0, 0x7f9dcc\nLDR             R4, =(dword_AD2EB0 - 0x7F9DE0)                         ; +0x4, 0x7f9dd0\nLDR             R1, =(sub_7F9708 - 0x7F9DEC)                           ; +0x8, 0x7f9dd4\nADD             R4, PC, R4; dword_AD2EB0                               ; +0xc, 0x7f9dd8\nSUB             SP, SP, #0xC                                           ; +0x10, 0x7f9ddc\nMOV             R5, R0                                                 ; +0x14, 0x7f9de0\nADD             R1, PC, R1; sub_7F9708                                 ; +0x18, 0x7f9de4\nADD             R0, R4, #(unk_AD2EC0 - 0xAD2EB0)                       ; +0x1c, 0x7f9de8\nBL              CRYPTO_THREAD_run_once                                 ; +0x20, 0x7f9dec\nCMP             R0, #0                                                 ; +0x24, 0x7f9df0\nBEQ             loc_7F9E50                                             ; +0x28, 0x7f9df4\nLDR             R3, [R4,#(dword_AD2EB4 - 0xAD2EB0)]                    ; +0x2c, 0x7f9df8\nCMP             R3, #0                                                 ; +0x30, 0x7f9dfc\nBEQ             loc_7F9E50                                             ; +0x34, 0x7f9e00\nBIC             R3, R5, #0xFF0                                         ; +0x38, 0x7f9e04\nBIC             R3, R3, #0xF                                           ; +0x3c, 0x7f9e08\nLDR             R0, [R4]                                               ; +0x40, 0x7f9e0c\nSTR             R3, [SP,#0xC+var_C]                                    ; +0x44, 0x7f9e10\nBL              CRYPTO_THREAD_read_lock                                ; +0x48, 0x7f9e14\nLDR             R5, [R4,#(dword_AD2EC4 - 0xAD2EB0)]                    ; +0x4c, 0x7f9e18\nCMP             R5, #0                                                 ; +0x50, 0x7f9e1c\nBEQ             loc_7F9E5C                                             ; +0x54, 0x7f9e20\nMOV             R0, R5                                                 ; +0x58, 0x7f9e24\nMOV             R1, SP                                                 ; +0x5c, 0x7f9e28\nBL              OPENSSL_LH_retrieve                                    ; +0x60, 0x7f9e2c\nMOV             R5, R0                                                 ; +0x64, 0x7f9e30\nLDR             R0, [R4]                                               ; +0x68, 0x7f9e34\nBL              CRYPTO_THREAD_unlock                                   ; +0x6c, 0x7f9e38\nCMP             R5, #0                                                 ; +0x70, 0x7f9e3c\nBEQ             loc_7F9E50                                             ; +0x74, 0x7f9e40\nLDR             R0, [R5,#4]                                            ; +0x78, 0x7f9e44\nADD             SP, SP, #0xC                                           ; +0x7c, 0x7f9e48\nPOP             {R4,R5,PC}                                             ; +0x80, 0x7f9e4c\nMOV             R0, #0                                                 ; +0x84, 0x7f9e50\nADD             SP, SP, #0xC                                           ; +0x88, 0x7f9e54\nPOP             {R4,R5,PC}                                             ; +0x8c, 0x7f9e58\nLDR             R0, [R4]                                               ; +0x90, 0x7f9e5c\nBL              CRYPTO_THREAD_unlock                                   ; +0x94, 0x7f9e60\nMOV             R0, R5                                                 ; +0x98, 0x7f9e64\nB               loc_7F9E48                                             ; +0x9c, 0x7f9e68", "xrefs": ["ERR_load_SSL_strings @ 0x7bd138", "ERR_error_string_n @ 0x7f9f94", "ERR_load_EVP_strings @ 0x8b73a4", "ERR_load_KDF_strings @ 0x8b8bb4", "ERR_load_OBJ_strings @ 0x8b8f38", "ERR_load_OCSP_strings @ 0x8b8f7c", "ERR_load_PEM_strings @ 0x8b9ef8", "ERR_load_PKCS12_strings @ 0x8bbd24", "ERR_load_PKCS7_strings @ 0x8bc06c", "ERR_load_RAND_strings @ 0x8bd7a0", "ERR_load_RSA_strings @ 0x8bf90c", "ERR_load_TS_strings @ 0x8c2b90", "ERR_load_UI_strings @ 0x8c2bd4", "ERR_load_X509_strings @ 0x8c3260", "ERR_load_X509V3_strings @ 0x8c4794", "ERR_load_ASN1_strings @ 0x8c4830", "ERR_load_ASYNC_strings @ 0x8c7b08", "ERR_load_BIO_strings @ 0x8c9054", "ERR_load_BN_strings @ 0x8c9150", "ERR_load_BUF_strings @ 0x8cb7a0", "ERR_load_CMS_strings @ 0x8cfaec", "ERR_load_COMP_strings @ 0x8cfb30", "ERR_load_CONF_strings @ 0x8cfb74", "ERR_load_CRYPTO_strings @ 0x8cfbb8", "ERR_load_CT_strings @ 0x8cfbfc", "ERR_load_DH_strings @ 0x8d086c", "ERR_load_DSA_strings @ 0x8d0e58", "ERR_load_DSO_strings @ 0x8d0fdc", "ERR_load_EC_strings @ 0x8d1bcc", "ERR_load_ENGINE_strings @ 0x8d1c10", "<???> @ 0x5e0fc"], "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"}