//
// X509_LOOKUP_shutdown from 0x1065878 to 0x10658b4 (60 bytes)
//
// 2 xrefs:
// > X509_STORE_free @ 0x1065af8
// > ??> @ 0x871d8
//
// 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:16:53 +0000
//
__int64 __fastcall X509_LOOKUP_shutdown(__int64 a1)
{
__int64 v1; // x1
__int64 (*v2)(void); // x1
v1 = *(_QWORD *)(a1 + 8);
if ( !v1 )
return 0;
v2 = *(__int64 (**)(void))(v1 + 32);
if ( v2 )
return v2();
else
return 1;
}