//
// tinyxml2::XMLNode::SetValue from 0xb24470 to 0xb244b8 (72 bytes)
//
// 6 xrefs:
// > tinyxml2::XMLDocument::NewElement @ 0xb269b0
// > tinyxml2::XMLDocument::NewComment @ 0xb26bd4
// > tinyxml2::XMLDocument::NewText @ 0xb26de0
// > tinyxml2::XMLDocument::NewDeclaration @ 0xb26fcc
// > tinyxml2::XMLDocument::NewUnknown @ 0xb271d0
// > ??> @ 0x6af08
//
// 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
//
void __fastcall tinyxml2::XMLNode::SetValue(tinyxml2::XMLNode *this, const char *a2, char a3)
{
char *v3; // x19
if ( a3 )
{
v3 = (char *)this + 24;
tinyxml2::StrPair::Reset((tinyxml2::XMLNode *)((char *)this + 24));
*((_QWORD *)v3 + 1) = a2;
}
else
{
tinyxml2::StrPair::SetStr((tinyxml2::XMLNode *)((char *)this + 24), a2, 0);
}
}