//
// LevelInfoLayer::likedItem from 0x1002c4b40 to 0x1002c4b92 (82 bytes)
//
// 1 xrefs:
// > ??> @ 0x100906ce0
//
// 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 __fastcall LevelInfoLayer::likedItem(LevelInfoLayer *a1, LikeItemType a2, int a3, bool a4)
{
GJGameLevel *m_level; // rax
if ( a1->m_level->m_levelID.random - a1->m_level->m_levelID.seed == a3 )
{
LevelInfoLayer::updateSideButtons(a1);
m_level = a1->m_level;
if ( a4 )
++m_level->m_likes;
else
++m_level->m_dislikes;
LevelInfoLayer::updateLabelValues(a1);
}
}