//
// SSL_CTX_set_default_verify_file from 0xd423dc to 0xd42434 (88 bytes)
//
// 1 xrefs:
// > ??> @ 0x7af28
//
// 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 SSL_CTX_set_default_verify_file(__int64 a1)
{
__int64 v1; // x19
__int64 v2; // x0
__int64 result; // x0
__int64 v4; // x0
v1 = *(_QWORD *)(a1 + 24);
v2 = X509_LOOKUP_file();
result = X509_STORE_add_lookup(v1, v2);
if ( result )
{
v4 = X509_LOOKUP_ctrl(result, 1, 0, 3, 0);
ERR_clear_error(v4);
return 1;
}
return result;
}