//
// tinyxml2::XMLDeclaration::ShallowClone from 0x7f98cc to 0x7f98e6 (26 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:01:13 +0000
//
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);
}