//
// X509_STORE_CTX_set_default from 0x846270 to 0x846294 (36 bytes)
//
// 2 xrefs:
// > ssl_verify_cert_chain @ 0x79192c
// > ??> @ 0x5b2ec
//
// 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 X509_STORE_CTX_set_default(int a1, int a2)
{
int result; // r0
result = X509_VERIFY_PARAM_lookup(a2);
if ( result )
return X509_VERIFY_PARAM_inherit(*(_DWORD *)(a1 + 16), result);
return result;
}