//
// X509_TRUST_set from 0x1067300 to 0x1067360 (96 bytes)
//
// 2 xrefs:
// > X509_VERIFY_PARAM_set_trust @ 0x106c838
// > ??> @ 0xed1d8
//
// 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:54 +0000
//
__int64 __fastcall X509_TRUST_set(int *a1, int a2)
{
if ( (unsigned int)X509_TRUST_get_by_id(a2) == -1 )
{
ERR_put_error(11, 141, 123, (__int64)"crypto/x509/x509_trs.c", 115);
return 0;
}
else
{
*a1 = a2;
return 1;
}
}