//
// cocos2d::CCDictionary::getFirstKey from 0x10030ddb0 to 0x10030ddee (62 bytes)
//
// 5 xrefs:
// > GameLevelManager::markLevelAsDownloaded @ 0x1005459e6
// > GameLevelManager::markLevelAsRatedStars @ 0x1005468b8
// > GameLevelManager::markLevelAsRatedDemon @ 0x100546a38
// > GameLevelManager::markItemAsLiked @ 0x100557b5e
// > GameLevelManager::markLevelAsReported @ 0x10055a5d6
//
// 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
//
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;
}