// // sub_606F4C from 0x606f4c to 0x606fdc (144 bytes) // // 7 xrefs: // > sub_606FE0 @ 0x606fec // > sub_606FE0 @ 0x606ffe // > sub_606FE0 @ 0x607010 // > sub_6076AC @ 0x607784 // > sub_6076AC @ 0x6077b6 // > sub_6076AC @ 0x6077e0 // > sub_6076AC @ 0x60780e // // 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 // int __fastcall sub_606F4C(pugi::xpath_node *a1, pugi::xpath_node *a2, int a3, void (*a4)()) { pugi::xml_node_struct *v7; // r1 pugi::xml_node_struct *v8; // r2 pugi::xml_node_struct *v9; // r1 pugi::xml_node_struct *v10; // r2 pugi::xml_node_struct *v11; // [sp+0h] [bp-10h] BYREF pugi::xml_node_struct *v12; // [sp+4h] [bp-Ch] BYREF void (*v13[2])(); // [sp+8h] [bp-8h] BYREF v11 = a1; v12 = a2; v13[1] = a4; v13[0] = (void (*)())pugi::xpath_node::attribute(a1); if ( pugi::xml_attribute::operator void (*)(pugi::xml_attribute***)(v13) ) { v13[0] = (void (*)())pugi::xpath_node::attribute(a2); if ( pugi::xml_attribute::operator void (*)(pugi::xml_attribute***)(v13) ) { v12 = (pugi::xml_node_struct *)pugi::xpath_node::attribute(a1); v11 = (pugi::xml_node_struct *)pugi::xpath_node::attribute(a2); return pugi::xml_attribute::operator<(&v12, &v11); } else { return 1; } } else { v13[0] = (void (*)())pugi::xpath_node::attribute(a2); if ( pugi::xml_attribute::operator void (*)(pugi::xml_attribute***)(v13) ) { return 0; } else { v12 = pugi::xpath_node::node((void (**)())a1, v7, v8); v11 = pugi::xpath_node::node((void (**)())a2, v9, v10); return pugi::xml_node::operator<(&v12, &v11); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source