//
// ENGINE_set_default_DH from 0x7f8d24 to 0x7f8d74 (80 bytes)
//
// 2 xrefs:
// > ENGINE_set_default @ 0x7f6f08
// > ??> @ 0x6220c
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
int __fastcall ENGINE_set_default_DH(int a1)
{
if ( *(_DWORD *)(a1 + 16) )
return engine_table_register(&unk_AD2E94, sub_7F8C78, a1, &unk_A1286C, 1, 1);
else
return 1;
}