//
// X509_STORE_set_default_paths from 0x10652dc to 0x1065360 (132 bytes)
//
// 2 xrefs:
// > SSL_CTX_set_default_verify_paths @ 0xfc06d4
// > ??> @ 0x519b8
//
// 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:52 +0000
//
__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;
}