//
// OCSP_resp_get0_id from 0x81dd68 to 0x81ddac (68 bytes)
//
// 1 xrefs:
// > ??> @ 0x6487c
//
// 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
//
int __fastcall OCSP_resp_get0_id(int a1, _DWORD *a2, _DWORD *a3)
{
int v3; // r12
int v4; // r3
bool v5; // zf
v4 = *(_DWORD *)(a1 + 4);
if ( v4 )
{
v5 = v4 == 1;
if ( v4 == 1 )
v3 = *(_DWORD *)(a1 + 8);
else
v4 = 0;
if ( v5 )
{
*a2 = v3;
*a3 = 0;
}
return v4;
}
else
{
*a3 = *(_DWORD *)(a1 + 8);
*a2 = 0;
return 1;
}
}