// // tinyxml2::XMLPrinter::OpenElement from 0xb289c8 to 0xb28af0 (296 bytes) // // 2 xrefs: // > tinyxml2::XMLPrinter::VisitEnter @ 0xb28b14 // > @ 0x2ec50 // // 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 // __int64 __fastcall tinyxml2::XMLPrinter::OpenElement(tinyxml2::XMLPrinter *this, const char *a2) { int v4; // w1 int v5; // w0 _QWORD *v6; // x2 int v7; // w0 int v8; // w0 __int64 result; // x0 int v10; // w21 unsigned __int64 v11; // x0 void *v12; // x23 char *v13; // x0 if ( *((_BYTE *)this + 8) ) tinyxml2::XMLPrinter::SealElement(this); v4 = *((_DWORD *)this + 65); v5 = v4 + 1; if ( v4 + 1 > *((_DWORD *)this + 64) ) { v10 = 2 * v5; v11 = 16LL * v5; if ( (unsigned __int64)v10 > 0xFE0000000000000LL ) v11 = -1; v12 = (void *)operator new[](v11); memcpy(v12, *((const void **)this + 21), 8LL * *((int *)this + 65)); v13 = *((char **)this + 21); if ( v13 != (char *)this + 176 && v13 ) operator delete[](v13); v4 = *((_DWORD *)this + 65); v6 = v12; *((_QWORD *)this + 21) = v12; *((_DWORD *)this + 64) = v10; v5 = v4 + 1; } else { v6 = *((_QWORD **)this + 21); } *((_DWORD *)this + 65) = v5; v7 = *((_DWORD *)this + 7); v6[v4] = a2; if ( v7 < 0 && !*((_BYTE *)this + 9) && !*((_BYTE *)this + 33) ) { tinyxml2::XMLPrinter::Print(this, &byte_F1AB78); tinyxml2::XMLPrinter::PrintSpace(this, *((_DWORD *)this + 6)); } tinyxml2::XMLPrinter::Print(this, "<%s", a2); *((_BYTE *)this + 9) = 0; v8 = *((_DWORD *)this + 6); *((_BYTE *)this + 8) = 1; result = (unsigned int)(v8 + 1); *((_DWORD *)this + 6) = result; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source