//
// OCSP_REQ_CTX_i2d from 0xe63588 to 0xe63618 (144 bytes)
//
// 2 xrefs:
// > OCSP_REQ_CTX_set1_req @ 0xe63690
// > ??> @ 0x2d7e0
//
// 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_REQ_CTX_i2d(__int64 a1, __int64 a2, __int64 a3)
{
int v6; // w0
v6 = ASN1_item_i2d(a3, nullptr, a2);
if ( (int)BIO_printf(*(_QWORD *)(a1 + 32), "Content-Type: application/ocsp-request\r\nContent-Length: %d\r\n\r\n", v6) <= 0
|| (int)ASN1_item_i2d_bio(a2, *(_QWORD *)(a1 + 32), a3) <= 0 )
{
return 0;
}
*(_DWORD *)a1 = 4101;
return 1;
}