//
// X509_LOOKUP_ctrl from 0xde7574 to 0xde75ac (56 bytes)
//
// 7 xrefs:
// > SSL_CTX_set_default_verify_dir @ 0xd423b8
// > SSL_CTX_set_default_verify_file @ 0xd42410
// > X509_STORE_set_default_paths @ 0xde6fd0
// > X509_STORE_set_default_paths @ 0xde6ff8
// > X509_STORE_load_locations @ 0xde7064
// > X509_STORE_load_locations @ 0xde70ac
// > ??> @ 0x6e658
//
// 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 X509_LOOKUP_ctrl(__int64 a1)
{
__int64 v1; // x5
__int64 (*v2)(void); // x5
v1 = *(_QWORD *)(a1 + 8);
if ( !v1 )
return 0xFFFFFFFFLL;
v2 = *(__int64 (**)(void))(v1 + 40);
if ( v2 )
return v2();
else
return 1;
}