//
// OPENSSL_hexchar2int from 0x103e968 to 0x103e994 (44 bytes)
//
// 10 xrefs:
// > BN_hex2bn @ 0xffc2ec
// > OPENSSL_hexstr2buf @ 0x103ea04
// > OPENSSL_hexstr2buf @ 0x103ea10
// > PEM_get_EVP_CIPHER_INFO @ 0x104592c
// > sub_1080DA4 @ 0x1080ee0
// > a2i_ASN1_INTEGER @ 0x108d1f4
// > a2i_ASN1_INTEGER @ 0x108d29c
// > a2i_ASN1_STRING @ 0x108d6b8
// > a2i_ASN1_STRING @ 0x108d75c
// > ??> @ 0xc5ed8
//
// 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:16:28 +0000
//
__int64 __fastcall OPENSSL_hexchar2int(char a1)
{
__int64 result; // x0
unsigned int v3; // w1
result = 0xFFFFFFFFLL;
v3 = (unsigned __int8)(a1 - 48);
if ( v3 <= 0x36 )
return (unsigned int)byte_1201820[(unsigned __int8)v3];
return result;
}