//
// DS_Dictionary::~DS_Dictionary from 0x180005d20 to 0x180005da5 (133 bytes)
//
// 3 xrefs:
// > CCContentManager::addDictDS @ 0x180005ff6
// > ??> @ 0x18014cf68
// > ??> @ 0x1801b7864
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:21:18 +0000
//
void __fastcall DS_Dictionary::~DS_Dictionary(DS_Dictionary *this)
{
_QWORD *v2; // rcx
v2 = *((_QWORD **)this + 26);
if ( v2 )
{
if ( ((*((_QWORD *)this + 28) - (_QWORD)v2) & 0xFFFFFFFFFFFFFFF8uLL) >= 0x1000 )
{
if ( (unsigned __int64)v2 - *(v2 - 1) - 8 > 0x1F )
invoke_watson(nullptr, nullptr, nullptr, 0, 0);
v2 = (_QWORD *)*(v2 - 1);
}
j_j_free_0(v2);
*((_QWORD *)this + 26) = 0;
*((_QWORD *)this + 27) = 0;
*((_QWORD *)this + 28) = 0;
}
pugi::xml_document::~xml_document(this);
}