//
// sub_6000A4 from 0x6000a4 to 0x6000d6 (50 bytes)
//
// 8 xrefs:
// > pugi::xml_attribute::as_int @ 0x602572
// > pugi::xml_attribute::as_uint @ 0x602594
// > pugi::xml_attribute::as_llong @ 0x602628
// > pugi::xml_attribute::as_ullong @ 0x602650
// > pugi::xml_text::as_int @ 0x6042d0
// > pugi::xml_text::as_uint @ 0x6042f6
// > pugi::xml_text::as_llong @ 0x604398
// > pugi::xml_text::as_ullong @ 0x6043c2
//
// 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
//
int __fastcall sub_6000A4(unsigned __int8 *a1)
{
_BYTE *v1; // r3
int v2; // r2
int v3; // t1
do
{
v1 = a1;
v3 = *a1++;
v2 = v3;
}
while ( (a7[v3] & 8) != 0 );
if ( v2 == 45 )
v1 = a1;
if ( *v1 != 48 )
return 10;
if ( (v1[1] & 0xDF) == 0x58 )
return 16;
return 10;
}