{"type": "func", "start": 14161920, "end": 14162044, "name": "CONF_load", "pseudocode": "// \n// CONF_load from 0xd81800 to 0xd8187c (124 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0xa10b8\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 CONF_load(__int64 a1, const char *a2)\n{\n  _QWORD *v3; // x19\n  __int64 bio; // x20\n\n  v3 = (_QWORD *)BIO_new_file(a2, \"rb\");\n  if ( v3 )\n  {\n    bio = CONF_load_bio(a1);\n    BIO_free(v3);\n    return bio;\n  }\n  else\n  {\n    ERR_put_error(14, 100, 2, \"crypto/conf/conf_lib.c\", 56);\n    return 0;\n  }\n}", "assembly": "; \n; CONF_load from 0xd81800 to 0xd8187c (124 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0xa10b8\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_30]!                                ; +0x0, 0xd81800\nMOV             X29, SP                                                ; +0x4, 0xd81804\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0x8, 0xd81808\nMOV             X20, X0                                                ; +0xc, 0xd8180c\nMOV             X0, X1                                                 ; +0x10, 0xd81810\nADRP            X1, #(aToggleOrb+8)@PAGE; \"rb\"                         ; +0x14, 0xd81814\nSTR             X2, [X29,#0x30+var_8]                                  ; +0x18, 0xd81818\nADD             X1, X1, #(aToggleOrb+8)@PAGEOFF; \"rb\"                  ; +0x1c, 0xd8181c\nBL              BIO_new_file                                           ; +0x20, 0xd81820\nMOV             X19, X0                                                ; +0x24, 0xd81824\nLDR             X2, [X29,#0x30+var_8]                                  ; +0x28, 0xd81828\nCBZ             X0, loc_D81858                                         ; +0x2c, 0xd8182c\nMOV             X1, X0                                                 ; +0x30, 0xd81830\nMOV             X0, X20                                                ; +0x34, 0xd81834\nBL              CONF_load_bio                                          ; +0x38, 0xd81838\nMOV             X20, X0                                                ; +0x3c, 0xd8183c\nMOV             X0, X19                                                ; +0x40, 0xd81840\nBL              BIO_free                                               ; +0x44, 0xd81844\nMOV             X0, X20                                                ; +0x48, 0xd81848\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x4c, 0xd8184c\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x50, 0xd81850\nRET                                                                    ; +0x54, 0xd81854\nADRP            X3, #aCryptoConfConf_0@PAGE; \"crypto/conf/conf_lib.c\"  ; +0x58, 0xd81858\nMOV             W0, #0xE                                               ; +0x5c, 0xd8185c\nMOV             W1, #0x64 ; 'd'                                        ; +0x60, 0xd81860\nMOV             W2, #2                                                 ; +0x64, 0xd81864\nADD             X3, X3, #aCryptoConfConf_0@PAGEOFF; \"crypto/conf/conf_lib.c\" ; +0x68, 0xd81868\nMOV             W4, #0x38 ; '8'                                        ; +0x6c, 0xd8186c\nBL              ERR_put_error                                          ; +0x70, 0xd81870\nMOV             X0, X19                                                ; +0x74, 0xd81874\nB               loc_D8184C                                             ; +0x78, 0xd81878", "xrefs": ["<???> @ 0xa10b8"], "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"}