//
// sub_6066CC from 0x6066cc to 0x606726 (90 bytes)
//
// 2 xrefs:
// > sub_607BBC @ 0x607e2a
// > sub_607BBC @ 0x607eb0
//
// 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
//
void (*__fastcall sub_6066CC(
int a1,
pugi::xml_node_struct *a2,
pugi::xml_attribute_struct *a3,
pugi::xml_attribute_struct *a4))()
{
pugi::xml_node_struct *v8; // r1
void (*result)(); // r0
pugi::xml_node_struct *v10; // r1
pugi::xml_node v11[2]; // [sp+0h] [bp-8h] BYREF
v11[1]._root = a2;
sub_6065F8(a1, a2, a3, a4);
for ( v11[0]._root = pugi::xml_node::parent((pugi::xml_node *)a3, v8); ; v11[0]._root = pugi::xml_node::parent(
v11,
v10) )
{
result = pugi::xml_node::operator void (*)(pugi::xml_node***)((void (**)())v11);
if ( !result )
break;
sub_6065F8(a1, a2, (pugi::xml_attribute_struct *)v11, a4);
}
return result;
}