//
// CT_POLICY_EVAL_CTX_set1_cert from 0x9f0ea8 to 0x9f0ecc (36 bytes)
//
// 2 xrefs:
// > ssl_validate_ct @ 0x9aff30
// > ??> @ 0x7615c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:07:29 +0000
//
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;
}