//
// tinyxml2::XMLDeclaration::ShallowClone from 0x5ee874 to 0x5ee88e (26 bytes)
//
// 0 xrefs:
//
// 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
//
tinyxml2::XMLNode *__fastcall tinyxml2::XMLDeclaration::ShallowClone(
tinyxml2::XMLDeclaration *this,
tinyxml2::XMLDocument *a2)
{
tinyxml2::XMLDocument *v2; // r4
const char *Str; // r1
v2 = a2;
if ( !a2 )
v2 = *((tinyxml2::XMLDocument **)this + 1);
Str = (const char *)tinyxml2::StrPair::GetStr((tinyxml2::XMLDeclaration *)((char *)this + 12));
return tinyxml2::XMLDocument::NewDeclaration(v2, Str);
}