//
// DS_Dictionary::getNumKeys from 0xdb6020 to 0xdb60b4 (148 bytes)
//
// 5 xrefs:
// > CCAnimateFrameCache::addDict @ 0x68dee8
// > CCAnimateFrameCache::addDict @ 0x68df48
// > CCAnimateFrameCache::addDict @ 0x68e0b4
// > DS_Dictionary::getArrayForKey @ 0xdbbe28
// > ??> @ 0x102cb8
//
// This function is hookable on this platform (idp: arm, 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 13:08:41 +0000
//
__int64 __fastcall DS_Dictionary::getNumKeys(DS_Dictionary *this)
{
unsigned int v1; // w20
__int64 i; // [xsp+38h] [xbp+38h] BYREF
__int64 sibling; // [xsp+40h] [xbp+40h] BYREF
v1 = 0;
for ( i = pugi::xml_node::first_child((pugi::xml_node *)(*((_QWORD *)this + 27) - 8LL));
pugi::xml_node::operator void (*)(pugi::xml_node***)(&i);
i = pugi::xml_node::next_sibling((pugi::xml_node *)&sibling) )
{
++v1;
sibling = pugi::xml_node::next_sibling((pugi::xml_node *)&i);
}
return v1;
}