//
// OCSP_response_get1_basic from 0x1041b5c to 0x1041be4 (136 bytes)
//
// 4 xrefs:
// > sub_E2C94C @ 0xe2d830
// > SSL_get0_peer_scts @ 0xfc15d4
// > OCSP_RESPONSE_print @ 0x1043290
// > ??> @ 0x56db8
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:16:31 +0000
//
__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;
}