//
// LevelInfoLayer::likedItem from 0x6ddce4 to 0x6ddd40 (92 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'LevelInfoLayer::likedItem @ 0x6ddd44
// > ??> @ 0x47388
// > ??> @ 0x115b6e8
//
// 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
//
void LevelInfoLayer::likedItem(LevelInfoLayer *a1, LikeItemType a2, int a3, bool a4)
{
_BOOL4 v4; // w20
v4 = a4;
if ( a3 == a1->m_level->m_levelID.random - a1->m_level->m_levelID.seed )
{
LevelInfoLayer::updateSideButtons(a1);
if ( v4 )
LevelInfoLayer::incrementLikes(a1);
else
LevelInfoLayer::incrementDislikes(a1);
}
}