//
// engine_cleanup_add_last from 0xa0c218 to 0xa0c280 (104 bytes)
//
// 2 xrefs:
// > ENGINE_add @ 0xa0c898
// > ??> @ 0x7be2c
//
// 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
//
_DWORD *__fastcall engine_cleanup_add_last(int a1)
{
_DWORD *result; // r0
if ( dword_D34100 || (result = (_DWORD *)OPENSSL_sk_new_null(a1), (dword_D34100 = (int)result) != 0) )
{
result = (_DWORD *)CRYPTO_malloc(4, "crypto/engine/eng_lib.c", 123);
if ( result )
{
*result = a1;
return (_DWORD *)OPENSSL_sk_push(dword_D34100, result);
}
}
return result;
}