//
// sub_DCFC10 from 0xdcfc10 to 0xdcfd0c (252 bytes)
//
// 2 xrefs:
// > sub_DCFD0C @ 0xdcfe30
// > sub_DD0D1C @ 0xdd1194
//
// This function is hookable on this platform (idp: arm, 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 13:08:58 +0000
//
__int64 __fastcall sub_DCFC10(pugi::xpath_node *a1, pugi::xpath_node *a2)
{
unsigned int v4; // w1
void (*v6)(); // x0
__int64 v7; // [xsp+30h] [xbp+30h] BYREF
__int64 v8; // [xsp+38h] [xbp+38h] BYREF
__int64 v9; // [xsp+40h] [xbp+40h] BYREF
v9 = pugi::xpath_node::attribute(a1);
if ( pugi::xml_attribute::operator void (*)(pugi::xml_attribute***)(&v9) )
{
v9 = pugi::xpath_node::attribute(a2);
if ( pugi::xml_attribute::operator void (*)(pugi::xml_attribute***)(&v9) )
{
v8 = pugi::xpath_node::attribute(a1);
v7 = pugi::xpath_node::attribute(a2);
return pugi::xml_attribute::operator<(&v8, &v7);
}
else
{
return 1;
}
}
else
{
v9 = pugi::xpath_node::attribute(a2);
v6 = pugi::xml_attribute::operator void (*)(pugi::xml_attribute***)(&v9);
v4 = 0;
if ( !v6 )
{
v8 = pugi::xpath_node::node(a1);
v7 = pugi::xpath_node::node(a2);
return pugi::xml_node::operator<(&v8, &v7);
}
}
return v4;
}