//
// pugi::xml_node::set_value from 0x6032ac to 0x6032dc (48 bytes)
//
// 19 xrefs:
// > DS_Dictionary::setBoolForKey @ 0x5fd592
// > DS_Dictionary::setStringForKey @ 0x5fd6d2
// > DS_Dictionary::setStringForKey @ 0x5fd708
// > DS_Dictionary::setStringArrayForKey @ 0x5fd834
// > DS_Dictionary::setStringArrayForKey @ 0x5fd89c
// > DS_Dictionary::setVec2ForKey @ 0x5fda06
// > DS_Dictionary::setVec2ForKey @ 0x5fda42
// > DS_Dictionary::setRectForKey @ 0x5fdbe0
// > DS_Dictionary::setRectForKey @ 0x5fdc1c
// > DS_Dictionary::setVec2ArrayForKey @ 0x5fdd62
// > DS_Dictionary::setVec2ArrayForKey @ 0x5fde2e
// > DS_Dictionary::setRectArrayForKey @ 0x5fdf7e
// > DS_Dictionary::setRectArrayForKey @ 0x5fe074
// > DS_Dictionary::setSubDictForKey @ 0x5ff21e
// > DS_Dictionary::setFloatForKey @ 0x5ffd04
// > DS_Dictionary::setFloatForKey @ 0x5ffd4c
// > DS_Dictionary::setIntegerForKey @ 0x5ffe90
// > DS_Dictionary::setIntegerForKey @ 0x5ffed8
// > sub_6036D4 @ 0x6037ac
//
// 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_node::set_value(pugi::xml_node *this, char *a2)
{
unsigned int v4; // r0
v4 = (unsigned int)pugi::xml_node::type(this) - 3;
if ( v4 <= 5 && ((1 << v4) & 0x2F) != 0 )
return sub_6022A8((int *)this->_root + 3, (int *)this->_root, 8, a2);
else
return 0;
}