//
// OCSP_REQ_CTX_i2d from 0xace0ac to 0xace118 (108 bytes)
//
// 2 xrefs:
// > OCSP_REQ_CTX_set1_req @ 0xace184
// > ??> @ 0x84c5c
//
// 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
//
int __fastcall OCSP_REQ_CTX_i2d(_DWORD *a1, unsigned __int8 *a2, size_t *a3)
{
int v6; // r0
v6 = ASN1_item_i2d(a3, nullptr, a2);
if ( BIO_printf(a1[4], "Content-Type: application/ocsp-request\r\nContent-Length: %d\r\n\r\n", v6) <= 0
|| ASN1_item_i2d_bio(a2, a1[4], a3) <= 0 )
{
return 0;
}
*a1 = 4101;
return 1;
}