//
// X509_LOOKUP_init from 0xa5419c to 0xa541c8 (44 bytes)
//
// 1 xrefs:
// > ??> @ 0x809fc
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:08:24 +0000
//
int __fastcall X509_LOOKUP_init(int a1)
{
int v1; // r3
int (*v2)(void); // r3
v1 = *(_DWORD *)(a1 + 8);
if ( !v1 )
return 0;
v2 = *(int (**)(void))(v1 + 12);
if ( v2 )
return v2();
else
return 1;
}