//
// OCSP_sendreq_new from 0x8b9230 to 0x8b9298 (104 bytes)
//
// 2 xrefs:
// > OCSP_sendreq_bio @ 0x8b9990
// > ??> @ 0x6b21c
//
// 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
//
_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;
}