//
// DS_Dictionary::stepBackToRootSubDict from 0x5fef3c to 0x5fefa0 (100 bytes)
//
// 1 xrefs:
// > CCAnimateFrameCache::addDict @ 0x2e4a18
//
// 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::stepBackToRootSubDict(DS_Dictionary *a1)
{
pugi::xml_node *m_start; // r1
char **p_dictTree; // r7
_DWORD *v4; // r7
pugi::xml_node v5; // [sp+0h] [bp-Ch] BYREF
v5._root = (pugi::xml_node_struct *)a1;
m_start = a1->dictTree.m_start;
if ( (unsigned int)((char *)a1->dictTree.m_finish - (char *)m_start) > 7 )
{
p_dictTree = (char **)&a1->dictTree;
a1->dictTree.m_finish = m_start;
pugi::xml_node::xml_node(&v5);
std::vector
::emplace_back(p_dictTree, &v5);
v4 = (_DWORD *)std::vector::back((int)p_dictTree);
v5._root = (pugi::xml_node_struct *)pugi::xml_node::child(&a1->doc, "plist");
*v4 = pugi::xml_node::child(&v5, "dict");
}
}