//
// tinyxml2::XMLComment::ShallowEqual from 0x5ed992 to 0x5ed9cc (58 bytes)
//
// 0 xrefs:
//
// 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
//
int __fastcall tinyxml2::XMLComment::ShallowEqual(
tinyxml2::XMLComment *this,
const tinyxml2::XMLNode *a2,
int a3,
int a4)
{
int result; // r0
int v7; // r0
tinyxml2::XMLUtil *Str; // r4
tinyxml2::XMLUtil *v9; // r1
result = (*(int (__fastcall **)(const tinyxml2::XMLNode *))(*(_DWORD *)a2 + 32))(a2);
if ( result )
{
v7 = (*(int (__fastcall **)(const tinyxml2::XMLNode *))(*(_DWORD *)a2 + 32))(a2);
Str = (tinyxml2::XMLUtil *)tinyxml2::StrPair::GetStr((tinyxml2::StrPair *)(v7 + 12));
v9 = (tinyxml2::XMLUtil *)tinyxml2::StrPair::GetStr((tinyxml2::XMLComment *)((char *)this + 12));
return tinyxml2::XMLUtil::StringEqual(Str, v9, (const char *)0x7FFFFFFF, a4);
}
return result;
}