//
// X509_LOOKUP_by_alias from 0x1065998 to 0x10659c8 (48 bytes)
//
// 1 xrefs:
// > ??> @ 0x6d420
//
// 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_by_alias(__int64 a1)
{
__int64 v1; // x5
v1 = *(_QWORD *)(a1 + 8);
if ( v1 && (v1 = *(_QWORD *)(v1 + 72)) != 0 )
return ((__int64 (*)(void))v1)();
else
return (unsigned int)v1;
}