//
// pugi::xml_node::first_attribute from 0xdc57c8 to 0xdc582c (100 bytes)
//
// 8 xrefs:
// > sub_DC582C @ 0xdc5870
// > sub_DC8994 @ 0xdc8a60
// > sub_DC8994 @ 0xdc8b3c
// > sub_DD0490 @ 0xdd0538
// > sub_DD0490 @ 0xdd06e0
// > sub_DD1888 @ 0xdd264c
// > sub_DD1888 @ 0xdd3308
// > ??> @ 0xf4cf0
//
// 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:50 +0000
//
__int64 __fastcall pugi::xml_node::first_attribute(pugi::xml_node *this)
{
__int64 v1; // x0
__int64 v3; // [xsp+20h] [xbp+20h] BYREF
v1 = *(_QWORD *)this;
if ( v1 )
pugi::xml_attribute::xml_attribute(&v3, *(_QWORD *)(v1 + 56));
else
pugi::xml_attribute::xml_attribute(&v3);
return v3;
}