//
// engine_cleanup_add_first from 0x7f75a0 to 0x7f760c (108 bytes)
//
// 2 xrefs:
// > engine_table_register @ 0x8b457c
// > ??> @ 0x6239c
//
// 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
//
_DWORD *__fastcall engine_cleanup_add_first(int a1)
{
_DWORD *result; // r0
if ( dword_AD2E74 || (result = (_DWORD *)OPENSSL_sk_new_null(a1), (dword_AD2E74 = (int)result) != 0) )
{
result = (_DWORD *)CRYPTO_malloc(4, "crypto/engine/eng_lib.c", 123);
if ( result )
{
*result = a1;
return (_DWORD *)OPENSSL_sk_insert(dword_AD2E74, result, 0);
}
}
return result;
}