//
// GameLevelManager::hasLikedAccountItem from 0x3c31a8 to 0x3c31fe (86 bytes)
//
// 2 xrefs:
// > GameLevelManager::hasLikedItemFullCheck @ 0x3c3232
// > GameLevelManager::hasLikedItemFullCheck @ 0x3c3244
//
// 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
//
bool GameLevelManager::hasLikedAccountItem(GameLevelManager *a1, LikeItemType a2, int a3, bool a4, int a5)
{
cocos2d::CCDictionary *m_likedLevels; // r6
char *LikeAccountItemKey; // r0
int v7; // r6
bool result; // r0
std::string v9; // [sp+10h] [bp-8h] BYREF
m_likedLevels = a1->m_likedLevels;
LikeAccountItemKey = (char *)GameLevelManager::getLikeAccountItemKey(a1, a2, a3, a4, a5);
sub_776584((int)&v9, LikeAccountItemKey);
v7 = cocos2d::CCDictionary::objectForKey(m_likedLevels, &v9);
sub_774008(&v9);
result = v7;
if ( v7 )
return 1;
return result;
}