//
// cocos2d::CCDictionary::getFirstKey from 0x1002f87d0 to 0x1002f880e (62 bytes)
//
// 5 xrefs:
// > sub_100560990 @ 0x1005609c6
// > sub_100561E60 @ 0x100561e98
// > sub_100561FE0 @ 0x100562018
// > GameLevelManager::markItemAsLiked @ 0x10057f14e
// > sub_1005816E0 @ 0x100581716
//
// 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 12:28:29 +0000
//
std::string *__fastcall cocos2d::CCDictionary::getFirstKey(std::string *this, __int64 a2)
{
__int64 v3; // rsi
*(_WORD *)&this->__r_.__value_.__l.0 = 0;
v3 = *(_QWORD *)(a2 + 56);
if ( v3 && *(_DWORD *)(*(_QWORD *)(v3 + 272) + 16LL) && *(_DWORD *)(a2 + 64) == 1 )
std::string::append(this, (const std::string::value_type *)v3);
return this;
}