//
// pugi::xml_attribute::as_llong from 0x602618 to 0x602640 (40 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
//
int __fastcall pugi::xml_attribute::as_llong(pugi::xml_attribute *this, __int64 a2)
{
pugi::xml_attribute_struct *attr; // r3
const char *v4; // r4
int v5; // r2
attr = this->_attr;
if ( !this->_attr )
return a2;
v4 = *((const char **)attr + 2);
if ( !v4 )
return a2;
v5 = sub_6000A4(*((unsigned __int8 **)attr + 2));
return j_strtoll(v4, nullptr, v5);
}