//
// pugi::xml_text::as_uint from 0x6042e6 to 0x60430c (38 bytes)
//
// 0 xrefs:
//
// 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
//
unsigned int __fastcall pugi::xml_text::as_uint(pugi::xml_text *this, unsigned int a2)
{
_DWORD *v3; // r0
const char *v4; // r4
int v5; // r2
v3 = pugi::xml_text::_data(this);
if ( !v3 )
return a2;
v4 = (const char *)v3[3];
if ( !v4 )
return a2;
v5 = sub_6000A4((unsigned __int8 *)v3[3]);
return j_strtoul(v4, nullptr, v5);
}