//
// DS_Dictionary::removeAllKeys from 0xb4333c to 0xb4340c (208 bytes)
//
// 1 xrefs:
// > ??> @ 0xc1a28
//
// 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)
{
pugi::xml_node *v2; // x20
const char *v3; // x1
pugi::xml_node v4; // [xsp+58h] [xbp+58h] BYREF
pugi::xml_node v5; // [xsp+60h] [xbp+60h] BYREF
while ( 1 )
{
v3 = a1->compatible ? "key" : "k";
v4._root = (pugi::xml_node_struct *)pugi::xml_node::child(a1->dictTree.m_finish - 1, v3);
if ( !pugi::xml_node::operator void (*)(pugi::xml_node***)(&v4) )
break;
v2 = a1->dictTree.m_finish - 1;
v5._root = (pugi::xml_node_struct *)pugi::xml_node::next_sibling(&v4);
pugi::xml_node::remove_child(v2, &v5);
pugi::xml_node::remove_child(a1->dictTree.m_finish - 1, &v4);
}
}