//
// a2i_ASN1_ENUMERATED from 0x867024 to 0x867048 (36 bytes)
//
// 1 xrefs:
// > ??> @ 0x699ec
//
// 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
//
int __fastcall a2i_ASN1_ENUMERATED(_DWORD *a1, _DWORD *a2, char *a3, int a4)
{
int result; // r0
result = a2i_ASN1_INTEGER(a1, a2, a3, a4);
if ( result == 1 )
a2[1] = a2[1] & 0x100 | 2;
return result;
}