//
// X509_STORE_set_default_paths from 0x83f0a8 to 0x83f12c (132 bytes)
//
// 2 xrefs:
// > SSL_CTX_set_default_verify_paths @ 0x7998c0
// > ??> @ 0x5c1fc
//
// 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_set_default_paths(int a1)
{
char **v2; // r0
int v3; // r0
char **v4; // r0
int v5; // r0
v2 = X509_LOOKUP_file();
v3 = X509_STORE_add_lookup(a1, v2);
if ( !v3 )
return 0;
X509_LOOKUP_ctrl(v3, 1);
v4 = X509_LOOKUP_hash_dir();
v5 = X509_STORE_add_lookup(a1, v4);
if ( !v5 )
return 0;
X509_LOOKUP_ctrl(v5, 2);
ERR_clear_error();
return 1;
}