{"type": "func", "start": 8359204, "end": 8359284, "name": "ENGINE_set_default_DH", "pseudocode": "// \n// ENGINE_set_default_DH from 0x7f8d24 to 0x7f8d74 (80 bytes)\n// \n// 2 xrefs:\n// > ENGINE_set_default @ 0x7f6f08\n// > <???> @ 0x6220c\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\nint __fastcall ENGINE_set_default_DH(int a1)\n{\n  if ( *(_DWORD *)(a1 + 16) )\n    return engine_table_register(&unk_AD2E94, sub_7F8C78, a1, &unk_A1286C, 1, 1);\n  else\n    return 1;\n}", "assembly": "; \n; ENGINE_set_default_DH from 0x7f8d24 to 0x7f8d74 (80 bytes)\n; \n; 2 xrefs:\n; > ENGINE_set_default @ 0x7f6f08\n; > <???> @ 0x6220c\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\nLDR             R3, [R0,#0x10]                                         ; +0x0, 0x7f8d24\nCMP             R3, #0                                                 ; +0x4, 0x7f8d28\nBEQ             loc_7F8D6C                                             ; +0x8, 0x7f8d2c\nPUSH            {LR}                                                   ; +0xc, 0x7f8d30\nMOV             R3, #1                                                 ; +0x10, 0x7f8d34\nSUB             SP, SP, #0xC                                           ; +0x14, 0x7f8d38\nMOV             R2, R0                                                 ; +0x18, 0x7f8d3c\nSTR             R3, [SP,#0x10+var_10]                                  ; +0x1c, 0x7f8d40\nSTR             R3, [SP,#0x10+var_C]                                   ; +0x20, 0x7f8d44\nLDR             R0, =(unk_AD2E94 - 0x7F8D64)                           ; +0x24, 0x7f8d48\nLDR             R1, =(sub_7F8C78 - 0x7F8D5C)                           ; +0x28, 0x7f8d4c\nLDR             R3, =(unk_A1286C - 0x7F8D60)                           ; +0x2c, 0x7f8d50\nADD             R1, PC, R1; sub_7F8C78                                 ; +0x30, 0x7f8d54\nADD             R3, PC, R3; unk_A1286C                                 ; +0x34, 0x7f8d58\nADD             R0, PC, R0; unk_AD2E94                                 ; +0x38, 0x7f8d5c\nBL              engine_table_register                                  ; +0x3c, 0x7f8d60\nADD             SP, SP, #0xC                                           ; +0x40, 0x7f8d64\nPOP             {PC}                                                   ; +0x44, 0x7f8d68\nMOV             R0, #1                                                 ; +0x48, 0x7f8d6c\nBX              LR                                                     ; +0x4c, 0x7f8d70", "xrefs": ["ENGINE_set_default @ 0x7f6f08", "<???> @ 0x6220c"], "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"}