//
// OCSP_response_get1_basic from 0xa32888 to 0xa32918 (144 bytes)
//
// 4 xrefs:
// > sub_852C2C @ 0x8536f8
// > SSL_get0_peer_scts @ 0x9af378
// > OCSP_RESPONSE_print @ 0xa33f78
// > ??> @ 0x67f5c
//
// 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:08:06 +0000
//
int __fastcall OCSP_response_get1_basic(int a1)
{
int *v1; // r4
v1 = *(int **)(a1 + 4);
if ( v1 )
{
if ( OBJ_obj2nid(*v1) == (_BYTE *)&dword_16C + 1 )
return ASN1_item_unpack(v1[1], OCSP_BASICRESP_it);
ERR_put_error(39, 111, 104, (int)"crypto/ocsp/ocsp_cl.c", 157);
}
else
{
ERR_put_error(39, 111, 108, (int)"crypto/ocsp/ocsp_cl.c", 153);
}
return 0;
}