//
// a2i_ASN1_ENUMERATED from 0xa7bc24 to 0xa7bc48 (36 bytes)
//
// 1 xrefs:
// > ??> @ 0x8346c
//
// 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:46 +0000
//
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;
}