//
// cocos2d::CCDictionary::getFirstKey from 0x5bfa14 to 0x5bfa58 (68 bytes)
//
// 5 xrefs:
// > GameLevelManager::markLevelAsDownloaded @ 0x3c0fd4
// > GameLevelManager::markLevelAsRatedStars @ 0x3c1192
// > GameLevelManager::markLevelAsRatedDemon @ 0x3c1270
// > GameLevelManager::markItemAsLiked @ 0x3c327c
// > GameLevelManager::markLevelAsReported @ 0x3c4804
//
// 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
//
cocos2d::CCDictionary *__fastcall cocos2d::CCDictionary::getFirstKey(cocos2d::CCDictionary *this, int a2)
{
char *v4; // r1
sub_776584((int)this, (char *)&unk_939830);
if ( cocos2d::CCDictionary::count((cocos2d::CCDictionary *)a2) )
{
if ( *(_DWORD *)(a2 + 56) == 1 )
{
v4 = *(char **)(a2 + 52);
if ( v4 )
sub_774544((int)this, v4);
}
}
return this;
}