//
// GameLevelManager::hasLikedAccountItem from 0x4af384 to 0x4af3e8 (100 bytes)
//
// 2 xrefs:
// > GameLevelManager::hasLikedItemFullCheck @ 0x4af41a
// > GameLevelManager::hasLikedItemFullCheck @ 0x4af42c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:50:01 +0000
//
int __fastcall GameLevelManager::hasLikedAccountItem(int a1, const char *a2)
{
int v2; // r6
const char *LikeAccountItemKey; // r7
size_t v4; // r0
int v5; // r6
int result; // r0
int v7[3]; // [sp+8h] [bp-14h] BYREF
v2 = *(_DWORD *)(a1 + 564);
memset(v7, 0, sizeof(v7));
LikeAccountItemKey = (const char *)GameLevelManager::getLikeAccountItemKey(a1, a2);
v4 = strlen(LikeAccountItemKey);
std::string::__init(v7, LikeAccountItemKey, v4);
v5 = cocos2d::CCDictionary::objectForKey(v2, v7);
std::string::~string((int)v7);
result = v5;
if ( v5 )
return 1;
return result;
}