// // sub_60672C from 0x60672c to 0x6067e8 (188 bytes) // // 2 xrefs: // > sub_607BBC @ 0x608162 // > sub_607BBC @ 0x60819c // // 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_60672C(int a1, pugi::xml_node_struct *a2, pugi::xml_node *this, void (*a4)()))() { void (*result)(); // r0 pugi::xml_node_struct *v9; // r1 pugi::xml_node_struct *v10; // r1 pugi::xml_node_struct *v11; // r0 pugi::xml_node_struct *v12; // r1 pugi::xml_node_struct *v13; // r1 pugi::xml_node v14; // [sp+4h] [bp-4h] BYREF void (*v15[2])(); // [sp+8h] [bp+0h] BYREF v15[0] = (void (*)())this; v15[1] = a4; v14._root = pugi::xml_node::first_child(this, a2); while ( 1 ) { result = pugi::xml_node::operator void (*)(pugi::xml_node***)((void (**)())&v14); if ( !result ) return result; result = (void (*)())pugi::xml_node::operator!=(&v14, this); if ( !result ) return result; sub_6065F8(a1, a2, (pugi::xml_attribute_struct *)&v14, (pugi::xml_attribute_struct *)a4); v15[0] = (void (*)())pugi::xml_node::first_child(&v14, v9); if ( pugi::xml_node::operator void (*)(pugi::xml_node***)(v15) ) { v11 = pugi::xml_node::first_child(&v14, v10); goto LABEL_8; } v15[0] = (void (*)())pugi::xml_node::next_sibling(&v14, v10); if ( !pugi::xml_node::operator void (*)(pugi::xml_node***)(v15) ) { while ( 1 ) { v15[0] = (void (*)())pugi::xml_node::next_sibling(&v14, v12); if ( !pugi::xml_node::operator!(v15) || !pugi::xml_node::operator!=(&v14, this) ) break; v14._root = pugi::xml_node::parent(&v14, v13); } if ( !pugi::xml_node::operator!=(&v14, this) ) continue; } v11 = pugi::xml_node::next_sibling(&v14, v12); LABEL_8: v14._root = v11; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source