//
// a2i_ASN1_ENUMERATED from 0xe0f0f4 to 0xe0f12c (56 bytes)
//
// 1 xrefs:
// > ??> @ 0x66090
//
// 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 a2i_ASN1_ENUMERATED(__int64 a1, __int64 a2, char *a3, unsigned int a4)
{
__int64 result; // x0
result = a2i_ASN1_INTEGER(a1, a2, a3, a4);
if ( (_DWORD)result == 1 )
*(_DWORD *)(a2 + 4) = *(_DWORD *)(a2 + 4) & 0x100 | 2;
return result;
}