// // tinyxml2::XMLElement::DeleteAttribute from 0x180098d30 to 0x180098e0e (222 bytes) // // 2 xrefs: // > @ 0x1801438a8 // > @ 0x1801b6d20 // // 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::XMLElement::DeleteAttribute(tinyxml2::XMLElement *this, const char *a2) { __int64 v2; // rdi __int64 v3; // rbx const char *Str; // rax int v7; // edx const char *v8; // rcx bool v9; // zf __int64 v10; // rax __int64 v11; // rbx v2 = *((_QWORD *)this + 12); v3 = 0; if ( v2 ) { while ( 1 ) { Str = tinyxml2::StrPair::GetStr((tinyxml2::StrPair *)(v2 + 8)); v7 = 0; v8 = a2; if ( a2 == Str ) break; if ( !*a2 ) goto LABEL_11; do { if ( !*Str || *v8 != *Str ) break; v9 = v7 == 0x7FFFFFFF; if ( v7 == 0x7FFFFFFF ) goto LABEL_9; ++v8; ++Str; ++v7; } while ( *v8 ); v9 = v7 == 0x7FFFFFFF; LABEL_9: if ( v9 ) break; if ( !*v8 ) { LABEL_11: if ( !*Str ) break; } v3 = v2; v2 = *(_QWORD *)(v2 + 56); if ( !v2 ) return; } v10 = *(_QWORD *)(v2 + 56); if ( v3 ) *(_QWORD *)(v3 + 56) = v10; else *((_QWORD *)this + 12) = v10; v11 = *(_QWORD *)(v2 + 64); (**(void (__fastcall ***)(__int64, _QWORD))v2)(v2, 0); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v11 + 24LL))(v11, v2); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source