//
// sub_1006E4214 from 0x1006e4214 to 0x1006e42c8 (180 bytes)
//
// 1 xrefs:
// > sub_1006E5398 @ 0x1006e53ac
//
// 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 11:12:35 +0000
//
__int64 __fastcall sub_1006E4214(__int64 a1, __int64 a2)
{
__int64 v3; // x0
__int64 v4; // x19
__int64 v5; // x20
v3 = sub_1006E42C8(a1, 0);
v4 = v3;
if ( v3 )
{
v5 = sub_10071C2D8(v3, a2, &unk_1009BD110);
if ( (_DWORD)v5 )
{
sub_10071BCFC(v4, &unk_1009BD110);
}
else
{
sub_100706FB0(16, 191, 121, "ec_asn1.c", 1006);
sub_10071BCFC(v4, &unk_1009BD110);
return 0;
}
}
else
{
sub_100706FB0(16, 191, 120, "ec_asn1.c", 1002);
return 0;
}
return v5;
}