//
// tinyxml2::XMLDeclaration::ShallowClone from 0x1800a0690 to 0x1800a06bb (43 bytes)
//
// 3 xrefs:
// > ??> @ 0x18010af08
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c1530
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// 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 11:22:13 +0000
//
struct tinyxml2::XMLNode *__fastcall tinyxml2::XMLDeclaration::ShallowClone(
tinyxml2::XMLDeclaration *this,
struct XMLDocument *a2)
{
tinyxml2::XMLDocument *v2; // rbx
const char *Str; // rax
v2 = a2;
if ( !a2 )
v2 = *((tinyxml2::XMLDocument **)this + 1);
Str = tinyxml2::StrPair::GetStr((tinyxml2::XMLDeclaration *)((char *)this + 24));
return tinyxml2::XMLDocument::NewDeclaration(v2, Str);
}