//
// ENGINE_set_name from 0xa0c340 to 0xa0c38c (76 bytes)
//
// 3 xrefs:
// > engine_load_dynamic_int @ 0xac8968
// > engine_load_openssl_int @ 0xac91f0
// > ??> @ 0x7be8c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:07:43 +0000
//
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;
}