//
// CT_POLICY_EVAL_CTX_set1_cert from 0x7dc2a8 to 0x7dc2cc (36 bytes)
//
// 2 xrefs:
// > ssl_validate_ct @ 0x79b32c
// > ??> @ 0x5c6dc
//
// 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 CT_POLICY_EVAL_CTX_set1_cert(_DWORD *a1, int a2)
{
int result; // r0
result = X509_up_ref(a2);
if ( result )
{
*a1 = a2;
return 1;
}
return result;
}