//
// OCSP_resp_get0_id from 0x1041c20 to 0x1041c60 (64 bytes)
//
// 1 xrefs:
// > ??> @ 0xc3e68
//
// 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_resp_get0_id(__int64 a1, _QWORD *a2, _QWORD *a3)
{
__int64 v3; // x3
__int64 result; // x0
v3 = a1 + 8;
result = *(unsigned int *)(a1 + 8);
if ( (_DWORD)result )
{
if ( (_DWORD)result == 1 )
{
*a2 = *(_QWORD *)(v3 + 8);
*a3 = 0;
}
else
{
return 0;
}
}
else
{
*a3 = *(_QWORD *)(v3 + 8);
*a2 = 0;
return 1;
}
return result;
}