//
// OPENSSL_hexchar2int from 0xa2fa9c to 0xa2fac4 (40 bytes)
//
// 8 xrefs:
// > BN_hex2bn @ 0x9ec4b4
// > OPENSSL_hexstr2buf @ 0xa2fb20
// > OPENSSL_hexstr2buf @ 0xa2fb2c
// > PEM_get_EVP_CIPHER_INFO @ 0xa36798
// > sub_A70D8C @ 0xa70eac
// > a2i_ASN1_INTEGER @ 0xa7ba3c
// > a2i_ASN1_STRING @ 0xa7be94
// > ??> @ 0x7997c
//
// 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:04 +0000
//
int __fastcall OPENSSL_hexchar2int(char a1)
{
unsigned int v1; // r0
v1 = (unsigned __int8)(a1 - 48);
if ( v1 > 0x36 )
return -1;
else
return byte_C57578[v1];
}