//
// tinyxml2::XMLText::ShallowClone from 0x7f9870 to 0x7f9894 (36 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
//
_DWORD *__fastcall tinyxml2::XMLText::ShallowClone(tinyxml2::XMLText *this, tinyxml2::XMLDocument *a2)
{
tinyxml2::XMLDocument *v3; // r5
const char *Str; // r0
_DWORD *result; // r0
v3 = a2;
if ( !a2 )
v3 = *((tinyxml2::XMLDocument **)this + 1);
Str = (const char *)tinyxml2::StrPair::GetStr((tinyxml2::XMLText *)((char *)this + 12));
result = tinyxml2::XMLDocument::NewText(v3, Str);
*((_BYTE *)result + 44) = *((_BYTE *)this + 44);
return result;
}