//
// X509_LOOKUP_shutdown from 0x83f5c8 to 0x83f5f4 (44 bytes)
//
// 2 xrefs:
// > X509_STORE_free @ 0x83f828
// > ??> @ 0x66f8c
//
// 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 X509_LOOKUP_shutdown(int a1)
{
int v1; // r3
int (*v2)(void); // r3
v1 = *(_DWORD *)(a1 + 8);
if ( !v1 )
return 0;
v2 = *(int (**)(void))(v1 + 16);
if ( v2 )
return v2();
else
return 1;
}