//
// cocos2d::CCDictionary::getFirstKey from 0x1004229a0 to 0x1004229f8 (88 bytes)
//
// 5 xrefs:
// > GameLevelManager::markLevelAsDownloaded @ 0x1000a0864
// > GameLevelManager::markLevelAsRatedStars @ 0x1000a10c8
// > GameLevelManager::markLevelAsRatedDemon @ 0x1000a1198
// > GameLevelManager::markItemAsLiked @ 0x1000aa4ec
// > GameLevelManager::markLevelAsReported @ 0x1000abce4
//
// 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 *__usercall cocos2d::CCDictionary::getFirstKey@(__int64 a1@, std::string *a2@)
{
std::string *result; // x0
__int64 v5; // x1
result = (std::string *)sub_100009900(a2, "");
v5 = *(_QWORD *)(a1 + 56);
if ( v5 && *(_DWORD *)(*(_QWORD *)(v5 + 272) + 16LL) && *(_DWORD *)(a1 + 64) == 1 )
return std::string::append(a2, (const std::string::value_type *)v5);
return result;
}