//
// sub_DCF6B4 from 0xdcf6b4 to 0xdcf778 (196 bytes)
//
// 2 xrefs:
// > sub_DCFF48 @ 0xdcff7c
// > sub_DCFF48 @ 0xdcff88
//
// 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_DCF6B4(pugi::xpath_node *a1)
{
_QWORD *v2; // x0
__int64 v3; // x1
_QWORD *v5; // x0
__int64 v6; // [xsp+30h] [xbp+30h] BYREF
v6 = pugi::xpath_node::node(a1);
v2 = (_QWORD *)pugi::xml_node::internal_object((pugi::xml_node *)&v6);
if ( !v2 )
{
v6 = pugi::xpath_node::attribute(a1);
v5 = (_QWORD *)pugi::xml_attribute::internal_object((pugi::xml_attribute *)&v6);
if ( v5 )
{
if ( (*v5 & 0x10) == 0 )
return v5[1];
if ( (*v5 & 8) == 0 )
return v5[2];
}
return 0;
}
v3 = v2[2];
if ( !v3 || (*v2 & 0x10) != 0 )
{
v3 = v2[3];
if ( !v3 || (*v2 & 8) != 0 )
return 0;
}
return v3;
}