//
// tinyxml2::XMLElement::DeleteAttribute from 0x7f9614 to 0x7f9662 (78 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:01:13 +0000
//
int __fastcall tinyxml2::XMLElement::DeleteAttribute(int this, tinyxml2::XMLUtil *a2)
{
int v2; // r6
int v3; // r4
int v5; // r5
tinyxml2::XMLUtil *Str; // r0
int v7; // r3
int v8; // r3
int v9; // r5
v2 = this;
v3 = *(_DWORD *)(this + 48);
v5 = 0;
while ( v3 )
{
Str = (tinyxml2::XMLUtil *)tinyxml2::StrPair::GetStr((tinyxml2::StrPair *)(v3 + 4));
this = tinyxml2::XMLUtil::StringEqual(a2, Str, (const char *)0x7FFFFFFF, v7);
if ( this )
{
v8 = *(_DWORD *)(v3 + 28);
if ( v5 )
*(_DWORD *)(v5 + 28) = v8;
else
*(_DWORD *)(v2 + 48) = v8;
v9 = *(_DWORD *)(v3 + 32);
(**(void (__fastcall ***)(int))v3)(v3);
return (*(int (__fastcall **)(int, int))(*(_DWORD *)v9 + 16))(v9, v3);
}
v5 = v3;
v3 = *(_DWORD *)(v3 + 28);
}
return this;
}