//
// DS_Dictionary::setBoolMapForKey from 0x5ff294 to 0x5ff2fc (104 bytes)
//
// 1 xrefs:
// > GameLevelManager::encodeDataTo @ 0x3c7ba8
//
// 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::setBoolMapForKey(DS_Dictionary *a1, const char *a2, std::map *a3)
{
std::_rb_tree_base *m_left; // r5
std::_rb_tree_base *p_m_header; // r6
char *v8[2]; // [sp+0h] [bp-8h] BYREF
v8[0] = (char *)a1;
v8[1] = (char *)a2;
DS_Dictionary::setSubDictForKey(a1, a2);
if ( DS_Dictionary::stepIntoSubDictWithKey(a1, a2) )
{
m_left = a3->m_header.m_left;
p_m_header = &a3->m_header;
while ( m_left != p_m_header )
{
sub_775C20(v8);
DS_Dictionary::setBoolForKey(a1, v8[0], (bool)m_left[1].m_parent);
sub_774008(v8);
m_left = (std::_rb_tree_base *)sub_761FA8(m_left);
}
DS_Dictionary::stepOutOfSubDict(a1);
}
}