//
// OCSP_request_add0_id from 0x1041868 to 0x10418d4 (108 bytes)
//
// 1 xrefs:
// > ??> @ 0xa9438
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:16:30 +0000
//
__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;
}