//
// pugi::xml_text::set from 0x604578 to 0x6045c8 (80 bytes)
//
// 1 xrefs:
// > pugi::xml_text::operator= @ 0x60461c
//
// 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
//
pugi::xml_node_struct *__fastcall pugi::xml_text::set(
pugi::xml_text *this,
pugi::xml_node_struct *a2,
unsigned __int64 a3)
{
pugi::xml_node_struct *result; // r0
int *v5; // r4
char s[128]; // [sp+4h] [bp-84h] BYREF
result = pugi::xml_text::_data_new(this, a2, a3, _stack_chk_guard);
v5 = (int *)result;
if ( result )
{
sprintf(s, "%llu", a3);
return (pugi::xml_node_struct *)sub_6022A8(v5 + 3, v5, 8, s);
}
return result;
}