// // tinyxml2::XMLNode::NextSiblingElement from 0x18009dd60 to 0x18009de08 (168 bytes) // // 5 xrefs: // > tinyxml2::XMLNode::NextSiblingElement @ 0x1800a2490 // > sub_1800A2AE0 @ 0x1800a2c32 // > tinyxml2::XMLHandle::NextSiblingElement @ 0x1800d54e4 // > @ 0x18014cf68 // > @ 0x1801c1164 // // 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 // const struct tinyxml2::XMLElement *__fastcall tinyxml2::XMLNode::NextSiblingElement( tinyxml2::XMLNode *this, const char *a2) { _QWORD *v2; // rbx __int64 v4; // rdx const char *Str; // rax const char *v6; // rcx bool v7; // zf v2 = *((_QWORD **)this + 9); if ( !v2 ) return nullptr; while ( 1 ) { if ( !(*(__int64 (__fastcall **)(_QWORD *))(*v2 + 8LL))(v2) ) goto LABEL_14; if ( !a2 ) return (*(const struct tinyxml2::XMLElement *(__fastcall **)(_QWORD *, __int64))(*v2 + 8LL))(v2, v4); Str = tinyxml2::StrPair::GetStr((tinyxml2::StrPair *)(v2 + 3)); v4 = 0; v6 = a2; if ( a2 == Str ) return (*(const struct tinyxml2::XMLElement *(__fastcall **)(_QWORD *, __int64))(*v2 + 8LL))(v2, v4); if ( *a2 ) break; LABEL_13: if ( !*Str ) return (*(const struct tinyxml2::XMLElement *(__fastcall **)(_QWORD *, __int64))(*v2 + 8LL))(v2, v4); LABEL_14: v2 = (_QWORD *)v2[9]; if ( !v2 ) return nullptr; } do { if ( !*Str || *v6 != *Str ) break; v7 = (_DWORD)v4 == 0x7FFFFFFF; if ( (_DWORD)v4 == 0x7FFFFFFF ) goto LABEL_11; ++v6; ++Str; v4 = (unsigned int)(v4 + 1); } while ( *v6 ); v7 = (_DWORD)v4 == 0x7FFFFFFF; LABEL_11: if ( !v7 ) { if ( *v6 ) goto LABEL_14; goto LABEL_13; } return (*(const struct tinyxml2::XMLElement *(__fastcall **)(_QWORD *, __int64))(*v2 + 8LL))(v2, v4); }
GD Web Decomp Icon

GD Web Decomp

Raw Source