//
// DS_Dictionary::checkCompatibility from 0x5fc764 to 0x5fc7b6 (82 bytes)
//
// 3 xrefs:
// > DS_Dictionary::loadRootSubDictFromFile @ 0x5fed3a
// > DS_Dictionary::loadRootSubDictFromCompressedFile @ 0x5fee70
// > DS_Dictionary::loadRootSubDictFromString @ 0x5fef18
//
// 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::checkCompatibility(DS_Dictionary *a1)
{
pugi::xml_node v2; // [sp+4h] [bp-10h] BYREF
pugi::xml_attribute v3; // [sp+8h] [bp-Ch] BYREF
v2._root = (pugi::xml_node_struct *)pugi::xml_node::child(&a1->doc, "plist");
v3._attr = (pugi::xml_attribute_struct *)pugi::xml_node::attribute(&v2, "gjver");
a1->compatible = pugi::xml_attribute::as_int(&v3, 0) <= 1;
}