//
// GameLevelManager::hasLikedItemFullCheck from 0x140164d80 to 0x140164e09 (137 bytes)
//
// 4 xrefs:
// > CommentCell::onLike @ 0x1400b7e92
// > GameLevelManager::likeItem @ 0x140163d0b
// > ??> @ 0x1406cac98
// > ??> @ 0x1406caca4
//
// 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::hasLikedItemFullCheck(GameLevelManager *a1, LikeItemType a2, int a3, bool a4, int a5)
{
BOOL v5; // ebx
bool result; // al
v5 = a4;
if ( a2 == AccountComment )
{
if ( !GameLevelManager::hasLikedAccountItem(a1, AccountComment, a3, 1, a4) )
{
result = GameLevelManager::hasLikedAccountItem(a1, AccountComment, a3, 0, v5);
LABEL_6:
if ( !result )
return result;
}
}
else if ( !GameLevelManager::hasLikedAccountItem(a1, a2, a3, 1, a4) )
{
result = GameLevelManager::hasLikedAccountItem(a1, a2, a3, 0, v5);
goto LABEL_6;
}
return 1;
}