// // tinyxml2::XMLElement::FindAttribute from 0x18009cc70 to 0x18009cd18 (168 bytes) // // 14 xrefs: // > tinyxml2::XMLElement::Attribute @ 0x18009c699 // > tinyxml2::XMLElement::ParseAttributes @ 0x18009e0c5 // > tinyxml2::XMLElement::BoolAttribute @ 0x1800d5269 // > tinyxml2::XMLElement::DoubleAttribute @ 0x1800d52dd // > tinyxml2::XMLElement::FloatAttribute @ 0x1800d539c // > tinyxml2::XMLElement::IntAttribute @ 0x1800d53fc // > tinyxml2::XMLElement::QueryBoolAttribute @ 0x1800d5599 // > tinyxml2::XMLElement::QueryDoubleAttribute @ 0x1800d55c9 // > tinyxml2::XMLElement::QueryFloatAttribute @ 0x1800d55f9 // > tinyxml2::XMLElement::QueryIntAttribute @ 0x1800d5629 // > tinyxml2::XMLElement::QueryUnsignedAttribute @ 0x1800d5659 // > tinyxml2::XMLElement::UnsignedAttribute @ 0x1800d592c // > @ 0x18014cf68 // > @ 0x1801c1014 // // 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 // // Alternative name is '?FindAttribute@XMLElement@tinyxml2@@AEAAPEAVXMLAttribute@2@PEBD@Z' const struct tinyxml2::XMLAttribute *__fastcall tinyxml2::XMLElement::FindAttribute( tinyxml2::XMLElement *this, const char *a2) { __int64 v2; // rdi const char *v4; // rbx const char *Str; // rax int v6; // edx const char *v7; // rcx char v8; // al bool v9; // zf v2 = *((_QWORD *)this + 12); if ( !v2 ) return nullptr; while ( 1 ) { v4 = a2; Str = tinyxml2::StrPair::GetStr((tinyxml2::StrPair *)(v2 + 8)); v6 = 0; v7 = Str; if ( Str == a2 ) return (const struct tinyxml2::XMLAttribute *)v2; v8 = *Str; if ( !v8 ) goto LABEL_11; do { if ( !*v4 || v8 != *v4 ) break; v9 = v6 == 0x7FFFFFFF; if ( v6 == 0x7FFFFFFF ) goto LABEL_9; v8 = *++v7; ++v4; ++v6; } while ( v8 ); v9 = v6 == 0x7FFFFFFF; LABEL_9: if ( v9 ) return (const struct tinyxml2::XMLAttribute *)v2; if ( !*v7 ) { LABEL_11: if ( !*v4 ) return (const struct tinyxml2::XMLAttribute *)v2; } v2 = *(_QWORD *)(v2 + 56); if ( !v2 ) return nullptr; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source