// // tinyxml2::XMLElement::ShallowEqual from 0x18009cc90 to 0x18009cdd0 (320 bytes) // // 3 xrefs: // > @ 0x1801049c0 // > @ 0x1801438a8 // > @ 0x1801b72d8 // // 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 // bool __fastcall tinyxml2::XMLElement::ShallowEqual(tinyxml2::XMLElement *this, const struct tinyxml2::XMLNode *a2) { __int64 v3; // rdi const char *Str; // rbx const char *v5; // rax int v6; // ecx char v7; // dl bool v8; // zf __int64 v9; // rsi __int64 v10; // rdi const char *v11; // rbx const char *v12; // rax int v13; // edx char v14; // cl bool v15; // zf v3 = (**(__int64 (__fastcall ***)(const struct tinyxml2::XMLNode *))a2)(a2); if ( !v3 ) return 0; Str = tinyxml2::StrPair::GetStr((tinyxml2::XMLElement *)((char *)this + 24)); v5 = tinyxml2::StrPair::GetStr((tinyxml2::StrPair *)(v3 + 24)); v6 = 0; if ( v5 != Str ) { v7 = *v5; if ( !*v5 ) goto LABEL_30; do { if ( !*Str || v7 != *Str ) break; v8 = v6 == 0x7FFFFFFF; if ( v6 == 0x7FFFFFFF ) goto LABEL_9; v7 = *++v5; ++Str; ++v6; } while ( v7 ); v8 = v6 == 0x7FFFFFFF; LABEL_9: if ( !v8 ) { LABEL_30: if ( *v5 || *Str ) return 0; } } v9 = *((_QWORD *)this + 12); v10 = *(_QWORD *)(v3 + 96); if ( v9 ) { while ( 1 ) { if ( !v10 ) return 0; v11 = tinyxml2::StrPair::GetStr((tinyxml2::StrPair *)(v10 + 32)); v12 = tinyxml2::StrPair::GetStr((tinyxml2::StrPair *)(v9 + 32)); v13 = 0; if ( v12 != v11 ) { v14 = *v12; if ( !*v12 ) goto LABEL_23; do { if ( !*v11 || v14 != *v11 ) break; v15 = v13 == 0x7FFFFFFF; if ( v13 == 0x7FFFFFFF ) goto LABEL_21; v14 = *++v12; ++v11; ++v13; } while ( v14 ); v15 = v13 == 0x7FFFFFFF; LABEL_21: if ( !v15 ) break; } LABEL_24: v9 = *(_QWORD *)(v9 + 56); v10 = *(_QWORD *)(v10 + 56); if ( !v9 ) return !v10; } if ( *v12 ) return 0; LABEL_23: if ( *v11 ) return 0; goto LABEL_24; } return !v10; }
GD Web Decomp Icon

GD Web Decomp

Raw Source