//
// a2i_ASN1_ENUMERATED from 0x108d3f4 to 0x108d42c (56 bytes)
//
// 1 xrefs:
// > ??> @ 0x8a8e0
//
// 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:17:16 +0000
//
__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;
}