{"type": "func", "start": 16899796, "end": 16899960, "name": "ERR_func_error_string", "pseudocode": "// \n// ERR_func_error_string from 0x101ded4 to 0x101df78 (164 bytes)\n// \n// 31 xrefs:\n// > ERR_load_SSL_strings @ 0xfe18e8\n// > ERR_error_string_n @ 0x101e0a4\n// > ERR_load_EVP_strings @ 0x10df464\n// > ERR_load_KDF_strings @ 0x10e0fd8\n// > ERR_load_OBJ_strings @ 0x10e13c4\n// > ERR_load_OCSP_strings @ 0x10e141c\n// > ERR_load_PEM_strings @ 0x10e23cc\n// > ERR_load_PKCS12_strings @ 0x10e4210\n// > ERR_load_PKCS7_strings @ 0x10e45a8\n// > ERR_load_RAND_strings @ 0x10e6038\n// > ERR_load_RSA_strings @ 0x10e8940\n// > ERR_load_TS_strings @ 0x10ec7d8\n// > ERR_load_UI_strings @ 0x10ec830\n// > ERR_load_X509_strings @ 0x10ecf78\n// > ERR_load_X509V3_strings @ 0x10ee500\n// > ERR_load_ASN1_strings @ 0x10ee598\n// > ERR_load_ASYNC_strings @ 0x10f13e8\n// > ERR_load_BIO_strings @ 0x10f27b4\n// > ERR_load_BN_strings @ 0x10f28e4\n// > ERR_load_BUF_strings @ 0x10f5bdc\n// > ERR_load_CMS_strings @ 0x10f9758\n// > ERR_load_COMP_strings @ 0x10f97b0\n// > ERR_load_CONF_strings @ 0x10f9808\n// > ERR_load_CRYPTO_strings @ 0x10f9860\n// > ERR_load_CT_strings @ 0x10f98b8\n// > ERR_load_DH_strings @ 0x10fa498\n// > ERR_load_DSA_strings @ 0x10faa60\n// > ERR_load_DSO_strings @ 0x10fac08\n// > ERR_load_EC_strings @ 0x10fb720\n// > ERR_load_ENGINE_strings @ 0x10fb778\n// > <???> @ 0x85480\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:09 +0000\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_1566C78, sub_101D8A8) || !dword_1566468 )\n    return 0;\n  v4 = a1 & 0xFFFFF000;\n  CRYPTO_THREAD_read_lock(qword_1566460);\n  if ( !qword_1566C80 )\n  {\n    CRYPTO_THREAD_unlock(qword_1566460);\n    return 0;\n  }\n  v2 = OPENSSL_LH_retrieve(qword_1566C80, &v4);\n  CRYPTO_THREAD_unlock(qword_1566460);\n  if ( !v2 )\n    return 0;\n  return *(_QWORD *)(v2 + 8);\n}", "assembly": "; \n; ERR_func_error_string from 0x101ded4 to 0x101df78 (164 bytes)\n; \n; 31 xrefs:\n; > ERR_load_SSL_strings @ 0xfe18e8\n; > ERR_error_string_n @ 0x101e0a4\n; > ERR_load_EVP_strings @ 0x10df464\n; > ERR_load_KDF_strings @ 0x10e0fd8\n; > ERR_load_OBJ_strings @ 0x10e13c4\n; > ERR_load_OCSP_strings @ 0x10e141c\n; > ERR_load_PEM_strings @ 0x10e23cc\n; > ERR_load_PKCS12_strings @ 0x10e4210\n; > ERR_load_PKCS7_strings @ 0x10e45a8\n; > ERR_load_RAND_strings @ 0x10e6038\n; > ERR_load_RSA_strings @ 0x10e8940\n; > ERR_load_TS_strings @ 0x10ec7d8\n; > ERR_load_UI_strings @ 0x10ec830\n; > ERR_load_X509_strings @ 0x10ecf78\n; > ERR_load_X509V3_strings @ 0x10ee500\n; > ERR_load_ASN1_strings @ 0x10ee598\n; > ERR_load_ASYNC_strings @ 0x10f13e8\n; > ERR_load_BIO_strings @ 0x10f27b4\n; > ERR_load_BN_strings @ 0x10f28e4\n; > ERR_load_BUF_strings @ 0x10f5bdc\n; > ERR_load_CMS_strings @ 0x10f9758\n; > ERR_load_COMP_strings @ 0x10f97b0\n; > ERR_load_CONF_strings @ 0x10f9808\n; > ERR_load_CRYPTO_strings @ 0x10f9860\n; > ERR_load_CT_strings @ 0x10f98b8\n; > ERR_load_DH_strings @ 0x10fa498\n; > ERR_load_DSA_strings @ 0x10faa60\n; > ERR_load_DSO_strings @ 0x10fac08\n; > ERR_load_EC_strings @ 0x10fb720\n; > ERR_load_ENGINE_strings @ 0x10fb778\n; > <???> @ 0x85480\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:09 +0000\n; \nSTP             X29, X30, [SP,#var_40]!                                ; +0x0, 0x101ded4\nADRP            X1, #sub_101D8A8@PAGE                                  ; +0x4, 0x101ded8\nMOV             X29, SP                                                ; +0x8, 0x101dedc\nSTP             X19, X20, [SP,#0x40+var_30]                            ; +0xc, 0x101dee0\nADRP            X20, #qword_1566460@PAGE                               ; +0x10, 0x101dee4\nSTR             X21, [SP,#0x40+var_20]                                 ; +0x14, 0x101dee8\nADD             X19, X20, #qword_1566460@PAGEOFF                       ; +0x18, 0x101deec\nMOV             X21, X0                                                ; +0x1c, 0x101def0\nADD             X1, X1, #sub_101D8A8@PAGEOFF                           ; +0x20, 0x101def4\nADD             X0, X19, #0x818                                        ; +0x24, 0x101def8\nBL              CRYPTO_THREAD_run_once                                 ; +0x28, 0x101defc\nCBZ             W0, loc_101DF54                                        ; +0x2c, 0x101df00\nLDR             W0, [X19,#(dword_1566468 - 0x1566460)]                 ; +0x30, 0x101df04\nCBZ             W0, loc_101DF54                                        ; +0x34, 0x101df08\nLDR             X0, [X20,#qword_1566460@PAGEOFF]                       ; +0x38, 0x101df0c\nAND             X21, X21, #0xFFFFF000                                  ; +0x3c, 0x101df10\nSTR             X21, [X29,#0x40+var_10]                                ; +0x40, 0x101df14\nBL              CRYPTO_THREAD_read_lock                                ; +0x44, 0x101df18\nLDR             X19, [X19,#(qword_1566C80 - 0x1566460)]                ; +0x48, 0x101df1c\nCBZ             X19, loc_101DF68                                       ; +0x4c, 0x101df20\nMOV             X0, X19                                                ; +0x50, 0x101df24\nADD             X1, X29, #0x40+var_10                                  ; +0x54, 0x101df28\nBL              OPENSSL_LH_retrieve                                    ; +0x58, 0x101df2c\nMOV             X19, X0                                                ; +0x5c, 0x101df30\nLDR             X0, [X20,#qword_1566460@PAGEOFF]                       ; +0x60, 0x101df34\nBL              CRYPTO_THREAD_unlock                                   ; +0x64, 0x101df38\nCBZ             X19, loc_101DF54                                       ; +0x68, 0x101df3c\nLDR             X0, [X19,#8]                                           ; +0x6c, 0x101df40\nLDP             X19, X20, [SP,#0x40+var_30]                            ; +0x70, 0x101df44\nLDR             X21, [SP,#0x40+var_20]                                 ; +0x74, 0x101df48\nLDP             X29, X30, [SP+0x40+var_40],#0x40                       ; +0x78, 0x101df4c\nRET                                                                    ; +0x7c, 0x101df50\nMOV             X0, #0                                                 ; +0x80, 0x101df54\nLDR             X21, [SP,#0x40+var_20]                                 ; +0x84, 0x101df58\nLDP             X19, X20, [SP,#0x40+var_30]                            ; +0x88, 0x101df5c\nLDP             X29, X30, [SP+0x40+var_40],#0x40                       ; +0x8c, 0x101df60\nRET                                                                    ; +0x90, 0x101df64\nLDR             X0, [X20,#qword_1566460@PAGEOFF]                       ; +0x94, 0x101df68\nBL              CRYPTO_THREAD_unlock                                   ; +0x98, 0x101df6c\nMOV             X0, X19                                                ; +0x9c, 0x101df70\nB               loc_101DF44                                            ; +0xa0, 0x101df74", "xrefs": ["ERR_load_SSL_strings @ 0xfe18e8", "ERR_error_string_n @ 0x101e0a4", "ERR_load_EVP_strings @ 0x10df464", "ERR_load_KDF_strings @ 0x10e0fd8", "ERR_load_OBJ_strings @ 0x10e13c4", "ERR_load_OCSP_strings @ 0x10e141c", "ERR_load_PEM_strings @ 0x10e23cc", "ERR_load_PKCS12_strings @ 0x10e4210", "ERR_load_PKCS7_strings @ 0x10e45a8", "ERR_load_RAND_strings @ 0x10e6038", "ERR_load_RSA_strings @ 0x10e8940", "ERR_load_TS_strings @ 0x10ec7d8", "ERR_load_UI_strings @ 0x10ec830", "ERR_load_X509_strings @ 0x10ecf78", "ERR_load_X509V3_strings @ 0x10ee500", "ERR_load_ASN1_strings @ 0x10ee598", "ERR_load_ASYNC_strings @ 0x10f13e8", "ERR_load_BIO_strings @ 0x10f27b4", "ERR_load_BN_strings @ 0x10f28e4", "ERR_load_BUF_strings @ 0x10f5bdc", "ERR_load_CMS_strings @ 0x10f9758", "ERR_load_COMP_strings @ 0x10f97b0", "ERR_load_CONF_strings @ 0x10f9808", "ERR_load_CRYPTO_strings @ 0x10f9860", "ERR_load_CT_strings @ 0x10f98b8", "ERR_load_DH_strings @ 0x10fa498", "ERR_load_DSA_strings @ 0x10faa60", "ERR_load_DSO_strings @ 0x10fac08", "ERR_load_EC_strings @ 0x10fb720", "ERR_load_ENGINE_strings @ 0x10fb778", "<???> @ 0x85480"], "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"}