// // tinyxml2::XMLElement::ShallowClone from 0x5ee74c to 0x5ee794 (72 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::XMLElement *__fastcall tinyxml2::XMLElement::ShallowClone( tinyxml2::XMLElement *this, tinyxml2::XMLDocument *a2) { tinyxml2::XMLDocument *v3; // r5 const char *Str; // r0 tinyxml2::XMLNode *v5; // r0 _DWORD *v6; // r4 tinyxml2::XMLElement *v7; // r5 tinyxml2::XMLUtil *v8; // r7 const char *v9; // r6 tinyxml2::XMLAttribute *Attribute; // r0 v3 = a2; if ( !a2 ) v3 = *((tinyxml2::XMLDocument **)this + 1); Str = (const char *)tinyxml2::StrPair::GetStr((tinyxml2::XMLElement *)((char *)this + 12)); v5 = tinyxml2::XMLDocument::NewElement(v3, Str); v6 = *((_DWORD **)this + 12); v7 = v5; while ( v6 ) { v8 = (tinyxml2::XMLUtil *)tinyxml2::StrPair::GetStr((tinyxml2::StrPair *)(v6 + 1)); v9 = (const char *)tinyxml2::StrPair::GetStr((tinyxml2::StrPair *)(v6 + 4)); Attribute = tinyxml2::XMLElement::FindOrCreateAttribute(v7, v8); tinyxml2::XMLAttribute::SetAttribute(Attribute, v9); v6 = (_DWORD *)v6[7]; } return v7; }
GD Web Decomp Icon

GD Web Decomp

Raw Source