//
// GameLevelManager::hasLikedItemFullCheck from 0x1000aa3f4 to 0x1000aa4a8 (180 bytes)
//
// 4 xrefs:
// > LevelInfoLayer::updateSideButtons @ 0x100028674
// > GameLevelManager::likeItem @ 0x1000a9f44
// > CommentCell::onLike @ 0x100110c08
// > LevelListLayer::updateSideButtons @ 0x1002451f4
//
// 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 __fastcall GameLevelManager::hasLikedItemFullCheck(GameLevelManager *a1, LikeItemType a2, int a3, bool a4, int a5)
{
_BOOL4 v5; // w19
v5 = a4;
if ( a2 == AccountComment )
{
if ( !GameLevelManager::hasLikedAccountItem(a1, AccountComment, a3, 1, a4) )
return GameLevelManager::hasLikedAccountItem(a1, AccountComment, a3, 0, v5);
return 1;
}
if ( GameLevelManager::hasLikedItem(a1, a2, a3, 1, a4) )
return 1;
return GameLevelManager::hasLikedItem(a1, a2, a3, 0, v5);
}