{"type": "func", "start": 14281376, "end": 14281516, "name": "ENGINE_set_default_ciphers", "pseudocode": "// \n// ENGINE_set_default_ciphers from 0xd9eaa0 to 0xd9eb2c (140 bytes)\n// \n// 2 xrefs:\n// > ENGINE_set_default @ 0xd9ce9c\n// > <???> @ 0x5fa60\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 ENGINE_set_default_ciphers(__int64 a1)\n{\n  __int64 (*v1)(void); // x4\n  int v3; // w0\n  __int64 v5; // [xsp+28h] [xbp+28h]\n\n  v1 = *(__int64 (**)(void))(a1 + 56);\n  if ( !v1 )\n    return 1;\n  v3 = v1();\n  if ( v3 > 0 )\n    return (unsigned int)engine_table_register(&unk_125D618, sub_D9E9C8, a1, v5, (unsigned int)v3);\n  else\n    return 1;\n}", "assembly": "; \n; ENGINE_set_default_ciphers from 0xd9eaa0 to 0xd9eb2c (140 bytes)\n; \n; 2 xrefs:\n; > ENGINE_set_default @ 0xd9ce9c\n; > <???> @ 0x5fa60\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, 0xd9eaa0\nMOV             X29, SP                                                ; +0x4, 0xd9eaa4\nLDR             X4, [X0,#0x38]                                         ; +0x8, 0xd9eaa8\nSTR             X19, [SP,#0x30+var_20]                                 ; +0xc, 0xd9eaac\nCBZ             X4, loc_D9EB18                                         ; +0x10, 0xd9eab0\nMOV             X1, #0                                                 ; +0x14, 0xd9eab4\nADD             X2, X29, #0x30+var_8                                   ; +0x18, 0xd9eab8\nMOV             W3, W1                                                 ; +0x1c, 0xd9eabc\nMOV             X19, X0                                                ; +0x20, 0xd9eac0\nBLR             X4                                                     ; +0x24, 0xd9eac4\nCMP             W0, WZR                                                ; +0x28, 0xd9eac8\nMOV             W4, W0                                                 ; +0x2c, 0xd9eacc\nMOV             W5, #1                                                 ; +0x30, 0xd9ead0\nB.GT            loc_D9EAE8                                             ; +0x34, 0xd9ead4\nMOV             W0, W5                                                 ; +0x38, 0xd9ead8\nLDR             X19, [SP,#0x30+var_20]                                 ; +0x3c, 0xd9eadc\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x40, 0xd9eae0\nRET                                                                    ; +0x44, 0xd9eae4\nLDR             X3, [X29,#0x30+var_8]                                  ; +0x48, 0xd9eae8\nADRP            X0, #unk_125D618@PAGE                                  ; +0x4c, 0xd9eaec\nADRP            X1, #sub_D9E9C8@PAGE                                   ; +0x50, 0xd9eaf0\nMOV             X2, X19                                                ; +0x54, 0xd9eaf4\nADD             X1, X1, #sub_D9E9C8@PAGEOFF                            ; +0x58, 0xd9eaf8\nADD             X0, X0, #unk_125D618@PAGEOFF                           ; +0x5c, 0xd9eafc\nBL              engine_table_register                                  ; +0x60, 0xd9eb00\nMOV             W5, W0                                                 ; +0x64, 0xd9eb04\nMOV             W0, W5                                                 ; +0x68, 0xd9eb08\nLDR             X19, [SP,#0x30+var_20]                                 ; +0x6c, 0xd9eb0c\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x70, 0xd9eb10\nRET                                                                    ; +0x74, 0xd9eb14\nMOV             W5, #1                                                 ; +0x78, 0xd9eb18\nLDR             X19, [SP,#0x30+var_20]                                 ; +0x7c, 0xd9eb1c\nMOV             W0, W5                                                 ; +0x80, 0xd9eb20\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x84, 0xd9eb24\nRET                                                                    ; +0x88, 0xd9eb28", "xrefs": ["ENGINE_set_default @ 0xd9ce9c", "<???> @ 0x5fa60"], "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"}