//
// ASN1_check_infinite_end from 0xd68e90 to 0xd68edc (76 bytes)
//
// 1 xrefs:
// > ??> @ 0x2ecc8
//
// 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
//
__int64 __fastcall ASN1_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;
}