//
// GameLevelManager::hasLikedItemFullCheck from 0x100557a90 to 0x100557b1b (139 bytes)
//
// 5 xrefs:
// > CommentCell::onLike @ 0x100254f2c
// > LevelInfoLayer::updateSideButtons @ 0x1002c1c7c
// > LevelListLayer::init @ 0x10035d5ab
// > LevelListLayer::updateSideButtons @ 0x10035e10f
// > LevelListLayer::likedItem @ 0x1003603a9
//
// 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; // ebx
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);
}