// // tinyxml2::StrPair::CollapseWhitespace from 0x18009c7f0 to 0x18009c8ab (187 bytes) // // 5 xrefs: // > tinyxml2::StrPair::GetStr @ 0x18009d252 // > @ 0x180147aa0 // > @ 0x180147ab0 // > @ 0x18014cf68 // > @ 0x1801c0f48 // // This function is hookable on this platform (idp: pc, 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 11:22:12 +0000 // void __fastcall tinyxml2::StrPair::CollapseWhitespace(tinyxml2::StrPair *this) { char *v1; // rdi char i; // al char v4; // al char *v5; // rsi char v6; // al char *j; // rbx char v8; // al v1 = *((char **)this + 1); for ( i = *v1; i >= 0; i = *++v1 ) { if ( !isspace((unsigned __int8)i) ) break; } *((_QWORD *)this + 1) = v1; v4 = *v1; if ( *v1 ) { v5 = v1; while ( 1 ) { if ( v4 >= 0 && isspace((unsigned __int8)v4) ) { v6 = *v1; for ( j = v1; v6 >= 0; v6 = *++j ) { if ( !isspace((unsigned __int8)v6) ) break; } v1 = j; if ( !*j ) { LABEL_14: *v5 = 0; return; } *v5++ = 32; } v8 = *v1++; *v5++ = v8; v4 = *v1; if ( !*v1 ) goto LABEL_14; } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source