//
// OCSP_single_get0_status from 0xa32a1c to 0xa32ab8 (156 bytes)
//
// 3 xrefs:
// > sub_852C2C @ 0x853754
// > OCSP_resp_find_status @ 0xa32afc
// > ??> @ 0x67fac
//
// 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_single_get0_status(_DWORD *a1, _DWORD *a2, _DWORD *a3, _DWORD *a4, _DWORD *a5)
{
int *v6; // r3
int v7; // r5
_DWORD *v10; // r3
int v11; // r0
if ( !a1 )
return -1;
v6 = (int *)a1[1];
v7 = *v6;
if ( *v6 == 1 )
{
v10 = (_DWORD *)v6[1];
if ( a3 )
*a3 = *v10;
if ( a2 )
{
v11 = v10[1];
if ( v11 )
*a2 = ASN1_ENUMERATED_get(v11);
else
*a2 = -1;
}
}
if ( a4 )
*a4 = a1[2];
if ( a5 )
*a5 = a1[3];
return v7;
}