// // tinyxml2::XMLElement::DeleteAttribute from 0x18009c980 to 0x18009ca5e (222 bytes) // // 2 xrefs: // > @ 0x18014cf68 // > @ 0x1801c0f78 // // 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::XMLElement::DeleteAttribute(tinyxml2::XMLElement *this, const char *a2) { __int64 v2; // rdi __int64 v3; // rsi 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