// // DS_Dictionary::removeAllKeys from 0x5fcf78 to 0x5fcff8 (128 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 // void DS_Dictionary::removeAllKeys(DS_Dictionary *a1) { std::vector *p_dictTree; // r6 pugi::xml_node *v3; // r0 const char *v4; // r1 pugi::xml_node *v5; // r8 pugi::xml_node *v6; // r0 pugi::xml_node v7; // [sp+4h] [bp-Ch] BYREF pugi::xml_node v8; // [sp+8h] [bp-8h] BYREF p_dictTree = &a1->dictTree; while ( 1 ) { v3 = (pugi::xml_node *)std::vector::back((int)p_dictTree); v4 = a1->compatible ? "key" : "k"; v7._root = (pugi::xml_node_struct *)pugi::xml_node::child(v3, v4); if ( !pugi::xml_node::operator void (*)(pugi::xml_node***)(&v7) ) break; v5 = (pugi::xml_node *)std::vector::back((int)p_dictTree); v8._root = (pugi::xml_node_struct *)pugi::xml_node::next_sibling(&v7); pugi::xml_node::remove_child(v5, &v8); v6 = (pugi::xml_node *)std::vector::back((int)p_dictTree); pugi::xml_node::remove_child(v6, &v7); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source