//
// sub_A55700 from 0xa55700 to 0xa55740 (64 bytes)
//
// 1 xrefs:
// > ??> @ 0xd26144
//
// 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:26 +0000
//
int __fastcall sub_A55700(int a1, int a2, char a3)
{
X509_check_purpose(a2, -1, 0);
if ( (a3 & 4) != 0 )
return 3;
if ( (*(_DWORD *)(a2 + 112) & 0x2000) != 0 )
return 1;
return 3;
}