//
// ASN1_const_check_infinite_end from 0xfe723c to 0xfe7288 (76 bytes)
//
// 1 xrefs:
// > ??> @ 0x9bec0
//
// 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:15:40 +0000
//
__int64 __fastcall ASN1_const_check_infinite_end(_BYTE **a1, __int64 a2)
{
_BYTE *v3; // x1
__int64 result; // x0
if ( a2 <= 0 )
return 1;
if ( a2 == 1 )
return 0;
v3 = *a1;
result = 0;
if ( !*v3 && !v3[1] )
{
result = 1;
*a1 = v3 + 2;
}
return result;
}