//
// X509_TRUST_get0 from 0x840d88 to 0x840dcc (68 bytes)
//
// 3 xrefs:
// > X509_check_trust @ 0x840e58
// > X509_TRUST_add @ 0x840f30
// > ??> @ 0x673ac
//
// 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
//
char *__fastcall X509_TRUST_get0(int a1)
{
if ( a1 < 0 )
return nullptr;
if ( a1 > 7 )
return (char *)OPENSSL_sk_value((_DWORD *)dword_AD4848, a1 - 8);
return (char *)&unk_AC0F64 + 24 * a1;
}