//
// GameLevelManager::hasLikedItemFullCheck from 0x10057f080 to 0x10057f10b (139 bytes)
//
// 7 xrefs:
// > CommentCell::onLike @ 0x10023e01a
// > LevelInfoLayer::updateSideButtons @ 0x1002ae84c
// > LevelListLayer::init @ 0x100348b76
// > LevelListLayer::updateSideButtons @ 0x1003496ff
// > LevelListLayer::likedItem @ 0x10034ba99
// > sub_1008F6C60 @ 0x1008f6ca4
// > sub_1008F6D10 @ 0x1008f6d66
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// 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 12:32:19 +0000
//
char __fastcall GameLevelManager::hasLikedItemFullCheck(__int64 a1, __int64 a2, unsigned int a3, unsigned int a4)
{
if ( (_DWORD)a2 == 3 )
{
if ( !(unsigned __int8)sub_10057F970(a1, 3, a3, 1, a4) )
return sub_10057F970(a1, 3, a3, 0, a4);
return 1;
}
if ( (unsigned __int8)GameLevelManager::hasLikedItem(a1, a2, a3, 1, a4) )
return 1;
return GameLevelManager::hasLikedItem(a1, (unsigned int)a2, a3, 0, a4);
}