//
// pugi::xml_node::last_child from 0xdc5d08 to 0xdc5d74 (108 bytes)
//
// 7 xrefs:
// > sub_DC5D74 @ 0xdc6990
// > pugi::xml_node_iterator::operator-- @ 0xdcb634
// > pugi::xml_named_node_iterator::operator-- @ 0xdcbb7c
// > sub_DCEFF0 @ 0xdcf098
// > sub_DCEFF0 @ 0xdcf0b0
// > sub_DCEFF0 @ 0xdcf0bc
// > ??> @ 0xbd0d0
//
// 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::last_child(pugi::xml_node *this)
{
__int64 v1; // x0
__int64 v2; // x0
__int64 v4; // [xsp+20h] [xbp+20h] BYREF
v1 = *(_QWORD *)this;
if ( v1 && (v2 = *(_QWORD *)(v1 + 32)) != 0 )
pugi::xml_node::xml_node(&v4, *(_QWORD *)(v2 + 40));
else
pugi::xml_node::xml_node(&v4);
return v4;
}