//
// CT_POLICY_EVAL_CTX_set1_cert from 0x1002094 to 0x10020cc (56 bytes)
//
// 2 xrefs:
// > ssl_validate_ct @ 0xfc2060
// > ??> @ 0x91948
//
// 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:15:54 +0000
//
__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;
}