//
// DS_Dictionary::~DS_Dictionary from 0x180005c00 to 0x180005c74 (116 bytes)
//
// 3 xrefs:
// > CCContentManager::addDictDS @ 0x180005eb0
// > ??> @ 0x1801438a8
// > ??> @ 0x1801ad840
//
// 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::~DS_Dictionary(DS_Dictionary *this)
{
std::_Vector_val>::pointer Myfirst; // rcx
Myfirst = this->dictTree._Mypair._Myval2._Myfirst;
if ( Myfirst )
{
if ( (((char *)this->dictTree._Mypair._Myval2._Myend - (char *)Myfirst) & 0xFFFFFFFFFFFFFFF8uLL) >= 0x1000 )
{
if ( (unsigned __int64)((char *)Myfirst - (char *)Myfirst[-1]._root - 8) > 0x1F )
invalid_parameter_noinfo_noreturn();
Myfirst = (std::_Vector_val>::pointer)Myfirst[-1]._root;
}
j_j_free_0(Myfirst);
this->dictTree._Mypair._Myval2._Myfirst = nullptr;
this->dictTree._Mypair._Myval2._Mylast = nullptr;
this->dictTree._Mypair._Myval2._Myend = nullptr;
}
pugi::xml_document::~xml_document(&this->doc);
}