//
// ENGINE_set_default_ciphers from 0xd9eaa0 to 0xd9eb2c (140 bytes)
//
// 2 xrefs:
// > ENGINE_set_default @ 0xd9ce9c
// > ??> @ 0x5fa60
//
// 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
//
__int64 __fastcall ENGINE_set_default_ciphers(__int64 a1)
{
__int64 (*v1)(void); // x4
int v3; // w0
__int64 v5; // [xsp+28h] [xbp+28h]
v1 = *(__int64 (**)(void))(a1 + 56);
if ( !v1 )
return 1;
v3 = v1();
if ( v3 > 0 )
return (unsigned int)engine_table_register(&unk_125D618, sub_D9E9C8, a1, v5, (unsigned int)v3);
else
return 1;
}