//
// ENGINE_set_id from 0x7f76f0 to 0x7f773c (76 bytes)
//
// 3 xrefs:
// > engine_load_dynamic_int @ 0x8b3950
// > engine_load_openssl_int @ 0x8b41cc
// > ??> @ 0x623fc
//
// 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_id(_DWORD *a1, int a2)
{
int v2; // r4
if ( a2 )
{
v2 = 1;
*a1 = a2;
}
else
{
v2 = 0;
ERR_put_error(38, 129, 67, "crypto/engine/eng_lib.c", 192);
}
return v2;
}