//
// DS_Dictionary::addBoolValuesToMapForKey from 0x100162eec to 0x100162ff0 (260 bytes)
//
// 1 xrefs:
// > GameLevelManager::dataLoaded @ 0x10009b808
//
// 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 __fastcall DS_Dictionary::addBoolValuesToMapForKey(
DS_Dictionary *a1,
std::map
*a2,
const char *a3,
bool a4)
{
char *v7; // x0
std::__vector_base::pointer end; // x8
void *__p[2]; // [xsp+0h] [xbp-60h] BYREF
char v10; // [xsp+17h] [xbp-49h]
__int64 i; // [xsp+18h] [xbp-48h] BYREF
char v12; // [xsp+27h] [xbp-39h] BYREF
void **v13; // [xsp+28h] [xbp-38h] BYREF
if ( !a3 || a4 || DS_Dictionary::stepIntoSubDictWithKey(a1, a3) )
{
for ( i = sub_1003AB5F8(&a1->dictTree.__end_[-1]); sub_1003AB448(&i); i = sub_1003AB594(__p) )
{
v7 = (char *)sub_1003AB5AC(&i);
sub_100009900(__p, v7);
v13 = __p;
*(_BYTE *)(sub_100164ADC(a2, __p, &unk_100638BDB, &v13, &v12) + 56) = 1;
if ( v10 < 0 )
operator delete(__p[0]);
__p[0] = (void *)sub_1003AB594(&i);
}
if ( a3 )
{
end = a1->dictTree.__end_;
if ( (unsigned __int64)((char *)end - (char *)a1->dictTree.__begin_) >= 9 )
a1->dictTree.__end_ = end - 1;
}
}
}