//
// OCSP_response_get1_basic from 0xdc37fc to 0xdc3884 (136 bytes)
//
// 4 xrefs:
// > sub_BB678C @ 0xbb7670
// > SSL_get0_peer_scts @ 0xd43280
// > OCSP_RESPONSE_print @ 0xdc4f30
// > ??> @ 0x3be38
//
// 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_response_get1_basic(__int64 a1)
{
__int64 *v1; // x19
v1 = *(__int64 **)(a1 + 8);
if ( v1 )
{
if ( (unsigned int)OBJ_obj2nid(*v1) == 365 )
return ASN1_item_unpack(v1[1], OCSP_BASICRESP_it);
ERR_put_error(39, 111, 104, (__int64)"crypto/ocsp/ocsp_cl.c", 157);
}
else
{
ERR_put_error(39, 111, 108, (__int64)"crypto/ocsp/ocsp_cl.c", 153);
}
return 0;
}