{"type": "func", "start": 16899096, "end": 16899336, "name": "ERR_load_strings", "pseudocode": "// \n// ERR_load_strings from 0x101dc18 to 0x101dd08 (240 bytes)\n// \n// 59 xrefs:\n// > ERR_load_SSL_strings @ 0xfe1908\n// > ERR_load_SSL_strings @ 0xfe1914\n// > ERR_load_EVP_strings @ 0x10df484\n// > ERR_load_EVP_strings @ 0x10df490\n// > ERR_load_KDF_strings @ 0x10e0ff8\n// > ERR_load_KDF_strings @ 0x10e1004\n// > ERR_load_OBJ_strings @ 0x10e13e4\n// > ERR_load_OBJ_strings @ 0x10e13f0\n// > ERR_load_OCSP_strings @ 0x10e143c\n// > ERR_load_OCSP_strings @ 0x10e1448\n// > ERR_load_PEM_strings @ 0x10e23ec\n// > ERR_load_PEM_strings @ 0x10e23f8\n// > ERR_load_PKCS12_strings @ 0x10e4230\n// > ERR_load_PKCS12_strings @ 0x10e423c\n// > ERR_load_PKCS7_strings @ 0x10e45c8\n// > ERR_load_PKCS7_strings @ 0x10e45d4\n// > ERR_load_RAND_strings @ 0x10e6058\n// > ERR_load_RAND_strings @ 0x10e6064\n// > ERR_load_RSA_strings @ 0x10e8960\n// > ERR_load_RSA_strings @ 0x10e896c\n// > ERR_load_TS_strings @ 0x10ec7f8\n// > ERR_load_TS_strings @ 0x10ec804\n// > ERR_load_UI_strings @ 0x10ec850\n// > ERR_load_UI_strings @ 0x10ec85c\n// > ERR_load_X509_strings @ 0x10ecf98\n// > ERR_load_X509_strings @ 0x10ecfa4\n// > ERR_load_X509V3_strings @ 0x10ee520\n// > ERR_load_X509V3_strings @ 0x10ee52c\n// > ERR_load_ASN1_strings @ 0x10ee5b8\n// > ERR_load_ASN1_strings @ 0x10ee5c4\n// > ERR_load_ASYNC_strings @ 0x10f1408\n// > ERR_load_ASYNC_strings @ 0x10f1414\n// > ERR_load_BIO_strings @ 0x10f27d4\n// > ERR_load_BIO_strings @ 0x10f27e0\n// > ERR_load_BN_strings @ 0x10f2904\n// > ERR_load_BN_strings @ 0x10f2910\n// > ERR_load_BUF_strings @ 0x10f5bfc\n// > ERR_load_BUF_strings @ 0x10f5c0c\n// > ERR_load_CMS_strings @ 0x10f9778\n// > ERR_load_CMS_strings @ 0x10f9784\n// > ERR_load_COMP_strings @ 0x10f97d0\n// > ERR_load_COMP_strings @ 0x10f97dc\n// > ERR_load_CONF_strings @ 0x10f9828\n// > ERR_load_CONF_strings @ 0x10f9834\n// > ERR_load_CRYPTO_strings @ 0x10f9880\n// > ERR_load_CRYPTO_strings @ 0x10f988c\n// > ERR_load_CT_strings @ 0x10f98d8\n// > ERR_load_CT_strings @ 0x10f98e4\n// > ERR_load_DH_strings @ 0x10fa4b8\n// > ERR_load_DH_strings @ 0x10fa4c4\n// > ERR_load_DSA_strings @ 0x10faa80\n// > ERR_load_DSA_strings @ 0x10faa8c\n// > ERR_load_DSO_strings @ 0x10fac28\n// > ERR_load_DSO_strings @ 0x10fac34\n// > ERR_load_EC_strings @ 0x10fb740\n// > ERR_load_EC_strings @ 0x10fb74c\n// > ERR_load_ENGINE_strings @ 0x10fb798\n// > ERR_load_ENGINE_strings @ 0x10fb7a4\n// > <???> @ 0xa5850\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_load_strings(int a1, unsigned __int64 *a2)\n{\n  __int64 result; // x0\n  __int64 v5; // x0\n  unsigned __int64 v6; // x1\n  _QWORD *v7; // x19\n  unsigned __int64 v8; // t1\n  __int64 v9; // t1\n  unsigned __int64 v10; // t1\n\n  result = ERR_load_ERR_strings();\n  if ( (_DWORD)result )\n  {\n    CRYPTO_THREAD_write_lock(qword_1566460);\n    v5 = qword_1566C80;\n    if ( qword_1566C80 || (v5 = OPENSSL_LH_new(sub_101D850, sub_101D898), (qword_1566C80 = v5) != 0) )\n    {\n      v6 = *a2;\n      if ( *a2 )\n      {\n        if ( a1 )\n        {\n          while ( 1 )\n          {\n            *a2 = v6 | ((unsigned __int64)(unsigned __int8)a1 << 24);\n            OPENSSL_LH_insert(v5, a2);\n            v10 = a2[2];\n            a2 += 2;\n            v6 = v10;\n            if ( !v10 )\n              break;\n            v5 = qword_1566C80;\n          }\n        }\n        else\n        {\n          OPENSSL_LH_insert(v5, a2);\n          v8 = a2[2];\n          v7 = a2 + 2;\n          if ( v8 )\n          {\n            do\n            {\n              OPENSSL_LH_insert(qword_1566C80, v7);\n              v9 = v7[2];\n              v7 += 2;\n            }\n            while ( v9 );\n          }\n        }\n      }\n    }\n    CRYPTO_THREAD_unlock(qword_1566460);\n    return 1;\n  }\n  return result;\n}", "assembly": "; \n; ERR_load_strings from 0x101dc18 to 0x101dd08 (240 bytes)\n; \n; 59 xrefs:\n; > ERR_load_SSL_strings @ 0xfe1908\n; > ERR_load_SSL_strings @ 0xfe1914\n; > ERR_load_EVP_strings @ 0x10df484\n; > ERR_load_EVP_strings @ 0x10df490\n; > ERR_load_KDF_strings @ 0x10e0ff8\n; > ERR_load_KDF_strings @ 0x10e1004\n; > ERR_load_OBJ_strings @ 0x10e13e4\n; > ERR_load_OBJ_strings @ 0x10e13f0\n; > ERR_load_OCSP_strings @ 0x10e143c\n; > ERR_load_OCSP_strings @ 0x10e1448\n; > ERR_load_PEM_strings @ 0x10e23ec\n; > ERR_load_PEM_strings @ 0x10e23f8\n; > ERR_load_PKCS12_strings @ 0x10e4230\n; > ERR_load_PKCS12_strings @ 0x10e423c\n; > ERR_load_PKCS7_strings @ 0x10e45c8\n; > ERR_load_PKCS7_strings @ 0x10e45d4\n; > ERR_load_RAND_strings @ 0x10e6058\n; > ERR_load_RAND_strings @ 0x10e6064\n; > ERR_load_RSA_strings @ 0x10e8960\n; > ERR_load_RSA_strings @ 0x10e896c\n; > ERR_load_TS_strings @ 0x10ec7f8\n; > ERR_load_TS_strings @ 0x10ec804\n; > ERR_load_UI_strings @ 0x10ec850\n; > ERR_load_UI_strings @ 0x10ec85c\n; > ERR_load_X509_strings @ 0x10ecf98\n; > ERR_load_X509_strings @ 0x10ecfa4\n; > ERR_load_X509V3_strings @ 0x10ee520\n; > ERR_load_X509V3_strings @ 0x10ee52c\n; > ERR_load_ASN1_strings @ 0x10ee5b8\n; > ERR_load_ASN1_strings @ 0x10ee5c4\n; > ERR_load_ASYNC_strings @ 0x10f1408\n; > ERR_load_ASYNC_strings @ 0x10f1414\n; > ERR_load_BIO_strings @ 0x10f27d4\n; > ERR_load_BIO_strings @ 0x10f27e0\n; > ERR_load_BN_strings @ 0x10f2904\n; > ERR_load_BN_strings @ 0x10f2910\n; > ERR_load_BUF_strings @ 0x10f5bfc\n; > ERR_load_BUF_strings @ 0x10f5c0c\n; > ERR_load_CMS_strings @ 0x10f9778\n; > ERR_load_CMS_strings @ 0x10f9784\n; > ERR_load_COMP_strings @ 0x10f97d0\n; > ERR_load_COMP_strings @ 0x10f97dc\n; > ERR_load_CONF_strings @ 0x10f9828\n; > ERR_load_CONF_strings @ 0x10f9834\n; > ERR_load_CRYPTO_strings @ 0x10f9880\n; > ERR_load_CRYPTO_strings @ 0x10f988c\n; > ERR_load_CT_strings @ 0x10f98d8\n; > ERR_load_CT_strings @ 0x10f98e4\n; > ERR_load_DH_strings @ 0x10fa4b8\n; > ERR_load_DH_strings @ 0x10fa4c4\n; > ERR_load_DSA_strings @ 0x10faa80\n; > ERR_load_DSA_strings @ 0x10faa8c\n; > ERR_load_DSO_strings @ 0x10fac28\n; > ERR_load_DSO_strings @ 0x10fac34\n; > ERR_load_EC_strings @ 0x10fb740\n; > ERR_load_EC_strings @ 0x10fb74c\n; > ERR_load_ENGINE_strings @ 0x10fb798\n; > ERR_load_ENGINE_strings @ 0x10fb7a4\n; > <???> @ 0xa5850\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,#-0x30+var_s0]!                          ; +0x0, 0x101dc18\nMOV             X29, SP                                                ; +0x4, 0x101dc1c\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0x101dc20\nSTP             X21, X22, [SP,#var_s20]                                ; +0xc, 0x101dc24\nMOV             X19, X1                                                ; +0x10, 0x101dc28\nMOV             W22, W0                                                ; +0x14, 0x101dc2c\nBL              ERR_load_ERR_strings                                   ; +0x18, 0x101dc30\nCBNZ            W0, loc_101DC48                                        ; +0x1c, 0x101dc34\nLDP             X19, X20, [SP,#var_s10]                                ; +0x20, 0x101dc38\nLDP             X21, X22, [SP,#var_s20]                                ; +0x24, 0x101dc3c\nLDP             X29, X30, [SP+var_s0],#0x30                            ; +0x28, 0x101dc40\nRET                                                                    ; +0x2c, 0x101dc44\nADRP            X20, #qword_1566460@PAGE                               ; +0x30, 0x101dc48\nADD             X21, X20, #qword_1566460@PAGEOFF                       ; +0x34, 0x101dc4c\nLDR             X0, [X20,#qword_1566460@PAGEOFF]                       ; +0x38, 0x101dc50\nBL              CRYPTO_THREAD_write_lock                               ; +0x3c, 0x101dc54\nLDR             X0, [X21,#(qword_1566C80 - 0x1566460)]                 ; +0x40, 0x101dc58\nCBZ             X0, loc_101DCE8                                        ; +0x44, 0x101dc5c\nLDR             X1, [X19]                                              ; +0x48, 0x101dc60\nCBZ             X1, loc_101DC9C                                        ; +0x4c, 0x101dc64\nUBFIZ           X21, X22, #0x18, #8                                    ; +0x50, 0x101dc68\nCBNZ            W22, loc_101DCBC                                       ; +0x54, 0x101dc6c\nMOV             X1, X19                                                ; +0x58, 0x101dc70\nBL              OPENSSL_LH_insert                                      ; +0x5c, 0x101dc74\nLDR             X0, [X19,#0x10]!                                       ; +0x60, 0x101dc78\nADD             X1, X20, #qword_1566460@PAGEOFF                        ; +0x64, 0x101dc7c\nCBZ             X0, loc_101DC9C                                        ; +0x68, 0x101dc80\nLDR             X0, [X1,#(qword_1566C80 - 0x1566460)]                  ; +0x6c, 0x101dc84\nMOV             X1, X19                                                ; +0x70, 0x101dc88\nBL              OPENSSL_LH_insert                                      ; +0x74, 0x101dc8c\nLDR             X0, [X19,#0x10]!                                       ; +0x78, 0x101dc90\nADD             X1, X20, #qword_1566460@PAGEOFF                        ; +0x7c, 0x101dc94\nCBNZ            X0, loc_101DC84                                        ; +0x80, 0x101dc98\nLDR             X0, [X20,#qword_1566460@PAGEOFF]                       ; +0x84, 0x101dc9c\nBL              CRYPTO_THREAD_unlock                                   ; +0x88, 0x101dca0\nMOV             W0, #1                                                 ; +0x8c, 0x101dca4\nLDP             X19, X20, [SP,#var_s10]                                ; +0x90, 0x101dca8\nLDP             X21, X22, [SP,#var_s20]                                ; +0x94, 0x101dcac\nLDP             X29, X30, [SP+var_s0],#0x30                            ; +0x98, 0x101dcb0\nRET                                                                    ; +0x9c, 0x101dcb4\nLDR             X0, [X0,#(qword_1566C80 - 0x1566460)]                  ; +0xa0, 0x101dcb8\nORR             X2, X1, X21                                            ; +0xa4, 0x101dcbc\nMOV             X1, X19                                                ; +0xa8, 0x101dcc0\nSTR             X2, [X19]                                              ; +0xac, 0x101dcc4\nBL              OPENSSL_LH_insert                                      ; +0xb0, 0x101dcc8\nLDR             X1, [X19,#0x10]!                                       ; +0xb4, 0x101dccc\nADD             X0, X20, #qword_1566460@PAGEOFF                        ; +0xb8, 0x101dcd0\nCBNZ            X1, loc_101DCB8                                        ; +0xbc, 0x101dcd4\nLDR             X0, [X20,#qword_1566460@PAGEOFF]                       ; +0xc0, 0x101dcd8\nBL              CRYPTO_THREAD_unlock                                   ; +0xc4, 0x101dcdc\nMOV             W0, #1                                                 ; +0xc8, 0x101dce0\nB               loc_101DCA8                                            ; +0xcc, 0x101dce4\nADRP            X0, #sub_101D850@PAGE                                  ; +0xd0, 0x101dce8\nADRP            X1, #sub_101D898@PAGE                                  ; +0xd4, 0x101dcec\nADD             X0, X0, #sub_101D850@PAGEOFF                           ; +0xd8, 0x101dcf0\nADD             X1, X1, #sub_101D898@PAGEOFF                           ; +0xdc, 0x101dcf4\nBL              OPENSSL_LH_new                                         ; +0xe0, 0x101dcf8\nSTR             X0, [X21,#(qword_1566C80 - 0x1566460)]                 ; +0xe4, 0x101dcfc\nCBZ             X0, loc_101DC9C                                        ; +0xe8, 0x101dd00\nB               loc_101DC60                                            ; +0xec, 0x101dd04", "xrefs": ["ERR_load_SSL_strings @ 0xfe1908", "ERR_load_SSL_strings @ 0xfe1914", "ERR_load_EVP_strings @ 0x10df484", "ERR_load_EVP_strings @ 0x10df490", "ERR_load_KDF_strings @ 0x10e0ff8", "ERR_load_KDF_strings @ 0x10e1004", "ERR_load_OBJ_strings @ 0x10e13e4", "ERR_load_OBJ_strings @ 0x10e13f0", "ERR_load_OCSP_strings @ 0x10e143c", "ERR_load_OCSP_strings @ 0x10e1448", "ERR_load_PEM_strings @ 0x10e23ec", "ERR_load_PEM_strings @ 0x10e23f8", "ERR_load_PKCS12_strings @ 0x10e4230", "ERR_load_PKCS12_strings @ 0x10e423c", "ERR_load_PKCS7_strings @ 0x10e45c8", "ERR_load_PKCS7_strings @ 0x10e45d4", "ERR_load_RAND_strings @ 0x10e6058", "ERR_load_RAND_strings @ 0x10e6064", "ERR_load_RSA_strings @ 0x10e8960", "ERR_load_RSA_strings @ 0x10e896c", "ERR_load_TS_strings @ 0x10ec7f8", "ERR_load_TS_strings @ 0x10ec804", "ERR_load_UI_strings @ 0x10ec850", "ERR_load_UI_strings @ 0x10ec85c", "ERR_load_X509_strings @ 0x10ecf98", "ERR_load_X509_strings @ 0x10ecfa4", "ERR_load_X509V3_strings @ 0x10ee520", "ERR_load_X509V3_strings @ 0x10ee52c", "ERR_load_ASN1_strings @ 0x10ee5b8", "ERR_load_ASN1_strings @ 0x10ee5c4", "ERR_load_ASYNC_strings @ 0x10f1408", "ERR_load_ASYNC_strings @ 0x10f1414", "ERR_load_BIO_strings @ 0x10f27d4", "ERR_load_BIO_strings @ 0x10f27e0", "ERR_load_BN_strings @ 0x10f2904", "ERR_load_BN_strings @ 0x10f2910", "ERR_load_BUF_strings @ 0x10f5bfc", "ERR_load_BUF_strings @ 0x10f5c0c", "ERR_load_CMS_strings @ 0x10f9778", "ERR_load_CMS_strings @ 0x10f9784", "ERR_load_COMP_strings @ 0x10f97d0", "ERR_load_COMP_strings @ 0x10f97dc", "ERR_load_CONF_strings @ 0x10f9828", "ERR_load_CONF_strings @ 0x10f9834", "ERR_load_CRYPTO_strings @ 0x10f9880", "ERR_load_CRYPTO_strings @ 0x10f988c", "ERR_load_CT_strings @ 0x10f98d8", "ERR_load_CT_strings @ 0x10f98e4", "ERR_load_DH_strings @ 0x10fa4b8", "ERR_load_DH_strings @ 0x10fa4c4", "ERR_load_DSA_strings @ 0x10faa80", "ERR_load_DSA_strings @ 0x10faa8c", "ERR_load_DSO_strings @ 0x10fac28", "ERR_load_DSO_strings @ 0x10fac34", "ERR_load_EC_strings @ 0x10fb740", "ERR_load_EC_strings @ 0x10fb74c", "ERR_load_ENGINE_strings @ 0x10fb798", "ERR_load_ENGINE_strings @ 0x10fb7a4", "<???> @ 0xa5850"], "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"}