//
// X509_STORE_set_default_paths from 0xde6f9c to 0xde7020 (132 bytes)
//
// 2 xrefs:
// > SSL_CTX_set_default_verify_paths @ 0xd42380
// > ??> @ 0x37dd0
//
// 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
//
__int64 __fastcall X509_STORE_set_default_paths(__int64 a1)
{
char **v2; // x0
__int64 v3; // x0
char **v4; // x0
__int64 v5; // x0
v2 = X509_LOOKUP_file();
v3 = X509_STORE_add_lookup(a1, v2);
if ( !v3 )
return 0;
X509_LOOKUP_ctrl(v3, 1, 0, 3, 0);
v4 = X509_LOOKUP_hash_dir();
v5 = X509_STORE_add_lookup(a1, v4);
if ( !v5 )
return 0;
X509_LOOKUP_ctrl(v5, 2, 0, 3, 0);
ERR_clear_error();
return 1;
}