// // tinyxml2::XMLPrinter::CloseElement from 0x180098ac0 to 0x180098b6b (171 bytes) // // 3 xrefs: // > tinyxml2::XMLPrinter::VisitExit @ 0x18009d474 // > @ 0x1801438a8 // > @ 0x1801b6ce4 // // 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::XMLPrinter::CloseElement(tinyxml2::XMLPrinter *this) { __int64 v2; // rdx const char *v3; // rdi int v4; // eax --*((_DWORD *)this + 6); v2 = *((int *)this + 65); *((_DWORD *)this + 65) = v2 - 1; v3 = *(const char **)(*((_QWORD *)this + 21) + 8 * v2 - 8); if ( *((_BYTE *)this + 8) ) { tinyxml2::XMLPrinter::Print(this, "/>"); } else { if ( *((int *)this + 7) < 0 && !*((_BYTE *)this + 33) ) { tinyxml2::XMLPrinter::Print(this, "\n"); tinyxml2::XMLPrinter::PrintSpace(this, *((_DWORD *)this + 6)); } tinyxml2::XMLPrinter::Print(this, "", v3); } v4 = *((_DWORD *)this + 6); if ( *((_DWORD *)this + 7) == v4 ) *((_DWORD *)this + 7) = -1; if ( !v4 && !*((_BYTE *)this + 33) ) tinyxml2::XMLPrinter::Print(this, "\n"); *((_BYTE *)this + 8) = 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source