//
// CT_POLICY_EVAL_CTX_set1_cert from 0xd83d34 to 0xd83d6c (56 bytes)
//
// 2 xrefs:
// > ssl_validate_ct @ 0xd43d0c
// > ??> @ 0x6bb98
//
// 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
//
__int64 __fastcall CT_POLICY_EVAL_CTX_set1_cert(_QWORD *a1, __int64 a2)
{
__int64 result; // x0
result = X509_up_ref(a2);
if ( (_DWORD)result )
{
*a1 = a2;
return 1;
}
return result;
}