//
// pugi::xml_node::path from 0x603df0 to 0x603e7c (140 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
//
pugi::xml_node *__fastcall pugi::xml_node::path(pugi::xml_node *this, pugi::xml_node_struct **a2, int a3)
{
char *v5; // r0
pugi::xml_node_struct *v6; // r1
pugi::xml_node_struct *v7; // r1
char *v8; // r0
pugi::xml_node v10; // [sp+4h] [bp-10h] BYREF
pugi::xml_node_struct *v11; // [sp+8h] [bp-Ch] BYREF
v10._root = *a2;
v5 = (char *)pugi::xml_node::name(&v10);
sub_776584((int)this, v5);
while ( 1 )
{
v11 = pugi::xml_node::parent(&v10, v6);
if ( !pugi::xml_node::operator void (*)(pugi::xml_node***)((void (**)())&v11) )
break;
v10._root = pugi::xml_node::parent(&v10, v7);
v8 = (char *)pugi::xml_node::name(&v10);
sub_776584((int)&v11, v8);
sub_77458C(&v11, a3);
sub_77448C(&v11, this);
sub_774794(this, &v11);
v6 = (pugi::xml_node_struct *)((unsigned __int64)sub_774008(&v11) >> 32);
}
return this;
}