//
// OCSP_request_add0_id from 0xdc3508 to 0xdc3574 (108 bytes)
//
// 1 xrefs:
// > ??> @ 0x7f0c8
//
// 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 OCSP_request_add0_id(__int64 a1, __int64 a2)
{
__int64 *v4; // x0
__int64 *v5; // x19
__int64 v7; // x0
v4 = (__int64 *)OCSP_ONEREQ_new();
v5 = v4;
if ( v4 )
{
OCSP_CERTID_free(*v4);
*v5 = a2;
if ( a1 )
{
if ( !(unsigned int)OPENSSL_sk_push(*(_QWORD *)(a1 + 16), v5) )
{
*v5 = 0;
v7 = (__int64)v5;
v5 = nullptr;
OCSP_ONEREQ_free(v7);
}
}
}
return v5;
}