//
// pugi::xml_node::set_value from 0xb54324 to 0xb54380 (92 bytes)
//
// 22 xrefs:
// > DS_Dictionary::setBoolForKey @ 0xb43be4
// > DS_Dictionary::setStringForKey @ 0xb43d04
// > DS_Dictionary::setStringForKey @ 0xb43d48
// > DS_Dictionary::setVec2ForKey @ 0xb440b8
// > DS_Dictionary::setVec2ForKey @ 0xb44278
// > DS_Dictionary::setRectForKey @ 0xb447b0
// > DS_Dictionary::setRectForKey @ 0xb44970
// > DS_Dictionary::setStringArrayForKey @ 0xb44c60
// > DS_Dictionary::setStringArrayForKey @ 0xb44cec
// > DS_Dictionary::setVec2ArrayForKey @ 0xb44f24
// > DS_Dictionary::setVec2ArrayForKey @ 0xb45270
// > DS_Dictionary::setVec2ArrayForKey @ 0xb45418
// > DS_Dictionary::setRectArrayForKey @ 0xb456f4
// > DS_Dictionary::setRectArrayForKey @ 0xb45aa4
// > DS_Dictionary::setRectArrayForKey @ 0xb45c48
// > DS_Dictionary::setSubDictForKey @ 0xb46178
// > DS_Dictionary::setFloatForKey @ 0xb483d8
// > DS_Dictionary::setFloatForKey @ 0xb4843c
// > DS_Dictionary::setIntegerForKey @ 0xb4a1b4
// > DS_Dictionary::setIntegerForKey @ 0xb4a218
// > sub_B54BF0 @ 0xb54c70
// > ??> @ 0xb9d00
//
// 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_node::set_value(pugi::xml_node *this, char *a2)
{
unsigned int v4; // w0
v4 = pugi::xml_node::type(this);
if ( v4 >= 3 && (v4 <= 6 || v4 == 8) )
return sub_B4C840((const char **)this->_root + 3, (__int64 *)this->_root, 8, a2);
else
return 0;
}