//
// X509_STORE_set_default_paths from 0xa53ca8 to 0xa53d2c (132 bytes)
//
// 2 xrefs:
// > SSL_CTX_set_default_verify_paths @ 0x9ae4c4
// > ??> @ 0x75c7c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:08:24 +0000
//
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;
}