//
// ENGINE_set_default_ciphers from 0x7f8b60 to 0x7f8bd4 (116 bytes)
//
// 2 xrefs:
// > ENGINE_set_default @ 0x7f6ec4
// > ??> @ 0x621dc
//
// 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_ciphers(int a1)
{
int (*v1)(void); // r12
int v3; // r0
int v5; // [sp+Ch] [bp-Ch]
v1 = *(int (**)(void))(a1 + 28);
if ( !v1 )
return 1;
v3 = v1();
if ( v3 > 0 )
return engine_table_register(&unk_AD2E90, sub_7F8A94, a1, v5, v3, 1);
else
return 1;
}