// // tinyxml2::XMLPrinter::OpenElement from 0xd99568 to 0xd99690 (296 bytes) // // 2 xrefs: // > tinyxml2::XMLPrinter::VisitEnter @ 0xd996b4 // > @ 0x46330 // // This function is hookable on this platform (idp: arm, 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 13:08:23 +0000 // __int64 __fastcall tinyxml2::XMLPrinter::OpenElement(tinyxml2::XMLPrinter *this, const char *a2) { int v4; // w1 int v5; // w0 _QWORD *v6; // x2 int v7; // w0 __int64 result; // x0 int v9; // w21 unsigned __int64 v10; // x0 void *v11; // x23 char *v12; // x0 if ( *((_BYTE *)this + 8) ) tinyxml2::XMLPrinter::SealElement(this); v4 = *((_DWORD *)this + 65); v5 = v4 + 1; if ( v4 + 1 > *((_DWORD *)this + 64) ) { v9 = 2 * v5; v10 = 16LL * v5; if ( (unsigned __int64)v9 > 0xFE0000000000000LL ) v10 = -1; v11 = (void *)operator new[](v10); memcpy(v11, *((const void **)this + 21), 8LL * *((int *)this + 65)); v12 = *((char **)this + 21); if ( v12 != (char *)this + 176 && v12 ) operator delete[](v12); *((_QWORD *)this + 21) = v11; v6 = v11; *((_DWORD *)this + 64) = v9; v4 = *((_DWORD *)this + 65); v5 = v4 + 1; } else { v6 = *((_QWORD **)this + 21); } *((_DWORD *)this + 65) = v5; v6[v4] = a2; if ( (*((_DWORD *)this + 7) & 0x80000000) != 0 && !*((_BYTE *)this + 9) && !*((_BYTE *)this + 33) ) { tinyxml2::XMLPrinter::Print(this, &byte_11AAA48); tinyxml2::XMLPrinter::PrintSpace(this, *((_DWORD *)this + 6)); } tinyxml2::XMLPrinter::Print(this, "<%s", a2); *((_BYTE *)this + 9) = 0; v7 = *((_DWORD *)this + 6); *((_BYTE *)this + 8) = 1; result = (unsigned int)(v7 + 1); *((_DWORD *)this + 6) = result; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source