//
// sub_D61CE4 from 0xd61ce4 to 0xd61d28 (68 bytes)
//
// 1 xrefs:
// > ??> @ 0x1121a40
//
// 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
//
__int64 __fastcall sub_D61CE4(__int64 a1, __int64 a2)
{
__int64 result; // x0
__int64 v4; // [xsp+28h] [xbp+28h]
result = *(_QWORD *)(a1 + 152);
if ( result )
return SSL_add_file_cert_subjects_to_stack(result, a2);
v4 = a2;
result = OPENSSL_sk_new_null(0);
*(_QWORD *)(a1 + 152) = result;
a2 = v4;
if ( result )
return SSL_add_file_cert_subjects_to_stack(result, a2);
return result;
}