//
// ENGINE_set_name from 0xd9d6e8 to 0xd9d734 (76 bytes)
//
// 3 xrefs:
// > engine_load_dynamic_int @ 0xe5d844
// > engine_load_openssl_int @ 0xe5e018
// > ??> @ 0x58668
//
// 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_name(__int64 a1, __int64 a2)
{
if ( a2 )
{
*(_QWORD *)(a1 + 8) = a2;
return 1;
}
else
{
ERR_put_error(38, 130, 67, "crypto/engine/eng_lib.c", 202);
return 0;
}
}