//
// OCSP_sendreq_new from 0xace230 to 0xace298 (104 bytes)
//
// 2 xrefs:
// > OCSP_sendreq_bio @ 0xace990
// > ??> @ 0x84c9c
//
// 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:09:22 +0000
//
_DWORD *__fastcall OCSP_sendreq_new(int a1, const char *a2, size_t *a3, int a4)
{
_DWORD *v6; // r0
_DWORD *v7; // r4
v6 = OCSP_REQ_CTX_new(a1, a4);
v7 = v6;
if ( v6 )
{
if ( OCSP_REQ_CTX_http(v6, "POST", a2) && (!a3 || OCSP_REQ_CTX_set1_req(v7, a3)) )
return v7;
OCSP_REQ_CTX_free((int)v7);
}
return nullptr;
}