//
// pugi::xml_attribute::set_value from 0xb51944 to 0xb519c8 (132 bytes)
//
// 2 xrefs:
// > pugi::xml_attribute::operator= @ 0xb519d8
// > ??> @ 0x2eb48
//
// 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
//
__int64 __fastcall pugi::xml_attribute::set_value(pugi::xml_attribute *this, __int64 a2)
{
pugi::xml_attribute_struct *attr; // x20
char s[128]; // [xsp+38h] [xbp+38h] BYREF
attr = this->_attr;
if ( !this->_attr )
return 0;
sprintf(s, "%llu", a2);
return (unsigned __int8)sub_B4C840((const char **)attr + 2, (__int64 *)attr, 8, s);
}