{"type": "func", "start": 14285684, "end": 14285848, "name": "ERR_func_error_string", "pseudocode": "// \n// ERR_func_error_string from 0xd9fb74 to 0xd9fc18 (164 bytes)\n// \n// 31 xrefs:\n// > ERR_load_SSL_strings @ 0xd63594\n// > ERR_error_string_n @ 0xd9fd44\n// > ERR_load_EVP_strings @ 0xe61464\n// > ERR_load_KDF_strings @ 0xe62fd8\n// > ERR_load_OBJ_strings @ 0xe633c4\n// > ERR_load_OCSP_strings @ 0xe6341c\n// > ERR_load_PEM_strings @ 0xe643cc\n// > ERR_load_PKCS12_strings @ 0xe66210\n// > ERR_load_PKCS7_strings @ 0xe665a8\n// > ERR_load_RAND_strings @ 0xe68038\n// > ERR_load_RSA_strings @ 0xe6a940\n// > ERR_load_TS_strings @ 0xe6e7d8\n// > ERR_load_UI_strings @ 0xe6e830\n// > ERR_load_X509_strings @ 0xe6ef78\n// > ERR_load_X509V3_strings @ 0xe70500\n// > ERR_load_ASN1_strings @ 0xe70598\n// > ERR_load_ASYNC_strings @ 0xe733e8\n// > ERR_load_BIO_strings @ 0xe747b4\n// > ERR_load_BN_strings @ 0xe748e4\n// > ERR_load_BUF_strings @ 0xe77bdc\n// > ERR_load_CMS_strings @ 0xe7b758\n// > ERR_load_COMP_strings @ 0xe7b7b0\n// > ERR_load_CONF_strings @ 0xe7b808\n// > ERR_load_CRYPTO_strings @ 0xe7b860\n// > ERR_load_CT_strings @ 0xe7b8b8\n// > ERR_load_DH_strings @ 0xe7c498\n// > ERR_load_DSA_strings @ 0xe7ca60\n// > ERR_load_DSO_strings @ 0xe7cc08\n// > ERR_load_EC_strings @ 0xe7d720\n// > ERR_load_ENGINE_strings @ 0xe7d778\n// > <???> @ 0x61ae8\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\n__int64 __fastcall ERR_func_error_string(int a1)\n{\n  __int64 v2; // x19\n  __int64 v4; // [xsp+30h] [xbp+30h] BYREF\n\n  if ( !(unsigned int)CRYPTO_THREAD_run_once(&unk_125DE78, sub_D9F548) || !dword_125D668 )\n    return 0;\n  v4 = a1 & 0xFFFFF000;\n  CRYPTO_THREAD_read_lock(qword_125D660);\n  if ( !qword_125DE80 )\n  {\n    CRYPTO_THREAD_unlock(qword_125D660);\n    return 0;\n  }\n  v2 = OPENSSL_LH_retrieve(qword_125DE80, &v4);\n  CRYPTO_THREAD_unlock(qword_125D660);\n  if ( !v2 )\n    return 0;\n  return *(_QWORD *)(v2 + 8);\n}", "assembly": "; \n; ERR_func_error_string from 0xd9fb74 to 0xd9fc18 (164 bytes)\n; \n; 31 xrefs:\n; > ERR_load_SSL_strings @ 0xd63594\n; > ERR_error_string_n @ 0xd9fd44\n; > ERR_load_EVP_strings @ 0xe61464\n; > ERR_load_KDF_strings @ 0xe62fd8\n; > ERR_load_OBJ_strings @ 0xe633c4\n; > ERR_load_OCSP_strings @ 0xe6341c\n; > ERR_load_PEM_strings @ 0xe643cc\n; > ERR_load_PKCS12_strings @ 0xe66210\n; > ERR_load_PKCS7_strings @ 0xe665a8\n; > ERR_load_RAND_strings @ 0xe68038\n; > ERR_load_RSA_strings @ 0xe6a940\n; > ERR_load_TS_strings @ 0xe6e7d8\n; > ERR_load_UI_strings @ 0xe6e830\n; > ERR_load_X509_strings @ 0xe6ef78\n; > ERR_load_X509V3_strings @ 0xe70500\n; > ERR_load_ASN1_strings @ 0xe70598\n; > ERR_load_ASYNC_strings @ 0xe733e8\n; > ERR_load_BIO_strings @ 0xe747b4\n; > ERR_load_BN_strings @ 0xe748e4\n; > ERR_load_BUF_strings @ 0xe77bdc\n; > ERR_load_CMS_strings @ 0xe7b758\n; > ERR_load_COMP_strings @ 0xe7b7b0\n; > ERR_load_CONF_strings @ 0xe7b808\n; > ERR_load_CRYPTO_strings @ 0xe7b860\n; > ERR_load_CT_strings @ 0xe7b8b8\n; > ERR_load_DH_strings @ 0xe7c498\n; > ERR_load_DSA_strings @ 0xe7ca60\n; > ERR_load_DSO_strings @ 0xe7cc08\n; > ERR_load_EC_strings @ 0xe7d720\n; > ERR_load_ENGINE_strings @ 0xe7d778\n; > <???> @ 0x61ae8\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_40]!                                ; +0x0, 0xd9fb74\nADRP            X1, #sub_D9F548@PAGE                                   ; +0x4, 0xd9fb78\nMOV             X29, SP                                                ; +0x8, 0xd9fb7c\nSTP             X19, X20, [SP,#0x40+var_30]                            ; +0xc, 0xd9fb80\nADRP            X20, #qword_125D660@PAGE                               ; +0x10, 0xd9fb84\nSTR             X21, [SP,#0x40+var_20]                                 ; +0x14, 0xd9fb88\nADD             X19, X20, #qword_125D660@PAGEOFF                       ; +0x18, 0xd9fb8c\nMOV             X21, X0                                                ; +0x1c, 0xd9fb90\nADD             X1, X1, #sub_D9F548@PAGEOFF                            ; +0x20, 0xd9fb94\nADD             X0, X19, #0x818                                        ; +0x24, 0xd9fb98\nBL              CRYPTO_THREAD_run_once                                 ; +0x28, 0xd9fb9c\nCBZ             W0, loc_D9FBF4                                         ; +0x2c, 0xd9fba0\nLDR             W0, [X19,#(dword_125D668 - 0x125D660)]                 ; +0x30, 0xd9fba4\nCBZ             W0, loc_D9FBF4                                         ; +0x34, 0xd9fba8\nLDR             X0, [X20,#qword_125D660@PAGEOFF]                       ; +0x38, 0xd9fbac\nAND             X21, X21, #0xFFFFF000                                  ; +0x3c, 0xd9fbb0\nSTR             X21, [X29,#0x40+var_10]                                ; +0x40, 0xd9fbb4\nBL              CRYPTO_THREAD_read_lock                                ; +0x44, 0xd9fbb8\nLDR             X19, [X19,#(qword_125DE80 - 0x125D660)]                ; +0x48, 0xd9fbbc\nCBZ             X19, loc_D9FC08                                        ; +0x4c, 0xd9fbc0\nMOV             X0, X19                                                ; +0x50, 0xd9fbc4\nADD             X1, X29, #0x40+var_10                                  ; +0x54, 0xd9fbc8\nBL              OPENSSL_LH_retrieve                                    ; +0x58, 0xd9fbcc\nMOV             X19, X0                                                ; +0x5c, 0xd9fbd0\nLDR             X0, [X20,#qword_125D660@PAGEOFF]                       ; +0x60, 0xd9fbd4\nBL              CRYPTO_THREAD_unlock                                   ; +0x64, 0xd9fbd8\nCBZ             X19, loc_D9FBF4                                        ; +0x68, 0xd9fbdc\nLDR             X0, [X19,#8]                                           ; +0x6c, 0xd9fbe0\nLDP             X19, X20, [SP,#0x40+var_30]                            ; +0x70, 0xd9fbe4\nLDR             X21, [SP,#0x40+var_20]                                 ; +0x74, 0xd9fbe8\nLDP             X29, X30, [SP+0x40+var_40],#0x40                       ; +0x78, 0xd9fbec\nRET                                                                    ; +0x7c, 0xd9fbf0\nMOV             X0, #0                                                 ; +0x80, 0xd9fbf4\nLDR             X21, [SP,#0x40+var_20]                                 ; +0x84, 0xd9fbf8\nLDP             X19, X20, [SP,#0x40+var_30]                            ; +0x88, 0xd9fbfc\nLDP             X29, X30, [SP+0x40+var_40],#0x40                       ; +0x8c, 0xd9fc00\nRET                                                                    ; +0x90, 0xd9fc04\nLDR             X0, [X20,#qword_125D660@PAGEOFF]                       ; +0x94, 0xd9fc08\nBL              CRYPTO_THREAD_unlock                                   ; +0x98, 0xd9fc0c\nMOV             X0, X19                                                ; +0x9c, 0xd9fc10\nB               loc_D9FBE4                                             ; +0xa0, 0xd9fc14", "xrefs": ["ERR_load_SSL_strings @ 0xd63594", "ERR_error_string_n @ 0xd9fd44", "ERR_load_EVP_strings @ 0xe61464", "ERR_load_KDF_strings @ 0xe62fd8", "ERR_load_OBJ_strings @ 0xe633c4", "ERR_load_OCSP_strings @ 0xe6341c", "ERR_load_PEM_strings @ 0xe643cc", "ERR_load_PKCS12_strings @ 0xe66210", "ERR_load_PKCS7_strings @ 0xe665a8", "ERR_load_RAND_strings @ 0xe68038", "ERR_load_RSA_strings @ 0xe6a940", "ERR_load_TS_strings @ 0xe6e7d8", "ERR_load_UI_strings @ 0xe6e830", "ERR_load_X509_strings @ 0xe6ef78", "ERR_load_X509V3_strings @ 0xe70500", "ERR_load_ASN1_strings @ 0xe70598", "ERR_load_ASYNC_strings @ 0xe733e8", "ERR_load_BIO_strings @ 0xe747b4", "ERR_load_BN_strings @ 0xe748e4", "ERR_load_BUF_strings @ 0xe77bdc", "ERR_load_CMS_strings @ 0xe7b758", "ERR_load_COMP_strings @ 0xe7b7b0", "ERR_load_CONF_strings @ 0xe7b808", "ERR_load_CRYPTO_strings @ 0xe7b860", "ERR_load_CT_strings @ 0xe7b8b8", "ERR_load_DH_strings @ 0xe7c498", "ERR_load_DSA_strings @ 0xe7ca60", "ERR_load_DSO_strings @ 0xe7cc08", "ERR_load_EC_strings @ 0xe7d720", "ERR_load_ENGINE_strings @ 0xe7d778", "<???> @ 0x61ae8"], "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"}