//
// SSL_CTX_set_default_verify_file from 0xfc0730 to 0xfc0788 (88 bytes)
//
// 1 xrefs:
// > ??> @ 0xa4350
//
// 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:15:20 +0000
//
__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;
}