//
// sub_80F6CC from 0x80f6cc to 0x80f6fe (50 bytes)
//
// 8 xrefs:
// > pugi::xml_attribute::as_int @ 0x811c3a
// > pugi::xml_attribute::as_uint @ 0x811c5c
// > pugi::xml_attribute::as_llong @ 0x811cf0
// > pugi::xml_attribute::as_ullong @ 0x811d18
// > pugi::xml_text::as_int @ 0x813948
// > pugi::xml_text::as_uint @ 0x81396e
// > pugi::xml_text::as_llong @ 0x813a10
// > pugi::xml_text::as_ullong @ 0x813a3a
//
// 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:01:36 +0000
//
int __fastcall sub_80F6CC(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;
}