//
// ENGINE_set_name from 0x7f7740 to 0x7f778c (76 bytes)
//
// 3 xrefs:
// > engine_load_dynamic_int @ 0x8b3968
// > engine_load_openssl_int @ 0x8b41f0
// > ??> @ 0x6240c
//
// 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_name(int a1, int a2)
{
int v2; // r4
if ( a2 )
{
v2 = 1;
*(_DWORD *)(a1 + 4) = a2;
}
else
{
v2 = 0;
ERR_put_error(38, 130, 67, "crypto/engine/eng_lib.c", 202);
}
return v2;
}