//
// ASN1_TYPE_get from 0x108abe0 to 0x108ac08 (40 bytes)
//
// 4 xrefs:
// > sub_1004D54 @ 0x1004f84
// > sub_1009820 @ 0x1009bb8
// > X509_ATTRIBUTE_get0_data @ 0x1064768
// > ??> @ 0xbb270
//
// 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:15 +0000
//
__int64 __fastcall ASN1_TYPE_get(_QWORD *a1)
{
__int64 result; // x0
int v2; // w2
if ( a1[1] )
return *(unsigned int *)a1;
v2 = *(_DWORD *)a1;
result = 0;
if ( v2 == 5 )
return 5;
return result;
}