// // tinyxml2::StrPair::SetStr from 0x18009c850 to 0x18009c8e6 (150 bytes) // // 6 xrefs: // > tinyxml2::XMLElement::FindOrCreateAttribute @ 0x1800991d2 // > tinyxml2::XMLAttribute::SetAttribute @ 0x18009c6e7 // > tinyxml2::XMLAttribute::SetName @ 0x18009c837 // > tinyxml2::XMLElement::ShallowClone @ 0x18009ca9a // > @ 0x1801438a8 // > @ 0x1801b726c // // 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 // void __fastcall tinyxml2::StrPair::SetStr(void **this, const char *a2, int a3) { __int64 v6; // rbx void *v7; // rax char *v8; // rcx if ( (*(_DWORD *)this & 0x200) != 0 ) j_j_free_0(*(this + 1)); v6 = -1; *(_DWORD *)this = 0; *(this + 1) = nullptr; *(this + 2) = nullptr; do ++v6; while ( a2[v6] ); v7 = operator new(v6 + 1); *(this + 1) = v7; memcpy(v7, a2, v6 + 1); v8 = (char *)*(this + 1) + v6; *(_DWORD *)this = a3 | 0x200; *(this + 2) = v8; }
GD Web Decomp Icon

GD Web Decomp

Raw Source