//
// SSL_CTX_set_default_verify_dir from 0x7998c4 to 0x799910 (76 bytes)
//
// 1 xrefs:
// > ??> @ 0x5c20c
//
// 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 SSL_CTX_set_default_verify_dir(int a1)
{
int v1; // r4
int v2; // r0
int v3; // r0
int v5; // r0
v1 = *(_DWORD *)(a1 + 12);
v2 = X509_LOOKUP_hash_dir();
v3 = X509_STORE_add_lookup(v1, v2);
if ( !v3 )
return 0;
v5 = X509_LOOKUP_ctrl(v3, 2);
ERR_clear_error(v5);
return 1;
}