//
// pugi::xml_attribute::set_value from 0x602890 to 0x6028d2 (66 bytes)
//
// 1 xrefs:
// > pugi::xml_attribute::operator= @ 0x6028e0
//
// 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::set_value(pugi::xml_attribute *this, unsigned __int64 a2)
{
int *attr; // r4
char s[128]; // [sp+4h] [bp-84h] BYREF
attr = (int *)this->_attr;
if ( !this->_attr )
return 0;
sprintf(s, "%llu", a2);
return sub_6022A8(attr + 2, attr, 8, s);
}