//
// pugi::xml_attribute::set_value from 0xdc5124 to 0xdc51a8 (132 bytes)
//
// 2 xrefs:
// > pugi::xml_attribute::operator= @ 0xdc51b8
// > ??> @ 0x46240
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:08:50 +0000
//
__int64 __fastcall pugi::xml_attribute::set_value(pugi::xml_attribute *this, __int64 a2)
{
__int64 v2; // x20
char s[128]; // [xsp+38h] [xbp+38h] BYREF
v2 = *(_QWORD *)this;
if ( !*(_QWORD *)this )
return 0;
sprintf(s, "%llu", a2);
return (unsigned __int8)sub_DBFD44((const char **)(v2 + 16), (__int64 *)v2, 8, s);
}