// // tinyxml2::XMLPrinter::CloseElement from 0xb288bc to 0xb289a0 (228 bytes) // // 2 xrefs: // > tinyxml2::XMLPrinter::VisitExit @ 0xb289a8 // > @ 0xadd60 // // 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::CloseElement(tinyxml2::XMLPrinter *this) { int v1; // w1 __int64 v2; // x4 int v3; // w3 const char *v5; // x2 __int64 result; // x0 const char *v7; // [xsp+28h] [xbp+28h] v1 = *((_DWORD *)this + 65) - 1; v2 = *((_QWORD *)this + 21); v3 = *((unsigned __int8 *)this + 8); --*((_DWORD *)this + 6); *((_DWORD *)this + 65) = v1; v5 = *(const char **)(v2 + 8LL * v1); if ( v3 ) { tinyxml2::XMLPrinter::Print(this, "/>", v5); } else { if ( (*((_DWORD *)this + 7) & 0x80000000) != 0 && !*((_BYTE *)this + 33) ) { v7 = *(const char **)(v2 + 8LL * v1); tinyxml2::XMLPrinter::Print(this, &byte_F1AB78); tinyxml2::XMLPrinter::PrintSpace(this, *((_DWORD *)this + 6)); v5 = v7; } tinyxml2::XMLPrinter::Print(this, "", v5); } result = *((unsigned int *)this + 6); if ( *((_DWORD *)this + 7) == (_DWORD)result ) *((_DWORD *)this + 7) = -1; if ( (_DWORD)result || (result = *((unsigned __int8 *)this + 33), *((_BYTE *)this + 33)) ) { *((_BYTE *)this + 8) = 0; } else { result = tinyxml2::XMLPrinter::Print(this, &byte_F1AB78); *((_BYTE *)this + 8) = 0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source